:root{--bg:#f7f6f0;--surface:#fffefa;--ink:#293d39;--body:#475852;--muted:#607169;--green:#356a55;--line:#dce2d9;--mint:#e5eee5;--sand:#f2ead6;--blue:#e7eeee;--rose:#f1e8e1;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",sans-serif;color:var(--body);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}a:focus-visible,button:focus-visible{outline:3px solid #98701c;outline-offset:4px;border-radius:5px}svg{display:block;width:24px;height:24px;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{color:var(--ink)}.skip{position:fixed;left:12px;top:-90px;z-index:100;background:white;padding:15px}.skip:focus{top:12px}.preview-bar{padding:7px 16px;background:#e5e9df;color:#4c6255;text-align:center;font-size:var(--font-ui);line-height:1.5}.preview-bar span{margin-left:18px}.header{border-bottom:1px solid var(--line);background:var(--surface)}.header-inner{max-width:1104px;padding:21px 32px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);font-size:17px;font-weight:700;letter-spacing:.02em;min-height:44px}.brand small{display:block;font-weight:500;font-size:var(--font-ui);margin-bottom:3px}.brand-mark{display:grid;place-items:center;background:var(--green);color:#fffefa;border-radius:13px;width:43px;height:47px;flex-shrink:0}.desktop-nav{display:flex;align-items:center;gap:24px;font-size:var(--font-ui)}.desktop-nav a,.desktop-nav button{min-height:44px;display:flex;align-items:center;gap:7px}.desktop-nav button{border:0;background:transparent;color:var(--body);padding:0}.desktop-nav a:hover{color:var(--green);text-decoration:underline;text-underline-offset:6px}.desktop-nav svg{width:19px;height:19px}.page{max-width:1000px;margin:auto;padding:39px 32px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:var(--font-ui);letter-spacing:.1em;color:var(--muted);font-weight:600;margin-bottom:9px}h1{font-size:29px;line-height:1.5;font-weight:650;letter-spacing:.015em}.welcome{margin-top:10px;font-size:var(--font-ui);line-height:1.8}.course-seal{width:60px;height:60px;display:grid;place-items:center;color:#7f9674;border:1px solid #d4dfc9;border-radius:50%;transform:rotate(-7deg)}.course-seal svg{width:29px;height:29px}.mobile-break{display:none}.resume{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:26px 28px;background:#e9efe4;border:1px solid #d2dfcc;border-radius:12px}.resume-kicker{font-size:var(--font-ui);color:var(--green);font-weight:600;letter-spacing:.05em}.resume h2{font-size:19px;line-height:1.6;margin:8px 0}.resume p{font-size:var(--font-ui);line-height:1.8}.primary{display:inline-flex;align-items:center;justify-content:center;gap:14px;background:var(--green);border:1px solid var(--green);color:white;padding:14px 19px;min-height:48px;white-space:nowrap;border-radius:7px;font-size:var(--font-ui);font-weight:600}.primary:hover{background:#285540}.primary svg{width:18px;height:18px}.progress-row{display:flex;align-items:center;gap:14px;margin:19px 0 34px;font-size:var(--font-ui);color:var(--muted)}.progress-row strong{font-size:16px;color:var(--ink);font-weight:650}.track{max-width:210px;height:5px;background:#dfe5da;flex:1;border-radius:4px;overflow:hidden}.track>span{display:block;background:var(--green);width:0;height:100%}.section{margin-top:35px;scroll-margin-top:24px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.section-title .eyebrow{font-size:var(--font-ui);letter-spacing:.16em;margin-bottom:5px}.section h2{font-size:23px;line-height:1.6;font-weight:650}.section-caption{font-size:var(--font-ui);color:var(--muted)}.chapters{list-style:none;padding:0;margin:0;display:grid;gap:10px}.chapter{display:flex;align-items:center;gap:22px;padding:20px 24px;border:1px solid var(--line);border-radius:10px;background:var(--surface);min-height:118px}.chapter.ready{border-color:#a8c0a9;box-shadow:0 2px 6px #2b483205}.chapter.ready:hover{border-color:var(--green);background:#f9fcf5}.chapter-art{width:64px;height:66px;border-radius:10px;display:grid;place-items:center;flex-shrink:0;color:#557459}.chapter-art svg{width:29px;height:29px}.mint{background:var(--mint)}.sand{background:var(--sand);color:#8b7439}.blue{background:var(--blue);color:#5b7e7d}.rose{background:var(--rose);color:#9a775e}.chapter-copy{flex:1;min-width:0}.chapter-meta{display:flex;gap:12px;align-items:center;font-size:var(--font-ui);line-height:1.7;color:var(--muted);margin-bottom:5px}.status{display:inline-flex;align-items:center;font-size:var(--font-ui);line-height:1.5;color:#627166;background:#f0f1eb;border-radius:4px;padding:3px 7px;white-space:nowrap}.open-status{background:#e6eee2;color:#476547}.chapter h3{font-size:18px;line-height:1.65;font-weight:600}.chapter p{font-size:var(--font-ui);line-height:1.85;margin-top:5px}.chapter-arrow{color:var(--green);flex-shrink:0}.chapter-arrow svg{width:19px}.small-note{font-size:var(--font-ui);line-height:1.9;color:var(--muted);margin-top:14px}.section-intro{font-size:var(--font-ui);line-height:1.8;margin:-8px 0 20px}.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.tool{padding:23px 22px;border:1px solid var(--line);background:var(--surface);border-radius:10px;position:relative}.tool-icon{display:block;color:var(--green);margin-bottom:18px}.tool>.status{position:absolute;right:17px;top:23px}.tool h3{font-size:17px;line-height:1.6;margin-bottom:8px}.tool p{font-size:var(--font-ui);line-height:1.85}.tool-context{display:block;border-top:1px solid #e9ebe3;padding-top:14px;margin-top:18px;color:var(--muted);font-size:var(--font-ui);line-height:1.7}.update-list{background:var(--surface);border:1px solid var(--line);border-radius:10px}.update{display:flex;align-items:center;gap:14px;padding:22px;font-size:var(--font-ui);line-height:1.8}.update time{font-size:var(--font-ui);color:var(--muted);white-space:nowrap}.update-category{font-size:var(--font-ui);background:var(--mint);padding:2px 6px;border-radius:3px;white-space:nowrap}.update-title{flex:1}.update>span:last-child svg{width:18px}.update:hover .update-title{text-decoration:underline}.footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);margin-top:52px;padding:22px 0 28px;font-size:var(--font-ui);color:var(--muted)}.footer a{display:flex;gap:8px;align-items:center;min-height:44px}.footer svg{width:16px;height:16px}.mobile-nav{display:none}dialog{max-width:440px;width:calc(100% - 40px);border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:25px;color:var(--body)}dialog::backdrop{background:#23382f66}.dialog-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:20px}.dialog-top h2{font-size:22px}.dialog-top button{height:44px;width:44px;background:none;border:1px solid var(--line);border-radius:50%;font-size:26px;color:var(--ink)}dialog p{font-size:var(--font-ui);line-height:1.9;margin-bottom:17px}dialog form .primary{width:100%;margin-top:8px}.lesson{max-width:800px}.back{display:flex;align-items:center;gap:9px;min-height:44px;width:fit-content;font-size:var(--font-ui);color:var(--green)}.back svg{width:18px}.lesson-heading{margin:28px 0 35px}.lesson-heading h1{font-size:30px}.lesson-heading p:last-child{margin-top:14px;color:var(--muted);font-size:var(--font-ui);line-height:1.8}.prose{font-size:17px;line-height:2.1;background:var(--surface);border:1px solid var(--line);padding:38px;border-radius:12px}.prose p{margin-bottom:1.7em}.prose h2{font-size:24px;line-height:1.7;margin:48px 0 25px;scroll-margin-top:24px}.prose h3{font-size:20px;line-height:1.8;margin:34px 0 20px}.lesson-end{padding:24px 0;font-size:var(--font-ui);line-height:1.9}.lesson-end p{margin-bottom:20px}
@media(max-width:800px){.desktop-nav{gap:14px;font-size:var(--font-ui)}.desktop-nav button span:last-child{display:none}.header-inner{padding-inline:24px}.page{padding-inline:24px}.resume{align-items:flex-start;flex-direction:column;gap:18px}.tools-grid{grid-template-columns:1fr}.tool{display:grid;grid-template-columns:36px 1fr;column-gap:16px;padding:22px}.tool-icon{grid-row:1/4;margin-top:5px}.tool h3{padding-right:60px}.tool p,.tool-context{grid-column:2}.tool-context{border:0;padding:0;margin-top:8px}.update{flex-wrap:wrap;gap:8px 12px}.update-title{flex-basis:calc(100% - 32px);order:2}.update>span:last-child{order:3}}
@media(max-width:600px){.preview-bar{font-size:var(--font-ui);padding:6px 12px}.preview-bar span{margin-left:10px}.header-inner{padding:16px 20px}.brand{font-size:var(--font-ui);gap:10px}.brand small{font-size:var(--font-ui)}.brand-mark{height:40px;width:37px;border-radius:10px}.brand-mark svg{width:22px}.desktop-nav{display:none}.page{padding:27px 20px 88px}.page-heading{margin-bottom:22px;gap:8px}.page-heading h1{font-size:26px;line-height:1.55}.eyebrow{font-size:var(--font-ui)}.welcome{font-size:var(--font-ui);margin-top:9px}.course-seal{width:45px;height:45px;flex-shrink:0}.course-seal svg{width:24px}.mobile-break{display:block}.resume{padding:20px;gap:16px}.resume h2{font-size:17px}.resume p{font-size:var(--font-ui)}.primary{width:100%;min-height:48px;font-size:var(--font-ui);white-space:normal}.progress-row{margin:17px 0 28px;font-size:var(--font-ui);gap:12px}.track{max-width:none}.section{margin-top:31px}.section-title{margin-bottom:15px;gap:9px}.section h2{font-size:21px}.section-caption{font-size:var(--font-ui)}.chapters{gap:11px}.chapter{padding:18px 14px;gap:12px;align-items:flex-start;min-height:0}.chapter-art{width:39px;height:43px;border-radius:8px;margin-top:3px}.chapter-art svg{width:23px;height:23px}.chapter h3{font-size:16px;line-height:1.75}.chapter-meta{font-size:var(--font-ui);gap:8px;flex-wrap:wrap}.chapter p{font-size:var(--font-ui);line-height:1.9;margin-top:6px}.chapter-arrow{display:none}.status{font-size:var(--font-ui)}.section-intro{font-size:var(--font-ui)}.tool{padding:20px 16px;column-gap:10px;grid-template-columns:28px 1fr}.tool h3{font-size:16px}.tool>.status{right:14px;top:22px}.tool p{font-size:var(--font-ui)}.tool-context{font-size:var(--font-ui)}.update{padding:18px 16px}.update-title{font-size:var(--font-ui);line-height:1.9}.small-note{font-size:var(--font-ui)}.footer{flex-direction:column;align-items:flex-start;gap:2px;margin-top:34px;padding-block:20px 8px}.mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;border-top:1px solid #d7dfd4;background:#fffefaf7;padding:5px 8px calc(5px + env(safe-area-inset-bottom));backdrop-filter:blur(8px);z-index:20}.mobile-nav a,.mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;min-width:44px;padding:5px 2px;border:0;background:transparent;font-size:var(--font-ui);line-height:1.3;color:#5f6e65;border-radius:7px}.mobile-nav svg{height:20px;width:20px}.mobile-nav [aria-current]{color:var(--green);background:#ebf0e6;font-weight:650}.prose{padding:24px 19px;font-size:16px;line-height:2.05}.prose h2{font-size:21px;margin-top:35px}.prose h3{font-size:18px}.lesson-heading h1{font-size:25px}.lesson-heading{margin:22px 0 26px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:600px){.welcome,.resume p,.section-intro{font-size:var(--font-ui)}.chapter p,.tool p{font-size:var(--font-ui);line-height:1.85}.chapter-meta .status,.tool>.status{font-size:var(--font-ui)}.section-title .eyebrow{font-size:var(--font-ui)}}
