.theory-content .theory-diagram{padding:20px 22px}.theory-content .theory-diagram svg{width:100%;max-width:470px;height:auto;margin:14px auto 16px;display:block}.theory-content .theory-diagram svg text{font-family:IBM Plex Mono,Noto Sans KR Variable,monospace;font-size:13px}.theory-content .theory-diagram p{color:var(--text-3);font-size:14px}@media (max-width:600px){.theory-content .theory-diagram{padding:12px 10px}.theory-content .theory-diagram svg{margin:10px auto 12px}.theory-content .theory-diagram svg text{font-size:13px}}.loop-explorer .explorer-plot{touch-action:manipulation;width:min(100%,460px)}.loop-explorer .explorer-plot text{font:500 13px IBM Plex Mono,Noto Sans KR Variable,monospace}.explorer-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:16px;display:grid}.explorer-presets button,.explorer-tools button{color:#e8edf2;cursor:pointer;background:#17283a;border:1px solid #5f7f94;min-height:44px;font:600 13px IBM Plex Sans,Noto Sans KR Variable,sans-serif}.explorer-presets button{text-align:left;flex-direction:column;justify-content:center;align-items:flex-start;gap:3px;min-width:0;padding:7px 10px;display:flex}.explorer-presets button small{color:#a9c6d3;overflow-wrap:anywhere;font:500 11px IBM Plex Mono,Noto Sans KR Variable,monospace}.explorer-presets button[aria-pressed=true]{border-color:#62d8e8;box-shadow:inset 0 0 0 1px #62d8e8}.explorer-presets button[aria-pressed=true] small{color:#62d8e8}.explorer-presets button:hover,.explorer-tools button:not(:disabled):hover{border-color:#a9c6d3}:is(.explorer-presets button:focus-visible,.explorer-tools button:focus-visible){outline-offset:2px;outline:2px solid #f2b45b}.explorer-tools{flex-wrap:wrap;gap:8px;margin:4px 0 12px;display:flex}.explorer-tools button{background:0 0;padding:6px 12px}.explorer-tools button:disabled{color:#8299a8;cursor:not-allowed;border-color:#2f465a}.explorer-legend{color:#a9c6d3;flex-wrap:wrap;gap:6px 16px;margin:0 0 14px;padding:0;font-size:12px;line-height:1.5;list-style:none;display:flex}.explorer-legend li{align-items:center;gap:7px;display:flex}.explorer-legend i{flex:none;font-style:normal;display:inline-block}.explorer-legend .swatch{border-top:2.5px solid #62d8e8;width:22px}.explorer-legend .swatch.dashed{border-top-style:dashed}.explorer-legend .swatch.dotted{border-top-style:dotted}.explorer-legend .swatch.ring{border-top:1.5px dashed #5f7f94}.explorer-legend .swatch.margin{border-top:3px solid #f2b45b}.explorer-legend .swatch.asymptote{border-top:1.5px dashed #f2b45b}.explorer-legend .mark{width:12px;height:12px}.explorer-legend .mark.pole{position:relative}.explorer-legend .mark.pole:before,.explorer-legend .mark.pole:after{content:"";background:#f2b45b;width:14px;height:2px;position:absolute;top:5px;left:-1px;transform:rotate(45deg)}.explorer-legend .mark.pole:after{transform:rotate(-45deg)}.explorer-legend .mark.zero{border:2px solid #f2b45b;border-radius:50%}.explorer-legend .mark.closed{background:#62d8e8;border-radius:50%}.explorer-legend .mark.breakaway{background:#c084fc;width:10px;height:10px}.explorer-legend .mark.crossing{border:2px solid #c084fc;border-radius:50%}.explorer-readout{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 16px;display:grid}.explorer-readout>div{background:#17283a;border:1px solid #2f465a;min-width:0;padding:8px 10px}.explorer-readout>div.wide{grid-column:span 2}.explorer-readout dt{color:#a9c6d3;font:600 11px IBM Plex Mono,Noto Sans KR Variable,monospace}.explorer-readout dd{color:#e8edf2;overflow-wrap:anywhere;margin:3px 0 0;font:600 18px IBM Plex Mono,monospace}.explorer-readout .wide dd{font-size:14px}.loop-explorer .explorer-selection{color:#c4d6e0;min-height:3.2em;margin:0 0 12px;font-size:13px;line-height:1.6}.locus-handle{cursor:grab;touch-action:none;outline:none}.locus-handle:active{cursor:grabbing}.locus-handle:focus-visible circle:first-child{stroke:#f2b45b;stroke-width:2px;stroke-dasharray:3 3}@media (max-width:600px){.loop-explorer{padding:16px 12px}.explorer-presets,.explorer-readout{grid-template-columns:repeat(2,minmax(0,1fr))}.explorer-readout>div.wide{grid-column:1/-1}}.theory-content .theory-answer{background:var(--surface);border:1px solid var(--line-3);border-top:4px solid var(--brand-line);margin-top:32px;padding:22px 28px 18px}.theory-content .theory-answer h2{letter-spacing:.12em;color:var(--brand-2);margin:0;font:600 11px IBM Plex Mono,Noto Sans KR Variable,monospace}.theory-content .theory-answer>p{color:var(--text);margin:12px 0 4px;font-size:17px;line-height:1.75}.theory-answer .theory-math{font-size:1.02rem}.theory-content .theory-reference-tables{padding-top:44px}.theory-table{margin-top:26px}.theory-table-scroll{border:1px solid var(--line-3);background:var(--surface);max-width:100%;overflow-x:auto}.theory-table-scroll:focus-visible{outline:2px solid var(--brand-line);outline-offset:2px}.theory-table table{border-collapse:collapse;width:100%;color:var(--text);font-size:14px;line-height:1.55}.theory-table caption{caption-side:top;text-align:left;color:var(--text);background:var(--tint-2);border-bottom:1px solid var(--line-3);padding:14px 16px 10px;font-size:15px;font-weight:600}.theory-table th,.theory-table td{text-align:left;vertical-align:middle;border-bottom:1px solid var(--line-1);padding:9px 14px}.theory-table thead th{color:var(--text-2);background:var(--page);white-space:nowrap;font-size:13px;font-weight:600}.theory-table tbody th{color:var(--brand);font-weight:600}.theory-table tbody tr:last-child>*{border-bottom:0}.theory-table .theory-math-inline{white-space:nowrap}.theory-table-note{color:var(--text-3);margin:10px 0 0;font-size:14px;line-height:1.7}.theory-content .theory-faq{padding-top:48px}.theory-faq-item{border-top:1px solid var(--line-1);padding:18px 0}.theory-faq-item:first-of-type{margin-top:18px}.theory-faq-item h3{color:var(--text);margin:0 0 8px;font-size:18px;line-height:1.45}.theory-faq-item p{color:var(--text-2);margin:0;font-size:16px;line-height:1.8}:lang(ko) .theory-content .theory-answer h2{letter-spacing:0}@media (max-width:600px){.theory-content .theory-answer{padding:18px 16px 14px}.theory-content .theory-answer>p{font-size:16px}.theory-table table{font-size:13px}.theory-table th,.theory-table td{padding:8px 10px}.theory-table td{min-width:7em}.theory-faq-item h3{font-size:17px}.theory-faq-item p{font-size:15px}}.theory-article>header .theory-updated{color:var(--text-3);max-width:none;margin:-6px 0 18px;font:500 12px/1.5 IBM Plex Mono,Noto Sans KR Variable,monospace}.theory-textbook-badge{flex-wrap:wrap;row-gap:4px;max-width:100%}.theory-content .theory-exercises>.theory-exercises-how{color:var(--text-3);max-width:680px;margin:0;font-size:15px;line-height:1.75}.theory-exercises .theory-reveal>summary{gap:12px}.theory-exercises .theory-reveal>summary:focus-visible{outline:2px solid var(--brand-line);outline-offset:2px}.theory-exercises .theory-reveal>summary span{font-size:20px;line-height:1;transition:transform .15s}.theory-exercises .theory-reveal:not([open])>summary span{transform:none}.theory-exercises .theory-reveal[open]>summary span{transform:rotate(45deg)}.theory-exercises .theory-reveal>.theory-exercise-answer{margin:4px 0 0}.theory-exercises .theory-reveal-solution{border-top:1px dashed var(--line-2);margin:12px 0 0}.theory-exercises .theory-reveal-solution>summary{font-size:13px}.exercise-marks{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.exercise-mark{border:1px solid var(--line-3);background:var(--surface);min-height:44px;color:var(--text-2);cursor:pointer;align-items:center;gap:7px;padding:6px 14px;font:600 13px IBM Plex Sans,Noto Sans KR Variable,sans-serif;transition:background-color .15s,border-color .15s,color .15s;display:inline-flex}.exercise-mark:hover{border-color:var(--brand-line);color:var(--brand)}.exercise-mark:focus-visible{outline:2px solid var(--brand-line);outline-offset:2px}.lecture-done-button:focus-visible{outline:2px solid var(--brand-line);outline-offset:2px}.lecture-study-reset:focus-visible{outline:2px solid var(--brand-line);outline-offset:2px}.lecture-study a:focus-visible{outline:2px solid var(--brand-line);outline-offset:2px}.exercise-mark[data-mark=got][aria-pressed=true]{background:var(--success-fill);border-color:var(--success);color:#fff}.exercise-mark[data-mark=review][aria-pressed=true]{background:var(--warning-fill);border-color:var(--warning);color:#fff}.exercise-progress{border-top:1px solid var(--line-1);margin-top:28px;padding-top:16px}.theory-exercises .exercise-progress .lecture-stack>p{color:var(--text-3);margin:0;font-size:14px;line-height:1.6}.exercise-suggest{background:var(--success-tint);border-left:4px solid var(--success);flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:14px;padding:14px 16px;display:flex}.theory-exercises .exercise-suggest p,.theory-exercises p.exercise-suggest{color:var(--text);margin:0;font-size:15px;line-height:1.6}.theory-exercises p.exercise-suggest{align-items:center;gap:10px;font-size:15px;display:flex}.theory-exercises p.exercise-suggest svg{color:var(--success);flex:none}.lecture-stack{min-width:0;display:grid}.lecture-stack>*{grid-area:1/1}.lecture-sizer{visibility:hidden}.lecture-done{border:1px solid var(--line-3);border-left:4px solid var(--brand-line);background:var(--surface);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 24px;margin-top:44px;padding:22px 24px;display:grid}.lecture-done .theory-kicker{grid-column:1/-1}.lecture-done p{color:var(--text-2);margin:0;font-size:15px;line-height:1.65}.lecture-done p svg{vertical-align:-3px;color:var(--success);margin-right:8px;display:inline-block}.lecture-done[data-state=ready]{border-color:var(--success);border-left-color:var(--success);background:var(--success-tint)}.lecture-done[data-state=done]{border-left-color:var(--success)}.lecture-done-button{border:1px solid var(--brand-line);background:var(--brand-fill);color:#fff;cursor:pointer;white-space:nowrap;min-height:44px;padding:10px 18px;font:700 13px IBM Plex Sans,Noto Sans KR Variable,sans-serif}.lecture-done-button:hover{background:var(--brand-fill-2)}.lecture-done-button[data-secondary]{background:var(--surface);color:var(--brand);border-color:var(--line-5)}.lecture-done-button[data-secondary]:hover{border-color:var(--brand-line);background:var(--tint-1)}.lecture-tick{vertical-align:-3px;border-radius:50%;flex:none;justify-content:center;align-items:center;width:16px;height:16px;display:inline-flex}.lecture-tick[data-status=done]{background:var(--success-fill);color:#fff}.lecture-tick[data-status=review]{background:var(--warning-tint);color:var(--warning);box-shadow:inset 0 0 0 1.5px #c98a3a}.theory-sidebar-part>a>.lecture-tick{align-self:center;margin-left:auto}.theory-next strong .lecture-tick{margin-left:8px}.theory-chapter-card .theory-number{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.theory-chapter-card .theory-number .lecture-tick{width:20px;height:20px}.lecture-study{border:1px solid var(--line-3);background:var(--surface);margin:0 0 48px;padding:22px 26px}.lecture-study-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 20px;display:flex}.lecture-study h2{margin:0}.lecture-study-overall{color:var(--text-2);margin:0;font-size:15px}.lecture-study-overall strong{color:var(--text);font:600 22px IBM Plex Mono,Noto Sans KR Variable,monospace}.lecture-study-bar{background:var(--tint-3);height:6px;margin:12px 0 18px;display:block;overflow:hidden}.lecture-study-bar>span{background:var(--success-fill);height:100%;transition:width .3s;display:block}.lecture-study-continue{background:var(--brand-fill);color:#fff;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 14px;padding:12px 18px;text-decoration:none;display:grid}.lecture-study-continue>span{letter-spacing:.08em;text-transform:uppercase;color:#cfe0ee;grid-column:1;font:600 11px IBM Plex Mono,Noto Sans KR Variable,monospace}.lecture-study-continue>strong{text-overflow:ellipsis;white-space:nowrap;grid-column:1;min-width:0;font-size:16px;font-weight:600;overflow:hidden}.lecture-study-continue>svg{grid-area:1/2/3}.lecture-study-continue:hover{background:var(--brand-fill-2)}.lecture-study-parts{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 28px;margin:18px 0 0;padding:0;list-style:none;display:grid}.lecture-study-parts a{color:var(--text-2);grid-template-columns:24px minmax(0,1fr) 5.5ch;align-items:center;gap:4px 10px;padding:8px 0;font-size:13px;line-height:1.35;text-decoration:none;display:grid}.lecture-study-parts a:hover{color:var(--brand)}.lecture-study-parts small{color:var(--brand-2);font:11px IBM Plex Mono,Noto Sans KR Variable,monospace}.lecture-study-parts b{color:var(--text);text-align:right;font:600 12px IBM Plex Mono,Noto Sans KR Variable,monospace}.lecture-study-parts .lecture-study-bar{grid-column:2/-1;height:4px;margin:0}.lecture-study-foot{border-top:1px solid var(--line-1);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 20px;margin-top:18px;padding-top:14px;display:flex}.lecture-study-foot p{color:var(--text-4);flex:260px;margin:0;font-size:12px;line-height:1.6}.lecture-study-reset{border:1px solid var(--line-5);min-height:44px;color:var(--brand);cursor:pointer;background:0 0;padding:6px 14px;font:600 12px IBM Plex Sans,Noto Sans KR Variable,sans-serif}.lecture-study-reset:hover:not(:disabled){border-color:var(--brand-line);background:var(--tint-1)}.lecture-study-reset:disabled{color:var(--text-4);border-color:var(--line-2);cursor:default}:lang(ko) .lecture-study-continue>span{letter-spacing:0}@media (max-width:600px){.lecture-done{grid-template-columns:1fr;padding:18px 16px}.lecture-done-button{white-space:normal;justify-self:start}.lecture-study{margin-bottom:36px;padding:18px 16px}.lecture-study-parts{grid-template-columns:1fr}.lecture-study-continue{padding:12px 14px}.lecture-study-continue>strong{font-size:15px}}@media (prefers-reduced-motion:reduce){.exercise-mark,.lecture-study-bar>span,.theory-exercises .theory-reveal>summary span{transition:none}}.theory-print-only{display:none}@media print{@page{margin:16mm 14mm}html,body,.theory-page{color:#000;background:#fff!important}.theory-page>header,.theory-page>nav,body>header,.site-header,.site-footer,body>footer,.storage-notice,.theory-sidebar,.theory-breadcrumb,.theory-next,.theory-lab-chip,.theory-lab-link,.theory-textbook-badge[href*=\/tools],.exercise-marks,.exercise-progress,.lecture-done,.lecture-tick,.lecture-study,.theory-hero-actions,.loop-explorer,.theory-lesson-start a{display:none!important}.theory-print-only{display:block}.theory-article-shell{max-width:none;margin:0;padding:0;display:block}.theory-article{max-width:none}.theory-article>header{padding:0 0 18px}.theory-article h1{margin:6px 0 10px;font-size:30pt}.theory-article>header p{font-size:13pt}.theory-content section{padding-top:20px}.theory-content h2{font-size:18pt}.theory-content section>p,.theory-exercises li p,.theory-faq-item p{font-size:11pt;line-height:1.6}.theory-math,.theory-table-scroll{overflow:visible!important}.theory-content .theory-exercises,.theory-content .theory-worked-example,.theory-equations,.theory-lesson-start,.theory-practice,.theory-note{background:#fff;border-width:1px 0 0;border-top-style:solid;border-top-color:#999;padding:14px 0}details>summary{list-style:none}details>summary::-webkit-details-marker{display:none}.theory-reveal>summary,.theory-exercises summary span,.theory-check summary span{display:none!important}.theory-print-label{margin:10px 0 0;font-weight:700}.theory-print-explorer{border:1px solid #999;margin:24px 0;padding:12px 14px;font-size:11pt;line-height:1.6}.theory-print-source{color:#333;border-top:1px solid #999;margin-top:28px;padding-top:10px;font-size:9pt}.theory-sources a:after{content:" (" attr(href) ")";overflow-wrap:anywhere;font-size:9pt}a{color:inherit}h2,h3,h4,summary{break-after:avoid}.theory-equation,.theory-exercises>ol>li>p,.theory-table,figure,.theory-diagram,.theory-faq-item,.theory-answer{break-inside:avoid}details::details-content{content-visibility:visible}}.lecture-key-terms ul{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;margin:18px 0 14px;padding:0;list-style:none;display:grid}.lecture-key-terms li{min-width:0;display:flex}.lecture-key-terms li a{border:1px solid var(--border,var(--line-2));background:var(--card,var(--surface));min-width:0;min-height:44px;color:var(--brand);flex-direction:column;flex:1;gap:2px;padding:9px 12px;text-decoration:none;display:flex}.lecture-key-terms li a:hover{border-color:var(--primary,var(--brand-line))}.lecture-key-terms li a:hover span{text-underline-offset:3px;text-decoration:underline}.lecture-key-terms li a:focus-visible{outline:2px solid var(--ring,var(--brand-line));outline-offset:2px}.lecture-key-terms li span{overflow-wrap:anywhere;font-size:15px;font-weight:600;line-height:1.35}.lecture-key-terms li abbr{text-decoration:none}.lecture-key-terms li small{color:var(--text-3);overflow-wrap:anywhere;font-size:12px;line-height:1.4}.lecture-key-terms-all{color:var(--brand);padding:10px 0;font-size:13px;font-weight:600;text-decoration:none;display:inline-block}.lecture-key-terms-all:hover{text-underline-offset:3px;text-decoration:underline}@media (max-width:600px){.lecture-key-terms ul{grid-template-columns:1fr 1fr}.lecture-key-terms li a{padding:8px 10px}.lecture-key-terms li span{font-size:14px}}@media print{.lecture-key-terms li a{background:0 0;border-color:#999}.lecture-key-terms-all{display:none}}
