/* AudiVita: CentralZap reference palette. Isolated from the blue Audioclean operation. */
html[data-operation-theme="audivita"],
html[data-operation-theme="audivita"] .dark {
  color-scheme: light !important;
  --av-canvas-rgb: 245 242 249;
  --av-surface-rgb: 255 255 255;
  --av-surface-soft-rgb: 249 247 252;
  --av-text-rgb: 42 29 62;
  --av-muted-rgb: 106 93 119;
  --av-border-rgb: 219 210 230;
  --av-primary-rgb: 124 58 237;
  --av-primary-text-rgb: 109 40 217;
  --av-on-action-rgb: 255 255 255;
  --av-success-rgb: 20 122 75;
  --av-success-soft-rgb: 234 247 240;
  --av-warning-rgb: 151 99 9;
  --av-warning-soft-rgb: 255 247 226;
  --av-danger-rgb: 190 40 64;
  --av-danger-soft-rgb: 255 239 242;
  --av-shadow-rgb: 28 17 43;
  --av-overlay-rgb: 23 16 35;
  --av-primary: #7c3aed;
  --av-accent: #6d28d9;
  --av-accent-soft: #f3eafa;
  --av-surface: #fff;
  --av-surface-raised: #f9f7fc;
  --av-border: #dbd2e6;
  --background: 266 37% 96% !important;
  --foreground: 264 36% 18% !important;
  --card: 0 0% 100% !important;
  --card-foreground: 264 36% 18% !important;
  --popover: 0 0% 100% !important;
  --popover-foreground: 264 36% 18% !important;
  --primary: 262 83% 58% !important;
  --primary-foreground: 0 0% 100% !important;
  --secondary: 270 24% 94% !important;
  --secondary-foreground: 271 30% 24% !important;
  --muted: 270 24% 95% !important;
  --muted-foreground: 270 12% 42% !important;
  --accent: 270 60% 95% !important;
  --accent-foreground: 262 69% 50% !important;
  --border: 267 29% 86% !important;
  --input: 267 29% 86% !important;
  --ring: 258 90% 66% !important;
  --destructive: 350 65% 45% !important;
  --destructive-foreground: 0 0% 100% !important;
  --sidebar-background: 263 37% 11% !important;
  --sidebar-foreground: 210 26% 88% !important;
  --sidebar-primary: 262 83% 58% !important;
  --sidebar-primary-foreground: 0 0% 100% !important;
  --sidebar-accent: 264 39% 17% !important;
  --sidebar-accent-foreground: 0 0% 100% !important;
  --sidebar-border: 267 28% 23% !important;
  --sidebar-ring: 258 90% 66% !important;
  --direto-blue: #7c3aed !important;
  --direto-cyan: #6d28d9 !important;
  --direto-bg: #f5f2f9 !important;
  --direto-panel: #fff !important;
  --direto-panel-strong: #f9f7fc !important;
  --direto-border: #dbd2e6 !important;
  --stage-bg: #f5f2f9 !important;
  --stage-panel: #fff !important;
  --stage-panel-soft: #f9f7fc !important;
  --stage-blue: #7c3aed !important;
  --stage-lime: #7c3aed !important;
  --stage-teal: #6d28d9 !important;
  background: #f5f2f9 !important;
}
html[data-operation-theme="audivita"] body,
html[data-operation-theme="audivita"] #root {
  background: #f5f2f9 !important;
  color: #2a1d3e !important;
}
html[data-operation-theme="audivita"] main {
  background: radial-gradient(ellipse at 95% 0%,rgba(139,92,246,.063),transparent 40%),#f5f2f9 !important;
  color: #2a1d3e;
}
html[data-operation-theme="audivita"] #root>div>:not(aside)>header {
  --sidebar-accent: 270 60% 95% !important;
  --sidebar-foreground: 264 36% 18% !important;
  --sidebar-border: 267 29% 86% !important;
  background:#f9f7fc !important;
  color:#2a1d3e !important;
}
html[data-operation-theme="audivita"] .dsp-top-scroll,
html[data-operation-theme="audivita"] .dsp-board,
html[data-operation-theme="audivita"] .dsp-column-list { scrollbar-color:#a78bfa #e9e3f1 !important; }
html[data-operation-theme="audivita"] :is(.dsp-top-scroll,.dsp-board,.dsp-column-list)::-webkit-scrollbar-track { background:#e9e3f1 !important; }
html[data-operation-theme="audivita"] :is(.dsp-top-scroll,.dsp-board,.dsp-column-list)::-webkit-scrollbar-thumb { background:#a78bfa !important; }
html[data-operation-theme="audivita"] ::selection { background: #7c3aed; color: #fff; }
html[data-operation-theme="audivita"] :focus-visible { outline-color: #8b5cf6; }
html[data-operation-theme="audivita"] input,
html[data-operation-theme="audivita"] select,
html[data-operation-theme="audivita"] textarea { color-scheme: light; accent-color: #7c3aed; }
/* Inherited paint tokens let legacy sidebar rules stay dark, without recoloring content. */
html[data-operation-theme="audivita"] :is(#root>div>aside,aside:has(#direto-simple-sidebar),[data-sidebar="sidebar"],#direto-login-brand) {
  --av-canvas-rgb: 19 15 32;
  --av-surface-rgb: 33 20 51;
  --av-surface-soft-rgb: 38 26 59;
  --av-text-rgb: 215 224 233;
  --av-muted-rgb: 169 189 201;
  --av-border-rgb: 102 71 138;
  --av-primary-text-rgb: 196 181 253;
  color-scheme: dark;
  background: radial-gradient(ellipse at 0 0,rgba(124,58,237,.19),transparent 38%),linear-gradient(#211433,#130f20) !important;
  color: #d7e0e9 !important;
  border-color: rgba(102,71,138,.25) !important;
}
html[data-operation-theme="audivita"] aside [data-direto-sidebar-shell],
html[data-operation-theme="audivita"] aside #direto-simple-sidebar {
  background: transparent !important; border-color: transparent !important; box-shadow: none !important;
}
html[data-operation-theme="audivita"] body #direto-simple-sidebar .direto-simple-nav-link,
html[data-operation-theme="audivita"] body #direto-simple-sidebar summary {
  background: transparent !important; border-color: transparent !important; color: #a9bdc9 !important;
  border-radius: 10px !important; box-shadow: none !important;
}
html[data-operation-theme="audivita"] body #direto-simple-sidebar .direto-simple-nav-link:hover,
html[data-operation-theme="audivita"] body #direto-simple-sidebar summary:hover {
  background: rgba(139,92,246,.12) !important; color: #fff !important;
}
html[data-operation-theme="audivita"] body #direto-simple-sidebar .direto-simple-nav-link[data-active],
html[data-operation-theme="audivita"] body #direto-simple-sidebar summary[data-active] {
  background: linear-gradient(135deg,#7c3aed,#5b21b6) !important; color: #fff !important;
  border-color: transparent !important; box-shadow: 0 4px 12px rgba(91,33,182,.16) !important;
}
html[data-operation-theme="audivita"] body #direto-simple-sidebar [data-active] :is(span,svg),
html[data-operation-theme="audivita"] body #direto-simple-sidebar .direto-simple-nav-text { color: inherit !important; }
html[data-operation-theme="audivita"] body #direto-simple-sidebar .direto-simple-nav-link:before { display:none !important; }
html[data-operation-theme="audivita"] :is(#root>div>aside,aside:has(#direto-simple-sidebar),[data-sidebar="sidebar"]) :is(input,select) { color-scheme:dark; }
html[data-operation-theme="audivita"] :is(.dlr-original-mark,.dlr-login-submit,.logo,.login-mark,.login-card button) {
  background: linear-gradient(135deg,#7c3aed,#5b21b6) !important; color: #fff !important; border-color: #7c3aed !important;
}
html[data-operation-theme="audivita"] :is(.dlr-login-submit,.login-card button) * { color:#fff !important; }
html[data-operation-theme="audivita"] :is(button,a).text-primary-foreground {
  background:linear-gradient(135deg,#7c3aed,#5b21b6) !important;
  border-color:#7c3aed !important;
  color:#fff !important;
}
html[data-operation-theme="audivita"] :is(button,a).text-primary-foreground * { color:inherit !important; }
html[data-operation-theme="audivita"] :is(.dct-primary,.dsp-save-order,[data-dsp-action="save-notes"],.direto-plan-add button[type="submit"],[data-indicators-refresh]) {
  background:linear-gradient(135deg,#7c3aed,#5b21b6) !important;
  border-color:#7c3aed !important;
  color:#fff !important;
}
html[data-operation-theme="audivita"] .dlr-brand-kicker { color:#c4b5fd !important; }
html[data-operation-theme="audivita"] :is(.direto-ind-kicker,.direto-config-eyebrow) { color:#6d28d9 !important; }
/* White working surfaces and quiet lilac borders match the reference's hierarchy. */
html[data-operation-theme="audivita"] :is(.dsp-card,.dsp-modal,.dsp-detail-modal) {
  background: #fff !important; border-color: #dbd2e6 !important; color: #2a1d3e !important;
  box-shadow: 0 1px 3px rgba(28,17,43,.05),0 6px 16px rgba(28,17,43,.035);
}
html[data-operation-theme="audivita"] .dsp-column { background:#efedf5 !important; border-color:#d8d0e3 !important; }
html[data-operation-theme="audivita"] .dsp-column>header { background:#f9f7fc !important; }
html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-address-card:not(.dsp-address-editor) {
  background: #f9f7fc !important; border-color: #dbd2e6 !important; box-shadow: none !important;
}
html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-address-copy-field:not(.is-copied) {
  background: #fff; border-color: #e3dee8;
}
html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-address-copy-field small { color:#6a5d77 !important; }
html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-address-copy-field:not(.is-copied):is(:hover,:focus-visible) {
  background: #f3eafa; border-color: #a78bfa;
}
html[data-operation-theme="audivita"] .dsp-card .dsp-card-check.is-checked,
html[data-operation-theme="audivita"] .dsp-mark-delivered-icon { background:#168452 !important; color:#fff !important; }

/* Metric custom properties were designed for dark cards: use readable light-theme inks. */
html[data-operation-theme="audivita"] body.direto-sales-workspace [data-direto-sales-kpis] > .direto-sales-metric { --sales-kpi:var(--metric) !important; }
html[data-operation-theme="audivita"] body.dct-route {
  --dct-mint:#147a4b !important;
  --dct-amber:#976309 !important;
  --dct-rose:#be2840 !important;
  --dct-cyan:#6d28d9 !important;
}
html[data-operation-theme="audivita"] .direto-sales-metric[data-tone="mint"] { --metric:#147a4b !important; }
html[data-operation-theme="audivita"] .direto-sales-metric:is([data-tone="amber"],[data-tone="gold"]) { --metric:#976309 !important; }
html[data-operation-theme="audivita"] .direto-sales-metric:is([data-tone="rose"],[data-tone="pink"]) { --metric:#be2840 !important; }
html[data-operation-theme="audivita"] .direto-sales-metric[data-tone="cyan"] { --metric:#6d28d9 !important; }
html[data-operation-theme="audivita"] .direto-sales-metric[data-tone="slate"] { --metric:#6a5d77 !important; }

/* The geographic switch is a control, not a white content surface. */
html[data-operation-theme="audivita"] .dlo-geo-level-toggle {
  min-height:38px;
  padding:5px 8px;
  gap:8px;
  border:1px solid #9f8bc2 !important;
  border-radius:10px;
  background:#fff !important;
  box-shadow:none !important;
  font-size:11px;
}
html[data-operation-theme="audivita"] .dlo-geo-level-toggle:hover {
  border-color:#6d28d9 !important;
  background:#f9f7fc !important;
}
html[data-operation-theme="audivita"] .dlo-geo-level-toggle:focus-visible {
  outline:2px solid #6d28d9 !important;
  outline-offset:3px;
}
html[data-operation-theme="audivita"] .dlo-geo-level-toggle > span {
  padding:4px 5px;
  border-radius:6px;
  color:#6a5d77 !important;
  background:transparent !important;
  font-weight:650;
  white-space:nowrap;
}
html[data-operation-theme="audivita"] .dlo-geo-level-toggle:not(.is-city) > span:first-child,
html[data-operation-theme="audivita"] .dlo-geo-level-toggle.is-city > span:last-child {
  color:#5b21b6 !important;
  background:#ede5ff !important;
  font-weight:900;
}
html[data-operation-theme="audivita"] .dlo-geo-level-toggle > i {
  flex:0 0 40px;
  width:40px;
  height:24px;
  background:#6d28d9 !important;
  box-shadow:none !important;
}
html[data-operation-theme="audivita"] .dlo-geo-level-toggle > i > b {
  top:3px;
  left:3px;
  width:18px;
  height:18px;
  background:#fff !important;
  box-shadow:0 1px 3px rgba(28,17,43,.2) !important;
  transform:translateX(0);
}
html[data-operation-theme="audivita"] .dlo-geo-level-toggle.is-city > i > b { transform:translateX(16px); }
@media (prefers-reduced-motion:reduce) {
  html[data-operation-theme="audivita"] .dlo-geo-level-toggle > i > b { transition:none; }
}

/* Post-delivery billing: clear hierarchy without saturating the whole modal. */
html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-payment-attempts {
  padding:20px !important;
  border:1px solid #c4b5df !important;
  border-left:4px solid #7c3aed !important;
  border-radius:14px;
  background:#fff !important;
  box-shadow:0 3px 12px rgba(91,33,182,.07) !important;
}
html[data-operation-theme="audivita"] .dsp-payment-attempts > header {
  gap:12px;
  flex-wrap:wrap;
}
html[data-operation-theme="audivita"] .dsp-payment-attempts > header > div { gap:7px; }
html[data-operation-theme="audivita"] .dsp-payment-attempts > header > div > small {
  font-size:19px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:0;
  text-transform:none;
  color:#5b21b6 !important;
}
html[data-operation-theme="audivita"] .dsp-payment-attempts > header > div > strong {
  justify-self:start;
  padding:5px 9px;
  border-radius:6px;
  background:#f1ebfa !important;
  color:#4c365f !important;
  font-size:12px;
  font-weight:650;
  line-height:1.4;
}
html[data-operation-theme="audivita"] .dsp-payment-attempts > header > b {
  background:#f1ebfa !important;
  color:#5b21b6 !important;
  font-size:11px;
}
html[data-operation-theme="audivita"] .dsp-payment-attempts .dsp-payment-attempt-empty {
  margin:10px 0 0;
  color:#62516f !important;
  font-size:13px;
  line-height:1.5;
}
html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-payment-attempt-create {
  grid-template-columns:125px minmax(180px,1fr) minmax(160px,.7fr) auto;
  gap:14px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #e4dced !important;
}
html[data-operation-theme="audivita"] .dsp-payment-attempt-create > label { min-width:0; gap:8px; }
html[data-operation-theme="audivita"] .dsp-payment-attempt-create small,
html[data-operation-theme="audivita"] .dsp-payment-attempt-current small {
  font-size:11px;
  line-height:1.4;
  letter-spacing:.04em;
  color:#62516f !important;
}
html[data-operation-theme="audivita"] .dsp-payment-attempt-create select {
  width:100%;
  min-width:0;
  height:44px;
  padding:0 10px;
  border:1px solid #9f8bc2 !important;
  border-radius:8px;
  background:#fff !important;
  color:#2a1d3e !important;
  font-size:14px;
  font-weight:550;
}
html[data-operation-theme="audivita"] .dsp-payment-attempt-create select:disabled {
  opacity:1;
  background:#f5f2f9 !important;
  color:#62516f !important;
}
html[data-operation-theme="audivita"] .dsp-payment-agreed-value {
  min-width:0;
  padding:11px 14px;
  gap:4px;
  border:1px solid #d9cbed !important;
  background:#f7f2fc !important;
}
html[data-operation-theme="audivita"] .dsp-payment-agreed-value strong {
  color:#5b21b6 !important;
  font-size:24px;
  font-weight:800;
  line-height:1.2;
}
html[data-operation-theme="audivita"] .dsp-payment-agreed-value em {
  color:#62516f !important;
  font-size:11px;
  line-height:1.4;
}
html[data-operation-theme="audivita"] .dsp-payment-attempt-create > button {
  min-height:46px;
  height:auto;
  padding:12px 20px;
  border:1px solid #6d28d9 !important;
  border-radius:9px;
  background:#6d28d9 !important;
  color:#fff !important;
  font-size:14px;
  font-weight:750;
  line-height:1.4;
  white-space:nowrap;
  box-shadow:0 3px 8px rgba(91,33,182,.13) !important;
}
html[data-operation-theme="audivita"] .dsp-payment-attempt-create > button:hover:not(:disabled) {
  background:#5b21b6 !important;
  border-color:#5b21b6 !important;
}
html[data-operation-theme="audivita"] .dsp-payment-attempt-create > button:disabled { opacity:.65; }
html[data-operation-theme="audivita"] .dsp-payment-attempt-create :is(select,button):focus-visible {
  outline:2px solid #6d28d9 !important;
  outline-offset:3px;
}
html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-payment-attempt-current {
  margin-top:14px;
  padding:12px;
  gap:12px;
  background:#f9f7fc !important;
  border-color:#e4dced !important;
}
html[data-operation-theme="audivita"] .dsp-payment-attempt-current strong {
  color:#2a1d3e !important;
  font-size:13px;
  line-height:1.4;
  overflow-wrap:anywhere;
}
html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-payment-attempt-current .dsp-payment-attempt-value {
  background:#f1ebfa !important;
  border-color:#d9cbed !important;
}
html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-payment-attempt-current .dsp-payment-attempt-value strong {
  color:#5b21b6 !important;
  font-size:18px;
}
@media (max-width:900px) {
  html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-payment-attempt-create { grid-template-columns:1fr 1fr; }
  html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-payment-attempt-current { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px) {
  html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-payment-attempts { padding:15px !important; }
  html[data-operation-theme="audivita"] .dsp-payment-attempts > header > div > small { font-size:18px; }
  html[data-operation-theme="audivita"] .dsp-detail-modal .dsp-payment-attempt-create { grid-template-columns:minmax(0,1fr); gap:12px; }
  html[data-operation-theme="audivita"] .dsp-payment-attempt-create > button { width:100%; }
}

/* Order terms and logistics: distinct primary action and readable on/off states. */
html[data-operation-theme="audivita"] .dsp-term-actions > button[data-dsp-action="copy-term"] {
  background:#6d28d9 !important;
  border-color:#6d28d9 !important;
  color:#fff !important;
  font-size:12px;
  box-shadow:0 2px 6px rgba(91,33,182,.12) !important;
}
html[data-operation-theme="audivita"] .dsp-term-actions > button[data-dsp-action="copy-term"]:hover:not(:disabled) {
  background:#5b21b6 !important;
  border-color:#5b21b6 !important;
}
html[data-operation-theme="audivita"] .dsp-term-actions > button:focus-visible,
html[data-operation-theme="audivita"] .dsp-logistics-choice > input:focus-visible + .dsp-logistics-switch {
  outline:2px solid #6d28d9 !important;
  outline-offset:3px;
}
html[data-operation-theme="audivita"] .dsp-logistics-choice {
  background:#fff !important;
  border-color:#9f8bc2 !important;
  box-shadow:none !important;
}
html[data-operation-theme="audivita"] .dsp-logistics-choice:hover {
  background:#f9f7fc !important;
  border-color:#6d28d9 !important;
}
html[data-operation-theme="audivita"] .dsp-logistics-choice > b strong { color:#2a1d3e !important; font-size:11px; }
html[data-operation-theme="audivita"] .dsp-logistics-choice > b small { color:#62516f !important; }
html[data-operation-theme="audivita"] .dsp-logistics-choice .dsp-logistics-switch {
  background:#81718f !important;
  border-color:#81718f !important;
  box-shadow:none !important;
}
html[data-operation-theme="audivita"] .dsp-logistics-choice > input:checked + .dsp-logistics-switch {
  background:#6d28d9 !important;
  border-color:#6d28d9 !important;
  box-shadow:none !important;
}
html[data-operation-theme="audivita"] .dsp-logistics-choice .dsp-logistics-switch i {
  background:#fff !important;
  box-shadow:0 1px 3px rgba(28,17,43,.18) !important;
}
html[data-operation-theme="audivita"] .dsp-logistics-choice-compact .dsp-logistics-switch { width:42px; height:24px; }
html[data-operation-theme="audivita"] .dsp-logistics-choice-compact .dsp-logistics-switch i { top:3px; left:3px; width:16px; height:16px; }
html[data-operation-theme="audivita"] .dsp-logistics-choice-compact > input:checked + .dsp-logistics-switch i { left:21px; }
html[data-operation-theme="audivita"] .dsp-logistics-choice > em {
  background:#f1ebfa !important;
  border-color:#c4b5df !important;
  color:#5b21b6 !important;
}
html[data-operation-theme="audivita"] .dsp-logistics-choice > em[data-enabled="false"] {
  background:#f5f2f9 !important;
  border-color:#9f8bc2 !important;
  color:#62516f !important;
}
html[data-operation-theme="audivita"] .dsp-term-actions > button:disabled,
html[data-operation-theme="audivita"] .dsp-logistics-choice:has(> input:disabled) { opacity:.65; cursor:not-allowed; }
@media (prefers-reduced-motion:reduce) {
  html[data-operation-theme="audivita"] .dsp-logistics-choice .dsp-logistics-switch,
  html[data-operation-theme="audivita"] .dsp-logistics-choice .dsp-logistics-switch i { transition:none; }
}

/* Performance metadata is content, not the dark navigation sidebar. */
html[data-operation-theme="audivita"] .tpd-header > aside {
  background:transparent !important;
  color:#2a1d3e !important;
  color-scheme:light;
}
html[data-operation-theme="audivita"] .tpd-header > aside > b { color:#62516f !important; font-size:12px; line-height:1.5; }
html[data-operation-theme="audivita"] .tpd-header .tpd-live {
  background:#f5f2f9 !important;
  color:#62516f !important;
  border-color:#9f8bc2 !important;
  font-size:11px;
}
html[data-operation-theme="audivita"] .tpd-header .tpd-live i { background:#81718f !important; box-shadow:none !important; }
html[data-operation-theme="audivita"] .tpd-header .tpd-live.is-online {
  background:#eaf7f0 !important;
  color:#147a4b !important;
  border-color:#147a4b !important;
}
html[data-operation-theme="audivita"] .tpd-header .tpd-live.is-online i { background:#147a4b !important; }

/* Settings tiles: legacy hover gradients must not restore dark working surfaces. */
html[data-operation-theme="audivita"] .direto-config-tile {
  --tile-color:#6d28d9 !important;
  background:#fff !important;
  border-color:#dbd2e6 !important;
  color:#2a1d3e !important;
}
html[data-operation-theme="audivita"] .direto-config-tile[data-tone="amber"] { --tile-color:#976309 !important; }
html[data-operation-theme="audivita"] .direto-config-tile[data-tone="emerald"] { --tile-color:#147a4b !important; }
html[data-operation-theme="audivita"] .direto-config-tile[data-tone="rose"] { --tile-color:#be2840 !important; }
html[data-operation-theme="audivita"] .direto-config-tile:is(:hover,:focus-visible) {
  background:#f3edfc !important;
  border-color:#8b5bc4 !important;
  box-shadow:0 4px 12px rgba(91,33,182,.09) !important;
}
html[data-operation-theme="audivita"] .direto-config-tile:focus-visible { outline:2px solid #6d28d9 !important; outline-offset:3px; }
html[data-operation-theme="audivita"] .direto-config-tile:active { background:#eae0f7 !important; }
html[data-operation-theme="audivita"] .direto-config-tile :is(.direto-config-tile-heading,.direto-config-tile-name) { color:#2a1d3e !important; }
html[data-operation-theme="audivita"] .direto-config-tile .direto-config-tile-hint { color:#62516f !important; }
html[data-operation-theme="audivita"] .direto-config-tile :is(.direto-config-tile-icon,.direto-config-tile-count) {
  background:color-mix(in srgb,var(--tile-color) 7%,#fff) !important;
  border-color:color-mix(in srgb,var(--tile-color) 25%,#fff) !important;
  color:var(--tile-color) !important;
}
html[data-operation-theme="audivita"] .direto-config-tile .direto-config-tile-arrow { color:var(--tile-color) !important; }

/* Pipeline horizontal handle: keep functional controls out of the legacy
   surface recoloring. This token sheet is preserved by audivita-theme.js. */
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range {
  background:transparent !important;
  opacity:1;
}
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range::-webkit-slider-runnable-track {
  height:12px !important;
  box-sizing:border-box;
  border:1px solid #c4b2db !important;
  border-radius:999px;
  background:#e4dbf1 !important;
}
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range::-moz-range-track {
  height:12px !important;
  box-sizing:border-box;
  border:1px solid #c4b2db !important;
  border-radius:999px;
  background:#e4dbf1 !important;
}
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range::-webkit-slider-thumb {
  height:12px !important;
  box-sizing:border-box;
  margin-top:-1px;
  border:1px solid #5b21b6 !important;
  border-radius:999px;
  background:#7c3aed linear-gradient(90deg,transparent 0 1px,#fff 1px 3px,transparent 3px 6px,#fff 6px 8px,transparent 8px 11px,#fff 11px 13px,transparent 13px) center / 14px 6px no-repeat !important;
  box-shadow:0 1px 2px rgba(91,33,182,.18) !important;
}
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range::-moz-range-thumb {
  height:12px !important;
  box-sizing:border-box;
  border:1px solid #5b21b6 !important;
  border-radius:999px;
  background:#7c3aed linear-gradient(90deg,transparent 0 1px,#fff 1px 3px,transparent 3px 6px,#fff 6px 8px,transparent 8px 11px,#fff 11px 13px,transparent 13px) center / 14px 6px no-repeat !important;
  box-shadow:0 1px 2px rgba(91,33,182,.18) !important;
}
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range:hover::-webkit-slider-thumb { background-color:#6d28d9 !important; }
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range:hover::-moz-range-thumb { background-color:#6d28d9 !important; }
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range:active::-webkit-slider-thumb { background-color:#5b21b6 !important; }
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range:active::-moz-range-thumb { background-color:#5b21b6 !important; }
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range:focus:not(:focus-visible) { outline:none !important; }
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range:focus-visible { outline:2px solid #6d28d9 !important; outline-offset:-1px; }
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-horizontal-range:disabled { opacity:.45; }
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-board { scrollbar-color:#7c3aed #e4dbf1 !important; }
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-board::-webkit-scrollbar-track { background:#e4dbf1 !important; }
html[data-operation-theme="audivita"] #direto-sales-pipeline .dsp-board::-webkit-scrollbar-thumb { background:#7c3aed !important; border-color:#e4dbf1 !important; }
