@font-face{font-family:Editorial;src:local('Georgia')}*{box-sizing:border-box}html{font-size:16px;scroll-behavior:smooth}body{margin:0;background:#f7f7f2;color:#202c38;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.55}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ed993a;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.13}h1{font-size:clamp(2.4rem,5vw,3.75rem);letter-spacing:-.045em;margin-bottom:16px}h2{font-size:2rem;letter-spacing:-.03em}h3{font-size:1.55rem}button{border:0}main{max-width:1180px;margin:auto;padding:54px 32px 72px;min-height:76vh}main:focus{outline:0}.header{min-height:96px;padding:22px 4.5%;border-bottom:1px solid #dcded7;display:flex;align-items:center;gap:48px;background:#f7f7f2}.brand{font:bold 2.5rem Georgia,serif;text-decoration:none;letter-spacing:-.065em}.brand-dot{color:#244ed8}.header nav{display:flex;gap:30px;align-items:center;flex:1}.header nav a{text-decoration:none;font-size:.94rem;color:#626871;padding:12px 0;position:relative;white-space:nowrap}.header nav a.active{color:#244ed8;font-weight:650}.header nav a.active:after{content:'';position:absolute;bottom:3px;left:0;right:0;height:2px;background:#244ed8}.header nav span{display:inline-block;font-size:.75rem;background:#e6e9e6;padding:0 6px;border-radius:8px}.language{display:flex;gap:10px;align-items:center;font-size:.88rem}.flag{width:17px;height:13px;background:linear-gradient(90deg,#33935e 33%,#fff 33% 66%,#d46a58 66%);border-radius:2px}.beta{font-size:.64rem;letter-spacing:.11em;margin-left:10px;border:1px solid #cfd3cb;padding:5px 7px;border-radius:4px}.eyebrow{font-size:.76rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#66706f;margin-bottom:14px}.muted{color:#647079}.intro{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:28px}.intro p{margin-bottom:0}.handwritten{font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive;font-size:1.4rem;font-weight:400;color:#3159b4;transform:rotate(-5deg);line-height:1.4}.intro .handwritten{max-width:180px;padding-right:15px}.underline{background:linear-gradient(transparent 87%,#d2dbfd 87%);font-style:italic}.toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:32px 0 24px}.filters{display:flex;gap:6px;flex-wrap:wrap}.filter{padding:9px 18px;border:1px solid transparent;border-radius:7px;background:transparent;color:#66706f;font-size:.9rem}.filter.selected{background:#202c38;color:white}.filter:hover:not(.selected){background:#e8eae3}.small{font-size:.85rem}.featured{display:grid;grid-template-columns:1.15fr 1fr;background:#244ed8;color:#fff;border-radius:12px;overflow:hidden;margin-bottom:42px}.featured-copy{padding:34px 36px}.featured h2{font-size:2.75rem;margin:20px 0 14px}.featured p{color:#e0e6ff;max-width:340px}.featured .eyebrow{color:#d0dbff}.feature-excerpt{margin:25px 28px 25px 0;padding:30px 35px;border-left:1px solid #6684e5;display:flex;flex-direction:column;justify-content:center}.feature-excerpt .italian{font:1.8rem/1.55 Georgia,serif}.feature-excerpt mark{background:transparent;color:white;border-bottom:2px solid #becbff}.feature-excerpt .handwritten{color:#e3e9ff;font-size:1.25rem;margin:12px 0 0;text-align:right}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:12px 22px;border-radius:6px;background:#244ed8;color:white;text-decoration:none;font-size:.94rem;font-weight:550;min-height:46px}.btn:hover{background:#1c3fb4}.btn.white{background:white;color:#244ed8}.btn.secondary{background:transparent;border:1px solid #cbd0ca;color:#263444}.btn.secondary:hover{background:#e8eae3}.btn.small{padding:8px 14px;min-height:40px;font-size:.85rem}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:20px}.section-heading h2{font-size:1.8rem;margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:#fff;border:1px solid #dee1da;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #24303909}.card-preview{padding:24px 25px 20px;background:#e9eefb;min-height:158px;position:relative}.card:nth-child(3n+2) .card-preview{background:#eeeade}.card:nth-child(3n) .card-preview{background:#e9eee9}.card-preview .quote{font:1.65rem/1.35 Georgia,serif;margin:15px 0 0;max-width:260px}.tag{display:inline-flex;font:600 .73rem/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.04em;padding:4px 8px;border:1px solid #c1cbe0;border-radius:4px}.card-body{padding:24px;display:flex;flex-direction:column;flex:1}.card h3{margin-bottom:10px}.card p{font-size:.9rem;color:#657079;margin-bottom:22px}.card-bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;font-size:.78rem;color:#6b746f}.text-link{color:#244ed8;text-underline-offset:5px;font-size:.9rem;font-weight:550}.card-bottom .text-link{padding:6px 0}.completed{color:#247248;font-size:.8rem}.note-strip{display:flex;gap:24px;align-items:center;margin-top:36px;padding:24px;border:1px dashed #c5cec7;border-radius:8px}.note-strip p{margin:0;font-size:.9rem}.note-strip .handwritten{white-space:nowrap}footer{max-width:1180px;margin:auto;padding:26px 32px;display:flex;gap:22px;align-items:center;border-top:1px solid #dcded7;font-size:.75rem;color:#647079}footer span:last-child{margin-left:auto}.footer-brand{font:bold 1.3rem Georgia,serif;color:#29343b}.skip{position:absolute;top:-100px;left:20px;z-index:20;background:white;padding:15px}.skip:focus{top:10px}.back{display:inline-block;text-decoration:none;color:#637078;font-size:.9rem;margin-bottom:25px}.back:hover{color:#244ed8}.reading-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:40px}.reading-paper{padding:44px 52px;background:white;border:1px solid #dfe3dc;border-radius:8px}.reading-paper h1{font-size:2.8rem}.reading-meta{display:flex;gap:12px;align-items:center;margin-bottom:24px;color:#6b746f;font-size:.85rem}.reading-text{font:1.3rem/2 Georgia,serif;color:#303b43}.reading-text p{margin:0 0 24px}.word{font:inherit;color:#254db2;padding:0 1px;background:#ecf0fd;border-bottom:1px solid #b7c6ef;border-radius:2px;line-height:inherit;display:inline;text-align:left}.word:hover{background:#d4defd}.reading-aside{padding-top:5px}.aside-box{border-top:1px solid #d4dad2;padding:24px 0;margin-top:22px}.aside-box h3{font-size:1.3rem;margin-bottom:12px}.aside-box p{font-size:.9rem;color:#657079}.vocab-list{display:flex;flex-direction:column;gap:10px}.vocab-list button{text-align:left;padding:10px 0;background:transparent;border-bottom:1px solid #dfe3dc;display:flex;justify-content:space-between;gap:10px}.vocab-list button span{color:#244ed8}.reading-actions{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:30px}.step-label{font-size:.78rem;color:#637078;text-transform:uppercase;letter-spacing:.1em}.lesson-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.lesson-head .back{margin:0}.step-nav{display:flex;gap:16px;font-size:.8rem;color:#6b746f}.step-nav .current{color:#244ed8}.exercise-wrap{max-width:740px;margin:auto}.exercise-top{display:flex;justify-content:space-between;gap:20px;font-size:.86rem;margin-bottom:12px}.progress-track{height:5px;border-radius:8px;background:#dee3dc;overflow:hidden;margin-bottom:30px}.progress-fill{height:100%;background:#244ed8;transition:width .2s}.exercise-card{background:white;border:1px solid #dfe3dc;padding:44px;border-radius:10px}.exercise-card h1{font-size:2.15rem;line-height:1.3;letter-spacing:-.025em}.exercise-prompt{font:1.6rem/1.6 Georgia,serif;margin:24px 0}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice{text-align:left;padding:15px 18px;background:#fff;border:1px solid #cbd2cb;border-radius:7px;min-height:54px}.choice:hover{border-color:#244ed8}.choice.chosen{background:#eaf0ff;border-color:#244ed8;color:#244ed8}.answer-input{width:100%;min-height:55px;border:1px solid #b9c3bd;border-radius:7px;padding:12px 15px;background:#fcfcf9}.feedback{padding:18px 20px;border-radius:7px;margin-top:24px;background:#ebf4ef;color:#215e3d}.feedback.wrong{background:#fff1e8;color:#813d15}.feedback p{margin:6px 0 0;font-size:.94rem}.exercise-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:28px}.exercise-actions .muted{font-size:.83rem}.result{max-width:700px;margin:auto;text-align:center;padding:48px;background:#fff;border:1px solid #dfe3dc;border-radius:10px}.result-score{font:4.5rem Georgia,serif;color:#244ed8;margin:15px 0}.result .handwritten{display:block;margin-bottom:22px}.result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0}.stat{padding:25px;background:white;border:1px solid #dfe3dc;border-radius:8px}.stat strong{display:block;font:2.7rem Georgia,serif;color:#244ed8;margin-bottom:10px}.stat span{font-size:.9rem;color:#657079}.word-rows{background:white;border:1px solid #dfe3dc;border-radius:8px;overflow:hidden}.word-row{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:18px;padding:20px 24px;border-bottom:1px solid #e4e7e0}.word-row:last-child{border-bottom:0}.word-row strong{font:1.3rem Georgia,serif}.word-row p{margin:5px 0 0;color:#637078;font-size:.87rem}.word-row .status{color:#526a52;font-size:.76rem}.empty{padding:60px 25px;text-align:center;border:1px dashed #bfc9c1;border-radius:10px}.empty h2{margin-bottom:14px}.empty p{color:#637078;max-width:430px;margin:0 auto 25px}dialog{border:1px solid #d9dfd6;border-radius:12px;padding:32px;max-width:440px;width:calc(100% - 32px);box-shadow:0 25px 90px #202c3833;color:#202c38}dialog::backdrop{background:#18243255;backdrop-filter:blur(3px)}dialog h2{font-size:2.5rem;margin:10px 0}dialog .translation{font-size:1.15rem;color:#244ed8}dialog .example{font:1.15rem/1.7 Georgia,serif;background:#f2f4ee;padding:18px;border-radius:5px}dialog .btn{width:100%}.dialog-close{float:right;background:#f0f2ed;border-radius:50%;width:36px;height:36px;font-size:1.4rem}.hint{background:#eef2fc;padding:16px;margin:15px 0;border-radius:5px}.hint p{margin:0;font-size:.93rem}.dialog-level{font-size:.8rem;color:#687376}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);max-width:90%;padding:12px 22px;background:#202c38;color:white;border-radius:8px;opacity:0;pointer-events:none;transition:.2s;z-index:50;text-align:center;font-size:.9rem}#toast.show{opacity:1;transform:translate(-50%,0)}.storage-warning{background:#fff1e8;color:#713b19;padding:10px 20px;text-align:center;font-size:.9rem}.progress-row{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid #e0e4dd;padding:20px 24px}.progress-row h3{font-size:1.3rem;margin:5px 0}.progress-row p{margin:0;font-size:.85rem;color:#66726b}.accent-bar{margin-top:16px;display:flex;gap:8px}.accent-bar button{width:36px;height:35px;background:#edf0e9;border-radius:4px}.practice-mode{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.word-row button{background:none;color:#66716d;text-decoration:underline;text-underline-offset:3px}.reading-title-note{font-size:1.1rem;margin:0 0 20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:950px){.header{gap:30px}.beta{display:none}.cards{grid-template-columns:repeat(2,1fr)}.reading-grid{grid-template-columns:minmax(0,1fr) 210px;gap:25px}.reading-paper{padding:32px}.feature-excerpt{padding:25px}.feature-excerpt .italian{font-size:1.5rem}}@media(max-width:680px){.header{padding:16px 20px;gap:10px;flex-wrap:wrap}.brand{font-size:2.15rem}.language{margin-left:auto}.header nav{order:3;flex-basis:100%;gap:26px;padding-top:5px}.header nav a{font-size:.9rem}.header nav span{font-size:.73rem}main{padding:32px 20px 45px}.intro{align-items:flex-start}.intro .handwritten{display:none}h1{font-size:2.65rem}.toolbar{align-items:flex-start;flex-direction:column;gap:12px;margin-top:24px}.filter{padding:8px 14px}.featured{grid-template-columns:1fr;margin-bottom:30px}.featured-copy{padding:28px}.featured h2{font-size:2.35rem;margin:14px 0}.featured p{margin-bottom:20px}.feature-excerpt{margin:0 28px 26px;padding:24px 0 0;border-left:0;border-top:1px solid #6684e5}.feature-excerpt .italian{font-size:1.4rem;margin-bottom:5px}.cards{grid-template-columns:1fr}.card-preview{min-height:125px}.card-preview .quote{max-width:none;font-size:1.6rem}.card-body{padding:22px}.note-strip{align-items:flex-start;flex-direction:column;gap:10px}.note-strip .handwritten{font-size:1.2rem}footer{padding:24px 20px;gap:12px;flex-wrap:wrap}footer span:last-child{margin-left:0;flex-basis:100%}.section-heading h2{font-size:1.6rem}.reading-grid{grid-template-columns:1fr}.reading-paper{padding:27px 22px}.reading-paper h1{font-size:2.2rem}.reading-text{font-size:1.18rem;line-height:1.95}.reading-aside{padding:0}.reading-aside>.handwritten{display:none}.aside-box{margin-top:0}.reading-actions{flex-direction:column;align-items:stretch}.reading-actions .btn{width:100%}.lesson-head{align-items:flex-start;flex-direction:column;gap:14px}.exercise-card{padding:28px 22px}.exercise-card h1{font-size:1.8rem}.exercise-prompt{font-size:1.4rem}.choices{grid-template-columns:1fr}.exercise-actions{align-items:stretch;flex-direction:column-reverse}.result{padding:30px 20px}.stats{gap:10px}.stat{padding:18px 10px}.stat strong{font-size:2rem}.stat span{font-size:.8rem}.word-row{grid-template-columns:1fr auto;padding:18px;gap:10px}.word-row .word-meaning{grid-column:1;grid-row:2}.word-row button{grid-column:2;grid-row:1 / 3}.progress-row{padding:18px;gap:12px}.progress-row h3{font-size:1.1rem}.intro .btn{white-space:nowrap}.step-nav{font-size:.76rem;gap:12px}dialog{padding:24px}.result-actions{flex-direction:column}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.word-translation{font-weight:600;color:#244ed8}
.saved-word-context{font:1rem/1.55 Georgia,serif!important;color:#52606b!important;margin-top:8px!important}
.saved-word-context mark,.saved-review-example mark{background:#e6ebff;color:inherit;border-radius:2px;padding:0 2px}
.saved-review-example{font:1.1rem/1.7 Georgia,serif!important}

/* Reusable adaptive level check-in */
.level-check-promo{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 28px;margin:0 0 28px;background:#eef2fc;border:1px solid #dce4fa;border-radius:10px}.level-check-promo h2{font:1.55rem Georgia,serif;margin:5px 0 8px}.level-check-promo p:not(.eyebrow){color:#596775;margin:0;max-width:590px}.level-check-promo .eyebrow{margin:0;color:#244ed8}.level-check-hero{max-width:780px;margin:28px auto 36px;padding:48px clamp(24px,7vw,80px);background:white;border:1px solid #dfe3dc;border-radius:12px;text-align:center;box-shadow:0 12px 35px #202c3808}.level-check-hero h1{font-size:clamp(2.6rem,6vw,4.2rem);margin:12px 0 18px}.level-check-hero>.muted{font-size:1.08rem;max-width:580px;margin:0 auto 25px}.level-check-hero>.btn{margin:12px auto 10px;min-width:200px}.level-check-points{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:22px 0}.level-check-points span{padding:8px 12px;border-radius:30px;background:#f1f3ee;color:#4d5c59;font-size:.82rem}.level-check-hero>.small{max-width:520px;margin:12px auto 0}.assessment-about,.assessment-last{max-width:780px;margin:20px auto;padding:24px 28px;background:#f3f4ef;border-radius:8px}.assessment-about h2,.assessment-last h2{font:1.4rem Georgia,serif;margin:0 0 10px}.assessment-about p,.assessment-last p{color:#606d70;margin:0}.assessment-last{display:flex;justify-content:space-between;align-items:center;gap:22px;background:#fff;border:1px solid #dfe3dc}.assessment-last .eyebrow{margin:0 0 6px}.assessment-last .btn{white-space:nowrap}.assessment-coming{text-align:center;margin:28px auto}.assessment-question{max-width:720px;margin:30px auto}.assessment-prompt{font:1.2rem/1.7 Georgia,serif;background:#f1f3ee;padding:18px 20px;border-radius:7px}.assessment-result{max-width:850px;margin:10px auto}.assessment-result>h1{font-size:clamp(2.4rem,5vw,3.8rem);margin:10px 0}.assessment-result>.muted{font-size:1.05rem}.assessment-meter{display:flex;gap:8px;margin:30px 0}.meter-step{flex:1;text-align:center;color:#818984;font-weight:600;font-size:.82rem}.meter-step i{height:8px;display:block;margin-top:9px;border-radius:8px;background:#e2e5df}.meter-step.reached{color:#244ed8}.meter-step.reached i{background:#244ed8}.assessment-skills{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:25px 0}.skill-result{padding:17px 18px;background:white;border:1px solid #dfe3dc;border-radius:8px}.skill-result>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:.84rem}.skill-result span{color:#68736e;white-space:nowrap}.skill-track{height:7px;background:#eceee8;border-radius:8px;margin-top:13px;overflow:hidden}.skill-track i{height:100%;display:block;background:#5577d8;border-radius:8px}.assessment-next-step{padding:26px 28px;background:#eef2fc;border:1px solid #dce4fa;border-radius:10px;margin:25px 0}.assessment-next-step .eyebrow{color:#244ed8}.assessment-next-step h2{font:1.55rem Georgia,serif;margin:6px 0 10px}.assessment-next-step p:not(.eyebrow){color:#586672;max-width:650px}.assessment-stories-title{font:1.4rem Georgia,serif;margin:30px 0 12px}.assessment-story-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.assessment-story-links a{display:flex;flex-direction:column;gap:11px;padding:18px;background:white;border:1px solid #dfe3dc;border-radius:8px;text-decoration:none;color:#202c38}.assessment-story-links a:hover{border-color:#244ed8}.assessment-story-links strong{font:1.12rem Georgia,serif}.assessment-story-links a>span:last-child{color:#244ed8;font-size:.85rem}.assessment-history{margin:30px 0}.assessment-history h2{font:1.4rem Georgia,serif}.assessment-history-row{display:grid;grid-template-columns:1fr 80px 60px;gap:12px;padding:12px 0;border-bottom:1px solid #e1e4de;font-size:.88rem}.assessment-history-row strong{color:#244ed8}.choice.correct{border-color:#43845b;background:#eaf5ed}.choice.incorrect{border-color:#bd6c50;background:#fbefeb}
@media(max-width:680px){.level-check-promo{align-items:flex-start;flex-direction:column;padding:22px}.level-check-promo .btn{width:100%;text-align:center}.level-check-hero{padding:32px 22px;margin:5px auto 25px}.level-check-points{align-items:stretch;flex-direction:column}.level-check-points span{width:100%}.assessment-last{align-items:flex-start;flex-direction:column;padding:22px}.assessment-last .btn{width:100%;text-align:center}.assessment-skills{grid-template-columns:1fr}.skill-result>div:first-child{font-size:.78rem}.assessment-story-links{grid-template-columns:1fr}.assessment-next-step{padding:23px 20px}.assessment-history-row{grid-template-columns:1fr 50px 50px}.header nav{gap:15px}.header nav a{font-size:.82rem}}

.intro{margin-bottom:36px}.library-heading{margin-bottom:14px}.reading-filters{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 22px;margin-bottom:26px;border-bottom:1px solid #dcded7}.level-tabs{display:flex;gap:4px;background:#eceee7;border-radius:30px;padding:4px}.level-tab{background:transparent;color:#66706f;border-radius:25px;padding:9px 18px;font-size:.85rem;min-height:40px;transition:background .15s,color .15s}.level-tab.selected{background:#244ed8;color:white;box-shadow:0 2px 5px #244ed81a}.level-tab:hover:not(.selected){background:#e0e5dc;color:#202c38}.topic-choice{display:flex;align-items:center;gap:12px;position:relative;font-size:.85rem;color:#788077}.topic-choice select{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:#202c38;font-weight:500;padding:12px 28px 12px 0;cursor:pointer;max-width:210px}.topic-choice svg{width:16px;height:16px;fill:none;stroke:#244ed8;stroke-width:1.6;position:absolute;right:0;pointer-events:none}.library-pages{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:28px}.card .eyebrow{font-size:.65rem;letter-spacing:.08em}@media(max-width:680px){.reading-filters{flex-wrap:wrap;gap:12px;padding-bottom:16px;margin-bottom:22px}.level-tabs{width:100%}.level-tab{flex:1;padding:8px 12px}.topic-choice{margin-left:auto}.library-heading{align-items:center;gap:10px}.library-heading h2{font-size:1.5rem}.library-heading .small{white-space:nowrap}.library-pages{gap:12px;font-size:.8rem}}

.header{gap:30px}.account-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#244ed8;font-size:.88rem;white-space:nowrap;font-weight:600}.account-free{font-size:.68rem;background:#e8edff;border-radius:12px;padding:3px 7px}.account-avatar{display:inline-grid;place-items:center;width:28px;height:28px;background:#e8edff;border-radius:50%}.account-nudge{display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid #dcded7;padding:0 0 25px;margin:-8px 0 35px}.account-nudge strong{font:1.25rem Georgia,serif}.account-nudge p{font-size:.85rem;color:#647079;margin:5px 0 0}.account-nudge a{white-space:nowrap}.account-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;align-items:start;margin:25px 0}.account-intro h1{font-size:3.2rem}.account-benefits{list-style:none;padding:0;margin:30px 0}.account-benefits li{padding:9px 0}.account-benefits li:before{content:'✓';color:#244ed8;margin-right:12px}.account-panel{padding:32px;border:1px solid #dfe3dc;border-radius:12px;background:white}.account-panel h2{font-size:1.7rem}.account-panel label{display:flex;flex-direction:column;font-size:.9rem;gap:8px;margin:16px 0}.account-panel input:not([type=checkbox]){min-height:48px;width:100%;padding:10px 12px;border:1px solid #bdc8bf;border-radius:6px;background:#fcfcf9;font-size:1rem}.account-panel input[name=code]{font-size:1.7rem;letter-spacing:.3em}.account-panel .privacy-check{flex-direction:row;align-items:flex-start;font-size:.8rem;color:#647079;gap:10px}.privacy-check input{margin-top:4px;flex:none}.account-panel form>.btn{width:100%}.form-message{color:#813d15;font-size:.88rem;min-height:1.3em}.guest-link{display:block;text-align:center;margin-top:22px;font-size:.85rem;color:#647079;text-underline-offset:4px}.auth-back{display:block;background:none;padding:0;margin-top:18px;text-align:left}.account-profile{display:grid;grid-template-columns:1fr 1fr;gap:24px}.account-actions{display:flex;flex-wrap:wrap;gap:10px}.import-note{border-top:1px solid #dcded7;margin-top:25px;padding-top:25px}.import-note h3{font-size:1.3rem}.delete-details{margin-top:30px;border-top:1px solid #dcded7;padding-top:20px;font-size:.85rem;color:#647079}.delete-details summary{cursor:pointer}.delete-details p{margin-top:16px}.btn.danger{background:#883e2b}.sync-notice{padding:10px 20px;background:#fff4e8;color:#75421e;text-align:center;font-size:.85rem}.sync-notice[hidden]{display:none}.privacy-page{max-width:800px;margin:auto}.privacy-page h2{font-size:1.55rem;margin:28px 0 12px}.admin-stats{grid-template-columns:repeat(3,1fr)}.activity-chart{display:grid;gap:8px}.activity-row{display:grid;grid-template-columns:55px 1fr 35px;align-items:center;gap:14px;font-size:.8rem}.activity-row>div{background:#f0f2ed;height:12px;border-radius:6px;overflow:hidden}.activity-row i{display:block;background:#244ed8;height:100%;border-radius:6px}.popular-stories{margin:24px 0}.popular-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e4e7e0;padding:12px 0}.popular-stories>.small{margin:20px 0 0}@media(max-width:950px){.header{gap:18px}.account-layout{gap:28px}.account-intro h1{font-size:2.5rem}.account-panel{padding:24px}.header .language{display:none}}@media(max-width:680px){#account-nav{margin-left:auto}.header nav{order:3}.account-layout,.account-profile{grid-template-columns:1fr;gap:25px}.account-intro h1{font-size:2.4rem}.account-intro .handwritten{display:none}.account-benefits{margin:20px 0 0}.account-panel{padding:24px 20px}.account-nudge{align-items:flex-start;flex-direction:column;gap:12px}.account-nudge a{white-space:normal}.admin-stats{grid-template-columns:repeat(2,1fr)}}

/* Every word is interactive; calm typography remains the default. */

/* Level check-in landing: a warm, illustrated overview of the four skills. */
.level-check-hero{max-width:1040px;display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(28px,5vw,64px);align-items:center;padding:clamp(30px,5vw,58px);text-align:left;background:linear-gradient(135deg,#fff 0%,#fff 52%,#f4f6ff 100%);border-radius:18px;box-shadow:0 18px 50px #202c380c}
.level-check-copy h1{font-size:clamp(2.5rem,5vw,3.8rem);margin:10px 0 16px}
.level-check-copy>.muted{font-size:1rem;max-width:440px;margin-bottom:20px}
.level-check-points{justify-content:flex-start;margin:18px 0 14px;gap:8px}
.level-check-points span{background:#f2f3ef;border:1px solid #e9ebe4;color:#56615d;padding:8px 11px}
.level-check-copy>.btn{margin:8px 0 5px;min-width:215px;box-shadow:0 7px 17px #244ed826}
.level-check-copy>.small{max-width:370px;margin:10px 0 0}
.level-check-art{position:relative;overflow:hidden;padding:24px 25px 18px;border:1px solid #dce3fb;border-radius:16px;background:radial-gradient(ellipse at 100% 0%,#dfe7ff 0,transparent 42%),linear-gradient(145deg,#f4f6ff,#eaf0ff);box-shadow:inset 0 1px #fff;transform:rotate(1deg)}
.level-check-art:after{content:'';position:absolute;width:155px;height:155px;border:1px solid #cbd6fb;border-radius:50%;right:-80px;bottom:-82px;box-shadow:0 0 0 17px #ffffff26,0 0 0 36px #ffffff20;pointer-events:none}
.art-topline,.art-caption{display:flex;justify-content:space-between;align-items:center;color:#52649e;font-size:.67rem;font-weight:700;letter-spacing:.12em}
.art-sparkle{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#e7a540;font-size:1.25rem;box-shadow:0 4px 12px #42568d14}
.art-levels{display:flex;align-items:center;gap:7px;margin:23px 0 17px;color:#52649e;font-size:.68rem;font-weight:700}
.art-levels i{height:2px;flex:1;background:linear-gradient(90deg,#9db0f5,#c3cdef)}
.art-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;position:relative;z-index:1}
.art-card{min-height:99px;display:grid;grid-template-columns:32px 1fr;grid-template-rows:1fr 1fr;align-items:center;column-gap:7px;padding:13px 14px;border:1px solid #fff;border-radius:11px;background:#ffffffdf;box-shadow:0 5px 16px #384b8110}
.art-card>span{grid-row:1 / 3;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;font-size:1rem;font-weight:700}
.art-card strong{align-self:end;font:600 .86rem -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#29364d}
.art-card small{align-self:start;color:#788195;font-size:.72rem}
.art-vocab>span{background:#fff1d9;color:#c47b17}.art-grammar>span{background:#e9eaff;color:#5863c7}.art-reading>span{background:#e4f3ed;color:#418266}.art-phrases>span{background:#fae9e5;color:#c16c58}
.art-caption{margin-top:16px;font-size:.65rem;letter-spacing:.02em;font-weight:500;color:#77809a}
.art-dot{color:#9aa9df;font-size:.55rem;letter-spacing:.23em}
@media(max-width:760px){.level-check-hero{grid-template-columns:1fr;gap:26px;padding:30px 24px;margin:5px auto 25px}.level-check-copy h1{font-size:clamp(2.45rem,10vw,3.35rem)}.level-check-art{max-width:520px;width:100%;margin:auto;transform:none}.level-check-copy>.btn{width:100%;text-align:center}.level-check-copy>.small{max-width:100%}}
.reading-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 0;margin:0 0 24px;border-top:1px solid #e3e7e0;border-bottom:1px solid #e3e7e0;font-size:.8rem;color:#647079}
.reading-tools button{background:#eef2fc;color:#254db2;border-radius:5px;padding:8px 11px;font-size:.78rem;white-space:nowrap;min-height:36px}
.reading-text.all-words .word{color:inherit;background:transparent;padding:0;border:0;border-radius:2px;text-decoration:none}
.reading-text.all-words .word:hover,.reading-text.all-words .word:focus-visible{background:#eaf0ff;color:#254db2}
.reading-text.all-words .word.is-saved{color:#254db2;text-decoration:underline;text-decoration-color:#a7bae9;text-underline-offset:5px;text-decoration-thickness:1px}
.reading-text.all-words.show-word-hints .word:not(.is-saved){text-decoration:underline dotted #c3ccda;text-underline-offset:5px;text-decoration-thickness:1px}
.filter-selects{display:flex;align-items:center;gap:22px}.topic-choice{min-height:44px}.topic-choice select{min-width:130px}.card-focus{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:12px 0 4px}.card-focus span{display:inline-flex;align-items:center;padding:4px 9px;border-radius:20px;background:#eef2fc;color:#3556a6;font-size:.69rem;line-height:1.35}.card-bottom{margin-top:10px}
@media(max-width:680px){.reading-filters{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}.filter-selects{flex-direction:column;align-items:stretch;gap:5px}.topic-choice{display:flex;justify-content:space-between;width:100%;padding:0 10px;border:1px solid #dfe3dc;border-radius:7px;background:#fff}.topic-choice span{white-space:nowrap}.topic-choice select{max-width:65%;text-align:right}.card-focus{margin-top:14px}}
@media(max-width:680px){.reading-tools{align-items:flex-start;flex-direction:column;gap:9px}.reading-text.all-words{line-height:2.1}}

.auth-tabs{display:flex;gap:5px;padding:5px;background:#eef1ec;border-radius:7px;margin-bottom:25px}.auth-tabs button{flex:1;background:transparent;color:#647079;padding:10px;border-radius:5px}.auth-tabs button[aria-pressed="true"]{background:white;color:#244ed8;box-shadow:0 1px 4px #202c3810}.password-settings{margin-bottom:20px}

/* Word cards connect the clicked form directly to its sentence. */
dialog .word-note{margin:12px 0 18px;padding:12px 14px;border-left:3px solid #a9baf2;background:#f6f7fc;border-radius:0 6px 6px 0}
dialog .word-expression{margin:12px 0 14px;padding:12px 14px;background:#f2f4ee;border-radius:6px}
dialog .word-expression .eyebrow{margin:0 0 5px;font-size:.65rem;letter-spacing:.12em;color:#687376}
dialog .word-expression-copy{margin:0;color:#34414a;font-size:.95rem;line-height:1.5}
dialog .word-expression-copy [lang="it"]{font-family:Georgia,serif;font-weight:600}
dialog .word-note .eyebrow,dialog .word-example>.eyebrow{margin:0 0 7px;font-size:.65rem;letter-spacing:.12em;color:#687376}
dialog .word-note-copy{margin:0;color:#47535d;font-size:.9rem;line-height:1.5}
dialog .word-example{margin:18px 0}
dialog .word-example .example{margin:0;font:1.08rem/1.7 Georgia,serif;background:#f2f4ee;padding:17px;border-radius:6px}
dialog .example-highlight{background:#dfe7ff;color:#1e3c9e;border-radius:3px;padding:0 2px;box-shadow:0 1px 0 #aebff5}
/* Clear, quiet markers make connected reading stories easy to follow. */
.card-preview{position:relative}
.series-card-label{position:absolute;top:18px;right:18px;padding:6px 9px;border-radius:999px;background:#e9edff;color:#304db1;font-size:.64rem;font-weight:700;letter-spacing:.08em}
.series-card-title{margin:12px 0 0!important;color:#53616c;font-size:.78rem;font-weight:600}
.series-part{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#edf0ff;color:#344db0;font-size:.72rem;font-weight:650}
.series-nav{margin-top:28px;padding:20px;border:1px solid #e3e7e0;border-radius:16px;background:#fbfcf9}
.series-nav>div>p:last-child{margin:0 0 14px;color:#647079;font-size:.88rem}
.series-nav ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.series-nav li{border:1px solid #e2e6df;border-radius:10px;background:white}
.series-nav li.current{border-color:#b8c4f2;background:#f1f3ff}
.series-nav a{display:flex;flex-direction:column;gap:5px;height:100%;padding:12px;color:inherit;text-decoration:none}
.series-nav a span{color:#69737d;font-size:.72rem}
.series-nav a strong{font-size:.84rem;line-height:1.35}
@media(max-width:680px){.series-nav{padding:15px}.series-nav ol{grid-template-columns:1fr}.series-card-label{top:12px;right:12px}}

/* Reading filters feel like a quiet note tucked into the reading room. */
.reading-filters{display:grid;grid-template-columns:1fr;gap:16px;padding-bottom:22px;margin-bottom:24px;border-bottom:1px solid #e0e2dc}
.level-tabs{justify-self:start}
.filter-disclosure{width:100%;min-width:0}
.filter-disclosure-summary{display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:7px 13px;min-height:0;padding:2px 0;color:#26323e;cursor:pointer;list-style:none;transition:color .16s}
.filter-disclosure-summary::-webkit-details-marker{display:none}
.filter-disclosure-summary:hover,.filter-disclosure[open]>.filter-disclosure-summary{background:none;color:#244ed8}
.filter-summary-note{font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive;font-size:1.08rem;color:#3159b4;transform:rotate(-1.5deg)}
.filter-disclosure-title{font-size:.86rem;font-weight:600;text-decoration:underline;text-decoration-color:#bdc9ef;text-decoration-thickness:1px;text-underline-offset:4px}
.filter-summary-state{padding:2px 7px;border-radius:99px;background:#e9edff;color:#3150be;font-size:.69rem;font-weight:650}
.filter-summary-state[hidden]{display:none}
.filter-disclosure-icon{display:none}
.filter-disclosure-chevron{width:7px;height:7px;margin:0 0 3px 1px;border-right:1.5px solid #74808b;border-bottom:1.5px solid #74808b;transform:rotate(45deg);transition:transform .16s,margin .16s}
.filter-disclosure[open] .filter-disclosure-chevron{margin-top:4px;margin-bottom:0;transform:rotate(225deg)}
.filter-disclosure-panel{width:min(100%,900px);margin:12px 0 0;padding:20px 22px 20px 36px;border:0;border-left:2px solid #d7a09a;border-radius:2px;background-color:#fffef9;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,#e8edf2 32px);box-shadow:0 1px 0 #e1e3dd;animation:filter-reveal .16s ease-out}
.filter-disclosure-heading{margin-bottom:13px}
.filter-disclosure-kicker{display:block;margin-bottom:2px;color:#7a817e;font-size:.63rem;font-weight:650;letter-spacing:.14em}
.filter-disclosure-heading p{margin:0;color:#515d65;font:1rem/1.5 Georgia,serif}
.filter-disclosure .filter-selects{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.filter-disclosure .topic-choice{position:relative;display:flex;flex:1 1 205px;flex-direction:column;justify-content:center;gap:2px;min-height:54px;padding:5px 36px 5px 11px;border:1px solid #e1e3df;border-radius:4px;background:#fffefa;color:#717a78;transition:border-color .15s,box-shadow .15s}
.filter-disclosure .topic-choice:focus-within{border-color:#9cace8;box-shadow:0 0 0 3px #244ed810}
.filter-disclosure .topic-choice>span{font-size:.68rem;line-height:1.15;letter-spacing:.04em}
.filter-disclosure .topic-choice select{width:100%;min-width:0;max-width:none;padding:0;background:transparent;color:#28343f;font-size:.84rem;font-weight:550}
.filter-disclosure .topic-choice svg{right:11px;stroke:#667486}
.filter-disclosure .series-toggle{flex:0 0 auto;min-height:54px;border-radius:4px;border-color:#e1e3df;background:#fffefa}
@media(max-width:680px){.reading-filters{gap:13px;padding-bottom:18px;margin-bottom:20px}.level-tabs{width:100%}.filter-disclosure-summary{align-items:flex-start;gap:5px 9px}.filter-summary-note{width:100%;font-size:1.03rem}.filter-disclosure-title{font-size:.82rem}.filter-disclosure-panel{width:100%;margin-top:10px;padding:16px 12px 16px 23px}.filter-disclosure-heading p{font-size:.94rem}.filter-disclosure .filter-selects{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.filter-disclosure .topic-choice{width:100%;min-height:52px;padding:5px 36px 5px 10px}.filter-disclosure .series-toggle{width:100%;justify-content:space-between;padding:0 12px}}

/* Optional library filters stay quiet beside the more prominent level tabs. */
.reading-filters{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px 20px;padding-bottom:18px;margin-bottom:24px}
.level-tabs{justify-self:start}
.filter-disclosure{justify-self:end;min-width:210px}
.filter-disclosure-summary{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:44px;padding:6px 10px;border-radius:999px;color:#43505a;cursor:pointer;list-style:none;transition:background .16s,color .16s}
.filter-disclosure-summary::-webkit-details-marker{display:none}
.filter-disclosure-summary:hover,.filter-disclosure[open]>.filter-disclosure-summary{background:#f0f2ed;color:#202c38}
.filter-disclosure-title{font-size:.86rem;font-weight:550}
.filter-summary-state{padding:4px 8px;border-radius:999px;background:#f0f2ed;color:#778079;font-size:.7rem;letter-spacing:.01em}
.filter-summary-state.has-active-filters{background:#e9edff;color:#3150be;font-weight:650}
.filter-disclosure-icon{display:grid;gap:3px;width:16px}
.filter-disclosure-icon i{display:block;width:14px;height:1.5px;border-radius:2px;background:#536477}
.filter-disclosure-icon i:nth-child(2){width:10px;margin-left:2px}.filter-disclosure-icon i:nth-child(3){width:6px;margin-left:4px}
.filter-disclosure-chevron{width:7px;height:7px;margin:0 2px 3px 0;border-right:1.5px solid #74808b;border-bottom:1.5px solid #74808b;transform:rotate(45deg);transition:transform .16s,margin .16s}
.filter-disclosure[open] .filter-disclosure-chevron{margin-top:5px;margin-bottom:0;transform:rotate(225deg)}
.filter-disclosure-panel{grid-column:1/-1;width:min(100%,860px);margin:8px 0 0 auto;padding:16px 18px 18px;border:1px solid #e7e9e2;border-radius:14px;background:#fbfcf9;animation:filter-reveal .16s ease-out}
.filter-disclosure-hint{margin:0 0 12px;color:#737d78;font-size:.82rem;line-height:1.5}
.filter-disclosure .filter-selects{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.filter-disclosure .topic-choice{display:flex;justify-content:space-between;gap:16px;min-height:42px;padding:0 13px;border:1px solid #e4e7e0;border-radius:9px;background:#fff;color:#6b756f;transition:border-color .15s,box-shadow .15s}
.filter-disclosure .topic-choice:focus-within{border-color:#9cace8;box-shadow:0 0 0 3px #244ed810}
.filter-disclosure .topic-choice select{min-width:150px;max-width:220px;padding:10px 22px 10px 0;background:transparent;color:#28343f;font-weight:500}
.filter-disclosure .topic-choice svg{right:11px;stroke:#667486}
.filter-disclosure .series-toggle{min-height:42px;border-radius:9px;border-color:#e4e7e0}
@keyframes filter-reveal{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:680px){.reading-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding-bottom:15px;margin-bottom:20px}.level-tabs{width:100%}.filter-disclosure{justify-self:stretch;min-width:0}.filter-disclosure-summary{justify-content:flex-start;width:max-content;max-width:100%;min-height:40px;padding:5px 9px}.filter-disclosure-panel{width:100%;margin:3px 0 0;padding:14px;border-radius:12px}.filter-disclosure .filter-selects{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.filter-disclosure .topic-choice{width:100%;padding:0 12px}.filter-disclosure .topic-choice select{min-width:0;max-width:68%;text-align:right}.filter-disclosure .series-toggle{width:100%;padding:0 12px}}

/* A calm, discoverable home for connected story collections. */
.series-toggle{min-height:44px;display:inline-flex;align-items:center;justify-content:space-between;gap:22px;padding:0 12px;border:1px solid #dfe3dc;border-radius:7px;background:#fff;color:#202c38;font-size:.85rem;cursor:pointer;white-space:nowrap;transition:border-color .15s,background .15s}.series-toggle:hover,.series-toggle[aria-expanded="true"]{border-color:#9eafe8;background:#f8f9ff}.series-toggle-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:20px;background:#eef2fc;color:#3556a6;font-size:.72rem;font-weight:700}.series-selected-dot{margin-right:4px}.series-browser{margin:-7px 0 18px;padding:20px;border:1px solid #dfe3dc;border-radius:10px;background:#f7f8f3;box-shadow:0 8px 24px #202c3808}.series-browser[hidden],.active-series[hidden]{display:none}.series-browser-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.series-browser-head .eyebrow{margin:0 0 4px}.series-browser-head p:last-child{margin:0;color:#68736e;font-size:.88rem}.series-close{width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#eceee7;color:#59635f;font-size:1.25rem;line-height:1}.series-browser-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.series-option{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-height:170px;padding:17px;text-align:left;border:1px solid #dfe3dc;border-radius:8px;background:#fff;color:#202c38;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}.series-option:hover{transform:translateY(-2px);border-color:#b9c7f1;box-shadow:0 8px 18px #202c3810}.series-option.selected{border-color:#5572d7;background:#fbfcff;box-shadow:0 0 0 2px #244ed814}.series-option-top{display:flex;justify-content:space-between;align-items:center}.series-option-count,.series-option-level{font-size:.72rem;color:#657079}.series-option-level{padding:4px 8px;border-radius:20px;background:#eef2fc;color:#3556a6;font-weight:650}.series-option strong{font:1.35rem/1.2 Georgia,serif}.series-option-description{color:#68736e;font-size:.84rem;line-height:1.45}.series-option-action{display:flex;justify-content:space-between;align-items:center;margin-top:auto;color:#244ed8;font-size:.8rem;font-weight:650}.series-option-action span{font-size:1.1rem}.active-series{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:-7px 0 18px;padding:10px 14px;border-radius:7px;background:#eef2fc;color:#33466e;font-size:.84rem}.active-series strong{font-weight:700}.active-series button{padding:5px 7px;border-radius:5px;background:transparent;color:#244ed8;font-size:.8rem;white-space:nowrap}.active-series button:hover{background:#dce5ff}
@media(max-width:950px){.filter-selects{gap:12px}.series-toggle{gap:12px;padding:0 10px}}
@media(max-width:680px){.filter-selects{flex-direction:column;align-items:stretch;gap:5px}.series-toggle{width:100%;padding:0 12px}.series-browser{margin:-2px 0 16px;padding:14px}.series-browser-grid{grid-template-columns:1fr}.series-option{min-height:150px}.active-series{align-items:flex-start;line-height:1.4}}

/* Keep the reading area calm and let the text lead. */
.story-sheet{position:relative;margin:12px 0 0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
.story-sheet-label{display:flex;align-items:center;min-height:0;margin:0 0 16px;color:#7b817f;font-size:.65rem;font-weight:650;letter-spacing:.14em}
.story-sheet-mark,.story-sheet-end{display:none}
.story-sheet .reading-text{position:relative;z-index:1}
@media(max-width:680px){.story-sheet{margin-top:10px}.story-sheet-label{margin-bottom:12px}}

/* Level check: calm orientation and a clear question flow. */
.level-check-overview{padding:8px 0 8px 26px;border-left:1px solid #e2e5df}
.level-check-overview>.eyebrow{margin:0 0 18px}
.overview-levels{display:flex;align-items:center;gap:10px;margin:0 0 21px;color:#244ed8;font-size:.85rem;font-weight:650}
.overview-levels i{height:1px;flex:1;background:#d9dfef}
.overview-skills{display:grid;grid-template-columns:1fr 1fr;gap:9px 15px;color:#58656a;font-size:.86rem}
.overview-skills span:before{content:'';display:inline-block;width:6px;height:6px;margin:0 9px 2px 0;border-radius:50%;background:#7891dc}
.level-check-overview>p:last-child{max-width:390px;margin:18px 0 0;color:#7a827d;font-size:.83rem}
.assessment-level-steps{display:flex;align-items:center;gap:8px;margin:0 0 20px}
.assessment-level-step{position:relative;flex:1;padding:9px 8px;border-radius:6px;background:#f1f2ee;color:#737b77;text-align:center;font-size:.8rem;font-weight:600}
.assessment-level-step.active{background:#e9edfb;color:#244ed8}
.assessment-level-step.done{background:#eef4ef;color:#36734b}
.assessment-context{margin:0 0 22px;padding:14px 17px;border-left:2px solid #9aabe5;background:#f7f8fc;font:1.16rem/1.65 Georgia,serif;color:#35404a}
.assessment-answer-label{display:block;margin-top:18px;color:#626e71;font-size:.84rem}
.assessment-answer-label input{display:block;width:100%;min-height:54px;margin-top:7px;padding:12px 14px;border:1px solid #cbd2cb;border-radius:7px;background:#fcfcf9;color:#202c38;font:1.15rem Georgia,serif}
.assessment-profile-title{margin:32px 0 8px;font:1.55rem Georgia,serif}
.meter-step.in-progress{color:#a66a2e}
.meter-step.in-progress i{background:linear-gradient(90deg,#d79a53 45%,#e2e5df 45%)}
@media(max-width:760px){.level-check-overview{padding:20px 0 0;border-top:1px solid #e2e5df;border-left:0}.overview-skills{grid-template-columns:1fr 1fr;gap:9px 10px}.assessment-level-steps{gap:5px}.assessment-level-step{padding:8px 3px;font-size:.75rem}}
@media(max-width:420px){.overview-skills{grid-template-columns:1fr}.assessment-context{font-size:1.08rem}.assessment-level-steps{gap:4px}.assessment-level-step{font-size:.7rem}}
.assessment-question .exercise-actions{flex-wrap:wrap}
.assessment-skip{margin-left:auto;margin-right:8px;padding:8px 4px;background:transparent;border:0;color:#596775}
.assessment-skip:hover{text-decoration:underline}
@media(max-width:680px){.assessment-question .exercise-actions{flex-direction:column;align-items:stretch}.assessment-question .exercise-actions .muted{order:3}.assessment-question .assessment-skip{order:2;margin:0;text-align:center}.assessment-question #assessment-next{order:1}}

/* Final library filter treatment: a small reading note, never a required step. */
.reading-filters{display:grid;grid-template-columns:1fr;align-items:start;gap:14px;padding-bottom:20px;margin-bottom:24px;border-bottom:1px solid #e0e2dc}
.level-tabs{justify-self:start}
.filter-disclosure{justify-self:start;width:100%;min-width:0}
.filter-disclosure-summary{display:flex;align-items:baseline;justify-content:flex-start;flex-wrap:wrap;gap:6px 13px;min-height:0;padding:2px 0;border-radius:0;background:transparent;color:#26323e;cursor:pointer;list-style:none}
.filter-disclosure-summary::-webkit-details-marker{display:none}
.filter-disclosure-summary:hover,.filter-disclosure[open]>.filter-disclosure-summary{background:transparent;color:#244ed8}
.filter-summary-note{font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive;font-size:1.08rem;color:#3159b4;transform:rotate(-1.5deg)}
.filter-disclosure-title{font-size:.86rem;font-weight:600;text-decoration:underline;text-decoration-color:#bdc9ef;text-decoration-thickness:1px;text-underline-offset:4px}
.filter-summary-state{padding:2px 7px;border-radius:99px;background:#e9edff;color:#3150be;font-size:.69rem;font-weight:650}
.filter-summary-state[hidden],.filter-disclosure-icon{display:none}
.filter-disclosure-chevron{width:7px;height:7px;margin:0 0 3px 1px;border-right:1.5px solid #74808b;border-bottom:1.5px solid #74808b;transform:rotate(45deg);transition:transform .16s,margin .16s}
.filter-disclosure[open] .filter-disclosure-chevron{margin-top:4px;margin-bottom:0;transform:rotate(225deg)}
.filter-disclosure-panel{width:100%;max-width:none;margin:11px 0 0;padding:18px 22px 18px 34px;border:0;border-left:2px solid #d7a09a;border-radius:2px;background-color:#fffef9;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 31px,#e8edf2 32px);box-shadow:0 1px 0 #e1e3dd;animation:filter-reveal .16s ease-out}
.filter-disclosure-heading{margin-bottom:13px}
.filter-disclosure-kicker{display:block;margin:0 0 2px;color:#3159b4;font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive;font-size:1rem;line-height:1.3}
.filter-disclosure-heading p{margin:0;color:#515d65;font:1rem/1.5 Georgia,serif}
.filter-disclosure .filter-selects{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.filter-disclosure .topic-choice{position:relative;display:flex;flex:1 1 205px;flex-direction:column;justify-content:center;gap:2px;width:auto;min-height:54px;padding:5px 36px 5px 11px;border:1px solid #e1e3df;border-radius:4px;background:#fffefa;color:#717a78;transition:border-color .15s,box-shadow .15s}
.filter-disclosure .topic-choice:focus-within{border-color:#9cace8;box-shadow:0 0 0 3px #244ed810}
.filter-disclosure .topic-choice>span{font-size:.68rem;line-height:1.15;letter-spacing:.04em}
.filter-disclosure .topic-choice select{display:block;width:100%;height:auto;min-width:0;max-width:none;margin:0;padding:0;background:transparent;color:#28343f;font-size:.84rem;line-height:1.35;font-weight:550;text-align:left}
.filter-disclosure .topic-choice svg{right:11px;stroke:#667486}
.filter-disclosure .series-toggle{flex:0 0 auto;min-height:54px;border-radius:4px;border-color:#e1e3df;background:#fffefa}
@media(max-width:680px){.reading-filters{gap:12px;padding-bottom:17px;margin-bottom:20px}.level-tabs{width:100%}.filter-disclosure-summary{align-items:flex-start;gap:4px 9px}.filter-summary-note{width:100%;font-size:1.03rem}.filter-disclosure-title{font-size:.82rem}.filter-disclosure-panel{margin-top:9px;padding:15px 12px 15px 23px}.filter-disclosure-heading p{font-size:.94rem}.filter-disclosure .filter-selects{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}.filter-disclosure .topic-choice{width:100%;min-height:52px;padding:5px 36px 5px 10px}.filter-disclosure .series-toggle{width:100%;justify-content:space-between;padding:0 12px}}

/* Mobile reading filters: keep each label and choice aligned as one calm row. */
@media(max-width:680px){
  .filter-disclosure-panel{box-sizing:border-box;padding:16px 12px 16px 22px;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 35px,#e8edf2 36px);animation:filter-fade .12s ease-out}
  .filter-disclosure-heading{margin-bottom:12px}
  .filter-disclosure .filter-selects{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
  .filter-disclosure .topic-choice{display:grid;grid-template-columns:minmax(58px,.38fr) minmax(0,1fr);align-items:center;column-gap:8px;width:100%;min-width:0;min-height:56px;padding:6px 32px 6px 10px;border-radius:5px}
  .filter-disclosure .topic-choice>span{font-size:.72rem;line-height:1.25;letter-spacing:.02em}
  .filter-disclosure .topic-choice select{appearance:none;-webkit-appearance:none;display:block;width:100%;min-width:0;max-width:100%;height:40px;margin:0;padding:7px 8px;border:1px solid #e3e5df;border-radius:4px;background:#fffefa;color:#28343f;font-size:.82rem;line-height:1.25;text-align:left}
  .filter-disclosure .topic-choice svg{right:43px;width:13px;height:13px;background:#fffefa;pointer-events:none}
  .filter-disclosure .series-toggle{width:100%;min-height:48px;justify-content:space-between;padding:0 11px;border-radius:5px}
}
@keyframes filter-fade{from{opacity:.72}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.filter-disclosure-panel{animation:none!important}}

/* Keep the personal handwritten prompt while softening the open filter panel. */
.filter-summary-note{font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive;font-size:1.08rem;color:#3159b4;transform:rotate(-1.5deg)}
.filter-disclosure-panel{padding:18px 20px;border:1px solid #e7e8e2;border-radius:8px;background:#fffefa;background-image:none;box-shadow:0 2px 8px #202c3808}
.filter-disclosure-heading{margin-bottom:12px}
.filter-disclosure-kicker{display:none}
@media(max-width:680px){.filter-disclosure-panel{padding:15px 12px;border-radius:7px;background:#fffefa;background-image:none}.filter-summary-note{font-size:1.03rem}}

/* Five quiet level tabs stay readable on narrow phones. */
@media(max-width:420px){.level-tabs{display:grid;grid-template-columns:1.25fr repeat(4,minmax(0,1fr));width:100%;gap:3px;padding:3px}.level-tab{min-width:0;padding:8px 3px;font-size:.76rem;white-space:nowrap}}

/* A quiet level-test card with a hand-sketched Italian flag. */
.level-check-promo{position:relative;isolation:isolate;overflow:hidden;padding:26px 30px;background:linear-gradient(112deg,#f2f2ec 0%,#f2f2ec 73%,#eef1fb 100%);border:1px solid #e5e6df;border-radius:14px}
.level-check-promo>div,.level-check-promo>.btn{position:relative;z-index:1}
.level-check-promo .eyebrow{color:#5269b8;font-size:.82rem;font-weight:600;letter-spacing:.055em;text-transform:none}
.level-check-promo h2{font-size:1.68rem;margin:7px 0 8px}
.level-check-promo p:not(.eyebrow){color:#606b70;max-width:540px}
.level-promo-art{position:absolute!important;right:190px;top:50%;width:94px;height:78px;transform:translateY(-50%);opacity:.88;pointer-events:none}
.level-promo-art svg{display:block;width:100%;height:100%;overflow:visible}
.level-promo-art .flag-pole-sketch,.level-promo-art .flag-ground-sketch{fill:none;stroke:#596477;stroke-width:1.25;stroke-linecap:round;opacity:.8}
.level-promo-art .flag-cloth-sketch{fill:#faf8ef;stroke:#596477;stroke-width:.75;stroke-linecap:round;stroke-linejoin:round;opacity:.9}
.level-promo-art .flag-green{fill:#78977e;opacity:.66}
.level-promo-art .flag-white{fill:#f8f6ed;opacity:.95}
.level-promo-art .flag-red{fill:#bd756b;opacity:.68}
.level-promo-art .flag-hatch{fill:none;stroke:#4c5c56;stroke-width:.42;stroke-linecap:round;stroke-linejoin:round;opacity:.42}
.level-promo-art .flag-outline-sketch{fill:none;stroke:#596477;stroke-width:.85;stroke-linecap:round;stroke-linejoin:round;opacity:.75}
.level-check-promo>.btn{border-radius:999px;background:#244ed8;box-shadow:none;padding:12px 25px;transition:background-color .16s ease,transform .16s ease}
.level-check-promo>.btn:hover{background:#1c3fb8;transform:translateY(-1px)}
.level-check-promo>.btn:active{transform:translateY(0)}
@media(max-width:680px){.level-check-promo{padding:22px 20px;border-radius:12px;background:linear-gradient(135deg,#f2f2ec 0%,#f2f2ec 72%,#eef1fb 100%)}.level-check-promo h2{font-size:1.48rem}.level-promo-art{position:absolute!important;right:12px;top:14px;width:66px;height:52px;transform:none;opacity:.8}.level-check-promo>div:first-child{padding-right:46px}.level-check-promo>.btn{width:100%;text-align:center}}

/* Quiet pencil sketches give each story its own small visual cue. */
.story-art{display:block;color:#59645f;pointer-events:none}
.story-art svg{display:block;width:100%;height:100%;overflow:visible}
.story-art .sketch-ink,.story-art .sketch-accent,.story-art .sketch-warm{fill:none;stroke-linecap:round;stroke-linejoin:round}
.story-art .sketch-ink{stroke:currentColor;stroke-width:1.75;opacity:.78}
.story-art .sketch-accent{stroke:#788f7d;stroke-width:1.65;opacity:.78}
.story-art .sketch-warm{stroke:#b77d6e;stroke-width:1.55;opacity:.72}
.card-preview .story-art-card{position:absolute;right:20px;top:49px;width:48px;height:43px;opacity:.82}
.card-preview .quote{max-width:calc(100% - 55px)}
.reading-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 18px}
.reading-title-copy{flex:1;min-width:0}
.reading-title-copy h1{margin-bottom:8px}
.reading-title-copy .reading-title-note{margin-bottom:0}
.story-art-reading{flex:0 0 72px;width:72px;height:64px;margin:3px 4px 0 0;opacity:.78}
@media(max-width:680px){.card-preview .story-art-card{right:16px;top:43px;width:44px;height:40px}.card-preview .quote{max-width:calc(100% - 52px);font-size:1.48rem}.reading-title-row{gap:10px}.story-art-reading{flex-basis:54px;width:54px;height:48px;margin:4px 0 0;opacity:.76}}

/* Check level: a calmer, more personal reading-room treatment. */
.level-check-hero{max-width:1040px;margin:28px auto 34px;padding:clamp(30px,5vw,58px);background:linear-gradient(132deg,#fffefa 0%,#fffefa 59%,#f3f5fb 100%);border:1px solid #e5e4dc;border-radius:20px;box-shadow:0 14px 36px #202c3808}
.level-check-copy>.eyebrow{color:#66706f;letter-spacing:.13em}
.level-check-copy h1{max-width:620px;font-size:clamp(2.65rem,5vw,4rem);line-height:1.08}
.level-check-copy>.muted{max-width:490px;line-height:1.75;color:#626e73}
.level-check-points{gap:9px;margin:18px 0 15px}
.level-check-points span{background:#f2f2ec;border:1px solid #e8e8df;border-radius:999px;padding:8px 13px}
.level-check-copy>.btn{border-radius:999px;box-shadow:0 5px 14px #244ed81c;padding:13px 24px}
.level-check-copy>.small{color:#828780;font-size:.82rem;line-height:1.5}
.level-check-overview{position:relative;padding:23px 0 23px 32px;border-left:1px solid #e4e4dc}
.level-check-overview>.eyebrow{margin-bottom:15px;color:#68716c;font-size:.72rem;letter-spacing:.12em}
.assessment-sketch{display:flex;align-items:center;gap:9px;margin:0 0 18px;color:#718078}
.assessment-sketch svg{width:70px;height:46px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;opacity:.83}
.assessment-sketch .assessment-pencil{stroke:#b27a68;stroke-width:1.4}
.assessment-sketch .handwritten{font-size:1.05rem;color:#4967ab;transform:rotate(-4deg)}
.overview-levels{gap:8px;margin:0 0 21px}
.overview-levels span{font-family:Georgia,serif;font-size:1.05rem;font-weight:600;color:#3456aa}
.overview-levels i{height:1px;background:linear-gradient(90deg,#d9dcd5,#c9d2ef);flex:1}
.overview-skills{gap:12px 16px}
.overview-skills span{font-size:.9rem;color:#5f6b6c}
.overview-skills span:before{color:#9a9fce}
.level-check-overview>p:last-child{margin-top:18px;font-size:.86rem;line-height:1.65;color:#737b75}
.assessment-last{background:#fffefa;border-color:#e5e4dc;border-radius:14px;padding:24px 28px;box-shadow:0 5px 18px #202c3806}
.assessment-last .eyebrow{letter-spacing:.11em}
.assessment-last h2{font-size:1.55rem}
.assessment-last p:not(.eyebrow){font-size:.9rem;color:#707873}
.assessment-last .btn.secondary{border-radius:999px;padding-inline:20px;background:#fafaf6}
.assessment-about{position:relative;background:#f1f1eb;border:1px solid #e8e8df;border-radius:14px;padding:24px 28px 24px 33px}
.assessment-about:before{content:'';position:absolute;left:17px;top:25px;bottom:25px;border-left:1px solid #c9d2ef;transform:rotate(.5deg)}
.assessment-about h2{font-size:1.35rem}
.assessment-about p{font-size:.9rem;line-height:1.75;color:#626d6b}
/* The active test reads like a calm worksheet, with clear progress and answers. */
.exercise-wrap:has(.assessment-question){max-width:800px;margin:22px auto 44px}
.exercise-wrap:has(.assessment-question) .lesson-head{margin-bottom:18px}
.exercise-wrap:has(.assessment-question) .back{margin:0;color:#68716d}
.exercise-wrap:has(.assessment-question) .step-label{font-size:.74rem;letter-spacing:.13em;color:#7a817b}
.assessment-level-steps{gap:6px;margin:0 0 22px}
.assessment-level-step{padding:8px 10px;border-radius:999px;background:#f0f0ea;color:#737b76;font-family:Georgia,serif;font-size:.88rem;font-weight:600}
.assessment-level-step.active{background:#e9edfb;color:#3153b0;box-shadow:inset 0 0 0 1px #d9e0f8}
.assessment-level-step.done{background:#edf2ed;color:#587661}
.exercise-wrap:has(.assessment-question) .exercise-top{font-size:.83rem;color:#65706c;margin-bottom:10px}
.exercise-wrap:has(.assessment-question) .progress-track{height:4px;margin-bottom:24px;background:#e8e8e1}
.exercise-wrap:has(.assessment-question) .progress-fill{background:#657bc1}
.assessment-question{padding:clamp(28px,5vw,46px);background:#fffefa;border:1px solid #e5e4dc;border-radius:16px;box-shadow:0 10px 28px #202c3807}
.assessment-question>.eyebrow{font-size:.7rem;letter-spacing:.12em;color:#7a827c}
.assessment-question h1{font-size:clamp(1.8rem,3.2vw,2.25rem);margin-bottom:18px}
.assessment-question .exercise-prompt{font-size:clamp(1.28rem,2.4vw,1.6rem);line-height:1.5;margin:20px 0 25px}
.assessment-prompt{background:#f3f2ec;border-left:2px solid #b8c4e7;border-radius:0 8px 8px 0;padding:16px 19px;font-size:1.12rem}
.assessment-context{background:#f5f5f0;border-left-color:#b6c3e7;border-radius:0 8px 8px 0}
.assessment-question .choices{gap:11px}
.assessment-question .choice{position:relative;display:flex;align-items:center;gap:13px;min-height:64px;padding:13px 16px;background:#fff;border-color:#e2e2da;border-radius:10px;color:#28343c;font-size:.98rem;line-height:1.45;transition:background-color .15s,border-color .15s,transform .15s}
.assessment-question .choice:before{content:attr(data-option-letter);flex:0 0 27px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#f1f1eb;color:#66716a;font:italic 600 .85rem Georgia,serif}
.assessment-question .choice:hover{background:#fafaf5;border-color:#c7cbbf;transform:translateY(-1px)}
.assessment-question .choice.chosen{background:#f0f3fc;border-color:#98a9dc;color:#263d83}
.assessment-question .choice.chosen:before{background:#dfe6fa;color:#3153b0}
.assessment-question .choice.correct{background:#f0f5ef;border-color:#a9c1ad;color:#31593e}
.assessment-question .choice.incorrect{background:#fbf1ec;border-color:#d8b4a4;color:#794b39}
.assessment-question .assessment-answer-label input{border-radius:10px;background:white;border-color:#dedfd7}
.assessment-question .exercise-actions{padding-top:5px}
.assessment-question .exercise-actions .muted{color:#858a83}
.assessment-question .assessment-skip{color:#66716b}
.assessment-question #assessment-next{border-radius:999px;min-width:150px}
.assessment-question .feedback{border-radius:10px}
/* A result should feel like a useful note to return to, not a score screen. */
.assessment-result{max-width:900px;margin:18px auto 40px;padding:clamp(24px,5vw,48px);background:#fffefa;border:1px solid #e5e4dc;border-radius:18px;box-shadow:0 12px 34px #202c3808}
.assessment-result>.eyebrow{color:#6b746f}
.assessment-result>h1{font-size:clamp(2.35rem,5vw,3.5rem);line-height:1.12}
.assessment-result>h1 .underline{color:#244ed8;background:linear-gradient(transparent 86%,#d8def8 86%)}
.assessment-result>.muted{line-height:1.65}
.assessment-result>.small.muted{max-width:720px;color:#7a817b;line-height:1.65}
.assessment-meter{gap:6px;margin:26px 0 34px}
.meter-step{font-family:Georgia,serif;font-size:.9rem;color:#858a83}
.meter-step i{height:5px;background:#e8e8e1}
.meter-step.reached{color:#3153b0}
.meter-step.reached i{background:#8396d0}
.meter-step.in-progress i{background:linear-gradient(90deg,#8396d0 50%,#e8e8e1 50%)}
.assessment-profile-title{font-size:1.48rem;margin-bottom:6px}
.assessment-result>.small.muted + .assessment-skills{margin-top:18px}
.assessment-skills{gap:12px;margin:18px 0 28px}
.skill-result{padding:16px 17px;background:#fff;border:1px solid #e8e7df;border-radius:11px}
.skill-result>div:first-child{font-size:.86rem;color:#374148}
.skill-result span{font-size:.78rem;color:#777f79}
.skill-track{height:5px;background:#eeeee8}
.skill-track i{background:#7185c7}
.assessment-next-step{position:relative;padding:24px 26px;background:#f0f2f9;border:1px solid #e1e5f3;border-radius:14px}
.assessment-next-step:after{content:'Piano, piano.';display:block;margin-top:14px;color:#536aab;font:italic 1.05rem 'Bradley Hand','Segoe Print',cursive;transform:rotate(-2deg);transform-origin:left center}
.assessment-next-step .eyebrow{font-size:.7rem;letter-spacing:.12em;color:#6476ad}
.assessment-next-step h2{font-size:1.45rem;line-height:1.3}
.assessment-next-step p:not(.eyebrow){font-size:.92rem;line-height:1.65;color:#5f6a70}
.assessment-next-step .btn{border-radius:999px}
.assessment-story-links{gap:12px}
.assessment-story-links a{border-color:#e5e4dc;border-radius:11px;padding:17px 18px;background:#fff;transition:transform .15s,border-color .15s}
.assessment-story-links a:hover{transform:translateY(-2px);border-color:#aab7dd}
.assessment-history{padding-top:24px;border-top:1px solid #e6e5de}
.assessment-history h2{font-size:1.35rem}
.assessment-history-row{border-color:#e8e7e0;color:#66716c}
.assessment-history-row strong{color:#3554ac}
@media(max-width:760px){.level-check-hero{gap:23px;padding:28px 23px;border-radius:16px}.level-check-overview{padding:21px 0 0;border-top:1px solid #e4e4dc;border-left:0}.assessment-sketch{margin-bottom:14px}.assessment-result{padding:25px 20px;border-radius:14px}}
@media(max-width:680px){.assessment-question{padding:26px 20px}.assessment-question .choice{min-height:58px;padding:12px 13px;font-size:.94rem}.assessment-question .exercise-actions{gap:9px}.assessment-question #assessment-next{min-width:0}.assessment-next-step{padding:21px 19px}.assessment-last{padding:20px}.assessment-last .btn.secondary{width:100%;text-align:center}}

/* A clearer, livelier introduction to the level check. */
.level-check-copy>.eyebrow{color:#5269b8;letter-spacing:.11em}
.level-check-copy h1{max-width:560px;font-size:clamp(2.55rem,4.6vw,3.65rem);letter-spacing:-.05em}
.level-check-copy>.muted{max-width:450px;line-height:1.68}
.level-check-overview>.eyebrow{margin-bottom:13px}
.overview-skills{counter-reset:check-skill;gap:8px 10px}
.overview-skills span{display:flex;align-items:center;min-height:40px;gap:9px;padding:7px 10px;border:1px solid #e8e8df;border-radius:9px;background:#fffefa;color:#53605e;font-size:.8rem;line-height:1.3;transition:transform .18s ease,border-color .18s ease,background-color .18s ease,box-shadow .18s ease}
.overview-skills span:before{counter-increment:check-skill;content:counter(check-skill,decimal-leading-zero);display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;margin:0;border-radius:50%;background:#eef1fb;color:#5269b8;font:600 .62rem -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:0}
.overview-skills span:nth-child(2):before{background:#f5efe2;color:#987242}
.overview-skills span:nth-child(3):before{background:#eaf2ec;color:#5a8065}
.overview-skills span:nth-child(4):before{background:#f7ece8;color:#a66b58}
.overview-levels span{transition:color .18s ease,transform .18s ease}
.overview-levels i{transform-origin:left center;animation:check-path-draw .55s ease-out both}
.overview-levels i:nth-of-type(2){animation-delay:.08s}.overview-levels i:nth-of-type(3){animation-delay:.16s}
.level-check-copy>.btn>span{transition:transform .18s ease}
@media(hover:hover){.overview-skills span:hover{transform:translateY(-2px);border-color:#cbd4ec;background:#fff;box-shadow:0 5px 14px #202c3809}.overview-levels span:hover{transform:translateY(-2px);color:#244ed8}.level-check-copy>.btn:hover>span{transform:translateX(3px)}}
.overview-skills span:active{background:#f7f8fc}
@keyframes check-path-draw{from{transform:scaleX(.15);opacity:.35}to{transform:scaleX(1);opacity:1}}
@media(max-width:760px){.level-check-hero{gap:19px;padding:25px 21px}.level-check-copy>.eyebrow{margin-bottom:10px}.level-check-copy h1{font-size:clamp(2.35rem,8.8vw,3.1rem);line-height:1.06;margin:7px 0 12px}.level-check-copy>.muted{font-size:.96rem;line-height:1.58;margin-bottom:14px}.level-check-points{margin:12px 0 13px}.level-check-copy>.btn{margin:5px 0 3px}.level-check-copy>.small{margin-top:8px}.level-check-overview{padding-top:17px}.overview-skills{grid-template-columns:1fr 1fr;gap:7px}}
@media(max-width:360px){.level-check-hero{padding:22px 18px}.overview-skills{gap:6px}.overview-skills span{padding:6px 7px;font-size:.74rem}.overview-skills span:before{flex-basis:21px;width:21px;height:21px}}
@media(prefers-reduced-motion:reduce){.overview-levels i{animation:none}.overview-skills span,.overview-levels span,.level-check-copy>.btn>span{transition:none}}

/* Let the small timing notes feel handwritten, not like interface badges. */
.level-check-points{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin:18px 0 16px}
.level-check-points span{background:transparent;border:0;border-radius:0;padding:0;color:#5f6c68;font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive;font-size:1.12rem;line-height:1.5;transform:rotate(-1deg)}

/* A small, private feedback path that stays out of the main navigation. */
.footer-feedback{padding:0;background:transparent;color:#244ed8;text-decoration:underline;text-underline-offset:4px;font-size:inherit}
.footer-feedback:hover,.reading-feedback-row .text-link:hover{color:#1c3fb4}
.reading-feedback-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0 0;color:#738078;font-size:.8rem}
.reading-feedback-row .text-link{padding:0;background:transparent;font-size:inherit}
.feedback-dialog{position:relative;max-width:560px;width:calc(100% - 28px);max-height:min(88dvh,780px);padding:30px;background:#fffefa;border:1px solid #dfe3dc;border-radius:16px;box-shadow:0 25px 90px #202c3833;overflow:auto}
.feedback-dialog::backdrop{background:#202c3870;backdrop-filter:blur(3px)}
.feedback-dialog .dialog-close{position:absolute;top:18px;right:18px;float:none;z-index:1}
.feedback-dialog .feedback-inner{padding:8px 4px 2px}
.feedback-dialog .eyebrow{margin-bottom:9px;color:#67736c}
.feedback-dialog h2{max-width:calc(100% - 42px);font-size:clamp(1.7rem,5vw,2.1rem);margin-bottom:9px}
.feedback-dialog .feedback-inner>.muted{margin-bottom:21px;font-size:.93rem}
.feedback-dialog form label{display:flex;flex-direction:column;gap:7px;margin:15px 0;color:#344149;font-size:.88rem;font-weight:550}
.feedback-dialog form label .muted{font-weight:400}
.feedback-dialog select,.feedback-dialog textarea,.feedback-dialog input[type=email]{width:100%;border:1px solid #d5dbd2;border-radius:9px;background:#fff;padding:12px 13px;color:#202c38;font:inherit;font-weight:400}
.feedback-dialog select{min-height:48px}
.feedback-dialog textarea{min-height:135px;resize:vertical;line-height:1.55}
.feedback-dialog input[type=email]{min-height:48px}
.feedback-dialog select:focus,.feedback-dialog textarea:focus,.feedback-dialog input[type=email]:focus{outline:3px solid #d5ddfa;outline-offset:1px;border-color:#9bacdf}
.feedback-dialog .feedback-privacy{line-height:1.5;margin:12px 0 8px}
.feedback-dialog .feedback-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.feedback-dialog .form-message{margin:10px 0 0;min-height:1.25em}
.feedback-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:17px}
.feedback-actions .btn{min-width:112px}
.feedback-inbox{margin:24px 0}
.feedback-inbox-list{display:grid;gap:12px;margin-top:18px}
.feedback-item{padding:18px 20px;background:#fff;border:1px solid #e2e5de;border-radius:11px}
.feedback-item-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
.feedback-item-title{display:flex;flex-wrap:wrap;gap:7px;align-items:center;color:#637078;font-size:.78rem}
.feedback-item-title strong{color:#26323a;font-size:.87rem}
.feedback-item p{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0;color:#37444a}
.feedback-item-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#6b746f;font-size:.78rem}
.feedback-item-foot a{color:#244ed8}
.feedback-status{padding:4px 9px;border-radius:20px;background:#eef1fb;color:#5369b0;font-size:.7rem;white-space:nowrap}
.feedback-status.reviewed{background:#edf2ed;color:#57735d}
@media(max-width:680px){footer{align-items:flex-start}.footer-feedback{font-size:.78rem}.reading-feedback-row{gap:6px}.feedback-dialog{padding:25px 20px;border-radius:15px}.feedback-dialog .dialog-close{top:13px;right:13px}.feedback-dialog .feedback-inner{padding:5px 0 0}.feedback-dialog textarea{min-height:120px}.feedback-actions{flex-direction:column-reverse}.feedback-actions .btn{width:100%}.feedback-item{padding:15px}.feedback-item-foot{align-items:flex-start;flex-direction:column}}
.level-check-points span:nth-child(2){transform:rotate(1deg);color:#52648a}
@media(max-width:680px){.level-check-points{gap:8px 18px;margin:17px 0 15px}.level-check-points span{font-size:1.08rem}}

/* My words: a quiet vocabulary dashboard and a short written recall round. */
.word-learning-overview{margin:30px 0 34px;padding:27px 30px;background:#fffefa;border:1px solid #e5e4dc;border-radius:14px}
.word-learning-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.word-learning-heading .eyebrow{margin-bottom:7px}
.word-learning-heading h2{font-size:1.55rem;margin:0}
.word-learning-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:22px 0 19px;border-top:1px solid #e9e8e1;border-bottom:1px solid #e9e8e1}
.word-learning-stats>div{display:flex;align-items:baseline;gap:10px;padding:13px 18px;border-right:1px solid #e9e8e1}
.word-learning-stats>div:first-child{padding-left:0}
.word-learning-stats>div:last-child{border-right:0}
.word-learning-stats strong{font:2rem Georgia,serif;color:#244ed8}
.word-learning-stats span{font-size:.88rem;color:#68716d}
.word-practice-action{padding:15px 17px;border-radius:13px;background:#f6f6f1}
.word-practice-controls{display:flex;align-items:center;justify-content:space-between;gap:18px}
.word-session-picker{display:flex;align-items:center;gap:14px;color:#4f5c60;font-size:.9rem}
.word-session-label{font-weight:550}
.word-session-stepper{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid #e5e5dd;border-radius:999px;background:#fffefa}
.word-step{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:#f0f1eb;color:#344452;font:500 1.3rem/1 sans-serif;cursor:pointer;transition:background .16s ease,transform .16s ease}
.word-step:hover:not(:disabled){background:#e8ebf5;transform:translateY(-1px)}
.word-step:disabled{color:#a7ada8;background:#f7f7f3;cursor:default}
.word-step:focus-visible{outline:3px solid #244ed844;outline-offset:2px}
.word-session-value{min-width:30px;text-align:center;color:#253341;font-size:1rem;font-weight:650;font-variant-numeric:tabular-nums}
.word-practice-action .btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border-radius:999px;padding:0 23px;white-space:nowrap}
.word-practice-action .btn span{font-size:1.1em;line-height:1}
.word-list-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 14px}
.word-list-heading h2{font-size:1.55rem;margin:0}
.word-learning-row{display:flex;align-items:center;gap:10px;margin-top:9px}
.word-status{font-size:.76rem;font-weight:600;color:#626d70}
.word-status.learned{color:#3f7553}
.word-status.learning{color:#526a9d}
.word-progress-dots{display:inline-flex;align-items:center;gap:4px}
.word-progress-dots i{width:7px;height:7px;border-radius:50%;background:#e0e2dc}
.word-progress-dots i.filled{background:#637ac4}
.word-learning-footnote{margin-top:16px;line-height:1.55}
.vocab-review .exercise-top{margin-top:20px}
.vocab-card{max-width:700px;margin:20px auto 0;padding:clamp(26px,5vw,46px);background:#fffefa;border-color:#e6e5dd;border-radius:16px;box-shadow:0 10px 28px #202c3808}
.vocab-card .eyebrow{margin-bottom:12px}
.vocab-meaning-label{margin:0 0 5px;color:#77817e;font-size:.76rem;font-weight:650;letter-spacing:.09em;text-transform:uppercase}
.vocab-card .vocab-prompt{font-size:clamp(2rem,5vw,3rem);margin-bottom:13px;line-height:1.18}
.vocab-context-card{margin:22px 0 18px;padding:15px 18px;background:#f3f4ef;border-radius:10px}
.vocab-context-card .eyebrow{margin:0 0 7px;color:#758078;font-size:.68rem}
.vocab-context-sentence{margin:0;color:#29343c;font:1.12rem/1.65 Georgia,serif}
.vocab-context-blank{display:inline-block;min-width:2.4em;height:.9em;margin:0 .18em;border-bottom:2px solid #8296e4;vertical-align:baseline;color:#6f82ca;font:600 .75em/1 system-ui,sans-serif;letter-spacing:.12em;text-align:center;white-space:nowrap}
.word-grammar-note{margin:6px 0 0!important;color:#67726f!important;font-size:.78rem!important;line-height:1.45!important}
.vocab-card .answer-input{margin-top:12px;border:1px solid #dcded7;border-radius:10px;background:#fff;font-size:1.12rem;min-height:54px}
.vocab-card .accent-bar{margin:11px 0 4px}
.vocab-card .accent-bar button{background:#f0f1eb;border-radius:7px;color:#52616b}
.vocab-card .exercise-actions{margin-top:18px;padding-top:15px;border-top:1px solid #e8e8e1}
.vocab-card .feedback{margin-top:20px;border-radius:10px}
.vocab-card .feedback h2{font-size:1.75rem}
.vocab-card .feedback p{line-height:1.6}
.vocab-card .saved-review-example{margin:12px 0 5px;padding:14px 16px;background:#f3f3ed;border-radius:8px;color:#29343c}
.vocab-card .exercise-actions .btn{border-radius:999px}
@media(max-width:680px){
 .word-learning-overview{margin:23px 0 28px;padding:21px 19px;border-radius:12px}
 .word-learning-heading{align-items:flex-start;flex-direction:column;gap:5px}
 .word-learning-heading h2,.word-list-heading h2{font-size:1.35rem}
 .word-learning-stats{margin:17px 0 15px}
 .word-learning-stats>div{align-items:center;flex-direction:column;gap:0;padding:10px 7px}
 .word-learning-stats strong{font-size:1.75rem}
 .word-learning-stats span{font-size:.76rem}
 .word-practice-action{padding:13px;border-radius:11px}
 .word-practice-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .word-session-picker{justify-content:space-between;gap:10px;font-size:.88rem;padding:0 2px}
 .word-session-stepper{gap:6px}
 .word-step{width:38px;height:38px}
 .word-practice-action .btn{width:100%;min-height:49px}
 .word-list-heading{margin-bottom:11px}
 .word-learning-row{gap:8px;flex-wrap:wrap}
 .word-learning-footnote{font-size:.8rem}
 .vocab-card{margin-top:17px;padding:26px 20px;border-radius:13px}
 .vocab-context-card{margin:18px 0 15px;padding:13px 14px}
 .vocab-context-sentence{font-size:1.03rem;line-height:1.62}
 .vocab-context-blank{min-width:2.4em}
 .vocab-card .exercise-actions{align-items:stretch;flex-direction:column-reverse}
 .vocab-card .exercise-actions .btn{width:100%}
}

/* A separate, Write-only shelf for sentences the learner chooses to keep. */
.collection-switch{display:inline-flex;align-items:center;gap:4px;margin:-5px 0 18px;padding:4px;border:1px solid #e5e5dd;border-radius:999px;background:#f0f0e9}
.collection-switch a{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;border-radius:999px;color:#59656a;text-decoration:none;font-size:.9rem;font-weight:550;transition:background .16s ease,color .16s ease}
.collection-switch a[aria-current="page"]{background:#fffefa;color:#244ed8;box-shadow:0 1px 4px #202c3810}
.collection-switch a span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#e8eae5;color:#5c6669;font-size:.75rem;font-variant-numeric:tabular-nums}
.collection-switch a[aria-current="page"] span{background:#edf0fd;color:#244ed8}
.sentence-rows{display:grid;gap:10px}
.sentence-row{padding:20px 22px;background:#fffefa;border:1px solid #e5e5dd;border-radius:12px}
.sentence-row-top,.sentence-row-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sentence-level{color:#68716f;font-size:.78rem;letter-spacing:.04em}
.sentence-prompt{margin:13px 0 12px;color:#253341;font:1.18rem/1.45 Georgia,serif}
.sentence-row-bottom{justify-content:flex-start;flex-wrap:wrap;padding-top:11px;border-top:1px solid #edede7}
.sentence-row-bottom .sentence-remove{margin-left:auto;border:0;background:transparent;color:#68716f;text-decoration:underline;text-underline-offset:3px;font-size:.82rem}
.sentence-answer-reveal{color:#52616b;font-size:.84rem}
.sentence-answer-reveal summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.sentence-answer-reveal span{display:block;margin-top:8px;color:#29343c;font:1rem/1.5 Georgia,serif}
.sentence-learning-overview .word-learning-stats{margin-top:18px}
.save-sentence-link{display:inline-flex;align-items:center;margin-top:14px;padding:8px 13px;border:1px solid #d8deed;border-radius:999px;background:#fff;color:#244ed8;font-size:.84rem;font-weight:550}
.save-sentence-link:hover:not(:disabled){background:#edf0fd}
.save-sentence-link.is-saved{border-color:#dce8df;background:#f2f7f2;color:#3f7553}
.sentence-review-card{max-width:700px;margin:20px auto 0;padding:clamp(26px,5vw,46px);background:#fffefa;border-color:#e6e5dd;border-radius:16px;box-shadow:0 10px 28px #202c3808}
.sentence-review-card h1{font-size:clamp(1.8rem,4vw,2.5rem);line-height:1.3}
.sentence-review-card .write-input{width:100%;min-height:58px;margin-top:16px;border:1px solid #dcded7;border-radius:10px;background:#fff;font:1.08rem/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;padding:13px 15px;resize:vertical}
.sentence-review-card .accent-bar{margin:11px 0 4px}
.sentence-review-card .accent-bar button{background:#f0f1eb;border-radius:7px;color:#52616b}
.sentence-review-card .feedback{margin-top:20px;border-radius:10px}
.sentence-review-card .feedback p{line-height:1.6}
.sentence-review-card .exercise-actions{margin-top:18px;padding-top:15px;border-top:1px solid #e8e8e1}
.sentence-review-card .exercise-actions .btn{border-radius:999px}
@media(max-width:680px){
 .collection-switch{margin:0 0 15px}
 .collection-switch a{padding:8px 13px;font-size:.86rem}
 .sentence-row{padding:16px 15px;border-radius:11px}
 .sentence-prompt{font-size:1.08rem}
 .sentence-row-top{align-items:flex-start}
 .sentence-review-card{margin-top:16px;padding:26px 20px;border-radius:13px}
 .sentence-review-card .exercise-actions{align-items:stretch;flex-direction:column-reverse}
 .sentence-review-card .exercise-actions .btn{width:100%}
}

/* Write: mobile-only hierarchy, with the desktop layout left intact. */
.write-mode-mobile{display:none}
@media(max-width:760px){
 .write-mode-desktop{display:none!important}
 .write-mode-mobile{display:inline!important}
 .write-intro{display:grid;grid-template-columns:minmax(0,1fr) 56px;align-items:center;gap:8px;margin:0 auto 12px;padding:19px 17px;border-radius:14px}
 .write-intro-copy{grid-column:1;max-width:none}
 .write-intro .eyebrow{margin-bottom:6px;font-size:.65rem;letter-spacing:.1em}
 .write-intro h1{margin-bottom:4px;font-size:clamp(2rem,8vw,2.65rem)}
 .write-intro .muted{font-size:.86rem;line-height:1.4;margin:0}
 .write-stamp{grid-column:2;grid-row:1;width:54px;height:54px;min-width:0;flex:0 0 54px;align-self:center;justify-content:center;border:0;background:transparent;transform:none}
 .write-stamp svg{width:52px;height:46px}
 .write-stamp .handwritten{display:none}
 .write-first-steps{margin-bottom:13px;padding:14px 15px;border-radius:12px}
 .write-first-steps>.eyebrow{margin-bottom:8px;font-size:.64rem;letter-spacing:.1em}
 .write-first-steps-body{grid-template-columns:minmax(0,1fr);gap:10px}
 .write-first-steps h2{margin-bottom:3px;font-size:1.38rem}
 .write-first-steps-copy>p{font-size:.85rem;line-height:1.4}
 .write-first-steps-topics{display:none}
 .write-first-steps-start{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border-radius:9px}
 .write-first-steps-label{margin:0 0 2px;font-size:.59rem;letter-spacing:.08em}
 .write-first-steps-example{margin:0;font-size:.97rem;white-space:nowrap}
 .write-first-steps-start .btn{width:auto;min-height:41px;padding:8px 12px;border-radius:999px;font-size:.8rem;white-space:nowrap}
 .write-setup{padding:17px 15px;border-radius:13px}
 .write-setup .section-heading{align-items:flex-start;flex-direction:column;gap:0}
 .write-setup .section-heading h2{font-size:1.42rem}
 .write-setup .section-heading .eyebrow{margin-bottom:5px}
 .write-practice-grid{grid-template-columns:minmax(0,1fr);gap:7px;margin:12px 0 15px}
 .write-practice-card{position:relative;min-height:61px;grid-template-columns:31px minmax(0,1fr);padding:9px 40px 9px 10px;border-radius:10px;column-gap:9px}
 .write-practice-card[data-practice="translate"] .write-practice-mark{background:#edf0f8;color:#5269a8}
 .write-practice-card[data-practice="article"] .write-practice-mark{background:#f1f0e9;color:#756d4d}
 .write-practice-card[data-practice="verb"] .write-practice-mark{background:#edf1ec;color:#536b58}
 .write-practice-mark{width:29px;height:29px;font-size:.82rem}
 .write-practice-card strong{font-size:.87rem}
 .write-practice-card small{font-size:.71rem;line-height:1.25}
 .write-practice-card.selected::after{content:'✓';position:absolute;top:50%;right:10px;display:grid;place-items:center;width:21px;height:21px;transform:translateY(-50%);border-radius:50%;background:#e5eafb;color:#3556a6;font-size:.78rem;font-weight:700}
 .write-mode-detail{padding-top:13px}
 .write-mode-detail .section-heading{margin:0}
 .write-mode-detail .section-heading .eyebrow{margin-bottom:5px}
 .write-mode-detail .section-heading h2{font-size:1.18rem}
 .write-mode-detail .write-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0 14px}
 .write-mode-detail .write-choice{min-height:55px;grid-template-columns:23px minmax(0,1fr);padding:7px 8px;border-radius:9px;column-gap:7px}
 .write-mode-detail .write-choice-mark{grid-row:1;width:23px;height:23px;font-size:.92rem}
 .write-mode-detail .write-choice strong{font-size:.81rem;line-height:1.2}
 .write-mode-detail .write-choice small{display:none}
 .write-level-row,.write-count-row{align-items:flex-start;flex-direction:column;gap:8px;padding-top:13px}
 .write-level-row>div:first-child strong,.write-count-row>div:first-child strong{color:#68716d;font-size:.68rem;letter-spacing:.08em}
 .write-level-row .level-tabs{width:100%;justify-content:space-between;overflow:visible}
 .write-level-row .level-tab{flex:1 1 auto;padding:8px 8px;font-size:.79rem;white-space:nowrap}
 .write-count-row{flex-direction:row;align-items:center;justify-content:space-between;gap:8px}
 .write-count-options{width:auto;gap:6px}
 .write-count-option{flex:0 0 auto;min-width:42px;min-height:38px;padding:6px 11px}
 .write-start-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:13px;padding-top:13px}
 .write-start-row>.write-mode-mobile{color:#58656a;font-size:.76rem;line-height:1.35}
 .write-start-row>.btn{width:auto;min-height:43px;padding:9px 14px;border-radius:999px;white-space:nowrap;font-size:.82rem}
 .write-gentle-note{display:none}
}
@media(max-width:390px){
 .write-mode-detail .write-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .write-mode-detail .write-choice{grid-template-columns:22px minmax(0,1fr);column-gap:6px;padding:7px}
 .write-mode-detail .write-choice-mark{width:22px;height:22px}
 .write-mode-detail .write-choice strong{font-size:.77rem}
 .write-first-steps-start .btn{padding:8px 10px;font-size:.76rem}
}

/* First Steps: clear meaning and a compact phone layout. */
@media(max-width:760px){
 .write-first-steps{margin-bottom:14px;padding:15px 16px 14px;border:1px solid #dfe4f0;border-left:3px solid #7188c9;border-radius:13px;background:linear-gradient(135deg,#f5f7fc 0%,#fffefa 100%);box-shadow:0 4px 14px #202c3807}
 .write-first-steps>.eyebrow{margin-bottom:7px;color:#4967ab;font-size:.63rem;letter-spacing:.095em}
 .write-first-steps h2{margin-bottom:5px;color:#202c38;font-size:1.42rem;line-height:1.16}
 .write-first-steps-copy>p{max-width:34em;font-size:.86rem;line-height:1.42}
 .write-first-steps-body{gap:11px}
 .write-first-steps-start{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border-radius:10px;background:#f0f2f7}
 .write-first-steps-label{margin:0 0 2px;color:#596a7c;font-size:.58rem;letter-spacing:.08em}
 .write-first-steps-example{margin:0;color:#202c38;font-size:.98rem;line-height:1.3;white-space:normal}
 .write-first-steps-start .btn{flex:0 0 auto;width:auto;min-width:0;min-height:39px;padding:8px 14px;border-radius:999px;font-size:.82rem;white-space:nowrap}
}
@media(max-width:390px){
 .write-first-steps{padding:14px 13px 13px}
 .write-first-steps h2{font-size:1.3rem}
 .write-first-steps-start{gap:7px;padding:8px}
 .write-first-steps-start .btn{min-height:37px;padding:7px 11px;font-size:.78rem}
}

/* First Steps audience marker: clear, small, and consistent with the card. */
.write-first-steps-tag{display:flex;align-items:center;gap:9px;margin:0 0 12px}
.write-first-steps-level{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #d8e1f7;border-radius:999px;background:#edf1fb;color:#3556a6;font-size:.68rem;font-weight:700;letter-spacing:.045em;line-height:1.1}
.write-first-steps-level::before{content:"";width:6px;height:6px;border-radius:50%;background:#5974c3}
.write-first-steps-tag-copy{color:#68736e;font-size:.67rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase}
@media(max-width:760px){
 .write-first-steps-tag{gap:8px;margin-bottom:9px}
 .write-first-steps-level{padding:5px 9px;font-size:.67rem}
 .write-first-steps-tag-copy{font-size:.62rem}
}


/* Word and sentence shelves keep growing collections compact and easy to revisit. */
.learning-shelves{display:flex;gap:6px;width:max-content;max-width:100%;margin:4px 0 22px;padding:4px;border:1px solid #e4e5de;border-radius:999px;background:#f0f1eb}
.learning-shelves button{display:inline-flex;align-items:center;gap:9px;padding:9px 15px;border:0;border-radius:999px;background:transparent;color:#59656a;font-size:.9rem;font-weight:550;white-space:nowrap}
.learning-shelves button[aria-pressed="true"]{background:#fffefa;color:#244ed8;box-shadow:0 1px 4px #202c3810}
.learning-shelves button span{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#e8eae5;color:#5c6669;font-size:.75rem;font-variant-numeric:tabular-nums}
.learning-shelves button[aria-pressed="true"] span{background:#edf0fd;color:#244ed8}
.collection-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin:23px 0 8px;color:#647079;font-size:.86rem}
.collection-pagination .btn{min-height:40px}
.word-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.word-row .word-row-actions button{padding:4px 0;color:#68716f;font-size:.82rem;white-space:nowrap}
.word-row .word-row-actions [data-relearn-word]{color:#244ed8;font-weight:600}
.sentence-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px;margin-left:auto}
.sentence-row-bottom .sentence-row-actions button{border:0;background:transparent;color:#68716f;text-decoration:underline;text-underline-offset:3px;font-size:.82rem;white-space:nowrap}
.sentence-row-bottom .sentence-row-actions .sentence-return{color:#244ed8;font-weight:600}
@media(max-width:680px){
 .learning-shelves{display:flex;width:100%;margin:0 0 17px}
 .learning-shelves button{justify-content:center;flex:1;padding:9px 10px;font-size:.86rem}
 .collection-pagination{gap:10px;font-size:.8rem}
 .collection-pagination .btn{padding:8px 12px}
 .word-row-actions{grid-column:2;grid-row:1 / 3;align-items:flex-end;flex-direction:column;gap:8px}
 .sentence-row-actions{width:100%;margin-left:0;justify-content:flex-end}
 .sentence-row-bottom .sentence-row-actions button{padding:5px 0}
}

/* Make the feedback invitation easy to spot and keep its modal in the viewport. */
footer{flex-wrap:wrap}
.footer-feedback{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 15px;border:1px solid #c9d5fb;border-radius:999px;background:#eaf0ff;color:#244ed8;text-decoration:none;text-underline-offset:initial;font-size:.86rem;font-weight:650;white-space:nowrap;transition:background .16s ease,color .16s ease,border-color .16s ease}
.footer-feedback:hover{background:#244ed8;border-color:#244ed8;color:#fff}
.footer-contact{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border:1px solid #d8ddd6;border-radius:999px;background:#fffefa;color:#34414a;text-decoration:none;font-size:.84rem;font-weight:600;white-space:nowrap;transition:border-color .16s ease,color .16s ease,background .16s ease}
.footer-contact:hover{border-color:#b9c7f5;background:#f6f8ff;color:#244ed8}
.feedback-dialog{position:fixed;inset:0;margin:auto;max-height:calc(100vh - 32px);max-height:min(88dvh,780px);overscroll-behavior:contain}
@media(max-width:680px){
 footer{align-items:center;gap:12px 14px;padding:22px 20px}
 footer span:last-child{flex-basis:100%;margin-left:0}
 .footer-feedback{min-height:44px;padding:9px 16px;font-size:.9rem}
 .footer-contact{min-height:44px;padding:9px 13px;font-size:.85rem}
 .feedback-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:min(88dvh,780px);padding:24px 19px}
 .feedback-dialog .dialog-close{top:11px;right:11px}
 .feedback-dialog .feedback-inner{padding:5px 0 0}
}
.inline-link{border:0;background:none;padding:0;color:#244ed8;text-decoration:underline;text-underline-offset:3px;font:inherit;cursor:pointer}.privacy-choice-link{border:0;background:none;color:#244ed8;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:.75rem;padding:6px 0}.analytics-panel{margin:25px 0}.analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:16px 0 26px}.analytics-subheading{font:1.2rem Georgia,serif;margin:25px 0 12px}.analytics-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:28px}.analytics-breakdown h3{font:1.2rem Georgia,serif;margin-bottom:10px}.analytics-footnote{margin:22px 0 0}.analytics-consent[hidden]{display:none}.analytics-consent{position:fixed;z-index:49;left:50%;bottom:18px;transform:translateX(-50%);width:min(920px,calc(100% - 32px));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:28px;padding:23px 26px;background:#fff;border:1px solid #dfe3dc;border-radius:13px;box-shadow:0 12px 44px #202c3826}.analytics-consent .eyebrow{margin:0 0 6px;color:#244ed8}.analytics-consent h2{font:1.45rem Georgia,serif;margin:0 0 7px}.analytics-consent p:not(.eyebrow){font-size:.88rem;color:#596775;margin:0 0 6px;max-width:570px}.analytics-consent a{font-size:.8rem;color:#244ed8;text-underline-offset:3px}.analytics-consent-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.analytics-consent-actions .btn{white-space:nowrap}.analytics-consent-actions .btn.secondary{border-radius:24px}.analytics-consent-actions .btn:not(.secondary){border-radius:24px}@media(max-width:680px){.analytics-consent{bottom:10px;width:calc(100% - 20px);grid-template-columns:1fr;gap:14px;padding:19px 18px}.analytics-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.analytics-consent-actions .btn{white-space:normal;padding:10px 12px;font-size:.8rem;min-height:44px}.analytics-breakdown{grid-template-columns:1fr;gap:20px}.analytics-stats{gap:10px}.analytics-stats .stat{padding:16px 12px}}


/* Homepage entry point and clearer section navigation */
.header{gap:clamp(12px,2vw,25px)}
.header nav{gap:clamp(3px,1vw,12px)}
.header nav a[data-nav]{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:0;min-height:54px;padding:7px 10px 9px;border:1px solid #e3e8f3;border-radius:10px;background:#f2f5fc;color:#42557f;transition:background-color .16s ease,border-color .16s ease,color .16s ease}
.header nav a[data-nav]:hover{background:#e8edfb;border-color:#d4dcf2;color:#244ed8}
.header nav a[data-nav].active{background:#e8edff;border-color:#d1dcfa;color:#244ed8}
.header nav a[data-nav].active:after{left:10px;right:auto;bottom:4px;width:20px;height:2px;border-radius:2px}
.header nav .nav-title{display:flex;align-items:center;gap:6px;padding:0;background:transparent;border-radius:0;font-size:.9rem;font-weight:inherit;line-height:1.2;white-space:nowrap}
.header nav .nav-note{display:block;padding:0;background:transparent;border-radius:0;color:#7a8281;font-size:.65rem;font-weight:450;line-height:1.25;letter-spacing:.01em;white-space:nowrap}
.header nav a.active .nav-note{color:#53689c}
.header nav #word-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:#e5e8e5;color:#4f5c59;font-size:.7rem;font-weight:650}
.home-intro{position:relative;isolation:isolate;min-height:340px;display:grid;grid-template-columns:minmax(0,1fr) 190px;align-items:center;gap:clamp(24px,5vw,64px);margin:0 0 44px;padding:clamp(28px,5vw,54px);overflow:hidden;border:1px solid #e5e4dc;border-radius:20px;background:linear-gradient(115deg,#fffefa 0%,#fffefa 68%,#f1f4ff 100%)}
.home-intro-copy{max-width:740px;position:relative;z-index:1}
.home-story-count{display:inline-flex;align-items:center;min-height:31px;margin:0 0 15px;padding:5px 11px;border:1px solid #dfe5f5;border-radius:999px;background:#f3f5fc;color:#425da8;font-size:.68rem;font-weight:650;letter-spacing:.075em;text-transform:none}
.home-story-count[hidden]{display:none}
.home-intro h1{max-width:760px;margin:0 0 15px;font-size:clamp(3.15rem,6vw,5rem);line-height:1.02;letter-spacing:-.055em}
.home-title-break{display:block}
.home-description{max-width:685px;margin:0;color:#596775;font-size:clamp(1rem,1.5vw,1.15rem);line-height:1.68}
.home-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:25px}
.home-actions .btn{min-height:52px;padding:13px 23px;border-radius:999px;font-size:.97rem}
.home-primary{box-shadow:0 4px 12px #244ed81c}
.home-level-link{background:#fffefa!important;border-color:#d9ded4!important;color:#33414e!important}
.home-level-link:hover{background:#f1f3ef!important;border-color:#c7cec4!important}
.home-illustration{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:190px;min-height:165px;transform:rotate(1deg)}
.home-illustration svg{display:block;width:100%;height:auto;overflow:visible}
.home-book-shadow{fill:#edf0e8;stroke:none}
.home-book-page{stroke:#35435a;stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round}
.home-book-left{fill:#fffefa}
.home-book-right{fill:#f6f2e6}
.home-book-outline,.home-book-lines,.home-book-ground{fill:none;stroke:#35435a;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.home-book-lines{stroke:#6a82bd;stroke-width:1.45;opacity:.68}
.home-book-ground{stroke:#8a9690;stroke-width:1.2;opacity:.65}
.home-illustration .handwritten{position:absolute;right:-4px;bottom:-8px;font-size:1.03rem;white-space:nowrap;transform:rotate(-5deg)}
@media(max-width:1020px){.header{min-height:auto;flex-wrap:wrap;gap:8px 12px;padding:16px 4%}.header nav{order:3;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));flex-basis:100%;gap:4px;padding-top:4px}.header nav a[data-nav]{align-items:center;text-align:center;padding:7px 4px 9px}.header nav a[data-nav].active:after{left:50%;right:auto;width:20px;transform:translateX(-50%)}.header nav .nav-title{justify-content:center;font-size:.84rem}.header nav .nav-note{font-size:.64rem}}
@media(max-width:760px){.home-intro{grid-template-columns:minmax(0,1fr) 110px;gap:10px;min-height:0;padding:28px 26px;border-radius:16px}.home-intro h1{font-size:clamp(2.75rem,8vw,3.65rem)}.home-illustration{width:110px;min-height:120px}.home-illustration .handwritten{font-size:.86rem;right:-8px}.home-actions{gap:9px}.home-actions .btn{padding:12px 17px;font-size:.9rem}}
@media(max-width:680px){.header{padding:14px 16px 12px;gap:7px 10px}.header nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding-top:5px}.header nav a[data-nav]{min-width:0;min-height:52px;padding:6px 2px 8px;border-radius:8px}.header nav .nav-title{font-size:.75rem;white-space:normal;line-height:1.15}.header nav .nav-note{font-size:.59rem;letter-spacing:-.015em}.header nav #word-count{min-width:19px;height:18px;padding:0 4px;font-size:.63rem}.header nav a[data-nav="progress"]{grid-column:2 / span 2}.home-intro{display:block;margin:0 0 34px;padding:25px 22px 24px;background:linear-gradient(145deg,#fffefa 0%,#fffefa 78%,#f1f4ff 100%)}.home-intro-copy{max-width:none}.home-story-count{margin-bottom:13px;font-size:.66rem}.home-intro h1{font-size:clamp(2.65rem,9.7vw,3.25rem);line-height:1.03;margin-bottom:14px}.home-title-break{display:block}.home-description{font-size:1rem;line-height:1.58}.home-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:19px}.home-actions .btn{width:100%;min-height:49px;padding:11px 15px;font-size:.91rem}.home-illustration{display:none}}
@media(max-width:360px){.header nav .nav-title{font-size:.7rem}.header nav .nav-note{font-size:.55rem}.home-intro{padding:22px 18px}.home-intro h1{font-size:2.55rem}}

#library-browse{scroll-margin-top:24px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.account-prompt-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100% - 28px));max-height:min(88dvh,620px);overflow:auto;padding:38px;background:#fffefa;color:#202c38;border:1px solid #dfe3dc;border-radius:18px;box-shadow:0 25px 90px #202c3833}
.account-prompt-dialog::backdrop{background:#202c3870;backdrop-filter:blur(3px)}
.account-prompt-dialog .dialog-close{position:absolute;top:16px;right:16px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #e3e6df;border-radius:50%;background:#f4f5f0;color:#34414a;font-size:1.5rem;line-height:1}
.account-prompt-dialog .eyebrow{margin-bottom:10px;color:#53689c}
.account-prompt-dialog h2{max-width:390px;margin:0 42px 13px 0;font-size:clamp(1.9rem,5vw,2.45rem);line-height:1.12}
.account-prompt-dialog #account-prompt-copy{max-width:420px;margin:0 0 25px;font-size:1rem;line-height:1.65}
.account-prompt-actions{display:flex;gap:10px;flex-wrap:wrap}
.account-prompt-actions .btn{border-radius:999px;min-height:48px;padding:12px 20px}
.account-prompt-actions .btn.secondary{background:#fffefa}
.account-prompt-dialog{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
@media(max-width:680px){.account-prompt-dialog{padding:30px 23px 24px;border-radius:16px}.account-prompt-dialog .dialog-close{top:12px;right:12px;width:38px;height:38px}.account-prompt-dialog h2{font-size:clamp(1.8rem,8vw,2.2rem)}.account-prompt-actions{display:grid;grid-template-columns:1fr}.account-prompt-actions .btn{width:100%;min-height:48px}}
.intro-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.admin-email-export{white-space:nowrap}@media(max-width:680px){.intro-actions{display:grid;width:100%}.intro-actions .btn{width:100%;text-align:center}}
.stats-admin-intro{gap:24px}
.stats-admin-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:9px}
.stats-admin-actions .btn{min-height:44px;padding:10px 16px;border-radius:999px;gap:8px;font-size:.86rem;white-space:nowrap}
.admin-action-icon{width:17px;height:17px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.stats-admin-intro{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:15px}.stats-admin-intro .stats-admin-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stats-admin-intro .stats-admin-actions .btn{width:100%;min-width:0;justify-content:center;padding:10px 12px;text-align:center;font-size:.85rem}}
@media(max-width:360px){.stats-admin-intro .stats-admin-actions .btn{padding:9px 8px;font-size:.79rem;gap:6px}.admin-action-icon{width:15px;height:15px}}
.monthly-report{margin:25px 0}.monthly-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto auto;align-items:end;gap:12px;margin:22px 0 10px}.monthly-range label{display:grid;gap:7px;margin:0!important;color:#596775;font-size:.8rem}.monthly-range input[type=month]{min-width:0;min-height:44px;margin:0!important;border:1px solid #dfe3dc;border-radius:10px;background:#fffefa;color:#202c38;font:inherit;padding:8px 10px}.monthly-range .btn{min-height:44px;padding:10px 16px;white-space:nowrap}.monthly-message{min-height:1.4em;margin:8px 0 12px}.monthly-table-wrap{width:100%;overflow-x:auto;border:1px solid #e3e6df;border-radius:12px}.monthly-table{width:100%;border-collapse:collapse;min-width:690px;font-size:.82rem}.monthly-table th,.monthly-table td{padding:12px 13px;border-bottom:1px solid #e7e9e3;text-align:right;white-space:nowrap}.monthly-table thead th{background:#f4f5f0;color:#596775;font-size:.72rem;font-weight:650}.monthly-table th:first-child,.monthly-table td:first-child{text-align:left}.monthly-table tbody tr:last-child>*{border-bottom:0}.monthly-table tbody th{font-weight:650;color:#202c38}.monthly-footnote{margin:14px 0 0;line-height:1.55}
@media(max-width:680px){.monthly-range{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.monthly-range .btn{width:100%;min-width:0;justify-content:center;text-align:center;padding:10px 9px;font-size:.82rem}.monthly-range input[type=month]{width:100%;font-size:.9rem}.monthly-table{min-width:650px}.monthly-report{padding:24px 16px}}
.word-pronunciation-options{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px}
.word-pronunciation{display:inline-flex;align-items:center;gap:7px;min-height:40px;margin:0;padding:7px 11px;border:1px solid #d7def4;border-radius:999px;background:#f5f7ff;color:#3154c5;font:600 .84rem/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;cursor:pointer;transition:background .16s,border-color .16s,color .16s}
.word-pronunciation:hover{background:#eaf0ff;border-color:#b9c8f4}
.word-pronunciation:focus-visible,.footer-pronunciation-credits:focus-visible{outline:3px solid #7892ee;outline-offset:3px}
.word-pronunciation[aria-pressed="true"]{background:#e6ecff;border-color:#aebff4}
.word-pronunciation:disabled{opacity:.7;cursor:wait}
.word-pronunciation svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.footer-pronunciation-credits{font-family:inherit;cursor:pointer}
.pronunciation-credits-dialog{max-width:480px}
.pronunciation-credits-dialog h2{font-size:clamp(1.8rem,5vw,2.3rem);line-height:1.15;margin:8px 36px 16px 0}
.pronunciation-credits-dialog p:not(.eyebrow){color:#53606b;font-size:.95rem;line-height:1.6}
.pronunciation-credits-dialog .eyebrow{color:#53689c;font-weight:650;letter-spacing:.12em}
.pronunciation-credits-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:20px}
.pronunciation-credits-dialog a{color:#244ed8;text-underline-offset:4px;font-weight:600}

.saved-word-title{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
.word-row .saved-word-listen{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:5px 10px;border:1px solid #dbe2f6;border-radius:999px;background:#f5f7ff;color:#3154c5;text-decoration:none;font:600 .76rem/1.1 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;white-space:nowrap;transition:background .16s,border-color .16s}
.word-row .saved-word-listen:hover{background:#eaf0ff;border-color:#b9c8f4;color:#244ed8}
.word-row .saved-word-listen:focus-visible{outline:3px solid #7892ee;outline-offset:3px}
.saved-word-listen[aria-pressed="true"]{background:#e6ecff;border-color:#aebff4}
.saved-word-listen:disabled{opacity:.7;cursor:wait}
.saved-word-listen svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}


/* Check level: the illustrated path from the check to a suitable next story. */
.level-check-journey{display:block;max-width:820px;margin:22px auto 34px;padding:clamp(27px,5vw,46px);text-align:left;background:#fffefa;border:1px solid #e5e4dc;border-radius:22px;box-shadow:0 14px 36px #202c3808}
.level-check-journey .journey-copy>.eyebrow{margin:0 0 12px;color:#5269b8;letter-spacing:.13em}
.level-check-journey .journey-copy h1{max-width:650px;margin:0 0 13px;font-size:clamp(2.55rem,6vw,3.8rem);line-height:1.02;letter-spacing:-.05em}
.level-check-journey .journey-copy>.muted{max-width:540px;margin:0;color:#626e73;font-size:1.06rem;line-height:1.6}
.journey-scene{position:relative;width:min(100%,540px);aspect-ratio:2/1;margin:18px auto 16px}
.journey-scene>svg{display:block;width:100%;height:100%;overflow:visible}
.journey-level{position:absolute;color:#30404b;font-size:.78rem;font-weight:750;line-height:1}
.journey-a1{left:0;bottom:9%}.journey-a2{left:30%;top:32%}.journey-b1{left:56%;top:68%}.journey-b2{right:0;top:24%}
.journey-note{position:absolute;left:7%;top:3%;font:19px 'Bradley Hand','Segoe Print','Comic Sans MS',cursive;color:#4a63b4;transform:rotate(-5deg)}
.level-check-journey-action{max-width:540px;margin:0 auto;text-align:center}
.level-check-journey-action>.btn{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:60px;margin:0;padding:9px 13px 9px 21px;border:1px solid #1f46c4;border-radius:19px 25px 18px 23px;background:#3159db;color:#fff;font:650 1.05rem -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;text-align:left;text-decoration:none;box-shadow:0 4px 0 #d9def0,0 7px 14px #244ed81c;transform:rotate(-.25deg);transition:transform .18s,box-shadow .18s,background .18s}
.level-check-journey-action>.btn>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:48% 52% 47% 53%;background:#eff2ff;color:#244ed8;font:26px/1 'Bradley Hand','Segoe Print',cursive;transform:rotate(-5deg);transition:transform .18s}
.level-check-journey-action>.btn:hover{background:#294fcf;transform:translateY(-1px) rotate(-.25deg);box-shadow:0 5px 0 #d9def0,0 9px 17px #244ed824}
.level-check-journey-action>.btn:hover>span{transform:translateX(2px) rotate(-5deg)}
.level-check-journey-action>.btn:focus-visible{outline:3px solid #7895ff;outline-offset:4px}
.level-check-journey-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px 26px;margin:10px 0;color:#52615d;font:18px/1.4 'Bradley Hand','Segoe Print','Comic Sans MS',cursive}
.level-check-journey-meta span:first-child{transform:rotate(-1deg)}.level-check-journey-meta span:last-child{color:#52648a;transform:rotate(1deg)}
.level-check-journey-action>.small{margin:6px 0 0;color:#737b75;font-size:.78rem}
.level-check-next{display:grid;grid-template-columns:minmax(0,1fr) 70px;align-items:center;gap:13px;margin-top:20px;padding-top:16px;border-top:1px solid #e4e5de}
.level-check-next .eyebrow{margin:0 0 3px;color:#3159db;font:18px/1 'Bradley Hand','Segoe Print','Comic Sans MS',cursive;letter-spacing:0;text-transform:none;transform:rotate(-2deg);transform-origin:left center}
.level-check-next strong{display:block;color:#202d3b;font:400 22px/1.14 Georgia,serif}
.level-check-next p:last-child{margin:5px 0 0;color:#56636c;font-size:.88rem;line-height:1.4}
.level-check-next-book{display:block;width:70px;height:60px;overflow:visible}
.level-check-next-book .next-book-page{fill:#fffdf8;stroke:#596fae;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.level-check-next-book .next-book-line{stroke:#a0afd2;stroke-width:1.25;stroke-linecap:round}
@media(max-width:760px){.level-check-journey{margin:8px auto 24px;padding:25px 21px;border-radius:19px}.level-check-journey .journey-copy>.eyebrow{margin-bottom:10px}.level-check-journey .journey-copy h1{font-size:clamp(2.35rem,9.2vw,3.25rem);line-height:1.04;margin-bottom:11px}.level-check-journey .journey-copy>.muted{font-size:.98rem;line-height:1.55}.journey-scene{width:100%;margin:13px auto 12px}.journey-level{font-size:.7rem}.journey-note{font-size:16px}.level-check-journey-action>.btn{min-height:56px}.level-check-journey-meta{gap:6px 20px;margin:9px 0;font-size:17px}.level-check-next{grid-template-columns:minmax(0,1fr) 60px;gap:8px;margin-top:17px;padding-top:14px}.level-check-next strong{font-size:20px}.level-check-next p:last-child{font-size:.82rem}.level-check-next-book{width:60px;height:54px}}
@media(max-width:360px){.level-check-journey{padding:22px 17px}.level-check-journey .journey-copy h1{font-size:2.25rem}.journey-scene{margin-top:11px}.level-check-next{grid-template-columns:minmax(0,1fr) 52px}.level-check-next-book{width:52px;height:48px}.level-check-next strong{font-size:18px}}
@media(prefers-reduced-motion:reduce){.level-check-journey-action>.btn,.level-check-journey-action>.btn>span{transition:none}}

/* Read home: editorial story shelf, hand-written update note, and illustrated library CTA. */
.home-intro{grid-template-columns:minmax(0,1fr) minmax(280px,.82fr);gap:clamp(24px,4vw,50px);min-height:360px;background:linear-gradient(115deg,#fffefa 0%,#fffefa 66%,#f2efe7 100%)}
.home-illustration{width:100%;min-height:280px;transform:none}
.home-shelf{position:relative;width:min(100%,390px);height:280px}
.home-cover{position:absolute;width:clamp(142px,16vw,170px);height:229px;padding:13px 13px 14px;border:1px solid #e2e2da;border-radius:8px;background:#fffefa;box-shadow:0 11px 27px #202c381a}
.home-cover-train{top:30px;left:2%;background:#e9eee5;transform:rotate(-8deg)}
.home-cover-market{top:12px;left:23%;background:#edf0f8;transform:rotate(5deg)}
.home-cover-cafe{top:31px;right:2%;background:#fffefa;transform:rotate(-2deg)}
.home-cover>span{display:block;margin-bottom:9px;color:#68756f;font-size:.59rem;font-weight:700;letter-spacing:.095em}
.home-cover-art{height:112px;display:grid;place-items:center;border-radius:4px;background:#f5f3ec}
.home-cover-market .home-cover-art{background:#e3e8df}
.home-cover-train .home-cover-art{background:#e1e9f1}
.home-cover-art svg{display:block;width:100%;height:100%;max-width:112px;overflow:visible}
.home-cover strong{display:block;margin-top:10px;color:#202c38;font:400 1.02rem/1.14 Georgia,serif}
.home-fresh-note{display:flex;align-items:center;gap:9px;width:max-content;max-width:100%;margin:16px 0 0;padding:3px 6px;color:#334da7;font-family:'Bradley Hand','Segoe Print','Comic Sans MS',cursive;font-size:1.08rem;font-weight:500;line-height:1.4;transform:rotate(-1deg)}
.home-fresh-note svg{width:20px;height:20px;flex:0 0 auto;color:#b7774e;stroke:#b7774e;transform:rotate(-8deg)}
.home-fresh-note span{position:relative;display:inline-block;padding-bottom:3px}
.home-fresh-note span:after{position:absolute;right:1px;bottom:0;left:0;height:3px;border-bottom:1.5px solid #c3915f;border-radius:50%;content:'';transform:rotate(-1deg)}
.home-actions .home-primary{gap:10px;border:1px solid #244ed8;border-radius:14px 18px 13px 16px/15px 13px 17px 14px;box-shadow:0 3px 0 #183cba,1px 1px 0 #ffffff55 inset;transition:transform .16s ease,box-shadow .16s ease}
.home-actions .home-primary:hover{transform:translateY(-1px) rotate(-.35deg);box-shadow:0 4px 0 #183cba,1px 1px 0 #ffffff55 inset}
.home-library-icon{width:27px;height:24px;flex:0 0 auto;transform:rotate(-4deg)}
.home-actions .home-level-link{border-radius:13px 16px 12px 15px/14px 12px 16px 13px;box-shadow:0 2px 0 #e5e3da}
.home-actions .home-level-link:hover{transform:translateY(-1px)}
@media(max-width:900px) and (min-width:681px){.home-intro{grid-template-columns:minmax(0,1fr) minmax(250px,.78fr);gap:23px;padding:32px}.home-cover{width:148px;height:218px}.home-cover-train{left:0}.home-cover-market{left:21%}.home-cover-cafe{right:0}.home-cover-art{height:104px}.home-cover strong{font-size:.94rem}}
@media(max-width:680px){.home-intro{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:21px 21px 23px;background:linear-gradient(155deg,#fffefa 0%,#fffefa 74%,#f2efe7 100%)}.home-illustration{order:-1;display:flex;width:100%;min-height:133px;height:133px;margin:0 0 9px;overflow:visible}.home-shelf{width:min(100%,330px);height:133px;margin:0 auto}.home-cover{width:clamp(92px,29vw,108px);height:124px;padding:8px 8px 9px;border-radius:6px;box-shadow:0 7px 15px #202c3818}.home-cover-train{top:9px;left:2%;transform:rotate(-7deg)}.home-cover-market{top:0;left:31%;transform:rotate(4deg)}.home-cover-cafe{top:8px;right:2%;transform:rotate(-2deg)}.home-cover>span{margin-bottom:5px;font-size:.46rem;letter-spacing:.055em}.home-cover-art{height:54px}.home-cover-art svg{max-width:74px}.home-cover strong{margin-top:6px;font-size:.7rem;line-height:1.08}.home-intro h1{font-size:clamp(2.55rem,9.4vw,3.2rem);margin-bottom:12px}.home-description{font-size:.96rem;line-height:1.55}.home-actions{margin-top:16px}.home-actions .btn{min-height:49px;padding:10px 15px;font-size:.9rem}.home-fresh-note{margin-top:13px;font-size:1rem}.home-fresh-note svg{width:19px;height:19px}}
@media(max-width:360px){.home-intro{padding:18px 17px 21px}.home-cover{width:92px}.home-cover-market{left:30%}.home-cover strong{font-size:.66rem}.home-fresh-note{font-size:.94rem}}

/* Reddit community invitation: a quiet post-story prompt and matching footer link. */
.reddit-story-invite{position:relative;margin:22px 0 0;padding:16px 52px 16px 17px;border-left:3px solid #ff4500;border-radius:0 15px 15px 0;background:#fff4ed;box-shadow:0 2px 0 #ead9cd;color:#202c38}
.reddit-story-invite-tag{display:inline-flex;align-items:center;gap:8px;margin:0 0 8px;padding:4px 9px 4px 7px;border:1px solid #f0d6c6;border-radius:999px;background:#fffefa;color:#65717a;font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.reddit-wordmark{color:#bf3c11;font-size:.76rem;font-weight:800;letter-spacing:-.03em;text-transform:lowercase}
.reddit-wordmark:before{display:inline-block;width:6px;height:6px;margin:0 5px 1px 0;border-radius:50%;background:#ff4500;content:""}
.reddit-tag-separator{width:4px;height:4px;border-radius:50%;background:#ff4500}
.reddit-story-invite h2{margin:0;color:#202c38;font:400 1.4rem/1.16 Georgia,serif;letter-spacing:-.025em}
.reddit-story-invite h2:after{display:block;width:48px;height:4px;margin-top:2px;border-bottom:2px solid #ff4500;border-radius:50%;content:"";transform:rotate(-2deg)}
.reddit-story-invite-copy{margin:6px 0 11px;color:#65717a;font-size:.87rem;line-height:1.48}
.reddit-story-invite-link{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;width:100%;padding:8px 12px;border:1px solid #e5a27f;border-radius:14px 18px 13px 16px/15px 13px 17px 14px;background:#fffefa;box-shadow:0 2px 0 #efd7c9;color:#a83200;text-align:center;text-decoration:none;font-size:.85rem;font-weight:680;transition:background .16s ease,transform .16s ease}
.reddit-story-invite-link:hover{background:#fffaf6;transform:translateY(-1px)}
.reddit-story-invite-link span{color:#ff4500;font-size:1rem;line-height:1}
.reddit-story-invite-close{position:absolute;top:5px;right:5px;display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:50%;background:transparent;color:#65717a;font-size:1.3rem;line-height:1}
.reddit-story-invite-close:hover{background:#ffffff99}
.reddit-story-invite-close:focus-visible,.reddit-story-invite-link:focus-visible,.footer-reddit-link:focus-visible{outline:3px solid #ed993a;outline-offset:3px}
.footer-reddit-link{display:inline-flex;align-items:center;gap:7px;color:#bf3c11!important;font-size:.82rem;font-weight:650;text-decoration:none;text-underline-offset:4px;white-space:nowrap}
.footer-reddit-link:hover{text-decoration:underline}
.footer-reddit-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#ff4500;box-shadow:0 0 0 3px #ff45001c}
@media(max-width:680px){.reddit-story-invite{margin-top:20px;padding:15px 48px 15px 13px}.reddit-story-invite h2{font-size:1.3rem}.reddit-story-invite-copy{font-size:.83rem}.footer-reddit-link{min-height:42px}}

/* Grouped footer: retain every current action while making the destinations easy to scan. */
footer.site-footer{display:block;max-width:1180px;margin:0 auto;padding:26px 32px 18px;border-top:1px solid #d9dcd5;background:#f1f2ec;color:#647079;font-size:.82rem}
.site-footer-top{display:flex;justify-content:space-between;align-items:baseline;gap:14px;padding-bottom:17px}
.site-footer-brand{color:#202c38;font:bold 1.65rem/.9 Georgia,serif;letter-spacing:-.065em;text-decoration:none}
.site-footer-brand span{color:#244ed8}
.site-footer-top p{margin:0;color:#707b79;font:italic .9rem/1.25 Georgia,serif}
.site-footer-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:19px 0 21px;border-top:1px solid #dfe1da;border-bottom:1px solid #dfe1da}
.site-footer-group{min-width:0}
.site-footer-group h2{margin:0 0 9px;color:#707974;font:750 .65rem/1.3 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:.13em;text-transform:uppercase}
.site-footer-group ul{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.site-footer-group a,.site-footer-link{display:inline-flex;align-items:center;min-height:30px;max-width:100%;padding:3px 0;border:0;background:none;color:#4f5b63;font:400 .8rem/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;text-align:left;text-decoration:none;text-underline-offset:3px;overflow-wrap:anywhere}
.site-footer-group a:hover,.site-footer-link:hover{color:#244ed8;text-decoration:underline}
.site-footer-group .footer-reddit-link{gap:7px;color:#a94325;font-weight:650;white-space:normal}
.site-footer-group .footer-feedback{display:inline-flex;align-items:center;justify-content:center;min-height:35px;margin-top:4px;padding:6px 12px;border:1px solid #cad4f3;border-radius:999px;background:#eaf0ff;color:#244ed8;font-size:.75rem;font-weight:650;white-space:nowrap;transition:background .16s ease,color .16s ease,border-color .16s ease}
.site-footer-group .footer-feedback:hover{border-color:#244ed8;background:#244ed8;color:#fff}
.site-footer-group .privacy-choice-link{min-height:30px;padding:3px 0;color:#4f5b63;font-size:.8rem;text-align:left}
.site-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:12px;color:#7b837e;font-size:.68rem}
.site-footer-bottom span:last-child{margin-left:0;flex-basis:auto}
@media(max-width:680px){footer.site-footer{align-items:initial;gap:0;padding:20px 20px 15px}.site-footer-top{align-items:baseline;padding-bottom:14px}.site-footer-brand{font-size:1.5rem}.site-footer-top p{font-size:.78rem}.site-footer-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 13px;padding:15px 0 16px}.site-footer-group h2{margin-bottom:5px;font-size:.6rem}.site-footer-group ul{gap:3px}.site-footer-group a,.site-footer-link{min-height:31px;font-size:.73rem}.site-footer-group .footer-feedback{min-height:35px;font-size:.7rem}.site-footer-bottom{align-items:flex-start;flex-direction:column;gap:4px;padding-top:10px;font-size:.64rem}.site-footer span:last-child{margin-left:0;flex-basis:auto}.site-footer-group{overflow-wrap:anywhere}}
@media(max-width:360px){footer.site-footer{padding-right:15px;padding-left:15px}.site-footer-groups{gap:13px 9px}.site-footer-group a,.site-footer-link{font-size:.68rem}.site-footer-group .footer-feedback{padding:5px 9px;font-size:.66rem}}
