.history-atlas{--history-accent:var(--teal);max-width:1190px}.history-intro{display:flex;justify-content:space-between;align-items:start;gap:28px;margin-bottom:24px}.history-intro>div{max-width:700px}.history-intro h2{margin:10px 0 12px}.history-intro .btn{flex-shrink:0}.history-atlas .readingnote strong{display:inline}.history-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px;align-items:start}.history-era-nav{position:sticky;top:100px;background:white;border:1px solid var(--line);border-radius:13px;padding:15px}.history-era-nav nav>a{display:flex;gap:12px;padding:13px 2px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.5}.history-era-nav nav>a>span:first-child{color:var(--gold-dark);font-size:11px;font-weight:800;padding-top:1px}.history-era-nav small{display:block;color:var(--muted);margin-top:4px}.history-era-nav>.source-link{margin:18px 0 3px;font-size:12px}.history-content{min-width:0}.history-search-label{display:block;font-size:13px;font-weight:650;margin-bottom:8px}.history-atlas .history-search{width:100%;min-width:0;margin-bottom:7px}.history-era{scroll-margin-top:100px;margin:36px 0 54px}.history-era>header{border-top:2px solid var(--gold);padding-top:22px;margin-bottom:24px}.history-era h2{font-size:clamp(1.6rem,2.7vw,2.3rem);margin:9px 0 14px}.history-era>header p{color:var(--muted)}.history-event-list{display:grid;gap:13px;border-left:2px solid #d9e2de;padding-left:19px;margin-left:5px}.history-event{position:relative;scroll-margin-top:105px;min-width:0}.history-event::before{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:var(--gold);left:-24px;top:26px;box-shadow:0 0 0 4px var(--paper)}.history-event>details{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden}.history-event>details>summary{display:grid;grid-template-columns:125px minmax(0,1fr) 16px;gap:16px;align-items:center;padding:19px 20px;cursor:pointer;list-style:none}.history-event>details>summary::-webkit-details-marker{display:none}.history-date{color:var(--gold-dark);font-size:12px;font-weight:750;line-height:1.55}.history-event-title{font:700 19px/1.35 Georgia,serif;overflow-wrap:anywhere}.history-expand::after{content:'+';color:var(--teal);font-size:23px}.history-event>details[open] .history-expand::after{content:'−'}.history-event>details[open]>summary{border-bottom:1px solid var(--line);background:#f6f8f5}.history-overview{padding:22px 24px}.history-overview>p{font-size:15px;line-height:1.85;color:#404d4e}.history-event-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}.history-development{font-size:11px;background:var(--cream);padding:6px 9px;border-radius:6px;color:#6e5b3b}.history-related{display:flex;flex-wrap:wrap;gap:8px;margin:19px 0}.history-related>a{font-size:12px;padding:6px 10px;border:1px solid #dce5df;border-radius:7px;background:#f8faf7;line-height:1.5}.history-citations{font-size:12px;border-top:1px solid var(--line);padding-top:14px}.history-citations summary{cursor:pointer;color:var(--teal);font-weight:650;padding:3px 0}.history-citations p{margin:12px 0 0;overflow-wrap:anywhere}.history-citations a,.history-image a{text-decoration:underline;text-underline-offset:3px;color:var(--teal)}.history-image{margin:22px 0;max-width:360px}.history-image img{display:block;width:100%;height:auto;border-radius:5px;background:var(--cream)}.history-image figcaption{font-size:11px;color:var(--muted);line-height:1.65;margin-top:9px}.history-top{margin-top:20px}.history-credit-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.history-credit-grid h2{font-size:25px}.history-credit-grid dt{font-weight:750;font-size:12px;margin-top:14px}.history-credit-grid dd{margin:4px 0;font-size:13px;overflow-wrap:anywhere}.history-article-contents{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.history-article-contents a{border:1px solid var(--line);padding:8px 12px;border-radius:7px;font-size:12px}.history-atlas [hidden]{display:none!important}.history-atlas .article{margin-top:20px}
@media(max-width:800px){.history-intro{display:block}.history-intro .btn{margin:4px 0 12px}.history-layout{grid-template-columns:1fr;gap:16px}.history-era-nav{position:static;padding:12px}.history-era-nav nav{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.history-era{margin-top:24px}.history-era-nav small{font-size:10px}.history-era-nav>.source-link{margin-top:12px}.history-event>details>summary{grid-template-columns:minmax(0,1fr) 16px;gap:7px;padding:17px}.history-date{grid-column:1}.history-event-title{grid-column:1;font-size:18px}.history-expand{grid-column:2;grid-row:1/3}.history-overview{padding:18px}.history-event-list{padding-left:13px}.history-event::before{left:-18px}.history-credit-grid{grid-template-columns:1fr}.history-image{max-width:100%}.history-event-actions{gap:12px}.history-event-actions a{padding-top:7px;padding-bottom:7px}.history-atlas .article{padding:23px 19px}}
@media(prefers-reduced-motion:reduce){.history-atlas *{scroll-behavior:auto;transition:none}}

/* Era studies reuse the atlas and article presentation. */
.history-era-study{margin:1.4rem 0 2rem;border:1px solid var(--line,#deddd5);border-radius:12px;background:var(--paper,#fff)}
.history-era-study>summary{cursor:pointer;padding:1.1rem;font-weight:700}
.history-atlas .article h3{margin-top:1.7rem;font-size:1.15rem;line-height:1.4}
.history-bibliography dt{font-weight:700;margin-top:1.2rem}
.history-bibliography dd{margin:.3rem 0 1rem;overflow-wrap:anywhere;font-size:.9rem;line-height:1.6}
