.math-scope{--paper:#fff;--wash:#f0f6ff;--blue:#4f76ff;--action:#3154c9;--ink:#193242;--muted:#536a7b;--teal:#16786b;--yellow:#ffe49a;--line:#d5e1ee;--bad:#a92b39;--font:"Microsoft YaHei","PingFang SC","Noto Sans CJK SC",sans-serif}:where(.math-scope) *{box-sizing:border-box}.math-scope{scroll-padding-top:24px}.math-scope{margin:0;background:var(--wash);color:var(--ink);font:18px/1.8 var(--font);overflow-wrap:anywhere}:where(.math-scope) a{color:var(--action);text-underline-offset:4px}:where(.math-scope) a:hover{text-decoration-thickness:2px}:where(.math-scope) button,:where(.math-scope) input{font:inherit}:where(.math-scope) button,:where(.math-scope) a,:where(.math-scope) input,:where(.math-scope) summary{-webkit-tap-highlight-color:transparent}:where(.math-scope) button{cursor:pointer}:where(.math-scope) button:disabled{cursor:default}:where(.math-scope) button:focus-visible,:where(.math-scope) a:focus-visible,:where(.math-scope) input:focus-visible,:where(.math-scope) summary:focus-visible{outline:3px solid var(--action);outline-offset:4px}:where(.math-scope) h1,:where(.math-scope) h2,:where(.math-scope) h3,:where(.math-scope) p{margin:0}:where(.math-scope) h1{font-size:clamp(32px,5vw,48px);line-height:1.35;letter-spacing:-.03em;font-weight:800}:where(.math-scope) h2{font-size:28px;line-height:1.4}:where(.math-scope) h3{font-size:22px;line-height:1.5}:where(.math-scope) p+p{margin-top:12px}:where(.math-scope) ul,:where(.math-scope) ol{padding-left:1.4em}:where(.math-scope) .wrap{width:min(1120px,calc(100% - 48px));margin-inline:auto}:where(.math-scope) .skip{position:absolute;top:-100px;left:12px;background:#fff;padding:10px;z-index:9}:where(.math-scope) .skip:focus{top:10px}:where(.math-scope) .site-bar{display:flex;align-items:center;justify-content:space-between;min-height:84px;border-bottom:1px solid var(--line);font-size:16px}:where(.math-scope) .wordmark{font-size:22px;color:var(--ink);font-weight:800;text-decoration:none}:where(.math-scope) .catalogue-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:64px;align-items:center;padding:58px 0 54px}:where(.math-scope) .lead{margin:20px 0 26px;color:var(--muted);font-size:19px}:where(.math-scope) .primary,:where(.math-scope) .secondary,:where(.math-scope) .next-step{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:10px 22px;border:2px solid transparent;border-radius:10px;font-weight:700;text-decoration:none;line-height:1.5}:where(.math-scope) .primary,:where(.math-scope) .next-step{background:var(--action);color:#fff}:where(.math-scope) .primary:hover,:where(.math-scope) .next-step:hover{background:#2342a7}:where(.math-scope) .secondary{background:#fff;border-color:var(--line);color:var(--ink)}:where(.math-scope) .secondary:hover{border-color:var(--action)}:where(.math-scope) .first-lesson{padding:32px;border-radius:26px 26px 8px 26px;border:2px solid var(--blue);background:#fff;box-shadow:8px 8px 0 #dbe6ff}:where(.math-scope) .first-lesson h2{margin:6px 0 12px;font-size:32px}:where(.math-scope) .first-lesson>p:first-of-type{color:var(--muted);font-size:15px}:where(.math-scope) .ready-label{display:block;margin-top:20px;font-size:15px;color:var(--teal)}:where(.math-scope) .counter-line{display:flex;gap:12px;margin-bottom:24px}:where(.math-scope) .counter-line i{display:block;width:34px;aspect-ratio:1;border-radius:50%;background:var(--teal)}:where(.math-scope) .counter-line i:last-child{background:var(--yellow);border:2px solid #a68120}:where(.math-scope) .directory-intro{padding:34px 0 20px;border-top:1px solid var(--line)}:where(.math-scope) .directory-intro>div>p{margin:12px 0;color:var(--muted)}:where(.math-scope) .version-help{max-width:740px;font-size:16px}:where(.math-scope) .version-help summary{cursor:pointer;min-height:48px;padding:10px 0;color:var(--action)}:where(.math-scope) .version-help p{padding-bottom:12px}:where(.math-scope) .grade-nav{display:grid;grid-template-columns:repeat(9,1fr);gap:8px;margin:18px 0 36px}:where(.math-scope) .grade-nav a{display:flex;align-items:center;justify-content:center;min-height:48px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:16px;font-weight:700;text-decoration:none}:where(.math-scope) .grade-nav a:hover{border-color:var(--action);background:#e9efff}:where(.math-scope) .grade-section{margin-bottom:34px;scroll-margin-top:24px}:where(.math-scope) .grade-section>h2{margin:0 0 18px;padding-left:16px;border-left:5px solid var(--teal)}:where(.math-scope) .semester-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}:where(.math-scope) .book{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}:where(.math-scope) .book>summary{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:20px 22px;min-height:84px;cursor:pointer;list-style:none}:where(.math-scope) .book>summary::-webkit-details-marker{display:none}:where(.math-scope) .book>summary:after{content:"＋";font-size:24px;margin-left:auto;line-height:1}:where(.math-scope) .book[open]>summary:after{content:"−"}:where(.math-scope) .book-name{font-size:22px;font-weight:700}:where(.math-scope) .edition{font-size:14px;line-height:1.6;border-radius:4px;padding:2px 7px}:where(.math-scope) .edition.new{background:#e6f5f0;color:#116154}:where(.math-scope) .edition.old{background:#fff1cf;color:#775400}:where(.math-scope) .fold-label{font-size:14px;color:var(--muted)}:where(.math-scope) .book[open] .fold-label{display:none}:where(.math-scope) .edition-note{font-size:14px;color:var(--muted);padding:0 22px 15px}:where(.math-scope) .unit-list{list-style:none;margin:0;padding:0 22px 14px}:where(.math-scope) .unit-list li+li{border-top:1px solid #e9eff6}:where(.math-scope) .unit-row{display:grid;grid-template-columns:1fr auto;gap:0 12px;padding:14px 0;text-decoration:none}:where(.math-scope) .unit-label{grid-column:1/-1;font-size:14px;color:var(--muted)}:where(.math-scope) .unit-name{font-size:17px;line-height:1.7}:where(.math-scope) .unit-status{font-size:14px;white-space:nowrap;padding-top:3px;color:#637589}:where(.math-scope) .unit-row.live{border-radius:8px;padding:13px 12px;margin:0 -12px;background:#edf8f5}:where(.math-scope) .unit-row.live .unit-name{font-weight:700}:where(.math-scope) .unit-row.live .unit-status{color:var(--teal)}:where(.math-scope) .catalogue-footnote{font-size:16px;color:var(--muted);padding:10px 0 24px}:where(.math-scope) .footer{display:flex;gap:12px 28px;flex-wrap:wrap;justify-content:space-between;padding:28px 0 38px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}:where(.math-scope) .lesson-page{max-width:900px}:where(.math-scope) .breadcrumb{display:flex;flex-wrap:wrap;gap:8px;font-size:15px;margin:26px 0 20px}:where(.math-scope) .lesson-head{max-width:760px}:where(.math-scope) .lesson-head h1{font-size:clamp(30px,4vw,42px)}:where(.math-scope) .lesson-head .lead{margin:15px 0 24px}:where(.math-scope) .lesson-route{display:flex;gap:10px;flex-wrap:wrap;padding:0;margin:20px 0 30px;list-style:none}:where(.math-scope) .lesson-route a{display:flex;align-items:center;min-height:46px;padding:8px 15px;border:1px solid var(--line);border-radius:6px;background:#fff;text-decoration:none;font-size:16px}:where(.math-scope) .video-section{margin:28px 0 40px}:where(.math-scope) .video-shell{border:1px solid #b8ccec;border-radius:14px;overflow:hidden;background:#193242}:where(.math-scope) .video-shell video{width:100%;height:auto;aspect-ratio:16/9;display:block}:where(.math-scope) .video-section figcaption{font-size:15px;color:var(--muted);margin-top:10px}:where(.math-scope) .section-block{margin:42px 0}:where(.math-scope) .section-heading{margin-bottom:20px}:where(.math-scope) .section-heading>p{margin-top:10px;color:var(--muted)}:where(.math-scope) .knowledge-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}:where(.math-scope) .knowledge-card{background:#fff;border:1px solid var(--line);padding:24px;border-radius:12px}:where(.math-scope) .knowledge-card h3{font-size:19px;color:var(--teal);margin-bottom:12px}:where(.math-scope) .knowledge-card ul{margin:8px 0 0}:where(.math-scope) .knowledge-card p,:where(.math-scope) .knowledge-card li{font-size:17px}:where(.math-scope) .knowledge-card.parent{border-left:5px solid var(--teal);border-radius:4px 12px 12px 4px}:where(.math-scope) .knowledge-card.warning{background:#fff9e8;border-color:#e7cf90}:where(.math-scope) .rule-note{border-left:5px solid var(--blue);padding:4px 0 4px 18px;margin:24px 0;color:var(--ink)}:where(.math-scope) .warmup,:where(.math-scope) .example,:where(.math-scope) .quiz-shell{padding:28px;background:#fff;border:1px solid var(--line);border-radius:16px;margin:22px 0}:where(.math-scope) .warmup{border:2px solid var(--teal);border-radius:22px 22px 8px 22px}:where(.math-scope) .warmup p{margin:10px 0}:where(.math-scope) .counter-board{display:grid;grid-template-columns:repeat(5,48px);gap:12px;justify-content:start;margin:24px 0}:where(.math-scope) .counter-token{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:2px solid var(--teal);border-radius:50%;background:#d9f4e9;color:#114f45;font-family:"Trebuchet MS",var(--font);font-size:23px;font-weight:800;padding:0}:where(.math-scope) .counter-token[aria-pressed="true"]{background:var(--teal);color:#fff;border-radius:12px}:where(.math-scope) .warmup-feedback{min-height:34px;color:var(--teal);font-weight:700}:where(.math-scope) .button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}:where(.math-scope) .example h3{margin-bottom:10px}:where(.math-scope) .example-question{margin:10px 0 20px}:where(.math-scope) .example-stage{background:var(--wash);padding:22px;border-radius:10px;min-height:178px}:where(.math-scope) .example-dots{display:flex;flex-wrap:wrap;gap:12px;max-width:230px;margin-bottom:16px}:where(.math-scope) .dot{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border:2px solid var(--teal);border-radius:50%;background:#b9e5d5;color:#114f45;font:700 19px/1 "Trebuchet MS",var(--font)}:where(.math-scope) .dot.counted{background:var(--teal);color:#fff}:where(.math-scope) .dot.square{border-radius:6px;background:#dae3ff;border-color:var(--action);color:var(--action)}:where(.math-scope) .dot.extra{background:var(--yellow);border-color:#957116}:where(.math-scope) .step-text{font-size:18px;min-height:65px}:where(.math-scope) .step-count{font-size:14px;color:var(--muted);margin:14px 0 10px}:where(.math-scope) .example .button-row{margin-top:0}:where(.math-scope) .next-step:disabled{background:#e0e8f2;color:#415771}:where(.math-scope) .pairs{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;max-width:390px;margin:18px 0}:where(.math-scope) .pair-column{display:flex;align-items:center;flex-direction:column;gap:0}:where(.math-scope) .pair-column .connector{display:block;height:26px;width:2px;background:var(--muted)}:where(.math-scope) .pair-column .empty{width:36px;height:36px}:where(.math-scope) .pair-column.unmatched .connector{background:transparent}:where(.math-scope) .pair-column.unmatched .dot{background:var(--yellow);border-color:#957116}:where(.math-scope) .visual-caption{font-size:15px;color:var(--muted);margin-top:12px}:where(.math-scope) .quiz-intro{color:var(--muted);margin-top:10px}:where(.math-scope) .quiz-shell{border-top:5px solid var(--blue)}:where(.math-scope) .quiz-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:15px;color:var(--muted);margin-bottom:20px}:where(.math-scope) .quiz-question{font-size:22px;line-height:1.6;margin-bottom:20px}:where(.math-scope) .quiz-visual{margin:16px 0 22px;min-height:80px}:where(.math-scope) .quiz-visual .counter-board{margin-top:8px}:where(.math-scope) .choice-list{display:grid;gap:12px;margin:20px 0}:where(.math-scope) .choice{width:100%;min-height:52px;padding:12px 16px;text-align:left;background:#fff;border:2px solid #c6d6e6;border-radius:10px;line-height:1.5;color:var(--ink)}:where(.math-scope) .choice[aria-pressed="true"]{border-color:var(--action);background:#edf1ff;font-weight:700}:where(.math-scope) .choice:disabled{opacity:1}:where(.math-scope) .choice.correct{border-color:var(--teal);background:#edf8f5}:where(.math-scope) .answer-field{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}:where(.math-scope) .answer-field label{font-weight:700}:where(.math-scope) .answer-field input{width:100px;min-height:54px;border:2px solid #a6bfd6;border-radius:8px;padding:8px 12px;color:var(--ink);background:#fff;font-size:22px}:where(.math-scope) .feedback{padding:16px;border-radius:8px;background:var(--wash);font-size:17px;margin:20px 0}:where(.math-scope) .feedback.good{background:#e7f6ee;color:#125b4d}:where(.math-scope) .feedback.bad{background:#fff1ee;color:#8b2331}:where(.math-scope) .feedback:empty{display:none}:where(.math-scope) .quiz-result h3{font-size:27px;margin-bottom:16px}:where(.math-scope) .quiz-result ul{padding-left:22px}:where(.math-scope) .score{font-size:40px;font-family:"Trebuchet MS",var(--font);font-weight:700;color:var(--teal)}:where(.math-scope) .comparison-row{display:flex;align-items:center;gap:8px;margin:16px 0}:where(.math-scope) .comparison-label{display:block;font-size:15px;color:var(--muted);margin-top:16px}:where(.math-scope) .comparison-row.long{justify-content:space-between;max-width:286px}:where(.math-scope) .comparison-row.tight{gap:6px}:where(.math-scope) .comparison-row.tight .dot{width:29px;height:29px}:where(.math-scope) .no-js{background:#fff1cf;padding:16px;border-radius:8px}:where(.math-scope) .scope-note{font-size:15px;color:var(--muted);margin:36px 0}:where(.math-scope) .hidden,:where(.math-scope) [hidden]{display:none!important}@media(min-width:1000px){:where(.math-scope) .lesson-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}}@media(max-width:760px){:where(.math-scope) .wrap{width:calc(100% - 36px)}:where(.math-scope) .site-bar{min-height:70px}:where(.math-scope) .catalogue-hero{grid-template-columns:1fr;gap:28px;padding:34px 0 40px}:where(.math-scope) .catalogue-hero h1{font-size:38px}:where(.math-scope) .catalogue-hero .lead{font-size:17px}:where(.math-scope) .first-lesson{padding:24px}:where(.math-scope) .first-lesson h2{font-size:28px}:where(.math-scope) .counter-line{margin-bottom:15px}:where(.math-scope) .counter-line i{width:30px}:where(.math-scope) .grade-nav{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:30px}:where(.math-scope) .semester-pair{grid-template-columns:1fr;gap:14px}:where(.math-scope) .grade-section{margin-bottom:28px}:where(.math-scope) .book>summary{padding:18px;min-height:76px}:where(.math-scope) .book-name{font-size:21px}:where(.math-scope) .edition-note{padding:0 18px 14px}:where(.math-scope) .unit-list{padding:0 18px 12px}:where(.math-scope) .unit-row{gap:2px 9px}:where(.math-scope) .unit-name{font-size:17px}:where(.math-scope) .unit-status{font-size:14px}:where(.math-scope) .knowledge-grid{grid-template-columns:1fr}:where(.math-scope) .knowledge-card{padding:20px}:where(.math-scope) .section-block{margin:34px 0}:where(.math-scope) .warmup,:where(.math-scope) .example,:where(.math-scope) .quiz-shell{padding:20px}:where(.math-scope) .counter-board{gap:10px}:where(.math-scope) .example-stage{padding:16px}:where(.math-scope) .quiz-question{font-size:21px}:where(.math-scope) .lesson-route{gap:8px}:where(.math-scope) .lesson-route a{padding:8px 12px}:where(.math-scope) .lesson-head .lead{font-size:18px}:where(.math-scope) .footer{flex-direction:column;gap:10px}:where(.math-scope) .section-heading h2{font-size:26px}:where(.math-scope) .video-section{margin-top:20px}:where(.math-scope) .comparison-row.long{max-width:270px}}@media(max-width:380px){:where(.math-scope) .wrap{width:calc(100% - 28px)}:where(.math-scope) .catalogue-hero h1{font-size:35px}:where(.math-scope) .book-name{font-size:20px}:where(.math-scope) .fold-label{font-size:14px}:where(.math-scope) .counter-board{gap:8px}:where(.math-scope) .warmup,:where(.math-scope) .example,:where(.math-scope) .quiz-shell{padding:18px}:where(.math-scope) .unit-row{grid-template-columns:minmax(0,1fr) 60px}:where(.math-scope) .unit-name{font-size:16px}:where(.math-scope) .pair-column .dot{width:32px;height:32px}:where(.math-scope) .pairs{gap:6px}:where(.math-scope) .primary,:where(.math-scope) .secondary,:where(.math-scope) .next-step{padding:10px 16px}:where(.math-scope) .quiz-topline{font-size:14px}}@media(prefers-reduced-motion:reduce){.math-scope{scroll-behavior:auto}:where(.math-scope) *,:where(.math-scope) *:before,:where(.math-scope) *:after{animation:none!important;transition:none!important}}

/* 公共布局与讲义正文的边界；不改变#topnav或footer.site。 */
.math-scope{flex:1 0 auto;width:100%;padding-bottom:10px}.math-scope p,.math-scope li{font-size:18px;line-height:1.8}.math-scope main.wrap{padding:20px 0 44px;max-width:1120px}.math-scope main.lesson-page{max-width:900px}.math-scope main.radical-page{max-width:880px}.math-scope h1,.math-scope h2{color:var(--ink);letter-spacing:normal}.math-scope h2{padding:0;border:0;margin:0}.math-scope .section-block ul,.math-scope .section-block ol{margin-top:8px;margin-bottom:8px}.math-scope button,.math-scope input{font:inherit}.math-scope .math-local-footer{display:flex;flex-wrap:wrap;gap:18px;padding:20px 0 30px;font-size:16px}.math-scope .breadcrumb{gap:7px;line-height:1.8;margin:10px 0 24px;font-size:16px}.math-scope .breadcrumb [aria-current]{font-weight:700}.math-scope .catalogue-page>.breadcrumb{margin-bottom:0}.math-scope .catalogue-footnote{padding-top:24px}.math-scope .example-steps{list-style:none;padding:0}.math-scope .example-steps>li{margin:12px 0}.math-scope .quiz-result .result-review{padding-left:24px}#topnav a:focus-visible,footer.site a:focus-visible{outline:3px solid var(--teal);outline-offset:4px}.math-scope .skip{z-index:20}
