/* Our Elders Our Stories: the soft look (cream, peach, pale sky, navy words, coral pill buttons).
 * Tokens copied from the live landing page. No art, no patterns, no emoji. */
@font-face { font-family: "Barlow Condensed"; src: url("/static/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/static/fonts/DMSans-Variable.ttf") format("truetype"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  --navy: #0C203B; --navy-2: #10273C;
  --coral: #EE6D53; --coral-hi: #FF826C; --coral-ink: #A8402A;
  --mist: #EAF1F2; --mist-2: #D8E3E8; --white: #FFFFFF;
  --slate: #536275; --ink: #10273C;
  --cream: #FBF6EE; --peach: #FCE7DD; --peach-2: #F6CDBB; --skysoft: #E4F0F7; --sage: #5F857E; --sage-soft: #E3EEEA;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --r: 14px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -.01em; color: var(--navy); margin: 1.1em 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 46px); }
h2 { font-size: 28px; }
h3 { font-size: 22px; }
p { margin: .5em 0; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }
.wrap.wide { max-width: 1120px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
main.wrap { padding-bottom: 4rem; }
.eyebrow { font: 700 14px/1.2 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--coral-ink); margin: 0 0 8px; }
.lede { font: 19px/1.45 var(--serif); }
.muted { color: var(--slate); }
.small { font-size: 16px; }
.hidden { display: none !important; }
/* Shown only while offline (keep.js marks the page). */
.reload-offline { display: none; }
body.is-offline .reload-offline { display: block; }
.inline { display: inline; margin: 0; }
.center { text-align: center; }

/* Header */
.top { background: var(--cream); border-bottom: 1px solid var(--mist-2); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 22px; min-height: 64px; padding-top: 10px; padding-bottom: 10px; }
.brand { font: 700 24px/1 var(--display); color: var(--navy); text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font: 700 15px/1.2 var(--body); }
.nav a { color: var(--slate); text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; }
.nav button.link { min-height: 48px; }
.nav a:hover, .nav a.on { color: var(--navy); box-shadow: inset 0 -2px 0 var(--coral); }

/* Cards and notes */
.card { background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--r); padding: 16px 18px; margin: 16px 0; }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.placeholder { background: #FFF6D6; border: 1.5px dashed #9A7400; border-radius: 6px; padding: 0 .3em; }
.tpl-note .placeholder { display: block; padding: 12px 14px; line-height: 1.4; }
.note { background: var(--skysoft); border-radius: var(--r); padding: 12px 16px; margin: 16px 0; }
.warn { background: var(--peach); border: 1px solid var(--peach-2); border-radius: var(--r); padding: 12px 16px; margin: 16px 0; }
.ok { background: var(--sage-soft); border-radius: var(--r); padding: 12px 16px; margin: 16px 0; }

/* Forms */
label { display: block; font-weight: 700; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=file], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid #8A9AAB; border-radius: 10px; padding: 10px 12px;
}
textarea { min-height: 14rem; line-height: 1.6; }
fieldset { border: 1px solid var(--mist-2); border-radius: var(--r); margin: 16px 0; padding: 6px 16px 16px; background: var(--white); }
legend { font-weight: 700; padding: 0 6px; }
.radio { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 8px 0; }
.radio input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--navy); }

/* Buttons: coral pills with navy text; never white on coral. */
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1.1 var(--body); cursor: pointer; text-decoration: none; text-align: center;
  background: var(--coral); color: var(--navy);
  border: 2px solid var(--coral); border-radius: 999px; padding: 10px 22px; min-height: 52px;
}
button:hover, .btn:hover { background: var(--coral-hi); border-color: var(--coral-hi); }
button.secondary, .btn.secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
button.secondary:hover, .btn.secondary:hover { background: var(--white); }
button.navy, .btn.navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
button.danger, .btn.danger { background: var(--navy); color: var(--white); border-color: var(--navy); }
button.ghost, .btn.ghost { background: transparent; border-color: transparent; color: var(--slate); font-weight: 500; min-height: 48px; }
button.link { background: none; border: none; color: var(--navy); padding: 0 4px; min-height: 48px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 3px; }
button:disabled, .btn[aria-disabled=true] { opacity: .45; cursor: not-allowed; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stack > button, .stack > .btn, .stack > form > button { width: 100%; }
.duo { display: flex; gap: 10px; }
.duo > * { flex: 1; }
.duo > form > button { width: 100%; }

/* Back links and other text links that act as controls: big enough to tap. */
a.back, .back-link, a.tap { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font-weight: 700; }
td a, li > a { display: inline-flex; align-items: center; min-height: 48px; }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font: 700 15px/1.25 var(--body); color: var(--slate); padding: 8px; border-bottom: 1px solid var(--mist-2); }
td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--mist-2); vertical-align: middle; }
.table-wrap { overflow-x: auto; }

/* Pills (status chips) */
.pill { display: inline-flex; align-items: center; gap: 6px; font: 700 17px/1.1 var(--body); padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--ink); white-space: nowrap; }
.pill svg { width: 17px; height: 17px; }
.pill.typing { background: var(--skysoft); color: #24506E; }
.pill.check { background: var(--peach); color: var(--coral-ink); }
.pill.ok, .pill.approved { background: var(--sage-soft); color: #2F5A52; }
.pill.back, .pill.withdrawn { background: #ECECEC; color: var(--slate); }

.steps { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.steps li { padding: 8px 14px; border-radius: 999px; background: var(--mist); font-size: 17px; }
.steps li.done { background: var(--navy); color: var(--white); }
.steps li.now { background: var(--peach); color: var(--coral-ink); font-weight: 700; }

audio { width: 100%; margin: 8px 0; }
.i, svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }

/* ---------- Visit (A on phones, B split on iPad landscape) ---------- */
.rec { font-size: 18px; }
.rec h1 { font-size: 30px; margin-top: 18px; }
.visit { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.say { background: var(--white); border: 1px solid var(--mist-2); border-radius: 18px; padding: 18px 20px; }
.say small, .say .lbl { display: block; font: 700 14px/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 10px; }
.consent-text { font: 22px/1.4 var(--serif); color: var(--ink); }
.consent-text p { margin: 0; }
.consent-text p + p { margin-top: 10px; }
.bigq, .rec .prompt { font: 700 34px/1.12 var(--serif); color: var(--navy); }
.rec .prompt { background: none; border: 0; padding: 0; }
.h-scr { font: 700 28px/1.05 var(--display); color: var(--navy); margin: 0; }
.prog { display: flex; gap: 5px; }
.prog i { flex: 1; height: 6px; border-radius: 3px; background: var(--mist-2); }
.prog i.on { background: var(--navy); }
.prog i.now { background: var(--coral); }
.progtxt { font: 700 15px/1 var(--body); color: var(--slate); display: flex; justify-content: space-between; gap: 10px; }
.recbig { width: 96px; height: 96px; min-height: 0; padding: 0; border-radius: 50%; background: var(--coral); border: 7px solid var(--peach); display: grid; place-items: center; margin: 0 auto; }
.recbig:hover { background: var(--coral-hi); border-color: var(--peach); }
.recbig svg { width: 38px; height: 38px; color: var(--navy); }
.recbig .sq { width: 30px; height: 30px; border-radius: 7px; background: var(--navy); display: block; }
.recbig .lb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.visit .asker { padding-top: 6px; }
.reclbl { text-align: center; font: 700 15px/1.2 var(--body); color: var(--slate); }
.timer { font: 700 17px/1 var(--body); display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--ink); min-height: 22px; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #D94A2E; flex: none; }
.rec .status { font-size: 16px; font-weight: 700; min-height: 1.6em; text-align: center; color: var(--slate); }
.rec .big { width: 100%; font-size: 18px; min-height: 60px; }
.callline { font-size: 16px; color: var(--slate); text-align: center; margin: 14px 0 0; }
.saved-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; margin: 22px auto 4px; }
.saved-ic svg { width: 36px; height: 36px; stroke-width: 2.4; }
/* Round 9: no check when nothing was saved; the heading keeps its breathing room, and Done is not jammed under it. */
.saved-ic.hidden + h1 { margin-top: 28px; }
#end-title + .stack { margin-top: 20px; }
.qlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.qlist li { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--mist-2); border-radius: 12px; padding: 12px 14px; line-height: 1.4; }
.qlist li .ck { width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--navy); flex: none; display: grid; place-items: center; margin-top: 1px; }
.qlist li.on .ck { background: var(--navy); color: var(--white); }
.qlist li .ck svg { width: 14px; height: 14px; stroke-width: 3; }
.qlist li.skipped { color: var(--slate); }
.upnext { font-size: 16px; line-height: 1.4; background: rgba(255,255,255,.75); border-radius: 10px; padding: 10px 12px; }
.upnext b { display: block; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: 4px; }
.asker { display: flex; flex-direction: column; gap: 12px; }
.asker .h { display: none; }
.asker .upnext { display: none; }
.js-only { display: none !important; }
.js .js-only { display: flex !important; }
.js a.js-only, .js button.js-only { display: inline-flex !important; }
.vstep { display: flex; flex-direction: column; gap: 14px; margin-bottom: 26px; }
.js .vstep { display: none; }
.js .consent-steps[data-step="0"] .vstep[data-step="0"],
.js .consent-steps[data-step="1"] .vstep[data-step="1"],
.js .consent-steps[data-step="2"] .vstep[data-step="2"] { display: flex; }
.js .nojs-book { display: none; }
.rec .bigq { margin: 0; }

/* iPad landscape: the question very large for the Elder, an asker strip on the right. */
@media (min-width: 900px) and (orientation: landscape) {
  .visit-split .wrap, main.wrap.visit-wrap { max-width: none; padding: 0; }
  .split { display: grid; grid-template-columns: 1.7fr 1fr; min-height: calc(100vh - 65px); }
  .split .elder { padding: 40px 48px; display: flex; flex-direction: column; justify-content: center; gap: 22px; background: var(--white); }
  .split .elder .bigq { font-size: 56px; }
  .split .elder .consent-text { font-size: 30px; }
  .split .asker { background: var(--skysoft); padding: 24px; border-left: 1px solid var(--mist-2); justify-content: flex-start; }
  .split .asker .h { display: block; font: 700 14px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
  .split .asker .upnext { display: block; margin-top: auto; }
  .split .say.elder-card { border: 0; padding: 0; background: none; }
  .split .asker .recbig { width: 100%; height: auto; min-height: 60px; border-radius: 999px; border-width: 2px; border-color: var(--coral); gap: 10px; margin: 0; }
  .split .asker .recbig svg { width: 24px; height: 24px; }
  .split .asker .recbig .lb { position: static; width: auto; height: auto; clip: auto; font: 700 18px/1 var(--body); }
  .split .asker .recbig.stop { background: var(--navy); border-color: var(--navy); }
  .split .asker .recbig.stop .lb { color: var(--white); }
  .split .asker .recbig.stop .sq { width: 16px; height: 16px; border-radius: 3px; background: var(--white); }
  .split .asker .reclbl { display: none; }
  .split .asker .timer { justify-content: flex-start; }
}

/* ---------- Story list (A rows on laptops, B cards on phones) ---------- */
.slist { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; padding: 0; list-style: none; }
.srow { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px 14px; align-items: center; background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--r); padding: 12px 16px; }
.srow .t { font: 700 22px/1.1 var(--display); color: var(--navy); text-decoration: none; }
.srow .m { font-size: 15px; color: var(--slate); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.srow.back { background: var(--mist); }
.srow.back .t, .srow.back .m > span:not(.pill) { opacity: .75; }
.seg { display: inline-flex; border: 1.5px solid var(--navy); border-radius: 999px; overflow: hidden; flex: none; margin: 0; }
.seg button { font: 700 15px/1 var(--body); padding: 9px 13px; min-height: 48px; border: 0; border-radius: 0; background: var(--white); color: var(--navy); display: flex; gap: 6px; align-items: center; }
.seg button + button { border-left: 1.5px solid var(--navy); }
.seg button.on { background: var(--navy); color: var(--white); }
.seg button:disabled { opacity: 1; color: #9AA6B3; background: var(--white); }
.seg button svg { width: 15px; height: 15px; }
.seg-static { display: inline-flex; gap: 6px; align-items: center; font: 700 15px/1 var(--body); color: var(--navy); }
.lock { font-size: 15px; color: var(--slate); display: flex; gap: 6px; align-items: center; }
.lock svg { width: 14px; height: 14px; }
.lvl-key { display: grid; gap: 8px; margin-top: 10px; font-size: 15px; }
@media (min-width: 620px) { .lvl-key { grid-template-columns: repeat(2,1fr); } }
.lvl-key div { background: var(--mist); border-radius: 10px; padding: 8px 12px; }
.lvl-key b { display: flex; gap: 6px; align-items: center; }
.lvl-key svg { width: 15px; height: 15px; }
.srow .acts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.srow .acts .link { font-size: 15px; color: var(--slate); }
.srow .acts .btn, .srow .acts button.secondary { min-height: 48px; padding: 6px 14px; font-size: 15px; }
@media (max-width: 699px) {
  .srow { grid-template-columns: minmax(0,1fr); border-radius: 16px; padding: 14px; }
  .srow .acts { align-items: stretch; }
  .seg { display: grid; grid-template-columns: repeat(2,1fr); border: 0; gap: 6px; border-radius: 0; overflow: visible; }
  .seg button, .seg button + button { border: 1.5px solid var(--mist-2); border-radius: 10px; flex-direction: column; gap: 4px; padding: 8px 4px; min-height: 56px; font-size: 15px; color: var(--slate); }
  .seg button.on { border-color: var(--navy); background: var(--navy); color: var(--white); }
  .seg button svg { width: 18px; height: 18px; }
  .srow .acts .link { text-align: left; }
}
.scrim { position: fixed; inset: 0; background: rgba(12,32,59,.35); z-index: 10; display: block; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 11; background: var(--white); border-radius: 22px 22px 0 0; padding: 22px 20px 26px; box-shadow: 0 -10px 30px -10px rgba(12,32,59,.3); display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin: 0 auto; }
.sheet h2 { margin: 0; font-size: 28px; }
.sheet p { margin: 0; line-height: 1.5; }
@media (min-width: 700px) { .sheet { bottom: auto; top: 50%; transform: translateY(-50%); border-radius: 22px; } }

/* ---------- Photos (A one at a time on phones, B grid on laptops) ---------- */
.ph-one { display: flex; flex-direction: column; gap: 12px; }
.ph-one img, .gcard img { width: 100%; display: block; object-fit: cover; background: var(--mist); }
.ph-one img { border-radius: 12px; max-height: 340px; object-fit: contain; background: var(--cream); } /* the whole photo, never cropped */
.cap-txt { font: italic 17px/1.4 var(--serif); }
.suggest { background: var(--peach); border-radius: var(--r); padding: 14px 16px; }
.suggest small { display: block; font: 700 14px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 6px; }
.suggest .t { font: 700 24px/1.05 var(--display); color: var(--navy); }
.suggest .why { font-size: 15px; margin-top: 6px; line-height: 1.45; }
mark { background: rgba(238,109,83,.25); color: inherit; border-radius: 3px; padding: 0 2px; }
.grid-ph { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; }
.gcard { background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.gcard img { height: 160px; }
.gcard .body { padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 12px; min-height: 48px; font: 700 15px/1.1 var(--body); border: 1.5px solid var(--navy); color: var(--navy); background: var(--white); text-align: left; }
.chip:hover { background: var(--white); border-color: var(--navy); }
.chip.sug { border-style: dashed; border-color: var(--coral); color: var(--coral-ink); background: var(--peach); }
.chip.sug:hover { background: var(--peach-2); border-color: var(--coral); }
.chip.done { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip.loose { border-color: var(--mist-2); color: var(--slate); }
.chip svg { width: 15px; height: 15px; }
.dropzone { border: 2px dashed var(--slate); border-radius: var(--r); padding: 18px; color: var(--slate); background: rgba(255,255,255,.6); }
.ph-phone { display: block; }
.ph-laptop { display: none; }
@media (min-width: 900px) { .ph-phone { display: none; } .ph-laptop { display: block; } }
@media (max-width: 899px) { .ph-all.has-one { display: none; } }
.photo-card img { max-width: 240px; max-height: 240px; display: block; border-radius: 10px; }

/* ---------- Check the words (A read-along on laptops, B paragraphs on phones) ---------- */
.player { display: flex; align-items: center; gap: 12px; background: var(--mist); border-radius: 999px; padding: 6px 16px 6px 6px; }
.player button.pl { width: 44px; height: 44px; min-height: 0; padding: 0; border-radius: 50%; background: var(--navy); border-color: var(--navy); color: var(--white); }
.player .bar { flex: 1; height: 6px; background: var(--mist-2); border-radius: 3px; overflow: hidden; }
.player .bar i { display: block; height: 100%; width: 0; background: var(--coral); }
.player .tm { font: 700 15px/1 var(--body); color: var(--slate); white-space: nowrap; }
.tx { font: 19px/1.7 var(--serif); color: var(--ink); }
.tx p { margin: 0 0 .9em; }
.tx .w { background: var(--peach); border-bottom: 2px dashed var(--coral); border-radius: 3px; padding: 0 2px; cursor: pointer; }
.tx .fill { background: #FFF6D6; border: 2px dotted #9A7400; border-radius: 4px; padding: 0 4px; font: 700 15px/1.4 var(--body); color: #6B5200; }
.tx .now { background: var(--skysoft); border-radius: 3px; }
.tx .wd { cursor: pointer; border-radius: 3px; }
.tx .wd:hover { background: var(--skysoft); }
.fixpop { position: absolute; z-index: 5; display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1.5px solid var(--navy); border-radius: 12px; padding: 12px; font: 15px/1.3 var(--body); box-shadow: 0 10px 24px -14px rgba(12,32,59,.5); width: 270px; }
.fixpop input { font: 18px var(--serif); border: 1.5px solid var(--mist-2); border-radius: 8px; padding: 8px 10px; width: 100%; }
.fixpop .row { margin: 0; }
.fixpop button { min-height: 48px; padding: 6px 14px; font-size: 15px; }
.tx-wrap { display: grid; gap: 18px; grid-template-columns: minmax(0,1fr); }
.tx-wrap > * { min-width: 0; }
@media (min-width: 760px) { .tx-wrap.two { grid-template-columns: 1.6fr 1fr; } }
.notes { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.notes .n { background: var(--peach); border-radius: 10px; padding: 8px 12px; }
.para { background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--r); padding: 14px 16px; margin: 10px 0; }
.para.done { background: var(--sage-soft); border-color: var(--sage-soft); }
.para-ok { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.para-ok button { min-height: 48px; padding: 6px 16px; font-size: 15px; }
.check-a { display: none; }
.check-b { display: block; }
@media (min-width: 760px) { .check-a { display: block; } .check-b { display: none; } }
#text-form.approved .check-a { display: block; }
.no-js-edit { display: block; }

/* ---------- Team queue ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0; }
.tabs a { font: 700 16px/1 var(--body); text-decoration: none; padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--navy); color: var(--navy); }
.tabs a.on { background: var(--navy); color: var(--white); }
.queue td .btn, .queue td button { min-height: 48px; padding: 6px 16px; font-size: 16px; }
.late { color: #B03A22; font-weight: 700; }
.team-note { font-size: 16px; color: var(--slate); margin-top: 10px; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.tools button { min-height: 48px; padding: 6px 14px; font-size: 15px; }

/* Book preview / print */
.book section { break-before: page; padding: 1rem 0; }
.book .qr { display: flex; gap: 1rem; align-items: center; margin-top: 1.5rem; }
.book .qr svg { width: 2.6cm; height: 2.6cm; flex: none; }
.book .transcript { white-space: pre-wrap; font-family: var(--serif); font-size: 15pt; line-height: 1.6; }
.pre { white-space: pre-wrap; }
@media print {
  .top, .no-print, nav { display: none !important; }
  body { background: #fff; }
  .wrap { max-width: none; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .bigq, .rec .prompt { font-size: 32px; }
  .consent-text { font-size: 21px; }
}

/* ---------- Check the words: JS views vs the plain box ---------- */
html:not(.js) .check-a, html:not(.js) .check-b, html:not(.js) .player { display: none !important; }
.js .nojs-audio { display: none; }
.js .edit-all { display: none; }
.js form.editing .edit-all { display: block; }
.tx-main { position: relative; display: flex; flex-direction: column; gap: 10px; }
.tx-main > .pill { align-self: flex-start; }
.tx-main label { margin-top: 0; }
.player button.pl { width: 48px; height: 48px; }
.player .bar { cursor: pointer; }
.fixpop textarea { font: 17px/1.5 var(--body); border: 1.5px solid var(--mist-2); border-radius: 8px; padding: 8px 10px; width: 100%; }
.fixpop { max-width: calc(100% - 4px); }
.fixpop .row { gap: 6px; }
.para .tx { font-size: 18px; }
.para-ok .row { gap: 6px; margin: 0; }
.para.done .pok { background: var(--sage); border-color: var(--sage); }
.notes-h { font: 700 22px/1.1 var(--display); color: var(--navy); }
.notes .fill-n { background: #FFF6D6; color: #6B5200; }
.notes button { width: 100%; }
@media (max-width: 759px) { .js .lr-a { display: none; } }

/* ---------- Team queue ---------- */
.tabs a { display: inline-flex; align-items: center; min-height: 48px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--skysoft); color: var(--navy); font: 700 14px/1 var(--body); }
.queue td a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; }
.queue form { margin: 0; }
@media (max-width: 640px) {
  .queue thead { display: none; }
  .queue, .queue tbody, .queue tr, .queue td { display: block; width: 100%; }
  .queue tr { background: var(--white); border: 1px solid var(--mist-2); border-radius: 14px; padding: 10px 14px; margin-bottom: 10px; }
  .queue td { border: 0; padding: 3px 0; }
  .queue td[data-l]:not(:first-child)::before { content: attr(data-l) ": "; color: var(--slate); font-size: 15px; }
}

/* ---------- Photos page ---------- */
.ph-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ph-head h2 { margin: 0; }
.gcard details summary { display: flex; align-items: center; min-height: 48px; font-weight: 700; color: var(--navy); cursor: pointer; }
.gcard .picker select { width: 100%; }
.gcard form { margin: 0; }
button.link.tap, .link.tap { display: inline-flex; align-items: center; min-height: 48px; }
.dropzone label { margin-top: 0; }
.dropzone input[type=file] { min-height: 48px; }
.ph-one .duo .btn { display: flex; justify-content: center; }
.seg-layout { margin-top: 10px; flex-wrap: wrap; }

/* ---------- Family page ---------- */
.plist { list-style: none; padding: 0; margin: 10px 0; display: flex; flex-direction: column; gap: 10px; }
.person { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--mist-2); border-radius: var(--r); background: var(--cream); flex-wrap: wrap; }
.person .who { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
.person .who .pill { align-self: flex-start; }
.person .av { width: 44px; height: 44px; font-size: 15px; }
.person form { margin: 0; }
.role-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.opt-card { border: 1.5px solid var(--mist-2); border-radius: var(--r); padding: 12px 14px; background: var(--white); margin: 0; min-height: 48px; }
.opt-card:has(input:checked) { border-color: var(--navy); background: var(--skysoft); }
.opt-card > span { display: flex; flex-direction: column; gap: 2px; }
.queue.log td { word-break: break-word; }
/* An empty cell shows nothing. On a wide screen it stays, so its row keeps its full bottom line;
   on a phone (one card per row, no lines) it is hidden so no bare "Which:" shows. */
@media (max-width: 640px) { .queue td:empty { display: none; } }
@media (max-width: 600px) {
  .seg-layout { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg-layout button { min-height: 56px; }
}
/* Phones: a story still being typed shows only "Being typed", no 3-way switch yet (mockup). */
@media (max-width: 599px) { .srow.typing .seg, .srow.typing .lock { display: none; } }

/* Round 2b fix list: every tap target at least 48px, labels at least 16px. */
.nav { font-size: 16px; }
a.tap, .tap { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; }
main p > a:only-child[href^="/dash"]:not(.btn) { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; }
.radio { min-height: 48px; align-items: center; padding: 4px 0; margin: 4px 0; cursor: pointer; }
.radio input { margin-top: 0; }
select { min-height: 48px; }
form.inline button.link { min-height: 48px; padding: 0 12px; font-size: 16px; }
.progtxt { font-size: 16px; }
.say small, .say .lbl { font-size: 16px; letter-spacing: .1em; }
table { font-size: 16px; }
.queue td[data-l]:not(:first-child)::before { font-size: 16px; }

/* Tabs (Elder page). Links first: ?tab= works without script; tabs.js adds arrow keys. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.etabs { display: flex; gap: 6px; margin: 18px 0 6px; padding: 5px; background: var(--white); border: 1px solid var(--mist-2); border-radius: 999px; }
.etabs [role=tab] { flex: 1 1 0; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 12px; border-radius: 999px; border: 0; color: var(--slate); font: 700 17px/1.2 var(--body); text-decoration: none; }
.etabs [role=tab]:hover { color: var(--navy); background: var(--cream); }
.etabs [role=tab][aria-selected=true] { background: var(--navy); color: var(--white); }
.tabpanel[hidden] { display: none; }
@media (max-width: 480px) {
  .etabs { border-radius: 18px; }
  .etabs [role=tab] { border-radius: 14px; font-size: 16px; padding: 6px 6px; }
}

/* One status chip at the top of a story, with where it is under it. */
.status-now { margin: 6px 0 16px; }
.status-now p { margin: 8px 0 0; }

/* ---------- Round 4: the visit on an iPad, read from across a table ----------
 * The question stays the biggest thing on the screen, with room around it and nothing small next to
 * it. Progress sits at the top, out of the way. Every button on a visit screen is a 60px target. */
.visit .elder { display: flex; flex-direction: column; gap: 14px; }
.visit .elder .takeit { margin: 0; }
/* "Visit with ..." names the Elder: readable on a phone too, not a small label. */
.visit .eyebrow { font-size: 15px; letter-spacing: .1em; }
@media (min-width: 700px) {
  .visit .eyebrow { font-size: 16px; }
  .visit .h-scr { font-size: 36px; }
  .visit button, .visit .btn { min-height: 60px; font-size: 18px; }
  .visit .qlist li { font-size: 20px; padding: 14px 18px; }
  .visit .consent-text { font-size: 28px; line-height: 1.4; }
  .visit .say { padding: 24px 28px; }
  .visit .bigq { font-size: 48px; line-height: 1.12; }
  .rec .timer { font-size: 20px; }
  .rec .status, .visit .callline { font-size: 18px; }
  /* The question card: the Elder's side of the table. */
  .visit .elder { gap: 18px; }
  .visit .elder .prog { margin-bottom: 10px; }
  .visit .elder .bigq.prompt { font-size: 60px; line-height: 1.1; }
  .visit .elder .say.elder-card { padding: 32px 32px 36px; }
  .visit .elder .takeit { font-size: 22px; color: var(--slate); }
  .visit .asker { gap: 14px; padding-top: 18px; }
  .visit .asker .duo { margin-top: 8px; }
}
@media (min-width: 900px) and (orientation: landscape) {
  .split.visit { padding-top: 0; min-height: calc(100vh - 69px); }
  /* Progress at the top; the question and "take your time" in the middle of the white side. */
  .split .elder { justify-content: flex-start; padding: 32px 48px 40px; gap: 18px; }
  .split .elder .say.elder-card { margin-top: auto; padding: 0; }
  .split .elder .takeit { margin-bottom: auto; }
  .split .elder .bigq.prompt { font-size: clamp(56px, 5vw, 72px); }
  .split .elder .consent-text { font-size: 30px; }
  .split .asker { padding: 28px 24px; }
  .split .asker .upnext.tip { margin-top: 0; }
}
/* Empty status lines take no room (they stay in place for screen readers). */
.visit .asker .timer:empty, .visit .asker .status:empty { min-height: 0; margin: 0; }
/* A short landscape screen (iPad held sideways): the tip goes, so nothing runs off the bottom. */
@media (min-width: 900px) and (orientation: landscape) and (max-height: 820px) {
  .split .asker .upnext.tip { display: none; }
  /* The full consent words and both answers fit on one screen. */
  .visit .consent-text { font-size: 24px; line-height: 1.35; }
  .visit .consent-text p + p { margin-top: 8px; }
  .visit .say { padding: 18px 24px; }
  .visit .vstep { gap: 12px; }
}
/* iPad held upright: a long question (four lines) plus Listen back, Save and Start over still leaves
 * Skip and End the visit on the screen. The question size follows the screen height, up to 60px. */
@media (min-width: 700px) and (orientation: portrait) {
  .visit .elder .bigq.prompt { font-size: min(60px, 4.7vh); }
  .visit .elder .say.elder-card { padding: 24px 28px 26px; }
  .visit .elder { gap: 12px; }
  .visit .asker { gap: 10px; padding-top: 10px; }
  .visit .asker .duo { margin-top: 4px; }
}

/* Round 5: recordings kept on this device until they are sent (public/keep.js). Calm, never alarming. */
.keep-prompt { margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.keep-note { background: var(--skysoft); border-radius: var(--r); padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.keep-note p { margin: 0; flex: 1 1 240px; }
.keep-note p.small { flex-basis: 100%; order: 2; }
.keep-note button { flex: 0 0 auto; }
.keep-note.refused { background: var(--peach); border: 1px solid var(--peach-2); }
.keep-note.sent { background: var(--sage-soft); }
.keep-dialog { border: none; border-radius: var(--r); padding: 24px; max-width: min(440px, calc(100vw - 32px)); background: var(--white); color: var(--navy); box-shadow: 0 12px 40px rgba(12, 32, 59, .18); }
.keep-dialog::backdrop { background: rgba(12, 32, 59, .35); }
.keep-dialog h2 { margin: 0 0 8px; }
.keep-dialog p { margin: 0 0 16px; }
.keep-dialog p.q { font-weight: 600; }
.keep-dialog-inline { position: fixed; left: 16px; right: 16px; top: 20vh; margin: 0 auto; z-index: 50; }
/* Round 8: each held recording, under its own reason, with the asker's own Delete. */
.keep-held-note { flex-basis: 100%; order: 2; }
.keep-held { flex-basis: 100%; order: 2; }
/* The held note on the visit page and at the end of a visit (round 8): a note box of its own. */
#visit-held, #end-held { background: var(--skysoft); border-radius: var(--r); padding: 12px 16px; margin: 16px 0; }
.keep-held-send { margin-top: 10px; }
.keep-held + .keep-held { margin-top: 6px; }
.keep-held p.small { margin: 0 0 2px; }
.keep-held-list { list-style: none; margin: 0; padding: 0; }
.keep-held-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; border-top: 1px solid rgba(12, 32, 59, .12); }
.keep-held-list li:first-child { border-top: none; }
.keep-held-list .q { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; padding: 6px 0; }
.keep-held-list button.link { font-size: 16px; padding: 0 2px; }
.split .asker .warn, .split .asker .note { margin: 0 0 12px; }
.split .asker #offline-note { background: var(--white); }

/* Round 6: the family's questions list stacks (no squeezed column at phone width). */
.qlist.qedit { gap: 12px; }
.qlist.qedit li { flex-direction: column; gap: 8px; padding: 16px 18px; }
.qlist.qedit li > p { margin: 0; }
.qlist.qedit li > p:first-child { font-size: 18px; }
.qlist.qedit .row { margin: 4px 0 0; gap: 8px; }
.qlist.qedit .row form { margin: 0; }
.qlist.qedit .row button { min-height: 48px; padding: 6px 16px; font-size: 16px; white-space: nowrap; }
/* Back to the last question, during a visit */
.qback { margin: 4px 0 0; }
.qback a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; font-weight: 700; color: var(--navy); }
.qback a .i { width: 18px; height: 18px; }
/* Change Elders + Remove on each person */
.person-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.person-acts .btn, .person-acts button { min-height: 48px; padding: 6px 16px; font-size: 16px; }

/* Round 7: 48px hit areas for small text links, without making them look like buttons. */
.srow a.t { display: inline-block; padding: 12px 0; margin: -12px 0; }
details.card > summary { padding: 12px 0; min-height: 48px; cursor: pointer; }

/* Book page "Add a story" (round 11): the title (and why) on the left, the action kept on the same row. */
.add-list { list-style: none; padding: 0; margin: 0 0 24px; }
.add-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--mist-2); }
.add-what { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.add-why { margin-top: 2px; }
.add-act { flex: none; white-space: nowrap; }
.add-act button.link { padding-right: 0; }

/* Elder page: cut-off recording-link recordings (round 11). */
.cut-list { list-style: none; padding: 0; margin: 8px 0; }
.cut-item { padding: 12px 0; border-top: 1px solid var(--mist-2); }
.cut-item p { margin: 0 0 4px; }
.cut-item .row { margin-top: 8px; }

/* ==========================================================================
 * Round 12: first-time v2. Big, calm, one main button per screen, words on every button,
 * Back and Help always in the same place. Nothing moves.
 * ========================================================================== */
:root { --sun: #F9CDB3; --paper: #FFFDF8; --paper-line: #EADFCD; }
.i { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i.lg { width: 44px; height: 44px; stroke-width: 2; }
.i.xl { width: 72px; height: 72px; stroke-width: 1.8; }
html.big-words body { zoom: 1.18; }

/* Header: the mark and name on the left, Help on the right, the links under. */
.top .brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; }
.top .brand .mk { width: 40px; height: 40px; flex: none; }
.top .brand .wm { display: flex; flex-direction: column; font: 700 19px/1 var(--display); color: var(--navy); }
.top .brand .wm b { font-weight: 700; }
.top .wrap { position: relative; }
.helpbtn, .backbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 20px; border-radius: 999px; border: 2.5px solid var(--navy); background: var(--white); color: var(--navy); font: 700 19px/1 var(--body); text-decoration: none; }
.backbtn { padding-left: 14px; }
.helpbtn:hover, .backbtn:hover { background: var(--cream); }
.top .helpbtn { order: 2; margin-left: auto; }
.top .nav { order: 3; flex-basis: 100%; }
@media (min-width: 1000px) { .top .nav { order: 2; flex-basis: auto; margin-left: auto; } .top .helpbtn { order: 3; margin-left: 0; } }
.pageback { margin: 18px 0 0; }
.top.bare .nav { display: none; }

/* The Help sheet: a bottom sheet over a dim. Works without script through #help (:target). */
.helpsheet { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; max-width: 640px; margin: 0 auto; background: var(--cream); border-radius: 28px 28px 0 0; padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); flex-direction: column; gap: 14px; box-shadow: 0 -10px 40px rgba(12,32,59,.25); max-height: 92vh; overflow-y: auto; }
.helpsheet.on, .helpsheet:target { display: flex; }
.helpsheet h2 { margin: 0; font-size: 32px; }
.helpsheet p { margin: 0; font-size: 20px; line-height: 1.45; }
.help-dim { position: fixed; inset: 0; background: rgba(12,32,59,.45); z-index: 59; }
.help-dim[hidden] { display: none; }

/* Buttons: the one coral main button, and the white second ones. */
.btn.main, .btn.two, button.btn.main, button.btn.two { display: flex; width: 100%; min-height: 80px; border-radius: 999px; font: 700 24px/1.1 var(--body); padding: 0 24px; gap: 12px; border: 3px solid transparent; }
.btn.main, button.btn.main { background: var(--coral); color: var(--navy); border-color: var(--coral); box-shadow: 0 5px 0 #C4513A; margin-bottom: 5px; }
.btn.main:hover { background: var(--coral-hi); border-color: var(--coral-hi); }
.btn.two, button.btn.two { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn.two:hover { background: var(--cream); border-color: var(--navy); }
.btn.small, button.btn.small { min-height: 64px; font-size: 21px; }
.btn.main .i, .btn.two .i { width: 30px; height: 30px; }
.js .btn.main.js-only, .js .btn.two.js-only { display: flex !important; }

/* Paper and big hello words. */
.paper { background: var(--paper); border: 1px solid var(--paper-line); border-radius: 6px 18px 18px 6px; box-shadow: inset 8px 0 0 -4px var(--peach-2), 0 2px 0 var(--paper-line); padding: 22px 22px 22px 28px; }
.hi { font: 700 48px/.98 var(--display); color: var(--navy); margin: 0; }
.hi em { font-style: normal; color: var(--coral-ink); display: block; }
.sayp { font-size: 21px; line-height: 1.45; color: var(--ink); margin: 0; }
.quiet { font-size: 17px; color: var(--slate); margin: 0; }
.cardt { font: 700 32px/1.02 var(--display); color: var(--navy); margin: 0; }
.shield { display: flex; gap: 10px; align-items: center; font-size: 17px; color: var(--slate); margin: 0; }
.shield .i { color: var(--sage); }

/* The drawn landscape: a band at the top, or low behind a page. */
svg.land { display: block; width: 100%; height: 100%; }
.band { position: relative; height: 170px; overflow: hidden; background: linear-gradient(180deg, #D6E9F5 0%, #FBE6D8 70%, #FDF1E6 100%); border-radius: 0 0 22px 22px; }
.band > svg.land { position: absolute; inset: 0; }
.band .over { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; align-items: center; gap: 10px; }
.band .over .mk { width: 44px; height: 44px; }
.band .over b { font: 700 24px/1 var(--display); color: var(--navy); }
main.land-page { position: relative; min-height: calc(100vh - 80px); padding-bottom: 240px; }
.land-sky { position: absolute; left: 50%; bottom: 0; width: 100vw; transform: translateX(-50%); height: 260px; z-index: -1; background: linear-gradient(180deg, rgba(228,240,247,0) 0%, #FBE6D8 60%, #FDF1E6 100%); pointer-events: none; }
body { position: relative; z-index: 0; }
.gate { max-width: 520px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 18px; }
.gate form { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.center-col { align-items: center; text-align: center; }
.center-col .btn.main { max-width: 460px; }
.sunring { width: 120px; height: 120px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; color: var(--coral-ink); box-shadow: 0 0 0 16px rgba(252,231,221,.6); margin: 24px auto 12px; }
.brand-big { display: flex; align-items: center; gap: 12px; }
.brand-big .mk { width: 56px; height: 56px; }
.brand-big b { display: block; font: 700 26px/1 var(--display); color: var(--navy); }
.brand-big small { display: block; font: 500 14px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--slate); margin-top: 6px; }

/* Put this on your home screen: three picture steps. */
.appicon { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 6px 18px rgba(12,32,59,.18); display: block; margin: 0 auto; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.s3 { display: grid; grid-template-columns: 68px 1fr; gap: 14px; align-items: center; background: var(--white); border: 1.5px solid var(--paper-line); border-radius: 18px; padding: 12px; }
.s3 .pic { width: 68px; height: 68px; border-radius: 50%; background: var(--skysoft); display: grid; place-items: center; color: var(--navy); }
.s3 .pic .i { width: 34px; height: 34px; }
.s3 b { font-size: 19px; color: var(--navy); }
.s3 span { display: block; font-size: 16px; color: var(--slate); }

/* Visitor home (A). */
.vhome { display: flex; flex-direction: column; gap: 18px; padding-top: 4px; }
.vhome .band { margin: 0 -16px; border-radius: 0; }
@media (min-width: 700px) { .vhome .band { margin: 0; border-radius: 22px; height: 200px; } }
.vhome .paper .hi { font-size: 44px; }
.vhome .paper { display: flex; flex-direction: column; gap: 10px; }
.vhome .paper .eyeb { font: 700 15px/1.2 var(--body); color: var(--coral-ink); margin: 0; }
.vhome .vstart { display: flex; flex-direction: column; gap: 12px; }
.vhome .vstart .quiet a { display: inline-flex; min-height: 48px; align-items: center; }
#my-recordings { scroll-margin-top: 16px; }
/* My recordings: title and its chip, then Play on a line of its own (never squeezed beside the words). */
.vhome ul.mine { list-style: none; padding: 0; margin: 0; }
.vhome ul.mine > li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 0; border-bottom: 1px solid var(--mist); }
.vhome ul.mine > li:last-child { border-bottom: 0; }
.vhome ul.mine > li > .playit-wrap { flex: 0 0 100%; }

/* Owner home: greeting with the landscape, Needs you, four tiles. */
.ohome-hero { display: grid; gap: 18px; align-items: center; margin-top: 18px; }
.ohome-hero .art { height: 170px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #D6E9F5 0%, #FBE6D8 70%, #FDF1E6 100%); }
@media (min-width: 900px) { .ohome-hero { grid-template-columns: 1.1fr 1fr; } .ohome-hero .art { height: 230px; } .ohome-hero .hi { font-size: 60px; } }
.needs { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 26px; }
.needs h2 { margin: 0; }
.need { display: grid; grid-template-columns: auto 1fr; gap: 14px 20px; align-items: center; background: var(--paper); border: 1px solid var(--paper-line); border-radius: 22px; padding: 18px 20px; box-shadow: inset 10px 0 0 -4px var(--coral); }
.need.calm { box-shadow: inset 10px 0 0 -4px var(--sage); }
.need .cardt { font-size: 28px; }
.need p { margin: 4px 0 0; }
.need .ring { width: 64px; height: 64px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; color: var(--navy); }
.need .btn.main { grid-column: 1 / -1; min-height: 64px; font-size: 21px; }
@media (min-width: 900px) { .need { grid-template-columns: auto 1fr auto; } .need .btn.main { grid-column: auto; width: auto; min-width: 230px; } }
.otiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 26px; }
@media (min-width: 900px) { .otiles { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.tile { background: var(--white); border: 2.5px solid var(--navy); border-radius: 22px; min-height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font: 700 22px/1.15 var(--body); color: var(--navy); text-align: center; padding: 12px; text-decoration: none; }
.tile:hover { background: var(--cream); }
.tile .ring { width: 72px; height: 72px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; }
.tile small { font: 500 16px/1.2 var(--body); color: var(--slate); }

/* The visit: the Elder's side (sky, landscape low, the big question) and the helper's side. */
.trail { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trail .prog { display: flex; gap: 8px; flex: none; }
.trail .prog i { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--mist-2); }
.trail .prog i.on { background: var(--sage); }
.trail .prog i.now { background: var(--coral); box-shadow: 0 0 0 5px var(--sun); }
.trail #q-count { font: 700 18px/1.2 var(--body); color: var(--coral-ink); margin-left: 6px; }
.visit .elder { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; padding: 22px 20px 120px; background: linear-gradient(180deg, #E4F0F7 0%, #FBE6D8 55%, #FDF1E6 100%); }
.visit .elder > svg.land { position: absolute; left: 0; right: 0; bottom: 0; height: 110px; z-index: -1; }
.visit .elder .say.elder-card { background: none; border: 0; padding: 0; }
.visit .elder .bigq.prompt { font: 700 40px/1.02 var(--display); color: var(--navy); text-wrap: balance; }
.visit .thanks { display: none; font: 700 30px/1.05 var(--display); color: var(--sage); margin: 0; }
.visit.stopped .thanks { display: block; }
.visit .helper { display: flex; flex-direction: column; gap: 14px; }
.helper-top { display: flex; justify-content: flex-start; min-height: 0; }
.helper-top .qback { margin: 0; }
.helper-top .qback a { min-height: 56px; }
/* Record button B: the coral sun with peach rings; while recording a navy Stop square. */
.visit .recbig, .split .asker .recbig { width: 200px; height: 200px; min-height: 0; padding: 0; margin: 46px auto 44px; border-radius: 50%; border: 0; background: var(--coral); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 0 0 20px rgba(249,205,179,.75), 0 0 0 42px rgba(252,231,221,.8); }
.visit .recbig:hover { background: var(--coral-hi); }
.visit .recbig svg { width: 64px; height: 64px; color: var(--navy); }
.visit .recbig .lb, .split .asker .recbig .lb { position: static; width: auto; height: auto; clip: auto; overflow: visible; font: 700 30px/1 var(--body); color: var(--navy); }
.visit .recbig.stop, .split .asker .recbig.stop { width: 190px; height: 190px; border-radius: 40px; background: var(--navy); margin: 18px auto 18px; box-shadow: 0 0 0 16px var(--skysoft); gap: 12px; }
.visit .recbig.stop .sq, .split .asker .recbig.stop .sq { width: 54px; height: 54px; border-radius: 10px; background: var(--white); }
.visit .recbig.stop .lb, .split .asker .recbig.stop .lb { color: var(--white); font-size: 32px; }
.visit .reclbl, .split .asker .reclbl { display: block; font: 500 20px/1.4 var(--body); color: var(--ink); text-align: center; margin: 0; }
.visit .timer, .split .asker .timer { justify-content: center; font: 700 22px/1 var(--body); color: var(--coral-ink); }
.visit .rec-dot { width: 18px; height: 18px; background: #D9442B; box-shadow: 0 0 0 6px var(--peach); }
.visit .duo { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.visit .duo form { margin: 0; }
.visit .duo button { min-height: 60px; }
/* The consent page: the words on paper, a big Yes and an equally big Not today. */
.visit .ecw { font: 29px/1.38 var(--serif); color: var(--navy); background: rgba(255,253,248,.9); border: 1px solid var(--paper-line); border-radius: 18px; padding: 20px 22px; }
.visit .ecw .consent-text { font: inherit; color: inherit; }
.visit .ask-split .elder .eyebrow { margin: 0; }
.visit .btn.big-two { min-height: 80px; font-size: 24px; }
.visit .stack { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 699px) {
  .visit .elder .bigq.prompt { font-size: 40px; }
  .visit .ecw { font-size: 23px; padding: 16px 18px; }
  .visit .recbig { width: 170px; height: 170px; margin: 38px auto 36px; }
  .visit .recbig.stop { width: 160px; height: 160px; }
}
@media (min-width: 700px) {
  .visit .elder .bigq.prompt { font-size: 56px; line-height: 1; }
}
@media (min-width: 900px) and (orientation: landscape) {
  .split { grid-template-columns: 1.25fr 1fr; }
  .split .elder { border-radius: 0; padding: 36px 44px 200px; justify-content: flex-start; gap: 20px; background: linear-gradient(180deg, #E4F0F7 0%, #FBE6D8 55%, #FDF1E6 100%); }
  .split .elder > svg.land { height: 220px; }
  .split .elder .say.elder-card { margin-top: 18px; }
  .split .elder .bigq.prompt { font-size: clamp(56px, 5.4vw, 70px); line-height: 1; }
  .split .asker, .split .helper { background: var(--cream); border-left: 1px solid var(--paper-line); padding: 24px 30px; gap: 14px; }
  .split .asker .h { display: none; }
  .split .elder .ecw { font-size: 26px; }
  .split .asker .recbig { margin: 46px auto 40px; }
}
@media (min-width: 900px) and (orientation: landscape) and (max-height: 820px) {
  .split .asker .recbig { width: 180px; height: 180px; margin: 36px auto 30px; }
  .split .asker .recbig.stop { width: 170px; height: 170px; }
  .visit .ecw { font-size: 22px; }
}

/* Check the words: one part at a time, on book-page paper (option 4). */
.bookpage { font: 23px/1.5 var(--serif); color: var(--ink); }
.bookpage .tx, .para .bookpage .tx { font: inherit; }
.js .check-b[data-one] { display: block; }
.js #text-form:not(.approved) .check-a { display: none; }
.js .check-b[data-one] .para { display: none; background: none; border: 0; padding: 0; margin: 12px 0 0; }
.js .check-b[data-one] .para.cur { display: block; }
.check-b[data-one] .para-ok { display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 16px; }
.check-b[data-one] .para-ok .btn.main { order: -1; }
.check-b[data-one] .para-ok button.btn { min-height: 64px; font-size: 21px; padding: 0 20px; }
.check-b[data-one] .para-ok button.btn.main { min-height: 80px; font-size: 24px; }
.check-b[data-one] .pfrom .small { font-size: 16px; }
.check-done { display: none; flex-direction: column; gap: 12px; text-align: center; }
.check-done .band { border-radius: 22px; }
.check-b.all-done .check-done { display: flex; }
.js .check-b[data-one] .lr-b { display: none; }
/* One part at a time: "Fill in the blank first" belongs to the part with the blank (its .pmsg), not under every part. */
.js .check-b[data-one]:not(.all-done) #why-b { display: none; }
.js .check-b[data-one].all-done .lr-b { display: flex; }
.js .check-b[data-one] ~ * .lr-a, .js #text-form .lr-a { display: none; }
.js #text-form.approved .lr-a { display: flex; }
.check-b .progtxt { margin: 4px 0 0; }
@media (min-width: 760px) { .js .check-b[data-one] { display: block; } .check-b[data-one] .para-ok { flex-direction: row; flex-wrap: wrap; } .check-b[data-one] .para-ok .btn.main { flex: 1 1 100%; } .check-b[data-one] .para-ok .btn.two { flex: 1 1 0; width: auto; } }
/* Fix a word: a whole screen with a big box, Save my fix and Cancel. */
.fixpop.big { position: fixed; inset: 0; width: auto; max-width: none; z-index: 70; border: 0; border-radius: 0; padding: 24px 20px; background: var(--cream); gap: 16px; overflow-y: auto; }
.fixpop.big > b { font: 700 32px/1.05 var(--display); color: var(--navy); }
.fixpop.big textarea { font: 23px/1.5 var(--serif); min-height: 50vh; padding: 16px; border: 2px solid var(--navy); border-radius: 14px; }
.fixpop.big .row { display: flex; flex-direction: column; gap: 12px; }
.fixpop.big button.btn { width: 100%; min-height: 80px; font-size: 24px; }
.fixpop.big button.btn.small { min-height: 64px; font-size: 21px; }
@media (min-width: 760px) { .fixpop.big { padding: 40px max(32px, calc(50% - 360px)); } }
/* The voice-code page: landscape, big sun Play, words on a book page. */
.scan { display: flex; flex-direction: column; gap: 18px; padding-top: 12px; }
.scan .play { width: 150px; height: 150px; min-height: 0; padding: 0; border-radius: 50%; background: var(--coral); color: var(--navy); border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin: 34px auto 30px; box-shadow: 0 0 0 16px rgba(249,205,179,.7), 0 0 0 34px rgba(252,231,221,.75); font: 700 22px/1 var(--body); }
.scan .play .i { width: 52px; height: 52px; }
.scan audio { width: 100%; }
.scan .bookpage p { margin: 0 0 .7em; }
.kindgone { text-align: center; align-items: center; }

/* iPad landscape: the consent ask uses the same two sides as the question screen. */
@media (min-width: 900px) and (orientation: landscape) {
  .js main.wrap:has(.consent-steps[data-step="1"]) { max-width: none; padding: 0; }
  .js .consent-steps[data-step="1"] .vstep.ask-split[data-step="1"] { display: grid; gap: 0; margin: 0; min-height: calc(100vh - 69px); }
}

/* QA 11-29: tap targets, check page buttons, Help inline on a laptop. */
.nav a { padding: 0 6px; min-width: 48px; justify-content: center; }
.radio input { width: 28px; height: 28px; }
.check-b[data-one] .para-ok .btn.two { white-space: nowrap; }
@media (min-width: 760px) { .check-b[data-one] .para-ok .btn.two { flex: 1 1 auto; } }
a.btn.two.small.ask-team { min-height: 56px; font-size: 18px; white-space: normal; text-align: center; margin-top: 8px; }
@media (min-width: 1000px) { .top .wrap { max-width: 1120px; flex-wrap: nowrap; } .top .nav { flex-wrap: nowrap; white-space: nowrap; } }
.scan .eyebrow { font-size: 18px; }

/* Round 13a: "How it works" (tutorial v1: A then B for visitors, A once then B for owners). */
.tut { max-width: 560px; margin: 18px auto 0; display: flex; flex-direction: column; gap: 18px; }
.tut .eyebrow { margin: 0; font-size: 16px; letter-spacing: .08em; }
.tut h1.cardt { margin: 0; }
.bigpic { height: 230px; border-radius: 22px; background: linear-gradient(180deg, #E4F0F7 0%, #FBE6D8 100%); display: grid; place-items: center; position: relative; overflow: hidden; color: var(--navy); }
.bigpic > svg.land { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.bigpic .ring { width: 130px; height: 130px; border-radius: 50%; background: var(--white); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 14px rgba(255,255,255,.5); }
.pdots { display: flex; gap: 10px; justify-content: center; }
.pdots i { width: 14px; height: 14px; border-radius: 50%; background: var(--mist-2); }
.pdots i.on { background: var(--coral); box-shadow: 0 0 0 4px var(--sun); }
.tut-go form { margin: 0; }
.tut-skip { text-align: center; margin: 0; }
.tut-skip a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; font-size: 19px; color: var(--slate); }
.coach { background: var(--navy); color: var(--white); border-radius: 18px; padding: 14px 18px; font: 500 18px/1.4 var(--body); position: relative; margin-bottom: 12px; }
.coach b { color: #FFD9CB; }
.coach::after { content: ""; position: absolute; left: 40px; bottom: -12px; border: 12px solid transparent; border-bottom: 0; border-top-color: var(--navy); }
.coach.up { margin: 22px 0 0; }
.coach.up::after { bottom: auto; top: -12px; border-top: 0; border-bottom: 12px solid var(--navy); border-top-color: transparent; }
/* The practice: the same sun and Stop as a real visit. */
.practice .pq { display: grid; gap: 6px; }
.practice .pq .eyebrow { font-size: 15px; }
.practice .pq .cardt { margin: 0; font-size: 34px; }
.practice .pr { display: flex; flex-direction: column; gap: 14px; }
.practice .pr[hidden] { display: none; }
.practice .pr form { margin: 0; }
.practice .recbig { width: 170px; height: 170px; margin: 22px auto 4px; position: relative; }
.practice .recbig svg { width: 64px; height: 64px; }
.practice .recbig.stop { background: var(--navy); border-color: var(--navy); width: 160px; height: 160px; }
.practice .recbig.stop .sq { width: 54px; height: 54px; border-radius: 10px; background: var(--white); }
.practice .recbig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 0; margin: 46px auto 40px; box-shadow: 0 0 0 18px rgba(249,205,179,.75), 0 0 0 36px rgba(252,231,221,.8); }
.practice .recbig.stop { box-shadow: 0 0 0 14px var(--skysoft); border-radius: 36px; margin: 30px auto 24px; }
/* Round 13d: the practice button shows its word, the same as the visit button, so "tap Record" matches. */
.practice .recbig .lb { position: static; width: auto; height: auto; clip: auto; overflow: visible; font: 700 26px/1 var(--body); color: var(--navy); }
.practice .recbig.stop .lb { color: var(--white); }
.practice .reclbl { font: 700 20px/1.3 var(--body); text-align: center; color: var(--navy); margin: 0; }
.practice .timer { font: 700 22px/1 var(--body); color: var(--coral-ink); margin: 12px 0 0; }
.practice .rec-dot { width: 18px; height: 18px; background: #D9442B; box-shadow: 0 0 0 6px var(--peach); }
.practice .play { width: 150px; height: 150px; min-height: 0; padding: 0; border-radius: 50%; background: var(--coral); color: var(--navy); border: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin: 22px auto 26px; box-shadow: 0 0 0 16px rgba(249,205,179,.7), 0 0 0 34px rgba(252,231,221,.75); font: 700 22px/1 var(--body); }
.practice .play .i { width: 52px; height: 52px; }
.practice .sayp.center { text-align: center; }
.practice .hi { font-size: 44px; }
/* Owner, A: the five-step trail, once. */
.owelcome { display: flex; flex-direction: column; gap: 24px; margin-top: 8px; }
.owelcome .band { height: 130px; border-radius: 22px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow li { background: var(--paper); border: 1px solid var(--paper-line); border-radius: 20px; padding: 16px; display: grid; grid-template-columns: 64px 1fr; gap: 4px 14px; align-items: center; color: var(--navy); }
.flow li .ring { grid-row: span 2; width: 64px; height: 64px; border-radius: 50%; background: var(--peach); display: grid; place-items: center; }
.flow li b { font: 700 21px/1.2 var(--body); }
.flow li small { font: 500 16px/1.35 var(--body); color: var(--slate); }
.flow li.you { box-shadow: 0 0 0 4px var(--coral); }
.flow li.ok { margin: 0; }
.flow li.ok .ring { background: var(--sage-soft); }
.ow-go { display: flex; flex-direction: column; gap: 12px; }
.ow-go form { margin: 0; }
@media (min-width: 900px) {
  .owelcome .hi { font-size: 58px; }
  .flow { grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
  .flow li { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px 16px; gap: 10px; align-content: start; }
  .flow li .ring { grid-row: auto; width: 78px; height: 78px; }
  .ow-go { flex-direction: row; align-items: center; gap: 18px; }
  .ow-go .btn.main { width: auto; padding: 0 44px; }
}
/* Owner, B: Getting started, at the top of owner home until the first story is checked. */
.gs { display: grid; gap: 6px; background: var(--paper); border: 1px solid var(--paper-line); border-radius: 22px; padding: 18px 20px; margin: 18px 0 8px; }
.gs .row1 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.gs .row1 .cardt { margin: 0; font-size: 28px; }
.bar5 { height: 12px; border-radius: 999px; background: var(--mist-2); overflow: hidden; width: 100%; max-width: 280px; }
.bar5 i { display: block; height: 100%; background: var(--sage); }
.gs-note { margin: 4px 0; font: 700 18px/1.35 var(--body); color: var(--sage); }
.gs-list { list-style: none; margin: 0; padding: 0; }
.gsi { display: grid; grid-template-columns: 44px 1fr; gap: 10px 14px; align-items: center; padding: 10px 0; border-top: 1px solid #F0E6D8; font-size: 19px; color: var(--navy); }
.gsi .dot { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--mist-2); display: grid; place-items: center; font: 700 18px var(--body); color: var(--slate); background: var(--white); }
.gsi .dot .i { width: 22px; height: 22px; }
.gsi small { display: block; color: var(--slate); font-size: 16px; margin-top: 2px; }
.gsi.ok { background: none; border-radius: 0; padding: 10px 0; }
.gsi.ok .dot { background: var(--sage); border-color: var(--sage); color: var(--white); }
.gsi.ok .gs-t { color: var(--slate); text-decoration: line-through; }
.gsi.now .dot { background: var(--coral); border-color: var(--coral); color: var(--navy); box-shadow: 0 0 0 6px var(--sun); }
.gsi.now .gs-t { font-weight: 700; }
.gsi .gs-act { grid-column: 1 / -1; }
.gsi .gs-act form { margin: 0; }
.gsi > span:empty { display: none; }
@media (min-width: 900px) {
  .gsi { grid-template-columns: 44px 1fr auto; }
  .gsi .gs-act { grid-column: auto; }
  .gsi .gs-act .btn { width: auto; padding: 0 26px; white-space: nowrap; }
}
/* The first real visit: "Before you start", helper side only. The Elder's side is still. */
.js .consent-steps[data-step="t"] .vstep[data-step="t"] { display: flex; }
.tips-split .tips-welcome { font: 700 34px/1.2 var(--display); color: var(--navy); margin: 0; }
.tips-split .helper { display: flex; flex-direction: column; gap: 14px; }
.tips-split .helper .cardt { margin: 0; }
.tips-split .helper .eyebrow { margin: 0; }
@media (min-width: 900px) and (orientation: landscape) {
  .js main.wrap:has(.consent-steps[data-step="t"]) { max-width: none; padding: 0; }
  .js .consent-steps[data-step="t"] .vstep.tips-split[data-step="t"] { display: grid; gap: 0; margin: 0; min-height: calc(100vh - 69px); }
  .tips-split .tips-welcome { font-size: 44px; margin-top: 40px; }
  .tips-split .helper .stack { margin-top: auto; }
}
.scan .coach { margin: 8px 0 0; }
.tips-split .tips-back { margin: 0; text-align: center; }
.tips-split .tips-back a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; font: 700 18px/1.2 var(--body); color: var(--navy); }
.tips-split .tips-back .i { width: 20px; height: 20px; }

/* Round 13d: check the words. Why a button is greyed, beside it; a part with a blank says so. */
.why { margin: 6px 0 0; color: var(--coral-ink); font-weight: 600; }
.pmsg { margin: 10px 0 0; }
.fixpop .mark-q { display: flex; flex-direction: column; gap: 8px; background: var(--white); border: 1px solid var(--paper-line); border-radius: 14px; padding: 14px 16px; }
.fixpop .mark-q label, .fixpop .mark-q .q { font: 700 21px/1.3 var(--body); color: var(--navy); }
.fixpop .mark-q input { font: 22px var(--serif); border: 2px solid var(--navy); border-radius: 12px; padding: 10px 14px; width: 100%; min-height: 56px; }
.fixpop .mark-q .keepchange { display: flex; flex-direction: row; gap: 10px; }
.fixpop .mark-q .keepchange button { flex: 1 1 0; min-height: 56px; font-size: 19px; }
.fixpop .mark-q .keepchange button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.fixpop.big .link.tap { align-self: flex-start; min-height: 48px; font-size: 18px; }
/* Round 13d: Play buttons on story lists. */
.playit-wrap { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.playit { min-height: 48px; }
.playit .pl-t { color: var(--slate); font-weight: 500; }
.playit.playing { background: var(--navy); color: var(--white); border-color: var(--navy); }
.playit.playing .pl-t { color: var(--white); }

/* Round 13d: a long question (over 120 letters) is a size smaller, so the land at the foot of the
 * card stays in view on an iPad and a phone. */
.visit .elder .bigq.prompt.long { font-size: 26px; }
@media (min-width: 700px) {
  .visit .elder .bigq.prompt.long { font-size: 42px; }
}
@media (min-width: 700px) and (orientation: portrait) {
  .visit .elder .bigq.prompt.long { font-size: min(42px, 3.6vh); }
}
@media (min-width: 900px) and (orientation: landscape) {
  .split .elder .bigq.prompt.long { font-size: clamp(40px, 3.6vw, 52px); }
}

/* Footer (every page but print and visit pages) */
.foot { border-top: 1px solid var(--mist-2); background: var(--cream); position: relative; z-index: 1; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: calc(12px + env(safe-area-inset-bottom)); font-size: 16px; }
.foot a { font-weight: 700; min-height: 48px; display: inline-flex; align-items: center; }

/* Privacy page: plain questions and answers, big enough for an Elder to read */
.privacy { font-size: 19px; line-height: 1.6; }
.privacy h1 { margin-top: .6em; }
.privacy .lede { font-size: 21px; }
.privacy .pq { background: var(--white); border: 1px solid var(--mist-2); border-radius: var(--r); padding: 18px 20px; margin: 18px 0; }
.privacy .pq h2 { margin: 0 0 .4em; font-size: 30px; }
.privacy ul { padding-left: 1.2em; margin: .5em 0; }
.privacy li { margin: .35em 0; }
.privacy .note { margin: 12px 0 4px; }
.privacy .to-confirm { display: inline-block; margin-top: 4px; padding: 2px 8px; font-size: 17px; }
.privacy-ver { margin-top: 24px; }
.draft-banner { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; background: #FFF6D6; border: 1.5px dashed #9A7400; border-radius: var(--r); padding: 10px 14px; margin: 16px 0 0; font-size: 16px; }
.draft-banner b { color: #6B5200; }
.consent-privacy { margin: 8px 0 0; font-size: 16px; }
.consent-privacy a { display: inline-flex; align-items: center; min-height: 48px; }
.login-privacy a { display: inline-flex; align-items: center; min-height: 48px; }
@media (min-width: 700px) { .privacy .pq { padding: 22px 28px; } }

/* Round 13c: first drafts on our team's typing page and queue */
.pill.draft { background: var(--peach); color: var(--coral-ink); font-size: 15px; padding: 4px 10px; margin-top: 6px; }
.draft-note { background: var(--peach); border: 1px solid var(--peach-2); border-radius: var(--r); padding: 12px 16px; margin: 8px 0 12px; }
.draft-note p { margin: 4px 0; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check-line input { width: 24px; height: 24px; flex: none; margin-top: 2px; }

/* Round 13e: starting with an invite code (/start) and the invite codes page (/admin/codes). */
.start-form label { margin: 6px 0 0; font-size: 19px; }
.start-form input[type=text], .start-form input[type=email] { font-size: 20px; min-height: 58px; }
.start-form .btn.main { margin-top: 10px; }
.codein { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.codes .codebig { font: 700 18px/1.2 ui-monospace, Menlo, monospace; letter-spacing: .08em; white-space: nowrap; }
.codes .codelink { width: 100%; min-width: 200px; font-size: 15px; min-height: 44px; }
.codes td form { margin: 6px 0 0; }
.codes .codestate { font-weight: 700; display: block; }
.codes tr.justmade td { background: var(--sage-soft); }
.codes button.copy { margin-top: 6px; }
/* Round 13e: the ready-email switch and the "unsaved words" sheet on the check page. */
.switchrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.switchrow p { margin: 0; }
.switchstate { font-weight: 700; }
.scan .play .len { font: 600 15px/1 var(--body); opacity: .85; }
