/* scandi-extra.css — supplementary rules the prototype injected at runtime via
   <style> tags (not part of its static styles.css). Kept separate so scandi.css
   stays a verbatim copy of the prototype stylesheet. */

/* rooms.jsx: BV classification pill active/hover states. */
.bv-pill[data-active="true"] {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  z-index: 1;
}
.bv-pill:hover:not([data-active="true"]) {
  background: var(--accent-soft);
  color: var(--ink);
}

/* upload-flow.tsx: determinate progress for a floor-plan read. The upload POST
   blocks the browser, so the page polls GET /upload-progress and fills this to
   whatever the server reports. The transition smooths the half-second poll
   interval into a continuous move rather than a visible step. */
.ot-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}
.ot-progress__fill {
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.45s linear;
}
@media (prefers-reduced-motion: reduce) {
  .ot-progress__fill { transition: none; }
}
