/* The existing content records become a vertical, one-at-a-time hexagon journey. */
.control-history{position:relative;display:grid;gap:6px;max-width:1040px;margin:30px auto 40px;padding:0 16px}
.control-history::before{content:'';position:absolute;left:91px;top:65px;bottom:65px;width:1px;background:#e5d8cb;pointer-events:none}
.control-history .control-step{position:relative;display:block;padding:0;background:transparent;border:0}
.control-step-summary{position:relative;display:grid;grid-template-columns:150px minmax(0,1fr) 32px;align-items:center;gap:28px;min-height:140px;list-style:none;cursor:pointer;padding:10px 8px 10px 0;border-radius:12px}
.control-step-summary::-webkit-details-marker{display:none}
.control-date-hex{position:relative;display:grid;place-items:center;width:150px;height:130px;filter:drop-shadow(0 4px 7px #1e3a5f09)}
.control-date-hex>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.control-hex-paper{fill:var(--site-card,#fff)}
.control-hex-edge{fill:none;stroke:var(--site-border,#e5d8cb);stroke-width:1.2;vector-effect:non-scaling-stroke;transition:stroke .2s}
.control-hex-light{fill:none;stroke:var(--orange,#e88632);stroke-width:1.8;stroke-linecap:round;stroke-dasharray:26 74;opacity:0;vector-effect:non-scaling-stroke;animation:control-history-light var(--light-seconds,6.5s) linear infinite;animation-play-state:paused}
.control-date-copy{position:relative;display:grid;justify-items:center;gap:5px;padding:16px;text-align:center!important;color:#1e3a5f}
.control-date-copy strong{font:500 2rem/1.1 Oswald,Roboto,sans-serif}
.control-date-copy>span{font:500 .875rem/1.3 Roboto,Arial,sans-serif}
.control-history .control-step h2{margin:0;font:400 1.35rem/1.45 Oswald,Roboto,sans-serif;color:#1e3a5f!important;text-align:left;overflow-wrap:anywhere}
.control-step-toggle{display:grid;place-items:center;width:30px;height:30px;border:1px solid #e7ded2;border-radius:50%;color:#a85a24;font:400 1.2rem/1 Roboto,Arial,sans-serif}
.control-step-toggle::before{content:'+'}
.control-step[open] .control-step-toggle::before{content:'−'}
.control-history .control-step-body{min-height:0;padding:0 60px 26px 178px;margin-top:-12px;border:0;background:transparent}
.control-history .control-step-body .portal-rich p,.control-history .control-step-body .portal-rich li{font:400 1rem/1.85 Roboto,Arial,sans-serif;text-align:justify;overflow-wrap:anywhere;margin-top:0}
.control-step[open] .control-step-body{animation:control-history-reveal .22s ease-out}
.control-step[open] .control-hex-edge,.control-step-summary:is(:hover,:focus-visible) .control-hex-edge{stroke:var(--orange,#e88632);stroke-width:1.6}
.control-step[open] .control-hex-light,.control-step-summary:is(:hover,:focus-visible) .control-hex-light{opacity:1;animation-play-state:running}
.control-step[open] .control-hex-paper{fill:var(--site-card,#fff)}
.control-step-summary:is(:hover,:focus-visible) h2{color:#111!important}
.control-step-summary:focus-visible{outline:2px solid #e88632;outline-offset:4px}
@keyframes control-history-light{to{stroke-dashoffset:-100}}
@keyframes control-history-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:650px){.control-history{padding:0;gap:12px;margin-top:22px}.control-history::before{left:54px}.control-step-summary{grid-template-columns:108px minmax(0,1fr) 25px;gap:14px;min-height:100px;padding-right:0}.control-date-hex{width:108px;height:94px}.control-date-copy{gap:4px;padding:10px}.control-date-copy strong{font-size:1.65rem}.control-date-copy>span{font-size:.75rem}.control-history .control-step h2{font-size:1.125rem}.control-step-toggle{width:24px;height:24px}.control-history .control-step-body{padding:12px 12px 20px 16px;margin-top:0;margin-left:54px;border-left:1px solid #e5d8cb}.control-history .control-step-body .portal-rich p{font-size:.9375rem}}
@media(prefers-reduced-motion:reduce){.control-hex-light,.control-step[open] .control-step-body{animation:none}.control-hex-edge{transition:none}}
html[data-motion=false] .control-hex-light,html[data-motion=false] .control-step-body{animation:none}

/* Institutional history follows the same hexagon and flowing-line language as PUKO. */
.history-cycle{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:center;gap:44px;margin:14px 0 36px}
.history-orbit{position:relative;isolation:isolate;width:100%;max-width:520px;aspect-ratio:1;margin:auto}
.history-orbit-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.history-orbit-track{fill:none;stroke:var(--site-border,#e5d8cb);stroke-width:1.3}
.history-orbit-flow{fill:none;stroke:var(--orange,#e88632);stroke-width:2;stroke-linecap:round;stroke-dasharray:12 88;transform-origin:50% 50%;transform:rotate(-90deg);animation:history-orbit-flow 12s linear infinite}
.history-orbit-center{position:absolute;inset:34%;display:grid;place-items:center}
.history-orbit-center>svg{position:absolute;inset:0;width:100%;height:100%;fill:var(--site-card,#fff);stroke:var(--site-border,#e5d8cb);stroke-width:1.3}
.history-orbit-center>span{position:relative;display:grid;gap:5px;justify-items:center;text-align:center;padding:16px 8px}
.history-orbit-center strong{font:500 1.75rem/1.2 Oswald,Roboto,sans-serif;color:var(--orange-dark,#a85117)}
.history-orbit-center span span,.history-orbit-center small{font:400 .875rem/1.4 Roboto,Arial,sans-serif;white-space:nowrap;color:var(--site-text,#596771)}
.history-orbit-node{position:absolute;left:var(--history-node-x);top:var(--history-node-y);transform:translate(-50%,-50%);display:grid;place-items:center;width:27%;aspect-ratio:244/211.31;padding:0;border:0;background:transparent;color:var(--site-text,#374650);transition:filter .25s}
.history-orbit-node>svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.history-orbit-node>svg path{fill:var(--site-card,#fff);stroke:var(--site-border,#e5d8cb);stroke-width:1.3;vector-effect:non-scaling-stroke;transition:fill .3s,stroke .3s}
.history-orbit-node time{position:relative;display:grid;gap:5px;justify-items:center;width:80%;padding:14px 8px;text-align:center}
.history-orbit-node strong{font:500 1.8rem/1.15 Oswald,Roboto,sans-serif;letter-spacing:.2px}
.history-orbit-node time>span{font:400 .875rem/1.2 Roboto,Arial,sans-serif;overflow-wrap:anywhere}
.history-orbit-node.is-selected>svg path{fill:var(--orange,#e88632);stroke:var(--orange,#e88632)}
.history-orbit-node.is-selected time,.history-orbit-node.is-selected time :is(strong,span){color:#fff!important}
.history-orbit-node:is(:hover,:focus-visible)>svg path{stroke:var(--orange-dark,#a85117);stroke-width:2}
.history-orbit-node:focus-visible{outline:2px solid var(--orange-dark,#a85117);outline-offset:3px;border-radius:9px}
.history-cycle-details{min-width:0}
.history-stage-panel{position:relative;min-width:0;padding:30px 32px 32px;border:1px solid var(--site-border,#e5d8cb);border-radius:16px;background:var(--site-card,#fff);box-shadow:0 8px 30px #26374706}
.history-stage-panel::before{content:'';position:absolute;top:29px;bottom:29px;left:0;width:3px;border-radius:0 3px 3px 0;background:var(--orange,#e88632)}
.history-stage-panel.is-current{animation:history-stage-reveal .35s ease-out}
.history-stage-heading{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.history-stage-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;color:var(--event-color,var(--orange-dark,#a85117))}
.history-stage-icon svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.history-stage-date{font:500 .9375rem/1.5 Roboto,Arial,sans-serif;color:var(--orange-dark,#a85117);letter-spacing:.3px}
.history-stage-panel h2{margin:0 0 18px;font:400 1.65rem/1.4 Oswald,Roboto,sans-serif;text-align:left;color:var(--site-text,#374650);overflow-wrap:anywhere}
.history-stage-copy{min-width:0}
.history-stage-copy :is(p,li){font:400 1rem/1.85 Roboto,Arial,sans-serif;text-align:justify;overflow-wrap:anywhere}
.history-stage-copy p{margin:0 0 14px}.history-stage-copy>:last-child{margin-bottom:0}
.history-stage-copy a{text-decoration:underline;text-underline-offset:3px;color:var(--orange-dark,#a85117)}
.history-stage-copy img{max-width:100%;height:auto}
.history-stage-copy table{display:block;max-width:100%;overflow-x:auto}
.history-cycle.is-paused .history-orbit-flow,.history-cycle.is-preview .history-orbit-flow{animation-play-state:paused}
.history-orbit.is-dense{aspect-ratio:auto;padding-top:200px}
.history-orbit.is-dense .history-orbit-lines{height:180px}
.history-orbit.is-dense .history-orbit-center{inset:10px calc(50% - 80px) auto;height:160px}
.history-orbit.is-dense .history-orbit-nodes{display:grid;grid-template-columns:repeat(auto-fit,minmax(86px,1fr));gap:8px}
.history-orbit.is-dense .history-orbit-node{position:relative;left:auto;top:auto;width:100%;transform:none}
@keyframes history-orbit-flow{to{stroke-dashoffset:-100}}
@keyframes history-stage-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.history-cycle{grid-template-columns:minmax(0,1fr);gap:22px}.history-orbit{max-width:470px}.history-stage-panel{padding:26px}.history-cycle-heading{margin-bottom:24px}}
@media(max-width:480px){.history-cycle{gap:16px;margin-top:6px}.history-orbit-node{width:28%}.history-orbit-node strong{font-size:1.45rem}.history-orbit-node time{gap:3px;padding:10px 3px}.history-orbit-node time>span{font-size:.875rem}.history-orbit-center{inset:33%}.history-orbit-center strong{font-size:1.3rem}.history-orbit-center span span,.history-orbit-center small{font-size:.875rem;white-space:normal}.history-orbit-center>span{gap:3px;padding:10px 4px}.history-stage-panel{padding:22px 20px}.history-stage-panel h2{font-size:1.4rem}.history-stage-heading{gap:10px;margin-bottom:12px}.history-stage-icon{width:40px;height:40px}.history-stage-icon svg{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){.history-orbit-flow,.history-stage-panel.is-current{animation:none}.history-orbit-node,.history-orbit-node>svg path{transition:none}}
html[data-reader-motion=off] .history-orbit-flow,html[data-reader-motion=off] .history-stage-panel.is-current{animation:none}
.history-cycle-heading :is(h1,h2){font-family:Oswald,Roboto,sans-serif}
.history-orbit-node.is-selected>svg path{fill:var(--orange-dark,#a85117)}
@media(max-width:380px){.history-orbit-node{width:30%}.history-orbit-node time{padding:6px 1px}.history-orbit-center{inset:33%}.history-orbit-center strong{font-size:1.2rem}}
@media(max-width:380px){.history-orbit-node time{gap:2px}.history-orbit-node strong{font-size:1.3rem}.history-orbit-node time>span{font-size:.75rem}}
