/* Turn2Engineering | Amplitude Modulation | PAGE-SPECIFIC CSS
 * Requires the existing Electrical Engineering core.css first.
 * Scoped to the page root. Never changes Astra #primary, #secondary, site shell or ads.
 */
.article-shell.t2e-amx{
 --amx-navy:#081d32;--amx-blue:#0b608f;--amx-teal:#128b92;--amx-gold:#efb65c;
 --amx-ink:#213b52;--amx-muted:#5a7387;--amx-border:#d9e6f0;--amx-pale:#f2f9fc;
 --amx-shadow:0 5px 20px rgba(18,48,74,.055);
 width:100%;max-width:100%;min-width:0;margin:0 auto 30px;padding:0 0 20px!important;position:relative;
 container-type:inline-size;overflow:visible;line-height:1.7;font-size:16px;color:var(--amx-ink);background:transparent;
}
.article-shell.t2e-amx,.article-shell.t2e-amx *,.article-shell.t2e-amx *::before,.article-shell.t2e-amx *::after{box-sizing:border-box}
.article-shell.t2e-amx [hidden]{display:none!important}
.article-shell.t2e-amx :where(div,section,article,header,main,figure,nav,svg,table,details){min-width:0}
.article-shell.t2e-amx :where(p,li,figcaption,td,th){overflow-wrap:break-word}
.article-shell.t2e-amx :where(a,button,input,summary):focus-visible{outline:3px solid #f2ae44;outline-offset:3px}
.article-shell.t2e-amx a{color:#0b688d;text-underline-offset:.17em}
.article-shell.t2e-amx a:hover{color:#08436a}
.article-shell.t2e-amx :where(h1,h2,h3){color:#0b2942;line-height:1.2;letter-spacing:-.02em;margin:0;overflow-wrap:break-word}
.article-shell.t2e-amx :where(p){margin:0 0 13px;color:var(--amx-ink)}
.article-shell.t2e-amx .article-layout{display:block!important;grid-template-columns:none!important;gap:0!important}
.article-shell.t2e-amx .article-main{display:block!important;width:100%;max-width:100%!important;margin:0!important;order:1!important}
.article-shell.t2e-amx .article-sidebar{display:none!important}
.article-shell.t2e-amx .core-content{width:100%;max-width:none!important;margin:0!important;padding:0!important}
.article-shell.t2e-amx .amx-skip{position:absolute;z-index:1000;left:-9999px;top:0;padding:10px 15px;background:#fff;color:#173c5d;border:2px solid #14688b;border-radius:8px;text-decoration:none;font-weight:800}
.article-shell.t2e-amx .amx-skip:focus{left:10px}
.article-shell.t2e-amx .amx-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;border-bottom:1px solid #dae8ef;padding:12px 2px;font-size:.76rem;color:#667f8c}
.article-shell.t2e-amx .amx-breadcrumb a{text-decoration:none;color:#43677f;font-weight:760}
.article-shell.t2e-amx .amx-breadcrumb a:hover{text-decoration:underline}
.article-shell.t2e-amx .amx-breadcrumb [aria-current=page]{color:#204968;font-weight:850}
/* Hero */
.article-shell.t2e-amx .amx-hero{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);align-items:center;gap:clamp(20px,3.4cqw,39px);padding:clamp(20px,3.8cqw,40px);background:linear-gradient(117deg,#071c33 4%,#103b57 68%,#0b5060 100%);border-radius:16px;margin:14px 0 0;position:relative;isolation:isolate;overflow:hidden}
.article-shell.t2e-amx .amx-hero::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.19;background-image:linear-gradient(transparent 97%,#a9dfec 99%,transparent 100%),linear-gradient(90deg,transparent 97%,#a9dfec 99%,transparent 100%);background-size:42px 42px;mask-image:linear-gradient(90deg,transparent,#000)}
.article-shell.t2e-amx .amx-hero *{min-width:0}
.article-shell.t2e-amx .amx-hero h1{font-size:clamp(1.95rem,4cqw,3.38rem);font-weight:875;letter-spacing:-.047em;line-height:1.075;color:#fff!important;margin:0 0 17px}
.article-shell.t2e-amx .amx-hero h1 span{display:block;color:#c9e8f6!important;font-size:clamp(1.05rem,1.86cqw,1.44rem);font-weight:700;line-height:1.35;margin-top:12px;letter-spacing:-.01em}
.article-shell.t2e-amx .amx-lede{font-size:clamp(.94rem,1.43cqw,1.12rem);line-height:1.66;color:#e4f1f8!important;max-width:62ch;margin:0 0 21px!important}
.article-shell.t2e-amx .amx-lede strong{color:#fff}
.article-shell.t2e-amx .amx-hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 14px}
.article-shell.t2e-amx .amx-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:11px 14px;min-height:43px;border-radius:9px;text-decoration:none!important;font-size:.8rem;font-weight:900;line-height:1.35;text-align:center}
.article-shell.t2e-amx .amx-btn--primary{background:#ffd28f;color:#16334d!important;border:1px solid #ffd28f}
.article-shell.t2e-amx .amx-btn--primary:hover{background:#ffe2b1;color:#16334d!important}
.article-shell.t2e-amx .amx-btn--ghost{color:#e8f7fb!important;border:1px solid #97c3d3;background:#ffffff12}
.article-shell.t2e-amx .amx-btn--ghost:hover{background:#ffffff28;color:#fff!important}
.article-shell.t2e-amx .amx-hero-visual{margin:0;padding:13px;background:#0c2942;border:1px solid #527e97a8;border-radius:13px;box-shadow:0 17px 26px #00000020}
.article-shell.t2e-amx .amx-terminal-head{display:flex;gap:8px;flex-wrap:wrap;align-items:center;color:#d5edf9;font-weight:850;letter-spacing:.055em;font-size:.67rem;line-height:1.4}
.article-shell.t2e-amx .amx-terminal-head>span:last-child{margin-left:auto;color:#ffda95;font-size:.64rem}
.article-shell.t2e-amx .amx-hero-visual svg{display:block;width:100%;height:auto;margin:7px auto}
.article-shell.t2e-amx .amx-visual-legend{display:flex;gap:11px 16px;flex-wrap:wrap;font-size:.66rem;color:#d4e6f1;font-weight:750}
.article-shell.t2e-amx .amx-visual-legend>span{display:flex;align-items:center;gap:6px}
.article-shell.t2e-amx .amx-line{display:inline-block;width:13px;border-top:3px solid #8ad7fb}
.article-shell.t2e-amx .amx-line--teal{border-color:#64e1d7}.article-shell.t2e-amx .amx-line--gold{border-color:#ffd18a;border-top-style:dashed}
.article-shell.t2e-amx .amx-hero-visual figcaption{color:#bbd6e5!important;font-size:.72rem;line-height:1.55;margin-top:10px}
/* Navigation and sections */
.article-shell.t2e-amx .amx-jump{display:flex;gap:2px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;padding:8px 7px;background:#fff;border:1px solid #d9e7ef;border-radius:0 0 11px 11px;position:sticky;top:0;z-index:22;box-shadow:0 7px 18px #122e470e}
.admin-bar .article-shell.t2e-amx .amx-jump{top:32px}
.article-shell.t2e-amx .amx-jump a{display:inline-flex;align-items:center;white-space:nowrap;padding:7px 10px;min-height:34px;border-radius:7px;color:#244b65;text-decoration:none;font-size:.76rem;font-weight:850;flex:0 0 auto}
.article-shell.t2e-amx .amx-jump a:hover{background:#eaf7fa}
.article-shell.t2e-amx .amx-section{scroll-margin-top:105px;margin-top:17px;padding:clamp(17px,3.1cqw,29px);border-radius:13px;border:1px solid var(--amx-border);background:#fff;box-shadow:var(--amx-shadow)}
.article-shell.t2e-amx .amx-intro{background:linear-gradient(154deg,#eff9fe,#fff 68%);margin-top:20px}
.article-shell.t2e-amx .amx-sectionhead{margin-bottom:17px}
.article-shell.t2e-amx .amx-section h2,.article-shell.t2e-amx .amx-related h2{font-size:clamp(1.48rem,2.75cqw,2.12rem);font-weight:870;letter-spacing:-.033em;line-height:1.24;margin:0 0 10px}
.article-shell.t2e-amx .amx-section h3{font-size:clamp(1.04rem,1.8cqw,1.22rem);font-weight:850;line-height:1.34;margin:0 0 8px}
.article-shell.t2e-amx .amx-sectionhead>p{font-size:.95rem;color:#475e71!important;line-height:1.73;margin:0}
.article-shell.t2e-amx .amx-section>p{line-height:1.75;font-size:.95rem}
.article-shell.t2e-amx .amx-answer{border-left:4px solid #0a90a3;background:#fff;border-radius:9px;padding:15px 17px;font-size:1.01rem!important;line-height:1.72;color:#223e54!important}
.article-shell.t2e-amx .amx-toc{margin:15px 0 0}
.article-shell.t2e-amx .amx-toc details{background:#fff;border:1px solid #d3e4ef;border-radius:9px}
.article-shell.t2e-amx .amx-toc summary{cursor:pointer;padding:11px 15px;color:#1d4865;font-size:.86rem;font-weight:850}
.article-shell.t2e-amx .amx-toc nav{padding:0 12px 12px}
.article-shell.t2e-amx .amx-toc ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 12px;margin:0;padding:5px 4px 5px 18px;font-size:.78rem}
.article-shell.t2e-amx .amx-toc li{margin:0;padding:1px 0 1px 3px}
.article-shell.t2e-amx .amx-toc a{color:#256380;font-weight:700}
.article-shell.t2e-amx .amx-note,.article-shell.t2e-amx .amx-warning{padding:13px 15px;background:#edf8fc;border-radius:9px;border-left:4px solid #158da1;font-size:.85rem;line-height:1.68;color:#3e5e71;margin:16px 0 0}
.article-shell.t2e-amx .amx-warning{background:#fff7ec;border-left-color:#d19843;color:#624e32}
/* signal chain */
/* static waveform teaching */
.article-shell.t2e-amx .amx-three-wave{display:grid;gap:10px}
.article-shell.t2e-amx .amx-three-wave figure{margin:0;padding:13px 15px 11px;border:1px solid #d7e6ee;border-radius:10px;background:#fbfdff}
.article-shell.t2e-amx .amx-mini-head{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;justify-content:space-between}
.article-shell.t2e-amx .amx-mini-head strong{font-size:.89rem;color:#1a405e}
.article-shell.t2e-amx .amx-mini-head span{font-size:.74rem;color:#627d8f}
.article-shell.t2e-amx .amx-three-wave svg{display:block;width:100%;height:auto;max-height:154px;margin:7px 0}
.article-shell.t2e-amx .amx-three-wave figcaption,.article-shell.t2e-amx .amx-spectrum-figure figcaption{font-size:.76rem;color:#527083;line-height:1.57}
/* Equations */
.article-shell.t2e-amx .amx-eq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.article-shell.t2e-amx .amx-eq{padding:14px;background:#f8fbfe;border:1px solid #d9e7f0;border-radius:10px}
.article-shell.t2e-amx .amx-eq>span{display:block;font-size:.67rem;letter-spacing:.07em;font-weight:900;color:#0c849e;text-transform:uppercase;margin-bottom:10px}
.article-shell.t2e-amx .amx-formula{background:#eaf4fd;border:1px solid #d0e3f0;border-radius:8px;padding:15px 12px;text-align:center;font-size:clamp(.88rem,1.3cqw,1.14rem);font-weight:790;line-height:1.8;color:#0f4f76;overflow-wrap:anywhere}
.article-shell.t2e-amx .amx-eq p{font-size:.78rem;line-height:1.6;color:#566e81;margin:10px 0 0}
.article-shell.t2e-amx .amx-formula :where(var){font-weight:750}
/* states */
.article-shell.t2e-amx .amx-state-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.article-shell.t2e-amx .amx-state-grid article{border:1px solid #d9e8ef;border-radius:10px;background:#fafcff;padding:12px}
.article-shell.t2e-amx .amx-state-svg{padding:5px;background:#edf5fb;border-radius:8px;margin-bottom:11px}
.article-shell.t2e-amx .amx-state-svg svg{width:100%;display:block;height:auto}
.article-shell.t2e-amx .amx-state-grid strong{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:.86rem;color:#24495e}
.article-shell.t2e-amx .amx-state-grid strong span{font-size:.69rem;color:#0b8194;background:#e0f5f7;border-radius:5px;padding:3px 6px;white-space:nowrap}
.article-shell.t2e-amx .amx-state-grid p{font-size:.77rem;line-height:1.6;margin:8px 0 0;color:#556e82}
.article-shell.t2e-amx .amx-index-equation{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:17px;align-items:center;margin-top:17px;padding:17px;border:1px solid #d7e6ef;background:#f8fcff;border-radius:10px}
.article-shell.t2e-amx .amx-index-equation strong{display:block;color:#1d4663;font-size:1rem;margin-bottom:7px}
.article-shell.t2e-amx .amx-index-equation p{font-size:.87rem;line-height:1.65}
.article-shell.t2e-amx .amx-index-equation .amx-formula{font-size:.93rem;text-align:left;margin:11px 0}
.article-shell.t2e-amx .amx-index-art svg{display:block;width:100%;height:auto}
/* Spectrum */
.article-shell.t2e-amx .amx-spectrum-figure{margin:0 0 17px;background:#f9fcff;border:1px solid #d8e7f0;border-radius:12px;padding:12px}
.article-shell.t2e-amx .amx-spectrum-figure svg{display:block;width:min(100%,740px);height:auto;margin:0 auto 7px}
.article-shell.t2e-amx .amx-spectrum-math{background:#f4f9fc;border-radius:10px;border:1px solid #d6e6f0;padding:14px 17px}
.article-shell.t2e-amx .amx-spectrum-math p{margin:7px 0;line-height:1.65;font-size:.87rem;color:#254b66}
/* Power */
.article-shell.t2e-amx .amx-power-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:16px;align-items:start}
.article-shell.t2e-amx .amx-power-viz{background:#f8fbfd;border:1px solid #dce7ef;border-radius:11px;padding:16px}
.article-shell.t2e-amx .amx-power-head,.article-shell.t2e-amx .amx-lab-power-head{display:flex;gap:8px;justify-content:space-between;align-items:center;flex-wrap:wrap;font-size:.84rem;color:#20435e;margin-bottom:11px}
.article-shell.t2e-amx .amx-power-head span,.article-shell.t2e-amx .amx-lab-power-head span{font-size:.72rem;color:#55768c}
.article-shell.t2e-amx .amx-power-strip,.article-shell.t2e-amx .amx-stacked{display:flex;overflow:hidden;width:100%;height:28px;border-radius:7px;background:#c1dae8}
.article-shell.t2e-amx .amx-power-strip>div,.article-shell.t2e-amx .amx-stacked>div{min-width:0;height:100%;transition:width .25s ease}
.article-shell.t2e-amx .amx-power-legend,.article-shell.t2e-amx .amx-stack-legend{display:flex;gap:7px 16px;flex-wrap:wrap;margin:12px 0;font-size:.75rem;color:#48687c}
.article-shell.t2e-amx .amx-power-legend>span,.article-shell.t2e-amx .amx-stack-legend>span{display:flex;gap:6px;align-items:center}
.article-shell.t2e-amx .amx-power-legend i,.article-shell.t2e-amx .amx-stack-legend i{display:inline-block;width:9px;height:9px;border-radius:3px;flex:0 0 auto}
.article-shell.t2e-amx .amx-power-viz p,.article-shell.t2e-amx .amx-power-layout>div:last-child p{font-size:.86rem;line-height:1.68}
/* Interactive lab */
.article-shell.t2e-amx .amx-section--lab{background:#eff7fc}
.article-shell.t2e-amx .amx-lab-disclaimer{padding:13px 15px;background:#fff;border-left:4px solid #168ca3;border-radius:9px;font-size:.79rem;line-height:1.67;color:#4e6a7d;border:1px solid #d1e4ef;border-left-width:4px;margin-bottom:13px}
.article-shell.t2e-amx .amx-lab{display:grid;grid-template-columns:minmax(220px,.73fr) minmax(0,1.27fr);gap:12px;align-items:start}
.article-shell.t2e-amx .amx-lab-controls,.article-shell.t2e-amx .amx-lab-results{min-width:0}
.article-shell.t2e-amx .amx-lab-controls{background:#fff;border:1px solid #cbdde8;border-radius:11px;padding:17px;box-shadow:var(--amx-shadow)}
.article-shell.t2e-amx .amx-control-heading{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:14px;padding-bottom:11px;border-bottom:1px solid #e4eef4}
.article-shell.t2e-amx .amx-control-heading strong{font-size:.95rem;color:#1f4760}
.article-shell.t2e-amx .amx-control-heading>span{color:#21806e;font-size:.64rem;font-weight:850;display:flex;align-items:center;gap:6px}
.article-shell.t2e-amx .amx-control-heading i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#28b690}
.article-shell.t2e-amx .amx-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0 0 14px;font-size:.83rem;font-weight:820;color:#204c67;line-height:1.45}
.article-shell.t2e-amx .amx-field>span{display:flex;gap:5px;flex-wrap:wrap;justify-content:space-between;align-items:baseline}
.article-shell.t2e-amx .amx-field b,.article-shell.t2e-amx .amx-field output{color:#0b8194;font-weight:900}
.article-shell.t2e-amx .amx-field :where(input[type=number]){display:block;width:100%;min-width:0;min-height:41px;padding:8px 10px;border-radius:7px;border:1px solid #9fbfce;color:#1e4157;font-size:.89rem;font-family:inherit;background:#fff}
.article-shell.t2e-amx .amx-field input[type=range]{min-height:32px;width:100%;accent-color:#0a829d;cursor:pointer}
.article-shell.t2e-amx .amx-field small{font-size:.72rem;color:#687f90;font-weight:500;line-height:1.52}
.article-shell.t2e-amx .amx-preset-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:-3px 0 17px}
.article-shell.t2e-amx .amx-preset-row button{min-height:35px;background:#edf7fa;border:1px solid #c8dfe9;color:#205f79;padding:6px;border-radius:7px;font-size:.72rem;line-height:1.3;font-weight:860;cursor:pointer}
.article-shell.t2e-amx .amx-preset-row button[aria-pressed=true]{background:#cdeeee;border-color:#5cabb7;color:#14536a}
.article-shell.t2e-amx .amx-preset-row button:hover{background:#def2f8}
.article-shell.t2e-amx .amx-control-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.article-shell.t2e-amx .amx-button{min-height:43px;padding:9px 11px;border:1px solid #adcbd8;border-radius:8px;background:#fff;color:#225272;font-family:inherit;font-weight:860;font-size:.77rem;line-height:1.35;cursor:pointer}
.article-shell.t2e-amx .amx-button:hover{background:#e8f5fa}
.article-shell.t2e-amx .amx-button--primary{background:#09658d;color:#fff;border-color:#09658d}
.article-shell.t2e-amx .amx-button--primary:hover{background:#094d71;color:#fff}
.article-shell.t2e-amx .amx-controls-status,.article-shell.t2e-amx .amx-measure-status{font-size:.75rem;color:#526d80;background:#f5f9fc;border:1px solid #dce9f1;padding:9px 11px;line-height:1.52;border-radius:8px;margin:12px 0 0}
.article-shell.t2e-amx .amx-controls-status.amx-alert,.article-shell.t2e-amx .amx-measure-status.amx-alert{background:#fff3e6;border-color:#e6c18d;color:#85541e}
.article-shell.t2e-amx .amx-readouts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}
.article-shell.t2e-amx .amx-readouts>div{background:#fff;border:1px solid #cee0ec;border-radius:9px;padding:10px 8px;text-align:center}
.article-shell.t2e-amx .amx-readouts span{display:block;font-size:.68rem;font-weight:790;line-height:1.43;color:#648094;min-height:28px}
.article-shell.t2e-amx .amx-readouts strong{display:block;font-size:clamp(.89rem,1.55cqw,1.19rem);line-height:1.3;color:#124b73;margin-top:4px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.article-shell.t2e-amx .amx-chart{padding:11px;margin:0 0 11px;background:#fff;border:1px solid #ccdfe9;border-radius:11px}
.article-shell.t2e-amx .amx-chart-head{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;flex-wrap:wrap;margin:0 0 9px}
.article-shell.t2e-amx .amx-chart-head strong{font-size:.88rem;color:#1f4b64}
.article-shell.t2e-amx .amx-chart-head span{font-size:.68rem;color:#58758a}
.article-shell.t2e-amx .amx-chart figcaption{font-size:.71rem;line-height:1.57;color:#5a7489;margin:8px 2px 0}
.article-shell.t2e-amx .amx-lab-power{padding:13px;background:#fff;border:1px solid #cfdfeb;border-radius:10px}
.article-shell.t2e-amx .amx-stacked{height:22px}
.article-shell.t2e-amx .amx-stack-pc{background:#0c5382}.article-shell.t2e-amx .amx-stack-lsb{background:#18a4a4}.article-shell.t2e-amx .amx-stack-usb{background:#e5a13b}
.article-shell.t2e-amx .amx-color-pc{background:#0c5382}.article-shell.t2e-amx .amx-color-lsb{background:#18a4a4}.article-shell.t2e-amx .amx-color-usb{background:#e5a13b}
.article-shell.t2e-amx .amx-stack-legend{margin-bottom:0}
.article-shell.t2e-amx .amx-stack-legend strong{font-size:.72rem;color:#2b5570}
.article-shell.t2e-amx .amx-lab-comment{font-size:.79rem;line-height:1.69;padding:12px 14px;margin-top:10px;color:#356477;background:#fff;border:1px solid #cddfe9;border-left:4px solid #118ca5;border-radius:9px}
.article-shell.t2e-amx .amx-lab-comment.amx-alert{background:#fff5eb;color:#76512f;border-left-color:#db9542}
.article-shell.t2e-amx .amx-noscript{margin-top:12px;padding:13px;border-left:4px solid #dba154;background:#fff6e9;color:#74532c;font-size:.83rem}
/* Measurement tool */
.article-shell.t2e-amx .amx-measure-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:13px;align-items:stretch}
.article-shell.t2e-amx .amx-measure-controls{background:#fafcff;border:1px solid #d8e6ee;border-radius:10px;padding:16px}
.article-shell.t2e-amx .amx-measure-controls .amx-button{width:100%}
.article-shell.t2e-amx .amx-measure-result{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:linear-gradient(145deg,#092944,#0d5870);border-radius:11px;color:#fff;padding:20px}
.article-shell.t2e-amx .amx-measure-result>span{font-size:.75rem;color:#d5edf9;font-weight:800;line-height:1.5}
.article-shell.t2e-amx .amx-measure-result>strong{font-size:clamp(2.2rem,5cqw,3.7rem);color:#fff;line-height:1.1;margin:10px 0 5px;font-variant-numeric:tabular-nums}
.article-shell.t2e-amx .amx-measure-percent{font-size:1.42rem;font-weight:850;color:#ffce86}
.article-shell.t2e-amx .amx-measure-result p{font-size:.8rem;color:#e5f4fb!important;line-height:1.65;margin:12px 0 0}
/* Examples and technical comparison */
.article-shell.t2e-amx .amx-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.article-shell.t2e-amx .amx-example{padding:17px;border:1px solid #d8e7ef;border-radius:10px;background:#f9fcfe}
.article-shell.t2e-amx .amx-example>span{display:block;color:#0e8296;font-size:.67rem;letter-spacing:.09em;font-weight:900;margin:0 0 11px}
.article-shell.t2e-amx .amx-example h3{margin:0 0 9px;font-size:1.11rem}
.article-shell.t2e-amx .amx-example p,.article-shell.t2e-amx .amx-example li{font-size:.83rem;line-height:1.65}
.article-shell.t2e-amx .amx-example ol{padding-left:22px;margin:10px 0}
.article-shell.t2e-amx .amx-example li{margin:0 0 7px}
.article-shell.t2e-amx .amx-example .amx-example-bottom{margin:11px 0 0;padding-top:10px;border-top:1px solid #dce7ee;color:#5e7584;font-size:.76rem}
.article-shell.t2e-amx .amx-table-wrap{width:100%;max-width:100%;overflow-x:auto;border:1px solid #d8e7ef;border-radius:10px;overscroll-behavior-x:contain;scrollbar-width:thin}
.article-shell.t2e-amx .amx-table{width:100%;min-width:610px;border-collapse:collapse;font-size:.81rem;line-height:1.6;margin:0;background:#fff}
.article-shell.t2e-amx .amx-table :where(td,th){padding:12px;border-bottom:1px solid #e3ecf2;text-align:left;vertical-align:top;overflow-wrap:break-word}
.article-shell.t2e-amx .amx-table thead th{background:#113e5b;color:#fff;font-size:.78rem;font-weight:850}
.article-shell.t2e-amx .amx-table tbody th{font-weight:820;background:#f5f9fc;color:#234c63}
.article-shell.t2e-amx .amx-table tbody tr:nth-child(even) td{background:#fafdff}
.article-shell.t2e-amx .amx-table tbody tr:last-child :where(th,td){border-bottom:0}
.article-shell.t2e-amx .amx-receiver-row{display:grid;grid-template-columns:minmax(0,1fr) 15px minmax(0,1fr) 15px minmax(0,1fr) 15px minmax(0,1fr);gap:5px;align-items:stretch;margin-bottom:16px}
.article-shell.t2e-amx .amx-receiver-row>div{padding:12px 10px;background:#f6fbfd;border:1px solid #d7e8f0;border-radius:9px}
.article-shell.t2e-amx .amx-receiver-row>span{display:grid;place-items:center;color:#17859e;font-size:1.2rem;font-weight:900}
.article-shell.t2e-amx .amx-receiver-row div span{display:block;font-size:.68rem;color:#0f879c;font-weight:900}
.article-shell.t2e-amx .amx-receiver-row div strong{display:block;font-size:.79rem;color:#244961;line-height:1.4;margin:7px 0}
.article-shell.t2e-amx .amx-receiver-row small{font-size:.70rem;color:#617b8b;line-height:1.5;display:block}
.article-shell.t2e-amx .amx-demod-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.article-shell.t2e-amx .amx-demod-grid>div{background:#f8fbfd;border:1px solid #d8e7f0;border-radius:10px;padding:17px}
.article-shell.t2e-amx .amx-demod-grid h3{font-size:1.05rem}
.article-shell.t2e-amx .amx-demod-grid p{font-size:.85rem;line-height:1.7}
.article-shell.t2e-amx .amx-formula--inset{font-size:.98rem;margin:13px 0}
.article-shell.t2e-amx .amx-app-grid,.article-shell.t2e-amx .amx-issue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.article-shell.t2e-amx .amx-app-grid article,.article-shell.t2e-amx .amx-issue-grid article{padding:16px;background:#f9fcfe;border:1px solid #d8e7ee;border-radius:10px}
.article-shell.t2e-amx .amx-app-grid span{display:block;font-size:.67rem;font-weight:900;letter-spacing:.08em;color:#1186a0;margin-bottom:8px}
.article-shell.t2e-amx .amx-app-grid h3{font-size:1.04rem}
.article-shell.t2e-amx .amx-app-grid p,.article-shell.t2e-amx .amx-issue-grid p{font-size:.82rem;line-height:1.65;margin:0;color:#506b7d}
.article-shell.t2e-amx .amx-issue-grid strong{display:block;font-size:.89rem;color:#1c465d;line-height:1.45;margin-bottom:8px}
.article-shell.t2e-amx .amx-design-list{margin-top:17px;padding:16px;background:#f1f8fc;border-left:4px solid #168ca0;border-radius:9px}
.article-shell.t2e-amx .amx-design-list strong{font-size:.94rem;color:#164968}
.article-shell.t2e-amx .amx-design-list ol{margin:9px 0 0;padding-left:21px}
.article-shell.t2e-amx .amx-design-list li{font-size:.84rem;line-height:1.65;margin:0 0 7px}
.article-shell.t2e-amx .amx-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.article-shell.t2e-amx .amx-source-grid a{display:flex;flex-direction:column;gap:7px;padding:15px;background:#f7fbfe;border:1px solid #d7e5ed;border-radius:9px;text-decoration:none}
.article-shell.t2e-amx .amx-source-grid a:hover{background:#eef8fc;border-color:#7bc0d2}
.article-shell.t2e-amx .amx-source-grid strong{font-size:.88rem;line-height:1.4;color:#164f6c}
.article-shell.t2e-amx .amx-source-grid span{font-size:.77rem;line-height:1.6;color:#5a7687}
.article-shell.t2e-amx .amx-faq{display:grid;gap:9px}
.article-shell.t2e-amx .amx-faq details{padding:0 14px;background:#f9fcff;border:1px solid #dae8f1;border-radius:9px}
.article-shell.t2e-amx .amx-faq details[open]{border-color:#90c3d5;background:#fff}
.article-shell.t2e-amx .amx-faq summary{padding:15px 4px;color:#1e4763;font-size:.88rem;line-height:1.45;font-weight:830;cursor:pointer}
.article-shell.t2e-amx .amx-faq details>div{padding:0 4px 13px}
.article-shell.t2e-amx .amx-faq details p{font-size:.83rem;line-height:1.72;color:#4d6576;margin:0}
.article-shell.t2e-amx .amx-related{padding:22px;border-radius:13px;margin-top:17px;background:linear-gradient(125deg,#0b2944,#0b5064);color:#fff}
.article-shell.t2e-amx .amx-related h2{color:#fff!important;margin:0 0 18px}
.article-shell.t2e-amx .amx-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.article-shell.t2e-amx .amx-related-grid a{display:flex;flex-direction:column;gap:7px;color:#fff!important;background:#ffffff11;border:1px solid #95cad055;border-radius:9px;padding:14px;text-decoration:none}
.article-shell.t2e-amx .amx-related-grid a:hover{background:#ffffff22}
.article-shell.t2e-amx .amx-related-grid strong{font-size:.86rem;color:#fff}
.article-shell.t2e-amx .amx-related-grid span{font-size:.76rem;line-height:1.55;color:#d7ecf4}
.article-shell.t2e-amx .amx-last{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin:17px 0;font-size:.78rem}
.article-shell.t2e-amx .amx-last a{font-weight:850;text-decoration:none}
.article-shell.t2e-amx .amx-last span{color:#678294}
/* Progressive enhancement: don't offer controls that do nothing without JS */
/* Container breakpoints respond to the actual Astra content column, not window size. */
@container (max-width:980px){
 .article-shell.t2e-amx .amx-hero{grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-hero-visual{max-width:660px;width:100%}
 .article-shell.t2e-amx .amx-lab{grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-readouts strong{font-size:1.08rem}
}
@container (max-width:700px){
 .article-shell.t2e-amx .amx-jump{position:static;top:auto}
 .article-shell.t2e-amx .amx-hero{padding:21px 17px;gap:20px}
 .article-shell.t2e-amx .amx-hero h1{font-size:clamp(1.86rem,6.7cqw,2.48rem)}
 .article-shell.t2e-amx .amx-hero h1 span{font-size:1.05rem}
 .article-shell.t2e-amx .amx-section{padding:18px 14px}
 .article-shell.t2e-amx .amx-section h2{font-size:clamp(1.42rem,4.2cqw,1.79rem)}
 .article-shell.t2e-amx .amx-toc ol{grid-template-columns:repeat(2,minmax(0,1fr))}
 .article-shell.t2e-amx .amx-eq-grid{grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-state-grid{grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-state-svg{max-width:360px}
 .article-shell.t2e-amx .amx-index-equation{grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-power-layout,.article-shell.t2e-amx .amx-measure-grid,.article-shell.t2e-amx .amx-demod-grid{grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-example-grid,.article-shell.t2e-amx .amx-app-grid,.article-shell.t2e-amx .amx-issue-grid,.article-shell.t2e-amx .amx-source-grid,.article-shell.t2e-amx .amx-related-grid{grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-receiver-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .article-shell.t2e-amx .amx-receiver-row>span{display:none}
}
@container (max-width:430px){
 .article-shell.t2e-amx .amx-breadcrumb{font-size:.69rem;gap:4px 7px}
 .article-shell.t2e-amx .amx-hero{padding:19px 14px;border-radius:11px}
 .article-shell.t2e-amx .amx-hero-actions{flex-direction:column}
 .article-shell.t2e-amx .amx-hero-actions a{width:100%}
 .article-shell.t2e-amx .amx-section{padding:16px 12px;border-radius:10px}
 .article-shell.t2e-amx .amx-toc ol{grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-readouts{grid-template-columns:repeat(2,minmax(0,1fr))}
 .article-shell.t2e-amx .amx-lab-controls{padding:13px}
 .article-shell.t2e-amx .amx-control-actions{grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-receiver-row{grid-template-columns:1fr}
}
@media(max-width:782px){.admin-bar .article-shell.t2e-amx .amx-jump{top:46px}}
@media(prefers-reduced-motion:reduce){.article-shell.t2e-amx *{scroll-behavior:auto!important;transition:none!important}}
@media print{
 .article-shell.t2e-amx{max-width:100%!important;width:100%!important;overflow:visible!important;padding:0!important}
 .article-shell.t2e-amx .amx-jump,.article-shell.t2e-amx .amx-skip,.article-shell.t2e-amx .amx-toc,.article-shell.t2e-amx .amx-control-actions,.article-shell.t2e-amx .amx-preset-row{display:none!important}
 .article-shell.t2e-amx .amx-hero{background:#fff!important;color:#000!important;border:1px solid #888;grid-template-columns:1fr}
 .article-shell.t2e-amx .amx-hero :where(h1,p,span){color:#111!important}
 .article-shell.t2e-amx .amx-section,.article-shell.t2e-amx .amx-chart{box-shadow:none!important;break-inside:avoid}
 .article-shell.t2e-amx .amx-related{background:#fff!important;border:1px solid #555}
 .article-shell.t2e-amx .amx-related :where(h2,span,strong,a){color:#000!important}
}

/* Distinct pros/cons comparison for a common AM search query */
.article-shell.t2e-amx .amx-pro-con{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.article-shell.t2e-amx .amx-pro-con article{background:#f5fbfd;border:1px solid #d3e5ed;border-radius:10px;padding:16px}
.article-shell.t2e-amx .amx-pro-con article:last-child{background:#fffaf3;border-color:#ecddc5}
.article-shell.t2e-amx .amx-pro-con h3{font-size:1.09rem;margin:0 0 11px;color:#19536a}
.article-shell.t2e-amx .amx-pro-con article:last-child h3{color:#76582e}
.article-shell.t2e-amx .amx-pro-con ul{margin:0;padding-left:19px}
.article-shell.t2e-amx .amx-pro-con li{font-size:.82rem;line-height:1.65;margin:0 0 8px;color:#4b687a}
@container(max-width:700px){.article-shell.t2e-amx .amx-pro-con{grid-template-columns:1fr}}

/* Article masthead and a single expandable contents list. */
.article-shell.t2e-amx .amx-breadcrumb {
  margin:0; padding:8px 15px; gap:2px 7px; line-height:1.55;
  background:#f4f9fc; border:1px solid #d7e5ee; border-bottom:0; border-radius:12px 12px 0 0;
}
.article-shell.t2e-amx .amx-hero {
  grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr); gap:clamp(14px,2.6cqw,26px);
  margin:0; padding:clamp(17px,2.8cqw,30px); border-radius:0 0 12px 12px;
}
.article-shell.t2e-amx .amx-hero h1 {font-size:clamp(1.8rem,4.4cqw,2.8rem);margin-bottom:9px}
.article-shell.t2e-amx .amx-lede {font-size:1rem;line-height:1.55;margin:0 0 14px!important}
.article-shell.t2e-amx .amx-hero-actions {margin:0;flex-direction:row;gap:8px}
.article-shell.t2e-amx .amx-hero-actions a {width:auto;min-height:38px;padding:8px 12px}
.article-shell.t2e-amx .amx-hero-visual {padding:8px;max-width:350px;justify-self:end}
.article-shell.t2e-amx .amx-hero-visual figcaption {margin:6px 0 0}
.article-shell.t2e-amx .amx-toc {display:block;margin:10px 0 0}
.article-shell.t2e-amx .amx-toc nav {margin:0}
.article-shell.t2e-amx .amx-case {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:14px 0;border:1px solid #cddfeb;border-radius:9px;background:#fff}
.article-shell.t2e-amx .amx-case div {padding:10px clamp(5px,2cqw,16px)}
.article-shell.t2e-amx .amx-case div + div {border-left:1px solid #d6e3e9}
.article-shell.t2e-amx .amx-case span,.article-shell.t2e-amx .amx-case strong {display:block;line-height:1.45}
.article-shell.t2e-amx .amx-case span {color:#466579;font-size:.77rem}
.article-shell.t2e-amx .amx-case strong {color:#104862;font-size:clamp(.91rem,2.2cqw,1.32rem);font-variant-numeric:tabular-nums}
.article-shell.t2e-amx .amx-section>p:last-child {margin-bottom:0}
.article-shell.t2e-amx .amx-eq .equation-block {margin:0;padding-left:8px;padding-right:8px}
.article-shell.t2e-amx .amx-eq .math-fallback {min-width:0;white-space:normal;font-size:clamp(.99rem,1.8cqw,1.22rem)}
.article-shell.t2e-amx .amx-window {display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:#31546d;font-size:.76rem;font-weight:650}
.article-shell.t2e-amx .amx-window select {font:inherit;color:#183e58;background:#fff;border:1px solid #9cbac9;border-radius:6px;padding:6px;max-width:100%}
.article-shell.t2e-amx .amx-window select:focus-visible {outline:3px solid #cb891b;outline-offset:2px}
.article-shell.t2e-amx:not([data-amx-ready=true]) .amx-window {display:none}
.article-shell.t2e-amx .amx-pane {padding-top:6px}
.article-shell.t2e-amx .amx-pane>div,.article-shell.t2e-amx .amx-time-axis {display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:2px 8px;font-size:.75rem;line-height:1.4;color:#466275}
.article-shell.t2e-amx .amx-pane>div strong {color:#1f4056}
.article-shell.t2e-amx .amx-pane svg {display:block;width:100%;height:clamp(54px,8cqw,88px);margin:5px 0 3px;background-color:#f4f9fc;background-image:linear-gradient(to right,#dce9f0 1px,transparent 1px),linear-gradient(to bottom,#dce9f0 1px,transparent 1px);background-size:10% 25%;border:1px solid #dce9f0;border-radius:4px}
.article-shell.t2e-amx .amx-time-axis {font-variant-numeric:tabular-nums}
.article-shell.t2e-amx .amx-lines {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;text-align:center;margin:12px 0;background:#f4f9fc;border:1px solid #dde9ef;border-radius:7px;padding:8px 0}
.article-shell.t2e-amx .amx-lines>div {min-width:0}
.article-shell.t2e-amx .amx-lines :where(strong,small,.amx-line-value) {display:block;line-height:1.4;color:#264b62;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.article-shell.t2e-amx .amx-lines strong {font-size:.82rem}
.article-shell.t2e-amx .amx-lines small,.article-shell.t2e-amx .amx-line-value {font-size:.73rem}
.article-shell.t2e-amx .amx-stick {height:72px;position:relative;border-bottom:1px solid #7294a9;margin:5px 0 6px}
.article-shell.t2e-amx .amx-stick i {position:absolute;bottom:0;left:calc(50% - 2px);width:4px;background:#127c7e}
.article-shell.t2e-amx #amx-stick-carrier {background:#125782}
.article-shell.t2e-amx #amx-stick-usb {background:#ab6e18}
.article-shell.t2e-amx input[aria-invalid=true] {border-color:#a13b2a;box-shadow:0 0 0 1px #a13b2a}
.article-shell.t2e-amx button:disabled {opacity:.55;cursor:default}
.article-shell.t2e-amx .amx-chain {margin:0;background:#f3f9fc;border:1px solid #d6e5ec;border-radius:9px;padding:14px;text-align:center}
.article-shell.t2e-amx .amx-chain>div {display:grid;justify-items:center;gap:3px;padding:10px;border:1px solid #c7dde7;border-radius:7px;background:#fff}
.article-shell.t2e-amx .amx-chain strong {font-size:.75rem;text-transform:uppercase;letter-spacing:.05em;color:#16677c}
.article-shell.t2e-amx .amx-chain span {font-size:.93rem;font-weight:650;color:#214257}
.article-shell.t2e-amx .amx-chain b {color:#0c7480;line-height:1}
.article-shell.t2e-amx .amx-chain p,.article-shell.t2e-amx .amx-chain figcaption {margin:8px 0;color:#466277;font-size:.83rem}
.article-shell.t2e-amx .amx-chain figcaption {margin-bottom:0}
@container (min-width:740px) {
  .article-shell.t2e-amx[data-amx-ready=true] .amx-lab {grid-template-columns:minmax(200px,.74fr) minmax(0,1.5fr)}
}
@container (max-width:599px) {
  .article-shell.t2e-amx .amx-hero {grid-template-columns:1fr}
  .article-shell.t2e-amx .amx-hero-visual {display:none}
  .article-shell.t2e-amx .amx-breadcrumb {padding:7px 10px;font-size:.72rem}
  .article-shell.t2e-amx .amx-toc ol {grid-template-columns:1fr}
}

/* Keep the default worked diagrams readable when interactive controls are unavailable. */
.article-shell.t2e-amx:not([data-amx-ready=true]) :is(.amx-lab-controls,.amx-measure-controls) {display:none}
.article-shell.t2e-amx:not([data-amx-ready=true]) :is(.amx-lab,.amx-measure-grid) {grid-template-columns:1fr}
