.history-page section{scroll-margin-top:100px}.history-page :is(a,button,input):focus-visible{outline:3px solid var(--clay);outline-offset:4px}.history-page h1{font:600 clamp(2.6rem,6vw,4.8rem)/1.06 var(--display);color:var(--forest-deep);letter-spacing:-.04em;margin-bottom:1.4rem}.history-intro{background:var(--paper-warm)}.history-intro p,.history-intro-copy,.history-next p{max-width:760px;color:var(--ink-soft)}.history-intro p{font-size:1.2rem}.history-intro .btn-row{align-items:center}.history-library-heading p{color:var(--ink-soft)}.history-topic>div:has(.place-diagram){padding:.6rem}.history-library-heading{grid-template-columns:1.4fr 1fr;align-items:end;gap:3rem;display:grid}.history-search label{margin-bottom:.5rem;font-weight:700;display:block}.history-search input{width:100%;min-width:0;font:inherit;background:#fff;border:1px solid #8b968a;border-radius:7px;padding:.75rem}.history-result-count{color:var(--ink-soft);margin:1.2rem 0;font-size:.9rem}.history-topic-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;display:grid}.history-topic{color:var(--ink);flex-direction:column;min-width:0;text-decoration:none;display:flex}.history-topic>div{background:#eee6d8;border-radius:12px;height:200px;margin-bottom:1rem;padding:1rem}.history-topic img{object-fit:contain;width:100%;height:100%}.history-topic h3{font:600 1.45rem/1.25 var(--display);color:var(--forest-deep);margin-bottom:.6rem}.history-topic p{color:var(--ink-soft);margin-bottom:.8rem;font-size:1rem}.history-topic>strong{color:var(--forest);margin-top:auto}.history-topic:hover>strong{text-decoration:underline}.history-empty button{font:inherit;color:var(--forest);cursor:pointer;background:0 0;border:0;text-decoration:underline}.history-sellers{background:#efe8da}.history-two-col{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:3rem;display:grid}.history-date-buttons{gap:.75rem;margin:1.5rem 0;display:flex}.history-date-buttons button,.history-quiz button{border:1px solid var(--forest);min-height:44px;color:var(--forest-deep);font:700 1rem var(--body);cursor:pointer;background:0 0;border-radius:6px;padding:.55rem 1.25rem}.history-date-buttons button[aria-pressed=true],.history-quiz button[aria-pressed=true]{background:var(--forest);color:#fff}.history-event{border-left:4px solid var(--clay);background:var(--paper);min-height:270px;padding:1.5rem}.history-event>span{color:var(--ink-soft);font-weight:700}.history-page h3{font-family:var(--display)}.history-event h3,.history-step h3{margin:.4rem 0 .7rem;font-size:1.5rem}.history-source{overflow-wrap:anywhere;margin-top:1rem;font-size:.85rem;line-height:1.6;display:block}.history-model img{object-fit:contain;width:100%}.history-model figcaption{color:var(--ink-soft);border-top:1px solid var(--line);padding:1rem;font-size:.87rem}.history-quiz{border-top:1px solid var(--line);margin-top:1.5rem;padding:1.5rem 0 0}.history-quiz>div{gap:.65rem;margin:.75rem 0;display:flex}.history-quiz p{min-height:3em;color:var(--ink-soft)}.history-activity-link{margin-top:1.4rem;font-weight:700;display:inline-block}.history-yard-layout{grid-template-columns:1.35fr 1fr;gap:2rem;margin:2rem 0;display:grid}.history-yard{background:#dfd4bc;border:1px solid #b7ab90;border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:1.4rem;display:grid}.yard-stop{min-width:0;min-height:145px;font:inherit;text-align:left;color:var(--forest-deep);cursor:pointer;background:#f9f4e9;border:2px solid #957c61;border-top:10px solid #a25339;border-radius:4px;align-content:start;gap:.25rem;padding:.8rem;display:grid}.yard-stop-3,.yard-stop-4{border-top-width:5px;border-radius:50% 50% 8px 8px;padding-top:1.4rem}.yard-stop>span{font-size:.72rem;font-weight:700}.yard-stop strong{font-size:1rem;line-height:1.2}.yard-stop small{font-size:.73rem}.yard-stop[aria-pressed=true]{background:var(--forest-deep);color:#fff;border-color:var(--forest-deep)}.yard-track{text-align:center;letter-spacing:.15em;text-transform:uppercase;color:#564735;border-block:3px solid #8b755b;grid-column:1/-1;padding:.15rem;font-size:.75rem}.history-step{border:1px solid var(--line);background:#fff;border-radius:10px;padding:1.5rem}.history-prompt{border-left:3px solid var(--clay);background:var(--paper);margin:1.2rem 0;padding:1rem}.history-film{background:var(--paper-warm)}.history-film .youtube-player{width:100%;margin:0}.history-next .btn{margin-top:1.3rem}.history-credit{margin-top:2rem;font-size:.85rem}@media (max-width:850px){.history-two-col,.history-yard-layout{grid-template-columns:1fr;gap:1.5rem}.history-model{max-width:600px;margin:auto}.history-library-heading{grid-template-columns:1fr;gap:1rem}.history-topic-grid{gap:1rem}}@media (max-width:600px){.history-topic-grid{grid-template-columns:1fr;gap:2rem}.history-topic>div{height:230px}.history-yard{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;padding:.8rem}.yard-stop{min-height:135px}.history-event{min-height:0}.history-quiz p{min-height:5em}}@media (prefers-reduced-motion:reduce){.history-page{scroll-behavior:auto}}
