/* Shared readable palette. Dark surfaces and semantic success/error states stay distinct. */
:root{--brand:#223c5d;--primary:#223c5d;--primary-light:#203c5f;--brand-deep:#213c5e;--brand-soft:#edf3fb;--gradient:linear-gradient(135deg,#233c5d,#223c5d);--ink:#1c2d46;--text:#26384f;--muted:#526178;--green:#223c5d;--ui-ink:#1c2d46;--ui-copy:#41536c;--ui-muted:#526178;--ui-action:#223c5d;--ui-action-hover:#213c5e}
body{color:var(--ui-ink)}
:is(input,textarea,select){color:#26384f}input::placeholder,textarea::placeholder{color:#65738a!important;opacity:1}
:is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #7ca0ce;outline-offset:3px}
/* Primary actions share one violet; destructive and approval actions retain their meaning. */
:is(.btn-primary,.enroll-btn,.btn-submit,.lms-gate-btn,.btn-lesson-nav.primary,.primary-button,.project-scope button,.btn-feat){background:#223c5d!important;color:#fff!important;border-color:#223c5d!important;opacity:1}
:is(.btn-primary,.enroll-btn,.btn-submit,.lms-gate-btn,.btn-lesson-nav.primary,.primary-button,.project-scope button,.btn-feat):hover{background:#213c5e!important;border-color:#213c5e!important}
:is(.btn-outline,.secondary-button,.btn-back,.btn-lesson-nav:not(.primary)){background:#fff;color:#223c5d;border-color:#b1bece}
:is(.tab,.ws-filter-btn,.proj-filter-btn,.ecosystem-tabs button){color:#4b5b73}
:is(.tab.active,.ws-filter-btn.active,.proj-filter-btn.active,.ecosystem-tabs button[aria-pressed="true"]){background:#223c5d!important;border-color:#223c5d!important;color:#fff!important}
:is(.course-meta,.course-instructor span,.course-rating .count,.price-old,.testi-role,.step-desc,.section-sub,.cat-count,.program-fit p,.program-fit small,.program-note,.program-outline p,.program-detail-fit dd,.program-comparison td,.path-card p,.learning-path-cta p,.ecosystem-description,.ecosystem-note,.brand-tile small,.project-problem p,.project-scope dt,.project-scope-label,.project-company small,.project-stack span){color:#526178!important}
:is(.project-problem h3,.course-title,.path-card h3,.modal h2,.program-detail-fit h2){color:#1c2d46}
:is(.ecosystem-kicker,.path-card .path-number,.project-eyebrow){color:#2b3d55}
:is(.footer-brand p,.footer-col ul li a,.footer-bottom p){color:#526178}
.partners-track span{color:#526178;opacity:1}.modal-close{color:#526178}
/* Light-surface lesson, quiz and form text. Keep code and dark sidebar chrome separate. */
.lb-rich-content{color:#26384f}.lb-rich-content .callout.info{color:#244d7a;background:#edf3fc}
.lb-quiz-question{color:#243650}.lb-quiz-question :is(h3,p),.lb-quiz-option{color:#26384f}.lb-quiz-option{background:#fff;border-color:#c8d1df}.lb-quiz-option:hover{background:#edf3fb;border-color:#2c3d53}
.lb-quiz-option.is-correct{color:#165b3d;background:#eaf6ef}.lb-quiz-option.is-incorrect{color:#8c2020;background:#fff0ef}
.resume-progress,.visual-lesson-card figcaption,.visual-tool-detail summary span{color:#526178}
/* Career Studio uses the same readable light-surface text and actions. */
.hero-copy,.methodology,.agent-card p,.agent-meta,.role-card p{color:#526178!important}.hero-note p{color:#dbe3f2}.secondary-button{color:#223c5d;background:#eff4fa}
/* High contrast copy on navy and gradient surfaces. */
:is(.hero,.courses-hero,.ws-hero,.proj-hero) :is(.sub,.hero-subtitle,.hero-desc){color:#e0e7f3!important}
:is(.courses-crumb,.ws-crumb,.proj-crumb) :is(a,span){color:#e0e7f3!important}
#page-home .hero p{color:#dce5f4}.proj-feature :is(p,.feat-label),.proj-stat span{color:#e0e7f3}.career-profile-head small{color:#d3dcee}.hero-note,.career-guide-inner{color:#fff}
#mahi-launch small{color:#526178}#mahi-head{background:linear-gradient(110deg,#263a55,#223c5d)}#mahi-form button[type="submit"]{background:#223c5d;color:#fff}
/* Disabled controls remain visibly disabled. */
button:disabled,input:disabled,select:disabled{opacity:.6;cursor:not-allowed}
#page-home .hero-search input{color:#fff}#page-home .hero-search input::placeholder{color:#c9d6e9!important}.studio-node small{color:#c5d4e9}.hero-caption{color:#d1dced}.studio-footer p{color:#d1dced!important}
.project-index>span:last-child{font-size:9px}.project-scope-label{font-weight:750}
.hero-chips span,.section-heading>p,.agent-body p,.agent-body ul,.field-note,.privacy-note,.market-grid p,.factor-list p,.score-ring small{color:#526178}.filter-button,.role-tag,.skill-tags span,.agent-heading>span{color:#2c3d53}.filter-button.active{color:#fff;background:#223c5d}.hero .btn-outline{background:transparent;color:#fff;border-color:#a5b6d0}.hero .btn-outline:hover{background:#ffffff16;color:#fff}
