/* Light palette for existing components and page-local styles; no layout mutations. */
html[data-theme="light"] body.ecu-mercury .ticket-status{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .ticket-status.resolved{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .ticket-status.waiting_customer{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .internal-sign-alert{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .internal-sign-status{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .status.info{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .status.success{color:#166a48}
html[data-theme="light"] body.ecu-mercury .status.warning{color:#8f5d16}
html[data-theme="light"] body.ecu-mercury .status.danger{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .flash.success{color:#166a48}
html[data-theme="light"] body.ecu-mercury .flash.danger{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .flash.warning{color:#8f5d16}
html[data-theme="light"] body.ecu-mercury .success-icon{color:#166a48}
html[data-theme="light"] body.ecu-mercury .reference-search-status{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .reference-knowledge-v432 .reference-search-status{color:var(--mc-secondary)!important}
html[data-theme="light"] body.ecu-mercury .danger-outline{color:#a72a3b!important}
html[data-theme="light"] body.ecu-mercury .ai-provisional-warning b{color:#8f5d16}
html[data-theme="light"] body.ecu-mercury .ai-provisional-warning p{color:#8f5d16}
html[data-theme="light"] body.ecu-mercury .ai-feedback-error{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .danger-panel{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .pro-status-active{color:var(--mc-secondary)!important}
html[data-theme="light"] body.ecu-mercury .pro-inline-error,html[data-theme="light"] body.ecu-mercury .pro-test-result{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .pro-test-result.success{color:#166a48}
html[data-theme="light"] body.ecu-mercury .stripe-status.connected{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .stripe-status.disconnected{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .success-check{color:#166a48}
html[data-theme="light"] body.ecu-mercury .status-pill{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .flash.success{color:#166a48}
html[data-theme="light"] body.ecu-mercury .verify-icon.success{color:#166a48}
html[data-theme="light"] body.ecu-mercury .verify-icon.error{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .promo-subscribe-message.success{color:#166a48}
html[data-theme="light"] body.ecu-mercury .promo-subscribe-message.error{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .footer-newsletter .promo-subscribe-message.success{color:#166a48}
html[data-theme="light"] body.ecu-mercury .footer-newsletter .promo-subscribe-message.error{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .google-status-card b{color:var(--mc-ink)}
html[data-theme="light"] body.ecu-mercury .google-status-card.is-on b{color:var(--mc-ink)}
html[data-theme="light"] body.ecu-mercury .commerce-remove,html[data-theme="light"] body.ecu-mercury .link-danger{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .success-check{color:#166a48}
html[data-theme="light"] body.ecu-mercury .repair-payment-result.success{color:#166a48}
html[data-theme="light"] body.ecu-mercury .admin-task.overdue time{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .admin-client-last>small.overdue{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .status-pill.danger{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .admin-queue-item.is-overdue .admin-queue-state span{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .job-client-dialog [data-client-error]{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .subscription-status.is-active{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .payment-error{color:#a72a3b!important}
html[data-theme="light"] body.ecu-mercury .status-pill.danger{color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .review-manager-status{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury ::selection{background:var(--mc-canvas)}
html[data-theme="light"] body.ecu-mercury :is(.btn,.commerce-primary,.agent-button):hover{background:var(--mc-canvas)!important;border-color:var(--mc-line)!important}
html[data-theme="light"] body.ecu-mercury .entry-topline i{border:1px solid var(--mc-line)}
html[data-theme="light"] body.ecu-mercury .gallery-dots{border:1px solid var(--mc-line)}
html[data-theme="light"] body.ecu-mercury .gallery-dots button{background:var(--mc-canvas)}
html[data-theme="light"] body.ecu-mercury .form-aside :is(h2,h3,p,li){color:var(--mc-ink)}
html[data-theme="light"] body.ecu-mercury .access-visual:after{background:var(--mc-canvas)}
html[data-theme="light"] body.ecu-mercury .access-visual .ecu-kicker{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .access-visual p,html[data-theme="light"] body.ecu-mercury .access-visual ul{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury :is(.timeline-mini .done>span,.repair-phase.done:before){border:1px solid var(--mc-line)}
html[data-theme="light"] body.ecu-mercury .live-dot{border:1px solid var(--mc-line)}
html[data-theme="light"] body.ecu-mercury .plan-top :is(h3,p),html[data-theme="light"] body.ecu-mercury .pro-plan li{color:var(--mc-ink)}
html[data-theme="light"] body.ecu-mercury .manager-areas{border:1px solid var(--mc-line)}
html[data-theme="light"] body.ecu-mercury .ecu-bot-status{border:2px solid var(--mc-line)}
html[data-theme="light"] body.ecu-mercury .form-completion progress::-webkit-progress-bar{background:var(--mc-canvas)}
html[data-theme="light"] body.ecu-mercury label :is(span,small){color:var(--mc-secondary)!important}
html[data-theme="light"] body.ecu-mercury .repair-authorization.is-pending{color:#8f5d16!important}
html[data-theme="light"] body.ecu-mercury .repair-authorization i{background:var(--mc-canvas)!important}
html[data-theme="light"] body.ecu-mercury .repair-authorization.is-authorized{color:#166a48!important}
html[data-theme="light"] body.ecu-mercury .repair-authorization.is-authorized i{background:var(--mc-canvas)!important}
html[data-theme="light"] body.ecu-mercury .repair-history .history-current:before{background:var(--mc-canvas)}
html[data-theme="light"] body.ecu-mercury :is(.live-dot,.pro-online-dot){background:var(--mc-canvas)!important}
html[data-theme="light"] body.ecu-mercury .internal-sign-brand svg{background:var(--mc-canvas)}
html[data-theme="light"] body.ecu-mercury :is(.btn,.commerce-primary){background:var(--mc-canvas)!important;color:var(--mc-secondary)!important}

html[data-theme="light"] body.ecu-mercury .partner-name-display{color:var(--mc-secondary)!important}
html[data-theme="light"] body.ecu-mercury ::selection{background:var(--mc-canvas);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury{background:var(--mc-canvas)}
html[data-theme="light"] body.ecu-mercury .box{background:var(--mc-card)}
html[data-theme="light"] body.ecu-mercury .ok{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .err{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury button{background:var(--mc-card);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury{background:var(--mc-canvas);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .box{background:var(--mc-card)}
html[data-theme="light"] body.ecu-mercury a{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury{color:var(--mc-secondary)}
/* Header borders belong to the site header, not article headings. */
/* Sections inherit their own component borders in either theme. */
html[data-theme="light"] body.ecu-mercury dt{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .work-ref{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury button{background:var(--mc-card);color:var(--mc-secondary)}

html[data-theme="light"] body.ecu-mercury{background:var(--mc-canvas);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury #ecuSiteLoader{background:var(--mc-card);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury{background:var(--mc-canvas);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury small{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .panel{background:var(--mc-card);border:1px solid var(--mc-line)}
html[data-theme="light"] body.ecu-mercury .state{background:var(--mc-card);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .state.ok{background:var(--mc-card);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .error{background:var(--mc-card);color:#a72a3b}
html[data-theme="light"] body.ecu-mercury .btn{border:1px solid var(--mc-line);background:var(--mc-card);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .secondary{background:var(--mc-card);color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .files li{border-bottom:1px solid var(--mc-line)}
html[data-theme="light"] body.ecu-mercury .good{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .pending{color:#8f5d16}
html[data-theme="light"] body.ecu-mercury .missing{color:var(--mc-secondary)}
html[data-theme="light"] body.ecu-mercury .note{color:var(--mc-secondary)}
body.ecu-mercury{--mc-control:#272735;--mc-control-border:#555563;--mc-subtle-border:#70707d;--mc-canvas-rgb:23,23,33;--mc-card-rgb:30,30,42;--mc-control-rgb:39,39,53;--mc-ink-rgb:237,237,243;--mc-secondary-rgb:195,195,204;--mc-muted-rgb:166,166,181;--mc-line-rgb:58,58,76;--mc-subtle-border-rgb:112,112,125}
html[data-theme="light"] body.ecu-mercury{--mc-canvas:#f5f8fb;--mc-card:#fff;--mc-control:#fff;--mc-ink:#17354b;--mc-secondary:#526778;--mc-muted:#637789;--mc-line:#d5dfe8;--mc-control-border:#bdcbd7;--mc-subtle-border:#b6c4d0;--mc-tint:#e9f2f9;--mc-link:#1769aa;--mc-signal:#1769aa;--mc-canvas-rgb:245,248,251;--mc-card-rgb:255,255,255;--mc-control-rgb:255,255,255;--mc-ink-rgb:23,53,75;--mc-secondary-rgb:82,103,120;--mc-muted-rgb:99,119,137;--mc-line-rgb:213,223,232;--mc-subtle-border-rgb:182,196,208;color-scheme:light}
html[data-theme="dark"]{color-scheme:dark}html[data-theme="light"]{color-scheme:light}
body.ecu-mercury .theme-toggle{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid var(--mc-line);border-radius:50%;background:var(--mc-control);color:var(--mc-ink);line-height:0;cursor:pointer}
body.ecu-mercury .theme-toggle svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.ecu-mercury .theme-toggle .theme-moon{display:none}
html[data-theme="light"] body.ecu-mercury .theme-toggle .theme-sun{display:none}
html[data-theme="light"] body.ecu-mercury .theme-toggle .theme-moon{display:block}
body.ecu-mercury .site-header.ecu-header .theme-toggle{width:var(--header-control-size)!important;height:var(--header-control-size)!important;min-width:var(--header-control-size)!important;min-height:var(--header-control-size)!important;max-width:var(--header-control-size)!important;max-height:var(--header-control-size)!important;flex:0 0 var(--header-control-size)!important;align-self:center;margin:0!important;background:transparent;border:0}
body.ecu-mercury .admin-header-tools{display:flex;align-items:center;gap:12px}
html[data-theme="light"] body.ecu-mercury :is(.mercury-brand-image,.mercury-footer-brand,.admin-logo-window img,.ecu-site-loader-inner img){filter:brightness(0) saturate(100%) invert(13%) sepia(35%) saturate(2120%) hue-rotate(188deg) brightness(90%) contrast(103%)!important}
html[data-theme="light"] body.ecu-mercury :is(.ecu-home,.home-discovery,.discovery-shell,.ecu-section,.journal-home,.home-process-section,.about-services,.about-clients,.ecu-final,.site-footer,.footer-newsletter){background:var(--mc-canvas)!important;color:var(--mc-ink)!important}
html[data-theme="light"] body.ecu-mercury :is(.partner-network-card,.ecu-service-card,.module-choice,.journal-card,.account-panel,.fixed-service-card,.shop-card,.service-card,.service-route-card,.module-copy-panel,.module-detail-panel,.admin-card,.manager-panel){background:var(--mc-card)!important;color:var(--mc-ink)!important;border-color:var(--mc-line)!important}
html[data-theme="light"] body.ecu-mercury :is(.btn,.commerce-primary){background:#1769aa!important;color:#fff!important;border-color:#1769aa!important}
html[data-theme="light"] body.ecu-mercury :is(.btn-ghost,.btn-secondary,.btn-light,.btn-outline-light){background:#fff!important;color:#17354b!important;border-color:#bdcbd7!important}
html[data-theme="light"] body.ecu-mercury .repair-authorization.is-pending{color:#a72a3b!important}
html[data-theme="light"] body.ecu-mercury .repair-authorization.is-authorized{color:#166a48!important}
html[data-theme="light"] body.ecu-mercury input:-webkit-autofill{-webkit-text-fill-color:var(--mc-ink)!important;box-shadow:0 0 0 1000px var(--mc-control) inset!important}
@media(max-width:700px){body.ecu-mercury .site-header.ecu-header .nav-wrap{--header-control-size:36px}body.ecu-mercury .site-header.ecu-header .header-actions{gap:4px!important}}
@media(max-width:359px){body.ecu-mercury .site-header.ecu-header .nav-wrap{--header-control-size:32px}body.ecu-mercury .site-header.ecu-header :is(.brand,.brand-window){width:92px!important;max-width:92px!important;flex-basis:92px!important}body.ecu-mercury .site-header.ecu-header .brand-window .mercury-brand-image{width:92px!important;height:36px!important}body.ecu-mercury .site-header.ecu-header .header-actions{gap:3px!important}}


html[data-theme="light"] body.ecu-mercury :is(.btn,.commerce-primary,.ecu-bot-login,.ecu-bot-launcher,.agent-button){background:#1769aa!important;color:#fff!important}
html[data-theme="light"] body.ecu-mercury :is(.btn,.commerce-primary,.ecu-bot-login,.ecu-bot-launcher,.agent-button) :is(span,b,strong,svg){color:inherit!important}
html[data-theme="light"] body.ecu-mercury :is(.btn-ghost,.btn-secondary,.btn-light,.btn-outline-light){background:#fff!important;color:#17354b!important;border-color:#bdcbd7!important}
html[data-theme="light"] body.ecu-mercury .client-avatar{background:#1769aa!important;color:#fff!important}
html[data-theme="light"] body.ecu-mercury :is(.site-footer,.site-footer h4,.site-footer p){color:var(--mc-ink)!important}
html[data-theme="light"] body.ecu-mercury .site-footer :is(span,small,a){color:var(--mc-secondary)!important}
html[data-theme="light"] body.ecu-mercury :is(.module-explorer-stage,.data-transfer-submit,.quote-hero,.consent-check,.admin-client-card){background:var(--mc-card)!important}
html[data-theme="light"] body.ecu-mercury{--mc-fog:#eef3f8;--mc-mint:#247b69;--navy:var(--mc-ink)}
html[data-theme="light"] body.ecu-mercury :is(input,select,textarea){color-scheme:light!important}
html[data-theme="light"] body.ecu-mercury .manager-create{background:#1769aa!important;color:#fff!important}
body.ecu-mercury .theme-toggle .theme-moon,
body.ecu-mercury .site-header.ecu-header .header-actions .theme-toggle .theme-moon{display:none!important}
html[data-theme="light"] body.ecu-mercury .theme-toggle .theme-sun,
html[data-theme="light"] body.ecu-mercury .site-header.ecu-header .header-actions .theme-toggle .theme-sun{display:none!important}
html[data-theme="light"] body.ecu-mercury .theme-toggle .theme-moon,
html[data-theme="light"] body.ecu-mercury .site-header.ecu-header .header-actions .theme-toggle .theme-moon{display:block!important}
html[data-theme="light"] body.ecu-mercury .workbench-secondary{border-color:var(--mc-line)}
