.bat-lab{--bat-you:var(--warn);--bat-grid:var(--fg-subtle);--bat-llm:var(--teal);--bat-bayes:var(--accent-fg);--bat-bayes-soft:#a5b4fc29;--bat-ink:var(--fg);--bat-muted:var(--fg-subtle);--bat-rule:var(--border-strong);--bat-fog:var(--surface-2);--bat-hatch:var(--border);--bat-panel:var(--bg);container:bat/inline-size}[data-theme=light] .bat-lab{--bat-bayes-soft:#4338ca1f}.bat-lab canvas{touch-action:manipulation;width:100%;display:block}.bat-lede b,.bat-say b{color:var(--fg);font-weight:600}.bat-notes a{color:var(--fg-muted);text-underline-offset:2px;text-decoration:underline}.bat-notes a:hover{color:var(--accent-fg)}.bat-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:.375rem;display:grid}.bat-tab{border:1px solid var(--border);min-width:0;color:var(--fg);text-align:left;cursor:pointer;border-radius:2px;flex-direction:column;gap:.125rem;padding:.625rem .75rem;transition:background .15s,border-color .15s;display:flex}.bat-tab:hover{background:var(--surface-2)}.bat-tab[aria-selected=true]{border-color:var(--c);background:var(--surface-2);box-shadow:inset 0 -3px 0 var(--c)}.bat-tab-name,.bat-key-name{align-items:center;gap:.45rem;font-size:.875rem;font-weight:600;display:flex}.bat-tab-name i{background:var(--c);border-radius:999px;flex:none;width:9px;height:9px}.bat-tab-status{font:500 .6875rem/1.4 var(--font-mono);font-variant-numeric:tabular-nums;color:var(--fg-subtle)}.bat-bench{border:1px solid var(--border);background:var(--bg);border-radius:2px;flex-direction:column;gap:.875rem;padding:1rem;display:flex}.bat-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.625rem;display:flex}.bat-say{min-width:0;max-width:64ch;color:var(--fg-muted);font-size:.9375rem}.bat-btn{background:var(--accent-solid);height:2.25rem;color:var(--on-accent);white-space:nowrap;cursor:pointer;border-radius:.375rem;justify-content:center;align-items:center;padding-inline:.875rem;font-size:.875rem;font-weight:600;transition:background .2s,border-color .2s;display:inline-flex;box-shadow:inset 0 0 0 1px #ffffff1a}.bat-btn:hover{background:var(--accent-solid-hover)}.bat-btn.is-ghost{border:1px solid var(--border-strong);background:var(--surface);box-shadow:none;color:var(--fg)}.bat-btn.is-ghost:hover{border-color:var(--accent);background:var(--surface-2)}.bat-toggle{color:var(--fg-muted);cursor:pointer;align-items:center;gap:.5rem;font-size:.8125rem;display:inline-flex}.bat-toggle input{accent-color:var(--accent-solid)}.bat-legend{color:var(--fg-subtle);flex-wrap:wrap;gap:.5rem 1rem;font-size:.8125rem;display:flex}.bat-legend>span{align-items:center;gap:.375rem;display:inline-flex}.bat-swatch{border-radius:2px;flex:none;width:1rem;height:.625rem;display:inline-block}.bat-dot{border-radius:999px;width:8px;height:8px;display:inline-block}.bat-line-key{background:var(--c);border-radius:2px;flex:none;width:1rem;height:3px}.bat-map{cursor:crosshair}.bat-cloud{cursor:grab;touch-action:none;border-radius:2px}.bat-cloud.is-dragging{cursor:grabbing}.bat-scale{font:500 .6875rem/1 var(--font-mono);color:var(--fg-subtle);flex-wrap:wrap;align-items:center;gap:.625rem;display:flex}.bat-ramp{width:min(16rem,50vw);height:.5rem;box-shadow:inset 0 0 0 1px var(--border);border-radius:999px}.bat-ramp-life{background:linear-gradient(90deg,#0b0d1a,#1e1b4b,#3730a3,#6366f1,#a78bfa,#f0abfc,#fff1f2)}.bat-ramp-doubt{background:linear-gradient(90deg,#0b0d1a,#151a33,#2c3263,#64748b,#cbd5e1)}.bat-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.bat-pair figure,.bat-viz figure{flex-direction:column;gap:.375rem;min-width:0;display:flex}.bat-pair figcaption,.bat-viz figcaption{color:var(--fg);font-size:.875rem;font-weight:600}.bat-pair figcaption span{color:var(--fg-subtle);font-size:.8125rem;font-weight:400;display:block}.bat-viz{grid-template-columns:minmax(0,1fr);gap:1rem;display:grid}.bat-slicebar{border:1px solid var(--border);border-radius:2px;flex-wrap:wrap;align-items:center;gap:.625rem 1.125rem;padding:.625rem .75rem;display:flex}.bat-slicebar>label:first-child{font-size:.875rem;font-weight:600}.bat-slicebar input[type=range]{min-width:0;accent-color:var(--accent-solid);flex:12rem}.bat-slicebar output{min-width:2.75rem;font:500 .875rem var(--font-mono);font-variant-numeric:tabular-nums}.bat-readout{border:1px solid var(--border);border-radius:2px;flex-wrap:wrap;gap:.5rem 1.75rem;padding:.625rem .75rem;display:flex}.bat-readout div{flex-direction:column;min-width:0;display:flex}.bat-readout span{color:var(--fg-subtle);font-size:.75rem}.bat-readout b{font:500 .875rem var(--font-mono);font-variant-numeric:tabular-nums;color:var(--fg)}.bat-knobs{flex-direction:column;display:flex}.bat-khead,.bat-knob{grid-template-columns:minmax(9.5rem,1.2fr) minmax(7.5rem,1.3fr) 4.75rem minmax(9.5rem,1.6fr) 5.25rem;align-items:center;gap:.875rem;display:grid}.bat-khead{border-bottom:1px solid var(--border);font:500 .6875rem/1.3 var(--font-mono);color:var(--fg-subtle);padding-bottom:.375rem}.bat-knob{border-bottom:1px solid var(--border);padding-block:.4375rem}.bat-knob label{color:var(--fg);font-size:.875rem;font-weight:600;line-height:1.25}.bat-knob label small{font:400 .6875rem/1.4 var(--font-mono);color:var(--fg-subtle);display:block}.bat-knob input[type=range]{width:100%;min-width:0;accent-color:var(--c,var(--accent-solid))}.bat-knob output{font:500 .875rem var(--font-mono);font-variant-numeric:tabular-nums;text-align:right}.bat-imp{background:var(--surface-2);border-radius:4px;height:8px;position:relative}.bat-imp-fill{background:var(--bat-bayes);border-radius:4px;transition:width .3s;position:absolute;inset:0 auto 0 0}.bat-imp-tick{background:var(--fg);width:2px;position:absolute;top:-4px;bottom:-4px}.bat-knobs.is-noimp .bat-imp,.bat-knobs.is-noimp .bat-khead-imp{visibility:hidden}.bat-key{border-collapse:collapse;width:100%;color:var(--fg)}.bat-key th,.bat-key td{border-bottom:1px solid var(--border);text-align:right;vertical-align:top;padding:.625rem 0 .625rem .875rem}.bat-key :is(th,td):first-child{text-align:left;padding-left:0}.bat-key thead th{font:500 .6875rem/1.3 var(--font-mono);letter-spacing:.04em;text-transform:uppercase;color:var(--fg-subtle);padding-top:0}.bat-key-name{flex-wrap:wrap;line-height:1.3}.bat-key td{font:500 .875rem/1.3 var(--font-mono);font-variant-numeric:tabular-nums;white-space:nowrap}.bat-key td small{color:var(--fg-subtle);font-size:.6875rem;display:block}.bat-key-name sup{align-self:flex-start;line-height:1}.bat-why{font:500 .6875rem/1.2 var(--font-sans);color:var(--accent-fg);text-align:left;text-underline-offset:2px;cursor:pointer;text-decoration:underline dotted}.bat-why:hover,.bat-why[aria-expanded=true]{text-decoration-style:solid}.bat-why:focus-visible{outline:2px solid var(--accent-solid);outline-offset:2px;border-radius:2px}.bat-why-pop{z-index:5;border:1px solid var(--border-strong);background:var(--surface-2);width:max-content;max-width:min(28rem,100%);color:var(--fg);border-radius:4px;padding:.75rem .875rem;font-size:.8125rem;line-height:1.5;position:absolute;box-shadow:0 10px 30px #0000004d}.bat-why-pop:empty{display:none}@container bat (width>=46rem){.bat-viz[data-with-cloud]{grid-template-columns:minmax(0,3fr) minmax(0,2fr)}}@container bat (width<46rem){.bat-khead{display:none}.bat-knob{grid-template-columns:minmax(0,1fr) 4.5rem;row-gap:.375rem}.bat-knob input[type=range],.bat-knob canvas,.bat-knob .bat-imp{grid-column:1/-1}.bat-knob output{grid-area:1/2}}@container bat (width<36rem){.bat-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.bat-pair{grid-template-columns:minmax(0,1fr)}.bat-bench{padding:.75rem}.bat-key th,.bat-key td{padding-left:.5rem}.bat-key-name{font-size:.8125rem}.bat-key td{white-space:normal;font-size:.75rem}}@media (prefers-reduced-motion:reduce){.bat-lab *,.bat-lab :before{transition:none!important;animation:none!important}}.layer-head[data-astro-cid-7zkc5tab]{align-items:center;gap:.625rem;padding:.5rem .5rem 0;display:flex}.layer-body[data-astro-cid-7zkc5tab]{padding:.5rem .5rem .25rem}.layer-body[data-astro-cid-7zkc5tab] h3[data-astro-cid-7zkc5tab]{font-family:var(--font-sans);color:var(--fg);font-size:1rem;font-weight:600}.layer-body[data-astro-cid-7zkc5tab] p[data-astro-cid-7zkc5tab]{max-width:42rem;color:var(--fg-muted);margin-top:.25rem;line-height:1.65}
