/* Authoritative palette. Layout is kept in experience.css; all text uses semantic ink. */
:root{--page-canvas:#faf8f5;--page-surface:#fffefa;--page-foreground:#29374a;--page-secondary:#4c5c70;--page-border:#d0d5df;--canvas:#faf8f5;--surface:#fffefa;--foreground:#29374a;--secondary:#4c5c70;--border:#d0d5df;--subtle:#eef0f5;--blue-soft:#dfe9fb;--green-soft:#deefe5;--violet-soft:#ece3f6;--peach-soft:#f9e3d7;--rose-soft:#f6e1e7;--butter-soft:#f5edcc;--brand:#3c5076;--brand-on:#fff;--green-ink:#265d47;--violet-ink:#62497c;--positive:#265d47;--positive-bg:#deefe5;--negative:#863e43;--negative-bg:#f6e1e7;--control-border:#68758a;--disabled-bg:#e9e8ec;--disabled-fg:#4c5362;--selection-bg:#c8d8f4;--selection-fg:#29374a;--focus:#473c88;--chart-one:#3c765e;--chart-two:#80629d;--chart-track:#ececf1;--link-ink:#3c5076;--action-border:#617087;--action-bg:#d5e2fa;--action-ink:#293f65;--hover-bg:#c3d4f2;--soft-edge:#8293b2}
:root[data-theme=dark]{--page-canvas:#283244;--page-surface:#303e51;--page-foreground:#f6f2ed;--page-secondary:#d6dce7;--page-border:#617187;--canvas:#283244;--surface:#303e51;--foreground:#f6f2ed;--secondary:#d6dce7;--border:#617187;--subtle:#39465b;--blue-soft:#3b4961;--green-soft:#374f48;--violet-soft:#49425b;--peach-soft:#53463f;--rose-soft:#51414e;--butter-soft:#4d4b3a;--brand:#d1dff8;--brand-on:#29374a;--green-ink:#c2e8d2;--violet-ink:#e3cef6;--positive:#c2e8d2;--positive-bg:#374f48;--negative:#ffd4d8;--negative-bg:#51414e;--control-border:#b4bfd1;--disabled-bg:#3b4455;--disabled-fg:#e1e3ea;--selection-bg:#cedcf7;--selection-fg:#29374a;--focus:#f4df9e;--chart-one:#b1ddc5;--chart-two:#d9bce9;--chart-track:#364255;--link-ink:#d1dff8;--action-border:#617087;--action-bg:#d5e2fa;--action-ink:#293f65;--hover-bg:#ebf0ff;--soft-edge:#b5c4df}
#tabatha-site{--foreground:var(--page-foreground);--secondary:var(--page-secondary);--canvas:var(--page-canvas);--surface:var(--page-surface);color:var(--foreground)!important;background:var(--canvas)!important}
/* Reset former local white-text themes so nested cards cannot inherit white ink. */
#tabatha-site :is(.sales-hero,.plan-studio,.sales-last,.journey-card,.student-shortcuts a,.study-banner,.learn-compass,.destination-art,.hero-photo-panel,.studio-card){--foreground:var(--page-foreground);--secondary:var(--page-secondary);--canvas:var(--page-canvas);--surface:var(--page-surface);--border:var(--page-border)}
#tabatha-site :is(h1,h2,h3,h4,h5,h6,p,li,small,strong,b,em,label,summary,span,a,td,th,caption,legend,blockquote,code){color:var(--foreground)!important}
#tabatha-site :is(.muted,.lead,.eyebrow,.sales-kicker,.sales-micro,.course-description,.chart-note,.academy-fine,.demo-caption,.nav-group-label,.question-meta,.excluded){color:var(--secondary)!important;opacity:1!important}
#tabatha-site :is(.site-header,.site-footer){background:var(--surface)!important;border-color:var(--border)!important}
#tabatha-site .site-header{border-top:5px solid var(--blue-soft)!important}#tabatha-site .site-header::before{display:none}
#tabatha-site .sales-hero{background:var(--blue-soft)!important;border:0!important}
#tabatha-site .sales-hero .sales-hero-grid{padding-block:58px!important}
#tabatha-site .sales-copy h1 em{color:var(--violet-ink)!important}
#tabatha-site .sales-kicker>span{background:var(--violet-ink)!important}
#tabatha-site .hero-photo-panel{background:var(--surface)!important;border:1px solid var(--soft-edge)!important;box-shadow:0 12px 30px #24395710!important}
#tabatha-site .photo-panel-caption{background:var(--green-soft)!important}
#tabatha-site .authority-strip{background:var(--surface)!important;border-color:var(--border)!important}
#tabatha-site .journey-learn{background:var(--blue-soft)!important}
#tabatha-site .journey-practice{background:var(--green-soft)!important}
#tabatha-site .journey-support{background:var(--violet-soft)!important}
#tabatha-site .journey-card{border:1px solid var(--soft-edge)!important;box-shadow:none!important}
#tabatha-site .journey-icon{background:var(--surface)!important;color:var(--foreground)!important;border:1px solid var(--control-border)!important}
#tabatha-site .journey-link{border-top:1px solid var(--control-border);padding-top:14px}
#tabatha-site .destination-card{background:var(--surface)!important;border-color:var(--soft-edge)!important}
#tabatha-site .destination-faetec .destination-art{background:var(--blue-soft)!important}
#tabatha-site .destination-cpii .destination-art{background:var(--violet-soft)!important}
#tabatha-site .destination-cefet .destination-art{background:var(--green-soft)!important}
#tabatha-site .destination-art{border-bottom:1px solid var(--soft-edge)!important}
#tabatha-site .sales-method{background:var(--peach-soft)!important}
#tabatha-site .sales-method .method-list article{background:transparent!important}
#tabatha-site .plan-studio{background:var(--violet-soft)!important}
#tabatha-site .studio-card{background:var(--surface)!important;border:1px solid var(--control-border)!important;box-shadow:none!important}
#tabatha-site .studio-card .offer-details{background:var(--surface)!important}
#tabatha-site .sales-last{background:var(--rose-soft)!important;border-top:4px solid var(--soft-edge)!important}
#tabatha-site .mentor-identity{background:var(--violet-soft)!important;padding:20px;border-radius:24px}
#tabatha-site .mentor-tags span{background:var(--green-soft)!important;color:var(--green-ink)!important}
#tabatha-site .lesson-promo{border-top:3px solid var(--soft-edge)}
#tabatha-site .learn-hero{background:var(--blue-soft)!important;border-left:5px solid var(--soft-edge);padding:28px!important;border-radius:0 22px 22px 0}
#tabatha-site .learn-hero h1 em{color:var(--violet-ink)!important}
#tabatha-site .learn-compass{background:var(--green-soft)!important;border-color:var(--soft-edge)!important;padding:22px!important}
#tabatha-site .academy-heading{background:var(--violet-soft)!important;border-left:5px solid var(--soft-edge);padding:24px;border-radius:0 22px 22px 0}
#tabatha-site .student-shortcuts a{background:var(--blue-soft)!important;border:1px solid var(--soft-edge)}
#tabatha-site .student-shortcuts a:nth-child(2){background:var(--green-soft)!important}
#tabatha-site .student-shortcuts a:nth-child(3){background:var(--violet-soft)!important}
#tabatha-site .study-banner,#tabatha-site .next-step{background:var(--green-soft)!important;border-color:var(--soft-edge)!important}
#tabatha-site #trajeto{background:var(--blue-soft)!important}
#tabatha-site :is(.dashboard-nav,.quiz-main,.quiz-sidebar,.masterclass,.chart-card,.learn-panel,.question-card,.price-card,.course-card,.subscription-panel,.checkout,.checkout-card,.login-card,.finish-dialog){background:var(--surface)!important;color:var(--foreground)!important;border-color:var(--border)!important}
#tabatha-site .dashboard-nav nav a.current{background:var(--blue-soft)!important;color:var(--foreground)!important;border-left-color:var(--control-border)!important}
#tabatha-site .resource-navigation{background:var(--surface)!important;border-color:var(--control-border)!important}
#tabatha-site :is(.main-navigation,.resource-navigation) :is(a[aria-current=page],.contains-current>summary,details[open]>summary){background:var(--blue-soft)!important;color:var(--foreground)!important;box-shadow:inset 0 -3px var(--control-border)}
#tabatha-site .nav-popover{background:var(--surface)!important;border-color:var(--control-border)!important}
#tabatha-site .nav-popover a:hover{background:var(--subtle)!important}
/* All text within a control follows its actual foreground, including nested labels. */
#tabatha-site :is(.button,button){--foreground:var(--action-ink);--secondary:var(--action-ink);color:var(--foreground)!important;background:var(--action-bg)!important;border-color:var(--action-border)!important;opacity:1!important}
#tabatha-site :is(.button,button) :is(span,strong,small,b,em,svg){color:inherit!important}
#tabatha-site .button.outline,#tabatha-site :is(.theme-toggle,.learn-options button,.question-map button,.calendar-days button,.calendar-time-options button,.calendar-month-nav button,.calendar-pending-list button,.admin-tabs button,.access-tools button){--foreground:var(--page-foreground);--secondary:var(--page-foreground);background:var(--surface)!important;color:var(--foreground)!important;border-color:var(--control-border)!important}
#tabatha-site :is(.button,button):not(:disabled):hover{filter:none!important;background:var(--hover-bg)!important;border-color:var(--action-border)!important;--foreground:var(--action-ink);--secondary:var(--action-ink);color:var(--foreground)!important;box-shadow:none!important}
#tabatha-site :is(.calendar-days button,.calendar-time-options button,.period-toggle button,.school-tab,.admin-tabs button)[aria-pressed=true]{--foreground:var(--selection-fg);--secondary:var(--selection-fg);background:var(--selection-bg)!important;border-color:var(--action-border)!important;color:var(--foreground)!important;outline:2px solid var(--control-border);outline-offset:2px}
#tabatha-site :is(button,.button):disabled{--foreground:var(--disabled-fg);--secondary:var(--disabled-fg);background:var(--disabled-bg)!important;color:var(--foreground)!important;border:1px dashed var(--control-border)!important;opacity:1!important;cursor:not-allowed}
#tabatha-site :is(.sample-options button.sample-correct,#options button.correct,.learn-options button.option-hit,.question-map button.hit){--foreground:var(--positive);--secondary:var(--positive);background:var(--positive-bg)!important;color:var(--foreground)!important;border:2px solid var(--positive)!important}
#tabatha-site :is(.sample-options button.sample-wrong,#options button.wrong,.question-map button.miss){--foreground:var(--negative);--secondary:var(--negative);background:var(--negative-bg)!important;color:var(--foreground)!important;border:2px solid var(--negative)!important}
#tabatha-site .learn-options button[aria-pressed=true]:not(.option-hit){--foreground:var(--page-foreground);--secondary:var(--page-foreground);background:var(--blue-soft)!important;color:var(--foreground)!important;border:2px solid var(--control-border)!important}
#tabatha-site :is(.option .letter,.option.correct .letter,.option.wrong .letter){background:transparent!important;border:1px solid currentColor;color:inherit!important}
#tabatha-site :is(input,select,textarea,select option){background:var(--surface)!important;color:var(--foreground)!important;border-color:var(--control-border)!important;caret-color:var(--foreground)}
#tabatha-site :is(input,textarea)::placeholder{color:var(--secondary)!important;opacity:1!important}
#tabatha-site .theme-toggle{--foreground:var(--page-foreground);--secondary:var(--page-foreground)}
#tabatha-site :is(.learn-solution,.support-reply){background:var(--positive-bg)!important;border-left-color:var(--positive)!important}
#tabatha-site :is(.error,.study-error,.time-warning,.academy-status-bad){color:var(--negative)!important}
#tabatha-site .academy-status-good{color:var(--positive)!important}
#tabatha-site :is(.activity-cell.active,.status-complete){background:var(--positive-bg)!important;border-color:var(--positive)!important}
#tabatha-site .activity-cell.active :is(span,b){color:var(--positive)!important}
#tabatha-site .status-pending{background:var(--butter-soft)!important;color:var(--foreground)!important}
#tabatha-site :is(.learn-notice,.common-mistake){background:var(--butter-soft)!important}
#tabatha-site :is(.chart-axis){fill:var(--secondary)!important}
#tabatha-site .donut-number{fill:var(--foreground)!important}
#tabatha-site .chart-hit{fill:var(--chart-one)!important}#tabatha-site .chart-miss{fill:var(--chart-two)!important}
#tabatha-site .figure-button{--foreground:#29374a;--secondary:#29374a;background:#fff!important;color:#29374a!important}
#tabatha-site .figure-button span{color:#29374a!important}
#tabatha-site :is(.prose,.lesson-chapter,.learn-solution,.sales-faq,.footer-brand) a:not(.button){color:var(--link-ink)!important;text-decoration:underline}
#tabatha-site :focus-visible{outline:3px solid var(--focus)!important;outline-offset:4px!important}
#tabatha-site .banner-equation{opacity:.08!important;color:var(--foreground)!important}
@media(max-width:640px){#tabatha-site .learn-hero,#tabatha-site .academy-heading{padding:20px!important}#tabatha-site .sales-hero .sales-hero-grid{padding-block:38px!important}}
@media print{#tabatha-site,#tabatha-site #learn-print{--page-foreground:#000;--page-secondary:#222;--foreground:#000;--secondary:#222;--canvas:#fff;--surface:#fff}#tabatha-site #learn-print,#tabatha-site #learn-print *{color:#000!important;background:#fff!important}}
