/* Schichtplan – mobil zuerst. Farben der Schichten wie im Papierplan. */
:root {
  --bg: #f2f4f8;
  --card: #ffffff;
  --card-2: #f7f8fb;
  --text: #121826;
  --muted: #687284;
  --line: #e3e7ee;
  --accent: #1d4fb8;
  --accent-soft: #e6eefc;
  --navy: #0d2b66;

  --f: #7fa9e4;  --f-t: #0a1f40;
  --s: #f6ae74;  --s-t: #3f1d03;
  --n: #a8d382;  --n-t: #15300a;
  --star: #0d2b66; --star-t: #ffffff;
  --bu: #a3a9b3; --bu-t: #15181d;
  --u: #c9a2f4;  --u-t: #2b0c4b;
  --k: #f09393;  --k-t: #420c0c;
  --x: #e9ecf1;  --x-t: #374151;
  --free: transparent; --free-t: var(--text);

  --hol: #d33a3a;
  --fer: #e46fc4;
  --warn: #c2410c;

  --radius: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
  --tabbar-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #0a0e16; --card: #141a25; --card-2: #1a2130; --text: #e9edf5; --muted: #95a0b3; --line: #252e3e;
    --accent: #7aa7ff; --accent-soft: #1b2b4d;
    --f: #5f8fd6; --f-t: #06152d; --s: #e9955a; --s-t: #2b1302; --n: #8cc163; --n-t: #0c2005;
    --star: #24459a; --star-t: #ffffff; --bu: #6b7280; --bu-t: #f3f4f6; --u: #a77fe0; --u-t: #1c0638;
    --k: #e06b6b; --k-t: #2b0505; --x: #2a3242; --x-t: #d6dbe5;
    --hol: #ff6b6b; --fer: #f08fd6; --warn: #fb923c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0e16; --card: #141a25; --card-2: #1a2130; --text: #e9edf5; --muted: #95a0b3; --line: #252e3e;
  --accent: #7aa7ff; --accent-soft: #1b2b4d;
  --f: #5f8fd6; --f-t: #06152d; --s: #e9955a; --s-t: #2b1302; --n: #8cc163; --n-t: #0c2005;
  --star: #24459a; --star-t: #ffffff; --bu: #6b7280; --bu-t: #f3f4f6; --u: #a77fe0; --u-t: #1c0638;
  --k: #e06b6b; --k-t: #2b0505; --x: #2a3242; --x-t: #d6dbe5;
  --hol: #ff6b6b; --fer: #f08fd6; --warn: #fb923c;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .25);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overscroll-behavior-y: none;
}
body.sheet-open { overflow: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--text); }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Schichtfarben ---------- */
.t-f { background: var(--f); color: var(--f-t); }
.t-s { background: var(--s); color: var(--s-t); }
.t-n { background: var(--n); color: var(--n-t); }
.t-star { background: var(--star); color: var(--star-t); }
.t-bu { background: var(--bu); color: var(--bu-t); }
.t-u { background: var(--u); color: var(--u-t); }
.t-k { background: var(--k); color: var(--k-t); }
.t-x { background: var(--x); color: var(--x-t); }
.t-free { background: var(--free); color: var(--free-t); }
.t-none { background: transparent; color: var(--muted); }

/* ---------- Kopfzeile ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 4px;
  padding: calc(var(--safe-t) + 8px) 12px 8px;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  max-width: 720px; margin: 0 auto;
}
.titles { flex: 1; text-align: center; min-width: 0; }
.titles h1 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.subtitle { font-size: 12.5px; color: var(--muted); min-height: 16px; }
.nav-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--accent); }
.nav-btn:active { background: var(--accent-soft); }
.today-btn { order: 3; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 999px; }
body.no-nav .nav-btn, body.no-nav .today-btn { visibility: hidden; }
.topbar #btnNext { order: 4; }

/* ---------- Inhalt ---------- */
.view {
  max-width: 720px; margin: 0 auto;
  padding: 4px 14px calc(var(--tabbar-h) + var(--safe-b) + 90px);
}
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.card h2 { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.card h2 small { text-transform: none; letter-spacing: 0; font-weight: 500; }
.muted { color: var(--muted); }
.empty { color: var(--muted); font-size: 14px; padding: 4px 0; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.badge {
  display: inline-grid; place-items: center;
  min-width: 30px; height: 30px; padding: 0 6px; border-radius: 9px;
  font-weight: 800; font-size: 14px; font-style: italic;
}
.badge.t-free { border: 1.5px dashed var(--line); }
.badge.lg { min-width: 46px; height: 46px; border-radius: 13px; font-size: 20px; }

.tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; margin: 2px 4px 0 0; }
.tag-hol { background: color-mix(in srgb, var(--hol) 15%, transparent); color: var(--hol); }
.tag-fer { background: color-mix(in srgb, var(--fer) 16%, transparent); color: color-mix(in srgb, var(--fer) 70%, var(--text)); }
.tag-chg { background: var(--accent-soft); color: var(--accent); }

/* ---------- Heute ---------- */
.hero { border-radius: 24px; padding: 18px 18px 20px; margin-bottom: 14px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero.t-free, .hero.t-none { background: var(--card); color: var(--text); }
.hero.t-star { background: linear-gradient(135deg, var(--star), color-mix(in srgb, var(--star) 70%, #4b7be0)); }
.hero-top { font-size: 13.5px; font-weight: 600; opacity: .85; }
.hero-main { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.hero-badge {
  width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center;
  font-size: 34px; font-weight: 900; font-style: italic;
  background: color-mix(in srgb, currentColor 13%, transparent);
}
.hero.t-free .hero-badge, .hero.t-none .hero-badge { font-size: 20px; background: var(--card-2); color: var(--muted); }
.hero-label { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-time { font-size: 16px; font-weight: 600; opacity: .85; margin-top: 3px; }
.hero-note { margin-top: 12px; font-size: 13px; font-weight: 600; opacity: .85; }
.hero .tag { background: color-mix(in srgb, currentColor 14%, transparent); color: inherit; }

.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.fact { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 14px; text-align: left; }
.fact-k { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.fact-v { font-size: 17px; font-weight: 700; margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.fact-s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.fact.wide { grid-column: 1 / -1; }

.strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; scroll-snap-type: x proximity; }
.strip::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; width: 52px; border-radius: 14px; padding: 8px 0 6px; text-align: center; background: var(--card-2); scroll-snap-align: start; position: relative; }
.chip .wd { font-size: 11px; font-weight: 600; color: var(--muted); }
.chip .dn { font-size: 17px; font-weight: 700; margin: 1px 0 5px; }
.chip .dn.hol { color: var(--hol); }
.chip .badge { min-width: 34px; height: 28px; font-size: 13px; }
.chip.is-today { outline: 2px solid var(--accent); }
.chip .dot { position: absolute; top: 6px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Termine ---------- */
.ev { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 2px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ev:first-of-type { border-top: 0; }
.ev-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.ev-time { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 84px; }
.ev-title { font-weight: 600; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ev-rep { color: var(--muted); font-size: 14px; }
.ev-warn { flex-basis: 100%; padding-left: 20px; font-size: 12.5px; font-weight: 600; color: var(--warn); }
.ev-date { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 12px 0 0; text-transform: uppercase; letter-spacing: .03em; }
.ev-date:first-child { margin-top: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 16px; border-radius: 13px; font-weight: 600; font-size: 15px; background: var(--card-2); }
.btn.primary { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .btn.primary { color: #06152d; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .btn.primary { color: #06152d; } }
.btn.danger { color: var(--hol); }
.btn.block { width: 100%; }
.btn.small { padding: 7px 12px; font-size: 14px; border-radius: 11px; }
.btn-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.btn-row .btn { flex: 1; }

/* ---------- Woche ---------- */
.week-row { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 12px; margin-bottom: 9px; cursor: pointer; }
.week-row.is-today { outline: 2px solid var(--accent); }
.week-row .badge { min-width: 48px; height: 48px; border-radius: 14px; font-size: 20px; }
.wr-main { flex: 1; min-width: 0; }
.wr-date { font-weight: 700; display: flex; gap: 6px; align-items: baseline; }
.wr-date .hol { color: var(--hol); }
.wr-shift { font-size: 14px; color: var(--muted); margin-top: 1px; }
.wr-ev { font-size: 14px; margin-top: 6px; display: flex; gap: 8px; align-items: center; }
.wr-ev .ev-dot { width: 8px; height: 8px; }
.wr-ev .t { color: var(--muted); font-variant-numeric: tabular-nums; }
.wr-ev .w { color: var(--warn); font-size: 12px; font-weight: 600; }
.wr-note { font-size: 13px; color: var(--muted); margin-top: 6px; font-style: italic; }

.sum { display: flex; flex-wrap: wrap; gap: 8px; }
.sum-item { display: flex; align-items: center; gap: 6px; background: var(--card-2); border-radius: 12px; padding: 6px 10px 6px 6px; font-size: 14px; font-weight: 600; }
.sum-item .badge { min-width: 26px; height: 26px; font-size: 12.5px; border-radius: 8px; }
.sum-item.plain { padding: 6px 10px; }

/* ---------- Monat ---------- */
.month { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px 8px 12px; margin-bottom: 14px; }
.mgrid { display: grid; grid-template-columns: 20px repeat(7, 1fr); gap: 4px; }
.mh { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; padding: 2px 0 4px; }
.mh.we { color: color-mix(in srgb, var(--muted) 70%, var(--hol)); }
.kw { font-size: 10px; color: var(--muted); display: grid; place-items: center; font-weight: 600; opacity: .8; }
.mc {
  position: relative; aspect-ratio: 1 / 1.12; border-radius: 11px; padding: 4px 0 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; overflow: hidden;
}
.mc.t-free { background: var(--card-2); }
.mc .num { font-size: 12px; font-weight: 600; opacity: .85; line-height: 1; }
.mc .num.hol { color: var(--hol); opacity: 1; font-weight: 800; }
.mc.t-star .num.hol, .mc.t-bu .num.hol { color: #ffb3b3; }
.mc .code { font-size: 17px; font-weight: 800; font-style: italic; margin-top: auto; margin-bottom: auto; line-height: 1; }
.mc .code.sm { font-size: 11px; }
.mc.out { opacity: .32; }
.mc.is-today { box-shadow: 0 0 0 2.5px var(--accent) inset, 0 0 0 1px var(--card) inset; }
.mc .fer { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--fer); }
.mc .dots { position: absolute; top: 4px; right: 4px; display: flex; gap: 2px; }
.mc .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: block; }
.mc .chg { position: absolute; top: 3px; left: 4px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .7; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend .sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.legend .sw.line { height: 4px; border-radius: 2px; }

/* ---------- Jahr ---------- */
.year { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 560px) { .year { grid-template-columns: repeat(3, 1fr); } }
.mini { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 10px 9px 11px; text-align: left; }
.mini.is-cur { outline: 2px solid var(--accent); }
.mini-t { font-weight: 700; font-size: 14px; margin: 0 0 6px 2px; display: flex; justify-content: space-between; }
.mini-t small { color: var(--muted); font-weight: 600; font-size: 11px; }
.mini-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mini-g .h { font-size: 8.5px; text-align: center; color: var(--muted); font-weight: 700; }
.mini-g .c { aspect-ratio: 1; border-radius: 3.5px; font-size: 8.5px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.mini-g .c.t-free { background: var(--card-2); color: var(--muted); }
.mini-g .c.hol { box-shadow: 0 0 0 1.5px var(--hol) inset; }
.mini-g .c.today { box-shadow: 0 0 0 2px var(--accent) inset; }

/* ---------- Statistik / Mehr ---------- */
table.stat { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
table.stat th, table.stat td { padding: 7px 4px; text-align: right; border-bottom: 1px solid var(--line); }
table.stat th:first-child, table.stat td:first-child { text-align: left; }
table.stat th { font-size: 12px; color: var(--muted); font-weight: 700; }
table.stat tfoot td { font-weight: 800; border-bottom: 0; }
.th-dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 3px; vertical-align: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.kpi { background: var(--card-2); border-radius: 13px; padding: 10px; }
.kpi b { display: block; font-size: 20px; letter-spacing: -.02em; }
.kpi span { font-size: 12px; color: var(--muted); font-weight: 600; }

.field { display: block; margin-bottom: 12px; }
.field > span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.input, select.input, textarea.input {
  width: 100%; padding: 11px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card-2);
  font-size: 16px; outline: none; -webkit-appearance: none; appearance: none;
}
.input:focus { border-color: var(--accent); }
textarea.input { min-height: 80px; resize: vertical; }
.time-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px 10px; align-items: center; }
.time-grid .input { padding: 8px 10px; }
.switch-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); gap: 12px; }
.switch-row:first-of-type { border-top: 0; }
.switch { position: relative; width: 50px; height: 30px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .2s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch input:checked + i { background: #34c759; }
.switch input:checked + i::after { transform: translateX(20px); }
.seg { display: flex; background: var(--card-2); border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { flex: 1; padding: 8px 6px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.small-print { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ---------- Bottom Sheet ---------- */
.backdrop { position: fixed; inset: 0; background: rgba(5, 10, 20, .4); opacity: 0; transition: opacity .22s; z-index: 40; }
.backdrop.open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  max-width: 720px; margin: 0 auto; max-height: 92vh; max-height: 92dvh;
  background: var(--card); border-radius: 22px 22px 0 0;
  transform: translateY(100%); transition: transform .26s cubic-bezier(.2, .8, .2, 1);
  display: flex; flex-direction: column;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, .18);
}
.sheet.open { transform: translateY(0); }
.grabber { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 8px auto 2px; flex: 0 0 auto; }
.sheet-body { overflow-y: auto; padding: 8px 18px calc(var(--safe-b) + 22px); -webkit-overflow-scrolling: touch; }
.sh-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.sh-head .t { flex: 1; }
.sh-date { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.sh-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.x { width: 34px; height: 34px; border-radius: 50%; background: var(--card-2); display: grid; place-items: center; flex: 0 0 auto; }
.x svg { width: 18px; height: 18px; }
.sh-shift { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; margin-bottom: 8px; }
.sh-shift.t-free, .sh-shift.t-none { background: var(--card-2); }
.sh-shift .big { font-size: 30px; font-weight: 900; font-style: italic; min-width: 44px; text-align: center; }
.sh-shift .lbl { font-weight: 800; font-size: 18px; }
.sh-shift .tm { font-size: 14px; opacity: .85; font-weight: 600; }
.label { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 18px 0 8px; }
.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.choice { border-radius: 12px; padding: 8px 4px; font-size: 13px; font-weight: 700; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 2px solid transparent; }
.choice.t-free { background: var(--card-2); }
.choice .b { font-size: 16px; font-style: italic; font-weight: 900; min-height: 20px; }
.choice .n { font-size: 11px; font-weight: 600; opacity: .85; }
.choice.on { border-color: var(--text); }
.color-pick { display: flex; gap: 10px; }
.color-pick label { position: relative; }
.color-pick input { position: absolute; opacity: 0; }
.color-pick i { display: block; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line); }
.color-pick input:checked + i { box-shadow: 0 0 0 2.5px var(--text); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Unten: Tabbar, FAB, Toast ---------- */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; justify-content: space-around;
  padding: 6px 6px calc(var(--safe-b) + 6px);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-top: 1px solid var(--line);
}
.tab { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 0; color: var(--muted); font-size: 10.5px; font-weight: 600; }
.tab svg { width: 24px; height: 24px; stroke-width: 1.8; }
.tab.active { color: var(--accent); }
.fab {
  position: fixed; z-index: 31; right: max(18px, calc(50vw - 342px));
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px);
  width: 56px; height: 56px; border-radius: 18px; background: var(--accent); color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 45%, transparent);
}
.fab svg { width: 28px; height: 28px; stroke-width: 2.4; }
:root[data-theme="dark"] .fab { color: #06152d; }
@media (prefers-color-scheme: dark) { :root[data-theme="auto"] .fab { color: #06152d; } }
body.no-fab .fab { display: none; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 60;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 20px);
  background: #111827; color: #fff; padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25); display: flex; gap: 12px; align-items: center; max-width: calc(100vw - 32px);
}
.toast button { color: #8fb4ff; font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .sheet, .backdrop { transition: none; } }
