/* Responsive version of the supplied dark, four-panel scientific figure. */
.saved-batch .batch-result-heading{margin:16px 0 12px}.saved-batch .batch-result-heading h3{font-size:18px;margin:0 0 4px}.batch-result-heading h3 span{color:#aebbd0;font-weight:400}.saved-batch .batch-result-heading p{font-size:12px;margin:3px 0;color:#aebbd0;overflow-wrap:anywhere}
.batch-outcomes{display:flex;gap:10px;margin:12px 0 16px;flex-wrap:wrap}.batch-outcome{flex:1 1 150px;background:#12161d;border:1px solid #2b303a;border-top:3px solid var(--outcome-color);border-radius:9px;padding:10px 12px;min-width:0}.batch-outcome>span,.batch-outcome small{display:block;font-size:11px;color:#b5c3d7}.batch-outcome>span{font-size:12px;color:#edf2f9;overflow-wrap:anywhere}.batch-outcome strong{display:block;font-size:24px;line-height:1.3;color:var(--outcome-color);font-variant-numeric:tabular-nums}
.batch-figure{margin:0;padding:14px;background:#11141a;color:#e8e6df;border:1px solid #ffffff14;border-radius:12px;font-family:Georgia,'Times New Roman',serif}.batch-legend{display:flex;justify-content:center;gap:8px 16px;flex-wrap:wrap;font-size:12px;margin-bottom:12px}.batch-legend span{display:flex;align-items:center;gap:6px}.batch-legend i{display:inline-block;width:10px;height:10px;flex:none;border-radius:2px}
.batch-figure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.batch-figure-grid>svg{width:100%;height:auto;display:block;min-width:0;overflow:visible}.batch-figure text{font-family:Georgia,'Times New Roman',serif;font-size:11px;fill:#a9b0bd}.batch-figure .figure-title{font-size:13px;fill:#e8e6df}.batch-figure .figure-value{fill:#e8e6df;font-size:10px}.figure-grid{stroke:#ffffff22;stroke-width:.65;stroke-dasharray:3 3}.figure-whisker{stroke:#e8e6df;stroke-width:1.2}.figure-reference{fill:#11141a;stroke:#e8e6df;stroke-width:1.4}.figure-fit{fill:none;stroke:#e8e6df;stroke-width:1.5;stroke-linejoin:round}
.batch-figure figcaption{font-size:12px;line-height:1.6;color:#a9b0bd;border-top:1px solid #ffffff1a;padding-top:10px;margin-top:12px}.batch-figure figcaption strong{color:#e8e6df;font-weight:500}
.saved-batch .batch-all-runs{margin-top:12px;border:1px solid #2b303a;border-radius:10px;padding:3px 12px}.batch-all-runs summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.batch-all-runs summary::before{content:'▸'}.batch-all-runs[open] summary::before{content:'▾'}.batch-all-runs summary>span{font-size:11px;color:#aebbd0;font-weight:400;margin-left:auto}.batch-run-grid{list-style:none;display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;margin:8px 0 12px;padding:0;max-height:none;overflow:visible}.batch-run-tile{min-width:0;background:#141820;border:1px solid #2b303a;border-bottom:2px solid var(--outcome-color);border-radius:6px;text-align:center;padding:5px 2px}.batch-run-tile small{display:block;font-size:9px;color:#aebbd0}.batch-run-tile strong{display:block;font-size:13px;color:var(--outcome-color);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(max-width:639px){.batch-figure-grid{grid-template-columns:minmax(0,1fr);gap:14px}.batch-figure{padding:8px}.batch-outcomes{gap:6px}.batch-outcome{flex-basis:86px;padding:7px}.batch-outcome strong{font-size:21px}.batch-outcome small{font-size:10px}.batch-run-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.saved-batch .batch-all-runs{padding:3px 8px}.batch-all-runs summary>span{margin-left:0}.batch-legend{font-size:11px}.batch-figure figcaption{font-size:11px}}

.batch-legend i.batch-legend-poisson{background:transparent;border:1.4px solid #e8e6df;border-radius:50%}.batch-legend i.batch-legend-normal{width:18px;height:0;border-top:1.5px solid #e8e6df}

/* The audit remains optional and has no nested scrolling tables. */
.batch-player-inputs{margin:14px 0;padding:12px;border:1px solid #2b303a;border-radius:10px}
.batch-player-inputs summary{cursor:pointer;font-weight:650}
.ability-input-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:8px}
.ability-input-card{min-width:0;padding:10px;background:#12161d;border:1px solid #2b303a;border-radius:8px}
.ability-input-card strong{font-size:12px;overflow-wrap:anywhere}.ability-input-card p{font-size:11px;margin:5px 0}
.ability-input-card small{display:block;color:#b6c3d6;font-size:10px}

/* Site theme: sans-serif type, neutral surfaces and hairlines; colour only marks the outcome. */
.batch-figure,.batch-figure text{font-family:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
.batch-figure{background:transparent;color:#e6e8ec;border:1px solid #2b303a;padding:16px 18px}
.batch-figure text{fill:#8b93a7;font-size:10.5px}
.batch-figure .figure-title{fill:#e6e8ec;font-size:12px;font-weight:600}
.batch-figure .figure-value{fill:#c9ced8;font-size:10px;font-weight:600}
.figure-grid{stroke:#ffffff14;stroke-dasharray:none}
.figure-whisker{stroke:#c9ced8;stroke-width:1}
.figure-reference{fill:#11141a;stroke:#e6e8ec;stroke-width:1.2}
.figure-fit{stroke:#e6e8ec;stroke-width:1.2;opacity:.8}
.batch-legend{color:#8b93a7;font-size:11.5px}
.batch-legend i.batch-legend-poisson{border-color:#e6e8ec}.batch-legend i.batch-legend-normal{border-top-color:#e6e8ec}
.batch-figure figcaption{color:#8b93a7;border-top-color:#2b303a}
.batch-figure figcaption strong{color:#e6e8ec}
.batch-outcome{background:transparent;border:1px solid #2b303a;border-top:1px solid #2b303a;padding:12px 14px}
.batch-outcome>span{display:flex;align-items:center;gap:7px;color:#c9ced8;font-weight:500}
.batch-outcome>span::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--outcome-color);flex:none}
.batch-outcome strong{color:#f2f4f7;font-size:26px;font-weight:600;letter-spacing:-.01em}
.batch-outcome small{color:#8b93a7}
.saved-batch .batch-result-heading h3{font-weight:600}
.batch-run-tile{background:transparent;border:1px solid #2b303a;border-bottom:1px solid #2b303a}
.batch-run-tile strong{font-weight:600}
.batch-run-tile small{color:#6b7385}
