:root{color-scheme:light;--ink:#1d353d;--muted:#53696e;--line:#dce3e1;--green:#226454;--paper:#f7f8f4;--amber:#95621e;--blue:#285d91}

/* Example, purpose, both IRs, then terminology. */
.ir-compare{margin:28px 0 32px;padding:24px;border:1px solid #c8d9d0;border-radius:12px;background:#fff}
.ir-compare>h3{margin:0 0 18px;font-size:22px}
.ir-compare .eyebrow{color:var(--green);margin-bottom:8px}
.ir-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.ir-pair>.code-block{min-width:0;margin:8px 0 18px}
.ir-pair>.code-block:last-child{border-color:#c1d4e6}
.ir-pair>.code-block:last-child .code-heading{color:var(--blue);background:#e9f1fa}
.ir-pair pre{font-size:12px;line-height:1.8;max-width:100%;overflow:auto}
.comparison-why{padding:0 0 8px;font-weight:600}
.comparison-points{margin:6px 0 22px}
.comparison-points>div{display:grid;grid-template-columns:80px minmax(0,1fr);gap:14px;margin:12px 0}
.comparison-points dt{font-weight:700;color:var(--green)}
.comparison-points dd{margin:0}
.comparison-caution,.comparison-assumptions{padding:14px 16px;background:#f5f6f0;border-radius:6px;font-size:14px}
.comparison-assumptions strong{display:block;font-size:12px;color:var(--muted);margin-bottom:5px}
.comparison-downloads{margin-top:18px;font-size:13px}
.comparison-full .ir-pair{margin-top:16px}
.after-comparison{margin-top:38px}
.term-first{font-weight:600;padding-bottom:14px;border-bottom:1px solid var(--line)}
.term-first .mini-label{display:block;margin-bottom:7px;color:var(--muted);font-weight:500}
.term-bridge{padding:16px 18px;margin:20px 0;border-left:3px solid var(--blue);background:#edf3f9;border-radius:0 6px 6px 0}
.term-bridge .mini-label{color:var(--blue)}
.term-bridge p{margin:7px 0 0;font-size:14px}
.hero-example{padding:18px 0;border-bottom:1px solid #d2dcd0}
.hero-example:last-of-type{border-bottom:0}
.hero-example span{display:block;font-size:11px;font-weight:700;color:var(--green);margin-bottom:6px}
.hero-example:last-of-type span{color:var(--blue)}
.hero-example code{font-size:13px;background:transparent;overflow-wrap:anywhere}
@media(max-width:760px){.ir-pair{grid-template-columns:1fr}.ir-compare{padding:17px}.comparison-points>div{grid-template-columns:1fr;gap:4px}.ir-compare>h3{font-size:20px}}
@media print{.ir-compare{padding:12px;background:white}.ir-pair{grid-template-columns:1fr}.comparison-full{break-inside:auto}.term-bridge{background:white;border:1px solid #ccc}}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:36px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.8 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;word-break:keep-all;overflow-wrap:break-word}a{color:var(--green);text-underline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #227b69;outline-offset:4px}button,input,select{font:inherit;color:var(--ink)}button{cursor:pointer}button:hover{background:#e7eee5}button,select,input[type=search]{min-height:44px;border:1px solid #cbd7d0;border-radius:6px;background:white}button{padding:7px 13px;font-size:13px}select{padding:8px 12px;width:100%}input[type=search]{padding:9px 14px;width:100%;min-width:0}input[type=range]{width:100%;accent-color:var(--green);min-height:32px}label{display:block;font-size:13px;font-weight:650;margin-bottom:6px}output{float:right;font-family:ui-monospace,monospace;color:var(--green)}[hidden]{display:none!important}.wrap{width:min(1240px,calc(100% - 80px));margin-inline:auto}.skip-link{position:absolute;top:-60px;left:20px;padding:8px 16px;background:white;z-index:10}.skip-link:focus{top:10px}.reading-progress{position:fixed;top:0;left:0;width:100%;height:3px;z-index:20;background:#e5ebe2}.reading-progress span{display:block;background:var(--green);height:100%;width:0}.site-header{display:flex;align-items:center;justify-content:space-between;padding:24px 0;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:12px;font-size:19px;font-weight:720;letter-spacing:-.4px;text-decoration:none;color:var(--ink)}.brand-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:var(--ink);color:#f4f7ef;font:600 16px ui-monospace,monospace}.site-header nav{display:flex;align-items:center;gap:24px;font-size:13px}.site-header nav a{text-decoration:none}.site-header nav button{background:transparent;border-color:var(--line);font-size:12px}.eyebrow{margin:0 0 15px;font-size:12px;font-weight:650;letter-spacing:1px;color:var(--muted)}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#4c997e;margin-right:7px}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:clamp(38px,4.8vw,62px);line-height:1.2;letter-spacing:-2.5px;font-weight:720}h1 span{color:var(--green)}h2{font-size:29px;line-height:1.5;letter-spacing:-1px}h3{font-size:21px;line-height:1.6;letter-spacing:-.4px;margin:34px 0 12px}p{margin-bottom:18px}.guide-hero{display:grid;grid-template-columns:1fr 420px;gap:65px;align-items:center;padding:70px 0 64px}.hero-copy{font-size:18px;line-height:1.9;color:var(--muted);margin:24px 0}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:22px}.primary-link{display:inline-flex;gap:26px;align-items:center;padding:11px 18px;background:var(--green);border-radius:6px;color:white;text-decoration:none;font-weight:650;font-size:14px}.primary-link:hover{background:#174e40}.quiet-link{font-size:13px}.hero-meta{margin:20px 0 0;color:var(--muted);font-size:12px}.hero-art{padding:24px 26px;border:1px solid #d4dfd1;border-radius:12px;background:#edf1e9}.hero-art-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.hero-art-top strong{background:#fff0d4;color:var(--amber);padding:5px 13px;border:1px solid #e6d6b8;border-radius:5px;font:600 18px ui-monospace,monospace}.hero-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:23px 0}.hero-grid span{display:grid;place-items:center;height:48px;border:1px solid #bfcfc1;border-radius:6px;color:#6a8270;background:#f8faf5;font:14px ui-monospace,monospace}.hero-grid .selected{background:var(--green);color:white;box-shadow:0 0 0 3px #e1eddd,0 0 0 4px var(--green)}.hero-art-footer{border-top:1px solid #d2dcd0;padding-top:17px}.hero-art-footer p{margin:5px 0;font-size:12px;color:var(--muted)}.hero-art-footer b{display:inline-block;min-width:88px;color:var(--green);font-size:12px}.hero-art-footer p:nth-child(2) b{color:var(--amber)}.figure-index{display:block;font-size:10px;letter-spacing:.5px;color:#6a7e72;margin-top:14px}.orientation{display:grid;grid-template-columns:240px 1fr;gap:35px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:35px 0 42px}.orientation h2{font-size:25px;line-height:1.45;margin-bottom:13px}.orientation-title p:not(.eyebrow){font-size:13px;color:var(--muted)}.contents-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:19px 24px}.contents-grid a{display:grid;grid-template-columns:28px 1fr;gap:1px 8px;text-decoration:none;color:var(--ink)}.contents-grid a:hover strong{color:var(--green);text-decoration:underline}.contents-grid span{grid-row:span 2;font:12px/1.9 ui-monospace,monospace;color:var(--green)}.contents-grid strong{font-size:13px;line-height:1.8;font-weight:650}.contents-grid small{font-size:11px;color:var(--muted);line-height:1.6}.reading-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:54px;align-items:start;margin-top:55px}.toc{position:sticky;top:26px;max-height:calc(100vh - 52px);overflow-y:auto;padding-right:8px;font-size:12px}.toc>a{display:grid;grid-template-columns:23px 1fr;gap:6px;padding:7px 9px;text-decoration:none;color:var(--muted);border-left:2px solid transparent;line-height:1.65}.toc>a span{font:11px/1.9 ui-monospace,monospace;color:#839086}.toc a[aria-current]{border-color:var(--green);background:#e9f0e7;color:var(--green)}.toc-extra{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}.toc-extra a{display:flex;justify-content:space-between;gap:5px;text-decoration:none;padding:7px 9px;color:var(--muted);border-left:2px solid transparent}.toc-extra span{font:11px ui-monospace,monospace;color:#7e8f80}.toc-note{font-size:10px;line-height:1.9;color:#7c8b80;margin:23px 0 0 10px}.lesson{padding-bottom:50px;margin-bottom:50px;border-bottom:1px solid var(--line);scroll-margin-top:25px}.lesson-header{margin-bottom:25px}.lesson-header .eyebrow{display:flex;align-items:center;gap:10px}.chapter-number{display:grid;place-items:center;width:31px;height:31px;background:#e6eee3;border:1px solid #d1decd;border-radius:5px;color:var(--green);font:13px ui-monospace,monospace}.lesson-header h2{margin-bottom:11px}.lesson-lead{font-size:16px;line-height:1.85;color:var(--muted);margin-bottom:0}.reading-content{min-width:0;max-width:951px}.reading-content>section p{line-height:1.95}.term-link{font-weight:600;text-decoration-color:#a5c0ae;text-decoration-style:dotted}.term-link:hover{text-decoration-style:solid}code,pre{font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace}p code,td code,li code{font-size:.87em;border:1px solid #e1e9dc;background:#eef2e8;border-radius:4px;padding:2px 4px;word-break:break-word}figure{margin:28px 0 30px;break-inside:avoid}.figure-frame{overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #d8e2d4;border-radius:10px;background:#fbfcf8}.figure-frame img{display:block;width:100%;height:auto;min-width:590px}figcaption{font-size:12px;color:var(--muted);line-height:1.8;margin-top:11px}figcaption span{font:11px ui-monospace,monospace;display:inline-block;color:var(--green);margin-right:8px}.code-block{border:1px solid #d2ddd1;border-radius:9px;background:#f0f4eb;overflow:hidden;margin:22px 0;break-inside:avoid}.code-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 15px;border-bottom:1px solid #d9e2d4;font-size:11px;color:var(--muted);background:#e9efe4}.code-heading a{font-size:10px;white-space:nowrap}pre{overflow-x:auto;margin:0;padding:19px 20px;font-size:13px;line-height:1.85;tab-size:2;word-break:normal;overflow-wrap:normal}.concept-note{padding:20px 24px;background:#edf2ee;border-left:3px solid var(--green);border-radius:0 8px 8px 0;margin:26px 0;break-inside:avoid}.concept-note strong{font-size:14px}.concept-note p{font-size:14px;margin:8px 0 0}.table-scroll{overflow-x:auto;margin:22px 0;overscroll-behavior-x:contain}table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.8;background:white}th{background:#edf2e9;font-size:12px;font-weight:650;text-align:left}td,th{padding:13px 15px;border:1px solid #dce5d6;vertical-align:top}td:first-child{font-weight:550}td code{white-space:normal}.reading-steps{padding-left:29px}.reading-steps li{padding:6px 0 7px 7px}.reading-steps li::marker{color:var(--green);font:650 14px ui-monospace,monospace}.section-sources{font-size:11px;color:var(--muted);margin:25px 0 0}.section-sources a{text-decoration:none}.back-to-contents{display:inline-block;font-size:11px;margin-top:22px;color:#6b806f}.deep{border:1px solid #d9e3d4;border-radius:8px;padding:16px 20px;margin:25px 0;background:#fff}.deep>summary{font-weight:650;font-size:14px;cursor:pointer}.deep[open]>summary{margin-bottom:20px}.deep p{font-size:14px}.mini-label{display:block;font-size:10px;font-weight:650;letter-spacing:1px;color:var(--muted);text-transform:uppercase}.decoder{padding:20px;background:white;border:1px solid #d8e2d4;border-radius:8px;margin:24px 0}.decoder p{margin-bottom:0;font-size:14px}.decoder-tokens{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 15px}.decoder-tokens button{font:14px ui-monospace,monospace;min-width:75px}.decoder-tokens button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.lab{background:white;border:1px solid #cbd9c6;border-radius:12px;padding:28px;margin:30px 0;break-inside:avoid}.lab-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.lab-heading h3{margin:0 0 14px;font-size:19px}.lab-heading .eyebrow{font-size:10px;margin-bottom:5px}.lab-tag{flex-shrink:0;font-size:10px;background:#e5f0e6;color:var(--green);padding:4px 8px;border-radius:4px}.lab>p{font-size:13px;color:var(--muted)}.lab-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding:18px 0;border-top:1px solid var(--line)}.lab-controls.selectors{grid-template-columns:1fr 1fr;gap:18px;padding-bottom:20px}.lab-controls label{font-size:11px}.lab-controls select{font-size:12px}.lab-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;border-top:1px solid var(--line);padding-top:22px}.lab-grid>div{min-width:0}#domain-plot{display:block;width:100%;height:auto;background:#fbfcf8;border:1px solid #e1e8da;border-radius:8px}.legend{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:10px!important;color:var(--muted);margin:8px 0}.legend-dot,.legend-outline,.legend-current{display:inline-block;width:10px;height:10px;border-radius:50%;vertical-align:middle}.legend-dot{background:var(--green)}.legend-outline{border:1px solid #abbcb0}.legend-current{border:2px solid var(--ink)}.lab-reading .mini-label{margin-bottom:15px}.lab-equation{font:600 22px/1.5 ui-monospace,monospace;margin:8px 0 16px;color:var(--green)}.lab-fact{font-size:12px!important;margin-bottom:10px}.lab-fact b{font-weight:650}.domain-state{padding:10px 13px;border:1px solid #cddfcf;border-radius:5px;color:var(--green);background:#edf5ed;font-size:12px;margin:15px 0}.domain-state.excluded{background:#fff2e9;color:#964c36;border-color:#ecd4c3}.glossary-tools{display:grid;grid-template-columns:1fr 150px auto;align-items:end;gap:12px;background:#eaf0e5;border:1px solid #d5e0cf;padding:18px;border-radius:9px}.glossary-tools label{font-size:11px}.glossary-status{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--muted);margin:15px 0}.glossary-status p{margin:0}.glossary-status button{border:0;background:transparent;font-size:11px}.term-entry{background:#fff;border:1px solid #d8e3d2;border-radius:7px;margin:8px 0;scroll-margin-top:35px}.term-entry>summary{display:flex;align-items:center;gap:14px;cursor:pointer;padding:15px 18px;list-style:none}.term-entry>summary::-webkit-details-marker{display:none}.term-entry>summary::after{content:'+';color:var(--green);font:20px ui-monospace,monospace;margin-left:2px}.term-entry[open]>summary::after{content:'−'}.term-no{align-self:flex-start;margin-top:3px;color:#7f927b;font:11px/1.8 ui-monospace,monospace}.term-title{flex:1;min-width:0}.term-title strong{display:block;font-size:15px;line-height:1.55}.term-title>span{display:block;font-size:12px;line-height:1.7;color:var(--muted);margin-top:3px}.term-group{flex-shrink:0;color:#668365;background:#eef3ea;border-radius:4px;padding:2px 7px;font-size:10px}.term-entry[open]>summary{background:#f0f5eb;border-bottom:1px solid #dce6d6}.term-body{padding:21px 25px}.term-definition{font-size:15px}.term-explanation{margin:0;font-size:14px}.term-explanation>div{display:grid;grid-template-columns: 70px minmax(0,1fr);gap:10px;margin:12px 0}.term-explanation dt{color:var(--green);font-size:12px;font-weight:650}.term-explanation dd{margin:0}.english-definition{padding:15px 18px;background:#f1f5ed;border:1px solid #dde6d5;border-radius:5px;margin:19px 0 13px}.english-definition p{font-size:14px;line-height:1.7!important;margin:5px 0 0;word-break:normal}.related{font-size:11px;color:var(--muted);margin:13px 0 0}.permalink{display:block;width:fit-content;margin-top:12px;font-size:10px;color:#728470}.empty-state{padding:25px;border:1px dashed #b8cbae;text-align:center;border-radius:8px;color:var(--muted);font-size:14px}.quiz-score{padding:12px 16px;background:#eaf2e6;border:1px solid #d4e2cd;border-radius:7px;font-size:13px}.quiz-list{display:grid;gap:15px}.quiz{margin:0;border:1px solid #d7e3d1;border-radius:8px;padding:17px 23px 22px;min-width:0;background:white}.quiz legend{padding:5px 9px;font-weight:650;font-size:14px;line-height:1.7}.quiz legend span{font:11px ui-monospace,monospace;color:var(--green);margin-right:12px}.quiz-option{display:flex;gap:10px;align-items:flex-start;margin:8px 0;padding:8px 9px;border:1px solid #e0e8da;border-radius:5px;font-size:13px;font-weight:400;cursor:pointer}.quiz-option:has(input:checked){border-color:#88ae8c;background:#eef5eb}.quiz-option input{margin-top:6px;accent-color:var(--green);flex-shrink:0}.check-answer{margin-top:9px;background:#eef3e9;font-size:12px}.quiz-feedback{font-size:13px;color:var(--green);margin:13px 0 0}.quiz-feedback.incorrect{color:#95621e}.quiz-feedback:empty{display:none}.source-list{list-style:none;padding:0;margin:20px 0;display:grid;grid-template-columns:1fr 1fr;gap:18px 25px}.source-list li{border-bottom:1px solid var(--line);padding-bottom:13px}.source-list a{font-size:13px;font-weight:600;text-decoration:none}.source-list p{font-size:11px;line-height:1.75!important;margin:5px 0 0;color:var(--muted)}.plain-list{padding-left:25px;font-size:14px}.plain-list li{margin:9px 0}.notice{font-size:12px;color:var(--muted)}.site-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:23px 0 34px;font-size:11px;color:var(--muted)}.site-footer p{margin:0}.site-footer strong{color:var(--ink)}.back-to-top{position:fixed;right:24px;bottom:23px;width:37px;height:37px;border-radius:50%;background:white;border:1px solid #b8cbb2;display:grid;place-items:center;text-decoration:none;box-shadow:0 3px 12px #20382e0a}.mobile-nav{display:none}
@media(max-width:1100px){.wrap{width:calc(100% - 52px)}.guide-hero{grid-template-columns:1fr 355px;gap:32px}.reading-layout{grid-template-columns:200px minmax(0,1fr);gap:32px}.orientation{grid-template-columns:190px 1fr;gap:25px}.contents-grid{gap:17px}.lab{padding:22px}.lab-grid{gap:16px;grid-template-columns:1fr 1fr}.glossary-tools{grid-template-columns:1fr 125px auto}.figure-frame img{min-width:590px}}
@media(max-width:850px){.wrap{width:calc(100% - 40px)}.guide-hero{grid-template-columns:1fr 300px;gap:25px;padding:48px 0}.hero-art{padding:20px}.hero-grid{gap:7px}.hero-grid span{height:40px}.hero-copy{font-size:16px}.hero-meta{line-height:1.8}.orientation{grid-template-columns:1fr;gap:15px;padding:26px 0}.orientation-title{display:grid;grid-template-columns:1fr 1fr;gap:6px 22px}.orientation-title .eyebrow{grid-column:1/-1;margin-bottom:5px}.orientation-title h2{margin:0;font-size:22px}.orientation-title p:not(.eyebrow){align-self:end;margin-bottom:0}.toc{display:none}.reading-layout{display:block;margin-top:35px}.reading-content{max-width:780px;margin:auto}.mobile-nav{display:flex;align-items:center;gap:12px;position:sticky;top:3px;background:#f2f5edeb;backdrop-filter:blur(8px);z-index:8;padding:10px 20px;border-bottom:1px solid #d9e3d2}.mobile-nav label{flex-shrink:0;font-size:11px;margin:0}.mobile-nav select{font-size:12px;max-width:580px;min-height:38px}.lesson{scroll-margin-top:85px}.term-entry{scroll-margin-top:90px}h2{font-size:27px}.lesson{padding-bottom:35px;margin-bottom:35px}}
@media(max-width:600px){body{font-size:15px;line-height:1.9}.wrap{width:calc(100% - 36px)}.site-header{padding:18px 0}.brand{font-size:16px;gap:9px}.brand-icon{width:31px;height:31px;font-size:13px}.site-header nav{gap:14px;font-size:11px}.site-header nav button{font-size:10px;padding:5px 8px;min-height:36px}.guide-hero{grid-template-columns:1fr;padding:37px 0 35px;gap:29px}h1{font-size:43px;letter-spacing:-1.8px}.hero-copy{font-size:16px;margin:19px 0}.hero-art{padding:19px 21px}.hero-grid{gap:10px;margin:17px 0}.hero-grid span{height:40px}.hero-art-footer{display:flex;gap:3px;flex-direction:column;padding-top:12px}.hero-art-footer p{margin:2px 0}.hero-meta{font-size:11px;margin-top:17px}.hero-actions{gap:16px}.primary-link{font-size:13px;gap:18px;padding:10px 15px}.quiet-link{font-size:11px}.orientation-title{display:block}.orientation-title h2 br{display:none}.orientation-title p:not(.eyebrow){margin:8px 0 10px}.orientation-title p:not(.eyebrow) br{display:none}.contents-grid{grid-template-columns:1fr 1fr;gap:18px 15px}.contents-grid a{grid-template-columns:22px 1fr;gap:1px 5px}.contents-grid strong{font-size:12px}.contents-grid small{font-size:10px}.lesson-header h2{font-size:24px;line-height:1.55;letter-spacing:-.8px}.lesson-lead{font-size:14px}h3{font-size:19px;margin-top:28px}figure{margin:23px 0}.figure-frame img{min-width:590px}.figure-frame{border-radius:7px}figcaption{font-size:11px}figcaption::after{content:' · 그림은 옆으로 밀어 볼 수 있습니다.';display:block;font-size:10px;color:#758b78}.concept-note{padding:16px 18px}.concept-note p{font-size:13px}.concept-note strong{font-size:13px}pre{font-size:12px;padding:15px}.code-heading{font-size:10px;padding:9px 12px;flex-wrap:wrap}.reading-steps{padding-left:22px}.reading-steps li{font-size:14px;padding-left:3px}table{font-size:12px;min-width:480px}td,th{padding:11px 12px}th{font-size:11px}.deep{padding:14px 16px}.deep>summary{font-size:13px}.lab{padding:18px 16px}.lab-heading{gap:8px}.lab-heading h3{font-size:17px}.lab-tag{font-size:9px}.lab>p{font-size:12px}.lab-controls{gap:14px;grid-template-columns:1fr}.lab-controls label{font-size:12px}.lab-controls.selectors{grid-template-columns:1fr;gap:12px}.lab-grid{grid-template-columns:1fr;gap:18px}.lab-grid svg{max-width:420px}.lab-reading{border-top:1px solid var(--line);padding-top:17px}.lab-equation{font-size:23px}.glossary-tools{grid-template-columns:1fr auto;gap:12px;padding:14px}.search-field{grid-column:1/-1}.glossary-tools select{font-size:13px}.glossary-tools button{font-size:12px}.term-entry>summary{padding:14px 12px;gap:10px}.term-title strong{font-size:14px;word-break:normal;overflow-wrap:break-word}.term-title>span{font-size:11px}.term-group{font-size:9px;padding:2px 5px}.term-no{font-size:10px}.term-body{padding:18px 17px}.term-definition{font-size:14px}.term-explanation>div{grid-template-columns:1fr;gap:3px;margin:15px 0}.term-explanation dd{font-size:13px}.english-definition{padding:12px 14px}.english-definition p{font-size:13px}.source-list{grid-template-columns:1fr;gap:14px}.quiz{padding:13px 16px 18px}.quiz legend{font-size:13px;padding:4px 7px}.quiz-option{font-size:12px}.site-footer{flex-direction:column;gap:8px;padding-bottom:50px}.back-to-top{right:13px;bottom:15px;width:33px;height:33px}.plain-list{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{html{scroll-behavior:auto}body{background:white;font-size:10pt;line-height:1.65;color:#162e24}.wrap{width:100%}.site-header nav,.reading-progress,.hero-actions,.toc,.mobile-nav,.back-to-top,.back-to-contents,.glossary-tools,.glossary-status,.empty-state,.check-answer,.permalink,.decoder,.quiz-option input{display:none!important}.site-header{padding:0 0 14px}.guide-hero{padding:25px 0;gap:20px;grid-template-columns:1fr 270px}h1{font-size: 32pt}.hero-copy{font-size:12pt}.hero-meta{font-size:9pt}.hero-art{padding:14px}.hero-grid{gap:5px;margin:10px 0}.hero-grid span{height:29px;font-size:9pt}.hero-art-footer p{font-size:8pt}.orientation{padding:20px 0;grid-template-columns:160px 1fr}.contents-grid{grid-template-columns:repeat(3,1fr);gap:12px}.contents-grid strong{font-size:8pt}.contents-grid small{font-size:7pt}.reading-layout{display:block;margin-top:25px}.reading-content{max-width:none}.lesson{page-break-before:always;margin:0 0 20px;padding:0 0 20px;border:0}.lesson-header h2{font-size:19pt}.lesson-header .lesson-lead{font-size:10pt}.lesson p{line-height:1.75}h3{font-size:13pt;margin-top:22px}h2,h3,summary{break-after:avoid}figure{margin:18px 0}.figure-frame{overflow:visible}.figure-frame img{min-width:0;width:100%;max-height:230px;object-fit:contain}figcaption{font-size:8pt}figcaption::after{display:none}table{font-size:9pt;min-width:0}td,th{padding:7px 9px}pre{white-space:pre-wrap;font-size:8pt;padding:12px}.code-heading{font-size:8pt}.code-heading a{display:none}.concept-note{padding:12px 15px}.concept-note p{font-size:9pt}.concept-note strong{font-size:10pt}.reading-steps li{font-size:10pt}.term-entry{break-inside:avoid}.term-entry>summary{padding:9px 12px}.term-body{padding:12px 15px}.term-title strong{font-size:11pt}.term-title>span{font-size:9pt}.term-definition{font-size:10pt}.term-explanation>div{grid-template-columns:70px 1fr}.term-explanation dd{font-size:9pt}.english-definition{padding:9px 12px}.english-definition p{font-size:9pt}.lab-controls{display:none}.lab-grid{grid-template-columns:1fr 1fr}.lab{padding:15px}.quiz{break-inside:avoid}.quiz-feedback{display:block}.source-list{grid-template-columns:1fr 1fr}.plain-list{font-size:9pt}.site-footer{padding:14px 0}.deep{break-inside:auto}.related{font-size:8pt}}

/* Shared learning typography and pass-series visual identity. */
.pass-hero{grid-template-columns:minmax(0,1fr) 350px;gap:54px}.pass-hero h1{font-size:clamp(32px,4vw,52px);line-height:1.3;letter-spacing:-1.8px}.pass-hero>*{min-width:0}
.pass-card{padding:26px;background:#edf3ef;border:1px solid #cbd9cc;border-radius:12px}.pass-card>p{font-size:12px;color:var(--muted)}.pass-card strong{display:block;font:650 29px/1.5 ui-monospace,monospace;color:var(--green)}
.pass-stage{background:white;border:1px solid #ccdad1;border-radius:8px;padding:16px 18px;margin:13px 0}.pass-stage span{display:block;font-size:11px;letter-spacing:1px;color:var(--muted);margin-bottom:8px}.pass-stage p{font-size:15px;line-height:1.8;margin:0}.pass-stage:last-child{background:#e9f1fa;border-color:#c1d4e6}.stage-arrow{text-align:center;margin:5px!important;font-size:20px!important;color:var(--green)!important}
.series-links{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.series-links a{border:1px solid #cbd8ce;border-radius:5px;background:#fff;padding:5px 10px;font:12px/1.8 ui-monospace,monospace;text-decoration:none}.series-links a[aria-current]{background:var(--green);border-color:var(--green);color:white}
.reading-points{padding:22px 24px;border-left:3px solid #80a58b;background:#edf4ec;margin:24px 0}.reading-points p:last-child{margin-bottom:0}.counter-code h4{font:650 13px/1.8 ui-monospace,monospace;margin-top:28px;color:var(--green)}
.table-wrap{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;margin:25px 0}.table-wrap caption{text-align:left;color:var(--muted);font-size:12px;padding-bottom:8px}.table-wrap th{min-width:130px}.table-wrap td{min-width:225px}.reading-content{min-width:0}.term-title{min-width:0}.term-title strong{overflow-wrap:anywhere;word-break:normal}.term-entry>summary{align-items:start}.toc a[aria-current="true"]{background:#e6f1e9;color:var(--green);font-weight:700}.source-list,.download-list{margin-bottom:28px}.download-list li{margin:8px 0}.source-list p{word-break:normal}.code-heading>span{min-width:0;overflow-wrap:anywhere}.code-heading>a{flex-shrink:0}
@media(max-width:1050px){.pass-hero{grid-template-columns:minmax(0,1fr) 290px;gap:30px}.pass-card{padding:22px}.pass-hero h1{font-size:38px}}
@media(max-width:850px){.pass-hero{grid-template-columns:1fr}.pass-card{max-width:600px}.pass-hero h1{font-size:42px}}
@media(max-width:600px){.pass-hero h1{font-size:34px;letter-spacing:-1px}.site-header nav{gap:10px}.site-header nav a{font-size:11px}.reading-points{padding:18px}.pass-card strong{font-size:25px}}
@media(max-width:360px){.site-header{align-items:flex-start;gap:12px;flex-wrap:wrap}.site-header nav{width:100%;justify-content:space-between}.pass-hero h1{font-size:29px}.glossary-tools{grid-template-columns:1fr auto}.term-explanation>div{grid-template-columns:1fr;gap:3px}}
@media print{.series-links{display:none}.pass-hero{display:block}.pass-card{display:none}.reading-points{padding:12px;break-inside:avoid}.counter-code{break-inside:auto}}

/* Loop idiom article: bounded code/tables and two small numerical models. */
.toc{max-height:calc(100vh - 60px);overflow-y:auto;scrollbar-width:thin;padding-right:8px}
.ir-pair>*{min-width:0}.ir-compare h4{margin:0 0 10px;color:var(--green);font-size:16px}.ir-compare .ir-pair>div:last-child h4{color:var(--blue)}
.idiom-lab>select{max-width:560px}.idiom-readout{padding:22px;margin-top:20px;border:1px solid #c4d6c8;border-radius:9px;background:white;min-width:0}
.idiom-readout .lab-result{font-size:19px;font-weight:650;line-height:1.7;color:var(--green)}.idiom-readout .lab-result.different{color:#9d4e42}
.byte-cells{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0 20px}.byte-cell{display:inline-flex;align-items:center;justify-content:center;min-width:46px;min-height:46px;padding:5px 10px;border:1px solid #b6cdbd;border-radius:7px;font:650 17px ui-monospace,monospace;color:var(--green);background:#f2f7ef}
.byte-cells.different .byte-cell{color:#a04c42;border-color:#d4b8ae;background:#fbf1ed}.byte-label{margin:17px 0 6px;font-size:13px;color:var(--muted)}
.lab-footnote{font-size:12px!important;color:var(--muted);margin:16px 0 0}.idiom-readout p:last-child{margin-bottom:0}.idiom-readout code{overflow-wrap:anywhere}.pass-card strong{font-size:27px}.source-date{color:var(--muted);font-size:13px}
@media(max-width:600px){.idiom-readout{padding:16px}.idiom-readout .lab-result{font-size:17px}.byte-cells{gap:6px}.byte-cell{min-width:35px;min-height:39px;padding:4px 8px;font-size:14px}.idiom-lab .lab-heading h3{font-size:18px}}
@media print{.toc{max-height:none}.idiom-lab>label,.idiom-lab>select{display:none}.idiom-readout{padding:12px}.byte-cell{min-height:24px;font-size:10pt}.byte-label{font-size:9pt}}

/* Keep long technical source names from setting the grid's minimum width. */
.source-list{grid-template-columns:repeat(2,minmax(0,1fr))}.source-list>li{min-width:0}.source-list a,.source-list p{overflow-wrap:anywhere}
@media(max-width:600px){.source-list{grid-template-columns:minmax(0,1fr)}}
