.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border:1px solid #82998e;border-radius:50%;background:#e0efe7;color:#244f40;font:28px/1 system-ui;cursor:pointer;padding:0;vertical-align:middle}.theme-toggle:focus-visible{outline:3px solid #73d9b0;outline-offset:3px}.theme-toggle:hover{box-shadow:0 0 0 3px #8cba9d30}.theme-standalone{position:fixed;right:16px;top:16px;z-index:4000}
@media screen {
html[data-theme=dark]{color-scheme:dark;--navy:#111d22;--ink:#e2eae7;--muted:#a9bbb4;--line:#3b4c45;--bg:#131c20;--mint:#254e40;--mint2:#203c33;--mintink:#abe4c7}
html[data-theme=dark] body{background:#131c20!important;color:#e2eae7!important}
html[data-theme=dark] :is(.top,.toolbar,.sidebar){background:#111d22!important;color:#e2eae7!important;border-color:#3b4c45!important}
html[data-theme=dark] :is(.queues>a,.form-card,.side-card,.list-card,.prod-card,.calendar,.visit,.panel,.login-card,.client-card,.identity,.section,.card,.mini-day,dialog,.modal-content,.dialog-panel,.product-tile,.quote-row,.quote-summary,.reference-summary,.user-row,.empty,.global-search-panel,.month-calendar,.month-picker,.calendar-popover){background:#202c30!important;color:#e2eae7!important;border-color:#3b4c45!important}
html[data-theme=dark] :is(h1,h2,h3,h4,strong,b,label,.customer-card-heading,.card-order-number,.card-order-number strong,.product-name,.product-head,.group-heading,.identity-side,.contact,.city){color:inherit}
html[data-theme=dark] :is(.muted,small,.eyebrow,.section-title,.locality-legend,.global-search-status,.page-head p,.hello p,.measurement-date,.route-note){color:#a9bbb4!important}
html[data-theme=dark] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select){background:#142126!important;color:#edf4ef!important;border-color:#50645b!important}
html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#9caea6!important;opacity:1}
html[data-theme=dark] :is(button,.btn,.button,.chip,.pill,.badge,.calendar-button,.day-navigation,.reference-close,.reference-search,.text-button,.quote-stepper button){background-color:#2c4038;color:#dbeee3;border-color:#4d6a5b}
html[data-theme=dark] :is(.mint,.btn.mint,.button,.calendar-water,.primary-measurement,.next,.info,.flash,.chip.ready,.ready,.reference-progress .next,.customer-card-entry,.offer-action,.quote-actions,.production-age,.scanner-orb){background:#254e40!important;background-image:none!important;color:#c3f0d8!important;border-color:#477b62!important}
html[data-theme=dark] :is(.secondary,.ghost-link,.check,.day-arrows .btn,.calendar-button,.day-navigation,.reference-search,.reference-close){background:#253239!important;color:#e2eae7!important;border-color:#3b4c45!important}
html[data-theme=dark] :is(.cal-head,.mini-day header,.user-head,.product-head,.reference-tabs,.quote-summary,.info,.note,.notes,.visit-record,.visit em){background:#293a36!important;color:#dce9e1!important;border-color:#42574b!important}
html[data-theme=dark] :is(.cal-cell,.mini-row>a:not(.busy):not(.away),.mini-row>span:not(.busy):not(.away),.mini-grid,.mini-screen){background:#182429!important;color:#dce9e1!important;border-color:#3b4c45!important}
html[data-theme=dark] .mini-day.selected{border-color:#8bcdaa!important}
html[data-theme=dark] .mini-day.today header{background:#315746!important}
html[data-theme=dark] .cal-cell:hover:not(:has(.visit)){background:#254e40!important}
html[data-theme=dark] :is(.visit-actions,.visit-menu,.popover,.tooltip,.weekly-plan-tooltip,#shared-visit-tip){background:#2b4d40!important;color:#e3f4e9!important;border-color:#678e78!important}
html[data-theme=dark] .visit[class*="locality-"]{border-color:var(--city-edge)!important;background:#202c30!important}
/* Town labels and filled weekly appointments keep their recognizable color pairs. */
html[data-theme=dark] :is(.visit-city,.mini-city-label){background:var(--city-bg)!important;color:var(--city-ink)!important}
html[data-theme=dark] .mini-screen .mini-row .busy[class*="locality-"]:not(.away){background:var(--city-bg)!important;color:var(--city-ink)!important}
html[data-theme=dark] :is(.absence-cell,.away,.complaint-visit:not([class*="locality-"])){background:#542f36!important;color:#ffced2!important}
html[data-theme=dark] .absence-label{color:#ffced2!important}
html[data-theme=dark] .theme-toggle{background:#304b40;color:#ffe6a3;border-color:#698774}
html[data-theme=dark] :is(.errorlist,.error){color:#ffb5b5!important}
html[data-theme=dark] .scanner-orb[data-state=success]{background:#245e3d!important;color:#d4ffe3!important}
html[data-theme=dark] .scanner-orb[data-state=error]{background:#542f36!important;color:#ffced2!important}
}
@media print{.theme-toggle{display:none!important}html{color-scheme:light}}
@media screen {
html[data-theme=dark]{--ref-ink:#e2eae7;--ref-muted:#a9bbb4;--ref-line:#3b4c45;--ref-green:#abe4c7}
html[data-theme=dark] :is(.card-grid,.card-archive,.product-row,.total,.section-inspector,.product-column,.product-choice,.offer-contact-row,.offer-phone,.other-towns-menu,.email-address-row){background:#202c30!important;color:#e2eae7!important;border-color:#43594e!important}
html[data-theme=dark] :is(.measurement-panel,.offer-channel,.email-toggle,.quote-edit-button,.quantity,.product-choice:has(input:checked)){background:#254e40!important;color:#d1f0de!important;border-color:#609078!important}
html[data-theme=dark] .measurement-panel summary{color:#b6e6cc}
html[data-theme=dark] .city-option-name{color:var(--city-ink)!important}
html[data-theme=dark] .other-towns>summary{background:#34413e!important;color:#e2eae7!important}
html[data-theme=dark] :is(.contact,.identity-side,.product-name,.install-state,.total,.product-row,.section-heading,.reference-summary,.card-order-number,.customer-card-heading) :is(p,span,strong,b,a){color:inherit}
}

@media screen {
html[data-theme=dark] .mini-row i:not(.busy):not(.away){background:#182429!important;border-color:#3b4c45!important}
html[data-theme=dark] .mini-names{background:#293a36!important;color:#dce9e1!important}
}
.mini-toolbar>.theme-toggle{margin-left:auto}.mini-toolbar>.theme-toggle+.mini-close{margin-left:0}.mini-toolbar>.theme-toggle span{font-size:28px}
@media screen {
html[data-theme=dark] .mini-months strong{background:#293a36!important;color:#dce9e1!important}
html[data-theme=dark] .busy-key{color:#9acfb2}
}
