/* plain.css — p169 (Albert, 2026-11-22: "at first restore the old black and white design but save the current one"; card:
   look only, keep features). The old two looks, Dark and White, over the Sky / Sunrise / Dark design (p157–p168): plain
   grounds, no sky, no clouds, no stars, no glass. What was built since keeps working in black and white: the conversation
   and the five in their panels, the work panel and its Laptop | Phone view, the phone shelves, the centred legends.
   Everything here is under html[data-plain] (theme.js PLAIN). With PLAIN = false this sheet does nothing and the sky design
   is back exactly as it was; it is also saved as git tag design/sky-sunrise-dark-2026-11-22. Loaded last. */

/* ------------------------------------------------------------------ the landing: the black page, the white page (p155) */
html[data-plain] .lg-sky,html[data-plain] .lg-bank{display:none!important}
html[data-plain][data-gb][data-sky="dark"] .lg{
  background:radial-gradient(ellipse 70% 45% at 50% 82%,rgba(255,255,255,.07),rgba(0,0,0,0) 70%),
    radial-gradient(ellipse 50% 40% at 50% 0%,rgba(255,255,255,.06),rgba(0,0,0,0) 70%),#000}
html[data-plain][data-gb]:not([data-sky="dark"]) .lg{color:var(--lt-text);
  background:radial-gradient(ellipse 70% 45% at 50% 82%,rgba(255,255,255,.9),rgba(255,255,255,0) 70%),
    radial-gradient(ellipse 50% 40% at 50% 0%,rgba(255,255,255,.95),rgba(255,255,255,0) 70%),var(--lt-page)}
html[data-plain][data-gb]:not([data-sky="dark"]) .lg-h1{color:var(--lt-ink)}
html[data-plain][data-gb]:not([data-sky="dark"]) .lg-joinform{box-shadow:inset 0 0 0 1px var(--lt-field),0 24px 60px rgba(24,24,20,.08),0 0 0 6px rgba(24,24,20,.025)}
html[data-plain][data-gb]:not([data-sky="dark"]) .lg-signin{background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(24,24,20,.13),0 1px 2px rgba(24,24,20,.04);color:var(--lt-text)}
html[data-plain][data-gb]:not([data-sky="dark"]) .lg-signin:hover{background:#fff;box-shadow:inset 0 0 0 1px rgba(24,24,20,.24),0 1px 2px rgba(24,24,20,.06);color:var(--lt-ink)}
html[data-plain][data-gb]:not([data-sky="dark"]) .lg .lg-theme{background:#e9e9e5;box-shadow:none;color:#8a8a85}
html[data-plain][data-gb]:not([data-sky="dark"]) .lg .lg-theme .home-themeknob{background:#fff;box-shadow:0 1px 3px rgba(24,24,20,.18),0 0 0 1px rgba(24,24,20,.06)}
html[data-plain][data-gb]:not([data-sky="dark"]) .lg .lg-theme .home-themeb:hover{color:#3d3d3a}
html[data-plain][data-gb]:not([data-sky="dark"]) .lg .lg-theme .home-themeb[aria-checked="true"]{color:var(--lt-ink)}

/* ------------------------------------------------------------------ the switch: two keys again, Dark · White (moon, sun) */
html[data-plain] .home-theme{width:74px}
html[data-plain] .home-theme .home-themeknob{transform:translateX(calc(36px * var(--k,0)))}

/* ------------------------------------------------------------------ the chat on a laptop: plain grounds, solid panels */
@media (min-width:801px){
  html[data-plain][data-home][data-look="chats"]:not([data-theme="light"]) body{background:#0a0a0a}
  html[data-plain][data-home][data-look="chats"][data-theme="light"] body{background:#ecece8}
  html[data-plain][data-home][data-look="chats"]:not([data-theme="light"]){
    --cd-glass:#111111; --cd-line:rgba(255,255,255,.07); --cd-shadow:none; --cd-well:rgba(255,255,255,.05); --cd-wellline:rgba(255,255,255,.09);
    --cw-xglass:rgba(17,17,17,.97)}
  html[data-plain][data-home][data-look="chats"][data-theme="light"]{
    --cd-glass:#f7f7f5; --cd-line:#e2e2dd; --cd-shadow:0 1px 2px rgba(24,24,20,.04),0 10px 28px rgba(40,36,28,.05);
    --cd-well:#efefeb; --cd-wellline:#e2e2dd; --cw-xglass:rgba(247,247,245,.97)}
  html[data-plain][data-home][data-look="chats"] :is(.home-side,main,.cw)::before{backdrop-filter:none;-webkit-backdrop-filter:none}
  html[data-plain][data-home][data-look="chats"][data-home-stage] .home-stage{backdrop-filter:none;-webkit-backdrop-filter:none;background:#111111}
  html[data-plain][data-home][data-look="chats"][data-home-stage][data-theme="light"] .home-stage{background:#f7f7f5}
  /* credits and account: the old dark keys, the old white ones */
  html[data-plain][data-home][data-look="chats"]:not([data-theme="light"]) :is(.home-cred,.home-me){background:#1a1a1a;color:#e9e9e6;box-shadow:none}
  html[data-plain][data-home][data-look="chats"]:not([data-theme="light"]) :is(.home-cred,.home-me):hover{background:#242424;color:#fff}
  html[data-plain][data-home][data-look="chats"][data-theme="light"] :is(.home-cred,.home-me){background:#fff;color:#2b2b29;box-shadow:inset 0 0 0 1px #e5e5e1}
  html[data-plain][data-home][data-look="chats"][data-theme="light"] :is(.home-cred,.home-me):hover{background:#fafaf8;color:#161616}
  /* the switch at the foot of the five's panel: home.css's dark pill, theme-light's white one */
  html[data-plain][data-home][data-look="chats"]:not([data-theme="light"]) .home-sidefoot .home-theme{background:#1a1a1a;box-shadow:none}
  html[data-plain][data-home][data-look="chats"][data-theme="light"] .home-sidefoot .home-theme{background:#e9e9e5;box-shadow:none;color:#8a8a85}
  html[data-plain][data-home][data-look="chats"][data-theme="light"] .home-sidefoot .home-themeknob{background:#fff;box-shadow:0 1px 3px rgba(24,24,20,.18),0 0 0 1px rgba(24,24,20,.06)}
  html[data-plain][data-home][data-look="chats"][data-theme="light"] .home-sidefoot .home-themeb:hover{color:#3d3d3a}
  html[data-plain][data-home][data-look="chats"][data-theme="light"] .home-sidefoot .home-themeb[aria-checked="true"]{color:var(--lt-ink)}
}

/* ------------------------------------------------------------------ the Dashboard: its own dark and white (before p160) */
html[data-plain] .dsh-sky{display:none}
html[data-plain]:not([data-theme="light"]) #dash{
  --d-bg:#111111; --d-ink:#f4f4f1; --d-text:#e9e9e6; --d-mute:#8e8e8a; --d-faint:#6f6f6b; --d-line:#1c1c1c; --d-hair:rgba(255,255,255,.075);
  --d-card:rgba(22,22,24,.88); --d-cardline:rgba(255,255,255,.075); --d-shadow:0 6px 18px rgba(0,0,0,.16); --d-well:rgba(255,255,255,.05);
  --d-chip:#161618; --d-chipline:#262628; --d-tag:rgba(14,14,15,.86); --d-tagline:rgba(255,255,255,.10);
  --d-green:#3ad07e; --d-bar:#f4f4f1; --d-focus:#6c9cff;
  --wg-bg:#1c1c1e; --wg-line:rgba(255,255,255,.06); --wg-shadow:none; --wg-track:rgba(255,255,255,.10);
  color-scheme:dark; background:var(--d-bg)}
html[data-plain][data-theme="light"] #dash{
  --d-bg:#f7f7f5; --d-ink:#161616; --d-text:#2b2b29; --d-mute:#5c5c58; --d-faint:#6b6b67; --d-line:#e5e5e1; --d-hair:rgba(0,0,0,.07);
  --d-card:rgba(255,255,255,.92); --d-cardline:rgba(0,0,0,.06); --d-shadow:0 1px 2px rgba(0,0,0,.04),0 8px 20px rgba(40,36,28,.06); --d-well:rgba(0,0,0,.04);
  --d-chip:#fff; --d-chipline:#e5e5e1; --d-tag:rgba(255,255,255,.95); --d-tagline:rgba(0,0,0,.08);
  --d-green:#177a42; --d-bar:#161616; --d-focus:#2f6fd6;
  --wg-bg:#ffffff; --wg-line:rgba(0,0,0,.04); --wg-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 32px rgba(40,36,28,.08); --wg-track:rgba(0,0,0,.07);
  color-scheme:light; background:var(--d-bg)}
html[data-plain] #dash .dsh-top{border-bottom:1px solid var(--d-line)}
html[data-plain]:not([data-theme="light"]) #dash .dsh-word{filter:none}
html[data-plain][data-theme="light"] #dash .dsh-word{filter:invert(1)}
html[data-plain]:not([data-theme="light"]) #dash :is(.dsh-cred,.dsh-me){background:#1a1a1a;color:#e9e9e6;box-shadow:none}
html[data-plain]:not([data-theme="light"]) #dash :is(.dsh-cred,.dsh-me):hover{background:#242424;color:#fff}
html[data-plain][data-theme="light"] #dash :is(.dsh-cred,.dsh-me){background:#fff;color:#2b2b29;box-shadow:inset 0 0 0 1px #e5e5e1}
html[data-plain][data-theme="light"] #dash :is(.dsh-cred,.dsh-me):hover{background:#fafaf8;color:#161616}
html[data-plain]:not([data-theme="light"]) #dash .dsh-ringtrack{stroke:rgba(255,255,255,.09)}
html[data-plain]:not([data-theme="light"]) #dash .dsh-ringarc{stroke:#2e8bff}
html[data-plain][data-theme="light"] #dash .dsh-ringtrack{stroke:rgba(0,0,0,.09)}
html[data-plain][data-theme="light"] #dash .dsh-ringarc{stroke:#1f6fe0}
html[data-plain] #dash .dsh-site{background:var(--d-chip);box-shadow:inset 0 0 0 1px var(--d-chipline)}
html[data-plain] #dash :is(.dsh-card,.dsh-now){backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-plain]:not([data-theme="light"]) #dash .dsh-card{--cc:color-mix(in srgb,var(--c) 82%,#fff)}
html[data-plain][data-theme="light"] #dash .dsh-card{--cc:color-mix(in srgb,var(--c) 74%,#000)}
