/* StockTrack design tokens — shared by the storefront and the admin panel.
   Mood: harbour at dusk. Fog (ground), petrol (ink and dark ground), buoy (the one signal colour). */
:root {
  --fog: #E7ECEA;
  --mist: #F4F7F6;
  --petrol: #0C2B33;
  --deep: #071C22;
  --abyss: #04141A;
  --buoy: #FF4A1C;
  --buoy-soft: rgba(255, 74, 28, .14);
  --ok: #27B58A;
  --ok-soft: rgba(39, 181, 138, .14);
  --steel: #6B8085;
  --steel-light: #9FB1B4;
  --line: rgba(12, 43, 51, .12);
  --line-dark: rgba(231, 236, 234, .1);

  --f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Geist", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r-s: 10px; --r-m: 18px; --r-l: 28px; --r-xl: 40px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--f-body); font-size: 15px; line-height: 1.5; color: var(--petrol); background: var(--fog); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--buoy); color: #fff; }
:focus-visible { outline: 2px solid var(--buoy); outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* status dot: the only place colour speaks */
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; position: relative; }
.dot.low, .dot.out { background: var(--buoy); }
.dot.low::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--buoy); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
