/* Dayline — web/PWA port of the Android app. Colours, sizes and radii mirror the Compose source. */

/* Registered so the theme change cross-fades every colour (380 ms), like animatedPal() did. */
@property --bg      { syntax: '<color>'; inherits: true; initial-value: #FAF9FC; }
@property --surface { syntax: '<color>'; inherits: true; initial-value: #FFFFFF; }
@property --ink     { syntax: '<color>'; inherits: true; initial-value: #231F2E; }
@property --mute    { syntax: '<color>'; inherits: true; initial-value: #8A8596; }
@property --accent  { syntax: '<color>'; inherits: true; initial-value: #DED5FA; }
@property --aink    { syntax: '<color>'; inherits: true; initial-value: #3B2F68; }
@property --hot     { syntax: '<color>'; inherits: true; initial-value: #5B3FD1; }
@property --dot     { syntax: '<color>'; inherits: true; initial-value: #9A80EA; }
@property --tint    { syntax: '<color>'; inherits: true; initial-value: rgba(91,63,209,.12); }

:root {
  --bg: #FAF9FC; --surface: #FFFFFF; --ink: #231F2E; --mute: #8A8596;
  --accent: #DED5FA; --aink: #3B2F68; --hot: #5B3FD1; --dot: #9A80EA; --tint: rgba(91,63,209,.12);
  --warn: #D4566B; --warnon: #9C1F3A;
  --ease: cubic-bezier(.4, 0, .2, 1);
  color-scheme: light;
  transition: --bg .38s, --surface .38s, --ink .38s, --mute .38s, --accent .38s, --aink .38s, --hot .38s, --dot .38s, --tint .38s;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141219; --surface: #1D1A24; --ink: #EFECF6; --mute: #8D88A0;
    --accent: #CDC2F6; --aink: #1F1740; --hot: #DCD3FC; --dot: #D8CFFB; --tint: rgba(205,194,246,.2);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141219; --surface: #1D1A24; --ink: #EFECF6; --mute: #8D88A0;
  --accent: #CDC2F6; --aink: #1F1740; --hot: #DCD3FC; --dot: #D8CFFB; --tint: rgba(205,194,246,.2);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%; overflow: hidden; overscroll-behavior: none;
  background: var(--bg); color: var(--ink);
  font: 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none;
  user-select: none; -webkit-user-select: none;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: default; }
button:focus-visible, .row:focus-visible, .nc:focus-visible { outline: 2px solid var(--hot); outline-offset: 2px; }

#root { position: fixed; left: 0; top: 0; width: 100%; height: 100%; }
.shell { position: relative; margin: 0 auto; width: 100%; max-width: 560px; height: 100%; overflow: hidden; background: var(--bg); }
@media (min-width: 700px) {
  .shell { box-shadow: 0 0 0 1px color-mix(in srgb, var(--mute) 16%, transparent); }
}

/* ---------- main column ---------- */
.main {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: calc(16px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) 16px calc(20px + env(safe-area-inset-left));
  scrollbar-width: none;
}
.main::-webkit-scrollbar { display: none; }
.top { display: flex; justify-content: space-between; align-items: center; flex: none; }
.top .right { display: flex; align-items: center; }
.pill-all { border-radius: 21px; background: var(--surface); padding: 12px 16px; font-size: 13px; font-weight: 800; white-space: pre; }
.lang { position: relative; display: flex; border-radius: 21px; background: var(--surface); padding: 3px; }
.lang button { position: relative; z-index: 1; width: 46px; height: 36px; border-radius: 18px; font-size: 12px; font-weight: 800; color: var(--mute); text-align: center; }
.lang button.on { color: var(--aink); }
.theme-btn { width: 42px; height: 42px; margin-left: 8px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 17px; line-height: 1; }
.theme-btn span { display: block; will-change: transform; }

/* squishy capsule (selected day, language toggle, notification rows) */
.cap { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; background: var(--accent); border-radius: 999px; will-change: transform, opacity; opacity: 0; }
.cap.soft { background: color-mix(in srgb, var(--accent) 45%, transparent); }

/* ---------- calendar ---------- */
.cal { margin-top: 22px; flex: none; touch-action: pan-y; }
.mh { display: flex; align-items: center; }
.mh button { font-size: 26px; line-height: 1; color: var(--mute); padding: 0 12px 4px; }
.mh .t { flex: 1; text-align: center; font-size: 17px; font-weight: 700; }
.wd { display: grid; grid-template-columns: repeat(7, 1fr); padding: 10px 0 6px; }
.wd span { text-align: center; color: var(--mute); font-size: 12px; font-weight: 600; }
.mpager { position: relative; height: 276px; overflow: hidden; }
.page { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.grid { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 46px; }
.cell { position: relative; z-index: 1; display: grid; place-items: center; }
.c { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 600; cursor: pointer; }
.c.out { color: color-mix(in srgb, var(--mute) 40%, transparent); }
.c.today { font-size: 16px; font-weight: 900; color: var(--hot); background: var(--tint); }
.c.sel { font-weight: 800; color: var(--aink); background: transparent; }
.c .dot { position: absolute; bottom: 4px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--dot); }
.c.out .dot { background: color-mix(in srgb, var(--dot) 40%, transparent); }
.c.sel .dot { background: color-mix(in srgb, var(--aink) 80%, transparent); }

/* ---------- day list ---------- */
.dayzone { position: relative; flex: 1 1 0; min-height: 300px; touch-action: pan-y; }
.dpager { position: absolute; inset: 0; overflow: hidden; }
.dpage { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-direction: column; will-change: transform; }
.dh { display: flex; align-items: flex-end; padding: 26px 2px 10px; flex: none; }
.dh .t { flex: 1; font-size: 18px; font-weight: 700; }
.dh .n { font-size: 13px; color: var(--mute); }
.empty { padding: 22px; text-align: center; color: var(--mute); flex: none; }
.empty small { display: block; margin-top: 6px; font-size: 12px; color: color-mix(in srgb, var(--mute) 70%, transparent); }
.list { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding-bottom: 88px; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--mute) 30%, transparent) transparent; }
.row { display: flex; align-items: center; margin-bottom: 8px; border-radius: 18px; background: var(--surface); padding: 14px 16px; cursor: pointer; }
.row.done { opacity: .5; }
.chk { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--mute) 30%, transparent); display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--aink); }
.chk::before { content: ''; position: absolute; inset: -10px; }
.row.done .chk { background: var(--accent); border-color: var(--accent); }
.row .tt { flex: 1; min-width: 0; padding: 0 14px; font-weight: 600; overflow-wrap: anywhere; }
.row.done .tt { color: var(--mute); text-decoration: line-through; }
.row .tm { font-size: 13px; color: var(--mute); white-space: nowrap; }
.row .tm.late { color: var(--warn); font-weight: 800; }

/* ---------- add button ---------- */
.fab {
  position: absolute; z-index: 5; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom));
  background: var(--accent); color: var(--aink); font-size: 32px; font-weight: 300; line-height: 1; text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 6px 14px rgba(0,0,0,.14);
  transition: opacity .16s, transform .16s;
}
.fab span { display: block; transform: translateY(-2px); }
.fab.hide { opacity: 0; transform: scale(.8); pointer-events: none; }

/* ---------- all tasks screen ---------- */
.screen {
  position: absolute; inset: 0; z-index: 10; background: var(--bg); display: flex; flex-direction: column; touch-action: pan-y;
  padding: calc(16px + env(safe-area-inset-top)) calc(20px + env(safe-area-inset-right)) 0 calc(20px + env(safe-area-inset-left));
  transform: translateX(100%); visibility: hidden;
  transition: transform .26s var(--ease), visibility 0s linear .26s;
}
.screen.open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.sh { display: flex; align-items: center; flex: none; }
.back { width: 42px; height: 42px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 26px; line-height: 1; padding-bottom: 4px; }
.sh .t { flex: 1; padding: 0 14px; font-size: 22px; font-weight: 800; }
.sh .n { font-size: 13px; color: var(--mute); }
.alist { flex: 1 1 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; margin-top: 16px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); scrollbar-width: thin; }
.alist .clear { text-align: center; padding: 22px; color: var(--mute); }
.alist .dl { color: var(--mute); font-size: 13px; font-weight: 700; padding: 14px 0 8px 4px; }
.nc { display: flex; align-items: center; margin-bottom: 10px; border-radius: 24px; background: var(--accent); padding: 18px 20px; cursor: pointer; }
.nc .body { flex: 1; min-width: 0; }
.nc .d { font-size: 12px; font-weight: 600; color: color-mix(in srgb, var(--aink) 75%, transparent); }
.nc .tt { font-size: 20px; line-height: 24px; font-weight: 800; color: var(--aink); margin: 4px 0; overflow-wrap: anywhere; }
.nc .cd { font-size: 14px; font-weight: 600; color: color-mix(in srgb, var(--aink) 80%, transparent); }
.nc .cd.late { color: var(--warnon); }
.nc .ck { flex: none; width: 40px; height: 40px; margin-left: 12px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--aink) 45%, transparent); display: grid; place-items: center; font-size: 17px; font-weight: 800; color: var(--aink); }
.nc.done { background: var(--surface); }
.nc.done .d, .nc.done .tt { color: var(--mute); }
.nc.done .tt { text-decoration: line-through; }
.nc.done .ck { background: var(--accent); border-color: var(--accent); color: var(--aink); }

/* ---------- scrims & sheets ---------- */
.scrim { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .16s, visibility 0s .16s; }
.scrim.open { opacity: 1; visibility: visible; transition: opacity .2s; }
.scrim.add  { z-index: 20; background: rgba(7,5,13,.72); }
.scrim.del  { z-index: 30; background: rgba(7,5,13,.6); }
.scrim.pick { z-index: 40; background: rgba(20,15,35,.35); }

.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: 100%; max-width: 420px; max-height: 100%;
  background: var(--surface); border-radius: 30px 30px 0 0;
  padding: 14px 22px calc(22px + env(safe-area-inset-bottom));
  transform: translateY(100%); visibility: hidden; touch-action: none;
  transition: transform .25s var(--ease), visibility 0s linear .25s;
}
.sheet.open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
.sheet.scrolls { overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.sheet.s-add { z-index: 21; }
.sheet.s-del { z-index: 31; }
.sheet.s-time, .sheet.s-date { z-index: 41; }
.sheet.s-date { padding-left: 18px; padding-right: 18px; }
.grab { width: 38px; height: 4px; margin: 0 auto; border-radius: 2px; background: color-mix(in srgb, var(--mute) 25%, transparent); }
.s-add .grab { width: 34px; background: color-mix(in srgb, var(--mute) 30%, transparent); }

.txtbtn { color: var(--mute); font-weight: 700; padding: 10px 14px; border-radius: 14px; text-align: center; }
.btn { height: 40px; padding: 0 28px; border-radius: 16px; background: var(--accent); color: var(--aink); font-weight: 800; text-align: center; }
.btn:disabled { background: color-mix(in srgb, var(--accent) 35%, transparent); color: color-mix(in srgb, var(--aink) 50%, transparent); }
.btn.big { display: block; width: 100%; height: 48px; border-radius: 20px; padding: 0; }
.btn.warn { background: var(--warn); color: #fff; }

/* add / edit sheet */
.ah { display: flex; align-items: center; padding: 10px 0; }
.ah .t { flex: 1; font-size: 19px; font-weight: 800; }
.pillbtn { border-radius: 14px; background: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--ink); font-weight: 800; text-align: center; }
.datepill { font-size: 13px; padding: 8px 13px; }
.timepill { font-size: 15px; padding: 9px 13px; }
.field { display: flex; align-items: center; border-radius: 16px; background: var(--bg); padding: 4px 5px 4px 14px; box-shadow: inset 0 0 0 0 var(--accent); }
.field.focus { box-shadow: inset 0 0 0 2px var(--accent); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 600 16px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); caret-color: var(--accent); padding: 11px 0; user-select: text; -webkit-user-select: text; }
.field input::placeholder { color: var(--mute); opacity: 1; }
.nrow { display: flex; align-items: center; width: 100%; margin-top: 8px; border-radius: 16px; padding: 9px 6px; }
.nrow .l { flex: 1; font-size: 14px; font-weight: 600; }
.nrow .s { font-size: 13px; font-weight: 600; color: var(--mute); }
.nrow .ar { font-size: 14px; color: var(--mute); margin-left: 8px; }
.opts { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
.opts.open { grid-template-rows: 1fr; }
.opts > div { min-height: 0; overflow: hidden; padding-top: 2px; }
.opt { position: relative; display: flex; align-items: center; width: 100%; margin-bottom: 6px; border-radius: 999px; background: var(--bg); overflow: hidden; padding: 10px 14px; }
.opt > :not(.cap) { position: relative; z-index: 1; }
.opt .l { font-size: 14px; font-weight: 600; }
.opt .sub { display: block; font-size: 11px; font-weight: 400; color: var(--mute); }
.opt .ck { flex: none; margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--mute) 50%, transparent); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: transparent; }
.opt.on .ck { background: var(--aink); border-color: var(--aink); color: var(--accent); }
.btns { display: flex; justify-content: flex-end; align-items: center; margin-top: 8px; }
.btns .btn { margin-left: 6px; }

/* delete sheet */
.s-del { text-align: center; }
.s-del .q { font-size: 18px; font-weight: 800; margin-top: 16px; }
.s-del .n { color: var(--mute); font-size: 15px; margin: 6px 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.s-del .txtbtn { margin-top: 8px; padding: 12px 24px; }

/* time sheet */
.s-time { text-align: center; }
.thead { display: flex; align-items: center; justify-content: center; padding: 14px 0; }
.thead .hm { font-size: 44px; font-weight: 800; line-height: 1.3; color: var(--mute); border-radius: 14px; padding: 0 8px; }
.thead .hm.on { color: var(--ink); background: color-mix(in srgb, var(--accent) 45%, transparent); }
.thead .co { font-size: 44px; font-weight: 800; line-height: 1.3; color: var(--mute); }
.dial { position: relative; width: 260px; height: 260px; margin: 0 auto; touch-action: none; cursor: pointer; }
.dial svg { position: absolute; inset: 0; }
.dial .nums { position: absolute; inset: 0; pointer-events: none; }
.num { position: absolute; width: 38px; height: 38px; display: grid; place-items: center; font-size: 17px; font-weight: 600; color: var(--ink); }
.num.sm { font-size: 13px; color: var(--mute); }
.num.sel { font-weight: 800; color: var(--aink); }
.s-time .btn { margin-top: 18px; }

/* date sheet */
.dhead { display: flex; align-items: center; padding-top: 8px; }
.dhead button { font-size: 26px; line-height: 1; color: var(--mute); padding: 0 14px 4px; }
.dhead .t { flex: 1; text-align: center; font-size: 17px; font-weight: 700; }
.s-date .wd { padding: 8px 0 4px; }
.dgrid { display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 44px; }
.dgrid .cell { height: 44px; }
.dgrid .c { width: 40px; height: 40px; }
.dgrid .c.sel { background: var(--accent); }
.s-date .btn { margin-top: 14px; }

/* toast shown when a reminder fires and system notifications aren't available */
.toast {
  position: absolute; z-index: 60; left: 16px; right: 16px; margin: 0 auto; max-width: 420px;
  top: calc(12px + env(safe-area-inset-top)); background: var(--surface); border-radius: 18px; padding: 14px 16px; cursor: pointer;
  box-shadow: 0 6px 24px rgba(0,0,0,.22); transform: translateY(-160%); transition: transform .3s var(--ease); visibility: hidden;
}
.toast.show { transform: none; visibility: visible; }
.toast b { display: block; font-size: 15px; }
.toast span { color: var(--mute); font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

.opt .col { flex: 1; min-width: 0; text-align: left; }
.opt .sub:empty { display: none; }

/* ================================================================= desktop */
.dtools, .keys, .rdel, .desk-only { display: none; }
.scrim.alls { display: none; }
.kbd { display: inline-block; min-width: 20px; padding: 1px 6px; margin-right: 4px; border-radius: 6px; text-align: center; font: 700 11px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; background: color-mix(in srgb, var(--mute) 16%, transparent); color: var(--mute); }

@media (min-width: 900px) {
  .shell { max-width: 1400px; }
  .main { display: grid; grid-template-columns: 372px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; column-gap: 56px; padding: 32px 56px 28px; overflow-y: auto; }
  .top { grid-column: 1; grid-row: 1; }
  .cal { grid-column: 1; grid-row: 2; align-self: start; }
  .keys { display: block; grid-column: 1; grid-row: 3; padding-top: 18px; font-size: 12px; line-height: 2; color: var(--mute); }
  .dtools { display: flex; grid-column: 2; grid-row: 1; align-items: center; gap: 8px; max-width: 760px; }
  .dtools .sp { flex: 1; }
  .dtools .tb { height: 42px; min-width: 42px; padding: 0 18px; border-radius: 21px; background: var(--surface); font-size: 13px; font-weight: 800; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
  .dtools .tb.arrow { padding: 0 0 4px; font-size: 24px; font-weight: 600; color: var(--mute); }
  .dtools .newb { gap: 12px; background: var(--accent); color: var(--aink); padding-right: 12px; }
  .dtools .newb .kbd { margin: 0; background: color-mix(in srgb, var(--aink) 14%, transparent); color: var(--aink); }
  .dayzone { grid-column: 2; grid-row: 2 / 4; margin-top: 22px; min-height: 0; }
  .dpage > * { max-width: 760px; }
  .dh { padding: 8px 4px 14px; }
  .dh .t { font-size: 24px; font-weight: 800; }
  .list { padding-bottom: 32px; padding-right: 6px; }
  .row { padding: 16px 18px; border-radius: 20px; }
  .row .tt { font-size: 15px; }
  .row .tm { font-size: 13px; }
  .rdel { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin-left: 8px; border-radius: 50%; color: var(--mute); font-size: 12px; opacity: 0; transition: opacity .12s, background .12s, color .12s; }
  .row:hover .rdel, .row:focus-within .rdel { opacity: 1; }
  .rdel:hover { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
  .fab { display: none; }

  /* all tasks: a drawer from the right with a backdrop */
  .scrim.alls { display: block; z-index: 9; background: rgba(7,5,13,.28); }
  .screen { left: auto; width: 460px; max-width: 100%; padding: 32px 28px 0; border-left: 1px solid color-mix(in srgb, var(--mute) 16%, transparent); box-shadow: -14px 0 44px rgba(0,0,0,.16); }

  /* sheets become centred dialogs */
  .grab { display: none; }
  .sheet, .sheet.s-date {
    left: 50%; right: auto; top: 50%; bottom: auto; margin: 0; width: 460px; max-width: calc(100% - 32px); max-height: calc(100% - 48px);
    padding: 28px 28px 28px; border-radius: 28px;
    transform: translate(-50%, -46%) scale(.97); opacity: 0;
    box-shadow: 0 24px 70px rgba(0,0,0,.32);
    transition: transform .18s var(--ease), opacity .18s, visibility 0s linear .18s;
  }
  .sheet.open { transform: translate(-50%, -50%); opacity: 1; transition: transform .24s var(--ease), opacity .2s, visibility 0s; }
  .sheet.s-del { width: 400px; }
  .sheet.s-time { width: 380px; }
  .sheet.s-date { width: 420px; }
  .s-del .q { margin-top: 0; }
  .scrim.add, .scrim.del { backdrop-filter: blur(2px); }
  .scrim.pick { background: rgba(20,15,35,.45); }
  .tin { display: block; width: 150px; margin: 14px auto 0; padding: 10px; border: 0; outline: 0; border-radius: 14px; text-align: center; background: var(--bg); color: var(--ink); font: 700 16px/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; user-select: text; -webkit-user-select: text; }
  .tin:focus { box-shadow: inset 0 0 0 2px var(--accent); }
  .s-time .btn { margin-top: 14px; }
  .toast { left: auto; right: 24px; top: 24px; width: 380px; margin: 0; }
}

/* hover feedback for mouse users */
@media (hover: hover) {
  .row:hover { background: color-mix(in srgb, var(--surface) 86%, var(--accent)); }
  .nc:hover { filter: brightness(.97); }
  .c:not(.sel):hover { background: var(--tint); }
  .pill-all:hover, .theme-btn:hover, .back:hover, .dtools .tb:not(.newb):hover { background: color-mix(in srgb, var(--surface) 78%, var(--accent)); }
  .lang button:not(.on):hover { color: var(--ink); }
  .mh button:hover, .dhead button:hover { color: var(--ink); }
  .fab:hover { filter: brightness(.97); }
  .btn:not(:disabled):hover, .newb:hover { filter: brightness(.96); }
  .btn.warn:hover { filter: brightness(1.06); }
  .txtbtn:hover, .nrow:hover { background: color-mix(in srgb, var(--accent) 28%, transparent); }
  .pillbtn:hover { background: color-mix(in srgb, var(--accent) 70%, transparent); }
  .opt:hover { background: color-mix(in srgb, var(--bg) 85%, var(--accent)); }
  .toast:hover { filter: brightness(.98); }
}
