@font-face{font-family:"Noto Sans KR";src:url("../fonts/NotoSansKR-Variable.ttf") format("truetype");font-weight:100 900;font-display:swap}
:root{--ink:#293d50;--muted:#697b8a;--line:#e3e9ee;--blue:#eaf0f5;--accent:#426785;--paper:#fff;--side:#f7f9fb;color-scheme:light;font-family:"Noto Sans KR",'Malgun Gothic',sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:15px}button,input,select{font:inherit}button,a,summary,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #5992bb;outline-offset:4px;border-radius:4px}svg{width:20px;height:20px;flex-shrink:0}button:hover{color:#244f71}small{font-size:12px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:700}.header{height:88px;position:sticky;top:0;z-index:20;background:#fffffffa;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 34px;gap:36px}.brand{display:flex;gap:13px;align-items:center;font-size:20px;letter-spacing:-.4px;min-width:250px}.brand b{font-weight:400;color:#708496}.brand small{display:block;color:var(--muted);font-size:11px;letter-spacing:.3px;margin-top:5px}.brand-icon{width:40px;height:42px;display:grid;place-items:center;background:#2e485f;border-radius:11px;color:white}.brand-icon svg{width:25px;height:25px}.search{margin-left:auto;display:flex;align-items:center;gap:10px;width:320px;background:#f6f8fa;border:1px solid var(--line);border-radius:8px;padding:11px 14px;color:var(--muted);font-size:13px}.search small{margin-left:auto;font-size:10px;border:1px solid #dce3e9;border-radius:4px;padding:2px 5px}.backup{display:flex;align-items:center;gap:8px;font-size:13px}.backup small{color:var(--muted);font-size:10px}.mobile-menu{display:none}.layout{display:grid;grid-template-columns:264px minmax(0,1fr) 240px;max-width:1680px;margin:auto;align-items:start}.sidebar{background:var(--side);border-right:1px solid var(--line);position:sticky;top:88px;height:calc(100dvh - 88px);overflow-y:auto;padding:26px 18px;display:flex;flex-direction:column}.main-nav{display:grid;gap:5px;border-bottom:1px solid var(--line);padding-bottom:24px}.main-nav a,.main-nav button{display:flex;align-items:center;gap:13px;padding:11px 14px;text-align:left;border-radius:7px;color:#647787;font-size:14px}.main-nav .selected{background:#e8eef4;color:#304e68;font-weight:700}.main-nav svg{width:19px;height:19px}.curriculum-label{display:flex;justify-content:space-between;padding:27px 10px 16px;font-size:12px;font-weight:700}.curriculum-label span{font-size:9px;letter-spacing:1.1px;color:#8b99a4;font-weight:400}.curriculum{font-size:12px;line-height:1.7}.curriculum details{margin:3px 0}.curriculum summary{padding:11px 7px;cursor:pointer;list-style:none;position:relative;padding-right:15px}.curriculum summary:after{content:'›';position:absolute;right:3px;top:10px;color:#84929f}.curriculum details[open]>summary:after{transform:rotate(90deg)}.curriculum>details>summary{font-weight:700;font-size:13px}.curriculum>details>summary span{color:#8496a4;margin-right:5px;font-size:11px}.curriculum details details{margin-left:9px}.curriculum .chapter-current{color:#365775;font-weight:700}.concepts{border-left:1px solid #dbe3eb;margin:4px 0 9px 7px;padding-left:8px}.curriculum button,.concepts a{display:block;text-align:left;width:100%;font-size:11px;padding:9px 8px;color:#758492;line-height:1.5;border-radius:5px}.concepts .current{background:#e6eef5;color:#335675;font-weight:700;display:flex;justify-content:space-between;align-items:center}.concepts .current span{font-size:7px}.sidebar-note{margin-top:auto;padding:48px 12px 0;font-size:11px;color:#748391}.sidebar-note small{display:block;font-size:10px;margin-top:8px;color:#8996a1}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#66849b;margin-right:7px}.sidebar-note .status-dot{background:#8aa89a}main{padding:35px 48px 0;min-width:0;max-width:1000px;width:100%;margin:auto}.breadcrumb{font-size:10px;line-height:1.8;color:#7b8996;margin-bottom:35px;display:flex;flex-wrap:wrap;gap:8px}.breadcrumb span{color:#a3afb9}.eyebrow{display:flex;align-items:center;gap:10px;font-size:9px;letter-spacing:1.5px;color:#7c8d9b;margin-bottom:17px}.eyebrow>span:first-child{letter-spacing:.6px}.priority{letter-spacing:0;font-size:11px;color:#58705d;background:#eef3ed;border:1px solid #e0e9de;padding:4px 9px;border-radius:5px;margin-left:6px}.title-row{display:flex;justify-content:space-between;gap:14px;align-items:start}h1{font-size:35px;letter-spacing:-1.2px;line-height:1.3;margin-bottom:10px}h1 span{font-weight:400}.subtitle{font-size:16px;color:#7b8a96;margin-bottom:25px}#bookmark{border:1px solid var(--line);border-radius:7px;padding:9px;margin-top:4px;display:grid;place-items:center}#bookmark[aria-pressed=true]{color:#426785;background:#eaf1f6}#bookmark[aria-pressed=true] svg{fill:#c4d6e5}.study-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:30px;color:#83909a;font-size:11px}.study-meta label{display:flex;align-items:center;background:#f3f6f9;border:1px solid #e2e8ee;border-radius:6px;padding:5px 9px;color:#52728b;flex-shrink:0}.study-meta select{border:0;background:transparent;color:inherit;font-size:11px;cursor:pointer;max-width:105px}.completed{color:#357159!important;background:#edf6f0!important}.prose{font-size:15px;line-height:1.95;overflow-wrap:anywhere;word-break:keep-all}.prose p{margin:0 0 18px}.prose strong{font-weight:700;color:#30495f}.prose ul,.prose ol{padding-left:22px;margin:16px 0}.prose li{padding:3px 0 3px 3px}.prose blockquote{margin:20px 0;padding:13px 17px;background:#f5f7fa;border-left:3px solid #97aebe;font-size:14px}.prose blockquote p:last-child{margin:0}.prose code{font-size:.88em;background:#edf1f5;padding:2px 5px;border-radius:4px;font-family:Consolas,monospace}.overview{background:#f5f8fb;border:1px solid #e1e9f0;border-radius:10px;padding:25px 28px 20px}.overview-heading{display:flex;gap:12px;align-items:center;margin-bottom:19px}.overview-heading>span{font-size:10px;letter-spacing:1.8px;color:#62829b;font-weight:700}.overview-heading small{font-size:12px;color:#5f798e}.overview blockquote{background:#eaf0f6;border-left:2px solid #829eb5;padding:12px 16px}.overview>p:first-of-type{font-size:15px}.overview .equation{background:#fff;border:1px solid #e2e9f0;border-radius:7px;margin:15px 0 20px}.overview ul{margin-bottom:0;font-size:13px;line-height:1.9}.overview li{margin:5px 0}.equation{overflow-x:auto;overflow-y:hidden;max-width:100%;padding:14px 12px;margin:17px 0;background:#f8fafc;border-radius:6px;word-break:normal;overflow-wrap:normal}.katex-display{margin:.35em 0;font-size:1.05em}.katex-display>.katex{white-space:nowrap}.detail-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:31px 0 17px;border-bottom:1px solid var(--line);font-size:12px}.detail-tools>span{font-weight:700}.detail-tools small{display:block;font-size:10px;color:#8b98a2;font-weight:400;margin-top:5px}.detail-tools>div{display:flex;gap:5px;align-items:center;color:#9aa6ae;white-space:nowrap}.detail-tools button{font-size:11px;padding:7px 2px;color:#718697}.lesson-section{border-bottom:1px solid var(--line);scroll-margin-top:110px}.lesson-section>summary{display:flex;align-items:center;gap:15px;list-style:none;cursor:pointer;padding:23px 0}.lesson-section summary::-webkit-details-marker{display:none}.section-number{font-size:11px;color:#8c9daa;align-self:flex-start;padding-top:5px;font-variant-numeric:tabular-nums}.lesson-section h2{font-size:18px;letter-spacing:-.3px;margin:0 0 4px}.lesson-section>summary small{color:#8b98a3;font-size:11px}.chevron{margin-left:auto;color:#8496a5;transition:transform .2s}.lesson-section[open]>summary .chevron{transform:rotate(180deg)}.section-body{padding:1px 0 24px 30px}.section-body h3{font-size:16px;margin:27px 0 16px}.section-body h3:first-child{margin-top:6px}.section-body>p:last-child{margin-bottom:0}#overview{scroll-margin-top:110px}#main{scroll-margin-top:105px}.table-scroll{overflow-x:auto;max-width:100%;margin:20px 0}table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.8;text-align:left}th{background:#eff3f7;color:#4b667c;font-weight:700}th,td{padding:13px 12px;border-bottom:1px solid var(--line);min-width:90px}td:first-child{min-width:115px}.answer,.source-meta,.original-flow{border:1px solid var(--line);border-radius:7px;margin:18px 0;padding:0 16px;font-size:13px}.answer summary,.source-meta summary,.original-flow summary{cursor:pointer;padding:13px 0;color:#526d83;font-weight:700}.answer summary span{float:right}.answer[open] summary{border-bottom:1px solid var(--line);margin-bottom:15px}.muted{color:var(--muted)}pre{overflow:auto;font-size:10px;background:#f7f9fb;padding:16px;line-height:1.9}pre code{padding:0!important;background:none!important;white-space:pre}.flow{margin:25px 0;padding:22px;background:#f7f9fb;border:1px solid var(--line);border-radius:8px;line-height:1.6}.flow figcaption{font-size:9px;letter-spacing:1.5px;color:#6d879b}.flow figcaption span{float:right;font-size:10px;letter-spacing:0;color:#8a98a4}.flow-input{text-align:center;padding-top:20px;font-size:12px}.flow-input b{font-size:18px;margin-left:7px}.branches{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.branches>div{text-align:center}.branches small{display:block;color:#8b9aa6;font-size:11px;margin-bottom:7px}.branches b{display:block;padding:10px 4px;border-radius:6px;font-size:22px;background:#e7eef5;color:#4d708d}.branches b span{display:block;font-size:10px;font-weight:400}.branches .k{background:#ececf6;color:#7b719b}.branches .v{background:#e6f0ec;color:#588777}.flow-process{display:grid;grid-template-columns:2fr 1fr;gap:12px;font-size:12px}.score-path{display:grid;text-align:center;color:#536d82}.score-path b{font-weight:400}.score-path span{color:#9baeba}.value-path{border-left:1px dashed #b5c8bd;display:grid;align-content:center;text-align:center;color:#588777}.value-path span{font-size:11px}.flow-output{margin-top:15px;border-top:1px solid #dce5eb;padding-top:16px;text-align:center;font-size:12px}.flow-output span{margin:0 10px;color:#8a9ca8}.reference{display:block;padding:12px 0;border-bottom:1px solid var(--line)}.reference strong{display:block;font-size:13px;font-weight:500;line-height:1.6}.reference strong span{float:right;color:#8c9eab}.reference>span{display:block;font-size:11px;color:#8795a0;margin-top:4px;line-height:1.8}.prose a:not(.reference){color:#426f92;text-decoration:underline;text-underline-offset:3px;word-break:break-word}.source-note{font-size:11px;color:#84929d;margin-top:20px!important}.right-panel{padding:40px 25px 0 13px;min-width:0}.right-sticky{position:sticky;top:128px}.right-panel{position:sticky;top:88px;max-height:calc(100dvh - 88px);overflow:auto}.panel-label{font-size:9px;color:#97a3ad;letter-spacing:1.6px;margin:0 0 12px}.right-panel h2{font-size:12px;margin:0 0 18px}.page-toc{display:grid;border-left:1px solid var(--line);margin-bottom:30px}.page-toc a{display:flex;gap:12px;padding:9px 0 9px 16px;font-size:11px;color:#8997a2;border-left:2px solid transparent;margin-left:-1px}.page-toc a span{font-size:9px;color:#a1adb6}.page-toc .active{border-left-color:#6687a0;color:#3e6481;background:linear-gradient(90deg,#f0f5f9,transparent)}.related{border-top:1px solid var(--line);padding-top:24px}.related p{font-size:10px;color:#94a1ab;margin:18px 0 10px}.tags{display:flex;gap:6px;flex-wrap:wrap}.tags button{font-size:10px;padding:5px 8px;border:1px solid #e4e9ee;border-radius:5px;color:#748897;background:#fbfcfd}.next{font-size:11px;display:flex;justify-content:space-between;width:100%;padding:7px 0;text-align:left;color:#607a8f}.next span{color:#9baab6}.side-references{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.side-references h2{margin-bottom:5px}.side-references .reference{border:0;padding:9px 0}.side-references .reference strong{font-size:10px;color:#698297}.side-references .reference>span{display:none}.reading-note{font-size:10px;line-height:1.9;color:#9aa7b0;margin-top:28px}.page-footer{display:flex;justify-content:space-between;align-items:center;padding:30px 0 40px;gap:15px;font-size:12px;color:#7f919f}.page-footer small{display:block;font-size:10px;margin-top:5px;color:#a1adb6}.page-footer button{display:flex;gap:7px;align-items:center;border:1px solid #dce5ec;border-radius:6px;padding:10px 13px;font-size:11px;color:#52728b}.page-footer svg{width:16px;height:16px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#2f495f;color:#fff;font-size:13px;border-radius:8px;box-shadow:0 6px 24px #293d5020;z-index:40;max-width:calc(100% - 32px);width:max-content;opacity:0;pointer-events:none;transition:opacity .2s}#toast.visible{opacity:1}.skip{position:fixed;top:-100px;left:16px;padding:12px;background:white;z-index:100}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){main{padding-left:60px;padding-right:60px}.layout{grid-template-columns:272px minmax(0,1fr) 256px}.prose{font-size:16px}}
@media(max-width:1190px){.layout{grid-template-columns:230px minmax(0,1fr)}.right-panel{display:none}main{padding:32px 40px 0}.header{padding:0 24px}.sidebar{padding:24px 14px}}
@media(max-width:800px){.header{height:72px;padding:0 18px;gap:14px}.brand{min-width:0;font-size:17px}.brand-icon{width:33px;height:35px;border-radius:8px}.brand small{font-size:9px}.search,.backup{display:none}.mobile-menu{display:block;margin-left:auto;font-size:12px}.layout{display:block}.sidebar{display:none;position:fixed;top:72px;left:0;width:min(300px,90vw);height:calc(100dvh - 72px);z-index:19;box-shadow:12px 0 30px #293d5014}.sidebar.is-open{display:flex}main{padding:25px 24px 0}.breadcrumb{margin-bottom:25px;font-size:9px}h1{font-size:29px}.study-meta{align-items:start}.study-meta>span{max-width:60%;line-height:1.7}.overview{padding:22px}.prose{font-size:14px}.section-body{padding-left:0}.lesson-section,#overview{scroll-margin-top:90px}.detail-tools small{display:none}.flow{margin-left:0;margin-right:0}}
@media(max-width:420px){main{padding:22px 17px 0}h1{font-size:26px}.title-row{gap:5px}.overview{padding:19px 17px}.overview-heading{gap:8px}.overview-heading>span{font-size:9px}.overview ul{padding-left:17px}.katex-display{font-size:.91em}.flow{padding:15px}.flow figcaption span{float:none;display:block;margin-top:4px}.page-footer{align-items:flex-start}.section-body table{font-size:11px}.detail-tools{font-size:11px}.detail-tools button{font-size:10px}.study-meta>span{max-width:54%}.brand{font-size:16px}.brand-icon{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Phase 1: data-driven navigation. Approved layout and type rules above retained. */
.related-links .next>span:first-child{min-width:0;overflow-wrap:anywhere}.right-sticky{min-width:0}.prose pre{font-size:12px}.prose pre code{font-size:inherit}main:focus-visible{outline:none}
.curriculum>details>summary{padding-right:18px}.curriculum details details>summary{padding-right:17px}.concepts a{display:flex;gap:7px;align-items:center;justify-content:space-between}.concepts a>span{min-width:0}.concepts a.current>span{font-size:11px}.pending-badge{font-size:9px!important;font-weight:400;white-space:nowrap;color:#7d8994;background:#edf0f3;border-radius:4px;padding:2px 5px;flex-shrink:0;letter-spacing:0}.concepts a:hover{background:#edf2f7}.breadcrumb button{font-size:inherit;padding:0;text-align:left;color:inherit;line-height:inherit}.breadcrumb button:hover{text-decoration:underline}.related-links .next{align-items:start;gap:7px;line-height:1.8}.related-links .next>span:first-child{color:#607a8f}.page-toc a{line-height:1.6}.side-references .reference strong{overflow-wrap:anywhere}.lesson-pagination{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;border-top:1px solid var(--line);margin-top:25px;padding-top:24px}.lesson-pagination a{padding:12px 0;min-width:0}.lesson-pagination small{display:block;font-size:11px;color:#8093a2;margin-bottom:8px}.lesson-pagination strong{font-size:13px;line-height:1.7;font-weight:500;overflow-wrap:anywhere}.lesson-pagination .following{text-align:right}.lesson-pagination a:hover strong{color:#315f82;text-decoration:underline}.pending-content{padding:35px 26px;border:1px solid var(--line);border-radius:9px;background:#f7f9fb;line-height:1.9;margin-bottom:28px}.pending-content h1{font-size:25px}.pending-content h2{font-size:19px;margin-top:18px}.pending-content p{font-size:14px;color:#758593}.pending-content a{color:#416d8e;font-size:14px;text-decoration:underline;text-underline-offset:4px}select:disabled{cursor:default;opacity:.6}.source-meta .prose{padding:0 0 15px;font-size:12px}.mobile-related{display:none}.prose>pre{max-width:100%}.prose .answer{overflow-wrap:anywhere}.subtitle{line-height:1.6}.title-row>div{min-width:0}h1{overflow-wrap:anywhere}.study-meta>span{line-height:1.8}.main-nav [data-demo]{position:relative}.sidebar-note{padding-top:30px}
@media(max-width:1190px){.mobile-related{display:block;border-top:1px solid var(--line);padding:24px 0 40px}.mobile-related h2{font-size:16px}.mobile-related p{font-size:12px;color:#81929f;margin:18px 0 8px}.mobile-related .related-links{display:flex;gap:10px 20px;flex-wrap:wrap}.mobile-related .next{width:auto;max-width:100%;font-size:12px}.mobile-related:has(.related-links:empty){display:none}}
@media(max-width:800px){.lesson-pagination{gap:16px}.lesson-pagination strong{font-size:12px}.pending-content{padding:24px 19px}.prose .equation{text-align:left}.right-panel{display:none}.page-footer small{font-size:9px}.section-body pre{font-size:10px}.study-meta>span{max-width:60%}}
/* Phase 2: local search and personal records; existing lesson layout unchanged. */
body.has-study-dialog{overflow:hidden}.study-dialog{width:min(700px,calc(100vw - 40px));max-height:calc(100dvh - 48px);padding:0;border:1px solid #dce5ed;border-radius:13px;background:#fff;color:var(--ink);box-shadow:0 24px 90px #23354b30;overflow:auto}.study-dialog::backdrop{background:#263c5059;backdrop-filter:blur(3px)}.study-dialog [hidden]{display:none!important}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:25px 27px 17px}.dialog-heading small{font-size:9px;letter-spacing:1.6px;color:#8196a7}.dialog-heading h2{font-size:21px;margin:8px 0 0}.dialog-close{width:32px;height:32px;border:1px solid var(--line);border-radius:6px;color:#6d8395;font-size:15px}.search-field{margin:0 27px;display:flex;align-items:center;border:1px solid #cedce7;border-radius:7px;background:#f7f9fb;padding:0 13px}.search-field:focus-within{outline:2px solid #7fa3be;outline-offset:2px}.search-field input{width:100%;min-width:0;padding:14px 0;border:0;outline:none;background:transparent;font-size:14px;color:var(--ink)}.search-field input:focus-visible{outline:0}.search-field kbd{font:10px "Noto Sans KR",sans-serif;border:1px solid var(--line);border-radius:4px;padding:3px 5px;color:#8496a3}.search-options{display:flex;gap:7px;padding:16px 27px 10px}.search-options button{font-size:12px;border-radius:6px;padding:7px 12px;color:#708495;border:1px solid var(--line)}.search-options button[aria-pressed=true]{background:var(--blue);color:#355b78;border-color:#d6e2ec}.search-options span{font-size:10px;margin-left:5px}.resume-link{display:block;color:#597a93;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.sidebar-resume{padding:10px 0;margin-bottom:12px;border-bottom:1px solid var(--line)}#search-resume{margin:0 27px;padding:8px 0}.search-count{font-size:11px;color:#8294a2;margin:6px 27px 10px}.search-results{max-height:48dvh;overflow:auto;overscroll-behavior:contain;padding:0 15px}.search-result{display:block;padding:16px 13px;border:1px solid transparent;border-bottom-color:#edf1f5;border-radius:7px;line-height:1.7}.search-result[aria-selected=true]{background:#eef4f9;border-color:#dbe6ef}.search-result:hover{background:#f2f6fa}.result-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.result-top strong{font-size:14px;font-weight:700;overflow-wrap:anywhere}.result-badges{display:flex;align-items:center;gap:7px;flex-shrink:0;font-size:12px;color:#6d8aa1}.ready-badge{font-size:9px;color:#4b7362;background:#edf4ef;border-radius:4px;padding:2px 5px;white-space:nowrap}.result-terms{display:block;font-size:11px;color:#6d8293;margin-top:4px;overflow-wrap:anywhere}.result-snippet{display:block;font-size:12px;color:#526a7d;margin:7px 0;overflow-wrap:anywhere}.result-chapter{font-size:10px;color:#8a9aa7}.search-empty{text-align:center;font-size:13px;color:#7c8f9e;padding:32px 27px;line-height:1.9}.dialog-footer{padding:14px 27px;display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#8a9aa7;background:#f8fafb;border-top:1px solid var(--line);margin-top:12px}.backup-dialog{width:min(580px,calc(100vw - 40px))}.dialog-intro{font-size:13px;color:#738797;line-height:1.9;margin:0 27px 20px}.backup-section{padding:20px 27px;border-top:1px solid var(--line)}.backup-section h3{font-size:15px;margin:0 0 12px}.backup-section p{font-size:12px;line-height:1.9;color:#738797}.action-button{background:#355873;color:white;border:1px solid #355873;border-radius:6px;padding:10px 14px;font-size:12px}.action-button:hover{color:#fff;background:#284760}.action-button:disabled{background:#e4ebf0;border-color:#e4ebf0;color:#91a0ac;cursor:not-allowed}.file-label{font-size:12px;display:block;margin:16px 0 9px}.file-label small{font-size:10px;color:#8a9ca9;margin-left:7px}#import-records{display:block;max-width:100%;font-size:12px;color:#6a8193}#import-records::file-selector-button{font:inherit;background:#f2f6fa;border:1px solid #d9e4ed;border-radius:6px;color:#52728b;padding:8px 12px;margin-right:10px;cursor:pointer}#backup-message{min-height:20px;margin:13px 0 0}.error-message{color:#a05742!important}.restore-preview{padding:19px;margin-top:18px;background:#f5f8fb;border:1px solid var(--line);border-radius:7px}.restore-preview dl{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px;font-size:12px;line-height:1.8}.restore-preview dt{color:#7c8d9b}.restore-preview dd{margin:0;overflow-wrap:anywhere}.restore-consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.8;margin-top:22px}.restore-consent input{accent-color:#426785;margin:4px 0}.restore-actions{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:16px}.restore-actions>button:not(.action-button){font-size:12px;color:#708596;padding:10px}.storage-warning{position:fixed;z-index:30;bottom:16px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:640px;padding:14px 20px;background:#fff8ed;color:#805b35;border:1px solid #e8dac4;border-radius:8px;font-size:12px;line-height:1.8;box-shadow:0 4px 20px #23354b15}.storage-warning[hidden]{display:none}
@media(max-width:800px){.header #open-search,.header #open-backup{display:flex;flex-shrink:0;justify-content:center;width:32px;height:34px;padding:6px;margin:0;border:1px solid var(--line);border-radius:6px;background:#f7f9fb}.header #open-search>span,.header #open-search>small,.header #open-backup>span{display:none}.header .brand{flex:1;min-width:0}.header .mobile-menu{margin-left:0;flex-shrink:0;padding:6px 0}.header{gap:9px}.study-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:10px}.dialog-heading{padding:20px 18px 15px}.dialog-heading h2{font-size:19px}.search-field{margin:0 18px}.search-field input{font-size:14px}.search-options{padding-left:18px;padding-right:18px}#search-resume,.search-count{margin-left:18px;margin-right:18px}.search-results{padding:0 8px;max-height:45dvh}.search-result{padding:13px 10px}.dialog-footer{padding:12px 18px;font-size:9px}.result-top strong{font-size:13px}.result-terms{font-size:10px}.backup-section{padding:20px 18px}.dialog-intro{margin-left:18px;margin-right:18px}.restore-preview{padding:15px}.restore-preview dl{grid-template-columns:70px minmax(0,1fr)}.result-badges{gap:4px}.dialog-heading small{font-size:8px}}
@media(max-width:420px){.header{padding:0 12px;gap:8px}.header .brand{font-size:14px;letter-spacing:-.5px}.header .brand small{font-size:8px}.header .mobile-menu{font-size:11px}.search-field kbd{display:none}.dialog-heading h2{font-size:18px}.result-top{gap:7px}}
