/* Three clear starting points. Long reading opens on demand. */
.compact-home{max-width:1120px;margin:0 auto}
.compact-home .cinematic-welcome{min-height:170px;grid-template-columns:1.1fr 1fr;margin-bottom:1rem;box-shadow:none}
.compact-home .cinematic-welcome .page-heading{padding:1.25rem 1.5rem}
.compact-home .cinematic-welcome h1{font-size:clamp(1.3rem,2.1vw,1.85rem);margin:.3rem 0;line-height:1.5}
.compact-home .cinematic-welcome .eyebrow{font-size:.8125rem;letter-spacing:0}
.compact-home .reel-window{min-height:170px;height:100%}
.compact-home .reel-frame figcaption{display:none}
.compact-home .reel-frame:after{background:linear-gradient(180deg,transparent 45%,#102b4166 70%,#0b2432e8)}
.home-entries{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:1rem;align-items:stretch}
.home-entries>section{margin:0;padding:1.25rem;border-radius:16px;min-width:0;box-shadow:none}
.home-entries .continue-card{border-top-width:2px}
.entry-heading{display:flex;align-items:center;gap:.6rem;width:100%;min-height:36px}
.entry-heading h2{font:700 1.2rem/1.5 var(--sans);margin:0!important;white-space:nowrap;color:var(--deep)}
.entry-heading>small{font-size:.75rem;margin-left:auto;white-space:nowrap}
.entry-heading .threads-symbol{width:30px;height:34px}
.home-entries .continue-card .resume-lesson{font-size:.875rem;line-height:1.6;color:var(--ink);margin:.85rem 0 .7rem}
.entry-progress{display:flex;align-items:center;gap:.75rem;width:100%;margin:.2rem 0 1rem}
.entry-progress progress{height:5px;flex:1;min-width:35px}
.entry-progress>span{font-size:.75rem;white-space:nowrap;color:var(--muted)}
.entry-actions{display:flex;align-items:center;gap:.65rem;width:100%;margin-top:auto}
.home-entries .continue-card .primary{min-width:0;flex:1;font-size:.875rem;padding:.7rem .85rem;justify-content:center}
.entry-all{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:.875rem}
.home-entries .ai-course-banner{display:flex;flex-direction:column;align-items:stretch;gap:0;background:#eef6ef}
.home-entries .ai-emblem{width:34px;height:34px;font-size:.875rem;border-radius:10px;box-shadow:none;flex-shrink:0}
.home-entries .ai-emblem:after{inset:-4px;border-radius:14px}
.home-entries .ai-course-banner p{font-size:.875rem;line-height:1.7;margin:.85rem 0 .5rem}
.home-entries .ai-course-banner>small{font-size:.75rem;margin-bottom:1rem}
.home-entries .ai-course-banner .primary{margin-top:auto;min-height:44px;width:100%;font-size:.875rem;padding:.7rem .85rem}.home-entries .ai-course-banner .dao-course-link{width:100%;margin-top:.55rem;font-size:.8125rem}
.home-entries .quest-brand{margin:0 0 .6rem;gap:.5rem;min-height:44px}
.home-entries .quest-crest{width:48px;height:48px}
.home-entries .quest-wordmark{width:calc(100% - 56px);max-width:180px}
.home-entries .quest-portal p{font-size:.875rem;line-height:1.7;margin:.4rem 0 1rem}
.home-entries .quest-start{width:100%;min-width:0;min-height:44px;font-size:.875rem;padding:.7rem .85rem}
.compact-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#fffefa;border:1px solid var(--line);border-radius:12px;margin:1rem 0;overflow:hidden}
.compact-links>a{display:flex;align-items:center;justify-content:center;gap:.45rem;text-decoration:none;font-size:.875rem;min-height:52px;padding:.6rem;border-right:1px solid var(--line)}
.compact-links>a:last-child{border:0}.compact-links>a:hover{background:var(--mist)}
.compact-links svg{width:19px;height:19px}.compact-links small{font-size:.75rem;margin-left:.25rem}
.home-more{border-top:1px solid var(--line);margin-top:.3rem}
.home-more>summary{padding:.8rem .25rem;cursor:pointer;font-size:.875rem;color:var(--ai);min-height:48px;font-weight:600}
.home-more-body{padding:.2rem 0 1rem}
.home-more .progress-panel{display:block;padding:1rem 1.25rem;background:#ecf2e9;margin-bottom:1rem}
.home-more .progress-count{display:inline-flex;margin:0 .75rem 0 0}.home-more .progress-count b{font-size:1.7rem}
.home-more .progress-panel>.eyebrow{display:block;margin-bottom:.4rem}.home-more .progress-panel>progress{width:40%;max-width:260px}
.home-more .progress-meta{margin:.35rem 0;justify-content:flex-start;gap:1.25rem}.home-more .progress-panel>.muted{font-size:.8125rem}
.daily-link{display:flex;align-items:center;gap:1rem;min-height:50px;border:1px solid #e6d7be;background:#fcf2e2;padding:.75rem 1rem;border-radius:10px;margin-bottom:1rem;text-decoration:none}
.daily-link>span{font-size:.75rem;white-space:nowrap;color:#8b5332}.daily-link strong{font-size:.875rem}
.compact-home .stage-card{padding:.9rem 1rem}.compact-home .stage-card>span>small{display:none}
details>summary:focus-visible{outline:3px solid var(--ember);outline-offset:2px}
.reader-heading{padding:1.4rem 2rem}.reader-heading h1{font-size:clamp(1.5rem,2.6vw,1.95rem);margin:.5rem 0 .75rem}
.reader-brand{margin-bottom:.55rem}.reader-jumps{padding:.2rem .75rem}
.lesson-block{margin:1.4rem 2rem}.lesson-block.k{padding-bottom:1.1rem}.lesson-block.k p{font-size:1rem}
.reading-more{margin:1rem 2rem;border:1px solid var(--line);border-radius:10px;background:#fcfdf9;overflow:hidden}
.reading-more>summary,.workbook>summary,.prompt-box>summary{cursor:pointer;font-weight:700;font-size:.9375rem;padding:.85rem 1rem;color:var(--ai);min-height:48px;line-height:1.7}
.reading-more[open]>summary{border-bottom:1px solid var(--line)}
.reading-more .lesson-block{margin:1.2rem}.reading-more .lesson-block:last-child{margin-bottom:1.5rem}.reading-more .lesson-sources{padding:1.2rem}
.practice-finish{padding:0 2rem;margin:1rem 0}.practice-finish>.primary{font-size:.9375rem;width:100%}
details.workbook{margin:1rem 2rem;padding:0;border-radius:10px}
details.workbook[open]{padding:0 1rem 1rem}
details.workbook[open]>summary{margin:0 -1rem;border-bottom:1px solid var(--line)}
details.workbook>.muted{margin:.75rem 0 0;font-size:.8125rem}
.workbook textarea{min-height:84px}.workbook .record-buttons .secondary{width:100%}
details.prompt-box{padding:0;background:#eff6ee}.prompt-box[open]{padding:0 1rem 1rem}.prompt-box[open]>summary{margin:0 -1rem;border-bottom:1px solid #c7ddd2}.prompt-box .prompt-heading{margin-top:1rem}
.prompt-box .prompt-heading h2{font-size:.8125rem;line-height:1.6}.prompt-box .ai-service-links{margin-bottom:0}
.lesson-pagination{padding:1.2rem 2rem}.lesson-card{padding:.85rem 1.15rem;margin:.5rem 0}.lesson-copy strong{font-size:1rem}
.ai-course-progress{padding:.8rem 1.1rem}.ai-course-progress>strong{font-size:1.35rem}
.auth-message h1{font-size:clamp(1.65rem,2.9vw,2.65rem)}.auth-story>.brand{margin-bottom:1.2rem}.auth-message>p{font-size:.875rem;margin:.7rem 0 1rem}.auth-photo .reel-window{height:clamp(240px,24vw,310px);min-height:240px}.auth-form{padding:1.7rem 2rem}.auth-form h2{font-size:1.65rem}.auth-form>p{margin-bottom:1rem}
@media(max-width:1100px){.home-entries{grid-template-columns:1fr 1fr;gap:.8rem}.home-entries .continue-card{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;column-gap:1rem;align-items:center}.continue-card .entry-heading{grid-column:1;grid-row:1}.continue-card .resume-lesson{grid-column:1;grid-row:2;margin:.4rem 0!important}.continue-card .entry-progress{grid-column:1;grid-row:3;margin:.4rem 0 0}.continue-card .entry-actions{grid-column:2;grid-row:1/4;width:auto;min-width:200px;margin:0;align-self:center}.entry-heading>small{margin-left:.25rem}.home-entries .ai-course-banner,.home-entries .quest-portal{min-height:188px}.compact-home .cinematic-welcome{min-height:155px}.compact-home .reel-window{min-height:155px}}
@media(max-width:760px){
 .workspace{padding-top:1rem}.compact-home .cinematic-welcome{grid-template-columns:minmax(0,1fr) minmax(112px,42%);min-height:138px;margin-bottom:.85rem;border-radius:14px}
 .compact-home .cinematic-welcome .page-heading{padding:1rem}.compact-home .cinematic-welcome h1{font-size:1.25rem;line-height:1.6}.compact-home .cinematic-welcome .eyebrow{font-size:.75rem;line-height:1.65;display:block}
 .compact-home .cinematic-welcome .journey-reel{height:100%;border:0}.compact-home .cinematic-welcome .reel-window{min-height:138px;height:100%}
 .compact-home .reel-controls{left:.2rem;right:.2rem;gap:0;bottom:0}.compact-home .reel-count{display:none}.compact-home .reel-tabs{gap:0;margin:0;flex:1}.compact-home .reel-tabs button{min-width:24px;flex:1;padding:0 .1rem}.compact-home .reel-tabs button>i{width:16px}.compact-home .reel-pause{width:28px;min-width:28px;height:44px;border:0;background:transparent;border-radius:8px;padding:.35rem}.compact-home .reel-pause svg{width:17px}
 .home-entries{gap:.75rem}.home-entries>section{padding:1rem;border-radius:13px}.home-entries .continue-card{display:flex;gap:0;align-items:stretch}
 .entry-heading h2{font-size:1.1rem}.entry-heading>small{margin-left:auto}.home-entries .continue-card .resume-lesson{margin:.45rem 0!important}.continue-card .entry-progress{margin:.35rem 0 .65rem}.continue-card .entry-actions{width:100%;min-width:0;gap:.6rem}
 .home-entries .continue-card .primary{min-height:44px;padding:.65rem .75rem}.home-entries .ai-course-banner,.home-entries .quest-portal{min-height:185px}.home-entries .ai-emblem{width:30px;height:30px;border-radius:8px}
 .home-entries .ai-course-banner p,.home-entries .quest-portal p{font-size:.875rem;line-height:1.6;margin:.6rem 0 .4rem}.home-entries .ai-course-banner>small{margin-bottom:.65rem}
 .home-entries .quest-brand{min-height:36px;gap:5px;margin:0}.home-entries .quest-crest{width:32px;height:32px}.home-entries .quest-wordmark{width:calc(100% - 37px)}.home-entries .quest-start,.home-entries .ai-course-banner .primary{min-height:44px;padding:.65rem .5rem}
 .compact-links{margin:.85rem 0 .25rem;border-radius:10px}.compact-links>a{font-size:.875rem;padding:.55rem .2rem;gap:.3rem;min-height:48px}.compact-links svg{width:17px;height:17px}.compact-links small{margin-left:.1rem}
 .home-more>summary{font-size:.875rem;padding:.7rem .25rem}.home-more .stages{gap:.5rem}.home-more .stage-card{padding:.75rem .9rem}.daily-link{gap:.6rem}
 .reader-heading{padding:1.1rem 1.25rem}.reader-heading h1{font-size:1.5rem}.reader-jumps{padding:.15rem .3rem}.lesson-block{margin:1.2rem}.lesson-block.k p{font-size:1rem}.reading-more{margin:1rem}.reading-more .lesson-block{margin:1rem}
 .practice-finish{padding:0 1rem}.reading-more>summary,.workbook>summary,.prompt-box>summary{font-size:.875rem;padding:.8rem 1rem}.workbook[open]>summary{margin:0 -1rem}details.workbook{margin:1rem}.lesson-pagination{padding:1rem}.prompt-heading{align-items:flex-start}
 .auth-story{padding-bottom:.85rem}.auth-story>.brand{margin-bottom:.3rem}.auth-message h1{font-size:1.25rem}.auth-message>p{display:none}.auth-photo .reel-window{height:118px;min-height:118px}.auth-form{padding:1.2rem}.auth-main{padding-top:1rem}.auth-form h2{font-size:1.5rem}
}
@media(max-width:370px){.compact-home .cinematic-welcome .page-heading{padding:.8rem}.compact-home .cinematic-welcome h1{font-size:1.15rem}.home-entries>section{padding:.85rem}.compact-links svg{display:none}.auth-message h1{font-size:1.1rem}}
