.route-note{color:#526b61}.course-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.course-card,.lesson-item,.guide-offer,.basic-question{border:1px solid #c4d1bf;background:#fffdf5;border-radius:8px;padding:20px}.course-card{display:flex;flex-direction:column}.card-head,.work-row,.practice-crumb,.gate-links{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-head h3{font-size:24px;margin:0}.card-head h3 a{text-decoration:none}.card-head small,.work-row small{white-space:nowrap;color:#5a6d60}.course-card p{margin:6px 0 14px}.sample-link{margin-top:auto;font-weight:bold}.syllabus-link{margin-top:8px;font-size:.92rem}.electives,.guide-offer,.unit-syllabus{margin-block:30px}.guide-offer{border-left:4px solid #347260;color:#203f3c}.guide-offer h2{margin:0 0 8px}.guide-offer p{margin:6px 0 12px}.guide-offer form{margin:0}.guide-offer[hidden]{display:none!important}.guide-offer .btn,.guide-offer button{display:inline-flex;align-items:center;background:#20554e;color:white;text-decoration:none;border:0;border-radius:5px;min-height:44px;padding:8px 16px;font:inherit;font-weight:700}.crumb{padding:24px 0 4px}.lesson-item{margin-block:12px}.lesson-item h2{font-size:20px}.lesson-item h2 small{display:block;color:#876042;font-size:14px}.work-row{padding:10px 0;border-top:1px solid #dce3d6;text-decoration:none}.more-work summary{padding:9px 0;cursor:pointer;color:#52695b}.gate h1{font-size:clamp(26px,4vw,42px)}.gate h2{margin-top:24px}.gate-links{justify-content:flex-start;flex-wrap:wrap;margin-top:15px}.practice-crumb{margin:10px 0 16px;font-size:.9rem;flex-wrap:wrap}.basic-question{max-width:730px}.basic-question svg{display:block;width:100%;max-height:285px}.basic-question form{margin-top:18px}.basic-question input{display:block;margin:8px 0;width:140px}.basic-question #feedback{margin-top:12px}.basic-question svg text{font:14px system-ui,sans-serif}main[data-sample="intro"] #actions,main[data-sample="third-view"] #next,main[data-sample] #after{display:none!important}
@media(max-width:680px){.course-cards{grid-template-columns:1fr}.course-card,.lesson-item,.guide-offer{padding:16px}.work-row{align-items:baseline}.work-row span{min-width:0}.gate-links{gap:12px}.guide-offer .btn{max-width:100%}}
.work-progress{margin:14px 0 18px;padding:12px 16px;border:1px solid #bfcec1;background:#eff3e9;border-radius:7px;color:#244b43;font:15px/1.5 system-ui,sans-serif}.work-progress>div,.work-progress label{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.work-progress>div{justify-content:space-between}.work-progress label{margin-top:4px}.work-progress progress{height:8px;max-width:180px;width:25%;accent-color:#397563}.work-progress [data-status],.row-state{font-size:.86rem;color:#617368}.work-progress [data-level="2"]{font-weight:bold;color:#236248}.work-progress a,.practice-crumb a,.guide-offer a:not(.btn){color:#275649}.work-row>span:first-child{flex:1}.work-row small{font-size:.85rem}.row-state{white-space:nowrap}.series-progress{font-size:.88rem;color:#4d695e}.work-progress~.course-strip,.work-progress~.eyebrow #progress{display:none}

/* The canvas and the copy share the full introductory section. */
main:has(> .course-hero) {
  --page-gutter: clamp(16px, 4vw, 52px);
  display: grid;
  grid-template-columns: minmax(var(--page-gutter), 1fr) minmax(0, 1006px) minmax(var(--page-gutter), 1fr);
  width: 100%;
  padding-inline: 0;
}
main:has(> .course-hero) > section { grid-column: 2; }
main > section.course-hero {
  grid-column: 1 / -1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid #becfc0;
  background-color: #e9eee2;
  background-image: linear-gradient(90deg, #f7f6ed 2%, #f7f6edb0 37%, transparent 69%),
    linear-gradient(#597f6b13 1px, transparent 1px),
    linear-gradient(90deg, #597f6b13 1px, transparent 1px);
  background-size: auto, 26px 26px, 26px 26px;
}
.course-hero .hero-part {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, calc(1006px + 2 * var(--page-gutter)));
  margin: auto;
  padding: clamp(38px, 5vw, 70px) var(--page-gutter);
}
.hero-inner h1 {
  font-family: "Songti SC", SimSun, serif;
  font-size: clamp(39px, 5vw, 70px);
  line-height: 1.13;
  margin-bottom: 18px;
}
.hero-inner .lead { max-width: min(49%, 30rem); }
.hero-inner .actions { margin: 20px 0 0; }
.hero-inner .soft { background: #f6f7edee; }
@media (max-width: 680px) {
  .hero-inner { padding-block: 28px 26px; }
  .hero-inner h1 { font-size: clamp(30px, 7.5vw, 44px); }
  .hero-inner .lead { max-width: 37em; margin-top: 24px; }
  .hero-inner .actions { gap: 8px; margin-top: 14px; }
}

/* Bilibili television mark, Simple Icons. The native summary remains the click target. */
#film > summary { cursor: pointer; }
#film > summary::after {
  content: "";
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-inline-start: .45em;
  vertical-align: -.22em;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http://www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23dd5984%22%20d%3D%22M17.813%204.653h.854c1.51.054%202.769.578%203.773%201.574%201.004.995%201.524%202.249%201.56%203.76v7.36c-.036%201.51-.556%202.769-1.56%203.773s-2.262%201.524-3.773%201.56H5.333c-1.51-.036-2.769-.556-3.773-1.56S.036%2018.858%200%2017.347v-7.36c.036-1.511.556-2.765%201.56-3.76%201.004-.996%202.262-1.52%203.773-1.574h.774l-1.174-1.12a1.234%201.234%200%200%201-.373-.906c0-.356.124-.658.373-.907l.027-.027c.267-.249.573-.373.92-.373.347%200%20.653.124.92.373L9.653%204.44c.071.071.134.142.187.213h4.267a.836.836%200%200%201%20.16-.213l2.853-2.747c.267-.249.573-.373.92-.373.347%200%20.662.151.929.4.267.249.391.551.391.907%200%20.355-.124.657-.373.906zM5.333%207.24c-.746.018-1.373.276-1.88.773-.506.498-.769%201.13-.786%201.894v7.52c.017.764.28%201.395.786%201.893.507.498%201.134.756%201.88.773h13.334c.746-.017%201.373-.275%201.88-.773.506-.498.769-1.129.786-1.893v-7.52c-.017-.765-.28-1.396-.786-1.894-.507-.497-1.134-.755-1.88-.773zM8%2011.107c.373%200%20.684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c0-.373.129-.689.386-.947.258-.257.574-.386.947-.386zm8%200c.373%200%20.684.124.933.373.25.249.383.569.4.96v1.173c-.017.391-.15.711-.4.96-.249.25-.56.374-.933.374s-.684-.125-.933-.374c-.25-.249-.383-.569-.4-.96V12.44c.017-.391.15-.711.4-.96.249-.249.56-.373.933-.373Z%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.next-practice,.upcoming-courses,.worked-example {box-sizing:border-box;border:1px solid #c4d1bf;border-radius:8px;background:#fffdf6;color:#25463d;padding:clamp(16px,3vw,25px);margin:24px 0}
.next-practice h2,.upcoming-courses h2,.worked-example h3{margin:0 0 9px;font-size:clamp(20px,2.3vw,26px)}
.next-practice p,.upcoming-courses p{margin:6px 0 12px}
.next-practice ol,.upcoming-courses ul{list-style:none;padding:0;margin:12px 0}
.next-practice li,.upcoming-courses li{border-top:1px solid #d6dfd1;padding:12px 0}
.next-practice li a{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;color:#245448}
.next-practice li a span,.next-practice small{font-size:14px}.next-practice li p,.upcoming-courses li span{font-size:15px;color:#4b6258}
.upcoming-courses li span{display:block}.upcoming-courses h2{color:#865134}
.preview-jump,.aid-retry{color:#285d50;text-underline-offset:3px}.worked-example[hidden],.cut-explore[hidden]{display:none}
.basic-question #feedback[data-verdict]{border-left:4px solid #b36138;background:#fbf1db;padding:10px 14px;margin:14px 0 8px}
.basic-question #feedback[data-verdict="correct"]{border-color:#407b62;background:#edf4e7}
.basic-question #feedback strong,.basic-question #feedback span{display:block;font-size:16px;color:#523b2b}
.worked-example{padding:14px;max-width:740px;margin-top:14px;min-width:0}.worked-example h3{font-size:18px}
.worked-example .aid-figure{background:#f2f5ea;border-radius:5px}.worked-example .aid-figure svg{width:100%;height:auto;max-height:250px;display:block}
.aid-figure .object{fill:none;stroke:#304f4b;stroke-width:2}.aid-figure .guide-line{fill:none;stroke:#6c8383;stroke-width:1.6;stroke-dasharray:.033 .02}
.aid-figure .measure,.aid-figure .tick,.aid-figure .answer-line,.aid-figure .submitted,.aid-figure .axis,.aid-figure .hidden-edge{fill:none;stroke:#398571;stroke-width:2}
.aid-figure .answer-line{stroke-width:3.3}.aid-figure .axis{stroke:#6d7e82;stroke-width:1.4;stroke-dasharray:.12 .018 .012 .018}
.aid-figure .hidden-edge{stroke-dasharray:.08 .04}.aid-figure .submitted{stroke:#ae512c;stroke-width:2.6}
.aid-figure .marked-point{fill:#246858;stroke:#fff;stroke-width:1}.aid-figure svg text{font:13px system-ui,sans-serif;fill:#284c40;stroke:none}.aid-figure svg text.submitted-label{fill:#a64b27;font-size:12px}
.aid-step{margin-top:10px;line-height:1.55}.worked-example .aid-step strong{color:#285a48;font-size:16px}.aid-step p{margin:4px 0 8px}
.aid-controls,.cut-explore{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.worked-example button{font:inherit;min-height:38px;border:1px solid #b0c3b2;border-radius:5px;background:#fafcf5;color:#285548;padding:4px 10px;cursor:pointer}
.worked-example button:disabled{opacity:.48;cursor:default}.cut-explore{margin-top:12px;border-top:1px solid #c9d9ca;padding-top:9px}
.cut-explore label,.cut-explore output,.aid-retry{display:block;font-size:14px}.cut-explore input[type="range"]{vertical-align:middle;margin:6px;width:min(210px,80%)}.aid-retry{margin-top:10px;width:fit-content}
@media(prefers-reduced-motion:no-preference){.aid-figure .answer-line,.aid-figure .measure{stroke-dasharray:1;animation:guide-draw .72s ease-out}.aid-figure .guide-line,.aid-figure .marked-point,.aid-figure .hidden-edge{animation:guide-appear .55s ease-out}}
@keyframes guide-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes guide-appear{from{opacity:0}to{opacity:1}}
.aid-figure .grid-frame,.aid-figure .faint{fill:none;stroke:#adbead;stroke-width:1}.aid-figure .faint{stroke:#d6e0d5}
.worked-example .aid-figure .guide-line{opacity:1}
.aid-diagnosis{border-left:3px solid #ab5931;padding:.45em .8em;background:#fbf1df;color:#593d2d;line-height:1.6}
.aid-figure .model-edge{fill:none;stroke:#74847a;stroke-width:1.1}
.aid-figure .model-hidden{fill:none;stroke:#93a296;stroke-width:1;stroke-dasharray:.046 .033}
.aid-figure .cut-surface{fill:#72ae8e;fill-opacity:.25;stroke:#347961;stroke-width:2;fill-rule:evenodd}
.aid-figure .correction-trace{fill:none;stroke:#af512c;stroke-width:1.8;stroke-dasharray:.055 .03}
@media(prefers-reduced-motion:no-preference){.aid-figure .cut-surface{animation:cut-reveal .85s ease-out}.aid-figure .correction-trace{animation:guide-appear .7s ease-out}}
@keyframes cut-reveal{from{fill-opacity:0;stroke-dasharray:1;stroke-dashoffset:1}to{fill-opacity:.25;stroke-dasharray:1;stroke-dashoffset:0}}
