/* TRAZZA Design & Motion V1: capa visual no funcional. */
:root {
  --trz-motion-v1-fast: 120ms;
  --trz-motion-v1-control: 150ms;
  --trz-motion-v1-module: 180ms;
  --trz-motion-v1-dialog: 200ms;
  --trz-motion-v1-drawer: 220ms;
  --trz-motion-v1-ease: cubic-bezier(.2,.75,.25,1);
}
.app .sidebar {
  transition-duration: var(--trz-motion-v1-drawer);
  transition-timing-function: var(--trz-motion-v1-ease);
}
.app .sidebar .menu-btn {
  transition-duration: var(--trz-motion-v1-control) !important;
  transition-timing-function: var(--trz-motion-v1-ease) !important;
}
.app .drawer-tab {
  transition-duration: var(--trz-motion-v1-fast) !important;
}
.app .drawer-tab span {
  transition-duration: var(--trz-motion-v1-drawer);
  transition-timing-function: var(--trz-motion-v1-ease);
}
#trzFastToast {
  transition-duration: var(--trz-motion-v1-module);
  transition-timing-function: var(--trz-motion-v1-ease);
}
.app .sidebar .menu-btn:focus-visible,
.app .drawer-tab:focus-visible {
  outline: 2px solid #ffffff !important;
  outline-offset: 2px;
}
#viewContainer :is(button,.btn,input,select,textarea,a[href]):not(.leaflet-container *):focus-visible {
  outline: 2px solid var(--trazza-navy,#122133) !important;
  outline-offset: 2px;
}
@keyframes trz-motion-v1-feedback {
  from { opacity: .75; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  #viewContainer.trz-fast-enter,
  #viewContainer .trz-fast-enter {
    animation-duration: var(--trz-motion-v1-module);
  }
  #adminUiFeedbackHost > div,
  #adminUiDialogOverlay {
    animation: trz-motion-v1-feedback var(--trz-motion-v1-dialog) var(--trz-motion-v1-ease);
  }
}
@media (prefers-reduced-motion: reduce) {
  .app .sidebar,
  .app .sidebar .menu-btn,
  .app .drawer-tab,
  .app .drawer-tab span,
  #viewContainer :is(button,.btn):not(.leaflet-container *),
  #trzFastBar,
  #trzFastToast {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  #viewContainer.trz-fast-enter,
  #viewContainer .trz-fast-enter,
  body.trz-fast-loading .trz-soft-pulse {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
  }
}
