.demography-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:22px;background:#eef1e8;border-radius:4px}.demography-controls label{display:flex;flex-direction:column;gap:7px;font-size:15px;font-weight:650}.demography-controls select{width:100%;min-height:44px;border:1px solid #c9d1c6;background:#fffdf8;color:#283b30;padding:9px;font:inherit}.demography-controls .demography-year{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;align-items:center}.demography-year input{width:100%;grid-column:1/-1;min-height:32px;accent-color:#f26739}.demography-year output{font-size:21px;text-align:right;grid-column:3}.demography-chart svg{width:100%;height:auto;display:block}.profile-area{font:650 21px Manrope,Arial,sans-serif;fill:#283b30}.profile-tick{font:15px Manrope,Arial,sans-serif;fill:#526055}.profile-story{font:650 20px Manrope,Arial,sans-serif;fill:#283b30}.profile-story-note{font:15px Manrope,Arial,sans-serif;fill:#526055}.demography-reading{font-size:19px;line-height:1.7;margin:24px 0 8px}.demography-cohort{padding:18px 22px;background:#eef1e8;font-size:18px;line-height:1.8;margin:12px 0 20px}.demography-method,.demography-source{font-size:14px!important;line-height:1.8!important;color:#57655c;margin:14px 0!important}.demography-source a{text-decoration:underline}.demography-table summary{cursor:pointer;padding:12px 0;font-size:17px;font-weight:650}.demography-table table{width:100%;border-collapse:collapse}.demography-table td,.demography-table th{text-align:right;padding:8px 12px;border-bottom:1px solid #d9dfd4;font-size:15px}.demography-table th:first-child{text-align:left}.demography-table caption{text-align:left;font-size:15px;padding:12px 0}.demography-table .table-scroll{max-height:340px;overflow:auto}.demography-csv{font:inherit;font-size:15px;padding:10px 14px;border:1px solid #283b30;background:#fffdf8;color:#283b30;cursor:pointer}.profile-embed{min-width:0}.profile-embed .demography-controls{margin-bottom:16px}.data-block.demography-block{display:block}.demography-intro{max-width:770px;margin-bottom:26px}.demography-intro h3{font-size:clamp(30px,4vw,46px);margin:16px 0}.demography-intro p{line-height:1.9;margin-bottom:14px}.demography-footer{display:flex;gap:20px;flex-wrap:wrap;margin-top:24px}.case-body{max-width:850px;margin:0 auto}.case-body p,.case-body li{font-size:18px;line-height:1.9;margin-bottom:20px}.case-body h2{font-size:clamp(27px,3vw,42px);margin:44px 0 20px}.case-body .case-lead{font-size:21px;line-height:1.75}.case-label{font-size:14px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#57655c}.case-links{display:flex;gap:16px;flex-wrap:wrap;margin:28px 0}.case-link{display:inline-block;background:#283b30;color:#fffdf8!important;padding:13px 20px;font-size:17px;font-weight:650;text-decoration:none!important}.case-window{padding:24px;background:#eef1e8;margin:26px 0}.case-window p{margin-bottom:12px}.case-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:30px 0}.case-card{padding:26px;border:1px solid #d9dfd4;display:flex;flex-direction:column;gap:16px}.case-card h3{font-size:25px;line-height:1.15}.case-card p{font-size:18px;line-height:1.8}.case-card a{font-size:17px;font-weight:650;margin-top:auto;text-decoration:underline}.case-profile{margin:45px 0}@media(max-width:680px){.demography-controls{grid-template-columns:1fr 1fr;padding:16px;gap:12px}.demography-reading{font-size:18px}.demography-chart{overflow-x:auto}.demography-chart svg{min-width:640px}.profile-embed .demography-chart{border:1px solid #d9dfd4}.case-cards{grid-template-columns:1fr}.case-body .case-lead{font-size:20px}.case-body p,.case-body li{font-size:18px}.demography-footer{flex-direction:column;align-items:flex-start}.case-window{padding:20px}}
.case-title{font-size:clamp(42px,6vw,74px);line-height:1.07;letter-spacing:-.05em;margin:24px 0 32px}.case-body .case-label{font-size:14px}.test-banner{background:#e9ece0;text-align:center;padding:8px 15px;font-size:13px;font-weight:650;letter-spacing:.07em}.jobmap-window{display:block;width:100%;height:640px;border:1px solid #d9dfd4;margin:28px 0 12px}.case-body .case-map-note{font-size:15px;color:#57655c}.demography-intro p{font-size:18px}.demography-source a{overflow-wrap:anywhere}@media(max-width:680px){.case-title{font-size:42px}.jobmap-window{height:740px}.case-profile{margin-block:30px}.demography-intro p{font-size:18px}}
.demography-chart svg{min-width:0}.mobile-profile .profile-area{font-size:18px}.mobile-profile .profile-tick{font-size:13px}.mobile-profile .profile-story{font-size:18px}.mobile-profile .profile-story-note{font-size:14px}.demography-chart{overflow:visible}@media(max-width:360px){.mobile-profile .profile-story-note{font-size:13px}}
.case-cards{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:680px){.case-cards{grid-template-columns:1fr}}
.demography-story{padding:24px;background:#eef1e8;border:1px solid #d5dbce;border-radius:6px;margin:20px 0}.demography-story[hidden]{display:none}.story-heading{display:flex;justify-content:space-between;gap:15px;font-size:13px;letter-spacing:.08em;font-weight:750}.demography-story .story-title{font:750 clamp(21px,2.8vw,30px)/1.25 Manrope,Arial,sans-serif;letter-spacing:-.035em;margin:15px 0 10px}.demography-story .story-text{font-size:18px!important;line-height:1.8!important;margin:0!important;max-width:850px;min-height:76px}.story-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:20px}.story-controls button{padding:10px 14px;border:1px solid #b7c5b0;background:#fffdf8;color:#283b30;border-radius:3px;font:650 15px Manrope,Arial,sans-serif;cursor:pointer;min-height:42px}.story-controls [data-story=play]{background:#283b30;color:#fffdf8;min-width:85px}.story-controls button:disabled{opacity:.4;cursor:default}.story-controls label{font-size:15px;margin-left:auto;display:flex;gap:8px;align-items:center;cursor:pointer}.story-progress{display:block;width:100%;accent-color:#f26739;margin:17px 0;min-height:26px}.demography-story small{display:block;font-size:14px;line-height:1.7;color:#526055}.demography-scale-note{font-size:15px!important;line-height:1.7!important;border-left:3px solid #b7c5b0;padding:8px 13px;margin:12px 0 18px!important}.profile-flow-label{font:650 17px Manrope,Arial,sans-serif;fill:#283b30}.mobile-profile .profile-flow-label{font-size:14px}@media(max-width:680px){.demography-story{padding:17px}.story-controls{gap:7px}.story-controls button{padding:9px 10px}.story-controls label{width:100%;margin:8px 0 0}.story-heading{font-size:12px}.demography-story .story-text{min-height:0}.demography-chart .mobile-profile .profile-area{font-size:18px}}
.story-tips{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0 22px}.story-tips details{position:relative;font-size:15px}.story-tips summary{list-style:none;cursor:pointer;padding:8px 12px;border:1px solid #c9d3c1;background:#fffdf8;border-radius:20px;font-weight:650}.story-tips summary::-webkit-details-marker{display:none}.story-tips details[open] summary{background:#283b30;color:#fffdf8}.story-tips details>p{position:absolute;z-index:12;left:0;top:calc(100% + 7px);width:min(290px,70vw);padding:15px;background:#fffdf8;border:1px solid #c9d3c1;box-shadow:0 8px 25px #283b3020;border-radius:5px;font-size:15px!important;line-height:1.7!important;margin:0!important}.story-timeline{display:grid;grid-template-columns:1fr auto 1fr;gap:15px;align-items:center}.story-timeline>button{font:650 15px Manrope,Arial,sans-serif;padding:10px 12px;color:#283b30;border:1px solid #bccab5;background:#fffdf8;cursor:pointer;min-height:42px}.story-timeline>button:last-child{justify-self:end}.story-timeline>button:first-child{justify-self:start}.story-timeline>button:disabled{opacity:.4}.story-current{text-align:center}.story-current output{display:block;font-size:clamp(35px,5vw,52px);font-weight:800;letter-spacing:-.05em;line-height:1.2;color:#283b30}.story-current small{font-size:13px!important}.story-year-marks{display:flex;gap:4px;justify-content:space-between;flex-wrap:wrap;margin-top:-6px}.story-year-marks button{border:0;padding:5px 4px;font:14px Manrope,Arial,sans-serif;background:none;cursor:pointer;color:#526055;min-height:32px}.story-year-marks button[aria-current=true]{color:#283b30;font-weight:800;border-bottom:2px solid #f26739}.story-hint{margin-top:15px}.demography-story:has(+.demography-scale-note) .story-controls label{margin-left:auto}@media(max-width:680px){.story-tips{gap:6px}.story-tips summary{padding:8px 9px;font-size:14px}.story-tips details:last-child>p{left:auto;right:0}.story-timeline{gap:6px;grid-template-columns:1fr auto 1fr}.story-timeline>button{font-size:13px;padding:8px 7px}.story-current small{max-width:105px}.story-year-marks{justify-content:flex-start;gap:2px}.story-year-marks button{padding:5px 6px}.demography-story .story-controls label{margin:8px 0 0}}
.demography-year[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){.demography-chart svg{animation:none}}
.demography-slider-wrap{position:relative;grid-column:1/-1;display:block;padding-top:22px}
.demography-year .demography-slider-wrap input{display:block;appearance:none;margin:0;background:transparent;cursor:ew-resize}
.demography-slider-wrap input::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:#9aa79b}
.demography-slider-wrap input::-moz-range-track{height:6px;border-radius:3px;background:#9aa79b}
.demography-slider-wrap input::-webkit-slider-thumb{appearance:none;width:28px;height:28px;margin-top:-11px;border:2px solid #fffdf8;border-radius:50%;background:#f26739;box-shadow:0 0 0 1px #94391e}
.demography-slider-wrap input::-moz-range-thumb{width:24px;height:24px;border:2px solid #fffdf8;border-radius:50%;background:#f26739;box-shadow:0 0 0 1px #94391e}
.demography-slider-hint{position:absolute;top:0;left:calc(14px + (100% - 28px)*var(--year-position,1));pointer-events:none;color:#293d32;font-size:12px;font-weight:750;white-space:nowrap}
.demography-slider-hint span{display:block;transform:translateX(-50%);padding:1px 6px;background:#fffdf8;border-radius:3px}
.demography-slider-hint[data-edge="end"] span{transform:translateX(calc(-100% + 11px))}
.demography-slider-hint[data-edge="start"] span{transform:translateX(-11px)}
.demography-slider-hint::after{content:"↓";position:absolute;top:15px;left:-4px;font-size:15px}

.profile-age-group{font:650 15px Manrope,Arial,sans-serif;fill:#526055}.profile-newborn-label,.profile-arc-label{font:650 17px Manrope,Arial,sans-serif;fill:#293d32}.mobile-profile .profile-age-group{font-size:12px}.mobile-profile .profile-newborn-label,.mobile-profile .profile-arc-label{font-size:14px}.demography-legend{border:1px solid #d5dbce;background:#fffdf8;padding:22px;margin:8px 0 24px}.demography-legend[hidden]{display:none}.demography-legend h4{font-size:23px;margin:0 0 18px}.demography-legend p{font-size:17px!important;line-height:1.7!important;margin:0 0 14px!important}.profile-legend-diamond{color:#f26739;display:inline-block;width:34px}.profile-legend-dash{display:inline-block;width:25px;margin-right:9px;border-top:3px dashed #b94b40;vertical-align:middle}.profile-legend-arc{display:inline-block;width:34px;color:#507b82;font-size:27px;line-height:1;vertical-align:middle}.demography-legend .profile-age-ranges{font-size:15px!important;color:#526055}.profile-interpretation{padding:18px;background:#eef1e8;margin-top:20px}.profile-interpretation>strong{display:block;font-size:19px;margin-bottom:12px}.profile-interpretation p:last-child{margin-bottom:0!important}@media(max-width:680px){.demography-legend{padding:16px}.profile-interpretation{padding:14px}}

.demography-changes{margin:28px 0;padding:24px;border:1px solid #d5dbce;background:#fffdf8}.demography-changes[hidden]{display:none}.demography-changes h4{font-size:25px;line-height:1.3;margin:0 0 18px}.demography-changes p{font-size:17px!important;line-height:1.75!important;margin:0 0 18px!important}.population-change-list{list-style:none;padding:0!important;margin:20px 0!important;display:grid;grid-template-columns:1fr 1fr;gap:12px}.population-change-list li{padding:16px;background:#eef1e8;font-size:17px!important;line-height:1.6!important;margin:0!important}.population-change-list strong{display:block;margin-bottom:6px}.population-change-list span{display:block}.population-change-note{border-left:3px solid #f26739;padding-left:14px}.demography-changes .population-change-sources{font-size:14px!important;margin-bottom:0!important}.population-change-sources a{text-decoration:underline}@media(max-width:680px){.demography-changes{padding:17px}.population-change-list{grid-template-columns:1fr}}

.profile-legend-young{display:inline-block;width:25px;margin-right:9px;border-top:3px dashed #654c78;vertical-align:middle}.profile-fit-quality{margin-top:20px}.profile-fit-quality summary{font-size:17px;font-weight:650;cursor:pointer;padding:10px 0}.profile-fit-quality p{margin-top:10px!important}

.demography-quick{border:1px solid #d5dbce;padding:22px;margin:8px 0 24px;background:#fffdf8}.demography-quick>h4{font-size:23px;margin:0 0 12px}.demography-quick>p{font-size:17px!important;line-height:1.7!important;margin:0 0 12px!important}.demography-more>summary{font-size:17px;font-weight:650;cursor:pointer;padding:10px 0}.demography-more>.demography-legend{border:0;padding:0;margin:20px 0}.demography-more>.demography-changes{border:0;padding:0;margin:28px 0}.demography-more .demography-method{margin-bottom:0!important}@media(max-width:680px){.demography-quick{padding:17px}}

.profile-generation-label{font:650 18px Manrope,Arial,sans-serif;fill:#704f2c}.profile-generation-note{font:15px Manrope,Arial,sans-serif;fill:#526055}.mobile-profile .profile-generation-label{font-size:13px}.mobile-profile .profile-generation-note{font-size:12px}

.fertility-key{font-size:15px!important;line-height:1.6!important;margin:15px 0!important}.fertility-key>strong,.fertility-key-note{display:block}.fertility-key-scale{display:flex;align-items:center;gap:10px;margin:8px 0;flex-wrap:wrap}.fertility-key-gradient{display:inline-block;width:110px;height:11px;background:linear-gradient(90deg,#faf3de,#7a421b);border:1px solid #ddcfb7}.fertility-key-note{font-size:14px;color:#526055}.fertility-key a{text-decoration:underline}

.demography-history-note{padding:14px 18px;background:#f4eee0;border-left:3px solid #9a703a;font-size:15px!important;line-height:1.65!important;margin:18px 0!important}.demography-history-note[hidden]{display:none}
.demography-stable-note{display:grid;grid-template-columns:minmax(0,1fr)}.demography-note-text,.demography-note-size{grid-area:1/1;min-width:0;align-self:start}.demography-note-size{display:grid;visibility:hidden;pointer-events:none;user-select:none}.demography-note-size>span{grid-area:1/1;min-width:0}.demography-history-note.demography-current-source{background:#eef1e8;border-left-color:#b7c5b0}

/* Linked comic and statistical reference: one scene per step. */
.linked-comic{margin:24px 0;color:#293d32}.linked-story-heading h3{font-size:clamp(27px,3.5vw,40px);line-height:1.15;margin:10px 0 12px}.linked-story-heading .linked-story-reference{font-size:15px!important;line-height:1.65!important;margin:0 0 20px!important;color:#526055;font-variant-numeric:tabular-nums}.linked-story-toolbar{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;padding:16px 0;margin-bottom:20px;border-top:1px solid #d7ddcf;border-bottom:1px solid #d7ddcf}.linked-story-toolbar button,.linked-story-unavailable button{font:650 16px Manrope,Arial,sans-serif;min-height:44px;border:1px solid #bac6b5;padding:10px 16px;border-radius:5px;background:#fffdf7;color:#293d32;cursor:pointer}.linked-story-toolbar button:disabled{opacity:.4;cursor:default}.linked-story-steps{display:flex;gap:8px;justify-content:center}.linked-story-steps button{border-radius:50%;padding:0;width:40px;min-height:40px}.linked-story-steps button[aria-current=step]{background:#f16923;color:#fff;border-color:#f16923}.linked-story-stage{display:grid;grid-template-columns:minmax(270px,.85fr) minmax(0,1.65fr);gap:28px;align-items:start}.linked-story-stage>*{min-width:0}.linked-comic-panel{position:sticky;top:110px}.linked-chart-panel .demography-chart{width:100%;border:0}.linked-story-caption{margin-top:20px;padding:20px 24px;border-left:4px solid #f16923;background:#f5eee6;min-height:126px}.linked-story-caption strong{font-size:23px;line-height:1.3}.linked-story-caption p{font-size:18px!important;line-height:1.65!important;margin:10px 0 0!important;max-width:80ch}.linked-story-toggle{display:flex;gap:9px;align-items:center;font-size:16px;line-height:1.5;margin:20px 0}.linked-story-toggle input{accent-color:#f16923;width:18px;height:18px}.linked-story-background{margin:20px 0}.linked-story-background>summary,.linked-year-settings>summary{font-size:17px;font-weight:650;cursor:pointer;padding:14px 0}.linked-year-settings{border-bottom:1px solid #d7ddcf;margin-bottom:22px}.linked-year-settings[open]>summary{margin-bottom:14px}.linked-year-settings>.demography-story{margin-bottom:24px}.linked-comic [hidden]{display:none!important}.linked-comic[data-available=false] .linked-story-stage{grid-template-columns:minmax(0,1fr)}.linked-story-unavailable{padding:18px;background:#eef1e8;margin:20px 0}.linked-story-unavailable p{font-size:17px!important}.fertility-key-gradient{background:linear-gradient(90deg,#f6eee9,#ff5a00);border-color:#efd5c3}.profile-generation-label{fill:#c9561b}
@media(max-width:760px){.linked-story-stage{grid-template-columns:minmax(0,1fr);gap:22px}.linked-comic-panel{position:static}.linked-story-toolbar{gap:10px}.linked-story-steps{gap:6px}.linked-story-steps button{width:34px;min-height:34px}.linked-story-caption{padding:18px;min-height:0}.linked-story-caption strong{font-size:21px}}
@media(max-width:480px){.linked-story-toolbar{grid-template-columns:1fr 1fr}.linked-story-steps{grid-column:1/-1;grid-row:1}.linked-story-toolbar>[data-comic=next]{justify-self:end}.linked-story-toolbar>[data-comic=previous]{justify-self:start}.linked-story-toolbar>button{font-size:15px;padding:9px 13px}}

.linked-story-caption{padding:17px 18px;min-height:0}.linked-story-caption strong{font-size:20px}.linked-story-caption p{font-size:17px!important;line-height:1.6!important}.linked-story-toolbar{position:sticky;top:92px;z-index:15;background:#fffdf8}.linked-story-caption[hidden]{display:none!important}@media(max-width:760px){.linked-story-toolbar{top:74px}.linked-comic-panel .linked-story-caption{margin-top:12px}.linked-story-caption strong{font-size:18px}.linked-story-caption p{font-size:16px!important}}

.linked-story-toolbar{position:static}.linked-mini-controls{display:flex;justify-content:space-between;gap:12px;margin-bottom:12px}.linked-mini-controls button{font:650 15px Manrope,Arial,sans-serif;min-height:40px;padding:8px 12px;border:1px solid #c4cdbd;border-radius:4px;color:#293d32;background:#fffdf8;cursor:pointer}.linked-mini-controls button:disabled{opacity:.4;cursor:default}@media(max-width:760px){.linked-mini-controls{display:none}}

.linked-story-steps button{width:auto;min-width:54px;padding:0 7px;border-radius:5px;font-size:14px}.profile-fiction-age-label{font:700 16px Manrope,Arial,sans-serif;fill:#a64111;paint-order:stroke;stroke:#fffdf8;stroke-width:4px;stroke-linejoin:round}.mobile-profile .profile-fiction-age-label{font-size:13px}@media(max-width:760px){.linked-story-steps{gap:4px}.linked-story-steps button{min-width:44px;font-size:12px;padding:0 4px}}

.linked-story-heading .linked-story-source-hint{font-size:14px!important;line-height:1.6!important;min-height:44px;margin:0 0 16px!important;color:#526055}.is-linked .comic-step{letter-spacing:.02em}

.linked-travel-status{padding:12px 16px;border-left:3px solid #f16923;background:#f7eee6;font-size:18px!important;font-weight:650;line-height:1.5;min-height:52px;margin:0 0 18px!important}.linked-travel-status[hidden]{display:none!important}.profile-fiction-age-line{vector-effect:non-scaling-stroke}.linked-comic[data-transitioning=true] .linked-story-caption{border-left-color:#f16923}

@media(max-width:480px){.linked-story-heading .linked-story-source-hint{min-height:72px}}
