/* Source: palette.css */
/* Shared application palette: warm white, espresso and burgundy. */
:root{--ink:#332724;--muted:#756965;--green:#702650;--green2:#541b3d;--mint:#f5edf3;--cream:#fdfdfc;--line:#dededb;--orange:#702650;--soft-orange:#f6f5f2;--blue-soft:#f1f2ee}
body,.auth-page{background:var(--cream);color:var(--ink)}
.topbar,.auth-page footer{background:var(--cream);border-color:var(--line)}
.topbar nav>a,.topbar nav .link-button{color:var(--ink)}
.hero-copy h1 em,.motion-aside h1 em{color:var(--ink)}
.hero-kicker,.preview-caption,.footer-signoff,.form-kicker,.auth-intro{color:var(--muted)}
.hero-kicker>span{background:var(--green)}
.preview-stage:before{background:#eeefec}
.preview-sun{background:#f3edef;color:var(--ink)}
.preview-header .eyebrow,.sample-feedback .eyebrow,.sample-vocabulary,.sample-vocabulary strong{color:var(--ink)}
.sample-answer{background:#f5f5f2}.sample-answer p,.sample-feedback p{color:var(--ink)}
.sample-feedback{background:#f5f5f2;border-color:var(--line)}.feedback-check{background:var(--ink)}
.sample-vocabulary small,.sample-feedback .eyebrow{color:var(--muted)}
.start-strip,.daily-word{background:#fff;border-color:var(--line)}
.start-strip .eyebrow,.start-strip p,.daily-word-intro h2 span{color:var(--muted)}
.daily-word-term{color:var(--ink)}.daily-word-content,.daily-word-example{border-color:var(--line)}
.features>div>span{color:var(--green)}
.review-card blockquote,.admin-review-card blockquote{color:var(--ink)}
.review-stars .filled{color:var(--ink)}.review-initial{background:#efefeb;color:var(--ink)}
.reviews-empty{background:#f8f8f5;border-color:var(--line)}
.hero-reviews-link:hover,.student-review-link a{color:var(--green)}
.language-scene:before{background:#eeefec}.illustration-phrase>span,.illustration-note strong{color:var(--ink)}
.illustration-tag,.illustration-note div>span,.illustration-top,.motion-toggle,.auth-page .auth-panel label{color:var(--muted)}
.illustration-tag>span{color:var(--green)}
.landing-page .hero:before{background:none}
.landing-word-chip{color:var(--ink);box-shadow:0 8px 24px #33272406}.landing-orbit-dot{background:#702650}
.primary,.start-strip .primary,.auth-page .auth-panel .primary,.topbar nav>a.nav-cta{background:var(--green);border-color:var(--green);color:#fff}
.primary:hover,.start-strip .primary:hover,.auth-page .auth-panel .primary:hover,.topbar nav>a.nav-cta:hover{background:var(--green2);border-color:var(--green2)}

.auth-page .auth-panel .form-foot a,.sample-feedback em,.sample-answer mark,.hero-reviews-link:hover{color:var(--green)}

/* Account panels, lessons and administration share the same surfaces and controls. */
.panel,.assignment-card,.lesson-banner,.plan-card,.worksheet-card,.worksheet-tile{background:#fff;border-color:var(--line)}
.goal-card{background:var(--green)}.goal-card .eyebrow,.goal-side,.goal-orbit{color:#f4e8ed}
.topbar nav>a.nav-profile,.topbar nav>a.nav-notice,.topbar nav>a[aria-current="page"]{background:var(--mint);color:var(--green)}
.nav-avatar,.badge{background:var(--green);color:#fff}
.profile-icon,.profile-icon.warm,.plan-icon,.plan-badge,.subscription-banner .banner-icon,.assignment-index,.status-chip.new,.count-pill,.level-pill,.lesson-pill{background:var(--mint);color:var(--green)}
.profile-readonly,.profile-completion,.subscription-banner{background:#f8f8f5;border-color:var(--line)}
.profile-card label,.task-fields label,.assignment-sender,.assignment-sender strong,.admin-assignment-student small,.admin-assignment-row label{color:var(--ink)}
.profile-card input,.profile-card select,.form-panel input,.form-panel select,.form-panel textarea,.message-form textarea,.teacher-assignment-controls select,.review-editor textarea{background:#fff;color:var(--ink);border-color:var(--line)}
.auth-page .auth-panel input:focus,.auth-page .auth-panel select:focus,.profile-card input:focus,.profile-card select:focus,.message-form textarea:focus,.review-editor textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #70265018;outline:none}
input,select,textarea,progress{accent-color:var(--green)}
:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.auth-page .form-foot a,.recent-worksheet-link:hover h3,.recent-visibility-button:hover{color:var(--green)}
.auth-page .google-button{border-color:var(--line);color:var(--ink)}.auth-page .google-button:hover{background:#f8f8f5}
.teacher-category{color:var(--muted);border-color:var(--line)}.teacher-category strong{background:#f5f5f2;color:var(--ink)}
.teacher-category:hover{background:#f8f8f5;border-color:#cbb9bf}.teacher-category.is-selected{background:var(--mint);border-color:#cbb9bf;color:var(--green)}.teacher-category.is-selected strong{background:var(--green);color:#fff}
.teacher-followup-notice{background:var(--mint);border-color:var(--line)}.teacher-followup-notice strong{color:var(--ink)}.teacher-followup-notice p,.pending-thread-count{color:var(--muted)}
.payment-reminder{background:#f8f8f5;border-color:var(--line)}.payment-reminder-icon{background:var(--mint);color:var(--green)}.payment-reminder .eyebrow{color:var(--green)}.payment-reminder h2,.payment-reminder p strong{color:var(--ink)}.payment-reminder p{color:var(--muted)}
.vocabulary-card,.teacher-guide{background:#f8f8f5;border-color:var(--line)}.vocabulary-card p{color:var(--ink)}.teacher-guide summary{color:var(--green)}
.inline-work{background:#fff!important;color:var(--ink)!important}
.thread-message{background:#f5f5f2}.thread-message.student-message{background:var(--mint)}
.rating-options input:checked+span{background:var(--mint);border-color:var(--green);color:var(--green)}.rating-options input:checked+span>span{color:var(--green)}
.rating-options input:focus-visible+span{outline-color:var(--green)}.rating-options label:hover>span:first-of-type{border-color:#cbb9bf}
.review-editor textarea,.rating-options label>span:first-of-type{border-color:var(--line)}
/* Success and error messages keep their distinct semantic colors. */

/* Clearer secondary text and a deep wine burgundy accent. */
.topbar nav>a.nav-cta{box-shadow:0 3px 0 var(--green2)}
.eyebrow{font-size:12px;line-height:1.6}
.landing-page .hero-kicker,.landing-page .preview-caption,.landing-page .sample-label,.landing-page .preview-header .eyebrow,.landing-page .sample-feedback .eyebrow{font-size:11px}
.landing-page .hero-details,.landing-page .sample-answer>span,.landing-page .sample-vocabulary strong,.landing-page .sample-vocabulary small,.landing-page .preview-footnote,.landing-page .review-author small{font-size:13px}
.landing-page .sample-feedback p,.landing-page .features p,.landing-page .method-intro>p,.landing-page .start-strip p,.landing-page .reviews-heading p,.landing-page .reviews-empty>span{font-size:14px}
.landing-page .footer-inner p,.landing-page .footer-signoff{font-size:13px;line-height:1.7}
.assignment-info small,.assignment-meta,.status-chip,.count-pill,.level-pill,.lesson-pill{font-size:12px}
.form-foot,.review-hint,.review-author small{font-size:13px}
@media(max-width:760px){.topbar nav>a,.topbar nav .link-button{font-size:12px}.landing-page .hero-details{flex-wrap:wrap;row-gap:8px}.landing-page .hero-kicker{font-size:11px;letter-spacing:1px}}

/* Readable public preview cards and account illustrations. */
.auth-page .illustration-top,.auth-page .illustration-top>span+span{font-size:12px;line-height:1.6;color:#514946;letter-spacing:.06em}
.auth-page .illustration-phrase>p{font-size:15px;line-height:1.7;color:#514946}
.auth-page .illustration-note strong{font-size:14px;line-height:1.65;font-weight:650;color:#332724}
.auth-page .illustration-note div>span{font-size:14px;line-height:1.7;font-weight:500;color:#514946}
.auth-page .illustration-note>div{min-width:0}.auth-page .note-icon{flex-shrink:0;color:#315847}
.auth-page .illustration-tag{position:relative;right:auto;bottom:auto;margin:14px 0 0 auto;width:fit-content;max-width:100%;box-sizing:border-box;font-size:13px;line-height:1.6;font-weight:500;color:#514946;animation:none}
.auth-page .language-scene{padding-bottom:0}.auth-page .scene-bottom{font-size:13px;line-height:1.7;color:#514946;flex-wrap:wrap;gap:12px}
.auth-page .motion-toggle,.landing-page .landing-motion-control{font-size:13px;line-height:1.6;color:#514946;font-weight:500}
.auth-page .lesson-illustration,.landing-page .teacher-preview{animation:none;transform:none;will-change:auto}
.landing-page .landing-word-chip{animation:none;transform:none}
.auth-page .form-kicker,.auth-page .motion-aside>.eyebrow{font-size:12px;line-height:1.7;color:#514946;font-weight:600}
.auth-page .auth-intro,.auth-page .auth-panel label,.auth-page .auth-panel small,.auth-page .form-foot,.auth-page .auth-divider{font-size:14px;line-height:1.7;color:#514946}
.landing-page .preview-caption,.landing-page .sample-label,.landing-page .preview-header .eyebrow,.landing-page .sample-feedback .eyebrow{font-size:12px;line-height:1.7;font-weight:600;color:#514946}
.landing-page .sample-task>p,.landing-page .sample-answer>span,.landing-page .sample-feedback p,.landing-page .sample-vocabulary strong,.landing-page .sample-vocabulary small,.landing-page .preview-footnote{font-size:14px;line-height:1.75;color:#514946}
.landing-page .sample-vocabulary strong{font-weight:650;color:#332724}.landing-page .features p,.landing-page .review-author small{font-size:14px;line-height:1.75;color:#514946}
@media(max-width:600px){.auth-page .lesson-illustration{padding:20px}.auth-page .illustration-top{flex-wrap:wrap;gap:6px 14px}.auth-page .illustration-note{align-items:flex-start}.auth-page .scene-bottom{align-items:center}.auth-page .illustration-tag{width:100%;justify-content:center}}

/* Keep logo and navigation together on wide screens. */
.topbar:not(.student-topbar){justify-content:flex-start;gap:32px;padding-inline:max(24px,calc((100vw - 1440px)/2))}
.topbar:not(.student-topbar)>.brand{flex:0 0 auto}
.topbar:not(.student-topbar) nav{flex:0 1 auto;min-width:0;max-width:100%;justify-content:flex-start;flex-wrap:wrap;margin-left:0;gap:8px}
@media(max-width:760px){.topbar:not(.student-topbar){padding:14px 20px;gap:12px;flex-wrap:wrap}.topbar:not(.student-topbar) nav{gap:6px;margin:0}}

.topbar:not(.student-topbar):has(.practice-nav-link) nav{justify-content:flex-start}

.landing-page.public-page .topbar:not(.student-topbar){justify-content:space-between}
.landing-page.public-page .topbar:not(.student-topbar) nav{margin-left:auto;justify-content:flex-end}

.public-page .topbar:not(.student-topbar){justify-content:space-between}
.public-page .topbar:not(.student-topbar) nav{margin-left:auto;justify-content:flex-end}

/* Source: lesson-theory.css */
.lesson-theory { padding:clamp(1.3rem,3vw,2rem); margin:1.5rem 0; }
.lesson-theory h2,.theory-builder h2 { margin:.5rem 0; font-size:1.4rem; }
.theory-heading>p,.theory-builder>p { color:var(--muted); line-height:1.7; }
.lesson-theory h3 { font-size:1rem; margin:0 0 .8rem; }
.lesson-introduction { padding:1.2rem 1.4rem; border-left:3px solid #9c5a6d; background:#faf4f6; border-radius:0 .6rem .6rem 0; margin:1.4rem 0; }
.lesson-lecture { margin-top:1.8rem; }
.theory-copy { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.65; font-size:.95rem; max-width:82ch; }
.theory-builder { padding:clamp(1.2rem,3vw,2rem); margin:1.5rem 0; }
.theory-builder label { display:block; margin-top:1.3rem; font-size:.9rem; font-weight:600; }
.theory-builder label small { color:var(--muted); font-weight:400; }
.theory-builder textarea { display:block; width:100%; margin-top:.6rem; padding:1rem; border:1px solid var(--line); border-radius:.6rem; font:inherit; font-size:.95rem; line-height:1.7; resize:vertical; background:#fff; color:var(--ink); }
.theory-builder textarea:focus-visible { outline:2px solid #7d384c; outline-offset:2px; }
.task-card .vocabulary-card { background:#f5e7ec; border:1px solid #dfbdc9; border-top:3px solid #8b455b; border-radius:12px; padding:1.1rem; }
.task-card .vocabulary-card .eyebrow { color:#713248; }
.task-card .vocabulary-card p { color:#4f303c; font-size:.875rem; line-height:1.8; overflow-wrap:anywhere; }
@media(max-width:600px) { .lesson-introduction { padding:1rem; } .theory-copy { font-size:.95rem; } }

/* Source: practice-requests.css */
.practice-request-card{padding:24px 28px;margin:22px 0}.practice-request-card h2{font-size:23px;line-height:1.4;margin:10px 0}.practice-request-card p{font-size:14px;line-height:1.8}.practice-request-card details{margin:16px 0}.practice-request-card summary{list-style:none;display:inline-flex;cursor:pointer}.practice-request-card summary::-webkit-details-marker{display:none}.practice-request-card form{display:grid;gap:16px;max-width:760px;margin-top:20px}.practice-request-card label{display:grid;gap:7px;font-size:13px}.practice-request-card select,.practice-request-card textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit}.practice-request-card form .button{justify-self:start}#requested-practice{margin-bottom:28px}@media(max-width:600px){.practice-request-card{padding:20px}.practice-request-card h2{font-size:21px}}

.topbar:has(.practice-nav-link){height:auto;min-height:86px;flex-wrap:wrap;gap:16px 22px;padding-top:16px;padding-bottom:16px}.topbar:has(.practice-nav-link) .brand{flex:none}.topbar:has(.practice-nav-link) nav{min-width:0;max-width:100%;flex:1 1 700px;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px}@media(max-width:760px){.topbar:has(.practice-nav-link) nav{justify-content:center}}

/* Source: student-nav.css */
.topbar.student-topbar{padding-inline:max(24px,calc((100vw - 1440px)/2));gap:24px;flex-wrap:nowrap}
.student-topbar .brand{flex-shrink:0}.student-topbar .brand-signature{width:200px;height:auto}
.topbar.student-topbar nav{flex:1;min-width:0;flex-wrap:nowrap;justify-content:safe center;gap:4px;overflow-x:auto;scrollbar-width:thin;align-items:center}
.topbar.student-topbar nav>a,.topbar.student-topbar nav .link-button{flex-shrink:0;white-space:nowrap;font-size:12px;padding:10px 9px}
.student-topbar nav>form{flex-shrink:0;margin:0}.student-topbar .nav-profile{gap:7px}
@media(max-width:1100px){.topbar.student-topbar{gap:16px;padding-inline:20px}.student-topbar .brand-signature{width:170px}.topbar.student-topbar nav{justify-content:flex-start}}
@media(max-width:760px){.topbar.student-topbar{flex-wrap:wrap;gap:12px;padding:14px 20px}.topbar.student-topbar nav{flex-basis:100%;max-width:100%;padding-bottom:5px;margin:0}.topbar.student-topbar nav>a,.topbar.student-topbar nav .link-button{min-height:40px}}

/* Source: links.css */
/* Ordinary links use a consistent slate tone, including visited links.
   Zero specificity preserves the colors of buttons, cards and navigation. */
:root{--text-link:#334155;--text-link-hover:#0f172a}
:where(a[href]),:where(a[href]:visited){color:var(--text-link);text-decoration-thickness:1px;text-underline-offset:.2em;overflow-wrap:anywhere}
:where(a[href]:hover){color:var(--text-link-hover)}
:where(a[href]:focus-visible){outline:2px solid var(--text-link);outline-offset:4px;border-radius:2px}
/* Keep adjacent inline links distinct even when HTML contains no whitespace. */
:where(p,small,label,li,td,th,.helper-copy) a+a{margin-inline-start:.5em}
footer .footer-legal{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;column-gap:24px;row-gap:16px;padding:28px 24px 44px;line-height:1.7}
footer .footer-legal a{display:inline-block;margin:0;color:var(--text-link);text-decoration:none}
footer .footer-legal a:hover{color:var(--text-link-hover);text-decoration:underline}
