@charset "UTF-8";
:root{color-scheme:dark;--bg:#0a0c10;--panel:#101319;--panel-alt:#141820;--line:#242a35;--line-soft:#1b2029;--text:#ebedf3;--muted:#8a94a7;--blue:#528cff;--green:#54d0a2;--amber:#dfb772;--red:#ee858f;--radius:12px;font-family:Inter,"Segoe UI",Arial,sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--blue)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-1px;margin-bottom:9px;font-weight:620}h2{font-size:17px;line-height:1.45;letter-spacing:-.35px;font-weight:600;margin-bottom:14px}h3{font-size:15px;font-weight:600}p{margin-bottom:18px}strong{font-weight:580}svg{flex-shrink:0;vertical-align:middle}.icon{display:inline-block;flex-shrink:0}
.app-shell{display:flex;min-height:100vh}.sidebar{width:234px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line-soft);background:#0d1015;display:flex;flex-direction:column;padding:31px 16px 16px;z-index:20;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;font-weight:650;letter-spacing:2px;font-size:17px}.brand small{display:block;color:#788399;font-size:9px;letter-spacing:2.1px;font-weight:500;margin-top:2px}.sidebar>.brand{padding:0 12px;margin-bottom:25px}.workspace-tag{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#131820;border:1px solid var(--line);border-radius:7px;color:#b4c0d2;font-size:11px;margin-bottom:23px}.status-dot{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;flex-shrink:0}.status-dot.amber{background:var(--amber)}.status-dot.gray{background:var(--muted)}.nav-label{font-size:9px;font-weight:650;color:#606b7e;letter-spacing:1.5px;padding:0 12px;margin:17px 0 9px}.sidebar>.nav-label{margin-top:0}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:7px;color:#9aa5b8;font-size:12px;min-height:40px;margin:3px 0;transition:background .15s,color .15s}.sidebar nav a:hover{background:#171c26;color:var(--text)}.sidebar nav a[aria-current]{background:#19263e;color:#89b0ff;box-shadow:inset 2px 0 var(--blue)}.sidebar nav a .icon{width:17px;height:17px;color:#738099}.sidebar nav a[aria-current] .icon{color:#76a3ff}.sidebar-bottom{display:flex;align-items:center;gap:9px;border-top:1px solid var(--line-soft);padding:20px 8px 3px;margin-top:auto}.avatar{display:grid;place-items:center;border:1px solid #334366;background:#1b263e;color:#8db2ff;width:34px;height:34px;border-radius:9px;font-size:14px}.user-label{min-width:0;flex:1}.user-label strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis}.user-label span{color:var(--muted);font-size:10px}.icon-button{border:0;background:none;color:var(--muted);padding:6px;display:grid;place-items:center}.icon-button:hover{color:var(--text)}.main-column{width:calc(100% - 234px);margin-left:234px}.topbar{height:68px;border-bottom:1px solid var(--line-soft);display:flex;align-items:center;justify-content:space-between;padding:0 38px;color:#8f9aaf;font-size:11px}.topbar b{color:#485063;margin:0 12px;font-weight:400}.topbar-right{display:flex;align-items:center;gap:14px}.main-content{max-width:1600px;margin:auto;padding:36px 38px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.page-heading p{color:var(--muted);margin:0;font-size:12px}.workspace-footer{display:flex;justify-content:space-between;gap:12px;margin-top:40px;padding-top:20px;border-top:1px solid var(--line-soft);color:#515c71;font-size:10px}.workspace-footer span:first-child{letter-spacing:1.7px;font-size:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:38px;padding:9px 15px;border-radius:7px;border:1px solid #2d3645;background:#1a202b;color:#d6deed;font-weight:550;font-size:12px;white-space:nowrap;line-height:1.35;transition:background .15s,border-color .15s}.button:hover{background:#232c3b;border-color:#44536a}.button.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 3px 8px #0002}.button.primary:hover{background:#6c9cff;border-color:#6c9cff}.button.danger{color:#eda0a7;background:#27191f;border-color:#542b37}.button .icon{width:15px;height:15px}.button.full{width:100%}.small-button{min-height:29px;padding:5px 10px;font-size:11px}.text-link{display:inline-flex;align-items:center;gap:6px;color:#83aaff;font-size:12px}.text-link:hover{color:#b5cdff}.text-link .icon{width:14px;height:14px}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow,.step-label{font-size:10px;letter-spacing:1.6px;color:#7285a7;font-weight:600;display:block;margin-bottom:20px}.step-label{color:#739fee}.mono,code{font-family:"Cascadia Code",Consolas,monospace;font-size:12px}.nowrap{white-space:nowrap}.break-word{overflow-wrap:anywhere}.positive{color:var(--green)}.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:19px}.card-heading h2{margin:0}.card-heading h2+.muted,.card-heading h2+p{margin:5px 0 0;font-size:11px;color:var(--muted)}.card-heading p{margin:0}.card-heading .pill+h2{margin-top:15px}.card.table-card{padding:0;overflow:hidden}.table-card>.card-heading{padding:22px 23px 0}.table-scroll{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th{font-size:10px;color:#79869c;font-weight:550;letter-spacing:.3px;padding:12px 20px;background:#12171f;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft);white-space:nowrap}td{padding:16px 20px;border-bottom:1px solid var(--line-soft);vertical-align:middle;color:#abb6c8}tr:last-child td{border-bottom:0}td strong{color:#dce3ef;display:block;font-size:12px}td small{display:block;margin-top:4px;color:#68768d;font-size:10px}tr:hover td{background:#141923}.check-col{width:45px}.count{display:inline-block;margin-left:8px;border-radius:4px;background:#202838;padding:1px 7px;color:#90a4c5;font-size:11px;vertical-align:2px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:26px}.stat{background:var(--panel);padding:20px 22px;border:1px solid var(--line);border-radius:var(--radius)}.stat-label{display:flex;align-items:center;justify-content:space-between;color:#98a5b9;font-size:11px;margin-bottom:12px}.stat-label .icon{color:#63718b}.stat>strong{font-size:32px;letter-spacing:-1px;line-height:1.2;display:flex;align-items:center;gap:10px;font-weight:580}.stat>span{display:block;color:#66738a;margin-top:9px;font-size:10px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:22px;align-items:start}.program-list{display:flex;flex-direction:column}.program-list>div{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line-soft)}.program-list>div:first-child{border-top:0}.program-list strong{flex:1;font-size:11px}.program-monogram{width:28px;height:28px;background:#1b2230;border:1px solid #2b364c;color:#9bb4da;border-radius:6px;display:grid;place-items:center;font-size:9px;letter-spacing:.3px;font-weight:600}.program-monogram.large{width:42px;height:42px;font-size:12px;border-radius:10px}.empty-state{padding:60px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px}.empty-state h3{margin:15px 0 8px;color:#cdd6e5}.empty-state p{font-size:12px;color:#78879e;line-height:1.8;margin-bottom:20px}.empty-icon{width:48px;height:48px;display:grid;place-items:center;background:#172238;border:1px solid #293b5a;border-radius:13px;color:#789fea}.empty-icon .icon{width:22px;height:22px}.empty-state.compact{min-height:100px;padding:25px}.empty-state.compact p{margin:0}.empty-cell{text-align:center;padding:35px;color:var(--muted)}.event-list{padding:2px 24px 15px}.event-row{display:flex;gap:13px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line-soft)}.event-row:last-child{border:0}.event-node{width:6px;height:6px;border-radius:2px;background:#476491;margin-top:5px}.event-row strong{display:block;font-size:11px;color:#b4c2d8}.event-row span:not(.event-node){display:block;color:#66768f;font-size:10px;margin-top:3px}.quick-card{padding:28px;background:linear-gradient(120deg,#152139,#111720 75%);border-color:#293750}.quick-card h2{font-size:24px;font-weight:550;line-height:1.5}.quick-card p{font-size:12px;line-height:1.8;color:#8c9db8}.quick-card .eyebrow{font-size:9px;color:#7999d1;margin-bottom:13px}.pill{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:5px;background:#212735;color:#9baac3;font-size:10px;font-weight:550;line-height:1.25;white-space:nowrap;border:1px solid transparent}.pill .icon{width:12px;height:12px}.pill.active,.pill.green,.pill.published{color:#73d5b1;background:#142b25;border-color:#214235}.pill.amber,.pill.frozen,.pill.quarantine,.pill.warning{color:#e1bb7c;background:#2c261b;border-color:#493a25}.pill.banned,.pill.error{color:#eb949e;background:#311b23;border-color:#482631}.pill.unused,.pill.retired,.pill.expired{background:#1d2430;color:#8e9bb0}.pill.subtle{background:#131a24;border-color:#242f42;color:#8496b3}.notice{border:1px solid #293c58;background:#131e30;border-radius:8px;padding:13px 16px;color:#9eb7da;font-size:12px;margin:18px 0;line-height:1.7;overflow-wrap:anywhere}.notice.success{background:#102820;border-color:#254b3a;color:#8fd3b7}.notice.error{background:#301a22;border-color:#60313f;color:#efa4ae}.notice.warning{background:#292318;border-color:#4d3c26;color:#d8bd8d}.form-layout{display:grid;grid-template-columns:minmax(340px,1.15fr) minmax(270px,1fr);gap:24px;align-items:start;max-width:1130px}.form-layout.wide-left{grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr);max-width:none}.stack{display:flex;flex-direction:column;gap:18px}.stack>.notice{margin:0}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>label{font-size:12px;color:#a9b6cb;font-weight:500}input,select,textarea{width:100%;background:#0e1219;border:1px solid #2a3444;border-radius:6px;color:#d7e0ef;padding:10px 12px;font-size:12px;min-height:39px;transition:border-color .15s}input:hover,select:hover,textarea:hover{border-color:#40506b}input:focus,select:focus,textarea:focus{border-color:#598af0}input::placeholder,textarea::placeholder{color:#4d5c73}input[type=checkbox]{appearance:auto;accent-color:var(--blue);width:15px;min-height:15px;height:15px;margin:0;flex-shrink:0}input[type=file]{font-size:11px;padding:9px}input::file-selector-button{border:0;border-radius:4px;background:#233450;color:#a7bfe9;padding:5px 10px;margin-right:9px;cursor:pointer}textarea{resize:vertical}.check-field{display:flex;flex-direction:row;align-items:center;gap:9px;color:#96a7c0;font-size:12px}.field small{font-size:10px;color:#6e809b}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-span{grid-column:1/-1}.errorlist{margin:0 0 10px;padding:10px 14px;background:#2c1a21;color:#f1a1ab;border-radius:6px;font-size:12px;list-style:none}.clean-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:26px}.clean-list li{display:flex;align-items:flex-start;gap:14px}.clean-list .icon{color:#769bce;margin-top:2px}.clean-list strong{display:block;font-size:12px;color:#b7c4d9}.clean-list p{font-size:12px;color:#798ba6;line-height:1.7;margin:6px 0 0}.info-card{padding:28px}.info-card h2{margin-bottom:30px}.balance-callout{display:flex;justify-content:space-between;gap:10px;margin-top:30px;padding:18px 0 0;border-top:1px solid var(--line);font-size:12px}.balance-callout span{color:var(--muted)}.quick-quantities{display:flex;align-items:center;gap:7px;margin-top:-2px}.quick-quantities span{font-size:10px;color:var(--muted);margin-right:auto}.quick-quantities button{background:#1a253a;color:#9db9e8;border:1px solid #2b3a53;border-radius:5px;padding:5px 12px;font-size:11px}.quick-quantities button:hover{background:#273a5c}.review-list{margin:12px 0 28px}.review-list>div{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 0;border-bottom:1px solid var(--line-soft);font-size:12px}.review-list dt{color:#8c9bb2}.review-list dd{margin:0;color:#d4dfef;text-align:right}.review-list .review-total{margin-top:12px;border:0}.review-total dd{font-size:24px;color:#8eb6ff}.row-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.row-actions form{margin:0}.filter-bar{display:flex;align-items:center;gap:12px;margin-bottom:20px}.filter-bar input{max-width:360px}.filter-bar select{width:auto;min-width:150px}.bulk-actions{padding:22px;border-top:1px solid var(--line)}.bulk-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;font-size:12px}.bulk-heading span{color:#73829c;font-size:11px}.bulk-fields{display:flex;align-items:end;gap:12px}.bulk-fields>.field{width:170px}.bulk-fields>.field.grow{flex:1}.bulk-fields>.field:nth-of-type(2){width:130px}.bulk-fields label{font-size:10px}.pagination{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;margin-top:20px}.pagination>div{display:flex;gap:10px}.batch-number{font-size:42px;font-weight:550;color:#97b9fb;line-height:1}.batch-number small{display:block;text-align:right;font-size:9px;letter-spacing:2px;color:var(--muted);margin-top:7px}.export-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 10px;font-size:12px;color:var(--muted)}.export-area{height:290px;white-space:pre;line-height:1.9;font-family:Consolas,monospace;font-size:12px;color:#9ebae5}.invite-code{height:82px;font-family:Consolas,monospace;margin:10px 0 20px;overflow-wrap:anywhere}.large-balance{font-size:38px;letter-spacing:-1.5px;margin:10px 0}.ledger-list>div{padding:14px 0;border-bottom:1px solid var(--line-soft)}.ledger-list strong{color:#9cb5da;font-size:14px}.ledger-list p{font-size:11px;color:var(--muted);margin:6px 0}.ledger-list small{color:#5e708d;font-size:10px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product-card{display:flex;flex-direction:column}.product-card h2{margin-bottom:7px}.product-card>.stack{margin-top:auto}.plan-tags{display:flex;flex-wrap:wrap;gap:7px;margin:4px 0 23px}.plan-tags span{font-size:10px;color:#8b9db9;background:#1b2330;border-radius:4px;padding:4px 8px}.release-item{border-top:1px solid var(--line);padding:22px 0}.release-item:first-child{border-top:0;padding-top:3px}.release-item:last-child{padding-bottom:0}.release-item h3{margin:0 0 5px}.release-item form .button{align-self:start}.version-tag{font-family:Consolas,monospace;color:#7e9cc8;margin-left:5px;font-size:11px}.checksum{display:flex;flex-direction:column;gap:5px;background:#0c1017;padding:11px;border:1px solid var(--line-soft);border-radius:6px;margin:10px 0}.checksum span{font-size:8px;letter-spacing:1px;color:#657794}.checksum code{font-size:10px;color:#8fa6c8;overflow-wrap:anywhere}.section-gap{margin-top:24px}.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.two-columns .muted{line-height:1.9;font-size:12px}.device-ban{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid var(--line)}.device-ban p{font-size:11px;color:var(--muted);margin:5px 0 0}.inline-form{display:flex;gap:10px;align-items:center}.device-ban .inline-form{max-width:450px}.narrow{max-width:620px;margin:auto}.narrow>.row-actions{margin-top:22px}details{max-width:370px}summary{color:#90abd7;cursor:pointer;font-size:11px}pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#8b9cb6;max-height:220px;overflow:auto;font-family:Consolas,monospace;font-size:10px}.toast{position:fixed;right:25px;bottom:25px;background:#203525;border:1px solid #3c7855;color:#a5e1b8;border-radius:8px;padding:12px 18px;font-size:12px;box-shadow:0 8px 35px #0008;z-index:50}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.auth-layout{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 20px;background:radial-gradient(ellipse at 50% 40%,#14223d50 0,transparent 60%)}.auth-brand{margin-bottom:26px}.auth-card{width:min(440px,100%);padding:38px;border:1px solid #283247;border-radius:15px;background:#11151df5;box-shadow:0 18px 90px #0005}.auth-card h1{font-size:26px;letter-spacing:-.8px;margin-bottom:9px}.auth-card>.muted{font-size:12px;line-height:1.8;margin-bottom:25px}.auth-card .stack{gap:19px}.auth-card .button{margin-top:4px}.auth-card .text-link{font-size:11px}.auth-emblem{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;border:1px solid #32476a;background:#1b2a43;color:#8eb5f7;margin-bottom:25px}.auth-divider{height:1px;background:var(--line);margin:24px 0}.auth-footer{font-size:10px;color:#56667e;margin:25px 0 0}.auth-environment{color:#977e58;font-size:8px;letter-spacing:1.2px;margin-bottom:23px}.auth-back{margin-top:22px}.secret-box{padding:16px;background:#192334;border:1px solid #314667;border-radius:7px;overflow-wrap:anywhere;margin:20px 0 12px}.secret-box code{color:#acccff;font-size:15px;letter-spacing:1px}
@media(min-width:1700px){.main-content{padding-top:46px}.page-heading{margin-bottom:35px}.stat{padding:25px}.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr)}}
@media(max-width:1150px){.sidebar{width:205px;padding-left:12px;padding-right:12px}.main-column{margin-left:205px;width:calc(100% - 205px)}.main-content{padding:28px 22px}.topbar{padding:0 22px}.stat-grid{gap:10px}.stat{padding:16px}.stat>strong{font-size:27px}.dashboard-grid{grid-template-columns:1fr 310px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-layout,.form-layout.wide-left{grid-template-columns:minmax(0,1fr)}.info-card{max-width:none}.bulk-fields{flex-wrap:wrap}.bulk-fields>.field.grow{min-width:220px}.form-layout.wide-left>.stack{min-width:0}}
@media(max-width:850px){.sidebar{width:180px;padding:24px 10px 12px}.sidebar>.brand{padding:0 8px}.brand{font-size:15px;gap:7px}.brand small{font-size:8px;letter-spacing:1.5px}.sidebar nav a{font-size:11px;padding:10px 9px;gap:8px}.workspace-tag{padding:8px;font-size:10px}.main-column{margin-left:180px;width:calc(100% - 180px)}.stat-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.topbar-right .pill.subtle{display:none}.page-heading{align-items:start;flex-direction:column}.page-heading h1{font-size:27px}.topbar{font-size:10px}.two-columns{grid-template-columns:1fr}.filter-bar{flex-wrap:wrap}.filter-bar input{max-width:none}.product-grid{grid-template-columns:1fr}.device-ban{align-items:start;flex-direction:column}.workspace-footer{flex-direction:column;gap:6px}}
@media(max-width:600px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:15px 16px;border-right:0;border-bottom:1px solid var(--line)}.sidebar>.brand{padding:0;margin-bottom:12px}.workspace-tag,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px;padding-bottom:4px}.sidebar nav a{flex-shrink:0;padding:8px 10px;margin:0;font-size:10px}.sidebar nav a .icon{display:none}.main-column{width:100%;margin:0}.topbar{height:45px;padding:0 17px}.topbar-right .pill{font-size:8px}.main-content{padding:26px 16px}.card{padding:20px}.card.table-card{padding:0}.stat-grid{gap:10px}.stat{padding:15px}.stat-label{font-size:10px}.stat>span{font-size:9px}.stat>strong{font-size:27px}.card-heading{gap:10px}.stat-label .icon{width:15px;height:15px}.filter-bar{gap:8px}.filter-bar select{min-width:0;flex:1}.form-grid{grid-template-columns:1fr}.bulk-fields>.field,.bulk-fields>.field:nth-of-type(2),.bulk-fields>.field.grow{min-width:0;width:100%;flex:auto}.bulk-fields>.button{width:100%}.bulk-heading{align-items:start;flex-direction:column;gap:5px}.inline-form{width:100%;flex-wrap:wrap}.auth-card{padding:27px}.auth-environment{font-size:7px}.auth-layout{padding-top:32px}.review-list>div{gap:14px}.review-list dd{max-width:60%;overflow-wrap:anywhere}.quick-quantities button{padding:5px 10px}.empty-state{padding:36px 20px;min-height:220px}}
.program-list{max-height:338px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#34435a transparent;padding-right:5px}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* FOCUS console — restrained surfaces, compact data, local assets. */
:root{--bg:#0c0e11;--panel:#121418;--panel-alt:#1b1e24;--line:#2a2d34;--line-soft:#22252b;--text:#e4e6ea;--muted:#9297a2;--radius:7px;font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif}
body{font-size:13px}
[hidden]{display:none!important}
h1{font-size:25px;line-height:1.3;font-weight:600;letter-spacing:-.6px;margin:0}
h2{font-size:14px;font-weight:600;letter-spacing:0}
.sidebar{width:212px;background:#101216;border-color:var(--line-soft);padding:25px 12px 14px}
.main-column{margin-left:212px;width:calc(100% - 212px)}
.main-content{padding:28px 30px 32px;max-width:1500px}
.brand{gap:10px;letter-spacing:1.7px;font-size:17px}
.brand img{object-fit:contain;width:28px;height:28px}
.brand small{font-size:10px;text-transform:none;letter-spacing:.25px;color:#777e8c;margin-top:2px}
.sidebar>.brand{margin:0 10px 26px}
.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:#666c77;margin:24px 12px 8px}
.sidebar nav a{padding:9px 11px;border-radius:5px;font-size:12px;gap:11px;color:#979da8;margin:2px 0}
.sidebar nav a .icon{width:17px;height:17px;color:#777f8d;stroke-width:1.6}
.sidebar nav a:hover{color:#e3e6ee;background:#1b1e24}
.sidebar nav a[aria-current=page]{background:#1c2535;color:#b0c7f1;box-shadow:none;border-color:transparent}
.sidebar nav a[aria-current=page] .icon{color:#7fa8f3}
.sidebar-bottom{background:none;border-top-color:var(--line-soft)}
.avatar{border-radius:5px;background:#20252e;border:1px solid #303744;font-weight:500;color:#a6b9d9}
.topbar{height:52px;padding:0 30px;background:var(--bg);border-color:var(--line-soft);font-size:12px}
.topbar b{color:#4f5560;font-weight:400}
.topbar-account{color:#959ba7;font-size:11px}
.preview-label{font-size:11px;color:#9cacc5;white-space:nowrap}
@media(max-width:600px){.topbar:has(.preview-label){height:auto;min-height:54px;flex-wrap:wrap;gap:10px;padding-top:10px;padding-bottom:10px}.topbar:has(.preview-label) .topbar-right{gap:14px;flex-wrap:wrap}}
.auth-layout{background:var(--bg)}
.auth-card{background:var(--panel);border-color:var(--line);border-radius:var(--radius);box-shadow:none;padding:30px}
.auth-card h1{font-size:23px;letter-spacing:-.4px;margin-bottom:24px}
.auth-card h1:has(+.muted){margin-bottom:10px}
.authenticator-panel{max-width:460px;margin:0 auto}
.setup-instructions{font-size:12px;line-height:1.8;margin:0 0 20px}
.authenticator-qr{margin:20px 0;display:flex;align-items:center;flex-direction:column;gap:12px}
.authenticator-qr img{display:block;max-width:100%;height:auto;background:#fff;border-radius:5px;image-rendering:pixelated}
.authenticator-qr figcaption{display:flex;align-items:center;justify-content:center;gap:8px;max-width:100%;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.authenticator-qr figcaption strong{color:var(--text);font-size:11px;font-weight:600;letter-spacing:.8px;flex-shrink:0}
.manual-setup{max-width:none;margin:20px 0 24px;padding:13px 0;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.manual-setup summary{font-size:12px;color:#9cb7e3}
.manual-setup .field{margin-top:15px}
.manual-setup .field small{line-height:1.7}
.setup-key-row{display:flex;align-items:stretch;gap:8px}
.setup-key-row input{min-width:0;font-family:Consolas,monospace;font-size:11px;padding:9px 8px}
.auth-card .setup-key-row .button{margin:0}
.security-grid{align-items:start}
.security-password{grid-column:2;grid-row:1 / span 2}
@media(max-width:850px){.security-password{grid-column:auto;grid-row:auto}}
@media(max-width:400px){.auth-card{padding:24px}.auth-card h1{font-size:21px}.authenticator-qr figcaption{align-items:start;flex-direction:column;gap:3px;text-align:center}.authenticator-qr figcaption strong{align-self:center}}
.page-heading{margin-bottom:21px;min-height:36px}
.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.card,.stat{background:var(--panel);border-color:var(--line);box-shadow:none;border-radius:7px}
.card{padding:20px}
.card.table-card{padding:0}
.card-heading{margin-bottom:19px;min-height:20px;gap:12px}
.table-card .card-heading{margin-bottom:0;padding:17px 20px;border-bottom:1px solid var(--line-soft)}
.card-heading h2{margin:0}
.heading-note{color:#747b87;font-size:11px;font-weight:400;margin-left:10px}
.stat{padding:20px}
.stat-label{font-size:12px;color:#969ca7}
.stat-label .icon{color:#77849a}
.stat>strong{font-size:30px;line-height:1.2;letter-spacing:-.8px;font-weight:550;margin:12px 0 7px;color:#eff1f5;font-variant-numeric:tabular-nums}
.stat>span,.stat>.text-link{font-size:11px}
.stat>span{color:#919aab}
.stat-grid{gap:14px;margin-bottom:20px}
.pill{display:inline-flex;gap:6px;align-items:center;border:0;background:none!important;border-radius:0;font-weight:400;font-size:11px;padding:0;line-height:1.5;white-space:nowrap;color:#9ca6b7}
.pill::before{content:"";flex-shrink:0;width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.9}
.pill.active{color:#86b7a3}.pill.unused{color:#a3acbd}.pill.expired{color:#858b98}.pill.frozen{color:#91b5df}.pill.blocked{color:#cdb080}.pill.banned{color:#cd8b94}
.button{border-radius:5px;font-weight:500;font-size:12px;min-height:34px;padding:7px 12px;box-shadow:none;gap:7px;white-space:nowrap}
.button:not(.primary):not(.danger){background:#1c2027;border-color:#343943;color:#c6ccd6}
.button:not(.primary):not(.danger):hover{background:#272c35;border-color:#4b5565}
.button.quiet:not(.primary):not(.danger){background:transparent;border-color:#303640}
.button.primary{background:#447de3;border-color:#5488e8;color:#fff;box-shadow:none}
.button.primary:hover{background:#5389e9}
.button .icon{width:15px;height:15px}
.button:disabled{opacity:.42}
.danger-quiet{color:#d69da4!important}
.text-link{font-size:12px;color:#98b8ee;gap:5px}
.text-link .icon{width:14px;height:14px}
.text-button{border:0;background:none;color:#99b7e9;padding:0;font-size:12px}
th{font-size:11px;font-weight:400;color:#868e9c;letter-spacing:0;text-transform:none;background:#14171c}
td{font-size:12px;color:#b7beca}
td strong{font-size:12px;color:#d9dde5;font-weight:500}
td,th{padding:13px 19px}
td small{font-size:11px;color:#818999}
tbody tr:hover{background:#181c23}
.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.nowrap{white-space:nowrap}
.table-end{text-align:right}
.count{font-size:11px;color:#8993a5;font-weight:400;margin-left:7px}
.small{font-size:11px}
input,select,textarea{font-size:12px;border-radius:5px}
.empty-icon{background:transparent;border:0;color:#626c80}
.empty-state h3{font-size:14px;font-weight:500}
.empty-state p{font-size:12px}
.empty-cell{padding:34px 20px}
.auth-layout{background:var(--bg)}
.auth-card{background:var(--panel);border-color:var(--line);border-radius:9px;box-shadow:none}
.auth-emblem{background:#1b2435;border-color:#2d3b56;border-radius:7px}
.auth-card h1{margin-bottom:10px}
.account-access{display:flex;align-items:center;justify-content:space-between;gap:18px}
.account-access h2{margin-bottom:6px}
.account-access p{margin:0}
.directory-summary{display:flex;align-items:center;gap:23px;margin:-3px 0 23px;font-size:12px;color:#7f8795;flex-wrap:wrap}
.directory-summary>span{display:flex;align-items:center;gap:6px}
.directory-summary strong{font-weight:500;color:#c6cedb;font-variant-numeric:tabular-nums}
.status-dot{width:5px;height:5px;border-radius:50%;background:#7eae98;display:inline-block}
.directory-toolbar{padding:15px 19px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line-soft)}
.directory-toolbar .filter-bar{margin:0;padding:0;border:0;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.directory-toolbar input{width:220px;min-width:0;height:34px;padding:6px 10px}
.directory-toolbar select{width:140px;height:34px;padding:6px 10px}
.directory-toolbar>.small{white-space:nowrap}
.person-cell{display:flex;align-items:center;gap:11px;min-width:170px}
.person-cell:hover strong{color:#b1ccfb}
.person-cell small{margin-top:2px}
.person-initial{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid #343944;border-radius:5px;background:#20242c;color:#a9b4c8;font-size:12px;flex-shrink:0}
.directory-empty{padding:58px 20px 62px;text-align:center}
.directory-empty h2{font-size:15px;font-weight:500;margin-bottom:7px;color:#ccd4e0}
.directory-empty p{font-size:12px;color:#8993a3;margin-bottom:20px}
.directory-empty .button{display:inline-flex}
.reseller-meta{display:flex;align-items:center;flex-wrap:wrap;gap:18px;color:#89919f;font-size:11px;margin:-9px 0 24px}
.example-label{border:1px solid #3c4451;background:#1b212a;color:#bdc9db;border-radius:4px;padding:2px 7px;font-size:10px}
.detail-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:24px;overflow:auto}
.detail-tabs a{font-size:12px;color:#919ba9;padding:0 1px 12px;white-space:nowrap;border-bottom:2px solid transparent}
.detail-tabs a[aria-current=page]{color:#d1def2;border-color:#6c9aed}
.detail-tabs a:hover{color:#d6e0f0}
.reseller-stats{gap:0;border:1px solid var(--line);border-radius:7px;background:var(--panel);overflow:hidden}
.reseller-stats .stat{background:none;border:0;border-radius:0;padding:19px 22px;border-right:1px solid var(--line-soft)}
.reseller-stats .stat:last-child{border-right:0}
.reseller-stats .stat>strong{font-size:29px}
.inventory-card .card-heading{margin-bottom:21px}
.status-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0}
.status-tile{display:flex;flex-direction:column;align-items:start;gap:9px;padding:0 20px 3px;border:0;border-left:1px solid var(--line-soft);border-radius:0;background:none}
.status-tile:first-child{padding-left:0;border-left:0}
.status-tile:hover strong{color:#b8d0fa}
.status-tile strong{font-size:24px;font-weight:500;line-height:1.3;letter-spacing:-.5px;color:#dce1ea;font-variant-numeric:tabular-nums}
.inventory-foot{display:flex;gap:23px;flex-wrap:wrap;color:#858e9e;font-size:11px;padding-top:18px;margin-top:18px;border-top:1px solid var(--line-soft)}
.inventory-foot strong{color:#c4ccda;margin-left:5px;font-weight:500}
.action-menu{max-width:none;position:relative;flex-shrink:0}
.action-menu summary{list-style:none;display:flex;align-items:center;gap:9px;font-size:11px;color:#a8b3c6;padding:5px 9px;border:1px solid #303743;border-radius:5px;cursor:pointer}
.action-menu summary::-webkit-details-marker{display:none}
.action-menu summary .icon{width:12px;height:12px}
.action-menu[open] summary,.action-menu summary:hover{background:#222833;color:#d5dceb}
.action-menu-items{position:absolute;top:calc(100% + 7px);right:0;min-width:168px;padding:5px;background:#1b1f27;border:1px solid #363f4e;border-radius:6px;z-index:10;box-shadow:0 8px 24px #0005}
.action-menu-items a,.action-menu-items button{display:flex;align-items:center;gap:8px;width:100%;font:inherit;font-size:12px;line-height:1.5;color:#c2cbd9;padding:8px 9px;background:transparent;border:0;border-radius:3px;text-align:left}
.action-menu-items a:hover{background:#2b3340}
.action-menu-items .icon{width:14px;height:14px}
.action-menu-items a:not(:has(.icon)){padding-left:31px}
.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:25px 0 15px}
.section-toolbar h2{margin:0}
.period-control{display:flex;gap:0;padding:3px;border:1px solid var(--line);border-radius:5px;background:#111419}
.period-control a{padding:4px 11px;border-radius:3px;font-size:11px;color:#9099a8;white-space:nowrap}
.period-control a[aria-current=page]{background:#2b313b;color:#e0e5ed}
.period-control a:hover{color:#d4deee}
.reseller-charts-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:18px;align-items:stretch}
.reseller-finance-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,.8fr);gap:18px;align-items:start}
.reseller-charts-layout>*{min-width:0}
.trend-totals{display:flex;gap:38px;margin:20px 0 20px}
.trend-totals>div{display:flex;flex-direction:column;gap:4px}
.trend-totals span{font-size:11px;color:#929cac}
.trend-totals strong{font-size:23px;font-weight:500;color:#dce5f4;font-variant-numeric:tabular-nums}
.chart-legend{display:flex;align-items:center;gap:20px;font-size:10px;color:#959fb1;margin-bottom:8px}
.chart-legend>span{display:flex;align-items:center;gap:6px}
.chart-legend i{display:inline-block;width:14px;height:2px;background:#799feb}
.chart-legend i.series-activated{background:#8bb6a6}
.chart-range{margin-left:auto;color:#7f889a}
.trend-chart{display:block;width:100%;height:155px;overflow:visible}
.chart-grid{fill:none;stroke:#282d36;stroke-width:1;vector-effect:non-scaling-stroke}
.chart-line{fill:none;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.issued-line{stroke:#799feb}
.activated-line{stroke:#8bb6a6}
.chart-dates{display:flex;justify-content:space-between;color:#868fa0;font-size:10px}
.trend-split{display:flex;gap:25px;border-top:1px solid var(--line-soft);margin-top:18px;padding-top:14px;color:#8894a7;font-size:11px}
.trend-split strong{color:#c3cddd;margin-left:6px;font-weight:500}
.trend-data{max-width:none;margin-top:13px}
.trend-data summary{font-size:11px;color:#8694aa}
.trend-data .table-scroll{max-height:220px;margin-top:12px}
.metric-list{margin:0}
.metric-list>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:10px 0;font-size:12px}
.metric-list dt{color:#949eae}
.metric-list dd{margin:0;color:#d1d9e8;text-align:right;font-variant-numeric:tabular-nums}
.metric-list .metric-total{border-top:1px solid #303743;margin-top:8px;padding-top:15px}
.metric-total dd{font-size:21px;letter-spacing:-.4px}
.credit{color:#8dbaa7!important}
.invoice-summary{display:flex;flex-wrap:wrap;gap:14px;font-size:10px;color:#8a98aa;border-top:1px solid var(--line-soft);padding-top:14px;margin-top:9px;margin-bottom:17px}
.invoice-summary strong{color:#c7d3e3;margin-left:3px;font-weight:500}
.definition-list{margin:0}
.definition-list>div{padding:17px 0;border-bottom:1px solid var(--line-soft)}
.definition-list>div:last-child{border-bottom:0;padding-bottom:0}
.definition-list dt{font-size:12px;color:#c8d5ea;margin-bottom:7px}
.definition-list dd{font-size:12px;line-height:1.8;color:#8996a8;margin:0}
.stats-timestamp{color:#747e8e;font-size:10px;text-align:right;margin:20px 0 0}
.reseller-breakdowns{align-items:start}
.program-statistics th:not(:first-child),.program-statistics td:not(:first-child),.duration-statistics th:last-child,.duration-statistics td:last-child{text-align:right;font-variant-numeric:tabular-nums}
.money{font-variant-numeric:tabular-nums}
.quota-count{font-variant-numeric:tabular-nums;font-size:11px}
.quota-count span{color:#7e8b9e}
.quota-meter{display:block;width:105px;height:5px;margin-top:6px;appearance:none;border:0;background:#282f3b;border-radius:2px}
.quota-meter::-webkit-meter-bar{height:5px;border:0;background:#282f3b;border-radius:2px}
.quota-meter::-webkit-meter-optimum-value{background:#829bc7;border-radius:2px}
.quota-meter::-moz-meter-bar{background:#829bc7}
.summary-links{list-style:none;padding:0;margin:0}
.summary-links a{display:flex;align-items:center;justify-content:space-between;padding:14px 0;font-size:12px;color:#a2afc4;border-top:1px solid var(--line-soft)}
.summary-links a:hover{color:#c4d6f3}
.summary-links .icon{width:14px;height:14px;color:#7c90ad}
.panel-dialog{width:min(430px,calc(100vw - 32px));padding:24px;background:#15181e;color:var(--text);border:1px solid #3a424f;border-radius:8px;box-shadow:0 20px 100px #0008}
.keys-filter{flex-wrap:wrap}.keys-filter select{min-width:130px}.keys-filter input[name=q]{flex:1;min-width:180px}
.key-selection-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.deposit-card h2{margin-bottom:20px}.deposit-form{margin-top:22px}.deposit-form~p{margin-top:14px}
.deposit-input{position:relative}.deposit-input>span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:#8190a8;font-size:15px;pointer-events:none}.deposit-input input{padding-left:30px;font-size:18px;height:48px;font-variant-numeric:tabular-nums}
.deposit-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:-7px}.deposit-presets button{border:1px solid var(--line);background:#191e27;color:#b2c2da;border-radius:5px;font-size:11px;padding:8px 4px}.deposit-presets button:hover{background:#24324a;border-color:#4c6b99}.deposit-form .button:disabled{opacity:.4;cursor:default}.deposit-preview-amount{font-size:34px;font-variant-numeric:tabular-nums;color:#dce6f7;margin:20px 0}
@media(max-width:900px){.form-layout.wide-left:has(.deposit-card){display:flex;flex-direction:column}.form-layout.wide-left:has(.deposit-card)>.card{width:100%}.deposit-card{order:-1}}
.key-selection-toolbar #selected-count{font-size:11px;font-variant-numeric:tabular-nums;margin-right:5px}
.key-selection-toolbar .button:disabled{opacity:.4;cursor:default;box-shadow:none}
.key-selection-toolbar .button[aria-busy=true]{cursor:progress}
tr.is-selected td{background:#1a2332}tr.is-selected:hover td{background:#202c3e}
.key-copy-dialog{width:min(780px,calc(100vw - 32px))}.key-copy-dialog .export-area{margin:8px 0 12px;max-width:100%;height:240px}
.row-actions form:has([data-key-copy-url]){display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:720px){.table-card:has([data-key-selection])>.card-heading,.table-card .card-heading:has(.key-selection-toolbar){align-items:flex-start;flex-direction:column}.key-selection-toolbar{justify-content:flex-start;gap:8px}.key-selection-toolbar #selected-count{flex-basis:100%}.keys-filter input[name=q]{max-width:none;flex-basis:100%}.key-copy-dialog{padding:18px}.key-copy-dialog .export-area{height:210px}}
.panel-dialog::backdrop{background:#0009;backdrop-filter:blur(2px)}
.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:20px}
.dialog-heading h2{font-size:16px;margin:0}
.dialog-heading .icon-button{font-size:23px;line-height:1;width:25px;height:25px}
.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:8px}
.key-detail-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:20px;align-items:start}
.key-facts{display:grid;grid-template-columns:1fr 1fr;margin:0;gap:0 26px}
.key-facts>div{padding:14px 0;border-top:1px solid var(--line-soft);min-width:0}
.key-facts dt{font-size:11px;color:#8c98ab;margin-bottom:5px}
.key-facts dd{font-size:12px;color:#d1daea;margin:0;overflow-wrap:anywhere}
.key-facts dd .muted{font-size:10px;margin-left:5px}
.key-restrictions{border-top:1px solid var(--line);margin-top:13px;padding-top:19px}
.key-restrictions h3{font-size:12px;color:#b6bfd0;margin:0 0 10px}
.key-restrictions ul{margin:0;padding-left:16px;font-size:12px;line-height:1.9;color:#a9b4c6}
.action-scope{font-size:11px;line-height:1.65;color:#8995a9;margin:0}
.key-management .stack{gap:17px}
.key-link{color:#b3c9ed;white-space:nowrap}
.pill.media,.pill.standard{border-radius:4px;padding:3px 8px;line-height:1.3;font-size:11px;font-weight:550;white-space:nowrap;letter-spacing:.01em}
.pill.media{color:#afceff;background:#1c2b43!important;border:1px solid #38557a}
.pill.standard{color:#a7b0c0;background:#171c24!important;border:1px solid #303742}
.pill.media::before,.pill.standard::before{display:none}
.key-type-tabs{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid var(--line-soft);margin:0 0 16px;padding-bottom:10px}
.key-type-tabs a{display:inline-flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid transparent;border-radius:5px;color:#929dad;font-size:12px}
.key-type-tabs a span{font-size:11px;color:#7e899a;font-variant-numeric:tabular-nums}
.key-type-tabs a:hover{background:#151a22;color:#c7d7ed}
.key-type-tabs a[aria-current=page]{color:#c1d8ff;background:#1d2b40;border-color:#314662}
.key-type-tabs a[aria-current=page] span{color:#9cbce9}
.batch-type-filter{align-items:center}.batch-type-filter label{font-size:12px;color:var(--muted)}
.media-settings-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px}
.media-quota-value{display:flex;align-items:baseline;gap:8px;margin:18px 0 10px}
.media-quota-value strong{font-size:32px;font-weight:600;color:#e3eaf5}
.media-quota-value span{font-size:20px;color:#8391a6}
.media-quota-value small{color:#8391a6;font-size:11px;margin-left:3px}
.media-allowance .quota-meter{width:100%;max-width:none}
.media-allowance .definition-list{margin:16px 0}
@media(max-width:700px){.media-settings-grid{grid-template-columns:1fr;gap:24px}}
.key-link:hover{text-decoration:underline;text-underline-offset:3px}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.card.game-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.game-cover{position:relative;aspect-ratio:2.7;background:#191d23;overflow:hidden;border-bottom:1px solid var(--line)}
.game-cover>img{display:block;width:100%;height:100%;object-fit:cover}
.game-cover::after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#07090c88);pointer-events:none}
.game-cover-placeholder{display:grid;place-items:center;height:100%;color:#626c80}
.game-cover-placeholder .icon{width:32px;height:32px}
.game-family{position:absolute;bottom:11px;left:17px;z-index:1;border:1px solid #ffffff30;border-radius:3px;background:#0a0d12a6;color:#e0e3e9;letter-spacing:1px;font-size:9px;line-height:1;padding:4px 6px}
.game-card-body{padding:19px;display:flex;flex-direction:column;flex:1;min-width:0}
.game-title{display:flex;align-items:start;justify-content:space-between;gap:10px}
.game-title h2{margin:0;font-size:15px;line-height:1.35}
.game-title .pill{padding-top:2px;font-size:10px}
.game-card-body>p{margin:7px 0 17px;color:#838d9e}
.game-card .plan-tags{gap:5px;margin:0 0 19px}
.game-card .plan-tags span{background:#1a1e25;color:#a4adbc;border:1px solid #2c323d;font-size:10px;padding:3px 7px;border-radius:3px}
.game-maintenance{margin-top:auto;padding-top:15px;border-top:1px solid var(--line-soft);gap:9px}
.game-maintenance input{height:33px;font-size:11px}
.game-thumbnail{width:44px;height:32px;object-fit:cover;flex-shrink:0;border-radius:4px;border:1px solid #353c47}
.program-list>div{gap:12px;padding:10px 0}
.ledger-filters{display:flex;align-items:center;gap:10px;padding:12px 19px;border-bottom:1px solid var(--line-soft)}
.ledger-filters label{font-size:11px;color:#909baa}
.ledger-filters select{max-width:180px;height:32px;padding:5px 10px}
.ledger-filters .button{min-height:32px;font-size:11px}
.funding-source{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#aab5c6}
.funding-source::before{content:"";width:5px;height:5px;border-radius:1px;background:currentColor;flex-shrink:0}
.source-plisio{color:#8bb8a8}.source-admin{color:#9fb5d8}.source-purchase{color:#a0a6b1}
.funding-source+small{padding-left:12px;margin-top:3px}
.table-card>.pagination{padding:13px 19px;margin:0;border-top:1px solid var(--line-soft)}
@media(min-width:1650px){.product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.product-grid{grid-template-columns:1fr}.game-cover{aspect-ratio:2.7}.ledger-filters{flex-wrap:wrap}}
@media(max-width:1050px){.key-detail-layout{grid-template-columns:1fr}}
@media(max-width:600px){.key-facts{grid-template-columns:1fr}.key-detail-layout{gap:16px}}
@media(min-width:1500px){.main-content{padding:31px 38px 38px}.topbar{padding:0 38px}}
@media(max-width:1250px){.reseller-charts-layout{grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr)}.reseller-finance-layout{grid-template-columns:1fr}.status-tile{padding-left:14px;padding-right:10px}.reseller-stats .stat{padding:18px}.reseller-stats .stat>strong{font-size:26px}.directory-toolbar{align-items:start;flex-direction:column;gap:10px}}
@media(max-width:1050px){.sidebar{width:190px}.main-column{margin-left:190px;width:calc(100% - 190px)}.main-content{padding:25px 24px}.topbar{padding:0 24px}.reseller-charts-layout{grid-template-columns:1fr}.status-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:18px}.status-tile:nth-child(4){border-left:0;padding-left:0}.reseller-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.reseller-stats .stat:nth-child(2){border-right:0}.reseller-stats .stat:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}}
@media(max-width:850px){.section-toolbar{gap:14px}.reseller-meta{gap:12px}.trend-totals{gap:30px}.heading-actions{flex-wrap:wrap}.directory-toolbar input{width:190px}.directory-toolbar select{width:130px}}
@media(max-width:600px){.sidebar{position:static;width:100%;height:auto;padding:16px}.main-column{margin-left:0;width:100%}.sidebar>.brand{margin:0 0 12px}.sidebar nav a{padding:8px 9px;font-size:11px}.sidebar nav a .icon{width:15px;height:15px}.sidebar-bottom{display:flex;margin-top:10px;padding:10px 0 0;max-width:none}.sidebar-bottom .avatar{width:25px;height:25px}.sidebar-bottom .user-label span{display:none}.sidebar-bottom .user-label{flex:1}.nav-label{display:none}.main-content{padding:24px 16px}.page-heading{gap:14px;margin-bottom:20px}.page-heading h1{font-size:23px}.topbar{height:44px;padding:0 16px;font-size:11px}.topbar-account{display:none}.stat{padding:16px}.stat-label{font-size:11px}.stat>span{font-size:10px}.reseller-stats .stat{padding:16px}.reseller-stats .stat>strong{font-size:25px}.card{padding:17px}.table-card .card-heading{padding:17px}.reseller-meta{font-size:10px;margin-top:-3px;gap:10px 15px}.detail-tabs{gap:22px;margin-bottom:21px}.detail-tabs a{font-size:11px}.status-tile .pill{font-size:10px}.status-tile strong{font-size:23px}.inventory-foot{gap:12px;font-size:10px}.section-toolbar{align-items:start;flex-direction:column}.period-control a{padding:5px 12px}.trend-totals{justify-content:space-between;gap:12px}.chart-legend{gap:10px;font-size:9px}.trend-chart{height:130px}.account-access{align-items:start;flex-direction:column}.trend-split{gap:17px;font-size:10px}.metric-list>div{font-size:12px}.two-columns{gap:18px}.directory-summary{gap:15px;font-size:11px}.directory-toolbar{padding:14px}.directory-toolbar .filter-bar{width:100%}.directory-toolbar input{width:100%;flex:auto}.directory-toolbar select{flex:1}.directory-empty{padding:40px 8px}.heading-note{margin-left:7px;font-size:10px}.action-menu summary{font-size:10px}.reseller-charts-layout,.reseller-finance-layout{gap:16px}}
@media(max-width:600px){.directory-toolbar .legacy-inventory-filters select{flex:1 1 calc(50% - 4px);width:calc(50% - 4px);min-width:0}.directory-toolbar .legacy-inventory-filters input{flex:1 1 100%;width:100%}}
.pricing-confirm{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:20px}
.pricing-selection-actions{display:flex;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:16px}
.pricing-heading{gap:18px;flex-wrap:wrap}.pricing-heading .pricing-selection-actions{margin-bottom:0}
.pricing-picker{min-width:0}.pricing-picker legend{font-weight:600;padding:0 8px;font-size:14px}
.pricing-programs{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:9px}
.pricing-program{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid var(--line-soft);border-radius:5px;cursor:pointer;min-width:0}
.pricing-program:has(input:checked){border-color:#6686b6;background:#1a2332}.pricing-program span{overflow-wrap:anywhere}
.pricing-program img{object-fit:cover;border-radius:3px;flex-shrink:0}
.pricing-durations>div{display:flex;gap:12px;flex-wrap:wrap}.pricing-durations label{display:flex;align-items:center;gap:9px;padding:9px 13px;border:1px solid var(--line-soft);border-radius:5px}
.pricing-durations label:has(input:checked){border-color:#6686b6;background:#1a2332}
#base-prices-table input[type=number]{width:170px;max-width:100%}
@media(max-width:600px){.pricing-programs{grid-template-columns:1fr}.pricing-heading{align-items:flex-start}.pricing-selection-actions{gap:12px}.pricing-durations>div{gap:8px}}
@media(max-width:600px){
  #pricing-review-table,#base-prices-table,#reseller-prices-table{display:block;width:100%;min-width:0}
  #pricing-review-table thead,#base-prices-table thead,#reseller-prices-table thead{position:absolute;clip:rect(0,0,0,0);clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  #pricing-review-table tbody,#base-prices-table tbody,#reseller-prices-table tbody{display:block;width:100%}
  #pricing-review-table tbody tr,#base-prices-table tbody tr,#reseller-prices-table tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;padding:18px;border-top:1px solid var(--line-soft);width:100%}
  #pricing-review-table td,#base-prices-table td,#reseller-prices-table td{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere;white-space:normal}
  #pricing-review-table td::before,#base-prices-table td::before,#reseller-prices-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;margin-bottom:6px}
  #pricing-review-table td:first-child,#pricing-review-table td:last-child,#base-prices-table td:last-child,#reseller-prices-table td:first-child{grid-column:1/-1}
  #base-prices-table td:nth-child(2){grid-column:1/-1;grid-row:1}
  #base-prices-table input[type=number]{width:100%}
}
.form-layout.split-upload{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;margin-bottom:18px}
.program-access-card>.card-heading{padding:0 0 8px}.access-list-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.access-list-tools input{max-width:300px;flex:1;min-width:150px}.access-program-list{max-height:380px;overflow:auto;border:1px solid var(--line-soft);border-radius:5px}.access-program-row{display:flex;align-items:center;gap:12px;padding:12px 15px;cursor:pointer;border-bottom:1px solid var(--line-soft)}.access-program-row:last-child{border-bottom:0}.access-program-row[hidden]{display:none}.access-program-row:has(input:checked){background:#1a2332}.access-program-row img{object-fit:cover;border-radius:3px}.access-program-row strong{flex:1;font-size:12px}.access-program-row small{color:var(--muted);font-size:11px;white-space:nowrap}.access-duration-picker{border:1px solid var(--line-soft);border-radius:5px;padding:15px}.access-duration-picker>div{display:flex;flex-wrap:wrap;gap:15px}.access-duration-picker label{display:flex;align-items:center;gap:7px}.access-duration-picker[hidden]{display:none}
@media(max-width:600px){.access-list-tools input{max-width:none;flex-basis:100%}.access-program-row{padding:12px 10px;gap:9px}.access-program-row img{width:40px}.access-program-row strong{font-size:11px}.access-program-row small{font-size:10px}}
@media(max-width:900px){.form-layout.split-upload{grid-template-columns:minmax(0,1fr)}}
.key-directory-filters{padding:22px;border-bottom:1px solid var(--line-soft)}
.key-search-line,.key-filter-line{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.key-search-line input{flex:1;min-width:180px;max-width:650px}.key-filter-line{margin-top:14px}
.key-filter-line select{width:auto;min-width:135px;max-width:220px;flex:1}.key-filter-line select:last-child{max-width:145px;margin-left:auto}
.key-table-heading{min-height:66px}.key-table-heading .key-selection-toolbar{font-size:12px;color:var(--muted)}
.license-text{display:block;max-width:360px;min-width:165px;overflow-wrap:anywhere;white-space:normal;user-select:text;color:var(--text);line-height:1.65}.key-text-unavailable{font-family:inherit;color:var(--muted);font-size:11px}.key-text-status{padding:13px 22px;margin:0;color:var(--muted);font-size:11px}.key-table-heading{flex-wrap:wrap}.key-selection-toolbar{flex-wrap:wrap;justify-content:flex-end}
.key-row-actions{display:flex;gap:6px;white-space:nowrap}.key-row-actions .button{padding:6px 10px;min-height:30px}
.key-directory td{vertical-align:middle}.key-directory td small{display:block;color:var(--muted);font-size:10px;margin-top:5px}
.key-directory-footer{display:flex;flex-wrap:wrap;gap:22px;margin-top:22px;font-size:12px}
.key-recent-batches{margin-top:25px;border-top:1px solid var(--line-soft);padding-top:18px}.key-recent-batches>div{display:flex;gap:15px;align-items:center;margin-bottom:8px}.key-recent-batches h2{font-size:13px;margin:0}
.key-recent-batches>a{display:flex;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid var(--line-soft);font-size:12px}.key-recent-batches>a>span:not(.pill){color:var(--muted);flex:1}.key-recent-batches>a:hover strong{color:#a9c8f6}
.key-workspace{padding:0;margin:0 0 0 auto;width:min(780px,100%);max-width:100%;height:100dvh;max-height:100dvh;background:#11151c;color:#d6dfed;border:0;border-left:1px solid #343d4d;border-radius:0;box-shadow:-20px 0 65px #0005;overflow:auto}
.key-workspace::backdrop{background:#05070ba8}.key-workspace[open]{display:flex;flex-direction:column}
.workspace-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;border-bottom:1px solid var(--line-soft);position:sticky;top:0;background:#11151c;z-index:2;flex-shrink:0}.workspace-heading h2{font-size:21px;margin:5px 0 0}.workspace-heading .small{letter-spacing:.09em;font-size:10px}.workspace-heading button{font-size:27px;width:36px;height:36px;flex-shrink:0}
.workspace-body{padding:24px;min-width:0;flex:1}.workspace-body[aria-busy=true]{opacity:.6;pointer-events:none}.workspace-body>.notice:first-child{margin-top:0}
.workspace-body .form-layout,.workspace-body .key-detail-layout{grid-template-columns:minmax(0,1fr);gap:18px}.workspace-body .reseller-meta{margin:0 0 18px;flex-wrap:wrap}.workspace-body .info-card{margin-top:0}.workspace-body .card{min-width:0}
.workspace-body .heading-actions{margin-bottom:18px}.workspace-body .key-management .field{min-width:0}.workspace-body .row-actions{flex-wrap:wrap}.workspace-body .bulk-fields{flex-wrap:wrap}
.workspace-loading{padding:45px 0;text-align:center;color:var(--muted)}.workspace-error{padding:20px;border:1px solid var(--line);border-radius:6px;line-height:1.7}.workspace-error a{display:inline-block;margin-top:14px}
.key-timeline{list-style:none;margin:0;padding:0 0 0 8px}.key-timeline li{position:relative;border-left:1px solid #344055;padding:0 0 23px 23px;display:flex;flex-direction:column;gap:6px;font-size:12px}.key-timeline li:last-child{padding-bottom:4px;border-left-color:transparent}.key-timeline li:before{position:absolute;content:"";width:7px;height:7px;border-radius:50%;background:#8ab1eb;left:-4px;top:3px}.key-timeline time,.key-timeline span{color:var(--muted);font-variant-numeric:tabular-nums}
.workspace-copy-area{width:100%;min-height:180px;margin-top:12px}.key-workspace .key-facts>div{min-width:0}
@media(max-width:650px){.key-directory-filters{padding:16px}.key-search-line input{width:100%;max-width:none;flex-basis:100%}.key-filter-line select{min-width:115px;max-width:none}.key-filter-line select:last-child{max-width:none;margin-left:0}.key-table-heading{gap:12px;flex-wrap:wrap}.key-recent-batches>a{flex-wrap:wrap;gap:7px}.key-recent-batches>a>span:not(.pill){flex-basis:100%;order:3}.key-workspace{width:100%;border-left:0}.workspace-heading{padding:18px}.workspace-body{padding:16px}.workspace-body .key-facts{grid-template-columns:1fr}.key-workspace .form-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.key-workspace *{scroll-behavior:auto!important}}
.control-card{max-width:820px;padding:28px}.control-form{display:grid;gap:24px}.control-heading h2{margin:0 0 8px;font-size:20px;font-weight:600}.control-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.65}.control-heading .eyebrow{display:block;color:var(--muted);font-size:11px;margin-bottom:10px}.control-scopes{border:0;padding:0;margin:0;min-width:0}.control-scopes legend{font-size:12px;margin-bottom:10px;color:var(--muted)}.control-scope-options{display:flex;gap:6px;flex-wrap:wrap}.control-scope-options label{position:relative;cursor:pointer}.control-scope-options input{position:absolute;opacity:0;width:1px;height:1px}.control-scope-options span{display:block;padding:10px 16px;border:1px solid var(--line);border-radius:6px;font-size:12px;color:var(--muted);transition:background .12s}.control-scope-options input:checked+span{color:#e3edff;border-color:#7197d0;background:#20324b}.control-scope-options input:focus-visible+span{outline:2px solid #98b9ed;outline-offset:3px}.control-action-fields{display:flex;gap:18px;flex-wrap:wrap}.control-action-fields>.field{flex:1;min-width:160px}.control-form .field{min-width:0}.control-form .field>input,.control-form .field>select{width:100%;min-width:0}.control-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line-soft);padding-top:20px}.control-review{margin:24px 0}.control-card .row-actions{flex-wrap:wrap}.control-form [data-control-scope]{display:none}.control-form:has([name=scope][value=product]:checked) [data-control-scope=product],.control-form:has([name=scope][value=owner]:checked) [data-control-scope=owner],.control-form:has([name=scope][value=all]:checked) [data-control-scope=all]{display:grid}.control-form [data-control-hours]{display:none}.control-form:has([name=action] option[value=extend]:checked) [data-control-hours]{display:grid}.control-form [hidden]{display:none!important}
@media(max-width:650px){.control-card{padding:20px}.control-form{gap:20px}.control-scope-options{gap:6px}.control-scope-options span{padding:9px 12px}.control-heading h2{font-size:18px}.control-review{grid-template-columns:minmax(0,1fr)}.control-card .check-field{align-items:flex-start}}
/* r44: progress of queued work, contextual key selection, lighter key pages */
.spinner{width:18px;height:18px;border-radius:50%;border:2px solid #2f3a4d;border-top-color:var(--blue);animation:focus-spin .9s linear infinite;flex-shrink:0}
@keyframes focus-spin{to{transform:rotate(360deg)}}
@keyframes focus-pulse{50%{opacity:.25}}
.pill.is-working::before{animation:focus-pulse 1.2s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2.4s}.pill.is-working::before{animation:none}}
.batch-progress{display:flex;gap:14px;align-items:flex-start;padding:18px 20px;border:1px solid #2b3a53;background:#121a27;border-radius:7px;margin:4px 0 14px}
.batch-progress .spinner{margin-top:2px}
.batch-progress strong{display:block;color:#dce6f7;font-size:14px;font-weight:600;margin-bottom:4px}
.batch-progress p{margin:0;color:#9fb0c9;font-size:12px;line-height:1.6}
.batch-card .card-heading{align-items:flex-start}
.batch-card .card-heading h2{margin:0 0 4px}
.batch-card .card-heading p{margin:0}
.batch-badges{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.batch-ready{padding-top:16px;border-top:1px solid var(--line-soft)}
.batch-ready>p{margin:0 0 14px;color:#a9b6cb;font-size:12px}
.batch-ready>p strong{display:inline;color:#8fd3b7;font-size:13px}
.pending-banner{display:flex;align-items:center;gap:12px;padding:12px 16px;margin:0 0 18px;border:1px solid #2b3a53;background:#121a27;border-radius:7px;color:#9fb6da;font-size:12px}
a.pending-banner:hover{border-color:#3d5578;color:#bcd0f0}
.pending-banner .spinner{width:16px;height:16px}
.how-steps{list-style:none;margin:0;padding:0;counter-reset:step;display:flex;flex-direction:column;gap:18px}
.how-steps li{counter-increment:step;display:grid;grid-template-columns:24px minmax(0,1fr);gap:3px 12px}
.how-steps li::before{content:counter(step);grid-row:span 2;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#1a253a;color:#8eb2f0;font-size:11px;font-weight:600}
.how-steps strong{font-size:12px;color:#c9d4e6;font-weight:600}
.how-steps li>span{font-size:12px;color:var(--muted);line-height:1.6}
.filter-bar.compact{margin:0;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.filter-bar.compact select{min-width:130px}
td .pill.media{margin-top:6px}
td small .pill.media{display:inline-flex;margin:0;vertical-align:1px;padding:1px 6px;font-size:10px}
.key-search-line select{width:auto;min-width:140px;max-width:220px}
.key-more-filters{max-width:none;margin-top:12px}
.key-more-filters summary{display:inline-block}
.key-more-filters .key-filter-line{margin-top:10px}
.key-table-title{display:flex;flex-direction:column;gap:3px}
.key-refresh-note{margin:0;font-size:11px;color:var(--muted)}
.link-button{border:0;background:none;padding:0;min-height:0;color:#83aaff;font-size:11px}
.link-button:hover{color:#b5cdff}
.key-selection-toolbar:not(.has-selection) [data-selection-action]{display:none}
.key-selection-toolbar.has-selection [data-selection-hint]{display:none}
@media(max-width:650px){.key-search-line select{flex:1;max-width:none}.filter-bar.compact{justify-content:flex-start}.batch-progress{padding:15px}}
.dashboard-column{display:flex;flex-direction:column;gap:22px;min-width:0}
.create-dialog{width:min(520px,calc(100vw - 32px))}
.create-dialog .dialog-heading,.create-card .dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.create-dialog .dialog-heading h2,.create-card .dialog-heading h2{margin:0}
.create-card{max-width:560px}
.create-fields{gap:14px}
.create-error{margin:14px 0 0;padding:10px 12px;border-radius:6px;background:#301a22;border:1px solid #60313f;color:#efa4ae;font-size:12px}
.create-note{margin:0;font-size:11px;color:var(--muted)}
.create-result .batch-progress{margin:6px 0 4px}
.created-keys{height:auto;min-height:0;max-height:330px;margin:4px 0 0;padding:12px 14px;font-size:13px;letter-spacing:.3px;line-height:1.9;color:#dce6f7;background:#0e1219;border-radius:7px;resize:none}
.create-dialog .dialog-actions,.create-card .dialog-actions,.action-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.actions-col{width:52px;text-align:right}
.key-menu summary{padding:6px;border-color:transparent;background:none;color:#8a94a7}
.key-menu[open] summary,.key-menu summary:hover{border-color:#303743;background:#222833;color:#d5dceb}
.key-menu summary .icon{width:16px;height:16px}
.key-menu .action-menu-items,.bulk-menu .action-menu-items{min-width:184px;z-index:40}
.action-menu-items button:hover{background:#2b3340}
.action-menu-items button.danger{color:#eda0a7}
.key-menu-actions:not(:empty){border-bottom:1px solid #2d3542;margin-bottom:4px;padding-bottom:4px}
.menu-note{display:block;padding:8px 9px;font-size:11px;color:var(--muted)}
.bulk-menu summary{min-height:29px;font-size:11px}
.action-dialog{width:min(420px,calc(100vw - 32px))}
.action-amount{display:flex;gap:8px}.action-amount input{flex:1;min-width:0}.action-amount select{width:auto}
.key-text-status:empty{display:none}
/* r46: key actions in place inside the key details */
.key-detail-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid var(--line-soft)}
.key-detail-actions .text-link{margin-left:auto}
.key-detail-actions .button:disabled{opacity:.55;cursor:default}
.create-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.create-fields .quick-quantities{margin-top:-6px}
@media(max-width:560px){.create-row{grid-template-columns:minmax(0,1fr)}}
/* r47: calm console. Content on one soft sheet, navigation in the frame, one quiet accent.
   Local fonts only (Inter, SIL OFL); no external requests. */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:fallback;src:url("inter-400.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:fallback;src:url("inter-500.woff2") format("woff2")}
@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:fallback;src:url("inter-600.woff2") format("woff2")}
:root{--frame:#08090c;--bg:#0d0f13;--panel:#121419;--panel-alt:#171a20;--line:#1d2028;--line-soft:#171a21;
  --hair:rgba(255,255,255,.065);--hair-soft:rgba(255,255,255,.045);
  --text:#ececef;--text-2:#b9bdc7;--muted:#878b96;--faint:#5f636e;
  --blue:#4f7cff;--accent:#4f7cff;--accent-hover:#6189ff;--accent-text:#8aa7ff;--accent-soft:rgba(79,124,255,.14);
  --green:#4fc296;--amber:#d6a962;--red:#e8868f;--radius:12px;--radius-sm:8px;
  font-family:"Inter","Segoe UI Variable Text","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;
  font-feature-settings:"cv11";scrollbar-color:#2a2e37 transparent}
/* Page switches keep their place: the scrollbar is always there and the preloaded font arrives first. */
html{overflow-y:scroll}
body{background:var(--frame);color:var(--text);font-size:13.5px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
::selection{background:rgba(79,124,255,.35)}
h1{font-size:22px;font-weight:600;letter-spacing:-.02em;line-height:1.3}
h2{font-size:14.5px;font-weight:600;letter-spacing:-.006em}
h3{font-size:14px;font-weight:600}
:focus-visible{outline:2px solid rgba(79,124,255,.7);outline-offset:2px}

/* Frame and navigation */
.sidebar{background:var(--frame);border:0}
.brand{font-size:14.5px;font-weight:600;letter-spacing:.17em;gap:11px}
.brand img{width:26px;height:26px}
.brand small{font-size:11px;font-weight:400;letter-spacing:.01em;color:var(--faint)}
.nav-label{font-size:10.5px;font-weight:500;letter-spacing:.08em;color:#4f535d}
.sidebar nav a{color:#9b9fa9;border-radius:var(--radius-sm);transition:background .12s,color .12s}
.sidebar nav a .icon{color:#5f646f}
.sidebar nav a:hover{background:rgba(255,255,255,.04);color:var(--text)}
.sidebar nav a:hover .icon{color:#8d929d}
.sidebar nav a[aria-current=page]{background:rgba(255,255,255,.07);color:#f6f6f7;font-weight:500;box-shadow:none}
.sidebar nav a[aria-current=page] .icon{color:var(--accent-text)}
.sidebar-bottom{border-top:1px solid var(--hair-soft)}
.avatar{border-radius:50%;background:var(--accent-soft);border:0;color:#bfcdff;font-weight:600}
.user-label strong{font-size:13px;font-weight:500}
.user-label span{font-size:12px;color:var(--faint)}
.sidebar-bottom .icon-button{border-radius:var(--radius-sm)}
/* The breadcrumb repeated the page title and account; keep the bar only for the local demo switcher. */
.topbar:not(:has(.preview-label)){display:none}
.topbar{background:transparent;border-bottom:1px solid var(--hair-soft);color:var(--faint);font-size:12px}
.main-column{background:var(--bg)}

@media(min-width:601px){
  .sidebar{width:236px;padding:20px 14px 14px}
  .main-column{margin:8px 8px 8px 236px;width:calc(100% - 244px);min-height:calc(100vh - 16px);border:1px solid var(--hair-soft);border-radius:14px}
  .sidebar>.brand{margin:4px 10px 26px}
  .nav-label{margin:22px 10px 6px}
  .sidebar nav a{font-size:13px;padding:7px 10px;gap:11px;margin:1px 0;min-height:34px}
  .sidebar nav a .icon{width:17px;height:17px}
  .sidebar-bottom{padding:14px 6px 2px}
  .avatar{width:30px;height:30px;font-size:12.5px}
  .main-content{max-width:1280px;padding:34px 40px 56px}
}
@media(min-width:601px) and (max-width:1050px){
  .sidebar{width:208px}.main-column{margin-left:208px;width:calc(100% - 216px)}.main-content{padding:28px 26px 48px}
}
@media(min-width:601px) and (max-width:850px){
  .sidebar{width:188px;padding:18px 10px 12px}.main-column{margin-left:188px;width:calc(100% - 196px)}
  .sidebar nav a{font-size:12.5px;padding:7px 9px;gap:9px}
}

/* Page */
.page-heading{margin-bottom:24px;min-height:36px;gap:16px}
.page-heading p,.main-content>p.muted,.main-content>.muted.small{font-size:13px;color:var(--muted);line-height:1.6}
.heading-actions{gap:8px}

/* Surfaces */
.card,.stat{background:var(--panel);border:1px solid var(--hair);border-radius:var(--radius);box-shadow:none}
.card{padding:22px 24px}
.card.table-card{padding:0;overflow:hidden}
.card-heading{margin-bottom:18px;gap:14px}
.table-card>.card-heading,.table-card .card-heading{padding:16px 22px;margin-bottom:0;border-bottom:1px solid var(--hair-soft)}
.card-heading h2{font-size:14.5px;margin:0}
.card-heading h2+.muted,.card-heading h2+p,.card-heading .muted.small{font-size:12.5px;color:var(--muted)}
.count{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:999px;background:rgba(255,255,255,.06);color:var(--muted);font-size:11.5px;font-weight:500;vertical-align:1px}
.section-gap{margin-top:20px}
.stat-grid{gap:14px;margin-bottom:20px}
.stat{padding:17px 20px}
.stat-label{font-size:12.5px;color:var(--muted)}
.stat-label .icon{color:var(--faint)}
.stat>strong{font-size:26px;font-weight:600;letter-spacing:-.02em;margin:9px 0 5px;color:#f4f4f6;font-variant-numeric:tabular-nums}
.stat>span{font-size:12px;color:var(--faint)}
.stat>.text-link{font-size:12.5px}
.dashboard-grid{gap:18px}
.program-list>div{border-top:1px solid var(--hair-soft);padding:9px 0}
.program-list strong{font-size:13px;font-weight:500;color:var(--text)}

/* Tables */
table{font-size:13px}
th{font-size:12px;font-weight:500;color:#737782;background:transparent;padding:10px 18px;border-top:0;border-bottom:1px solid var(--hair-soft);letter-spacing:0;text-transform:none}
td{font-size:13px;color:var(--text-2);padding:11px 18px;border-bottom:1px solid var(--hair-soft)}
td strong{font-size:13px;font-weight:500;color:var(--text)}
td small{font-size:12px;color:var(--faint);margin-top:2px}
tbody tr:hover{background:transparent}
tr:hover td,tbody tr:hover td{background:rgba(255,255,255,.02)}
tr:last-child td{border-bottom:0}
tr.is-selected td,tr.is-selected:hover td{background:rgba(79,124,255,.07)}
.empty-cell{color:var(--muted);font-size:13px}
.table-scroll{scrollbar-width:thin;scrollbar-color:#2a2e37 transparent}

/* Controls */
.button{min-height:34px;padding:6px 13px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;gap:7px;line-height:1.3;transition:background .12s,border-color .12s,color .12s}
.button:not(.primary):not(.danger){background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.085);color:#d9dce3}
.button:not(.primary):not(.danger):hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.13);color:#fff}
.button.quiet:not(.primary):not(.danger){background:transparent;border-color:rgba(255,255,255,.085)}
.button.primary{background:var(--accent);border:1px solid var(--accent);color:#fff;box-shadow:0 1px 0 rgba(255,255,255,.12) inset}
.button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.button.danger{background:rgba(232,134,143,.07);border:1px solid rgba(232,134,143,.22);color:#efa6ae}
.button.danger:hover{background:rgba(232,134,143,.13);border-color:rgba(232,134,143,.32)}
.button .icon{width:15px;height:15px}
.button:disabled{opacity:.45;cursor:default}
.small-button,.button.small-button{min-height:28px;padding:3px 10px;font-size:12.5px}
.text-link{font-size:13px;color:var(--accent-text);gap:6px}
.text-link:hover{color:#b6c8ff}
.text-button,.link-button{color:var(--accent-text)}
.icon-button{border-radius:var(--radius-sm);color:var(--muted)}
.icon-button:hover{background:rgba(255,255,255,.06);color:var(--text)}
input,select,textarea{min-height:36px;padding:8px 12px;font-size:13px;border-radius:var(--radius-sm);background:#0b0d11;border:1px solid rgba(255,255,255,.085);color:var(--text)}
input:hover,select:hover,textarea:hover{border-color:rgba(255,255,255,.15)}
input:focus,select:focus,textarea:focus{outline:none;border-color:rgba(79,124,255,.85);box-shadow:0 0 0 3px rgba(79,124,255,.16)}
input::placeholder,textarea::placeholder{color:#565a65}
select{padding-right:30px}
input[type=checkbox]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;width:16px;height:16px;min-height:16px;margin:0;padding:0;border-radius:5px;border:1px solid rgba(255,255,255,.2);background:transparent;box-shadow:none;cursor:pointer;vertical-align:middle;flex-shrink:0}
input[type=checkbox]:hover{border-color:rgba(255,255,255,.38)}
input[type=checkbox]:checked,input[type=checkbox]:indeterminate{background:var(--accent);border-color:var(--accent)}
input[type=checkbox]:checked::after{content:"";width:9px;height:5px;margin-top:-2px;border:solid #fff;border-width:0 0 2px 2px;transform:rotate(-45deg)}
input[type=checkbox]:indeterminate::after{content:"";width:8px;height:2px;background:#fff;border-radius:1px}
input[type=checkbox]:focus-visible{outline:2px solid rgba(79,124,255,.7);outline-offset:2px}
input[type=radio]{accent-color:var(--accent);width:16px;height:16px;min-height:16px;padding:0;box-shadow:none}
.field{gap:7px}
.field>label{font-size:12.5px;font-weight:500;color:#b3b8c2}
.field small{font-size:12px;color:var(--faint)}
.quick-quantities button,.deposit-presets button{border-radius:var(--radius-sm);background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.085);color:#cdd1d9;font-size:12.5px}
.quick-quantities button:hover,.deposit-presets button:hover{background:rgba(255,255,255,.075);color:#fff}

/* Status: a coloured dot and a word */
.pill{font-size:12.5px;gap:7px;color:#9fa3ad}
.pill::before{width:6px;height:6px}
.pill.active{color:#6bcba5}.pill.unused{color:#a2a6b0}.pill.expired{color:#767a85}.pill.frozen{color:#8cafec}.pill.blocked{color:#d3b175}.pill.banned{color:#ec98a1}
.pill.media,.pill.standard{border-radius:6px;font-size:11.5px;font-weight:500}
.pill.media::before,.pill.standard::before{display:none}
.status-dot{width:6px;height:6px}

/* Tabs */
.detail-tabs{gap:24px;border-bottom:1px solid var(--hair-soft);margin-bottom:22px}
.detail-tabs a{font-size:13px;color:var(--muted);padding:0 2px 11px;margin-bottom:-1px}
.detail-tabs a:hover{color:var(--text)}
.detail-tabs a[aria-current=page]{color:var(--text);border-bottom-color:var(--accent)}

/* Messages */
.notice{border-radius:10px;font-size:13px;padding:11px 15px;line-height:1.6;background:rgba(79,124,255,.07);border:1px solid rgba(79,124,255,.2);color:#b4c4f1}
.notice.success{background:rgba(79,194,150,.07);border-color:rgba(79,194,150,.22);color:#a2dec5}
.notice.error{background:rgba(232,134,143,.07);border-color:rgba(232,134,143,.24);color:#f1b1b8}
.notice.warning{background:rgba(214,169,98,.07);border-color:rgba(214,169,98,.22);color:#e4c997}
.pending-banner{border-radius:10px;background:rgba(79,124,255,.06);border:1px solid rgba(79,124,255,.17);color:#b0c0ea;font-size:13px}
.toast{right:22px;bottom:22px;display:flex;align-items:center;gap:10px;max-width:min(420px,calc(100vw - 32px));padding:10px 15px 10px 13px;border-radius:11px;background:#16181e;border:1px solid rgba(255,255,255,.09);color:#e2e4e9;font-size:13px;line-height:1.45;box-shadow:0 16px 40px rgba(0,0,0,.45)}
.toast::before{content:"";flex-shrink:0;width:7px;height:7px;border-radius:50%;background:var(--green)}

/* Menus, dialogs and the key panel */
.action-menu summary{border-radius:var(--radius-sm)}
.key-menu summary{color:#5f646f}
.key-menu[open] summary,.key-menu summary:hover{background:rgba(255,255,255,.06);border-color:transparent;color:var(--text)}
.action-menu-items{padding:5px;background:#15171d;border:1px solid rgba(255,255,255,.09);border-radius:11px;box-shadow:0 18px 48px rgba(0,0,0,.55)}
.action-menu-items a,.action-menu-items button{font-size:13px;padding:7px 10px;border-radius:7px;color:#d4d7de;gap:10px}
.action-menu-items a:hover,.action-menu-items button:hover{background:rgba(255,255,255,.06);color:#fff}
.action-menu-items button.danger{color:#eea1aa}
.key-menu-actions:not(:empty){border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:5px;padding-bottom:5px}
.menu-note{font-size:12px;color:var(--faint)}
.panel-dialog{padding:24px;background:#121419;border:1px solid rgba(255,255,255,.08);border-radius:16px;box-shadow:0 30px 80px rgba(0,0,0,.55)}
.panel-dialog::backdrop,.key-workspace::backdrop{background:rgba(3,4,7,.62);backdrop-filter:blur(3px)}
.dialog-heading h2,.create-dialog .dialog-heading h2{font-size:16px}
.create-note,.create-error{font-size:12.5px}
.created-keys{border-radius:10px;font-size:13px}
.key-workspace{width:min(600px,100%);background:var(--bg);border-left:1px solid rgba(255,255,255,.07);box-shadow:-24px 0 70px rgba(0,0,0,.45)}
.workspace-heading{padding:18px 24px;background:var(--bg);border-bottom:1px solid var(--hair-soft)}
.workspace-heading h2{font-size:17px}
.workspace-heading .muted.small{font-size:10.5px;letter-spacing:.08em;color:var(--faint)}
.workspace-body{padding:22px 24px}
.workspace-body .reseller-meta{margin:0 0 16px}

/* Keys */
.key-directory-filters{padding:16px 20px;border-bottom:1px solid var(--hair-soft)}
.key-search-line,.key-filter-line{gap:8px}
.key-directory td small{font-size:11.5px;color:var(--faint);margin-top:2px}
.license-text{font-size:12.5px;letter-spacing:.035em;line-height:1.45;color:#e4e6eb}
.key-table-heading{min-height:56px}
.key-refresh-note,.key-text-status{font-size:12px;color:var(--faint)}
.key-text-status{padding:12px 20px}
.reseller-meta{font-size:12.5px;color:var(--muted);gap:16px}
.key-facts{gap:0 28px}
.key-facts>div{padding:11px 0;border-top:1px solid var(--hair-soft)}
.key-facts dt{font-size:12px;color:var(--faint);margin-bottom:3px}
.key-facts dd{font-size:13px;color:var(--text)}
.key-detail-actions{border-top:1px solid var(--hair-soft)}
.key-timeline li{border-left-color:#262a33;font-size:13px}
.key-timeline li:before{background:var(--accent)}
.key-timeline strong{font-weight:500;color:var(--text)}
#key-logs>.muted.small{font-size:12px;color:var(--faint)}

/* Owner-set password */
.password-card .card-heading{margin-bottom:14px}
.password-set-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.notice-links{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px}
.password-set-form input[name=new_password]{flex:1 1 280px;min-width:0;font-family:"Cascadia Code",Consolas,monospace;letter-spacing:.02em}

/* Activity feed */
.event-list{padding:4px 22px 14px}
.event-row{gap:12px;padding:11px 0;border-bottom:1px solid var(--hair-soft)}
.event-node{width:6px;height:6px;border-radius:50%;background:var(--accent);opacity:.75;margin-top:6px}
.event-row strong{font-size:13px;font-weight:500;color:var(--text)}
.event-row span:not(.event-node){font-size:12px;color:var(--faint);margin-top:2px}
td code,td .mono{font-weight:400;color:var(--text-2)}

/* Directory pages */
.directory-summary{font-size:13px;color:var(--muted)}
.directory-toolbar{padding:13px 20px;border-bottom:1px solid var(--hair-soft)}
.directory-toolbar input,.directory-toolbar select{height:34px;min-height:34px}
.person-initial{border-radius:50%;border:0;background:rgba(255,255,255,.06);color:#b2b9c9;font-size:12px;font-weight:500}
.person-cell:hover strong{color:#b6c8ff}
.empty-state h3,.directory-empty h2{font-size:14.5px;font-weight:500}
.empty-state p,.directory-empty p{font-size:13px;color:var(--muted)}
.empty-icon{color:#666b77}

/* Sign in */
.auth-layout{background:radial-gradient(1100px 520px at 50% -12%,rgba(79,124,255,.10),transparent 62%),var(--frame)}
.auth-card{background:var(--panel);border:1px solid var(--hair);border-radius:16px;box-shadow:0 24px 70px rgba(0,0,0,.35)}

@media(max-width:600px){
  .main-column{margin:0;border:0;border-radius:0}
  .sidebar{border-bottom:1px solid var(--hair-soft);padding:14px 16px 10px}
  .sidebar nav{gap:4px}
  .sidebar nav a{font-size:13px;padding:7px 11px;min-height:34px}
  .main-content{padding:22px 16px 40px}
  .page-heading h1{font-size:20px}
  .card{padding:18px}
  .table-card>.card-heading,.table-card .card-heading{padding:14px 16px}
  th{padding:10px 14px}
  td{padding:11px 14px}
  .stat>strong{font-size:23px}
  .toast{left:16px;right:16px;bottom:16px;max-width:none}
}
