._shell_1lm4e_1{color:#dbe7f3}._grid_1lm4e_5{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,300px);gap:1rem;align-items:start}._panel_1lm4e_12{background:radial-gradient(circle at top,rgba(96,165,250,.12),transparent 42%),linear-gradient(180deg,#0f172a,#111827);border:1px solid rgba(148,163,184,.2);border-radius:18px;padding:1rem;box-shadow:0 20px 50px #02061759}._panelHeader_1lm4e_22{margin-bottom:1rem}._panelHeader_1lm4e_22 h2{margin:0;font-size:1rem;color:#f8fafc}._panelHeader_1lm4e_22 p{margin:.35rem 0 0;font-size:.86rem;color:#94a3b8}._segmented_1lm4e_38{display:grid;grid-template-columns:repeat(auto-fit,minmax(72px,1fr));gap:.55rem;margin-bottom:.9rem;width:100%;min-width:0}._segment_1lm4e_38,._segmentActive_1lm4e_48{border:1px solid rgba(125,211,252,.25);border-radius:999px;padding:.55rem .75rem;background:#0f172ad1;color:#dbe7f3}._segmentActive_1lm4e_48{background:linear-gradient(135deg,#0ea5e9,#2563eb);border-color:transparent;color:#eff6ff}._control_1lm4e_62{display:block;margin-bottom:.85rem}._selectorRow_1lm4e_67{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin-top:1rem}._control_1lm4e_62 input[type=range]{width:100%;margin-top:.45rem;accent-color:#38bdf8;touch-action:none;cursor:ew-resize}._controlHeader_1lm4e_82{display:flex;justify-content:space-between;gap:1rem;font-size:.88rem}._controlHeader_1lm4e_82 strong{color:#f8fafc;font-weight:600}._visualPanel_1lm4e_94{overflow:hidden}._canvas_1lm4e_98{display:block;width:100%;height:auto;border-radius:16px;border:1px solid rgba(148,163,184,.18);background:#08131f}._captionRow_1lm4e_107{display:flex;justify-content:space-between;gap:.75rem;margin-top:.75rem;font-size:.78rem;color:#94a3b8}._metricGrid_1lm4e_116{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-top:.85rem}._metricCard_1lm4e_123{padding:.7rem .8rem;border-radius:14px;border:1px solid rgba(148,163,184,.16);background:#0f172a94}._metricCard_1lm4e_123 span{display:block;font-size:.72rem;color:#94a3b8}._metricCard_1lm4e_123 strong{display:block;margin-top:.32rem;font-size:.86rem;color:#f8fafc}@media(max-width:1120px){._grid_1lm4e_5{grid-template-columns:1fr}._captionRow_1lm4e_107{flex-wrap:wrap}._metricGrid_1lm4e_116{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){._metricGrid_1lm4e_116{grid-template-columns:1fr}}._shell_1mx35_1{color:#d9ecf2;--panel-border: rgba(125, 211, 252, .16);--panel-bg: radial-gradient(circle at top right, rgba(45, 212, 191, .14), transparent 42%), radial-gradient(circle at top left, rgba(249, 115, 22, .12), transparent 34%), linear-gradient(180deg, #071521 0%, #091a28 100%);--text-muted: #8fb3c2;--text-strong: #f5fbff;--accent: #67e8f9;--accent-strong: #14b8a6;--accent-warm: #fb923c}._grid_1mx35_15{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,310px);gap:1rem;align-items:start}._panel_1mx35_22{background:var(--panel-bg);border:1px solid var(--panel-border);border-radius:20px;padding:1rem;box-shadow:0 20px 50px #0206176b}._visualPanel_1mx35_30{overflow:hidden}._panelHeader_1mx35_34{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1rem}._panelHeader_1mx35_34 h2,._factsCard_1mx35_43 h3,._biasCard_1mx35_44 h3{margin:0;font-size:1rem;color:var(--text-strong)}._panelHeader_1mx35_34 p,._factsCard_1mx35_43 p{margin:.35rem 0 0;font-size:.86rem;color:var(--text-muted)}._panelHeaderValue_1mx35_57{color:var(--text-strong);font-size:.98rem;font-weight:700;white-space:nowrap}._canvas_1mx35_64{display:block;width:100%;height:auto;border-radius:18px;border:1px solid rgba(103,232,249,.16);background:#06111b}._captionRow_1mx35_73{display:flex;justify-content:space-between;gap:.75rem;margin-top:.8rem;font-size:.78rem;color:var(--text-muted);flex-wrap:wrap}._controlsBlock_1mx35_83{margin-top:.95rem}._control_1mx35_83{display:block;margin-bottom:.9rem}._controlHeader_1mx35_92{display:flex;justify-content:space-between;gap:1rem;font-size:.88rem}._controlHeader_1mx35_92 strong{color:var(--text-strong);font-weight:600}._control_1mx35_83 input[type=range]{width:100%;margin-top:.48rem;accent-color:var(--accent);touch-action:none;cursor:ew-resize}._factsCard_1mx35_43,._biasCard_1mx35_44{padding:.9rem 1rem;border-radius:16px;border:1px solid rgba(103,232,249,.14);background:linear-gradient(180deg,#07121ce0,#08141fb8)}._biasCard_1mx35_44{margin-top:.85rem}._plotCard_1mx35_125{margin-top:.95rem;padding:.95rem 1rem 1rem;border-radius:18px;border:1px solid rgba(103,232,249,.14);background:radial-gradient(circle at top right,rgba(34,211,238,.1),transparent 32%),linear-gradient(180deg,#07121cf0,#08141fc7)}._plotHeader_1mx35_135{display:flex;justify-content:space-between;gap:.9rem;align-items:flex-start;margin-bottom:.75rem}._plotHeader_1mx35_135 h3{margin:0;font-size:1rem;color:var(--text-strong)}._plotHeader_1mx35_135 p{margin:.3rem 0 0;font-size:.83rem;line-height:1.4;color:var(--text-muted)}._plotHeader_1mx35_135 strong{color:var(--text-strong);font-size:.92rem;white-space:nowrap}._plot_1mx35_125{display:block;width:100%;height:auto}._plotFrame_1mx35_168{fill:#050f18c7;stroke:#67e8f91a}._plotGrid_1mx35_173{stroke:#94a3b829;stroke-width:1}._plotBoundary_1mx35_178{stroke:#fb923cc7;stroke-width:1.5;stroke-dasharray:4 5}._plotAxisLabel_1mx35_184,._plotAxisTitle_1mx35_185,._plotNote_1mx35_186{fill:#a8c5d2;font-size:12px}._plotAxisTitle_1mx35_185{fill:#d7eef6;font-size:13px;font-weight:600}._plotNote_1mx35_186{fill:#ffd29c;font-size:11px}._plotMarkerLine_1mx35_202{stroke:#67e8f9b8;stroke-width:1.5;stroke-dasharray:3 5}._plotMarker_1mx35_202{fill:#f8fafc;stroke:#06b6d4;stroke-width:3}._plotMarkerHalo_1mx35_214{fill:#22d3ee29}._plotStepMarker_1mx35_218{fill:#fb923c;stroke:#fff7ed;stroke-width:2}._plotStepChord_1mx35_224{fill:none;stroke:#fb923c6b;stroke-width:1.5;stroke-dasharray:4 4}._plotDeltaLineX_1mx35_231,._plotDeltaLineY_1mx35_232{stroke:#fb923cf2;stroke-width:2.2}._plotDeltaLabel_1mx35_237{fill:#ffe3bf;font-size:12px;font-weight:600}._plotLegend_1mx35_243{display:flex;justify-content:space-between;gap:.8rem;margin-top:.65rem;font-size:.72rem;color:var(--text-muted);flex-wrap:wrap}._plotLegendItem_1mx35_253{display:inline-flex;align-items:center;gap:.45rem}._plotLegendStart_1mx35_259,._plotLegendStep_1mx35_260{display:inline-block;width:.7rem;height:.7rem;border-radius:999px;flex:0 0 auto}._plotLegendStart_1mx35_259{background:#f8fafc;border:2px solid #06b6d4;box-shadow:0 0 0 3px #22d3ee1f}._plotSignalGuide_1mx35_274{stroke:#67e8f97a;stroke-width:1.6}._biasRow_1mx35_279{display:flex;justify-content:space-between;gap:1rem;margin-top:.65rem;font-size:.84rem;color:var(--text-muted)}._biasRow_1mx35_279 strong{color:var(--text-strong)}@media(max-width:1120px){._grid_1mx35_15{grid-template-columns:1fr}}@media(max-width:640px){._panelHeader_1mx35_34,._plotHeader_1mx35_135{flex-direction:column}}._pageContent_hqqbs_1{min-height:0;min-width:0}._shell_hqqbs_6{display:flex;flex-direction:column;gap:14px;min-height:0;flex:1}._chipButton_hqqbs_14{border:1px solid rgba(24,44,86,.18);background:#eef3fb;color:#17315c;padding:.55rem .9rem;font-size:.94rem}._chipButtonActive_hqqbs_22{background:#17315c;color:#fff}._controlsGrid_hqqbs_27{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}._mobileControlShell_hqqbs_34{display:flex;flex-direction:column;gap:10px}._mobilePanelTabs_hqqbs_40{display:flex;gap:8px;flex-wrap:wrap}._mobilePanelBody_hqqbs_46{display:flex}._mobilePanelBody_hqqbs_46>*{width:100%}._panel_hqqbs_54{background:linear-gradient(180deg,#f3f7fcfa,#e8eff8fa);border:1px solid rgba(24,44,86,.08);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:10px;align-self:start}._panelTitle_hqqbs_65{margin:0;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:#456286}._fieldGroup_hqqbs_73{display:flex;flex-direction:column;gap:8px}._sliderRow_hqqbs_79{display:flex;flex-direction:column;gap:4px}._sliderLabel_hqqbs_85{display:flex;justify-content:space-between;gap:10px;font-size:.9rem;color:#17315c}._sliderLabel_hqqbs_85 span:last-child{font-family:Consolas,SFMono-Regular,monospace;color:#20477c}._slider_hqqbs_79{width:100%;accent-color:#21457a}._segmented_hqqbs_103{display:inline-flex;background:#ffffffb3;border-radius:10px;padding:3px;gap:3px}._segmented_hqqbs_103 button{min-width:0}._toggleRow_hqqbs_115{display:flex;gap:8px;flex-wrap:wrap}._canvasShell_hqqbs_121{position:relative;height:clamp(420px,58vh,560px);min-height:420px;background:radial-gradient(circle at top,#193055,#0f1c33 46%,#09111d);border-radius:16px;overflow:hidden}@media(max-width:1100px){._controlsGrid_hqqbs_27{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){._controlsGrid_hqqbs_27{grid-template-columns:1fr}._mobilePanelTabs_hqqbs_40{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}._mobilePanelTabs_hqqbs_40 button{white-space:nowrap;flex:0 0 auto}._canvasShell_hqqbs_121{height:clamp(300px,62vh,430px);min-height:300px}}.ported-demo-frame{background:var(--panel);border:1px solid var(--line);border-radius:8px;min-width:0;overflow:hidden;padding:clamp(14px,3vw,22px)}.ported-demo-frame canvas{max-width:100%}.ported-demo-frame>div{min-width:0}.stress-demo{--stress-bg: #f4f6f1;--stress-panel: #ffffff;--stress-panel-soft: #f7f9fa;--stress-text: #1c2430;--stress-muted: #5a6574;--stress-line: #d7ded2;--stress-green: #2f8f6b;--stress-blue: #2f80ed;--stress-yellow: #f2b84b;--stress-shadow: 0 18px 48px rgba(36, 45, 56, .12);background:var(--stress-bg);color:var(--stress-text);margin:0;min-height:100vh;padding:0}.stress-demo *{box-sizing:border-box}.stress-workbench{margin:0 auto;width:100%}.stress-panel{background:var(--stress-panel);border:1px solid var(--stress-line);border-radius:8px;box-shadow:var(--stress-shadow)}.stress-panel p{color:var(--stress-muted);line-height:1.55;margin:0}.stress-workbench{align-items:flex-start;display:grid;gap:18px;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr)}.stress-panel{min-width:0;padding:clamp(18px,3vw,26px)}.stress-grid-panel,.stress-side-stack{align-self:flex-start}.stress-panel-heading{border-bottom:1px solid var(--stress-line);margin-bottom:16px;padding-bottom:13px}.stress-panel-heading h2{font-size:clamp(1.2rem,2vw,1.65rem);margin:0}.stress-grid-toolbar{align-items:center;display:grid;gap:12px;grid-template-areas:"mode hint";grid-template-columns:auto minmax(0,1fr);margin-bottom:12px}.stress-toolbar-hint{grid-area:hint;color:var(--stress-muted);font-size:.9rem;font-weight:800;line-height:1.35;min-width:0}.stress-load-mode{background:#edf2f5;border:1px solid var(--stress-line);border-radius:8px;display:grid;gap:3px;grid-area:mode;grid-template-columns:repeat(3,minmax(0,1fr));justify-self:start;padding:3px;width:min(100%,238px)}.stress-load-mode button{background:transparent;border:0;border-radius:6px;color:var(--stress-muted);cursor:pointer;font:inherit;font-size:.82rem;font-weight:800;min-height:34px;padding:0 9px}.stress-load-mode button.is-active{background:var(--stress-panel);box-shadow:0 6px 16px #242d381f;color:var(--stress-text)}.stress-grid{background:var(--stress-panel-soft);border:1px solid var(--stress-line);border-radius:8px;cursor:crosshair;display:block;height:auto;touch-action:none;-webkit-user-select:none;user-select:none;width:100%}.stress-grid-bed{fill:#eef3f0;stroke:#c7d0c5;stroke-width:2}.stress-pressure-glow{fill:url(#stressPressGlow)}.stress-depth-lines line{stroke:#242d3838;stroke-linecap:round;stroke-width:2}.stress-grid-lines path{fill:none;stroke:#8fb3a5;stroke-linecap:round;stroke-linejoin:round;stroke-width:3}.stress-grid-nodes circle{fill:var(--stress-blue)}.stress-axis-cue{color:var(--stress-muted)}.stress-axis-cue line{marker-end:url(#stressAxisArrow);stroke:var(--stress-muted);stroke-linecap:round;stroke-width:2.4}.stress-axis-cue circle{fill:var(--stress-muted)}.stress-axis-cue text{fill:var(--stress-muted);font-size:14px;font-weight:800}.stress-sample-region{fill:#f2b84b1f;stroke:var(--stress-yellow);stroke-dasharray:6 6;stroke-width:3}.stress-side-stack{display:grid;gap:18px}.stress-matrix-wrap{align-items:stretch;display:grid;gap:10px;grid-template-columns:24px minmax(0,1fr) 24px;margin-bottom:14px}.stress-bracket{align-self:stretch;border-color:#65717f;border-style:solid;display:block;min-height:100%;width:18px}.stress-bracket-left{border-width:4px 0 4px 4px;justify-self:end}.stress-bracket-right{border-width:4px 4px 4px 0;justify-self:start}.stress-matrix{display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.stress-matrix-cell{--stress-intensity: 0;background:linear-gradient(rgb(210 46 46 / calc(var(--stress-intensity) * .38)),rgb(210 46 46 / calc(var(--stress-intensity) * .38))),var(--stress-panel-soft);border:1px solid color-mix(in srgb,var(--stress-line),#cf3030 calc(var(--stress-intensity) * 72%));border-radius:8px;box-shadow:0 0 0 calc(var(--stress-intensity) * 4px) rgb(210 46 46 / calc(var(--stress-intensity) * .16)),0 10px calc(var(--stress-intensity) * 18px) rgb(118 24 24 / calc(var(--stress-intensity) * .1));min-height:74px;padding:10px;transition:background-color .12s linear,border-color .12s linear,box-shadow .12s linear}.stress-matrix-cell span{color:color-mix(in srgb,var(--stress-muted),#842020 calc(var(--stress-intensity) * 74%));display:block;font-size:.86rem;font-weight:800;margin-bottom:6px}.stress-matrix-cell strong{color:color-mix(in srgb,var(--stress-text),#5d1515 calc(var(--stress-intensity) * 34%));display:block;font-size:clamp(1.05rem,2vw,1.45rem);line-height:1}@media(max-width:920px){.stress-demo{min-height:0}.stress-workbench{grid-template-columns:1fr}}@media(max-width:560px){.stress-workbench{width:100%}.stress-workbench,.stress-side-stack{gap:12px}.stress-panel{padding:12px}.stress-grid-toolbar{align-items:stretch;gap:8px;grid-template-areas:"mode" "hint";grid-template-columns:1fr;margin-bottom:10px}.stress-toolbar-hint{font-size:.88rem}.stress-load-mode{justify-self:stretch;width:100%}.stress-load-mode button{padding:0 6px}.stress-matrix-wrap{gap:6px;grid-template-columns:18px minmax(0,1fr) 18px}.stress-bracket{width:14px}.stress-matrix{gap:6px}.stress-matrix-cell{min-height:64px;padding:8px 6px}.stress-matrix-cell span{font-size:.75rem}}.thyristors-demo{--thy-bg: #f4f6f1;--thy-panel: #ffffff;--thy-panel-soft: #f7f9fa;--thy-text: #1c2430;--thy-muted: #5a6574;--thy-line: #d7ded2;--thy-green: #2f8f6b;--thy-blue: #2f80ed;--thy-yellow: #f2b84b;--thy-shadow: 0 18px 48px rgba(36, 45, 56, .12);background:var(--thy-bg);color:var(--thy-text);margin:0;min-height:100vh;padding:clamp(22px,4vw,48px) 0 0}.thyristors-demo *{box-sizing:border-box}.thyristors-demo button,.thyristors-demo input{font:inherit}.thy-main{margin:0 auto;width:100%}.thy-lecture-main{display:grid;gap:18px}.thy-lecture-hero,.thy-demo-card,.thy-sync-strip{background:var(--thy-panel);border:1px solid var(--thy-line);border-radius:8px;box-shadow:var(--thy-shadow)}.thy-lecture-hero{align-items:end;display:grid;gap:24px;padding:clamp(18px,3vw,26px)}.thy-lecture-hero span,.thy-card-heading span,.thy-control span,.thy-hero-control span,.thy-readout-grid span,.thy-sync-strip span{color:var(--thy-green);display:block;font-size:.78rem;font-weight:800;letter-spacing:0;margin-bottom:7px;text-transform:uppercase}.thy-lecture-hero h1{font-size:clamp(1.85rem,3.4vw,3.1rem);line-height:1;margin:0}.thy-hero-control,.thy-control{display:grid;gap:10px}.thy-hero-control strong,.thy-control strong,.thy-readout-grid strong,.thy-sync-strip strong{color:var(--thy-text);font-size:1.35rem}.thyristors-demo input[type=range]{accent-color:var(--thy-green);width:100%}.thy-demo-card{padding:clamp(18px,3vw,28px)}.thy-card-heading{align-items:end;border-bottom:1px solid var(--thy-line);display:flex;gap:18px;justify-content:flex-start;margin-bottom:18px;padding-bottom:14px}.thy-card-heading h2{font-size:clamp(1.25rem,2.2vw,1.85rem);margin:0}.thy-large-wave{display:block;height:auto;width:100%}.thy-wave-layout{align-items:stretch;display:grid;gap:18px;grid-template-columns:minmax(0,1fr) 240px}.thy-wave-layout .thy-large-wave{align-self:center}.thy-axis,.thy-grid-line{stroke:#cfd8d2;stroke-width:2}.thy-grid-line{stroke-dasharray:8 8}.thy-trigger-marker{stroke:var(--thy-yellow);stroke-dasharray:7 7;stroke-width:3}.thy-input-wave{fill:none;stroke:#b7c3bd;stroke-linecap:round;stroke-linejoin:round;stroke-width:5}.thy-load-wave,.thy-charge-path{fill:none;stroke:var(--thy-green);stroke-linecap:round;stroke-linejoin:round;stroke-width:7}.thy-plot-label,.thy-trigger-label{fill:var(--thy-muted);font-size:17px;font-weight:700}.thy-trigger-label{fill:#8a5e14}.thy-brightness-meter{background:#edf2f5;border-radius:999px;height:14px;overflow:hidden;width:100%}.thy-brightness-fill{background:linear-gradient(90deg,var(--thy-blue),var(--thy-green),var(--thy-yellow));height:100%;transition:width .16s ease}.thy-power-panel{align-items:center;background:var(--thy-panel-soft);border:1px solid var(--thy-line);border-radius:8px;display:grid;gap:14px;justify-items:center;min-height:100%;padding:18px;text-align:center}.thy-power-panel span{color:var(--thy-green);font-size:.78rem;font-weight:800;text-transform:uppercase}.thy-power-panel strong{color:var(--thy-text);font-size:clamp(2rem,4vw,3rem);line-height:1}.thy-bulb{display:grid;height:112px;place-items:center;position:relative;width:112px}.thy-bulb-glow{background:radial-gradient(circle,rgba(242,184,75,.72),rgba(242,184,75,.22) 42%,transparent 70%);border-radius:999px;height:108px;position:absolute;transition:opacity .16s ease,transform .16s ease;width:108px}.thy-bulb-icon{color:#d69c2b;filter:drop-shadow(0 8px 18px rgba(242,184,75,.28));height:76px;position:relative;transition:opacity .16s ease;width:76px}.thy-trigger-layout{align-items:stretch;display:grid;gap:22px;grid-template-columns:minmax(260px,.46fr) minmax(0,1fr)}.thy-trigger-controls{align-content:start;display:grid;gap:16px}.thy-readout-grid{display:grid;gap:10px;grid-template-columns:1fr;margin-top:18px}.thy-readout-grid div{background:var(--thy-panel-soft);border:1px solid var(--thy-line);border-radius:8px;padding:14px}.thy-readout-grid em{color:var(--thy-muted);display:block;font-style:normal;font-weight:800;margin-top:4px}.thy-play-button{background:var(--thy-text);border:0;border-radius:8px;color:#fff;cursor:pointer;font-weight:800;min-height:44px;padding:10px 14px}.thy-pulse-stage{align-items:center;background:var(--thy-panel-soft);border:1px solid var(--thy-line);border-radius:8px;display:grid;gap:20px;grid-template-columns:minmax(260px,.95fr) minmax(250px,1fr);min-height:330px;overflow:hidden;padding:clamp(18px,3vw,28px);position:relative}.thy-voltage-scope{background:#fff;border:1px solid var(--thy-line);border-radius:8px;display:grid;gap:8px;padding:14px}.thy-voltage-scope>span{color:var(--thy-green);font-size:.78rem;font-weight:800;text-transform:uppercase}.thy-voltage-scope svg{display:block;height:auto;width:100%}.thy-breakover-scope-line{stroke:var(--thy-yellow);stroke-dasharray:7 7;stroke-width:3}.thy-voltage-trace{fill:none;stroke:var(--thy-green);stroke-linecap:round;stroke-linejoin:round;stroke-width:7}.thy-trace-dot{fill:var(--thy-green);opacity:.9}.thy-trace-dot.is-active{fill:var(--thy-yellow);filter:drop-shadow(0 0 12px rgba(242,184,75,.8))}.thy-scope-label{fill:#8a5e14;font-size:15px;font-weight:900}.thy-scope-axis-label{fill:var(--thy-muted);font-size:14px;font-weight:800}.thy-pulse-path{align-items:center;display:grid;gap:14px;grid-template-columns:88px minmax(64px,1fr) 106px;min-width:0}.thy-diac,.thy-triac-state{background:#fff;border:2px solid var(--thy-line);border-radius:8px;color:var(--thy-text);display:grid;font-weight:900;font-size:.95rem;min-height:82px;padding:10px;place-items:center;text-align:center;transition:background .12s ease,border-color .12s ease,box-shadow .12s ease}.thy-diac.is-active{background:#fff7df;border-color:var(--thy-yellow);box-shadow:0 0 0 5px #f2b84b2e,0 0 28px #f2b84b6b}.thy-triac-state{gap:4px}.thy-triac-state span{font-size:1rem}.thy-triac-state strong{font-size:1.2rem}.thy-triac-state.is-active{background:#eaf6ef;border-color:var(--thy-green);box-shadow:0 0 0 5px #2f8f6b24,0 0 26px #2f8f6b42;color:var(--thy-green)}.thy-pulse-rail{background:#d7ded2;border-radius:999px;height:8px;position:relative}.thy-trigger-pulse{background:var(--thy-yellow);border-radius:999px;box-shadow:0 0 26px #f2b84bcc;height:28px;opacity:0;position:absolute;top:50%;transform:translate(-50%,-50%) scale(.45);transition:left 45ms linear,opacity 70ms ease,transform 70ms ease;width:28px}.thy-trigger-pulse.is-active{opacity:1;transform:translate(-50%,-50%) scale(1)}.thy-pulse-label{bottom:24px;color:#8a5e14;font-weight:900;left:calc(50% + 90px);opacity:0;position:absolute;transition:opacity 80ms ease}.thy-pulse-label.is-active{opacity:1}.thy-sync-strip{align-items:center;display:flex;flex-wrap:wrap;gap:14px;padding:16px 18px}.thy-sync-strip button{background:var(--thy-text);border:0;border-radius:8px;color:#fff;cursor:pointer;margin-left:auto;min-height:42px;padding:10px 14px}@media(max-width:820px){.thy-lecture-hero,.thy-wave-layout,.thy-trigger-layout{grid-template-columns:1fr}.thy-pulse-stage{grid-template-columns:1fr;overflow-x:hidden}.thy-pulse-path{grid-template-columns:84px minmax(56px,1fr) 102px}}.valence-demo{--valence-bg: #f4f6f1;--valence-panel: #ffffff;--valence-panel-soft: #f7f9fa;--valence-text: #1c2430;--valence-muted: #5a6574;--valence-line: #d7ded2;--valence-green: #2f8f6b;--valence-blue: #2f80ed;--valence-yellow: #f2b84b;--valence-shadow: 0 18px 48px rgba(36, 45, 56, .12);color:var(--valence-text);display:grid;gap:18px;min-width:0}.demo-page.demo-page--valence-current>header{margin-bottom:clamp(18px,3vw,32px)}.demo-page.demo-page--valence-current>header h1{font-size:clamp(2rem,3.2vw,3.15rem);margin-bottom:18px;max-width:none}.demo-page.demo-page--valence-current>header p{max-width:760px}.valence-demo *{box-sizing:border-box}.valence-demo button,.valence-demo input{font:inherit}.valence-workbench{display:block;min-width:0}.valence-stage-panel,.valence-control-panel,.valence-atom-panel{background:var(--valence-panel);border:1px solid var(--valence-line);border-radius:8px;box-shadow:var(--valence-shadow)}.valence-stage-panel{min-width:0;padding:clamp(16px,2.8vw,26px)}.valence-control span,.valence-meter span{color:var(--valence-green);display:block;font-size:.78rem;font-weight:800;letter-spacing:0;margin-bottom:7px;text-transform:uppercase}.valence-canvas-wrap{background:var(--valence-panel-soft);border:1px solid var(--valence-line);border-radius:8px;min-height:180px;min-width:0;overflow:hidden;position:relative}.valence-canvas{display:block;height:auto;width:100%}.valence-lower-grid{align-items:stretch;display:grid;gap:18px;grid-template-columns:minmax(250px,.72fr) minmax(0,1.28fr);min-width:0}.valence-lower-grid--controls-only{grid-template-columns:minmax(0,1fr)}.valence-lower-grid--controls-only .valence-control-panel{align-items:center;grid-template-columns:minmax(210px,.42fr) minmax(0,1fr)}.valence-control-panel{align-content:start;display:grid;gap:14px 18px;min-width:0;padding:clamp(16px,2.4vw,22px)}.valence-lower-grid--controls-only .valence-meter{grid-row:1 / span 3}.valence-meter{align-items:stretch;background:linear-gradient(135deg,#eef7f1,#f9f2dd);border:1px solid #cdded4;border-radius:8px;display:block;min-width:0;padding:16px;position:relative}.valence-meter span{left:16px;position:absolute;top:14px;z-index:1}.valence-ammeter{display:block;height:auto;margin-top:-2px;width:100%}.valence-ammeter-face{fill:#ffffffad;stroke:#5a657438;stroke-width:1.5}.valence-ammeter-band{fill:none;stroke-linecap:round;stroke-width:8}.valence-ammeter-band--low{stroke:#2f80edb8}.valence-ammeter-band--mid{stroke:#2f8f6bb8}.valence-ammeter-band--high{stroke:#f29d4bd1}.valence-ammeter-band--danger{stroke:#dc4c3fc7}.valence-ammeter-tick{stroke:#1c243061;stroke-linecap:round;stroke-width:2}.valence-ammeter-needle{stroke:#1c2430;stroke-linecap:round;stroke-width:3.5;transform-box:fill-box;transform-origin:0 50%;transition:transform .34s cubic-bezier(.2,.8,.2,1)}.valence-ammeter-pivot{fill:#1c2430;stroke:#fff;stroke-width:3}.valence-control{display:grid;gap:9px;min-width:0}.valence-control strong{color:var(--valence-text);font-size:1.25rem}.valence-control input[type=range]{accent-color:var(--valence-green);min-width:0;width:100%}.valence-atom-panel{display:block;min-width:0;overflow:hidden;padding:0}.valence-atom-svg{background:linear-gradient(135deg,#fff,#f3faf8 58%,#fff8e9);border:1px solid var(--valence-line);border-radius:8px;display:block;height:auto;width:100%}.valence-atom-field-bed{fill:#2f8f6b14;stroke:#2f8f6b29}.valence-atom-field{stroke:var(--valence-green);stroke-linecap:round;transition:opacity .16s ease,stroke-width .16s ease}.valence-atom-field-label,.valence-free-label{fill:var(--valence-muted);font-size:11px;font-weight:800}.valence-atom-shell{fill:none;stroke:#2f80ed38;stroke-width:2}.valence-atom-shell-outer{stroke:#2f80ed6b;stroke-dasharray:8 8}.valence-atom-nucleus{fill:url(#valenceNucleusGlow);stroke:#8440193d;stroke-width:4}.valence-atom-plus{fill:#fff;font-size:22px;font-weight:900;text-anchor:middle}.valence-atom-electron,.valence-atom-valence-electron,.valence-free-electron{fill:var(--valence-blue);stroke:#fff;stroke-width:2}.valence-atom-valence-electron,.valence-free-electron{filter:drop-shadow(0 0 6px rgba(47,128,237,.38));transition:cx .18s ease,cy .18s ease,opacity .18s ease,r .18s ease}.valence-free-path{fill:none;stroke:#2f80ed42;stroke-dasharray:7 7;stroke-linecap:round;stroke-width:3}@media(max-width:900px){.valence-lower-grid{grid-template-columns:1fr}.valence-control-panel,.valence-lower-grid--controls-only .valence-control-panel{grid-template-columns:repeat(2,minmax(0,1fr))}.valence-meter{grid-column:1 / -1}.valence-lower-grid--controls-only .valence-meter{grid-row:auto}}@media(max-width:620px){.demo-page.demo-page--valence-current{padding-left:10px;padding-right:10px}.valence-control-panel,.valence-lower-grid--controls-only .valence-control-panel{grid-template-columns:1fr}.valence-stage-panel,.valence-control-panel,.valence-atom-panel{padding:16px}.valence-stage-panel{padding:4px}.valence-canvas-wrap{border-radius:6px}.valence-meter{padding:8px 10px 10px}.valence-meter span{left:14px;top:12px}.valence-ammeter{margin-top:-4px}}@media(max-width:900px)and (orientation:landscape){.valence-lower-grid--controls-only .valence-control-panel{align-items:center;grid-template-columns:minmax(190px,.42fr) minmax(0,1fr)}.valence-lower-grid--controls-only .valence-meter{grid-column:auto;grid-row:1 / span 3}}:root{color:#1c2430;background:#f4f6f1;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #1c2430;--muted: #5a6574;--panel: #ffffff;--line: #d7ded2;--green: #2f8f6b;--blue: #2f80ed;--yellow: #f2b84b;--red: #c94c4c;--shadow: 0 18px 48px rgba(36, 45, 56, .12)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}body.modal-open{overflow:hidden}button,a,input{font:inherit}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.app-shell main{padding-top:48px}.site-header{align-items:center;background:transparent;display:flex;gap:24px;justify-content:space-between;padding:10px clamp(14px,3vw,36px);pointer-events:none;position:fixed;top:0;width:100%;z-index:20}.brand-mark,.site-nav,.site-nav a,.site-menu-button{align-items:center;display:flex}.brand-mark{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffe0;border:1px solid rgba(215,222,210,.9);border-radius:999px;box-shadow:0 8px 22px #242d381a;color:var(--ink);font-weight:800;gap:10px;min-height:38px;padding:0 14px 0 12px;pointer-events:auto}.brand-mark svg{color:var(--green);height:22px;width:22px}.site-nav{gap:8px;pointer-events:auto;position:relative}.site-nav a,.site-menu-button{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffe0;border:1px solid rgba(215,222,210,.9);border-radius:999px;box-shadow:0 8px 22px #242d381a;color:var(--muted);cursor:pointer;gap:7px;min-height:38px;padding:0 14px}.site-nav a.active,.site-nav a:hover,.site-menu-button[aria-expanded=true],.site-menu-button:hover{background:#eaf1ea;color:var(--ink)}.site-nav svg{height:17px;width:17px}.site-menu-panel{background:#fffffffc;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);display:grid;gap:18px;max-height:min(72vh,640px);min-width:390px;overflow-y:auto;padding:18px;position:absolute;right:0;top:calc(100% + 8px);z-index:40}.site-menu-section{display:grid;gap:8px}.site-menu-section h2{color:var(--green);font-size:.78rem;letter-spacing:0;margin:0;text-transform:uppercase}.site-menu-links{display:grid;gap:6px}.site-menu-link{align-items:center;border:1px solid transparent;border-radius:8px;display:flex;min-width:0;padding:10px 11px}.site-menu-link:hover,.site-menu-link:focus-visible{background:#f4f7f4;border-color:var(--line);color:var(--ink);outline:none}.site-menu-link span{color:var(--ink);font-weight:800;min-width:0}.catalog-page,.demo-page,.empty-state,.lab-layout{margin:0 auto;max-width:1180px;padding:clamp(22px,4vw,54px)}.catalog-intro{margin-bottom:28px}.eyebrow,.lab-header>span,.demo-page header span{color:var(--green);display:inline-block;font-size:.78rem;font-weight:800;letter-spacing:0;margin-bottom:10px;text-transform:uppercase}h1,h2,h3,p{margin-top:0}.catalog-intro h1,.lab-header h1,.demo-page h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1;margin-bottom:18px;max-width:620px}.catalog-intro p,.lab-header p,.demo-page header p{color:var(--muted);font-size:1.08rem;line-height:1.65;max-width:620px}.catalog-tools{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}.catalog-tools button{background:var(--panel);border:1px solid var(--line);border-radius:8px;color:var(--muted);cursor:pointer;padding:9px 14px}.catalog-tools button.active,.catalog-tools button:hover{background:var(--green);border-color:var(--green);color:#fff}.card-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.demo-card{background:var(--panel);border:1px solid var(--line);border-radius:8px;display:flex;flex-direction:column;min-height:0;padding:22px}.demo-card h2{font-size:1.35rem;margin:0 0 10px}.demo-card p{color:var(--muted);line-height:1.55}.demo-card .deployment-hint{background:#f7f9fa;border-left:3px solid var(--green);color:#40505f;font-size:.9rem;margin:4px 0 0;padding:10px 12px}.card-action,.empty-state a{align-items:center;background:var(--ink);border:0;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;gap:9px;justify-content:center;margin-top:18px;min-height:42px;padding:10px 14px}.demo-card .card-action{margin-top:auto}.card-action svg{height:17px;width:17px}.modal-backdrop{align-items:center;background:#0e13189e;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:18px;position:fixed;z-index:50}.modal-frame{background:var(--panel);border-radius:8px;box-shadow:var(--shadow);max-height:min(88vh,860px);max-width:960px;overflow:auto;width:min(960px,100%)}.modal-header{align-items:center;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;padding:16px 18px}.modal-header h2{font-size:1.1rem;margin:0}.modal-header button{align-items:center;background:#edf2f5;border:0;border-radius:8px;cursor:pointer;display:inline-flex;height:36px;justify-content:center;width:36px}.modal-header svg{height:18px;width:18px}.modal-content{padding:22px}.fet-demo{display:grid;gap:22px;grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr)}.fet-visual,.control-panel,.chart-panel,.callout{background:var(--panel);border:1px solid var(--line);border-radius:8px}.fet-visual{min-height:320px;padding:14px}.fet-visual svg{display:block;height:auto;width:100%}.fet-substrate{fill:#e9eee8;stroke:#c7d0c5;stroke-width:2}.fet-source,.fet-drain{fill:#303a46}.fet-channel{transition:height .18s ease,y .18s ease}.fet-oxide{fill:#f5f7f5;stroke:#c7d0c5}.fet-gate{fill:var(--yellow)}.fet-arrow,.fet-arrow-head{fill:none;stroke:#fff;stroke-linecap:round;stroke-linejoin:round;stroke-width:10}.fet-visual text{fill:var(--ink);font-size:20px;font-weight:700}.control-panel{display:flex;flex-direction:column;gap:20px;padding:20px}.control-panel label{display:grid;gap:8px}.control-panel label span,.measurement-grid dt{color:var(--muted);font-size:.85rem}.control-panel label strong{font-size:1.2rem}input[type=range]{accent-color:var(--green);width:100%}.measurement-grid{display:grid;gap:10px;grid-template-columns:1fr;margin:0}.measurement-grid div{background:#f7f9fa;border-radius:8px;padding:12px}.measurement-grid dd{font-size:1.25rem;font-weight:800;margin:4px 0 0}.lab-header,.demo-page header{border-bottom:1px solid var(--line);margin-bottom:28px;padding-bottom:24px}.demo-page--stress-tensor header{margin-bottom:18px;padding-bottom:18px}.lab-body{color:var(--ink);font-size:1.02rem;line-height:1.75;max-width:920px}.lab-body h2{font-size:1.65rem;margin:32px 0 10px}.lab-body ol{padding-left:24px}.callout{border-left:5px solid var(--blue);margin:18px 0 26px;padding:16px 18px}.callout-check{border-left-color:var(--green)}.callout-warning{border-left-color:var(--red)}.callout strong{display:block;margin-bottom:6px}.chart-panel{margin:24px 0;padding:18px}.chart-heading{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:18px}.chart-heading h3{margin:0}.chart-heading span{color:var(--muted)}.bar-chart{display:grid;gap:12px}.bar-row{align-items:center;display:grid;gap:12px;grid-template-columns:64px 1fr 54px}.bar-row span,.bar-row strong{font-size:.9rem}.bar-track{background:#e8edf0;border-radius:999px;height:14px;overflow:hidden}.bar-fill{background:linear-gradient(90deg,var(--blue),var(--green),var(--yellow));border-radius:999px;height:100%}.table-wrap{margin:24px 0;overflow-x:auto}table{background:var(--panel);border:1px solid var(--line);border-collapse:collapse;min-width:620px;width:100%}caption{color:var(--muted);margin-bottom:8px;text-align:left}th,td{border-bottom:1px solid var(--line);padding:12px 14px;text-align:left}th{background:#edf2f5}.demo-page .fet-demo{margin-top:22px}.empty-state{display:grid;min-height:50vh;place-content:center;text-align:center}.empty-state h1{margin-bottom:10px}.empty-state p{color:var(--muted)}@media(max-width:780px){.site-header{align-items:center;flex-direction:row;gap:12px}.site-nav{overflow:visible}.site-menu-button{width:fit-content}.site-menu-panel{left:auto;min-width:0;right:0;width:min(92vw,390px)}.fet-demo{grid-template-columns:1fr}.bar-row{grid-template-columns:48px 1fr 46px}.demo-page--stress-tensor{padding-top:18px}.demo-page--stress-tensor header{margin-bottom:14px;padding-bottom:16px}.demo-page--stress-tensor h1{margin-bottom:12px}.demo-page--stress-tensor header p{font-size:1rem;line-height:1.45}}
