/* R41: conditional repeat-election scenarios; additions only, no electoral data changes. */
.repeat-toplink{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px;padding:13px 17px;border:1px solid #bad5df;border-radius:11px;background:#edf6f9;color:#154f66;font-size:14px;position:relative}.repeat-toplink>span:first-child{font-size:12px;white-space:nowrap;font-weight:800}.repeat-toplink>strong{flex:1}.repeat-toplink:hover{background:#e2f1f5;text-decoration:none}
#repeat-elections{scroll-margin-top:95px}.repeat-feature{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:28px;margin:21px 0 17px;padding:27px;border-radius:18px;background:#123b50;color:#fff;align-items:center}.repeat-badge{display:inline-block;padding:5px 10px;font-size:12px;font-weight:700;border-radius:7px;background:#24546a;color:#e8f8ff;border:1px solid #477387}.repeat-feature h3{color:#fff;font-size:clamp(23px,2.7vw,29px);line-height:1.36;margin:14px 0 10px}.repeat-copy p{color:#e0edf3;margin:10px 0;font-size:15px;line-height:1.85}.repeat-copy p.repeat-small{font-size:12px;color:#c3dce7;margin-bottom:0}.repeat-datebox{padding:25px 20px;border:1px solid #436d80;background:#1b4a60;border-radius:13px;text-align:center}.repeat-datebox>span{display:block;color:#d3e9f0;font-size:12px}.repeat-datebox time{display:block;font-size:clamp(23px,2.6vw,31px);font-weight:850;line-height:1.4;margin:12px 0;color:#fff}.repeat-datebox strong{display:block;font-size:26px;color:#bde7e7}.repeat-datebox small{display:block;font-size:12px;color:#d3e9f0;line-height:1.7;margin-top:6px}
.repeat-scenarios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}.repeat-scenario{padding:20px;min-width:0}.scenario-label{display:block;color:#607782;font-size:12px;font-weight:700;min-height:36px}.repeat-scenario h3{font-size:23px;margin:5px 0 10px;color:#155f78;line-height:1.35}.repeat-scenario p{font-size:13px;color:#496573;line-height:1.8;margin:0}.repeat-scenario-main{border-top:3px solid #267d88}.repeat-warning{font-size:13px;line-height:1.85;padding:15px 18px;border-right:3px solid #b78a42;border-radius:9px;background:#faf5e9;color:#68532f}
.repeat-details{border:1px solid #cedfe6;border-radius:12px;background:#fff;margin:17px 0;overflow:hidden}.repeat-details summary{padding:17px 20px;cursor:pointer;font-weight:800;color:#164c63;font-size:16px;background:#edf5f8;line-height:1.6}.repeat-details summary:focus-visible{outline:3px solid #237b95;outline-offset:-3px}.repeat-details[open] summary{border-bottom:1px solid #d7e4e9}.repeat-details-body{padding:20px}.repeat-details-body>p{font-size:14px;color:#496573;line-height:1.85;margin-top:0}.repeat-details-body>p.tiny{font-size:12px;margin-top:13px;margin-bottom:0}.repeat-table{min-width:610px}.repeat-table caption{text-align:right;background:#f7fafb;color:#506b79;padding:12px 15px;font-size:12px}.repeat-table th[scope=row]{font-size:13px;background:#fff;color:#244859;white-space:normal;position:static}.repeat-table td{font-size:13px}.repeat-table td:last-child{font-weight:750;white-space:nowrap}.repeat-table .repeat-result-row th,.repeat-table .repeat-result-row td{background:#e8f5f5;color:#135b69;font-weight:850}.repeat-explain{margin:24px 0}.repeat-explain h3{font-size:21px;margin:0 0 10px}.repeat-explain p{font-size:14px;line-height:1.85;color:#496573}.repeat-sources{margin-top:18px}.repeat-sources a{text-decoration:underline;text-underline-offset:3px}#formation-steps .timeline-grid{margin:0}
@media(max-width:900px){.repeat-feature{grid-template-columns:minmax(0,1.35fr) minmax(230px,1fr);gap:18px;padding:23px}.repeat-scenario{padding:17px}.repeat-scenario h3{font-size:21px}}
@media(max-width:690px){.repeat-feature{grid-template-columns:minmax(0,1fr);padding:20px;gap:19px;border-radius:14px}.repeat-datebox{padding:17px}.repeat-datebox time{font-size:29px;margin:8px 0}.repeat-scenarios{grid-template-columns:minmax(0,1fr)}.scenario-label{min-height:0}.repeat-scenario{padding:18px}.repeat-scenario h3{font-size:23px}.repeat-toplink{flex-wrap:wrap;gap:6px;font-size:13px}.repeat-toplink>span:first-child{flex-basis:100%}.repeat-toplink>strong{line-height:1.6}.repeat-details summary{font-size:14px;padding:15px}.repeat-details-body{padding:14px}.repeat-warning{padding:14px;font-size:12px}.repeat-copy p{font-size:14px}.repeat-explain h3{font-size:20px}}
@media print{.repeat-feature,.repeat-datebox{background:#fff!important;border:1px solid #aaa;color:#111}.repeat-feature h3,.repeat-copy p,.repeat-copy p.repeat-small,.repeat-datebox time,.repeat-datebox strong,.repeat-datebox small,.repeat-datebox>span{color:#111}.repeat-badge{color:#111;background:#eee}.repeat-scenarios{break-inside:avoid}.repeat-details-body{display:block!important}.repeat-table{min-width:0}.repeat-toplink{display:none}}

/* Keep readable side gutters; the inherited .section shorthand resets .wrap padding. */
#timeline.wrap{padding-inline:24px}
@media(max-width:690px){#timeline.wrap{padding-inline:16px}}
