/* METTLE 40.7: one light presentation across public, customer and admin pages.
   Logo artwork and map tiles remain original assets. No data or layout changes. */
:root{color-scheme:only light!important;--navy:#102d46;--navy2:#173c5b;--blue:#006acb;--blue2:#0055a7;--silver:#f2f6fa;--line:#becfdd;--ink:#102d46;--text:#102d46;--muted:#4d657a;--muted2:#526c81;--good:#17653e;--warn:#805000;--danger:#a82e29;--green:#17653e;--amber:#805000;--red:#a82e29}
html{background:#f2f6fa!important;color:#102d46!important}
body{background:#f2f6fa!important;background-image:none!important;color:#102d46!important}
body input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),body select,body textarea{color-scheme:only light!important;background-color:#fff!important;color:#102d46!important;-webkit-text-fill-color:#102d46!important;border-color:#8ea6bb!important}
body input::placeholder,body textarea::placeholder{color:#586f82!important;opacity:1}
body input[type=checkbox],body input[type=radio]{color-scheme:only light!important;accent-color:#0067c7}
body option,body optgroup{background:#fff!important;color:#102d46!important}
body input:disabled,body select:disabled,body textarea:disabled{background-color:#eef3f7!important;color:#586e80!important;-webkit-text-fill-color:#586e80!important;cursor:default}
body input:focus-visible,body select:focus-visible,body textarea:focus-visible,body button:focus-visible,body a:focus-visible,body summary:focus-visible{outline:3px solid #1688ff;outline-offset:3px}
body .btn,body .primary,body .login-submit,body .auth-card button{background:#0067c7!important;border-color:#0067c7!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:none}
body .btn:hover:not(:disabled),body .primary:hover:not(:disabled),body .auth-card button:hover:not(:disabled){background:#0053a3!important;border-color:#0053a3!important;color:#fff!important}
body .btn.secondary,body .ghost,body .icon-btn{background:#fff!important;border-color:#8ca5bb!important;color:#153b5a!important;-webkit-text-fill-color:#153b5a!important}
body .btn.secondary:hover:not(:disabled),body .ghost:hover:not(:disabled),body .icon-btn:hover:not(:disabled),body #resultClose:hover:not(:disabled){background:#e7f1fb!important;border-color:#6f97bb!important;color:#153b5a!important;-webkit-text-fill-color:#153b5a!important}
body .btn.danger{background:#a82e29!important;border-color:#a82e29!important;color:#fff!important}
body button:disabled,body .btn:disabled{background:#e3ebf2!important;border-color:#c6d3df!important;color:#4d657a!important;-webkit-text-fill-color:#4d657a!important;opacity:1!important;cursor:default!important}
body .portal-top,body .portal-top-inner,body .login-top,body .review-header,body .research-header,body .pursuit-header,body .search-header,body .topbar{background:#fff!important;background-image:none!important;color:#102d46!important;border-color:#bdd0e0}
body .portal-user,body .portal-title,body .product-name,body .session,body .login-top a{color:#102d46!important}
body .side,body .sidebar,body .mobile-nav{background:#f7fafc!important;background-image:none!important;color:#153b5a!important;border-color:#c9d7e2!important}
body .side a,body .side button,body .mobile-nav a,body .phase{color:#153b5a!important}
body .side a:hover,body .side a.active,body .phase.active,body .phase:hover,body .mobile-nav a:hover{background:#e4f1ff!important;color:#064e91!important}
body .side button{background:#fff!important;border-color:#8da6bb!important}
body .login-page,body .login,body .login-main{background:transparent!important;background-image:none!important}
body .login-card,body .auth-card,body .panel,body .card,body .side-card,body .simple-panel,body .system-card,body .metric{background:#fff!important;background-image:none!important;color:#102d46!important;border-color:#bdcedd!important;box-shadow:0 8px 26px #173b5a0c!important}
body .lead,body .muted,body .status,body .empty,body .login-foot,body .login-card p,body .auth-card p,body .field label,body .side-label,body .phase small,body .phase-no{color:#4d657a!important}
body .eyebrow,body .back-link,body .back{color:#0061b6!important}
body .error,body .status.error,body .login-error{color:#a82e29!important}
body .toast,body .map,body .preview,body .status-chip{background:#eaf3fc!important;color:#163b5a!important;border-color:#adc9e1!important}
body dialog{color-scheme:only light!important;background:#fff!important;color:#102d46!important;border-color:#b8cadb!important;box-shadow:0 20px 70px #14345030!important}
body dialog::backdrop{background:rgba(34,64,90,.25)!important;backdrop-filter:blur(3px)}
body table{background:#fff!important;color:#102d46!important}
body th{background:#e8f1f8!important;color:#173b5a!important;border-color:#c8d7e4!important}
body td{border-color:#d8e3ec!important}
body .leaflet-container{background:#eaf1f6!important}
body .leaflet-popup-content-wrapper,body .leaflet-popup-tip,body .leaflet-bar a{background:#fff!important;color:#102d46!important}
body .review-main footer,body .research-main footer,body .pursuit-main footer{color:#4d657a!important;background:transparent!important}

/* Public site: replace earlier charcoal layers with the same paper/blue system. */
html[data-mettle-page=public]{--ink:#f2f6fa;--panel:#fff;--panel2:#eaf2f9;--line:#bccddd;--text:#102d46;--muted:#4d657a;--mettle-navy:#102d46;--mettle-navy-2:#173c5b;--mettle-blue:#0067c7;--mettle-blue-light:#076cc4;--mettle-paper:#f5f8fc;--mettle-stone:#e9f1f8;--mettle-line:#bdcedd;--mettle-copy:#102d46;--mettle-muted:#4d657a}
html[data-mettle-page=public] body>header,html[data-mettle-page=public] footer{background:#fff!important;background-image:none!important;color:#102d46!important;border-color:#bfcede!important}
html[data-mettle-page=public] .navlinks,html[data-mettle-page=public] .navlinks a,html[data-mettle-page=public] .footer-access,html[data-mettle-page=public] .foot small{color:#173b5a!important}
html[data-mettle-page=public] .client-login-trigger{background:#fff!important;color:#005cab!important;border-color:#8aa6bd!important}
html[data-mettle-page=public] :is(.v8-hero,.v8-logo-stage,.hero-centered,.hero,.v8-command-section,.v8-loop-section,.v8-changes,.roi-section,.editorial-shell,.system-accordion-shell,.v8-packages,.product-one,.permit-section,.v8-final,.final,.why-mettle,.brand-stage){background:#f5f8fc!important;background-image:none!important;color:#102d46!important;border-color:#c5d4e0!important;box-shadow:none!important}
html[data-mettle-page=public] :is(.v8-hero,.hero,.permit-section,.v8-final){background:linear-gradient(135deg,#f7fbff,#e9f2fb)!important}
html[data-mettle-page=public] :is(.command,.command-pro,.dashboard-frame,.loop-card,.spine,.sequence,.role,.price,.privacy,.privacy-item,.secure-card,.roi-board,.roi-metric,.engine-step,.engine-project,.engine-result,.opportunity-stage,.product-family,.subpackage,.why-card,.pd-side-card,.pd-panel,.pd-opportunity,.pd-kpi,.pd-project,.pd-next,.pd-move,.pd-funnel-step,.pd-radar-row,.pd-ai,.radar-screen,.radar-arizona,.radar-texas-visual,.permit-engine,.permit-engine-inner){background:#fff!important;background-image:none!important;color:#102d46!important;border-color:#bdcedd!important;box-shadow:0 5px 18px #173b5a09!important}
html[data-mettle-page=public] :is(.command-top,.panel-title,.ai-desk,.pd-topbar,.pd-side,.pd-panel-head,.pd-system-strip,.pd-conversion-head,.pd-table-head,.pd-toolbar,.engine-top,.roi-head,.product-divider,.radar-slide-top,.radar-slide-copy,.radar-slide-title,.revenue-loop,.rev-step,.system-accordion-intro,.site-disclosure,.site-disclosure:not([open]),.site-disclosure[open],.site-disclosure>summary,.why-collapse>details,.why-collapse>details>summary){background:#e9f2fa!important;background-image:none!important;color:#102d46!important;border-color:#b8ccde!important;-webkit-text-fill-color:#102d46!important;text-shadow:none!important}
html[data-mettle-page=public] :is(.site-disclosure.v8-loop-section,.site-disclosure.v8-changes,.site-disclosure.roi-section){background:#fff!important;color:#102d46!important}
html[data-mettle-page=public] :is(.roi-metrics,.roi-callout,.built-around){background:#e9f2fa!important;background-image:none!important;color:#102d46!important}
html[data-mettle-page=public] .built-around b{color:#102d46!important}
/* Screen blending was used over charcoal and erases the original logo on white. */
html[data-mettle-page=public] .brand img,html[data-mettle-page=public] .brand-stage img{mix-blend-mode:normal!important;filter:none!important;opacity:1!important}
html[data-mettle-page=public] .hero-m-watermark{mix-blend-mode:normal!important;opacity:1!important;filter:none!important}
html[data-mettle-page=public] :is(h1,h2,h3,h4,.type-headline,.type-sizer,.type-live,.typed-copy,.hero-bottom-stack .type-headline,.hero-bottom-stack .type-sizer,.hero-bottom-stack .type-live,.hero-bottom-stack .typed-copy,.shine-text,.section-toggle-copy,.product-divider,.radar-slide-title,.permit-copy h2,.roi-callout,.why-brand-line){color:#102d46!important;-webkit-text-fill-color:#102d46!important;background-image:none!important;text-shadow:none!important}
html[data-mettle-page=public] :is(.hero-top-label,.hero-top-left,.hero-specialty-label,.eyebrow,.family-kicker,.section-toggle-plus,.package-toggle-plus,.pd-ai-label,.pd-side-title){color:#0063b7!important;-webkit-text-fill-color:#0063b7!important;text-shadow:none!important}
html[data-mettle-page=public] :is(.v8-hero p,.v8-promise p,.hero p,.section-head p,.v8-section-line>p,.bullet span,.card p,.role ul,.step p,.price ul,.price .amount small,.price-note,.privacy-item span,.final p,.v8-final p,.secure-card p,.secure-card span,.why-card p,.why-quote,.family-head p,.subpackage p,.subpackage li,.caption,.caption b,.proof,.v8-proof,.form-step>p,.form-banner small,.upload small,.file-list,.success p,.login-foot,.pd-main p,.pd-side p,.pd-panel small,.pd-kpi small,.pd-kpi span,.pd-moves small,.pd-next p,.pd-project small,.pd-promise,.pd-radar-copy p,.pd-score small,.pd-status,.sample-legal small){color:#4d657a!important;-webkit-text-fill-color:#4d657a!important;text-shadow:none!important}
html[data-mettle-page=public] :is(.kpi,.action-row,.context-chips span,.tag,.pd-filters span,.pd-side-title,.pd-stage,.pd-score,.pd-status,.live-pill,.form-head,.form-banner,.check,.upload,.notice,.confirmation-card,.login-shell,.login-mark,.login-fields,.intake-choice .btn.secondary,.permit-toast){background:#edf5fd!important;background-image:none!important;color:#173b5a!important;border-color:#b8cfe3!important}
html[data-mettle-page=public] :is(.confirmation-card strong,.form-head strong,.close,.login-dialog h2,.login-dialog label,.login-dialog p,.login-switch,.login-switch button,.client-login-close,.employee-login-close,.close-success){color:#102d46!important;-webkit-text-fill-color:#102d46!important;text-shadow:none!important}
html[data-mettle-page=public] :is(.tag.warn,.hot,.amber){background:#fff3db!important;color:#744c0b!important}
html[data-mettle-page=public] .mettle-proof-strip{background:#e6f0f8!important;background-image:none!important;color:#102d46!important}
html[data-mettle-page=public] .v8-hero:before,html[data-mettle-page=public] .v8-hero:after{background-color:transparent!important;color:#0064b8!important;text-shadow:none!important}
html[data-mettle-page=public] :is(.section-toggle-mark,.section-toggle-plus,.package-toggle-plus){background-color:#e5f0fa!important;box-shadow:none!important}
html[data-mettle-page=public] .editorial-panel>summary:after,html[data-mettle-page=public] .why-collapse>details>summary:after{background-color:#e5f0fa!important;color:#102d46!important;text-shadow:none!important}
html[data-mettle-page=public] .radar-arizona:before,html[data-mettle-page=public] .radar-arizona:after,html[data-mettle-page=public] .radar-texas-visual:before,html[data-mettle-page=public] .radar-texas-visual:after{box-shadow:none!important}

/* Older implementation workspace/access pages also use the light surfaces. */
html[data-mettle-page=implementation]{--ink:#f2f6fa;--panel:#fff;--panel2:#eaf2f9;--line:#bfcede;--line2:#90a9bf;--text:#102d46;--muted:#4d657a;--muted2:#526c81;--cyan:#0063b7;--shadow:0 12px 36px #173b5a12}
html[data-mettle-page=implementation] :is(.topbar,.sidebar,.progress-shell,.progress-head,.metric,.system-map,.system-card,.panel-head,.activity-row,.decision,.priority-list,.simple-head,.simple-panel,.simple-panel-head,.simple-progress,.simple-more,.simple-client,.notes,.tasks,.milestones){background:#fff!important;background-image:none!important;color:#102d46!important;border-color:#bdcedd!important}
html[data-mettle-page=implementation] :is(.simple-list,.simple-columns,.simple-workspace,.overview-grid,.activity,.board-layout,.view){color:#102d46!important}
html[data-mettle-page=implementation] :is(p,small,label,.product-name,.phase small,.side-label,.side-card small,.back-link){color:#4d657a!important}
html[data-mettle-page=access] :is(body,.card){background:#f5f8fc!important;background-image:none!important;color:#102d46!important}
html[data-mettle-page=access] .card{background:#fff!important;border-color:#bdcedd!important;box-shadow:0 16px 40px #173b5a14!important}
html[data-mettle-page=access] p{color:#4d657a!important}
html[data-mettle-page=access] button{background:#0067c7!important;border-color:#0067c7!important;color:#fff!important}
