/* =====================================================================
   Rutu Labs: five season themes. RUTU means "seasons".
   Set with <html data-season="..."> (and data-theme="light" | "dark", or neither to follow the computer).
   Each season sets the page colours; status colours (urgent, failed...) stay the same in every season.
   ===================================================================== */

/* Vasant (spring): new leaves and mustard fields */
:root[data-season="vasant"] { --bg:#EEF4EA; --surface:#FFFFFF; --surface-2:#F3F8F0; --line:#D5E1CF; --line-strong:#B5C7AC; --ink:#16211A; --ink-2:#435346; --ink-3:#66756A; --accent:#2E7D3A; --accent-hover:#256A30; --accent-ink:#FFFFFF; --accent-soft:#DCEFD9; }
/* Grishma (summer): saffron sun and terracotta */
:root[data-season="grishma"] { --bg:#F6EEE6; --surface:#FFFDFB; --surface-2:#FBF4EE; --line:#E7D8CB; --line-strong:#CDB6A3; --ink:#24170F; --ink-2:#5A4535; --ink-3:#7D6656; --accent:#C2410C; --accent-hover:#A3360A; --accent-ink:#FFFFFF; --accent-soft:#FCE3D3; }
/* Varsha (monsoon): rain clouds and deep blue */
:root[data-season="varsha"] { --bg:#E7EDF4; --surface:#FFFFFF; --surface-2:#F0F4F9; --line:#D0DAE6; --line-strong:#AEBDD0; --ink:#121C29; --ink-2:#3F4E61; --ink-3:#627185; --accent:#1F5FAD; --accent-hover:#194F91; --accent-ink:#FFFFFF; --accent-soft:#DCE8F8; }
/* Sharad (autumn): clear skies, harvest gold */
:root[data-season="sharad"] { --bg:#F4F0E4; --surface:#FFFEFA; --surface-2:#F9F5EA; --line:#E3DAC4; --line-strong:#C8BA97; --ink:#1F1A0E; --ink-2:#534A33; --ink-3:#776D54; --accent:#8F6200; --accent-hover:#765100; --accent-ink:#FFFFFF; --accent-soft:#F5E8C4; }
/* Shishir (late winter): frost and violet dusk */
:root[data-season="shishir"] { --bg:#ECEBF3; --surface:#FFFFFF; --surface-2:#F4F3F9; --line:#D9D7E6; --line-strong:#B9B5D0; --ink:#18172A; --ink-2:#45435E; --ink-3:#696785; --accent:#5B4BA8; --accent-hover:#4B3D8E; --accent-ink:#FFFFFF; --accent-soft:#E6E2F6; }

/* Dark versions: when the computer is set to dark (and the user has not chosen light) ... */
@media (prefers-color-scheme: dark) {
  :root[data-season="vasant"]:not([data-theme="light"]) { --bg:#0D140F; --surface:#142017; --surface-2:#1A291E; --line:#263829; --line-strong:#37503B; --ink:#E6EFE6; --ink-2:#AFC2B1; --ink-3:#8A9E8D; --accent:#7DCB86; --accent-hover:#98D8A0; --accent-ink:#0A230F; --accent-soft:#173322; }
  :root[data-season="grishma"]:not([data-theme="light"]) { --bg:#16100C; --surface:#1F1712; --surface-2:#281E17; --line:#3A2C22; --line-strong:#533F31; --ink:#F3E9E1; --ink-2:#CDB8A8; --ink-3:#A48E7E; --accent:#F59E5B; --accent-hover:#F8B57F; --accent-ink:#2A1204; --accent-soft:#3A2214; }
  :root[data-season="varsha"]:not([data-theme="light"]) { --bg:#0B111C; --surface:#111A28; --surface-2:#172233; --line:#233147; --line-strong:#35486A; --ink:#E5ECF5; --ink-2:#AABACD; --ink-3:#8394AA; --accent:#7FB0F2; --accent-hover:#9CC3F6; --accent-ink:#08182E; --accent-soft:#14294A; }
  :root[data-season="sharad"]:not([data-theme="light"]) { --bg:#13110A; --surface:#1C1910; --surface-2:#252116; --line:#383120; --line-strong:#50462E; --ink:#F2EDDF; --ink-2:#CBC0A2; --ink-3:#A39878; --accent:#E9B949; --accent-hover:#F0CA6E; --accent-ink:#251A00; --accent-soft:#3A2F12; }
  :root[data-season="shishir"]:not([data-theme="light"]) { --bg:#0F0F18; --surface:#161623; --surface-2:#1D1D2E; --line:#2A2A40; --line-strong:#3E3D5C; --ink:#ECEBF5; --ink-2:#B6B4CD; --ink-3:#8F8DAA; --accent:#A99CF0; --accent-hover:#BEB4F4; --accent-ink:#16113A; --accent-soft:#262245; }
}
/* ... or when the user has chosen dark. */
:root[data-season="vasant"][data-theme="dark"] { --bg:#0D140F; --surface:#142017; --surface-2:#1A291E; --line:#263829; --line-strong:#37503B; --ink:#E6EFE6; --ink-2:#AFC2B1; --ink-3:#8A9E8D; --accent:#7DCB86; --accent-hover:#98D8A0; --accent-ink:#0A230F; --accent-soft:#173322; }
:root[data-season="grishma"][data-theme="dark"] { --bg:#16100C; --surface:#1F1712; --surface-2:#281E17; --line:#3A2C22; --line-strong:#533F31; --ink:#F3E9E1; --ink-2:#CDB8A8; --ink-3:#A48E7E; --accent:#F59E5B; --accent-hover:#F8B57F; --accent-ink:#2A1204; --accent-soft:#3A2214; }
:root[data-season="varsha"][data-theme="dark"] { --bg:#0B111C; --surface:#111A28; --surface-2:#172233; --line:#233147; --line-strong:#35486A; --ink:#E5ECF5; --ink-2:#AABACD; --ink-3:#8394AA; --accent:#7FB0F2; --accent-hover:#9CC3F6; --accent-ink:#08182E; --accent-soft:#14294A; }
:root[data-season="sharad"][data-theme="dark"] { --bg:#13110A; --surface:#1C1910; --surface-2:#252116; --line:#383120; --line-strong:#50462E; --ink:#F2EDDF; --ink-2:#CBC0A2; --ink-3:#A39878; --accent:#E9B949; --accent-hover:#F0CA6E; --accent-ink:#251A00; --accent-soft:#3A2F12; }
:root[data-season="shishir"][data-theme="dark"] { --bg:#0F0F18; --surface:#161623; --surface-2:#1D1D2E; --line:#2A2A40; --line-strong:#3E3D5C; --ink:#ECEBF5; --ink-2:#B6B4CD; --ink-3:#8F8DAA; --accent:#A99CF0; --accent-hover:#BEB4F4; --accent-ink:#16113A; --accent-soft:#262245; }

/* ---------- brand block (top of the menu) ---------- */
.brand .mark .dot { fill: var(--ink); stroke: var(--surface); }
.brand .word { display: flex; flex-direction: column; line-height: 1.1; }
.brand .word b { font-size: 19px; font-weight: 700; letter-spacing: .01em; }
.brand .word b span { font-size: inherit; font-weight: 300; color: var(--ink-2); margin-left: 3px; }
.brand .word small { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }

/* ---------- season picker (Settings) ---------- */
.seasons { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.season-card { position: relative; display: block; border: 2px solid var(--line); border-radius: 10px; padding: 10px; cursor: pointer; background: var(--surface); text-align: left; }
.season-card:has(input:checked) { border-color: var(--ink); }
.season-card input { position: absolute; opacity: 0; pointer-events: none; }
.season-card input:focus-visible + .sw { outline: 2px solid var(--accent); outline-offset: 2px; }
.season-card .sw { display: flex; height: 34px; border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.season-card .sw i { flex: 1; }
.season-card b { display: block; font-size: 14px; }
.season-card span { font-size: 12.5px; color: var(--ink-3); }

/* =====================================================================
   Rich Ivory & Burgundy: warm ivory pages, a deep burgundy gradient menu with ivory text, burgundy gradient buttons.
   Dark version: burgundy-black, with ivory text and rose accents.
   ===================================================================== */
:root[data-season="ivory"] { --bg:#F7F1E5; --surface:#FFFCF6; --surface-2:#F8F0E3; --line:#E7DAC6; --line-strong:#CDB89B; --ink:#2A1418; --ink-2:#5C3A40; --ink-3:#86646A; --accent:#7A1F3D; --accent-hover:#621832; --accent-ink:#FFF8EC; --accent-soft:#F4DDE3;
  --wine-1:#4A0D22; --wine-2:#7A1F3D; --wine-3:#9C3557; --ivory:#FFF6E6; --ivory-dim:#E9D6C2; --gold:#C9A46A; }
@media (prefers-color-scheme: dark) {
  :root[data-season="ivory"]:not([data-theme="light"]) { --bg:#140A0D; --surface:#1E0F14; --surface-2:#28141B; --line:#3B1F28; --line-strong:#57303D; --ink:#F6EBDD; --ink-2:#D9C3B4; --ink-3:#AD9184; --accent:#E59AB1; --accent-hover:#EDB3C5; --accent-ink:#2A0A15; --accent-soft:#3A1824;
    --wine-1:#22070F; --wine-2:#3E0F1F; --wine-3:#5A1A30; --ivory:#F6EBDD; --ivory-dim:#BFA79A; --gold:#D9B77E; }
}
:root[data-season="ivory"][data-theme="dark"] { --bg:#140A0D; --surface:#1E0F14; --surface-2:#28141B; --line:#3B1F28; --line-strong:#57303D; --ink:#F6EBDD; --ink-2:#D9C3B4; --ink-3:#AD9184; --accent:#E59AB1; --accent-hover:#EDB3C5; --accent-ink:#2A0A15; --accent-soft:#3A1824;
  --wine-1:#22070F; --wine-2:#3E0F1F; --wine-3:#5A1A30; --ivory:#F6EBDD; --ivory-dim:#BFA79A; --gold:#D9B77E; }

/* page: a soft ivory glow */
:root[data-season="ivory"] body { background: radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 55%), linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--bg) 92%, var(--accent))); background-attachment: fixed; }
/* menu: deep burgundy gradient with ivory text */
:root[data-season="ivory"] .side { background: linear-gradient(165deg, var(--wine-2) 0%, var(--wine-1) 70%); border-right-color: transparent; color: var(--ivory); box-shadow: 2px 0 18px rgba(74, 13, 34, .18); }
:root[data-season="ivory"] .side .brand .word b, :root[data-season="ivory"] .side .brand .word b span { color: var(--ivory); }
:root[data-season="ivory"] .side .brand .word small, :root[data-season="ivory"] .side .note, :root[data-season="ivory"] .side .conn { color: var(--ivory-dim); }
:root[data-season="ivory"] .brand .mark .dot { fill: var(--ivory); stroke: var(--wine-1); }
:root[data-season="ivory"] .nav { color: var(--ivory-dim); }
:root[data-season="ivory"] .nav:hover { background: rgba(255, 246, 230, .1); color: var(--ivory); }
:root[data-season="ivory"] .nav[aria-current=page] { background: linear-gradient(90deg, var(--ivory), color-mix(in srgb, var(--ivory) 85%, var(--gold))); color: var(--wine-1); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
:root[data-season="ivory"] .nav .count { background: rgba(255, 246, 230, .14); color: var(--ivory); }
:root[data-season="ivory"] .nav[aria-current=page] .count { background: color-mix(in srgb, var(--wine-2) 14%, transparent); color: var(--wine-1); }
:root[data-season="ivory"] .side .btn.ghost { color: var(--ivory); }
:root[data-season="ivory"] .side .btn.ghost:hover { background: rgba(255, 246, 230, .1); }
/* buttons and panels */
:root[data-season="ivory"] .btn.primary { background: linear-gradient(180deg, var(--wine-3), var(--wine-2)); border-color: var(--wine-2); color: #FFF8EC; box-shadow: 0 1px 2px rgba(74, 13, 34, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
:root[data-season="ivory"] .btn.primary:hover { background: linear-gradient(180deg, var(--wine-2), var(--wine-1)); }
:root[data-season="ivory"] .panel { box-shadow: 0 1px 3px rgba(74, 13, 34, .06); }
:root[data-season="ivory"] .panel-h { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 9%, transparent), transparent); border-radius: inherit; }
@media (max-width: 900px) { :root[data-season="ivory"] .side { background: linear-gradient(120deg, var(--wine-2), var(--wine-1)); } }

/* =====================================================================
   Liquid Glass: translucent frosted panels over a soft colour backdrop. Light and dark.
   Browsers without backdrop blur get plain panels (see @supports at the end).
   ===================================================================== */
:root[data-season="glass"] { --bg:#E6EEFA; --surface:rgba(255,255,255,.58); --surface-2:rgba(255,255,255,.38); --line:rgba(255,255,255,.75); --line-strong:rgba(110,130,165,.38); --ink:#0E1A2C; --ink-2:#38475E; --ink-3:#5C6C84; --accent:#0A6CFF; --accent-hover:#0058D6; --accent-ink:#FFFFFF; --accent-soft:rgba(10,108,255,.14);
  --glass-edge:rgba(255,255,255,.85); --glass-shadow:0 10px 34px rgba(31,56,104,.14); --glass-solid:#F4F8FE; --glass-panel:rgba(255,255,255,.72);
  --backdrop: radial-gradient(42% 46% at 12% 8%, #A9D2FF 0%, transparent 70%), radial-gradient(40% 44% at 92% 12%, #D9C7FF 0%, transparent 70%), radial-gradient(46% 50% at 80% 96%, #FFCFE2 0%, transparent 70%), radial-gradient(44% 48% at 6% 94%, #BFF3E4 0%, transparent 70%), #E6EEFA; }
@media (prefers-color-scheme: dark) {
  :root[data-season="glass"]:not([data-theme="light"]) { --bg:#090E1C; --surface:rgba(255,255,255,.085); --surface-2:rgba(255,255,255,.055); --line:rgba(255,255,255,.16); --line-strong:rgba(255,255,255,.26); --ink:#EEF3FC; --ink-2:#BFCADD; --ink-3:#93A1B8; --accent:#72B4FF; --accent-hover:#96C7FF; --accent-ink:#04152E; --accent-soft:rgba(114,180,255,.18);
    --glass-edge:rgba(255,255,255,.22); --glass-shadow:0 14px 40px rgba(0,0,0,.45); --glass-solid:#141B2E; --glass-panel:rgba(22,30,50,.62);
    --backdrop: radial-gradient(42% 46% at 12% 8%, #1C4E9A 0%, transparent 70%), radial-gradient(40% 44% at 92% 12%, #4B2F93 0%, transparent 70%), radial-gradient(46% 50% at 80% 96%, #7A2452 0%, transparent 70%), radial-gradient(44% 48% at 6% 94%, #0F5C55 0%, transparent 70%), #090E1C; }
}
:root[data-season="glass"][data-theme="dark"] { --bg:#090E1C; --surface:rgba(255,255,255,.085); --surface-2:rgba(255,255,255,.055); --line:rgba(255,255,255,.16); --line-strong:rgba(255,255,255,.26); --ink:#EEF3FC; --ink-2:#BFCADD; --ink-3:#93A1B8; --accent:#72B4FF; --accent-hover:#96C7FF; --accent-ink:#04152E; --accent-soft:rgba(114,180,255,.18);
  --glass-edge:rgba(255,255,255,.22); --glass-shadow:0 14px 40px rgba(0,0,0,.45); --glass-solid:#141B2E; --glass-panel:rgba(22,30,50,.62);
  --backdrop: radial-gradient(42% 46% at 12% 8%, #1C4E9A 0%, transparent 70%), radial-gradient(40% 44% at 92% 12%, #4B2F93 0%, transparent 70%), radial-gradient(46% 50% at 80% 96%, #7A2452 0%, transparent 70%), radial-gradient(44% 48% at 6% 94%, #0F5C55 0%, transparent 70%), #090E1C; }

/* Everything below is shared by the two glass themes: Liquid Glass and Ikigai (Ikigai colours are in themes.css). */
:root:is([data-season="glass"],[data-season="ikigai"]) body { background: var(--bg); }
/* The colour backdrop is a fixed layer the browser draws once, instead of re-drawing the page background on every scroll. */
:root:is([data-season="glass"],[data-season="ikigai"]) body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--backdrop); pointer-events: none; }
/* the glass surfaces. Blur is costly (it is recalculated whenever anything under it moves), so only the two large
   surfaces are blurred, the menu and dialogs; panels, cards, and buttons are simply translucent, which looks much the same
   over the soft backdrop and keeps a long Library smooth on PCs without strong graphics. */
:root:is([data-season="glass"],[data-season="ikigai"]) .side, :root:is([data-season="glass"],[data-season="ikigai"]) dialog {
  background: var(--surface); border: 1px solid var(--line); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-edge); }
:root:is([data-season="glass"],[data-season="ikigai"]) .panel, :root:is([data-season="glass"],[data-season="ikigai"]) .card, :root:is([data-season="glass"],[data-season="ikigai"]) .modbtn, :root:is([data-season="glass"],[data-season="ikigai"]) .season-card {
  background: var(--glass-panel); border: 1px solid var(--line); box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-edge); }
:root:is([data-season="glass"],[data-season="ikigai"]) .panel, :root:is([data-season="glass"],[data-season="ikigai"]) .card { border-radius: 18px; }
:root:is([data-season="glass"],[data-season="ikigai"]) dialog { border-radius: 22px; }
:root:is([data-season="glass"],[data-season="ikigai"]) .side { border-right: 1px solid var(--line); border-radius: 0 22px 22px 0; margin: 10px 0; }
:root:is([data-season="glass"],[data-season="ikigai"]) .dlg-foot, :root:is([data-season="glass"],[data-season="ikigai"]) .panel-h { background: transparent; }
:root:is([data-season="glass"],[data-season="ikigai"]) .brand .mark .dot { fill: var(--ink); stroke: transparent; }
/* controls */
:root:is([data-season="glass"],[data-season="ikigai"]) input, :root:is([data-season="glass"],[data-season="ikigai"]) select, :root:is([data-season="glass"],[data-season="ikigai"]) textarea { background: var(--surface-2); border-color: var(--line-strong); border-radius: 12px; }
:root:is([data-season="glass"],[data-season="ikigai"]) .btn { background: var(--glass-panel); border-color: var(--line); border-radius: 999px; box-shadow: inset 0 1px 0 var(--glass-edge), 0 1px 3px rgba(20, 40, 80, .1); }
:root:is([data-season="glass"],[data-season="ikigai"]) .btn.ghost { background: transparent; box-shadow: none; }
:root:is([data-season="glass"],[data-season="ikigai"]) .btn.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, #fff), var(--accent)); border-color: transparent; color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
:root:is([data-season="glass"],[data-season="ikigai"]) .btn.danger { color: var(--bad-ink, #B42318); }
:root:is([data-season="glass"],[data-season="ikigai"]) .nav { border-radius: 14px; }
:root:is([data-season="glass"],[data-season="ikigai"]) .nav[aria-current=page] { background: var(--surface); color: var(--ink); box-shadow: inset 0 1px 0 var(--glass-edge), 0 4px 14px rgba(20, 40, 80, .12); }
:root:is([data-season="glass"],[data-season="ikigai"]) .nav[aria-current=page] .count { background: var(--accent-soft); color: var(--accent); }
:root:is([data-season="glass"],[data-season="ikigai"]) .modbtn.on { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 82%, #fff), var(--accent)); border-color: transparent; color: var(--accent-ink); }
:root:is([data-season="glass"],[data-season="ikigai"]) .tbl thead th { background: transparent; }
:root:is([data-season="glass"],[data-season="ikigai"]) .pick-list, :root:is([data-season="glass"],[data-season="ikigai"]) .setup { background: var(--surface-2); }
/* no backdrop blur available: use solid panels so text stays readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root:is([data-season="glass"],[data-season="ikigai"]) .side, :root:is([data-season="glass"],[data-season="ikigai"]) .panel, :root:is([data-season="glass"],[data-season="ikigai"]) dialog, :root:is([data-season="glass"],[data-season="ikigai"]) .card, :root:is([data-season="glass"],[data-season="ikigai"]) .modbtn, :root:is([data-season="glass"],[data-season="ikigai"]) .btn { background: var(--glass-solid); }
}
@media (max-width: 900px) { :root:is([data-season="glass"],[data-season="ikigai"]) .side { border-radius: 0 0 18px 18px; margin: 0; } }

/* Liquid Glass: notifications, banners, labels and errors on SOLID colours (glass surfaces are see-through, so
   anything coloured from them merged into the backdrop and could not be read). Contrast checked in light and dark. */
:root:is([data-season="glass"],[data-season="ikigai"]) #toast { background: #101826; color: #FFFFFF; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
:root:is([data-season="glass"],[data-season="ikigai"]) .banner { background: #FFF1DE; color: #4A2600; border-left-color: #B45309; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root:is([data-season="glass"],[data-season="ikigai"]) .pill { background: #E8EDF5; color: #2B3A52; }
:root:is([data-season="glass"],[data-season="ikigai"]) .pill.on { background: #DCEBFF; color: #0047B3; }
:root:is([data-season="glass"],[data-season="ikigai"]) .pill.warn { background: #FFE9CC; color: #7A3D00; }
:root:is([data-season="glass"],[data-season="ikigai"]) .pill.bad { background: #FFE0DD; color: #A3150B; }
:root:is([data-season="glass"],[data-season="ikigai"]) .err { color: #B3261E; }
:root:is([data-season="glass"],[data-season="ikigai"]) .setup, :root:is([data-season="glass"],[data-season="ikigai"]) .menu-float { background: var(--glass-solid); }
:root:is([data-season="glass"],[data-season="ikigai"]) .packet { background: var(--glass-solid); }
@media (prefers-color-scheme: dark) {
  :root:is([data-season="glass"],[data-season="ikigai"]):not([data-theme="light"]) #toast { background: #F2F6FC; color: #0B1220; }
  :root:is([data-season="glass"],[data-season="ikigai"]):not([data-theme="light"]) .banner { background: #3A2410; color: #FFE2BF; border-left-color: #F0A05A; }
  :root:is([data-season="glass"],[data-season="ikigai"]):not([data-theme="light"]) .pill { background: #26324A; color: #DCE5F4; }
  :root:is([data-season="glass"],[data-season="ikigai"]):not([data-theme="light"]) .pill.on { background: #123A6B; color: #CFE4FF; }
  :root:is([data-season="glass"],[data-season="ikigai"]):not([data-theme="light"]) .pill.warn { background: #4A2C0C; color: #FFD9A8; }
  :root:is([data-season="glass"],[data-season="ikigai"]):not([data-theme="light"]) .pill.bad { background: #551A16; color: #FFCDC8; }
  :root:is([data-season="glass"],[data-season="ikigai"]):not([data-theme="light"]) .err { color: #FF9C94; }
}
:root:is([data-season="glass"],[data-season="ikigai"])[data-theme="dark"] #toast { background: #F2F6FC; color: #0B1220; }
:root:is([data-season="glass"],[data-season="ikigai"])[data-theme="dark"] .banner { background: #3A2410; color: #FFE2BF; border-left-color: #F0A05A; }
:root:is([data-season="glass"],[data-season="ikigai"])[data-theme="dark"] .pill { background: #26324A; color: #DCE5F4; }
:root:is([data-season="glass"],[data-season="ikigai"])[data-theme="dark"] .pill.on { background: #123A6B; color: #CFE4FF; }
:root:is([data-season="glass"],[data-season="ikigai"])[data-theme="dark"] .pill.warn { background: #4A2C0C; color: #FFD9A8; }
:root:is([data-season="glass"],[data-season="ikigai"])[data-theme="dark"] .pill.bad { background: #551A16; color: #FFCDC8; }
:root:is([data-season="glass"],[data-season="ikigai"])[data-theme="dark"] .err { color: #FF9C94; }

/* Liquid Glass: dropdown menus. A browser draws an open dropdown's list from the menu's own background colour, and the
   glass colour is see-through, so the list's light text sat on a nearly invisible background in dark mode. Solid colours here. */
:root:is([data-season="glass"],[data-season="ikigai"]) select { background-color: var(--glass-solid); color: var(--ink); }
:root:is([data-season="glass"],[data-season="ikigai"]) select option, :root:is([data-season="glass"],[data-season="ikigai"]) select optgroup { background-color: var(--glass-solid); color: var(--ink); }
:root:is([data-season="glass"],[data-season="ikigai"]) select option:checked { background-color: var(--accent); color: var(--accent-ink); }
