:root{font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:#202b3c;background:#f4f6fa;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #93b9ff;outline-offset:2px}[hidden]{display:none!important}.login-screen{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(ellipse at 15% 10%,#244779 0,transparent 34%),radial-gradient(ellipse at 90% 90%,#284c78 0,transparent 32%),#101b31}.login-card{width:min(410px,100%);padding:38px 40px 30px;background:#fff;border:1px solid #e8edf4;border-radius:16px;box-shadow:0 24px 80px #07122455}.brand-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:linear-gradient(145deg,#468cff,#2864df);color:white;font-weight:800;font-size:19px;letter-spacing:-1px;box-shadow:0 7px 18px #3276ed38}.eyebrow{margin:18px 0 8px;color:#4381e8;font-size:10px;line-height:1.3;font-weight:800;letter-spacing:1.35px}.login-card h1{margin:0;color:#17243a;font-size:24px;letter-spacing:-.5px}.login-caption,.modal-caption{margin:8px 0 26px;color:#8b96a7;font-size:13px}.login-form{display:flex;flex-direction:column}.login-form label,.generate-form label{margin:14px 0 7px;color:#566276;font-size:12px;font-weight:650}.login-form input,.generate-form input{height:43px;padding:0 12px;border:1px solid #dfe5ed;border-radius:8px;background:#fff;color:#202b3c;font-size:13px;transition:border-color .15s,box-shadow .15s}.login-form input:focus,.generate-form input:focus,.filter-row input:focus,.filter-row select:focus{border-color:#6a9df1;box-shadow:0 0 0 3px #4584ed16;outline:none}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:700;transition:filter .15s,background .15s,border-color .15s}.button:hover{filter:brightness(.98)}.button-primary{background:#3978e8;color:#fff;box-shadow:0 3px 8px #3978e826}.button-secondary{background:#fff;color:#657186;border-color:#e0e5ec}.login-submit{width:100%;margin-top:21px;min-height:44px}.login-footnote{margin:25px 0 0;text-align:center;color:#a2aab6;font-size:10px}.form-error{margin:11px 0 0;padding:9px 10px;border-radius:7px;background:#fff3f2;color:#bd4747;font-size:11px;line-height:1.5}.admin-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;z-index:5;display:flex;flex-direction:column;width:228px;padding:23px 15px 15px;background:#111d32;color:#c9d2e0}.brand{display:flex;align-items:center;gap:11px;padding:1px 8px 26px;color:inherit;text-decoration:none}.brand>span:last-child{display:flex;flex-direction:column;gap:3px}.brand strong{font-size:14px;color:#fff;letter-spacing:.1px}.brand small{font-size:10px;color:#8291a7}.brand-mark-small{width:34px;height:34px;border-radius:10px;font-size:13px;letter-spacing:-.6px}.nav-caption{padding:14px 11px 9px;color:#6f7d91;font-size:9px;font-weight:800;letter-spacing:1.5px}.side-nav{display:flex;flex-direction:column;gap:4px}.nav-item{position:relative;display:flex;align-items:center;gap:11px;width:100%;height:41px;padding:0 11px;border:0;border-radius:7px;background:transparent;color:#aeb9c9;text-align:left;font-size:12px}.nav-item:hover{background:#ffffff0c;color:#fff}.nav-item.active{background:#2c67ca;color:#fff;box-shadow:0 4px 12px #001c5140}.nav-icon{width:16px;font-size:16px;text-align:center;opacity:.9}.nav-count{margin-left:auto;min-width:22px;padding:3px 6px;border-radius:12px;background:#ffffff1b;color:#dce7f7;text-align:center;font-size:9px}.sidebar-bottom{display:flex;align-items:center;gap:7px;margin-top:auto;padding:13px 9px 4px;color:#8795aa;font-size:10px}.online-dot{width:7px;height:7px;border-radius:50%;background:#4ec49a;box-shadow:0 0 0 3px #4ec49a20}.logout-button{margin-left:auto;padding:4px 2px;border:0;background:none;color:#9ba8ba;font-size:10px}.logout-button:hover{color:#fff}.main-column{min-height:100vh;margin-left:228px}.topbar{height:62px;display:flex;align-items:center;gap:10px;padding:0 35px;border-bottom:1px solid #e9edf3;background:#fff}.topbar-spacer{flex:1}.secure-label{display:flex;align-items:center;gap:6px;color:#8894a5;font-size:10px}.secure-icon{color:#43b98c;font-size:9px}.admin-avatar{display:grid;place-items:center;width:29px;height:29px;margin-left:14px;border:1px solid #cfe0fd;border-radius:50%;background:#eaf2ff;color:#3a73d5;font-size:11px;font-weight:800}.admin-name{color:#5b6677;font-size:11px}.mobile-brand{display:none}.content{width:min(1220px,100%);margin:0 auto;padding:30px 36px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:23px}.page-heading .eyebrow{margin:0 0 8px}.page-heading h1{margin:0;color:#1c2a3e;font-size:23px;letter-spacing:-.5px}.page-caption{margin:7px 0 0;color:#8a95a5;font-size:11px}.plus{font-size:16px;font-weight:400}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card,.panel{border:1px solid #e8ecf2;border-radius:10px;background:#fff;box-shadow:0 2px 8px #20314c05}.stat-card{min-height:116px;padding:16px 17px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#778397;font-size:11px}.stat-icon,.quick-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;font-size:15px}.stat-icon.blue,.quick-icon.blue{background:#edf4ff;color:#4380e7}.stat-icon.green,.quick-icon.green{background:#eaf8f2;color:#37a981}.stat-icon.violet,.quick-icon.violet{background:#f2efff;color:#8067dc}.stat-icon.amber{background:#fff4e6;color:#dd9d38}.stat-card>strong{display:block;margin-top:6px;color:#1d2b40;font-size:25px;line-height:1.2;font-weight:750}.stat-card>small{display:block;margin-top:5px;color:#9ba4b1;font-size:9px}.overview-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:14px;margin-top:15px}.panel{padding:17px 18px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:11px}.panel-heading h2{margin:0;color:#2a374a;font-size:13px}.panel-heading p{margin:5px 0 0;color:#98a2b1;font-size:10px}.quick-panel{padding-bottom:9px}.quick-action{display:flex;align-items:center;gap:11px;width:100%;padding:12px 0;border:0;border-top:1px solid #f0f2f6;background:white;text-align:left}.quick-action>span:nth-child(2){display:flex;flex:1;flex-direction:column;gap:4px}.quick-action b{color:#445166;font-size:11px}.quick-action small{color:#9aa4b2;font-size:9px}.quick-action .arrow{color:#aab3c0;font-size:19px}.quick-action:hover b{color:#3477e7}.notice-icon{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#eff5ff;color:#4782df;font-size:11px;font-weight:700}.notice-list{display:flex;flex-direction:column;gap:11px;margin:13px 0 0;padding:0;list-style:none}.notice-list li{display:flex;align-items:flex-start;gap:9px}.notice-list li>span{display:grid;flex:0 0 18px;place-items:center;width:18px;height:18px;border-radius:50%;background:#eff4fc;color:#5484ce;font-size:9px}.notice-list p{margin:1px 0 0;color:#7d8999;font-size:10px;line-height:1.65}.notice-list b{color:#52627b;font-weight:700}.recent-panel{margin-top:15px;padding-bottom:7px}.text-button{border:0;background:none;color:#4380e7;font-size:10px}.text-button span{margin-left:3px;font-size:14px}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead th{height:36px;padding:0 12px;background:#f8f9fb;color:#8d98a7;font-size:9px;font-weight:650}thead th:first-child{border-radius:6px 0 0 6px}thead th:last-child{border-radius:0 6px 6px 0}tbody td{height:49px;padding:8px 12px;border-bottom:1px solid #f0f2f5;color:#617083;font-size:10px}tbody tr:last-child td{border-bottom:0}.key-code{color:#52637a;font:10px/1.4 ui-monospace,Consolas,monospace}.key-code small{display:block;color:#a5adba;font:9px/1.4 Inter,"Segoe UI","Microsoft YaHei",sans-serif}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:14px;font-size:9px}.status-pill:before{width:5px;height:5px;border-radius:50%;background:currentColor;content:""}.status-unused,.status-active{background:#eaf8f1;color:#309a71}.status-used{background:#edf3ff;color:#4c7dcc}.status-expired{background:#f1f2f4;color:#8993a1}.status-revoked{background:#fff0ef;color:#c66660}.result-count{margin-left:auto;color:#9aa3af;font-size:10px}.filter-row{display:flex;align-items:center;gap:10px;margin-bottom:14px}.search-box{display:flex;align-items:center;gap:8px;min-width:220px;max-width:350px;height:36px;padding:0 10px;border:1px solid #e5e9ef;border-radius:7px;color:#9aa4b1}.search-box>span{font-size:18px}.search-box input{width:100%;border:0;outline:0;color:#344258;font-size:10px}.search-box input::placeholder{color:#aab2bd}.filter-row select{height:36px;min-width:118px;padding:0 28px 0 10px;border:1px solid #e5e9ef;border-radius:7px;background:#fff;color:#687588;font-size:10px}.row-action{padding:5px 8px;border:1px solid #dce7f8;border-radius:6px;background:#f4f8ff;color:#3e77d3;font-size:9px}.row-action:hover{background:#eaf2ff}.row-action.danger{margin-left:4px;border-color:#f1dddd;background:#fff7f6;color:#bf625c}.empty-cell{height:90px;text-align:center;color:#a0a9b6}.page-footer{padding:22px 0 0;text-align:center;color:#abb3bf;font-size:9px}.modal-backdrop{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:18px;background:#101b3170;backdrop-filter:blur(3px)}.modal-card{position:relative;width:min(440px,100%);padding:29px;border:1px solid #e8edf4;border-radius:13px;background:#fff;box-shadow:0 24px 80px #0712243d}.modal-close{position:absolute;top:13px;right:15px;width:27px;height:27px;border:0;border-radius:7px;background:transparent;color:#99a3b0;font-size:20px}.modal-close:hover{background:#f2f4f7;color:#4d5c70}.modal-symbol,.success-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#edf4ff;color:#4380e7;font-size:19px}.success-symbol{border-radius:50%;background:#e8f8f0;color:#37a477;font-size:19px;font-weight:700}.modal-card>.eyebrow{margin-top:17px}.modal-card h2{margin:0;color:#1d2b40;font-size:20px}.modal-card .modal-caption{margin:8px 0 19px;font-size:11px;line-height:1.6}.generate-form{display:flex;flex-direction:column}.generate-form label{display:flex;flex-direction:column;gap:7px;margin:9px 0;color:#5c687a}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.optional{color:#a5aebb;font-size:9px;font-weight:400}.generate-form input{height:39px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:21px}.generated-codes{display:flex;flex-direction:column;gap:6px;max-height:240px;overflow:auto;padding:10px;border:1px solid #e4eaf3;border-radius:8px;background:#f7f9fc}.generated-code{padding:7px 8px;border-radius:5px;background:#fff;color:#30435d;font:11px/1.4 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.codes-card .modal-caption{margin-bottom:12px}.toast{position:fixed;right:24px;bottom:22px;z-index:50;max-width:min(390px,calc(100vw - 36px));padding:11px 15px;border:1px solid #dbe8fb;border-radius:8px;background:#fff;color:#425470;box-shadow:0 8px 28px #1526401c;font-size:11px;opacity:0;pointer-events:none;transform:translateY(8px);transition:opacity .18s,transform .18s}.toast.show{opacity:1;transform:translateY(0)}.toast.error{border-color:#f2d4d1;color:#b85b56}.data-panel{padding:16px 17px}.mobile-brand{align-items:center;gap:9px;color:#24334a;font-size:12px}.mobile-brand strong{font-size:12px}
@media(max-width:980px){.sidebar{width:195px}.main-column{margin-left:195px}.content{padding:27px 24px 18px}.topbar{padding:0 24px}.stat-grid{gap:9px}.stat-card{padding:14px 13px}.overview-grid{grid-template-columns:1fr}.notice-list{gap:8px}}
@media(max-width:700px){.sidebar{position:static;width:auto;height:auto;padding:10px 12px 9px}.brand{display:none}.sidebar .nav-caption,.sidebar-bottom{display:none}.side-nav{flex-direction:row;gap:5px}.nav-item{justify-content:center;gap:6px;height:36px;padding:0 9px;font-size:10px}.nav-count{margin-left:0}.main-column{margin-left:0}.topbar{height:54px;padding:0 15px}.mobile-brand{display:flex}.secure-label{font-size:0}.secure-icon{font-size:9px}.admin-avatar{margin-left:3px}.admin-name{font-size:10px}.content{padding:22px 14px 17px}.page-heading{align-items:flex-end;margin-bottom:16px}.page-heading h1{font-size:20px}.page-caption{max-width:240px;line-height:1.5}.page-heading>.button{flex:0 0 auto;min-height:36px;padding:0 10px;font-size:10px}.stat-grid{grid-template-columns:1fr 1fr;gap:8px}.stat-card{min-height:101px;padding:12px}.stat-card>strong{font-size:22px}.overview-grid{margin-top:9px;gap:9px}.panel{padding:14px 12px}.recent-panel{margin-top:9px}.filter-row{flex-wrap:wrap}.search-box{flex:1 1 100%;max-width:none}.filter-row select{flex:1}.result-count{font-size:9px}.data-panel{padding:12px 10px}thead th,tbody td{padding-right:9px;padding-left:9px}.login-card{padding:31px 25px 26px}.modal-card{padding:24px 20px}.toast{right:12px;bottom:12px}}
