/* Wo: één tokenset voor Timer en Wo */
:root {
  color-scheme: dark;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --side: 20px;
  --r-card: 20px; --r-list: 12px; --r-btn: 16px; --r-chip: 10px;
  --bg: #000;
  --card: #111113;
  --raised: #1c1c1e;
  --press: rgba(255, 255, 255, .06);
  --hairline: rgba(255, 255, 255, .08);
  --text: #fff;
  --secondary: #8e8e93;
  --tertiary: #3a3a3c;
  --accent: #64d2ff;
  --accent-dim: #1d3c49;
  --red: #ff453a;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; background: var(--bg); color: var(--text); }
body {
  font-family: var(--sans); font-size: 17px;
  overflow: hidden;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .screen.active, .grow, .chip.new, .sheet { animation: none !important; } }

/* ---------- Schil: bovenbalk, segmentknop, panelen ---------- */
#root {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  padding-top: env(safe-area-inset-top);
  max-width: 480px; margin-inline: auto;
}
.topbar { height: 44px; flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--side); }
.topbar .sync { justify-self: start; height: 44px; display: flex; align-items: center; font-size: 13px; color: var(--accent); margin-left: -2px; }
.topbar .icon-btn { justify-self: end; }
.icon-btn { width: 44px; height: 44px; margin-right: -10px; display: grid; place-items: center; color: var(--secondary); border-radius: 50%; }
.icon-btn:active { background: var(--press); }
.seg { position: relative; display: flex; width: 168px; height: 32px; padding: 2px; border-radius: 16px; background: var(--card); }
.seg .knob {
  position: absolute; top: 2px; left: 2px; width: calc(50% - 2px); height: 28px;
  border-radius: 14px; background: var(--raised); box-shadow: 0 1px 3px rgba(0, 0, 0, .45);
  will-change: transform;
}
.seg button { flex: 1; position: relative; z-index: 1; font-size: 13px; font-weight: 600; color: var(--secondary); transition: color .15s; }
.seg button.on { color: var(--text); }
.panes {
  flex: 1; min-height: 0;
  display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.panes::-webkit-scrollbar { display: none; }
.pane {
  flex: none; width: 100%; height: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  display: flex; flex-direction: column;
  padding: 0 var(--side) calc(env(safe-area-inset-bottom) + var(--s3));
  overflow: hidden auto; overscroll-behavior: contain; scrollbar-width: none;   /* kleine iPhone: paneel mag verticaal scrollen */
}
.pane::-webkit-scrollbar { display: none; }
/* Een veeg door een grafiek of setrij mag nooit het paneel meeslepen */
.scroller, .chips, .cline { overscroll-behavior-x: contain; }

/* Verdiepingen liggen als vaste lagen boven de panelen */
.screen {
  position: fixed; inset: 0; z-index: 5; background: var(--bg);
  display: none; flex-direction: column;
  padding: env(safe-area-inset-top) var(--side) calc(env(safe-area-inset-bottom) + var(--s3));
  max-width: 480px; margin-inline: auto;
}
.screen.active { display: flex; animation: enter .22s ease-out; transition: transform .22s ease; }
.screen.dragging { transition: none; box-shadow: -12px 0 32px rgba(0, 0, 0, .6); }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Navigatie in verdiepingen ---------- */
.nav { height: 44px; flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav .title { font-size: 17px; font-weight: 600; }
.nav .end { justify-self: end; }
.back {
  justify-self: start; display: flex; align-items: center; gap: var(--s1);
  height: 44px; margin-left: -6px; padding: 0 6px;
  color: var(--accent); font-size: 17px;
}
.link { color: var(--accent); font-size: 17px; height: 44px; padding: 0 6px; margin-right: -6px; }
.link.strong { font-weight: 600; }
.back:active, .link:active, button.title:active { opacity: .5; }
.stat-k { font-size: 12px; font-weight: 600; color: var(--secondary); letter-spacing: .4px; text-transform: uppercase; }
.card { background: var(--card); border-radius: var(--r-card); }
.muted { color: var(--secondary); font-size: 15px; }

/* ---------- Timer: paneel ---------- */
.stats { flex: none; min-height: 64px; margin-top: var(--s3); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; }
.stats .right { text-align: right; }
.stat-v { font-family: var(--round); font-size: 28px; font-weight: 400; line-height: 1.15; margin-top: 2px; }
.stat-v small { font-family: var(--sans); font-size: 15px; color: var(--secondary); margin: 0 6px 0 2px; }
.right .stat-v small { margin-right: 0; }
.tchart {
  flex: none; height: 26vh; min-height: 160px; margin-top: var(--s4);
  padding: var(--s4) 0 var(--s3) var(--s4);
  display: flex; overflow: hidden;
}
.tchart svg { display: block; height: 100%; }
.tchart text { fill: var(--secondary); font-size: 11px; font-family: var(--sans); }
.tchart text.tnow { fill: var(--text); font-weight: 600; }
.tchart text.empty { font-size: 13px; }
.grid {
  flex: 1; min-height: 0; margin-top: var(--s4);
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  gap: .5px; background: var(--hairline); border-radius: var(--r-card); overflow: hidden;
}
.opt { background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; transition: background .15s; }
.opt:active { background: #1c1c1f; }
.opt .n { font-family: var(--round); font-size: 40px; font-weight: 300; line-height: 1; }
.opt .u { font-size: 11px; color: var(--secondary); margin-top: var(--s1); letter-spacing: .3px; }

/* ---------- Timer: sessie en afronden ---------- */
#session { align-items: center; justify-content: center; }
.sring { position: relative; width: min(78vw, 320px); aspect-ratio: 1; display: grid; place-items: center; }
.sring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.sring .track { stroke: rgba(255, 255, 255, .04); }
.sring .progress { stroke: var(--accent); opacity: .25; transition: stroke-dashoffset .25s linear; }
#remaining { font-family: var(--round); font-size: 76px; font-weight: 200; color: var(--tertiary); letter-spacing: -1px; }
#stop {
  position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + var(--s6));
  margin: 0 auto; width: 112px; height: 44px;
  border: .5px solid #2c2c2e; border-radius: 22px; color: var(--tertiary); font-size: 15px;
}
#stop:active { background: var(--press); }
.result { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.result .v { font-family: var(--round); font-size: 76px; font-weight: 200; letter-spacing: -1px; line-height: 1; }
.result .l { font-size: 15px; color: var(--secondary); margin-top: var(--s2); }
#finish .actions { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s3); }
.fnote { margin-top: var(--s5); width: 100%; max-width: 320px; display: flex; justify-content: center; }
.fnote .link { font-size: 15px; color: var(--secondary); }
.fnote .note-input { height: 40px; text-align: center; }
.tnote { font-size: 13px; color: var(--secondary); margin-top: 2px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btn { height: 52px; border-radius: var(--r-btn); font-size: 17px; transition: filter .15s; }
.btn:active { filter: brightness(.8); }
.btn-primary { background: var(--accent); color: #00131a; font-weight: 600; }
.btn-secondary { background: var(--card); color: var(--red); }
.btn-plain { color: var(--secondary); height: 40px; }

/* ---------- Wo: paneel ---------- */
.streak { flex: none; margin-top: var(--s3); padding: var(--s4); }
.dots {
  display: grid; grid-template-columns: 16px repeat(12, 1fr); grid-template-rows: 14px repeat(7, 11px);
  grid-auto-flow: column; row-gap: 5px; column-gap: 4px; align-items: center; justify-items: center;
}
.dots .ml { font-size: 11px; color: var(--secondary); justify-self: start; white-space: nowrap; }
.dots .dl { font-size: 10px; color: var(--secondary); justify-self: start; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: var(--hairline); }
.dot.on { background: var(--accent); }
.dot.now { box-shadow: 0 0 0 1.5px var(--bg), 0 0 0 2.5px var(--secondary); }
.dot.future { background: transparent; }
.exlist { flex: 1; min-height: 0; margin-top: var(--s4); display: flex; flex-direction: column; overflow: hidden; }
.exrow {
  flex: 1; min-height: 52px; display: flex; align-items: center; gap: var(--s3);
  padding: 0 var(--s4); text-align: left; position: relative; transition: background .15s;
}
.exrow + .exrow::before { content: ''; position: absolute; top: 0; left: var(--s4); right: 0; border-top: .5px solid var(--hairline); }
.exrow:active { background: var(--press); }
.exrow .txt { flex: 1; min-width: 0; }
.exrow .name { font-size: 17px; display: flex; align-items: center; gap: var(--s2); }
.exrow .name i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.exrow .sub { font-size: 13px; color: var(--secondary); margin-top: 1px; }
.exrow .sub.now { color: var(--accent); }
.exrow .sub { display: flex; align-items: center; gap: var(--s2); }
.exrow .bars { display: inline-flex; gap: 3px; }
.exrow .bars b { width: 10px; height: 4px; border-radius: 2px; background: var(--tertiary); }
.exrow .bars b.on { background: var(--accent); }
.tsess { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s2); }
.tsess .chip { font-family: var(--sans); font-size: 13px; height: 28px; gap: 6px; display: inline-flex; align-items: center; }
.tsess .chip i { color: var(--red); font-style: normal; font-size: 15px; }
.exrow .chev { color: var(--tertiary); }
.routines { flex: none; margin-top: var(--s2); display: flex; flex-direction: column; overflow: hidden; }
.routines .exrow { min-height: 48px; }

/* ---------- Wo: oefening ---------- */
.today { flex: none; margin-top: var(--s2); height: 156px; overflow: hidden; display: flex; flex-direction: column; }
.today .top { display: flex; justify-content: space-between; align-items: center; height: 24px; }
.daybtn { display: inline-flex; align-items: center; gap: 4px; height: 44px; margin: -10px 0; padding-right: 12px; }
.daybtn.other .stat-k { color: var(--accent); }
.daybtn svg { color: var(--secondary); }
.today .rest { font-size: 13px; color: var(--accent); transition: color .3s; }
.today .rest.ready { color: var(--text); font-weight: 600; }
.today .pr { font-size: 12px; font-weight: 600; color: var(--accent); margin-left: 6px; }
.today .big { font-family: var(--round); font-size: 40px; font-weight: 300; line-height: 1.1; height: 44px; margin-top: 2px; white-space: nowrap; overflow: hidden; }
.today .big small { font-family: var(--sans); font-size: 15px; color: var(--secondary); margin-left: 4px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-top: var(--s2); height: 32px; flex: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; height: 32px; min-width: 36px; padding: 0 10px; border-radius: var(--r-chip);
  background: var(--raised); font-family: var(--round); font-size: 16px;
  display: grid; place-items: center; transition: background .15s;
}
button.chip:active { background: var(--tertiary); }
.chip.new { animation: pop .3s cubic-bezier(.2, .9, .3, 1.4); background: var(--accent-dim); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.chip.on { background: var(--accent); color: #00131a; font-weight: 600; }
.chip.del { color: var(--red); font-family: var(--sans); font-size: 14px; }
.chip.lbl { background: none; color: var(--secondary); font-family: var(--sans); font-size: 13px; padding: 0 4px 0 0; min-width: 0; }
.chip.opt { font-family: var(--sans); font-size: 15px; position: relative; }
.chip.opt.on { background: var(--accent); color: #00131a; font-weight: 600; }
.chip.opt input { position: absolute; inset: 0; opacity: 0; width: 100%; }
.goal { display: flex; align-items: center; gap: var(--s2); height: 22px; margin-top: var(--s2); font-size: 13px; color: var(--secondary); text-align: left; }
.goal .bars { display: flex; gap: 3px; }
.goal .bars b { width: 12px; height: 4px; border-radius: 2px; background: var(--tertiary); }
.goal .bars b.on { background: var(--accent); }
.goal.add { color: var(--accent); }
.note-line { margin-top: 2px; font-size: 13px; color: var(--secondary); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.note-line:has(input) { display: block; }
.note-line button { color: var(--accent); font-size: 13px; }
.note-line .wipe { color: var(--red); }
.note-line .sep { color: var(--tertiary); }
.clines { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.cline { display: flex; align-items: center; gap: 5px; height: 26px; overflow-x: auto; scrollbar-width: none; }
.cline::-webkit-scrollbar { display: none; }
.cn { flex: none; width: 66px; font-size: 13px; color: var(--secondary); }
.chip.sm { height: 26px; min-width: 30px; padding: 0 8px; font-size: 14px; border-radius: 8px; }
.note-input { width: 100%; height: 32px; padding: 0 var(--s3); border-radius: var(--r-chip); background: var(--raised); border: 0; outline: none; font-size: 15px; }

/* ---------- Wo: grafiek (geschiedenis) ---------- */
.chart { flex: none; margin-top: var(--s2); padding: var(--s3) 0 var(--s2) var(--s4); display: flex; flex-direction: column; overflow: hidden; position: relative; }
.chart.big { height: 30vh; min-height: 180px; margin-top: var(--s3); }
.legend { display: flex; gap: var(--s4); font-size: 11px; color: var(--secondary); padding-right: var(--s4); flex: none; margin-bottom: var(--s2); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { display: inline-block; }
.plot { flex: 1; min-height: 0; display: flex; }
.scroller { flex: 1; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.plot svg { display: block; height: 100%; }
.plot text { fill: var(--secondary); font-size: 11px; font-family: var(--sans); }
.yaxis { width: 34px; flex: none; }
.grow { animation: grow .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* ---------- Wo: invoer ---------- */
.input { flex: 1; min-height: 0; margin-top: var(--s3); display: flex; flex-direction: column; }
.pad { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.pad .shift { flex: none; height: 36px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--s2); border-bottom: .5px solid var(--hairline); font-size: 13px; color: var(--secondary); }
.pad .shift button { width: 44px; height: 36px; color: var(--accent); font-size: 20px; }
.pad .chead { color: var(--text); font-size: 15px; padding-left: var(--s4); }
.pad .chead b { font-weight: 600; }
.pad .chead .skip { width: auto; padding: 0 var(--s2); font-size: 13px; color: var(--accent); }
.pad .kg { font-family: var(--round); font-size: 20px; color: var(--text); }
.nums { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(5, 1fr); gap: .5px; background: var(--hairline); }
.num { background: var(--card); font-family: var(--round); font-size: 30px; font-weight: 300; display: grid; place-items: center; position: relative; transition: background .15s; }
.num:active { background: var(--raised); }
.num.target { color: var(--accent); }
.centered { flex: 1; display: grid; place-items: center; }
.centered.col { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring { position: relative; width: min(62vw, 36vh, 260px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring .track { stroke: var(--hairline); }
.ring .progress { stroke: var(--accent); transition: stroke-dashoffset .2s linear; }
.ring .inner { text-align: center; padding: 0 var(--s4); }
.ring .v { font-family: var(--round); font-size: 56px; font-weight: 200; line-height: 1; }
.ring .l { font-size: 15px; color: var(--secondary); margin-top: var(--s2); }
.ring .l.hot { color: var(--accent); font-weight: 600; }
.ring:active { background: var(--press); }
.ring.idle .v { font-size: 28px; font-weight: 400; color: var(--accent); }

/* ---------- Wo: geschiedenis ---------- */
.hist { flex: 1; min-height: 0; margin-top: var(--s3); overflow-y: auto; scrollbar-width: none; }
.hist::-webkit-scrollbar { display: none; }
.hrow { position: relative; padding: var(--s3) var(--s4); transition: background .3s; }
.hrow + .hrow::before { content: ''; position: absolute; top: 0; left: var(--s4); right: 0; border-top: .5px solid var(--hairline); }
.hrow.flash { background: var(--accent-dim); }
.hrow .h1 { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.hrow .d { font-size: 15px; }
.hrow .d small { color: var(--secondary); font-size: 13px; }
.hrow .t { font-family: var(--round); font-size: 20px; }
.hrow .t small { font-family: var(--sans); font-size: 12px; color: var(--secondary); margin-left: 4px; }
.hrow .s { font-family: var(--round); font-size: 15px; color: var(--secondary); margin-top: 2px; }
.hrow .n { font-size: 13px; color: var(--secondary); margin-top: 4px; line-height: 1.35; }
.hrow .edit { margin-top: var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.hrow .edit .chips { height: auto; flex-wrap: wrap; overflow: visible; margin-top: 0; }
.hrow .edit .row2 { display: flex; justify-content: space-between; align-items: center; }
.danger { color: var(--red); font-size: 15px; height: 36px; }

/* ---------- Wo: warming-up en routines ---------- */
.warm-btn { margin-top: var(--s5); height: 40px; padding: 0 var(--s4); border-radius: 20px; border: .5px solid var(--tertiary); color: var(--accent); font-size: 15px; }
.warm-btn:active { background: var(--press); }
.warm-row { flex: none; height: 44px; margin-bottom: var(--s2); padding: 0 var(--s4); display: flex; align-items: center; justify-content: space-between; color: var(--accent); font-size: 15px; }
.warm-row:active { background: var(--raised); }
.warm-row span { color: var(--secondary); font-size: 13px; }
.warm { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: var(--s3); }
.warm h2 { font-size: 28px; font-weight: 600; margin-top: var(--s4); }
.warm p { font-size: 15px; color: var(--secondary); max-width: 300px; line-height: 1.4; min-height: 42px; }
.warm .next { min-height: 0; font-size: 13px; }
.warm .wbars { justify-content: center; }
.warm .wbars b { width: 18px; }
#warm.dim .warm h2, #warm.dim .ring .v { color: var(--tertiary); }
#warm.dim .warm p, #warm.dim .ring .l, #warm.dim .wbars { opacity: .35; }
#warm.dim .ring .progress { opacity: .25; }

/* ---------- Sheet ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 20; display: flex; align-items: flex-end; }
.sheet {
  width: 100%; max-width: 480px; margin-inline: auto; background: var(--raised); border-radius: 20px 20px 0 0;
  padding: var(--s5) var(--side) calc(env(safe-area-inset-bottom) + var(--s5));
  animation: up .25s ease-out;
}
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.sheet h2 { font-size: 20px; font-weight: 600; }
.sheet .sub { font-size: 13px; color: var(--secondary); margin-top: 2px; }
.stepper { display: flex; justify-content: space-between; align-items: center; height: 60px; border-bottom: .5px solid var(--hairline); }
.stepper .lbl { font-size: 17px; }
.stepper .ctl { display: flex; align-items: center; gap: var(--s4); }
.stepper .ctl button { width: 44px; height: 44px; border-radius: 50%; background: var(--card); color: var(--accent); font-size: 22px; }
.stepper .ctl button:active { background: var(--tertiary); }
.stepper .val { font-family: var(--round); font-size: 28px; min-width: 48px; text-align: center; }
.sheet .actions { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s5); }

/* ---------- Instellingen ---------- */
#settings { overflow-y: auto; scrollbar-width: none; }
h1 { font-size: 34px; font-weight: 700; letter-spacing: .4px; margin-top: var(--s2); }
.section { color: var(--secondary); font-size: 13px; text-transform: uppercase; letter-spacing: .3px; padding: 0 var(--s4) 7px; margin-top: var(--s6); flex: none; }
.list { background: var(--card); border-radius: var(--r-list); overflow: hidden; flex: none; }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  width: 100%; height: 48px; padding: 0 var(--s4); font-size: 17px; text-align: left;
  position: relative; transition: background .15s;
}
.row + .row::before { content: ''; position: absolute; top: 0; left: var(--s4); right: 0; border-top: .5px solid var(--hairline); }
button.row:active { background: var(--press); }
.row .end { display: flex; align-items: center; gap: var(--s3); color: var(--accent); }
.row .val { color: var(--secondary); font-size: 15px; }
.row .speaker { opacity: 0; transition: opacity .3s; }
.row.playing .speaker { opacity: 1; }
.row .check { opacity: 0; }
.row.on .check { opacity: 1; }
.hint { color: var(--secondary); font-size: 13px; padding: var(--s2) var(--s4) 0; line-height: 1.4; flex: none; }
.switch { appearance: none; -webkit-appearance: none; width: 51px; height: 31px; border-radius: 16px; background: var(--tertiary); position: relative; transition: background .2s; flex: none; }
.switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transition: transform .2s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 0; right: 0; top: calc(env(safe-area-inset-top) + 48px);
  width: calc(100% - 2 * var(--side)); max-width: calc(480px - 2 * var(--side)); margin-inline: auto;
  min-height: 48px; border-radius: var(--r-btn); background: var(--raised);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: 0 var(--s4);
  font-size: 15px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease; z-index: 30;
}
.toast.show { transform: none; opacity: 1; pointer-events: auto; }
.toast button { color: var(--accent); font-weight: 600; font-size: 15px; height: 48px; white-space: nowrap; }
