:root{--blue:#2458d3;--blue-deep:#163a91;--ink:#182338;--muted:#697489;--line:#e4e9f1;--paper:#f7f9fc;--soft:#edf3ff;--radius:16px;--max:1180px;font-family:"Pretendard","Apple SD Gothic Neo","Malgun Gothic","맑은 고딕",Arial,sans-serif;color:var(--ink);font-synthesis:none;line-height:1.65;word-break:keep-all;overflow-wrap:break-word}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#fff}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default}button svg,a svg{flex-shrink:0}button{border:0;background:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #638df1;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.045em}svg{vertical-align:middle}::selection{background:#d9e6ff}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;z-index:100;background:var(--blue);color:#fff;padding:12px 20px;border-radius:8px}.skip-link:focus{top:8px}
.site-header{height:82px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.97);position:sticky;top:0;z-index:20}.nav-wrap{max-width:var(--max);height:100%;margin:auto;display:flex;align-items:center;gap:70px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-.06em;font-weight:800;white-space:nowrap}.brand-mark{width:35px;height:35px;background:var(--blue);color:#fff;border-radius:10px;display:inline-flex;justify-content:center;align-items:center;font-family:Georgia,serif;font-style:italic;font-size:30px;line-height:1;padding-right:1px}.brand-mark span{font-size:27px;color:#bcd0ff;align-self:flex-end;padding-bottom:6px}.brand-mark.small{width:29px;height:29px;font-size:25px;border-radius:8px}.site-header nav{display:flex;gap:35px;height:100%;align-items:center;font-size:14px;font-weight:700;color:#667086}.site-header nav a{height:100%;display:flex;gap:7px;align-items:center;position:relative}.site-header nav a:hover,.site-header nav a[aria-current]{color:var(--blue)}.site-header nav a[aria-current]:after{content:"";height:3px;position:absolute;left:0;right:0;bottom:0;border-radius:4px 4px 0 0;background:var(--blue)}.header-note{margin-left:auto;color:#8b94a5;font-size:12px}
.hero{max-width:var(--max);margin:auto;min-height:530px;padding:67px 0 56px;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:56px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:.12em;color:var(--blue);display:flex;gap:8px;align-items:center}.hero .eyebrow{font-size:12px;letter-spacing:.015em;margin-bottom:20px}.eyebrow>span:empty{width:6px;height:6px;border-radius:50%;background:var(--blue)}.hero h1{font-size:43px;line-height:1.38;font-weight:800;letter-spacing:-.075em}.hero h1>span{color:var(--blue)}.hero-description{margin:20px 0 26px;color:var(--muted);font-size:14px;line-height:1.9}.search-form{height:60px;border:1.5px solid #90adea;border-radius:12px;display:flex;align-items:center;gap:12px;padding:7px 8px 7px 17px;background:white;box-shadow:0 4px 14px #2458d308}.search-form>svg{color:#7e8da7;flex-shrink:0}.search-form input{width:100%;min-width:0;border:0;background:transparent;outline:none;font-size:14px;color:var(--ink);height:100%}.search-form:focus-within{outline:3px solid #d8e5ff;border-color:var(--blue)}.search-form input:focus-visible{outline:0}.search-form input::placeholder{color:#8791a4}.search-form button{display:flex;gap:8px;align-items:center;white-space:nowrap;padding:10px 17px;background:var(--blue);color:white;border-radius:8px;font-size:13px;font-weight:700;height:43px}.search-form button:hover,.primary-button:hover{background:var(--blue-deep)}.search-suggestions{display:flex;align-items:center;gap:14px;font-size:11px;margin-top:13px;color:#738198;flex-wrap:wrap}.search-suggestions>span{font-weight:700;color:#788297}.search-suggestions a:hover{color:var(--blue);text-decoration:underline}.hero-stats{display:flex;align-items:center;gap:15px;color:#8791a2;font-size:11px;margin-top:30px}.hero-stats strong{font-size:14px;color:#4e5e79;margin-right:3px}.hero-stats i{height:11px;width:1px;background:#dce2ed}
.hero-art{height:355px;position:relative;padding:17px 18px 0 10px}.graph-paper{height:320px;border:1px solid #dce6f6;border-radius:10px;transform:rotate(-4deg);background-color:#f8faff;background-image:linear-gradient(#e5ecf7 1px,transparent 1px),linear-gradient(90deg,#e5ecf7 1px,transparent 1px);background-size:22px 22px;box-shadow:0 16px 40px #2b50800a;position:relative}.paper-label{display:flex;gap:8px;align-items:center;color:#6c87ae;font-size:8px;letter-spacing:.12em;padding:20px 22px}.paper-label>span:last-child{margin-left:auto}.blue-dot{width:5px;height:5px;border-radius:100%;background:#5280d7}.triangle-graphic{position:absolute;width:84%;height:205px;top:44px;left:8%}.paper-equation{position:absolute;bottom:40px;width:100%;display:flex;align-items:center;justify-content:center;gap:10px;font-size:27px;font-family:Georgia,serif;color:#244c99;font-style:italic}.fraction{display:inline-flex;flex-direction:column;font-size:17px;line-height:1.2;text-align:center;font-style:normal}.fraction span:first-child{border-bottom:1px solid #244c99;padding:0 5px 2px}.fraction span+span{padding-top:2px}.paper-caption{position:absolute;bottom:13px;text-align:center;width:100%;color:#7c91b3;font-size:9px}.floating-note{position:absolute;background:white;border:1px solid #e1e8f4;box-shadow:0 6px 18px #243b5e0b;border-radius:10px;padding:12px 19px;font-size:13px;transform:rotate(5deg)}.floating-note span{display:block;font-size:10px;color:#8390a5;margin-top:3px}.note-one{right:-13px;top:-3px;font-weight:700;color:#3d65b1}.note-one span{font-weight:400;color:#6884b6}.note-two{left:-20px;bottom:-4px;transform:rotate(-3deg);font-family:Georgia,serif;font-size:21px;color:#596984}.note-two span{font-family:Arial,sans-serif;font-size:9px}
.section{max-width:var(--max);margin:0 auto;padding:42px 0}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}.section-heading h2{font-size:25px;font-weight:750;line-height:1.5;margin-top:7px}.section-heading p:not(.eyebrow){font-size:13px;color:var(--muted);margin-top:6px}.text-link{display:flex;align-items:center;gap:8px;color:#63718a;font-size:12px;font-weight:700;white-space:nowrap}.text-link svg{width:15px}.text-link:hover{color:var(--blue)}.categories-section{border-top:1px solid var(--line);padding-top:35px}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.category-card{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;padding:17px 20px;gap:16px;transition:background .15s,border-color .15s,transform .15s}.category-card:hover{border-color:#a9bfe9;background:#fafcff;transform:translateY(-2px)}.category-icon{width:44px;height:44px;border-radius:12px;background:#eef3fe;color:#557cc3;font-family:Georgia,serif;display:grid;place-items:center;font-size:26px;flex-shrink:0}.cat-1,.cat-5{background:#f0effc;color:#7d73b8}.cat-2,.cat-6{background:#eaf5f2;color:#589d8d}.cat-4,.cat-7{background:#fdf3e7;color:#bf9a60}.cat-8{background:#f1f0fd;color:#897cc3}.category-card strong{display:block;font-size:14px;font-weight:700}.category-card small{display:block;font-size:11px;color:#9199a9;margin-top:1px}.category-card>svg{margin-left:auto;color:#a5b0c1;width:16px}.getting-started{padding-top:26px}.formula-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.formula-card{border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;min-width:0;display:flex;flex-direction:column;background:white;transition:border-color .15s,box-shadow .15s}.formula-card:hover{border-color:#b3c7ed;box-shadow:0 5px 20px #1f3b6808}.card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:8px}.category-label{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:#6a7c97}.mini-symbol{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;background:#f0f4fa;color:#6681ac;border-radius:6px;font-family:Georgia,serif;font-size:15px}.icon-button{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;color:#a0adbf;padding:3px}.icon-button:hover{background:var(--soft);color:var(--blue)}.bookmark.is-saved{color:var(--blue);background:var(--soft)}.bookmark.is-saved svg{fill:#dce7ff;stroke:var(--blue)}.card-link{display:flex;flex-direction:column;flex:1;min-width:0}.card-link h3{font-size:17px;line-height:1.65;font-weight:750;letter-spacing:-.035em;margin-bottom:8px}.card-description{color:#8590a2;font-size:12px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:19px;min-height:43px}.card-formula{border-radius:8px;background:#f6f8fc;padding:15px 12px;text-align:center;font-family:Georgia,"Malgun Gothic",serif;color:#465e83;font-size:16px;white-space:nowrap;overflow-x:auto;margin-top:auto;min-height:55px}.card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:17px;gap:10px}.difficulty{font-size:10px;line-height:1.6;padding:3px 9px;background:#edf6f1;color:#57816d;border-radius:6px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.difficulty:before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor}.difficulty-1{color:#628598;background:#eef5f8}.difficulty-2{color:#8c7ab4;background:#f2eff9}.difficulty-3{color:#a37b50;background:#f9f1e8}.learn-link{display:flex;align-items:center;gap:7px;font-size:10px;font-weight:700;color:#7888a1}.learn-link svg{width:13px}.learn-link:hover{color:var(--blue)}
.daily-section{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:30px;margin-top:20px;margin-bottom:25px;padding:34px 40px;background:#f0f5ff;border:1px solid #e3ebfb;border-radius:16px}.daily-section h2{font-size:24px;margin:8px 0}.daily-section p{font-size:13px;color:#6d7f9e;max-width:520px;line-height:1.8}.primary-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;font-size:12px;font-weight:700;padding:12px 17px;border-radius:8px;background:var(--blue);color:white;border:1px solid var(--blue)}.daily-section .primary-button{margin-top:20px}.daily-formula{font-family:Georgia,"Malgun Gothic",serif;font-size:28px;color:#3961a1;text-align:center;padding:25px 15px;overflow-x:auto;white-space:nowrap;min-width:0}.learning-strip{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);padding:30px 0 52px;margin-top:30px;gap:30px}.learning-strip>div{position:relative;padding-left:46px}.learning-strip>div>span{position:absolute;left:0;top:2px;color:#89a1c6;font-family:Georgia,serif;font-size:21px}.learning-strip h3{font-size:14px}.learning-strip p{font-size:12px;color:#909bad;margin-top:5px}.site-footer{border-top:1px solid var(--line);padding:32px max(24px,calc((100% - var(--max))/2)) 38px;display:flex;align-items:center;gap:40px;background:#fbfcfe}.site-footer .brand{font-size:18px}.site-footer p{font-size:11px;color:#929bad;line-height:1.9}.site-footer>div>p{margin-top:8px}.site-footer>p{margin-left:auto}.site-footer>p>span{font-size:10px}.site-footer>a{font-size:11px;color:#77869c;display:flex;gap:8px;align-items:center}.site-footer>a svg{width:14px}
.page-container{max-width:var(--max);margin:auto;padding:44px 0 70px;min-height:70vh}.page-heading{margin-bottom:30px}.page-heading h1{font-size:34px;line-height:1.5;margin:8px 0 9px}.page-heading>p:last-child{color:var(--muted);font-size:14px}.search-form.compact{max-width:100%;height:56px;border-color:#cfdbed;background:#fbfcff;box-shadow:none;margin-bottom:35px}.compact button{height:39px}.catalog-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:35px;align-items:start}.filter-panel{position:sticky;top:110px}.filter-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.filter-heading h2{font-size:14px}.filter-heading button{font-size:11px;color:#8a95a7;text-decoration:underline}.category-filters{display:flex;flex-direction:column;gap:4px}.category-filters>button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;font-size:12px;padding:11px 12px;border-radius:8px;color:#718099}.category-filters>button>span{display:flex;align-items:center;gap:10px}.category-filters>button>span>span{color:inherit}.category-filters small{font-size:10px;color:#9ba7b9}.category-filters>button:hover{background:#f6f8fc}.category-filters>button.selected{background:#eaf1ff;color:var(--blue);font-weight:700}.category-filters>button.selected small{color:var(--blue)}.filter-panel>label{display:block;margin:26px 0 10px;font-size:13px;font-weight:700}.filter-panel>select{width:100%;border:1px solid var(--line);border-radius:8px;padding:10px;color:#64748e;background:white;font-size:12px}.filter-tip{margin-top:29px;background:#f8f9fc;border-radius:10px;padding:17px 14px;font-size:11px;color:#9aa5b7;line-height:2}.results-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:33px;margin-bottom:17px}.results-toolbar p{font-size:13px;color:#8590a2}.results-toolbar strong{color:var(--blue);font-weight:700}.sort-label{font-size:11px;color:#8c98aa;display:flex;align-items:center;gap:8px}.sort-label select{font-size:11px;border:1px solid var(--line);border-radius:6px;background:white;padding:5px 8px;color:#596981}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.active-filters:empty{display:none}.active-filters button{font-size:11px;background:var(--soft);color:#5075b6;border-radius:30px;padding:5px 10px;display:flex;align-items:center;gap:9px}.active-filters span{font-size:16px}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;font-size:12px;font-weight:600;background:white;color:#71819b}.secondary-button:hover{border-color:#aac0ea;color:var(--blue);background:#fafcff}.load-more{display:flex;margin:28px auto 0;min-width:220px}.empty-state{text-align:center;padding:70px 20px;color:var(--muted)}.empty-state>span{display:block;font-size:45px;font-family:Georgia,serif;color:#a5bce4;margin-bottom:18px}.empty-state h2,.empty-state h1{font-size:23px;color:#3e506f}.empty-state p{font-size:13px;margin:12px 0 25px}.error-page{min-height:65vh;padding-top:90px}.error-page>span{font-size:80px;letter-spacing:-.06em}
.breadcrumbs{display:flex;gap:11px;align-items:center;font-size:11px;color:#95a0b1;margin-bottom:28px;flex-wrap:wrap}.breadcrumbs a:hover{color:var(--blue)}.lesson-header{padding-bottom:30px;border-bottom:1px solid var(--line)}.lesson-badges{display:flex;gap:10px;align-items:center;margin-bottom:13px}.lesson-header h1{font-size:34px;line-height:1.5;max-width:930px}.lesson-header>p{font-size:14px;line-height:1.9;color:var(--muted);margin:14px 0 24px;max-width:900px}.lesson-actions{display:flex;flex-wrap:wrap;gap:8px}.lesson-actions svg{width:17px}.complete-button{margin-left:auto}.is-complete{background:#e8f4ed!important;color:#3b7957!important;border-color:#b7dcc6!important}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:60px;align-items:start}.lesson-content{min-width:0;padding-top:12px}.lesson-sidebar{position:sticky;top:110px;padding-top:35px}.toc{border:1px solid var(--line);border-radius:12px;padding:17px 18px}.toc summary{font-size:13px;font-weight:750;cursor:pointer}.toc nav{display:flex;flex-direction:column;gap:4px;margin-top:13px}.toc a{font-size:11px;color:#8490a4;padding:6px 2px;display:flex;gap:9px;align-items:flex-start}.toc a>span{font-size:9px;color:#aab4c4;margin-top:2px}.toc a:hover,.toc a.active{color:var(--blue)}.sidebar-note{margin-top:22px;padding:20px;border-radius:12px;background:#f6f9fe}.sidebar-note>span{display:block;font-size:23px;color:#7797cf;margin-bottom:8px}.sidebar-note strong{font-size:12px;color:#587199}.sidebar-note p{font-size:11px;color:#8b9ab1;line-height:1.9;margin-top:8px}.lesson-section{padding:30px 0;border-bottom:1px solid #edf0f5;font-size:15px;line-height:1.95;overflow-wrap:anywhere}.lesson-section>h2{font-size:21px;font-weight:750;display:flex;gap:10px;align-items:center;margin-bottom:20px;line-height:1.6}.lesson-section>h2>span{font-size:11px;color:#8ba3ca;font-weight:500;font-family:Georgia,serif;letter-spacing:.01em;padding-top:1px}.lesson-section h3{font-size:17px;margin:22px 0 10px;font-weight:700}.lesson-section h4{font-size:15px;margin:20px 0 10px}.lesson-section p{margin:10px 0}.lesson-section p:empty{display:none}.lesson-section ul,.lesson-section ol{padding-left:24px;margin:14px 0}.lesson-section li{padding-left:3px;margin:6px 0}.lesson-section li::marker{color:#6f88b0}.lesson-section strong{font-weight:750}.lesson-section sub,.lesson-section sup{font-size:.8em}.lesson-section table{border-collapse:collapse;display:block;max-width:100%;overflow-x:auto;margin:15px 0}.lesson-section td,.lesson-section th{border:1px solid #dfe6f1;padding:10px 14px;text-align:left}.lesson-section th{background:#f2f6fe}.core-formula>div{border:1px solid #dce7fc;background:#f2f6ff;border-radius:12px;padding:22px 25px;margin:15px 0;text-align:center;color:#2c5091;font-size:23px;line-height:2;overflow-x:auto;white-space:nowrap}.core-formula>div span{font-size:16px}.core-formula>p{color:#7686a0;font-size:13px}.math-expression{background:#f4f7fc;border-radius:10px;padding:18px;margin:18px 0;color:#3e5c8e;text-align:center;font-size:20px;max-width:100%;overflow-x:auto;white-space:nowrap}.math-expression p{white-space:normal}.answer-box{background:#eef7f1;border-radius:9px;padding:14px 18px;margin:15px 0;color:#427152}.example-box{background:#f7f9fd;border-left:3px solid #89a7db;padding:15px 20px;margin:15px 0}.example-box>p:first-child{margin-top:0}.example-box>p:last-child{margin-bottom:0}.caution-section>div{background:#fff8ed;border:1px solid #f1e4ca;padding:17px 22px;border-radius:10px;color:#766443}.lesson-section details{margin:18px 0;border:1px solid #dce6f4;border-radius:10px;padding:0 19px;background:#fbfcff}.lesson-section summary{padding:14px 0;color:var(--blue);font-size:13px;font-weight:700;cursor:pointer}.lesson-section details[open]>summary{border-bottom:1px solid var(--line);margin-bottom:15px}.lesson-section details>p:last-child{margin-bottom:20px}.exercise-section>div{background:#f9fafc;padding:18px 22px;border-radius:12px;border:1px solid var(--line)}.other-explanations{margin-top:38px}.other-explanations>h2{font-size:20px}.other-explanations>p{color:#8a96aa;font-size:12px;margin:8px 0 20px}.alternative{border:1px solid var(--line);border-radius:12px;padding:0 20px;margin:12px 0}.alternative>summary{cursor:pointer;font-size:14px;font-weight:700;padding:18px 0;color:#4f6c9a}.alternative>summary>span{font-size:10px;margin-left:10px;color:#8e9bb2}.alternative-description{font-size:13px;color:#798ba8;margin:15px 0}.lesson-finish{margin-top:40px;padding:25px;background:#f0f5ff;border:1px solid #dfe9fc;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:18px}.lesson-finish h2{font-size:20px;margin-top:7px}.lesson-finish p{font-size:12px;color:#8090ab;margin-top:7px}.related-section{margin-top:45px;padding-bottom:0}.my-container{max-width:1040px}.my-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:33px 0 15px}.my-stats>div{display:flex;align-items:center;gap:20px;padding:25px 30px;border:1px solid var(--line);border-radius:14px}.my-stats>div>span{background:#edf3ff;color:#6189cd;border-radius:12px;width:45px;height:45px;display:grid;place-items:center;font-size:23px}.my-stats p{color:#8b98ae;font-size:12px}.my-stats strong{display:block;font-size:27px;color:#3f5c8d;line-height:1.4}.storage-note{font-size:11px;color:#98a4b5}.my-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin:35px 0 25px}.my-tabs button{padding:13px 3px;font-size:14px;color:#8a98ae;border-bottom:2px solid transparent}.my-tabs button[aria-selected="true"]{color:var(--blue);border-bottom-color:var(--blue);font-weight:750}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);padding:12px 22px;border-radius:10px;background:#20334e;color:white;font-size:13px;box-shadow:0 6px 25px #0d264b20;opacity:0;pointer-events:none;z-index:100;transition:opacity .2s,transform .2s;max-width:calc(100% - 32px);width:max-content}.toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1450px){.hero{min-height:555px;padding-top:77px;padding-bottom:66px}.hero-art{margin-left:20px}.hero h1{font-size:46px}}
@media(max-width:1250px){.nav-wrap,.hero,.section,.page-container{margin-left:35px;margin-right:35px}.hero{gap:35px}.hero h1{font-size:38px}.hero-art{height:320px}.graph-paper{height:290px}.triangle-graphic{top:40px;height:180px}.paper-equation{bottom:35px;font-size:23px}.note-one{right:-6px}.hero-stats{gap:10px}.lesson-layout{gap:35px}.related-section{margin-left:0;margin-right:0}.daily-section{padding:30px}.site-footer{padding-left:35px;padding-right:35px}}
@media(max-width:1000px){.nav-wrap{gap:40px}.hero{grid-template-columns:1.3fr 1fr;gap:25px;min-height:470px;padding-top:48px}.hero h1{font-size:33px}.hero-description{font-size:13px}.hero-art{height:280px;padding-left:0;padding-right:0}.graph-paper{height:255px}.paper-label{padding:15px 12px;font-size:7px}.triangle-graphic{top:30px;height:160px}.paper-equation{font-size:20px}.floating-note{padding:9px 13px}.note-two{font-size:18px;left:-8px}.hero-stats>span:last-child{display:none}.hero-stats>i:last-of-type{display:none}.search-form{gap:7px;padding-left:12px}.search-form button{padding:10px 12px}.search-suggestions{gap:10px;font-size:10px}.header-note{display:none}.category-card{padding:15px;gap:12px}.category-icon{width:38px;height:38px}.category-card strong{font-size:13px}.formula-grid{gap:15px}.formula-card{padding:17px}.card-link h3{font-size:16px}.daily-formula{font-size:24px}.catalog-layout{grid-template-columns:170px minmax(0,1fr);gap:24px}.catalog-grid{gap:15px}.lesson-layout{grid-template-columns:minmax(0,1fr) 190px;gap:25px}.lesson-section{font-size:14px}.lesson-header h1{font-size:29px}.toc{padding:14px}.toc a{font-size:10px}.site-footer{gap:30px}.site-footer>a{display:none}.my-stats>div{padding:22px}}
@media(max-width:760px){html{scroll-padding-top:88px}.site-header{height:68px}.nav-wrap,.hero,.section,.page-container{margin-left:22px;margin-right:22px}.nav-wrap{gap:20px;justify-content:space-between}.brand{font-size:21px;gap:8px}.brand-mark{width:31px;height:31px;font-size:27px}.site-header nav{gap:20px;font-size:12px}.site-header nav a svg{display:none}.hero{grid-template-columns:1fr;padding:41px 0 32px;gap:20px;min-height:0}.hero h1{font-size:37px}.hero-description{font-size:13px;margin:17px 0 24px}.hero .eyebrow{font-size:11px;margin-bottom:16px}.hero-art{display:none}.hero-stats{margin-top:22px}.hero-stats>span:last-child{display:inline}.hero-stats>i:last-of-type{display:block}.search-form{height:56px}.search-form button{height:40px}.search-suggestions{font-size:10px;gap:13px}.section{padding-top:30px;padding-bottom:30px}.section-heading{gap:12px;margin-bottom:21px;align-items:center}.section-heading h2{font-size:22px;margin-top:6px}.section-heading p:not(.eyebrow){font-size:12px}.section-heading .text-link{font-size:10px;gap:4px}.section-heading .text-link svg{width:13px}.eyebrow{font-size:9px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.category-card{padding:13px;gap:11px}.category-card>svg{display:none}.category-icon{width:36px;height:36px;font-size:22px;border-radius:9px}.category-card strong{font-size:12px}.category-card small{font-size:10px}.formula-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.getting-started .formula-grid>.formula-card:last-child{display:none}.formula-card{padding:16px}.card-link h3{font-size:16px}.card-description{font-size:11px}.card-formula{font-size:15px;padding:13px 10px}.daily-section{padding:25px;grid-template-columns:1fr;gap:5px;margin-top:15px;margin-bottom:15px}.daily-section h2{font-size:21px}.daily-section p{font-size:12px}.daily-formula{grid-row:2;font-size:22px;padding:20px 0 5px;text-align:left}.learning-strip{gap:17px;padding:25px 0 35px}.learning-strip>div{padding-left:0}.learning-strip>div>span{position:static;font-size:18px;display:block;margin-bottom:7px}.learning-strip h3{font-size:13px}.learning-strip p{font-size:11px}.site-footer{padding:25px 22px;gap:20px;align-items:flex-start}.site-footer p{font-size:10px}.site-footer .brand{font-size:17px}.page-container{padding-top:30px;padding-bottom:45px}.page-heading h1{font-size:27px}.page-heading>p:last-child{font-size:12px}.catalog-layout{grid-template-columns:1fr;gap:24px}.filter-panel{position:static}.filter-heading{margin-bottom:10px}.category-filters{flex-direction:row;flex-wrap:wrap;gap:7px}.category-filters>button{padding:7px 11px;background:#f7f9fc;font-size:11px;gap:9px}.category-filters small{font-size:9px}.category-filters>button>span{gap:5px}.filter-panel>label{display:inline-block;font-size:12px;margin:17px 12px 0 0}.filter-panel>select{display:inline-block;width:130px;padding:7px 10px;font-size:11px}.filter-tip{display:none}.search-form.compact{margin-bottom:25px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.results-toolbar{margin-bottom:14px}.results-toolbar p{font-size:12px}.lesson-header{padding-bottom:23px}.lesson-header h1{font-size:26px}.lesson-header>p{font-size:13px}.breadcrumbs{margin-bottom:22px;font-size:10px}.lesson-actions{gap:7px}.secondary-button{padding:9px 11px;font-size:11px}.complete-button{margin-left:0}.lesson-layout{display:flex;flex-direction:column;gap:5px}.lesson-sidebar{position:static;order:-1;width:100%;padding-top:22px}.toc{background:#f8faff;border-color:#e2e9f5;padding:14px 18px}.toc nav{display:grid;grid-template-columns:1fr 1fr;gap:3px}.toc a{font-size:11px}.toc summary{font-size:12px}.sidebar-note{display:none}.lesson-content{width:100%;padding-top:0}.lesson-section{padding:26px 0;font-size:14px;line-height:1.95}.lesson-section>h2{font-size:19px;margin-bottom:15px}.core-formula>div{font-size:20px;padding:20px 16px}.core-formula>div span{font-size:14px}.lesson-section h3{font-size:16px}.lesson-section ul,.lesson-section ol{padding-left:23px}.related-section{margin-left:0;margin-right:0;margin-top:20px}.related-section .formula-grid{grid-template-columns:1fr}.lesson-finish{padding:22px}.lesson-finish h2{font-size:19px}.my-stats{gap:10px;margin-top:25px}.my-stats>div{padding:17px 14px;gap:12px}.my-stats>div>span{width:30px;height:30px;font-size:19px;border-radius:8px}.my-stats>div>span svg{width:16px}.my-stats strong{font-size:24px}.my-stats p{font-size:10px}.my-tabs{gap:23px}.my-tabs button{font-size:12px}.storage-note{font-size:10px}.empty-state{padding:50px 10px}.empty-state h2{font-size:20px}.empty-state p{font-size:12px}.toast{font-size:12px;padding:11px 17px;bottom:20px}}
@media(max-width:480px){.nav-wrap,.hero,.section,.page-container{margin-left:18px;margin-right:18px}.nav-wrap{gap:12px}.brand{font-size:19px;gap:7px}.brand-mark{width:29px;height:29px;font-size:25px;border-radius:8px}.site-header nav{font-size:11px;gap:15px}.hero h1{font-size:32px;letter-spacing:-.07em}.hero-description{font-size:12px}.hero-stats{font-size:10px;gap:9px}.hero-stats>span:last-child{font-size:9px}.hero-stats strong{font-size:12px}.search-form input{font-size:12px}.search-form button{font-size:12px;padding:9px 12px}.search-form button svg{display:none}.search-suggestions{gap:10px;font-size:9px}.section-heading h2{font-size:20px}.section-heading>div>p:not(.eyebrow){font-size:11px}.section-heading .text-link{font-size:9px;gap:3px}.category-card{padding:12px 10px;gap:9px}.category-icon{width:32px;height:34px;font-size:22px}.category-card strong{font-size:11px}.category-card small{font-size:9px}.formula-grid{grid-template-columns:1fr}.getting-started .formula-grid>.formula-card:last-child{display:flex}.formula-card{padding:18px 20px}.card-top{margin-bottom:10px}.card-link h3{font-size:17px}.card-description{min-height:0;margin-bottom:15px;font-size:12px}.card-formula{font-size:18px}.card-bottom{margin-top:14px}.learn-link{font-size:11px}.difficulty{font-size:10px}.daily-section{padding:22px}.daily-formula{font-size:20px}.site-footer{padding:24px 18px;flex-direction:column;gap:18px}.site-footer>p{margin-left:0}.site-footer>p>span{font-size:10px}.catalog-grid{grid-template-columns:1fr}.category-filters>button{font-size:10px;padding:7px 9px}.category-filters>button>span{gap:4px}.page-heading h1{font-size:25px}.my-stats>div{padding:16px 10px;display:block}.my-stats>div>span{margin-bottom:9px}.my-stats p{font-size:11px}.my-stats strong{font-size:24px}.my-tabs{gap:24px}.related-section{margin-left:0;margin-right:0}.lesson-header h1{font-size:24px}.lesson-header>p{font-size:12px}.lesson-section{font-size:13px}.lesson-section>h2{font-size:18px}.lesson-actions .secondary-button{padding:8px 9px;font-size:10px;gap:5px}.lesson-actions svg{width:14px}.core-formula>div{font-size:18px;padding:17px 13px}.core-formula>div span{font-size:12px}.lesson-finish h2{font-size:17px}.lesson-finish p{font-size:11px}.alternative{padding:0 14px}.learning-strip p{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{.site-header,.site-footer,.lesson-actions,.lesson-sidebar,.related-section,.lesson-finish,.toast,.skip-link,.breadcrumbs{display:none!important}.page-container{max-width:none;margin:0;padding:0}.lesson-layout{display:block}.lesson-header{border-bottom:1px solid #aaa}.lesson-header h1{font-size:24pt}.lesson-content{width:100%}.lesson-section{font-size:10pt;line-height:1.7;break-inside:auto;padding:15px 0}.lesson-section>h2{font-size:14pt;break-after:avoid}.lesson-section h3{font-size:12pt;break-after:avoid}.core-formula>div,.math-expression{overflow:visible;white-space:normal;font-size:14pt;break-inside:avoid}.lesson-section details{border:1px solid #ccc}.alternative{border:0;padding:0}.lesson-badges{font-size:9pt}.lesson-header>p{font-size:10pt}a{color:inherit}body{color:#111;background:white}.other-explanations{break-before:page}@page{margin:18mm}}

/* Readable secondary text and small labels on light backgrounds. */
@media screen {
.header-note,.search-suggestions,.search-suggestions>span,.hero-stats,.section-heading p:not(.eyebrow),.category-card small,.card-description,.learn-link,.site-footer p,.site-footer>a,.filter-heading button,.category-filters small,.filter-tip,.results-toolbar p,.sort-label,.breadcrumbs,.toc a,.toc a>span,.sidebar-note p,.other-explanations>p,.lesson-finish p,.my-stats p,.storage-note,.my-tabs button,.learning-strip p,.paper-caption { color:#62728a; }
.category-label,.secondary-button,.search-form input::placeholder { color:#5d708b; }
.difficulty { color:#406d56; }
.difficulty-1 { color:#496d81; }
.difficulty-2 { color:#715b94; }
.difficulty-3 { color:#8a6035; }
.category-filters>button.selected small,.my-tabs button[aria-selected="true"],.toc a.active { color:var(--blue); }
}
