:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#26324a;background:#f5f6fa;font-synthesis:none;--ink:#202b43;--muted:#8a94a7;--line:#e9ecf3;--accent:#605bda;--accent-light:#f0effe}*{box-sizing:border-box}body{margin:0;display:flex}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:1px solid #e2e6ef;color:#566079;background:#fff;padding:10px 16px;min-height:39px;border-radius:10px;font-size:12px;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,transform .15s}button:hover{border-color:#c2bff1;background:#f8f7ff}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible{outline:3px solid #c9c6fa;outline-offset:3px}button.primary{background:var(--accent);border-color:var(--accent);color:white;box-shadow:0 4px 9px #605bda18}button.primary:hover{background:#504bc5}button:disabled{opacity:.45;cursor:default;transform:none}button.danger{color:#be585d;background:#fff7f6;border-color:#f3dfe0}button.danger:hover{background:#ffedeb;border-color:#e9bbbd}aside{position:fixed;inset:0 auto 0 0;width:240px;padding:32px 20px;background:#171e35;color:#b1b8cd;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:23px;letter-spacing:2px;font-weight:750;padding:0 8px}.brand i{font-style:normal;width:43px;height:45px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(150deg,#9b96ff,#625ad7);font-size:30px;letter-spacing:-1px;font-weight:600;box-shadow:0 6px 18px #080d2630}.brand span{display:block;font-size:8px;letter-spacing:2px;margin-top:5px;font-weight:500;color:#929cb7}nav{display:grid;gap:7px;margin-top:38px;overflow:auto}.nav-caption{font-size:10px;letter-spacing:1px;color:#6f7b99;margin:0 14px 10px}nav button{display:flex;align-items:center;gap:13px;text-align:left;color:#aeb8d0;background:transparent;border:1px solid transparent;border-radius:11px;padding:12px 15px;font-size:13px;min-height:46px}nav button svg{width:19px;height:19px;flex:none;opacity:.9}nav button:hover{background:#232b46;border-color:transparent;color:#eef0fd}nav button.active{color:white;background:#655ddd;border-color:#756ee2;box-shadow:0 6px 20px #070d2822}nav button.active svg{opacity:1}.aside-foot{margin-top:auto;padding:26px 14px 2px;border-top:1px solid #ffffff0c;font-size:11px;line-height:2;color:#a3acc1}.aside-foot small{font-size:10px;color:#646f8b;margin-left:13px}.foot-dot{width:6px;height:6px;background:#8a84ed;display:inline-block;border-radius:50%;margin-right:5px}main{margin-left:240px;width:calc(100% - 240px);padding:32px 38px 48px;max-width:1920px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}header small{font-size:10px;letter-spacing:1px;color:#a1a9b9}h1{font-size:26px;line-height:1.4;letter-spacing:.3px;margin:9px 0 0;font-weight:700;color:var(--ink)}.header-actions{display:flex;align-items:center;gap:18px}.console-tag{color:#8e96aa;font-size:11px;border-right:1px solid #e1e5ef;padding-right:18px}header #logout{border:0;background:transparent;font-size:11px;color:#717c93;padding-right:0}h2{font-size:16px;font-weight:650;line-height:1.5;margin:0 0 14px;color:var(--ink)}h3{font-size:14px;font-weight:650;margin:26px 0 15px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;color:#8d85cf}.card{padding:25px 27px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 4px 16px #29335703;margin-bottom:21px}.welcome-card{position:relative;overflow:hidden;background:linear-gradient(115deg,#eeedfd,#f8f8ff 70%,#f0f2ff);border:1px solid #e4e3fa;border-radius:19px;padding:31px 32px;display:flex;align-items:center;justify-content:space-between;margin-bottom:23px;min-height:155px}.welcome-card h2{font-size:24px;font-weight:650;margin:12px 0 10px;letter-spacing:.6px}.welcome-card p{font-size:12px;color:#8a8ba5;margin:0;line-height:1.7}.welcome-mark{font-family:Georgia,serif;font-weight:400;font-size:150px;font-style:italic;line-height:1;color:#dedbfa;transform:rotate(-12deg);padding-right:20px;pointer-events:none}.stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px 20px;position:relative;min-width:0}.stat-card:before{content:"";position:absolute;right:18px;top:22px;width:7px;height:7px;border-radius:3px;background:#d3d0fc}.stat-card:nth-child(2):before{background:#b2decd}.stat-card:nth-child(3):before{background:#c1d5fa}.stat-card:nth-child(4):before{background:#e9d3ac}.stat-card:nth-child(5):before{background:#efc9ce}.stat-card>span{font-size:11px;color:#8a93a6;display:block}.stat-card strong{display:block;font-size:29px;font-weight:650;letter-spacing:.5px;margin:14px 0 8px;color:#27334f;font-variant-numeric:tabular-nums}.stat-card small{font-size:9px;color:#b0b6c5}.overview-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.section-top h2{margin:0}.section-top .muted{margin:8px 0 0}.subtle-tag{font-size:9px;letter-spacing:.5px;border:1px solid #e9e7fa;border-radius:6px;padding:5px 9px;white-space:nowrap;color:#9891c6;background:#fbfaff}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.quick-grid button{padding:19px 17px;text-align:left;background:#fafbfe;border-color:#edf0f7;border-radius:12px;white-space:normal}.quick-grid button:hover{background:#f4f2fe;border-color:#dcd8f9}.quick-grid strong{display:block;font-size:12px;font-weight:600;color:#525a7c;margin-bottom:9px}.quick-grid span{display:block;font-size:10px;color:#a2a9bb;line-height:1.7}.overview-note h2{font-size:18px;margin:16px 0}.overview-note p{font-size:12px;color:#9099ac;line-height:1.9}.overview-note button{margin-top:7px;color:var(--accent);border-color:#e1ddf8}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:23px 0 15px}.toolbar h2{margin:0}.toolbar form{display:flex;gap:9px;align-items:center}.toolbar button{flex:none}.toolbar input{max-width:400px}.table-wrap{padding:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#dadcea transparent}.table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{padding:15px 21px;background:#fafbfe;color:#969fb3;font-size:10px;font-weight:500;letter-spacing:.2px;text-align:left;border-bottom:1px solid #edf0f7}td{padding:18px 21px;border-bottom:1px solid #f0f2f7;color:#5b657e;vertical-align:middle;font-variant-numeric:tabular-nums}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcff}td button{padding:6px 11px;min-height:30px;border-radius:7px;font-size:10px}td button+button{margin-left:6px}td code{display:inline-block;font-size:11px;letter-spacing:.2px;margin-right:10px;color:#52617d}.person{display:flex;align-items:center;gap:11px}.person img{width:33px;height:33px;border-radius:11px;background:#f3f0ff;padding:2px}.person span{font-size:12px;font-weight:500;color:#39465f}.pill{display:inline-flex;align-items:center;gap:6px;line-height:1.5;font-size:10px;border-radius:6px;padding:5px 9px;color:#4c9a80;background:#edf8f3;white-space:nowrap}.pill:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.pill.off{color:#8e95a9;background:#f2f3f8}.pill.error{color:#c06569;background:#fcf0f1}.muted{color:#9aa4b6;font-size:11px;line-height:1.9}.notice{border:1px solid #e8e6f8;background:#f6f5fd;color:#9690b7;padding:13px 17px;border-radius:10px;font-size:11px;line-height:1.8;margin:15px 0 20px}label{display:grid;gap:9px;color:#68748c;font-size:11px;margin:17px 0}input,select,textarea{width:100%;border:1px solid #e2e6ef;border-radius:9px;background:#fff;padding:11px 13px;font-size:12px;color:#46536e;min-width:0;outline:none;transition:border .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:#a9b1c1;font-size:11px}input:focus,select:focus,textarea:focus{border-color:#9f98ed;box-shadow:0 0 0 3px #605bda0b}select{min-height:40px}textarea{font-family:ui-monospace,SFMono-Regular,monospace;margin:10px 0}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:17px;align-items:end}.form-grid label{margin:0}.form-grid button{height:40px}.checkbox{display:flex;align-items:center;font-size:12px;gap:10px}.checkbox input{width:15px;height:15px;accent-color:var(--accent)}.sms-settings-card{max-width:790px}.sms-template-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}#sms-settings-result:not(:empty){color:#605bda}.blacklist-add{display:grid;grid-template-columns:1fr 1.7fr auto;align-items:end;gap:17px}.blacklist-add label{margin:0}.blacklist-add button{height:40px}.log-filters{display:grid;grid-template-columns:1.3fr 1fr 1fr auto;gap:17px;align-items:end}.log-filters label{margin:0}.log-filters button{height:40px}.cell-note{display:block;font-size:10px;color:#abb2c3;margin-top:6px}.sms-table strong{font-weight:500;color:#40506a}.wrap-cell{white-space:normal;min-width:160px;max-width:300px;overflow-wrap:anywhere;line-height:1.8}.empty-cell{text-align:center;padding:46px!important;color:#a4adbd;font-size:12px}.pager{display:flex;align-items:center;justify-content:space-between;gap:16px;color:#9aa4b6;font-size:11px}.pager>div{display:flex;align-items:center;gap:14px}.pager button{font-size:11px;min-height:33px;padding:7px 13px}.restore-row{display:flex;gap:12px;align-items:center}.restore-row button{flex:none}#code-search-form{max-width:800px}#code-search-form input{flex:1;max-width:none}#search{width:260px;max-width:100%}#message{display:none;font-size:12px;line-height:1.8;padding:12px 17px;background:#f0eefb;border:1px solid #e0dcf6;color:#6f65a1;border-radius:10px;margin:0 0 22px;overflow-wrap:anywhere}#message:not(:empty){display:block}.login{max-width:440px;padding:34px 36px;margin:70px auto;box-shadow:0 15px 60px #30305207}.login h2{font-size:23px}.login .primary{width:100%;margin-top:12px}.login label{margin:22px 0}.login input{height:46px}.login .muted{margin-bottom:25px}dialog{border:1px solid #e5e5f0;border-radius:20px;padding:28px;width:850px;max-width:95vw;max-height:90vh;overflow:auto;color:#3d4862;box-shadow:0 30px 100px #121a3725}dialog::backdrop{background:#121a3b55;backdrop-filter:blur(4px)}dialog .toolbar{margin-top:0;padding-bottom:18px;border-bottom:1px solid #edf0f7}dialog .muted{font-size:10px}#user-form{background:#fafbff;border:1px solid #edf0f7;border-radius:12px;padding:5px 20px 20px}#user-form label{line-height:1.6}#user-expiry:disabled{background:#f1f2f8;color:#98a1b4}.device{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid #eef0f6;font-size:12px}.device small{display:block;font-size:10px;color:#9ca5b7;margin-top:7px}.danger-zone{border-top:1px solid #f1e1e3;margin-top:28px;padding-top:1px}.danger-actions{display:flex;gap:12px;flex-wrap:wrap}[hidden]{display:none!important}@media(min-width:1700px){main{padding:40px 52px}.card{padding:29px 31px}.table-wrap{padding:0}.stat-grid{gap:21px}}@media(max-width:1250px){aside{width:216px;padding-left:14px;padding-right:14px}main{margin-left:216px;width:calc(100% - 216px);padding:28px 26px}.stat-grid{grid-template-columns:repeat(3,1fr)}.overview-grid{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:repeat(2,1fr)}.form-grid button{grid-column:span 2;justify-self:start}.log-filters{grid-template-columns:1fr 1fr}.blacklist-add{grid-template-columns:1fr 1fr}.blacklist-add button{grid-column:span 2;justify-self:start}.welcome-card h2{font-size:21px}.welcome-mark{font-size:120px;padding-right:0}}@media(max-width:900px){aside{width:190px}main{margin-left:190px;width:calc(100% - 190px);padding:25px 19px}.brand{font-size:20px;gap:10px}.brand i{width:36px;height:39px;font-size:26px}.brand span{font-size:7px;letter-spacing:1px}nav button{font-size:12px;gap:9px;padding:12px 13px}.overview-grid{grid-template-columns:1fr}.quick-grid{gap:12px}.stat-card{padding:18px 15px}.stat-card:before{right:12px;top:20px}.welcome-mark{display:none}.console-tag{display:none}.toolbar{flex-wrap:wrap}.toolbar form{width:100%}.toolbar form input{flex:1}.card{padding:22px}.table-wrap{padding:0}.section-top{gap:10px}.stat-card strong{font-size:25px}}@media(max-width:640px){body{display:block}aside{position:static;width:100%;padding:20px 17px 13px}.brand{padding:0 4px;font-size:20px}.brand i{width:32px;height:34px;font-size:23px;border-radius:10px}.brand span{font-size:7px}.brand div{display:flex;align-items:center;gap:14px}.brand span{margin-top:3px}nav{display:flex;gap:5px;margin-top:19px;overflow:auto;padding-bottom:3px}.nav-caption{display:none}nav button{flex:none;padding:10px 12px;min-height:37px;font-size:11px;border-radius:8px;gap:7px}nav button svg{width:15px;height:15px}.aside-foot{display:none}main{margin:0;width:100%;padding:23px 15px 35px}header{margin-bottom:23px}header small{font-size:9px}h1{font-size:23px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:12px}.stat-grid .stat-card:last-child{grid-column:span 2;display:grid;grid-template-columns:1fr auto;align-items:center}.stat-grid .stat-card:last-child strong{grid-column:2;grid-row:1 / span 2;margin:0 15px 0 0}.stat-grid .stat-card:last-child:before{display:none}.stat-grid .stat-card:last-child small{grid-column:1;margin-top:7px}.stat-card{padding:17px}.welcome-card{padding:24px 21px;min-height:145px}.welcome-card h2{font-size:18px;line-height:1.7}.welcome-card p{font-size:11px}.card{padding:22px 19px;border-radius:14px}.table-wrap{padding:0}.quick-grid button{padding:18px 14px}.quick-grid strong{font-size:11px}.quick-grid span{font-size:9px}.blacklist-add,.log-filters,.sms-template-grid{grid-template-columns:1fr}.blacklist-add button{grid-column:auto;justify-self:stretch}.log-filters button{width:100%}.form-grid{gap:15px}.form-grid button{justify-self:stretch}.pager{align-items:flex-start;flex-wrap:wrap;font-size:10px}.pager>div{gap:12px}.notice{font-size:10px}.restore-row{flex-wrap:wrap}.restore-row button{width:100%}.login{margin:25px auto;padding:28px 24px}dialog{padding:22px 18px;border-radius:16px}.header-actions{gap:0}#search{width:100%}#code-search-form{flex-wrap:nowrap}#code-search-form input{width:0}.section-top{align-items:flex-start}.subtle-tag{font-size:8px}}
