:root{color:#173b48;--ink:#173b48;--muted:#496168;--line:#d6ddd4;--paper:#fffdf7;--green:#dcecdf;--gold:#f9e3a9;--serif:"Songti SC","Noto Serif CJK SC","SimSun",serif;background:#f8f6ef;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,sans-serif;font-weight:440;line-height:1.55}*{box-sizing:border-box}body{background:radial-gradient(at 95% 5%,#e9f0e7 0,#0000 27%),radial-gradient(at 5% 72%,#f7ecd8 0,#0000 27%);min-height:100vh;margin:0}a{color:inherit}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}:focus-visible{outline-offset:4px;outline:3px solid #267f78}h1:focus{outline:none}button:disabled{opacity:.6;cursor:wait}p,h1,h2,h3{margin:0}.shell{flex-direction:column;width:min(1220px,100% - 72px);min-height:100vh;margin:auto;display:flex}.mast{border-bottom:1px solid #b8c6bf;align-items:center;gap:24px;min-height:76px;display:flex}.wordmark{font-family:var(--serif);white-space:nowrap;align-items:center;gap:9px;font-size:1.55rem;font-weight:800;text-decoration:none;display:inline-flex}.wordmark img{width:56px;height:38px}.mast nav{flex-wrap:wrap;align-items:center;gap:8px;margin-left:auto;display:flex}.mast nav a{white-space:nowrap;border-radius:999px;align-items:center;min-height:44px;padding:7px 15px;font-weight:650;text-decoration:none;display:inline-flex}.mast nav a:hover,.mast nav .selected{background:var(--green)}.exit{color:var(--muted);font-size:.875rem}main{flex:1;padding:38px 2px 48px}.eyebrow{letter-spacing:.1em;color:#45675e;margin-bottom:5px;font-size:.875rem;font-weight:750}.intro{color:var(--muted);font-size:1.25rem}.underlined{display:table;position:relative}.underlined:after{content:"";z-index:-1;background:#edc967;border-radius:70% 30% 50% 50%;width:61%;height:6px;position:absolute;bottom:-3px;left:2%;transform:rotate(-2deg)}h1{font-size:max(2rem,min(5vw,3.7rem));font-family:var(--serif);letter-spacing:.035em;margin:6px 0 28px;font-weight:800;line-height:1.13}h2{font-size:1.25rem;line-height:1.35}h3{font-size:1rem}.panel,.feature,.subject-chip{border:1px solid var(--line);background:var(--paper);border-radius:18px;box-shadow:0 3px 10px #183b4509}.home-actions{grid-template-columns:1fr 1fr;gap:20px;display:grid}.feature{isolation:isolate;min-height:230px;padding:26px;position:relative;overflow:hidden}.feature:before{content:"";z-index:-1;opacity:.88;background-position:100%;background-repeat:no-repeat;background-size:auto 100%;position:absolute;top:0;bottom:0;left:0;right:0}.feature:after{content:"";z-index:-1;background:linear-gradient(90deg,var(--paper) 37%,#fffdf7db 48%,transparent 79%);position:absolute;top:0;bottom:0;left:0;right:0}.bio:before{background-image:url(/leaf.webp)}.math:before{background-image:url(/paper.webp);background-size:auto 122%}.feature h2{font-family:var(--serif);margin:.35rem 0;font-size:max(1.6rem,min(3vw,2.25rem))}.feature p:not(.eyebrow){color:var(--muted);max-width:68%;margin-bottom:21px}.button{background:var(--green);color:#163642;cursor:pointer;border:1px solid #cdded2;border-radius:12px;justify-content:center;align-items:center;min-height:44px;padding:9px 17px;font-weight:710;text-decoration:none;display:inline-flex}.button:hover{filter:brightness(.97)}.button.gold{background:var(--gold);border-color:#eed7a0}.button.outline{background:0 0;border-color:#bdc8bf}.button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #38746b}.section-heading{justify-content:space-between;align-items:center;gap:10px;margin:32px 0 12px;display:flex}.section-heading a,.breadcrumb,.small-link{color:#39645e}.subject-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.subject-chip,.class-card{justify-content:center;align-items:center;gap:8px;min-height:58px;font-weight:720;text-decoration:none;display:flex}.subject-chip:hover,.class-card:hover{background:#f0f7ef;border-color:#7da096}.subject-icon{color:#275b53;background:#e2eee1;border-radius:9px;place-items:center;min-width:32px;height:32px;font-size:.88rem;font-weight:800;display:inline-grid}.subject-icon[data-tint=wheat]{background:#f9edc9}.subject-icon[data-tint=rose]{background:#f4e5e3}.subject-icon[data-tint=blue]{background:#e1eef3}.extended{grid-template-columns:repeat(3,1fr)}.class-card{flex-direction:column;align-items:flex-start;min-height:132px;padding:20px}.class-card span:last-child{color:var(--muted);font-size:.9rem}.breadcrumb{font-size:.94rem}.chapter{margin-bottom:16px;padding:18px 22px}.chapter h2{margin-bottom:12px}.entry-row{border-top:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:13px;min-height:56px;display:grid}.entry-title{text-align:left;font-weight:650}.tag{background:#ecf1e8;border-radius:999px;padding:4px 10px;font-size:.9rem;font-weight:650;display:inline-block}.small-link{text-align:right;font-size:.88rem}.text-button{cursor:pointer;color:inherit;background:0 0;border:0;padding:8px 0}.exercise-grid{grid-template-columns:minmax(0,2.1fr) minmax(195px,1fr);align-items:start;gap:18px;display:grid}.problem{padding:24px}.problem-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:25px 0 10px;font-size:max(1.2rem,min(4vw,2.3rem))}.scratch-lines{background:repeating-linear-gradient(#0000 0,#0000 28px,#dfe5df 28px,#dfe5df 29px);height:87px;margin-bottom:20px}.checkoff{gap:11px;padding:19px;display:grid}.solution{white-space:pre-wrap;overflow-wrap:anywhere;border-top:1px dashed #c7d8cc;margin-top:20px;padding-top:14px}.solution h2,.solution h3{color:#315d54;margin:.4rem 0}.solution p{margin:0 0 .8rem}.login-grid{grid-template-columns:1.1fr 1fr;align-items:start;gap:36px;max-width:920px;margin:35px auto 0;display:grid}.login-art{opacity:.82;border-radius:40% 54% 51% 43%;width:min(235px,58%);margin-top:24px}.form{gap:15px;padding:24px;display:grid}.form label{gap:6px;font-weight:640;display:grid}.role-pills{gap:12px;display:flex}.role-pills label{background:#f1f1e9;border-radius:8px;align-items:center;padding:7px 10px;display:flex}.role-pills input{accent-color:#24675c;width:17px;height:17px}.form fieldset{border:0;margin:0;padding:0}.form legend{margin-bottom:7px;font-weight:650}.form input:not([type=radio]),.form select,.form textarea{width:100%;min-height:43px;color:var(--ink);background:#fffefa;border:1px solid #bac9bb;border-radius:8px;padding:8px 10px}.form textarea{resize:vertical;min-height:88px}.form .button{justify-self:start}.manage{max-width:800px}.field-pair{grid-template-columns:1fr 1fr;gap:15px;display:grid}.hint,.state{color:var(--muted)}.state{padding:14px 0}.notice,.error{border-radius:8px;margin:0 0 13px;padding:9px 13px}.notice{color:#234e45;background:#e3efe2}.error{color:#792c2c;background:#f8e7df}.exit{min-height:44px}footer{border-top:1px solid var(--line);color:#486863;align-items:center;gap:6px;padding:14px 0 24px;font-size:.85rem;display:flex}footer img{width:31px}@media (max-width:900px){.shell{width:calc(100% - 44px)}.feature{min-height:210px}.mast{gap:15px}.mast nav a{padding:7px 11px}}@media (max-width:660px){.shell{width:calc(100% - 28px)}.mast{flex-wrap:wrap;justify-content:space-between;gap:7px;padding:9px 0}.mast nav{order:3;gap:3px;width:100%;margin-left:0}.mast nav a{padding:5px 10px;font-size:.92rem}.exit{padding-right:6px}.wordmark{font-size:1.3rem}.wordmark img{width:42px;height:30px}main{padding:24px 1px 36px}.home-actions,.login-grid,.exercise-grid{grid-template-columns:1fr}.home-actions{gap:12px}.feature{min-height:174px;padding:18px}.feature p:not(.eyebrow){margin-bottom:12px}.subject-grid{grid-template-columns:repeat(3,1fr);gap:8px}.extended{grid-template-columns:repeat(2,1fr)}.field-pair{grid-template-columns:1fr}.login-grid{gap:15px;margin:7px 0}.login-art{display:none}.chapter,.problem,.form{padding:16px}}.identity{color:var(--muted);align-items:center;gap:10px;font-size:.875rem;display:flex}.identity>span{text-overflow:ellipsis;white-space:nowrap;max-width:10rem;overflow:hidden}.accounts-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start;gap:18px;display:grid}.account-list{padding:24px}.account-rows{margin:12px 0 0;padding:0;list-style:none}.account-rows>li{border-top:1px solid var(--line);padding:10px 0}.account-row,.account-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.account-name{overflow-wrap:anywhere;min-width:0;display:grid}.account-name small{color:var(--muted)}.account-actions .button{padding-left:10px;padding-right:10px;font-size:.875rem}.password-reset{background:#f4f8f0;border-radius:8px;margin-top:8px;padding:12px}.account-error{margin-top:12px}@media (max-width:660px){.accounts-grid{grid-template-columns:1fr;gap:12px}.account-list{padding:16px}.identity>span{max-width:8rem}}.watch-shell{max-width:1120px}.watch-shell .mast{min-height:64px}.watch-shell main{padding-top:max(13px,min(2.65vh,30px))}.watch-heading{margin-bottom:max(12px,min(2.35vh,23px))}.watch-heading .breadcrumb{font-size:.875rem;font-weight:640;text-decoration:none}.watch-heading .breadcrumb:hover,.watch-download:hover{text-decoration:underline}.watch-heading .breadcrumb span{opacity:.65;margin-left:3px;margin-right:3px}.watch-heading h1{letter-spacing:.01em;overflow-wrap:anywhere;margin:4px 0 0;font-size:max(1.7rem,min(3vw,2.6rem));line-height:1.2}.watch-grid{grid-template-columns:minmax(0,1.58fr) minmax(0,1fr);align-items:start;gap:max(20px,min(3vw,40px));display:grid}.watch-stage{isolation:isolate;background:radial-gradient(at 50% 45%,#263e3d,#172a2d 75%);border:1px solid #102a2b;border-radius:16px;place-items:center;display:grid;overflow:hidden;box-shadow:0 8px 22px #203f431f}.watch-stage video{height:max(240px,min(100vh - 208px,600px));aspect-ratio:9/16;object-fit:contain;background:#142125;width:auto;max-width:100%;height:max(240px,min(100svh - 208px,600px));display:block}.watch-video-meta{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;padding-left:3px;padding-right:3px;font-size:.875rem;display:flex}.watch-download{color:#385f56;text-underline-offset:.2em;align-items:center;min-height:44px;-webkit-text-decoration:underline #8ca69b;text-decoration:underline #8ca69b;display:inline-flex}.watch-error{margin:8px 0 0}.watch-companion{min-width:0}.watch-practice{border-left:3px solid #72917b;margin:0 0 max(15px,min(2.6vh,29px));padding:1px 0 2px 16px}.watch-label{color:#416458;font-size:.875rem;font-weight:730}.watch-label span{margin:0 .28em}.watch-practice h2{font-family:var(--serif);margin:3px 0;font-size:max(1.35rem,min(2.3vw,1.85rem))}.watch-practice p:not(.watch-label){color:var(--muted);margin-bottom:10px;font-size:.9375rem}.watch-cta.button{color:#fff;background:#24554f;border-color:#24554f;border-radius:999px;gap:.5em;padding:7px 16px}.watch-cta.button:hover{filter:none;background:#163c38}.watch-chapters-heading{border-bottom:1px solid #b8c7bd;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 8px;padding:0 0 7px;display:flex}.watch-chapters-heading h2,.watch-recap h2{font-size:1rem;font-weight:760}.watch-chapters-heading>span{color:var(--muted);font-size:.875rem}.watch-chapters ol{margin:0;padding:0;list-style:none}.watch-chapters li+li{border-top:1px solid var(--line)}.watch-episode{width:100%;min-height:46px;color:var(--ink);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 9px;display:grid}.watch-episode:hover{background:#edf2e9}.watch-episode[aria-current=true]{background:#dfece1;box-shadow:inset 3px 0 #527d6c}.watch-episode-title{overflow-wrap:anywhere;font-weight:640}.watch-episode-num,.watch-episode-time,.watch-episode-current{font-variant-numeric:tabular-nums;color:#3d6157;font-size:.875rem}.watch-episode-num,.watch-episode-current{font-weight:720}.watch-recap{border-top:1px solid #b8c7bd;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:max(16px,min(3vw,36px));margin-top:10px;padding:20px 0 8px;display:grid}.watch-recap p{color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px}@media (max-width:700px){.watch-grid{grid-template-columns:minmax(0,1fr);gap:12px}.watch-stage video{width:min(100%,24.75vh,340px);height:auto;width:min(100%,24.75svh,340px);min-width:min(100%,155px)}.watch-stage{border-radius:12px}.watch-heading{margin-bottom:12px}.watch-practice{margin-bottom:20px}.watch-recap{grid-template-columns:minmax(0,1fr);margin-top:18px}}
