*{box-sizing:border-box}
:root{--ink:#29382f;--leaf:#355043;--rust:#93442f;--glass:#f7f3df;--line:#b8bbaa}
html{font:18px/1.4 "Segoe UI",Arial,sans-serif;color:var(--ink);background:#edece3}body{margin:0}a{color:#254f43;text-underline-offset:.15em}button,select{font:inherit;color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[data-seat]:focus-visible{outline:3px solid #a94920;outline-offset:2px}
h1,h2,h3,p,figure{margin:0}h1,h2{font-family:Georgia,"Times New Roman",serif;font-weight:normal;line-height:1.04}h1{font-size:clamp(2.25rem,4.4vw,3.65rem);letter-spacing:-.025em}h2{font-size:1.5rem}h3{font-size:1.12rem}.overline{font-size:.78rem;color:var(--rust);font-weight:700;letter-spacing:.075em;text-transform:uppercase}
img,svg{display:block;max-width:100%;height:auto}.painting{width:100%;aspect-ratio:3/2;object-fit:contain}.skip{position:absolute;top:-6rem;z-index:3;background:white;padding:.6rem}.skip:focus{top:0}
.tools,.jumps{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.1rem;min-height:48px;padding:.5rem max(14px,4vw);background:white;border-bottom:1px solid var(--line);font-size:.88rem}.jumps{background:#faf6e8}.paperpick,.tools [data-print]{display:none}.js .paperpick,.js .tools [data-print]{display:inline-block}
button,select{background:#fff;border:1px solid #899287;border-radius:4px;padding:.18rem .55rem}.turn{display:flex;flex-wrap:wrap;gap:.35rem .9rem;justify-content:center;width:fit-content;max-width:96%;background:#f9f5e4;border:1px solid #adad96;margin:.7rem auto;padding:.25rem .8rem .45rem}
.turn legend{font-size:.82rem;font-weight:700}.turn label{display:inline-flex;align-items:center;gap:.2rem;min-height:35px;font-size:.9rem}.turn input{margin:0 .2em 0 0}
.sheet,.guide,.cardpage,.spread,.desk{max-width:1060px;background:#fff;margin:1rem auto;position:relative;box-shadow:0 1px 7px #302d2520}.sheet,.guide{padding:1.7rem 2.2rem 1.15rem}.guide{max-width:800px}.sheet h1,.guide h1,.ticket h1{margin:.12em 0 .22em}
.busdiagram,.piecesdiagram{max-width:100%;width:100%}.mat-game{margin:.55rem 0}.screen-hint{font-size:.88rem;margin:.4rem 0}
footer{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;border-top:1px solid var(--line);padding-top:.35rem;margin-top:.7rem;font-size:.74rem;color:#46534c}
.low{--ink:#171b18;--leaf:#222;--rust:#252525;--line:#aaa}.low a{color:#222}
.moves,.screen-hint{display:none}.js .moves{display:flex;gap:.4rem;flex-wrap:wrap;font-size:.85rem;margin:.45rem 0}.js .screen-hint{display:block}.moves button{min-height:34px;cursor:pointer}.moves button:disabled{opacity:.5;cursor:default}.moves [data-feedback]{align-self:center;font-size:.86rem}.mat-game .livebus [data-seat]{cursor:pointer}.mat-game .livebus [data-seat]:focus-visible rect{stroke:#b34a26;stroke-width:1.8}
.original{display:none}
.spread{display:none;padding:1.15rem 1.5rem}.project main:has(#turn-0:checked) .f0,.project main:has(#turn-1:checked) .f1,.project main:has(#turn-2:checked) .f2,.project main:has(#turn-3:checked) .f3,.project main:has(#turn-4:checked) .f4,.project main:has(#turn-5:checked) .f5{display:block}
.project main:has(#turn-0:checked) .first{display:grid;grid-template-columns:1fr 1.8fr;align-items:center;gap:1.2rem}.first h1{font-size:clamp(3rem,5.6vw,5rem);margin:.1em 0 .2em}.first footer,.spread footer{grid-column:1/-1}
.scene{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.75fr);gap:1.25rem;align-items:center}.scene figcaption{font-size:.76rem;color:#536054;margin-top:.15rem}.scene h1{margin:.12em 0 .2em}.read{font-size:1.13rem}
.count{display:grid;grid-template-columns:.85fr 1.75fr;align-items:center;gap:1.2rem;border-top:1px solid var(--line);margin-top:.55rem;padding-top:.35rem}.question p{font-size:.92rem}.question h2{font-size:1.85rem;margin:.18em 0 .25em}.stage{min-width:0}
.cardpage{max-width:850px}.ticket{padding:1.6rem 1.9rem 1.05rem;position:relative}.ticket+.ticket{border-top:1px dashed #858b81}.cardbody{display:grid;grid-template-columns:.85fr 1.5fr;gap:.8rem;align-items:center}.cue{font-size:1.25rem}.given{font-size:.87rem;color:#46534c;margin-top:.4rem}.cardtask{font-size:.95rem}.cardwrite{height:2.5rem;border-bottom:1px solid #a2aaa2}
.endline{font-size:1.2rem}.endline span{display:inline-block;width:3rem;border-bottom:1px solid #879380}.endask{margin:.45rem 0}.ending-box{height:8rem;border:1px solid var(--line)}.guide h2{font-size:1.3rem;margin:.8rem 0 .2rem}.key .fact{font-weight:650;color:var(--leaf);margin:.15rem 0}.guide a{overflow-wrap:anywhere}
.desk{padding:0}.hero{display:grid;grid-template-columns:1fr 1.55fr;gap:1.5rem;align-items:center;background:#f7f0d9;padding:2rem}.hero h1{font-size:clamp(3rem,5.7vw,5.35rem);line-height:.94;margin:.18em 0 .28em}.mainlink,.bundle{display:inline-block;background:#355543;color:white;margin-top:1rem;padding:.6rem 1rem}
.pupil{padding:1.4rem 2rem}.pupil h2{margin-bottom:.3rem}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:.7rem}.pupil p{margin:.2rem 0}.more{border-top:1px solid var(--line)}
@media screen and (max-width:680px){html{font-size:17px}.sheet,.guide,.spread,.desk,.cardpage{margin:.6rem auto;width:100%}.sheet,.guide,.spread,.ticket{padding:1rem}.hero,.twocol,.scene,.count,.cardbody,.project main:has(#turn-0:checked) .first{grid-template-columns:1fr}.hero{padding:1rem}.hero h1{font-size:3.6rem}.pupil{padding:1.2rem 1rem}.scene figure{max-width:315px}.scene{gap:.6rem}.count{gap:.4rem}.cue{font-size:1.16rem}.cardbody{gap:.3rem}.turn{justify-content:flex-start}.turn label{min-height:29px}.question h2{font-size:1.6rem}.moves button{min-height:40px}.spread footer{margin-top:.8rem}.given{margin-top:.2rem}footer{font-size:.72rem}}
@page folder{size:letter landscape;margin:10mm}
@page guide{size:letter portrait;margin:12mm}
@page cards{size:letter portrait;margin:0}
@page story{size:12in 6.75in;margin:0}
@media print{
 html,body{background:white}.tools,.jumps,.skip,.turn,.moves,.screen-hint,.livebus{display:none!important}.original{display:block}
 .sheet,.guide,.cardpage,.spread{position:relative;box-shadow:none;background:white;margin:0 auto;break-after:page;break-inside:avoid;overflow:visible}.sheet:last-child,.guide:last-child,.cardpage:last-child,.spread:last-child{break-after:auto}
 .sheet{page:folder;width:246mm;height:181mm;padding:1mm 2mm;max-width:none}.guide{page:guide;width:181mm;height:247mm;padding:2mm;max-width:none}
 .overline{font-size:9pt;letter-spacing:.06em;line-height:1.1}.sheet h1,.guide h1{font-size:26pt;margin:1.3mm 0 1.5mm}.sheet .intro{font-size:13pt;line-height:1.18}.mat-game{margin:3mm 0}.mat .busdiagram{width:242mm;height:122mm;max-width:none}.piecesdiagram{width:242mm;height:137mm;max-width:none;margin:1.4mm 0 0}
 .sheet footer,.guide footer,.spread footer,.ticket footer{position:absolute;left:2mm;right:2mm;bottom:1mm;margin:0;padding-top:1mm;font-size:8.2pt;line-height:1.05}
 .cardpage{page:cards;width:192mm;height:279.4mm;max-width:none}.cardpage .ticket{height:50%;padding:9mm 3mm 5mm;margin:0;break-inside:avoid}.cardpage .ticket+.ticket{border-top:.22mm dashed #838b80}.ticket h1{font-size:22pt;line-height:1.05;margin:1.3mm 0 1.8mm}.cardbody{grid-template-columns:65mm 1fr;gap:3mm}.cardbody .busdiagram{width:116mm;height:58.48mm}.cue{font-size:16pt;line-height:1.18}.given{font-size:10.8pt;line-height:1.18;margin-top:1.8mm}.cardtask,.endask{font-size:12pt;line-height:1.18;margin:1.5mm 0}.cardwrite{height:18mm;border-bottom:.2mm solid #969c93}.ticket footer{left:3mm;right:3mm;bottom:5mm}
 .endline{font-size:16pt;line-height:1.2;margin:2.5mm 0}.endline span{width:17mm}.ending-box{height:60mm;margin:1.4mm 0}
 html[data-pagesize="A4"] .cardpage{height:297mm}
 .guide h1{font-size:24pt;margin:2mm 0 3mm}.guide h2{font-size:14.8pt;margin:4mm 0 1mm}.guide p{font-size:11.8pt;line-height:1.26}.key .fact{font-size:13.5pt;line-height:1.15;margin:.7mm 0 1mm}
 .project main .spread{display:block!important;page:story;width:304.8mm;height:171.45mm;max-width:none;padding:6mm 8mm 10mm}
 .project main .spread.first{display:grid!important;grid-template-columns:78mm 203mm;gap:6mm;align-items:center}.first img{width:203mm;height:135.33mm}.first h1{font-size:36pt}.first .read{font-size:19pt;line-height:1.25}
 .scene{grid-template-columns:88mm 1fr;gap:8mm;align-items:center}.scene .painting{width:84mm;height:56mm}.scene figcaption{font-size:8.5pt;line-height:1.05;margin:.8mm 0 0}.scene h1{font-size:29pt;margin:1.3mm 0 2mm}.scene .read{font-size:19pt;line-height:1.22}
 .count{grid-template-columns:85mm 1fr;gap:8mm;margin:2mm 0 0;padding-top:1.2mm}.question p{font-size:13.2pt;line-height:1.14}.question h2{font-size:23pt;line-height:1.04;margin:1.4mm 0 1.7mm}.stage .busdiagram{width:170mm;height:85.70mm}
 .spread footer{left:8mm;right:8mm;bottom:2mm}
 a{color:inherit}
}
