.history-overview,.history-facts,.history-detail .content-document,.history-detail>.reading{box-sizing:border-box;overflow-wrap:anywhere}
.history-facts,.history-detail .content-document,.history-detail>.reading{max-width:720px}
.history-overview{max-width:1200px;padding-block:2rem;color:#29211f}
.history-overview>h2,.history-jumps{max-width:720px;margin-inline:auto}
.history-jumps{margin-block:1.5rem 3rem}
.history-jumps>p{margin:0 0 .75rem;font-weight:600;color:#752e2a}
.history-jumps ul{display:flex;flex-wrap:wrap;gap:.6rem;list-style:none;padding:0;margin:0}
.history-jumps li{min-width:0;max-width:100%}
.history-jumps li a{padding:.6rem .9rem;border:1px solid #e2d9cc;border-radius:.5rem;background:#faf7f2;color:#752e2a;font-size:.9375rem;font-weight:600;line-height:1.4;text-decoration:none;max-width:100%;touch-action:manipulation}
.history-jumps a:hover{background:#f4e6c8;border-color:#af8533}
.history-jumps a,.history-era h3 a,.history-era .action-link,.history-detail .action-link{display:inline-flex;align-items:center;min-height:48px;box-sizing:border-box;padding:.4rem 0}
.history-overview a:focus-visible,.history-detail a:focus-visible,.history-era:focus-visible{outline:3px solid #752e2a;outline-offset:4px}
.history-timeline{position:relative;list-style:none;padding:0;margin:0}
.history-timeline::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:3px;transform:translateX(-50%);background:#af8533}
.history-station{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 3rem minmax(0,1fr);margin-bottom:2rem;min-width:0}
.history-station::before{content:"";position:absolute;top:1.5rem;left:50%;width:1rem;height:1rem;transform:translateX(-50%);border:3px solid #752e2a;border-radius:50%;background:#f4e6c8;box-sizing:border-box}
.history-era{grid-column:1;min-width:0;scroll-margin-top:2rem;padding:1.5rem;border:1px solid #e2d9cc;border-top:3px solid #af8533;border-radius:.75rem;background:#faf7f2;box-shadow:0 4px 16px #29211f0a}
.history-station:nth-child(even)>.history-era{grid-column:3}
.history-era h2,.history-era h3{margin-block:.5rem 1rem;color:#752e2a;line-height:1.25}
.history-era p,.history-era aside{margin-block:0 1rem}
.history-era .history-period{font-weight:700;color:#752e2a}
.history-era .document-photo{margin:1rem 0 1.5rem}
.history-era img{display:block;width:100%;max-width:100%;height:auto;max-height:20rem;object-fit:contain}
.history-era figcaption{padding-block:.5rem;font-size:.9375rem;line-height:1.5;color:#514339}
.history-source,.history-uncertainty{white-space:pre-line;font-size:.9375rem}
.history-uncertainty{border-left:3px solid #af8533;padding-left:.75rem}
.history-facts{padding-block:1rem}
@media(max-width:1049px){
 .history-station{grid-template-columns:1.5rem minmax(0,1fr)}
 .history-timeline::before,.history-station::before{left:.5rem}
 .history-station>.history-era,.history-station:nth-child(even)>.history-era{grid-column:2}
}
@media(max-width:499px){
 .history-era{padding:1rem}
 .history-station{grid-template-columns:1.25rem minmax(0,1fr);margin-bottom:1.5rem}
 .history-timeline::before,.history-station::before{left:.375rem}
 .history-era h2,.history-era h3{font-size:1.35rem}
}

.history-epoch-control label{display:block;margin-bottom:.65rem;font-weight:600;color:#752e2a}
.history-epoch-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center}
.history-epoch-fields select{width:100%;min-width:0;min-height:48px;padding:.65rem;border:1px solid #cbbfac;border-radius:.5rem;background:#faf7f2;color:#29211f;font:inherit}
.history-epoch-fields button{min-height:48px;padding:.65rem 1rem;border:0;border-radius:.5rem;background:#a52a2a;color:white;font:inherit;font-weight:600;cursor:pointer}
.history-epoch-fields select:focus-visible,.history-epoch-fields button:focus-visible{outline:3px solid #752e2a;outline-offset:3px}
.history-jumps-fallback ul{display:block}.history-jumps-fallback li a{border:0;background:none;padding:.25rem 0;font-weight:400}
@media(max-width:499px){.history-epoch-fields{grid-template-columns:minmax(0,1fr)}.history-epoch-fields button{justify-self:start}}
