.theory-page{background:var(--page);color:var(--text);min-height:100vh;font-family:IBM Plex Sans,Noto Sans KR Variable,sans-serif}.theory-hero{background:var(--tint-2);border-bottom:1px solid var(--line-3);padding:88px max(6vw,50vw - 590px) 80px;position:relative;overflow:hidden}.theory-hero:after{content:"∠";color:var(--tint-4);pointer-events:none;font:500 420px IBM Plex Mono,Noto Sans KR Variable,monospace;position:absolute;top:-110px;right:5%}.theory-hero>*{z-index:1;position:relative}.theory-kicker,.theory-unit,.theory-section-index{letter-spacing:.12em;color:var(--brand-2);font:600 11px IBM Plex Mono,Noto Sans KR Variable,monospace}.theory-hero h1{letter-spacing:-.065em;max-width:780px;margin:22px 0;font-size:clamp(45px,6vw,78px);line-height:1.04}.theory-hero p{color:var(--text-4);max-width:680px;font-size:19px;line-height:1.62}.theory-hero-actions{flex-wrap:wrap;gap:12px;margin-top:34px;display:flex}.theory-hero-actions a,.theory-lab-link{background:var(--brand-fill);color:#fff;align-items:center;gap:11px;padding:14px 20px;font-size:13px;font-weight:700;text-decoration:none;display:inline-flex}.theory-hero-actions a+a{color:var(--brand);border:1px solid var(--line-5);background:0 0}.theory-index{max-width:1180px;margin:auto;padding:68px 24px 110px}.theory-index-intro{justify-content:space-between;align-items:start;gap:35px;margin-bottom:32px;display:flex}.theory-index-intro p{max-width:650px;color:var(--text-4);margin:0;font-size:15px;line-height:1.7}.theory-chapter-list{border-top:1px solid var(--line-3)}.theory-chapter-card{border-bottom:1px solid var(--line-3);color:var(--text);grid-template-columns:70px 1fr 24px;align-items:center;gap:26px;padding:26px 12px;text-decoration:none;transition:background .2s,padding .2s;display:grid}.theory-chapter-card:hover{background:var(--tint-2);padding-left:23px}.theory-number{color:var(--text-4);font:500 28px IBM Plex Mono,Noto Sans KR Variable,monospace}.theory-chapter-card h2{letter-spacing:-.035em;margin:6px 0;font-size:24px}.theory-chapter-card p{color:var(--text-4);margin:0;font-size:14px;line-height:1.5}.theory-chapter-card>svg{color:var(--brand)}.theory-source{color:var(--text-4);margin-top:30px;font-size:12px;line-height:1.7}.theory-source a{color:var(--brand);text-underline-offset:3px;text-decoration:underline}.theory-article-shell{grid-template-columns:285px minmax(0,1fr);gap:64px;max-width:1400px;margin:auto;padding:52px 4vw 100px;display:grid}.theory-sidebar{border-right:1px solid var(--line-2);align-self:start;max-height:calc(100vh - 40px);padding-right:30px;position:sticky;top:20px;overflow-y:auto}.theory-sidebar>a{color:var(--text-4);gap:11px;padding:10px 12px;font-size:12px;line-height:1.3;text-decoration:none;display:flex}.theory-sidebar>a:first-child{color:var(--brand);margin:0 0 26px;padding-left:0;font-weight:700}.theory-sidebar>a.active{background:var(--tint-3);color:var(--brand);font-weight:700}.theory-sidebar>a:hover{color:var(--brand)}.theory-sidebar .theory-kicker{margin:0 0 10px 12px;display:block}.theory-sidebar small{font:11px IBM Plex Mono,Noto Sans KR Variable,monospace}.theory-article{min-width:0;max-width:820px}.theory-breadcrumb{color:var(--text-4);letter-spacing:.08em;gap:12px;font:11px IBM Plex Mono,Noto Sans KR Variable,monospace;display:flex}.theory-breadcrumb a{color:var(--brand);text-decoration:none}.theory-article>header{border-bottom:1px solid var(--line-3);padding:64px 0 47px}.theory-article h1{letter-spacing:-.06em;margin:14px 0 22px;font-size:clamp(41px,5vw,68px);line-height:1.06}.theory-article>header p{color:var(--text-4);max-width:720px;font-size:21px;line-height:1.6}.theory-content section{padding:44px 0 8px}.theory-content h2{letter-spacing:-.045em;margin:12px 0 15px;font-size:30px}.theory-content section>p{color:var(--text-2);margin:0;font-size:17px;line-height:1.9}.theory-formula{color:#e8edf2;background:#101c2a;border-left:4px solid #62d8e8;margin:33px 0;padding:25px 28px}.theory-formula span{color:#78b3c5;letter-spacing:.12em;font:10px IBM Plex Mono,Noto Sans KR Variable,monospace;display:block}.theory-formula code{white-space:pre-wrap;overflow-wrap:anywhere;color:#79e0e9;margin:15px 0;font:17px/1.7 IBM Plex Mono,Noto Sans KR Variable,monospace;display:block}.theory-formula p{color:#b5cbd7;margin:0;font-size:13px;line-height:1.7}.theory-lab-link{margin:25px 0 5px}.theory-note{background:var(--tint-2);border-left:4px solid #f2b45b;margin:45px 0;padding:22px 25px}.theory-note span{letter-spacing:.1em;color:var(--warning);font:11px IBM Plex Mono,Noto Sans KR Variable,monospace}.theory-note p{color:var(--text-3);margin:10px 0 0;font-size:15px;line-height:1.75}.theory-check{border-top:1px solid var(--line-4);border-bottom:1px solid var(--line-4);margin:45px 0;padding:20px 0}.theory-check summary{cursor:pointer;justify-content:space-between;font-size:17px;font-weight:700;list-style:none;display:flex}.theory-check summary span{color:var(--brand);font-size:25px}.theory-check p{color:var(--text-4);font-size:16px;line-height:1.7}.theory-check strong{color:var(--brand);background:var(--tint-3);padding:15px 18px;font-size:15px;line-height:1.7;display:block}.theory-next{justify-content:space-between;gap:15px;margin-top:54px;display:flex}.theory-next a{color:var(--brand);align-items:center;gap:12px;max-width:48%;font-size:12px;text-decoration:none;display:flex}.theory-next a:last-child{text-align:right}.theory-next strong{color:var(--text);margin-top:5px;font-size:15px;display:block}.loop-explorer{color:#e8edf2;background:#101c2a;border:1px solid #436176;margin:35px 0;padding:26px}.loop-explorer-top{flex-wrap:wrap;justify-content:space-between;gap:15px;display:flex}.loop-explorer-top .theory-kicker{color:#62d8e8}.loop-explorer-top strong{font-size:14px}.loop-explorer svg{width:min(100%,390px);height:auto;margin:15px auto;display:block}.loop-sliders{grid-template-columns:1fr 1fr;gap:25px;display:grid}.loop-sliders label{grid-template-columns:1fr auto;gap:10px;font-size:13px;display:grid}.loop-sliders input{accent-color:#62d8e8;grid-column:1/3;width:100%}.loop-explorer>p{color:#a6bdcb;margin:20px 0 0;font-size:12px;line-height:1.7}@media (max-width:900px){.theory-article-shell{grid-template-columns:1fr;gap:28px}.theory-sidebar{border-right:0;border-bottom:1px solid var(--line-2);white-space:nowrap;max-height:none;padding:0 0 10px;display:flex;position:static;overflow-x:auto}.theory-sidebar .theory-kicker,.theory-sidebar>a:first-child{display:none}.theory-sidebar>a{flex-shrink:0}.theory-article>header{padding-top:35px}}@media (max-width:600px){.theory-hero{padding:65px 22px}.theory-hero:after{font-size:230px;top:-25px;right:-35px}.theory-hero p{font-size:16px}.theory-index{padding:45px 18px 70px}.theory-index-intro{display:block}.theory-index-intro p{margin-top:15px}.theory-chapter-card{grid-template-columns:40px 1fr 18px;gap:12px;padding:18px 4px}.theory-chapter-card h2{font-size:19px}.theory-chapter-card p{font-size:12px}.theory-number{font-size:20px}.theory-article-shell{padding:25px 18px 70px}.theory-article>header p{font-size:18px}.theory-content section>p{font-size:15px}.theory-content h2{font-size:25px}.theory-formula code{font-size:14px}.loop-sliders{grid-template-columns:1fr}}.theory-diagram{background:var(--fig-bg);border:1px solid var(--line-3);margin:32px 0 0;padding:22px}.theory-diagram figcaption{letter-spacing:.09em;color:var(--brand);font:600 11px IBM Plex Mono,Noto Sans KR Variable,monospace}.theory-diagram svg{width:100%;height:auto;margin:16px auto;display:block}.theory-diagram svg text{font-family:IBM Plex Mono,Noto Sans KR Variable,monospace;font-size:13px}.theory-diagram p{color:var(--text-4);margin:0;font-size:13px;line-height:1.7}.theory-deep-dive{border-top:1px solid var(--line-2);margin:12px 0 8px}.theory-deep-dive section{padding:36px 0 8px}.theory-deep-dive section+section{border-top:1px solid var(--line-1)}.theory-deep-dive section>p+p{margin-top:16px}.theory-practice{background:var(--tint-2);border:1px solid var(--line-2);border-left:4px solid var(--brand-line);margin:40px 0;padding:27px 30px}.theory-practice h2{margin:12px 0 22px;font-size:24px;line-height:1.3}.theory-practice ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.theory-practice li{background:var(--surface-2);border:1px solid var(--line-2);min-width:0;padding:15px 17px}.theory-practice li strong{letter-spacing:.09em;color:var(--brand);margin-bottom:9px;font:600 10px IBM Plex Mono,Noto Sans KR Variable,monospace;display:block}.theory-practice li span{color:var(--text-3);font-size:14px;line-height:1.6}.theory-sources{border-top:1px solid var(--line-2);margin-top:35px;padding-top:23px}.theory-sources h2{margin:0 0 12px;font-size:18px}.theory-sources ul{margin:0;padding-left:20px}.theory-sources li{font-size:13px;line-height:1.8}.theory-sources a{color:var(--brand)}@media (max-width:600px){.theory-practice{padding:22px 18px}.theory-practice ol{grid-template-columns:1fr}.theory-practice h2{font-size:21px}}.theory-sidebar>a,.theory-breadcrumb{color:var(--text-3)}.theory-note span{color:var(--warning)}.theory-index-shell{grid-template-columns:260px minmax(0,1fr);gap:54px;max-width:1400px;margin:auto;padding:54px 4vw 110px;display:grid}.theory-index-nav{border-right:1px solid var(--line-2);flex-direction:column;align-self:start;gap:4px;padding-right:24px;display:flex;position:sticky;top:20px}.theory-index-nav .theory-kicker{margin:0 0 18px 12px}.theory-index-nav a{color:var(--text-3);gap:12px;padding:10px 12px;font-size:13px;line-height:1.35;text-decoration:none;display:flex}:is(.theory-index-nav a:hover,.theory-index-nav a:focus-visible){background:var(--tint-3);color:var(--brand)}.theory-index-nav small{color:var(--brand-2);font:11px IBM Plex Mono,Noto Sans KR Variable,monospace}.theory-index-main{min-width:0}.theory-syllabus{border-bottom:1px solid var(--line-3);padding:0 0 54px;scroll-margin-top:24px}.theory-syllabus h2{letter-spacing:-.045em;margin:15px 0 20px;font-size:clamp(30px,4vw,46px);line-height:1.16}.theory-syllabus>p,.theory-part-heading p{color:var(--text-4);max-width:780px;font-size:16px;line-height:1.75}.theory-syllabus-route{font-weight:600;color:var(--text-2)!important}.theory-syllabus-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:30px;display:grid}.theory-syllabus-grid>div{border-top:2px solid var(--line-4);padding-top:12px}.theory-syllabus-grid h3{margin:0 0 8px;font-size:15px}.theory-syllabus-grid p{color:var(--text-4);margin:0;font-size:13px;line-height:1.65}.theory-part{padding-top:62px;scroll-margin-top:24px}.theory-part-heading h2{letter-spacing:-.045em;margin:10px 0;font-size:clamp(28px,3vw,38px)}.theory-part-heading p{margin:0 0 28px}.theory-chapter-card h3{letter-spacing:-.035em;margin:6px 0;font-size:22px}.theory-source a{overflow-wrap:anywhere}.theory-sidebar nav{display:block}.theory-sidebar-part{padding:0 0 14px}.theory-sidebar-part-title{color:var(--brand);padding:12px 12px 6px;font-size:12px;font-weight:700;line-height:1.4;text-decoration:none;display:block}.theory-sidebar-part>a:not(.theory-sidebar-part-title){color:var(--text-3);gap:11px;padding:9px 12px;font-size:12px;line-height:1.35;text-decoration:none;display:flex}.theory-sidebar-part>a.active{background:var(--tint-3);color:var(--brand);font-weight:700}.theory-sidebar-part>a:hover{color:var(--brand)}.theory-sidebar-back{color:var(--brand);margin-bottom:20px;padding:10px 0;font-size:12px;font-weight:700;text-decoration:none;display:block}@media (max-width:900px){.theory-index-shell{padding:32px 24px 80px;display:block}.theory-index-nav{white-space:nowrap;border-right:0;border-bottom:1px solid var(--line-2);flex-direction:row;margin-bottom:36px;padding:0 0 12px;position:static;overflow-x:auto}.theory-index-nav .theory-kicker{display:none}.theory-index-nav a{flex-shrink:0}.theory-sidebar{white-space:normal;border-right:0;border-bottom:1px solid var(--line-2);max-height:230px;padding:0 0 12px;display:block;overflow:auto}.theory-sidebar>a.theory-sidebar-back{margin:0;display:block}.theory-sidebar-part{padding-bottom:5px}}@media (max-width:600px){.theory-index-shell{padding:24px 18px 70px}.theory-syllabus-grid{grid-template-columns:1fr;gap:17px}.theory-part{padding-top:48px}.theory-chapter-card h3{font-size:19px}.theory-syllabus>p,.theory-part-heading p{font-size:14px}}.theory-sidebar-part summary{cursor:pointer;list-style:revert}.theory-sidebar-part summary:focus-visible{outline:2px solid var(--brand-line);outline-offset:2px}.theory-lesson-start{background:var(--tint-2);border-left:4px solid var(--brand-line);margin-top:32px;padding:24px 28px}.theory-lesson-start p,.theory-lesson-bridge p{color:var(--text-2);margin:12px 0;font-size:16px;line-height:1.8}.theory-lesson-start .theory-learning-goal{color:var(--text);font-size:19px;font-weight:600}.theory-lesson-start a{color:var(--brand);text-underline-offset:3px;font-size:13px;text-decoration:underline}.theory-equations{border:1px solid var(--line-3);background:var(--surface-2);min-width:0;margin-top:28px;padding:24px 28px}.theory-equations h3{margin:0 0 20px;font-size:20px}.theory-equations h4{margin:28px 0 12px;font-size:15px}.theory-equation+.theory-equation{border-top:1px solid var(--line-1);margin-top:22px;padding-top:18px}.theory-equation p,.theory-equation-note{color:var(--text-2);margin:12px 0 0;font-size:15px;line-height:1.8}.theory-math{max-width:100%;color:var(--text);padding:8px 4px;font-size:1.05rem;overflow-x:auto}.theory-math:focus-visible{outline:2px solid var(--brand-line);outline-offset:2px}.theory-math .katex-display{text-align:left;margin:.35em 0}.theory-math .katex-display>.katex{text-align:left}.theory-symbols{margin:0}.theory-symbols>div{border-top:1px solid var(--line-1);grid-template-columns:minmax(72px,auto) minmax(0,1fr);gap:18px;padding:10px 0;display:grid}.theory-symbols dt{color:var(--brand);min-width:0;font-size:15px}.theory-symbols dd{color:var(--text-2);margin:0;font-size:14px;line-height:1.65}.theory-content .theory-worked-example{border:1px solid var(--line-3);background:var(--tint-2);margin-top:36px;padding:28px}.theory-worked-example ol{margin:22px 0 0;padding-left:24px;list-style:decimal}.theory-worked-example li{margin-top:22px;padding-left:8px}.theory-worked-example li::marker{color:var(--brand);font-weight:600}.theory-worked-example li p{color:var(--text-2);margin:0;font-size:16px;line-height:1.8}.theory-lesson-bridge{border-top:1px solid var(--line-3);margin-top:36px;padding-top:24px}.theory-lesson-bridge h2{font-size:23px}@media (max-width:600px){.theory-lesson-start,.theory-equations,.theory-content .theory-worked-example{padding:20px 16px}.theory-math{font-size:.95rem}.theory-symbols>div{grid-template-columns:1fr;gap:6px}.theory-symbols dt{max-width:100%}.theory-worked-example li{padding-left:3px}.theory-worked-example li p,.theory-lesson-start p{font-size:15px}}.theory-deep-dive{border-bottom:1px solid var(--line-2);margin-top:32px;padding:18px 0}.theory-deep-dive>summary{cursor:pointer;color:var(--brand);font-size:16px;font-weight:600}.theory-deep-dive>summary:focus-visible{outline:2px solid var(--brand-line);outline-offset:4px}.theory-article-meta{flex-wrap:wrap;gap:10px;margin-top:22px;display:flex}.theory-textbook-badge,.theory-lab-chip{border:1px solid var(--line-3);background:var(--surface);min-height:44px;color:var(--text);align-items:center;gap:10px;padding:8px 14px;font-size:14px;text-decoration:none;transition:border-color .15s,background-color .15s;display:inline-flex}.theory-textbook-badge span{color:var(--text-3);font-family:IBM Plex Mono,Noto Sans KR Variable,monospace;font-size:11px}.theory-textbook-badge b{white-space:nowrap;font-weight:600}.theory-lab-chip{background:var(--brand-fill);border-color:var(--brand-line);color:#fff;font-weight:600}.theory-textbook-badge:hover{border-color:var(--brand-line);background:var(--tint-1)}.theory-lab-chip:hover{background:var(--brand-fill-2)}.theory-content .theory-exercises{border:1px solid var(--line-3);background:var(--surface);margin-top:36px;padding:28px}.theory-exercises>ol{margin:22px 0 0;padding-left:24px;list-style:decimal}.theory-exercises>ol>li{margin-top:26px;padding-left:8px}.theory-exercises>ol>li::marker{color:var(--brand);font-weight:600}.theory-exercises li p{color:var(--text-2);margin:0;font-size:16px;line-height:1.8}.theory-exercises details{border-top:1px solid var(--line-1);margin-top:12px}.theory-exercises summary{cursor:pointer;min-height:44px;color:var(--brand);justify-content:space-between;align-items:center;font-size:14px;font-weight:600;list-style:none;display:flex}.theory-exercises summary::-webkit-details-marker{display:none}.theory-exercises details[open] summary span{transform:rotate(45deg)}.theory-exercise-answer strong{color:var(--brand);margin-right:10px;display:inline-block}.theory-exercise-steps{margin:14px 0 6px;padding-left:22px;list-style:decimal}.theory-exercise-steps li{margin-top:14px;padding-left:6px}.theory-textbooks{max-width:1080px;margin:0 auto;padding:48px 32px 96px}.theory-textbook{padding-top:56px}.theory-textbook:first-child{padding-top:0}.theory-textbook h2{margin:10px 0 8px;font-size:24px;font-weight:600}.theory-textbook>p{color:var(--text-2);max-width:760px;font-size:16px;line-height:1.8}.theory-textbook-rows{border-top:1px solid var(--line-3);margin-top:24px}.theory-textbook-row{border-bottom:1px solid var(--line-1);grid-template-columns:minmax(200px,300px) 1fr;gap:24px;padding:20px 0;display:grid}.theory-textbook-chapter strong{color:var(--brand);margin-bottom:4px;font-family:IBM Plex Mono,Noto Sans KR Variable,monospace;font-size:13px;display:block}.theory-textbook-chapter span{font-size:16px;font-weight:600;line-height:1.5}.theory-textbook-lectures{flex-wrap:wrap;align-content:flex-start;gap:8px;display:flex}.theory-textbook-lectures a{border:1px solid var(--line-3);background:var(--surface);min-height:40px;color:var(--text);align-items:center;gap:8px;padding:6px 12px;font-size:14px;text-decoration:none;transition:border-color .15s,background-color .15s;display:inline-flex}.theory-textbook-lectures a:hover{border-color:var(--brand-line);background:var(--tint-1)}.theory-textbook-lectures a small{color:var(--text-3);font-family:IBM Plex Mono,monospace;font-size:11px}.theory-textbook-lectures p{color:var(--text-3);flex-basis:100%;margin:6px 0 0;font-size:14px;line-height:1.7}.theory-textbook-lectures p b{color:var(--warning);margin-right:8px;font-weight:600;display:inline-block}:lang(ko) :is(.theory-kicker,.theory-unit,.theory-section-index,.theory-breadcrumb,.theory-number,.theory-sidebar-part-title,.theory-diagram figcaption,.theory-note span,.theory-practice li strong,.theory-textbook-badge span){letter-spacing:0}:lang(ko) .theory-page :is(h1,h2){letter-spacing:-.03em}.theory-hero h1,.theory-article h1,.theory-page :is(h2,h3){font-weight:600}@media (max-width:900px){.theory-article-shell{flex-direction:column;display:flex}.theory-sidebar{border-bottom:0;border-top:1px solid var(--line-2);order:2;max-height:none;padding-top:16px}}@media (max-width:600px){.theory-content .theory-exercises{padding:20px 16px}.theory-textbooks{padding:32px 18px 72px}.theory-textbook-row{grid-template-columns:1fr;gap:12px}.theory-diagram{padding:12px}.theory-diagram svg text{font-size:20px}.theory-math{scrollbar-width:thin}}
