*{box-sizing:border-box}
body{margin:0;font-family:"Microsoft YaHei",system-ui,sans-serif;color:#18384a}
button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}
button:focus-visible,input:focus-visible{outline:3px solid #d6a342;outline-offset:2px}[hidden]{display:none!important}
.model-stage{background:#fbfdfc}
.population-workbench{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
.parameter-form{display:grid;grid-template-columns:auto auto auto minmax(270px,1fr) auto;align-items:center;gap:12px;padding:12px 22px;border-bottom:1px solid #dce9e3;background:#f5faf7;flex:none;font-size:12px}
.parameter-field{display:flex;align-items:center;gap:6px;white-space:nowrap}
.parameter-field>span:not(.unit){font-family:Georgia,serif;font-style:italic;font-size:17px}
.parameter-field input{width:64px;height:35px;border:1px solid #bed7ce;border-radius:7px;background:#fff;color:#18384a;padding:5px 7px;font-variant-numeric:tabular-nums}
.parameter-field input[aria-invalid=true]{border-color:#b63e43;background:#fff6f5}
.unit,.parameter-k{color:#557c7f}.parameter-k{white-space:nowrap;font-size:12px}
#parameter-hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.parameter-error{grid-column:1/-1;color:#ac343b;font-size:12px}
.work-button{border:1px solid #c8ded5;border-radius:8px;padding:7px 10px;min-height:35px;background:#f3faf6;color:#286857;font-size:12px;white-space:nowrap}.work-button:hover{background:#e6f4ec}
.science-time{display:flex;align-items:center;gap:12px;min-width:0;padding:0 14px;border-inline:1px solid #d4e4dc}
.time-label{display:flex;align-items:baseline;gap:6px;white-space:nowrap;font-size:12px}
.time-label i{font:italic 21px Georgia,serif}.time-label output{font-size:15px;font-variant-numeric:tabular-nums;min-width:48px;width:calc(6ch + 1.65em);flex:0 0 auto}.time-end{color:#69858a;font-size:11px}
#time-slider{accent-color:#31816e;min-width:60px;width:100%;flex:1;margin:0;height:30px;cursor:ew-resize}
.tangent-option{display:flex;align-items:center;gap:5px;font-size:12px;white-space:nowrap;cursor:pointer}
.tangent-option input{accent-color:#31816e;width:16px;height:16px;margin:0}
.science-viewport{position:relative;flex:1;min-height:0;overflow:hidden;background:#fbfdfc}
.plots-scroll{position:relative;z-index:1;height:calc(100% - 68px);overflow:auto;overscroll-behavior:contain}
.growth-panels{--panel-gap:28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--panel-gap);padding:18px 26px 0;min-height:365px;height:100%;position:relative}
.growth-panel{--curve-color:#3f7fad;display:flex;flex-direction:column;min-width:0;min-height:0}
.growth-panel[data-kind=s]{--curve-color:#288873}
.growth-panel+.growth-panel{position:relative}
.growth-panel+.growth-panel:before{content:"";position:absolute;left:calc(var(--panel-gap)/-2);top:0;bottom:0;width:1px;background:#d6e5df}
.plot-heading{display:flex;align-items:center;flex-direction:column;gap:4px;flex:none;text-align:center}
.plot-heading h2{font-size:23px;line-height:1.35;font-weight:650;margin:0;display:flex;align-items:center;justify-content:center;gap:9px}
.plot-heading>span{font-size:12px;color:#69858a}
.plot-context{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px 13px;color:#69858a;font-size:12px}
.comparison-legend{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:#7b858a}
.comparison-legend:before{content:"";width:23px;border-top:2px dashed #b5bdc3}
.line-key{display:inline-block;width:25px;height:4px;border-radius:2px;background:var(--curve-color)}
.scale-caption{min-height:25px;font-size:12px;color:#6c858b;padding:5px 0 3px;flex:none;text-align:center;font-variant-numeric:tabular-nums}
.scale-caption.is-expanded{color:#447ba1}
.growth-chart{display:block;width:100%;flex:1;min-height:155px;overflow:hidden}
.growth-chart text{font-family:"Microsoft YaHei",system-ui,sans-serif;fill:#18384a;font-size:12px;font-variant-numeric:tabular-nums}
.growth-chart .tick{fill:#6b838a}.growth-chart .axis-title{fill:#476977}
.growth-chart .plot-frame{fill:var(--curve-color);fill-opacity:.025;stroke:#dce6e6;stroke-width:1}
.growth-chart .axis{stroke:#89a4af;stroke-width:1.3;fill:none}.growth-chart .axis-tick{stroke:#8ea6ad;stroke-width:1}
.growth-chart .gridline{stroke:#dce6e8;stroke-width:.8}.growth-chart .grid-minor{stroke-opacity:.45}.growth-chart .grid-vertical{stroke-opacity:.65;stroke-dasharray:2 5}
.growth-chart .reference{stroke:#799e90;stroke-width:1;stroke-dasharray:4 5}.growth-chart .reference-k{stroke:#549981;stroke-width:1.4;stroke-dasharray:7 5}
.growth-chart .reference-label{fill:#4c7c6c;font-size:11px}
.growth-chart .label-halo{paint-order:stroke;stroke:#fbfdfc;stroke-width:5px;stroke-linejoin:round}
.growth-chart .curve{fill:none;stroke:var(--curve-color);stroke-width:3.3;stroke-linecap:round;stroke-linejoin:round}
.growth-chart .comparison-curve{fill:none;stroke:#b5bdc3;stroke-width:2;stroke-dasharray:7 5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.growth-chart .comparison-overflow{fill:none;stroke:#b5bdc3;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.growth-chart .current-guide{fill:none;stroke:var(--curve-color);stroke-opacity:.36;stroke-width:1;stroke-dasharray:3 5}
.growth-chart .tangent{stroke:#627c89;stroke-width:1.8;stroke-dasharray:6 4}
.growth-chart .inflection{fill:#fbfdfc;stroke:var(--curve-color);stroke-width:2}
.growth-chart .point-focus{fill:var(--curve-color);fill-opacity:.1}
.growth-chart .current-point{fill:var(--curve-color);stroke:#fbfdfc;stroke-width:2}
.growth-chart .population-label{font-weight:600;font-size:13px}
.growth-equation{display:flex;align-items:center;justify-content:center;gap:16px;min-height:64px;flex:none;background:#edf5f7;border-radius:10px;padding:7px 10px;margin-top:6px}
[data-kind=s] .growth-equation{background:#edf6f2}
.growth-equation>span{font-size:12px;color:#63858b}.growth-equation math{font-size:27px}
.plot-state{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:40px;font-size:12px;color:#68858a;flex:none;padding-top:4px}
.plot-state .work-button{padding:4px 9px;min-height:29px;white-space:nowrap}
.growth-rates{border-top:1px solid #dae7e1;padding:7px 0 0;margin:5px 0 0;flex:none;font-size:12px}
.growth-rates>div{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.growth-rates dt{color:#68858a}.growth-rates dd{margin:0;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.science-note{position:absolute;left:88px;right:22px;bottom:12px;min-height:30px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px 20px;flex-wrap:wrap;color:#779092;font-size:12px;pointer-events:none}
.playback-state{font-size:12px;color:#69858a;text-align:center}.is-css-fullscreen{position:fixed!important;inset:0!important;z-index:1000;background:#fbfdfc}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(min-width:1600px){.parameter-form{font-size:13px;gap:16px}.parameter-field input{width:72px}.science-time{gap:16px;padding-inline:20px}.time-label{font-size:14px;gap:8px}.time-label output{font-size:17px}.time-end,.tangent-option,.parameter-k{font-size:13px}.growth-chart text{font-size:14px}.growth-chart .population-label{font-size:15px}.growth-chart .reference-label{font-size:13px}.plot-heading h2{font-size:25px}.growth-equation math{font-size:31px}.plot-heading>span,.plot-context,.scale-caption,.plot-state,.science-note,.growth-equation>span,.growth-rates{font-size:14px}.growth-rates dd{font-size:16px}}
@media(min-width:2000px){.parameter-form{grid-template-columns:auto auto auto minmax(270px,1fr) auto auto}#parameter-hint{position:static;width:auto;height:auto;clip-path:none;overflow:visible;font-size:11px;color:#748b8e}}
@media(max-width:1180px){.parameter-form{gap:9px;padding:10px 14px;font-size:11px}.parameter-field{gap:4px}.parameter-field input{width:54px}.parameter-k{font-size:11px}.science-time{gap:8px;padding-inline:10px}.time-label{gap:4px}.time-label output{font-size:14px;min-width:44px}.time-label label{font-size:11px}.tangent-option{font-size:11px}.growth-panels{--panel-gap:18px;padding:14px 16px 0}.plot-heading h2{font-size:21px}.growth-equation math{font-size:25px}}
@media(max-width:1000px){.parameter-form{grid-template-columns:auto auto auto 1fr;gap:8px 12px}.science-time{grid-column:1/-1;grid-row:2;border:0;padding:3px 0 0;gap:12px}.parameter-k{text-align:right}.parameter-field input{width:64px}.parameter-error{grid-row:3}.time-label output{min-width:48px}}
@media(max-width:650px){.parameter-form{grid-template-columns:1fr 1fr;gap:8px 10px;padding:9px 12px;font-size:12px}.parameter-field{justify-content:space-between;gap:4px}.parameter-field:nth-child(2){grid-column:1/-1;grid-row:2;justify-content:flex-start}.parameter-field:nth-child(2) input{margin-left:auto}.parameter-field:first-child{grid-column:1/-1}.parameter-field input{width:70px;font-size:16px}.parameter-form>.work-button{grid-column:1;grid-row:3;justify-self:start}.parameter-k{grid-column:2;grid-row:3;font-size:11px}.science-time{grid-row:4;flex-wrap:wrap;gap:4px 10px}.time-label{flex:1}.time-label output{font-size:16px}#time-slider{order:3;flex-basis:100%;height:30px}.tangent-option{font-size:12px}.parameter-error{grid-row:5}.growth-panels{grid-template-columns:minmax(0,1fr);height:auto;min-height:0;gap:20px;padding:14px 12px}.growth-panel{height:450px}.growth-panel+.growth-panel{padding:16px 0 0;border-top:1px solid #d6e5df;height:466px}.growth-panel+.growth-panel:before{display:none}.growth-panels.show-rates .growth-panel{height:505px}.growth-panels.show-rates .growth-panel+.growth-panel{height:521px}.growth-chart{min-height:160px}.growth-equation{min-height:60px;gap:12px}.growth-equation math{font-size:24px}.science-note{left:78px;right:12px;bottom:8px;font-size:11px;gap:3px}.playback-state{display:none}.plots-scroll{height:calc(100% - 61px)}}
@media(min-width:651px) and (max-height:620px){.parameter-form{padding:6px 10px;gap:6px 9px}.parameter-field input{height:30px}.growth-panels{min-height:370px}.growth-panels.show-rates{min-height:435px}.science-note{font-size:11px}.plot-heading h2{font-size:20px}}
@media(max-width:359px){.parameter-form{padding:7px 9px}.parameter-field input{height:30px}.growth-equation math{font-size:22px}.plot-heading h2{font-size:20px}.growth-equation{gap:9px}.science-note span:last-child{display:none}}
@media(pointer:coarse){.parameter-field input,.parameter-form>.work-button{min-height:38px}.tangent-option{min-height:32px}.plot-state .work-button{min-height:35px}}
@media(max-height:540px){.population-workbench{display:block;overflow-y:auto;overscroll-behavior:contain}.science-viewport{height:auto;min-height:0;overflow:hidden}.plots-scroll{height:auto;overflow:visible}.growth-panels{height:390px;min-height:390px}.growth-panels.show-rates{height:455px;min-height:455px}.science-note{position:relative;left:auto;right:auto;bottom:auto;min-height:68px;margin:0 16px 0 88px;padding:8px 0}.science-time{position:relative}}
@media(max-height:540px) and (max-width:650px){.growth-panels,.growth-panels.show-rates{height:auto;min-height:0}.science-note{min-height:61px;margin-left:78px}}
