/* The approved notes' paper, ink and B-fonts; no external dependencies. */
@font-face{font-family:NoteBody;src:url('b82aa8ef91fa042d5a1e.woff2') format('woff2');font-display:swap;font-weight:100 900}
@font-face{font-family:NoteTitle;src:url('2f2eeb0c980dde31cc08.woff2') format('woff2');font-display:swap;font-weight:100 900}
:root{--bg:#f4ecda;--paper:#fcfaf3;--ink:#30362f;--muted:#6c7467;--green:#346d54;--soft:#edf1e6;--line:#ded8c3;--gold:#9e783f;--red:#af5c44;--blue:#547f96;--radius:12px;--body-font:NoteBody,"LXGW WenKai","PingFang SC","Microsoft YaHei",sans-serif;--title-font:NoteTitle,NoteBody,"KaiTi",serif}
body,body[data-screen=home]{background:var(--bg);color:var(--ink);font-family:var(--body-font);font-size:17px;line-height:1.65;background-attachment:initial}
button,select{font-family:var(--body-font)}button{border-color:var(--line);border-radius:8px;background:var(--paper);color:var(--ink);transition:background .15s,border-color .15s;min-height:44px}
button:hover:not(:disabled){border-color:var(--green);background:#f5f6e9;box-shadow:none}button.primary,button.primary:hover:not(:disabled){background:var(--green);border-color:var(--green);color:#fffdf4;box-shadow:none}button.primary:active{box-shadow:none;transform:translateY(1px)}button.text-button{color:var(--muted)}button[aria-pressed=true]{border-color:var(--green);background:var(--soft)}
button:focus-visible,a:focus-visible,select:focus-visible,.note-point:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.app-header,body[data-screen=home] .app-header{max-width:1160px;padding:24px 32px 17px;border-bottom:1px solid var(--line);margin:0 auto 12px}.brand{border:0;background:transparent;gap:11px;min-width:0}.brand:hover:not(:disabled){background:transparent}.brand-mark{color:var(--red);border:1px solid #c88766;background:#f4e6c8;border-radius:5px;font-family:var(--title-font);font-size:26px;width:35px;height:39px;flex-shrink:0}.brand strong{font-family:var(--title-font);font-weight:400;font-size:23px;line-height:1.25}.brand small{color:var(--muted);font-size:11px;letter-spacing:.5px;margin-top:5px}.brand-note{color:var(--gold)}.header-actions{align-items:center;gap:6px;flex-shrink:0}.header-actions .text-button{font-size:14px;min-height:44px;display:inline-flex;align-items:center;padding:8px 10px}.paper-entry{color:var(--green);font-size:14px;border-color:#a8b59a;background:#f0f1df}.paper-entry:before{color:var(--green)}
.page,body[data-screen=home] .page{max-width:1160px;padding:0 32px 32px}.chapter-home{min-height:0;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center;padding:25px 0 34px;border-bottom:1px solid var(--line)}.home-copy{padding:12px 0}.home-kicker{color:var(--green);font-size:13px;letter-spacing:1px;margin:0 0 18px}.home-kicker>span{background:var(--green)}.home-copy h1{font-family:var(--title-font);font-size:44px;line-height:1.32;font-weight:400;color:var(--ink);letter-spacing:0;margin:0 0 20px}.home-copy h1>span{color:var(--green);background:linear-gradient(transparent 70%,#eedf9e 70%,#eedf9e 94%,transparent 94%)}.home-description{font-size:16px;line-height:1.8;color:var(--muted);margin-bottom:22px}.home-route{gap:16px;margin-bottom:25px}.home-route>div{gap:13px}.home-route>div>span{font-size:13px;color:var(--green);background:var(--soft);border-color:#d2dbc8;border-radius:4px;padding:5px 8px}.home-route strong{font-size:17px;font-weight:400;letter-spacing:0}.home-route small{font-size:13px;color:var(--muted);margin-top:3px}.home-start{max-width:350px}.home-start .primary{font-size:17px;min-height:50px;padding-left:20px;letter-spacing:0}.home-start>span{color:var(--muted);font-size:12px;margin-top:9px}
.home-art{min-height:0;display:block;isolation:auto;position:relative;padding:8px 32px 20px;margin:0}.note-cover{margin:0 auto;width:min(100%,260px);position:relative;transform:rotate(2deg)}.note-cover:before{content:'';position:absolute;inset:8px -7px -8px 7px;border:1px solid #dbd1b5;background:#efe4c9;z-index:-1}.note-cover img{width:100%;height:auto;display:block;border:1px solid #cfcab7;background:var(--paper);box-shadow:0 9px 25px #61522a12}.note-cover figcaption{margin-top:14px;color:var(--green);font-size:14px;text-align:center;transform:rotate(-2deg)}.note-cover figcaption span{color:var(--red);margin-right:5px}
.chapter-shelf{margin:27px auto 22px}.shelf-heading{margin-bottom:16px}.shelf-heading h2{font-family:var(--title-font);font-size:26px;color:var(--green);font-weight:400}.shelf-heading>span{font-size:13px;color:var(--muted)}.page-grid{gap:14px}.page-card{background:var(--paper);border-color:var(--line);border-radius:9px;padding:18px 16px;box-shadow:none;gap:14px}.page-card img{width:53px;height:75px;border-color:#d6d0bc;border-radius:2px}.page-card small{color:var(--gold);font-size:12px}.page-card strong{font-family:var(--title-font);font-size:21px;font-weight:400;line-height:1.4}.page-card em{color:var(--muted);font-size:12px;margin-top:6px}.page-card>b{color:var(--green);font-size:20px}.home-tail{border-color:var(--line);color:var(--muted);font-size:13px;padding:17px 0}.home-tail button{font-size:13px;min-height:44px}.home-dot{background:var(--gold)}
.journey{margin-top:22px;margin-bottom:19px}.journey-row{font-size:13px;color:var(--muted)}.step-pill{border-radius:4px;background:#e9e3d1;color:var(--muted);font-size:13px}.step-pill.done{background:#e6ebda;color:var(--green)}.step-pill.current{background:var(--green);color:var(--paper)}.progress-track{background:#e2dac1;height:4px}.progress-fill{background:var(--green)}
.lesson-card,.notes{background:var(--paper);border-color:var(--line);border-radius:12px;box-shadow:none}.lesson-card{padding:30px 34px}.lesson-card h2{font-family:var(--body-font);font-size:24px;font-weight:400;line-height:1.6}.card-label,.note-inline-label{font-size:14px;color:var(--muted)}.instruction{color:var(--muted);font-size:16px}.question-meta{font-size:14px;color:var(--muted)}.question-meta .type-tag{background:#eee4c9;color:#775b31;border-radius:4px;padding:4px 9px}.option{background:var(--paper);font-size:18px;border-color:var(--line);border-radius:8px;min-height:56px}.option:hover:not(:disabled){background:#f5f1e1;box-shadow:none}.option-letter{border-color:#c6c8b8;color:var(--muted);font-size:14px}.option[aria-pressed=true]{background:var(--soft);border-color:var(--green)}.option[aria-pressed=true] .option-letter{background:var(--green);color:var(--paper);border-color:var(--green)}.option.correct{background:#edf1e6;border-color:#8baa86}.option.correct .option-letter{background:var(--green);border-color:var(--green);color:var(--paper)}.option.incorrect{background:#f8ece0;border-color:#c48a6b}.option.incorrect .option-letter{background:var(--red);border-color:var(--red);color:var(--paper)}.selection-count{font-size:14px;color:var(--green)}.feedback{border-color:var(--line);font-size:17px}.feedback:not(.wrong)>strong{color:var(--green)}.feedback.wrong>strong{color:var(--red)}.feedback-guide,.answer-key,.feedback-map-link{font-size:14px;color:var(--muted)}.explanation{font-size:17px;line-height:1.85}.answer{background:var(--soft);border-color:var(--green);font-size:18px;border-radius:0 7px 7px 0}.little,.sub-actions button{font-size:13px;color:var(--muted)}.actions button{font-size:17px}.note-tools,.note-foot{border-color:var(--line);color:var(--muted)}.note-tools strong,.note-foot{font-size:13px}.note-loading{color:var(--muted);font-size:15px}
.free-heading h1,.finish-intro h2,.checkpoint h2,.sheet-heading h1{font-family:var(--title-font);font-weight:400;color:var(--ink)}.free-heading h1{font-size:34px}.free-heading p{font-size:16px}.free-card,.free-card:first-child,.free-card.mix,.free-card.detail{background:var(--paper);border-color:var(--line);border-top-color:var(--green);border-radius:10px;box-shadow:none}.free-card.mix{border-top-color:var(--gold)}.free-card.detail{border-top-color:var(--blue)}.free-card h2{font-family:var(--title-font);font-weight:400;font-size:24px}.free-card p{font-size:15px}.free-page-actions button,.free-bottom button{font-size:14px}.finish-sun{background:#eee3ba;color:var(--gold);border-radius:8px}.result-summary{border-color:var(--line);border-radius:9px;background:#f3edda}.result-summary>div+div{border-color:var(--line)}.result-summary span{color:var(--muted);font-size:13px}.pocket-heading h3{font-family:var(--title-font);font-size:23px;font-weight:400}.pocket-heading>span{font-size:13px}.pocket-card,.pocket-card.is-open{border-color:var(--line);background:var(--paper);border-radius:10px;box-shadow:none}.pocket-card.is-open{border-color:#98b18b}.pocket-title{font-size:13px;color:var(--gold)}.pocket-prompt{font-size:17px;font-weight:400}.pocket-toggle{border-color:var(--line);border-radius:6px;background:var(--paper)}.pocket-toggle>span{background:#f3eedc;border-color:var(--line);color:var(--muted);font-size:13px}.pocket-answer{font-size:16px;color:var(--ink)}.pocket-link{font-size:13px!important;color:var(--green)!important}.earlier-weak,.finish-intro>p:last-child{font-size:14px;color:var(--muted)}
body[data-screen=paper],body[data-screen=paper] .page,body.paper-immersive .page,body[data-screen=paper] .notes{background:var(--paper)}.reader-bar{background:#f5edd8f5;border-color:#d9d1b9;min-height:56px}.reader-bar>strong,.reader-back{color:var(--ink)}.reader-bar>strong{font-size:15px;font-weight:400}.reader-actions button{font-size:13px;border-radius:5px;color:var(--ink)}.reader-actions .primary{color:var(--paper)}.reader-selected{background:#fcfaf3f5;border-color:#d4d8c5;color:var(--green);box-shadow:0 3px 15px #3c4e2712;border-radius:7px;font-size:13px}.reader-selected button{font-size:12px}.reader-swipe-hint{background:#fcfaf3ed;border-color:var(--line);color:var(--muted);font-size:12px;border-radius:6px}.reader-settings{background:var(--paper);color:var(--ink);border-color:var(--line);border-radius:10px;box-shadow:0 10px 28px #483a1f1a;font-size:14px}.reader-settings select{background:var(--paper);font-size:14px;border-radius:5px}.reader-settings .text-button,.reader-settings p{font-size:13px}.reader-zoom button{font-size:14px}
.point-mask{fill:#edddc5}.tier-yellow .point-mask{fill:#eedf9e}.tier-detail .point-mask{fill:#dfe7df}.mask-dots{fill:#8c6b53}.tier-yellow .mask-dots{fill:#8b743a}.tier-detail .mask-dots{fill:#677c70}.note-guard:focus .hint-cover>rect{stroke:var(--green)}
.note-camera{background:var(--paper);border-color:var(--line);border-radius:12px;box-shadow:0 22px 65px #35362e35}.note-camera::backdrop{background:#30362f80;backdrop-filter:blur(3px)}.camera-heading span{font-size:12px;color:var(--gold)}.camera-heading strong{font-family:var(--title-font);font-size:24px;font-weight:400}.camera-heading>button{color:var(--muted)}.camera-steps{color:var(--muted)}.camera-steps>button{background:#f0ead7;color:var(--muted);font-size:13px;border-radius:4px;min-height:38px}.camera-steps>button[aria-pressed=true]{background:var(--soft);color:var(--green)}.camera-stage{background:#f4efdf;border-color:var(--line)}.camera-stage .note-point.active .point-focus{stroke:var(--red)!important}.camera-map{background:var(--paper);border-color:var(--line)}.camera-map>span{color:var(--red)}.camera-map svg rect{stroke:var(--red)}.camera-bottom p{font-size:14px;color:var(--muted)}.camera-bottom .primary{font-size:15px}.welcome-note,.session-note{background:#f2ead3;border-color:var(--line);color:var(--ink)}.welcome-note p,.session-note button{color:var(--muted)}.selected-point{color:var(--green)}.toast{background:var(--green);border-radius:7px;font-size:15px}.app-footer{color:var(--muted);font-size:12px}
@media(max-width:980px) and (min-width:761px){.page-card{padding:15px 12px;gap:10px}.page-card strong{font-size:19px}.home-copy h1{font-size:39px}.home-art{padding-inline:15px}}
@media(max-width:760px){body,body[data-screen=home]{font-size:17px}.app-header,body[data-screen=home] .app-header{padding:15px 16px 12px;margin-bottom:5px;gap:9px}.brand-mark{width:29px;height:33px;font-size:23px}.brand strong{font-size:20px;max-width:180px;overflow-wrap:anywhere}.brand small{font-size:10px;letter-spacing:0}.brand{gap:8px;flex:1}.header-actions{gap:0}.header-actions .text-button{font-size:13px;padding:7px}.header-actions .paper-entry{display:none}.page,body[data-screen=home] .page{padding:0 18px 24px}.chapter-home{display:block;padding:20px 0 26px}.home-copy{padding:0}.home-kicker{font-size:13px;letter-spacing:0;margin-bottom:14px}.home-copy h1{font-size:37px;line-height:1.32;letter-spacing:0;margin-bottom:16px}.home-description{font-size:16px;line-height:1.75;margin-bottom:20px}.home-route{gap:13px;margin-bottom:22px}.home-route strong{font-size:17px}.home-route small{font-size:13px;line-height:1.6}.home-route>div>span{font-size:12px;padding:4px 7px}.home-start{max-width:none}.home-start .primary{font-size:17px;min-height:50px;text-align:center}.home-start>span{font-size:12px;margin-top:9px}.home-art{display:none}.chapter-shelf{margin-top:22px}.shelf-heading{align-items:center;gap:8px;margin-bottom:13px}.shelf-heading h2{font-size:25px;white-space:nowrap}.shelf-heading>span{font-size:12px;line-height:1.5;text-align:right}.page-grid{gap:11px}.page-card{padding:14px;min-height:104px;gap:13px;border-radius:8px}.page-card img{width:47px;height:67px}.page-card strong{font-size:22px;line-height:1.4}.page-card small,.page-card em{font-size:12px}.home-tail{font-size:13px;gap:4px}.home-tail button{font-size:13px;min-height:44px}.lesson-card{padding:23px 20px;border-radius:10px}.lesson-card h2{font-size:23px;line-height:1.6}.question-meta{font-size:13px}.option{font-size:18px;padding:12px;min-height:54px;gap:11px}.option-letter{font-size:13px;width:26px;height:26px}.actions button{font-size:17px}.step-pill{font-size:12px;padding:4px 8px}.journey-row{font-size:12px}.feedback,.explanation{font-size:17px}.note-foot{font-size:12px}.free-heading h1{font-size:31px}.free-card p{font-size:15px}.free-page-actions button{font-size:14px}.pocket-prompt{font-size:17px}.pocket-title,.pocket-heading>span{font-size:12px}.pocket-answer{font-size:16px}.result-summary span{font-size:12px}.reader-bar{min-height:53px;gap:3px}.reader-bar>strong{font-size:12px;max-width:110px}.reader-actions button{font-size:12px;padding:6px 8px;min-height:39px}.reader-actions{gap:4px}.reader-selected>span{max-width:135px}.reader-swipe-hint{font-size:11px}.note-camera{border:0;border-radius:0}.camera-heading strong{font-size:22px}.camera-steps>button{font-size:12px;min-height:36px}.camera-bottom p{font-size:13px}.camera-bottom .primary{font-size:16px;min-height:44px}}
@media(min-width:761px) and (max-height:740px){.app-header,body[data-screen=home] .app-header{padding-block:16px 13px;margin-bottom:6px}.chapter-home{padding:18px 0 24px;gap:32px}.home-copy{padding:0}.home-kicker{font-size:12px;margin-bottom:12px}.home-copy h1{font-size:36px;line-height:1.3;margin-bottom:14px}.home-description{font-size:14px;line-height:1.75;margin-bottom:18px}.home-route{flex-direction:row;gap:18px;margin-bottom:23px}.home-route>div{flex:1;gap:9px}.home-route strong{font-size:15px}.home-route small{font-size:12px;line-height:1.7}.home-route>div>span{font-size:11px;padding:4px 6px}.home-start .primary{min-height:46px;font-size:16px}.home-start>span{font-size:11px;margin-top:7px}.home-art{padding:0 32px 12px}.note-cover{width:min(100%,205px)}.note-cover figcaption{font-size:12px;margin-top:12px}.chapter-shelf{margin:20px auto}.shelf-heading h2{font-size:24px}.shelf-heading>span{font-size:12px}.page-card{padding:14px}.page-card strong{font-size:20px}.page-card img{width:45px;height:64px}}
@media(max-width:370px){.brand strong{font-size:18px;max-width:146px}.brand-mark{display:none}.header-actions .text-button{font-size:12px;padding-inline:6px}.home-copy h1{font-size:33px}.shelf-heading h2{font-size:23px}.reader-bar>strong{display:none}.reader-actions button{font-size:12px;padding-inline:8px}.reader-selected>span{max-width:110px}.lesson-card{padding:21px 17px}.step-pill{font-size:11px}.journey-row{gap:5px;font-size:11px}}
.reader-bar>strong{min-width:0;flex:1 1 0}.reader-back{flex:0 0 26px}.reader-actions{margin-left:0;flex:0 0 auto}.reader-actions button{min-height:44px}
@media(max-width:760px){.brand strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:370px){.home-copy h1{font-size:30px}}
@media(max-width:370px){.reader-bar>strong{display:block;font-size:10px;max-width:none}}
.note-guard .hint-cover>rect{fill:var(--paper);stroke:#bcb493}.note-guard .hint-cover text{font-family:var(--body-font);fill:var(--green)}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* A small sun, shared by the catalog and chapter headers. */
.brand-mark{display:grid;place-items:center;border:0;background:transparent;color:#b9783b;border-radius:0;width:35px;height:39px}.brand-sun{display:block;width:30px;height:30px;flex-shrink:0}
@media(max-width:760px){.brand-mark{display:grid;width:29px;height:33px}.brand-sun{width:27px;height:27px}}
@media(max-width:370px){.brand-mark{display:grid;width:25px;height:31px}.brand-sun{width:25px;height:25px}.brand strong{max-width:140px}}
