/* Light mode intentionally uses no navy or black surfaces. Dark tones are text only. */
html[data-theme=light]{--bg:#f2f6f3;--ink:#25423f;--surface:#fffdfa;--text:#294641;--muted:#667c78;--line:#d4e2dd;--workspace-panel:#fffdfa;--workspace-panel-2:#edf7f3;--workspace-line:#d2e4de}
html[data-theme=light] body{background:#f2f6f3;color:#294641}
html[data-theme=light] .company-shell{background:radial-gradient(circle at 8% 0,#e8ddfa 0,transparent 28%),radial-gradient(circle at 92% 5%,#d9f3e8 0,transparent 31%),radial-gradient(circle at 72% 78%,#ffeadb 0,transparent 29%),#f2f6f3}
html[data-theme=light] .company-shell .admin-main{background:transparent;color:#294641}
html[data-theme=light] .company-shell .admin-sidebar{background:linear-gradient(180deg,#fffdf9,#eef8f4);border-color:#d3e4de;color:#294641;box-shadow:8px 0 28px #47665c12}
html[data-theme=light] .company-shell .admin-sidebar nav a{color:#536d68}html[data-theme=light] .company-shell .admin-sidebar nav a:hover{background:#e8f5ef;color:#167a68}html[data-theme=light] .company-shell .admin-sidebar nav a.active{background:linear-gradient(100deg,#d9f2e8,#ece9fb);color:#176f66;box-shadow:inset 3px 0 #31b69f}
html[data-theme=light] .employee-top-nav{background:#fffdf9ed;border-color:#d6e5df;box-shadow:0 8px 24px #47665c10}html[data-theme=light] .employee-top-nav a{color:#526d68}html[data-theme=light] .employee-top-nav a:hover,html[data-theme=light] .employee-top-nav a.active{background:#def3ea;color:#137668}html[data-theme=light] .employee-top-brand{color:#294641!important}
html[data-theme=light] .site-theme-toggle{background:#fff8ed;color:#6a5435;border-color:#ead9be;box-shadow:0 10px 28px #80663b1a}
html[data-theme=light] .company-shell :is(.admin-panel,.metric-grid article,.visual-kpi-grid article,.visual-chart-card,.dashboard-detail-grid>.admin-panel,.dashboard-notification-center,.personal-settings-card){background:linear-gradient(145deg,#fffdfa,#f7fbf8)!important;color:#294641!important;border-color:#d3e2dc!important;box-shadow:0 14px 34px #47665c12!important}
html[data-theme=light] .company-shell :is(h1,h2,h3,h4,strong,b){color:#284540}html[data-theme=light] .company-shell :is(p,small,.muted){color:#667c78}
html[data-theme=light] .company-shell :is(input,select,textarea){background:#fffdfa!important;color:#294641!important;border-color:#cbded7!important}
html[data-theme=light] .company-shell :is(table,.hr-table){background:#fffdfa;color:#294641;border-color:#d1e1db}html[data-theme=light] .company-shell th{background:#eaf4f0!important;color:#466760!important}html[data-theme=light] .company-shell td{background:#fffdfa;color:#294641;border-color:#dce8e3}
html[data-theme=light] .company-shell .empty{background:linear-gradient(135deg,#edf7f3,#f4effb)!important;color:#657b77!important;border-color:#d5e3de!important}html[data-theme=light] .recent-people-grid>a{background:linear-gradient(145deg,#fffdfa,#edf7f3)!important;color:#294641!important;border-color:#d2e2dc!important}html[data-theme=light] .recent-person-placeholder{background:#e5f3ed!important;color:#197b6d!important}

/* Employee directory and employee dashboard. */
html[data-theme=light] .employee-directory-table th:last-child{background:#e5f2ed!important}html[data-theme=light] .employee-directory-table td:last-child{background:#fffaf4!important;box-shadow:-8px 0 18px #617b7014!important}
html[data-theme=light] .organization-readiness a{background:linear-gradient(145deg,#edf6ff,#f6f1ff)!important;color:#385d65!important;border-color:#d2e2e4!important}html[data-theme=light] .organization-readiness a.ready{background:linear-gradient(145deg,#dff4ea,#edf8f4)!important;border-color:#8dd2c0!important}html[data-theme=light] .organization-readiness a>span,html[data-theme=light] .organization-readiness a.ready>span{background:#fff8e6!important;color:#c17d18!important}
html[data-theme=light] .hr-row-actions :is(a,button){background:#edf6f2;color:#315f57;border-color:#bdd9d0}html[data-theme=light] .hr-row-actions .hr-view-profile{background:#f7c95d!important;color:#49390e!important;border-color:#e7b942!important}
html[data-theme=light] .ed-panel,html[data-theme=light] .ed-profile,html[data-theme=light] .ed-shortcuts{background:linear-gradient(145deg,#fffdfa,#f7fbf8)!important;border-color:#d4e3dd!important;color:#294641!important}html[data-theme=light] .ed-panel>header{border-color:#d8e5e0}html[data-theme=light] .ed-notice.is-unread{background:#e8f6f1}html[data-theme=light] .ed-row,html[data-theme=light] .ed-notice{border-color:#dbe7e2;color:#294641}

/* Organization workspace. */
html[data-theme=light] .org-page{color:#294641}html[data-theme=light] .org-page p,html[data-theme=light] .org-page label{color:#667c78}
html[data-theme=light] .org-model-tabs{background:#edf5f2;border-color:#cbded7}html[data-theme=light] .org-model-tabs button{color:#58716c}html[data-theme=light] .org-model-tabs button[aria-pressed=true]{background:linear-gradient(135deg,#d8f0e7,#ebe6fa);color:#176f65;box-shadow:inset 0 -2px #43bda7}html[data-theme=light] .org-model-tabs button small,html[data-theme=light] .org-model-tabs button[aria-pressed=true] small{color:#68807b}
html[data-theme=light] :is(.ot-panel,.org-editor,.org-chart){background:#fffdfa;border-color:#cedfd8}html[data-theme=light] .ot-panel>header,html[data-theme=light] .org-page .ot-help{border-color:#d8e6e1}html[data-theme=light] .ot-controls :is(button,a){background:#edf6f2;color:#287568;border-color:#bdd8cf}
html[data-theme=light] .ot-viewport{background-color:#f1f7f4;background-image:radial-gradient(#bdd8cf 1px,transparent 1px)}html[data-theme=light] .ot-card{background:linear-gradient(145deg,#fffdfa,#edf7f3);border-color:#bcd8ce;border-top-color:#43bda7;box-shadow:0 9px 22px #47665c18}html[data-theme=light] .ot-card.ot-chief{background:linear-gradient(145deg,#fff8e7,#fffdfa);border-top-color:#e5ae3f}
html[data-theme=light] .org-page .ot-card h3{color:#294641}html[data-theme=light] .org-page .ot-card p,html[data-theme=light] .ot-card>small,html[data-theme=light] .ot-meta{color:#637b76}html[data-theme=light] .ot-icon{background:#e0f1eb;color:#16806f}html[data-theme=light] .ot-card footer{border-color:#d4e3de}html[data-theme=light] .ot-card footer a{color:#19786b}html[data-theme=light] .ot-unassigned-note{background:#fff5dc;color:#76581c;border-color:#e4c577}

/* Employee Voice and Ideas. */
html[data-theme=light] .voice-shell{background:#fffdfa!important;border-color:#d3e2dc!important}html[data-theme=light] .voice-hero{background:radial-gradient(circle at 84% 0,#e7dffa,transparent 42%),linear-gradient(135deg,#e5f5ee,#fff7ea);border-color:#d3e2dc}
html[data-theme=light] .voice-metrics article:nth-child(4n+1){background:#eaf4ff}html[data-theme=light] .voice-metrics article:nth-child(4n+2){background:#edf8f1}html[data-theme=light] .voice-metrics article:nth-child(4n+3){background:#f2edff}html[data-theme=light] .voice-metrics article:nth-child(4n){background:#fff1e6}html[data-theme=light] .voice-metrics article{border-color:#d5e2dd;color:#294641}html[data-theme=light] .voice-metrics article>span{background:#fffdfa;color:#c28a24}
html[data-theme=light] .voice-tabs{background:#f6faf8;border-color:#d5e3de}html[data-theme=light] .voice-tabs button{color:#617873}html[data-theme=light] .voice-tabs button.active{background:#dff2ea;color:#167668}
html[data-theme=light] :is(.idea-card,.feedback-form,.feedback-trust,.my-feedback>article,.voice-inbox>article){background:#fffdfa!important;border-color:#d4e3dd!important;color:#294641!important}html[data-theme=light] .idea-feed>article:nth-child(4n+1),html[data-theme=light] .voice-inbox>article:nth-child(4n+1){background:#edf7f3!important}html[data-theme=light] .idea-feed>article:nth-child(4n+2),html[data-theme=light] .voice-inbox>article:nth-child(4n+2){background:#f3effc!important}
html[data-theme=light] .idea-comments{background:#f1f7f4}html[data-theme=light] .idea-comments>div,html[data-theme=light] .idea-card>footer{border-color:#d9e6e1}html[data-theme=light] .idea-votes button{background:#fffdfa;color:#526e68;border-color:#cbded7}html[data-theme=light] .voice-empty{background:linear-gradient(135deg,#edf7f3,#f4effc);color:#657b77;border-radius:14px}html[data-theme=light] .voice-empty h3{color:#294641}
html[data-theme=light] .module-ideas [data-voice-panel]{background:linear-gradient(145deg,#fffdfa,#f8fbf9)!important;border-color:#d3e3dd!important}html[data-theme=light] .module-ideas .voice-tabs{background:#edf7f3!important;border-color:#cde0d8!important}html[data-theme=light] .module-ideas .voice-idea,html[data-theme=light] .module-ideas .voice-feedback,html[data-theme=light] .module-ideas .voice-analysis>.three-panels>article{background:linear-gradient(145deg,#fffdfa,#f2f8f5)!important;border-color:#d1e1db!important;box-shadow:0 12px 28px #47665c10}html[data-theme=light] .module-ideas .voice-idea-body{color:#617873}html[data-theme=light] .module-ideas .voice-reactions{border-color:#d8e5e0}html[data-theme=light] .module-ideas .voice-reactions button{background:#fff7ec;color:#6a604b;border-color:#ead8ba}html[data-theme=light] .module-ideas .empty{background:linear-gradient(135deg,#e7f5ef,#f0ecfb)!important;color:#617873!important;border-radius:14px}
html[data-theme=light] .module-ideas .voice-create,html[data-theme=light] .module-ideas .voice-create>form,html[data-theme=light] .module-ideas .voice-templates>details,html[data-theme=light] .module-ideas .voice-templates form{background:#fffdfa!important;color:#294641!important;border-color:#d1e1db!important}
html[data-theme=light] .module-ideas .voice-create[open],html[data-theme=light] .module-ideas .voice-templates>details[open]{background:#7a8c8699!important}html[data-theme=light] .module-ideas .voice-create[open]>summary,html[data-theme=light] .module-ideas .voice-templates>details[open]>summary{background:#e8f5ef!important;color:#294641!important;border-color:#bdd8cf!important}html[data-theme=light] .module-ideas .voice-create[open]>form,html[data-theme=light] .module-ideas .voice-templates>details[open]>form{background:#fffdfa!important;border-color:#bdd8cf!important;box-shadow:0 28px 80px #48675b33!important}

/* Compact account controls in the collapsed sidebar. */
.admin-account-settings{display:flex;align-items:center;gap:.5rem;margin:.65rem 0;color:#9fe9e0;text-decoration:none}.admin-account-settings svg{width:17px;height:17px}
@media(min-width:761px){.company-shell.sidebar-collapsed .admin-user{display:grid!important;flex-shrink:0;justify-items:center;gap:8px;min-height:96px;box-sizing:border-box;overflow:hidden;padding-top:12px}.company-shell.sidebar-collapsed .admin-user>b,.company-shell.sidebar-collapsed .admin-user>small,.company-shell.sidebar-collapsed .admin-user :is(a,button)>span{display:none!important}.company-shell.sidebar-collapsed .admin-user :is(.admin-account-settings,button){display:grid!important;width:38px;height:38px;box-sizing:border-box;place-items:center;margin:0!important;padding:0!important;border:1px solid #315879;border-radius:11px;background:#0b2a43;color:#83e3d5}.company-shell.sidebar-collapsed .admin-user form{margin:0}.company-shell.sidebar-collapsed .admin-user button{color:#ff91a6}.company-shell.sidebar-collapsed .admin-user svg{width:18px;height:18px}html[data-theme=light] .company-shell.sidebar-collapsed .admin-user :is(.admin-account-settings,button){background:#fffaf2;border-color:#d8e2dc;color:#25786c}html[data-theme=light] .company-shell.sidebar-collapsed .admin-user button{color:#b94759}}

/* Full-site light mode: module styles must never fall back to the dark workspace palette. */
html[data-theme=light] .company-shell :is(.contract-filters,.contract-tabs,.contract-list,.leave-page-title,.leave-shell,.leave-actions,.recruitment-shell,.department-dashboard-filter,.onboarding-lifecycle-tabs,.onboarding-panel,.off-panel,.perf-local-tabs,.perf-create-panel,.perf-local-matrix,.perf-local-map,.sv-page,.sv-campaign-strip,.salary-tabs,.salary-panel,.analytics-controls,.analytics-tabs,.sm-hero,.sm-tabs,.sm-panel,.sm-config-card,.sm-mode-picker,.sm-config-grid,.sm-advanced,.as-settings-tabs,.as-organization-settings){background:linear-gradient(145deg,#fffdfa,#f4faf7)!important;color:#294641!important;border-color:#d1e2dc!important;box-shadow:0 12px 32px #47665c10!important}
html[data-theme=light] .company-shell :is(.contract-tabs,.onboarding-lifecycle-tabs,.perf-local-tabs,.salary-tabs,.analytics-tabs,.sm-tabs,.as-settings-tabs){background:#edf6f2!important;padding:9px!important}
html[data-theme=light] .company-shell :is(.contract-tabs,.onboarding-lifecycle-tabs,.perf-local-tabs,.salary-tabs,.analytics-tabs,.sm-tabs,.as-settings-tabs) :is(a,button){background:transparent!important;color:#58716c!important;border-color:transparent!important}
html[data-theme=light] .company-shell :is(.contract-tabs,.onboarding-lifecycle-tabs,.perf-local-tabs,.salary-tabs,.analytics-tabs,.sm-tabs,.as-settings-tabs) :is(a.active,a[aria-current=page],button.active,button[aria-selected=true],button[aria-pressed=true]){background:linear-gradient(135deg,#d8f1e7,#eee9fa)!important;color:#176f65!important;border-color:#b9d9cf!important;box-shadow:inset 0 -2px #49b9a6!important}

/* Reusable bright KPI system across every module. */
html[data-theme=light] .company-shell :is(.contract-metrics,.leave-metrics,.recruitment-metrics,.onboarding-metrics,.off-metrics,.perf-local-metrics,.performance-metrics,.survey-metrics,.sv-metrics,.learning-metrics,.lp-metrics,.salary-metrics,.analytics-metrics,.sm-metrics,.as-metrics)>article{background:#fffdfa!important;color:#294641!important;border-color:#d3e2dc!important;box-shadow:0 10px 24px #47665c0e!important}
html[data-theme=light] .company-shell :is(.contract-metrics,.leave-metrics,.recruitment-metrics,.onboarding-metrics,.off-metrics,.perf-local-metrics,.performance-metrics,.survey-metrics,.sv-metrics,.learning-metrics,.lp-metrics,.salary-metrics,.analytics-metrics,.sm-metrics,.as-metrics)>article:nth-child(4n+1){background:linear-gradient(145deg,#eaf5ff,#f7fbff)!important}
html[data-theme=light] .company-shell :is(.contract-metrics,.leave-metrics,.recruitment-metrics,.onboarding-metrics,.off-metrics,.perf-local-metrics,.performance-metrics,.survey-metrics,.sv-metrics,.learning-metrics,.lp-metrics,.salary-metrics,.analytics-metrics,.sm-metrics,.as-metrics)>article:nth-child(4n+2){background:linear-gradient(145deg,#e7f7ef,#f8fcfa)!important}
html[data-theme=light] .company-shell :is(.contract-metrics,.leave-metrics,.recruitment-metrics,.onboarding-metrics,.off-metrics,.perf-local-metrics,.performance-metrics,.survey-metrics,.sv-metrics,.learning-metrics,.lp-metrics,.salary-metrics,.analytics-metrics,.sm-metrics,.as-metrics)>article:nth-child(4n+3){background:linear-gradient(145deg,#f0ebfb,#fcfaff)!important}
html[data-theme=light] .company-shell :is(.contract-metrics,.leave-metrics,.recruitment-metrics,.onboarding-metrics,.off-metrics,.perf-local-metrics,.performance-metrics,.survey-metrics,.sv-metrics,.learning-metrics,.lp-metrics,.salary-metrics,.analytics-metrics,.sm-metrics,.as-metrics)>article:nth-child(4n){background:linear-gradient(145deg,#fff0e4,#fffaf5)!important}

/* Contracts and leave management. */
html[data-theme=light] .module-contracts :is(.contract-list article,.contract-preview-list details,.contract-renewal-card,.contract-analysis-card){background:#fffdfa!important;color:#294641!important;border-color:#d1e1db!important}
html[data-theme=light] .module-contracts :is(.contract-list header,.contract-list footer,.contract-preview-list summary){background:#edf7f3!important;color:#294641!important;border-color:#d5e4de!important}
html[data-theme=light] .module-leave .leave-page-title{background:linear-gradient(120deg,#e6f4ee,#eee9fa 55%,#fff0e2)!important}
html[data-theme=light] .module-leave :is(.leave-shell,.leave-actions,.leave-calendar,.leave-balance-card,.leave-request-card){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}

/* Recruitment, onboarding and offboarding. */
html[data-theme=light] .module-recruitment :is(.recruitment-shell,.department-dashboard-filter,.candidate-pipeline,.candidate-column,.candidate-card,.recruitment-panel,.ats-summary-table){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-recruitment :is(.candidate-column>header,.recruitment-shell>header){background:#edf7f3!important;border-color:#d8e5e0!important}
html[data-theme=light] .module-onboarding .onboarding-workspace{color:#294641!important}
html[data-theme=light] .module-onboarding .onboarding-lifecycle-tabs{background:#edf6f2!important}
html[data-theme=light] .module-onboarding :is(.journey-card,.onboarding-inbox article,.buddy-insights section,.buddy-insights article,.day-one-strip,.profile-callout,.buddy-picker,.buddy-survey){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-onboarding .journey-card:nth-child(4n+1){background:#eef7ff!important}html[data-theme=light] .module-onboarding .journey-card:nth-child(4n+2){background:#edf8f2!important}html[data-theme=light] .module-onboarding .journey-card:nth-child(4n+3){background:#f4effc!important}html[data-theme=light] .module-onboarding .journey-card:nth-child(4n){background:#fff2e8!important}
html[data-theme=light] .module-onboarding :is(.off-panel,.offboarding-card,.offboarding-list article){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-onboarding .off-panel>header{background:linear-gradient(120deg,#e7f5ef,#f2edfb)!important;border-color:#d2e2dc!important}

/* Performance, surveys and learning. */
html[data-theme=light] .module-performance :is(.perf-create-panel,.perf-local-matrix,.perf-local-map,.perf-goal-card,.perf-key-result-card,.perf-cycle-card,.perf-appraisal-card){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-performance :is(.perf-local-matrix,.perf-local-map){background:linear-gradient(145deg,#fffdfa,#eef7f3)!important}
html[data-theme=light] .module-surveys :is(.sv-page,.sv-campaign-strip,.sv-list article,.sv-builder,.sv-share,.sv-insights,.sv-map,.sv-detail,.sv-modal){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-surveys .sv-campaign-strip{background:linear-gradient(120deg,#e8f5ef,#eee9fa,#fff1e5)!important}
html[data-theme=light] .module-surveys :is(.sv-tabs,.sv-builder>header,.sv-insights>header){background:#edf7f3!important;border-color:#d5e4de!important}
html[data-theme=light] .module-learning :is(.lp-section,.learning-panel,.learning-card,.lp-card,.lp-matrix-head,.lp-matrix-row){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-learning .lp-section{background:linear-gradient(145deg,#fffdfa,#eef7f3)!important}
html[data-theme=light] .module-learning .lp-matrix-head{background:#e8f4ef!important}

/* Salary, analytics and service management. */
html[data-theme=light] .module-salary :is(.salary-panel,.salary-person-cards>button,.salary-component-grid article,.salary-annual-increase>.admin-panel,.payroll-create,.payslip-details dl){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-salary .salary-person-cards>button:nth-child(4n+1){background:#edf7ff!important}html[data-theme=light] .module-salary .salary-person-cards>button:nth-child(4n+2){background:#edf8f2!important}html[data-theme=light] .module-salary .salary-person-cards>button:nth-child(4n+3){background:#f4effc!important}html[data-theme=light] .module-salary .salary-person-cards>button:nth-child(4n){background:#fff2e8!important}
html[data-theme=light] .module-analytics :is(.analytics-controls,.analytics-panel,.analytics-chart,.analytics-grid>article,.analytics-card){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-service_management :is(.sm-hero,.sm-panel,.sm-config-card,.sm-mode-picker,.sm-config-grid,.sm-advanced,.sm-ticket-card,.sm-service-card,.sm-request-card,.sm-task-progress,.sm-task-item){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-service_management .sm-hero{background:linear-gradient(120deg,#e6f5ee,#eee9fa 55%,#fff0e2)!important}

/* Settings and generic work forms. */
html[data-theme=light] .module-settings :is(.as-organization-settings,.as-organization-settings>header,.as-organization-flow article,.as-organization-settings>footer,.as-settings-card){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-settings .as-organization-settings>header{background:linear-gradient(120deg,#e7f5ef,#f1edfb)!important}
html[data-theme=light] .module-settings .as-organization-flow article:nth-child(3n+1){background:#eef7ff!important}html[data-theme=light] .module-settings .as-organization-flow article:nth-child(3n+2){background:#edf8f2!important}html[data-theme=light] .module-settings .as-organization-flow article:nth-child(3n){background:#fff2e8!important}
html[data-theme=light] .module-work :is(.form-grid,.work-panel,.work-card){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}

/* Bright-chart neutrals and readable controls in light mode. */
html[data-theme=light] .module-dashboard .donut-chart{background:radial-gradient(circle at center,#fffdfa 57%,transparent 59%),conic-gradient(#27c9aa 0 38%,#5c9df4 38% 68%,#a88df0 68% 84%,#f2b85b 84% 100%)!important}
html[data-theme=light] .company-shell :is(button,.button,.btn,.secondary){border-color:#bdd8cf;color:#315f57}
html[data-theme=light] .company-shell :is(.secondary,button.secondary){background:#edf6f2!important;color:#315f57!important}
html[data-theme=light] .company-shell :is(label,legend,dt){color:#526e68!important}
html[data-theme=light] .company-shell :is(.status,.badge,.pill){border-color:#c7ddd5}

/* Shared workspaces used by recruitment, learning and several operational modules. */
html[data-theme=light] .company-shell .local-module-workspace{background:transparent!important;color:#294641!important}
html[data-theme=light] .company-shell :is(.local-tab-bar,.local-create-drawer,.ats-offer-desk,.ats-column,.ats-card,.ats-interviews article,.request-list>article,.jobs article){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important;box-shadow:0 10px 24px #47665c0d!important}
html[data-theme=light] .company-shell .local-tab-bar{background:#edf6f2!important}
html[data-theme=light] .company-shell .local-tab-bar button.active{background:#dff2ea!important;color:#176f65!important}
html[data-theme=light] .company-shell .module-kpis article{background:#fffdfa!important;color:#294641!important;border-color:#d3e2dc!important;box-shadow:0 10px 24px #47665c0e!important}
html[data-theme=light] .company-shell .module-kpis article:nth-child(4n+1){background:#eaf5ff!important}html[data-theme=light] .company-shell .module-kpis article:nth-child(4n+2){background:#e7f7ef!important}html[data-theme=light] .company-shell .module-kpis article:nth-child(4n+3){background:#f0ebfb!important}html[data-theme=light] .company-shell .module-kpis article:nth-child(4n){background:#fff0e4!important}
html[data-theme=light] .company-shell .module-kpis b{color:#294641!important}
html[data-theme=light] .module-recruitment :is(.ats-column>header,.ats-card h3,.ats-table span,.ats-interviews h3){color:#294641!important}
html[data-theme=light] .module-recruitment .ats-column>header{background:#edf7f3!important;border-color:#d8e5e0!important}
html[data-theme=light] .module-recruitment .ats-role-note{background:#e8f5ef!important;color:#315f57!important;border-color:#bdd8cf!important}

/* Learning cards and planning matrices. */
html[data-theme=light] .module-learning :is(.learning-tabs>div,.learning-cards.catalog>article,.dm-catalog article,.learning-plan-card,.learning-needs-card,.lp-section,.lp-matrix-head,.lp-matrix-row){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important;box-shadow:0 10px 24px #47665c0d!important}
html[data-theme=light] .module-learning .learning-tabs>div{background:#edf6f2!important}
html[data-theme=light] .module-learning .learning-tabs button.active,html[data-theme=light] .module-learning .learning-tabs button[aria-selected=true]{background:#dff2ea!important;color:#176f65!important}
html[data-theme=light] .module-learning .learning-cards.catalog>article:nth-child(3n+1){background:#eaf5ff!important}html[data-theme=light] .module-learning .learning-cards.catalog>article:nth-child(3n+2){background:#edf8f2!important}html[data-theme=light] .module-learning .learning-cards.catalog>article:nth-child(3n){background:#f4effc!important}

/* Performance has several independent workspaces; normalize every substantial card. */
html[data-theme=light] .module-performance :is(.pg-perf-shell,.pg-my-shell,.pg-review-board,.pg-review-grid,.pg-review-summary article,.pg-profile-card,.pg-my-summary,.pg-my-chart,.pg-my-activity,.pg-weekly-review,.pg-week-table,.pg-kr-history,.performance-workspace-parity .aw-cycle-builder,.performance-workspace-parity .aw-cycle-builder>div,.perf-official-review,.rd-table-wrap){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important;box-shadow:0 12px 28px #47665c0e!important}
html[data-theme=light] .module-performance :is(.pg-review-grid header,.pg-weekly-review>header,.pg-week-head,.pg-my-chart header span){background:#edf7f3!important;color:#294641!important;border-color:#d7e5e0!important}
html[data-theme=light] .module-performance :is(.pg-row,.pg-week-row,.pg-my-activity a,.pg-kr-history th,.pg-kr-history td){color:#294641!important;border-color:#d9e6e1!important}
html[data-theme=light] .module-performance :is(.pg-my-person h2,.pg-review-summary b,.pg-weekly-review h2,.pg-my-chart h2,.pg-my-activity h2){color:#294641!important}

/* Service Management's own KPI and configuration classes. */
html[data-theme=light] .module-service_management .service-workspace{color:#294641!important}
html[data-theme=light] .module-service_management .sm-stats article{background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-service_management .sm-stats article:nth-child(4n+1){background:#eaf5ff!important}html[data-theme=light] .module-service_management .sm-stats article:nth-child(4n+2){background:#e7f7ef!important}html[data-theme=light] .module-service_management .sm-stats article:nth-child(4n+3){background:#f0ebfb!important}html[data-theme=light] .module-service_management .sm-stats article:nth-child(4n){background:#fff0e4!important}
html[data-theme=light] .module-service_management :is(.sm-panel>header,.sm-config-card[open]>summary,.sm-request-card>header){background:#edf7f3!important;color:#294641!important;border-color:#d5e4de!important}
html[data-theme=light] .module-service_management :is(.sm-config-form,.sm-request-form,.sm-action-bar,.sm-history,.sm-route,.sm-request-facts>div){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}

/* Final module-specific surfaces found by the full-route visual audit. */
html[data-theme=light] .module-contracts .admin-main button{background:#edf6f2;color:#315f57;border-color:#bdd8cf}
html[data-theme=light] .module-leave :is(.leave-filter label,.leave-actions button,.leave-alerts,.today-presence){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-leave .leave-alerts{background:linear-gradient(145deg,#fffdfa,#f2f8f5)!important}
html[data-theme=light] .module-leave .today-presence{background:#e8f5ef!important}
html[data-theme=light] .module-onboarding .offboarding-workspace>header{background:linear-gradient(120deg,#e6f5ee,#eee9fa 55%,#fff0e2)!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-performance .perf-local-kpis article{background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-performance .perf-local-kpis article:nth-child(1){background:#e7f7ef!important}html[data-theme=light] .module-performance .perf-local-kpis article:nth-child(2){background:#eaf5ff!important}html[data-theme=light] .module-performance .perf-local-kpis article:nth-child(3){background:#fff0e4!important}html[data-theme=light] .module-performance .perf-local-kpis article:nth-child(4){background:#f0ebfb!important}
html[data-theme=light] .module-performance :is(.perf-local-matrix button,.perf-local-map header label){background:#edf6f2!important;color:#315f57!important;border-color:#bdd8cf!important}
html[data-theme=light] .module-learning .lp-subtabs label{background:#edf6f2!important;color:#526e68!important;border-color:#cbded7!important}
html[data-theme=light] .module-learning .lp-subtabs label:has(input:checked){background:#dff2ea!important;color:#176f65!important;border-color:#9dccbd!important}
html[data-theme=light] .module-analytics .analytics-module-grid>article{background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important;box-shadow:0 10px 24px #47665c0e!important}
html[data-theme=light] .module-analytics .analytics-module-grid>article:nth-child(4n+1){background:#eaf5ff!important}html[data-theme=light] .module-analytics .analytics-module-grid>article:nth-child(4n+2){background:#e7f7ef!important}html[data-theme=light] .module-analytics .analytics-module-grid>article:nth-child(4n+3){background:#f0ebfb!important}html[data-theme=light] .module-analytics .analytics-module-grid>article:nth-child(4n){background:#fff0e4!important}
html[data-theme=light] .module-analytics .analytics-module-grid>article span{background:#fffdfa!important;color:#315f57!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-service_management .sm-panel>footer{background:#edf7f3!important;color:#526e68!important;border-color:#d5e4de!important}
html[data-theme=light] .module-service_management .sm-config-form>footer{background:#edf7f3!important;color:#526e68!important;border-color:#d5e4de!important}
html[data-theme=light] .module-settings :is(.settings-tabs a,.form-grid,.leadership-steps article,.organization-next-step,.organization-stage-complete,.position-scope-help){background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-settings .settings-tabs a{background:#edf6f2!important;color:#526e68!important}
html[data-theme=light] .module-settings .settings-tabs a.active{background:#dff2ea!important;color:#176f65!important}
html[data-theme=light] .module-settings .leadership-steps article.done{background:#e8f6ef!important}
html[data-theme=light] .module-settings .organization-stage-complete{background:linear-gradient(135deg,#e4f6ed,#f2fbf7)!important}
html[data-theme=light] .module-settings .organization-next-step{background:linear-gradient(135deg,#eef6ff,#f4effb)!important}

/* v2 — exact internal-state coverage. Every module tab, dialog, data surface and
   nested workspace keeps the warm pastel light palette instead of inheriting
   the original navy component rules. */
html[data-theme=light]{color-scheme:light}
html[data-theme=light] .company-shell :is(dialog,.modal,[role=dialog]){color:#294641!important}
html[data-theme=light] .company-shell :is(dialog,.modal,[role=dialog])::backdrop{background:#2946415c!important;backdrop-filter:blur(4px)}
html[data-theme=light] .company-shell :is(dialog,.modal,[role=dialog],.admin-panel,.table-card,.data-card,.detail-card,.empty-state){background:#fffdfa!important;border-color:#cbded7!important;box-shadow:0 24px 70px #315a4d26!important}
html[data-theme=light] .company-shell :is(dialog,.modal,[role=dialog]) :is(header,footer){border-color:#d5e4de!important}
html[data-theme=light] .company-shell :is(dialog,.modal,[role=dialog])>header{background:linear-gradient(120deg,#e7f5ef,#f1edfb)!important}
html[data-theme=light] .company-shell :is(dialog,.modal,[role=dialog])>footer{background:#f1f7f4!important}
html[data-theme=light] .company-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#fff!important;color:#294641!important;border-color:#bdd4cc!important;box-shadow:none!important}
html[data-theme=light] .company-shell :is(input,select,textarea):focus{border-color:#43af9b!important;box-shadow:0 0 0 3px #43af9b24!important}
html[data-theme=light] .company-shell ::placeholder{color:#879c97!important;opacity:1}
html[data-theme=light] .company-shell :is(h1,h2,h3,h4,h5,h6,strong,b){color:#203e39}
html[data-theme=light] .company-shell :is(p,small,time,dd,span){text-shadow:none}

/* Employees: directory starts at the first column and add/edit/profile dialogs are light. */
html[data-theme=light] .module-employees .hr-table{direction:ltr;background:#fffdfa!important;border-color:#cbded7!important;scrollbar-color:#9fbdb4 #edf5f2}
html[data-theme=light] .module-employees .hr-table table{direction:ltr;background:#fffdfa!important;color:#294641!important}
html[data-theme=light] .module-employees .hr-table :is(th,td){border-color:#d8e5e0!important;color:#294641!important}
html[data-theme=light] .module-employees .hr-table th{background:#e7f2ee!important;color:#315f57!important}
html[data-theme=light] .module-employees .employee-directory-table td:last-child{background:#f7f4ee!important;box-shadow:-10px 0 18px #526c6320!important}
html[data-theme=light] .module-employees .employee-directory-table th:last-child{background:#e7f2ee!important;box-shadow:-10px 0 18px #526c6320!important}
html[data-theme=light] .module-employees .hr-status{background:#d9f1e7!important;color:#176f60!important;border:1px solid #a9d7ca!important}
html[data-theme=light] .module-employees .app .employee-modal{background:#fffdfa!important;color:#294641!important;border-color:#c4d9d1!important}
html[data-theme=light] .module-employees .app .employee-modal>header{background:linear-gradient(120deg,#e7f5ef,#f1edfb)!important;border-color:#cedfd9!important}
html[data-theme=light] .module-employees .app .employee-builder{background:#fffdfa!important}
html[data-theme=light] .module-employees .app .employee-builder>aside{background:#edf6f2!important;border-color:#cbded7!important}
html[data-theme=light] .module-employees .app .employee-builder>aside button{color:#58716c!important}
html[data-theme=light] .module-employees .app .employee-builder>aside button.active{background:linear-gradient(135deg,#d9f1e7,#ebe6f8)!important;color:#176f65!important;box-shadow:inset 3px 0 #43b79f!important}
html[data-theme=light] .module-employees .app .employee-step{background:#fffdfa!important;scrollbar-color:#9fbdb4 #edf5f2!important}
html[data-theme=light] .module-employees .app .photo-row{background:linear-gradient(135deg,#eef7ff,#f6fbf9)!important;border-color:#cbded7!important}
html[data-theme=light] .module-employees .app .photo-row>p,html[data-theme=light] .module-employees .app .photo-upload>span small{color:#67817b!important}
html[data-theme=light] .module-employees .app .photo-upload>span{color:#176f65!important}
html[data-theme=light] .module-employees .app :is(.employee-fields>label,.profile-edit-form>label){color:#526e68!important}
html[data-theme=light] .module-employees .app :is(.employee-fields,.profile-edit-form) :is(input,select,textarea){background:#fff!important;color:#294641!important;border-color:#bdd4cc!important}
html[data-theme=light] .module-employees .app .file-pick{background:#f1f7f4!important;border-color:#9fc8bb!important;color:#294641!important}
html[data-theme=light] .module-employees .app .file-pick:hover{background:#e7f5ef!important;border-color:#43af9b!important}
html[data-theme=light] .module-employees .app .file-pick b{color:#294641!important}
html[data-theme=light] .module-employees .app .file-pick small{color:#67817b!important}
html[data-theme=light] .module-employees .app .file-pick>svg{background:#dceff7!important;color:#287ca0!important}
html[data-theme=light] .module-employees .app .employee-modal>footer{background:#f1f7f4!important;border-color:#cedfd9!important}
html[data-theme=light] .module-employees .app .profile-tabs{background:#edf6f2!important;border-color:#cbded7!important}
html[data-theme=light] .module-employees .app .profile-sections>section{background:#fffdfa!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-employees .app :is(.profile-sections h3,.profile-documents h3,.info b){color:#294641!important}
html[data-theme=light] .module-employees .app .info span{color:#67817b!important}
html[data-theme=light] .module-employees .app .profile-edit-form>h3{color:#176f65!important;border-color:#d4e3de!important}
html[data-theme=light] .module-employees .app .profile-documents select{background:#fff!important;color:#294641!important;border-color:#bdd4cc!important}

/* Organization: hierarchy and every Holacracy canvas, orbit, panel and modal. */
html[data-theme=light] .module-organization :is(.org-page,.holo){color:#294641!important}
html[data-theme=light] .module-organization :is(.org-model-tabs,.ot-panel,.holo-stats,.holo-layout,.holo-map,.holo-modal){background:#fffdfa!important;color:#294641!important;border-color:#cbded7!important;box-shadow:0 14px 34px #47665c12!important}
html[data-theme=light] .module-organization :is(.org-model-tabs button[aria-pressed=true],.holo-tabs button[aria-selected=true],.holo-circles button[aria-pressed=true],.holo-circle-nav-row>a[aria-pressed=true],.holo-circle-nav-row>button[aria-pressed=true]){background:#dff2ea!important;color:#176f65!important;border-color:#9dccbd!important}
html[data-theme=light] .module-organization :is(.ot-panel>header,.holo-map-head,.holo-modal>header){background:linear-gradient(120deg,#e8f5f0,#f1edfb)!important;color:#294641!important;border-color:#d3e3dd!important}
html[data-theme=light] .module-organization :is(.ot-viewport,.holo-map-canvas){background-color:#f4f8f6!important;background-image:radial-gradient(#b8cec6 1px,transparent 1px)!important}
html[data-theme=light] .module-organization :is(.ot-card,.holo-map-node,.holo-map-node.depth-1,.holo-map-node.depth-2,.holo-map-node.depth-3){background:radial-gradient(circle at 50% 30%,#f7fcfa,#e8f4ef 72%)!important;color:#294641!important;border-color:#53bca9!important;box-shadow:0 12px 28px #47665c1c!important}
html[data-theme=light] .module-organization .ot-card.ot-chief{background:linear-gradient(145deg,#fff3d7,#fffdfa)!important;border-top-color:#e6b642!important}
html[data-theme=light] .module-organization :is(.holo-map-node-title,.holo-map-role,.holo-business-title){background:#fffdfa!important;color:#294641!important;border-color:#bcd6cd!important;box-shadow:0 7px 18px #47665c18!important}
html[data-theme=light] .module-organization .holo-business-orbit{background:radial-gradient(circle at 50% 35%,#f7fcfa,#e4f2ed 76%)!important;border-color:#e1b442!important;box-shadow:inset 0 0 0 10px #e1b44214,0 18px 42px #47665c20!important}
html[data-theme=light] .module-organization .holo-department-orbit{background:radial-gradient(circle at 50% 35%,#eff9f5,#dceee8 78%)!important;color:#294641!important;border-color:#43bfa7!important;box-shadow:inset 0 0 0 8px #43bfa712,0 10px 24px #47665c1a!important}
html[data-theme=light] .module-organization :is(.holo-business-title b,.holo-department-name b,.holo-map-node-title b,.holo-map-role b,.holo-map-empty b){color:#294641!important}
html[data-theme=light] .module-organization :is(.holo-business-title em,.holo-department-name small,.holo-map-node-title em,.holo-map-role small,.holo-map-no-role,.holo-map-empty span,.holo-map-head p){color:#67817b!important}
html[data-theme=light] .module-organization .holo-layout{background:#fffdfa!important}
html[data-theme=light] .module-organization .holo-circles{background:#edf6f2!important;border-color:#cbded7!important}
html[data-theme=light] .module-organization .holo-workspace{background:#fffdfa!important}
html[data-theme=light] .module-organization :is(.holo-section,.holo-role-grid article,.holo-people article,.holo-list article,.holo-mini-card,.holo-empty){background:#f8fbfa!important;color:#294641!important;border-color:#d2e2dc!important}
html[data-theme=light] .module-organization :is(.holo input,.holo select,.holo textarea){background:#fff!important;color:#294641!important;border-color:#bdd4cc!important}

/* Contracts: all four tabs, analytics charts and editor dialogs. */
html[data-theme=light] .module-contracts :is(.renewal-decisions,.contract-analysis,.contract-missing-people,.contract-department-analysis,.contract-editor){background:#fffdfa!important;color:#294641!important;border-color:#cbded7!important}
html[data-theme=light] .module-contracts :is(.renewal-decisions>header,.contract-analysis>header,.contract-missing-people>header,.contract-department-analysis>header){background:linear-gradient(120deg,#e8f5ef,#f1edfb)!important;border-color:#d2e2dc!important}
html[data-theme=light] .module-contracts .contract-analysis>header>span{background:#dfeffa!important;color:#286b86!important;border:1px solid #bad4df!important}
html[data-theme=light] .module-contracts .contract-analysis-kpis article{background:#f8fbfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-contracts .contract-analysis-kpis article:nth-child(5n+1){background:#eaf5ff!important}html[data-theme=light] .module-contracts .contract-analysis-kpis article:nth-child(5n+2){background:#fff0ec!important}html[data-theme=light] .module-contracts .contract-analysis-kpis article:nth-child(5n+3){background:#fff6dd!important}html[data-theme=light] .module-contracts .contract-analysis-kpis article:nth-child(5n+4){background:#f3edfb!important}html[data-theme=light] .module-contracts .contract-analysis-kpis article:nth-child(5n){background:#e8f6ef!important}
html[data-theme=light] .module-contracts .contract-analysis-kpis :is(small,p,em){color:#67817b!important}
html[data-theme=light] .module-contracts .contract-analysis-kpis b{color:#294641!important}
html[data-theme=light] .module-contracts .contract-analysis-grid>article{background:#f8fbfa!important;color:#294641!important;border-color:#d1e2dc!important}
html[data-theme=light] .module-contracts .contract-analysis-donut{background:radial-gradient(circle closest-side,#fffdfa 66%,transparent 67%),conic-gradient(#43bfa7 var(--contract-score),#dce9e4 0)!important}
html[data-theme=light] .module-contracts .contract-risk-row>i{background:#dce9e4!important}
html[data-theme=light] .module-contracts .contract-missing-people button{background:#f5faf8!important;color:#294641!important;border-color:#cbded7!important}
html[data-theme=light] .module-contracts .renewal-decisions>article{background:#fffdfa!important;border-color:#d8e5e0!important}
html[data-theme=light] .module-contracts .renewal-decisions blockquote{background:#edf6f2!important;color:#315f57!important}
html[data-theme=light] .module-contracts .contract-department-analysis>div>section{background:#f8fbfa!important;color:#294641!important;border-color:#d8e5e0!important}

/* Recruitment: every tab and all workflow cards/dialogs. */
html[data-theme=light] .module-recruitment .recruitment-tabs{background:#edf6f2!important;border-color:#cbded7!important}
html[data-theme=light] .module-recruitment .recruitment-tabs button{color:#58716c!important;background:transparent!important}
html[data-theme=light] .module-recruitment .recruitment-tabs button[aria-pressed=true]{background:linear-gradient(135deg,#d9f1e7,#ebe6f8)!important;color:#176f65!important}
html[data-theme=light] .module-recruitment .request-filters{background:#f7faf8!important;border-color:#d4e3de!important}
html[data-theme=light] .module-recruitment .request-filters button{background:#fffdfa!important;color:#315f57!important;border-color:#c6dcd4!important}
html[data-theme=light] .module-recruitment .request-filters button[aria-pressed=true]{background:#dff2ea!important;color:#176f65!important;border-color:#9dccbd!important}
html[data-theme=light] .module-recruitment .requisition-list>article{background:#fffdfa!important;color:#294641!important;border-color:#cbded7!important;box-shadow:0 12px 28px #47665c12!important}
html[data-theme=light] .module-recruitment .requisition-list>article>header{background:linear-gradient(120deg,#eaf5ff,#f2edfb)!important;border-color:#d4e3de!important}
html[data-theme=light] .module-recruitment :is(.request-main,.request-history,.approval-timeline){background:#fffdfa!important;color:#294641!important;border-color:#d8e5e0!important}
html[data-theme=light] .module-recruitment .request-history ol{background:#f4f9f7!important;border-color:#d3e3dd!important}
html[data-theme=light] .module-recruitment .requisition-list>article>footer{background:#f1f7f4!important;border-color:#d2e2dc!important}
html[data-theme=light] .module-recruitment :is(.resume-intake,.resume-intake-job,.resume-intake-card,.recruitment-notices,.recruitment-notice-list article,.ats-toolbar,.ats-position-summary,.ats-summary-position,.ats-summary-table,.ats-summary-row,.ats-column,.ats-card,.tracking-list>article,.process-tracking>article,.analysis-panel,.analysis-grid>article){background:#fffdfa!important;color:#294641!important;border-color:#cbded7!important}
html[data-theme=light] .module-recruitment :is(.resume-intake>header,.resume-intake-job-head,.recruitment-notices>header,.ats-toolbar,.ats-column>header,.ats-summary-head){background:#edf7f3!important;color:#294641!important;border-color:#d4e3de!important}
html[data-theme=light] .module-recruitment .analysis-kpis article{background:#fffdfa!important;color:#294641!important;border-color:#d1e2dc!important;box-shadow:0 12px 28px #47665c12!important}
html[data-theme=light] .module-recruitment .analysis-kpis article:nth-child(4n+1){background:#eaf5ff!important}html[data-theme=light] .module-recruitment .analysis-kpis article:nth-child(4n+2){background:#e7f7ef!important}html[data-theme=light] .module-recruitment .analysis-kpis article:nth-child(4n+3){background:#f0ebfb!important}html[data-theme=light] .module-recruitment .analysis-kpis article:nth-child(4n){background:#fff0e4!important}
html[data-theme=light] .module-recruitment .analysis-kpis b{color:#294641!important}
html[data-theme=light] .module-recruitment .analysis-kpis :is(small,span){color:#67817b!important}
html[data-theme=light] .module-recruitment .ats-summary-head{color:#315f57!important}
html[data-theme=light] .module-recruitment .ats-summary-row{border-color:#d8e5e0!important}
html[data-theme=light] .module-recruitment .ats-summary-resume :is(button,a,label){background:#e8f4ef!important;color:#176f65!important;border-color:#afd3c7!important}
html[data-theme=light] .module-recruitment :is(.recruitment-dialog,.resume-intake-edit-dialog,.resume-preview-dialog){background:#fffdfa!important;color:#294641!important;border-color:#cbded7!important}
html[data-theme=light] .module-recruitment :is(.recruitment-dialog,.resume-intake-edit-dialog,.resume-preview-dialog)>header{background:linear-gradient(120deg,#e8f5ef,#f1edfb)!important;border-color:#d2e2dc!important}
html[data-theme=light] .module-recruitment :is(.recruitment-dialog,.resume-intake-edit-dialog,.resume-preview-dialog)>footer{background:#f1f7f4!important;border-color:#d2e2dc!important}
html[data-theme=light] .module-recruitment .recruitment-form{background:#fffdfa!important}

/* Remaining modules: exact nested tab panels, lists, builders and dialogs. */
html[data-theme=light] .company-shell :is(.leave-request-list>article,.leave-calendar,.leave-dialog,.onboarding-dialog,.offboarding-dialog,.exit-case-card,.exit-analysis-card,.perf-dialog,.perf-modal,.perf-table,.perf-table-wrap,.sv-dialog,.sv-question-card,.sv-response-card,.learning-dialog,.learning-table,.learning-table-wrap,.salary-dialog,.salary-table,.salary-table-wrap,.analytics-table,.analytics-table-wrap,.sm-dialog,.sm-modal,.settings-dialog,.settings-panel,.settings-table,.settings-table-wrap){background:#fffdfa!important;color:#294641!important;border-color:#cbded7!important;box-shadow:0 10px 26px #47665c10!important}
html[data-theme=light] .company-shell :is(.leave-request-list>article,.exit-case-card,.perf-table,.sv-question-card,.sv-response-card,.learning-table,.salary-table,.analytics-table,.sm-request-card,.settings-table) :is(header,thead,th){background:#edf7f3!important;color:#315f57!important;border-color:#d5e4de!important}
html[data-theme=light] .company-shell :is(.leave-dialog,.onboarding-dialog,.offboarding-dialog,.perf-dialog,.perf-modal,.sv-dialog,.learning-dialog,.salary-dialog,.sm-dialog,.sm-modal,.settings-dialog)>header{background:linear-gradient(120deg,#e8f5ef,#f1edfb)!important;color:#294641!important;border-color:#d2e2dc!important}
html[data-theme=light] .company-shell :is(.leave-dialog,.onboarding-dialog,.offboarding-dialog,.perf-dialog,.perf-modal,.sv-dialog,.learning-dialog,.salary-dialog,.sm-dialog,.sm-modal,.settings-dialog)>footer{background:#f1f7f4!important;border-color:#d2e2dc!important}
html[data-theme=light] .company-shell :is(table,tbody,tr,td){border-color:#d8e5e0}
html[data-theme=light] .company-shell table tbody tr:nth-child(even){background:#f7faf8}
html[data-theme=light] .company-shell table tbody tr:hover{background:#eef7f3}

/* Employee shell chrome: no navy corners or page-level horizontal overflow. */
html[data-theme=light] body:has(.company-shell.employee-shell){overflow-x:hidden!important}
html[data-theme=light] .company-shell.employee-shell{width:100%;max-width:100vw;overflow-x:clip!important}
html[data-theme=light] .company-shell.employee-shell>.admin-main{box-sizing:border-box;width:100%;max-width:100vw;min-width:0;overflow-x:clip!important}
html[data-theme=light] .company-shell.employee-shell .employee-top-nav{box-sizing:border-box;width:auto;max-width:calc(100vw + 2 * clamp(1.1rem,2.3vw,2.5rem));overflow-x:auto!important;overflow-y:visible;background:#fffdf9f2!important;border-color:#d3e4de!important;scrollbar-color:#9fbdb4 #edf5f2}
html[data-theme=light] .company-shell.employee-shell .employee-account-menu{position:sticky;z-index:4;inset-inline-end:0;background:#fffdf9!important;border-radius:13px;box-shadow:-12px 0 18px #fffdf9}
html[data-theme=light] .company-shell.employee-shell .employee-account-menu>summary{background:linear-gradient(135deg,#e7f5ef,#eee9fa)!important;color:#294641!important;border:1px solid #c8ddd5!important;box-shadow:none!important}
html[data-theme=light] .company-shell.employee-shell .employee-account-menu>summary:hover,html[data-theme=light] .company-shell.employee-shell .employee-account-menu[open]>summary{background:linear-gradient(135deg,#d9f1e7,#e6e1f5)!important;color:#176f65!important;border-color:#9dccbd!important}
html[data-theme=light] .company-shell.employee-shell .employee-account-menu summary>svg:first-child{background:#dff1fa!important;color:#277ba0!important}
html[data-theme=light] .company-shell.employee-shell .ed-home{box-sizing:border-box;width:100%;max-width:1500px;min-width:0;overflow-x:clip}
html[data-theme=light] .company-shell.employee-shell .ed-home :is(.ed-season-hero,.ed-quick-rail,.ed-workspace,.ed-columns,.ed-panel,.ed-shortcuts){max-width:100%;min-width:0}
html[data-theme=light] .company-shell.employee-shell .app-copyright,html[data-theme=light] .company-shell.employee-shell>.admin-main>.app-copyright{background:linear-gradient(120deg,#e7f5ef,#f1edfb)!important;color:#526e68!important;border-color:#d2e2dc!important;box-shadow:none!important}
html[data-theme=light] .company-shell>.admin-main>.app-copyright{background:linear-gradient(120deg,#e7f5ef,#f1edfb)!important;color:#526e68!important;border-color:#d2e2dc!important}

/* Standalone access/error states use the same personal appearance. */
html[data-theme=light] body:has(.access-denied-page){background:radial-gradient(circle at 12% 5%,#e8ddfa 0,transparent 30%),radial-gradient(circle at 88% 8%,#d9f3e8 0,transparent 32%),#f2f6f3!important;color:#294641!important}
html[data-theme=light] .access-denied-page{box-sizing:border-box;width:min(760px,calc(100% - 32px));min-height:auto;margin:12vh auto 0;padding:52px;border:1px solid #cbded7;border-radius:24px;background:#fffdfa;box-shadow:0 24px 70px #315a4d20;text-align:start}
html[data-theme=light] .access-denied-page>b{color:#2cae99!important;font-size:2rem}
html[data-theme=light] .access-denied-page h1{color:#203e39}
html[data-theme=light] .access-denied-page p{color:#617973}
html[data-theme=light] .access-denied-page .primary{display:flex;justify-content:center;background:linear-gradient(135deg,#43bfa7,#75cdbd)!important;color:#153f38!important;border:0!important}
html[data-theme=light] body:has(.access-denied-page)>.app-copyright{background:transparent!important;color:#617973!important;border:0!important}
html[data-theme=light] .module-ideas .voice-analysis-summary article,html[data-theme=light] .module-ideas .voice-insights>article{background:linear-gradient(145deg,#fffdfa,#edf8f3)!important;border-color:#cfe1da!important;color:#294641!important}html[data-theme=light] .module-ideas .voice-insights p,html[data-theme=light] .module-ideas .voice-analysis>header>div>p:last-child{color:#607873!important}html[data-theme=light] .module-ideas .analysis-support>span{background:#dcebe6!important}
html[data-theme=light] .holo-project-board-backdrop{background:#29443f66!important}html[data-theme=light] .holo-project-board{background:linear-gradient(145deg,#fffdfa,#edf7f3)!important;border-color:#bfd8cf!important;color:#294641!important;box-shadow:0 30px 90px #395b5038!important}html[data-theme=light] .holo-project-board>header p,html[data-theme=light] .holo-kanban-ticket p{color:#687e79!important}html[data-theme=light] .holo-project-board>header button{background:#e7f3ef!important;border-color:#c2d9d1!important;color:#31564e!important}html[data-theme=light] .holo-project-description{background:#fff6e7!important;color:#695d43!important}html[data-theme=light] .holo-kanban>section:nth-child(1){background:linear-gradient(180deg,#e8f5fb,#f8fcfd)!important}html[data-theme=light] .holo-kanban>section:nth-child(2){background:linear-gradient(180deg,#fff5da,#fffdf7)!important}html[data-theme=light] .holo-kanban>section:nth-child(3){background:linear-gradient(180deg,#e5f7ef,#f8fcfa)!important}html[data-theme=light] .holo-kanban-ticket{background:#fff!important;border-color:#cbded7!important;color:#294641!important;box-shadow:0 8px 20px #365a4d16!important}

/* Final light-theme audit for nested components that used fixed navy fills. */
html[data-theme=light] .company-shell.employee-shell .employee-account-menu{position:relative!important;inset-inline-end:auto!important}
html[data-theme=light] .ed-shortcuts a{background:linear-gradient(145deg,#eef8f4,#f7f3fc)!important;border-color:#cfe1db!important;color:#294641!important;box-shadow:none!important}
html[data-theme=light] .ed-shortcuts a:nth-child(2n){background:linear-gradient(145deg,#edf6fc,#fffaf2)!important}
html[data-theme=light] .ed-shortcuts a :is(b,strong,span){color:#294641!important}
html[data-theme=light] .module-onboarding .off-list>article{background:linear-gradient(145deg,#f7fbf9,#edf7f3)!important;color:#294641!important;border-color:#bfd8cf!important}
html[data-theme=light] .module-onboarding .off-list dl div{background:#fffdfa!important;border:1px solid #d2e3dc!important}
html[data-theme=light] .module-onboarding .off-list :is(h3,dd){color:#294641!important}
html[data-theme=light] .module-onboarding .off-list dt,html[data-theme=light] .module-onboarding .off-person p{color:#698079!important}
html[data-theme=light] .module-onboarding .off-mail-receipt{background:#dff4e9!important;color:#236b57!important}
html[data-theme=light] .module-onboarding .off-actions>a,html[data-theme=light] .module-onboarding .off-actions summary{background:#e3f2ed!important;color:#285c52!important;border:1px solid #bfd8cf!important}
html[data-theme=light] .module-onboarding .off-actions :is(input,select,textarea){background:#fff!important;color:#294641!important;border-color:#bfd4cc!important}
html[data-theme=light] .module-onboarding .off-actions .send{background:#e9f3fb!important;color:#27617c!important;border-color:#bcd5e2!important}
html[data-theme=light] .module-performance .strategy-canvas{background-color:#f7fbf9!important}
html[data-theme=light] .module-performance :is(.strategy-node .mission,.strategy-node .objective-row>article){background:linear-gradient(145deg,#fffdfa,#eaf6f1)!important;color:#294641!important;border-color:#bcd8ce!important;box-shadow:0 10px 24px #365a4d12!important}
html[data-theme=light] .module-performance :is(.strategy-node .mission,.strategy-node .objective-row>article) :is(b,strong,p,span,small){color:#294641!important}
html[data-theme=light] .module-surveys :is(.sv-list button,.sv-campaign-card button,.survey-campaign-card button){background:#e5f3ee!important;color:#285a50!important;border-color:#bed8cf!important}
html[data-theme=light] .organization-dashboard :is(.donut-center,.chart-center),html[data-theme=light] .organization-dashboard [class*=donut]::after{background:#fffdfa!important;color:#294641!important}
html[data-theme=light] .visual-dashboard .donut-chart>div{background:#fffdfa!important;color:#294641!important;box-shadow:0 0 0 1px #d2e2dc!important}html[data-theme=light] .visual-dashboard .donut-chart>div :is(strong,small){color:#294641!important}
html[data-theme=light] .module-surveys :is(.sv-list,.sv-campaigns,.survey-campaigns) button:not(.site-theme-toggle){background:#e2f2ec!important;color:#225f54!important;border-color:#acd1c4!important}
