/* ONIX DESIGN SYSTEM V3 — complete cabinet, not only landing. 2026-11-15 */
:root{color-scheme:dark;--bg:#070c13;--panel:#0d1722;--panel2:#111f2d;--line:#263949;--blue:#286f9c;--cyan:#a8dff9;--text:#edf5fc;--muted:#93aabe;--green:#83c4b2;--red:#ff9da7;--onix-ice:#dbf4ff;--onix-slate:#0b1420;--onix-border:#2c4354}
html{scroll-behavior:smooth}body{background:radial-gradient(ellipse 63% 350px at 83% -145px,#18394f4a,transparent 85%),#070c13;color:var(--text);font-family:"Segoe UI Variable Text","Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
main{width:min(1480px,100%);max-width:1480px}body{padding:19px clamp(13px,2vw,32px) 45px}
.top{border-bottom:1px solid #223646;padding:0 0 15px;margin:0 0 24px;min-height:72px}.top a{text-decoration:none;color:#a9c3d6;font-size:12px;font-weight:650;display:inline-flex;align-items:center;gap:8px;border:1px solid #30485b;padding:10px 15px;border-radius:7px;background:#111f2b}
.top a:hover{border-color:#7eb3d1;background:#193043;color:#f5faff}.brand-logo{width:67px;height:67px;object-fit:contain;filter:saturate(.78)}
#login-panel{max-width:540px;margin:clamp(36px,8vh,100px) auto 0;padding:clamp(30px,4.4vw,56px);background:linear-gradient(142deg,#122332,#0b1722 78%);border:1px solid #365369;border-radius:15px;box-shadow:0 34px 100px #0009}
#login-panel .eyebrow{font:700 10px Consolas,monospace;letter-spacing:.19em;color:#a9dff6}#login-panel h1{font-size:clamp(36px,4.7vw,59px);letter-spacing:-.065em;line-height:1.03;margin:20px 0}
#login-panel p{font-size:14px;color:#9aafc1;line-height:1.7;margin-bottom:26px}
#login-panel form>label{color:#b4cada;font-size:12px;font-weight:650}#login-panel .row{display:flex;gap:10px}
#login-panel .field{min-height:51px}#login-panel .primary{min-height:51px}
#dashboard.card:not(.hidden){display:grid;grid-template-columns:215px minmax(0,1fr);grid-auto-rows:min-content;align-items:start;gap:0 32px;max-width:none;width:100%;padding:clamp(20px,2.4vw,34px);border:1px solid #273e50;background:linear-gradient(155deg,#0d1926,#09131e 42%,#080f19);box-shadow:0 25px 85px #0006;border-radius:16px}
#dashboard > .eyebrow,#dashboard > h1,#dashboard > #cabinet-description{grid-column:1/-1}
#dashboard > .eyebrow{font:700 10px Consolas,monospace;letter-spacing:.19em;color:#a2d9f5;margin:0 0 13px}
#dashboard > #cabinet-title{font-size:clamp(32px,3.9vw,56px);letter-spacing:-.06em;font-weight:660;line-height:1.06;margin:0 0 10px;color:#f1f7fd}
#dashboard > #cabinet-description{color:#92aabc;font-size:14px;line-height:1.6;margin:0 0 29px;max-width:900px}
#dashboard > .cabinet-nav{grid-column:1;grid-row:4/6;align-self:start;position:sticky;top:96px;display:flex;flex-direction:column;align-items:stretch;gap:3px;margin:0;padding:13px 9px 12px;border:1px solid #2b4254;background:#0a1520;border-radius:11px;overflow:visible}
#dashboard > .cabinet-nav:before{content:"WORKSPACE / NAVIGATION";font:700 9px Consolas,monospace;letter-spacing:.15em;color:#6f91a7;padding:10px 11px 16px}
#dashboard .cabinet-nav button{counter-increment:nav;display:flex;align-items:center;justify-content:flex-start;gap:13px;width:100%;min-height:44px;text-align:left;padding:10px 12px;border-radius:7px;border:1px solid transparent;background:transparent;color:#93adc0;font-size:12px;font-weight:670;letter-spacing:.006em;transition:background .16s,color .16s,border-color .16s;box-shadow:none}
#dashboard .cabinet-nav{counter-reset:nav}
#dashboard .cabinet-nav button[data-page]::before{content:counter(nav,decimal-leading-zero);font:650 10px Consolas,monospace;color:#66869c;min-width:18px}
#dashboard .cabinet-nav button[data-page]:hover{background:#142a3b;border-color:#2e4b60;color:#ecf6ff}
#dashboard .cabinet-nav button[data-page][aria-pressed=true]{color:#eaf8ff;background:linear-gradient(105deg,#1b445e,#142a3a 77%);border:1px solid #446c83;box-shadow:inset 2px 0 0 #a6e5ff}
#dashboard .cabinet-nav button[data-page][aria-pressed=true]:before{color:#c7ecff}
#dashboard .cabinet-nav #logout-button{margin:14px 0 0;border-top:1px solid #2a4052;border-radius:0;padding-top:16px;color:#91aabd;font-size:12px}
#dashboard .cabinet-nav #logout-button:hover{color:#f6f9ff}
#dashboard > .status{grid-column:2;grid-row:4;display:flex;align-items:center;justify-content:flex-end;margin:0 0 17px;gap:10px;min-height:18px;color:#80b7b3;font:650 11px Consolas,monospace;letter-spacing:.05em}
#dashboard .status .dot{height:7px;width:7px;background:#7dbdb1;box-shadow:none}#dashboard .status .dot.off{background:#fd97a5}
#dashboard > section[id$="-page"]{grid-column:2;grid-row:5;min-width:0;width:100%;margin:0;padding:0;align-self:start}
#dashboard > section[id$="-page"] > p{font-size:13px;color:#9ab1c2;line-height:1.7;max-width:960px;margin:0 0 22px}
#dashboard > section[id$="-page"] > h2{font-size:clamp(26px,3vw,38px);letter-spacing:-.045em;margin:0 0 11px}
#dashboard .report-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin:0 0 21px}
#dashboard .report-head h2{font-size:clamp(25px,2.7vw,36px);line-height:1.08;letter-spacing:-.047em;font-weight:650;margin:0}
#dashboard .report-head .eyebrow{color:#8dcce9;font:700 10px Consolas,monospace;letter-spacing:.16em;margin-bottom:9px}
#dashboard .report-controls,#dashboard .sales-controls,#dashboard .toolbar,#dashboard .schedule-tools{gap:9px}
#dashboard .report-controls label,#dashboard .sales-controls label{font:650 11px Consolas,monospace;letter-spacing:.03em;color:#96adbf}
#dashboard button:not(.cabinet-nav button){box-shadow:none}
#dashboard button{border-radius:7px;min-height:39px}
#dashboard button:hover{box-shadow:none}
#dashboard button.primary{background:#d5f0ff;color:#081520;border-color:#d5f0ff;font-weight:750}
#dashboard button.primary:hover{background:#fff;color:#081520;border-color:#fff}
#dashboard button[aria-pressed=true]{border-color:#6caaca;background:#173b52;color:#e5f7ff}
#dashboard .field{background:#0b1824;border:1px solid #30495c;color:#e8f5fd;border-radius:7px;min-height:42px}
#dashboard .field:focus{border-color:#90d9f8;box-shadow:0 0 0 3px #7cc8ed19}
#dashboard select.field{color-scheme:dark}#dashboard input::placeholder,#dashboard textarea::placeholder{color:#6e8ba0}
#dashboard label{color:#9fb8ca}
#dashboard .report-metrics{gap:12px;margin:17px 0 19px}
#dashboard .report-metric{min-width:0;min-height:133px;background:linear-gradient(145deg,#122333,#0c1824 85%);border:1px solid #2c4355;border-radius:10px;padding:21px 22px;box-shadow:none}
#dashboard .report-metric:first-child{background:linear-gradient(130deg,#173c53,#102538 70%,#0d1b2a);border-color:#3d647b}
#dashboard .report-metric span{font:650 10px Consolas,monospace;letter-spacing:.07em;color:#91adbf}
#dashboard .report-metric strong{font-size:clamp(23px,2.35vw,34px);font-weight:670;letter-spacing:-.045em;color:#ecf8ff;font-variant-numeric:tabular-nums}
#dashboard .report-metric small{font-size:11px;color:#8ba6b9}
#dashboard .report-panel{min-width:0;border:1px solid #2b4152;border-radius:10px;background:linear-gradient(160deg,#0e1e2c,#0b1723 73%);padding:clamp(17px,2vw,26px);box-shadow:none}
#dashboard .report-panel h3{font-size:17px;letter-spacing:-.026em;font-weight:650;margin:0 0 19px}
#dashboard .report-panel p{color:#93acbf}
#dashboard .report-line{gap:16px;padding:2px 0}#dashboard .report-divider{border-top-color:#304758}
#dashboard .report-chart{width:100%;max-width:100%;overflow:visible}
#dashboard .report-chart text{fill:#91aabd}#dashboard .report-chart line{stroke:#2c4758}
#dashboard .report-table-wrap{overflow-x:auto;border:1px solid #2b4051;border-radius:9px;scrollbar-color:#36536a transparent}
#dashboard .report-table{font-variant-numeric:tabular-nums;min-width:520px}
#dashboard .report-table th{background:#132435;font:650 11px Consolas,monospace;letter-spacing:.04em;color:#94b1c2;text-transform:uppercase}
#dashboard .report-table td,#dashboard .report-table th{padding:12px 13px;border-bottom:1px solid #2b4050}
#dashboard .report-table tbody tr:hover td{background:#142738}
#dashboard .report-status{color:#86a5ba;font:600 11px Consolas,monospace}
#dashboard .report-message,#dashboard .error{font-size:12px}
#dashboard .item{background:#0e1c2a;border-color:#2b4253;border-radius:9px}
#dashboard .grid{gap:11px}#dashboard .item label{font-size:12px;color:#91abbf}
#dashboard .sales-dialog,#dashboard dialog{border-color:#3e5c70;box-shadow:0 40px 100px #000a}
#dashboard .sales-dialog .report-head{background:#0b1723}
#dashboard :is(button,input,textarea,select,summary):focus-visible{outline:2px solid #9ee3ff;outline-offset:3px}
@media(max-width:1080px){#dashboard.card:not(.hidden){grid-template-columns:185px minmax(0,1fr);gap:0 20px;padding:21px}#dashboard .cabinet-nav button{font-size:11px;padding:9px}#dashboard .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){#dashboard.card:not(.hidden){display:block;padding:17px}#dashboard > .cabinet-nav{display:flex;position:sticky;top:0;z-index:15;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:5px;padding:10px 8px;margin:0 -8px 18px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border-radius:0;border-left:0;border-right:0;background:#0b1520f5;backdrop-filter:blur(12px)}#dashboard .cabinet-nav:before{display:none}#dashboard .cabinet-nav button{width:auto;flex:0 0 auto;min-height:40px;font-size:12px;padding:8px 12px;white-space:nowrap}#dashboard .cabinet-nav button[data-page]::before{display:none}#dashboard .cabinet-nav #logout-button{margin:0 0 0 8px;border:1px solid #385167;border-radius:7px;padding:9px 11px}#dashboard > .status{margin:0 0 19px}#dashboard > #cabinet-description{margin-bottom:17px}#dashboard > section[id$="-page"]{min-width:0;display:block}#dashboard > section.hidden{display:none!important}#dashboard .report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){body{padding:10px 9px 30px}.top{padding:0 2px 8px;margin-bottom:15px;min-height:61px}.brand-logo{width:56px;height:56px}.top a{font-size:11px;padding:8px 10px}#dashboard.card:not(.hidden){padding:15px;border-radius:11px}#dashboard > #cabinet-title{font-size:35px}#dashboard > .eyebrow{font-size:9px}#dashboard .report-head{align-items:flex-start;flex-direction:column;gap:13px}#dashboard .report-head h2{font-size:27px}#dashboard .report-controls{width:100%;flex-wrap:wrap}#dashboard .report-controls .field{flex:1;min-width:140px}#dashboard .report-metrics{gap:9px}#dashboard .report-metric{padding:14px;min-height:116px}#dashboard .report-metric strong{font-size:clamp(18px,6vw,25px)}#dashboard .report-panel{padding:16px}#dashboard .report-columns{grid-template-columns:1fr}#dashboard .grid{grid-template-columns:1fr}#dashboard .wide{grid-column:auto}#dashboard .password-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
