/* Independent dashboard theme adaptation from Webshow public theme artwork/palettes. */
:root[data-theme="arcade"]{color-scheme:dark;--bg:#0b1027;--text:#f6f4e9;--muted:#b2bedc;--line:#344466;--panel:#0e1933f5;--field:#0a132c;--accent:#72e8ff;--border:#8198bd;--button:linear-gradient(#293e66,#1b2b4a);--primary:#ffe56b;--primary-ink:#16152b;--dialog:#101a36;--heading:#ffe56b;--warning:#f1ca82;--error:#ffb1b7;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#344466;--plot-grid:#344466;--radius:2px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="arcade"] body::before{background-image:linear-gradient(#04080d38,#04080d30),url("./branding/arcade-hall.png")}
:root[data-theme="backrooms"]{color-scheme:light;--bg:#c6b978;--text:#2c291d;--muted:#544c32;--line:#a89b62;--panel:#eee5baf5;--field:#f8f2d5;--accent:#51491e;--border:#95874d;--button:#e8dca9;--primary:#62552b;--primary-ink:#fff8d9;--dialog:#eee5c4;--heading:#302b19;--warning:#87551c;--error:#8a3326;--healthy:#2c6c46;--other:#2f7952;--cache:#365eaa;--track:#a89b62;--plot-grid:#a89b62;--radius:2px;--drive-1:#267548;--drive-2:#3159a4;--drive-3:#936019;--drive-4:#934f91;--drive-5:#08747c;}
[data-theme="backrooms"] body::before{background-image:linear-gradient(#fffdf325,#fffdf325),url("./branding/backrooms-halls.png")}
:root[data-theme="botanical"]{color-scheme:light;--bg:#f5f5ec;--text:#263c30;--muted:#526451;--line:#d1d9c9;--panel:#f5f5ecf5;--field:#fffef7;--accent:#3c654a;--border:#80957a;--button:#fffef7;--primary:#3c654a;--primary-ink:#fffdf8;--dialog:#f5f5ec;--heading:#2b4b37;--warning:#87551c;--error:#923f47;--healthy:#2c6c46;--other:#2f7952;--cache:#365eaa;--track:#d1d9c9;--plot-grid:#d1d9c9;--radius:16px;--drive-1:#267548;--drive-2:#3159a4;--drive-3:#936019;--drive-4:#934f91;--drive-5:#08747c;}
[data-theme="botanical"] body::before{background-image:linear-gradient(#fffdf325,#fffdf325),url("./branding/botanical-garden.png")}
:root[data-theme="christmas"]{color-scheme:dark;--bg:#0e1c17;--text:#fff3df;--muted:#e0c8c2;--line:#6a4543;--panel:#351d24;--field:#22151b;--accent:#f2d18d;--border:#c19373;--button:linear-gradient(#802638,#5b1c2a);--primary:linear-gradient(110deg,#ad2e42,#922238);--primary-ink:#fff3df;--dialog:#291920;--heading:#f9dfaa;--warning:#f1ca82;--error:#ffc1b9;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#6a4543;--plot-grid:#6a4543;--radius:10px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="christmas"] body::before{background-image:linear-gradient(#04080d38,#04080d30),url("./branding/christmas-winter.png")}
:root[data-theme="classic"]{color-scheme:light;--bg:#f8f9f6;--text:#202822;--muted:#626c64;--line:#d4dacd;--panel:#ffffff;--field:#ffffff;--accent:#416330;--border:#9ca98e;--button:#edf2e5;--primary:#c4e595;--primary-ink:#202822;--dialog:#ffffff;--heading:#202822;--warning:#87551c;--error:#923f47;--healthy:#2c6c46;--other:#2f7952;--cache:#365eaa;--track:#d4dacd;--plot-grid:#d4dacd;--radius:10px;--drive-1:#267548;--drive-2:#3159a4;--drive-3:#936019;--drive-4:#934f91;--drive-5:#08747c;}
:root[data-theme="coastal"]{color-scheme:light;--bg:#f0f7f6;--text:#203e45;--muted:#4f6970;--line:#ccdfde;--panel:#f0f7f6f5;--field:#fbfefd;--accent:#226771;--border:#729795;--button:#fbfefd;--primary:#226771;--primary-ink:#fffdf8;--dialog:#f0f7f6;--heading:#225764;--warning:#87551c;--error:#923f47;--healthy:#2c6c46;--other:#2f7952;--cache:#365eaa;--track:#ccdfde;--plot-grid:#ccdfde;--radius:14px;--drive-1:#267548;--drive-2:#3159a4;--drive-3:#936019;--drive-4:#934f91;--drive-5:#08747c;}
[data-theme="coastal"] body::before{background-image:linear-gradient(#fffdf325,#fffdf325),url("./branding/coastal-dunes.png")}
:root[data-theme="darkroom"]{color-scheme:dark;--bg:#1c1b19;--text:#f2eee5;--muted:#b9b3a7;--line:#49463f;--panel:#292724;--field:#22201d;--accent:#e8d9ba;--border:#827765;--button:#22201d;--primary:#e8d9ba;--primary-ink:#24211b;--dialog:#1c1b19;--heading:#f4e6c9;--warning:#f1ca82;--error:#f1b3a5;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#49463f;--plot-grid:#49463f;--radius:10px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="darkroom"] body{background:repeating-linear-gradient(0deg,#e8d9ba03 0 1px,transparent 1px 5px),var(--bg)}
:root[data-theme="futuristic-sci-fi"]{color-scheme:dark;--bg:#071321;--text:#e0f3ff;--muted:#aec9dc;--line:#254963;--panel:#081c30f2;--field:#081a2b;--accent:#72e3ff;--border:#709fb9;--button:linear-gradient(#1b435e,#102d45);--primary:linear-gradient(110deg,#72e3ff,#a2c5ff);--primary-ink:#071b2c;--dialog:#0a1d30;--heading:#c8f2ff;--warning:#f1ca82;--error:#ffbdcc;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#254963;--plot-grid:#254963;--radius:4px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="futuristic-sci-fi"] body::before{background-image:linear-gradient(#04080d38,#04080d30),url("./branding/futuristic-station.png")}
:root[data-theme="hacker"]{color-scheme:dark;--bg:#071009;--text:#c9f4c6;--muted:#a7c5a0;--line:#284b2b;--panel:#09170ef2;--field:#07120a;--accent:#a0f678;--border:#68915d;--button:linear-gradient(#17351b,#0c2011);--primary:#a0f678;--primary-ink:#071009;--dialog:#0a160d;--heading:#b0ff83;--warning:#f1ca82;--error:#ffd9a1;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#284b2b;--plot-grid:#284b2b;--radius:2px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="hacker"] body::before{background-image:linear-gradient(#04080d38,#04080d30),url("./branding/hacker-network.png")}
:root[data-theme="halloween"]{color-scheme:dark;--bg:#171020;--text:#fff0db;--muted:#d0bedb;--line:#574367;--panel:#291b36;--field:#1b1126;--accent:#b6ef70;--border:#9f86ad;--button:linear-gradient(#304827,#20351c);--primary:linear-gradient(110deg,#c3f588,#a3df59);--primary-ink:#17220f;--dialog:#21162d;--heading:#ffce91;--warning:#f1ca82;--error:#ffbdc5;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#574367;--plot-grid:#574367;--radius:10px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="halloween"] body::before{background-image:linear-gradient(#04080d38,#04080d30),url("./branding/halloween-village.png")}
:root[data-theme="industrial"]{color-scheme:dark;--bg:#06090d;--text:#dce4e9;--muted:#adb9c1;--line:#354047;--panel:#10161cf5;--field:#0b1117;--accent:#58b6ca;--border:#667780;--button:linear-gradient(#293139,#1b2229);--primary:linear-gradient(110deg,#edbb83,#dca46b);--primary-ink:#111518;--dialog:#10161c;--heading:#e7edf1;--warning:#f1ca82;--error:#ffc1b4;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#354047;--plot-grid:#354047;--radius:6px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="industrial"] body::before{background-image:linear-gradient(#04080d38,#04080d30),url("./branding/industrial-archive.png")}
:root[data-theme="national-park"]{color-scheme:light;--bg:#f6f0e2;--text:#2c3d32;--muted:#61634c;--line:#d9ceaf;--panel:#f6f0e2f5;--field:#fffcf2;--accent:#365e48;--border:#8e906d;--button:#fffcf2;--primary:#365e48;--primary-ink:#fffdf8;--dialog:#f6f0e2;--heading:#294d3a;--warning:#87551c;--error:#923f47;--healthy:#2c6c46;--other:#2f7952;--cache:#365eaa;--track:#d9ceaf;--plot-grid:#d9ceaf;--radius:4px;--drive-1:#267548;--drive-2:#3159a4;--drive-3:#936019;--drive-4:#934f91;--drive-5:#08747c;}
[data-theme="national-park"] body::before{background-image:linear-gradient(#fffdf325,#fffdf325),url("./branding/national-park-valley.png")}
:root[data-theme="retro"]{color-scheme:dark;--bg:#120b20;--text:#f5edff;--muted:#c6b7d8;--line:#413151;--panel:#20132e;--field:#160c22;--accent:#6be5f9;--border:#9672b4;--button:linear-gradient(#3d204e,#261735);--primary:linear-gradient(110deg,#6be5f9,#a5b6ff);--primary-ink:#160c25;--dialog:#170d24;--heading:#f9d5f3;--warning:#f1ca82;--error:#ffadbf;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#413151;--plot-grid:#413151;--radius:10px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="retro"] body::before{background-image:linear-gradient(#04080d38,#04080d30),url("./branding/retro-sunset.png")}
:root[data-theme="scrapbook"]{color-scheme:light;--bg:#f5eddf;--text:#47382d;--muted:#73604c;--line:#deceb7;--panel:#f5eddff5;--field:#fffaf0;--accent:#80553c;--border:#a08865;--button:#fffaf0;--primary:#80553c;--primary-ink:#fffdf8;--dialog:#f5eddf;--heading:#6a4634;--warning:#87551c;--error:#923f47;--healthy:#2c6c46;--other:#2f7952;--cache:#365eaa;--track:#deceb7;--plot-grid:#deceb7;--radius:4px;--drive-1:#267548;--drive-2:#3159a4;--drive-3:#936019;--drive-4:#934f91;--drive-5:#08747c;}
[data-theme="scrapbook"] body::before{background-image:linear-gradient(#fffdf325,#fffdf325),url("./branding/scrapbook-desk.png")}
:root[data-theme="standard"]{color-scheme:light;--bg:#d2bda0;--text:#352e26;--muted:#665747;--line:#b7a184;--panel:#eadcc5f2;--field:#f4e8d5;--accent:#216779;--border:#a68e70;--button:#ecdfcb;--primary:#745034;--primary-ink:#fff6e9;--dialog:#ebddc6;--heading:#352e26;--warning:#87551c;--error:#913c30;--healthy:#2c6c46;--other:#2f7952;--cache:#365eaa;--track:#b7a184;--plot-grid:#b7a184;--radius:10px;--drive-1:#267548;--drive-2:#3159a4;--drive-3:#936019;--drive-4:#934f91;--drive-5:#08747c;}
[data-theme="standard"] body::before{background-image:linear-gradient(#fffdf325,#fffdf325),url("./branding/standard-archive.png")}
:root[data-theme="steampunk"]{color-scheme:dark;--bg:#191410;--text:#f7ead2;--muted:#c8b497;--line:#59432d;--panel:#110f10f5;--field:#100d0f;--accent:#edc17c;--border:#a18150;--button:linear-gradient(#662334,#42131f);--primary:linear-gradient(110deg,#f1cf91,#dca860);--primary-ink:#23190e;--dialog:#171114;--heading:#f6d69e;--warning:#f1ca82;--error:#ffc1ad;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#59432d;--plot-grid:#59432d;--radius:4px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="steampunk"] body::before{background-image:linear-gradient(#04080d38,#04080d30),url("./branding/steampunk-workshop.png")}
:root[data-theme="underground-comics"]{color-scheme:dark;--bg:#191717;--text:#faf2df;--muted:#d2c5b3;--line:#514943;--panel:#211b1af5;--field:#1b1816;--accent:#65e7dd;--border:#ac9588;--button:linear-gradient(#4b2d3b,#302425);--primary:#65e7dd;--primary-ink:#171719;--dialog:#25201e;--heading:#fff1d6;--warning:#f1ca82;--error:#ffb6a6;--healthy:#a9e2ba;--other:#9ddebb;--cache:#9bbff5;--track:#514943;--plot-grid:#514943;--radius:3px;--drive-1:#9ddebb;--drive-2:#9bbff5;--drive-3:#e5bd7b;--drive-4:#df9de2;--drive-5:#72d9df;}
[data-theme="underground-comics"] body::before{background-image:linear-gradient(#04080d38,#04080d30),url("./branding/comics-city.png")}
:root[data-theme="wildflower"]{color-scheme:light;--bg:#faf3f6;--text:#453347;--muted:#746073;--line:#e2d2dd;--panel:#faf3f6f5;--field:#fffbfd;--accent:#795074;--border:#ab809d;--button:#fffbfd;--primary:#795074;--primary-ink:#fffdf8;--dialog:#faf3f6;--heading:#694464;--warning:#87551c;--error:#923f47;--healthy:#2c6c46;--other:#2f7952;--cache:#365eaa;--track:#e2d2dd;--plot-grid:#e2d2dd;--radius:16px;--drive-1:#267548;--drive-2:#3159a4;--drive-3:#936019;--drive-4:#934f91;--drive-5:#08747c;}
[data-theme="wildflower"] body::before{background-image:linear-gradient(#fffdf325,#fffdf325),url("./branding/wildflower-meadow.png")}

body{background-color:var(--bg);isolation:isolate}body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-position:center;background-size:cover;background-repeat:no-repeat}
.card,.service,.drive-health-row,.drive-temperature-row{background:var(--panel);border-color:var(--line);color:var(--text)}.card,.service,.login-card{border-radius:var(--radius)}
.login-card,dialog,#drive-dialog{background:var(--dialog);color:var(--text);border-color:var(--border)}.login-panel input,#history-form select,#history-form input,.theme-picker select{background:var(--field);color:var(--text);border:1px solid var(--border)}
.quiet{background:var(--button);color:var(--text);border-color:var(--border)}.quiet:hover{background:var(--button);border-color:var(--accent);filter:brightness(1.08)}.primary{background:var(--primary);color:var(--primary-ink)}.primary:hover{background:var(--primary);filter:brightness(1.08)}
h1,h2,h3{color:var(--heading)}.card-foot,.service-name,.history-controls,.login-panel label,.session-controls{color:var(--text)}.card-label,.temperature-note,.muted,.update-controls,footer,.history-axis{color:var(--muted)}
.card-symbol{color:var(--muted)}.status-dot,.tiny-dot{background:var(--healthy)}.overall.warning .status-dot{background:var(--warning)}.service-state.warning .tiny-dot{background:var(--warning)}
.drive-health-status{color:var(--healthy)}.drive-health-row.warning,.pill.warning{border-color:var(--warning)}.drive-health-row.critical{border-color:var(--error)}.drive-health-row.unavailable .drive-health-status{color:var(--muted)}.pill{border-color:var(--healthy);color:var(--healthy)}
.memory-other{color:var(--other)}.memory-cache{color:var(--cache)}.memory-other-segment{fill:var(--other)}.memory-cache-segment{fill:var(--cache)}.memory-free-segment{fill:var(--track)}
meter,meter::-webkit-meter-bar{background:var(--track)}meter::-webkit-meter-optimum-value{background:var(--accent)}meter::-moz-meter-bar{background:var(--accent)}.chart-grid{stroke:var(--plot-grid)}
#history-chart .history-line,#cpu-line{stroke:var(--other)}#history-chart .history-band{fill:color-mix(in srgb,var(--other) 20%,transparent)}.history-memory-other{fill:color-mix(in srgb,var(--other) 40%,transparent);stroke:var(--other)}.history-memory-cache{fill:color-mix(in srgb,var(--cache) 40%,transparent);stroke:var(--cache)}.history-memory-range{fill:color-mix(in srgb,var(--cache) 20%,transparent)}
.history-legacy-key{color:var(--muted)}.history-legacy-line{stroke:var(--muted)}.history-legacy-range{fill:color-mix(in srgb,var(--muted) 10%,transparent)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.theme-picker{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.theme-picker select{min-height:34px;max-width:100%;min-width:0;border-radius:5px;padding:5px 8px;font:inherit}.login-theme-picker{justify-content:center;margin-top:24px}.login-card{box-shadow:0 18px 60px #0004}.page-top .theme-picker{justify-content:flex-end}
[data-theme=hacker] body{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}[data-theme=arcade] :is(h1,h2,h3,.primary){font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-weight:800}[data-theme=underground-comics] :is(h1,h2,h3){font-family:Impact,'Arial Narrow',sans-serif;letter-spacing:.6px}
:is([data-theme=botanical],[data-theme=national-park],[data-theme=coastal],[data-theme=wildflower],[data-theme=scrapbook],[data-theme=darkroom],[data-theme=steampunk],[data-theme=halloween],[data-theme=christmas]) :is(h1,h2,h3){font-family:Georgia,'Times New Roman',serif}
[data-theme=hacker] :is(.card,.login-card,button),[data-theme=arcade] :is(.card,.login-card,button){border-radius:2px}[data-theme=scrapbook] .card{border-style:dashed}[data-theme=industrial] .card{border-top:2px solid #cb7a33}[data-theme=halloween] .card{border-radius:16px 4px}[data-theme=arcade] .primary{box-shadow:3px 3px 0 #d86139;text-transform:uppercase}[data-theme=underground-comics] .primary{box-shadow:3px 3px 0 #d44d94}
@media(max-width:600px){.account-bar .theme-picker{flex-direction:column;align-items:flex-end;gap:3px}.page-top{gap:10px}.account-bar{max-width:calc(100% - 178px)}.theme-picker select{font-size:10px;padding:5px 3px}.login-theme-picker{flex-wrap:wrap}body::before{background-position:60% center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.login-panel .theme-picker{display:flex;flex-direction:row;gap:8px;color:var(--muted);font-size:11px}
/* Keep labels legible where scenic artwork sits behind the overview. */
:root:not([data-theme=classic]):not([data-theme=darkroom]) :is(.summary-line,.section-heading,.history-controls,.applications,footer){background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:12px 14px}
:root:not([data-theme=classic]):not([data-theme=darkroom]) .account-bar{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:10px}
.account-bar .theme-picker{max-width:100%;min-width:0}.account-bar .theme-picker select{width:100%}

/* Frame both logos against artwork without changing their displayed dimensions. */
.brand-logo img,.login-brand{border:2px solid var(--border);background:var(--field)}.brand-logo img{border-radius:inherit}.brand-logo,.login-brand{box-shadow:0 3px 12px #0004}

#theme-status{max-width:210px;margin:0;font-size:10px;text-align:right;color:var(--muted);overflow-wrap:anywhere}#theme-status:empty{display:none}#theme-status.theme-save-error{color:var(--warning)}
