/* 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}
