.fft-lab:where(.astro-hvokmix7){--lab-deep:var(--dsp-color-surface);--lab-panel:var(--dsp-color-surface-raised);--lab-panel-2:color-mix(in srgb,var(--dsp-color-accent-low) 42%,var(--dsp-color-page));--lab-text:var(--dsp-color-text);--lab-muted:var(--dsp-color-text-muted);--lab-grid:var(--dsp-color-grid);--lab-blue:var(--dsp-color-accent);--lab-green:var(--dsp-color-accent-high);--lab-orange:var(--dsp-color-warning);--lab-purple:var(--dsp-color-purple);border:var(--dsp-border-width) solid var(--dsp-color-border);border-radius:var(--dsp-radius-panel);background:var(--dsp-color-page);width:100%;max-width:100%;color:var(--lab-text);margin:2rem 0;padding:1rem;overflow:hidden}.fft-lab:where(.astro-hvokmix7) :where(.astro-hvokmix7){box-sizing:border-box}.lab-header:where(.astro-hvokmix7),.panel-heading:where(.astro-hvokmix7),.comparison-intro:where(.astro-hvokmix7){justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.lab-header:where(.astro-hvokmix7) h2:where(.astro-hvokmix7){color:var(--lab-text);margin:.2rem 0;font-size:clamp(1.35rem,2.5vw,2.15rem)}.lab-header:where(.astro-hvokmix7) p:where(.astro-hvokmix7){color:var(--lab-muted);margin:0}.eyebrow:where(.astro-hvokmix7),.panel-index:where(.astro-hvokmix7){color:var(--lab-blue);letter-spacing:.14em;font-size:.72rem;font-weight:800}.compact-controls:where(.astro-hvokmix7){grid-template-columns:auto auto minmax(160px,260px);align-items:end;gap:.5rem;display:grid}.compact-controls:where(.astro-hvokmix7) label:where(.astro-hvokmix7){color:var(--lab-muted);gap:.25rem;font-size:.72rem;display:grid}.compact-controls:where(.astro-hvokmix7) select:where(.astro-hvokmix7),.compact-controls:where(.astro-hvokmix7) input:where(.astro-hvokmix7){border:var(--dsp-border-width) solid var(--lab-grid);border-radius:var(--dsp-radius-md);background:var(--lab-deep);height:2.25rem;color:var(--lab-text);padding:.35rem .5rem}.sequence-field:where(.astro-hvokmix7)[hidden]{display:none}.sequence-field:where(.astro-hvokmix7) input:where(.astro-hvokmix7){font-family:var(--dsp-font-mono)}.sequence-field:where(.astro-hvokmix7) input:where(.astro-hvokmix7)[aria-invalid=true]{border-color:var(--dsp-color-danger)}button:where(.astro-hvokmix7){font:inherit}.lesson-steps:where(.astro-hvokmix7){grid-template-columns:repeat(4,1fr);gap:.5rem;margin:1.25rem 0 .65rem;display:grid}.lesson-steps:where(.astro-hvokmix7) button:where(.astro-hvokmix7),.preset-actions:where(.astro-hvokmix7) button:where(.astro-hvokmix7),.flow-actions:where(.astro-hvokmix7) button:where(.astro-hvokmix7),.comparison:where(.astro-hvokmix7) button:where(.astro-hvokmix7){border:var(--dsp-border-width) solid var(--lab-grid);border-radius:var(--dsp-radius-md);background:var(--lab-panel);color:var(--lab-muted);cursor:pointer;padding:.65rem}.lesson-steps:where(.astro-hvokmix7) button:where(.astro-hvokmix7) span:where(.astro-hvokmix7){background:var(--lab-deep);border-radius:50%;place-items:center;width:1.45rem;height:1.45rem;margin-right:.3rem;display:inline-grid}.lesson-steps:where(.astro-hvokmix7) button:where(.astro-hvokmix7).active{border-color:var(--lab-blue);color:var(--lab-text);background:var(--dsp-color-accent-low)}.step-callout:where(.astro-hvokmix7){border-left:3px solid var(--lab-blue);border-radius:0 var(--dsp-radius-md) var(--dsp-radius-md) 0;background:var(--dsp-color-accent-low);color:var(--lab-muted);padding:.8rem 1rem}.step-callout:where(.astro-hvokmix7) strong:where(.astro-hvokmix7){color:var(--lab-text)}.input-toolbar:where(.astro-hvokmix7){align-items:center;margin-top:1.1rem}.input-toolbar:where(.astro-hvokmix7) span:where(.astro-hvokmix7){color:var(--lab-muted);font-size:.76rem;display:block}.preset-actions:where(.astro-hvokmix7){flex-wrap:wrap;gap:.4rem;display:flex}.preset-actions:where(.astro-hvokmix7) button:where(.astro-hvokmix7),.flow-actions:where(.astro-hvokmix7) button:where(.astro-hvokmix7){padding:.38rem .6rem;font-size:.76rem}.input-grid:where(.astro-hvokmix7){grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:.5rem;margin-top:.55rem;display:grid}.input-grid:where(.astro-hvokmix7) label:where(.astro-hvokmix7){color:var(--lab-muted);gap:.25rem;font:.75rem ui-monospace,monospace;display:grid}.input-grid:where(.astro-hvokmix7) input:where(.astro-hvokmix7){width:100%;min-width:0;font-family:ui-monospace,monospace}.input-grid:where(.astro-hvokmix7) input:where(.astro-hvokmix7)[aria-invalid=true]{border-color:var(--dsp-color-danger)}.input-error:where(.astro-hvokmix7){color:var(--dsp-color-danger-high);margin:.45rem 0;font-size:.78rem}.visual-grid:where(.astro-hvokmix7){grid-template-columns:minmax(0,var(--flow-size,58%)) 10px minmax(310px,1fr);align-items:start;gap:.45rem;margin-top:1rem;display:grid}.analysis-stack:where(.astro-hvokmix7){grid-template-rows:minmax(180px,var(--matrix-size,270px)) 10px auto;gap:.45rem;min-width:0;display:grid}.fft-lab:where(.astro-hvokmix7)[data-n="4"]{--flow-size:52%}.fft-lab:where(.astro-hvokmix7)[data-n="16"]{--flow-size:64%}.panel:where(.astro-hvokmix7){border:1px solid var(--lab-grid);background:var(--lab-panel);border-radius:14px;min-width:0;padding:1rem;overflow:hidden}.equations-panel:where(.astro-hvokmix7){overflow:auto}.panel-heading:where(.astro-hvokmix7){align-items:center;margin-bottom:.75rem}.panel-heading:where(.astro-hvokmix7) h3:where(.astro-hvokmix7){color:var(--lab-text);margin:0 0 0 .5rem;font-size:1rem;display:inline}.clear-selection:where(.astro-hvokmix7){border:1px solid var(--lab-grid);background:var(--lab-deep);color:var(--lab-muted);cursor:pointer;border-radius:7px;padding:.38rem .6rem}.layout-resizer:where(.astro-hvokmix7){cursor:col-resize;touch-action:none;border-radius:999px;align-self:stretch;min-height:44px;position:relative}.layout-resizer:where(.astro-hvokmix7):after{content:"";background:var(--lab-grid);border-radius:999px;transition:background .15s;position:absolute;inset:15% 3px}.layout-resizer:where(.astro-hvokmix7):hover:after,.layout-resizer:where(.astro-hvokmix7):focus-visible:after,.layout-resizer:where(.astro-hvokmix7).dragging:after{background:var(--lab-blue)}.side-resizer:where(.astro-hvokmix7){cursor:row-resize;min-height:10px}.side-resizer:where(.astro-hvokmix7):after{inset:3px 15%}.flow-scroll:where(.astro-hvokmix7){background:var(--lab-deep);border-radius:9px;overflow:hidden}:where(.astro-hvokmix7)[data-flow]{width:100%;height:auto;min-height:0;display:block}.legend:where(.astro-hvokmix7){color:var(--lab-muted);flex-wrap:wrap;gap:.85rem 1rem;margin-top:.7rem;font-size:.75rem;display:flex}.legend:where(.astro-hvokmix7)>span:where(.astro-hvokmix7){align-items:center;gap:.35rem;display:flex}.legend:where(.astro-hvokmix7) .katex:where(.astro-hvokmix7){font-size:.92em}.legend:where(.astro-hvokmix7) i:where(.astro-hvokmix7){place-items:center;width:23px;min-width:23px;display:grid}.signal-line:where(.astro-hvokmix7),.twiddle-line:where(.astro-hvokmix7),.negative-line:where(.astro-hvokmix7){border-top:3px solid}.signal-line:where(.astro-hvokmix7){border-color:var(--lab-blue)!important}.twiddle-line:where(.astro-hvokmix7){border-color:var(--lab-purple)!important}.negative-line:where(.astro-hvokmix7){border-color:var(--lab-orange)!important}.node-swatch:where(.astro-hvokmix7){border:1.5px solid var(--lab-blue);height:20px;color:var(--lab-blue);border-radius:50%;font-style:normal;font-weight:800}.output-swatch:where(.astro-hvokmix7){border:2px solid var(--lab-orange);border-radius:50%;height:18px;width:18px!important;min-width:18px!important}.plane-panel:where(.astro-hvokmix7) canvas:where(.astro-hvokmix7){aspect-ratio:1;cursor:crosshair;border-radius:8px;width:min(78%,320px);height:auto;margin-inline:auto;display:block}.plane-note:where(.astro-hvokmix7){min-height:1.4rem;color:var(--lab-muted);text-align:center;margin-top:.45rem;font-size:.78rem}.matrix-expression:where(.astro-hvokmix7){min-width:0}.equations-panel:where(.astro-hvokmix7){min-height:0}.comparison:where(.astro-hvokmix7){border:1px solid var(--lab-grid);background:var(--lab-panel);border-radius:14px;margin-top:1rem;overflow:hidden}.comparison:where(.astro-hvokmix7) summary:where(.astro-hvokmix7){cursor:pointer;color:var(--lab-text);padding:1rem;font-weight:800}.comparison:where(.astro-hvokmix7)[open] summary:where(.astro-hvokmix7){border-bottom:1px solid var(--lab-grid)}.comparison:where(.astro-hvokmix7)>div:where(.astro-hvokmix7),.comparison:where(.astro-hvokmix7)>p:where(.astro-hvokmix7){margin-inline:1rem}.comparison-intro:where(.astro-hvokmix7){align-items:center;margin-block:1rem}.comparison-intro:where(.astro-hvokmix7) p:where(.astro-hvokmix7){max-width:55rem;color:var(--lab-muted);margin:.25rem 0}.identity:where(.astro-hvokmix7){background:var(--dsp-color-success-bg);color:var(--dsp-color-success-text);white-space:nowrap;border-radius:8px;padding:.6rem .8rem;font:700 .8rem ui-monospace,monospace}.compare-grid:where(.astro-hvokmix7){grid-template-columns:1fr 1fr;gap:1rem;display:grid}.compare-grid:where(.astro-hvokmix7) section:where(.astro-hvokmix7){background:var(--lab-deep);border-radius:10px;min-width:0;padding:1rem}.compare-grid:where(.astro-hvokmix7) h3:where(.astro-hvokmix7){color:var(--lab-text);margin:0;font-size:1rem}.compare-grid:where(.astro-hvokmix7) p:where(.astro-hvokmix7){color:var(--lab-muted);font-size:.8rem}.direct-graph:where(.astro-hvokmix7) svg:where(.astro-hvokmix7){width:100%;height:165px}.direct-graph:where(.astro-hvokmix7) line:where(.astro-hvokmix7){stroke:var(--lab-orange);stroke-width:1px;opacity:.32}.direct-graph:where(.astro-hvokmix7) text:where(.astro-hvokmix7){fill:var(--lab-muted);font:11px system-ui}.reuse-stages:where(.astro-hvokmix7){justify-content:center;align-items:center;gap:.5rem;min-height:165px;display:flex}.reuse-stages:where(.astro-hvokmix7) div:where(.astro-hvokmix7){background:var(--lab-panel-2);text-align:center;border-radius:8px;gap:.2rem;padding:.6rem;display:grid}.reuse-stages:where(.astro-hvokmix7) span:where(.astro-hvokmix7),.reuse-stages:where(.astro-hvokmix7) small:where(.astro-hvokmix7){color:var(--lab-muted);font-size:.7rem}.reuse-stages:where(.astro-hvokmix7) b:where(.astro-hvokmix7){color:var(--lab-blue)}.count-grid:where(.astro-hvokmix7){grid-template-columns:repeat(5,1fr);gap:.55rem;margin-block:1rem;display:grid}.count-grid:where(.astro-hvokmix7) div:where(.astro-hvokmix7){background:var(--lab-deep);border-radius:9px;gap:.2rem;padding:.75rem;display:grid}.count-grid:where(.astro-hvokmix7) span:where(.astro-hvokmix7),.count-grid:where(.astro-hvokmix7) small:where(.astro-hvokmix7){color:var(--lab-muted);font-size:.7rem}.count-grid:where(.astro-hvokmix7) strong:where(.astro-hvokmix7){color:var(--lab-text);font-size:1.35rem}.count-grid:where(.astro-hvokmix7) .saving:where(.astro-hvokmix7){background:color-mix(in srgb,var(--lab-blue) 15%,var(--lab-deep))}.count-grid:where(.astro-hvokmix7) .saving:where(.astro-hvokmix7) strong:where(.astro-hvokmix7){color:var(--lab-blue)}.count-note:where(.astro-hvokmix7){color:var(--lab-muted);padding-bottom:1rem;font-size:.78rem}@media (width<=1050px){.visual-grid:where(.astro-hvokmix7){grid-template-columns:1fr}.main-resizer:where(.astro-hvokmix7),.side-resizer:where(.astro-hvokmix7){display:none}.analysis-stack:where(.astro-hvokmix7){grid-template-rows:auto;grid-template-columns:minmax(0,3fr) minmax(260px,1fr)}.count-grid:where(.astro-hvokmix7){grid-template-columns:repeat(3,1fr)}}@media (width<=760px){.analysis-stack:where(.astro-hvokmix7){grid-template-columns:1fr}.side-resizer:where(.astro-hvokmix7){display:none}.plane-panel:where(.astro-hvokmix7){max-width:360px}.compact-controls:where(.astro-hvokmix7){grid-template-columns:auto auto}.sequence-field:where(.astro-hvokmix7){grid-column:1/-1}}@media (width<=650px){.fft-lab:where(.astro-hvokmix7){padding:.7rem}.lab-header:where(.astro-hvokmix7){flex-direction:column}.compact-controls:where(.astro-hvokmix7){grid-template-columns:1fr 1fr;width:100%}.sequence-field:where(.astro-hvokmix7){grid-column:1/-1}.compare-grid:where(.astro-hvokmix7){grid-template-columns:1fr}.panel:where(.astro-hvokmix7){padding:.75rem}.panel-heading:where(.astro-hvokmix7){align-items:flex-start}.count-grid:where(.astro-hvokmix7){grid-template-columns:1fr 1fr}.reuse-stages:where(.astro-hvokmix7){flex-wrap:wrap}.comparison-intro:where(.astro-hvokmix7){flex-direction:column;align-items:flex-start}}.fft-lab .input-grid label{color:var(--lab-muted);gap:.25rem;font:.75rem ui-monospace,monospace;display:grid}.fft-lab .input-grid input{border:1px solid var(--lab-grid);background:var(--lab-deep);width:100%;min-width:0;color:var(--lab-text);border-radius:7px;padding:.48rem .58rem;font-family:ui-monospace,monospace}.fft-lab .input-grid input[aria-invalid=true]{border-color:var(--dsp-color-danger)}.fft-lab .stage-title{fill:var(--lab-muted);text-anchor:middle;font:700 10px system-ui}.fft-lab .edge{fill:none;stroke:var(--lab-grid);stroke-width:1.7px;cursor:pointer;transition:opacity .13s,stroke .13s,stroke-width .13s}.fft-lab .edge.unit{stroke:var(--lab-blue)}.fft-lab .edge.twiddle-positive{stroke:var(--lab-purple)}.fft-lab .edge.twiddle-negative{stroke:var(--lab-orange)}.fft-lab .edge.active{opacity:.95}.fft-lab .edge.dim,.fft-lab .node-group.dim,.fft-lab .twiddle-label.dim{opacity:.08}.fft-lab .node{fill:var(--lab-panel);stroke:var(--lab-grid);stroke-width:1.25px}.fft-lab .node.input{fill:var(--dsp-color-accent-low);stroke:var(--lab-blue)}.fft-lab .node.output{fill:color-mix(in srgb,var(--lab-orange) 15%,var(--lab-panel));stroke:var(--lab-orange);stroke-width:1.8px}.fft-lab .node-label{fill:var(--lab-text);text-anchor:middle;pointer-events:none;font:700 9px system-ui}.fft-lab .svg-sub{font-size:6.5px}.fft-lab .node-value{fill:var(--lab-green);font:700 6.5px var(--dsp-font-mono);text-anchor:middle;pointer-events:none}.fft-lab .node-group{cursor:pointer;transition:opacity .13s}.fft-lab .node-group:focus .node{stroke:var(--lab-blue);stroke-width:2.5px}.fft-lab .node-group:focus{outline:none}.fft-lab .twiddle-label{cursor:pointer;overflow:visible}.fft-lab .twiddle-math{width:100%;height:100%;color:var(--lab-purple);white-space:nowrap;text-shadow:0 1px 2px var(--lab-deep);justify-content:center;align-items:center;font-size:8px;display:flex}.fft-lab .twiddle-label.unit .twiddle-math{color:var(--lab-blue)}.fft-lab .twiddle-negative .twiddle-math{color:var(--lab-orange)}.fft-lab .twiddle-math .katex{font-size:1em}.fft-lab .node-equation{pointer-events:none;overflow:visible}.fft-lab .node-equation div{color:var(--lab-muted);text-align:center;white-space:nowrap;text-overflow:ellipsis;font:600 6.5px/1.15 ui-monospace,monospace;overflow:hidden}.fft-lab .node-equation.numeric div{font-size:6px}.fft-lab .node-equation .katex{font-size:.9em}.fft-lab .equation-row{background:var(--lab-deep);border-radius:8px;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.62rem;font:.76rem ui-monospace,monospace;display:grid}.fft-lab .terms{flex-wrap:wrap;align-items:center;gap:.25rem;display:flex}.fft-lab .terms button,.fft-lab .output-pick{color:inherit;cursor:pointer;font:inherit;background:0 0;border:0;padding:.2rem}.fft-lab .terms button:focus-visible,.fft-lab .output-pick:focus-visible{outline:2px solid var(--lab-blue);outline-offset:2px}.fft-lab .output-pick{color:var(--lab-blue);font-weight:800}.fft-lab .terms b{color:var(--lab-muted)}.fft-lab .numeric{color:var(--lab-green);white-space:nowrap;font-weight:700}.fft-lab .direct-graph svg{width:100%;height:165px}.fft-lab .direct-graph line{stroke:var(--lab-orange);stroke-width:1px;opacity:.42}.fft-lab .direct-graph text{fill:var(--lab-muted);font:11px system-ui}.fft-lab .reuse-stages{justify-content:center;align-items:center;gap:.5rem;min-height:165px;display:flex}.fft-lab .reuse-stages div{background:var(--lab-panel-2);text-align:center;border-radius:8px;gap:.2rem;padding:.6rem;display:grid}.fft-lab .reuse-stages span,.fft-lab .reuse-stages small{color:var(--lab-muted);font-size:.7rem}.fft-lab .reuse-stages b{color:var(--lab-blue)}.fft-lab .count-grid div{background:var(--lab-deep);border-radius:9px;gap:.2rem;padding:.75rem;display:grid}.fft-lab .count-grid span,.fft-lab .count-grid small{color:var(--lab-muted);font-size:.7rem}.fft-lab .count-grid strong{color:var(--lab-text);font-size:1.35rem}.fft-lab .count-grid .saving{background:var(--dsp-color-accent-low)}.fft-lab .count-grid .saving strong{color:var(--lab-blue)}.fft-lab .output-values button{border:1px solid var(--lab-grid);background:var(--lab-deep);min-height:42px;color:var(--lab-text);text-align:left;cursor:pointer;border-radius:8px;grid-template-columns:auto 1fr;align-items:baseline;gap:.55rem;padding:.55rem .65rem;display:grid}.fft-lab .output-values button span{color:var(--lab-blue);font-weight:800}.fft-lab .output-values button strong{overflow-wrap:anywhere;justify-self:end;font:700 .78rem ui-monospace,monospace}.fft-lab .output-values button:focus-visible{outline:2px solid var(--lab-blue);outline-offset:2px}.fft-lab .expanded-formula{border:1px solid var(--lab-grid);background:var(--lab-deep);width:100%;color:var(--lab-text);text-align:left;cursor:pointer;border-radius:8px;padding:.55rem .75rem;display:block;overflow-x:auto}.fft-lab .expanded-formula .katex-display{text-align:left;margin:0}.fft-lab .expanded-formula:focus-visible{outline:2px solid var(--lab-blue);outline-offset:2px}.fft-lab .matrix-scroll{max-width:100%;padding:.35rem .1rem .6rem;overflow-x:auto}.fft-lab .matrix-equation{justify-content:center;align-items:center;gap:.7rem;width:max-content;min-width:100%;display:flex}.fft-lab .matrix-op{color:var(--lab-text);font:600 1.1rem ui-monospace,monospace}.fft-lab .coefficient-matrix{grid-template-columns:repeat(var(--n),minmax(27px,auto));gap:.04rem .2rem;padding:.25rem .55rem;display:grid;position:relative}.fft-lab .coefficient-matrix:before,.fft-lab .coefficient-matrix:after,.fft-lab .matrix-vector:before,.fft-lab .matrix-vector:after{content:"";border-block:1.5px solid var(--lab-grid);width:6px;position:absolute;inset-block:0}.fft-lab .coefficient-matrix:before,.fft-lab .matrix-vector:before{border-left:1.5px solid var(--lab-grid);left:0}.fft-lab .coefficient-matrix:after,.fft-lab .matrix-vector:after{border-right:1.5px solid var(--lab-grid);right:0}.fft-lab .coefficient-matrix button{min-width:27px;color:var(--lab-text);cursor:pointer;background:0 0;border:0;border-radius:4px;padding:.04rem .08rem;font:600 .68rem ui-monospace,monospace}.fft-lab .coefficient-matrix button .katex{font-size:.82em}.fft-lab .coefficient-matrix button:hover,.fft-lab .coefficient-matrix button:focus-visible{background:var(--dsp-color-accent-low);outline:none}.fft-lab .coefficient-matrix button.dim{opacity:.12}.fft-lab .coefficient-matrix button.active{background:var(--dsp-color-accent-low);box-shadow:inset 0 0 0 1px var(--lab-blue)}.fft-lab .complex-stack{text-align:center;gap:0;line-height:.92;display:grid}.fft-lab .complex-stack>span:last-child{color:var(--lab-muted);font-size:.88em}.fft-lab .matrix-vector{text-align:center;align-content:space-around;align-self:stretch;min-width:58px;padding:.35rem .65rem;display:grid;position:relative}.fft-lab .matrix-vector button{color:var(--lab-text);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:4px;padding:.12rem .2rem;font:600 .7rem ui-monospace,monospace}.fft-lab .matrix-vector button.active{background:color-mix(in srgb,var(--lab-blue) 14%,transparent)}.fft-lab .matrix-vector button.dim{opacity:.12}.fft-lab .matrix-vector button:focus-visible{outline:2px solid var(--lab-blue);outline-offset:1px}.fft-lab .matrix-vector sub{font-size:.72em}@media (width<=650px){.fft-lab .equation-row{grid-template-columns:auto auto 1fr}.fft-lab .numeric{grid-column:3}.fft-lab .reuse-stages{flex-wrap:wrap}}
