/* TIX V962: light-only premium shared-shell palette. Preserve imagery and layout. */
html[data-tix-theme="light"][data-tix-type]{color-scheme:light;--ds-bg:#f3f0eb;--ds-surface:#fffefa;--ds-raised:#f5f0e8;--ds-input:#ffffff;--ds-line:#c7b9a4;--ds-text:#28221b;--ds-muted:#5f5345;--ds-accent:#704719;--ds-soft:#f3e5ce;--ds-action:#e7b675;--ds-action-text:#25170b;--ds-error:#982e28;--ds-ok:#24623b;--bg:var(--ds-bg);--panel:var(--ds-surface);--text:var(--ds-text);--muted:var(--ds-muted);--gold:var(--ds-accent);--line:var(--ds-line);--gold2:var(--ds-accent)}
html[data-tix-theme="light"][data-tix-type] body,html[data-tix-theme="light"][data-tix-type] body #root .main{background-color:var(--ds-bg)!important;color:var(--ds-text)!important}
html[data-tix-theme="light"][data-tix-type] body:not(.tix-neon-login) #root #sidebar,html[data-tix-theme="light"][data-tix-type] body #root header.top{background:#fffefa!important;color:var(--ds-text)!important;border-color:var(--ds-line)!important}
html[data-tix-theme="light"][data-tix-type] body #root #sidebar #nav :is(.nav-link,.v7-nav-heading,.v7-nav-child){color:#35291b!important;border-color:#d5c7b3!important}
html[data-tix-theme="light"][data-tix-type] body #root #sidebar #nav :is(.nav-link.active,[aria-current="page"],.selected){background:#ebc58e!important;color:#25170b!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content :is(.admin-draft,.admin-form,.admin-toolbar,.admin-stats,.tix-admin-main,.v959-side,.v959-main,.v959-hero,.v961-notice,.portal-course,.portal-summary,.portal-toolbar,.tn8-node,.tn8-detail,.tix-native-panel,.r25g3-panel,.r25g3-kpi,.card,.panel,.tile,.notice,.bp24-reference){background-color:var(--ds-surface)!important;color:var(--ds-text)!important;border-color:var(--ds-line)!important;box-shadow:0 2px 10px #3827100b!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content :is(.v959-hero,.v961-notice,.notice,.admin-stats){background-color:var(--ds-raised)!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content :is(.admin-draft,.admin-form,.v959-main,.v959-side,.portal-toolbar,.notice,.tix-native-panel) :is(label,legend,small,.subtle,.muted){color:var(--ds-muted)!important;opacity:1!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea),html[data-tix-theme="light"][data-tix-type] body #root header.top :is(input,select){background:#fff!important;color:#28221b!important;border:1px solid #93816b!important;caret-color:#704719!important;box-shadow:none!important}
html[data-tix-theme="light"][data-tix-type] body #root :is(input,textarea)::placeholder{color:#6b5e4e!important;opacity:1!important}
html[data-tix-theme="light"][data-tix-type] body #root :is(input[type=checkbox],input[type=radio],progress){accent-color:#82531e}
html[data-tix-theme="light"][data-tix-type] body #root .main #content :is(.btn-outline,.admin-tab:not(.selected),.v961-course-card,.v961-languages button:not(.btn)){background:#f8f3eb!important;color:#35291b!important;border-color:#b7a58d!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content :is(.v959-selected,.admin-tab.selected,[aria-pressed=true].admin-tab){background:#f0dfc4!important;color:#50320f!important;outline-color:#82531e!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content .btn:not(.btn-outline){background:#e7b675!important;color:#25170b!important;border-color:#a47843!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content :is(table,th,td){color:var(--ds-text)!important;border-color:var(--ds-line)!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content th{background:#f0e8db!important;color:#583915!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content :is(.table-wrap,.portal-table-wrap){border-color:var(--ds-line)!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content :is(.v961-course-info strong,.v959-hero h2,.v959-main h3){color:var(--ds-text)!important}
html[data-tix-theme="light"][data-tix-type] body #root .main #content .v961-course-info small{color:var(--ds-muted)!important;opacity:1!important}
/* Auth forms have legacy high-specificity dark styles. Override only the form, not the photographic hero. */
html[data-tix-theme="light"][data-tix-type] body:has(#content > :is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form)) #root>.main>main#content{background:#fffefa!important;color:var(--ds-text)!important;border-color:#c7b9a4!important;box-shadow:0 12px 35px #38271018!important}
html[data-tix-theme="light"][data-tix-type] body:has(#content > :is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form)) #root #content>form:is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form){background:#fffefa!important;background-image:none!important;color:#28221b!important;border-color:#c7b9a4!important;box-shadow:none!important}
html[data-tix-theme="light"][data-tix-type] body:has(#content > :is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form)) #root #content>form:is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form) :is(h1,h2,h3,h4,label,p,.subtle,.tix-neon-login-subtitle){color:#35291b!important}
html[data-tix-theme="light"][data-tix-type] body:has(#content > :is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form)) #root #content>form:is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff!important;background-image:none!important;color:#28221b!important;border:1px solid #93816b!important;caret-color:#704719!important;box-shadow:none!important}
html[data-tix-theme="light"][data-tix-type] body #root #content>form:is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form) :is(a,.tix-password-eye,.btn.btn-outline){color:#704719!important}
html[data-tix-theme="light"][data-tix-type] body #root #content>form:is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form) .btn:not(.btn-outline){background:#e7b675!important;color:#25170b!important;border-color:#a47843!important}
html[data-tix-theme="light"][data-tix-type] body #root :is(button,a,input,select,textarea):focus-visible{outline:2px solid #82531e!important;outline-offset:3px!important}
html[data-tix-theme="light"][data-tix-type] body #root :is(button,input,select,textarea):disabled{cursor:not-allowed}
html[data-tix-theme="light"][data-tix-type] body #root :is(.qr-title,.tix-qr-title,.qr-modal h2,.qr-modal h3){color:#28221b!important}
@media(prefers-reduced-motion:reduce){html[data-tix-theme="light"][data-tix-type] body #root :is(button,a,input){transition:none!important}}
/* Authentication button and link specificity must match the legacy auth rules. */
html[data-tix-theme="light"][data-tix-type] body:has(#content > :is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form)) #root #content>form:is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form) .btn:not(.btn-outline){background:#e7b675!important;background-image:none!important;color:#25170b!important;border-color:#a47843!important}
html[data-tix-theme="light"][data-tix-type] body:has(#content > :is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form)) #root #content>form:is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form) :is(.btn.btn-outline,.tix-password-eye){background:#f8f3eb!important;color:#704719!important;border-color:#b7a58d!important}
html[data-tix-theme="light"][data-tix-type] body:has(#content > :is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form)) #root #content>form:is(#loginForm,#forgotForm,#resetForm,#mfaForm,#invite-form,#invite-mfa-form) :is(.tix-f08-links a,a){color:#704719!important}
