*{box-sizing:border-box}[hidden]{display:none!important}
:root{--ink:#18312e;--link:#215851;--gold:#e5ae43;--paper:#fffdf3;--teal:#d9e9dd;--dark:#124946;--red:#9d3c27;color-scheme:light}
html{background:var(--paper);color:var(--ink);font:18px/1.48 "Atkinson Hyperlegible Next","Segoe UI",Arial,sans-serif}body{margin:0}
a{color:var(--link);text-underline-offset:.16em}a:hover{text-decoration-thickness:2px}
a:focus-visible,button:focus-visible,textarea:focus-visible,svg:focus-visible,summary:focus-visible{outline:3px solid #a3491c;outline-offset:3px}
header,footer,main{max-width:1210px;margin:auto;padding:1rem clamp(1rem,3.4vw,3rem)}
header{display:flex;align-items:center;justify-content:space-between;gap:.8rem}header .wordmark{color:var(--ink);font:700 1.23rem Georgia,serif;text-decoration:none}nav{display:flex;flex-wrap:wrap;gap:.15rem .95rem}nav [aria-current]{font-weight:700}
.skip{position:absolute;left:-9999px}.skip:focus{left:.5rem;top:.5rem;background:white;z-index:3;padding:.4rem}
main{padding-top:0;padding-bottom:2rem}img{display:block;max-width:100%;height:auto}
h1,h2,h3{font-family:"Literata",Georgia,serif;line-height:1.1}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(2.45rem,5.4vw,4.7rem);letter-spacing:-.05em;margin-bottom:.4em}h2{font-size:clamp(1.7rem,3vw,2.45rem);margin-bottom:.5em}h3{font-size:1.45rem;margin-bottom:.45em}
.map-cover{display:grid;grid-template-columns:1.13fr .87fr;align-items:stretch;background:var(--teal)}.map-cover>img{width:100%;height:100%;object-fit:cover}.map-cover>div{padding:clamp(1.2rem,3vw,3.2rem);align-self:center}.map-cover h1{font-size:clamp(3.2rem,6.4vw,5.5rem);line-height:.96}.map-cover p{font-size:clamp(1.05rem,1.9vw,1.38rem);max-width:25ch}
.action,button{display:inline-block;background:var(--dark);border:0;border-radius:2px;padding:.52rem .85rem;color:white;font:inherit;font-weight:650;text-decoration:none;cursor:pointer}button:disabled{cursor:default;background:#62726b}
.shelf,.read,.board,.book,.maps{margin:1.5rem 0}.shelf h3{margin-bottom:.25rem}.choices{display:flex;gap:1rem;align-items:center}.resources,.split,.spread{display:grid;align-items:center;gap:clamp(1rem,3vw,2.7rem)}.resources{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:.9rem}
.spread,.split{grid-template-columns:1.15fr .85fr}.spread{margin-bottom:1rem}.spread p{font-size:clamp(1.18rem,2.25vw,1.7rem)}.book h1{font-size:clamp(2.25rem,4.1vw,3.3rem)}.book-nav{display:flex;align-items:center;gap:.85rem;margin:1rem 0}
.read{max-width:48rem}.read h2{margin-top:1.15em}.board ol{max-width:47rem;padding-left:1.5rem}.board li,.read li{margin:.65rem 0}
details{margin:1rem 0}summary{cursor:pointer;font-weight:700;color:var(--link)}details[open]>summary{margin-bottom:.7rem}
.example{width:100%;max-width:640px;margin:1rem 0}.maps{max-width:50rem}.map-intro,.object-sheet{margin:0 0 1.6rem}.object-sheet h2{margin-bottom:1rem}.trial{margin:0 0 2.25rem}.trial>label{display:block;margin-top:.55rem;font-weight:650}
textarea{display:block;width:100%;max-width:46rem;padding:.35rem .55rem;font:inherit;background:white;color:var(--ink);border:1px solid #687971;resize:vertical}
.pad-area{border:1.5px solid #4c6257;background:white}.map-pad{display:block;width:100%;height:auto;cursor:crosshair;touch-action:manipulation}.route,.start-mark,.end-mark,.cursor>*{stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;fill:none}.route{stroke:var(--red)}.start-mark,.end-mark{stroke:var(--dark)}.start-mark{fill:white}.cursor>*{stroke:#2c6099;stroke-width:2}
.map-buttons,.map-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem .7rem;margin:.55rem 0}.map-buttons button{font-size:.88rem;padding:.43rem .65rem}.map-status{font-size:.85rem;margin:.25rem 0}.transcript{display:none}.map-actions #saved{width:100%}
footer{font-size:.85rem;padding-top:1rem;padding-bottom:1.5rem}
@media(max-width:750px){header{align-items:flex-start;flex-direction:column;gap:.35rem}.map-cover,.spread,.split,.resources{grid-template-columns:1fr}.map-cover>div{grid-row:1;padding:1.25rem}.map-cover h1{font-size:clamp(2.75rem,10.2vw,4rem)}.map-cover h1 br{display:none}.map-cover p{max-width:none;margin-bottom:.7rem}.map-cover>img{object-fit:contain}.spread,.split,.resources{gap:.85rem}.choices{align-items:flex-start;flex-direction:column;gap:.65rem}nav{gap:.15rem .75rem}.spread p{margin-bottom:.4rem}}
@media print{
 @page{size:letter portrait;margin:12mm}
 header,footer,.skip,.book-nav,.map-intro,.map-buttons,.map-actions,.map-status,.cursor,.maps textarea{display:none!important}
 main,.maps{padding:0;margin:0;max-width:none}.maps .object-sheet{break-before:page;margin:0}.maps .object-sheet:first-of-type{break-before:auto}
 .maps h2{font-size:22pt;margin:0 0 4mm}.maps h3{font-size:15pt;margin:3mm 0}.maps .trial{margin:0 0 5mm;break-inside:avoid}.maps .trial>label{font-size:10pt;margin:1.5mm 0}
 .map-pad{max-height:57mm;width:100%}.transcript{display:block;font-weight:400;font-size:10pt;white-space:pre-wrap;overflow-wrap:anywhere;min-height:4mm}
 .spread[hidden]{display:grid!important}.spread{break-after:page}.book-nav{display:none}.read,.board{margin:0}
}
