:root{font-family:Microsoft YaHei UI,Microsoft YaHei,PingFang SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;line-height:1.6;color:#263044;background:#f7f8fa;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-text-size-adjust:100%;text-size-adjust:100%}*{box-sizing:border-box}body{margin:0;min-width:360px}button,input,textarea,select{font:inherit}a{color:inherit;text-decoration:none}#app,.n-config-provider{height:100dvh}h1,h2,h3,p{margin:0}::selection{background:#dce4ff}.admin-layout{height:100dvh;background:#f7f8fa}.admin-sider{background:#142033}.brand{display:flex;align-items:center;gap:10px;height:72px;padding:0 20px;white-space:nowrap;flex-shrink:0;color:#f4f6f8;font-size:18px;font-weight:700;letter-spacing:-.04em;overflow:hidden;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark{width:36px;height:36px;border-radius:8px;background:#1e3a5f;color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.admin-sider .brand-mark{background:#254a73}.brand-light{font-weight:400;color:#667085;margin-left:3px}.brand-logo{width:36px;height:36px;object-fit:contain;border-radius:8px;flex-shrink:0;background:#fff}.brand-name{overflow:hidden;text-overflow:ellipsis}.nav-scroll{flex:1;min-height:0;overflow:auto;padding:12px 10px 20px}.nav-scroll .n-menu{padding:0}.main-layout{height:100dvh;display:flex!important;flex-direction:column;min-width:0}.main-layout>.n-layout-scroll-container{display:flex;flex-direction:column;min-height:0}.topbar{height:72px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 24px;background:#fff}.topbar-left,.topbar-right{display:flex;align-items:center;gap:14px;min-width:0}.topbar-left .n-breadcrumb{white-space:nowrap}.topbar-right{gap:18px;flex-shrink:0}.profile-trigger .n-button__content{gap:10px}.profile-info{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.profile-info strong{font-size:13px;font-weight:500}.profile-info small{font-size:12px;color:#667085}.workspace-content{flex:1;min-height:0;overflow:hidden!important;background:#f7f8fa}.workspace-content>.n-layout-scroll-container{height:100%;overflow:hidden!important}.table-page{height:100%;display:flex;flex-direction:column;gap:18px;padding:24px;min-height:0;overflow:hidden}.page-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0;min-height:36px}.page-header h1{font-size:24px;font-weight:600;line-height:1.5;color:#273247}.page-actions{display:flex;align-items:center;gap:10px}.data-card{flex:1;min-height:0;overflow:hidden;border:1px solid #dce2eb!important;border-radius:0!important;display:flex}.data-card>.n-card-content{flex:1;min-height:0;display:flex;flex-direction:column}.table-toolbar{padding:16px;flex-shrink:0}.table-toolbar .filter-search{flex:0 1 260px;width:260px;max-width:100%;min-width:0}.filter-actions{min-width:0}.filter-actions .filter-select{width:140px;flex:0 1 140px}.fill-table{flex:1;min-height:0;width:calc(100% - 32px);margin:0 16px 12px}.fill-table.n-data-table--bordered .n-data-table-td--last-row{border-bottom:1px solid var(--n-merged-border-color)}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-top:1px solid #eef1f6;flex-shrink:0;min-height:62px;background:#fff}.table-footer>.n-text{margin-right:auto;white-space:nowrap}.table-pagination{width:100%;min-width:0}.table-pagination>.n-pagination{margin-left:auto}.request-error{margin:12px 18px;flex-shrink:0;width:auto}.code-pill{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;padding:4px 7px;border:1px solid #e6eaf3;background:#f7f9fc;border-radius:4px;color:#52627a}.plain-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;color:#52627a}.menu-name-cell{display:inline-flex;align-items:center;gap:8px;vertical-align:middle;white-space:nowrap}.entity-modal{width:580px!important;max-width:calc(100vw - 32px)!important;max-height:90dvh;display:flex;flex-direction:column;border-radius:12px!important}.entity-modal>.n-card-content{min-height:0;overflow:hidden}.entity-modal .n-card-header{flex-shrink:0}.entity-modal .n-card__footer{flex-shrink:0;border-top:1px solid #edf0f5;padding-top:16px}.modal-scroll{max-height:calc(90dvh - 155px);overflow-y:auto;padding:2px 3px}.role-modal{width:850px!important}.password-modal{width:460px!important}.switch-caption{margin-left:10px;font-size:13px;color:#667085}.permission-tools{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;color:#667085;font-size:13px}.permission-tools .n-input{max-width:400px}.permission-tree{border:1px solid #e8ecf2;border-radius:8px;padding:10px;max-height:330px;overflow:auto}.permission-tree .n-tree-node{min-height:34px}.permission-list{border:1px solid #e8ecf2;border-radius:8px;max-height:340px;overflow:auto}.permission-group h3{font-size:13px;font-weight:500;color:#475467;background:#f7f9fc;padding:10px 14px}.permission-row{display:flex;align-items:center;gap:11px;padding:12px 14px;border-top:1px solid #eef1f6;cursor:pointer}.permission-row>span{min-width:0}.permission-row strong{font-size:13px;font-weight:500;display:block}.permission-row span>code{display:block;color:#667085;font-size:12px;margin-top:4px}.permission-code{margin-left:auto;color:#667085;font-size:12px}.login-page{min-height:100dvh;display:grid;grid-template-columns:minmax(320px,460px) minmax(0,1fr);background:#f7f8fa}.login-aside{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;gap:56px;padding:48px 44px;background:#142033;color:#f4f6f8;overflow:hidden}.login-aside-brand,.login-mobile-brand{display:flex;align-items:center;gap:12px;min-width:0;font-size:18px;font-weight:700;letter-spacing:-.03em}.login-aside-brand .brand-name,.login-mobile-brand .brand-name{white-space:nowrap}.login-aside .brand-mark,.login-mobile-brand .brand-mark,.login-aside .brand-logo,.login-mobile-brand .brand-logo{width:40px;height:40px;border-radius:10px}.login-aside .brand-mark{background:#254a73}.login-mark{position:relative;width:306px;height:244px;pointer-events:none}.login-layers{position:relative;width:100%;height:100%}.login-layers span{position:absolute;width:214px;height:140px;border-radius:18px}.login-layers span:nth-child(1){left:0;bottom:0;background:#1b3554;border:1px solid rgba(244,246,248,.12)}.login-layers span:nth-child(2){left:46px;bottom:52px;background:#1d4f8a}.login-layers span:nth-child(3){left:92px;bottom:104px;background:#526de4;box-shadow:inset 0 4px #c5d2ff}.login-main{min-height:100dvh;display:flex;flex-direction:column;padding:20px 40px 32px}.login-language{display:flex;justify-content:flex-end}.login-language .n-button{min-height:44px}.login-form-wrap{width:min(400px,100%);margin:auto;padding:12px 0 8px}.login-mobile-brand{display:none;margin-bottom:28px;color:#142033}.login-heading{margin-bottom:28px}.login-heading h1{font-size:32px;font-weight:600;letter-spacing:-.03em;line-height:1.25;color:#142033}.login-heading p{margin-top:10px;max-width:42ch;color:#667085;font-size:15px;line-height:1.6}.login-form .n-input{--n-height: 48px !important;font-size:16px}.login-form .n-input__eye{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-8px;cursor:pointer}.login-submit{min-height:48px;margin-top:8px}.login-submit .n-button__content{gap:8px}.login-footer{margin-top:28px;color:#667085;font-size:13px;line-height:1.5;display:flex;flex-direction:column;gap:4px}.settings-page{height:100%;overflow:auto;padding:24px}.settings-page>.page-header{margin-bottom:22px}.settings-card{max-width:760px;border:1px solid #e8ecf2!important}.settings-tab-actions{margin-top:8px}.image-upload-field{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.login-error{margin-bottom:16px}@media(prefers-reduced-motion:no-preference){.login-form-wrap{animation:login-in .28s cubic-bezier(.16,1,.3,1)}}@keyframes login-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@media(max-height:720px)and (min-width:901px){.login-aside{gap:28px;padding:24px 32px}.login-mark{width:228px;height:172px}.login-layers span{width:160px;height:100px}.login-layers span:nth-child(2){left:34px;bottom:36px}.login-layers span:nth-child(3){left:68px;bottom:72px}.login-main{padding-top:12px;padding-bottom:20px}.login-heading{margin-bottom:16px}.login-heading h1{font-size:26px}}@media(max-width:900px){.login-page{display:block}.login-aside{display:none}.login-mobile-brand{display:flex}.login-main{padding:16px 20px 28px}.login-form-wrap{margin:28px auto 0}.login-heading h1{font-size:28px}}.error-page{height:100%;display:flex;align-items:center;justify-content:center;padding:24px}.dashboard-page{height:100%;overflow:auto;padding:24px}.dashboard-page>.page-header{margin-bottom:22px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}.metric-card{border:1px solid #e8ecf2!important;border-radius:10px!important}.metric-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#667085;font-size:14px;margin-bottom:12px}.metric-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;flex-shrink:0}.blue{background:#edf1ff;color:#526de4}.violet{background:#f2edff;color:#8460be}.amber{background:#fcf3e6;color:#a77a3c}.teal{background:#eaf6f1;color:#398d73}.metric-card .n-statistic-value{font-size:32px!important;font-weight:600}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;margin-bottom:22px}.dashboard-page .n-card{border:1px solid #e8ecf2!important;border-radius:10px!important}.dashboard-page .n-card-header__main{font-size:16px!important;font-weight:600!important}.subtle-text{font-size:12px;color:#667085}.chart-legend{display:flex;align-items:center;justify-content:flex-end;gap:18px;font-size:12px;color:#667085}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:7px;height:7px;border-radius:50%}.legend-primary{background:#526de4}.legend-error{background:#dc9c4c}.traffic-chart{display:block;width:100%;height:260px}.traffic-chart text{font-size:12px;fill:#667085}.chart-empty{padding:90px 0}.shortcut-list{display:flex;flex-direction:column;gap:14px}.shortcut-list .n-button{height:45px;justify-content:flex-start}.shortcut-list .n-button__content{flex:1;justify-content:flex-start;gap:10px}.shortcut-arrow{margin-left:auto;color:#667085}.assistant-page{height:100%;display:flex;flex-direction:column;gap:18px;padding:24px;min-height:0}.chat-card{flex:1;min-height:0;display:flex;border:1px solid #e8ecf2!important;border-radius:10px!important;overflow:hidden}.chat-card>.n-card-content{display:flex;flex-direction:column;min-height:0;flex:1}.ai-unconfigured{margin:auto;padding:40px}.conversation{flex:1;min-height:0;overflow-y:auto;padding:26px}.chat-welcome{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:100%;gap:26px;padding:20px}.chat-welcome-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:18px;color:#8460be;background:#f2edff}.chat-welcome h2{font-size:24px;font-weight:500}.chat-message{max-width:88%;margin:0 0 24px;padding:16px 18px;border:1px solid #e9edf5;border-radius:10px;background:#fafbfe;font-size:14px;line-height:1.9}.chat-message>strong{font-size:12px;font-weight:500;color:#667085;display:block;margin-bottom:9px}.chat-message.user{margin-left:auto;background:#edf1ff;border-color:#e3e9fc}.chat-message>p{white-space:pre-wrap}.chat-message .n-button{margin-top:8px}.markdown-body{overflow-wrap:anywhere}.markdown-body p{margin:8px 0}.markdown-body pre{background:#f0f3f8;padding:12px;border-radius:6px;overflow:auto}.markdown-body code{font-family:ui-monospace,Consolas,monospace}.markdown-body table{border-collapse:collapse;width:100%}.markdown-body td,.markdown-body th{border:1px solid #dfe5ef;padding:6px 10px}.markdown-body a{color:#526de4;text-decoration:underline}.chat-thinking{display:flex;align-items:center;gap:10px;color:#667085;padding:8px}.chat-composer{display:flex;align-items:flex-end;gap:12px;padding:20px;border-top:1px solid #e8ecf2;flex-shrink:0}.chat-composer .n-input{flex:1}.chat-composer>.n-button{height:36px;width:36px}.chat-error{margin:0 20px 15px}@media(max-width:1200px){.topbar{padding:0 20px}.table-page,.dashboard-page,.assistant-page{padding:20px}.metric-grid{gap:14px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 245px;gap:18px}.profile-info small{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}@media(max-width:1000px){.breadcrumb-parent{display:none!important}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-info{display:none}.topbar-right{gap:10px}.topbar-left .n-breadcrumb{font-size:13px}.dashboard-grid{grid-template-columns:1fr}.shortcut-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}}@media(max-width:640px){.topbar{height:62px;padding:0 12px;gap:10px}.topbar-left{gap:6px}.topbar-right{gap:5px}.language-label{display:none}.profile-trigger .n-button__content>svg{display:none}.table-page,.assistant-page{padding:16px 12px 12px;gap:14px}.page-header h1{font-size:22px}.page-header .n-button{font-size:13px}.table-toolbar{padding:12px}.table-toolbar .filter-search{width:100%;flex-basis:100%}.fill-table{width:calc(100% - 20px);margin:0 10px 8px}.filter-actions{width:100%}.table-footer{padding:12px 14px;gap:8px;min-height:58px}.entity-modal{max-width:calc(100vw - 24px)!important}.entity-modal .n-card-header{padding:20px 18px}.entity-modal>.n-card-content{padding:0 16px 16px}.entity-modal .n-card__footer{padding:14px 16px}.entity-modal .n-card-header__main{font-size:17px}.permission-row{gap:7px;padding:10px}.permission-code{display:none}.permission-row strong{font-size:12px}.permission-tools .n-input{max-width:220px}.dashboard-page{padding:16px 12px}.metric-grid{gap:12px;margin-bottom:16px}.metric-card>.n-card-content{padding:16px}.metric-heading{font-size:13px;gap:8px}.metric-icon{width:30px;height:30px}.metric-icon svg{width:18px}.metric-card .n-statistic-value{font-size:28px!important}.traffic-chart{height:220px}.dashboard-grid{gap:16px;margin-bottom:16px}.dashboard-page .n-card-header{padding:18px}.dashboard-page .n-card-content{padding:0 16px 16px}.dashboard-page .metric-card>.n-card-content{padding:16px}.chat-welcome{padding:8px;gap:20px}.chat-welcome h2{font-size:21px}.chat-welcome .n-button{white-space:normal;height:auto;min-height:36px;max-width:300px;text-align:left}.chat-welcome .n-button__content{white-space:normal}.conversation{padding:16px}.chat-composer{padding:14px;gap:8px}.chat-message{max-width:96%;padding:13px}.login-language .language-label{display:inline}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.profile-trigger .n-avatar{color:#526de4}.error-with-retry{display:flex;align-items:center;justify-content:space-between;gap:16px}
