/* Site-wide blue and white palette. Load after every component stylesheet. */
:root{--ink:#18304f;--muted:#586f8e;--paper:#f7faff;--white:#fff;--line:#dce6f5;--blue:#245cdd;--soft-blue:#edf3ff;--lime:#dce9ff;--green:#1747b5;--red:#183f83;--shadow:0 5px 22px #245cdd08;--theme-blue:#245cdd;--theme-hover:#1747b5;--theme-ink:#18304f;--theme-muted:#586f8e;--theme-line:#dce6f5;--theme-pale:#edf3ff;--theme-soft:#f7faff;color:var(--theme-ink);background:var(--theme-soft)}
body{background:var(--theme-soft);color:var(--theme-ink)}
body :is(h1,h2,h3,h4){color:var(--theme-ink)}
body :is(button,input,select,textarea){accent-color:var(--theme-blue)}
body :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--theme-blue)}
body .btn-primary,body .workspace-main .btn-primary,body .wp-page .btn-primary{background:var(--theme-blue);border-color:var(--theme-blue);color:white}
body .btn-primary:hover:not(:disabled),body .workspace-main .btn-primary:hover:not(:disabled),body .wp-page .btn-primary:hover:not(:disabled){background:var(--theme-hover);border-color:var(--theme-hover);color:white}
body .btn-secondary,body .workspace-main .btn-secondary,body .wp-page .btn-secondary{background:#fff;border-color:#c9daf5;color:var(--theme-hover)}
body .btn-secondary:hover:not(:disabled),body .workspace-main .btn-secondary:hover:not(:disabled),body .wp-page .btn-secondary:hover:not(:disabled){background:var(--theme-pale);border-color:#a9c3ef;color:var(--theme-hover)}
body .btn-danger{background:#fff;border-color:#9db8e4;border-style:dashed;color:var(--theme-hover)}
body :is(.card,.wp-card,.paper-card,.analytics-card,.lesson-card,.stat){border-color:var(--theme-line);box-shadow:0 2px 10px #245cdd05;background:#fff}
body :is(.eyebrow,.text-link,.success,.error){color:var(--theme-hover)}
body :is(.badge,.badge.blue,.badge.green,.workspace-main .badge,.paper-card .badge){background:var(--theme-pale);color:var(--theme-hover)}
body .badge.correct{background:#dceaff;color:#1747b5;border:1px solid #8db3ef}
body .badge.incorrect{background:#fff;color:#183f83;border:1px dashed #6c92ce}
body :is(.option.correct,.exam-shell .exam-option.correct){border:2px solid #245cdd;background:#eaf2ff}
body :is(.option.incorrect,.exam-shell .exam-option.incorrect){border:2px dashed #6c92ce;background:#fff}
body .notice.warning{background:var(--theme-pale);border-color:#adc7f1;color:#234f93}
body :is(.icon-tile,.workspace-main .icon-tile){background:var(--theme-pale);color:var(--theme-blue)}
body :is(.metric-bar,.progress-bar,.lh-meter,.wp-streak-track,.ws-streak-track){background:#e3edfc}
body :is(.metric-bar>span,.workspace-main .metric-bar span,.metric-bar>i,.metric-bar>div,.progress-bar>span,.wp-streak-track span,.ws-streak-track i){background:var(--theme-blue)}
body :is(.pill.active,.question-dot.active,.brand-icon,.welcome-count){background:var(--theme-blue);border-color:var(--theme-blue);color:#fff}
body .question-dot.flagged{box-shadow:inset 0 -4px #89aceb}
body :is(.next-step,.workspace-main .next-step,.card.accent){background:var(--theme-pale);border-color:#cbdcf7}
body .timer.urgent{color:var(--theme-hover);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
body .site-header,body .site-footer{border-color:var(--theme-line)}
body .brand,body .brand strong{color:var(--theme-hover)}
body .hero{background:linear-gradient(125deg,#1747b5,#245cdd);border-color:#245cdd;color:#fff}
body .hero h1{color:#fff}
body .hero :is(.lead,.muted,.eyebrow){color:#e7efff}
body .hero .btn-primary{background:#fff;color:#1747b5;border-color:#fff}
body .hero .btn-primary:hover{background:#eaf2ff;color:#1747b5;border-color:#eaf2ff}
body .hero .btn-secondary{background:transparent;color:#fff;border-color:#aac7ff}
body .hero .btn-secondary:hover{background:#ffffff1a;color:#fff;border-color:#fff}
body .hero-orbit{border-color:#ffffff40;background:#ffffff0d}
body .hero-preview,body .hero-stamp{border-color:#b8d1fb}
body .hero-preview-answer.selected{background:#edf3ff;border-color:#245cdd;color:#1747b5}

/* Shared sidebar and mobile navigation. */
body .workspace-shell{--ws-blue:#245cdd;--ws-ink:#18304f;--ink:#18304f;--muted:#586f8e;--blue:#245cdd;--soft-blue:#edf3ff;--line:#dce6f5;background:#f7faff;color:#18304f}
body .workspace-sidebar{background:#fff;border-color:var(--theme-line)}
body .workspace-brand,body .workspace-brand>span,body .workspace-collapse{color:var(--theme-hover)}
body .workspace-menu-label,body .workspace-local-note{color:var(--theme-muted)}
body .workspace-sidebar nav a{color:#385577}
body .workspace-nav-icon{color:#7d9bc6}
body .workspace-sidebar nav a:hover{background:#edf3ff;color:#1747b5}
body .workspace-sidebar nav a[aria-current=page]{background:#245cdd;color:#fff;box-shadow:0 3px 8px #245cdd1a}
body .workspace-sidebar nav a[aria-current=page] .workspace-nav-icon{color:#fff}
body .ws-free{background:#e4eeff;color:#1747b5}
body .workspace-sidebar nav a[aria-current=page] .ws-free{background:#fff;color:#1747b5}
body .workspace-streak{border-color:#b7cff4;background:#f7faff;color:#18304f}
body .workspace-streak small{color:#586f8e}
body .workspace-free-plan{background:#245cdd;border-color:#245cdd;color:#fff}
body .workspace-free-plan:hover{background:#1747b5;border-color:#1747b5}
body .workspace-mobile-bar{background:#fff;color:#18304f;border-color:#dce6f5}
body .workspace-menu-toggle{background:#edf3ff;color:#1747b5;border-color:#c9daf5}
body .workspace-main .eyebrow{color:#456ca6}
body .workspace-main .card{border-color:#dce6f5}
body .workspace-main .lead{color:#586f8e}

/* Dashboard, vocabulary, study plan, streaks, support, settings. */
body .wp-page{--wp-line:#dce6f5;--wp-muted:#586f8e;--wp-soft:#f5f9ff;color:#18304f}
body .wp-page :is(.wp-kicker,.wp-stats>article>span,.wp-stat>span,.wp-goal-wrap .eyebrow){color:#58759c}
body :is(.wp-welcome,.wp-plan-note,.wp-support-intro,.wp-daily-benefits>div){background:#f5f9ff;border-color:#dce6f5}
body .wp-welcome-art span{background:white;border-color:#c9daf5;color:#245cdd;box-shadow:0 6px 16px #245cdd0a}
body .wp-welcome-art span:nth-child(2){background:#245cdd;border-color:#245cdd;color:#fff}
body :is(.wp-task-icon,.wp-routine span,.wp-daily-benefits>div>span){background:#eaf2ff;color:#245cdd}
body :is(.wp-stat>strong,.wp-target>strong,.wp-flame,.wp-streak-hero>strong){color:#1747b5}
body .wp-streak-hero,body .wp-flashcard{background:linear-gradient(160deg,#f5f9ff,#fff);border-color:#dce6f5}
body .wp-calendar-day{background:#f5f9ff;color:#385577}
body .wp-calendar-day.done{background:#dceaff;color:#1747b5}
body .wp-calendar-day.today{border-color:#245cdd}
body .wp-check input{accent-color:#245cdd}
body .wp-known{background:#e4eeff;color:#1747b5}
body .wp-daily-cta{background:#245cdd;color:#fff}
body .wp-daily-cta p{color:#e7efff}
body .wp-daily-cta .btn{background:white;color:#1747b5;border-color:white}
body .wp-daily-cta .btn:hover{background:#edf3ff;color:#1747b5;border-color:#edf3ff}
body .wp-page :is(input,select){border-color:#c9daf5;color:#18304f}
body .wp-page :is(.wp-task,.wp-recent,.wp-personal-add,.wp-goal-wrap>.card){border-color:#dce6f5}
body .wp-tag{background:#f5f9ff;border-color:#dce6f5;color:#58759c}

/* Question bank. */
body .question-bank{color:#18304f}
body :is(.bank-source,.bank-stat,.bank-filter,.bank-domains){background:#f5f9ff;border-color:#dce6f5;box-shadow:0 2px 4px #245cdd06}
body .bank-source [aria-current]{background:white;color:#1747b5;box-shadow:0 1px 4px #245cdd18}
body .bank-source a{color:#58759c}
body .bank-stat>strong{color:#1747b5}
body :is(.bank-filter legend,.bank-stat>span){color:#58759c}
body :is(.bank-pill,.bank-reset,.bank-play){color:#1747b5;border-color:#c9daf5;background:#fff}
body .bank-pill[aria-pressed=true],body .bank-check[aria-checked=true],body .bank-start{background:#245cdd;border-color:#245cdd;color:white}
body .bank-start:hover:not(:disabled){background:#1747b5;border-color:#1747b5}
body .bank-check[aria-checked=false]::before{border-color:#799bcf}
body .bank-subject-icon{background:#eaf2ff;color:#245cdd}
body :is(.bank-subject,.bank-domain,.bank-skills,.bank-skill,.bank-start-bar){border-color:#dce6f5}
body :is(.bank-subject-toggle,.bank-domain-toggle){color:#18304f}
body :is(.bank-heading p,.bank-section-heading p,.bank-stat p,.bank-note,.bank-subject-toggle small,.bank-domain-toggle small,.bank-skill small,.bank-start-bar small,.bank-start-bar label){color:#586f8e}
body .bank-start-bar select{border-color:#c9daf5;color:#18304f}
body .bank-empty{color:#456ca6;border-color:#adc7f1;background:#f7faff}

/* Learning Hall, including achievements and review states. */
body .learning-hall{--lh-accent:#245cdd;--lh-ink:#18304f;--lh-muted:#586f8e;--lh-line:#dce6f5;color:#18304f}
body .learning-hall :is(.lh-live-label,.lh-summary-icon,.lh-status,.lh-status-repair,.lh-status-mastered,.lh-badge>span,.lh-assess>span){background:#edf3ff;color:#1747b5;border-color:#dce6f5}
body .learning-hall .lh-status-repair{border:1px dashed #91afe0}
body .learning-hall .lh-status-mastered{border:1px solid #91afe0;background:#dceaff}
body .learning-hall .lh-avatar{background:#e4eeff;border-color:#f5f9ff;color:#245cdd}
body .learning-hall .lh-assess{background:#f5f9ff}
body .learning-hall .lh-assess button{background:white;color:#1747b5;border-color:#bfd3f4}
body .learning-hall .lh-assess button:hover{background:#edf3ff;border-color:#8db3ef}
body .learning-hall :is(.lh-filters button,.lh-sort select){border-color:#c9daf5;color:#45658f;background:#fff}
body .learning-hall .lh-filters button[aria-pressed=true],body .learning-hall .lh-topic-card footer>button{background:#245cdd;border-color:#245cdd;color:#fff}
body .learning-hall .lh-filters button[aria-pressed=true]:hover,body .learning-hall .lh-topic-card footer>button:hover{background:#1747b5;border-color:#1747b5;color:#fff}
body .learning-hall .lh-badge.earned>span{background:#dceaff;color:#245cdd}
body .learning-hall .lh-badge.earned small{color:#1747b5}
body .learning-hall :is(.lh-eyebrow,.lh-subject,.lh-evidence,.lh-method,.lh-local-note,.lh-profile>p,.lh-profile-score span,.lh-profile-metrics>div>span,.lh-assess p,.lh-badge strong,.lh-badge small,.lh-topic-card footer strong,.lh-topic-card footer>div>span,.lh-topic-score>span){color:#586f8e}
body .learning-hall :is(.lh-topic-card footer,.lh-profile-score){border-color:#dce6f5}
body .learning-hall .lh-empty{border-color:#adc7f1;background:#f7faff}

/* Question Rush. */
body .question-rush{--rush-accent:#245cdd;--rush-accent-light:#edf3ff;color:#18304f}
body .question-rush .rush-eyebrow{color:#456ca6}
body .question-rush .rush-clock-art{border-color:#bfd3f4;background:radial-gradient(circle,#fff 64%,#edf3ff 65%);color:#245cdd}
body .question-rush .rush-clock-art::before{border-color:#a9c3ef}
body .question-rush .rush-clock-hand{background:#8db3ef}
body .question-rush :is(.rush-summary,.rush-card,.rush-search,.rush-difficulty select,.rush-controls){border-color:#dce6f5}
body .question-rush .rush-summary>div{border-color:#dce6f5}
body .question-rush :is(.rush-summary-icon,.rush-subject-badge){background:#edf3ff;color:#1747b5;border-color:#dce6f5}
body .question-rush .rush-tabs{background:#edf3ff;border-color:#dce6f5}
body .question-rush .rush-tab{color:#58759c}
body .question-rush .rush-tab[aria-pressed=true]{background:#245cdd;color:#fff;box-shadow:0 2px 5px #245cdd18}
body .question-rush .rush-card:hover{border-color:#a9c3ef;box-shadow:0 5px 18px #245cdd08}
body .question-rush .rush-card h3{color:#18304f}
body .question-rush :is(.rush-description,.rush-summary small,.rush-card-description,.rush-card-meta,.rush-record,.rush-record small,.rush-note,.rush-list-heading>span,.rush-card-number){color:#586f8e}
body .question-rush .rush-record{border-color:#dce6f5}
body .question-rush .rush-level i{background:#8db3ef}
body .question-rush .rush-start{color:#1747b5;border-color:#bfd3f4;background:#fff}
body .question-rush .rush-start:hover{background:#245cdd;border-color:#245cdd;color:#fff}
body .question-rush .rush-empty{background:#f7faff;border-color:#adc7f1}
body .question-rush .rush-empty>span{color:#799bcf}
body .question-rush .rush-empty p{color:#586f8e}
body .question-rush .rush-empty button{background:#245cdd;color:#fff}
body .question-rush .rush-search:focus-within{outline-color:#245cdd}

/* Exam: same layout and controls, one blue-and-white palette. */
body.exam-active{background:#fff}
body .exam-shell{--exam-blue:#245cdd;--exam-ink:#18304f;--exam-line:#dce6f5;--exam-pale:#edf3ff;color:#18304f;background:#fff}
body .exam-shell :is(.exam-heading,.exam-timer,.exam-question #question-title,.exam-passage>p,.exam-passage .passage,.exam-option>span:last-child){color:#18304f}
body .exam-shell .exam-header .exam-tool,body .exam-shell .exam-header>div:first-child>.exam-tool{color:#1747b5}
body .exam-shell .exam-header>div:nth-child(2)>.exam-tool{border-color:#91afe0;color:#1747b5;background:#fff}
body .exam-shell .exam-tools>.exam-tool:hover{background:#edf3ff}
body .exam-shell .exam-header::after,body .exam-shell .exam-bottom::before{background:repeating-linear-gradient(90deg,#245cdd 0,#245cdd 38px,#fff 38px,#fff 43px,#b8d1fb 43px,#b8d1fb 81px,#fff 81px,#fff 86px)}
body .exam-shell .exam-passage{border-color:#e3edfc}
body .exam-shell .exam-question .exam-question-number{background:#edf3ff}
body .exam-shell .exam-question-number>span{background:#245cdd;color:#fff}
body .exam-shell .exam-question-number>.exam-tool{color:#1747b5}
body .exam-shell .exam-question-number>.exam-tool[aria-pressed=true]{background:#dceaff}
body .exam-shell .exam-option{border-color:#9db8e4;background:#fff;color:#18304f}
body .exam-shell .exam-option .option-letter{border-color:#7d9bc6;color:#18304f}
body .exam-shell .exam-option.selected{border-color:#245cdd;background:#f7faff}
body .exam-shell .exam-option.selected .option-letter{background:#245cdd;border-color:#245cdd;color:#fff}
body .exam-shell .exam-option.exam-crossed{background:#f1f6ff;border-color:#adc7f1;color:#6983a8}
body .exam-shell .exam-option.exam-crossed .option-letter{background:#edf3ff;border-color:#adc7f1;color:#6983a8}
body .exam-shell .exam-bottom{background:#fff}
body .exam-shell .exam-bottom>.exam-progress-label{background:#245cdd;border-color:#245cdd;color:#fff}
body .exam-shell .exam-bottom>.exam-progress-label:hover{background:#1747b5;border-color:#1747b5}
body .exam-shell .exam-bottom>span{color:#586f8e}
body .exam-shell .exam-bottom .btn{background:#245cdd;border-color:#245cdd;color:#fff}
body .exam-shell .exam-bottom .btn:hover{background:#1747b5;border-color:#1747b5}
body .exam-shell .exam-bottom [data-action='check-answer']{background:#fff;border-color:#245cdd;color:#1747b5}
body .exam-shell .exam-bottom .btn:disabled{background:#edf3ff;border-color:#dce6f5;color:#799bcf}
body .exam-shell .exam-timer.urgent{color:#1747b5;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
body .exam-shell .exam-reading-guide::after{background:#dceaff55;border-color:#8db3ef}
body .exam-shell .exam-user-highlight{background:#c5dcff;color:#18304f}
body .exam-shell .exam-highlight-button{background:#fff;border-color:#adc7f1;color:#1747b5}
body .exam-shell .exam-highlight-button:hover{background:#edf3ff}
body .exam-shell .exam-highlight-status{color:#586f8e}
body .exam-shell .exam-tool-drag-handle{background:#edf3ff;border-color:#c9daf5;color:#1747b5}
body .exam-shell .exam-floating-tool{border-color:#adc7f1!important;box-shadow:0 8px 30px #245cdd20}
body .exam-shell .exam-review-cell.answered{background:#245cdd;border-color:#245cdd;color:#fff}
body .exam-shell .exam-review-cell.current{outline-color:#1747b5}
body .exam-shell .exam-review-cell.flagged::after{background:#8db3ef}
body .exam-shell .exam-status-key.is-marked{background:#8db3ef;border-color:#799bcf}
body .exam-shell :is(.exam-review-panel,.exam-question-menu h2){color:#18304f}
body .exam-shell :focus-visible,body .workspace-shell :focus-visible,body .learning-hall :focus-visible,body .question-rush :focus-visible,body .question-bank :focus-visible,body .wp-page :focus-visible{outline-color:#245cdd}

/* Approved compact workspace design. */
body .workspace-shell{grid-template-columns:224px minmax(0,1fr);background:#fff}
body .workspace-sidebar{padding:26px 12px 16px;gap:28px;background:#fff}
body .workspace-brand-row{margin:0;padding:0 8px;gap:6px}
body .workspace-brand{display:flex;align-items:center;gap:9px;font-style:normal;letter-spacing:-.5px;white-space:nowrap;color:#245cdd;font-size:20px}
body .workspace-brand>svg{width:25px;height:25px;flex-shrink:0}
body .workspace-brand>span{font-size:20px;letter-spacing:-.5px;margin:0;color:#245cdd}
body .workspace-collapse{font-size:16px;padding:4px;min-width:24px;min-height:32px;color:#6581ac}
body .workspace-sidebar nav{gap:8px}
body .workspace-sidebar nav a{padding:12px 10px;min-height:48px;gap:13px;font-size:14px;font-weight:550;color:#15284b;border-radius:10px}
body .workspace-nav-icon{color:#245cdd}
body .workspace-sidebar nav a[aria-current=page]{background:#eaf2ff;color:#245cdd;box-shadow:none}
body .workspace-sidebar nav a[aria-current=page] .workspace-nav-icon{color:#245cdd}
body .workspace-profile{margin-top:auto;border:0;padding:8px 5px 0}
body .workspace-profile-avatar{background:#245cdd;color:white}
body .workspace-profile-info small{display:none}
body .workspace-profile-menu{position:absolute;bottom:calc(100% + 8px);left:4px;right:4px;background:white;padding:8px;border:1px solid #dce6f5;border-radius:12px;box-shadow:0 6px 22px #18304f16;z-index:30}
body .workspace-profile:not([open]) .workspace-profile-menu{display:none}
body .workspace-profile-menu a{font-size:14px}
body .workspace-main #app{padding:30px;max-width:1480px;margin:0 auto}
body .workspace-collapsed{grid-template-columns:76px minmax(0,1fr)}
body .workspace-collapsed .workspace-brand{display:none}
body .workspace-collapsed .workspace-sidebar{padding:24px 10px}
body .workspace-collapsed .workspace-profile-menu{right:auto}
@media(max-width:1100px) and (min-width:801px){body .workspace-shell{grid-template-columns:208px minmax(0,1fr)}body .workspace-main #app{padding:24px}body .workspace-brand>span{font-size:18px}body .workspace-collapsed{grid-template-columns:76px minmax(0,1fr)}}
@media(max-width:800px){body .workspace-shell{display:block}body .workspace-sidebar{padding:20px;gap:20px}body .workspace-brand{display:flex}body .workspace-profile{margin-top:12px}body .workspace-profile-menu{position:static;box-shadow:none;margin:8px 0 0}body .workspace-sidebar .workspace-profile-menu{grid-template-columns:1fr}body .workspace-main #app{padding:22px 16px}body .workspace-collapsed .workspace-brand{display:flex}body .workspace-collapsed .workspace-profile-menu{position:static;width:auto}}
body .workspace-sidebar nav a{font-size:16px;font-weight:500}
body .workspace-profile-menu a{font-size:14px}
body .wp-dashboard .wp-results-empty{padding:6px 8px}
body .wp-dashboard .wp-accuracy-card>.wp-empty{padding:20px 15px}
body .wp-dashboard .wp-daily-goal>strong{margin-top:12px}
body .wp-dashboard .wp-daily-goal>.wp-muted{margin-bottom:12px}
@media(max-width:800px){body .workspace-sidebar nav a{font-size:14px}}
