/* BoleteraDigital · Sistema visual global · Build 122
   Base de tokens; no sobrescribe componentes específicos. */
:root{
  color-scheme:light;
  --bd-page-bg:#ffffff;
  --bd-surface:#ffffff;
  --bd-surface-muted:#ffffff;
  --bd-text:#090909;
  --bd-text-muted:#6b6b70;
  --bd-separator:rgba(0,0,0,.10);
  --bd-separator-strong:rgba(0,0,0,.16);
  --bd-blue:#097bfd;
  --bd-green:#27c86f;
  --bd-yellow:#f29e18;
  --bd-red:#ff2c2c;
  --bd-radius-control:13px;
  --bd-radius-card:18px;
  --bd-radius-modal:24px;
  --bd-radius-sheet:28px;
  --bd-shadow-float:0 12px 34px rgba(0,0,0,.10);
}
html.dark,html[data-theme="dark"],:root[data-theme="dark"],body.dark-mode{
  color-scheme:dark;
  --bd-page-bg:#000000;
  --bd-surface:#000000;
  --bd-surface-muted:#000000;
  --bd-text:#ffffff;
  --bd-text-muted:#a1a1a6;
  --bd-separator:rgba(255,255,255,.13);
  --bd-separator-strong:rgba(255,255,255,.20);
  --bd-shadow-float:none;
}
html,body{background-color:var(--bd-page-bg);}
button,input,select,textarea{font:inherit;}
:focus-visible{outline:3px solid color-mix(in srgb,var(--bd-blue) 58%,transparent);outline-offset:2px;}

/* Build 150: neutraliza el amarillo de Autocompletar sin ocultar texto ni placeholders. */
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,input:-webkit-autofill:active,textarea:-webkit-autofill,textarea:-webkit-autofill:hover,textarea:-webkit-autofill:focus,select:-webkit-autofill,select:-webkit-autofill:hover,select:-webkit-autofill:focus{-webkit-text-fill-color:var(--bd-autofill-text,var(--text,var(--fg,currentColor)))!important;caret-color:var(--bd-autofill-text,var(--text,var(--fg,currentColor)))!important;-webkit-box-shadow:0 0 0 1000px var(--bd-autofill-bg,var(--input-bg,var(--surface,var(--card,var(--bg,#fff))))) inset!important;box-shadow:0 0 0 1000px var(--bd-autofill-bg,var(--input-bg,var(--surface,var(--card,var(--bg,#fff))))) inset!important;transition:background-color 999999s ease-out 0s!important}
input::placeholder,textarea::placeholder{color:var(--bd-placeholder,var(--muted,#7a8190))!important;opacity:1}
