/* Regla general de pantalla: contenido estable y fondo nítido.
   No modifica transformaciones funcionales de gráficos, mapas, arrastre o zoom. */
@media screen {
 /* Superficies opacas para conservar la legibilidad al retirar el vidrio difuminado. */
 :root {
  --workspace-panel:linear-gradient(125deg,#f6fbff,#eaf5ff);
  --workspace-glass:linear-gradient(130deg,#edf8ff,#deeff5);
  --workspace-bar:linear-gradient(115deg,color-mix(in srgb,var(--theme-glow) 9%,#193041),#0a2033);
 }
 :root[data-ui-theme="blanco"] {
  --workspace-panel:linear-gradient(125deg,#fff,#f7fafb);
  --workspace-glass:linear-gradient(130deg,#fff,#eef5fb);
  --workspace-bar:linear-gradient(115deg,#fff,#eaf2f9);
 }
 html body :is(#authScreen .auth-panel,.workspace-tile,.vp-module-header) {background-color:var(--glass-dark,#0b253b);}
 html body #appShell>.topbar {background-color:var(--glass-dark,#111e31);}

 html body,html body::before,html body::after,
 html body *,html body *::before,html body *::after {
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
 }
 html body.vp-workspace.authenticated::before {filter:none;}
 html body dialog::backdrop {
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
 }
 html body :is(.workspace-tile,.vp-depth-surface,.vp-depth-frame),
 html body #todoRoot :is(.td-tilt,.td-status-copy),
 html body :is(.content,dialog,.modal,.auth-panel) .btn:active:not(:disabled) {
  transform:none !important;
 }
 html body .vp-depth-frame::after {display:none !important;}
 @keyframes mc-step {from{opacity:0}to{opacity:1}}
 /* Sólo confirmaciones que cambian o eliminan registros conservan énfasis. */
 html body :is(#dbManageDialog,#changeDeleteDialog,#intakeRevokeDialog,.vl-execution-dialog)::backdrop {
  background:#142a3e85;
  backdrop-filter:blur(2px) !important;
  -webkit-backdrop-filter:blur(2px) !important;
 }
 @media(forced-colors:active) {
  html body :is(#dbManageDialog,#changeDeleteDialog,#intakeRevokeDialog,.vl-execution-dialog)::backdrop {
   backdrop-filter:none !important;
   -webkit-backdrop-filter:none !important;
  }
 }
}
