:root{font-family:Inter,"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:#e8eeed;background:#0b1113;font-synthesis:none;line-height:1.55;--surface:#111a1d;--line:#263337;--muted:#94a7aa;--accent:#44d7bb;--accent-dark:#0b2520;--danger:#f39b9b}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.35}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.app-shell{width:min(1380px,100%);margin:auto;padding:0 42px}.topbar{height:102px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;gap:13px;align-items:center;font-size:20px;font-weight:650;line-height:1.25}.brand-subtitle{display:block;color:#778f92;font-size:9px;font-weight:600;letter-spacing:2px;margin-top:6px}.brand-mark{width:38px;height:42px;display:grid;place-items:center;border:1px solid #34504e;border-radius:11px;background:#142b29}.brand-mark span{width:16px;height:20px;border:2px solid var(--accent);border-radius:5px 5px 9px 9px;position:relative}.brand-mark span:after{content:"";position:absolute;width:4px;height:6px;background:var(--accent);border-radius:2px;left:4px;top:4px}.topbar-right{display:flex;align-items:center;gap:24px}.topbar-right form{margin:0}.service-tag{font-size:12px;color:#a7c4bf;display:flex;align-items:center;gap:8px}.service-tag>span{width:6px;height:6px;background:var(--accent);border-radius:50%;box-shadow:0 0 12px #44d7bb44}.footer{margin-top:50px;padding:23px 0;border-top:1px solid var(--line);color:#657b7e;font-size:11px;display:flex;justify-content:space-between}.eyebrow{font-size:10px;letter-spacing:2.5px;color:var(--accent);font-weight:700;margin:0 0 12px}h1,h2,h3,p{margin-top:0}h1{font-size:34px;font-weight:630;letter-spacing:-1px;line-height:1.3;margin-bottom:12px}h2{font-size:19px;font-weight:600;line-height:1.4;margin-bottom:5px}h3{font-size:17px;font-weight:550;margin-bottom:6px}.muted{color:var(--muted);font-size:13px}.lead{color:#9fb4b5;line-height:1.9;font-size:15px}.panel{border:1px solid var(--line);border-radius:15px;background:var(--surface);overflow:hidden}.button{display:inline-flex;align-items:center;justify-content:center;gap:24px;min-height:42px;padding:10px 19px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:600;line-height:1.4;transition:background .16s,border-color .16s}.primary{background:var(--accent);color:#062a22}.primary:hover{background:#77e7d0}.outlined{border-color:#38514f;background:#152723;color:#b6ded5}.outlined:hover{background:#203831}.subtle{color:#a9bdbc;background:#192527;border-color:#2c3b3e}.subtle:hover{background:#223335}.small{min-height:33px;padding:7px 12px;font-size:12px}.full-width{width:100%;justify-content:space-between}.text-link{color:var(--accent);font-size:13px}.text-link:hover{text-decoration:underline}.alert{padding:13px 17px;border:1px solid #2b5b4e;background:#132f26;color:#bcebdd;border-radius:10px;font-size:13px;margin:0 0 24px}.alert.error{border-color:#653b3d;background:#301d20;color:#ffc6c6}.login-layout{min-height:660px;display:grid;grid-template-columns:1.2fr 1fr;gap:100px;align-items:center;padding:65px 45px}.login-intro h1{font-size:43px;line-height:1.45;margin-bottom:21px;letter-spacing:-1.7px}.login-intro .lead{max-width:440px;margin-bottom:34px}.intro-features{display:grid;gap:20px}.intro-features>div{display:flex;gap:18px;align-items:center;font-size:13px}.feature-num{color:#4d7b73;font-size:12px;font-weight:650}.intro-features small{display:block;margin-top:3px;font-size:11px;color:#6e8b8d}.login-panel{padding:38px 35px}.login-panel h2{font-size:25px;margin-bottom:8px}.stacked-form{display:grid;gap:21px;margin-top:30px}label{display:flex;flex-direction:column;gap:8px;color:#b1c1c2;font-size:12px;font-weight:550}input,textarea{min-width:0;width:100%;border:1px solid #304247;background:#0d1518;color:#e4efed;border-radius:7px;padding:11px 12px;line-height:1.45;font-size:13px;outline:none}input:hover,textarea:hover{border-color:#42605f}input:focus,textarea:focus{border-color:var(--accent)}input::placeholder{color:#536b6f}label small{font-size:10px;font-weight:400;color:#708b8f}.login-note{font-size:10px;color:#6a8386;margin-top:23px;margin-bottom:0;line-height:1.8}.page-heading{display:flex;align-items:center;justify-content:space-between;margin:38px 0 25px;gap:20px}.page-heading p:last-child{margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}.stat{border:1px solid var(--line);border-radius:11px;padding:20px 22px;background:linear-gradient(115deg,#152322,#11191c)}.stat>span{display:block;font-size:12px;color:#9ab0b1}.stat strong{display:block;margin:4px 0 0;font-size:36px;line-height:1.45;font-weight:550;letter-spacing:-1px}.stat small{display:block;font-size:10px;color:#718d90}.accent{color:var(--accent)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 25px 18px}.section-heading p{margin-bottom:0;font-size:11px}.pill{padding:4px 9px;border-radius:5px;background:#1b2b2d;border:1px solid #2c4144;color:#90adaf;font-size:10px;white-space:nowrap}.create-form{display:grid;grid-template-columns:1.3fr .6fr .8fr 1.1fr;gap:16px;padding:4px 25px 23px}.create-actions{grid-column:1/-1;display:flex;justify-content:flex-end;padding-top:5px}.list-panel,.audit-panel{margin-top:25px}.table-scroll{overflow:auto;width:100%;scrollbar-color:#36524e #111a1d}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{padding:12px 25px;color:#6f898d;font-size:10px;font-weight:600;white-space:nowrap;background:#0f181b;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}td{padding:17px 25px;border-bottom:1px solid #213135;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#152023}.card-key{font-family:Consolas,monospace;font-size:14px;letter-spacing:1.5px;color:#d5e7e1}.cell-note{font-size:11px;color:#96adaf;margin-top:4px;word-break:break-word}.cell-meta{font-size:9px;color:#5d797e;margin-top:5px;max-width:200px;overflow-wrap:anywhere}.status{display:inline-flex;padding:4px 9px;border-radius:5px;font-size:10px;white-space:nowrap;border:1px solid transparent}.status.active{color:#7be1ba;background:#16392c;border-color:#23503e}.status.disabled{color:#e6bd7e;background:#382c1e;border-color:#59452a}.status.deleted{color:#9aa8b0;background:#242d33;border-color:#38434b}code{font-family:Consolas,monospace;font-size:10px;color:#b5ceca;white-space:nowrap}.date{white-space:nowrap;font-size:11px;color:#b9cdcc}.row-actions{display:flex;gap:6px}.row-actions form{margin:0}.action-button{font-size:10px;padding:5px 8px;border:1px solid #34494c;background:#1d2d30;color:#bdd0d0;border-radius:5px;white-space:nowrap}.action-button:hover:not(:disabled){background:#2b4143}.action-button.warning{border-color:#5e4c31;background:#30291f;color:#d8b77d}.action-button.positive{border-color:#2a5c4c;background:#18362e;color:#8ad8bc}.action-button.danger{border-color:#573b3e;background:#2e2226;color:#cf9299}.empty-state{text-align:center;padding:45px 24px 52px}.empty-state p{font-size:12px;color:#759397}.empty-symbol{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;background:#1c3431;color:#63a899;border:1px solid #31544c;border-radius:12px;font-size:23px;margin-bottom:16px}.compact-empty{color:#759397;font-size:12px;padding:25px}.audit-panel td{padding-top:13px;padding-bottom:13px}.created-layout{max-width:800px;margin:40px auto 70px}.created-panel{margin-top:20px;padding:36px}.created-panel h1{font-size:28px}.created-panel .lead{font-size:13px;max-width:620px}.success-mark{width:49px;height:49px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#17382d;color:#66d3a5;border:1px solid #286347;font-size:24px;margin-bottom:26px}.copy-label{margin:25px 0 9px;display:flex;flex-direction:row;justify-content:space-between}.copy-label span{font-size:10px;font-weight:400;color:#6e9294}.generated-keys{resize:vertical;min-height:135px;max-height:500px;font-family:Consolas,monospace;font-size:14px;line-height:1.9;padding:17px 19px;color:#a1e1cc}.created-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}.notice{padding:17px 19px;background:#152426;border:1px solid #2b4144;border-radius:9px;margin-top:30px}.notice strong{color:#97bcb9;font-size:11px;font-weight:600}.notice p{font-size:11px;color:#719494;margin:6px 0 0}.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);padding:13px 22px;border:1px solid #3c7768;background:#163c31;color:#c3f1df;font-size:12px;border-radius:9px;box-shadow:0 8px 35px #0008;max-width:calc(100% - 32px);z-index:10}
.create-form{grid-template-columns:1.2fr .6fr 1.4fr}.device-binding{display:flex;align-items:center;gap:8px;margin:3px 0}.device-label{font-size:10px;color:#759397;white-space:nowrap}.device-binding .cell-note{margin-top:0}.host-presence{display:flex;align-items:center;gap:5px;font-size:10px;margin-top:8px}.host-presence>span{width:5px;height:5px;border-radius:50%;background:currentColor}.host-presence.online{color:#7be1ba}.host-presence.offline{color:#7b9096}.row-actions{flex-wrap:wrap;min-width:150px}.unbind-form{display:flex;gap:5px;width:100%;margin-top:3px!important}.unbind-form select{background:#142326;color:#aec5c4;border:1px solid #34494c;border-radius:5px;font:inherit;font-size:10px;padding:4px 5px;min-width:0}.unbind-form select:disabled{opacity:.35}.create-form select{justify-content:initial;text-align:left}
@media(min-width:1350px){.cards-table th:nth-child(1){width:21%}.cards-table th:nth-child(2){width:10%}.cards-table th:nth-child(3){width:24%}.cards-table th:nth-child(4){width:25%}}
@media(max-width:1050px){.app-shell{padding:0 26px}.login-layout{gap:45px;padding:50px 10px}.login-intro h1{font-size:35px}.login-panel{padding:30px 26px}.create-form{grid-template-columns:1fr 1fr}.cards-table{min-width:920px}.stat{padding:16px 18px}.topbar{height:87px}}
@media(max-width:720px){.app-shell{padding:0 16px}.topbar{height:78px}.brand{font-size:17px;gap:10px}.brand-mark{width:32px;height:37px}.brand-subtitle{font-size:8px;letter-spacing:1.4px}.topbar-right{gap:10px}.service-tag{display:none}.login-layout{grid-template-columns:1fr;gap:30px;padding:38px 0}.login-intro h1{font-size:30px}.login-intro .lead{font-size:13px;margin-bottom:0}.intro-features{display:none}.login-panel{padding:28px 23px}.page-heading{margin-top:28px;align-items:flex-start}.page-heading h1{font-size:28px}.page-heading .muted{font-size:11px;max-width:220px}.page-heading .button{font-size:11px;padding:9px 12px;white-space:nowrap;margin-top:18px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stat strong{font-size:31px}.stat small{font-size:9px}.section-heading{padding:20px 18px 17px;align-items:flex-start}.section-heading h2{font-size:17px}.section-heading p{font-size:10px;max-width:270px}.create-form{padding:0 18px 20px;gap:15px}.create-form>label:first-of-type{grid-column:1/-1}.create-form>label:nth-of-type(4){grid-column:1/-1}.create-actions .button{width:100%}th,td{padding-left:18px;padding-right:18px}.created-panel{padding:26px 22px}.created-panel h1{font-size:25px}.created-layout{margin-top:28px}.created-actions{flex-direction:column}.generated-keys{font-size:11px;padding:13px}.footer{font-size:9px;margin-top:35px;gap:15px}.footer span:last-child{text-align:right}}
