.solution-graphic{min-width:0}.solution-graphic figcaption{margin-bottom:20px}.solution-graphic p.calc-equation,.calc-equation{color:#24344d;overflow-wrap:anywhere;background:#eef2fa;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;margin:16px 0 0;padding:12px;font-size:15px;line-height:2;display:flex}.calc-inline{flex-wrap:wrap;align-items:center;gap:5px;max-width:100%;display:inline-flex}.calc-fraction{vertical-align:middle;font-variant-numeric:tabular-nums;flex-direction:column;align-items:center;min-width:16px;font-size:14px;line-height:1.4;display:inline-flex}.calc-fraction>span:first-child{border-bottom:1px solid;padding:0 4px}.calc-fraction>span:last-child{padding:0 4px}.calc-track{background:#e5eaf2;border-radius:3px;height:8px;margin:10px 0 3px;position:relative;overflow:hidden}.calc-track>span{background:#8a9edb;height:100%;position:absolute;inset:0 auto 0 0}.calc-track .calc-contribution,.calc-track.calc-selected>span{background:#518063}.calc-row-detail{color:#64728a;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:6px;font-size:11px;display:flex}.calc-row-detail>span{flex-wrap:wrap;align-items:center;gap:5px;display:inline-flex}.outcome-group-label{align-items:center;gap:12px}.outcome-group-label>span:first-child{flex:1;min-width:0}.outcome-group-label>strong{white-space:nowrap;font-size:12px;font-weight:600}.outcome-groups>li{border-bottom:1px solid #e0e6f0;padding:12px 0}.outcome-groups>li:last-child{border-bottom:0}.calc-weights{gap:0;margin:0;padding:0;list-style:none;display:grid}.calc-weights>li{border-bottom:1px solid #dfe5f0;padding:16px 0}.calc-weights>li:last-child{border-bottom:0}.calc-case-heading{justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.calc-case-heading strong{font-weight:600;line-height:1.5}.calc-case-heading>b{white-space:nowrap;font-size:12px}.calc-favorable .calc-case-heading{color:#365b43}.calc-multiply{text-align:center;grid-template-columns:minmax(0,1fr) 10px minmax(0,1fr) 10px minmax(0,1fr);align-items:center;gap:6px;margin:14px 0;display:grid}.calc-multiply>div{flex-direction:column;align-items:center;gap:8px;min-width:0;font-size:15px;display:flex}.calc-multiply>div:last-child{color:#365b43}.calc-multiply small{color:#64728a;font-size:10px;line-height:1.4}.solution-graphic p.calc-bar-key,.solution-graphic p.calc-weight-rule,.solution-graphic p.calc-boundary{color:#52617b;margin:12px 0;font-size:12px;line-height:1.7}.calc-terms{grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr));gap:8px;display:grid}.calc-term{text-align:center;background:#fff;border:1px solid #dde4ef;border-radius:8px;flex-direction:column;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.calc-term small{color:#52617b;font-size:11px;line-height:1.5}.calc-term strong{font-size:18px;font-weight:500}.calc-axis-labels{color:#52617b;flex-wrap:wrap;justify-content:space-between;gap:8px;font-size:11px;line-height:1.6;display:flex}.calc-region svg,.calc-curve svg{width:100%;max-width:440px;height:auto;margin:auto;font-size:18px;display:block}.calc-region svg text,.calc-curve svg text{fill:#52617b;font-size:18px}.calc-radius{stroke:#2f4ed1;stroke-width:2px}.calc-grid-line{stroke:#dce3ef;stroke-width:1px}.calc-readout{color:#52617b;gap:6px;margin:14px 0;font-size:12px;line-height:1.6;display:grid}.calc-readout strong{color:#2f4ed1}.calc-chain{background:#fff;border:1px solid #e0e6f0;border-radius:8px;max-width:100%;overflow-x:auto}.calc-chain svg{max-width:none;font-size:13px;display:block}.solution-graphic .calc-chain svg .chain-edge-label{paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round;fill:#52617b;font-size:13px}.calc-chain .calc-state-label{font-size:12px}.calc-chain .chain-value{font-size:15px}.calc-state-equations{gap:12px;margin:12px 0;display:grid}.calc-state-equations>div{background:#fff;border:1px solid #e0e6f0;border-radius:6px;flex-wrap:wrap;align-items:center;gap:5px;padding:10px;font-size:13px;line-height:1.7;display:flex}.calc-state-equations sub{font-size:10px}.math-comparison .calc-equation{font-size:13px}.solution-graphic .outcome-result{flex-wrap:wrap;gap:12px}.math-method{grid-template-columns:repeat(2,minmax(0,1fr))}.math-method .math-card{min-width:0;font-size:12px}.math-method .math-card>span{overflow-wrap:anywhere}@media (max-width:480px){.solution-graphic{padding:16px}.calc-multiply{grid-template-columns:minmax(0,1fr) 8px minmax(0,1fr) 8px minmax(0,1fr);gap:3px}.calc-multiply small{font-size:9px}.calc-multiply .calc-fraction{font-size:12px}.solution-graphic p.calc-equation,.calc-equation{padding:10px;font-size:13px}.outcome-group-label,.calc-case-heading{flex-wrap:wrap}.math-comparison{grid-template-columns:1fr}}.calc-chain-small svg{width:100%;height:auto}.solution-graphic .calc-chain-small svg .chain-edge-label{font-size:16px}.calc-chain-small .chain-value{font-size:19px}.calc-chain-small .calc-state-label{font-size:14px}.solution-graphic p.calc-chain-key{color:#52617b;margin:10px 0;font-size:11px;line-height:1.7}
.themed-solution{color:#27334c;font-size:14px;line-height:1.55;container-type:inline-size}.themed-scene{margin:20px 0}.themed-scene:first-child{margin-top:0}.themed-scene p{margin:10px 0}.themed-card,.themed-choice{text-align:center;background:#fff;border:1px solid #dce2ed;border-radius:12px;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:16px;display:flex}.themed-card h4{margin:0;font-size:15px;line-height:1.45}.themed-card p{margin:0}.themed-card small,.themed-choice small,.themed-rule,.themed-schematic{color:#64728a}.themed-favorable,.themed-hit{background:#f3f8e9;border-color:#b9cf87}.themed-excluded{background:#f6f7fa;border-style:dashed}.themed-excluded>.themed-children-pair,.themed-excluded>.themed-coin-pair{opacity:.6}.themed-family-cases,.themed-coin-cases,.themed-cases{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.themed-comparison,.themed-jar-allocation,.themed-die-actions,.themed-tennis-orders{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.themed-tennis-orders{grid-template-columns:1fr}.themed-children-pair{text-align:center;justify-content:center;gap:20px;display:flex}.themed-children-pair>div,.themed-child{flex-direction:column;align-items:center;display:flex}.themed-child{gap:4px;font-weight:600}.themed-children-pair small{font-size:11px;font-weight:400}.themed-calendar-badge{background:#e0f780;border-radius:4px;padding:1px 5px;font-size:11px}.themed-condition{align-items:center;gap:16px;display:flex}.themed-calendar{flex-shrink:0;width:82px}.themed-target-pair,.themed-coin-pair,.themed-dice-line,.themed-pair-objects{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.themed-coin-pair>div{flex-direction:column;align-items:center;gap:5px;display:flex}.themed-target-pair{margin-bottom:18px}.themed-target-pair>span{color:#64728a}.themed-solution .story-coin{flex-shrink:0;width:48px;height:48px}.themed-state-cases,.themed-states{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) 20px minmax(0,1fr);align-items:center;gap:8px;display:grid}.themed-flow-arrow{color:#7b89a3;text-align:center;font-size:26px}.themed-transition{color:#64728a;flex-direction:column;align-items:center;font-size:11px;display:flex}.themed-transition b{font-size:24px;line-height:1.2}.themed-empty-coin{color:#64728a;border:2px dashed #9daac3;border-radius:50%;place-content:center;width:48px;height:48px;font-size:22px;display:grid}.themed-reset{border-top:1px solid #dce2ed;align-items:center;gap:14px;margin-top:16px;padding:14px;display:flex}.themed-reset p{margin:4px 0 0}.themed-match-line{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;display:grid}.themed-match{border:1px solid #0000;border-radius:8px;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:8px 4px;display:flex}.themed-required{background:#ecf4dd;border-color:#a9bd81}.themed-match>span{font-size:11px}.themed-tennis-court{width:100%;max-width:128px}.themed-match strong{font-size:13px}.themed-urn-process{grid-template-columns:minmax(0,1fr) minmax(75px,.6fr) minmax(0,1fr);align-items:center;gap:12px;display:grid}.themed-observation{text-align:center;flex-direction:column;align-items:center;gap:8px;display:flex}.themed-observation .story-ball{width:34px;height:34px}.themed-observation small{color:#64728a;font-size:11px}.themed-jar{flex-direction:column;align-items:center;gap:8px;width:100%;margin:0;display:flex}.themed-jar-art{width:180px;max-width:100%;height:auto;display:block}.solution-graphic .themed-jar figcaption{flex-direction:column;gap:4px;margin:0;font-size:13px;line-height:1.4;display:flex}.themed-green{color:#567b25}.themed-red{color:#a63f51}.themed-choose{flex-wrap:wrap;justify-content:center;align-items:center;gap:5px;font-size:13px;font-weight:600;display:flex}.themed-die-d6{flex-shrink:0;display:inline-flex}.themed-die-d6 .story-die{width:42px;height:42px}.themed-die-d4{flex-shrink:0;width:48px;height:auto;display:block}.themed-dice-line{gap:8px;width:100%;padding:6px 0}.themed-dice-pair{justify-content:center;align-items:center;gap:8px;display:flex}.themed-dice-pair>span{flex-direction:column;align-items:center;gap:4px;display:flex}.themed-target-trials{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.themed-target{width:90px;max-width:100%;height:auto}.themed-equation{overflow-wrap:anywhere;border-top:1px solid #dce2ed;padding:13px 0 0;font-size:15px;line-height:1.8}.themed-card>.themed-equation{width:100%}.themed-rule,.themed-schematic{font-size:12px}.themed-room{background:#fff;border:1px solid #dce2ed;border-radius:12px;padding:16px}.themed-room-label{flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:14px;display:flex}.themed-room-label span{color:#64728a;font-size:12px}.themed-people{grid-template-columns:repeat(8,minmax(0,1fr));gap:12px 5px;display:grid}.themed-person-place{color:#64728a;flex-direction:column;align-items:center;gap:2px;font-size:10px;display:flex}.themed-person{max-width:100%;height:auto}.themed-boxes{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.themed-pair-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.themed-ball-pair{font-size:12px}.themed-pair-objects{gap:8px}.themed-labeled-ball{flex-shrink:0}.themed-stick-svg,.themed-ant-svg{width:100%;height:auto;display:block}.themed-triangle-rule{align-items:center;gap:18px;display:flex}.themed-triangle-rule>svg{flex-shrink:0;width:180px;max-width:45%}.themed-triangle-rule>div{min-width:0}.themed-triangle-rule span{color:#64728a;font-size:12px}.themed-ants .themed-comparison{grid-template-columns:1fr}.themed-ant-svg{max-width:460px}.themed-grid-key{color:#64728a;flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:10px;font-size:11px;display:flex}.themed-dice-grid{border-collapse:separate;border-spacing:3px;table-layout:fixed;text-align:center;width:100%}.themed-dice-grid th{color:#64728a;padding:3px;font-size:11px;font-weight:400}.themed-dice-grid th .themed-die-d6 .story-die{width:100%;max-width:38px;height:auto}.themed-dice-grid th .themed-die-d4{width:100%;max-width:38px;margin:auto}.themed-dice-grid td{border:1px solid #dce2ed;border-radius:5px;padding:10px 2px;font-size:15px;line-height:1}.themed-max-row{color:#2347e8;background:#eaf0ff}.themed-max-column{color:#527325;background:#f0f5e3}.themed-distribution{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:18px;display:grid}.themed-distribution>div{background:#fff;border:1px solid #dce2ed;border-radius:8px;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;font-size:12px;display:flex}.themed-distribution .calc-inline{flex-wrap:wrap;justify-content:center;gap:3px}.themed-weights-table{border-collapse:collapse;table-layout:fixed;text-align:center;width:100%;margin:18px 0;font-size:12px}.themed-weights-table th{color:#64728a;padding:10px 2px;font-size:10px;font-weight:600;line-height:1.45}.themed-weights-table th:first-child{width:28px}.themed-weights-table tbody th{color:#27334c;font-size:13px}.themed-weights-table td{border-bottom:1px solid #dce2ed;padding:9px 2px}.themed-weights-table .calc-fraction{font-size:12px}.themed-weights-table td:last-child{color:#365b43}.solution-graphic .themed-solution svg text{fill:#27334c;font-family:inherit;font-size:inherit}.solution-graphic .themed-solution .themed-die-number{font-size:20px;font-weight:700}.solution-graphic .themed-solution .themed-ball-letter{font-size:10px;font-weight:700}.solution-graphic .themed-calendar text{font-size:11px}.solution-graphic .themed-labeled-ball text{font-size:16px;font-weight:700}.solution-graphic .themed-box text{font-size:14px;font-weight:700}.solution-graphic .themed-stick-svg text{font-size:19px}.solution-graphic .themed-triangle-rule svg text{font-size:18px}.solution-graphic .themed-ant-svg text{font-size:16px}.solution-graphic .themed-ant-svg g[transform]>text{font-size:18px}@container (max-width:520px){.themed-family-cases,.themed-coin-cases,.themed-cases{grid-template-columns:repeat(2,minmax(0,1fr))}.themed-state-cases,.themed-states{grid-template-columns:1fr;gap:6px}.themed-flow-arrow,.themed-transition b{transform:rotate(90deg)}.themed-state-cases .themed-card,.themed-states .themed-choice{padding:12px}.themed-transition{flex-direction:row;justify-content:center;gap:14px}.themed-card,.themed-choice{padding:12px}.themed-die-actions,.themed-urn-process{grid-template-columns:1fr}.themed-observation{padding:6px}.themed-jar-allocation{gap:10px}.themed-match-line{gap:6px}.themed-match{padding:6px 2px}.themed-people{grid-template-columns:repeat(6,minmax(0,1fr))}.themed-distribution{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width:290px){.themed-jar-allocation,.themed-comparison,.themed-target-trials{grid-template-columns:1fr}.themed-target-trials .themed-card{text-align:left;grid-template-columns:1fr 1fr;display:grid}.themed-target-trials .themed-target{grid-area:1/2/3;justify-self:center;width:68px}.themed-target-trials p{grid-area:2/1}.themed-pair-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.themed-dice-pairs .themed-cases{grid-template-columns:1fr}.themed-pair-objects{gap:4px}.themed-labeled-ball{width:32px;height:32px}.themed-condition{gap:10px}.themed-calendar{width:66px}.themed-match strong{font-size:11px}.themed-match small{font-size:10px}.themed-dice-grid{border-spacing:2px}.themed-dice-grid td{padding:9px 1px;font-size:13px}.themed-triangle-rule{flex-direction:column;gap:10px}.themed-triangle-rule>svg{width:160px;max-width:100%}}
