:root {
  --ink: #3f3a5a; --soft: #7a7397; --sky: #eaf4ff; --blush: #fff3f7; --lav: #c9b6e4; --lav2: #efe7fb;
  --blue: #86bdf2; --blue2: #5f9ee0; --mint: #a8e6a1; --mint2: #6fbf67; --peach: #ffc48a; --rose: #ffc2d1;
  --card: rgba(255, 255, 255, .92); --r: 22px;
  font-family: "Avenir Next Rounded", "Avenir Next", "SF Pro Rounded", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  background: linear-gradient(180deg, var(--sky) 0%, #f6f1ff 55%, var(--blush) 100%);
  min-height: 100vh; overscroll-behavior: none;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.barn { position: fixed; left: 0; right: 0; bottom: 0; height: 32vh; z-index: 0; pointer-events: none; opacity: .95; }
.barn svg { width: 100%; height: 100%; display: block; }
.app { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 14px 18px 30vh; }
.loading { text-align: center; margin-top: 30vh; color: var(--soft); }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
button:disabled { opacity: .55; cursor: default; }
input, select, textarea { font: inherit; color: inherit; }

.btn { border: 0; border-radius: 999px; padding: 14px 26px; font-size: 1.15rem; font-weight: 700; box-shadow: 0 4px 0 rgba(0,0,0,.08); }
.btn.primary { background: var(--blue2); color: #fff; box-shadow: 0 5px 0 #4a86c6; }
.btn.primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #4a86c6; }
.btn.soft { background: #fff; border: 2px solid var(--lav2); }
.btn.small { padding: 9px 16px; font-size: .98rem; }

.topbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 0 12px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.35rem; letter-spacing: .2px; }
.brand-mark svg { width: 42px; height: 42px; display: block; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--card); border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: .95rem; box-shadow: 0 2px 8px rgba(120,100,170,.08); }
.chip .ring { width: 22px; height: 22px; display: block; }
.grownup-btn { border: 2px solid var(--lav2); background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; color: var(--soft); }

.checknote { background: #fff8d9; border: 2px solid #f6e3a1; border-radius: 16px; padding: 10px 16px; font-weight: 700; margin-bottom: 12px; }
.hello { display: flex; align-items: center; gap: 14px; margin: 4px 0 14px; }
.hello-bird svg { width: 130px; height: 130px; display: block; }
.bubble { position: relative; background: var(--card); border-radius: var(--r); padding: 16px 20px; flex: 1; box-shadow: 0 6px 20px rgba(120,100,170,.10); font-size: 1.1rem; }
.bubble:before { content: ""; position: absolute; left: -12px; top: 40px; border: 12px solid transparent; border-right-color: var(--card); border-left: 0; }
.hello-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 4px; }
.hello-actions { margin-top: 10px; }

.tabs { display: flex; gap: 10px; margin: 8px 0 14px; }
.tab { flex: 1; border: 0; border-radius: 18px; padding: 14px; font-size: 1.25rem; font-weight: 800; background: rgba(255,255,255,.6); color: var(--soft); }
.tab.on { background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--lav2); }

.course { background: rgba(255,255,255,.55); border-radius: 26px; padding: 14px 16px 18px; margin-bottom: 16px; }
.course.locked { opacity: .6; }
.course-title { margin: 2px 0 8px; font-size: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.std { font-size: .78rem; background: var(--lav2); border-radius: 999px; padding: 3px 9px; color: var(--soft); font-weight: 700; }
.lockchip { font-size: .8rem; background: #fff; border: 1px dashed var(--lav); border-radius: 999px; padding: 3px 10px; color: var(--soft); font-weight: 600; }
.unit-head { margin: 12px 0 4px; padding: 10px 14px; border-radius: 16px; background: #fff; }
.unit-head.focus { box-shadow: 0 0 0 3px #f6e3a1; }
.unit-title { font-weight: 800; font-size: 1.15rem; }
.crown { color: #e8b923; }
.unit-sub { color: var(--soft); font-size: .92rem; margin-top: 2px; }
.steps { display: flex; flex-direction: column; align-items: flex-start; padding: 6px 0 4px 18px; gap: 6px; }
.step { position: relative; display: flex; align-items: center; gap: 12px; background: none; border: 0; padding: 4px; margin-left: calc(var(--x, 0) * 70px); }
.step .dot { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; background: #e9e4f3; color: #a49cbf; box-shadow: 0 6px 0 #d6cfe6; }
.step.done .dot { background: var(--mint); color: #2f6a2a; box-shadow: 0 6px 0 var(--mint2); }
.step.next .dot { background: var(--blue); color: #fff; box-shadow: 0 6px 0 var(--blue2), 0 0 0 8px rgba(134,189,242,.25); animation: glow 2.4s ease-in-out infinite; }
.step.check .dot { border-radius: 22px; }
.step.check.done .dot { background: #fbe38e; color: #8a6a10; box-shadow: 0 6px 0 #e0bf4f; }
.step-label { font-weight: 700; color: var(--soft); }
.step.next .step-label { color: var(--ink); }
.onstep { position: absolute; left: 62px; top: -26px; width: 58px; height: 58px; pointer-events: none; }
.onstep svg { width: 58px; height: 58px; }
.again { margin: 6px 0 0 6px; }
@keyframes glow { 50% { box-shadow: 0 6px 0 var(--blue2), 0 0 0 14px rgba(134,189,242,.12); } }
.foot { text-align: center; color: var(--soft); font-size: .9rem; }

/* lesson */
.lesson { display: flex; flex-direction: column; min-height: calc(100vh - 30px); }
.lesson-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 6px 0 10px; }
.close { border: 0; background: #fff; border-radius: 50%; width: 46px; height: 46px; font-size: 1.2rem; color: var(--soft); }
.bar { flex: 1; min-width: 160px; height: 16px; background: #fff; border-radius: 999px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--mint), var(--blue)); border-radius: 999px; transition: width .4s; }
.lesson-title { width: 100%; color: var(--soft); font-weight: 700; }
.card { background: var(--card); border-radius: 28px; padding: 22px; box-shadow: 0 10px 30px rgba(120,100,170,.10); }
.ex { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ask { font-size: 1.45rem; font-weight: 800; }
.bigword { font-size: 4.6rem; font-weight: 800; letter-spacing: 1px; color: #2f4f8a; }
.sentence-plain { font-size: 1.35rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sentence-plain.big { font-size: 2rem; font-weight: 700; }
.hear { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; background: #e3f0ff; color: #2f5f9e; padding: 10px 18px; font-weight: 800; }
.hear.big { padding: 14px 26px; font-size: 1.2rem; }
.findrow { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 14px; width: 100%; max-width: 620px; }
.choices.nums { grid-template-columns: repeat(4, 1fr); }
.choices.pad { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.choices.coins, .choices.shapes { grid-template-columns: repeat(4, 1fr); }
.choices.clocks { grid-template-columns: repeat(3, 1fr); }
.choice { background: #fff; border: 3px solid var(--lav2); border-radius: 20px; padding: 16px 8px; min-height: 76px; display: grid; place-items: center; box-shadow: 0 5px 0 var(--lav2); }
.choice svg { width: 100%; max-width: 120px; height: auto; display: block; }
.choice.right { border-color: var(--mint2); background: #eefbea; box-shadow: 0 5px 0 var(--mint2); }
.choice.wrong { border-color: #f0b4c4; background: #fff2f5; box-shadow: 0 5px 0 #f0b4c4; }
.wordchip { font-size: 2rem; font-weight: 800; }
.wordchip.small { font-size: 1.2rem; }
.num { font-size: 2rem; font-weight: 800; }
.digital { font-variant-numeric: tabular-nums; }
.problem { font-size: 3.2rem; font-weight: 800; color: #2f4f8a; }
.problem.small { font-size: 1.8rem; }
.exhibit { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.exhibit svg { width: 200px; height: auto; }
.exhibit.wide svg { width: auto; max-width: 100%; height: 150px; }
.tenframe { width: 230px !important; }
.helper svg { width: 230px; margin-top: 8px; }
.storypic svg { width: 100%; max-width: 420px; height: auto; display: block; }
.tapline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 760px; }
.tok { border: 3px solid var(--lav2); background: #fff; border-radius: 16px; padding: 10px 14px; font-size: 1.8rem; font-weight: 700; box-shadow: 0 4px 0 var(--lav2); }
.tok.right { border-color: var(--mint2); background: #eefbea; }
.tok.wrong { border-color: #f0b4c4; background: #fff2f5; }
.slots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.slot { width: 62px; height: 72px; border-bottom: 5px solid var(--lav); font-size: 2.4rem; font-weight: 800; display: grid; place-items: center; }
.slots.right .slot { border-color: var(--mint2); }
.slots.wrong .slot { border-color: #f0b4c4; }
.tiles { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tile { width: 64px; height: 64px; border-radius: 16px; border: 3px solid var(--lav2); background: #fff; font-size: 2rem; font-weight: 800; box-shadow: 0 4px 0 var(--lav2); }
.tile:disabled { opacity: .3; }
.trace { width: 100%; max-width: 820px; aspect-ratio: 900 / 360; border-radius: 22px; border: 3px solid var(--lav2); touch-action: none; background: #fffdf8; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.center { justify-content: center; }
.gentle { color: var(--soft); font-size: 1.05rem; width: 100%; }

.feedback { position: sticky; bottom: 0; margin-top: 16px; border-radius: 26px; padding: 0; max-height: 0; overflow: hidden; transition: max-height .3s; }
.feedback.show { max-height: 400px; padding: 14px 18px; }
.feedback.ok { background: #eefbea; border: 3px solid var(--mint); }
.feedback.stuck { background: #fff6e8; border: 3px solid #f6d7a6; }
.fb-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fb-bird svg { width: 92px; height: 92px; display: block; }
.fb-main { flex: 1; min-width: 240px; }
.fb-msg { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.fb-answer { font-size: 1.25rem; font-weight: 700; color: #7a5a12; margin-bottom: 6px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 1.05rem; }
.stats > * { background: #fff; border-radius: 999px; padding: 5px 12px; }
.stats strong { font-size: 1.2rem; color: #2f4f8a; }
.stats .lvl { color: var(--soft); }
.stats .lvl.gold { background: #fff3c4; color: #8a6a10; font-weight: 700; }

/* mascot reactions */
.mascot .m-wing { transform-origin: 40px 70px; }
.mascot.hop { animation: hop .7s ease-out 2; }
.mascot.tilt { animation: tilt 1.6s ease-in-out 1; transform-origin: 60px 100px; }
.mascot.flutter .m-wing { animation: flap .35s ease-in-out 6; }
.mascot.flutter { animation: hop 1s ease-out 2; }
.mascot.idle { animation: bob 4s ease-in-out infinite; }
@keyframes hop { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-14px); } }
@keyframes tilt { 0%,100% { transform: rotate(0); } 30%,70% { transform: rotate(-10deg); } }
@keyframes flap { 50% { transform: rotate(-22deg); } }
@keyframes bob { 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .mascot, .mascot * , .step.next .dot { animation: none !important; } }

.celebrate { text-align: center; padding-top: 4vh; }
.cel-bird svg { width: 200px; height: 200px; }
.celebrate h1 { font-size: 2rem; }
.cel-stats { display: grid; grid-template-columns: repeat(2, minmax(160px, 260px)); gap: 12px; justify-content: center; margin: 16px 0 22px; }
.cel-stats > div { background: var(--card); border-radius: 20px; padding: 16px; font-size: 1.1rem; }
.cel-stats b { font-size: 1.6rem; }

/* gate + grown-up */
.overlay { position: fixed; inset: 0; background: rgba(63,58,90,.35); display: grid; place-items: center; z-index: 10; padding: 20px; }
.modal { background: #fff; border-radius: 28px; padding: 24px; width: min(520px, 100%); text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.modal .choices { max-width: 440px; }
.grownup { background: rgba(255,255,255,.75); border-radius: 26px; padding: 6px 18px 20px; }
.grownup .topbar { justify-content: space-between; }
.g-sec { background: #fff; border-radius: 20px; padding: 14px 18px; margin: 12px 0; }
.g-sec h2 { margin: 4px 0 10px; font-size: 1.2rem; }
.g-sec label { display: block; margin: 8px 0; font-weight: 600; }
.g-sec input[type=text], .g-sec input[type=date], .g-sec select { padding: 10px 12px; border-radius: 12px; border: 2px solid var(--lav2); min-width: 220px; font-size: 1rem; }
.g-sec textarea { width: 100%; padding: 12px; border-radius: 14px; border: 2px solid var(--lav2); font-size: 1.05rem; }
.g-sec .switch { display: flex; align-items: center; gap: 10px; }
.g-sec .switch input, .g-sec .radio input, .known { width: 24px; height: 24px; }
.radio { display: inline-flex !important; align-items: center; gap: 6px; margin-right: 16px !important; }
.filebtn { display: inline-block !important; background: #f3eefc; border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.filebtn input { display: block; margin-top: 6px; font-size: .85rem; max-width: 240px; }
.note { color: var(--soft); font-size: .95rem; }
.note.strong { color: #7a5a12; background: #fff8d9; border-radius: 12px; padding: 10px 12px; font-weight: 600; }
.photobox img, .thumb { max-width: 100%; max-height: 380px; border-radius: 14px; display: block; margin: 8px 0; }
.g-course { border-top: 1px solid var(--lav2); padding: 8px 0; }
.g-course summary { font-weight: 800; cursor: pointer; padding: 6px 0; }
.g-course h3 { font-size: 1rem; margin: 12px 0 6px; }
.ptable, .plan { border-collapse: collapse; width: 100%; font-size: .95rem; }
.ptable th, .ptable td, .plan th, .plan td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #f1ecf8; }
.plan th, .plan td { width: 50%; border: 1px solid var(--lav2); }
.recorder { margin: 10px 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); background: #3f3a5a; color: #fff; padding: 12px 20px; border-radius: 999px; opacity: 0; transition: .3s; z-index: 20; pointer-events: none; max-width: 90vw; text-align: center; }
.toast.show { opacity: .95; transform: translate(-50%, 0); }
@media (max-width: 700px) {
  .choices.nums, .choices.coins, .choices.shapes { grid-template-columns: repeat(2, 1fr); }
  .choices.pad { grid-template-columns: repeat(4, 1fr); }
  .bigword { font-size: 3.4rem; }
  .step { margin-left: calc(var(--x, 0) * 40px); }
}

/* ===== Honeybit beta additions ===== */
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("fonts/atkinson-Bold.woff") format("woff"); font-weight: 600 900; font-display: swap; }
html.easy-font, html.easy-font :root, html.easy-font body, html.easy-font button, html.easy-font input, html.easy-font textarea, html.easy-font select { font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif; }
html.easy-font .bigword, html.easy-font .tok, html.easy-font .wordchip { letter-spacing: 2px; }
html.big-text { font-size: 120%; }
html.big-text .bigword { font-size: 5.4rem; }
html.big-text .ask { font-size: 1.7rem; }
html.hi-contrast { --ink: #111; --soft: #333; --lav2: #555; --card: #fff; }
html.hi-contrast body { background: #fff; }
html.hi-contrast .barn { display: none; }
html.hi-contrast .choice, html.hi-contrast .tok, html.hi-contrast .tile { border-color: #222; box-shadow: 0 4px 0 #222; }
html.hi-contrast .btn.primary { background: #0b3d91; box-shadow: 0 5px 0 #06265c; }
html.hi-contrast .hear { background: #0b3d91; color: #fff; }
html.hi-contrast .bigword, html.hi-contrast .problem { color: #000; }
html.hi-contrast .step .dot { background: #ddd; color: #111; box-shadow: 0 6px 0 #555; }
html.hi-contrast .step.next .dot { background: #0b3d91; color: #fff; }
html.no-motion *, html.no-motion *:before, html.no-motion *:after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.no-sound .hear { display: none !important; }
html.quiet .fb-bird { opacity: .6; }
html.quiet body { background: linear-gradient(180deg, #eef2f7 0%, #f4f2f8 100%); }
html.quiet .barn { opacity: .4; }

.betatag { font-size: .7rem; font-weight: 800; background: #fff3c4; color: #8a6a10; border-radius: 999px; padding: 2px 8px; }
.quiet-btn { border: 2px solid var(--lav2); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; color: var(--soft); }
.quiet-btn.on { background: #3f3a5a; color: #fff; border-color: #3f3a5a; }
.weekdots { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0 0 12px; background: var(--card); border-radius: 18px; padding: 8px 14px; width: fit-content; }
.wd-label { font-weight: 800; color: var(--soft); margin-right: 6px; }
.wd { display: inline-flex; flex-direction: column; align-items: center; min-width: 30px; font-size: .8rem; color: var(--soft); }
.wd-dot { font-size: 1.1rem; line-height: 1.2; }
.wd.lesson .wd-dot { color: var(--mint2); }
.wd.rest .wd-dot { color: #8f88ad; }
.wd.future { opacity: .45; }
.wd.today .wd-name { font-weight: 800; color: var(--ink); text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; color: #2f5f9e; text-decoration: underline; font-weight: 700; }
.restchip { font-size: .8rem; background: #efeaf8; border-radius: 999px; padding: 3px 10px; color: var(--soft); font-weight: 700; }
.course.resting { opacity: .8; }
.course.empty p { margin: 4px 0 6px; }
.catchip { display: inline-block; font-size: .8rem; font-weight: 800; color: var(--soft); background: var(--lav2); border-radius: 999px; padding: 3px 10px; margin-bottom: 8px; }
.routes { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 10px; }
.routes-label { font-weight: 700; color: var(--soft); width: 100%; text-align: center; }
.route { display: inline-flex; align-items: center; gap: 6px; border: 3px solid var(--lav2); background: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 800; font-size: 1.1rem; min-height: 52px; }
.route.on { border-color: var(--blue2); background: #e3f0ff; color: #2f5f9e; }
.routes.locked .route { opacity: .5; }
.twin { min-height: 10px; }
.twin-text { color: #5a5580; }
.findme { font-size: 1.4rem; }
.findme b { font-size: 2rem; color: #2f4f8a; }
.bigword.small { font-size: 3rem; }
.letters { display: flex; gap: 8px; justify-content: center; }
.letter { width: 54px; height: 62px; border-radius: 14px; background: #fff; border: 3px solid var(--lav2); display: grid; place-items: center; font-size: 2rem; font-weight: 800; }
.ex-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.trace-word { font-size: 1.6rem; font-weight: 800; color: #2f4f8a; letter-spacing: 2px; }
.meter { width: 100%; max-width: 820px; height: 12px; background: #fff; border-radius: 999px; overflow: hidden; border: 2px solid var(--lav2); }
.meter-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--mint), var(--mint2)); }
.traced .meter { border-color: var(--mint2); }
.choices.two { grid-template-columns: repeat(2, minmax(140px, 1fr)) !important; max-width: 520px; }
.choices.two .choice { min-height: 110px; }
.btn.danger { background: #fff2f5; border: 2px solid #f0b4c4; color: #8a2a44; }
a.btn { display: inline-block; text-decoration: none; color: inherit; }
.about { color: var(--soft); font-weight: 700; margin: 0 0 6px; }
.g-tabs .tab { font-size: 1.05rem; padding: 10px; }
.g-sec label.block { display: block; }
.g-sec .row.wrap label { margin-right: 14px; }
.packs { border: 2px solid var(--lav2); border-radius: 14px; padding: 10px 14px; margin: 10px 0; }
.packs legend { font-weight: 800; padding: 0 6px; }
.pack { display: flex !important; margin: 6px 0 !important; }
.pack input { width: 22px; height: 22px; }
.qrbox { width: min(320px, 80vw); margin: 10px auto; }
.qrbox svg, .h-qr svg { width: 100%; height: auto; display: block; }
#share-link { width: 100%; font-size: .85rem; padding: 10px; border-radius: 12px; border: 2px solid var(--lav2); margin: 8px 0; }
.helps { margin: 6px 0 10px; padding-left: 20px; }
.helps li { margin: 4px 0; }
.rec-rows { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; max-height: 420px; overflow: auto; }
.rec-row { gap: 8px !important; border-bottom: 1px solid #f1ecf8; padding: 4px 0; }
.rec-word { min-width: 90px; font-weight: 800; font-size: 1.15rem; }
.rec-btn.recording { background: #fff2f5; border-color: #f0b4c4; }
.privacy-strong { font-weight: 800; font-size: 1.15rem; color: #2f6a2a; background: #eefbea; border-radius: 12px; padding: 10px 12px; }
.importbox { max-width: 720px; margin: 4vh auto; text-align: center; }
.importbox .g-sec { text-align: left; }
.importbox .hello-bird svg { margin: 0 auto; }
.docpage { max-width: 820px; margin: 0 auto; line-height: 1.5; }
.docnote { background: #fff8d9; border-radius: 12px; padding: 8px 12px; color: #7a5a12; font-weight: 600; }
body.doc { background: #fbf9ff; }
body.doc .docpage { background: #fff; border-radius: 22px; padding: 18px 26px 30px; margin: 20px auto; }
body.doc h1 small { font-size: .55em; color: var(--soft); }

/* printable parent handout */
.print-area { display: none; }
.handout { font-family: inherit; color: #222; }
.h-head { display: flex; align-items: center; gap: 14px; border-bottom: 3px solid #c9b6e4; padding-bottom: 8px; }
.h-bird svg { width: 70px; height: 70px; }
.h-app { font-weight: 800; color: #5a5580; }
.handout h1 { margin: 2px 0; font-size: 26pt; }
.h-dates { font-weight: 700; }
.h-body { display: flex; gap: 22px; align-items: flex-start; margin: 14px 0; }
.h-qr { width: 2.7in; flex: none; }
.h-steps h2 { margin: 0 0 6px; font-size: 15pt; }
.h-steps ol { margin: 0; padding-left: 20px; font-size: 11.5pt; }
.h-steps li { margin: 4px 0; }
.h-priv { font-size: 10pt; background: #eefbea; border-radius: 8px; padding: 6px 8px; }
.h-list { font-size: 13pt; border: 2px solid #e8ddf7; border-radius: 12px; padding: 6px 14px; }
.h-list p { margin: 6px 0; }
.h-url { font-size: 7pt; word-break: break-all; color: #555; }
.h-foot { font-size: 9pt; color: #555; }
@media print {
  @page { size: letter; margin: 0.5in; }
  body { background: #fff !important; padding: 0; }
  body.printing > *:not(#print-area) { display: none !important; }
  body.printing #print-area { display: block !important; }
}
