:root{color-scheme:dark;--bg:#0d1013;--panel:#15191d;--line:#2b3035;--muted:#9ba2ab;--text:#f1f2f3;--accent:#ff8617;--accent-ink:#181108;--green:#65dbaa}
body.graphite{background:var(--bg);font-family:Inter,Arial,sans-serif;font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums}
.graphite .bobik-mark{width:29px;height:29px;color:var(--accent);flex-shrink:0}.graphite .brand{display:flex;align-items:center;gap:10px;font-size:26px;font-weight:700;letter-spacing:-1px}.graphite .panel,.graphite .card{border-radius:8px;background:linear-gradient(120deg,#181c20,#121619);border-color:var(--line)}.graphite button,.graphite .button{color:var(--accent-ink);border-radius:5px;background:var(--accent)}.graphite button.subtle{color:var(--text);background:transparent}.graphite input:not([type=checkbox]),.graphite select{background:#101418;border-color:#353d45}.graphite .sidebar{position:fixed;inset:0 auto 0 0;width:218px;padding:26px 16px;background:linear-gradient(135deg,#14181c,#0f1215);border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5}.graphite .sidebar .brand{padding:0 10px 30px}.graphite .nav-label{font-size:9px;letter-spacing:1.1px;color:#858e98;padding:9px 12px 12px}.graphite .sidebar nav{display:grid;gap:6px;margin:0}.graphite .sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px;position:relative;color:#b6bdc5;font-size:13px;border-radius:5px}.graphite .sidebar nav a:hover,.graphite .sidebar nav a.active{background:#232629;color:#fff}.graphite .sidebar nav a.active:before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:2px;background:var(--accent)}.graphite .sidebar nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.graphite .sidebar nav a.active svg{color:var(--accent)}.graphite .nav-divider{height:1px;background:var(--line);margin:24px 12px 15px}.graphite .sidebar-bottom{display:flex;align-items:center;gap:10px;margin-top:auto;padding:20px 10px 0;border-top:1px solid var(--line);font-size:12px;overflow-wrap:anywhere;min-width:0}.graphite .sidebar-bottom small{display:block;font-size:10px;margin-top:4px}.graphite .sidebar-avatar{display:grid;place-items:center;border-radius:50%;background:#292e33;border:1px solid #41464b;width:30px;height:30px;flex-shrink:0}.graphite.portal-session main,.graphite.portal-session>footer{margin-left:218px;max-width:none;margin-right:0;padding-left:30px;padding-right:30px}.graphite.portal-session main{margin-top:32px}.graphite.portal-session>footer{margin-top:20px;margin-bottom:22px;font-size:10px}.graphite .dashboard-header{margin:0 0 0 218px;max-width:none;padding:27px 30px 20px;border:0;justify-content:space-between}.graphite .dashboard-header h1{font-size:29px;letter-spacing:-.9px;line-height:1.25;margin:5px 0}.graphite .dashboard-header p{font-size:12px;margin:7px 0 0}.graphite .dashboard-header .eyebrow{font-size:9px;color:#a3abb3;letter-spacing:1.4px}.graphite .dashboard-header .hint{font-size:11px;text-align:right}.graphite.home-dashboard main{margin-top:0}.graphite h2{font-size:17px;font-weight:600;letter-spacing:-.25px}.graphite [hidden]{display:none!important}
/* Status, with real controls and the existing wake state machine. */
.graphite.home-dashboard .wake-panel{background:linear-gradient(133deg,transparent 56%,#ffffff02 56%,color-mix(in srgb,var(--accent) 3%,transparent) 65%,color-mix(in srgb,var(--accent) 10%,transparent) 69.8%,color-mix(in srgb,var(--accent) 28%,transparent) 70%,transparent 70.07%),radial-gradient(ellipse at 10% 100%,#ffffff05,transparent 65%),linear-gradient(120deg,#191d21,#0e1216);border:1px solid var(--line);border-radius:8px;padding:22px 24px 18px 240px;min-height:169px;position:relative;overflow:visible;margin-top:26px;grid-template-columns:minmax(0,1fr) auto;column-gap:22px}.graphite .wake-mascot{display:none}.graphite.home-dashboard .wake-mascot{position:absolute;display:block;inset:-30px auto auto 0;width:215px;height:198px;pointer-events:none;z-index:1}.graphite .wake-mascot img{display:block;width:100%;height:100%;object-fit:contain;object-position:center top;filter:drop-shadow(0 9px 7px #0005)}.graphite.home-dashboard .wake-panel[data-mascot=none] .wake-mascot{display:none}.graphite.home-dashboard .wake-panel[data-mascot=none]{padding-left:24px}.graphite.home-dashboard .wake-panel:not([data-mascot=none]) .wake-orb{display:none}.graphite .wake-orb{color:var(--accent);border-color:var(--line);background:#ffffff06}.graphite.home-dashboard .wake-top{grid-row:1}.graphite.home-dashboard .wake-panel h2{font-size:30px;letter-spacing:-.7px;line-height:1.25;margin:7px 0 5px}.graphite .wake-label{font-size:9px;color:#a3abb3;letter-spacing:1.4px}.graphite .wake-label:before{content:'●';color:var(--green);font-size:8px;margin-right:8px}.graphite .wake-panel p{font-size:12px}.graphite.home-dashboard .wake-actions{flex-direction:column;align-items:stretch;gap:10px;grid-row:1/3}.graphite .wake-actions .button,.graphite .wake-actions button{font-size:12px;padding:11px 18px}.graphite .wake-actions #server-sleep-now{order:2;border:0;font-size:11px;color:#b6bdc4}.graphite.home-dashboard #wake-detail{margin:12px 0 0;grid-column:1;font-size:11px}.graphite.home-dashboard .wake-steps{grid-row:auto}.graphite #server-command-message{grid-column:1/-1;font-size:12px}.graphite .wake-panel[data-state=ready] .wake-badge{color:var(--green)}
/* Model and its history precede all physical sensors. */
.graphite .model-panel,.graphite .model-history{padding:20px 23px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(120deg,#181c20,#121619);margin-top:16px}.graphite #model-title{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:#a3abb3}.graphite #model-name{font-size:22px;letter-spacing:-.5px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.graphite .model-parameters{font-size:12px;margin:7px 0 18px}.graphite .model-performance{display:grid;grid-template-columns:1fr .8fr 1.2fr .85fr;gap:22px;padding:17px 0 0;border-bottom:0}.graphite .model-performance>div+div{border-left:1px solid var(--line);padding-left:22px}.graphite .model-performance .server-value{font-size:27px;font-weight:550}.graphite .model-queue{display:block;line-height:2;font-size:13px}.graphite .model-cache-panel .server-value{display:block}.graphite #model-state{font-size:10px;min-height:0;color:#99a4af}.graphite .model-history-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.graphite .model-history-heading h2{color:var(--text);font-size:15px;margin:0}.graphite .chart-ranges{display:flex;gap:3px;padding:3px;background:#101418;border:1px solid var(--line);border-radius:6px}.graphite .chart-ranges button{margin:0;border:0;border-radius:4px;background:transparent;color:#aeb8c3;padding:6px 12px;font-size:11px;font-weight:400;white-space:nowrap;min-height:30px}.graphite .chart-ranges button:hover{background:#242a30}.graphite .chart-ranges button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink)}.graphite .chart-key{display:flex;align-items:center;justify-content:space-between;margin:14px 0 7px;font-size:10px;color:#b3bbc4}.graphite #model-chart-key:before{content:'';display:inline-block;vertical-align:middle;width:13px;height:2px;background:var(--accent);margin-right:7px}.graphite #model-chart{width:100%;height:171px;display:block;margin:0}.graphite #model-chart text{fill:#8e98a3;font:10px Arial,sans-serif}.graphite #model-chart .missing-caption{fill:#a7b0bb;font-size:11px;paint-order:stroke;stroke:#15191d;stroke-width:5px;stroke-linejoin:round}.graphite .chart-foot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:9px;font-size:10px;color:#99a4af}.graphite .chart-foot>span:last-child{white-space:nowrap}
/* Physical data keeps the proven freshness, PSU and PCIe rendering. */
.graphite .server-panel{margin-top:23px;padding:0;border:0;background:none}.graphite .server-heading h2{font-size:16px}.graphite .server-overview{gap:12px;border:0;padding:0}.graphite .server-overview>.server-metric{padding:16px 17px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(120deg,#181c20,#121619);grid-template-rows:18px 34px 36px 4px minmax(42px,1fr)}.graphite .server-overview .server-value{font-size:26px;font-weight:500}.graphite .server-overview .server-label{font-size:11px}.graphite .server-overview .server-detail{font-size:11px}.graphite .server-overview .metric-io,.graphite .server-overview .io-rates{font-size:10px}.graphite .server-meter{background:#30363b;border-radius:1px}.graphite .server-meter span{border-radius:1px}.graphite .server-state[data-state=live]{color:var(--green)}.graphite .psu-card{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:20px;margin-top:16px}.graphite .pcie-uplinks{gap:12px;margin-top:16px}.graphite .pcie-uplink{border-color:var(--line);border-radius:8px;background:linear-gradient(120deg,#181c20,#121619)}.graphite .pcie-mode{font-size:15px;color:var(--text)}.graphite .pcie-errors[data-state=ok]>.pcie-error-summary{color:var(--green)}.graphite .gpu-card{border-color:var(--line);border-radius:8px;background:linear-gradient(120deg,#181c20,#121619);padding:14px 16px}.graphite .gpu-temp{color:var(--green)}.graphite .gpu-memory .server-meter span{background:var(--accent)}.graphite .gpu-load strong{font-size:24px}.graphite .gpu-pcie{border-color:var(--line)}.graphite .server-power-controls{margin-top:18px}.graphite .server-power-controls button{font-size:12px}.graphite .server-power-controls h2{font-size:17px}
.appearance{max-width:950px;padding:27px}.appearance-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--stroke);padding-bottom:22px}.appearance-heading h2{font-size:20px;margin-bottom:6px}.appearance-heading p{font-size:12px}.appearance-heading .pill{font-size:11px}.accent-fieldset{border:0;padding:0;margin:25px 0}.accent-fieldset legend{font-size:14px;font-weight:600;margin-bottom:6px}.accent-fieldset>p{font-size:12px;margin-bottom:20px}.accent-swatches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.accent-swatch{padding:18px 7px 13px;display:grid;justify-items:center;gap:12px;background:#1b2025;border:1px solid #363d45;border-radius:7px;color:#bdc5cd;font-size:11px}.accent-swatch:hover{background:#242a30}.accent-swatch[aria-pressed="true"]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);color:var(--text)}.swatch-dot{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:var(--swatch);color:transparent;font-size:18px}.accent-swatch[aria-pressed="true"] .swatch-dot{color:var(--accent-ink)}.custom-color{display:flex;align-items:center;gap:12px;margin-top:20px;font-size:12px}.custom-color input{width:43px;height:34px;border:1px solid #4a535d;border-radius:5px;padding:3px;background:#181d22;cursor:pointer}.custom-color output{font:11px monospace;color:#aeb8c3}.theme-preview{border:1px solid var(--stroke);border-radius:7px;background:#0e1216;padding:20px;display:flex;align-items:center;gap:24px}.preview-brand{display:flex;align-items:center;gap:9px;font-size:24px;font-weight:600}.preview-brand svg{width:34px;height:34px}.preview-meter{flex:1;color:#aeb8c3;font-size:11px}.preview-meter .meter{margin-top:8px}.theme-preview .button{cursor:default;pointer-events:none}.theme-preview .button:disabled{opacity:1}.appearance-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}.appearance-footer p{font-size:11px}.reset-accent{color:#c4ccd5;border:1px solid #414951;border-radius:5px;padding:8px 12px;background:#20262c;font-size:11px;white-space:nowrap}
.graphite .appearance{margin:24px 0}.graphite .appearance .appearance-heading p,.graphite .accent-fieldset p{margin:0 0 18px}.graphite .accent-fieldset legend{padding:0}.graphite .appearance input[type=color]{display:inline-block;width:44px;height:36px;padding:3px}.graphite .custom-color label{margin:0}.graphite .accent-swatch{margin:0;color:#bdc5cd;background:#1b2025;font-weight:400}.graphite .accent-swatch[aria-pressed=true]{color:var(--text)}.graphite .theme-preview .button{margin:0}.graphite .theme-preview .server-meter{margin-top:8px}.graphite .appearance-footer .subtle{margin:0;white-space:nowrap}.graphite .swatch-dot{color:transparent}.graphite .accent-swatch[aria-pressed=true] .swatch-dot{color:var(--accent-ink)}
@media(max-width:1200px){.graphite .sidebar{width:185px;padding-left:10px;padding-right:10px}.graphite.portal-session main,.graphite.portal-session>footer{margin-left:185px;padding-left:22px;padding-right:22px}.graphite .dashboard-header{margin-left:185px;padding-left:22px;padding-right:22px}.graphite.home-dashboard .wake-mascot{width:165px}.graphite.home-dashboard .wake-panel{padding-left:185px}.graphite .model-performance{gap:12px}.graphite .model-performance>div+div{padding-left:12px}.graphite .server-overview>.server-metric{padding:13px}.graphite .model-performance .server-value{font-size:24px}}
@media(max-width:1000px){.graphite .sidebar{width:70px;align-items:center;padding:20px 7px}.graphite .sidebar .brand{padding:0 0 25px}.graphite .sidebar .brand span,.graphite .sidebar .nav-label,.graphite .sidebar .nav-divider,.graphite .sidebar-bottom,.graphite .sidebar nav a span{display:none}.graphite .sidebar nav{width:100%;margin-bottom:22px}.graphite .sidebar nav a{justify-content:center;padding:13px 5px;gap:0}.graphite.portal-session main,.graphite.portal-session>footer{margin-left:70px}.graphite .dashboard-header{margin-left:70px}.graphite .server-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.graphite .server-overview .disk-metric{grid-column:auto}.graphite .accent-swatches{grid-template-columns:repeat(3,minmax(0,1fr))}.graphite.home-dashboard .wake-mascot{width:135px}.graphite.home-dashboard .wake-panel{padding-left:155px}.graphite.home-dashboard .wake-panel h2{font-size:24px}.graphite .model-queue{grid-column:auto}.graphite .model-performance{grid-template-columns:1fr 1fr}.graphite .model-performance>div:nth-child(3){padding-left:0;border-left:0}.graphite .model-performance>div:nth-child(4){padding-left:12px;border-left:1px solid var(--line)}}
@media(max-width:700px){.graphite .sidebar{position:static;width:auto;height:auto;padding:14px 16px;flex-direction:row;flex-wrap:wrap;gap:10px;border-right:0;border-bottom:1px solid var(--line)}.graphite .sidebar .brand{width:100%;padding:0;font-size:22px}.graphite .sidebar .brand span{display:block}.graphite .sidebar .brand .bobik-mark{width:25px;height:25px}.graphite .sidebar nav{display:flex;width:auto;flex:1;margin:0;gap:3px}.graphite .sidebar nav:first-of-type{flex:1.7}.graphite .sidebar nav a{flex:1;padding:8px 4px}.graphite.portal-session main,.graphite.portal-session>footer{margin-left:0;padding-left:16px;padding-right:16px}.graphite .dashboard-header{margin:0;padding:20px 16px 17px;align-items:flex-start;flex-direction:column;gap:10px}.graphite .dashboard-header h1{font-size:26px}.graphite .dashboard-header .eyebrow{display:none}.graphite .dashboard-header p,.graphite .dashboard-header .hint{font-size:11px}.graphite.home-dashboard .wake-panel{padding:16px 14px 14px;display:grid;grid-template-columns:96px minmax(0,1fr);gap:0;min-height:0}.graphite.home-dashboard .wake-mascot{width:105px;height:150px;inset:-23px auto auto 0}.graphite.home-dashboard .wake-top{grid-column:2;grid-row:1;min-height:93px;align-items:center}.graphite.home-dashboard .wake-panel h2{font-size:23px}.graphite.home-dashboard .wake-panel p{font-size:10px}.graphite.home-dashboard .wake-label{font-size:7px;letter-spacing:.7px}.graphite.home-dashboard #wake-detail{grid-column:2;grid-row:2;margin:0 0 18px;font-size:9px}.graphite.home-dashboard .wake-actions{grid-column:1/-1;grid-row:3;flex-direction:row;flex-wrap:wrap;margin:0;padding-top:12px;border-top:1px solid var(--line);gap:10px}.graphite .wake-actions .button,.graphite .wake-actions button{flex:1;text-align:center;font-size:11px;padding:10px}.graphite.home-dashboard .wake-panel[data-mascot=none]{padding-left:14px;grid-template-columns:1fr}.graphite.home-dashboard .wake-panel[data-mascot=none] .wake-top,.graphite.home-dashboard .wake-panel[data-mascot=none] #wake-detail{grid-column:1}.graphite.home-dashboard .wake-steps{grid-row:4}.graphite .model-panel,.graphite .model-history{padding:17px 16px;margin-top:12px}.graphite #model-name{font-size:19px}.graphite .model-parameters{font-size:11px}.graphite .model-performance .server-value{font-size:23px}.graphite .model-queue{font-size:11px}.graphite .model-history-heading{flex-wrap:wrap;gap:12px}.graphite .chart-ranges{width:100%}.graphite .chart-ranges button{flex:1;min-height:36px}.graphite .chart-foot{font-size:9px;align-items:flex-start}.graphite .server-overview{grid-template-columns:1fr 1fr;gap:10px}.graphite .server-overview>.server-metric{padding:13px;grid-template-rows:18px 34px 40px 4px minmax(42px,1fr)}.graphite .server-overview .metric-io{flex-wrap:wrap}.graphite .server-overview .metric-rows{display:grid}.graphite .server-overview #network-card{grid-column:1/-1}.graphite .server-overview .server-value{font-size:24px}.graphite .server-overview .server-detail{font-size:10px}.graphite .server-gpus{grid-template-columns:1fr 1fr;gap:10px}.graphite .gpu-card{padding:12px}.graphite .gpu-load strong{font-size:22px}.graphite .gpu-stats{font-size:11px}.graphite .gpu-pcie{font-size:10px}.graphite .gpu-rates{font-size:10px}.graphite .appearance{padding:18px}.graphite .appearance-heading{align-items:flex-start}.graphite .appearance-heading h2{font-size:18px}.graphite .appearance-heading p{font-size:11px}.graphite .appearance-heading .badge{font-size:9px;white-space:nowrap}.graphite .theme-preview{flex-wrap:wrap;padding:16px;gap:16px}.graphite .theme-preview .button{width:100%;text-align:center}.graphite .appearance-footer{flex-direction:column;align-items:flex-start;gap:13px}.graphite .accent-swatch{font-size:10px;padding:15px 5px 11px}.graphite .preview-meter{min-width:130px}.graphite .preview-brand{font-size:20px}}

/* Low poses rest inside the card; upright ears and the kennel roof may overlap. */
.graphite.home-dashboard .wake-panel[data-mascot=overloaded] .wake-mascot{top:auto;bottom:10px;height:130px;display:flex;align-items:flex-end}.graphite.home-dashboard .wake-panel[data-mascot=overloaded] .wake-mascot img{height:auto;max-height:100%}
@media(max-width:700px){.graphite.home-dashboard .wake-panel[data-mascot=overloaded] .wake-mascot{top:20px;bottom:auto;height:90px;align-items:center}}

.graphite .account-dropdown{display:block;position:relative;padding:16px 0 0;width:100%;overflow:visible}
.account-dropdown summary{display:flex;align-items:center;gap:10px;padding:8px;cursor:pointer;list-style:none;border-radius:6px}
.account-dropdown summary::-webkit-details-marker{display:none}
.account-dropdown summary:hover,.account-dropdown[open] summary{background:#ffffff08}
.account-dropdown summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.account-name{min-width:0;overflow-wrap:anywhere}.account-chevron{margin-left:auto;color:var(--muted)}
.account-dropdown[open] .account-chevron{transform:rotate(180deg)}
.graphite .account-menu{position:absolute;bottom:calc(100% + 8px);left:0;width:100%;min-width:180px;padding:6px;background:#1a1e23;border:1px solid var(--line);border-radius:8px;box-shadow:0 12px 32px #0006;z-index:20}
.account-dropdown:not([open]) .account-menu{display:none}
.graphite .account-menu a,.graphite .account-menu button{display:block;width:100%;padding:11px 12px;margin:0;border:0;background:transparent;color:var(--text);text-align:left;font:inherit;border-radius:5px;cursor:pointer}
.graphite .account-menu a:hover,.graphite .account-menu button:hover{background:#ffffff0a}
@media(min-width:701px) and (max-width:1000px){.account-dropdown .account-name,.account-dropdown .account-chevron{display:none}.account-dropdown summary{justify-content:center}.graphite .account-menu{left:calc(100% + 10px);bottom:0;width:210px}}
@media(max-width:700px){.graphite .account-dropdown{margin:0;padding:6px 0 0}.account-dropdown summary{padding:6px}.graphite .account-menu{bottom:auto;top:calc(100% + 8px);left:auto;right:0;width:220px;max-width:100%}}
