/* Turma — visual inspirado em escolas de idiomas: claro, acolhedor, colorido sem exagero. */
:root {
  --bg: #f6f5f1;
  --bg-soft: #efeee8;
  --card: #ffffff;
  --text: #15183a;
  --muted: #6a6f8c;
  --line: #e7e5ee;
  --brand: #4f5bff;
  --brand-2: #8b5cf6;
  --brand-deep: #1f2672;
  --brand-ink: #ffffff;
  --brand-soft: #eceeff;
  --coral: #ff6b4a;
  --coral-soft: #ffece6;
  --sun: #f5b83d;
  --sun-soft: #fff4dc;
  --mint: #12a67f;
  --mint-soft: #e2f6ef;
  --danger: #e0435c;
  --danger-soft: #fde8ec;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 24, 58, .05), 0 8px 24px rgba(21, 24, 58, .06);
  --shadow-lg: 0 24px 60px rgba(21, 24, 58, .18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1024;
    --bg-soft: #151834;
    --card: #181b36;
    --text: #eef0fb;
    --muted: #9ba1c2;
    --line: #2a2e52;
    --brand: #7d87ff;
    --brand-2: #a78bfa;
    --brand-deep: #0b0e2a;
    --brand-ink: #0e1024;
    --brand-soft: #23275a;
    --coral: #ff8a6e;
    --coral-soft: #3a2224;
    --sun: #f7c35c;
    --sun-soft: #352c17;
    --mint: #3fd0a6;
    --mint-soft: #133a32;
    --danger: #ff6b81;
    --danger-soft: #3d1c26;
    --shadow: none;
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body {
  font: 15.5px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
.boot { text-align: center; color: var(--muted); margin-top: 40vh; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.02em; }
p { margin: 0; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- marca ---------- */
.brandline { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo { width: 34px; height: 34px; flex: none; }

/* ---------- topo ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.spacer { flex: 1; }
.who-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); }
.who-role { font-size: 13px; font-weight: 700; color: var(--muted); }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 12px;
}
.avatar.lg { width: 44px; height: 44px; font-size: 15px; border-radius: 14px; }
.avatar.alt { background: linear-gradient(135deg, #12a67f, #3fc6d8); }
.avatar.coral { background: linear-gradient(135deg, #ff6b4a, #ff9f5a); }
.avatar.sun { background: linear-gradient(135deg, #f5b83d, #ff8a3d); }
.iconbtn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: var(--card); color: var(--text); flex: none;
}
.iconbtn:hover { border-color: var(--brand); color: var(--brand); }
.iconbtn.small { width: 32px; height: 32px; border-radius: 10px; }
.iconbtn.small .ico { width: 15px; height: 15px; }

/* ---------- ver como ---------- */
.viewas {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 8px 16px; background: var(--brand-soft); border-bottom: 1px solid var(--line); font-size: 14px;
}
.viewas label { font-weight: 700; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }
.viewas select { width: auto; padding: 6px 10px; border-radius: 10px; min-width: 0; max-width: 100%; font-size: 14px; }
.banner {
  padding: 8px 16px; font-size: 13px; text-align: center;
  background: var(--sun-soft); color: color-mix(in srgb, var(--sun) 40%, var(--text)); border-bottom: 1px solid var(--line);
}

/* ---------- navegação ---------- */
.shell { max-width: 1040px; margin: 0 auto; }
.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9;
  display: flex; justify-content: space-around; gap: 4px;
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.tab {
  flex: 1; max-width: 120px; border: 0; background: transparent; cursor: pointer;
  display: grid; justify-items: center; gap: 2px; padding: 6px 4px; border-radius: 14px;
  color: var(--muted); font-size: 11.5px; font-weight: 700;
}
.tab .ico { width: 22px; height: 22px; }
.tab[aria-selected="true"] { color: var(--brand); background: var(--brand-soft); }
.has-tabs main { padding-bottom: 96px; }

@media (min-width: 900px) {
  .shell.has-tabs { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 0 24px; }
  .tabs {
    position: sticky; top: 76px; align-self: start; flex-direction: column; justify-content: flex-start;
    background: transparent; border: 0; backdrop-filter: none; padding: 24px 0;
  }
  .tab { max-width: none; display: flex; gap: 12px; font-size: 15px; padding: 11px 14px; justify-content: flex-start; }
  .has-tabs main { padding-bottom: 48px; }
}

/* ---------- conteúdo ---------- */
main { padding: 20px 16px; max-width: 760px; width: 100%; margin: 0 auto; }
.page-head { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head > div:first-child { flex: 1; min-width: 160px; }
.page-head h1 { font-size: 26px; font-weight: 800; }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
h2.section { font-size: 17px; font-weight: 800; margin: 28px 0 12px; display: flex; align-items: center; gap: 8px; }
h2.section .ico { color: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 14px; padding: 11px 18px; font-weight: 700; cursor: pointer;
  background: var(--brand); color: var(--brand-ink);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 28%, transparent);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 12px; }
.btn.block { width: 100%; }
.btn.danger { color: var(--danger); }
.btn:disabled { opacity: .5; cursor: default; box-shadow: none; }
.linkbtn { border: 0; background: none; color: var(--brand); font-weight: 700; cursor: pointer; padding: 6px 0; }

input[type="search"], input[type="text"], input[type="email"], input[type="tel"], input[type="time"], input[type="date"], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--card); transition: border-color .15s;
}
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
button:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.search { margin-bottom: 14px; }

.pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px;
  background: var(--brand-soft); color: var(--brand); white-space: nowrap;
}
.pill.off { background: var(--danger-soft); color: var(--danger); }
.pill.mint { background: var(--mint-soft); color: var(--mint); }
.pill.sun { background: var(--sun-soft); color: color-mix(in srgb, var(--sun) 55%, var(--text)); }
.pill.coral { background: var(--coral-soft); color: var(--coral); }

.list { display: grid; gap: 10px; }
.item {
  display: flex; gap: 14px; align-items: center; text-align: left; width: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; box-shadow: var(--shadow); cursor: pointer; transition: border-color .15s, transform .12s;
}
button.item:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.item.static { cursor: default; }
.item-body { display: grid; gap: 3px; flex: 1; min-width: 0; }
.item .row, .row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.item .name, .name { font-weight: 700; }
.sub { color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
.when { color: var(--brand); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.sub.when .ico, p.when .ico { width: 15px; height: 15px; }
p.when { display: block; line-height: 1.8; }
p.when .ico { vertical-align: -2px; margin-right: 6px; }
.empty, .hint {
  text-align: center; color: var(--muted); padding: 28px 16px;
  border: 1.5px dashed var(--line); border-radius: var(--radius); background: color-mix(in srgb, var(--card) 50%, transparent);
}
.empty.small { padding: 18px 12px; font-size: 14px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; margin-bottom: 14px;
}
.card h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.card h3 .ico { color: var(--brand); }
.note { color: var(--muted); font-size: 14px; }
.note.small { font-size: 13px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- login ---------- */
.auth { min-height: 100svh; display: grid; place-items: center; padding: 24px 16px; position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 60%),
              radial-gradient(900px 500px at 110% 110%, color-mix(in srgb, var(--coral) 26%, transparent), transparent 60%), var(--bg); }
.auth-hero { position: absolute; inset: 0; pointer-events: none; }
.bubble {
  position: absolute; padding: 8px 14px; border-radius: 16px 16px 16px 4px; font-weight: 800; font-size: 15px;
  background: var(--card); box-shadow: var(--shadow); color: var(--text); animation: float 6s ease-in-out infinite;
}
.bubble.b1 { top: 9%; left: 8%; color: var(--brand); }
.bubble.b2 { top: 16%; right: 9%; color: var(--coral); animation-delay: -2s; border-radius: 16px 16px 4px 16px; }
.bubble.b3 { bottom: 14%; left: 10%; color: var(--mint); animation-delay: -4s; }
.bubble.b4 { bottom: 8%; right: 12%; color: color-mix(in srgb, var(--sun) 60%, var(--text)); animation-delay: -1s; border-radius: 16px 16px 4px 16px; }
@keyframes float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .bubble { animation: none; } }
.auth-card {
  position: relative; width: min(420px, 100%); background: var(--card); border: 1px solid var(--line);
  border-radius: 28px; padding: 32px 26px; box-shadow: var(--shadow-lg); display: grid; gap: 16px;
}
.auth-card h1 { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.auth-card .lead { color: var(--muted); }
.google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #fff; color: #1f1f1f; border: 1.5px solid #dadce0; border-radius: 14px;
  padding: 13px 16px; font-weight: 700; cursor: pointer; transition: box-shadow .15s;
}
.google:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); }
.google svg { width: 20px; height: 20px; }
.perks { list-style: none; margin: 4px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.perks .ico { color: var(--brand); width: 20px; height: 20px; padding: 6px; box-sizing: content-box; background: var(--brand-soft); border-radius: 10px; }
.err { color: var(--danger); font-size: 14px; }
code { background: var(--brand-soft); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* ---------- início do aluno ---------- */
.hero {
  position: relative; overflow: hidden; border-radius: 26px; padding: 24px 22px; margin-bottom: 16px; color: #fff;
  background: linear-gradient(135deg, #3d47e6 0%, #7c4dff 60%, #b04dff 100%);
  display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; box-shadow: 0 18px 40px rgba(79, 91, 255, .28);
}
.hero::after {
  content: ""; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%);
}
.hero-text { flex: 1; min-width: 180px; position: relative; z-index: 1; }
.hero .eyebrow { color: rgba(255,255,255,.75); }
.hero h1 { font-size: 30px; font-weight: 800; margin: 4px 0 6px; }
.hero p { color: rgba(255,255,255,.85); }
.hero-stats { display: flex; gap: 10px; position: relative; z-index: 1; }
.hero-stats span {
  display: grid; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.16);
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); backdrop-filter: blur(6px);
}
.hero-stats b { font-size: 22px; color: #fff; line-height: 1.1; }
.home-grid { display: grid; gap: 0; }
@media (min-width: 720px) {
  .home-grid { grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: start; }
  .home-grid > .next-card, .home-grid > .freed { grid-column: 1 / -1; }
}
.next-card { gap: 14px; }
.next-top { display: flex; justify-content: space-between; align-items: center; }
.next-main { display: flex; gap: 16px; align-items: center; }
.next-main h2 { font-size: 24px; font-weight: 800; }
.cal {
  width: 64px; height: 68px; border-radius: 18px; display: grid; place-items: center; align-content: center; flex: none;
  background: var(--coral-soft); color: var(--coral);
}
.cal span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.cal b { font-size: 26px; line-height: 1; }
.empty-next h2 { font-size: 20px; }
.credits { border-color: color-mix(in srgb, var(--coral) 35%, var(--line)); }
.credits h3 .ico { color: var(--coral); }
.credit { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); }
.credit:first-of-type { border-top: 0; }
.credit > div { display: grid; }
.freed { background: linear-gradient(135deg, var(--coral-soft), var(--sun-soft)); border-color: transparent; }
.freed h3 .ico { color: var(--coral); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.study { background: linear-gradient(135deg, var(--mint-soft), var(--brand-soft)); border-color: transparent; }
.study h3 .ico { color: var(--mint); }
.study p { color: var(--muted); }
.next-list { display: grid; }
.nextrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.nextrow:first-child { border-top: 0; }
.nextrow .d { font-weight: 800; display: grid; line-height: 1.15; min-width: 76px; }
.nextrow .d small { font-weight: 600; color: var(--muted); font-size: 12px; }
.nextrow .t { flex: 1; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* ---------- agenda ---------- */
.weeknav { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.weeknav .range { font-weight: 800; min-width: 120px; text-align: center; }
.days { display: grid; gap: 10px; }
.day {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow);
}
.day-head { display: grid; justify-items: center; padding-top: 2px; }
.day-num { font-size: 22px; font-weight: 800; line-height: 1; }
.day-name { font-size: 11.5px; font-weight: 700; color: var(--muted); text-align: center; display: grid; justify-items: center; gap: 4px; }
.day-body { display: grid; gap: 8px; min-width: 0; }
.day.today { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.day.today .day-num { color: var(--brand); }
.day.past { opacity: .55; }
.day .none { margin: 0; font-size: 13px; color: var(--muted); padding: 10px 0; }
.lesson {
  display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center;
  width: 100%; text-align: left; padding: 10px 12px; border-radius: 14px; cursor: pointer;
  background: var(--bg-soft); border: 1px solid transparent; border-left: 4px solid var(--brand);
}
.lesson:hover { border-color: var(--line); border-left-color: var(--brand); }
.lesson.k-single { border-left-color: var(--sun); }
.lesson.k-makeup { border-left-color: var(--mint); }
.lesson.cancelled { border-left-color: var(--danger); opacity: .8; }
.lesson .time { font-weight: 800; display: grid; line-height: 1.15; }
.lesson .time small { font-weight: 600; color: var(--muted); font-size: 12px; }
.lesson .who { display: grid; gap: 1px; min-width: 0; }
.lesson .who .name { overflow-wrap: anywhere; }
.lesson .who .sub { font-size: 12.5px; }
.lesson.cancelled .time, .lesson.cancelled .name { text-decoration: line-through; color: var(--muted); }

/* ---------- horários do professor ---------- */
.hours { display: grid; gap: 6px; }
.hrow { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.hrow:first-child { border-top: 0; }
.hday { font-weight: 800; }
.hwins { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.hwin { display: inline-flex; align-items: center; gap: 6px; background: var(--bg-soft); padding: 4px; border-radius: 12px; }
.hwin input[type="time"] { width: 116px; padding: 6px 8px; border-radius: 9px; font-size: 14px; }
.hwins .none { color: var(--muted); font-size: 14px; }
.grid3 { display: grid; gap: 12px; }
@media (min-width: 640px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }
.savebar { position: sticky; bottom: 84px; display: flex; justify-content: flex-end; padding: 8px 0; }
@media (min-width: 900px) { .savebar { bottom: 16px; } }

/* ---------- modais ---------- */
dialog {
  border: 0; border-radius: 26px; padding: 0; width: min(520px, calc(100vw - 20px));
  background: var(--card); color: var(--text); box-shadow: var(--shadow-lg);
}
dialog::backdrop { background: rgba(12, 14, 36, .5); backdrop-filter: blur(3px); }
@media (max-width: 560px) {
  dialog { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom); }
}
.form, .sheet { padding: 22px; display: grid; gap: 14px; max-height: 88svh; overflow: auto; }
.form h3, .sheet h3 { font-size: 20px; font-weight: 800; }
.sheet-head { display: flex; gap: 12px; align-items: center; }
.sheet-head > div { flex: 1; min-width: 0; }
.sheet-head p { color: var(--muted); font-size: 14px; }
.stack { display: grid; gap: 8px; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--coral-soft); font-size: 14.5px; }
.callout .ico { color: var(--coral); margin-top: 2px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two .field { min-width: 0; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); }
.actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.actions .spacer { flex: 1; }

/* seletor de horários */
.daychips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.daychips::-webkit-scrollbar { display: none; }
.daychip {
  position: relative; flex: none; width: 58px; padding: 8px 0; border-radius: 16px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--card); display: grid; justify-items: center; gap: 1px;
}
.daychip span { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.daychip b { font-size: 19px; }
.daychip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.daychip.on span { color: color-mix(in srgb, var(--brand-ink) 80%, transparent); }
.daychip .dot { position: absolute; top: 6px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot {
  display: grid; justify-items: center; gap: 1px; padding: 10px 6px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--card); font-weight: 800;
}
.slot small { font-size: 10.5px; font-weight: 700; color: var(--coral); }
.slot.freed { border-color: color-mix(in srgb, var(--coral) 55%, var(--line)); background: var(--coral-soft); }
.slot.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.slot.on small { color: inherit; }
.chips .slot { padding: 10px 14px; justify-items: start; }
.chips .slot span { font-size: 13px; font-weight: 600; color: var(--muted); }
.custom { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.custom summary { cursor: pointer; font-weight: 700; color: var(--brand); }
.custom .two { margin-top: 10px; }

#toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px);
  background: #15183a; color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: .2s; max-width: calc(100vw - 32px); z-index: 30; box-shadow: var(--shadow-lg);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.error { background: var(--danger); }
