/* ==========================================================================
   KAVORA · Demo «Detección de fallas con cámaras (visión por computadora)»
   Estilos propios de la página (usa las variables de ../styles.css).
   ========================================================================== */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.vs-app, .vs-hero {
  --vs-panel: #111D21;
  --vs-panel-2: #18262B;
  --vs-panel-3: #1F3036;
  --vs-muted: rgba(246, 245, 240, 0.74);
  --vs-faint: rgba(246, 245, 240, 0.58);
  --vs-jade-bg: rgba(95, 197, 174, 0.12);
  --vs-warn: #F2CC8A;
  --vs-warn-bg: rgba(242, 204, 138, 0.1);
  --vs-red: #F4B9BC;
  --vs-red-strong: #E5484F;
  --vs-red-bg: rgba(229, 72, 79, 0.12);
}

/* ---------- Hero ---------- */
.vs-demo-label {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px; padding: 7px 14px;
  border: 1px solid rgba(95, 197, 174, 0.55); border-radius: 999px;
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--marfil); background: rgba(95, 197, 174, 0.08);
}
.vs-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); flex-shrink: 0; }
.vs-hero h1 { max-width: 24ch; }
.vs-hero .lead strong { color: var(--marfil); font-weight: 600; }
.vs-results {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 980px;
}
.vs-results li { padding: 4px 24px 4px 0; }
.vs-results li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.vs-results strong { display: block; font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; color: var(--jade); margin-bottom: 4px; }
.vs-results span { display: block; font-size: 0.96875rem; color: rgba(246, 245, 240, 0.78); }
@media (max-width: 760px) {
  .vs-results { grid-template-columns: minmax(0, 1fr); }
  .vs-results li, .vs-results li + li { padding: 14px 0; border-left: 0; }
  .vs-results li + li { border-top: 1px solid var(--line-dark); }
}
.vs-principle {
  margin: 28px 0 36px; padding: 16px 0 16px 20px;
  border-left: 2px solid var(--jade-logo); max-width: 64ch;
  font-size: 1.125rem; color: rgba(246, 245, 240, 0.9) !important;
}
.vs-principle strong { color: var(--jade); font-weight: 600; }

/* ---------- Cómo funciona ---------- */
.vs-how {
  background: var(--grafito);
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  padding-block: clamp(36px, 5vw, 56px);
}
.vs-how-title { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--jade); margin-bottom: 24px; }
.vs-how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.vs-how-steps li { padding: 4px 24px 4px 0; }
.vs-how-steps li + li { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.vs-how-num { display: block; font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; color: var(--jade); margin-bottom: 10px; }
.vs-how-steps h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.vs-how-steps p { font-size: 0.9375rem; color: rgba(246, 245, 240, 0.76); margin: 0; }
@media (max-width: 900px) {
  .vs-how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .vs-how-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
  .vs-how-steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .vs-how-steps li, .vs-how-steps li + li { padding: 18px 0; border-left: 0; }
  .vs-how-steps li + li { border-top: 1px solid var(--line-dark); }
}

/* ---------- Sección demo ---------- */
.vs-demo-section { padding-top: clamp(56px, 8vw, 104px); }
.vs-demo-head { margin-bottom: clamp(28px, 4vw, 48px); }
.vs-honesty { margin-bottom: 6px; }
.vs-honesty-sub { font-size: 0.875rem; color: var(--acero-claro) !important; max-width: 80ch; }

/* ---------- Marco de la app ---------- */
.vs-app {
  border: 1px solid var(--line-dark); background: var(--grafito);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
  color: var(--marfil); font-size: 0.96875rem; line-height: 1.5;
}
.vs-app p { color: inherit; margin: 0; }
.vs-appbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px; background: var(--vs-panel); border-bottom: 1px solid var(--line-dark);
}
.vs-appbar-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.vs-appbar-title img { width: 22px; height: auto; }
.vs-appbar-title > span:first-of-type { font-family: var(--font-head); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; }
.vs-chip-demo, .vs-chip-ia {
  font-family: var(--font-head); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 2px;
}
.vs-chip-demo { color: var(--vs-warn); border: 1px solid rgba(224, 168, 79, 0.5); }
.vs-chip-ia { color: var(--jade); border: 1px solid rgba(95, 197, 174, 0.5); }
.vs-reviewer { display: inline-flex; align-items: center; gap: 8px; font-size: 0.84375rem; color: var(--vs-muted); }
.vs-reviewer-av { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--jade-deep); color: var(--marfil); font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; }
.vs-reviewer-k { color: var(--vs-faint); }

/* Botones */
.vs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 9px 18px; border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--font-head); font-size: 0.84375rem; font-weight: 600; letter-spacing: 0.01em;
  cursor: pointer; text-decoration: none; line-height: 1.2; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.vs-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.vs-btn-primary { background: var(--jade-deep); color: var(--marfil); }
.vs-btn-primary:hover:not(:disabled) { background: var(--jade-text); }
.vs-btn-quiet { min-height: 40px; padding: 7px 13px; background: transparent; color: rgba(246, 245, 240, 0.86); border-color: var(--line-dark); font-weight: 500; }
.vs-btn-quiet:hover { border-color: rgba(95, 197, 174, 0.6); color: var(--marfil); }
.vs-btn-lg { min-height: 52px; padding: 12px 24px; font-size: 0.9375rem; }
.vs-btn-bad { background: var(--vs-red-bg); border-color: rgba(229, 72, 79, 0.65); color: var(--marfil); }
.vs-btn-bad:hover { background: rgba(229, 72, 79, 0.24); }
.vs-btn-ok { background: var(--vs-jade-bg); border-color: rgba(95, 197, 174, 0.65); color: var(--marfil); }
.vs-btn-ok:hover { background: rgba(95, 197, 174, 0.22); }
.vs-app :focus-visible { outline: 2px solid var(--jade); outline-offset: 2px; }
#vs-play .i-pause { display: none; }
#vs-play[aria-pressed="true"] .i-pause { display: block; }
#vs-play[aria-pressed="true"] .i-play { display: none; }

/* ---------- Cámara + métricas ---------- */
.vs-top {
  display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line-dark);
}
.vs-cam-col { padding: clamp(14px, 2vw, 24px); border-right: 1px solid var(--line-dark); min-width: 0; }
.vs-cam { position: relative; background: #070C0D; border: 1px solid var(--line-dark); border-radius: 4px; overflow: hidden; }
.vs-cam canvas { display: block; width: 100%; height: auto; aspect-ratio: 960 / 340; }
.vs-cam-hud {
  position: absolute; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; pointer-events: none;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.75rem; letter-spacing: 0.06em;
  color: rgba(246, 245, 240, 0.86); background: linear-gradient(rgba(7, 12, 13, 0.75), rgba(7, 12, 13, 0));
}
.vs-rec { display: inline-flex; align-items: center; gap: 7px; }
.vs-rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acero); }
.vs-app.is-running .vs-rec-dot { background: var(--vs-red-strong); animation: vs-blink 1.2s steps(2, start) infinite; }
@keyframes vs-blink { to { visibility: hidden; } }
.vs-cam-caption { font-size: 0.8125rem; color: var(--vs-faint) !important; margin-top: 8px !important; }
.vs-cam-caption strong { color: var(--vs-muted); font-weight: 600; }

.vs-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.vs-ctl-k { font-family: var(--font-head); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vs-faint); }
.vs-speed { display: inline-flex; align-items: center; gap: 4px; }
.vs-speed .vs-ctl-k { margin-right: 6px; }
.vs-speed button {
  min-width: 44px; min-height: 40px; border-radius: var(--radius); cursor: pointer;
  border: 1px solid var(--line-dark); background: transparent; color: var(--vs-muted);
  font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600;
}
.vs-speed button[aria-pressed="true"] { background: var(--vs-jade-bg); border-color: rgba(95, 197, 174, 0.7); color: var(--marfil); }
.vs-progress { display: inline-flex; align-items: center; gap: 10px; flex: 1 1 180px; min-width: 0; font-size: 0.875rem; color: var(--vs-muted); }
.vs-progress-bar { flex: 1; height: 6px; border-radius: 3px; background: var(--vs-panel-3); overflow: hidden; min-width: 60px; }
.vs-progress-bar span { display: block; height: 100%; width: 0; background: var(--jade); transition: width .3s ease; }
#vs-progress-txt { font-variant-numeric: tabular-nums; white-space: nowrap; }

.vs-sens { margin-top: 16px; padding: 14px 16px; background: var(--vs-panel-2); border: 1px solid var(--line-dark); border-radius: 6px; }
.vs-sens-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vs-sens label { font-family: var(--font-head); font-size: 0.875rem; font-weight: 600; }
.vs-sens output { font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600; color: var(--jade); }
.vs-sens input[type="range"] { width: 100%; accent-color: var(--jade-logo); height: 28px; margin: 6px 0 0; }
.vs-sens-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--vs-faint); }
.vs-sens-help { font-size: 0.875rem; color: var(--vs-muted) !important; margin-top: 8px !important; }
.vs-sens-help span { color: var(--marfil); }

.vs-metrics { padding: clamp(14px, 2vw, 24px); min-width: 0; }
.vs-block-title { font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jade); margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.vs-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.vs-kpis > div { background: var(--vs-panel-2); border: 1px solid var(--line-dark); border-radius: 6px; padding: 12px 14px; }
.vs-kpis dt { font-size: 0.8125rem; color: var(--vs-muted); }
.vs-kpis dd { margin: 2px 0 0; font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vs-kpis .is-ok dd { color: var(--jade); }
.vs-kpis .is-bad dd { color: var(--vs-red); }
.vs-pending-pill {
  display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 14px; min-height: 44px;
  border: 1px dashed rgba(242, 204, 138, 0.5); border-radius: 6px; background: var(--vs-warn-bg);
  color: var(--vs-warn); text-decoration: none; font-size: 0.9375rem;
}
.vs-pending-pill:hover { border-style: solid; }
.vs-pending-pill.is-zero { border-color: var(--line-dark); background: transparent; color: var(--vs-faint); }
.vs-pend-n { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.vs-sub { font-family: var(--font-head); font-size: 0.875rem; font-weight: 600; margin: 22px 0 10px; }
.vs-chart { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-chart li { display: grid; grid-template-columns: 104px minmax(0, 1fr) 28px; align-items: center; gap: 10px; font-size: 0.875rem; }
.vs-chart .vs-bar { height: 12px; background: var(--vs-panel-3); border-radius: 2px; overflow: hidden; }
.vs-chart .vs-bar span { display: block; height: 100%; width: 0; border-radius: 2px; transition: width .4s ease; }
.vs-chart .vs-n { text-align: right; font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; }
.vs-swatch { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 7px; vertical-align: 0; }
.vs-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.84375rem; color: var(--vs-muted); }
.vs-legend li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; line-height: 1.4; }
.vs-legend strong { color: var(--marfil); font-weight: 600; }
.vs-lg { width: 22px; height: 16px; border: 2px solid; border-radius: 1px; margin-top: 1px; }
.vs-lg-auto { border-color: #E5484F; }
.vs-lg-rev { border-color: #F2CC8A; }
.vs-lg-ok { border: 0; background: rgba(95, 197, 174, 0.2); box-shadow: inset 0 0 0 1px #5FC5AE; }
.vs-chart-note { font-size: 0.8125rem; color: var(--vs-faint) !important; margin-top: 10px !important; }

/* ---------- Cola de revisión ---------- */
.vs-review-wrap { padding: clamp(16px, 2.4vw, 28px); border-bottom: 1px solid var(--line-dark); background: linear-gradient(var(--vs-panel), var(--grafito)); }
.vs-review-wrap:focus { outline: none; }
.vs-review-head { margin-bottom: 16px; }
.vs-review-head h3 { font-size: 1.1875rem; margin: 0 0 4px; display: flex; align-items: center; gap: 10px; }
.vs-review-head p:last-child { color: var(--vs-muted); font-size: 0.9375rem; }
.vs-kicker { font-family: var(--font-head); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vs-warn); margin-bottom: 6px !important; }
.vs-count {
  display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px;
  background: var(--vs-panel-3); color: var(--marfil); font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0;
}
.vs-review-wrap .vs-count.has { background: var(--vs-warn); color: var(--grafito-deep); }
.vs-queue { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 14px; }
.vs-item {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px;
  background: var(--vs-panel-2); border: 1px solid rgba(242, 204, 138, 0.35); border-radius: 6px; padding: 14px;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.vs-item.is-flash { animation: vs-flash 1.8s ease; }
@keyframes vs-flash { 0%, 40% { box-shadow: 0 0 0 3px var(--vs-warn); } 100% { box-shadow: 0 0 0 0 transparent; } }
.vs-item.is-done { border-color: var(--line-dark); background: var(--grafito); }
.vs-item-imgs { display: grid; gap: 8px; align-content: start; }
.vs-item-imgs canvas { width: 100%; height: auto; display: block; border-radius: 3px; background: #070C0D; }
.vs-zoom { position: relative; }
.vs-zoom-k { position: absolute; left: 6px; top: 6px; font-family: var(--font-head); font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(7, 12, 13, 0.8); color: var(--marfil); padding: 2px 6px; border-radius: 2px; }
.vs-item-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.vs-item-id { font-family: var(--font-head); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--vs-faint); }
.vs-item-det { font-family: var(--font-head); font-size: 1.0625rem; font-weight: 600; }
.vs-conf { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--vs-muted); }
.vs-conf-bar { flex: 1; max-width: 140px; height: 6px; border-radius: 3px; background: var(--vs-panel-3); position: relative; overflow: hidden; }
.vs-conf-bar span { position: absolute; inset: 0 auto 0 0; background: var(--vs-warn); }
.vs-conf-bar::after { content: ""; position: absolute; left: 75%; top: -2px; bottom: -2px; width: 2px; background: var(--marfil); opacity: .55; }
.vs-why { font-size: 0.875rem; color: var(--vs-muted) !important; }
.vs-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.vs-actions .vs-btn { flex: 1 1 120px; }
.vs-decided { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 0.9375rem; margin-top: auto; }
.vs-decided strong { font-family: var(--font-head); }
.vs-decided .is-bad { color: var(--vs-red); }
.vs-decided .is-ok { color: var(--jade); }
.vs-undo { background: none; border: 0; color: var(--vs-muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 0.875rem; min-height: 40px; padding: 0 4px; }
.vs-undo:hover { color: var(--marfil); }
.vs-empty { font-size: 0.9375rem; color: var(--vs-faint) !important; padding: 18px; border: 1px dashed var(--line-dark); border-radius: 6px; text-align: center; }
@media (max-width: 480px) {
  .vs-item { grid-template-columns: minmax(0, 1fr); }
  .vs-item-imgs { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ---------- Galería + registro ---------- */
.vs-bottom { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); border-bottom: 1px solid var(--line-dark); }
.vs-gallery-wrap, .vs-audit-wrap { padding: clamp(16px, 2.4vw, 28px); min-width: 0; }
.vs-gallery-wrap { border-right: 1px solid var(--line-dark); }
.vs-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.vs-gallery li { background: var(--vs-panel-2); border: 1px solid var(--line-dark); border-radius: 4px; padding: 6px; font-size: 0.75rem; line-height: 1.3; }
.vs-gallery canvas { width: 100%; height: auto; display: block; border-radius: 2px; margin-bottom: 5px; }
.vs-gallery .g-t { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.75rem; }
.vs-gallery .g-m { display: block; color: var(--vs-faint); }
.vs-gallery .g-h { color: var(--vs-warn); }
.vs-gal-more { display: grid; place-items: center; text-align: center; color: var(--vs-muted); font-family: var(--font-head); font-weight: 600; }
.vs-audit { scrollbar-color: rgba(246, 245, 240, 0.28) transparent; color-scheme: dark; list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; border: 1px solid var(--line-dark); border-radius: 6px; }
.vs-audit li { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 10px; padding: 9px 12px; font-size: 0.84375rem; border-top: 1px solid var(--line-dark); }
.vs-audit li:first-child { border-top: 0; }
.vs-audit time { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.75rem; color: var(--vs-faint); padding-top: 2px; }
.vs-audit .a-who { color: var(--vs-faint); }
.vs-audit .a-human { color: var(--jade); }
.vs-audit li.is-new { animation: vs-new 1.4s ease; }
@keyframes vs-new { from { background: rgba(95, 197, 174, 0.14); } to { background: transparent; } }

/* ---------- Cierre ---------- */
.vs-final {
  display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  padding: clamp(16px, 2.4vw, 24px) clamp(16px, 2.4vw, 28px); background: var(--vs-panel);
}
.vs-final-txt { flex: 1 1 320px; min-width: 0; }
.vs-final-k { font-family: var(--font-head); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--jade); margin-bottom: 4px !important; }
#vs-final-msg { color: var(--vs-muted); font-size: 0.9375rem; }
#vs-final-msg.is-warn { color: var(--vs-warn); }
#vs-final-msg.is-done { color: var(--marfil); }
.vs-final .vs-btn-lg { flex: 0 0 auto; }
.vs-app.is-closed .vs-final { background: rgba(95, 197, 174, 0.1); }

/* ---------- Qué incluye ---------- */
.vs-includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 28px 32px; }
.vs-includes li { border-top: 2px solid var(--jade-deep); padding-top: 16px; }
.vs-inc-num { display: block; font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; color: var(--jade-text); margin-bottom: 8px; }
.vs-includes h3 { font-size: 1.0625rem; color: var(--ink); }
.vs-includes p { font-size: 0.96875rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .vs-top { grid-template-columns: minmax(0, 1fr); }
  .vs-cam-col { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .vs-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vs-bottom { grid-template-columns: minmax(0, 1fr); }
  .vs-gallery-wrap { border-right: 0; border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 620px) {
  .vs-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-appbar-title > span:first-of-type { flex-basis: 100%; order: -1; }
  .vs-appbar-title img { display: none; }
  .vs-final .vs-btn-lg { width: 100%; white-space: normal; }
  .vs-cam-hud { font-size: 0.625rem; padding: 6px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .vs-app *, .vs-app *::before, .vs-app *::after { animation: none !important; transition: none !important; }
}

/* En pantallas chicas, el botón flotante de WhatsApp se oculta mientras la demo está en pantalla (tapaba el contador del lote) */
.wa-float { transition: opacity .2s ease, visibility .2s ease; }
@media (max-width: 900px) { html.vs-app-on .wa-float { opacity: 0; visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

.vs-tech-note { display: block; margin-top: 8px; font-size: 0.8125rem; opacity: .85; }
