/* AVSEC Study — airport wayfinding palette.
   Signage yellow is the one loud element; everything else stays quiet. */
:root {
  --bg: #EEF1F3;          /* runway concrete */
  --surface: #FFFFFF;
  --surface-2: #E3E8EC;
  --ink: #13243B;         /* terminal navy */
  --ink-2: #4A5B70;
  --line: #CDD5DD;
  --sign: #F5C518;        /* wayfinding yellow */
  --sign-ink: #13243B;
  --stop: #C4122F;        /* restricted red */
  --stop-bg: #FBE7EA;
  --clear: #1E7A4C;       /* clear green */
  --clear-bg: #E3F3EA;
  --focus: #1F6FEB;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --prose: #2B3644;
  --ink-3: #8B98A7;
  --key-bg: #FFF7D6;
  --r: 10px;
  --tabs-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1A2B; --surface: #15263B; --surface-2: #1D3049; --ink: #E9EEF3; --ink-2: #A3B2C2;
    --line: #2B3F58; --stop: #FF6B7A; --stop-bg: #3A1D27; --clear: #45C487; --clear-bg: #153428; --focus: #6EA8FE; --prose: #D2DAE3; --ink-3: #6F8096; --key-bg: rgba(245, 197, 24, .09);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1A2B; --surface: #15263B; --surface-2: #1D3049; --ink: #E9EEF3; --ink-2: #A3B2C2;
  --line: #2B3F58; --stop: #FF6B7A; --stop-bg: #3A1D27; --clear: #45C487; --clear-bg: #153428; --focus: #6EA8FE; --prose: #D2DAE3; --ink-3: #6F8096; --key-bg: rgba(245, 197, 24, .09);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 var(--body);
  padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sign); color: var(--sign-ink); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: .005em; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 .9em; }

/* ---------- Top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
  background: var(--ink); color: #fff;
}
:root[data-theme="dark"] .top { background: #0A1422; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .top { background: #0A1422; } }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 6px; background: var(--sign); color: var(--sign-ink); display: grid; place-items: center; }
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { font: 700 1.35rem/1 var(--display); letter-spacing: .01em; }
.theme { background: none; border: 0; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; color: #fff; cursor: pointer; }
.theme svg { width: 20px; height: 20px; }

/* ---------- Bottom tabs ---------- */
.tabs {
  position: fixed; inset: auto 0 0 0; z-index: 20;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--tabs-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface); border-top: 1px solid var(--line);
}
.tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-decoration: none; color: var(--ink-2); font-size: .78rem; }
.tabs svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.tabs a[aria-current="page"] svg { stroke: var(--ink); }
.tabs a[aria-current="page"]::before { content: ""; position: absolute; }
.tabs a { position: relative; }
.tabs a[aria-current="page"]::after { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; background: var(--sign); border-radius: 0 0 3px 3px; }

/* ---------- Layout ---------- */
main { outline: none; }
.wrap { max-width: 44rem; margin: 0 auto; padding: 20px 16px 32px; }
.page-head { margin: 4px 0 20px; }
.page-head p { color: var(--ink-2); margin: 6px 0 0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-size: .95rem; margin-bottom: 12px; padding: 6px 0; }
.back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ---------- Home ---------- */
.hello { background: var(--ink); color: #fff; margin: -20px -16px 22px; padding: 22px 16px 26px; }
:root[data-theme="dark"] .hello { background: #0A1422; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hello { background: #0A1422; } }
.hello h1 { font-size: 2.4rem; max-width: 16ch; }
.hello p { color: #C9D3DE; margin: 10px 0 18px; max-width: 34ch; }
.gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gauge { border: 1px solid #2E4562; border-radius: 8px; padding: 10px; }
.gauge b { display: block; font: 700 1.7rem/1 var(--display); color: var(--sign); }
.gauge span { font-size: .8rem; color: #C9D3DE; }

/* The signboard — the one memorable thing */
.board { display: grid; gap: 8px; margin: 0 0 26px; }
.board-title { font: 600 1.15rem/1 var(--display); color: var(--ink-2); margin: 0 0 10px; }
.sign {
  display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 14px;
  background: var(--sign); color: var(--sign-ink); text-decoration: none;
  border-radius: 8px; padding: 10px 14px 10px 10px; min-height: 72px;
  box-shadow: inset 0 -3px 0 rgba(19, 36, 59, .18);
}
.sign:active { transform: translateY(1px); box-shadow: inset 0 -1px 0 rgba(19, 36, 59, .18); }
.pict { width: 52px; height: 52px; border-radius: 6px; background: var(--sign-ink); color: var(--sign); display: grid; place-items: center; }
.pict svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sign strong { display: block; font: 700 1.55rem/1.05 var(--display); }
.sign small { display: block; font-size: .88rem; line-height: 1.3; margin-top: 2px; opacity: .85; }

.next-up { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; margin-bottom: 26px; }
.next-up p { margin: 0; color: var(--ink-2); }

/* ---------- Lists ---------- */
.list { display: grid; gap: 10px; }
.row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 16px; text-decoration: none; text-align: left; width: 100%; cursor: pointer;
}
.row h3 { font-size: 1.35rem; }
.row p { margin: 4px 0 0; color: var(--ink-2); font-size: .95rem; }
.row .chev { width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 2.2; }
.tick { display: inline-flex; align-items: center; gap: 4px; color: var(--clear); font-size: .85rem; font-weight: 700; }
.group-label { font: 600 1.1rem/1 var(--display); color: var(--ink-2); margin: 24px 0 10px; }

/* ---------- Reader (docs-style: quiet, roomy, one column) ---------- */
body.reading { background: var(--surface); }
.doc { max-width: 78rem; margin: 0 auto; padding: 4px 20px 48px; display: grid; grid-template-columns: minmax(0, 1fr); }
.doc-nav, .doc-toc { display: none; }
.reader { max-width: 42rem; width: 100%; margin: 0 auto; font-size: 1.03rem; line-height: 1.75; color: var(--prose); }
.crumb { font-size: .875rem; color: var(--ink-2); margin: 14px 0 12px; }
.crumb a { color: var(--ink-2); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.reader h1 { font-family: var(--body); font-weight: 800; font-size: 2.1rem; line-height: 1.12; letter-spacing: -.025em; color: var(--ink); }
.reader .lead { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); margin: 12px 0 0; }
.otp { margin: 24px 0 0; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.otp summary { cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; color: var(--ink); }
.otp summary::-webkit-details-marker { display: none; }
.otp summary::after { content: "+"; color: var(--ink-2); font-weight: 400; }
.otp[open] summary::after { content: "\2013"; }
.otp ol { margin: 0; padding: 0 16px 14px 36px; font-size: .95rem; line-height: 1.5; }
.otp li { margin: 7px 0; }
.otp a, .doc-toc a { color: var(--ink-2); text-decoration: none; }
.reader section { scroll-margin-top: 80px; }
.reader h2 { font-family: var(--body); font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin: 2.75rem 0 .85rem; color: var(--ink); }
.reader p { margin: 0 0 1.15em; }
.reader ul, .reader ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.reader li { margin: .55em 0; padding-left: .2em; }
.reader li::marker { color: var(--ink-3); }
.reader b, .reader strong { font-weight: 650; color: var(--ink); }
.reader .key { background: var(--key-bg); border-left: 3px solid var(--sign); padding: 14px 16px; border-radius: 0 8px 8px 0; color: var(--ink); margin: 1.5em 0; }
.reader table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.55; margin: .3em 0 1.5em; }
.reader th, .reader td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); }
.reader thead th { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.reader tbody th { font-weight: 650; color: var(--ink); }
.parts th { width: 3.4em; color: var(--ink-2) !important; font-weight: 600 !important; }
.parts td:last-child { color: var(--ink-2); white-space: nowrap; text-align: right; padding-right: 0; }
dl { margin: 0 0 1.3em; }
.who dt { font-weight: 650; color: var(--ink); margin-top: 1.15em; }
.who dt:first-child { margin-top: 0; }
.who dd { margin: .15em 0 0; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0 20px; font-size: .98rem; }
.facts dt, .facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--ink-2); }
.facts dd { color: var(--ink); }
.chain { list-style: none; padding: 0 !important; counter-reset: c; margin-top: 1.2em !important; }
.chain li { position: relative; padding: 0 0 0 46px !important; margin: 0 0 22px !important; counter-increment: c; }
.chain li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 34px; bottom: -18px; width: 2px; background: var(--line); }
.chain li::before { content: counter(c); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font: 700 .9rem/28px var(--body); text-align: center; }
.chain li:last-child::before { background: var(--sign); color: var(--sign-ink); }
.chain b { display: block; }
.chain span { color: var(--ink-2); font-size: .98rem; }
.cols { columns: 2 14rem; column-gap: 28px; }
.cols li { break-inside: avoid; }
.done-bar { margin-top: 3rem; display: grid; gap: 10px; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.5rem; }
.pager a { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; text-decoration: none; line-height: 1.35; }
.pager a:hover { border-color: var(--ink-3); }
.pager small { display: block; font-size: .8rem; color: var(--ink-2); margin-bottom: 2px; }
.pager b { font-weight: 600; color: var(--ink); font-size: .95rem; }
.pager .next { grid-column: 2; text-align: right; }
@media (min-width: 1024px) {
  .doc { grid-template-columns: 14rem minmax(0, 1fr) 13rem; gap: 48px; padding-top: 28px; }
  .doc-nav, .doc-toc { display: block; position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: .9rem; line-height: 1.4; }
  .doc-nav-title { font-weight: 650; font-size: .85rem; color: var(--ink); margin: 0 0 10px; }
  .doc-nav a { display: block; padding: 7px 10px; border-radius: 6px; text-decoration: none; color: var(--ink-2); }
  .doc-nav a:hover { color: var(--ink); }
  .doc-nav a[aria-current] { background: var(--bg); color: var(--ink); font-weight: 600; }
  .doc-nav .dot { color: var(--clear); font-size: .8rem; }
  .doc-toc a { display: block; padding: 5px 0 5px 12px; border-left: 1px solid var(--line); }
  .doc-toc a:hover { color: var(--ink); }
  .doc-toc a[aria-current] { color: var(--ink); border-left: 2px solid var(--sign); padding-left: 11px; font-weight: 500; }
  .otp { display: none; }
  .reader { margin: 0; font-size: 1.0625rem; }
  .reader h1 { font-size: 2.6rem; }
  .done-bar { grid-template-columns: 1fr 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border-radius: 8px; border: 0; cursor: pointer;
  font: 700 1.25rem/1 var(--display); letter-spacing: .01em; text-decoration: none;
  background: var(--ink); color: #fff;
}
:root[data-theme="dark"] .btn:not(.ghost) { background: var(--sign); color: var(--sign-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.ghost) { background: var(--sign); color: var(--sign-ink); } }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }

/* ---------- Practice setup ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: .95rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
:root[data-theme="dark"] .chip[aria-pressed="true"] { background: var(--sign); color: var(--sign-ink); border-color: var(--sign); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-pressed="true"] { background: var(--sign); color: var(--sign-ink); border-color: var(--sign); } }
.mode-grid { display: grid; gap: 10px; }
.mode {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px; text-decoration: none; cursor: pointer; text-align: left; width: 100%;
}
.mode .ic { width: 44px; height: 44px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; }
.mode .ic svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mode h3 { font-size: 1.35rem; }
.mode p { margin: 2px 0 0; font-size: .92rem; color: var(--ink-2); }
.mode .count { font: 600 1.1rem/1 var(--display); color: var(--ink-2); }

/* ---------- Quiz ---------- */
.qbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.track { flex: 1; height: 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.track i { display: block; height: 100%; background: var(--sign); border-radius: 99px; transition: width .25s; }
.qcount { font: 600 1.05rem/1 var(--display); color: var(--ink-2); white-space: nowrap; }
.timer { font: 700 1.2rem/1 var(--display); padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--sign); min-width: 4.2em; text-align: center; }
.timer.low { background: var(--stop); color: #fff; }
.qtopic { color: var(--ink-2); font-size: .9rem; margin-bottom: 6px; }
.qtext { font: 600 1.6rem/1.2 var(--display); margin: 0 0 18px; }
.qtext.statement { font-size: 1.75rem; }
.opts { display: grid; gap: 10px; }
.opt {
  display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; text-align: left;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--r);
  padding: 14px; cursor: pointer; font-size: 1.05rem; line-height: 1.4; min-height: 56px;
}
.opt .k { width: 34px; height: 34px; border-radius: 6px; background: var(--surface-2); display: grid; place-items: center; font: 700 1.1rem/1 var(--display); }
.opt.correct { border-color: var(--clear); background: var(--clear-bg); }
.opt.correct .k { background: var(--clear); color: #fff; }
.opt.wrong { border-color: var(--stop); background: var(--stop-bg); }
.opt.wrong .k { background: var(--stop); color: #fff; }
.opt:disabled { cursor: default; }
.opt:disabled:not(.correct):not(.wrong) { opacity: .6; }
.tf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tf .opt { grid-template-columns: 1fr; text-align: center; font: 700 1.5rem/1 var(--display); min-height: 72px; place-items: center; }
.feedback { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.feedback strong { display: block; font: 700 1.3rem/1.1 var(--display); margin-bottom: 4px; }
.feedback.good strong { color: var(--clear); }
.feedback.bad strong { color: var(--stop); }
.feedback p { margin: 0; }
.actionbar { position: sticky; bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom) + 8px); margin-top: 16px; }

/* ---------- Results ---------- */
.result-hero { text-align: center; padding: 18px 0 8px; }
.score { font: 700 4.5rem/1 var(--display); }
.score small { font-size: 2rem; color: var(--ink-2); }
.verdict { font: 600 1.4rem/1.2 var(--display); margin: 6px 0 0; }
.review { margin-top: 22px; display: grid; gap: 10px; }
.review-item { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--stop); border-radius: 8px; padding: 12px 14px; }
.review-item.ok { border-left-color: var(--clear); }
.review-item p { margin: 4px 0 0; font-size: .95rem; color: var(--ink-2); }
.review-item b { font-weight: 700; }
.result-actions { display: grid; gap: 10px; margin-top: 22px; }

/* ---------- Flashcards ---------- */
.card-stage { perspective: 1200px; margin: 0 0 16px; }
.flash { position: relative; width: 100%; min-height: 300px; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.flash.flipped { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 14px; padding: 24px 20px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.face.front { background: var(--sign); color: var(--sign-ink); box-shadow: inset 0 -4px 0 rgba(19,36,59,.18); }
.face.front h2 { font-size: 2.3rem; line-height: 1.05; }
.face.back { background: var(--surface); border: 2px solid var(--line); transform: rotateY(180deg); font-size: 1.2rem; line-height: 1.5; }
.face .hint { position: absolute; bottom: 14px; left: 20px; font-size: .85rem; opacity: .75; }
.face .ftopic { position: absolute; top: 16px; left: 20px; font-size: .85rem; opacity: .75; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- Match ---------- */
.match { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.match-col { display: grid; gap: 10px; align-content: start; }
.tile { display: flex; align-items: center; background: var(--surface); border: 2px solid var(--line); border-radius: var(--r); padding: 10px 12px; min-height: 76px; text-align: left; font-size: .98rem; line-height: 1.3; cursor: pointer; }
.tile.term { font: 700 1.2rem/1.1 var(--display); }
.tile.sel { border-color: var(--ink); background: var(--surface-2); }
:root[data-theme="dark"] .tile.sel { border-color: var(--sign); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tile.sel { border-color: var(--sign); } }
.tile.done { border-color: var(--clear); background: var(--clear-bg); color: var(--ink); cursor: default; }
.tile.miss { border-color: var(--stop); background: var(--stop-bg); }

/* ---------- Interview ---------- */
.prompt { background: var(--ink); color: #fff; border-radius: 14px; padding: 22px 20px; margin-bottom: 14px; }
:root[data-theme="dark"] .prompt { background: var(--surface-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .prompt { background: var(--surface-2); } }
.prompt h2 { font-size: 1.85rem; line-height: 1.12; }
.prompt p { color: #C9D3DE; margin: 12px 0 0; font-size: .95rem; }
.model { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; font-size: 1.1rem; line-height: 1.6; }
.model .tipline { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 1rem; }
.rate { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* ---------- Progress ---------- */
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; gap: 6px; }
.bar-row header { display: flex; justify-content: space-between; font-size: .98rem; }
.bar-row header span { color: var(--ink-2); }
.meter { height: 12px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
:root[data-theme="dark"] .meter i { background: var(--sign); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .meter i { background: var(--sign); } }
.history { display: grid; gap: 8px; }
.history div { display: flex; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: .95rem; }
.history span { color: var(--ink-2); }
.empty { text-align: center; color: var(--ink-2); padding: 28px 12px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }
.note { font-size: .9rem; color: var(--ink-2); margin-top: 26px; }

@media (min-width: 720px) {
  .hello { border-radius: 14px; margin: 0 0 24px; padding: 28px; }
  .hello h1 { font-size: 3rem; }
  .board { grid-template-columns: 1fr 1fr; }
  .mode-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
