.bat-page{padding-top:28px;padding-bottom:48px;max-width:1120px}.bat-surface{position:relative;border:1px solid var(--line);border-radius:32px;padding:34px 32px 28px;--bat-purple:#8b6da6;--bat-teal:#387b72;--bat-gold:#a57b35;--bat-blue:#5484ac}.bat-surface p{font-size:14px;line-height:1.8;color:var(--muted);margin:12px 0}.bat-intro{max-width:820px;padding-right:34px}.bat-intro h1{font-size:clamp(29px,3.5vw,38px);font-weight:550;letter-spacing:-1.3px;max-width:none;line-height:1.15;margin:3px 0 25px}.bat-intro .bat-lead{font-weight:550;color:var(--ink)}.bat-surface .model-exit{position:absolute;right:16px;top:16px}.bat-surface .model-share{position:relative;margin:18px 0 25px}.bat-pipeline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:28px 0 34px}.bat-pipeline section{position:relative;padding:18px;background:var(--model-panel-bg);border:1px solid var(--line);border-radius:18px}.bat-pipeline section+section:before{content:'';position:absolute;top:50%;left:-27px;width:20px;height:4px;background:var(--muted);clip-path:polygon(0 25%,65% 25%,65% 0,100% 50%,65% 100%,65% 75%,0 75%)}.bat-step{font-size:10px;letter-spacing:.06em;color:var(--muted)}.bat-pipeline h2{font-size:15px;line-height:1.3;letter-spacing:-.2px;margin-top:7px}.bat-pipeline p{font-size:12px;margin:0}.bat-pipeline svg{width:100%;height:85px;margin:10px 0}.bat-pipeline svg text{font:18px var(--font);fill:var(--ink)}.bat-diagram-muted{fill:none;stroke:var(--muted);stroke-width:1.5;opacity:.6}.bat-diagram-line{fill:none;stroke:var(--green);stroke-width:2.5}.bat-goal{fill:var(--bat-purple)}.bat-section{margin-top:34px}.bat-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:6px}.bat-section h2{font-size:22px;letter-spacing:-.55px;line-height:1.25}.bat-section-heading>span,.bat-panel figcaption>span{font-size:11px;color:var(--muted);text-align:right}.bat-controls{display:grid;grid-template-columns:1.3fr 1fr .85fr 1.1fr;gap:14px;margin-top:22px}.bat-controls label{font-size:11px;font-weight:500;display:grid;gap:7px;min-width:0}.bat-controls select{width:100%;min-width:0;min-height:46px;padding:10px 30px 10px 12px;border:1px solid var(--line);border-radius:12px;font-size:12px}.bat-explorer-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;margin-top:17px}.bat-panel{margin:0;min-width:0;border:1px solid var(--line);border-radius:18px;background:var(--model-panel-bg);padding:20px}.bat-panel figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:28px}.bat-panel h3{font-size:15px;letter-spacing:-.2px;line-height:1.35}.bat-panel canvas{display:block;width:100%;height:340px}.bat-map-panel canvas{cursor:crosshair;touch-action:pan-y}.bat-map-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.bat-check{display:flex;align-items:center;gap:8px;font-size:11px;min-height:44px}.bat-check input{width:17px;height:17px;accent-color:var(--green)}.bat-surface :is(.bat-playback,.bat-map-actions) button,#bat-retry{min-height:44px;padding:9px 16px;border:0;border-radius:24px;background:var(--model-control-bg);color:var(--ink);font-size:12px;cursor:pointer}.bat-surface :is(.bat-playback,.bat-map-actions) button:hover,#bat-retry:hover{background:var(--model-control-hover)}.bat-surface :is(button,a,select,input,canvas):focus-visible{outline:3px solid var(--art-accent);outline-offset:3px}.bat-surface :is(button,input):disabled{opacity:.5;cursor:default}.bat-surface .bat-note{font-size:11px;line-height:1.7}.bat-legend{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:8px;font-size:10px;color:var(--muted)}.bat-legend span{display:inline-flex;align-items:center;gap:6px}.bat-legend i{display:block;width:17px;height:3px;background:var(--green)}.bat-legend .bat-key-observed{width:5px;height:5px;border-radius:50%;background:var(--bat-purple)}.bat-legend .bat-key-band{height:10px;background:color-mix(in srgb,var(--green) 20%,transparent)}.bat-legend .bat-key-goal{background:var(--bat-purple)}.bat-legend .bat-key-background{height:0;border-top:2px dashed var(--muted);background:none}.bat-playback{display:flex;align-items:center;gap:14px;margin:18px 0 12px;flex-wrap:wrap}.bat-playback #bat-play{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;padding:0;background:var(--button-bg);color:var(--button-fg)}.bat-playback label{font-size:11px;display:grid;gap:2px;min-width:78px}.bat-playback output{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.bat-playback input{flex:1;min-width:100px;accent-color:var(--green);min-height:44px}.bat-readout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:var(--model-panel-bg);padding:20px 22px;border-radius:18px;border:1px solid var(--line)}.bat-readout span,.bat-readout small{display:block;font-size:11px;color:var(--muted)}.bat-readout strong{display:block;font-size:26px;font-weight:500;margin:3px 0;font-variant-numeric:tabular-nums;letter-spacing:-.5px}.bat-model-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;margin-top:20px;align-items:center}.bat-model-grid canvas{height:240px}.bat-model-copy{padding:6px 4px}.bat-equation{font-size:16px;color:var(--ink);line-height:1.7;margin-bottom:18px}.bat-model-copy dl{margin:0}.bat-model-copy dl>div{display:flex;gap:12px;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line);font-size:12px}.bat-model-copy dt{color:var(--muted)}.bat-model-copy dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.bat-population-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.bat-population-grid .bat-panel{padding:17px 14px}.bat-population-grid figcaption{display:block;min-height:50px}.bat-population-grid canvas{height:220px}.bat-comparison{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:center;margin:25px 0 30px}.bat-comparison h3{font-size:18px;letter-spacing:-.4px}.bat-comparison .bat-panel h3{font-size:14px}.bat-comparison canvas{height:240px}.bat-method{margin-top:15px}.bat-method .model-disclosure-body{padding-bottom:16px}.bat-table-wrap{overflow-x:auto}.bat-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}.bat-table-wrap caption{text-align:left;color:var(--muted);font-size:11px;margin:10px 0}.bat-table-wrap th,.bat-table-wrap td{padding:12px 8px;border-bottom:1px solid var(--line)}.bat-source-actions{display:flex;gap:24px;flex-wrap:wrap;font-size:12px;margin-top:20px}.bat-method a{color:var(--green)}.bat-method .citation-widget{border:0;margin:0;padding-top:8px}.bat-surface [hidden]{display:none!important}.model-embedded,.model-embedded body{background:transparent}.model-embedded .bat-page{padding-top:24px}.model-embedded .bat-surface>.model-exit{display:none!important}:root[data-theme=dark] .bat-surface{--bat-purple:#b5a0cc;--bat-teal:#82b5a5;--bat-gold:#d1b179;--bat-blue:#89afcc}@media(max-width:900px){.bat-controls{grid-template-columns:1fr 1fr}.bat-panel{padding:16px}.bat-panel figcaption{display:block;min-height:50px}.bat-population-grid{grid-template-columns:1fr}.bat-population-grid canvas{height:205px}.bat-population-grid figcaption{min-height:38px;display:flex}.bat-playback>.bat-note{width:100%;margin-top:-5px}}@media(max-width:640px){.bat-page{padding:12px 12px 28px}.bat-surface{padding:24px 20px;border-radius:24px}.bat-intro{padding-right:22px}.bat-intro h1{font-size:29px;margin-bottom:22px}.bat-surface .model-exit{right:10px;top:10px;width:40px;height:40px;min-height:40px;min-width:40px}.bat-pipeline{grid-template-columns:1fr;gap:15px;margin:24px 0}.bat-pipeline section{display:grid;grid-template-columns:1fr 100px;column-gap:12px;padding:16px}.bat-pipeline svg{grid-column:2;grid-row:1/4;align-self:center;height:65px}.bat-pipeline section+section:before{display:none}.bat-pipeline h2{font-size:14px;margin-top:3px}.bat-pipeline p{margin-top:8px}.bat-section-heading{display:block}.bat-section-heading>span{display:block;text-align:left;margin-top:7px}.bat-section h2{font-size:21px}.bat-explorer-grid,.bat-model-grid,.bat-comparison{grid-template-columns:1fr}.bat-panel canvas{height:310px}.bat-model-grid canvas{height:240px}.bat-comparison canvas{height:245px}.bat-controls{gap:13px 10px}.bat-controls label{font-size:10px}.bat-controls select{font-size:11px;padding-left:9px}.bat-readout{padding:15px;gap:12px;grid-template-columns:1fr 1fr}.bat-readout>div:last-child{grid-column:1/-1;border-top:1px solid var(--line);padding-top:10px}.bat-readout strong{font-size:24px}.bat-playback{gap:10px}.bat-playback>.bat-note{font-size:10px}.bat-population-grid canvas{height:205px}.bat-equation{font-size:14px}.model-embedded .bat-page{padding-top:12px}}@media(prefers-reduced-motion:reduce){.bat-surface *{scroll-behavior:auto}}@media print{.bat-controls,.bat-playback,.model-share,.model-exit{display:none}.bat-surface{padding:0;border:0}.bat-page{max-width:none}.bat-panel{break-inside:avoid}}

.bat-map-key{display:flex;align-items:center;justify-content:center;gap:9px;font-size:10px;color:var(--muted);margin:8px 0}.bat-map-key i{display:block;width:80px;height:7px;border-radius:4px;background:linear-gradient(90deg,rgb(151,115,180),rgb(49,144,116))}.bat-map-key span:first-child{margin-right:4px}
