:root{--primary:#3157f6;--primary-2:#6b7cff;--cyan:#19c7e8;--nav:#0b1637;--nav-2:#101f49;--bg:#f4f7fc;--card:#fff;--text:#14213d;--muted:#74809a;--line:#e7ecf5;--success:#19a974;--warning:#f59e0b;--danger:#e5484d;--shadow:0 16px 50px rgba(37,61,127,.12);font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.primary-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;border:0;border-radius:12px;padding:14px 18px;background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;font-weight:700;box-shadow:0 10px 24px rgba(49,87,246,.22);transition:.2s}.primary-button:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(49,87,246,.3)}.primary-button:disabled{opacity:.55;cursor:not-allowed;transform:none}.text-button{border:0;background:none;color:var(--primary);padding:10px}.brand-logo{display:block;width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(53,108,243,.22))}

/* 登录页 */
.login-page{min-height:100vh;background:#08152f}.login-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(430px,.8fr)}.login-visual{position:relative;overflow:hidden;padding:44px 56px;color:#fff;background:#173d91 url('/static/admin-login-bg.png') center/cover no-repeat}.login-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,23,65,.05),rgba(5,17,48,.06) 55%,rgba(4,13,40,.35))}.login-brand,.login-copy,.visual-foot{position:relative;z-index:1}.login-brand{display:flex;align-items:center;gap:14px;font-size:14px;font-weight:800;letter-spacing:2px}.login-copy{position:absolute;left:7%;bottom:14%;max-width:620px;text-shadow:0 3px 18px rgba(5,19,54,.35)}.login-copy .eyebrow{font-size:12px;letter-spacing:3px;color:#b9eaff}.login-copy h1{font-size:clamp(42px,4vw,68px);line-height:1.16;margin:18px 0}.login-copy p{font-size:17px;line-height:1.8;color:#e4efff}.visual-foot{position:absolute;bottom:34px;left:56px;display:flex;gap:30px;font-size:12px;color:#d4e5ff}.visual-foot span:before{content:"";display:inline-block;width:5px;height:5px;border-radius:50%;background:#56e2ff;margin-right:9px;vertical-align:2px}.login-panel{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px;background:linear-gradient(150deg,#fbfdff,#eef3ff)}.language-switch{position:absolute;right:32px;top:28px;background:#eaf0fb;border-radius:9px;padding:3px}.language-switch button{border:0;background:none;color:#7c88a3;padding:6px 9px;border-radius:7px;font-size:12px}.language-switch button.active{background:#fff;color:var(--primary);box-shadow:0 3px 10px rgba(28,55,120,.1)}.login-card{width:min(100%,430px);padding:42px 44px;background:rgba(255,255,255,.94);border:1px solid rgba(224,231,246,.9);border-radius:24px;box-shadow:0 30px 80px rgba(36,56,112,.15);backdrop-filter:blur(18px)}.login-card header{margin-bottom:30px}.login-card header p{display:inline;font-size:11px;font-weight:800;letter-spacing:1.6px;color:var(--primary)}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#27c99a;margin-right:8px;box-shadow:0 0 0 4px rgba(39,201,154,.12)}.login-card h2{font-size:30px;margin:14px 0 8px}.login-card header>span:last-child{color:var(--muted);font-size:13px}.login-card label>span{display:block;font-size:13px;font-weight:700;margin:18px 0 8px}.field{height:48px;display:flex;align-items:center;border:1px solid #dfe6f2;border-radius:11px;background:#fbfcff;transition:.2s}.field:focus-within{border-color:#6280ff;box-shadow:0 0 0 4px rgba(75,107,255,.1);background:#fff}.field i{width:43px;text-align:center;color:#8794ad;font-style:normal}.field input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:var(--text)}.password-toggle{border:0;background:none;color:#93a0b6;padding:10px}.login-meta{display:flex;justify-content:space-between;align-items:center;margin:16px 0 22px;font-size:11px;color:var(--muted)}.checkbox{display:flex!important;align-items:center;gap:7px}.checkbox span{margin:0!important;font-size:11px!important;font-weight:500!important}.login-submit b{font-size:20px}.form-message{min-height:20px;color:var(--danger);font-size:12px;text-align:center;margin:14px 0 0}.form-message.success{color:var(--success)}.login-card footer{border-top:1px solid var(--line);margin-top:20px;padding-top:18px;text-align:center;color:#98a4b8;font-size:11px}.copyright{color:#a4aec1;font-size:11px;margin-top:22px}.mobile-brand{display:none}.mfa-setup{text-align:center}.setup-badge{display:grid;place-items:center;width:48px;height:48px;margin:auto;border-radius:16px;background:#edf2ff;color:var(--primary);font-weight:900}.mfa-setup h3{margin:15px 0 8px}.mfa-setup p{color:var(--muted);font-size:13px;line-height:1.7}.secret-box{display:flex;align-items:center;gap:8px;padding:12px;border:1px dashed #9eb0e8;background:#f4f7ff;border-radius:10px;margin:18px 0}.secret-box code{flex:1;overflow-wrap:anywhere;color:#31488c}.secret-box button{border:0;background:#fff;color:var(--primary);border-radius:7px;padding:6px 9px}.mfa-setup>input{width:100%;height:48px;border:1px solid #dfe6f2;border-radius:10px;padding:0 14px;margin-bottom:12px;outline:0}.recovery-dialog{border:0;border-radius:20px;padding:30px;box-shadow:var(--shadow);max-width:440px;text-align:center}.recovery-dialog::backdrop{background:rgba(7,17,44,.68)}.dialog-icon{display:grid;place-items:center;width:48px;height:48px;margin:auto;border-radius:50%;background:#e8fbf5;color:var(--success);font-size:24px}.recovery-dialog p{color:var(--muted);font-size:13px}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.recovery-codes code{padding:9px;border-radius:7px;background:#f3f6fb}

/* 管理控制台 */
.admin-body{min-height:100vh;background:var(--bg);overflow-x:hidden}.admin-shell{display:grid;grid-template-columns:248px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:linear-gradient(180deg,var(--nav),#0a1430);color:#dce6ff;z-index:20;display:flex;flex-direction:column}.side-brand{height:72px;display:flex;align-items:center;gap:12px;padding:0 22px;border-bottom:1px solid rgba(255,255,255,.07)}.side-brand strong{display:block;color:#fff}.side-brand small{font-size:10px;color:#8497c5;letter-spacing:1px}.side-scroll{flex:1;overflow-y:auto;padding:16px 12px}.nav-group-title{padding:15px 12px 7px;color:#6076aa;font-size:10px;font-weight:800;letter-spacing:1.5px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:none;color:#9fb0d6;border-radius:10px;padding:10px 12px;margin:2px 0;text-align:left;font-size:13px;transition:.18s}.nav-item svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}.nav-item:hover{background:rgba(255,255,255,.06);color:#fff}.nav-item.active{background:linear-gradient(90deg,rgba(70,105,255,.28),rgba(40,196,235,.08));color:#fff;box-shadow:inset 3px 0 #5a7cff}.nav-badge{margin-left:auto;background:#eb5757;color:#fff;min-width:18px;height:18px;border-radius:9px;display:grid;place-items:center;font-size:10px}.side-account{display:flex;align-items:center;gap:10px;padding:16px;border-top:1px solid rgba(255,255,255,.07)}.avatar{width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#4e6cff,#20c8e8);display:grid;place-items:center;color:#fff;font-weight:800}.side-account div{min-width:0;flex:1}.side-account strong,.side-account small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.side-account strong{font-size:12px;color:#fff}.side-account small{font-size:10px;color:#7f91be;margin-top:3px}.main-area{grid-column:2;min-width:0}.topbar{position:sticky;top:0;z-index:15;height:72px;display:flex;align-items:center;gap:18px;padding:0 28px;background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}.mobile-menu{display:none;border:0;background:#eef2fa;border-radius:9px;width:38px;height:38px}.breadcrumb{min-width:180px}.breadcrumb h1{font-size:18px;margin:0}.breadcrumb span{font-size:11px;color:var(--muted)}.global-search{display:flex;align-items:center;max-width:420px;flex:1;height:38px;margin-left:auto;border:1px solid var(--line);border-radius:10px;background:#f8faff}.global-search input{flex:1;border:0;outline:0;background:transparent;padding:0 14px}.global-search button{border:0;background:none;color:#8390a8;padding:10px}.top-actions{display:flex;gap:8px}.icon-button{position:relative;width:38px;height:38px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#5d6982}.icon-button .dot{position:absolute;right:7px;top:6px;width:6px;height:6px;border-radius:50%;background:#f04f55}.language-select{height:38px;border:1px solid var(--line);background:#fff;border-radius:10px;color:#5d6982;padding:0 8px}.content{padding:26px 28px 50px}.page-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.page-description{color:var(--muted);font-size:13px}.toolbar-actions{display:flex;gap:9px}.secondary-button,.action-button{border:1px solid var(--line);background:#fff;color:#4c5972;border-radius:9px;padding:9px 13px;font-size:12px}.action-button{border-color:#cfd9ff;color:var(--primary);background:#f6f8ff}.danger-button{border-color:#ffd7d7;color:var(--danger);background:#fff7f7}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.metric-card{position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;box-shadow:0 6px 22px rgba(35,61,124,.05)}.metric-card:after{content:"";position:absolute;right:-18px;top:-18px;width:80px;height:80px;border-radius:50%;background:var(--metric-color,#eef2ff)}.metric-head{display:flex;justify-content:space-between;color:var(--muted);font-size:12px}.metric-icon{position:relative;z-index:1;width:35px;height:35px;border-radius:10px;background:var(--metric-color,#eef2ff);display:grid;place-items:center;color:var(--primary)}.metric-value{font-size:27px;font-weight:800;margin:15px 0 4px}.metric-foot{color:#8a96aa;font-size:11px}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:0 6px 22px rgba(35,61,124,.045);margin-bottom:16px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:17px 20px;border-bottom:1px solid var(--line)}.panel-head h2{font-size:14px;margin:0}.panel-head span{color:var(--muted);font-size:11px}.panel-body{padding:18px}.chart-placeholder{height:210px;display:flex;align-items:end;gap:12px;padding:30px 20px 10px;background:linear-gradient(180deg,#f8faff,#fff);border-radius:12px}.chart-bar{flex:1;min-width:8px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#4e72ff,#b5c7ff);height:var(--bar-height)}.activity-list{display:grid;gap:13px}.activity-item{display:grid;grid-template-columns:10px 1fr auto;gap:11px;align-items:start}.activity-item:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--activity-color,#5a79ff);margin-top:5px}.activity-item strong{font-size:12px}.activity-item p{font-size:11px;color:var(--muted);margin:4px 0}.activity-item time{font-size:10px;color:#a2adbf}.module-section{overflow:hidden}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}.data-table th{position:sticky;top:0;background:#f8faff;color:#7b879d;font-weight:700;text-align:left;padding:11px 13px;border-bottom:1px solid var(--line)}.data-table td{padding:12px 13px;border-bottom:1px solid #edf1f7;max-width:280px;overflow:hidden;text-overflow:ellipsis}.data-table tr:hover td{background:#f9fbff}.empty-state{padding:50px;text-align:center;color:#96a2b5}.empty-state b{display:block;font-size:34px;color:#c8d1e1;margin-bottom:10px}.tag{display:inline-flex;padding:4px 8px;border-radius:10px;background:#edf2ff;color:#4968dc;font-size:10px}.tag.success{background:#e9faf4;color:var(--success)}.tag.warning{background:#fff7df;color:#b97800}.tag.danger{background:#fff0f0;color:var(--danger)}.pagination{display:flex;justify-content:flex-end;gap:8px;padding:14px 20px}.pagination button{border:1px solid var(--line);background:#fff;border-radius:7px;padding:6px 10px;color:#66738b}.loading{display:grid;place-items:center;min-height:320px;color:var(--muted)}.loading:before{content:"";width:30px;height:30px;border:3px solid #dce5f6;border-top-color:var(--primary);border-radius:50%;animation:spin .7s linear infinite;margin-bottom:12px}@keyframes spin{to{transform:rotate(360deg)}}.toast-stack{position:fixed;right:24px;top:88px;z-index:60;display:grid;gap:9px}.toast{min-width:280px;max-width:380px;padding:13px 16px;border-radius:11px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);font-size:12px}.toast.error{border-left:4px solid var(--danger)}.toast.success{border-left:4px solid var(--success)}.modal{border:0;border-radius:18px;padding:0;width:min(92vw,620px);box-shadow:var(--shadow)}.modal::backdrop{background:rgba(8,20,51,.55);backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line)}.modal-head h3{margin:0;font-size:16px}.modal-close{border:0;background:#f0f3f9;border-radius:8px;width:32px;height:32px;color:#76829a}.modal-form{padding:20px 22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-group{display:grid;gap:7px}.form-group.full{grid-column:1/-1}.form-group label{font-size:12px;font-weight:700}.form-group input,.form-group select,.form-group textarea{width:100%;border:1px solid #dfe5ef;border-radius:9px;padding:10px 12px;outline:0;background:#fbfcff}.form-group textarea{min-height:90px;resize:vertical}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#6c85ff;box-shadow:0 0 0 3px rgba(72,104,255,.09)}.modal-foot{display:flex;justify-content:flex-end;gap:9px;padding-top:20px}.modal-foot .primary-button{width:auto;padding:10px 20px}.account-menu{position:absolute;right:28px;top:64px;width:200px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);padding:8px;z-index:30}.account-menu button{width:100%;border:0;background:none;border-radius:8px;padding:10px;text-align:left;color:#4f5c73}.account-menu button:hover{background:#f3f6fc}.network-link{color:var(--primary);text-decoration:none}.sidebar-overlay{display:none}

@media(max-width:1100px){.metrics-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.global-search{max-width:260px}}
@media(max-width:850px){.login-shell{grid-template-columns:1fr}.login-visual{display:none}.login-panel{min-height:100vh;padding:24px}.mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:28px}.admin-shell{grid-template-columns:1fr}.sidebar{transform:translateX(-100%);transition:.22s}.sidebar.open{transform:none}.main-area{grid-column:1}.mobile-menu{display:block}.breadcrumb{min-width:0}.global-search{display:none}.sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(4,13,35,.45);z-index:19}.content{padding:20px 16px}.topbar{padding:0 16px}.form-grid{grid-template-columns:1fr}}
@media(max-width:560px){.login-card{padding:30px 24px}.metrics-grid{grid-template-columns:1fr}.page-toolbar{align-items:flex-start;flex-direction:column}.toolbar-actions{width:100%;overflow:auto}.top-actions .icon-button:first-child{display:none}.language-select{max-width:70px}}
.login-panel{padding:32px}.login-card{width:min(100%,390px);padding:28px 32px;border-radius:20px}.login-card header{margin-bottom:18px}.login-card h2{font-size:26px;margin:10px 0 6px}.login-card header>span:last-child{font-size:12px}.login-card label>span{font-size:12px;margin:13px 0 6px}.field{height:44px;border-radius:10px}.field .input-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:100%;color:#7f8da8}.field .input-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.field input{font-size:13px}.login-meta{margin:12px 0 16px}.login-submit{padding:12px 16px}.login-card footer{margin-top:14px;padding-top:14px}.copyright{margin-top:15px}@media(max-width:560px){.login-panel{padding:18px}.login-card{width:min(100%,370px);padding:24px 22px}}
.top-actions .icon-button{display:grid;place-items:center;transition:border-color .18s,color .18s,background .18s,box-shadow .18s,transform .18s}.top-actions .icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.top-actions .icon-button:hover{color:var(--primary);border-color:#c9d4ff;background:#f5f7ff;box-shadow:0 5px 14px rgba(54,83,180,.1);transform:translateY(-1px)}.top-actions .icon-button:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(78,108,255,.16)}.top-actions .profile-entry{border-radius:50%;color:#4f628b;background:linear-gradient(145deg,#f8faff,#edf2ff)}.top-actions .service-entry{color:#526684}
.nav-item>span{flex:1}.nav-arrow{margin-left:auto;color:#7387b7;font-size:15px;font-style:normal;transition:transform .18s}.nav-arrow.open{transform:rotate(180deg)}.nav-submenu{position:relative;margin:2px 0 7px 21px;padding:3px 0 3px 16px;border-left:1px solid rgba(119,143,199,.28)}.nav-sub-item{position:relative;display:flex;align-items:center;gap:9px;width:100%;min-height:34px;padding:7px 10px;border:0;border-radius:8px;background:transparent;color:#8295c0;text-align:left;font-size:12px;transition:.18s}.nav-sub-item>span{position:absolute;left:-20px;width:7px;height:7px;border:2px solid #273961;border-radius:50%;background:#0a1531}.nav-sub-item:hover{color:#fff;background:rgba(255,255,255,.05)}.nav-sub-item.active{color:#fff;background:rgba(80,112,255,.16);font-weight:700}.nav-sub-item.active>span{border-color:#6f8cff;background:#6f8cff;box-shadow:0 0 0 4px rgba(91,120,255,.13)}.list-panel{overflow:hidden}.list-panel-head{padding:19px 22px}.list-panel-head>div h2{font-size:15px}.list-panel-head>div p{margin:5px 0 0;color:var(--muted);font-size:11px}.list-panel-head>span{padding:5px 9px;border-radius:12px;background:#f1f4fb;color:#64728c;font-weight:700}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 20px;border-top:1px solid var(--line);background:#fbfcff}.pagination-summary{color:var(--muted);font-size:11px;white-space:nowrap}.pagination-controls{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.pagination-controls label{display:flex;align-items:center;gap:5px;margin-right:7px;color:var(--muted);font-size:11px}.pagination-controls select{height:31px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#526078;padding:0 5px}.page-button{min-width:31px;height:31px;padding:0 9px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#5b6880;font-size:11px}.page-button:hover:not(:disabled){border-color:#b9c7ff;color:var(--primary);background:#f5f7ff}.page-button.active{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:0 4px 10px rgba(78,108,255,.2)}.page-button:disabled{cursor:not-allowed;opacity:.42}.page-direction{padding:0 11px}.page-ellipsis{display:grid;place-items:center;width:25px;color:#9aa6b8}@media(max-width:850px){.pagination-bar{align-items:flex-start;flex-direction:column}.pagination-controls{justify-content:flex-start}.nav-submenu{margin-left:18px}}
.side-brand{position:relative}.sidebar-collapse{position:absolute;right:-13px;top:23px;z-index:2;display:grid;place-items:center;width:27px;height:27px;padding:0;border:1px solid #dce4f3;border-radius:9px;background:#fff;color:#60708f;box-shadow:0 5px 14px rgba(4,16,43,.2);transition:color .18s,transform .22s}.sidebar-collapse:hover{color:var(--primary)}.sidebar-collapse svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.side-scroll{scrollbar-width:thin;scrollbar-color:#31466f transparent}.side-scroll::-webkit-scrollbar{width:5px}.side-scroll::-webkit-scrollbar-track{background:transparent}.side-scroll::-webkit-scrollbar-thumb{border-radius:5px;background:#31466f}.side-scroll::-webkit-scrollbar-thumb:hover{background:#49618f}.side-scroll::-webkit-scrollbar-button{display:none;width:0;height:0}.top-actions{margin-left:auto}.page-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px}.page-tools .global-search{width:min(34vw,380px);max-width:none;flex:0 1 380px;margin-left:0;background:#fff}.page-tools .global-search button{display:grid;place-items:center}.page-tools .global-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.toolbar-actions{white-space:nowrap}@media(min-width:851px){.admin-shell,.sidebar{transition:width .22s,grid-template-columns .22s}.admin-shell.compact{grid-template-columns:76px 1fr}.sidebar.compact{width:76px}.sidebar.compact .side-brand{justify-content:center;padding:0 12px}.sidebar.compact .side-brand .brand-logo{width:38px;height:38px}.sidebar.compact .side-brand>div,.sidebar.compact .nav-group-title,.sidebar.compact .nav-item>span,.sidebar.compact .nav-badge,.sidebar.compact .nav-arrow,.sidebar.compact .nav-submenu,.sidebar.compact .side-account>div,.sidebar.compact .side-account>.icon-button{display:none}.sidebar.compact .side-scroll{padding:16px 10px}.sidebar.compact .nav-item{justify-content:center;gap:0;padding:11px}.sidebar.compact .nav-item svg{width:20px;height:20px}.sidebar.compact .side-account{justify-content:center;padding:16px 10px}.sidebar.compact .sidebar-collapse{transform:rotate(180deg)}}@media(max-width:850px){.sidebar-collapse{display:none}.page-tools .global-search{display:flex;width:min(52vw,330px)}}@media(max-width:650px){.page-tools{width:100%;align-items:stretch;flex-direction:column}.page-tools .global-search{width:100%;max-width:none;flex-basis:38px}.toolbar-actions{width:100%;overflow:auto}.page-description{margin-bottom:0}}
.top-account{display:flex;align-items:center;gap:9px;height:42px;padding:3px 9px 3px 4px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--text);transition:border-color .18s,box-shadow .18s,background .18s}.top-account:hover{border-color:#c7d2ff;background:#f9faff;box-shadow:0 5px 14px rgba(54,83,180,.08)}.top-avatar{width:32px;height:32px;border-radius:9px;font-size:12px}.top-account-meta{display:grid;min-width:92px;text-align:left;line-height:1.2}.top-account-meta strong{max-width:130px;overflow:hidden;color:#33415d;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.top-account-meta small{max-width:130px;margin-top:3px;overflow:hidden;color:#8b97ac;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.top-account-arrow{width:14px;height:14px;fill:none;stroke:#8190aa;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:650px){.top-account{width:38px;height:38px;padding:2px;border:0;background:transparent}.top-account-meta,.top-account-arrow{display:none}.top-avatar{width:34px;height:34px;border-radius:10px}}
.topbar{height:64px}.account-menu{top:57px}.content-header{position:relative;margin:2px 0 20px;padding:2px 0 18px;border-bottom:1px solid #e3e9f3}.page-breadcrumb{display:flex;align-items:center;gap:8px;min-height:24px;color:#8a96aa;font-size:11px}.page-breadcrumb i{color:#bdc5d3;font-size:16px;font-style:normal}.page-breadcrumb strong{color:#52627f;font-weight:700}.breadcrumb-home{display:flex;align-items:center;gap:6px}.breadcrumb-home svg{width:14px;height:14px;fill:none;stroke:#7787a4;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-top:9px}.page-heading h1{margin:0;color:#1d2940;font-size:25px;line-height:1.3;letter-spacing:-.4px}.page-heading p{margin:7px 0 0;color:#7b879d;font-size:12px}.page-heading-mark{width:54px;height:5px;border-radius:5px;background:linear-gradient(90deg,var(--primary),#28c7e8);box-shadow:0 4px 12px rgba(78,108,255,.2)}.page-toolbar{justify-content:flex-end;margin-bottom:16px}@media(max-width:650px){.content-header{margin-top:0;padding-bottom:14px}.page-heading{align-items:flex-start}.page-heading h1{font-size:22px}.page-heading-mark{width:38px;margin-top:10px}.page-breadcrumb{overflow:hidden;white-space:nowrap}.page-breadcrumb span,.page-breadcrumb strong{overflow:hidden;text-overflow:ellipsis}.page-toolbar{align-items:stretch}}
.list-panel{border-radius:14px}.list-panel>.table-wrap{min-height:280px}.data-table thead{box-shadow:0 1px 0 #dfe6f1}.data-table th{height:46px;padding:0 16px;background:linear-gradient(180deg,#f9fbff,#f4f7fc);color:#53617a;font-size:11px;font-weight:800;letter-spacing:.15px}.data-table th:first-child,.data-table td:first-child{padding-left:20px}.data-table td{height:48px;padding:11px 16px}.empty-table-row:hover td{background:#fff}.empty-table-row td{height:232px!important;padding:0!important;background:#fff}.table-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;color:#95a1b5}.table-empty span{color:#c9d3e4;font-size:28px}.table-empty strong{margin-top:9px;color:#8592a8;font-size:13px}.table-empty small{margin-top:6px;color:#b0bac9;font-size:10px}
.permission-modal{width:min(94vw,920px)}.permission-modal .modal-head>div p{margin:5px 0 0;color:var(--muted);font-size:11px}.permission-form{padding:20px 22px}.permission-role-row{display:grid;grid-template-columns:auto minmax(220px,1fr) auto;align-items:center;gap:12px;padding:13px 15px;border:1px solid var(--line);border-radius:11px;background:#f8faff}.permission-role-row label{color:#53617a;font-size:12px;font-weight:800}.permission-role-row select{height:38px;border:1px solid #dbe3f0;border-radius:9px;background:#fff;padding:0 11px;color:#33415d;outline:0}.permission-role-row span{padding:5px 9px;border-radius:12px;background:#eaf0ff;color:#5670ca;font-size:10px;white-space:nowrap}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:52vh;margin:15px 0;overflow:auto;padding:1px 5px 1px 1px;scrollbar-width:thin;scrollbar-color:#ccd5e6 transparent}.permission-card{overflow:hidden;border:1px solid #e0e6f0;border-radius:12px;background:#fff}.permission-card>header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid #e8edf5;background:#f8faff}.permission-card>header>div{display:grid;gap:3px}.permission-card>header strong{color:#34425d;font-size:12px}.permission-card>header span{color:#9aa5b7;font-size:9px}.permission-card>header label{display:flex;align-items:center;gap:5px;color:#74819a;font-size:10px}.permission-card>div{padding:5px 10px}.permission-item{display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 4px;border-bottom:1px dashed #edf0f5}.permission-item:last-child{border-bottom:0}.permission-item>span{display:grid;gap:3px}.permission-item b{color:#46536b;font-size:11px}.permission-item small{overflow:hidden;color:#98a3b6;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.permission-item em{padding:3px 6px;border-radius:8px;font-size:8px;font-style:normal}.risk-normal{background:#eaf8f3;color:#21896b}.risk-sensitive{background:#fff5dc;color:#a66c00}.risk-critical{background:#ffeded;color:#c7444b}.permission-reason{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}.permission-reason span{font-size:12px;font-weight:700}.permission-reason input{height:40px;border:1px solid #dfe5ef;border-radius:9px;padding:0 12px;outline:0}.permission-reason input:focus{border-color:#6c85ff;box-shadow:0 0 0 3px rgba(72,104,255,.09)}.permission-form .modal-foot .primary-button{width:auto}@media(max-width:700px){.permission-grid{grid-template-columns:1fr;max-height:48vh}.permission-role-row{grid-template-columns:1fr}.permission-reason{grid-template-columns:1fr}}
.topbar>.sidebar-collapse{position:static;right:auto;top:auto;z-index:auto;display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;color:#62708a;box-shadow:none;transform:none;transition:border-color .18s,color .18s,background .18s}.topbar>.sidebar-collapse:hover{border-color:#c9d4ff;background:#f5f7ff;color:var(--primary)}.topbar>.sidebar-collapse svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar.compact~.sidebar-overlay+.main-area .topbar>.sidebar-collapse{transform:none}@media(max-width:850px){.topbar>.sidebar-collapse{display:grid}}
.page-refresh-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:38px;white-space:nowrap}.page-refresh-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.row-actions-head,.row-actions{position:sticky!important;right:0;min-width:190px;background:#fff!important;box-shadow:-8px 0 14px rgba(35,61,124,.04)}.row-actions-head{z-index:2;background:linear-gradient(180deg,#f9fbff,#f4f7fc)!important}.row-actions{display:table-cell;overflow:visible!important;white-space:nowrap}.table-action{margin-right:6px;padding:5px 9px;border:1px solid #d8e0ed;border-radius:7px;background:#fff;color:#56657e;font-size:10px;transition:.16s}.table-action:hover{border-color:#bdcaff;background:#f5f7ff;color:var(--primary)}.table-action.primary{border-color:#cdd7ff;background:#f1f4ff;color:#4d68dc}.table-action.success{border-color:#ccecdf;background:#f1fbf7;color:#23876b}.table-action.danger{border-color:#ffd6d8;background:#fff6f6;color:#cc4b52}.row-actions .table-action:last-child{margin-right:0}
.protected-row{display:inline-flex;padding:5px 9px;border-radius:7px;background:#f1f3f7;color:#8a96aa;font-size:10px}
.toast-stack{z-index:2147483647;pointer-events:none}
.form-group input[readonly],.form-group textarea[readonly]{background:#f1f4f9;color:#637087;cursor:default}.form-help{color:#8995a8;font-size:10px;line-height:1.5}.form-group input[type=file]{background:#fff;padding:8px}
