:root{--c-bg-root:#0a0a12;--c-bg-panel:#0f0f1a;--c-bg-surface:#1a1a30;--c-bg-surface-alt:#1a1a3a;--c-bg-input:#0a0a18;--c-accent:#6080ff;--c-accent-bright:#80a0ff;--c-text-primary:#c8c8d8;--c-text-secondary:#8a8aaa;--c-text-muted:#9090b8;--c-text-dim:#9090b0;--c-text-dimmer:#8a8aaa;--c-text-faint:#8888b8;--c-border:#2a2a40;--c-border-hover:#3a3a5a;--c-warning:gold;--c-active-glow:#6080ff0f;--font-mono:"SF Mono", "Cascadia Mono", Consolas, Menlo, "BIZ UDGothic", "Noto Sans Mono CJK JP", monospace;--font-sans:"Segoe UI", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;--sp-root-top:6px;--sp-header-mb:7px;--sp-tablist-mb:6px;--sp-title-mb:2px;--sp-status-mt:2px;--fs-tab:11px;--sp-tab-v:4px;--sp-tab-h:4px;--app-inline-content-width:calc(100vw - max(16px, env(safe-area-inset-left)) - max(16px, env(safe-area-inset-right)))}@media (max-width:767px){:root{--sp-status-mt:1px}.app-title{transform:translateY(2px)}.panel-canvas{--canvas-status-line-max-width:var(--app-inline-content-width);--canvas-status-line-width:var(--app-inline-content-width)}}html,body{background:var(--c-bg-root,#0a0a12);margin:0;padding:0}body{font-family:var(--font-sans);overflow-x:hidden}button,input,select,textarea{font:inherit}.header-action-link:hover{color:var(--c-accent-bright,#80a0ff);-webkit-text-decoration-color:var(--c-accent-bright,#80a0ff);text-decoration-color:var(--c-accent-bright,#80a0ff)}.header-action-link:focus-visible{color:var(--c-accent-bright,#80a0ff);-webkit-text-decoration-color:var(--c-accent-bright,#80a0ff);text-decoration-color:var(--c-accent-bright,#80a0ff)}[role=tablist]>button[role=tab]{flex:1;min-width:0}@media (min-width:1024px){[role=tablist]>button[role=tab]{flex:none}}button:focus-visible{outline:2px solid var(--c-accent,#6080ff);outline-offset:2px}button:hover:not(:disabled){background:var(--c-bg-surface-alt,#1a1a3a);border-color:var(--c-border-hover,#3a3a5a)}svg g[tabindex]:focus{outline:none}svg g[tabindex]:focus-visible{outline:none}.hex-dice-button,.hex-dice-button:focus,.hex-dice-button *{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;outline:none}.hex-dice-button:focus-visible{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;outline:none}input[type=checkbox]{-webkit-appearance:none;appearance:none;border:1px solid var(--c-border,#2a2a40);background:var(--c-bg-input,#0a0a18);cursor:pointer;vertical-align:middle;border-radius:3px;width:14px;height:14px;position:relative}input[type=checkbox]:checked{background:var(--c-accent,#6080ff);border-color:var(--c-accent,#6080ff)}input[type=checkbox]:checked:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:4px;height:8px;position:absolute;top:1px;left:4px;transform:rotate(45deg)}input[type=checkbox]:focus-visible{outline:2px solid var(--c-accent,#6080ff);outline-offset:2px}.map-mode-buttons{flex-wrap:wrap;justify-content:center}.map-mode-buttons>button{flex-shrink:0}.panel-canvas--map .map-mode-buttons{box-sizing:border-box;max-width:var(--app-inline-content-width);width:var(--app-inline-content-width)}.gallery-grid{grid-template-columns:repeat(auto-fill, minmax(var(--gallery-thumb-track,194px), 1fr));justify-content:center;gap:6px;width:100%;padding:2px 0;display:grid}.gallery-card{border:2px solid var(--c-bg-surface,#1a1a30);cursor:pointer;background:0 0;border-radius:4px;flex-direction:column;align-items:center;gap:2px;padding:3px;display:flex}.gallery-card--current{border-color:var(--c-accent,#6080ff);background:var(--c-active-glow,#6080ff0f)}.gallery-preview-button{border-radius:2px;outline:none}.gallery-preview-button--expanded{outline:2px solid var(--c-accent,#6080ff)}.gallery-thumb-canvas{border-radius:2px;display:block}.gallery-swatches{gap:2px;display:flex}.gallery-swatch{border-radius:2px;width:10px;height:10px}.gallery-bookmark-button{cursor:pointer;color:var(--c-text-faint,#8888b8);background:0 0;border:none;padding:2px 4px 0;font-size:11px;line-height:1}.gallery-bookmark-button--starred{color:var(--c-warning,gold)}.gallery-bookmark-button:hover:not(:disabled){background:0 0;border-color:#0000}.panel-layout{flex-direction:column;align-items:center;gap:2px;width:100%;display:flex}.panel-canvas{width:100%;max-width:var(--display-max,420px);flex-direction:column;align-items:center;display:flex}.canvas-cursor-overlay{opacity:0}.canvas-workspace:hover>.canvas-cursor-overlay{opacity:1}.panel-sidebar{width:100%;max-width:var(--display-max,420px);flex-direction:column;align-items:center;display:flex}.glaze-hue-section{margin-top:6px;padding-bottom:8px}.hex-diag-wrap{max-width:462px}.hex-title-standalone{display:none}.hex-title-overlay{display:block}.theory-reset-surface{width:100%}.theory-container,.theory-dev-header{box-sizing:border-box;width:100%;max-width:clamp(560px,82vw,900px);margin:0 auto}.theory-container{flex-direction:column;align-items:center;gap:16px;padding:0 6px 20px;display:flex}.theory-title{font-size:clamp(20px,2.35vw,24px);font-weight:700;font-family:var(--font-mono);color:var(--c-text-primary,#c8c8d8);margin:0 0 12px}html:lang(en) .theory-title{white-space:nowrap}.theory-heading{font-size:clamp(16px,1.8vw,18px);font-weight:700;font-family:var(--font-mono);color:var(--c-accent-bright,#80a0ff);text-align:center;margin:0}.theory-chapter,.theory-subsection{min-width:0;scroll-margin-top:20px}.theory-figure{flex-direction:column;align-items:center;gap:12px;width:100%;min-width:0;margin:0;display:flex}.theory-figure>figcaption{font:600 12px/1.6 var(--font-mono);color:var(--c-text-muted,#9090b8);text-align:center}.theory-diagram-label{font-weight:600}.theory-desc{font-size:clamp(13px,1.5vw,15px);font-family:var(--font-sans);color:#a8a8c8;text-align:left;width:100%;margin:0;line-height:1.8}.theory-intro{color:var(--c-text-muted,#9090b8)}.theory-hint{font-size:8px;font-family:var(--font-mono);color:var(--c-text-dimmer,#8a8aaa);text-align:center;margin:0}.theory-annotation:not(button){opacity:1!important}button.theory-diagram-button{box-sizing:border-box;height:22px;min-height:22px}.theory-generation-surface{container:generation-layout/inline-size}.theory-generation{width:100%;font-family:var(--font-mono);color:#c8c8d8;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px clamp(8px,2vw,28px);padding:16px 0;display:grid;container:primary-generation/inline-size}.theory-generation-diagram{align-self:stretch;min-width:0}.theory-generation-with-diagram{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr) minmax(0,1fr);align-items:start}.theory-generation-heading-short{display:none}.theory-generation-with-diagram .theory-generation-heading{text-align:center}.theory-generation-diagram .theory-figure{gap:0}.theory-generation-diagram .theory-figure>div{width:100%;max-width:320px}.theory-generation-diagram .theory-figure>figcaption{color:#b3bedb;text-align:center;font-weight:700;line-height:1.5}.theory-venn{justify-content:center;width:100%;max-width:320px;display:flex}.theory-venn-svg{cursor:pointer;-webkit-tap-highlight-color:transparent;width:100%;height:auto;display:block}@container generation-layout (width<601px){.theory-generation-with-diagram .theory-generation-heading-long{display:none}.theory-generation-with-diagram .theory-generation-heading-short{display:inline}.theory-generation-with-diagram{grid-template-columns:clamp(78px,18cqw,108px) minmax(0,1fr) clamp(84px,20cqw,132px);gap:8px 4px;padding-block-start:8px;padding-block-end:8px}.theory-generation-diagram .theory-figure>div{max-width:clamp(240px,48cqw,264px);overflow:hidden}.theory-generation-diagram .theory-venn-svg{flex-shrink:0;width:121.569%}}@container generation-layout (width>=601px){.theory-generation-with-diagram{grid-template-columns:minmax(0,1fr) minmax(240px,1.2fr) minmax(0,1fr);align-items:start}}@container generation-layout (width>=800px){.theory-generation-with-diagram{grid-template-columns:repeat(3,minmax(0,1fr))}}.theory-generation-builder,.theory-generation-states{min-width:0}.theory-generation-heading{color:#b3bedb;margin:0 0 12px;font-size:12px;font-weight:700;line-height:1.5}.theory-generation-inputs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.theory-generation-primary,.theory-generation-state{box-sizing:border-box;color:#c8c8d8;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:1px solid #2a2a40;border-radius:6px;min-width:0;font-size:12px;transition:background-color .12s,border-color .12s,box-shadow .12s}.theory-generation-primary{justify-content:center;align-items:center;min-height:32px;padding:4px 8px;display:flex}.theory-generation-primary-label{align-items:center;gap:6px;font-size:14px;font-weight:700;display:flex}.theory-generation-swatch{border:1px solid #ffffff4d;border-radius:3px;flex:0 0 10px;width:10px;height:10px;display:inline-block}.theory-generation-primary[aria-pressed=true],.theory-generation-state[aria-pressed=true]{background:#171e33;border-color:#80a0ff;box-shadow:inset 0 0 0 1px #80a0ff1f}.theory-generation-primary:hover,.theory-generation-state:hover,.theory-generation-primary[data-highlighted=true],.theory-generation-state[data-highlighted=true]{background:#182034;border-color:#bacbea}.theory-generation-primary[aria-pressed=true]:hover,.theory-generation-state[aria-pressed=true]:hover,.theory-generation-primary[aria-pressed=true][data-highlighted=true],.theory-generation-state[aria-pressed=true][data-highlighted=true]{background:#232d48;border-color:#aac0ff}.theory-generation-primary:active,.theory-generation-state:active{background:#2c3858}.theory-generation-primary:focus-visible{outline-offset:2px;outline:2px solid #aac0ff}.theory-generation-state:focus-visible{outline-offset:2px;outline:2px solid #aac0ff}.theory-generation-result{border-top:1px solid #2a2a40;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;margin-top:16px;padding-top:14px;display:grid}.theory-generation-preview{box-sizing:border-box;border:1px solid #ffffff59;border-radius:6px;width:42px;height:42px}.theory-generation-result-label{color:#9090b8;margin-bottom:4px;font-size:11px}.theory-generation-result-value{letter-spacing:1px;align-items:baseline;gap:12px;font-size:20px;display:flex}.theory-generation-formula{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;gap:8px;font-size:12px;line-height:1.5;display:flex}.theory-generation-formula span:last-child{color:#9090b8}.theory-generation-formula>span{white-space:nowrap}.theory-generation-states .theory-generation-heading{margin-bottom:4px}.theory-generation-layers{gap:6px;display:grid}.theory-generation-layer{min-width:0}.theory-generation-layer-states{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.theory-generation-state{white-space:nowrap;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:48px;padding:5px 3px;display:flex}.theory-generation-state-name{align-items:center;gap:6px;font-weight:700;display:flex}@container primary-generation (width<=800px){.theory-generation-heading{margin-bottom:8px;font-size:11px}.theory-generation-inputs,.theory-generation-layer-states{gap:4px}.theory-generation-primary,.theory-generation-state{font-size:11px}.theory-generation-primary{padding-inline-start:4px;padding-inline-end:4px}.theory-generation-primary-label{gap:4px;font-size:12px}.theory-generation-state-name{gap:4px}.theory-generation-swatch{flex-basis:8px;width:8px;height:8px}.theory-generation-result{grid-template-columns:32px minmax(0,1fr);gap:8px;margin-top:12px;padding-top:12px}.theory-generation-preview{width:30px;height:30px}.theory-generation-result-value{gap:6px;font-size:16px}.theory-generation-formula{gap:2px;font-size:11px;display:grid}.theory-generation-layers{gap:4px}.theory-generation-state{gap:2px;min-height:44px;padding:3px 2px}}@container primary-generation (width<601px){.theory-generation-with-diagram .theory-generation-inputs .theory-generation-primary,.theory-generation-with-diagram .theory-generation-layers .theory-generation-state{box-shadow:none;border-color:#0000}.theory-generation-with-diagram .theory-generation-inputs{gap:2px}.theory-generation-with-diagram .theory-generation-heading{overflow-wrap:anywhere}.theory-generation-with-diagram .theory-generation-result{grid-template-columns:1fr;gap:4px}.theory-generation-with-diagram .theory-generation-preview{width:22px;height:22px}.theory-generation-with-diagram .theory-generation-result-value{letter-spacing:0;gap:4px;font-size:12px}.theory-generation-with-diagram .theory-generation-formula>span{white-space:normal;overflow-wrap:anywhere}.theory-generation-with-diagram .theory-generation-layer-states{gap:2px}.theory-generation-with-diagram .theory-generation-state{padding-inline-start:0;padding-inline-end:0}.theory-generation-with-diagram .theory-generation-state-name{gap:2px}.theory-generation-primary{padding-inline-start:2px;padding-inline-end:2px}.theory-generation-primary-label{gap:2px;font-size:11px}}.theory-cube{width:100%;container:cube-layout/inline-size}.theory-cube-layout{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:center;gap:clamp(8px,2cqw,24px);display:grid}.theory-cube-geometry{flex-direction:column;align-items:center;gap:clamp(6px,1.4cqw,12px);width:100%;min-width:0;display:flex}.theory-cube-svg{width:100%;max-width:320px;height:auto;display:block}.theory-cube-focus-ring{opacity:0}.theory-cube-svg [role=button]:focus-visible{outline:none}.theory-cube-svg [role=button]:focus-visible .theory-cube-focus-ring{opacity:1}.theory-cube-controls{flex-wrap:wrap;justify-content:center;gap:6px;width:100%;max-width:360px;display:flex}.theory-cube-controls button,.theory-cube-face{box-sizing:border-box;color:#b8c4df;min-width:0;font:11px/1.4 var(--font-mono);cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:1px solid #30354b;border-radius:6px;transition:border-color .12s,background-color .12s}.theory-cube-controls button{white-space:nowrap;flex:none;min-width:44px;height:28px;padding:0 6px}.theory-cube-controls button:hover{background:#151d30;border-color:#a3b4d7}.theory-cube-controls button[aria-pressed=true]{background:#1b2540;border-color:#80a0ff}.theory-cube-controls button:focus-visible{outline-offset:2px;outline:2px solid #a9c0ff}.theory-cube-faces{justify-self:center;width:100%;min-width:0;max-width:280px}.theory-cube-faces-heading{color:#b3bedb;font:600 clamp(10px, 1.7cqw, 11px)/1.4 var(--font-mono);text-align:center;text-wrap:balance;margin-bottom:clamp(2px,.7cqw,6px)}.theory-cube-face-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(2px,.6cqw,5px) 2px;display:grid}.theory-cube-face{border-color:#0000;border-radius:0;flex-direction:column;align-items:center;gap:0;min-height:40px;padding:2px 0;display:flex}.theory-cube-face:hover:not(:disabled),.theory-cube-face:active{background:0 0;border-color:#0000;outline:none}.theory-cube-face:focus-visible{background:0 0;border-color:#0000;outline:none}.theory-cube-face-title{white-space:nowrap;font-size:clamp(10px,1.8cqw,12px);font-weight:700}.theory-cube-face:hover .theory-cube-face-title,.theory-cube-face[data-highlighted=true] .theory-cube-face-title{color:#eef3ff}.theory-cube-face[aria-pressed=true] .theory-cube-face-title{color:#a9c0ff;text-underline-offset:4px;text-decoration:underline;text-decoration-thickness:2px}.theory-cube-face:focus-visible .theory-cube-face-title{outline-offset:4px;outline:2px solid #a9c0ff}.theory-cube-face svg{width:100%;max-width:clamp(38px,19cqw - 22px,100px);height:auto;display:block}@container cube-layout (width<=540px){.theory-cube-layout{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.theory-cube-faces{grid-template-rows:auto minmax(0,1fr);align-self:stretch;display:grid}.theory-cube-face-grid{grid-template-rows:repeat(6,minmax(0,1fr));grid-template-columns:minmax(0,1fr);gap:2px;container:cube-face-grid/size}.theory-cube-face{flex-direction:row;justify-content:center;gap:clamp(4px,1.4cqw,8px);min-height:24px;padding-block-start:0;padding-block-end:0}.theory-cube-face-title{font-size:10px}.theory-cube-face svg{aspect-ratio:1;flex-shrink:0;width:clamp(22px,16.6667cqh - 3.66667px,44px);max-width:none}.theory-cube-face text{display:none}}@container cube-layout (width<=420px){.theory-cube-svg{aspect-ratio:1}.theory-cube-rank-label{transform:translate(23px)}.theory-cube-pascal-label{transform:translate(-25px)}[data-cube-set-label="1"],[data-cube-set-label="3"],[data-cube-set-label="4"],[data-cube-set-label="6"]{text-anchor:middle}[data-cube-set-label="1"]{transform:translate(14px,-16px)}[data-cube-set-label="3"]{transform:translate(13px,-16px)}[data-cube-set-label="4"]{transform:translate(-14px,-16px)}[data-cube-set-label="6"]{transform:translate(-13px,-16px)}.theory-cube-controls{gap:3px}.theory-cube-controls button{padding-inline-start:4px;padding-inline-end:4px;font-size:10px}}.theory-hue-controls button{color:#c8c8dc;cursor:pointer;background:#12121f;border:1px solid #3a3a58;border-radius:50%;flex:none;place-items:center;width:clamp(28px,12cqw,40px);min-width:0;height:clamp(28px,12cqw,40px);padding:0;transition:background-color .15s,border-color .15s,color .15s;display:grid}.theory-hue-controls button:hover:not(:disabled){color:#fff;background:#1b2540;border-color:#8ba8ff}.theory-hue-controls button:active:not(:disabled){background:#293859}.theory-hue-controls button:disabled{opacity:.35;cursor:default}.theory-hue-controls button:focus-visible{outline-offset:2px;outline:2px solid #8ba8ff}.theory-hue-controls svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.theory-derivation{width:100%;font-size:13px;line-height:1.6;container:theory-derivation/inline-size}.theory-derivation-paths{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px clamp(8px,2cqi,16px);font-size:clamp(11px,1.65cqi,13px);display:grid}.theory-derivation-order,.theory-derivation .theory-subset{grid-row:span 3;grid-template-rows:subgrid;box-sizing:border-box;background:#0e0e19;border:1px solid #2a2a44;border-radius:8px;min-width:0;margin:0;padding:clamp(6px,1.7cqi,14px);display:grid}.theory-derivation .theory-diagram-label{color:#8ba8ff;margin:0;font-size:clamp(11px,1.85cqi,14px)}.theory-derivation figcaption p{color:#aaaac4;margin:6px 0 0}.theory-derivation code{font-family:var(--font-mono);white-space:nowrap;display:block}.theory-derivation-order-visual{flex-direction:column;justify-content:center;gap:8px;min-width:0;display:flex}.theory-derivation-comparisons{color:#d8ddf0;justify-content:space-evenly;align-items:center;gap:6px;display:flex}.theory-derivation-arrow{color:#8ba8ff;font:18px/1 var(--font-mono);text-align:center}.theory-derivation-order-colors{text-align:center;font-family:var(--font-mono);grid-template-columns:repeat(8,minmax(0,1fr));gap:clamp(1px,.5cqi,4px);margin:0;padding:0;list-style:none;display:grid}.theory-derivation-order-colors li{min-width:0}.theory-derivation-order-colors li span{padding:2px 0;display:block}.theory-derivation-order-colors li span:first-child{border:1px solid #5a5a70;border-radius:2px;font-weight:700}.theory-derivation-result{text-align:center;white-space:nowrap;border-top:1px solid #343a57;justify-items:center;gap:2px;padding:8px 0 0;display:grid}.theory-derivation-result>span{color:#aaaac4;font-size:clamp(11px,1.5cqi,12px)}.theory-derivation-result strong{color:#d8ddf0;font-family:var(--font-mono);font-size:clamp(11px,1.85cqi,15px)}.theory-derivation-named-ranks{gap:clamp(5px,1.5cqi,12px);display:flex}.theory-derivation-conclusion{text-align:center;margin-top:12px;padding:18px 0 0;position:relative}.theory-derivation-conclusion:before{content:"";border:1px solid #495575;border-top-width:0;height:6px;position:absolute;top:0;left:25%;right:25%}.theory-derivation-conclusion:after{content:"";border-left:1px solid #495575;height:6px;position:absolute;top:6px;left:50%}.theory-derivation-conclusion>code{color:#d8ddf0;margin-top:4px;font-size:clamp(12px,2cqi,16px)}.theory-derivation-conclusion p{max-width:700px;margin:6px auto 0}.theory-derivation-notes{color:#aaaac4;border-top:1px solid #2a2a40;gap:6px;margin-top:12px;padding-top:10px;font-size:12px;display:grid}.theory-derivation-notes p{margin:0}.theory-derivation-notes strong{color:#c8c8d8;white-space:nowrap;margin-right:8px}.theory-derivation-definitions{flex-wrap:wrap;gap:2px 18px;margin-top:4px;font-size:11px;display:flex}@container theory-derivation (width<=500px){.theory-derivation-comparisons{flex-direction:column;gap:2px}.theory-derivation-conclusion p,.theory-derivation-notes{font-size:11px}}@media (max-width:479px){.theory-hamming-flow{--theory-hamming-row-columns:24px minmax(0, 1fr)}.theory-hamming-stage [data-stage-value],.theory-hamming-header>div{grid-column:1/-1}.theory-hamming-stage [data-stage-value]{margin-top:0}}.theory-subset-visual{align-content:center;gap:8px;min-width:0;display:grid}.theory-subset-steps{font-family:var(--font-mono);grid-template-columns:max-content minmax(0,1fr);gap:6px clamp(3px,.8cqi,6px);margin:0;padding:0;list-style:none;display:grid}.theory-subset-steps li{grid-column:1/-1;grid-template-columns:subgrid;align-items:center;display:grid}.theory-subset-weight{color:#aaaac4;white-space:nowrap}.theory-subset-values{grid-template-columns:repeat(8,minmax(0,1fr));gap:clamp(1px,.5cqi,4px);display:grid}.theory-subset-values span{color:#aaaac4;background:#171722;border-bottom:2px solid #343449;place-items:center;min-width:0;min-height:24px;display:grid}.theory-subset-values [data-subset-translated=true]{color:#eef1ff;background:#232c46;border-color:#8ba8ff}.theory-subset-legend{gap:clamp(4px,1.8cqi,16px);font-size:clamp(11px,1.4cqi,12px);display:flex}.theory-subset-legend>span{white-space:nowrap;align-items:center;gap:3px;display:inline-flex}.theory-subset-legend i{background:#171722;border-bottom:2px solid #343449;width:6px;height:6px}.theory-subset-legend .theory-subset-translated{background:#232c46;border-color:#8ba8ff}.theory-stella-node{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.theory-stella-node>:not([data-stella-hit]){pointer-events:none}.theory-stella-node[aria-pressed=false]:not([aria-disabled=true]):hover .theory-stella-focus-ring{opacity:.6}.theory-stella-node:not([aria-disabled=true]):focus-visible .theory-stella-focus-ring{stroke:var(--c-accent-bright,#80a0ff);opacity:1}.theory-k8-explorer{box-sizing:border-box;color:#c8d0e6;flex-direction:column;align-items:stretch;gap:12px;width:100%;margin-inline-start:auto;margin-inline-end:auto;display:flex;container:k8-explorer/inline-size}.theory-k8-overview{align-items:center;gap:12px;min-width:0;display:grid}.theory-k8-graph{justify-content:center;min-width:0;display:flex}.theory-k8-graph svg{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;width:100%;max-width:clamp(280px,42cqw,320px);display:block}.theory-k8-controls{flex-direction:column;align-items:center;gap:6px;width:100%;display:flex}.theory-k8-summary{box-sizing:border-box;color:#c8c8d8;width:100%;font:11px/1.6 var(--font-mono);border-block-start:1px solid #2a2a40;border-block-end:1px solid #2a2a40;grid-template-rows:18px 26px 18px;gap:4px;padding:8px 0;display:grid}.theory-k8-summary-label{color:#a0a0bc;white-space:nowrap}.theory-k8-summary code{color:#c8c8d8;font:inherit;white-space:nowrap}.theory-k8-edge-count code{align-items:baseline;gap:4px;min-width:0;display:flex}.theory-k8-edge-legend,.theory-k8-edge-count,.theory-k8-summary-footer{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.theory-k8-color-key{white-space:nowrap;align-items:center;gap:7px;max-width:100%;display:flex}.theory-k8-color-key>span{align-items:center;gap:3px;display:inline-flex}.theory-k8-color-key i{border:1px solid #ffffff40;width:9px;height:3px}.theory-k8-summary [data-active=false]{opacity:.3}.theory-k8-edge-count strong{color:#f0f0fa;font-size:18px;line-height:26px}.theory-k8-degree,.theory-k8-tetra-key{white-space:nowrap;align-items:center;gap:6px;margin:0;display:flex}.theory-k8-display-modes{flex-wrap:wrap;justify-content:center;gap:6px;width:100%;display:flex}.theory-k8-display-modes button{box-sizing:border-box;color:#a9b7d0;min-width:44px;height:28px;font:12px/1.3 var(--font-mono);white-space:nowrap;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:1px solid #303951;border-radius:5px;flex:none;justify-content:center;align-items:center;gap:4px;padding:0 6px;display:flex}.theory-k8-display-modes button small{font:10px/1.3 var(--font-mono);color:#8b9ab9}.theory-k8-display-modes button[aria-pressed=true]{color:#e0e9ff;background:#192338;border-color:#8aa7e9}.theory-k8-display-modes button[aria-pressed=true] small{color:#b9cbee}.theory-k8-display-modes button:focus-visible{outline-offset:2px;outline:2px solid #c8dbff}@media (hover:hover){.theory-k8-display-modes button:hover{color:#e0e9ff;background:#1b263b;border-color:#97afd9}}@container k8-explorer (width>=500px){.theory-k8-overview{grid-template-columns:minmax(260px,1.1fr) minmax(0,.9fr);gap:20px}.theory-k8-summary{border-block-start:0;border-block-end:0;border-left:1px solid #2a2a40;grid-template-rows:40px 48px 46px;gap:16px;padding:8px 0 8px 16px}.theory-k8-edge-legend,.theory-k8-edge-count,.theory-k8-summary-footer{flex-direction:column;justify-content:center;align-items:flex-start;gap:4px}.theory-k8-edge-count code{font-size:10px}}@container k8-explorer (width<=399px){.theory-k8-display-modes{gap:4px}.theory-k8-display-modes button{padding-inline-start:4px;padding-inline-end:4px;font-size:11px}.theory-k8-display-modes button small{font-size:9px}.theory-k8-color-key{gap:5px}}.theory-toggle-figure{box-sizing:border-box;border-top:1px solid #2a2a40;gap:4px;width:100%;min-width:0;padding:12px 0 0;scroll-margin-top:20px}.theory-toggle-figure>figcaption{color:#b9cbed;text-align:left;width:100%;font-size:13px}.theory-toggle-explorer{color:#c8d0e6;width:100%;min-width:0;font:12px/1.5 var(--font-mono);font-variant-numeric:tabular-nums;container:toggle-explorer/inline-size}.theory-toggle-heading,.theory-cayley-axes{justify-content:space-between;align-items:center;gap:12px;display:flex}.theory-toggle-heading{min-height:28px;margin-bottom:4px}.theory-toggle-heading strong{color:#dbe5ff;white-space:nowrap;font-size:13px;font-weight:600}.theory-toggle-heading>span,.theory-cayley-axes{color:#929fbd;font-size:11px}.theory-toggle-heading>span{text-align:right}.theory-cayley-axes{margin-bottom:6px}.theory-cayley-table{table-layout:fixed;border-collapse:separate;border-spacing:3px;text-align:center;width:100%;font-size:12px}.theory-cayley-table th,.theory-cayley-table td{border:0;padding:0;font-weight:400}.theory-cayley-table thead th{color:#a7b9e2;border-bottom:1px solid #343c55;height:32px}.theory-cayley-table thead th[data-active=true]{color:#e4edff;background:#202b45;border-color:#c6d5ff}.theory-cayley-table thead i{width:12px;height:2px;margin:3px auto 0;display:block}.theory-cayley-table button{box-sizing:border-box;color:#bdc8e0;width:100%;min-width:0;height:32px;font:12px/1.25 var(--font-mono);white-space:nowrap;cursor:pointer;background:#101522;border:1px solid #0000;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:2px 0;display:flex}.theory-cayley-table tbody th button{color:#b9caee;background:0 0}.theory-cayley-table thead button{height:32px;color:inherit;background:0 0}.theory-cayley-table thead button>i{border-radius:2px;width:12px;height:3px;margin:1px 0 0}.theory-cayley-table small,.theory-toggle-values small{color:#a9b7d0;justify-content:center;align-items:center;gap:4px;font-size:10px;display:flex}.theory-cayley-table small sub{margin-left:-3px;font-size:8px}.theory-cayley-table small{font-size:9px;line-height:1}.theory-cayley-table button i,.theory-toggle-values i{box-sizing:border-box;border:1px solid #ffffff50;border-radius:50%;flex:none;width:7px;height:7px;display:block}.theory-cayley-table td button>i{border-radius:2px;width:12px;height:3px}.theory-cayley-table button[data-dimmed=true]{color:#7b89a3;background:#0b0e18}.theory-cayley-table button[data-dimmed=true] i{opacity:.45}.theory-cayley-table button[data-axis=true]{color:#d1ddf7;background:#182238}.theory-cayley-table button[data-active=true]{border-color:color-mix(in srgb, var(--theory-mask-color,#96b1f3) 60%, #e0eaff);background:color-mix(in srgb, var(--theory-mask-color,#96b1f3) 10%, #182132);color:#fff}.theory-cayley-table button[aria-pressed=true]{box-shadow:inset 0 -2px #dce7ff}.theory-cayley-table button[data-preview=true]{border-color:color-mix(in srgb, var(--theory-mask-color,#7fa1dd) 60%, #e0eaff);color:#d1dfff;border-style:dashed}.theory-cayley-table button[aria-disabled=true]{cursor:default;color:#7b89a3}.theory-cayley-table th[data-enabled=false]{border-bottom-style:dashed}.theory-cayley-table button[aria-disabled=true] i{opacity:.3}.theory-cayley-table button:focus-visible{outline-offset:1px;outline:2px solid #cfdeff}@media (hover:hover){.theory-cayley-table button:not([aria-disabled=true]):not([data-active=true]):hover{border-color:#7890bd}.theory-cayley-table button[data-dimmed=true]:not([aria-disabled=true]):hover{color:#c0cee9}}.theory-toggle-readout.theory-k8-comparison{background:0 0;border:0;border-top:1px solid #303b55;border-radius:0;max-width:none;margin-top:12px;padding:10px 0 0}.theory-toggle-values{text-align:center;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;display:grid}.theory-toggle-values>div{border-right:1px solid #2b3046;min-width:0;padding:0 2px}.theory-toggle-values>div:last-child{border-right:0}.theory-toggle-values dt{color:#98a8c9;white-space:nowrap;font-size:11px}.theory-toggle-values dd{margin:2px 0 0}.theory-toggle-values strong{color:#e3ecff;font-size:17px;font-weight:600;line-height:22px;display:block}.theory-toggle-values small{min-height:18px;font-size:11px}.theory-toggle-hint{color:#8494b4;text-align:center;min-height:33px;margin:10px 0 0;font-size:11px;line-height:1.5}@container toggle-explorer (width<=359px){.theory-cayley-table{border-spacing:2px}.theory-cayley-table button{font-size:11px}.theory-cayley-table small{gap:2px;font-size:9px}.theory-cayley-table small i{width:5px;height:5px}.theory-toggle-values dt{font-size:10px}}.theory-fano-correspondence{color:#c8c8d8;width:100%;min-width:0;font:12px/1.5 var(--font-mono);font-variant-numeric:tabular-nums;container:fano-correspondence/inline-size}.theory-fano-correspondence code{font:inherit}.theory-fano-heading{white-space:nowrap;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:24px;display:flex}.theory-fano-heading strong{color:#d7dced;font-size:13px;font-weight:600}.theory-fano-heading>span{color:#979ab4;font-size:11px}.theory-fano-correspondence-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);align-items:start;gap:16px 24px;padding:4px;display:grid}.theory-fano-geometry{flex-direction:column;align-items:center;gap:4px;min-width:0;display:flex;container:fano-geometry/inline-size}.theory-fano-plot{width:100%;max-width:270px;display:block;overflow:visible}.theory-fano-plot [data-fano-point]{outline:none}.theory-fano-point-affordance{fill:none;stroke:#0000;stroke-width:1px;pointer-events:none}.theory-fano-plot [data-fano-point]:focus-visible>.theory-fano-point-affordance{fill:#9baeff24;stroke:#c5d2ff;stroke-dasharray:2 3}.theory-fano-completion-slot{text-align:center;align-items:center;width:100%;min-height:42px;display:grid}.theory-fano-completion-status{color:#a4a8c0;margin:0;font-size:11px;line-height:1.5}.theory-fano-completion-equation{color:#d9e2ff;font-size:13px;font-weight:600}.theory-fano-completion-bits{margin-top:2px}.theory-fano-line-hit{cursor:pointer;fill:none;stroke:#0000;stroke-width:16px;pointer-events:stroke}.theory-fano-correspondence [data-category=primary]{--fano-line-color:#80a0ff}.theory-fano-correspondence [data-category=complement]{--fano-line-color:#ffa060}.theory-fano-correspondence [data-category=secondary]{--fano-line-color:#60ffa0}.theory-fano-correspondence .theory-fano-controls{flex-wrap:nowrap;gap:5px;width:100%;display:flex}.theory-fano-correspondence .theory-fano-controls button{color:#aeb2c9;min-width:0;min-height:32px;font:11px/1.3 var(--font-mono);white-space:nowrap;cursor:pointer;background:0 0;border:1px solid #303249;border-radius:5px;flex:1 0 auto;justify-content:center;align-items:center;gap:4px;padding:3px 4px;display:flex}.theory-fano-controls button>i{background:var(--fano-line-color);opacity:.4;flex:0 0 10px;width:10px;height:2px}.theory-fano-controls button>small{color:#9297b0;flex:none;font-size:10px}.theory-fano-controls button[aria-pressed=true]{color:#e0e7ff;background:#191f31;border-color:#596787}.theory-fano-controls button[aria-pressed=true]>i{opacity:1}.theory-fano-controls button[aria-pressed=true]>small{color:#bdc8e1}.theory-fano-line-choices{box-sizing:border-box;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;width:100%;padding:0;display:grid}.theory-fano-line-choices button{color:#b8bed5;min-width:0;min-height:32px;font:11px var(--font-mono);white-space:nowrap;cursor:pointer;background:#0e111c;border:1px solid #2a2f45;border-radius:4px;justify-content:center;align-items:center;gap:3px;padding:5px 2px;display:flex}.theory-fano-line-choices button>span{align-items:center;display:inline-flex}.theory-fano-line-choices button i,.theory-fano-column-name i{border:1px solid #ffffff30;border-radius:50%;flex:none;width:7px;height:7px;display:inline-block}.theory-fano-line-choices button i{box-sizing:border-box;width:8px;height:8px}.theory-fano-line-choices button[data-active=true]{border-color:var(--fano-line-color);color:#eef0fb;background:#22263b}.theory-fano-line-choices button[aria-pressed=true]{box-shadow:inset 0 -2px var(--fano-line-color)}@media (hover:hover){.theory-fano-plot [data-fano-point]:hover:not([data-active=true])>.theory-fano-point-affordance{fill:#9baeff12;stroke:#8597c4}.theory-fano-controls button:hover{background:#242b40}.theory-fano-line-choices button:hover{border-color:var(--fano-line-color)}.theory-fano-matrix-column:hover:not([data-active=true]){background:#151b2c;border-color:#4f5e83}}.theory-fano-matrix{--fano-matrix-label-height:22px;--fano-matrix-bit-height:22px;flex-direction:column;align-self:start;min-width:0;display:flex;container:fano-matrix/inline-size}.theory-fano-matrix-heading{justify-content:space-between;align-items:center;gap:8px;min-height:24px;display:flex}.theory-fano-matrix-heading>span{color:#c0cbed;font-weight:600}.theory-fano-matrix-heading>small{color:#8e94ae;white-space:nowrap;font-size:11px}.theory-fano-matrix-grid{grid-template-columns:18px repeat(7,minmax(0,1fr));align-items:stretch;gap:4px 3px;margin-top:4px;display:grid;position:relative}.theory-fano-matrix-grid:before,.theory-fano-matrix-grid:after{content:"";top:calc(var(--fano-matrix-label-height) + 1px);height:calc(var(--fano-matrix-bit-height) * 3);pointer-events:none;border-block-start:1px solid #626a89;border-block-end:1px solid #626a89;width:5px;position:absolute}.theory-fano-matrix-grid:before{border-left:1px solid #626a89;left:20px}.theory-fano-matrix-grid:after{border-right:1px solid #626a89;right:0}.theory-fano-matrix-column,.theory-fano-matrix-axis{grid-template-rows:var(--fano-matrix-label-height) repeat(3, var(--fano-matrix-bit-height));text-align:center;align-items:center;min-width:0;display:grid}.theory-fano-matrix-column{color:#8e95af;font:13px/1.5 var(--font-mono);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:4px;padding:0}.theory-fano-matrix-column [data-bit="1"]{color:#edf0fa}.theory-fano-matrix-column[data-active=true]{color:#b9c8ec;background:#22283e;border-color:#7488c1}.theory-fano-matrix-column[aria-pressed=true]{box-shadow:inset 0 -2px #afc0f4}.theory-fano-column-name{color:#c8d0e6;white-space:nowrap;justify-content:center;align-items:baseline;gap:3px;font-size:12px;display:flex}.theory-fano-column-name sub{margin-left:-3px;font-size:9px}.theory-fano-word-axis,.theory-fano-word-bit{color:#a0abc6;border-top:1px solid #30364e;place-items:center;min-height:22px;font-size:13px;display:grid}.theory-fano-word-bit[data-active=true]{color:#e6edff;background:#242d48;font-weight:600}.theory-fano-word-caption{color:#929bb6;align-items:center;margin:2px 0 5px;font-size:11px;line-height:1.5;display:flex}.theory-fano-checks{border-top:1px solid #2b3046;padding-top:6px}.theory-fano-checks-heading{color:#a9b4cf;white-space:nowrap;justify-content:space-between;align-items:center;gap:8px;min-height:20px;font-size:11px;display:flex}.theory-fano-check-rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:4px 0;display:grid}.theory-fano-check{border-right:1px solid #2b3046;flex-direction:column;align-items:center;gap:0;min-width:0;padding:3px 0;font-size:11px;display:flex}.theory-fano-check:last-child{border-right:0}.theory-fano-check code{color:#dde4f6;font:12px/1.5 var(--font-mono);white-space:nowrap}.theory-fano-matrix [data-channel=G]{color:#7cdc91}.theory-fano-matrix [data-channel=R]{color:#ff9797}.theory-fano-matrix [data-channel=B]{color:#a0b6ff}.theory-fano-syndrome{grid-template-columns:minmax(130px,auto) minmax(0,1fr);align-items:center;gap:12px;min-height:33px;padding:2px 0;display:grid}.theory-fano-syndrome code{color:#aebad5;white-space:nowrap;font-size:15px}.theory-fano-syndrome strong{color:#e1e9ff;letter-spacing:2px;min-width:4ch;font-size:20px;display:inline-block}.theory-fano-syndrome>span{color:#a5afca;text-align:right;justify-content:flex-end;align-items:center;min-height:33px;font-size:11px;line-height:1.5;display:flex}.theory-fano-matrix-footer{color:#9fa9c4;border-top:1px solid #2b3046;flex-direction:column;align-items:center;gap:5px;padding-top:6px;font-size:11px;line-height:1.5;display:flex}@container fano-matrix (width<=299px){.theory-fano-syndrome{text-align:center;grid-template-columns:minmax(0,1fr);gap:0}.theory-fano-syndrome>span{text-align:center;justify-content:center}}.theory-fano-correspondence button:focus-visible{outline-offset:2px;outline:2px solid #bfd0ff}@container fano-correspondence (width>=540px){.theory-fano-correspondence-layout{align-items:stretch}.theory-fano-geometry{justify-content:space-between}.theory-fano-matrix{--fano-matrix-bit-height:24px;justify-content:space-between;align-self:stretch}}@container fano-correspondence (540px<=width<680px){.theory-fano-correspondence-layout{gap:16px}}@container fano-correspondence (width<540px){.theory-fano-correspondence-layout{grid-template-columns:minmax(0,1fr);gap:12px}.theory-fano-matrix{--fano-matrix-label-height:20px;--fano-matrix-bit-height:20px;border-top:1px solid #26263a;padding-top:6px}.theory-fano-matrix-heading{min-height:22px}.theory-fano-matrix-grid{margin-top:2px}.theory-fano-word-axis,.theory-fano-word-bit{min-height:20px}.theory-fano-word-caption{margin:1px 0 4px}.theory-fano-checks{padding-top:4px}.theory-fano-checks-heading{min-height:18px}.theory-fano-check-rows{margin:2px 0}.theory-fano-check{flex-direction:row;justify-content:center;gap:6px;padding:1px 0}.theory-fano-check code{text-align:center;min-width:9ch}.theory-fano-syndrome{padding:0}}@container fano-geometry (width<280px){.theory-fano-correspondence .theory-fano-controls{gap:4px}.theory-fano-correspondence .theory-fano-controls button{gap:3px;padding-inline-start:3px;padding-inline-end:3px}.theory-fano-line-choices{gap:3px}.theory-fano-line-choices button{gap:2px}.theory-fano-line-choices button i{width:7px;height:7px}}@container fano-correspondence (width<=339px){.theory-fano-heading{gap:8px}.theory-fano-heading strong{font-size:12px}.theory-fano-heading>span{font-size:10px}.theory-fano-line-choices button{gap:2px}.theory-fano-line-choices button i{width:7px;height:7px}.theory-fano-matrix-grid{grid-template-columns:14px repeat(7,minmax(0,1fr));gap:6px 2px}.theory-fano-matrix-grid:before{left:15px}.theory-fano-column-name{gap:2px;font-size:11px}.theory-fano-column-name i{width:5px;height:5px}.theory-fano-column-name sub{margin-left:-2px;font-size:8px}}.theory-k8-comparison{box-sizing:border-box;width:100%;max-width:460px;font-family:var(--font-mono);color:#c8c8d8;background:#10101b;border:1px solid #2a2a40;border-radius:6px;padding:8px 12px;line-height:1.5;container:k8-comparison/inline-size}.theory-k8-comparison-status{font-size:clamp(11px,2.8cqi,12px)}.theory-k8-comparison code{font:inherit;white-space:nowrap}.theory-k8-comparison-metrics{text-align:center;border-top:1px solid #2a2a40;grid-template-columns:repeat(2,minmax(0,1fr));margin:6px 0 0;padding-top:6px;display:grid}.theory-k8-comparison-metrics>div{grid-template-columns:minmax(0,auto) 20px;justify-content:center;align-items:center;column-gap:8px;min-width:0;padding:0 4px;display:grid}.theory-k8-comparison-metrics>div+div{border-left:1px solid #34344b}.theory-k8-comparison-metrics dt{color:#aaaac4;white-space:nowrap}.theory-k8-comparison-metrics dt code{color:#8ba8ff;margin-left:3px}.theory-k8-comparison-metrics dd{margin:0;display:contents}.theory-k8-comparison-metrics strong{color:#eef1ff;font-size:20px;line-height:1.2}.theory-k8-comparison-metrics dd code{color:#a0a0bc;grid-column:1/-1}@container k8-comparison (width<=300px){.theory-k8-comparison-metrics>div{display:block}.theory-k8-comparison-metrics dd{justify-content:center;align-items:center;gap:6px;display:flex}}.theory-k8-comparison-relation,.theory-k8-comparison-prompt{text-align:center;color:#a0a0bc;justify-content:center;align-items:center;min-height:1.5em;margin:6px 0 0;display:flex}.theory-k8-comparison-prompt{color:#b8b8d0}.theory-toggle-readout .theory-k8-comparison-prompt,.theory-toggle-readout .theory-k8-comparison-relation{min-height:3em}.theory-k8-comparison-details{border-top:1px solid #2a2a40;margin-top:6px;padding-top:6px;font-size:11px}.theory-k8-comparison-details dl{gap:4px;margin:0;display:grid}.theory-k8-comparison-details dl>div{grid-template-columns:4em minmax(0,1fr);gap:6px;display:grid}.theory-k8-comparison-details dt{color:#a0a0bc}.theory-k8-comparison-details dd{align-items:center;gap:8px;margin:0;display:flex}.theory-k8-comparison-details .theory-k8-parity-values{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.theory-k8-comparison-details p{color:#a0a0bc;margin:6px 0 0}.theory-k8-xor-color{align-items:center;gap:4px;display:inline-flex}.theory-k8-xor-color i{border:1px solid #ffffff59;border-radius:2px;width:7px;height:7px}@container k8-explorer (width<500px){.theory-toggle-readout.theory-k8-comparison{margin-top:8px;padding-top:6px}.theory-toggle-values dd{justify-content:center;align-items:center;gap:4px;margin-top:0;display:flex}.theory-k8-comparison-metrics{margin-top:4px;padding-top:4px}.theory-toggle-readout .theory-k8-comparison-prompt,.theory-toggle-readout .theory-k8-comparison-relation{min-height:1.5em;margin-top:4px}.theory-k8-comparison-details{margin-top:4px;padding-top:4px}.theory-k8-comparison-details dl{gap:2px}.theory-k8-comparison-details p{margin-top:4px}}@container k8-comparison (width<=300px){.theory-toggle-values dd{gap:2px}}@container k8-explorer (width>=500px){.theory-toggle-readout{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;display:grid}.theory-k8-comparison-status{display:contents}.theory-k8-comparison-metrics{border:0;align-self:center;margin:0;padding:0}.theory-k8-comparison-metrics>div{display:block}.theory-k8-comparison-metrics dd{justify-content:center;align-items:center;gap:6px;display:flex}.theory-toggle-readout .theory-k8-comparison-prompt,.theory-toggle-readout .theory-k8-comparison-relation{grid-column:1/-1;min-height:18px;margin:0}.theory-k8-comparison-details{grid-column:1/-1;margin-top:0}.theory-toggle-hint{min-height:18px;margin-top:8px}}.theory-valuation{color:#a8a8c8;width:100%;font:11px/1.6 var(--font-mono);font-variant-numeric:tabular-nums;border-top:1px solid #2a2a40;padding-top:12px;container:valuation/inline-size}.theory-valuation figure{margin:0}.theory-valuation code{font-family:var(--font-mono)}.theory-valuation figcaption{color:#a0b4ff;text-align:left;margin-bottom:6px;font-size:12px;font-weight:700}.theory-valuation-pairs{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;display:grid}.theory-valuation-pair,.theory-valuation-color,.theory-valuation-complement-formulas{align-items:center;gap:6px;display:flex}.theory-valuation-pair{white-space:nowrap;padding:2px 0}.theory-valuation-pair>code{color:#9090b8;margin-left:4px;font-size:10px}.theory-valuation-color{color:#c8c8d8;white-space:nowrap;flex-shrink:0;gap:3px;display:inline-flex}.theory-valuation-color i{border:1px solid #ffffff59;border-radius:2px;width:8px;height:8px}.theory-valuation-complement-formulas{flex-wrap:wrap;justify-content:center;gap:4px 20px;margin-top:6px}.theory-valuation-note{color:#9090b8;font:11px/1.6 var(--font-sans);overflow-wrap:anywhere;margin:6px 0 0}.theory-valuation-complement+.theory-valuation-note{margin-top:12px}.theory-valuation-identities{justify-items:center;gap:2px;margin:8px 0;display:grid}.theory-valuation-toggle{text-align:center;overflow-wrap:anywhere;margin-top:4px;font-size:10px;display:block}@container valuation (width>=540px){.theory-valuation-pairs{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:12px}}@media (max-width:440px){.theory-valuation-pairs{gap:2px 12px}.theory-valuation-pair{gap:4px}.theory-valuation-pair>code{font-size:9px}}#theory-octahedron>.theory-figure{gap:0}.theory-octahedron{width:100%;font-family:var(--font-mono);color:#c8c8d8;container:octahedron/inline-size}.theory-octahedron-layout{grid-template-rows:auto auto minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"figure figure""controls results""controls results";gap:12px 24px;display:grid}.theory-octahedron button{color:#b8b8d0;min-height:44px;font:inherit;cursor:pointer;background:0 0;border:1px solid #303044;border-radius:4px;padding:8px 12px;font-size:12px;font-weight:600}.theory-octahedron button[aria-pressed=true]{color:#fff;background:#171728;border-color:#a0b0ff}.theory-octahedron button:hover{background:#151b2c;border-color:#a0b0ff}.theory-octahedron button[aria-pressed=true]:hover{background:#20283b}.theory-octahedron button:focus-visible{outline-offset:3px;outline:2px solid #a0b0ff}.theory-octahedron-figure{text-align:center;grid-area:figure;min-width:0;margin:0}.theory-octahedron-figure svg{width:100%;max-width:clamp(260px, 45cqw, calc(340px - var(--theory-octahedron-reduction,0px)));margin:0 auto;display:block;overflow:visible}.theory-octahedron-edge{cursor:pointer}.theory-octahedron-edge:focus-visible{outline:none}.theory-octahedron-edge:focus-visible .theory-octahedron-edge-hit{stroke:#a0b0ff4d}.theory-octahedron-figure figcaption{color:#9090b8;margin-top:8px;font-size:11px;line-height:1.6}.theory-octahedron-inspector{grid-area:controls}.theory-octahedron-inspector,.theory-octahedron-status{grid-template-rows:subgrid;grid-template-columns:minmax(0,1fr);row-gap:12px;width:100%;min-width:0;display:grid}.theory-octahedron-choice-label{color:#d8d8ee;margin:0;font-size:12px;font-weight:600;line-height:1.6}.theory-octahedron-choices{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(44px,1fr);gap:6px;display:grid}.theory-octahedron-choices button{justify-content:center;align-items:center;gap:6px;padding:8px 4px;display:flex}.theory-octahedron-swatch{border:1px solid #ffffff59;border-radius:2px;flex-shrink:0;width:10px;height:10px}.theory-octahedron-status{grid-area:results;font-size:12px;line-height:1.6}.theory-octahedron-status>[data-octa-sizing]{visibility:hidden;pointer-events:none}.theory-octahedron-status>strong{grid-area:1/1;font-weight:600;display:block}.theory-octahedron-status strong{color:#d8d8ee;font-size:12px}.theory-octahedron-status p{color:#9090b8;margin:0}.theory-octahedron-edge-results{grid-area:2/1;grid-template-rows:repeat(2,minmax(min-content,1fr));grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.theory-octahedron-edge-result{border-left:2px solid;align-content:center;gap:6px;min-width:0;padding:8px 0 8px 10px;display:grid}.theory-octahedron-result-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;display:flex}.theory-octahedron-result-color{align-items:center;gap:8px;font-weight:700;display:flex}.theory-octahedron-edge-result p{font-size:11px}.theory-octahedron-edge-result code{white-space:nowrap;font-size:12px}.theory-octahedron-equation{flex-wrap:wrap;column-gap:.6ch;display:flex}@container octahedron (width>=600px){.theory-octahedron-layout{grid-template-areas:"controls figure results""controls figure results";grid-template-columns:minmax(0, 1fr) clamp(270px, 45cqw, calc(340px - var(--theory-octahedron-reduction,0px))) minmax(0, 1fr);grid-template-rows:auto minmax(0,1fr);column-gap:16px}.theory-octahedron-figure{flex-direction:column;justify-content:center;display:flex}.theory-octahedron-inspector,.theory-octahedron-status{width:100%;max-width:190px}.theory-octahedron-inspector{justify-self:end}.theory-octahedron-status{justify-self:start}.theory-octahedron-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}@container octahedron (360px<=width<600px){.theory-octahedron-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}@container octahedron (width<600px){.theory-octahedron-layout{gap:8px 16px}.theory-octahedron-inspector,.theory-octahedron-status{row-gap:8px}.theory-octahedron-choices{gap:4px}.theory-octahedron-choices button{gap:3px;padding-inline-start:2px;padding-inline-end:2px}.theory-octahedron-choices .theory-octahedron-swatch{width:8px;height:8px}.theory-octahedron-edge-results{gap:8px}.theory-octahedron-edge-result{gap:4px;padding:4px 0 4px 8px}}@container octahedron (width<360px){.theory-octahedron-layout{column-gap:16px}.theory-octahedron-choices{gap:4px}.theory-octahedron-choices button{gap:3px;padding-inline-start:2px;padding-inline-end:2px}.theory-octahedron-choices .theory-octahedron-swatch{width:6px;height:6px}}@media (min-width:1024px){.theory-octahedron{--theory-octahedron-reduction:clamp(0px, calc((100vw - 1024px) * .375), 60px)}.theory-octahedron-inspector,.theory-octahedron-status{max-width:240px}.theory-octahedron-choices{grid-template-columns:repeat(3,minmax(0,1fr))}}.theory-die-figure{grid-template-rows:repeat(4,auto);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px clamp(8px,2.5vw,32px);width:100%;max-width:640px;padding:12px 0;display:grid;container:color-die/inline-size}.theory-die-figure>*{grid-row:span 4;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;justify-self:center;place-items:center;width:100%;min-width:0;max-width:280px;display:grid}.theory-die-net svg{width:100%;display:block;overflow:visible}.theory-die-net-sequence,.theory-die-net-cut{white-space:nowrap}.theory-die-ranks{font-family:var(--font-mono);color:#c8c8d8;text-align:center}.theory-die-figure .theory-diagram-label{font-family:var(--font-mono);color:#9090b8;text-align:center;align-self:start;margin:0;font-size:12px}.theory-die-numbering{white-space:nowrap;font-size:11px}.theory-die-pairs{gap:4px;font-size:14px;display:grid}.theory-die-pair{min-height:24px;color:inherit;cursor:pointer;text-align:center;touch-action:manipulation;background:0 0;border:1px solid #0000;border-radius:4px;grid-template-columns:auto auto auto auto;align-items:center;gap:10px;padding:2px 3px;display:grid}.theory-die-pair[data-highlighted=true],.theory-die-pair[aria-pressed=true]{background:#1a1a30;border-color:#80a0ff}.theory-die-pair:focus-visible{outline-offset:0}.theory-die-face-label{align-items:center;gap:6px;display:inline-flex}.theory-die-swatch{border:1px solid #ffffff73;border-radius:2px;width:12px;height:12px}.theory-die-pair-sum{color:#9090b8;margin-left:8px;font-size:11px}.theory-die-law{color:#a0b0ff;border-top:1px solid #2a2a40;flex-wrap:wrap;justify-content:center;gap:4px 10px;width:100%;padding-top:10px;font-size:11px;display:flex}.theory-die-law span{white-space:nowrap}@container color-die (width<=440px){.theory-die-net{--theory-net-caption-size:9px}.theory-die-figure .theory-diagram-label{font-size:11px}.theory-die-numbering,.theory-die-law{font-size:10px}.theory-die-pairs{font-size:11px}.theory-die-pair{gap:4px}.theory-die-face-label{gap:3px}.theory-die-swatch{width:8px;height:8px}.theory-die-pair-sum{margin-left:0;font-size:9px}}.theory-mixing-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 32px;width:100%;scroll-margin-top:20px;display:grid}.theory-mixing-hint,.theory-binary-key{color:var(--c-text-dimmer,#8a8aaa);font:11px/1.6 var(--font-mono);text-align:center;flex-wrap:wrap;justify-content:center;gap:4px 16px;margin:0;display:flex}.theory-mixing-hint{grid-column:1/-1}.theory-mixing-figure{grid-template-rows:subgrid;min-width:0;font-family:var(--font-mono);color:var(--c-text-muted,#9090b8);grid-row:span 4;place-items:start center;gap:12px;margin:0;display:grid}.theory-mixing-figure figcaption{text-align:center}.theory-mixing-figure .theory-diagram-label{color:var(--c-accent-bright,#80a0ff);white-space:nowrap;margin:0 0 8px;font-size:14px}.theory-mixing-figure figcaption p{margin:0;font-size:11px}.theory-mixing-svg{width:100%;max-width:312px;display:block}.theory-mixing-input-node{cursor:pointer}.theory-mixing-input-node [data-mixing-color]{pointer-events:none}.theory-mixing-input-node[aria-pressed=false] [data-mixing-color]{opacity:.38}.theory-mixing-focus-ring{fill:none;stroke:var(--c-accent-bright,#80a0ff);stroke-width:1.5px;opacity:0;pointer-events:none}.theory-mixing-input-node:hover .theory-mixing-focus-ring{opacity:1}.theory-mixing-input-node:focus-visible .theory-mixing-focus-ring{opacity:1}.theory-mixing-equation{text-align:center;min-height:18px;color:var(--c-text-primary,#c8c8d8);margin:0;font-size:12px}.theory-mixing-equation[data-mixing-pending=false]{white-space:nowrap}.theory-mixing-bits{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%;max-width:312px;font-size:12px}.theory-mixing-bits th,.theory-mixing-bits td{text-align:center;white-space:nowrap;padding:4px 8px;font-weight:400}.theory-mixing-bits th:first-child{text-align:left;width:34%}.theory-mixing-bits thead{border-bottom:1px solid var(--c-border,#2a2a40)}.theory-mixing-bits tr[data-selected=false]{color:var(--c-text-dimmer,#8a8aaa)}.theory-mixing-bits tfoot{border-top:1px solid var(--c-border,#2a2a40);color:var(--c-text-primary,#c8c8d8)}@media (max-width:760px){.theory-mixing-pair{column-gap:12px}.theory-mixing-figure{row-gap:8px}.theory-mixing-figure .theory-diagram-label{margin-bottom:4px;font-size:12px}.theory-mixing-figure figcaption p{font-size:10px;line-height:1.5}.theory-mixing-equation,.theory-mixing-bits{font-size:11px}.theory-mixing-bits th,.theory-mixing-bits td{padding:3px 2px}}@media (max-width:479px){.theory-mixing-pair{column-gap:8px}}.theory-hamming-sets{width:100%;min-width:0}.theory-hamming-sets-heading{margin-bottom:6px}.theory-hamming-sets-heading .theory-diagram-label{color:var(--c-accent-bright,#80a0ff);font:700 14px/1.5 var(--font-mono);text-align:center;margin:0 0 2px}.theory-hamming-sets-heading p{max-width:560px;color:var(--c-text-muted,#9090b8);text-align:center;margin:0 auto;font-size:12px;line-height:1.5}.theory-hamming-sets-layout{grid-template-columns:minmax(0,230px) minmax(240px,1fr);align-items:center;gap:16px;display:grid}.theory-hamming-sets-figure{min-width:0;margin:0}.theory-hamming-sets-figure svg{width:100%;max-width:230px;font-family:var(--font-mono);margin:0 auto;display:block;overflow:visible}.theory-hamming-set-label{font-size:12px;font-weight:700}.theory-hamming-set-node{cursor:pointer;outline:none}.theory-hamming-set-node[data-check-member=false]{opacity:.28}.theory-hamming-set-node[data-check-member=false][data-error-injected=true]{opacity:.65}.theory-hamming-set-node:hover{opacity:1}.theory-hamming-set-node:focus-visible{opacity:1}.theory-hamming-set-node:hover .theory-hamming-node-focus{stroke:#fff}.theory-hamming-set-node:focus-visible .theory-hamming-node-focus{stroke:#fff}.theory-hamming-node-target{touch-action:manipulation}.theory-hamming-received-bit{font-size:14px;font-weight:700}.theory-hamming-position-label{font-size:12px}.theory-hamming-error-symbol{font-size:11px;font-weight:700}.theory-hamming-sets-legend{color:var(--c-text-muted,#9090b8);justify-content:center;margin-top:4px;font-size:11px;line-height:1.5;display:flex}.theory-hamming-sets-legend-row{align-items:center;gap:calc(8px * var(--hamming-legend-scale,1));width:max-content;font-size:calc(1em * var(--hamming-legend-scale,1));white-space:nowrap;flex:none;display:flex}.theory-hamming-sets-legend-row,.theory-hamming-sets-legend-row *{transition-property:none}.theory-hamming-sets-legend-row>span{align-items:center;gap:calc(5px * var(--hamming-legend-scale,1));display:inline-flex}.theory-hamming-error-legend{width:calc(14px * var(--hamming-legend-scale,1));height:calc(14px * var(--hamming-legend-scale,1));background:var(--c-error,#ff4060);color:#fff;border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.theory-hamming-dashed-legend{width:calc(18px * var(--hamming-legend-scale,1));border-top:calc(2px * var(--hamming-legend-scale,1)) dashed var(--c-text-muted,#9090b8)}.theory-hamming-sets-inspector{min-width:0}.theory-hamming-check-choices{gap:4px;display:grid;container:hamming-checks/inline-size}.theory-hamming-check-choice{border:1px solid var(--c-border,#2a2a40);background:var(--c-bg-panel,#0f0f1a);width:100%;min-height:44px;color:var(--c-text-primary,#c8c8d8);font-family:var(--font-mono);text-align:left;cursor:pointer;border-radius:6px;grid-template-columns:minmax(0,1fr) max-content;gap:2px 8px;padding:5px 8px;display:grid}.theory-hamming-check-choice[aria-pressed=true]{border-color:var(--c-accent-bright,#80a0ff);background:var(--c-bg-surface-hover,#1a1a2a)}.theory-hamming-check-choice:hover{border-color:var(--c-accent-bright,#80a0ff)}.theory-hamming-check-choice:focus-visible{outline:2px solid var(--c-accent-bright,#80a0ff);outline-offset:3px}.theory-hamming-check-heading{white-space:nowrap;grid-area:1/1/auto/-1;justify-content:space-between;align-items:baseline;gap:8px;font-size:13px;line-height:1.4;display:flex}.theory-hamming-check-identity{align-items:baseline;gap:6px;display:flex}.theory-hamming-check-heading small,.theory-hamming-check-state,.theory-hamming-check-positions,.theory-hamming-check-reason{color:var(--c-text-muted,#9090b8);font-size:11px}.theory-hamming-check-state{flex-shrink:0}.theory-hamming-check-choice[data-parity-check-result="0"] .theory-hamming-check-state{color:color-mix(in srgb, var(--c-text-primary,#c8c8d8) 75%, var(--c-text-muted,#9090b8))}.theory-hamming-check-state[data-failed=true]{color:var(--c-error,#ff4060)}.theory-hamming-check-formula{text-align:center;white-space:nowrap;grid-area:2/1;grid-template-columns:repeat(8,2ch) 1ch;justify-content:start;font-size:13px;line-height:1.4;display:grid}.theory-hamming-check-reason{text-align:right;white-space:nowrap;grid-area:2/2;place-self:baseline end;min-inline-size:13ch;line-height:1.4}.theory-hamming-check-choice[data-parity-check-result] .theory-hamming-check-reason{color:color-mix(in srgb, var(--c-text-primary,#c8c8d8) 50%, var(--c-text-muted,#9090b8))}@container hamming-checks (width<=240px){.theory-hamming-check-heading,.theory-hamming-check-formula{font-size:11px}.theory-hamming-check-heading small,.theory-hamming-check-state,.theory-hamming-check-positions,.theory-hamming-check-reason{font-size:10px}}@container hamming-checks (width<=210px){.theory-hamming-check-choice{column-gap:3px}.theory-hamming-check-heading{gap:3px}.theory-hamming-check-identity{gap:2px}.theory-hamming-check-heading,.theory-hamming-check-formula{font-size:min(11px,5.9cqw)}.theory-hamming-check-formula{grid-template-columns:repeat(3,2ch 1ch) 2ch 1ch 1ch}.theory-hamming-check-heading small,.theory-hamming-check-positions,.theory-hamming-check-state,.theory-hamming-check-reason{font-size:min(10px,5.45cqw)}}@media (max-width:639px){.theory-hamming-sets-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.theory-hamming-sets-inspector{display:contents}.theory-hamming-check-choices{grid-area:1/2;gap:4px}.theory-hamming-check-choice{row-gap:3px;min-height:44px;padding:4px}.theory-hamming-sets-legend{font-size:9px}.theory-hamming-sets-legend-row{gap:calc(6px * var(--hamming-legend-scale,1))}.theory-hamming-sets-legend-row>span{gap:calc(3px * var(--hamming-legend-scale,1))}}.theory-binary-table{width:100%;container-type:inline-size}.theory-binary-svg{width:100%;height:clamp(168px,60.87cqw,260px);font:clamp(7px, 2.445cqw, 12.5px) var(--font-mono);fill:var(--c-text-dimmer,#8a8aaa);text-anchor:middle;display:block}.theory-binary-header{font-weight:700}.theory-binary-rule{stroke:var(--c-border,#2a2a40)}.theory-binary-row{cursor:pointer;touch-action:manipulation}.theory-binary-row text{dominant-baseline:central;pointer-events:none}.theory-binary-row-background{fill:#0000;stroke:#0000;transition:fill .12s,stroke .12s}.theory-binary-row[data-highlighted=true] .theory-binary-row-background{fill:#80a0ff14}.theory-binary-row[aria-pressed=true] .theory-binary-row-background{fill:#80a0ff1a;stroke:var(--c-accent-bright,#80a0ff)}.theory-binary-row:-webkit-any([data-highlighted=true],[aria-pressed=true]) text:not([fill]){fill:var(--c-text-primary,#c8c8d8)}.theory-binary-row:is([data-highlighted=true],[aria-pressed=true]) text:not([fill]){fill:var(--c-text-primary,#c8c8d8)}.theory-binary-focus-ring{fill:none;stroke:#0000;stroke-width:2px;pointer-events:none}.theory-binary-row:focus-visible .theory-binary-focus-ring{stroke:var(--c-accent-bright,#80a0ff)}.theory-binary-level,.theory-binary-name{font-weight:700}.theory-binary-color{r:clamp(5px, 1.9cqw, 9.5px);fill-opacity:.9}.theory-binary-bit{r:clamp(4px, 1.63cqw, 8px)}.theory-binary-tone-bar{transform-box:fill-box;height:clamp(6px,2.17cqw,11px);transform:translateY(-50%)}.theory-binary-tone-value{font-size:.9em}.theory-binary-notes{border-top:1px solid var(--c-border,#2a2a40);color:var(--c-text-dimmer,#8a8aaa);font:clamp(9px, 2.3cqw, 11px)/1.6 var(--font-mono);gap:4px;padding-top:10px;display:grid}@container (width>=540px){.theory-binary-notes{gap:2px;padding-top:6px}}.theory-binary-key{font:inherit}.theory-binary-formula{font:inherit;text-align:center;margin:0}.theory-zigzag-svg{width:100%;max-width:470px}.theory-zigzag-block{width:100%;min-width:0}.theory-hue-overview{grid-template-rows:auto auto;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:4px 24px;width:100%;margin:0 auto;display:grid;container:hue-overview/inline-size}.theory-hue-cycle-panel{flex-direction:column;width:100%;max-width:clamp(180px,30cqw,240px);margin:0 auto;display:flex}.theory-hue-caption{color:#a6afc6;font:10px/1.4 var(--font-sans);text-align:center;white-space:nowrap;grid-column:1/-1;margin:0}.theory-hue-cycle{flex-direction:column;justify-content:center;align-items:center;display:flex}.theory-hue-cycle-svg{width:100%;display:block}.theory-hue-start-focus{opacity:0}.theory-hue-cycle-svg [data-cycle-node]:focus-visible{outline:none}.theory-hue-cycle-svg [data-cycle-node]:focus-visible .theory-hue-start-focus{opacity:1}@media (min-width:1024px){.theory-hue{--theory-hue-gap:clamp(8px, calc(12px - (100vw - 1024px) * .025), 12px);--theory-hue-plot-gap:clamp(10px, calc(16px - (100vw - 1024px) * .0375), 16px)}}.theory-hue-cycle-plot{width:100%;position:relative;container-type:inline-size}.theory-hue-cycle .theory-diagram-label{color:#8ba8ff;margin:0 0 6px;font-size:13px}.theory-hue-zigzag{gap:var(--theory-hue-plot-gap,16px);flex-direction:column;min-width:0;display:flex}.theory-hue-center{pointer-events:none;flex-direction:column;align-items:center;gap:6px;width:64%;display:flex;position:absolute;top:47%;left:50%;transform:translate(-50%,-50%)}.theory-hue-readout{--theory-hue-title-size:clamp(11px, 5cqw, 13px);--theory-hue-action-size:clamp(10px, 4.6cqw, 11px);min-height:calc((var(--theory-hue-title-size) + var(--theory-hue-action-size)) * 1.25 + 2px);color:#c8c8d8;font-family:var(--font-mono);white-space:nowrap;pointer-events:auto;flex-direction:column;justify-content:center;align-items:center;gap:2px;line-height:1.25;display:flex}.theory-hue-transition{min-height:1.25em;font-size:var(--theory-hue-title-size);font-weight:700}.theory-hue-action{min-height:1.25em;font-size:var(--theory-hue-action-size);color:#b3bedb}.theory-hue-direction-hint{font-family:var(--font-sans);font-size:var(--theory-hue-action-size);color:#b3bedb;text-align:center;white-space:nowrap;margin-top:auto;transform:translateY(clamp(0px,34px - 20cqw,4px))}.theory-hue-controls{pointer-events:auto;justify-content:center;gap:clamp(4px,2cqw,8px);display:flex}.theory-zigzag-level-controls{box-sizing:border-box;grid-template-columns:repeat(8,minmax(0,1fr));gap:4px;width:100%;margin:0 auto;padding:2px 0;display:grid}.theory-zigzag-level-name{align-items:center;gap:3px;display:inline-flex}.theory-zigzag-summary{color:#a0a0bc;min-height:1.6em;font:11px/1.6 var(--font-mono);font-variant-numeric:tabular-nums;grid-template-columns:max-content 15ch;justify-content:center;align-items:center;column-gap:16px;display:grid}.theory-zigzag-summary>span{white-space:nowrap;min-height:1.6em}.theory-zigzag-summary sub{line-height:0}.theory-hue-status{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:0;position:absolute;overflow:hidden}.theory-hue tr[data-hue-selected=true]{background:#1b2038}.theory-hue tr[data-hue-selected=true] td:first-child{color:#eef3ff;box-shadow:inset 2px 0 var(--theory-edge-color)}.theory-zigzag-table{font-size:12px}.theory-zigzag-heading-short{white-space:nowrap;display:none}@container hue-overview (width<=680px){.theory-zigzag-heading-full{display:none}.theory-zigzag-heading-short{display:inline}}.theory-hue .theory-zigzag-table{height:100%}.theory-hue .theory-zigzag-table tbody tr{height:25px}.theory-hamming-generation{font:12px/1.5 var(--font-mono);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px 8px 6px;display:grid;container:hamming-generation/inline-size}.theory-hamming-generation>div{border:1px solid #2a2a44;border-radius:4px;justify-items:center;min-width:0;padding:4px;display:grid}.theory-hamming-generation-heading,.theory-hamming-generation-formula{text-align:center;white-space:nowrap;grid-template-columns:repeat(3,2ch 1ch) 2ch;display:grid}.theory-hamming-generation-inputs{color:var(--c-text-muted,#9090b8)}.theory-hamming-generation-formula{color:var(--c-text-primary,#c8c8d8)}.theory-hamming-generation-heading>*,.theory-hamming-generation-formula>*{white-space:normal;min-width:0}@container hamming-generation (width<=300px){.theory-hamming-generation>div{padding-inline-start:2px;padding-inline-end:2px;font-size:11px}}.theory-hamming-flow [data-parity-member=true] [data-bit-value]{text-underline-offset:2px;-webkit-text-decoration:underline #8ba8ff;text-decoration:underline #8ba8ff;text-decoration-thickness:2px}.theory-hamming-flow [data-parity-member=false]{opacity:.55}.theory-hamming-flow [data-parity-member=false][data-flow-emphasis=error],.theory-hamming-flow [data-parity-member=false][aria-pressed=true]{opacity:1}.theory-hamming-flow [data-parity-member=false]:focus-visible{opacity:1}.theory-hamming-flow .theory-hamming-sets{box-sizing:border-box;border:1px solid #2a2a44;border-radius:6px;margin:4px 0;padding:8px 12px}@media (max-width:760px){.theory-hue-overview{--theory-edge-cell-padding:2px;--theory-edge-row-padding:0;column-gap:12px}}@media (max-width:600px){.theory-zigzag-level-controls{--theory-level-padding:1px;--theory-level-font-size:12px;gap:3px}.theory-zigzag-level-button{line-height:1.3}}@media (max-width:479px){.theory-octahedron-edge-results{gap:8px}.theory-octahedron-edge-result{padding-left:8px}.theory-hue-overview{--theory-edge-cell-padding:1px;column-gap:8px}.theory-hue-overview .theory-zigzag-table{font-size:10px}.theory-hue-cycle .theory-diagram-label{text-align:center;font-size:11px}}.theory-conn-footer{text-align:center;font-size:9px}.theory-conn-footer p{font-size:inherit;font-family:var(--font-mono);color:var(--c-accent-bright,#80a0ff);margin:0}[role=tablist]{max-width:380px;margin:0 auto}@media (min-width:768px) and (max-width:1023px){.music-layout{flex-direction:row;justify-content:center;align-items:flex-start;gap:16px}.music-layout>.panel-canvas,.music-layout>.panel-sidebar{max-width:360px}.music-candidate-grid{margin-bottom:12px;transform:translateY(12px)}.music-layout .linked-viz-root{transform:translateY(22px)}.music-algebra-wrapper{align-self:center;max-width:736px}[role=tablist]{max-width:480px;margin:0 auto}}@media (min-width:820px) and (max-width:1023px){.panel-layout--tall-portrait{flex-direction:row;justify-content:center;align-items:flex-start;gap:32px}.panel-layout--tall-portrait>.panel-canvas{--canvas-status-line-max-width:calc(100vw - 32px);--canvas-status-line-width:max(var(--display-max,0px), 324px);width:var(--display-max,auto);touch-action:none;flex-direction:column;flex-shrink:0;align-items:center;display:flex}.panel-layout--tall-portrait>.panel-sidebar{flex-direction:column;flex-shrink:0;align-self:center;align-items:center;gap:8px;width:420px;display:flex}.panel-layout--tall-portrait .map-mode-buttons{width:max-content;max-width:calc(100vw - 32px)}.panel-layout--tall-portrait .panel-canvas--map .map-status-line{--map-status-line-max-width:calc(100vw - 32px);--map-status-line-width:max(var(--display-max,0px), 324px)}}@media (min-width:900px) and (max-width:1023px){.panel-layout--portrait{flex-direction:row;justify-content:center;align-items:flex-start;gap:32px}.panel-layout--portrait>.panel-canvas{--canvas-status-line-max-width:calc(100vw - 32px);--canvas-status-line-width:max(var(--display-max,0px), 324px);width:var(--display-max,auto);touch-action:none;flex-direction:column;flex-shrink:0;align-items:center;display:flex}.panel-layout--portrait>.panel-sidebar{flex-direction:column;flex-shrink:0;align-self:center;align-items:center;gap:8px;width:420px;display:flex}.panel-layout--portrait .map-mode-buttons{width:max-content;max-width:calc(100vw - 32px)}.panel-layout--portrait .panel-canvas--map .map-status-line{--map-status-line-max-width:calc(100vw - 32px);--map-status-line-width:max(var(--display-max,0px), 324px)}}.linked-viz-controls{--linked-viz-toggle-padding:3px 10px;--linked-viz-toggle-fs:11px;--linked-viz-toggle-line:14px;--linked-viz-control-gap:3px;--linked-viz-delta-width:62px}@media (max-width:559px){html:lang(en) .theory-title{font-size:16px}.linked-viz-controls{--linked-viz-toggle-padding:3px 7px;--linked-viz-toggle-fs:10px;--linked-viz-toggle-line:14px;--linked-viz-delta-width:52px}}@media (max-width:360px){html:lang(en) .theory-title{font-size:14px}.linked-viz-controls{--linked-viz-toggle-padding:3px 4px;--linked-viz-toggle-fs:9px;--linked-viz-toggle-line:14px;--linked-viz-control-gap:2px;--linked-viz-delta-width:44px}}.music-algebra-scroll{--music-card-padding:5px;--music-card-gap:3px;--music-card-control-gap:2px;--music-card-label-fs:10px;--music-card-body-fs:8px;--music-card-select-fs:10px;--music-card-select-padding:1px 3px;--music-card-header-size:34px;--music-card-toggle-width:64px;--music-card-toggle-height:18px;--btn-sm-font-size:9px;--btn-sm-padding:1px 3px;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-items:start;gap:8px;width:100%;display:grid}.music-algebra-scroll>div{min-width:0;height:100%}.music-algebra-scroll>div>svg,.music-algebra-scroll>div>canvas,.music-algebra-scroll>div>div>svg{align-self:stretch;margin-top:auto;margin-bottom:auto}@media (max-width:360px){.music-algebra-scroll{--music-card-padding:4px;--music-card-gap:2px;--music-card-control-gap:2px;--music-card-label-fs:9px;--music-card-body-fs:7px;--music-card-select-fs:9px;--music-card-select-padding:1px 2px;--music-card-header-size:30px;--music-card-toggle-width:58px;--music-card-toggle-height:17px;--btn-sm-font-size:8px;--btn-sm-padding:1px 2px}}@media (max-width:320px){html:lang(en) .theory-title{font-size:12px}}@media (min-width:560px){.music-algebra-scroll{--music-card-padding:6px;--music-card-gap:4px;--music-card-control-gap:3px;--music-card-label-fs:11px;--music-card-body-fs:9px;--music-card-select-fs:11px;--music-card-select-padding:2px 4px;--music-card-header-size:38px;--music-card-toggle-width:70px;--music-card-toggle-height:20px;--btn-sm-font-size:10px;--btn-sm-padding:2px 4px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}}@media (min-width:1024px) and (orientation:landscape){.music-algebra-scroll{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1024px){:root{--sp-root-top:16px;--sp-header-mb:10px;--sp-tablist-mb:8px;--sp-title-mb:6px;--sp-status-mt:-2px;--fs-tab:11px;--sp-tab-v:4px;--sp-tab-h:8px}.hex-title-standalone{display:block}.hex-title-overlay{display:none}[role=tabpanel]{width:100%}.panel-layout{flex-direction:row;justify-content:center;align-items:flex-start;gap:32px}.panel-canvas{--canvas-status-line-max-width:calc(100vw - 32px);--canvas-status-line-width:max(var(--display-max,0px), 500px);width:var(--display-max,auto);touch-action:none;flex-direction:column;flex-shrink:0;align-items:center;display:flex}.panel-canvas--landscape{margin-top:var(--canvas-landscape-offset,0)}.panel-layout>.panel-sidebar{flex-direction:column;flex-shrink:0;align-self:center;align-items:center;gap:8px;width:420px;display:flex}.music-layout>.panel-sidebar{align-self:flex-start;gap:3px}.music-candidate-grid{margin-bottom:10px;transform:translateY(10px)}.music-layout .linked-viz-root{transform:translateY(11px)}.music-algebra-wrapper{align-self:center;max-width:872px}[role=tablist]{max-width:480px;margin:0 auto}[role=tablist]>button[role=tab]{flex:1}.glaze-hue-section{margin-top:0;padding-bottom:0}.hex-diag-wrap{max-width:462px}.theory-zigzag-svg{max-width:500px}.theory-hint{font-size:9px}.theory-conn-card{max-width:620px}.theory-conn-card-header{padding:6px 10px;font-size:13px}.theory-conn-card-body{padding:0 10px 10px;font-size:12px;line-height:1.7}.theory-conn-card-detail{font-size:10px}.theory-conn-summary{max-width:620px;padding:10px;font-size:12px;line-height:2}.theory-conn-summary-title{font-size:13px}.theory-conn-footer{font-size:11px}.theory-conn-footer p{font-size:inherit}.theory-annotation{font-size:11px!important}.map-mode-buttons,.panel-canvas--map .map-mode-buttons{width:max-content;max-width:calc(100vw - 32px)}.panel-canvas--map .map-status-line{--map-status-line-max-width:calc(100vw - 32px);--map-status-line-width:max(var(--display-max,0px), 500px)}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%)translateY(10px)}to{opacity:1;transform:translate(-50%)translateY(0)}}#root{box-sizing:border-box;min-height:100vh;min-height:100dvh;padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right));padding-top:max(var(--sp-root-top), env(safe-area-inset-top));padding-bottom:max(16px, env(safe-area-inset-bottom))}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.linked-viz-root{width:90%}@media (min-width:1024px){.linked-viz-root{width:85%}}
