/* Clock Plan: calm, high-contrast, big targets. Light by default, dark when the system asks. */
:root {
  --bg: #f8f4f6;
  --panel: #ffffff;
  --ink: #2a1a22;
  --ink-2: #5c4652;
  --rule: #e6d9df;
  --track: #f1e9ed;
  --accent: #a4466f;
  --accent-ink: #ffffff;
  --focus: #7d2f52;
  --break: #d9d2d6;
  --break-line: #b9aeb4;
  --shade: rgb(255 255 255 / .62);
  --font: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171215;
    --panel: #21191e;
    --ink: #f3e9ee;
    --ink-2: #c9b6c0;
    --rule: #3a2d34;
    --track: #2c2228;
    --accent: #e58fb4;
    --accent-ink: #2a1320;
    --focus: #f4b8d2;
    --break: #4a4046;
    --break-line: #625860;
    --shade: rgb(250 244 247 / .5);   /* lighten, never darken: darkened yellow looks olive */
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font);
  padding-inline: clamp(16px, 4vw, 40px);
}
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.top { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-block: 12px 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; }
.home-link { color: var(--ink-2); font-weight: 700; text-decoration: none; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; white-space: nowrap; }
.home-link:hover { color: var(--ink); border-color: var(--accent); }

main { max-width: 1180px; margin: 0 auto; padding-bottom: 40px; }

.note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; padding: 12px 16px; border: 2px dashed var(--accent); border-radius: 16px; background: var(--panel); }
.note p { margin: 0; }
.note-acts { display: flex; flex-wrap: wrap; gap: 8px; }

button { min-height: 44px; padding: 8px 16px; border-radius: 14px; border: 2px solid var(--rule); background: var(--panel); font-weight: 700; cursor: pointer; }
button:hover:not(:disabled) { border-color: var(--accent); }
button:disabled { opacity: .4; cursor: default; }
button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
button.danger { color: #b3261e; margin-top: 8px; }

/* Clock + now card */
.board { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.clockside, .now-card, .plan { background: var(--panel); border: 1px solid var(--rule); border-radius: 22px; padding: clamp(14px, 2.5vw, 26px); }
.clock-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.modes { display: inline-flex; background: var(--bg); border: 1px solid var(--rule); border-radius: 999px; padding: 4px; gap: 4px; }
.modes button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; color: var(--ink-2); }
.modes button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.clock-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.float-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; }
#addBtn svg { stroke-width: 2.6; stroke-linecap: round; }
.float-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.float-btn svg .fill { fill: currentColor; stroke: none; }
.clock-wrap { position: relative; }
/* Large: as big as the column allows, but never taller than the screen. */
.clock { display: block; width: min(100%, max(320px, calc(100svh - 250px)), 760px); margin: 0 auto; aspect-ratio: 1; height: auto; touch-action: none; user-select: none; -webkit-user-select: none; }
.face-hint { margin: 8px auto 0; color: var(--ink-2); font-size: .92rem; text-align: center; max-width: 60ch; }

.clock .rim { fill: var(--panel); stroke: var(--rule); stroke-width: 2; }
.clock .track { fill: var(--track); }
.clock .slice { stroke: var(--panel); stroke-width: 1.2; }
.clock .slice[data-drag] { cursor: grab; touch-action: none; }
.clock.is-dragging, .clock.is-dragging .slice { cursor: grabbing; }
.clock .slice:focus { outline: none; }
.clock .slice:focus-visible { stroke: var(--focus); stroke-width: 3; }
.clock .slice.current { stroke: var(--ink); stroke-width: 2.2; }
.clock .slice.selected { stroke: var(--ink); stroke-width: 2.6; stroke-dasharray: 5 3; }
.clock .slice.dragging { opacity: .92; }
.clock .slice.is-done { opacity: .45; }
.clock .elapsed { fill: var(--shade); pointer-events: none; }
.clock .brk-bg, .dial .brk-bg { fill: var(--break); }
.clock .brk-line, .dial .brk-line { fill: var(--break-line); }
.clock .tick, .dial .tick, .picker-clock .tick { stroke: var(--ink-2); stroke-width: .8; opacity: .6; }
.clock .tick5, .dial .tick5, .picker-clock .tick5 { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.clock .num { fill: var(--ink); font: 700 15px var(--font); text-anchor: middle; dominant-baseline: central; }
.clock text, .clock .badge, .clock .hands { pointer-events: none; }
.clock .badge circle { fill: var(--panel); stroke: var(--ink); stroke-width: 1.2; }
.clock .badge text { fill: var(--ink); font: 700 9.5px var(--font); text-anchor: middle; dominant-baseline: central; }
.clock .slice-name { fill: #1d1418; font: 700 8.5px var(--font); text-anchor: middle; dominant-baseline: central; paint-order: stroke; stroke: rgb(255 255 255 / .78); stroke-width: 2.4px; }
/* Hands: tapered like a real clock, a thin sweeping second hand, a centre cap. */
.hands { filter: drop-shadow(0 1px 1.2px rgb(0 0 0 / .28)); }
.hand-shape { fill: var(--ink); }
.sec-line { stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; }
.dial .sec-line { stroke-width: 1.1; }
.sec-dot, .cap-dot { fill: var(--accent); }
.cap { fill: var(--ink); }
/* Handles on the selected slice */
.clock .handle { cursor: ew-resize; touch-action: none; }
.clock .handle .hit { fill: transparent; }
.clock .handle .knob { fill: var(--panel); stroke: var(--ink); stroke-width: 2; }
.clock .handle:hover .knob { fill: color-mix(in oklab, var(--accent) 22%, var(--panel)); }
.clock .handle .grip { stroke: var(--ink); stroke-width: 1.3; stroke-linecap: round; }
.drag-tip { position: absolute; z-index: 3; pointer-events: none; padding: 6px 12px; border-radius: 12px; background: var(--ink); color: var(--panel); font-weight: 700; font-size: .95rem; white-space: nowrap; box-shadow: 0 4px 14px rgb(0 0 0 / .2); }

.now-card { position: relative; overflow: hidden; display: grid; gap: 8px; align-content: start; }
.now-card::before { content: ''; position: absolute; inset-block-start: 0; inset-inline: 0; height: 8px; background: var(--c, var(--rule)); }
.now-label { margin: 6px 0 0; color: var(--ink-2); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
:root[lang="ar"] .now-label { text-transform: none; letter-spacing: 0; }
.now-main { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; }
.dial { width: clamp(96px, 26vw, 150px); height: auto; aspect-ratio: 1; display: block; }
.dial .d-rim { fill: var(--panel); stroke: var(--ink); stroke-width: 2; }
.now-name { margin: 0; font-size: clamp(1.4rem, 3.4vw, 1.9rem); line-height: 1.2; overflow-wrap: anywhere; }
.now-words { margin: 4px 0 0; font-weight: 700; color: var(--ink-2); font-size: 1.05rem; }
.now-next { margin: 4px 0 0; color: var(--ink-2); }
.now-next:empty { display: none; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.controls button { min-height: 48px; padding: 10px 20px; }
.controls .primary { min-width: 120px; }

/* Plan */
.plan { margin-top: 18px; }
.plan-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 8px; }
.plan h2 { margin: 0; font-size: 1.4rem; }
.plan h3 { margin: 0 0 8px; font-size: 1.1rem; }
.start-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.start-label { font-weight: 700; }
.start-words { color: var(--ink-2); font-weight: 700; }
.mini-clock { width: 26px; height: 26px; flex: none; }
.mini-clock .mc-face { fill: var(--panel); stroke: var(--ink); stroke-width: 1.5; }
.mini-clock .mc-dot { fill: var(--ink); }
.mini-clock .mc-hour { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; }
.mini-clock .mc-min { stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.picker-box { margin: 10px 0 6px; }
.picker { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 14px; border: 1px solid var(--rule); border-radius: 16px; background: var(--bg); }
.picker-clock { width: 170px; height: 170px; flex: none; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; border-radius: 50%; }
.picker-clock.is-dragging { cursor: grabbing; }
.picker-clock .p-face { fill: var(--panel); stroke: var(--ink); stroke-width: 2; }
.picker-clock .p-num { fill: var(--ink); font: 700 10px var(--font); text-anchor: middle; dominant-baseline: central; }
.picker-clock .p-min { fill: var(--accent); }
.picker-side { display: grid; gap: 8px; min-width: 0; flex: 1 1 180px; }
.picker-words { margin: 0; font-weight: 700; font-size: 1.05rem; }
.picker-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.picker-btns button { min-width: 64px; padding: 6px 10px; }
.picker-help { margin: 0; color: var(--ink-2); font-size: .9rem; font-weight: 400; }
.picker-done { justify-self: start; }
input[type="text"], input[type="number"] { min-height: 44px; padding: 6px 12px; border: 2px solid var(--rule); border-radius: 12px; background: var(--bg); }

.tasks { list-style: none; margin: 0; padding: 0; }
.tasks { position: relative; }
.list-hint { margin: 0 0 6px; color: var(--ink-2); font-size: .92rem; }
.task { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); background: var(--panel); }
.task .grab { min-height: 40px; min-width: 32px; padding: 0 4px; border: 0; background: transparent; color: var(--ink-2); cursor: grab; touch-action: none; display: grid; place-items: center; border-radius: 10px; }
.task .grab svg { width: 20px; height: 20px; fill: currentColor; }
.task .grab:hover { color: var(--ink); background: var(--bg); }
.task.lifting { position: relative; z-index: 2; box-shadow: 0 10px 26px rgb(0 0 0 / .18); border-radius: 12px; cursor: grabbing; }
.task.lifting .grab { cursor: grabbing; }
.tasks.sorting .task:not(.lifting) { transition: none; }
.drop-line { position: absolute; inset-inline: 0; height: 4px; border-radius: 4px; background: var(--accent); pointer-events: none; z-index: 3; }
.task .info { cursor: pointer; border-radius: 10px; padding: 4px 6px; margin: -4px -6px; }
.task .info:hover { background: var(--bg); }
.inline-edit { display: grid; gap: 10px; min-width: 0; padding: 10px; border: 2px solid var(--accent); border-radius: 14px; background: var(--bg); }
.inline-edit .ie-name { width: 100%; font-weight: 700; }
.ie-len { display: flex; align-items: center; gap: 10px; }
.ie-min { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; min-width: 5.5em; justify-content: center; }
.ie-step { min-width: 56px; }
.ie-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ie-chips button { min-width: 48px; padding: 6px 10px; }
.ie-chips button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 16%, var(--panel)); }
.ie-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ie-help { color: var(--ink-2); font-size: .85rem; }
.task:last-child { border-bottom: 0; }
.task .num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; background: var(--c); color: #1d1418; }
.task.break .num { background: repeating-linear-gradient(45deg, var(--break) 0 4px, var(--break-line) 4px 6px); color: var(--ink); }
.task .info { display: grid; min-width: 0; }
.task .name { font-weight: 700; overflow-wrap: anywhere; }
.task .meta { color: var(--ink-2); font-size: .92rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.task .bit { display: inline-flex; align-items: center; gap: 6px; }
.task .bit.late { color: #b3261e; font-weight: 700; }
.pie { width: 22px; height: 22px; flex: none; }
.pie .pie-bg { fill: var(--track); stroke: var(--rule); }
.pie .pie-break { fill: var(--break-line); }
.task .mini-clock { width: 22px; height: 22px; }
.task.current { background: color-mix(in oklab, var(--accent) 9%, transparent); border-radius: 12px; padding-inline: 8px; }
.task.done .name { text-decoration: line-through; color: var(--ink-2); }
.task.past:not(.done) .name { color: var(--ink-2); }
.tick input { width: 24px; height: 24px; accent-color: var(--accent); cursor: pointer; }
.acts { display: flex; gap: 4px; }
.acts button { min-width: 40px; min-height: 40px; padding: 4px 8px; border-radius: 10px; font-size: 1.05rem; line-height: 1; }
.empty { color: var(--ink-2); margin: 8px 0; }

.later { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--bg); }
.later-hint { margin: 0 0 6px; color: var(--ink-2); font-size: .92rem; }
.later ul { margin: 0; padding-inline-start: 1.1em; }

.add { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 700; }
.field small { font-weight: 400; color: var(--ink-2); }
.field input[type="text"] { width: 100%; }
.kind { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border: 2px solid var(--rule); border-radius: 12px; font-weight: 700; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 12%, var(--panel)); }
.chip input, .check input { width: 20px; height: 20px; accent-color: var(--accent); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.presets button { min-width: 52px; padding: 8px 12px; font-variant-numeric: tabular-nums; }
.presets button[aria-pressed="true"] { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 16%, var(--panel)); }
.custom { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; }
.custom input { width: 5.5em; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; }
.controls.start { margin-top: 0; }

.options { margin-top: 18px; background: var(--panel); border: 1px solid var(--rule); border-radius: 16px; padding: 12px 18px; }
.options summary { font-weight: 700; cursor: pointer; min-height: 32px; }
.fine { color: var(--ink-2); font-size: .92rem; text-align: center; margin-top: 18px; }
.fine a { color: inherit; }

@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; }
  .clock { width: 100%; }
}
@media (max-width: 420px) {
  .task { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  .task .acts { grid-column: 3 / -1; }
  .task.editing .inline-edit { grid-column: 1 / -1; grid-row: 2; }
  .task.editing .acts { grid-row: 3; }
  .controls button { flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Language (English / العربية) ---------- */
:root[lang="ar"] { --font: 'IBM Plex Sans Arabic', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.fb-lang { order: -1; flex-basis: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-size: .95rem; color: var(--rule); }
.fb-lang button { font: inherit; font-weight: 700; color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 4px 12px; min-height: 36px; cursor: pointer; }
.fb-lang button[lang="ar"] { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-size: 1.05rem; }
.fb-lang button[lang="en"] { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; }
.fb-lang button[aria-pressed="true"] { color: var(--ink); background: color-mix(in oklab, var(--accent) 16%, transparent); }
.fb-lang button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.fb-suggest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 14px; background: var(--panel); }
.fb-suggest p { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.fb-suggest [lang="ar"] { font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; font-weight: 700; }
.fb-suggest [lang="en"] { font-family: 'Atkinson Hyperlegible', system-ui, sans-serif; color: var(--ink-2); }
.fb-suggest-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-suggest button { font-weight: 700; padding: 8px 16px; border-radius: 999px; cursor: pointer; min-height: 40px; }
.fb-suggest .fb-ar { background: var(--accent); color: var(--accent-ink); border: 0; font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.fb-suggest .fb-en { background: transparent; color: var(--ink); border: 2px solid var(--rule); }

/* ---------- Floating clock (floating window or corner of this page) ---------- */
.float-view { display: grid; gap: 8px; padding: 10px; background: var(--panel); color: var(--ink); font-family: var(--font); }
.float-view .clock { width: 100%; min-width: 0; }
.fv-row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
.float-view .dial { width: 64px; }
.fv-name { margin: 0; font-weight: 700; overflow-wrap: anywhere; line-height: 1.2; }
.fv-words { margin: 2px 0 0; color: var(--ink-2); font-size: .92rem; }
body.pip { margin: 0; padding: 0; min-height: 100vh; background: var(--panel); }
body.pip .float-view { max-width: 100vmin; margin: 0 auto; }
.float-host { position: fixed; inset-inline-end: 16px; bottom: 16px; width: min(280px, calc(100vw - 32px)); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; background: var(--panel); box-shadow: 0 10px 34px rgb(0 0 0 / .18); z-index: 6; }
.float-host .close { position: absolute; top: 6px; inset-inline-end: 6px; min-height: 34px; padding: 4px 12px; z-index: 1; }
.float-note { margin: 0; padding: 0 12px 10px; color: var(--ink-2); font-size: .8rem; }

/* ---------- Adding, changing and deleting on the clock ---------- */
.clock-hint { margin: 0 auto 6px; width: fit-content; max-width: 100%; padding: 6px 14px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 14%, var(--panel)); color: var(--ink); font-weight: 700; font-size: .92rem; text-align: center; }
.clock .track { cursor: crosshair; }
.clock .slice.ghost { opacity: .8; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 3; pointer-events: none; }
.clock .slice[data-id]:not([data-drag]) { cursor: pointer; }
.clock.to-bin .slice.dragging { opacity: .35; }
.clock .add-end { cursor: pointer; }
.clock .add-end .add-bg { fill: var(--panel); stroke: var(--accent); stroke-width: 2.2; stroke-dasharray: 3 2.4; }
.clock .add-end:hover .add-bg, .clock .add-end:focus-visible .add-bg { fill: color-mix(in oklab, var(--accent) 18%, var(--panel)); stroke-dasharray: none; }
.clock .add-end:focus { outline: none; }
.clock .add-end .add-plus { stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; }
.bin { position: absolute; bottom: 0; inset-inline-end: 0; z-index: 2; display: grid; justify-items: center; gap: 2px; width: 92px; padding: 10px 6px; border-radius: 18px; border: 2px dashed var(--ink-2); background: var(--panel); color: var(--ink-2); font-size: .78rem; font-weight: 700; text-align: center; pointer-events: none; }
.bin svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bin.hot { border-style: solid; border-color: #b3261e; color: #b3261e; background: color-mix(in oklab, #b3261e 12%, var(--panel)); transform: scale(1.08); }
.pop { position: absolute; z-index: 5; width: min(320px, calc(100vw - 16px)); padding: 12px; border-radius: 18px; border: 1px solid var(--rule); border-top: 6px solid var(--c, var(--break-line)); background: var(--panel); box-shadow: 0 14px 40px rgb(0 0 0 / .22); display: grid; gap: 8px; }
.pop-head { display: flex; align-items: center; gap: 10px; }
.pop-head strong { flex: 1; }
.pop-sw { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; background: var(--c); color: #1d1418; }
.pop-sw.brk { background: repeating-linear-gradient(45deg, var(--break) 0 4px, var(--break-line) 4px 6px); color: var(--ink); }
.pop-x { min-height: 36px; min-width: 36px; padding: 0; border-radius: 10px; font-size: 1.2rem; line-height: 1; }
.pop .inline-edit { border: 0; padding: 0; background: transparent; }
.pop .picker { flex-direction: column; align-items: stretch; }
.pop .picker-clock { align-self: center; }
.pop.sheet { position: fixed; inset-inline: 0; bottom: 0; top: auto; width: auto; max-height: 62vh; overflow: auto; border-radius: 20px 20px 0 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
.ie-acts .danger { margin-top: 0; }
.toast { position: fixed; z-index: 8; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 10px 12px 10px 18px; border-radius: 16px; background: var(--ink); color: var(--panel); font-weight: 700; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.toast button { min-height: 40px; background: var(--panel); color: var(--ink); border-color: var(--panel); }
