:root{--ink:#18334a;--paper:#fffdf8;--panel:#f4f8fc;--edge:#415a70;--accent:#0c6f76;--soft:#e7f3ee;--warm:#fff0d5}
*{box-sizing:border-box}
html{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.45}
body{margin:0;min-width:280px}
.skip{position:absolute;top:-4rem;left:1rem;background:#fff;padding:.5rem;z-index:10}.skip:focus{top:1rem}
.mast,main,footer{max-width:1100px;margin:auto;padding:1.2rem clamp(1rem,4vw,2.5rem)}
.mast{padding-top:2rem;padding-bottom:.5rem}
.eyebrow,.number{font-size:.76rem;font-weight:800;letter-spacing:.13em;color:var(--accent)}
h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.08;margin:.35rem 0 1rem}
h2{font-size:clamp(1.6rem,3vw,2.3rem);margin:.1rem 0}
.mast>p:last-child{max-width:64ch;font-size:1.08rem}
.activity{background:#fff;border:2px solid var(--edge);border-radius:22px;padding:clamp(1rem,3vw,2rem);margin-bottom:1.5rem;box-shadow:0 6px 0 #dce7e5}
.section-top{display:flex;align-items:baseline;gap:1rem;flex-wrap:wrap}.number{margin:0}
.instruction{max-width:68ch}
.control-grid{display:flex;flex-wrap:wrap;gap:.7rem;margin:1.2rem 0}
button,select{font:inherit;border:2px solid var(--edge);border-radius:12px;background:#fff;color:var(--ink);padding:.65rem .85rem;min-height:48px}
button{cursor:pointer;font-weight:700}button:hover,select:hover{background:var(--soft)}
button:focus-visible,select:focus-visible,.skip:focus-visible{outline:4px solid #db8a08;outline-offset:3px}
button[aria-pressed=true]{background:var(--soft);border-color:var(--accent)}
label{display:flex;flex-direction:column;gap:.3rem;font-weight:700}.select-grid{align-items:end}
.panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;max-width:780px}
.panels.down{grid-template-columns:1fr;max-width:400px}
.scene{min-height:155px;border:3px solid var(--edge);border-radius:18px;background:var(--panel);padding:1rem;display:flex;flex-direction:column;justify-content:space-between}
.scene.ask{background:var(--warm)}.scene .topline{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.scene strong{font-size:1.25rem}.scene p{margin:.5rem 0 0}.badge{display:inline-block;background:var(--ink);color:#fff;border-radius:99px;padding:.25rem .65rem;font-weight:800;white-space:nowrap}
.reading{background:var(--soft);border-left:5px solid var(--accent);padding:.75rem 1rem;margin-top:1rem;max-width:78ch}
.question{font-weight:700;max-width:75ch}.beat{display:flex;flex-wrap:wrap;gap:.45rem;align-items:stretch;margin-top:1rem}
.unit-box{display:flex;align-items:center;gap:.28rem;border:3px solid var(--edge);border-radius:14px;background:var(--panel);padding:.5rem .6rem}
.beat.wide{gap:1.7rem}.mark{display:flex;align-items:center;justify-content:center;min-width:66px;min-height:75px;border:1px solid #617585;border-radius:8px;background:#fff;font-weight:800;font-size:.75rem;letter-spacing:.02em}
.shape{display:block;position:relative;width:35px;height:35px;margin:auto auto .2rem}.shape.arch{border:5px solid var(--ink);border-bottom:0;border-radius:55% 55% 0 0}.shape.bar{width:36px;height:8px;background:var(--ink)}.shape.dot{width:18px;height:18px;border-radius:50%;background:var(--ink)}.shape.wave{height:22px;width:40px;border-bottom:5px solid var(--ink);border-radius:0 0 50% 50%}
.mark{flex-direction:column}.status{padding:1rem;background:var(--warm);border-radius:12px;margin-bottom:1.5rem;max-width:80ch}footer{font-size:.8rem;border-top:1px solid #a9b6be}
@media(max-width:650px){.panels.across{grid-template-columns:repeat(2,minmax(0,1fr))}.panels.down{grid-template-columns:1fr}.scene{min-height:155px;padding:.65rem}.scene .topline{flex-wrap:wrap}.scene strong{font-size:1rem}.scene p{font-size:.9rem}.beat{gap:.35rem}.mark{min-width:51px;min-height:64px}.unit-box{gap:.2rem;padding:.3rem}.shape{transform:scale(.75)}}
@media print{button,select,.skip,.status,.control-grid{display:none}.activity{box-shadow:none;break-inside:avoid}.mast{padding-top:0}.panels.down{max-width:none}}

.resource-heading-context{display:block;margin-top:.8rem;font-size:.8rem;line-height:1.5;font-weight:650;letter-spacing:.02em;color:#4c625a}
