/*
 * StockDesk brand polish — loaded AFTER the built app stylesheet.
 * Conservative, cosmetic-only rules. No layout (display/position/size)
 * overrides on app-generated class names.
 */

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Text selection in brand teal */
::selection {
  background: #0f8b8d;
  color: #ffffff;
}

/* Visible, consistent keyboard-focus ring (does not affect mouse users) */
:focus-visible {
  outline: 2px solid #0f8b8d;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Slim branded scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: #b8ccc6 transparent;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #b8ccc6;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #93aca5;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
