/* Shared scenery and appearance for the portal, installer and on-screen reports. */
:root {
  color-scheme: light;
  --photo32:url("scenes/daylight.webp");
  --wash32:linear-gradient(180deg,rgba(218,240,255,.17),transparent 47%,rgba(29,64,48,.06));
  --base32:#a9cee0; --bg:#b6d8e8; --deep:#edf7f7;
  --text:#102d32; --copy:#1e393e; --muted:#364e50; --aqua:#07504c; --sky:#064b64;
  --ink:#fff; --focus:#035ec6; --brand-hover:#083c3c; --red:#80243d; --warning:#63410d;
  --line:rgba(39,80,86,.22); --line-strong:rgba(27,64,71,.4);
  --surface:#f2f8f7; --panel2:rgba(242,249,247,.64); --field:rgba(255,255,255,.80); --hover:#e0eeed;
  --glass:linear-gradient(132deg,rgba(255,255,255,.79),rgba(249,255,255,.49) 68%,rgba(227,246,242,.57));
  --glass-sheer32:linear-gradient(125deg,rgba(241,253,255,.52),rgba(235,249,246,.33));
  --glass-bright32:linear-gradient(128deg,rgba(255,255,255,.93),rgba(255,255,255,.72));
  --elevated:linear-gradient(135deg,rgba(250,255,255,.97),rgba(237,246,244,.94));
  --edge32:rgba(255,255,255,.78); --edge-low32:rgba(249,255,255,.36);
  --shadow32:inset 0 1px 0 rgba(255,255,255,.82),inset 0 -1px 0 rgba(255,255,255,.16),0 10px 32px -20px rgba(18,52,57,.45);
  --glass-blur32:blur(10px) saturate(122%); --control32:rgba(248,255,255,.67);
  --selected32:rgba(212,240,230,.9); --accent-bg32:rgba(228,251,236,.77);
  --warn-bg32:#f8eccc; --error-bg32:#f9e4e6; --dim32:rgba(12,30,37,.39);
  --hero-ink32:#0c303a; --hero-copy32:#1a3b43;
  --hero-veil32:linear-gradient(107deg,rgba(240,251,255,.74) 0%,rgba(236,249,255,.43) 60%,rgba(235,252,255,.15));
  --theme-tint32:#d9eef1; --panel:var(--surface); --control-border:var(--line-strong); --lime:var(--aqua); --fresh:var(--aqua);
}
:root[data-scene="dusk"] {
  color-scheme:dark;
  --photo32:url("scenes/dusk.webp");
  --wash32:linear-gradient(180deg,rgba(0,16,24,.17),rgba(1,16,23,.04) 58%,rgba(3,18,21,.18));
  --base32:#193740; --bg:#193740; --deep:#162e35;
  --text:#f9fcfa; --copy:#edf6f3; --muted:#d6e6df; --aqua:#bcf4df; --sky:#d0f0ff;
  --ink:#112b28; --focus:#ffdfa1; --brand-hover:#ddffee; --red:#ffc4cc; --warning:#ffe5ad;
  --line:rgba(218,242,238,.26); --line-strong:rgba(224,246,242,.43);
  --surface:#19343b; --panel2:rgba(17,45,48,.67); --field:rgba(9,30,38,.77); --hover:#285052;
  --glass:linear-gradient(125deg,rgba(34,67,73,.67),rgba(14,37,43,.55) 73%,rgba(50,75,75,.57));
  --glass-sheer32:linear-gradient(125deg,rgba(51,81,88,.49),rgba(12,35,44,.46));
  --glass-bright32:linear-gradient(125deg,rgba(69,91,93,.70),rgba(24,46,54,.70));
  --elevated:linear-gradient(125deg,rgba(31,54,62,.97),rgba(16,37,44,.96));
  --edge32:rgba(235,253,251,.42); --edge-low32:rgba(221,245,244,.19);
  --shadow32:inset 0 1px 0 rgba(248,255,250,.28),inset 0 -1px 0 rgba(201,255,247,.06),0 12px 32px -20px rgba(0,8,15,.65);
  --control32:rgba(27,55,61,.7); --selected32:rgba(40,77,72,.89); --accent-bg32:rgba(32,71,66,.78);
  --warn-bg32:#473c29; --error-bg32:#49303a; --dim32:rgba(1,12,21,.55);
  --hero-ink32:#fff; --hero-copy32:#f2f7f3;
  --hero-veil32:linear-gradient(105deg,rgba(5,28,38,.66),rgba(7,29,38,.38) 62%,rgba(5,24,33,.10));
  --theme-tint32:#284a52;
}
@media (max-width:720px) and (orientation:portrait) {
  :root{--photo32:url("scenes/daylight-mobile.webp")}
  :root[data-scene="dusk"]{--photo32:url("scenes/dusk-mobile.webp")}
}
@media screen {
  html{min-height:100%;background:var(--base32)}
  body{background:transparent;position:relative;isolation:isolate;min-height:100vh;margin:0}
  .scenery32{position:fixed;inset:0;pointer-events:none;z-index:-1;overflow:hidden;background-color:var(--base32)}
  .scenery32::before,.scenery32::after{content:"";position:absolute;inset:0;pointer-events:none}
  .scenery32::before{background-image:var(--photo32);background-size:cover;background-position:50% 50%;background-repeat:no-repeat}
  .scenery32::after{background-image:var(--wash32)}
}
.public-bar32{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px;position:relative;z-index:1;max-width:1560px;margin:0 auto;padding:clamp(14px,2.2vw,32px) clamp(16px,4.8vw,80px)}
.public-bar32 .scene-toggle32{margin-left:auto}.wordmark32,.scene-toggle32{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font:650 .90rem/1.2 Inter,system-ui,sans-serif;color:var(--text);background:var(--glass-bright32);border:1px solid var(--edge32);border-radius:50px;box-shadow:var(--shadow32);min-height:42px;padding:5px 14px 5px 6px;max-width:100%}
.word-mark32{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--aqua);color:var(--ink)}
.word-image32{width:18px;height:18px}
button.scene-toggle32{cursor:pointer;font-size:.88rem;white-space:nowrap;gap:6px;padding:7px 12px;min-height:42px;background:var(--glass-bright32);color:var(--text);border:1px solid var(--edge32);border-radius:999px}
.scene-toggle32 [data-symbol]{display:inline-flex}.scene-toggle32 [data-symbol=dusk],html[data-scene=dusk] .scene-toggle32 [data-symbol=daylight]{display:none}
html[data-scene=dusk] .scene-toggle32 [data-symbol=dusk]{display:inline-flex}
.public-bar32 a:focus-visible,.scene-toggle32:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
body:has(.workspace)>.public-bar32{display:none}
@supports (backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px)){
 .wordmark32,.scene-toggle32{-webkit-backdrop-filter:var(--glass-blur32);backdrop-filter:var(--glass-blur32)}
}
@media(max-width:700px){:root,:root[data-scene=dusk]{--glass-blur32:blur(6px) saturate(112%)}.public-bar32{padding:13px max(14px,env(safe-area-inset-left))}}
@media(prefers-reduced-transparency:reduce){
 :root,:root[data-scene=dusk]{--glass:var(--surface);--glass-bright32:var(--surface);--glass-sheer32:var(--surface);--glass-blur32:none;--hero-veil32:var(--surface)}
}
@media print{.scenery32,.public-bar32,.scene-toggle32,.glass-rail32,.glass-profile32,.icon-control32,.mobile-nav31{display:none!important}}
@media(forced-colors:active){.scenery32{display:none}.public-bar32 a,.scene-toggle32{border:1px solid ButtonText}}


:root[data-wallpaper=daylight]{--photo32:url('scenes/daylight.webp')}
:root[data-wallpaper=dusk]{--photo32:url('scenes/dusk.webp')}
:root[data-wallpaper=lake]{--photo32:url('scenes/lake.webp')}
:root[data-wallpaper=studio]{--photo32:url('scenes/studio.webp')}
:root[data-wallpaper=personal]{--photo32:var(--user-image33)}
:root[data-wallpaper=plain]{--photo32:none;--wash32:none}
@media(max-width:720px) and (orientation:portrait){
 :root[data-wallpaper=daylight]{--photo32:url('scenes/daylight-mobile.webp')}
 :root[data-wallpaper=dusk]{--photo32:url('scenes/dusk-mobile.webp')}
 :root[data-wallpaper=lake]{--photo32:url('scenes/lake-mobile.webp')}
 :root[data-wallpaper=studio]{--photo32:url('scenes/studio-mobile.webp')}
}

