/* Paleta compartida: identidad morada, consulta azul y estados correctos verdes.
   Alcance visual: módulos modernizados; no modifica el POS ni sus controles. */
:where(.xeus-acc,.xeus-tax,.ai-app,.xeus-ui-modern){
  --xeus-brand-accent:#693ac2;--xeus-brand-soft:#f3eefb;--xeus-brand-hover:#eae1f8;
  --xeus-blue:#245ea8;--xeus-blue-soft:#edf5ff;--xeus-blue-hover:#dfeeff;--xeus-blue-border:#c9ddf5;
  --xeus-green:#24704f;--xeus-green-soft:#edf8f1;--xeus-green-border:#c6e3d2;
}
#app-content .xeus-acc .alert-info{background:var(--xeus-blue-soft);border-color:var(--xeus-blue-border);color:var(--xeus-blue)}
#app-content .xeus-acc .alert-success,#app-content .xeus-acc .badge.bg-success,
#app-content .xeus-acc .badge.text-bg-success,#adminInvoices #aiMessage.ai-success{
  background:var(--xeus-green-soft)!important;border-color:var(--xeus-green-border)!important;color:var(--xeus-green)!important;
}
#app-content .xeus-acc .text-success{color:var(--xeus-green)!important}
#app-content .xeus-acc a.btn-outline-secondary,#app-content .xeus-acc .btn.xeus-action-info,
#adminInvoices a.btn-outline-secondary:not(:where(.xeus-third-parties *)){
  color:var(--xeus-blue)!important;background:var(--xeus-blue-soft)!important;border-color:var(--xeus-blue-border)!important;
}
#app-content .xeus-acc a.btn-outline-secondary:hover,#app-content .xeus-acc .btn.xeus-action-info:hover,
#adminInvoices a.btn-outline-secondary:hover:not(:where(.xeus-third-parties *)){background:var(--xeus-blue-hover)!important}
#app-content .xeus-acc a.btn-outline-secondary i,#app-content .xeus-acc .btn.xeus-action-info i{color:inherit}
#app-content .xeus-acc .xeus-acc-tabs .nav-link.active,
#app-content .xeus-acc .xeus-tax-tabs .nav-link.active,
#app-content .xeus-tax .tax-workspace-nav a[aria-current=page]{
  color:var(--xeus-blue);background:var(--xeus-blue-soft);box-shadow:inset 0 -2px var(--xeus-blue);
}
#app-content .xeus-acc .xeus-acc-tabs .nav-link:hover,
#app-content .xeus-acc .xeus-tax-tabs .nav-link:hover{background:var(--xeus-blue-soft);color:var(--xeus-blue)}
#app-content .xeus-acc .xeus-acc-tabs .nav-link i,#app-content .xeus-acc .xeus-tax-tabs .nav-link i{color:inherit}
#app-content .xeus-tax .tax-help summary,#app-content .xeus-tax .tax-company .bi{color:var(--xeus-blue)}
#app-content .xeus-tax .tax-overview{gap:10px;padding:12px}
#app-content .xeus-tax .tax-overview>div{padding:10px 12px;border-radius:7px;border-inline-start:3px solid #e1d4f4;background:#faf8fe}
#app-content .xeus-tax .tax-overview>.tax-overview-info{background:var(--xeus-blue-soft);border-color:var(--xeus-blue-border)}
#app-content .xeus-tax .tax-overview>.tax-overview-info strong{color:var(--xeus-blue)}
#app-content .xeus-tax .tax-overview>.tax-overview-success{background:var(--xeus-green-soft);border-color:var(--xeus-green-border)}
#app-content .xeus-tax .tax-overview>.tax-overview-neutral{background:#f7f8fa;border-color:#dce1e7}
#app-content .xeus-tax .tax-product-assignment h2 .bi{color:var(--xeus-blue)}
#app-content .xeus-tax .tax-coverage-value{color:var(--xeus-blue)}
#app-content .xeus-tax .tax-coverage .progress-bar{background:var(--xeus-blue)}
#app-content .xeus-tax .tax-coverage.is-complete .progress-bar{background:var(--xeus-green)}
#app-content .xeus-tax .tax-coverage.is-complete .tax-coverage-value{color:var(--xeus-green)}
#adminInvoices .ai-tabs [aria-pressed=true]{color:var(--xeus-blue);border-bottom-color:var(--xeus-blue);background:var(--xeus-blue-soft)}
#adminInvoices .ai-tabs button:hover{color:var(--xeus-blue);background:var(--xeus-blue-soft)}
#adminInvoices .ai-company i{color:var(--xeus-blue)}
@media(forced-colors:active){
 #app-content .xeus-acc .nav-link.active,#adminInvoices .ai-tabs [aria-pressed=true]{outline:2px solid Highlight;outline-offset:-2px}
}
