/* Semantic lessons: readable tables, short sections, and optional source text. */
.edition-note{color:var(--muted);font-size:13px!important;margin:18px 0 24px;line-height:1.75!important}.lesson-block{margin:25px 0}.content-card .lesson-title{font-size:17px;line-height:1.6;font-weight:600;margin:0 0 10px}.lesson-block p,.lesson-callout p{margin:0;white-space:pre-line;overflow-wrap:anywhere}.lesson-list{padding-left:1.4em;margin:8px 0}.lesson-list li{padding-left:3px;margin:10px 0}.lesson-callout{border-left:3px solid #9b9f79;padding:13px 16px;margin:22px 0;background:#eeeee2}.lesson-callout .lesson-title{font-size:15px}.lesson-callout p{font-size:15px!important;line-height:1.85!important}.lesson-table-wrap{margin:24px 0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border-radius:5px;scroll-margin:15px}.lesson-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px;line-height:1.8;text-align:left;background:#faf9f3}.lesson-table caption{text-align:left;font-size:16px;font-weight:600;padding:0 0 10px;color:var(--ink)}.lesson-table th,.lesson-table td{border:1px solid #d4d9c9;padding:11px 12px;vertical-align:top;overflow-wrap:anywhere;word-break:normal;font-weight:400}.lesson-table thead th{background:#e7ebde;font-weight:600}.lesson-table tbody th{font-weight:500;background:#f1f2e8}.lesson-table tbody tr:nth-child(even) td{background:#f6f5ed}.lesson-table th:first-child{width:30%}.lesson-flow{margin:25px 0}.lesson-flow figcaption{font-size:16px;font-weight:600;margin-bottom:12px}.lesson-flow ol{list-style:none;padding:0;counter-reset:flow;display:flex;flex-wrap:wrap;gap:18px}.lesson-flow li{counter-increment:flow;position:relative;flex:1 1 115px;border:1px solid #cfd7c4;border-radius:6px;background:#edf0e4;padding:12px;font-size:15px!important;line-height:1.8!important;display:flex;gap:9px;align-items:flex-start}.lesson-flow li:before{content:counter(flow);font-size:12px;background:#dce4d1;color:#415c3d;min-width:22px;height:22px;line-height:22px;border-radius:50%;text-align:center;margin-top:2px}.lesson-flow li+li:after{content:'→';position:absolute;left:-16px;top:calc(50% - 13px);font-size:14px;color:#66765c}.source-original{margin:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.source-original>summary{padding:15px 0;cursor:pointer;font-size:15px;font-weight:500}.original-content{padding:0 0 16px}.original-content .lesson-table{font-size:14px}.source-caution{font-size:13px!important;line-height:1.85!important;color:var(--muted);margin:12px 0!important}.lesson-pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;line-height:1.9;background:#f0f0e7;padding:14px}.source-question{border-bottom:1px solid var(--line);padding:0}.source-question>summary{display:flex;gap:11px;align-items:baseline;padding:16px 0;cursor:pointer;font-size:16px;line-height:1.9;list-style:none}.source-question>summary::-webkit-details-marker{display:none}.source-question>summary:after{content:'＋';color:var(--green);font-size:18px;margin-left:auto;padding:0 3px}.source-question[open]>summary:after{content:'−'}.source-q-number{flex:0 0 23px;color:var(--muted);font-size:13px}.source-q-content{padding:0 0 19px 34px}.source-options{list-style:none;padding:0;margin:0}.source-options li{font-size:15px;line-height:1.9;margin:7px 0;display:flex;gap:5px}.source-options li>span{flex:0 0 23px}.source-answer{background:#e8eddf;padding:10px 12px;margin:12px 0!important;font-size:15px!important}.source-original:focus-within,.lesson-table-wrap:focus-visible{outline:2px solid #71856b;outline-offset:3px}
@media(max-width:600px){.lesson-table{font-size:14px;line-height:1.8}.lesson-table caption{font-size:16px}.lesson-table th,.lesson-table td{padding:10px 8px}.lesson-table th:first-child{width:31%}.lesson-flow ol{flex-direction:column;gap:20px}.lesson-flow li{flex:auto;padding:12px;font-size:15px!important}.lesson-flow li+li:after{content:'↓';left:calc(50% - 5px);top:-24px}.content-card .lesson-title{font-size:17px}.lesson-block{margin:23px 0}.lesson-callout{padding:12px 13px}.source-q-content{padding-left:0}.source-question>summary{font-size:16px;gap:8px}.source-question>summary>span:nth-child(2){flex:1}.source-q-number{flex-basis:17px}.original-content .lesson-table{font-size:13px}.edition-note{margin-top:15px}}
/* Reading-first interface. Warm paper, quiet navigation, and a single task at a time. */
.study-workflow h2{font-size:18px}.workflow-intro{font-size:14px;color:var(--muted);margin:5px 0 12px}.workflow-row{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:12px;padding:16px 0;border-top:1px solid var(--line)}.step-index{display:grid;place-items:center;width:26px;height:26px;background:#e4eadc;border-radius:50%;font-size:13px;color:var(--green)}.workflow-row h3{font-size:16px}.workflow-row p{font-size:13px;color:var(--muted);margin-top:3px}.reading-next{margin:24px 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.reading-next p{font-size:14px!important;color:var(--muted);margin-bottom:12px}.reading-next small{display:block;margin-top:10px;font-size:12px}.reading-next .btn{width:100%}@media(max-width:600px){.workflow-row{grid-template-columns:26px 1fr;gap:8px 10px;padding:15px 0}.workflow-row .btn{grid-column:2;justify-self:start;font-size:14px}.workflow-row h3{font-size:16px}.workflow-row p{font-size:13px}.study-workflow{padding:17px!important}}
:root{--paper:#f3f1e8;--white:#f9f8f2;--ink:#303c32;--muted:#626d60;--green:#48634b;--light:#e7ebdf;--orange:#966245;--line:#d9ddcf;--radius:9px;--shadow:none;--serif:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif}
body{font-size:16px;line-height:1.8}.sidebar{display:none}.workspace{margin:0 auto;padding:0 24px;max-width:880px}.topbar{height:auto;min-height:66px;display:flex;flex-wrap:wrap;gap:0;padding-top:0;position:relative}.study-brand{font-size:18px;font-weight:600;letter-spacing:0;padding:17px 0}.top-actions{margin-left:auto;gap:12px}.topbar .icon-button{border:none;border-radius:6px;width:auto;padding:4px 9px;font-size:13px;background:transparent}.topbar .status{font-size:12px;color:var(--muted)}.study-tabs{width:100%;display:flex;gap:22px;border-top:1px solid var(--line);padding:0}.study-tabs button{border:0;border-bottom:2px solid transparent;background:none;font-size:15px;padding:12px 0;color:var(--muted);min-height:47px}.study-tabs button.active{color:var(--green);border-bottom-color:var(--green);font-weight:600}.eyebrow,.hero,.hero-art,.route-leaf,.week-number,.page-footer{display:none}.page-heading{margin:24px 0 18px;align-items:center}.page-heading h1{font-family:inherit;font-weight:600;font-size:24px;letter-spacing:0}.page-heading p{font-size:14px;color:var(--muted);margin-top:4px}.card{box-shadow:none;border-radius:9px;padding:21px;background:var(--white)}h1,h2,h3{font-family:inherit}h2{font-size:19px}h3{font-size:17px}.btn{font-size:15px;min-height:45px;padding:10px 16px;border-radius:7px;box-shadow:none}.btn.primary{background:var(--green)}.btn.small{font-size:13px;min-height:39px;padding:7px 12px}.btn.text{font-size:14px}.pill{border-radius:5px;font-size:12px;padding:3px 8px;background:#e8ecdf;color:#52664b}.pill.orange{background:#efe5d9;color:#835a40}.study-summary{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:13px;margin:0 0 18px}.study-start{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line)}.study-start h2{font-size:18px}.study-start p{font-size:13px;color:var(--muted);margin-top:4px}.study-links{display:flex;gap:9px;flex-wrap:wrap;padding-top:16px}.section-title{margin:25px 0 10px}.section-title h2{font-size:17px}.study-source-list{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:var(--white)}.study-source-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:15px 18px;min-height:63px;border:0;border-bottom:1px solid var(--line);background:transparent}.study-source-row:last-child{border-bottom:0}.study-source-row:hover{background:#ecf0e4}.study-source-row .source-copy{flex:1;min-width:0}.study-source-row strong{font-size:15px;font-weight:500}.study-source-row small{display:block;font-size:12px;color:var(--muted);margin-top:2px}.study-source-row svg{color:var(--muted)}.study-training{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 18px}.study-training p{font-size:13px;color:var(--muted);margin-top:4px}.study-training h3{font-size:16px}.onboarding{padding:17px;background:var(--white);border-color:var(--line);margin:0 0 18px}.onboarding h3{font-size:16px}.onboarding p{font-size:14px;margin:5px 0 14px}.intro{font-size:14px}.two-col,.quiz-layout,.knowledge-grid,.route-grid,.practice-list,.settings-grid{grid-template-columns:1fr;gap:15px}.stack{gap:15px}.quiz-layout{display:flex;flex-direction:column}.quiz-side{width:100%;padding:14px 18px}.quiz-side h3,.quiz-side>p{display:none}.quiz-side .question-map{grid-template-columns:repeat(10,1fr);margin:10px 0}.quiz-side .map-button{font-size:12px;min-height:34px}.question-card{padding:25px 24px}.question-counter{font-size:13px;align-items:flex-start}.question-counter span:first-child{max-width:80%}.question-stem{font-size:21px;line-height:1.95;font-weight:500;margin:22px 0}.option{font-size:17px;line-height:1.85;padding:15px 17px;border-radius:7px;border-color:#d5dbcb;margin:11px 0;background:#faf9f4}.option .key{font-size:14px;background:#e9ecdf;border-radius:5px;width:27px;height:27px}.option.selected{background:#e4ebdb;border-color:#788e6d}.option.correct{background:#e8efde;border-color:#71896b}.option.wrong{background:#f2e9df;border-color:#b08b71}.option:disabled{opacity:1;cursor:default}.answer-panel p{font-size:16px;line-height:1.95}.answer-panel h3{font-size:17px}.notice{font-size:14px;line-height:1.9;padding:14px 16px;border-radius:5px;margin:17px 0;background:#ede8d9;color:#4a5145}.notice.green{background:#e7ecdf;color:#45543f}.content-card{max-width:none;padding:26px}.content-card h1{font-size:25px;font-weight:600}.content-card .body-line{font-size:17px;line-height:2;max-width:70ch}.content-card p,.content-card li{font-size:16px;line-height:1.95}.knowledge-detail-section h3{font-size:16px}.source-footer{font-size:13px;line-height:1.9}.knowledge-card{min-height:0;padding:17px 19px;gap:5px}.knowledge-card h3{font-size:17px}.knowledge-card p{font-size:14px;line-height:1.85;-webkit-line-clamp:2}.knowledge-card>small{font-size:12px}.knowledge-card .card-meta{font-size:12px;margin-top:8px}.related-item{font-size:15px;line-height:1.85;min-height:46px;background:#f0f1e7}.filter-bar{gap:7px}.chip{border-radius:6px;font-size:13px;padding:8px 11px;min-height:40px}.search{background:var(--white);font-size:16px}.route-grid .week-card{min-height:0;padding:18px 20px}.week-card h3{font:600 18px/1.6 var(--serif);margin:0 0 5px}.week-card p{font-size:14px;max-width:none;line-height:1.85}.week-card small{font-size:12px}.week-card .progress-bar{height:3px}.practice-card h3{font-size:17px}.practice-card p{font-size:14px}.practice-card .version{font:15px var(--serif);color:var(--muted)}.field label{font-size:14px;color:var(--muted)}.field input,.field select,.field textarea{background:var(--white);font-size:17px;border-radius:6px}.note-area{font-size:17px;line-height:1.9;border-radius:6px;background:#f5f4eb}.settings-grid .card p{font-size:14px}.install-steps li{font-size:14px}.source-detail{font-size:13px}.backup-box{display:block;background:var(--white)}.backup-box .btn{margin-top:16px}.backup-box p{font-size:14px}.banner{font-size:13px;border-radius:6px}.result-number{font-family:inherit;font-weight:600;font-size:43px}.empty{padding:30px 16px}.empty>svg{display:none}.empty p{font-size:14px}.compare-grid{gap:14px}.compare-row{font-size:15px}.compare-row small{font-size:13px}.toolbar{font-size:13px;margin-bottom:14px}.competency .chip{font-size:13px}.confidence{gap:8px}#toast{left:50%;bottom:25px;background:#3f5747;color:#fff;box-shadow:none;font-size:14px;border-radius:7px}.learning-footer{padding:22px 0;color:var(--muted);font-size:12px;text-align:center}.mobile-nav{display:none}
@media(max-width:600px){body{font-size:16px}.workspace{margin:0;padding:0 16px;max-width:none}.topbar{min-height:57px;padding-top:env(safe-area-inset-top)}.study-brand{font-size:17px;padding:13px 0}.topbar .status{font-size:11px}.top-actions{gap:7px}.topbar .icon-button{font-size:13px;padding:6px}.study-tabs{display:none}.page-heading{margin:20px 0 16px}.page-heading h1{font-size:23px}.page-heading p{font-size:13px}.study-summary{font-size:12px;gap:7px;margin-bottom:15px}.card{padding:18px}.study-start{grid-template-columns:1fr;padding-bottom:17px;gap:15px}.study-start .btn{width:100%}.study-start h2{font-size:18px}.study-start p{font-size:13px}.study-links{gap:8px;padding-top:14px}.study-links .btn{flex:1;font-size:14px;padding:9px 10px}.section-title{margin:22px 0 10px}.study-source-row{padding:13px 15px;min-height:65px}.study-source-row strong{font-size:15px}.study-source-row small{font-size:12px}.study-training{padding:16px;gap:10px}.study-training .btn{white-space:nowrap;font-size:13px;padding:8px 11px}.study-training h3{font-size:16px}.study-training p{font-size:12px}.learning-footer{padding:19px 0 98px;font-size:11px}.mobile-nav{display:grid;background:#f5f4ec;border-top:1px solid #d5dacb;padding:7px 7px calc(8px + env(safe-area-inset-bottom));backdrop-filter:none}.mobile-nav button{font-size:11px;gap:4px;color:#63705f;min-height:47px}.mobile-nav button.active{color:#344f35;font-weight:600}.mobile-nav svg{width:20px;height:20px}.onboarding p{font-size:13px}.onboarding .btn{font-size:14px;width:100%}.onboarding .inline-actions{gap:7px}.question-card{padding:20px 16px}.question-stem{font-size:20px;line-height:1.95;margin:19px 0}.question-counter{font-size:12px;gap:10px}.option{font-size:17px;padding:14px 12px;gap:11px;line-height:1.9}.option .key{font-size:13px}.question-actions .btn{font-size:14px;padding:11px 13px}.answer-panel p{font-size:16px}.answer-panel h3{font-size:16px}.quiz-side{padding:13px}.quiz-side .question-map{grid-template-columns:repeat(8,1fr)}.content-card{padding:22px 17px}.content-card h1{font-size:23px}.content-card .body-line{font-size:17px;line-height:2}.content-card p{font-size:16px}.notice{font-size:14px;line-height:1.9;padding:13px 14px}.content-card .competency .chip{font-size:12px}.knowledge-card h3{font-size:17px}.knowledge-card p{font-size:14px}.knowledge-card .card-meta{font-size:11px}.pill{font-size:11px}.chip{font-size:12px;padding:8px 10px}.related-item{font-size:15px}.route-grid{gap:11px}.route-grid .week-card{padding:16px}.week-card h3{font-size:17px}.week-card p{font-size:14px}.week-card small{font-size:12px}.btn.small{font-size:13px}.field input,.field select,.field textarea{font-size:17px}.compare-row{font-size:15px}.source-detail{font-size:12px}.search-row{gap:8px}.backup-box p{font-size:14px}.banner{font-size:12px}.banner .btn{font-size:12px}.form-row{gap:0}.result-number{font-size:42px}#toast{bottom:96px;font-size:13px}.intro{font-size:14px}}
.authority-note{margin:1rem 0;padding:1rem;border-left:3px solid #84957d;background:#f0f2eb;line-height:1.8;overflow-wrap:anywhere}
.authority-note h3{margin:0 0 .5rem;font-size:1rem;color:#344b39}
.authority-note p{margin:.4rem 0}
.authority-note details{margin-top:.6rem;font-size:.9rem}
.authority-note summary{cursor:pointer;color:#526650}
.authority-note ul{padding-left:1.2rem}
.authority-note a{color:#345b4b;text-decoration:underline;text-underline-offset:3px}

.unlock-card{max-width:36rem;margin:3rem auto}.unlock-card input[type=password]{display:block;width:100%;min-height:48px;font-size:1.1rem;padding:.7rem;border:1px solid #b9bfb1;border-radius:8px;margin:.5rem 0 1rem}.remember-access{display:flex;gap:.5rem;align-items:center;margin:1rem 0}.unlock-card #unlock-error{color:#8b402b;min-height:1.5em}
