.nucleolus-lab{--nuc-ink:var(--sl-black);--nuc-muted:var(--sl-black);--nuc-border:var(--sl-blue);--nuc-accent:var(--sl-blue);--nuc-soft:var(--sl-yellow);--nuc-good:var(--sl-blue);--nuc-bad:var(--sl-red);--nuc-warn:var(--sl-token-gold)}.nucleolus-header-actions{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.nucleolus-header-actions span,.nucleolus-header-actions b{border:1px solid var(--sl-blue);background:var(--sl-yellow);color:var(--nuc-accent);border-radius:999px;padding:.32rem .55rem;font-size:.72rem}.nucleolus-intro{gap:.7rem;margin:0 0 1rem;display:grid}.nucleolus-roadmap{border:1px solid var(--nuc-border);background:var(--sl-yellow);border-radius:10px;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:.55rem;padding:.75rem;display:grid}.nucleolus-roadmap>div{grid-template-columns:auto 1fr;align-items:center;gap:.08rem .48rem;display:grid}.nucleolus-roadmap>div>span{background:var(--sl-yellow);width:1.8rem;height:1.8rem;color:var(--nuc-accent);border-radius:50%;grid-row:1/3;place-items:center;font-weight:900;display:grid}.nucleolus-roadmap strong{font-size:.78rem}.nucleolus-roadmap small{color:var(--nuc-muted);font-size:.68rem}.nucleolus-roadmap>b{color:var(--sl-black)}.nucleolus-core-bridge{border-left:3px solid var(--nuc-accent);background:var(--nuc-soft);border-radius:0 9px 9px 0;grid-template-columns:1fr auto 1fr;align-items:center;gap:.7rem;padding:.7rem .85rem;display:grid}.nucleolus-core-bridge>div{gap:.1rem;display:grid}.nucleolus-core-bridge span{color:var(--nuc-muted);font-size:.76rem}.nucleolus-model-stack,.nucleolus-results-stack{gap:.8rem;display:grid}.nucleolus-example{gap:.25rem;font-size:.75rem;font-weight:800;display:grid}.nucleolus-player-editor{gap:.45rem;display:grid}.nucleolus-player-editor header{justify-content:space-between;align-items:flex-start;gap:.7rem;display:flex}.nucleolus-player-editor header div{gap:.1rem;display:grid}.nucleolus-player-editor small{color:var(--nuc-muted)}.nucleolus-player-row{grid-template-columns:auto 1fr auto;align-items:center;gap:.45rem;display:grid}.nucleolus-player-row>span{background:var(--sl-yellow);width:2rem;height:2rem;color:var(--nuc-accent);border-radius:50%;place-items:center;font-size:.72rem;font-weight:900;display:grid}.nucleolus-player-row input{min-width:0}.nucleolus-inline-error,.nucleolus-domain-warning{border:1px solid var(--sl-red);background:var(--sl-yellow);color:var(--sl-red);border-radius:8px;padding:.65rem .75rem}.nucleolus-inline-error ul{margin:.35rem 0 0;padding-left:1.1rem}.nucleolus-refreshing{background:var(--sl-yellow);color:var(--nuc-accent);border-radius:8px;padding:.58rem .7rem}.nucleolus-card,.nucleolus-complaint-chart,.nucleolus-headline,.nucleolus-next{border:1px solid var(--nuc-border);background:var(--sl-yellow);border-radius:10px;padding:.85rem}.nucleolus-card-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.nucleolus-card-heading h3{margin:.02rem 0}.nucleolus-card-heading p{color:var(--nuc-muted);margin:.18rem 0}.nucleolus-candidate-actions{flex-wrap:wrap;gap:.4rem;display:flex}.nucleolus-candidate-inputs{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.55rem;margin-top:.65rem;display:grid}.nucleolus-candidate-inputs label{gap:.25rem;display:grid}.nucleolus-candidate-inputs label>span{font-size:.72rem;font-weight:800}.nucleolus-candidate-inputs label.is-invalid input{border-color:var(--sl-red)}.nucleolus-candidate-inputs small{color:var(--nuc-bad)}.nucleolus-candidate-total{border-top:1px solid var(--sl-blue);justify-content:space-between;gap:1rem;margin-top:.65rem;padding-top:.55rem;display:flex}.nucleolus-geometry-toolbar{flex-wrap:wrap;gap:.55rem;margin-bottom:.6rem;display:flex}.nucleolus-geometry-toolbar label{border:1px solid var(--sl-blue);background:var(--sl-yellow);border-radius:7px;align-items:center;gap:.3rem;padding:.35rem .48rem;font-size:.72rem;font-weight:800;display:flex}.nucleolus-geometry-legend,.nucleolus-lattice-legend{color:var(--nuc-muted);flex-wrap:wrap;gap:.75rem;margin-top:.55rem;font-size:.7rem;font-weight:800;display:flex}.nucleolus-empty-domain{border:1px solid var(--sl-blue);background:var(--sl-yellow);border-radius:9px;padding:.8rem}.nucleolus-empty-domain p{margin:.28rem 0 0}.core-overlay-region{stroke-width:2px;vector-effect:non-scaling-stroke}.core-overlay-region.is-least-core{fill:var(--sl-yellow);stroke:var(--sl-blue);stroke-dasharray:7 5}.core-overlay-region.is-stage{fill:var(--sl-yellow);stroke:var(--sl-token-gold);stroke-dasharray:3 4}.core-overlay-point circle{fill:var(--sl-yellow);stroke-width:3px}.core-overlay-point.is-nucleolus circle{fill:var(--sl-yellow);stroke:var(--sl-blue)}.core-overlay-point.is-nucleolus text{fill:var(--sl-blue);font-weight:900}.nucleolus-complaint-chart{margin-top:.8rem}.nucleolus-follow-worst{align-items:center;gap:.35rem;font-size:.72rem;font-weight:800;display:flex}.excess-bar-chart{gap:.35rem;margin-top:.65rem;display:grid}.excess-bar-row{text-align:left;width:100%;color:inherit;background:0 0;border:1px solid #0000;border-radius:8px;grid-template-columns:2rem minmax(4.5rem,.7fr) minmax(10rem,2fr) 5rem auto;align-items:center;gap:.5rem;padding:.42rem .5rem;display:grid}.excess-bar-row:hover,.excess-bar-row.is-selected{background:var(--sl-yellow);border-color:var(--sl-blue)}.excess-bar-rank{background:var(--sl-yellow);border-radius:50%;place-items:center;width:1.55rem;height:1.55rem;font-size:.68rem;font-weight:900;display:grid}.excess-bar-axis{background:var(--sl-yellow);border-radius:999px;height:.78rem;position:relative;overflow:hidden}.excess-zero-line{background:var(--sl-yellow);width:1px;position:absolute;top:0;bottom:0;left:50%}.excess-bar-fill{border-radius:999px;position:absolute;top:.13rem;bottom:.13rem}.excess-bar-fill.is-positive{background:var(--sl-red)}.excess-bar-fill.is-negative,.excess-bar-fill.is-zero{background:var(--sl-blue)}.excess-bar-value{text-align:right;font-variant-numeric:tabular-nums;font-weight:850}.excess-bar-row small{color:var(--nuc-accent);font-size:.65rem;font-weight:850}.excess-bar-more,.excess-chart-empty{color:var(--nuc-muted);font-size:.74rem}.excess-chart-empty{background:var(--sl-yellow);border-radius:7px;padding:.7rem}.nucleolus-headline{border-left:4px solid var(--nuc-accent);gap:.7rem;display:grid}.nucleolus-headline>div:first-child{gap:.15rem;display:grid}.nucleolus-headline>div:first-child>span,.nucleolus-headline article span,.nucleolus-headline-status span{color:var(--nuc-muted);font-size:.7rem}.nucleolus-headline>div:first-child>strong{color:var(--sl-blue);font-size:1.65rem}.nucleolus-headline-grid{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.5rem;display:grid}.nucleolus-headline article{background:var(--sl-yellow);border-radius:8px;gap:.08rem;padding:.6rem;display:grid}.nucleolus-headline article strong{font-size:1.1rem}.nucleolus-headline-status{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.45rem;display:grid}.nucleolus-headline-status>div{border:1px solid var(--sl-blue);border-radius:8px;gap:.05rem;padding:.5rem;display:grid}.nucleolus-headline-status .is-good,.nucleolus-headline-status .is-bad,.nucleolus-headline-status .is-warn{background:var(--sl-yellow)}.nucleolus-empty-core-note{background:var(--sl-yellow);border-radius:8px;margin:0;padding:.6rem}.nucleolus-status{white-space:nowrap;border-radius:999px;padding:.3rem .5rem;font-size:.67rem;font-weight:900}.nucleolus-status.is-good{background:var(--sl-yellow);color:var(--nuc-good)}.nucleolus-status.is-bad{background:var(--sl-yellow);color:var(--nuc-bad)}.nucleolus-status.is-warn{background:var(--sl-yellow);color:var(--nuc-warn)}.nucleolus-check-grid{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.45rem;margin:.65rem 0;display:grid}.nucleolus-check-grid>div{background:var(--sl-yellow);border-radius:7px;justify-content:space-between;gap:.6rem;padding:.48rem .55rem;display:flex}.nucleolus-check-grid>div.is-good strong{color:var(--nuc-good)}.nucleolus-check-grid>div.is-bad strong{color:var(--nuc-bad)}.nucleolus-analysis-dl{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.45rem;margin:.65rem 0 0;display:grid}.nucleolus-analysis-dl>div{border:1px solid var(--sl-blue);border-radius:7px;gap:.08rem;padding:.5rem;display:grid}.nucleolus-analysis-dl dt{color:var(--nuc-muted);font-size:.68rem}.nucleolus-analysis-dl dd{margin:0;font-weight:850}.nucleolus-why{background:var(--sl-yellow);border-radius:7px;padding:.55rem .65rem}.nucleolus-stage-nav{grid-template-columns:auto 1fr auto;align-items:center;gap:.7rem;margin:.7rem 0;display:grid}.nucleolus-stage-nav>div{text-align:center;gap:.1rem;display:grid}.nucleolus-stage-nav span{color:var(--nuc-muted);font-size:.72rem}.nucleolus-stage-metrics{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.45rem;display:grid}.nucleolus-stage-metrics>div{background:var(--sl-yellow);border-radius:7px;gap:.08rem;padding:.5rem;display:grid}.nucleolus-stage-metrics span{color:var(--nuc-muted);font-size:.66rem}.nucleolus-stage-coalitions{flex-wrap:wrap;align-items:center;gap:.4rem;margin:.65rem 0;display:flex}.nucleolus-stage-coalitions>span{color:var(--nuc-muted);font-size:.7rem}.nucleolus-stage-coalitions button{border:1px solid var(--sl-blue);background:var(--sl-yellow);border-radius:999px;padding:.25rem .45rem}.nucleolus-stage-track{grid-template-columns:repeat(auto-fit,minmax(6rem,1fr));gap:.35rem;margin-top:.65rem;display:grid}.nucleolus-stage-track button{text-align:left;border:1px solid var(--sl-blue);background:var(--sl-yellow);border-radius:8px;gap:.05rem;padding:.45rem;display:grid}.nucleolus-stage-track button.is-active{border-color:var(--sl-blue);background:var(--sl-yellow)}.nucleolus-stage-track button>span{background:var(--sl-yellow);width:1.4rem;height:1.4rem;color:var(--nuc-accent);border-radius:50%;place-items:center;font-weight:900;display:grid}.nucleolus-stage-track small{color:var(--nuc-muted)}.nucleolus-filter-tabs{flex-wrap:wrap;gap:.35rem;margin:.65rem 0;display:flex}.nucleolus-filter-tabs button{border:1px solid var(--sl-blue);background:var(--sl-yellow);border-radius:7px;padding:.38rem .52rem;font-weight:760}.nucleolus-filter-tabs button.is-active{background:var(--sl-yellow);border-color:var(--sl-blue);color:var(--sl-red)}.nucleolus-table-wrap{overflow:auto}.nucleolus-table-wrap table{border-collapse:collapse;width:100%}.nucleolus-table-wrap th,.nucleolus-table-wrap td{border-bottom:1px solid var(--sl-blue);text-align:right;white-space:nowrap;padding:.47rem .5rem}.nucleolus-table-wrap th:first-child,.nucleolus-table-wrap td:first-child{text-align:left}.nucleolus-table-wrap tbody tr.is-selected{background:var(--sl-yellow)}.nucleolus-table-wrap tbody th button{color:var(--nuc-accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:850}.nucleolus-allocation-comparison,.nucleolus-vector-comparison{grid-template-columns:1fr 1fr;gap:.5rem;margin:.65rem 0;display:grid}.nucleolus-allocation-comparison>div,.nucleolus-vector-comparison>div{background:var(--sl-yellow);border-radius:8px;gap:.12rem;padding:.6rem;display:grid}.nucleolus-allocation-comparison span,.nucleolus-vector-comparison span{color:var(--nuc-muted);font-size:.68rem}.nucleolus-vector-comparison code{white-space:normal;word-break:break-word}.nucleolus-lex-result{border-radius:8px;flex-wrap:wrap;align-items:center;gap:.65rem;padding:.6rem;display:flex}.nucleolus-lex-result.is-worse{background:var(--sl-yellow);color:var(--sl-red)}.nucleolus-lex-result.is-equal,.nucleolus-lex-result.is-better{background:var(--sl-yellow);color:var(--sl-black)}.nucleolus-lex-result.is-unknown{background:var(--sl-yellow)}.nucleolus-lex-result p{width:100%;margin:.15rem 0}.nucleolus-lattice-search{gap:.25rem;max-width:22rem;margin:.65rem 0;font-size:.72rem;font-weight:800;display:grid}.nucleolus-muted{color:var(--nuc-muted)}.nucleolus-calculations{border-top:1px solid var(--sl-blue);padding-top:.65rem}.nucleolus-calculations summary{cursor:pointer;font-weight:850}.nucleolus-calculations>div{gap:.25rem;padding-top:.4rem;display:grid}.nucleolus-calculations p{margin:.1rem 0}.nucleolus-next div{flex-wrap:wrap;justify-content:space-between;gap:1rem;margin-top:.45rem;display:flex}.nucleolus-next a{font-weight:850}.nucleolus-lab button:focus-visible,.nucleolus-lab input:focus-visible,.nucleolus-lab select:focus-visible,.nucleolus-lab summary:focus-visible,.nucleolus-lab [role=treeitem]:focus-visible{outline:3px solid var(--sl-blue);outline-offset:2px}@media (max-width:900px){.nucleolus-roadmap{grid-template-columns:1fr}.nucleolus-roadmap>b{justify-self:center;transform:rotate(90deg)}.nucleolus-core-bridge{grid-template-columns:1fr}.nucleolus-core-bridge>b{justify-self:center;transform:rotate(90deg)}.nucleolus-card-heading{display:grid}.nucleolus-stage-nav{grid-template-columns:1fr 1fr}.nucleolus-stage-nav>div{grid-area:1/1/auto/3}.excess-bar-row{grid-template-columns:2rem minmax(4rem,.6fr) 1.5fr 4.5rem}.excess-bar-row small{grid-column:2/5}.nucleolus-allocation-comparison,.nucleolus-vector-comparison{grid-template-columns:1fr}}@media (max-width:560px){.nucleolus-player-row{grid-template-columns:auto 1fr}.nucleolus-player-row button{grid-column:2}.nucleolus-candidate-inputs{grid-template-columns:1fr}.nucleolus-geometry-toolbar{grid-template-columns:1fr 1fr;display:grid}.excess-bar-row{grid-template-columns:2rem 1fr 4.5rem}.excess-bar-axis,.excess-bar-row small{grid-column:2/4}.nucleolus-table-wrap table{min-width:650px}.nucleolus-stage-nav{grid-template-columns:1fr}.nucleolus-stage-nav>div{grid-area:1/1}.nucleolus-stage-track{grid-template-columns:1fr 1fr}.nucleolus-headline>div:first-child>strong{font-size:1.3rem}}@media (prefers-reduced-motion:reduce){.nucleolus-lab *{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.core-overlay-star{pointer-events:none;font-size:13px;font-weight:900;fill:var(--sl-blue)!important}
.solution-comparison-lab{--sc-ink:var(--sl-black);--sc-muted:var(--sl-black);--sc-border:var(--sl-blue);--sc-soft:var(--sl-yellow);--sc-core:var(--sl-blue);--sc-shapley:var(--sl-blue);--sc-nucleolus:var(--sl-blue);--sc-reference:var(--sl-token-gold);--sc-bad:var(--sl-red);--sc-good:var(--sl-blue);--sc-warn:var(--sl-token-gold)}.solution-comparison-header-actions{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.solution-comparison-header-actions span,.solution-comparison-header-actions b{border:1px solid var(--sl-blue);background:var(--sl-yellow);color:var(--sl-black);border-radius:999px;padding:.32rem .55rem;font-size:.72rem}.solution-comparison-intro{gap:.7rem;margin:0 0 1rem;display:grid}.solution-comparison-roadmap{border:1px solid var(--sc-border);background:var(--sl-yellow);border-radius:10px;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:.55rem;padding:.75rem;display:grid}.solution-comparison-roadmap>div{grid-template-columns:auto 1fr;align-items:center;gap:.08rem .48rem;display:grid}.solution-comparison-roadmap>div>span{background:var(--sl-yellow);width:1.8rem;height:1.8rem;color:var(--sl-blue);border-radius:50%;grid-row:1/3;place-items:center;font-weight:900;display:grid}.solution-comparison-roadmap strong{font-size:.78rem}.solution-comparison-roadmap small{color:var(--sc-muted);font-size:.68rem}.solution-comparison-roadmap>b{color:var(--sl-black)}.solution-comparison-bridge{border-left:3px solid var(--sl-blue);background:var(--sl-yellow);border-radius:0 9px 9px 0;align-items:center;gap:.7rem;padding:.72rem .85rem;display:flex}.solution-comparison-bridge span{color:var(--sc-muted);font-size:.78rem}.solution-comparison-model-stack,.solution-comparison-results-stack{gap:.8rem;display:grid}.solution-comparison-example{gap:.25rem;font-size:.75rem;font-weight:800;display:grid}.solution-comparison-player-editor{gap:.45rem;display:grid}.solution-comparison-player-editor header{justify-content:space-between;align-items:flex-start;gap:.7rem;display:flex}.solution-comparison-player-editor header div{gap:.08rem;display:grid}.solution-comparison-player-editor small{color:var(--sc-muted)}.solution-comparison-player-row{grid-template-columns:auto 1fr auto;align-items:center;gap:.45rem;display:grid}.solution-comparison-player-row>span{background:var(--sl-yellow);width:2rem;height:2rem;color:var(--sl-blue);border-radius:50%;place-items:center;font-size:.72rem;font-weight:900;display:grid}.solution-comparison-player-row input{min-width:0}.solution-comparison-secondary-link{font-size:.76rem;font-weight:850}.solution-comparison-inline-error{border:1px solid var(--sl-red);background:var(--sl-yellow);color:var(--sl-red);border-radius:8px;padding:.65rem .75rem}.solution-comparison-inline-error ul{margin:.35rem 0 0;padding-left:1.1rem}.solution-comparison-refreshing{background:var(--sl-yellow);color:var(--sl-black);border-radius:8px;padding:.58rem .7rem}.solution-comparison-card,.solution-comparison-next{border:1px solid var(--sc-border);background:var(--sl-yellow);border-radius:10px;padding:.85rem}.solution-comparison-card-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.solution-comparison-card-heading h3,.solution-comparison-card-heading h4{margin:.02rem 0}.solution-comparison-card-heading p{color:var(--sc-muted);margin:.18rem 0}.solution-comparison-reference-grid{grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));gap:.5rem;margin-top:.65rem;display:grid}.solution-comparison-reference-grid label{gap:.25rem;display:grid}.solution-comparison-reference-grid label>span{font-size:.7rem;font-weight:800}.solution-comparison-reference-grid label.is-invalid input{border-color:var(--sl-red)}.solution-comparison-reference-grid small{color:var(--sc-bad)}.solution-comparison-reference-total{border-top:1px solid var(--sl-blue);justify-content:space-between;gap:1rem;margin-top:.65rem;padding-top:.55rem;display:flex}.solution-comparison-inline-actions{flex-wrap:wrap;gap:.35rem;display:flex}.solution-comparison-inline-actions button{font-size:.7rem}.solution-comparison-geometry-toolbar{flex-wrap:wrap;gap:.45rem;margin-bottom:.6rem;display:flex}.solution-comparison-geometry-toolbar label{border:1px solid var(--sl-blue);background:var(--sl-yellow);border-radius:7px;align-items:center;gap:.3rem;padding:.35rem .48rem;font-size:.71rem;font-weight:800;display:flex}.solution-comparison-geometry-legend{color:var(--sc-muted);flex-wrap:wrap;gap:.75rem;margin-top:.55rem;font-size:.7rem;font-weight:800;display:flex}.solution-comparison-concepts{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;display:grid}.solution-concept-card{text-align:left;border:1px solid var(--sc-border);background:var(--sl-yellow);color:inherit;border-radius:10px;gap:.15rem;padding:.78rem;display:grid}.solution-concept-card:hover,.solution-concept-card.is-active{box-shadow:none;transform:translateY(-1px)}.solution-concept-card>span{color:var(--sc-muted);text-transform:uppercase;letter-spacing:.05em;font-size:.68rem}.solution-concept-card>strong{font-size:1rem}.solution-concept-card>b{overflow-wrap:anywhere;font-size:.87rem}.solution-concept-card>small{color:var(--sc-muted);line-height:1.35}.solution-concept-card.is-core{border-top:4px solid var(--sc-core)}.solution-concept-card.is-shapley{border-top:4px solid var(--sc-shapley)}.solution-concept-card.is-nucleolus{border-top:4px solid var(--sc-nucleolus)}.solution-concept-card.is-active{outline:2px solid var(--sl-blue);outline-offset:1px}.solution-comparison-summary-grid{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.5rem;display:grid}.solution-comparison-summary-grid article{border:1px solid var(--sl-blue);background:var(--sl-yellow);border-radius:8px;gap:.08rem;padding:.62rem;display:grid}.solution-comparison-summary-grid span{color:var(--sc-muted);font-size:.68rem}.solution-comparison-summary-grid strong{font-size:1rem}.solution-comparison-summary-grid small{color:var(--sc-muted);font-size:.66rem}.solution-comparison-table-wrap{margin-top:.65rem;overflow:auto}.solution-comparison-table-wrap table{border-collapse:collapse;width:100%}.solution-comparison-table-wrap th,.solution-comparison-table-wrap td{border-bottom:1px solid var(--sl-blue);text-align:right;white-space:nowrap;padding:.48rem .52rem}.solution-comparison-table-wrap th:first-child,.solution-comparison-table-wrap td:first-child{text-align:left}.solution-comparison-table-wrap tbody tr.is-selected{background:var(--sl-yellow)}.solution-comparison-table-wrap tbody th button{color:var(--sl-blue);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:850}.solution-comparison-player-focus{background:var(--sl-yellow);border-radius:8px;gap:.5rem;margin-top:.65rem;padding:.65rem;display:grid}.solution-comparison-player-focus dl{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.45rem;margin:0;display:grid}.solution-comparison-player-focus dl>div{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:7px;gap:.05rem;padding:.45rem;display:grid}.solution-comparison-player-focus dt{color:var(--sc-muted);font-size:.65rem}.solution-comparison-player-focus dd{margin:0;font-weight:850}.solution-comparison-excess-grid{grid-template-columns:1fr 1fr;gap:.75rem;margin-top:.65rem;display:grid}.solution-comparison-excess-grid>div{border:1px solid var(--sl-blue);border-radius:8px;min-width:0;padding:.65rem}.solution-comparison-excess-grid h4{margin:.05rem 0}.solution-comparison-excess-grid p{color:var(--sc-muted);margin:.25rem 0}.coalition-lens-grid{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.5rem;margin:.65rem 0;display:grid}.coalition-lens-grid article{background:var(--sl-yellow);border-radius:8px;gap:.08rem;padding:.58rem;display:grid}.coalition-lens-grid span,.coalition-lens-grid small{color:var(--sc-muted);font-size:.67rem}.coalition-lens-grid strong{font-size:.9rem}.solution-comparison-check-grid{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.45rem;margin:.65rem 0;display:grid}.solution-comparison-check-grid>div{background:var(--sl-yellow);border-radius:7px;justify-content:space-between;gap:.5rem;padding:.5rem;display:flex}.solution-comparison-reference-diff{background:var(--sl-yellow);border-radius:8px;gap:.3rem;padding:.58rem;display:grid}.solution-comparison-reference-diff code{white-space:normal;overflow-wrap:anywhere}.solution-comparison-status{border-radius:999px;padding:.3rem .5rem;font-size:.67rem;font-weight:900}.solution-comparison-status.is-warn{background:var(--sl-yellow);color:var(--sc-warn)}.solution-comparison-detail-links{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin-top:.65rem;display:grid}.solution-comparison-detail-links a{border:1px solid var(--sl-blue);background:var(--sl-yellow);border-radius:8px;gap:.1rem;padding:.65rem;display:grid}.solution-comparison-detail-links span{color:var(--sc-muted);font-size:.7rem}.solution-comparison-three-questions{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.solution-comparison-three-questions article{border:1px solid var(--sl-blue);border-radius:8px;gap:.12rem;padding:.65rem;display:grid}.solution-comparison-three-questions span{color:var(--sc-muted);font-size:.75rem}.solution-comparison-next{margin-top:.8rem}.solution-comparison-next p{color:var(--sc-muted)}.solution-comparison-next div{flex-wrap:wrap;justify-content:space-between;gap:1rem;display:flex}.solution-comparison-muted{color:var(--sc-muted)}.solution-comparison-lab button:focus-visible,.solution-comparison-lab input:focus-visible,.solution-comparison-lab select:focus-visible,.solution-comparison-lab a:focus-visible{outline:3px solid var(--sl-blue);outline-offset:2px}.core-overlay-point.is-shapley circle{fill:var(--sl-yellow);stroke:var(--sl-blue)}.core-overlay-point.is-shapley text{fill:var(--sl-blue);font-weight:900}.core-overlay-point.is-reference circle{fill:var(--sl-yellow);stroke:var(--sl-token-gold)}.core-overlay-point.is-reference text{fill:var(--sl-blue);font-weight:900}.core-overlay-symbol{pointer-events:none;font-size:12px;font-weight:900}.core-high-dimensional-points{grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:.45rem;margin-top:.55rem;display:grid}.core-high-dimensional-points article{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:7px;gap:.12rem;padding:.5rem;display:grid}.core-high-dimensional-points code{white-space:normal;overflow-wrap:anywhere}@media (max-width:980px){.solution-comparison-roadmap{grid-template-columns:1fr 1fr}.solution-comparison-roadmap>b{display:none}.solution-comparison-concepts,.solution-comparison-detail-links,.solution-comparison-three-questions,.solution-comparison-excess-grid{grid-template-columns:1fr}}@media (max-width:680px){.solution-comparison-roadmap{grid-template-columns:1fr}.solution-comparison-bridge{flex-direction:column;align-items:flex-start}.solution-comparison-player-editor header,.solution-comparison-card-heading{flex-direction:column}.solution-comparison-player-row{grid-template-columns:auto minmax(0,1fr)}.solution-comparison-player-row button{grid-column:2}.solution-comparison-reference-grid,.solution-comparison-summary-grid{grid-template-columns:1fr 1fr}.solution-comparison-table-wrap{max-width:100%}.solution-comparison-inline-actions{width:100%}.solution-comparison-inline-actions button{flex:auto}.solution-comparison-geometry-toolbar{grid-template-columns:1fr 1fr;display:grid}.solution-comparison-next div{flex-direction:column}.solution-comparison-excesses .excess-bar-row{grid-template-columns:1.6rem 4rem minmax(7rem,1fr) 4.4rem}.solution-comparison-excesses .excess-bar-row small{display:none}}@media (max-width:440px){.solution-comparison-reference-grid,.solution-comparison-summary-grid,.solution-comparison-geometry-toolbar{grid-template-columns:1fr}.solution-comparison-geometry-legend{grid-template-columns:1fr 1fr;display:grid}.solution-comparison-excesses .excess-bar-row{grid-template-columns:1.5rem 3.7rem minmax(5.5rem,1fr) 4rem;padding:.35rem}.solution-comparison-player-focus dl,.coalition-lens-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.solution-concept-card{transition:none!important;transform:none!important}.solution-comparison-lab *{scroll-behavior:auto!important}}
.behavioral-strategies-lab{--behavioral-ink:var(--sl-blue);--behavioral-muted:var(--sl-blue);--behavioral-border:var(--sl-yellow);--behavioral-soft:var(--sl-yellow);--behavioral-accent:var(--sl-blue);--behavioral-warn:var(--sl-blue);--behavioral-bad:var(--sl-red)}.behavioral-strategies-lab .lab-workspace{grid-template-columns:minmax(0,1fr);align-items:start}.behavioral-strategies-lab.behavioral-active .lab-workspace{grid-template-columns:minmax(290px,.48fr) minmax(560px,1.52fr)}.behavioral-strategies-lab .lab-workspace>*{align-self:start;min-width:0}.behavioral-example-actions,.behavioral-reset-actions,.behavioral-action-row,.behavioral-conversion-controls{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.behavioral-reset-actions{border-left:2px solid var(--sl-blue);padding-left:12px}.behavioral-help-button{width:36px;height:36px;padding:0;font-size:18px;font-weight:800;line-height:1;position:relative}.behavioral-help-button:after{background:var(--sl-blue);color:var(--sl-white);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;z-index:20;border-radius:4px;padding:6px 8px;font-size:12px;font-weight:600;transition:opacity .12s;position:absolute;bottom:-38px;left:50%;transform:translate(-50%)}.behavioral-help-button:hover:after,.behavioral-help-button:focus-visible:after{opacity:1}.behavioral-field,.behavioral-focus-row{gap:.3rem;display:grid}.behavioral-field>span,.behavioral-focus-row>span{color:var(--behavioral-muted);font-size:.72rem;font-weight:800}.behavioral-field select,.behavioral-field input,.behavioral-distribution-card input,.behavioral-conversion-stack input{border:1px solid var(--sl-blue);border-radius:7px;min-width:0;padding:.45rem .5rem}.behavioral-check-field{align-items:center;gap:.45rem;display:flex}.behavioral-check-field input{width:1rem;height:1rem}.behavioral-segmented{background:var(--sl-yellow);border-radius:8px;gap:.25rem;width:fit-content;padding:.25rem;display:flex}.behavioral-segmented button{color:var(--sl-black);background:0 0;border:0;border-radius:6px;padding:.45rem .6rem}.behavioral-segmented button.is-selected{background:var(--sl-yellow);color:var(--behavioral-ink)}.behavioral-editor-stack,.behavioral-results-stack,.behavioral-summary-stack,.behavioral-reach-stack,.behavioral-conversion-stack{gap:.75rem;display:grid}.behavioral-editor-stack{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.behavioral-command-row{justify-content:flex-end;margin-top:.75rem;display:flex}.behavioral-command-row button,.behavioral-control-stack>button,.behavioral-conversion-controls .primary-button{background:var(--sl-blue);border-color:var(--sl-blue);color:var(--sl-white);font-weight:700}.behavioral-control-stack{gap:.75rem;display:grid}.behavioral-strategy-editor{align-content:start;gap:.55rem;min-width:0;display:grid}.behavioral-strategy-editor header{justify-content:space-between;align-items:baseline;gap:.7rem;display:flex}.behavioral-strategy-editor h3{margin:0;font-size:1rem}.behavioral-strategy-editor header span,.behavioral-distribution-card small,.behavioral-benchmark span,.behavioral-benchmark small{color:var(--behavioral-muted);font-size:.72rem}.behavioral-distribution-card{background:var(--behavioral-soft);border:1px solid var(--sl-blue);border-radius:8px;gap:.45rem;padding:.65rem;display:grid}.behavioral-distribution-card>div:first-child{gap:.08rem;display:grid}.behavioral-probability-grid{grid-template-columns:repeat(auto-fit,minmax(7rem,1fr));gap:.45rem;display:grid}.behavioral-probability-grid label{gap:.22rem;display:grid}.behavioral-probability-grid span{color:var(--behavioral-muted);font-size:.7rem;font-weight:800}.behavioral-distribution-card .is-valid{color:var(--sl-blue)}.behavioral-distribution-card .is-invalid,.behavioral-validation-list p{color:var(--behavioral-bad)}.behavioral-validation-list{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:8px;gap:.25rem;padding:.65rem;display:grid}.behavioral-metric-grid,.behavioral-validation-summary{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.5rem;display:grid}.behavioral-payoff-summary{border-bottom:1px solid var(--behavioral-border);grid-template-columns:repeat(2,minmax(0,1fr));gap:0;display:grid}.behavioral-payoff-summary>div{gap:.15rem;padding:.35rem .75rem .75rem;display:grid}.behavioral-payoff-summary>div+div{border-left:1px solid var(--behavioral-border)}.behavioral-payoff-summary span{color:var(--behavioral-muted);font-size:.72rem;font-weight:700}.behavioral-payoff-summary strong{font-size:1.35rem}.behavioral-metric-grid>div,.behavioral-validation-summary article,.behavioral-benchmark,.behavioral-certificate{background:var(--behavioral-soft);border:1px solid var(--sl-blue);border-radius:8px;gap:.15rem;padding:.65rem;display:grid}.behavioral-metric-grid span,.behavioral-validation-summary small{color:var(--behavioral-muted);font-size:.68rem}.behavioral-metric-grid strong{overflow-wrap:anywhere}.behavioral-validation-summary span,.behavioral-certificate span{color:var(--sl-blue);font-size:.75rem;font-weight:800}.behavioral-table-wrap{max-width:100%;overflow:auto}.behavioral-table-wrap table{border-collapse:collapse;width:100%;min-width:680px}.behavioral-table-wrap th,.behavioral-table-wrap td{border-bottom:1px solid var(--sl-blue);text-align:right;vertical-align:top;white-space:nowrap;padding:.48rem .5rem}.behavioral-table-wrap th:first-child,.behavioral-table-wrap td:first-child{text-align:left}.behavioral-tree-wrap{background:var(--sl-yellow);border:1px solid var(--behavioral-border);border-radius:8px;overflow:hidden}.behavioral-tree-wrap svg{width:100%;min-height:320px;display:block}.behavioral-tree-edge line{stroke:var(--sl-blue);stroke-width:2px}.behavioral-tree-edge path{fill:var(--sl-yellow)}.behavioral-tree-edge text{fill:var(--sl-black);font-size:12px}.behavioral-tree-node circle{fill:var(--sl-white);stroke:var(--sl-blue);stroke-width:2px}.behavioral-tree-node.is-player circle{fill:var(--sl-yellow);stroke:var(--behavioral-accent)}.behavioral-tree-node.is-chance circle,.behavioral-tree-node.is-terminal circle{fill:var(--sl-yellow);stroke:var(--sl-blue)}.behavioral-tree-node text{fill:var(--behavioral-ink);font-size:12px;font-weight:800}.behavioral-tree-node .behavioral-tree-reach{fill:var(--behavioral-muted);font-size:11px;font-weight:700}.behavioral-certificate{border-left:3px solid var(--behavioral-accent)}.behavioral-explanation-toggle{gap:12px;display:grid}.behavioral-explanation-toggle>button{background:var(--sl-blue);border:1px solid var(--sl-blue);color:var(--sl-white);cursor:pointer;border-radius:6px;justify-self:start;padding:10px 16px;font-weight:800}.behavioral-help-backdrop{background:rgb(var(--sl-blue-rgb) / 72%);z-index:1000;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.behavioral-help-dialog{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:8px;gap:22px;width:100%;max-width:820px;max-height:calc(100vh - 48px);padding:24px;display:grid;overflow-y:auto;box-shadow:0 24px 70px #00000052}.behavioral-help-dialog>header{justify-content:space-between;align-items:start;display:flex}.behavioral-help-dialog>header span{color:var(--behavioral-accent);text-transform:uppercase;font-size:.75rem;font-weight:800}.behavioral-help-dialog h2,.behavioral-help-dialog h3{margin:0}.behavioral-help-dialog>header>button{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:24px;display:inline-flex}.behavioral-help-modes{border-bottom:1px solid var(--behavioral-border);border-top:1px solid var(--behavioral-border);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.behavioral-help-modes section{gap:7px;padding:16px;display:grid}.behavioral-help-modes section+section{border-left:1px solid var(--behavioral-border)}.behavioral-help-dialog p{color:var(--sl-black);margin:0;line-height:1.55}.behavioral-help-method{gap:8px;display:grid}@media (min-width:761px){.behavioral-strategies-lab .lab-header>:first-child{flex:410px}.behavioral-strategies-lab .lab-header>.lab-actions{flex:580px;justify-content:flex-end}}@media (max-width:900px){.behavioral-strategies-lab .lab-workspace,.behavioral-strategies-lab.behavioral-active .lab-workspace,.behavioral-editor-stack{grid-template-columns:1fr}.behavioral-strategy-editor header{flex-direction:column;align-items:flex-start}.behavioral-table-wrap table{min-width:560px}}@media (max-width:640px){.behavioral-strategies-lab .lab-tabs{flex-wrap:nowrap;overflow-x:auto}.behavioral-example-actions,.behavioral-reset-actions{align-items:stretch;width:100%}.behavioral-reset-actions{border-left:0;border-top:2px solid var(--sl-blue);padding-top:10px;padding-left:0}.behavioral-payoff-summary,.behavioral-help-modes{grid-template-columns:1fr}.behavioral-payoff-summary>div+div,.behavioral-help-modes section+section{border-left:0;border-top:1px solid var(--behavioral-border)}.behavioral-help-backdrop{align-items:flex-start;padding:12px}.behavioral-help-dialog{max-height:calc(100vh - 24px);padding:18px}}
.continuous-poker-lab{--poker-ink:var(--sl-black);--poker-muted:var(--sl-black);--poker-border:var(--sl-blue);--poker-soft:var(--sl-yellow);--poker-accent:var(--sl-blue);--poker-call:var(--sl-blue);--poker-check:var(--sl-blue);--poker-fold:var(--sl-blue)}.continuous-poker-lab .lab-workspace{grid-template-columns:minmax(0,1fr);align-items:start}.continuous-poker-lab.continuous-poker-active .lab-workspace{grid-template-columns:minmax(290px,.48fr) minmax(560px,1.52fr)}.continuous-poker-lab .lab-workspace>*{align-self:start;min-width:0}.continuous-poker-example-actions,.continuous-poker-reset-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.continuous-poker-reset-actions{border-left:2px solid var(--sl-blue);padding-left:12px}.continuous-poker-help-button{width:36px;height:36px;padding:0;font-size:18px;font-weight:800;line-height:1;position:relative}.continuous-poker-help-button:after{background:var(--sl-blue);color:var(--sl-white);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;z-index:20;border-radius:4px;padding:6px 8px;font-size:12px;font-weight:600;transition:opacity .12s;position:absolute;bottom:-38px;left:50%;transform:translate(-50%)}.continuous-poker-help-button:hover:after,.continuous-poker-help-button:focus-visible:after{opacity:1}.continuous-poker-form,.continuous-poker-strategy-stack,.continuous-poker-hand-stack,.continuous-poker-simulation-stack,.continuous-poker-sweep-stack,.continuous-poker-compare-stack,.continuous-poker-results{gap:.75rem;display:grid}.continuous-poker-form label,.continuous-poker-control-stack label{gap:.3rem;display:grid}.continuous-poker-form label>span,.continuous-poker-control-stack label>span{color:var(--poker-muted);font-size:.72rem;font-weight:800}.continuous-poker-form select,.continuous-poker-form input,.continuous-poker-control-stack select,.continuous-poker-control-stack input{border:1px solid var(--sl-blue);border-radius:7px;min-width:0;padding:.45rem .5rem}.continuous-poker-field-row{grid-template-columns:repeat(auto-fit,minmax(7rem,1fr));gap:.55rem;display:grid}.continuous-poker-command-row{justify-content:flex-end;margin-top:.75rem;display:flex}.continuous-poker-command-row button,.continuous-poker-control-stack>button{background:var(--sl-blue);border-color:var(--sl-blue);color:var(--sl-white);font-weight:700}.continuous-poker-control-stack{gap:.75rem;display:grid}.continuous-poker-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.continuous-poker-metric-grid{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.5rem;display:grid}.continuous-poker-strategy-stack>.continuous-poker-metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.continuous-poker-metric-grid>div,.continuous-poker-note,.continuous-poker-thresholds{background:var(--poker-soft);border:1px solid var(--sl-blue);border-radius:8px;gap:.18rem;padding:.65rem;display:grid}.continuous-poker-metric-grid span,.continuous-poker-note span{color:var(--poker-muted);font-size:.68rem}.continuous-poker-metric-grid strong,.continuous-poker-note span{overflow-wrap:anywhere}.continuous-poker-interval{border:1px solid var(--poker-border);border-radius:8px;gap:.55rem;padding:.75rem;display:grid}.continuous-poker-interval header{justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}.continuous-poker-interval h3,.continuous-poker-table-wrap h3,.continuous-poker-thresholds h3{margin:0;font-size:1rem}.continuous-poker-interval header span{color:var(--poker-muted);font-size:.72rem}.continuous-poker-interval-track{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:8px;height:3.25rem;position:relative;overflow:hidden}.continuous-poker-region{color:var(--sl-white);text-align:center;text-overflow:ellipsis;white-space:nowrap;justify-content:center;align-items:center;min-width:1.5rem;padding:0 .25rem;font-size:.72rem;font-weight:800;display:flex;position:absolute;top:0;bottom:0;overflow:hidden}.continuous-poker-region.is-bluff-bet{background:var(--sl-red);color:var(--sl-white)}.continuous-poker-region.is-value-bet{background:var(--sl-blue);color:var(--sl-white)}.continuous-poker-region.is-check{background:var(--sl-yellow);box-shadow:inset 0 0 0 2px var(--sl-blue);color:var(--sl-black)}.continuous-poker-region.is-fold{background:var(--sl-black);color:var(--sl-white)}.continuous-poker-region.is-call{background:var(--sl-token-gold);color:var(--sl-black)}.continuous-poker-ticks{color:var(--poker-muted);justify-content:space-between;font-size:.68rem;display:flex}.continuous-poker-thresholds dl{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.4rem;margin:0;display:grid}.continuous-poker-thresholds div{gap:.1rem;display:grid}.continuous-poker-thresholds dt{color:var(--poker-muted);font-size:.68rem;font-weight:800}.continuous-poker-thresholds dd{color:var(--poker-ink);margin:0;font-weight:800}.continuous-poker-table-wrap{max-width:100%;overflow:auto}.continuous-poker-table-wrap table{border-collapse:collapse;width:100%;min-width:680px}.continuous-poker-table-wrap th,.continuous-poker-table-wrap td{border-bottom:1px solid var(--sl-blue);text-align:right;vertical-align:top;white-space:nowrap;padding:.48rem .5rem}.continuous-poker-table-wrap th:first-child,.continuous-poker-table-wrap td:first-child{text-align:left}.continuous-poker-note{border-left:3px solid var(--poker-accent)}.continuous-poker-explanation-toggle{gap:12px;display:grid}.continuous-poker-explanation-toggle>button{background:var(--sl-blue);border:1px solid var(--sl-blue);color:var(--sl-white);cursor:pointer;border-radius:6px;justify-self:start;padding:10px 16px;font-weight:800}.continuous-poker-help-backdrop{background:rgb(var(--sl-blue-rgb) / 72%);z-index:1000;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.continuous-poker-help-dialog{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:8px;gap:22px;width:100%;max-width:960px;max-height:calc(100vh - 48px);padding:24px;display:grid;overflow-y:auto;box-shadow:0 24px 70px #00000052}.continuous-poker-help-dialog>header{justify-content:space-between;align-items:start;display:flex}.continuous-poker-help-dialog>header span{color:var(--poker-accent);text-transform:uppercase;font-size:.75rem;font-weight:800}.continuous-poker-help-dialog h2,.continuous-poker-help-dialog h3{margin:0}.continuous-poker-help-dialog>header>button{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:24px;display:inline-flex}.continuous-poker-help-modes{border-bottom:1px solid var(--poker-border);border-top:1px solid var(--poker-border);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.continuous-poker-help-modes section{gap:7px;padding:16px;display:grid}.continuous-poker-help-modes section+section{border-left:1px solid var(--poker-border)}.continuous-poker-help-dialog p{color:var(--sl-black);margin:0;line-height:1.55}.continuous-poker-help-method{gap:8px;display:grid}@media (min-width:761px){.continuous-poker-lab .lab-header>:first-child{flex:410px}.continuous-poker-lab .lab-header>.lab-actions{flex:580px;justify-content:flex-end}}@media (max-width:900px){.continuous-poker-lab .lab-workspace,.continuous-poker-lab.continuous-poker-active .lab-workspace{grid-template-columns:1fr}.continuous-poker-interval header{flex-direction:column;align-items:flex-start}.continuous-poker-table-wrap table{min-width:560px}}@media (max-width:640px){.continuous-poker-lab .lab-tabs{flex-wrap:nowrap;overflow-x:auto}.continuous-poker-example-actions,.continuous-poker-reset-actions{align-items:stretch;width:100%}.continuous-poker-reset-actions{border-left:0;border-top:2px solid var(--sl-blue);padding-top:10px;padding-left:0}.continuous-poker-help-backdrop{align-items:flex-start;padding:12px}.continuous-poker-help-dialog{max-height:calc(100vh - 24px);padding:18px}.continuous-poker-help-modes{grid-template-columns:1fr}.continuous-poker-help-modes section+section{border-left:0;border-top:1px solid var(--poker-border)}.continuous-poker-strategy-stack>.continuous-poker-metric-grid{grid-template-columns:1fr}}
.extensive-core-lab{--extensive-core-ink:var(--sl-blue);--extensive-core-muted:var(--sl-blue);--extensive-core-border:var(--sl-yellow);--extensive-core-soft:var(--sl-yellow);--extensive-core-accent:var(--sl-blue);--extensive-core-good:var(--sl-blue);--extensive-core-bad:var(--sl-red)}.extensive-core-lab .lab-workspace{grid-template-columns:minmax(0,1fr);align-items:start}.extensive-core-lab.extensive-core-active .lab-workspace{grid-template-columns:minmax(310px,.52fr) minmax(560px,1.48fr)}.extensive-core-lab .lab-workspace>*{align-self:start;min-width:0}.extensive-core-example-actions,.extensive-core-reset-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.extensive-core-reset-actions{border-left:2px solid var(--sl-blue);padding-left:12px}.extensive-core-help-button{width:36px;height:36px;padding:0;font-size:18px;font-weight:800;line-height:1;position:relative}.extensive-core-help-button:after{background:var(--sl-blue);color:var(--sl-white);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;z-index:20;border-radius:4px;padding:6px 8px;font-size:12px;font-weight:600;transition:opacity .12s;position:absolute;bottom:-38px;left:50%;transform:translate(-50%)}.extensive-core-help-button:hover:after,.extensive-core-help-button:focus-visible:after{opacity:1}.extensive-core-form,.extensive-core-stack,.extensive-core-results{gap:.75rem;display:grid}.extensive-core-form label,.extensive-core-tool-grid label,.extensive-core-control-stack label,.extensive-core-preview-controls label{gap:.3rem;display:grid}.extensive-core-form label>span,.extensive-core-tool-grid label>span,.extensive-core-control-stack label>span,.extensive-core-preview-controls label>span{color:var(--extensive-core-muted);font-size:.72rem;font-weight:800}.extensive-core-form select,.extensive-core-form input,.extensive-core-tool-grid select,.extensive-core-tool-grid input,.extensive-core-control-stack select,.extensive-core-control-stack input,.extensive-core-preview-controls select,.extensive-core-preview-controls input{border:1px solid var(--sl-blue);border-radius:7px;min-width:0;padding:.45rem .5rem}.extensive-core-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.extensive-core-command-row{justify-content:flex-end;margin-top:.75rem;display:flex}.extensive-core-command-row button,.extensive-core-control-stack>button,.extensive-core-preview-controls>button{background:var(--sl-blue);border-color:var(--sl-blue);color:var(--sl-white);font-weight:700}.extensive-core-preview-controls>button:disabled{background:var(--sl-yellow);border-color:var(--sl-blue);color:var(--sl-black)}.extensive-core-control-stack,.extensive-core-preview-controls{gap:.75rem;display:grid}.extensive-core-tool-grid{grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr));align-items:end;gap:.55rem;display:grid}.extensive-core-metric-grid{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.5rem;display:grid}.extensive-core-metric-grid>div,.extensive-core-note,.extensive-core-compat,.extensive-core-path-list article,.extensive-core-issue-list article{background:var(--extensive-core-soft);border:1px solid var(--sl-blue);border-radius:8px;gap:.18rem;padding:.65rem;display:grid}.extensive-core-metric-grid span,.extensive-core-note span,.extensive-core-compat span,.extensive-core-path-list span,.extensive-core-path-list small,.extensive-core-issue-list span{color:var(--extensive-core-muted);font-size:.68rem}.extensive-core-metric-grid strong,.extensive-core-note span,.extensive-core-compat span,.extensive-core-path-list strong,.extensive-core-issue-list strong,.extensive-core-issue-list p{overflow-wrap:anywhere}.extensive-core-tree-wrap{background:var(--sl-yellow);border:1px solid var(--extensive-core-border);border-radius:8px;overflow:hidden}.extensive-core-tree-wrap svg{width:100%;min-height:320px;display:block}.extensive-core-tree-edge line{stroke:var(--sl-blue);stroke-width:2px}.extensive-core-tree-edge path{fill:var(--sl-yellow)}.extensive-core-tree-edge text{fill:var(--sl-black);font-size:12px}.extensive-core-tree-edge.is-selected line{stroke:var(--extensive-core-accent);stroke-width:3px}.extensive-core-tree-node circle{fill:var(--sl-white);stroke:var(--sl-blue);stroke-width:2px}.extensive-core-tree-node.is-player circle{fill:var(--sl-yellow);stroke:var(--extensive-core-accent)}.extensive-core-tree-node.is-chance circle,.extensive-core-tree-node.is-terminal circle{fill:var(--sl-yellow);stroke:var(--sl-blue)}.extensive-core-tree-node.is-selected circle{stroke:var(--sl-red);stroke-width:4px}.extensive-core-tree-node text{fill:var(--extensive-core-ink);font-size:12px;font-weight:800}.extensive-core-tree-node .extensive-core-tree-sub{fill:var(--extensive-core-muted);font-size:11px;font-weight:700}.extensive-core-path-list{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.5rem;display:grid}.extensive-core-table-wrap{max-width:100%;overflow:auto}.extensive-core-table-wrap h3{margin:0 0 .5rem;font-size:1rem}.extensive-core-table-wrap table{border-collapse:collapse;width:100%;min-width:680px}.extensive-core-table-wrap th,.extensive-core-table-wrap td{border-bottom:1px solid var(--sl-blue);text-align:right;vertical-align:top;white-space:nowrap;padding:.48rem .5rem}.extensive-core-table-wrap th:first-child,.extensive-core-table-wrap td:first-child{text-align:left}.extensive-core-note,.extensive-core-compat{border-left:3px solid var(--extensive-core-accent)}.extensive-core-compat.is-valid{border-left-color:var(--extensive-core-good)}.extensive-core-compat.is-invalid{border-left-color:var(--extensive-core-bad)}.extensive-core-compat.is-valid strong{color:var(--extensive-core-good)}.extensive-core-compat.is-invalid strong{color:var(--extensive-core-bad)}.extensive-core-issue-list{gap:.5rem;display:grid}.extensive-core-issue-list p{margin:0}.extensive-core-explanation-toggle{gap:12px;display:grid}.extensive-core-explanation-toggle>button{background:var(--sl-blue);border:1px solid var(--sl-blue);color:var(--sl-white);cursor:pointer;border-radius:6px;justify-self:start;padding:10px 16px;font-weight:800}.extensive-core-help-backdrop{background:rgb(var(--sl-blue-rgb) / 72%);z-index:1000;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.extensive-core-help-dialog{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:8px;gap:22px;width:100%;max-width:960px;max-height:calc(100vh - 48px);padding:24px;display:grid;overflow-y:auto;box-shadow:0 24px 70px #00000052}.extensive-core-help-dialog>header{justify-content:space-between;align-items:start;display:flex}.extensive-core-help-dialog>header span{color:var(--extensive-core-accent);text-transform:uppercase;font-size:.75rem;font-weight:800}.extensive-core-help-dialog h2,.extensive-core-help-dialog h3{margin:0}.extensive-core-help-dialog>header>button{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:24px;display:inline-flex}.extensive-core-help-modes{border-bottom:1px solid var(--extensive-core-border);border-top:1px solid var(--extensive-core-border);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.extensive-core-help-modes section{gap:7px;padding:16px;display:grid}.extensive-core-help-modes section+section{border-left:1px solid var(--extensive-core-border)}.extensive-core-help-dialog p{color:var(--sl-black);margin:0;line-height:1.55}.extensive-core-help-method{gap:8px;display:grid}@media (min-width:761px){.extensive-core-lab .lab-header>:first-child{flex:410px}.extensive-core-lab .lab-header>.lab-actions{flex:580px;justify-content:flex-end}}@media (max-width:900px){.extensive-core-lab .lab-workspace,.extensive-core-lab.extensive-core-active .lab-workspace{grid-template-columns:1fr}.extensive-core-table-wrap table{min-width:560px}}@media (max-width:640px){.extensive-core-lab .lab-tabs{flex-wrap:nowrap;overflow-x:auto}.extensive-core-example-actions,.extensive-core-reset-actions{align-items:stretch;width:100%}.extensive-core-reset-actions{border-left:0;border-top:2px solid var(--sl-blue);padding-top:10px;padding-left:0}.extensive-core-help-backdrop{align-items:flex-start;padding:12px}.extensive-core-help-dialog{max-height:calc(100vh - 24px);padding:18px}.extensive-core-help-modes{grid-template-columns:1fr}.extensive-core-help-modes section+section{border-left:0;border-top:1px solid var(--extensive-core-border)}}
.perfect-info-lab{--perfect-info-ink:var(--sl-blue);--perfect-info-muted:var(--sl-blue);--perfect-info-border:var(--sl-yellow);--perfect-info-soft:var(--sl-yellow);--perfect-info-accent:var(--sl-blue);--perfect-info-good:var(--sl-blue);--perfect-info-bad:var(--sl-red)}.perfect-info-lab .lab-workspace{grid-template-columns:minmax(0,1fr);align-items:start}.perfect-info-lab.perfect-info-active .lab-workspace{grid-template-columns:minmax(290px,.48fr) minmax(560px,1.52fr)}.perfect-info-lab .lab-workspace>*{align-self:start;min-width:0}.perfect-info-example-actions,.perfect-info-reset-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.perfect-info-reset-actions{border-left:2px solid var(--sl-blue);padding-left:12px}.perfect-info-help-button{width:36px;height:36px;padding:0;font-size:18px;font-weight:800;line-height:1;position:relative}.perfect-info-help-button:after{background:var(--sl-blue);color:var(--sl-white);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;z-index:20;border-radius:4px;padding:6px 8px;font-size:12px;font-weight:600;transition:opacity .12s;position:absolute;bottom:-38px;left:50%;transform:translate(-50%)}.perfect-info-help-button:hover:after,.perfect-info-help-button:focus-visible:after{opacity:1}.perfect-info-form,.perfect-info-stack,.perfect-info-results{gap:.75rem;display:grid}.perfect-info-form label,.perfect-info-policy-grid label,.perfect-info-control-stack label{gap:.3rem;display:grid}.perfect-info-form label>span,.perfect-info-policy-grid label>span,.perfect-info-control-stack label>span{color:var(--perfect-info-muted);font-size:.72rem;font-weight:800}.perfect-info-form select,.perfect-info-policy-grid select,.perfect-info-control-stack select{border:1px solid var(--sl-blue);border-radius:7px;min-width:0;padding:.45rem .5rem}.perfect-info-actions{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.perfect-info-command-row{justify-content:flex-end;margin-top:.75rem;display:flex}.perfect-info-command-row button,.perfect-info-control-stack>button{background:var(--sl-blue);border-color:var(--sl-blue);color:var(--sl-white);font-weight:700}.perfect-info-control-stack,.perfect-info-setup-stack{gap:.75rem;display:grid}.perfect-info-setup-summary{border-bottom:1px solid var(--perfect-info-border);grid-template-columns:minmax(15rem,2fr) repeat(3,minmax(8rem,1fr));gap:0;margin:0;padding-bottom:.75rem;display:grid}.perfect-info-setup-summary>div{gap:.18rem;min-width:0;padding:.15rem .85rem;display:grid}.perfect-info-setup-summary>div:first-child{padding-left:0}.perfect-info-setup-summary>div+div{border-left:1px solid var(--perfect-info-border)}.perfect-info-setup-summary dt{color:var(--perfect-info-muted);font-size:.68rem;font-weight:800}.perfect-info-setup-summary dd{color:var(--perfect-info-ink);overflow-wrap:anywhere;margin:0;font-size:.95rem;font-weight:800}.perfect-info-setup-tree .perfect-info-tree-wrap svg{min-height:260px;max-height:340px}.perfect-info-metric-grid,.perfect-info-policy-grid,.perfect-info-policy-summary{grid-template-columns:repeat(auto-fit,minmax(9rem,1fr));gap:.5rem;display:grid}.perfect-info-metric-grid>div,.perfect-info-note,.perfect-info-trace-list article{background:var(--perfect-info-soft);border:1px solid var(--sl-blue);border-radius:8px;gap:.18rem;padding:.65rem;display:grid}.perfect-info-metric-grid span,.perfect-info-note span,.perfect-info-note small,.perfect-info-trace-list span,.perfect-info-trace-list small{color:var(--perfect-info-muted);font-size:.68rem}.perfect-info-metric-grid strong,.perfect-info-note span,.perfect-info-note small,.perfect-info-trace-list strong,.perfect-info-trace-list p{overflow-wrap:anywhere}.perfect-info-tree-wrap{background:var(--sl-yellow);border:1px solid var(--perfect-info-border);border-radius:8px;overflow:hidden}.perfect-info-tree-wrap svg{width:100%;min-height:320px;display:block}.perfect-info-tree-edge line{stroke:var(--sl-blue);stroke-width:2px}.perfect-info-tree-edge path{fill:var(--sl-yellow)}.perfect-info-tree-edge text{fill:var(--sl-black);font-size:12px}.perfect-info-tree-edge.is-optimal line{stroke:var(--perfect-info-accent);stroke-width:3px}.perfect-info-tree-node circle{fill:var(--sl-white);stroke:var(--sl-blue);stroke-width:2px}.perfect-info-tree-node.is-player circle{fill:var(--sl-yellow);stroke:var(--perfect-info-accent)}.perfect-info-tree-node.is-chance circle,.perfect-info-tree-node.is-terminal circle{fill:var(--sl-yellow);stroke:var(--sl-blue)}.perfect-info-tree-node.is-canonical circle{stroke:var(--sl-red);stroke-width:4px}.perfect-info-tree-node text{fill:var(--perfect-info-ink);font-size:12px;font-weight:800}.perfect-info-tree-node .perfect-info-tree-value{fill:var(--perfect-info-muted);font-size:11px;font-weight:700}.perfect-info-note{border-left:3px solid var(--perfect-info-accent)}.perfect-info-note.is-valid{border-left-color:var(--perfect-info-good)}.perfect-info-note.is-invalid{border-left-color:var(--perfect-info-bad)}.perfect-info-note.is-valid strong{color:var(--perfect-info-good)}.perfect-info-note.is-invalid strong{color:var(--perfect-info-bad)}.perfect-info-table-wrap{max-width:100%;overflow:auto}.perfect-info-table-wrap h3{margin:0 0 .5rem;font-size:1rem}.perfect-info-table-wrap table{border-collapse:collapse;width:100%;min-width:680px}.perfect-info-table-wrap th,.perfect-info-table-wrap td{border-bottom:1px solid var(--sl-blue);text-align:right;vertical-align:top;white-space:nowrap;padding:.48rem .5rem}.perfect-info-table-wrap th:first-child,.perfect-info-table-wrap td:first-child{text-align:left}.perfect-info-trace-list{gap:.5rem;display:grid}.perfect-info-trace-list p{margin:0}.perfect-info-explanation-toggle{gap:12px;display:grid}.perfect-info-explanation-toggle>button{background:var(--sl-blue);border:1px solid var(--sl-blue);color:var(--sl-white);cursor:pointer;border-radius:6px;justify-self:start;padding:10px 16px;font-weight:800}.perfect-info-help-backdrop{background:rgb(var(--sl-blue-rgb) / 72%);z-index:1000;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.perfect-info-help-dialog{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:8px;gap:22px;width:100%;max-width:960px;max-height:calc(100vh - 48px);padding:24px;display:grid;overflow-y:auto;box-shadow:0 24px 70px #00000052}.perfect-info-help-dialog>header{justify-content:space-between;align-items:start;display:flex}.perfect-info-help-dialog>header span{color:var(--perfect-info-accent);text-transform:uppercase;font-size:.75rem;font-weight:800}.perfect-info-help-dialog h2,.perfect-info-help-dialog h3{margin:0}.perfect-info-help-dialog>header>button{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:24px;display:inline-flex}.perfect-info-help-modes{border-bottom:1px solid var(--perfect-info-border);border-top:1px solid var(--perfect-info-border);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.perfect-info-help-modes section{gap:7px;padding:16px;display:grid}.perfect-info-help-modes section+section{border-left:1px solid var(--perfect-info-border)}.perfect-info-help-dialog p{color:var(--sl-black);margin:0;line-height:1.55}.perfect-info-help-method{gap:8px;display:grid}@media (min-width:761px){.perfect-info-lab .lab-header>:first-child{flex:410px}.perfect-info-lab .lab-header>.lab-actions{flex:580px;justify-content:flex-end}}@media (max-width:900px){.perfect-info-lab .lab-workspace,.perfect-info-lab.perfect-info-active .lab-workspace{grid-template-columns:1fr}.perfect-info-table-wrap table{min-width:560px}}@media (max-width:640px){.perfect-info-lab .lab-tabs{flex-wrap:nowrap;overflow-x:auto}.perfect-info-example-actions,.perfect-info-reset-actions{align-items:stretch;width:100%}.perfect-info-reset-actions{border-left:0;border-top:2px solid var(--sl-blue);padding-top:10px;padding-left:0}.perfect-info-help-backdrop{align-items:flex-start;padding:12px}.perfect-info-help-dialog{max-height:calc(100vh - 24px);padding:18px}.perfect-info-help-modes{grid-template-columns:1fr}.perfect-info-help-modes section+section{border-left:0;border-top:1px solid var(--perfect-info-border)}.perfect-info-setup-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.perfect-info-setup-summary>div{border-left:0;border-top:1px solid var(--perfect-info-border);padding:.55rem 0}.perfect-info-setup-summary>div:nth-child(odd){padding-right:.65rem}.perfect-info-setup-summary>div:nth-child(2n){border-left:1px solid var(--perfect-info-border);padding-left:.65rem}.perfect-info-setup-summary>div:nth-child(-n+2){border-top:0}}
.poker-endgame-lab{--poker-ink:var(--sl-black);--poker-muted:var(--sl-black);--poker-border:var(--sl-blue);--poker-soft:var(--sl-yellow);--poker-accent:var(--sl-blue);--poker-good:var(--sl-blue)}.poker-endgame-lab .lab-workspace{grid-template-columns:minmax(0,1fr);align-items:start}.poker-endgame-lab.poker-endgame-active .lab-workspace{grid-template-columns:minmax(300px,.5fr) minmax(560px,1.5fr)}.poker-endgame-lab .lab-workspace>*{align-self:start;min-width:0}.poker-endgame-example-actions,.poker-endgame-reset-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.poker-endgame-reset-actions{border-left:2px solid var(--sl-blue);padding-left:12px}.poker-endgame-help-button{width:36px;height:36px;padding:0;font-size:18px;font-weight:800;line-height:1;position:relative}.poker-endgame-help-button:after{background:var(--sl-blue);color:var(--sl-white);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;z-index:20;border-radius:4px;padding:6px 8px;font-size:12px;font-weight:600;transition:opacity .12s;position:absolute;bottom:-38px;left:50%;transform:translate(-50%)}.poker-endgame-help-button:hover:after,.poker-endgame-help-button:focus-visible:after{opacity:1}.poker-endgame-form,.poker-endgame-stack,.poker-endgame-results,.poker-endgame-profile-controls,.poker-endgame-control-stack{gap:1rem;display:grid}.poker-endgame-form label,.poker-endgame-profile-controls label,.poker-endgame-control-stack label{gap:.4rem;display:grid}.poker-endgame-form label>span,.poker-endgame-profile-controls label>span,.poker-endgame-control-stack label>span{color:var(--poker-muted);font-size:.72rem;font-weight:800}.poker-endgame-form select,.poker-endgame-form input,.poker-endgame-profile-controls select,.poker-endgame-profile-controls input,.poker-endgame-control-stack select,.poker-endgame-control-stack input{border:1px solid var(--poker-border);background:var(--sl-yellow);width:100%;color:var(--poker-ink);border-radius:8px;padding:.6rem .7rem}.poker-endgame-command-row{justify-content:flex-end;gap:.5rem;margin-top:.8rem;display:flex}.poker-endgame-command-row button,.poker-endgame-control-stack>button{background:var(--sl-blue);border-color:var(--sl-blue);color:var(--sl-white);font-weight:700}.poker-endgame-probability{grid-template-columns:minmax(120px,1fr) 5.5rem;align-items:center;gap:.65rem;display:grid}.poker-endgame-field-row,.poker-endgame-actions{flex-wrap:wrap;gap:.75rem;display:flex}.poker-endgame-field-row>label{flex:9rem}.poker-endgame-actions button{min-height:2.4rem}.poker-endgame-tree-wrap{border:1px solid var(--poker-border);background:var(--sl-yellow);border-radius:8px;overflow-x:auto}.poker-endgame-tree-wrap svg{width:100%;min-width:660px;height:auto;display:block}.poker-tree-edge line{stroke:var(--sl-blue);stroke-width:2px}.poker-tree-info-set line{stroke:var(--poker-accent);stroke-dasharray:6 6;stroke-width:2px}.poker-tree-info-set text{fill:var(--poker-muted);text-anchor:middle;font-size:12px}.poker-tree-node circle{fill:var(--sl-yellow);stroke:var(--poker-border);stroke-width:2px}.poker-tree-node.is-chance circle{fill:var(--sl-yellow);stroke:var(--poker-accent)}.poker-tree-node.is-player circle{stroke:var(--poker-accent)}.poker-tree-node.is-terminal circle{fill:var(--sl-yellow);stroke:var(--poker-good)}.poker-tree-node text{fill:var(--poker-ink);text-anchor:middle;font-size:11px;font-weight:700}.poker-tree-node .poker-tree-detail{fill:var(--poker-muted);font-size:10px;font-weight:500}.poker-endgame-metric-grid,.poker-endgame-results{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr))}.poker-endgame-metric-grid{gap:.75rem;display:grid}.poker-endgame-metric-grid>div,.poker-endgame-results>div,.poker-endgame-note{border:1px solid var(--poker-border);background:var(--poker-soft);border-radius:8px;padding:.75rem}.poker-endgame-metric-grid span,.poker-endgame-results span{color:var(--poker-muted);text-transform:uppercase;font-size:.78rem;font-weight:700;display:block}.poker-endgame-metric-grid strong,.poker-endgame-results strong{color:var(--poker-ink);margin-top:.25rem;font-size:1.1rem;display:block}.poker-endgame-note{border-left:3px solid var(--poker-accent);color:var(--poker-ink);gap:.2rem;display:grid}.poker-endgame-note span{color:var(--poker-muted);font-size:.78rem}.poker-endgame-table-wrap{overflow-x:auto}.poker-endgame-table-wrap h3{color:var(--poker-ink);margin:0 0 .55rem;font-size:1rem}.poker-endgame-table-wrap table{border-collapse:collapse;border:1px solid var(--poker-border);border-radius:8px;width:100%;min-width:520px;overflow:hidden}.poker-endgame-table-wrap th,.poker-endgame-table-wrap td{border-bottom:1px solid var(--poker-border);text-align:left;vertical-align:top;padding:.55rem .65rem}.poker-endgame-table-wrap th{background:var(--poker-soft);color:var(--poker-ink)}.poker-endgame-table-wrap tr:last-child th,.poker-endgame-table-wrap tr:last-child td{border-bottom:0}.poker-endgame-explanation-toggle{gap:12px;display:grid}.poker-endgame-explanation-toggle>button{background:var(--sl-blue);border:1px solid var(--sl-blue);color:var(--sl-white);cursor:pointer;border-radius:6px;justify-self:start;padding:10px 16px;font-weight:800}.poker-endgame-help-backdrop{background:var(--sl-blue);z-index:1000;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.poker-endgame-help-dialog{background:var(--sl-yellow);border:1px solid var(--sl-blue);box-shadow:none;border-radius:8px;gap:22px;width:100%;max-width:960px;max-height:calc(100vh - 48px);padding:24px;display:grid;overflow-y:auto}.poker-endgame-help-dialog>header{justify-content:space-between;align-items:start;display:flex}.poker-endgame-help-dialog>header span{color:var(--poker-accent);text-transform:uppercase;font-size:.75rem;font-weight:800}.poker-endgame-help-dialog h2,.poker-endgame-help-dialog h3{margin:0}.poker-endgame-help-dialog>header>button{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:24px;display:inline-flex}.poker-endgame-help-modes{border-bottom:1px solid var(--poker-border);border-top:1px solid var(--poker-border);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.poker-endgame-help-modes section{gap:7px;padding:16px;display:grid}.poker-endgame-help-modes section+section{border-left:1px solid var(--poker-border)}.poker-endgame-help-dialog p{color:var(--sl-black);margin:0;line-height:1.55}.poker-endgame-help-method{gap:8px;display:grid}@media (min-width:761px){.poker-endgame-lab .lab-header>:first-child{flex:410px}.poker-endgame-lab .lab-header>.lab-actions{flex:580px;justify-content:flex-end}}@media (max-width:900px){.poker-endgame-lab .lab-workspace,.poker-endgame-lab.poker-endgame-active .lab-workspace{grid-template-columns:1fr}}@media (max-width:640px){.poker-endgame-probability{grid-template-columns:1fr}.poker-endgame-table-wrap table{min-width:480px}.poker-endgame-lab .lab-tabs{flex-wrap:nowrap;overflow-x:auto}.poker-endgame-example-actions,.poker-endgame-reset-actions{align-items:stretch;width:100%}.poker-endgame-reset-actions{border-left:0;border-top:2px solid var(--sl-blue);padding-top:10px;padding-left:0}.poker-endgame-help-backdrop{align-items:flex-start;padding:12px}.poker-endgame-help-dialog{max-height:calc(100vh - 24px);padding:18px}.poker-endgame-help-modes{grid-template-columns:1fr}.poker-endgame-help-modes section+section{border-left:0;border-top:1px solid var(--poker-border)}}
.stochastic-game-lab{--stochastic-ink:var(--sl-black);--stochastic-muted:var(--sl-black);--stochastic-border:var(--sl-blue);--stochastic-soft:var(--sl-yellow);--stochastic-accent:var(--sl-blue)}.stochastic-game-lab .lab-workspace{grid-template-columns:minmax(0,1fr);align-items:start}.stochastic-game-lab.stochastic-game-active .lab-workspace{grid-template-columns:minmax(300px,.5fr) minmax(560px,1.5fr)}.stochastic-game-lab .lab-workspace>*{align-self:start;min-width:0}.stochastic-game-example-actions,.stochastic-game-reset-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.stochastic-game-reset-actions{border-left:2px solid var(--sl-blue);padding-left:12px}.stochastic-game-help-button{width:36px;height:36px;padding:0;font-size:18px;font-weight:800;line-height:1;position:relative}.stochastic-game-help-button:after{background:var(--sl-blue);color:var(--sl-white);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;z-index:20;border-radius:4px;padding:6px 8px;font-size:12px;font-weight:600;transition:opacity .12s;position:absolute;bottom:-38px;left:50%;transform:translate(-50%)}.stochastic-game-help-button:hover:after,.stochastic-game-help-button:focus-visible:after{opacity:1}.stochastic-game-form,.stochastic-game-stack,.stochastic-game-results,.stochastic-game-setup-stack,.stochastic-game-control-stack{gap:1rem;display:grid}.stochastic-game-form label,.stochastic-game-solver-controls label,.stochastic-game-control-stack label{gap:.4rem;display:grid}.stochastic-game-form label>span,.stochastic-game-solver-controls label>span,.stochastic-game-control-stack label>span{color:var(--stochastic-muted);font-size:.72rem;font-weight:800}.stochastic-game-form select,.stochastic-game-form input,.stochastic-game-solver-controls select,.stochastic-game-solver-controls input,.stochastic-game-control-stack select,.stochastic-game-control-stack input{border:1px solid var(--stochastic-border);background:var(--sl-yellow);width:100%;color:var(--stochastic-ink);border-radius:8px;padding:.6rem .7rem}.stochastic-game-solver-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.stochastic-game-command-row{justify-content:flex-end;margin-top:.8rem;display:flex}.stochastic-game-command-row button,.stochastic-game-control-stack>button{background:var(--sl-blue);border-color:var(--sl-blue);color:var(--sl-white);font-weight:700}.stochastic-game-setup-summary{border-bottom:1px solid var(--stochastic-border);grid-template-columns:minmax(15rem,2fr) repeat(2,minmax(8rem,1fr));margin:0;padding-bottom:.75rem;display:grid}.stochastic-game-setup-summary>div{gap:.18rem;min-width:0;padding:.15rem .85rem;display:grid}.stochastic-game-setup-summary>div:first-child{padding-left:0}.stochastic-game-setup-summary>div+div{border-left:1px solid var(--stochastic-border)}.stochastic-game-setup-summary dt{color:var(--stochastic-muted);font-size:.68rem;font-weight:800}.stochastic-game-setup-summary dd{color:var(--stochastic-ink);overflow-wrap:anywhere;margin:0;font-size:.95rem;font-weight:800}.stochastic-game-setup-stack .stochastic-game-graph-wrap svg{height:340px}.stochastic-game-field-row,.stochastic-game-actions{flex-wrap:wrap;gap:.75rem;display:flex}.stochastic-game-field-row>label{flex:8.5rem}.stochastic-game-actions button{min-height:2.4rem}.stochastic-game-graph-wrap{border:1px solid var(--stochastic-border);background:var(--sl-yellow);border-radius:8px;overflow-x:auto}.stochastic-game-graph-wrap svg{width:100%;min-width:640px;height:auto;display:block}.stochastic-game-graph-edge line,.stochastic-game-graph-edge path{fill:none;marker-end:url(#stochastic-arrow);stroke:var(--sl-blue);stroke-width:2px}.stochastic-game-graph-wrap marker path{fill:var(--sl-yellow)}.stochastic-game-graph-node circle{fill:var(--sl-yellow);stroke:var(--stochastic-accent);stroke-width:2px}.stochastic-game-graph-node text{fill:var(--stochastic-ink);text-anchor:middle;font-size:12px;font-weight:800}.stochastic-game-graph-node .stochastic-game-graph-detail{fill:var(--stochastic-muted);font-size:11px;font-weight:600}.stochastic-game-metric-grid,.stochastic-game-results{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr))}.stochastic-game-metric-grid{gap:.75rem;display:grid}.stochastic-game-metric-grid>div,.stochastic-game-results>div,.stochastic-game-note{border:1px solid var(--stochastic-border);background:var(--stochastic-soft);border-radius:8px;padding:.75rem}.stochastic-game-metric-grid span,.stochastic-game-results span{color:var(--stochastic-muted);text-transform:uppercase;font-size:.78rem;font-weight:700;display:block}.stochastic-game-metric-grid strong,.stochastic-game-results strong{color:var(--stochastic-ink);margin-top:.25rem;font-size:1.1rem;display:block}.stochastic-game-note{border-left:3px solid var(--stochastic-accent);color:var(--stochastic-ink)}.stochastic-game-table-wrap{overflow-x:auto}.stochastic-game-table-wrap h3{color:var(--stochastic-ink);margin:0 0 .55rem;font-size:1rem}.stochastic-game-table-wrap table{border-collapse:collapse;border:1px solid var(--stochastic-border);border-radius:8px;width:100%;min-width:480px;overflow:hidden}.stochastic-game-table-wrap th,.stochastic-game-table-wrap td{border-bottom:1px solid var(--stochastic-border);text-align:left;vertical-align:top;padding:.55rem .65rem}.stochastic-game-table-wrap th{background:var(--stochastic-soft);color:var(--stochastic-ink)}.stochastic-game-table-wrap tr:last-child th,.stochastic-game-table-wrap tr:last-child td{border-bottom:0}.stochastic-game-explanation-toggle{gap:12px;display:grid}.stochastic-game-explanation-toggle>button{background:var(--sl-blue);border:1px solid var(--sl-blue);color:var(--sl-white);cursor:pointer;border-radius:6px;justify-self:start;padding:10px 16px;font-weight:800}.stochastic-game-help-backdrop{background:var(--sl-blue);z-index:1000;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.stochastic-game-help-dialog{background:var(--sl-yellow);border:1px solid var(--sl-blue);box-shadow:none;border-radius:8px;gap:22px;width:100%;max-width:960px;max-height:calc(100vh - 48px);padding:24px;display:grid;overflow-y:auto}.stochastic-game-help-dialog>header{justify-content:space-between;align-items:start;display:flex}.stochastic-game-help-dialog>header span{color:var(--stochastic-accent);text-transform:uppercase;font-size:.75rem;font-weight:800}.stochastic-game-help-dialog h2,.stochastic-game-help-dialog h3{margin:0}.stochastic-game-help-dialog>header>button{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:24px;display:inline-flex}.stochastic-game-help-modes{border-bottom:1px solid var(--stochastic-border);border-top:1px solid var(--stochastic-border);grid-template-columns:repeat(5,minmax(0,1fr));display:grid}.stochastic-game-help-modes section{gap:7px;padding:16px;display:grid}.stochastic-game-help-modes section+section{border-left:1px solid var(--stochastic-border)}.stochastic-game-help-dialog p{color:var(--sl-black);margin:0;line-height:1.55}.stochastic-game-help-method{gap:8px;display:grid}@media (min-width:761px){.stochastic-game-lab .lab-header>:first-child{flex:410px}.stochastic-game-lab .lab-header>.lab-actions{flex:580px;justify-content:flex-end}}@media (max-width:900px){.stochastic-game-lab .lab-workspace,.stochastic-game-lab.stochastic-game-active .lab-workspace{grid-template-columns:1fr}}@media (max-width:640px){.stochastic-game-table-wrap table{min-width:440px}.stochastic-game-lab .lab-tabs{flex-wrap:nowrap;overflow-x:auto}.stochastic-game-example-actions,.stochastic-game-reset-actions{align-items:stretch;width:100%}.stochastic-game-reset-actions{border-left:0;border-top:2px solid var(--sl-blue);padding-top:10px;padding-left:0}.stochastic-game-solver-controls,.stochastic-game-setup-summary{grid-template-columns:1fr}.stochastic-game-setup-summary>div{border-top:1px solid var(--stochastic-border);padding:.55rem 0;border-left:0!important}.stochastic-game-setup-summary>div:first-child{border-top:0}.stochastic-game-help-backdrop{align-items:flex-start;padding:12px}.stochastic-game-help-dialog{max-height:calc(100vh - 24px);padding:18px}.stochastic-game-help-modes{grid-template-columns:1fr}.stochastic-game-help-modes section+section{border-left:0;border-top:1px solid var(--stochastic-border)}}
.nucleolus-exercises-lab{--nex-ink:var(--sl-black);--nex-muted:var(--sl-black);--nex-border:var(--sl-blue);--nex-soft:var(--sl-yellow);--nex-accent:var(--sl-blue)}.nucleolus-exercises-form,.nucleolus-exercises-stack,.nucleolus-exercises-results{gap:1rem;display:grid}.nucleolus-exercises-form label{gap:.4rem;display:grid}.nucleolus-exercises-form label>span,.nucleolus-exercises-checkbox span{color:var(--nex-muted);text-transform:uppercase;font-size:.82rem;font-weight:700}.nucleolus-exercises-form select,.nucleolus-exercises-form input,.nucleolus-exercises-form textarea{border:1px solid var(--nex-border);background:var(--sl-yellow);width:100%;color:var(--nex-ink);border-radius:8px;padding:.6rem .7rem}.nucleolus-exercises-form textarea{resize:vertical;min-height:5.5rem}.nucleolus-exercises-field-row,.nucleolus-exercises-actions{flex-wrap:wrap;gap:.75rem;display:flex}.nucleolus-exercises-field-row>label{flex:9rem}.nucleolus-exercises-checkbox{flex:16rem;align-items:center;gap:.6rem!important;display:flex!important}.nucleolus-exercises-checkbox input{width:auto}.nucleolus-exercises-actions button{min-height:2.4rem}.nucleolus-exercises-metric-grid,.nucleolus-exercises-results{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr))}.nucleolus-exercises-metric-grid{gap:.75rem;display:grid}.nucleolus-exercises-metric-grid>div,.nucleolus-exercises-results>div,.nucleolus-exercises-note{border:1px solid var(--nex-border);background:var(--nex-soft);border-radius:8px;padding:.75rem}.nucleolus-exercises-metric-grid span,.nucleolus-exercises-results span,.nucleolus-exercises-note span{color:var(--nex-muted);text-transform:uppercase;font-size:.78rem;font-weight:700;display:block}.nucleolus-exercises-metric-grid strong,.nucleolus-exercises-results strong,.nucleolus-exercises-note strong{color:var(--nex-ink);margin-bottom:.25rem;font-size:1.05rem;display:block}.nucleolus-exercises-note{border-left:3px solid var(--nex-accent);color:var(--nex-ink)}.nucleolus-exercises-table-wrap{overflow-x:auto}.nucleolus-exercises-table-wrap h3{color:var(--nex-ink);margin:0 0 .55rem;font-size:1rem}.nucleolus-exercises-table-wrap table{border-collapse:collapse;border:1px solid var(--nex-border);border-radius:8px;width:100%;min-width:540px;overflow:hidden}.nucleolus-exercises-table-wrap th,.nucleolus-exercises-table-wrap td{border-bottom:1px solid var(--nex-border);text-align:left;vertical-align:top;padding:.55rem .65rem}.nucleolus-exercises-table-wrap th{background:var(--nex-soft);color:var(--nex-ink)}.nucleolus-exercises-table-wrap tr:last-child th,.nucleolus-exercises-table-wrap tr:last-child td{border-bottom:0}@media (max-width:640px){.nucleolus-exercises-table-wrap table{min-width:460px}}
.core-lab{width:100%;max-width:1132px;margin-inline:auto}.core-lab .lab-workspace{grid-template-columns:minmax(0,1fr);align-items:start}.core-lab.core-lab-active .lab-workspace{grid-template-columns:minmax(270px,.26fr) minmax(0,.74fr)}.core-example-actions,.core-reset-actions{flex-wrap:nowrap;flex:none;align-items:center;gap:.5rem;display:flex}.core-lab .lab-actions{flex-wrap:nowrap;flex:none;align-items:center}.core-lab .lab-actions button,.core-example-actions .inline-select>span{white-space:nowrap}.core-reset-actions{border-left:2px solid var(--sl-blue);padding-left:.75rem}.core-help-button{place-items:center;width:36px;height:36px;font-size:1rem;font-weight:900;display:grid;position:relative;padding:0!important}.core-help-button:after{z-index:10;background:var(--sl-blue);width:max-content;color:var(--sl-white);content:attr(data-tooltip);opacity:0;pointer-events:none;border-radius:5px;padding:.35rem .5rem;font-size:.68rem;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 8px);right:0;transform:translateY(3px)}.core-help-button:hover:after,.core-help-button:focus-visible:after{opacity:1;transform:translateY(0)}.core-setup-stack,.core-context-controls{gap:.9rem;min-width:0;display:grid}.core-setup-section{gap:.7rem;min-width:0;display:grid}.core-setup-section+.core-setup-section{border-top:1px solid var(--sl-blue);padding-top:.9rem}.core-setup-section .core-card-heading{align-items:center}.core-icon-button{border:1px solid var(--sl-blue);background:var(--sl-yellow);width:32px;height:32px;color:var(--sl-black);cursor:pointer;border-radius:6px;place-items:center;font-size:1rem;font-weight:800;display:grid;padding:0!important}.core-icon-button:disabled{opacity:.45;cursor:not-allowed}.core-lab:not(.core-lab-active) .core-player-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.core-lab:not(.core-lab-active) .coalition-characteristic-editor{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:start;gap:.65rem;display:grid}.core-lab .core-model-actions{border-top:1px solid var(--sl-blue);justify-content:flex-end;padding-top:.75rem}.core-lab .core-model-actions .primary{background:var(--sl-blue);border-color:var(--sl-blue);min-width:104px;min-height:36px}.core-view-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;display:grid}.core-view-options label{border:1px solid var(--sl-blue);background:var(--sl-yellow);min-height:38px;color:var(--sl-black);border-radius:6px;align-items:center;gap:.45rem;padding:.45rem .55rem;font-size:.73rem;font-weight:750;display:flex}.core-view-options input{accent-color:var(--sl-blue)}.core-context-summary{border:1px solid var(--sl-blue);border-radius:7px;gap:0;margin:0;display:grid;overflow:hidden}.core-context-summary>div{background:var(--sl-yellow);justify-content:space-between;align-items:center;gap:.75rem;padding:.55rem .65rem;display:flex}.core-context-summary>div+div{border-top:1px solid var(--sl-blue)}.core-context-summary dt{color:var(--sl-black);font-size:.68rem;font-weight:750}.core-context-summary dd{color:var(--sl-black);margin:0;font-size:.78rem;font-weight:850}.core-change-setup{border:1px solid var(--sl-blue);background:var(--sl-yellow);width:100%;min-height:38px;color:var(--sl-black);cursor:pointer;border-radius:6px;font-weight:800}.core-context-controls>.core-card,.core-lab-active .core-results-stack>.core-card{background:0 0;border:0;border-radius:0;padding:0}.core-lab-active .core-results-stack>.core-card+.core-card,.core-lab-active .core-results-stack>.core-calculations{border-top:1px solid var(--sl-blue);padding-top:.9rem}.core-lab-active .core-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:.9rem}.core-explanation-toggle{justify-items:start;gap:.75rem;display:grid}.core-explanation-toggle>button{border:1px solid var(--sl-blue);background:var(--sl-blue);min-height:42px;color:var(--sl-white);cursor:pointer;border-radius:6px;padding:.55rem .9rem;font-weight:850}.core-help-backdrop{z-index:1000;background:var(--sl-blue);place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.core-help-dialog{border:1px solid var(--sl-blue);background:var(--sl-yellow);width:min(720px,100%);max-height:calc(100vh - 2rem);box-shadow:none;border-radius:8px;gap:1rem;padding:1.1rem;display:grid;overflow-y:auto}.core-help-dialog>header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.core-help-dialog>header span{color:var(--sl-blue);text-transform:uppercase;font-size:.7rem;font-weight:850}.core-help-dialog h2,.core-help-dialog h3{margin:0}.core-help-dialog>header>button{border:1px solid var(--sl-blue);background:var(--sl-yellow);cursor:pointer;border-radius:6px;place-items:center;width:34px;height:34px;padding:0;font-size:1.1rem;display:grid}.core-help-modes{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.core-help-modes section,.core-help-method{border:1px solid var(--sl-blue);background:var(--sl-yellow);border-radius:7px;padding:.8rem}.core-help-dialog p{color:var(--sl-black);line-height:1.5;margin:.3rem 0 0!important;font-size:.78rem!important}@media (max-width:1120px){.core-lab.core-lab-active .lab-workspace{grid-template-columns:minmax(240px,.34fr) minmax(0,.66fr)}}@media (max-width:820px){.core-lab.core-lab-active .lab-workspace{grid-template-columns:1fr}.core-lab .lab-header>:first-child{width:100%}.core-lab .lab-header>.lab-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.core-lab-active .core-metric-grid,.core-help-modes{grid-template-columns:1fr}}@media (max-width:560px){.core-example-actions,.core-reset-actions{flex-wrap:wrap;width:100%}.core-example-actions .inline-select{width:100%}.core-example-actions select{width:100%;min-width:0}.core-reset-actions{border-top:2px solid var(--sl-blue);border-left:0;padding-top:.6rem;padding-left:0}.core-view-options,.core-lab:not(.core-lab-active) .core-player-list,.core-lab:not(.core-lab-active) .coalition-characteristic-editor{grid-template-columns:1fr}}
.shapley-value-lab{--shapley-accent:var(--sl-blue);--shapley-border:var(--sl-blue);--shapley-muted:var(--sl-black);width:100%;max-width:1132px;margin-inline:auto}.shapley-value-lab .lab-workspace{grid-template-columns:minmax(0,1fr);align-items:start}.shapley-value-lab.shapley-value-active .lab-workspace{grid-template-columns:minmax(260px,.27fr) minmax(0,.73fr)}.shapley-value-lab .lab-workspace>*{align-self:start;min-width:0}.shapley-example-actions,.shapley-reset-actions{flex-wrap:nowrap;flex:none;align-items:center;gap:.5rem;display:flex}.shapley-value-lab .lab-actions{flex-wrap:nowrap;flex:none;align-items:center}.shapley-value-lab .lab-actions button,.shapley-example-actions .inline-select>span{white-space:nowrap}.shapley-reset-actions{border-left:2px solid var(--sl-blue);padding-left:.75rem}.shapley-setup-stack,.shapley-control-stack,.shapley-workbench-stack{gap:.9rem;min-width:0;display:grid}.shapley-setup-section{gap:.7rem;min-width:0;display:grid}.shapley-setup-section+.shapley-setup-section{border-top:1px solid var(--shapley-border);padding-top:.9rem}.shapley-section-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.shapley-section-heading h3,.shapley-section-heading p{margin:0}.shapley-section-heading p{color:var(--shapley-muted);margin-top:.18rem;font-size:.82rem}.shapley-player-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:.55rem;display:grid}.shapley-player-grid>div{background:var(--sl-yellow);border:1px solid var(--shapley-border);border-radius:7px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.45rem;display:grid}.shapley-player-grid>div>span{color:var(--shapley-accent);font-size:.72rem;font-weight:850}.shapley-player-grid input,.shapley-control-stack select,.shapley-lattice-search{background:var(--sl-yellow);border:1px solid var(--sl-blue);color:inherit;border-radius:6px;width:100%;min-width:0;padding:.52rem .6rem}.shapley-icon-button,.shapley-help-button{background:var(--sl-yellow);border:1px solid var(--sl-blue);color:var(--sl-black);cursor:pointer;border-radius:6px;place-items:center;display:grid;padding:0!important}.shapley-icon-button{width:32px;height:32px;font-size:1rem;font-weight:850}.shapley-icon-button:disabled{cursor:not-allowed;opacity:.45}.shapley-value-lab:not(.shapley-value-active) .coalition-characteristic-editor{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));align-items:start;gap:.65rem;display:grid}.shapley-command-row{border-top:1px solid var(--shapley-border);justify-content:flex-end;padding-top:.75rem;display:flex}.shapley-command-row button{background:var(--sl-blue);border-color:var(--sl-blue);color:var(--sl-white);min-width:104px;min-height:38px;font-weight:800}.shapley-control-stack>label:not(.shapley-checkbox){gap:.35rem;display:grid}.shapley-control-stack>label>span{color:var(--shapley-muted);text-transform:uppercase;font-size:.72rem;font-weight:800}.shapley-control-tabs{background:var(--sl-yellow);border-radius:7px;gap:4px;padding:4px;display:grid}.shapley-control-tabs button{color:var(--sl-black);background:0 0;border:0;border-radius:5px;min-height:38px;padding:.45rem .55rem;font-size:.76rem;font-weight:800}.shapley-control-tabs button.is-active{background:var(--sl-yellow);box-shadow:none;color:var(--sl-black)}.shapley-checkbox{background:var(--sl-yellow);border:1px solid var(--shapley-border);border-radius:6px;align-items:center;gap:.5rem;min-height:38px;padding:.45rem .55rem;display:flex}.shapley-checkbox input{accent-color:var(--shapley-accent)}.shapley-change-setup{background:var(--sl-yellow);border:1px solid var(--sl-blue);color:var(--sl-black);border-radius:6px;width:100%;min-height:38px;font-weight:800}.shapley-allocation-summary{border-bottom:1px solid var(--shapley-border);gap:.8rem;padding-bottom:.9rem;display:grid}.shapley-result-heading{grid-template-columns:minmax(0,1fr) auto;gap:0;display:grid}.shapley-result-heading>div{gap:.2rem;min-width:0;padding:.35rem .75rem;display:grid}.shapley-result-heading>div:first-child{padding-left:0}.shapley-result-heading>div+div{border-left:1px solid var(--shapley-border)}.shapley-result-heading span{color:var(--shapley-muted);text-transform:uppercase;font-size:.72rem;font-weight:800}.shapley-result-heading strong{overflow-wrap:anywhere}.shapley-result-heading .is-good strong{color:var(--sl-black)}.shapley-result-heading .is-bad strong{color:var(--sl-red)}.shapley-value-bars{gap:.45rem;display:grid}.shapley-value-bars>div{grid-template-columns:minmax(8rem,1fr) minmax(7rem,2fr) auto;align-items:center;gap:.65rem;min-width:0;padding:.35rem 0;display:grid}.shapley-value-bars i{background:var(--sl-yellow);border-radius:999px;height:.62rem;overflow:hidden}.shapley-value-bars i b{background:var(--shapley-accent);border-radius:inherit;height:100%;display:block}.shapley-value-bars i b.is-negative{background:var(--sl-blue)}.shapley-basis-formula{border-left:3px solid var(--shapley-accent);gap:.45rem;padding:.55rem .75rem;display:grid;overflow-x:auto}.shapley-basis-formula>span{color:var(--shapley-muted);text-transform:uppercase;font-size:.7rem;font-weight:800}.shapley-basis-formula>div{align-items:baseline;gap:.22rem;min-width:max-content;font-family:Georgia,Times New Roman,serif;font-size:1.05rem;display:flex}.shapley-basis-formula>div>b{color:var(--sl-black);margin:0 .65rem}.shapley-basis-formula sub{font-size:.65em}.shapley-basis-fraction{text-align:center;display:inline-grid}.shapley-basis-fraction>span:first-child{border-bottom:1px solid;padding:0 .22rem .12rem}.shapley-basis-fraction>span:last-child{padding-top:.1rem}.shapley-table-section{border-top:1px solid var(--shapley-border);gap:.65rem;min-width:0;padding-top:.9rem;display:grid}.shapley-table-section>h3,.shapley-table-section>header h3{margin:0}.shapley-table-section>header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.shapley-table-section>header span{color:var(--sl-black);font-size:.76rem;font-weight:850}.shapley-table-section .shapley-table-wrap{border:1px solid var(--shapley-border);border-radius:7px;overflow-x:auto}.shapley-table-section table{min-width:560px}.shapley-table-section th{background:var(--sl-yellow)}.shapley-value-active .shapley-lattice-card{border:0;border-top:1px solid var(--shapley-border);border-radius:0;padding:.9rem 0 0}.shapley-explanation-toggle{justify-items:start;gap:.75rem;display:grid}.shapley-explanation-toggle>button{background:var(--sl-blue);border:1px solid var(--sl-blue);color:var(--sl-white);border-radius:6px;min-height:42px;padding:.55rem .9rem;font-weight:850}.shapley-help-button{width:36px;height:36px;font-size:1rem;font-weight:900;position:relative}.shapley-help-button:after{background:var(--sl-blue);color:var(--sl-white);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;z-index:10;border-radius:5px;padding:.35rem .5rem;font-size:.68rem;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 8px);right:0;transform:translateY(3px)}.shapley-help-button:hover:after,.shapley-help-button:focus-visible:after{opacity:1;transform:translateY(0)}.shapley-help-backdrop{background:var(--sl-blue);z-index:1000;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.shapley-help-dialog{background:var(--sl-yellow);border:1px solid var(--sl-blue);box-shadow:none;border-radius:8px;gap:1rem;width:100%;max-width:760px;max-height:calc(100vh - 2rem);padding:1.1rem;display:grid;overflow-y:auto}.shapley-help-dialog>header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.shapley-help-dialog>header span{color:var(--shapley-accent);text-transform:uppercase;font-size:.7rem;font-weight:850}.shapley-help-dialog h2,.shapley-help-dialog h3{margin:0}.shapley-help-dialog>header>button{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:6px;place-items:center;width:34px;height:34px;padding:0;font-size:1.1rem;display:grid}.shapley-help-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.shapley-help-steps section,.shapley-help-method{background:var(--sl-yellow);border:1px solid var(--shapley-border);border-radius:7px;padding:.8rem}.shapley-help-dialog p{color:var(--shapley-muted);margin:.3rem 0 0;font-size:.8rem;line-height:1.5}@media (min-width:821px){.shapley-value-lab .lab-header>:first-child{flex:390px}.shapley-value-lab .lab-header>.lab-actions{flex:620px;justify-content:flex-end}}@media (max-width:1120px){.shapley-value-lab.shapley-value-active .lab-workspace{grid-template-columns:minmax(240px,.34fr) minmax(0,.66fr)}}@media (max-width:820px){.shapley-value-lab.shapley-value-active .lab-workspace{grid-template-columns:minmax(0,1fr)}.shapley-value-lab .lab-header>:first-child,.shapley-value-lab .lab-header>.lab-actions{width:100%}.shapley-value-lab .lab-header>.lab-actions{flex-wrap:wrap;justify-content:flex-start}}@media (max-width:560px){.shapley-example-actions,.shapley-reset-actions{flex-wrap:wrap;width:100%}.shapley-example-actions .inline-select,.shapley-example-actions select{width:100%;min-width:0}.shapley-reset-actions{border-left:0;border-top:2px solid var(--sl-blue);padding-top:.6rem;padding-left:0}.shapley-player-grid,.shapley-help-steps,.shapley-result-heading{grid-template-columns:minmax(0,1fr)}.shapley-result-heading>div{padding:.45rem 0}.shapley-result-heading>div+div{border-left:0;border-top:1px solid var(--shapley-border)}.shapley-value-bars>div{grid-template-columns:minmax(0,1fr) auto}.shapley-value-bars i{grid-column:1/-1}}
.voting-power-lab.voting-streamlined{--voting-accent:var(--sl-blue);--voting-border:var(--sl-blue);--voting-muted:var(--sl-black);width:100%;max-width:1132px;margin-inline:auto}.voting-streamlined .lab-workspace{grid-template-columns:minmax(0,1fr);align-items:start}.voting-streamlined.is-active .lab-workspace{grid-template-columns:minmax(250px,.27fr) minmax(0,.73fr)}.voting-streamlined .lab-workspace>*{align-self:start;min-width:0}.voting-example-actions,.voting-reset-actions{flex-wrap:nowrap;flex:none;align-items:center;gap:.5rem;display:flex}.voting-streamlined .lab-actions{flex-wrap:nowrap;flex:none;align-items:center}.voting-streamlined .lab-actions button,.voting-example-actions .inline-select>span{white-space:nowrap}.voting-reset-actions{border-left:2px solid var(--sl-blue);padding-left:.75rem}.voting-setup-stack,.voting-control-stack,.voting-workbench-stack{gap:.9rem;min-width:0;display:grid}.voting-setup-section{gap:.7rem;min-width:0;display:grid}.voting-setup-section+.voting-setup-section{border-top:1px solid var(--voting-border);padding-top:.9rem}.voting-section-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.voting-section-heading h3,.voting-section-heading p{margin:0}.voting-section-heading p{color:var(--voting-muted);margin-top:.18rem;font-size:.82rem}.voting-setup-player-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:.55rem;display:grid}.voting-setup-player{background:var(--sl-yellow);border:1px solid var(--voting-border);border-radius:7px;grid-template-columns:auto minmax(0,1fr) 74px auto;align-items:end;gap:.5rem;padding:.5rem;display:grid}.voting-setup-player>span{color:var(--voting-accent);align-self:center;font-size:.72rem;font-weight:850}.voting-setup-player label,.voting-control-field{gap:.2rem;min-width:0;display:grid}.voting-setup-player small,.voting-control-field>span{color:var(--voting-muted);text-transform:uppercase;font-size:.68rem;font-weight:800}.voting-setup-player input,.voting-control-field select,.voting-quota-row input:not([type=range]){background:var(--sl-yellow);border:1px solid var(--sl-blue);color:inherit;border-radius:6px;width:100%;min-width:0;padding:.5rem .58rem}.voting-setup-player input.is-invalid,.voting-quota-row input.is-invalid{border-color:var(--sl-red)}.voting-icon-button,.voting-help-button{background:var(--sl-yellow);border:1px solid var(--sl-blue);color:var(--sl-black);cursor:pointer;border-radius:6px;place-items:center;display:grid;padding:0!important}.voting-icon-button{width:32px;height:32px;font-size:1rem;font-weight:850}.voting-icon-button:disabled{cursor:not-allowed;opacity:.45}.voting-quota-editor .voting-section-heading>button{background:var(--sl-yellow);border:1px solid var(--sl-blue);color:var(--sl-black);border-radius:6px;min-height:34px;padding:.35rem .65rem;font-weight:750}.voting-quota-row{grid-template-columns:105px minmax(180px,1fr) auto;align-items:center;gap:.8rem;display:grid}.voting-quota-row label{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.4rem;display:grid}.voting-quota-row label>span{font-family:Georgia,Times New Roman,serif;font-size:1.05rem;font-style:italic}.voting-quota-row input[type=range]{accent-color:var(--voting-accent);width:100%;min-width:0}.voting-quota-row>span{color:var(--voting-muted);white-space:nowrap;font-size:.78rem;font-weight:750}.voting-threshold-rule{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}.voting-threshold-rule span{border-left:3px solid var(--sl-blue);color:var(--sl-black);padding:.42rem .6rem;font-size:.78rem}.voting-threshold-rule span:last-child{border-left-color:var(--sl-blue)}.voting-command-row{border-top:1px solid var(--voting-border);justify-content:flex-end;padding-top:.75rem;display:flex}.voting-command-row button{background:var(--sl-blue);border-color:var(--sl-blue);color:var(--sl-white);min-width:104px;min-height:38px;font-weight:800}.voting-view-tabs{background:var(--sl-yellow);border-radius:7px;gap:4px;padding:4px;display:grid}.voting-view-tabs button{color:var(--sl-black);background:0 0;border:0;border-radius:5px;min-height:38px;padding:.45rem .55rem;font-size:.76rem;font-weight:800}.voting-view-tabs button.is-active{background:var(--sl-yellow);box-shadow:none;color:var(--sl-black)}.voting-control-toggle{background:var(--sl-yellow);border:1px solid var(--voting-border);border-radius:6px;align-items:center;gap:.5rem;min-height:38px;padding:.45rem .55rem;display:flex}.voting-control-toggle input{accent-color:var(--voting-accent)}.voting-change-setup{background:var(--sl-yellow);border:1px solid var(--sl-blue);color:var(--sl-black);border-radius:6px;width:100%;min-height:38px;font-weight:800}.voting-index-summary{border-bottom:1px solid var(--voting-border);grid-template-columns:minmax(0,1fr) auto;padding-bottom:.8rem;display:grid}.voting-index-summary>div{gap:.2rem;min-width:0;padding:.25rem .75rem;display:grid}.voting-index-summary>div:first-child{padding-left:0}.voting-index-summary>div+div{border-left:1px solid var(--voting-border)}.voting-index-summary span{color:var(--voting-muted);text-transform:uppercase;font-size:.7rem;font-weight:800}.voting-index-summary strong{overflow-wrap:anywhere}.voting-streamlined .voting-power-bars{gap:.4rem;display:grid}.voting-streamlined .voting-power-bars button{color:inherit;text-align:left;background:0 0;border:1px solid #0000;border-radius:6px;grid-template-columns:minmax(7rem,1fr) minmax(7rem,2fr) auto;align-items:center;gap:.65rem;min-width:0;padding:.45rem .5rem;display:grid}.voting-streamlined .voting-power-bars button:hover,.voting-streamlined .voting-power-bars button.is-selected{background:var(--sl-yellow);border-color:var(--sl-blue)}.voting-streamlined .voting-power-bars i{background:var(--sl-yellow);border-radius:999px;height:.62rem;overflow:hidden}.voting-streamlined .voting-power-bars i b{background:var(--voting-accent);border-radius:inherit;height:100%;display:block}.voting-comparison-section,.voting-orders-view,.voting-coalition-list{border-top:1px solid var(--voting-border);gap:.7rem;min-width:0;padding-top:.9rem;display:grid}.voting-comparison-section h3{margin:0}.voting-streamlined .voting-table-wrap{border:1px solid var(--voting-border);border-radius:7px;overflow-x:auto}.voting-streamlined .voting-table-wrap table{min-width:590px}.voting-streamlined .voting-table-wrap th{background:var(--sl-yellow)}.voting-streamlined .voting-table-wrap td small{color:var(--voting-muted);margin-top:.1rem;font-size:.68rem;display:block}.voting-properties{border-top:1px solid var(--voting-border);padding-top:.8rem}.voting-properties summary{color:var(--sl-black);cursor:pointer;font-weight:800}.voting-properties>div{gap:.4rem;margin-top:.65rem;display:grid}.voting-properties span{align-items:center;gap:.45rem;font-size:.8rem;display:flex}.voting-properties b{color:var(--sl-black)}.voting-orders-view>header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.voting-orders-view>header>div:first-child{gap:.25rem;min-width:0;display:grid}.voting-orders-view>header span{color:var(--voting-muted);text-transform:uppercase;font-size:.72rem;font-weight:800}.voting-orders-view>header strong{overflow-wrap:anywhere}.voting-order-buttons{gap:.4rem;display:flex}.voting-order-buttons button{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:6px;place-items:center;width:36px;height:36px;padding:0;font-size:1.35rem;display:grid}.voting-pivotal-result{border-left:3px solid var(--sl-token-gold);gap:.15rem;padding:.5rem .7rem;display:grid}.voting-pivotal-result>span{color:var(--voting-muted);text-transform:uppercase;font-size:.7rem;font-weight:800}.voting-pivotal-result small{color:var(--voting-muted)}.voting-filter-tabs{background:var(--sl-yellow);border-radius:7px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;display:grid}.voting-filter-tabs button{color:var(--sl-black);background:0 0;border:0;border-radius:5px;min-height:36px;font-size:.76rem;font-weight:800}.voting-filter-tabs button.is-active{background:var(--sl-yellow);box-shadow:none;color:var(--sl-black)}.voting-selected-coalition{background:var(--sl-yellow);border-left:3px solid var(--voting-accent);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.6rem;padding:.55rem .7rem;display:grid}.voting-selected-coalition b{color:var(--sl-black)}.voting-streamlined .voting-table-wrap th button{color:var(--sl-blue);text-align:left;background:0 0;border:0;padding:0;font-weight:800}.voting-streamlined .voting-table-wrap tr.is-selected td,.voting-streamlined .voting-table-wrap tr.is-selected th{background:var(--sl-yellow)}.voting-empty-state,.voting-refreshing{background:var(--sl-yellow);border-left:3px solid var(--sl-token-gold);color:var(--sl-black);padding:.65rem .75rem}.voting-explanation-toggle{justify-items:start;gap:.75rem;display:grid}.voting-explanation-toggle>button{background:var(--sl-blue);border:1px solid var(--sl-blue);color:var(--sl-white);border-radius:6px;min-height:42px;padding:.55rem .9rem;font-weight:850}.voting-help-button{width:36px;height:36px;font-size:1rem;font-weight:900;position:relative}.voting-help-button:after{background:var(--sl-blue);color:var(--sl-white);content:attr(data-tooltip);opacity:0;pointer-events:none;white-space:nowrap;z-index:10;border-radius:5px;padding:.35rem .5rem;font-size:.68rem;transition:opacity .12s,transform .12s;position:absolute;bottom:calc(100% + 8px);right:0;transform:translateY(3px)}.voting-help-button:hover:after,.voting-help-button:focus-visible:after{opacity:1;transform:translateY(0)}.voting-help-backdrop{background:var(--sl-blue);z-index:1000;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.voting-help-dialog{background:var(--sl-yellow);border:1px solid var(--sl-blue);box-shadow:none;border-radius:8px;gap:1rem;width:100%;max-width:760px;max-height:calc(100vh - 2rem);padding:1.1rem;display:grid;overflow-y:auto}.voting-help-dialog>header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.voting-help-dialog>header span{color:var(--voting-accent);text-transform:uppercase;font-size:.7rem;font-weight:850}.voting-help-dialog h2,.voting-help-dialog h3{margin:0}.voting-help-dialog>header>button{background:var(--sl-yellow);border:1px solid var(--sl-blue);border-radius:6px;place-items:center;width:34px;height:34px;padding:0;font-size:1.1rem;display:grid}.voting-help-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.voting-help-steps section,.voting-help-method{background:var(--sl-yellow);border:1px solid var(--voting-border);border-radius:7px;padding:.8rem}.voting-help-dialog p{color:var(--voting-muted);margin:.3rem 0 0;font-size:.8rem;line-height:1.5}@media (min-width:821px){.voting-streamlined .lab-header>:first-child{flex:390px}.voting-streamlined .lab-header>.lab-actions{flex:620px;justify-content:flex-end}}@media (max-width:1120px){.voting-streamlined.is-active .lab-workspace{grid-template-columns:minmax(235px,.34fr) minmax(0,.66fr)}}@media (max-width:820px){.voting-streamlined.is-active .lab-workspace{grid-template-columns:minmax(0,1fr)}.voting-streamlined .lab-header>:first-child,.voting-streamlined .lab-header>.lab-actions{width:100%}.voting-streamlined .lab-header>.lab-actions{flex-wrap:wrap;justify-content:flex-start}}@media (max-width:620px){.voting-example-actions,.voting-reset-actions{flex-wrap:wrap;width:100%}.voting-example-actions .inline-select,.voting-example-actions select{width:100%;min-width:0}.voting-reset-actions{border-left:0;border-top:2px solid var(--sl-blue);padding-top:.6rem;padding-left:0}.voting-setup-player-grid,.voting-help-steps,.voting-index-summary,.voting-threshold-rule{grid-template-columns:minmax(0,1fr)}.voting-setup-player{grid-template-columns:auto minmax(0,1fr) 68px auto}.voting-quota-row{grid-template-columns:minmax(0,1fr)}.voting-index-summary>div{padding:.45rem 0}.voting-index-summary>div+div{border-left:0;border-top:1px solid var(--voting-border)}.voting-streamlined .voting-power-bars button{grid-template-columns:minmax(0,1fr) auto}.voting-streamlined .voting-power-bars i{grid-column:1/-1}.voting-orders-view>header{flex-direction:column;align-items:stretch}.voting-selected-coalition{grid-template-columns:minmax(0,1fr)}}@media (max-width:430px){.voting-setup-player{grid-template-columns:auto minmax(0,1fr) auto;align-items:center}.voting-setup-player .voting-weight-field{grid-column:2}.voting-filter-tabs{grid-template-columns:minmax(0,1fr)}}
