: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}.watch-grid{grid-template-columns:minmax(190px,1fr) minmax(235px,1.2fr) minmax(200px,1fr);align-items:start;gap:18px;display:grid}.playlist{padding:16px 11px}.playlist h2{margin:0 8px 12px}.playlist button{text-align:left;width:100%;min-height:50px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:9px;padding:10px;display:flex}.playlist button.current,.playlist button:hover{background:var(--green)}.num{font-variant-numeric:tabular-nums;color:#426962;font-weight:750}.player{text-align:center}.player video{aspect-ratio:9/16;object-fit:contain;background:#19282a;border-radius:13px;width:min(100%,340px);max-width:100%;max-height:64vh;margin:auto;display:block}.notes{gap:14px;display:grid}.notes .panel{padding:16px}.notes h2{margin-bottom:8px}.notes p{color:var(--muted)}.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)}.watch-grid{grid-template-columns:minmax(140px,.9fr) minmax(190px,1.2fr) minmax(145px,.9fr);gap:12px}.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,.watch-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)}.watch-grid .player{grid-row:1}.player video{max-height:57vh}.field-pair{grid-template-columns:1fr}.login-grid{gap:15px;margin:7px 0}.login-art{display:none}.chapter,.problem,.form{padding:16px}}
