/* EGRA / EGMA Field Kit — mobile-first. Tokens carried over from the prototype.
 * Single light theme on purpose: assessors work outdoors and in bright classrooms. */
:root {
  --paper:   #F4F7F5;
  --surface: #FFFFFF;
  --surface2:#EAF0ED;
  --ink:     #22333B;
  --muted:   #5C6E6A;
  --line:    #D5DEDA;
  --accent:  #0E7B5D;
  --accent-ink: #FFFFFF;
  --accent-soft:#DCEFE7;
  --mark:    #C0443B;
  --mark-soft:#F7E2E0;
  --amber:   #9A6A0C;
  --amber-soft:#F6ECD6;
  --shadow:  0 1px 3px rgba(34,51,59,.10), 0 4px 14px rgba(34,51,59,.06);
  /* chart series — validated for CVD + normal vision on the light surface */
  --s1: #0E7B5D;
  --s2: #2E5EC2;
  --s3: #B97F10;
  --s4: #A56BD0;
  /* benchmark bands (status) — validated; always shipped with labels + a table */
  --b-at: #0E7B5D;
  --b-approaching: #DDA83A;
  --b-below: #C0443B;
  --b-zero: #6B4C9A;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Lexend", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.stimulus { font-family: "Andika", "Comic Sans MS", Verdana, sans-serif; }

#app { max-width: 640px; margin: 0 auto; padding: 0 16px 120px; }
#app.wide { max-width: 1080px; }

h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; }
h2 { font-size: 22px; }
p { margin: 0; }
a { color: var(--accent); }
button { font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
input, select, textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: 10px; padding: 12px 14px; width: 100%;
}
textarea { min-height: 140px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em;
        text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
label.check { display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0;
              font-size: 14.5px; font-weight: 500; color: var(--ink); }
label.check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--accent); }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.num { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- structure ---------- */
.appbar {
  position: sticky; top: 0; z-index: 20; background: var(--paper);
  border-bottom: 1px solid var(--line); margin: 0 -16px; padding: 10px 16px 0;
}
.appbar-top { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.appbar-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.appbar-brand .brandmark { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }
.appbar-brand strong { display: block; font-size: 15px; line-height: 1.2; }
.appbar-brand span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tabs { display: flex; gap: 4px; overflow-x: auto; margin-top: 8px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: none; padding: 9px 12px 10px; font-size: 14px; font-weight: 600; color: var(--muted);
  text-decoration: none; border-bottom: 3px solid transparent;
}
.tabs a.on { color: var(--accent); border-bottom-color: var(--accent); }

.topbar {
  position: sticky; top: 0; z-index: 20; background: var(--paper);
  border-bottom: 1px solid var(--line); margin: 0 -16px; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px; box-shadow: var(--shadow);
}
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spread { justify-content: space-between; }
.page { padding-top: 20px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 20px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 600; text-align: center; text-decoration: none; color: var(--ink);
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-quiet   { background: transparent; border-color: transparent; color: var(--muted); min-height: 40px; padding: 8px 10px; }
.btn-danger  { color: var(--mark); border-color: var(--mark); background: transparent; }
.btn-small   { min-height: 38px; padding: 6px 14px; font-size: 14px; border-radius: 10px; }
.btn-block   { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font-weight: 600; }

.actionbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}
.actionbar-inner { max-width: 608px; margin: 0 auto; display: flex; gap: 10px; }
.actionbar-inner .btn { flex: 1; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: var(--surface2); color: var(--muted); white-space: nowrap;
}
.chip-good { background: var(--accent-soft); color: var(--accent); }
.chip-warn { background: var(--amber-soft); color: var(--amber); }
.chip-zero { background: var(--mark-soft); color: var(--mark); }
.chip-blue { background: #E2E9F8; color: #2E5EC2; }

.banner {
  border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 14.5px;
  background: var(--amber-soft); color: var(--amber);
}
.banner.go { background: var(--accent-soft); color: var(--accent); }
.banner.bad { background: var(--mark-soft); color: var(--mark); }
.banner.info { background: var(--surface2); color: var(--ink); font-weight: 500; }

.seg { display: flex; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.seg button { flex: 1; border: 0; background: var(--surface); padding: 10px 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); min-height: 42px; }
.seg button.on { background: var(--accent); color: var(--accent-ink); }

.brandmark {
  width: 42px; height: 42px; border-radius: 12px; background: var(--accent);
  color: var(--accent-ink); display: flex; align-items: center; justify-content: center;
  font-family: "Andika", Verdana, sans-serif; font-weight: 700; font-size: 20px; flex: none;
}

.toast {
  position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; z-index: 60; box-shadow: var(--shadow);
  max-width: calc(100vw - 32px); text-align: center;
}

.home-item { width: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface);
             border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between;
             align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.home-item .chips { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.list { display: flex; flex-direction: column; gap: 8px; }

.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px;
                  padding: 7px 14px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.filters button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field-error { color: var(--mark); font-size: 13px; font-weight: 600; }

.syncbar { display: flex; align-items: center; gap: 8px; justify-content: space-between;
           border-radius: 12px; padding: 10px 14px; font-size: 13.5px; font-weight: 600;
           background: var(--amber-soft); color: var(--amber); }
.syncbar.offline { background: var(--surface2); color: var(--ink); }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: currentColor; flex: none; }

/* ---------- timer header ---------- */
.runbar {
  position: sticky; top: 0; z-index: 25;
  margin: 0 -16px; padding: 10px 16px;
  background: var(--surface); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.timer {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: 34px;
  letter-spacing: .01em; min-width: 96px; text-align: right;
}
.timer.low { color: var(--mark); }
@media (prefers-reduced-motion: no-preference) {
  .timer.low { animation: tpulse 1s ease-in-out infinite; }
  @keyframes tpulse { 50% { opacity: .55; } }
}

/* ---------- item grids ---------- */
.grid { display: grid; gap: 8px; margin-top: 14px; }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cell {
  position: relative;
  min-height: 52px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface);
  font-size: 22px; line-height: 1; padding: 8px 2px;
  display: flex; align-items: center; justify-content: center;
  user-select: none; -webkit-user-select: none;
  overflow-wrap: anywhere; color: var(--ink);
}
.grid.cols-3 .cell { font-size: 20px; }
.cell .key { position: absolute; right: 5px; bottom: 3px; font-family: "Lexend", sans-serif;
             font-size: 10.5px; color: var(--muted); font-weight: 600; }
.cell.bad { background: var(--mark-soft); border-color: var(--mark); color: var(--mark); text-decoration: line-through; text-decoration-thickness: 2px; }
.cell.bad.auto { border-style: dashed; }
.cell.last { box-shadow: inset 0 0 0 3px var(--accent); }
.cell.beyond { opacity: .35; }
.idle .cell { opacity: .55; }

.passage { margin-top: 14px; line-height: 2.2; font-size: 21px; }
.passage .cell {
  display: inline-flex; min-height: 40px; padding: 4px 9px; margin: 2px 2px;
  font-size: inherit;
}

.recdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%;
          background: var(--mark); margin-right: 8px; vertical-align: baseline; }
@media (prefers-reduced-motion: no-preference) {
  .recdot { animation: recpulse 1.3s ease-in-out infinite; }
  @keyframes recpulse { 50% { opacity: .35; } }
}

/* ---------- untimed question items ---------- */
.qitem { border-top: 1px solid var(--line); padding: 14px 0; }
.qitem:first-of-type { border-top: 0; }
.qtext { font-size: 17px; margin-bottom: 4px; }
.qstim { font-family: "Andika", Verdana, sans-serif; font-size: 30px; font-weight: 700; letter-spacing: .06em;
         text-align: center; background: var(--surface2); border-radius: 10px; padding: 10px; margin: 6px 0 8px;
         white-space: pre; font-variant-numeric: tabular-nums; }
.qanswer { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.qbtns { display: flex; gap: 8px; }
.qbtns button {
  flex: 1; min-height: 46px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--surface); font-weight: 600; font-size: 14px;
}
.qbtns button.on-correct { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.qbtns button.on-incorrect { background: var(--mark); border-color: var(--mark); color: #fff; }
.qbtns button.on-nr { background: var(--surface2); border-color: var(--muted); color: var(--ink); }
.qitem.locked { opacity: .45; }

/* ---------- results & profile ---------- */
.score-card { display: flex; flex-direction: column; gap: 6px; }
.score-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.score-num { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.score-unit { font-size: 13px; color: var(--muted); }
.meter { height: 8px; border-radius: 999px; background: var(--surface2); overflow: hidden; }
.meter > div { height: 100%; border-radius: 999px; background: var(--accent); }

.hero-num { font-size: 56px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1; }
.delta { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 600;
         font-variant-numeric: tabular-nums; }
.delta.up   { color: var(--accent); }
.delta.down { color: var(--mark); }
.delta.flat { color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
        padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile-label { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
              color: var(--muted); display: flex; align-items: center; gap: 6px; }
.swatch { width: 9px; height: 9px; border-radius: 3px; flex: none; display: inline-block; }
.tile-num { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.tile-num .score-unit { font-size: 12px; }
.tile-cap { font-size: 12px; color: var(--muted); line-height: 1.35; }
.spark { width: 100%; height: 30px; display: block; }

.chart-card { position: relative; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 4px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.chart-svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.chart-tip {
  position: absolute; z-index: 5; pointer-events: none; display: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: 8px 12px; font-size: 12.5px; min-width: 140px;
}
.chart-tip .t-date { font-weight: 700; margin-bottom: 4px; }
.chart-tip .t-row { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.chart-tip .t-row b { font-variant-numeric: tabular-nums; font-weight: 600; }
.chart-tip .t-name { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }

table.data { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
table.data th, table.data td { text-align: right; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
table.data td a { font-weight: 600; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

details { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
details summary { padding: 12px 16px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 20px; color: var(--muted); }
details[open] summary::after { content: "\2013"; }
details .d-body { padding: 0 16px 16px; }

/* ---------- dashboard ---------- */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px;
       display: flex; flex-direction: column; gap: 3px; box-shadow: var(--shadow); }
.kpi .k-num { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi .k-num .u { font-size: 13px; font-weight: 600; color: var(--muted); }
.kpi .k-cap { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.dash-grid > * { min-width: 0; }

.hbar { display: grid; grid-template-columns: minmax(90px, 34%) 1fr 48px; align-items: center; gap: 10px;
        font-size: 13px; padding: 4px 0; }
.hbar .hl { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar .track { height: 14px; background: var(--surface2); border-radius: 4px; overflow: hidden; display: flex; gap: 2px; }
.hbar .track > div { height: 100%; }
.hbar .track > div:first-child { border-radius: 4px 0 0 4px; }
.hbar .track > div:last-child { border-radius: 0 4px 4px 0; }
.hbar b { text-align: right; font-variant-numeric: tabular-nums; }
.hbar[data-tip] { cursor: default; }

.flag-row { display: flex; justify-content: space-between; gap: 10px; align-items: center;
            border-top: 1px solid var(--line); padding: 10px 0; font-size: 14px; text-decoration: none; color: inherit; }
.flag-row:first-child { border-top: 0; }

@media (min-width: 720px) {
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .dash-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid .span2 { grid-column: 1 / -1; }
}

/* ---------- login ---------- */
.login-wrap { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; }
.grid.nokey .key { display: none; }

/* ---------- v2: hub, chat simulator, marking, print ---------- */
.hub { display: grid; grid-template-columns: 1fr; gap: 10px; }
.hub a { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit;
         background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); min-height: 72px; }
.hub .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; }
.hub strong { display: block; font-size: 15.5px; }
.hub span.sub { display: block; font-size: 12.5px; color: var(--muted); }
.hub .count { margin-left: auto; }
@media (min-width: 720px) { .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.badge-lang { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
              padding: 2px 7px; border-radius: 6px; background: var(--surface2); color: var(--muted); }

.mark-grid { user-select: none; }
.cell.ref-bad { outline: 2px dotted var(--mark); outline-offset: 2px; }
.cell.ref-last { outline: 2px dotted var(--accent); outline-offset: 2px; }
.refmark { display: inline-block; width: 12px; height: 12px; outline: 2px dotted var(--mark); outline-offset: 1px; vertical-align: middle; margin-right: 4px; }

/* WhatsApp simulator */
.chat { background: #EFEAE2; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 240px; max-height: 60vh; overflow-y: auto;
        background-image: radial-gradient(circle at 20% 20%, rgba(17,27,33,.05) 0 2px, transparent 2px); background-size: 48px 48px; }
.msg { max-width: 86%; padding: 8px 11px; border-radius: 10px; font-size: 14px; line-height: 1.42; color: #111B21; white-space: pre-wrap; overflow-wrap: anywhere;
       box-shadow: 0 1px 1px rgba(17,27,33,.09); }
.msg.in  { background: #FFFFFF; align-self: flex-start; border-top-left-radius: 3px; }
.msg.out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 3px; }
.msg .t { display: block; text-align: right; font-size: 10px; color: #667781; margin-top: 3px; }
.msg .btnmsg { display: block; margin-top: 8px; background: #FFFFFF; color: #1FA855; border: 1.5px solid #1FA855; text-align: center;
               font-weight: 600; font-size: 13.5px; padding: 8px 10px; border-radius: 8px; cursor: pointer; width: 100%; }
.msg a { color: #027EB5; }
.chat-input { display: flex; gap: 8px; margin-top: 10px; }
.chat-input input { flex: 1; border-radius: 999px; }
.chat-input .btn { min-height: 46px; border-radius: 999px; padding: 8px 16px; }

.rec-big { width: 100%; min-height: 72px; font-size: 20px; border-radius: 18px; }
.rec-big.on { background: var(--mark); border-color: var(--mark); color: #fff; }
.passage.read { font-size: 24px; line-height: 2; }
.passage.read .cell { border-color: transparent; background: transparent; padding: 2px 6px; }
.passage.read .cell.bad { background: var(--mark-soft); border-color: var(--mark); }

.statrow { display: flex; flex-wrap: wrap; gap: 8px; }
.statrow .chip { font-size: 13px; padding: 6px 12px; }

.code-big { font-family: ui-monospace, Menlo, monospace; font-size: 30px; font-weight: 700; letter-spacing: .12em; text-align: center;
            background: var(--surface2); border-radius: 12px; padding: 14px; user-select: all; }
textarea.json { min-height: 220px; font-size: 12.5px; line-height: 1.45; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.inline-form > div { flex: 1 1 160px; }
.inline-form .btn { flex: 0 0 auto; }
.key-reveal { font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; background: var(--surface2); padding: 10px 12px; border-radius: 10px; }

.report-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; border-bottom: 2px solid var(--ink); padding-bottom: 10px; flex-wrap: wrap; }
.report-head h1 { font-size: 22px; }
.report-section { break-inside: avoid; }
@media print {
  @page { margin: 14mm; }
  body { background: #fff; font-size: 12.5px; }
  #app { max-width: none; padding: 0; }
  .appbar, .topbar, .actionbar, .no-print, .toast, .chart-tip, .tabs { display: none !important; }
  .card, .tile, .kpi, details { box-shadow: none; border-color: #bbb; break-inside: avoid; }
  details { display: block; } details summary { display: none; } details .d-body { padding: 0; }
  details:not([open]) > *:not(summary) { display: block; }
  a { color: inherit; text-decoration: none; }
  .page { padding-top: 0; }
}

/* ---------- bottom sheet (leave assessment) ---------- */
.sheet-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(34,51,59,.45); display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--surface); width: 100%; max-width: 640px; border-radius: 18px 18px 0 0;
         padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px;
         box-shadow: 0 -8px 30px rgba(34,51,59,.25); }
.sheet h3 { font-size: 18px; }
.sheet .btn { width: 100%; }
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: sheetup .18s ease-out; }
  @keyframes sheetup { from { transform: translateY(24px); opacity: 0; } }
}
