/* ===========================================================================
   HOME — puerto de screens/home_screen.dart + menus.dart + view_buttons.dart
   Pila a pantalla completa: visor 3D al fondo, overlays, barra superior,
   barras azules, menús ocultos animados (340 ms easeOutCubic) y pastillas.
   =========================================================================== */

#screen-home { overflow: hidden; }

/* ------------------------- VISOR 3D (fondo de la pila) ------------------- */
#viewer3d-holder {
  position: fixed;
  inset: 0;
  z-index: 0;               /* bajo las pantallas (#app está por encima) */
  opacity: 0;
  pointer-events: none;
  transition: opacity 550ms ease;
}
#viewer3d-holder.visible { opacity: 1; pointer-events: auto; }
#viewer3d-holder.frozen  { pointer-events: none; }

/* El visor vive BAJO #app: para que el ratón/dedo llegue al iframe, toda la
   cadena que cubre el escenario (app → pantalla home → pila) es transparente
   al puntero, y cada hijo directo de la pila lo recupera. Splash y registro
   siguen recibiendo eventos con normalidad (.screen los reactiva). */
#app { pointer-events: none; }
.screen { pointer-events: auto; }
#screen-home { pointer-events: none; }
#viewer3d-holder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
  opacity: 0;
}
#viewer3d-holder.frame-ready iframe { opacity: 1; }

/* Marcadores de estado del modelo (vacío / cargando / error), centrados. */
.model-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
  text-align: center;
}
.model-placeholder .txt {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-soft);
}
.model-placeholder .bar {
  width: 280px;
  height: 8px;
  border-radius: 8px;
  background: #E6E9EF;
  overflow: hidden;
}
.model-placeholder .bar > i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--blue);
  border-radius: 8px;
  transition: width 200ms ease;
}

/* ------------------------- CAPAS DE LA PILA ------------------------------ */
.home-stack { position: absolute; inset: 0; }
.home-stack > * { pointer-events: auto; }
.home-layer { position: absolute; inset: 0; pointer-events: none; }
.home-layer > * { pointer-events: auto; }

/* ------------------------- BARRAS AZULES --------------------------------- */
.blue-bar {
  background: var(--blue);
  border-radius: 4px;
  cursor: pointer;
}
.blue-bar-hit { padding: 14px; position: absolute; }
.blue-bar-hit.left   { left: 6px;  top: 50%; transform: translateY(-50%); }
.blue-bar-hit.right  { right: 6px; top: 50%; transform: translateY(-50%); }
.blue-bar-hit.bottom { bottom: 6px; left: 50%; transform: translateX(-50%); }
.blue-bar-hit.top    { top: 6px;    left: 50%; transform: translateX(-50%); }
.blue-bar-hit.left .blue-bar,
.blue-bar-hit.right .blue-bar { width: 7px; height: 88px; }
.blue-bar-hit.bottom .blue-bar,
.blue-bar-hit.top .blue-bar { width: 88px; height: 7px; }

.blue-bar-hit {
  opacity: 1;
  transition: opacity var(--menu-anim);
}
.blue-bar-hit.hidden { opacity: 0; pointer-events: none; }

/* ------------------------- MENÚS OCULTOS --------------------------------- */
/* Deslizamiento + fundido compartido (AnimatedSlide/Opacity de _animatedMenu) */
.menu-holder {
  position: absolute;
  transition: transform var(--menu-anim), opacity var(--menu-anim);
}
.menu-holder.left   { left: 30px;  top: 50%; --tx: -200%; --ty: -50%; }
.menu-holder.right  { right: 30px; top: 50%; --tx:  200%; --ty: -50%; }
.menu-holder.bottom { bottom: 30px; left: 50%; --tx: -50%; --ty: 240%; }
.menu-holder.left,
.menu-holder.right  { transform: translate(0, -50%); }
.menu-holder.bottom { transform: translate(-50%, 0); }
.menu-holder.closed {
  opacity: 0;
  pointer-events: none;
}
.menu-holder.left.closed   { transform: translate(-200%, -50%); }
.menu-holder.right.closed  { transform: translate(200%, -50%); }
.menu-holder.bottom.closed { transform: translate(-50%, 240%); }

/* Panel del menú (AppPanel radio 21 vertical / 18 horizontal) */
.menu-panel {
  background: var(--panel);
  border: var(--panel-border);
  box-shadow: var(--soft-shadow);
}
.menu-panel.vertical {
  border-radius: 21px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.menu-panel.horizontal {
  border-radius: 18px;
  padding: 4px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.menu-divider-h { height: 1px; margin: 0 11px; background: var(--divider); }
.menu-divider-v { width: 1px; height: 58px; background: var(--divider); }

/* Ítem de menú: icono + etiqueta + punto azul de selección */
.menu-item {
  width: 89px;
  padding: 16px 6px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: background 120ms ease;
}
.menu-item:hover { background: rgba(30, 150, 255, 0.08); }
.menu-item .mi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-item .mi-label {
  margin-top: var(--label-gap, 8px);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}
.menu-item .mi-dot {
  margin-top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transition: opacity 200ms ease;
}
.menu-item.selected .mi-dot { opacity: 1; }

.menu-panel.horizontal .menu-item { width: 122px; padding: 4.4px 6px; }

/* ------------------------- PASTILLAS NOTES / HELP&GO --------------------- */
.corner-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: var(--panel);
  border: var(--panel-border);
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  transition: opacity var(--menu-anim), transform 120ms ease;
}
.corner-pill:active { transform: scale(0.97); }
.corner-pill.notes  { right: 26px; bottom: 30px; }
.corner-pill.helpgo { left: 26px;  bottom: 30px; }
.corner-pill.hidden { opacity: 0; pointer-events: none; }
.corner-pill .hg-count {
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ------------------------- BOTONES FLOTANTES DEL VISOR ------------------- */
/* Tarjeta compartida (_buttonCard: 78 px, radio 14) */
.viewer-card-btn {
  position: absolute;
  width: 78px;
  padding: 10px 6px;
  border-radius: 14px;
  background: #fff;
  border: var(--panel-border);
  box-shadow: var(--soft-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--navy);
  transition: opacity var(--menu-anim), background 140ms ease, color 140ms ease;
}
.viewer-card-btn.on { background: var(--blue); color: #fff; }
.viewer-card-btn .cap {
  font-size: 10.5px;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.viewer-card-btn.pan-toggle { top: 116px; right: 26px; }
.viewer-card-btn.hidden { opacity: 0; pointer-events: none; }

/* ------------------------- OVERLAY DE DIÁLOGO DE MENÚ -------------------- */
/* Igual que showAppDialog pero DENTRO de la pila, bajo los menús, para que el
   icono que lo abrió siga pulsable y un segundo toque lo cierre. */
.menu-dialog-layer { position: absolute; inset: 0; }
.menu-dialog-layer .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 260ms ease;
}
.menu-dialog-layer.open .backdrop { opacity: 1; }
.menu-dialog-layer .center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 260ms ease;
}
.menu-dialog-layer.open .center { opacity: 1; }

/* ------------------------- CATÁLOGO -------------------------------------- */
.catalog-overlay { position: absolute; inset: 0; }
.catalog-band {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% - 6px);
  transform: translateY(-50%);
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 40px 48px;         /* aire para que la sombra no se recorte */
  scrollbar-width: none;
}
.catalog-band::-webkit-scrollbar { display: none; }
.catalog-card {
  flex: none;
  background: var(--panel);
  border: 1.6px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.30);
  padding: 30px;              /* margen de 30 px alrededor de la imagen */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 140ms ease;
}
.catalog-card:hover { transform: translateY(-4px); }
.catalog-card img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.catalog-card .missing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--navy-soft);
  font-size: 13px;
  font-weight: 600;
}

/* ------------------------- PANELES FLOTANTES (piezas / iluminación) ------ */
.float-panel {
  position: absolute;
  background: var(--panel);
  border: var(--panel-border);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  width: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.float-panel .fp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  cursor: grab;
  border-bottom: 1px solid var(--divider);
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}
.float-panel .fp-head:active { cursor: grabbing; }
.float-panel .fp-head .x {
  margin-left: auto;
  cursor: pointer;
  color: #1C2230;
  display: flex;
  border-radius: 8px;
  padding: 2px;
}
.float-panel .fp-body {
  padding: 10px 12px 14px;
  overflow: auto;
  max-height: 52vh;
}

/* Árbol de piezas */
.parts-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 6px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
}
.parts-row:hover { background: rgba(30, 150, 255, 0.08); }
.parts-row.selected { background: rgba(30, 150, 255, 0.16); }
.parts-row .chevron {
  width: 18px;
  display: flex;
  justify-content: center;
  color: var(--navy-soft);
  transition: transform 140ms ease;
}
.parts-row .chevron.open { transform: rotate(90deg); }
.parts-row .flags { margin-left: auto; display: flex; gap: 4px; color: var(--navy-soft); }
.parts-actions {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--divider);
}
.parts-actions button {
  flex: 1;
  padding: 9px 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--divider);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
}
.parts-actions button:hover { border-color: var(--blue); color: var(--blue); }

/* Panel de iluminación */
.light-row { display: flex; align-items: center; gap: 10px; padding: 6px 2px; }
.light-row .lr-label {
  width: 108px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
}
.light-row input[type="range"] { flex: 1; accent-color: var(--blue); }
.light-row select {
  flex: 1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  border: 1px solid var(--divider);
  border-radius: 10px;
  padding: 6px 8px;
  background: #fff;
}

/* ------------------------- FLASH + MINIATURA DE CAPTURA ------------------ */
.capture-flash {
  position: fixed;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 1500;
}
.capture-flash.go { animation: cap-flash 260ms ease-out; }
@keyframes cap-flash { 0% { opacity: 0.85; } 100% { opacity: 0; } }

.capture-fly {
  position: fixed;
  z-index: 1500;
  border-radius: 10px;
  border: 2px solid #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: transform 620ms cubic-bezier(0.4, 0, 0.6, 1), opacity 620ms ease;
}

/* ========================================================================
   VIDEO mode (Preferencias > VIDEO)
   ------------------------------------------------------------------------
   Limpia la periferia de la Home para grabaciones/demos. Los disparadores de
   los menús y las pastillas de esquina NO desaparecen del layout ni pierden
   el hit-area: solo se vuelven invisibles, de modo que tocar el hueco sigue
   abriendo exactamente la misma función.
   ======================================================================== */
#screen-home.video-mode .blue-bar-hit:not(.hidden) .blue-bar {
  opacity: 0;
}
#screen-home.video-mode .corner-pill:not(.hidden) {
  opacity: 0;
  /* pointer-events se conserva deliberadamente: el hueco sigue pulsable. */
}
#screen-home.video-mode .top-bar .tb-logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#screen-home .top-bar .tb-logo,
#screen-home .blue-bar,
#screen-home .corner-pill {
  transition: opacity var(--menu-anim), transform 120ms ease;
}

/* ========================================================================
   VIDEO v20 · lateral derecho = el MISMO lateral clásico
   ------------------------------------------------------------------------
   El menú HMI/Limpiar/Desmontar se monta dentro de .menu-holder.right.
   Por tanto comparte exactamente coordenadas, transición y gesto de cierre
   con el menú View normal. El tirador también es el mismo .blue-bar-hit.right.
   ======================================================================== */
#screen-home.video-mode .tb-right {
  gap: 12px;
}
/* En VIDEO el HMI deja libre el escenario: su superficie transparente no
   bloquea el visor; la imagen del HMI conserva sus controles/drag. */
#screen-home.video-mode .hmi-overlay { pointer-events: none; }
#screen-home.video-mode .hmi-image,
#screen-home.video-mode .hmi-restore { pointer-events: auto; }

/* En VIDEO las demás barras azules siguen invisibles, pero el tirador DERECHO
   debe conservar exactamente el mismo aspecto/posición que en modo normal. */
#screen-home.video-mode .blue-bar-hit.right:not(.hidden) .blue-bar {
  opacity: 1 !important;
}

/* El holder derecho conserva sus reglas clásicas (right:30px; top:50% y
   translateY(-50%)). Sólo cambia el contenido que se muestra dentro. */
#screen-home.video-mode .menu-holder.right {
  z-index: 12;
  touch-action: none;
  /* v39: this holder is only a positioning shell. Its invisible layout box
     must not cover the iframe and steal clicks from the selected-part menu. */
  pointer-events: none;
}
.video-quick-panel {
  padding: 9px 11.25px 11.25px !important;
  display: grid !important;
  grid-template-columns: repeat(3, 80px);
  grid-template-rows: 28px repeat(3, 86.25px);
  gap: 5px 7.5px;
  transform: translate3d(var(--video-quick-x, 0px), var(--video-quick-y, 0px), 0);
  transition: none !important;
  touch-action: none;
  cursor: default;
  border-radius: 18px !important;
  /* The panel background/gaps are click-through. Only the nine controls and
     the top dragbar capture input, so no invisible/empty area can mask the
     3D selected-part controls underneath. */
  pointer-events: none;
}
.video-quick-panel[hidden] { display: none !important; }
.video-quick-dragbar {
  display: none !important;
}
.video-quick-dragbar:active { cursor: grabbing; }
.video-quick-drag-dots {
  width: 31px;
  height: 12px;
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(2, 4px);
  gap: 4px 6px;
  align-content: center;
  justify-content: center;
  opacity: .55;
  pointer-events: none;
}
.video-quick-drag-dots i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.video-quick-panel .menu-item {
  width: 80px;
  height: 86.25px;
  box-sizing: border-box;
  padding: 6px 4px 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  pointer-events: auto;
  touch-action: manipulation;
  cursor: pointer;
}
.video-quick-panel .mi-icon { height: 47.5px; display:flex; align-items:center; justify-content:center; overflow:hidden; pointer-events:none; }
.video-quick-panel .mi-icon img { width:47.5px !important; height:47.5px !important; object-fit:contain; }
.video-quick-panel .mi-label { font-size:11.9px; line-height:1.05; margin-top:0 !important; pointer-events:none; }
.video-quick-panel .video-quick-symbol {
  width: 47.5px;
  height: 47.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38.75px;
  font-weight: 300;
  color: var(--navy);
  pointer-events: none;
}
.video-quick-item.disabled {
  cursor: default;
  opacity: 0.58;
}
.video-quick-item.disabled:hover { background: transparent; }


/* ========================================================================
   VIDEO v21 · temperatura móvil y acciones mecánicas del lateral
   ======================================================================== */
.video-temp-popover {
  position: absolute;
  left: calc(100% - 310px);
  top: calc(50% - 173px);
  width: 146px;
  min-height: 346px;
  box-sizing: border-box;
  padding: 14px 14px 12px;
  border-radius: 20px;
  background: #F7F9FC;
  border: 1px solid rgba(30, 150, 255, .34);
  box-shadow: 0 10px 34px rgba(12, 33, 62, .18), 0 0 16px rgba(30, 150, 255, .10);
  color: #203A63;
  z-index: 3;
  pointer-events: auto;
  touch-action: none;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  overflow-x: hidden;
}
.video-temp-popover[hidden] { display: none !important; }
.video-temp-popover .vt-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 700;
  color: #203A63;
  white-space: nowrap;
  cursor: grab;
  user-select: none;
}
.video-temp-popover .vt-title:active { cursor: grabbing; }
.video-temp-popover .vt-title .material-symbols-outlined {
  font-size: 20px;
  color: #1E96FF;
}
.video-temp-popover .vt-scale {
  position: relative;
  height: 244px;
  margin: 10px auto 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-temp-popover .vt-range {
  /* v39: use a normal horizontal native range and rotate it. Safari/WebKit
     can stop responding after a true `slider-vertical` is display:none and
     shown again. The horizontal control survives unlimited reopen cycles. */
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 28px;
  margin: 0;
  writing-mode: horizontal-tb;
  direction: ltr;
  -webkit-appearance: auto;
  appearance: auto;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center;
  accent-color: #1E96FF;
  cursor: ns-resize;
  touch-action: none;
  outline: none !important;
  outline-color: transparent !important;
  box-shadow: none !important;
  -webkit-focus-ring-color: transparent;
  -webkit-tap-highlight-color: transparent;
}
/* v39: evita el marco azul nativo de foco al tocar los sliders VIDEO. */
.video-temp-popover .vt-range:focus,
.video-temp-popover .vt-range:focus-visible,
.video-temp-popover .vt-range:active {
  outline: none !important;
  outline-color: transparent !important;
  box-shadow: none !important;
}
.video-temp-popover .vt-range::-moz-focus-outer { border: 0; }
.video-temp-popover .vt-max,
.video-temp-popover .vt-min {
  position: absolute;
  right: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #6E7F99;
  pointer-events: none;
}
.video-temp-popover .vt-max { top: 2px; }
.video-temp-popover .vt-min { bottom: 2px; }
.video-temp-popover .vt-current {
  height: 42px;
  border-radius: 13px;
  background: #EAF4FF;
  border: 1px solid #B7DAFF;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  color: #15365F;
}
.video-temp-popover .vt-current strong {
  font-size: 23px;
  line-height: 40px;
}
.video-temp-popover .vt-current span {
  font-size: 12px;
  font-weight: 700;
}

.video-temp-work-dialog {
  width: min(332px, calc(100vw - 28px));
  min-height: 0;
  padding: 12px 13px 12px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
}
.video-temp-work-dialog .vt-title { justify-content: flex-start; align-items: flex-start; gap: 6px; }
.video-temp-work-dialog .vt-title .js-temp-title-text { white-space: pre-line; line-height: 1.05; flex: 1 1 auto; }
.video-temp-work-dialog .vt-window-actions { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; }
.video-temp-work-dialog .vt-window-btn { width: 25px; height: 25px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(30,150,255,.24); border-radius: 7px; background: rgba(255,255,255,.72); color: #215182; cursor: pointer; }
.video-temp-work-dialog .vt-window-btn:hover,
.video-temp-work-dialog .vt-window-btn:focus-visible { color: #16365d; border-color: rgba(30,150,255,.58); background: rgba(229,242,255,.96); outline: none; }
.video-temp-work-dialog .vt-window-btn .material-symbols-outlined { font-size: 17px; line-height: 1; }
.video-temp-work-dialog .temperature-work-hero { display: grid; grid-template-columns: minmax(0,1fr) 98px; gap: 12px; align-items: center; margin-top: 10px; }
.video-temp-work-dialog .temperature-work-media { min-width: 0; }
.video-temp-work-dialog .temperature-work-media-frame { position: relative; display: flex; align-items: center; justify-content: center; min-height: 286px; padding: 4px 0; border-radius: 14px; border: 1px solid rgba(30,150,255,.16); background: linear-gradient(180deg, rgba(234,244,255,.72), rgba(247,250,255,.94)); box-shadow: inset 0 1px 0 rgba(255,255,255,.72); }
.video-temp-work-dialog .temperature-work-media-frame img { display: block; width: auto; height: min(290px, 45vh); max-width: 100%; object-fit: contain; }
.video-temp-work-dialog .temperature-work-on { position: absolute; inset: 4px 0 4px 0; margin: auto; opacity: .444; pointer-events: none; transition: opacity 120ms linear; }
.video-temp-work-dialog .temperature-work-control { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.video-temp-work-dialog .vt-scale { height: 286px; margin: 0 auto; }
.video-temp-work-dialog .vt-range { width: 238px; }
.video-temp-work-dialog .vt-current { width: 100%; min-height: 46px; }
.video-temp-work-dialog .temperature-work-readout { margin-top: 12px; display: grid; gap: 10px; }
.video-temp-work-dialog .temperature-work-kpi { padding: 9px 10px; border-radius: 12px; border: 1px solid rgba(30,150,255,.15); background: rgba(234,244,255,.55); }
.video-temp-work-dialog .temperature-work-kpi .k { display: block; color: #6E7F99; font: 700 10px/1.1 Helvetica,Arial,sans-serif; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.video-temp-work-dialog .temperature-work-kpi strong { color: #15365F; font: 800 18px/1.12 Helvetica,Arial,sans-serif; }
.video-temp-work-dialog .temperature-work-copy { margin: 0; padding: 0 2px; color: #36506d; font: 600 12px/1.45 Helvetica,Arial,sans-serif; }
.video-temp-work-dialog.is-minimized { min-height: 0 !important; overflow: hidden !important; }
.video-temp-work-dialog.is-minimized > :not(.vt-title) { display: none !important; }
.video-temp-work-dialog.is-minimized .vt-title { margin-bottom: 0 !important; }
/* Los dos nuevos iconos conservan exactamente el tratamiento normal del rail.
   No se añade halo/glow: ese efecto sigue reservado al menú contextual 3D. */
.video-quick-item[data-key="depressurize"] .video-quick-symbol,
.video-quick-item[data-key="temperature"] .video-quick-symbol,
.video-quick-item[data-key="disassemble"] .video-quick-symbol,
.video-quick-item[data-key="graph"] .video-quick-symbol,
.video-quick-item[data-key="explode"] .video-quick-symbol {
  font-size: 37.5px;
}

/* VIDEO v29 · cleaning spray tool */
.video-spray-tool {
  position:absolute;
  width:224px;
  z-index:18;
  pointer-events:auto;
  cursor:grab;
  user-select:none;
  touch-action:none;
  filter:drop-shadow(0 10px 14px rgba(0,0,0,.28));
  /* v39: spraying never shakes/rotates/scales the bottle. */
  transform:none !important;
  animation:none !important;
}
.video-spray-tool[hidden]{display:none!important;}
.video-spray-tool:active{cursor:grabbing;}
.video-spray-tool img{display:block;width:100%;height:auto;pointer-events:none;-webkit-user-drag:none;}


/* EMBED v55 · contextual CLEAN instruction. It is positioned next to the
   centred spray and disappears permanently for the current CLEAN session as
   soon as the bottle is actually dragged. */
.video-spray-tooltip {
  position:absolute;
  z-index:21;
  width:max-content;
  max-width:min(289px,calc(100vw - 28px));
  box-sizing:border-box;
  padding:11px 13px;
  border-radius:10px;
  border:1px solid rgba(87,196,255,.42);
  background:rgba(15,22,31,.94);
  color:#e8f6ff;
  box-shadow:0 12px 30px rgba(0,0,0,.30),0 0 18px rgba(47,178,255,.10);
  font:800 15.3px/1.23 Inter,Helvetica,Arial,sans-serif;
  letter-spacing:.005em;
  pointer-events:none;
  backdrop-filter:blur(10px);
}
.video-spray-tooltip::before {
  content:"";
  position:absolute;
  left:0; top:50%;
  width:11px; height:11px;
  background:rgba(15,22,31,.94);
  border-left:1px solid rgba(87,196,255,.42);
  border-bottom:1px solid rgba(87,196,255,.42);
  transform:translate(-50%,-50%) rotate(45deg);
}
.video-spray-tooltip[hidden]{display:none!important;}

.video-spray-tooltip__text {
  display:flex;
  flex-direction:column;
  gap:3px;
  white-space:nowrap;
  animation:pf-spray-hint-blink 2.15s steps(1,end) infinite;
}
.video-spray-tooltip__text span { display:block; }
@keyframes pf-spray-hint-blink {
  0%, 72% { opacity:1; }
  73%, 84% { opacity:.14; }
  85%, 100% { opacity:1; }
}

.video-spray-particle{
  position:absolute;
  z-index:19;
  width:var(--spray-size,3px);
  height:var(--spray-size,3px);
  margin-left:calc(var(--spray-size,3px) * -.5);
  margin-top:calc(var(--spray-size,3px) * -.5);
  border-radius:50%;
  pointer-events:none;
  background:rgba(190,232,255,.92);
  box-shadow:0 0 5px rgba(100,195,255,.72);
  animation:pf-spray-jet .56s ease-out forwards;
}
@keyframes pf-spray-jet{
  0%{opacity:.95;transform:translate(0,0) scale(1)}
  70%{opacity:.72}
  100%{opacity:0;transform:translate(var(--spray-dx),var(--spray-dy)) scale(.35)}
}

/* ========================================================================
   EMBED v55 · VIDEO-only surface
   ======================================================================== */
#screen-home.video-mode .embed-video-holder {
  /* Reference composition from the supplied capture: upper-right, not vertically centered. */
  right: clamp(18px, 5.4vw, 72px);
  top: clamp(18px, 6.1vh, 54px);
  transform: none;
  z-index: 20;
  pointer-events: none;
}
#screen-home.video-mode .embed-video-panel {
  grid-template-rows: repeat(2, 86.25px) !important;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}
#screen-home.video-mode .embed-video-panel:active { cursor: grabbing; }
#screen-home.video-mode .embed-video-panel .video-quick-item {
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}
/* ========================================================================
   EMBED v55 · TEST reader + hardened tutorial portal
   ======================================================================== */
.embed-test-panel {
  position: absolute;
  right: 18px;
  left: auto;
  bottom: 18px;
  z-index: 40;
  width: min(392px, calc(100vw - 36px));
  box-sizing: border-box;
  padding: 12px 13px 13px;
  border-radius: 15px;
  border: 1px solid rgba(123, 204, 255, .30);
  background: rgba(18, 24, 33, .94);
  color: #eaf4ff;
  box-shadow: 0 14px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.embed-test-head { display:flex; align-items:center; gap:8px; margin-bottom:10px; letter-spacing:.06em; font:700 11px/1.2 Helvetica,Arial,sans-serif; }
.embed-test-head .test-dot { width:8px; height:8px; border-radius:50%; background:#22d3ee; box-shadow:0 0 10px rgba(34,211,238,.8); }
.embed-test-head .test-mode { margin-left:auto; padding:2px 7px; border-radius:999px; background:rgba(34,211,238,.14); color:#67e8f9; }
.embed-test-row { display:grid; grid-template-columns:68px minmax(0,1fr); gap:8px; align-items:start; padding:7px 0 9px; border-top:1px solid rgba(255,255,255,.07); border-bottom:1px solid rgba(255,255,255,.07); }
.embed-test-row > span, .embed-test-grid > span { color:#8da2b8; font:700 10px/1.35 Helvetica,Arial,sans-serif; text-transform:uppercase; letter-spacing:.05em; }
.embed-test-row strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:700 11px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; color:#fff; }
.embed-test-grid { display:grid; grid-template-columns:68px minmax(0,1fr); gap:6px 8px; align-items:center; padding-top:9px; }
.embed-test-grid code { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#d7e8f7; font:600 10.5px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.embed-test-copy { width:100%; margin-top:10px; height:30px; border:1px solid rgba(91,192,255,.35); border-radius:8px; background:rgba(30,150,255,.12); color:#9ed9ff; font:700 11px Helvetica,Arial,sans-serif; cursor:pointer; }
.embed-test-copy:active { transform:translateY(1px); background:rgba(30,150,255,.22); }


/* EMBED v69 · bottom-left "How to use" entry point from the supplied reference.
   It stays clear of the selection cluster, which now opens above it. */
.embed-howto-video-btn {
  position: absolute;
  left: clamp(14px, 1.25vw, 30px);
  bottom: clamp(12px, 1.06vw, 26px);
  z-index: 42;
  /* v79: ~2x the former 108×30 reference size at a 1600 px viewport,
     then scales proportionally with the screen while staying usable on phones. */
  width: clamp(180px, 13.5vw, 310px);
  min-width: 0;
  height: clamp(50px, 3.75vw, 86px);
  box-sizing: border-box;
  padding: 0 clamp(18px, 1.5vw, 34px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: clamp(1.5px, .10vw, 2.2px) solid rgba(var(--pf-accent-rgb, 187, 126, 255), .90);
  border-radius: 999px;
  background: rgba(15, 13, 25, .34);
  color: #f2eaff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.035) inset, 0 7px 22px rgba(0,0,0,.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(22px, 2vw, 40px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.01em;
  cursor: pointer;
  pointer-events: auto;
  animation: pf-howto-soft-blink 2.15s ease-in-out infinite;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 120ms ease;
}
@keyframes pf-howto-soft-blink {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50% { opacity: .82; filter: brightness(1.08); }
}
.embed-howto-video-btn:hover,
.embed-howto-video-btn:focus-visible {
  background: rgba(var(--pf-accent-rgb, 187, 126, 255), .12);
  border-color: rgba(var(--pf-accent-rgb, 187, 126, 255), 1);
  box-shadow: 0 0 0 1px rgba(255,255,255,.05) inset, 0 7px 24px rgba(0,0,0,.25), 0 0 20px rgba(var(--pf-accent-rgb, 187, 126, 255), .16);
  outline: none;
}
.embed-howto-video-btn:active { transform: scale(.975); }

/* Full-viewport Vimeo layer: visually replaces the page while remaining an
   overlay, so closing it restores the exact 3D state underneath. */
.embed-howto-video-portal {
  position: fixed;
  inset: 0;
  z-index: 2147483600;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: #050506;
  pointer-events: auto;
}
.embed-howto-video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.embed-howto-video-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(var(--pf-accent-rgb, 187, 126, 255), .55);
  border-radius: 50%;
  background: rgba(8, 8, 12, .72);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.42), 0 0 20px rgba(var(--pf-accent-rgb, 187, 126, 255), .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.embed-howto-video-close .material-symbols-outlined { font-size: 25px; }
.embed-howto-video-close:hover,
.embed-howto-video-close:focus-visible {
  border-color: rgba(var(--pf-accent-rgb, 187, 126, 255), .96);
  background: rgba(var(--pf-accent-rgb, 187, 126, 255), .17);
  outline: none;
}
.embed-howto-video-close:active { transform: scale(.96); }

@media (max-width: 560px) {
  .embed-test-panel { right: 10px; bottom: 76px; width: min(360px, calc(100vw - 20px)); }
  .embed-howto-video-btn {
    left: 12px; bottom: 12px;
    width: clamp(180px, 52vw, 230px);
    height: clamp(50px, 14vw, 64px);
    font-size: clamp(22px, 6vw, 28px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .embed-howto-video-btn { animation: none; }
}

/* Tutorial = top-layer only. The underlying 3D, menus, selection and any
   already-visible dialogs remain visually untouched. The transparent stage-bg
   is still the outside-click catcher, so clicking anywhere outside the tutorial
   card closes it without painting an old/grey application background. */
.embed-tutorial-portal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: auto;
  background: transparent !important;
  color-scheme: light;
  --bg: transparent;
  --panel: #F3F4F7;
  --navy: #22395B;
  --navy-soft: #6C7686;
  --blue: #1E96FF;
  --divider: #DFE3E9;
  --soft-shadow: 0 8px 30px rgba(26,39,62,.16);
}
.embed-tutorial-portal .stage-overlay { position:absolute !important; inset:0 !important; z-index:1; pointer-events:auto; background:transparent !important; }
.embed-tutorial-portal .stage-bg {
  background: transparent !important;
  background-image: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
.embed-tutorial-portal .stage-pad { z-index:2; padding: clamp(34px, 7vh, 86px) clamp(34px, 8vw, 126px) !important; }
.embed-tutorial-portal .stage-card { max-width: 1180px; max-height: 820px; }
.embed-tutorial-portal .glow-panel {
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(30,150,255,.35) !important;
  box-shadow: 0 0 30px 1px rgba(30,150,255,.22), 0 10px 34px rgba(20,28,46,.16) !important;
}
.embed-tutorial-portal .tut-dhead .dt1,
.embed-tutorial-portal .step-card .sc-title,
.embed-tutorial-portal .tut-protip .pt-txt b { color:#22395B !important; }
.embed-tutorial-portal .tut-dhead .dt2,
.embed-tutorial-portal .step-card .sc-desc,
.embed-tutorial-portal .tut-protip .pt-txt span,
.embed-tutorial-portal .q-txt { color:#6C7686 !important; }
.embed-tutorial-portal .tut-protip,
.embed-tutorial-portal .vp-transport { background:#F1F4F9 !important; border-color:#DFE3E9 !important; }
.embed-tutorial-portal .tut-media { background:#DCE3EE !important; }
html.embed-tutorial-open body { overflow:hidden; }
html.embed-tutorial-open .app-dialog-barrier.tutorial-child-dialog { z-index:2147483100 !important; }


/* ==========================================================================
   EMBED v56 · Guía de ratón en la primera entrada al visor
   ========================================================================== */
.embed-input-guide {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(22px, 4.4vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 50%, rgba(26, 66, 79, .16), transparent 35%),
    rgba(3, 7, 11, .78);
  -webkit-backdrop-filter: blur(8px) saturate(.72) brightness(.72);
  backdrop-filter: blur(8px) saturate(.72) brightness(.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 380ms ease, visibility 380ms linear;
}
.embed-input-guide::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1,4,7,.08), transparent 36%, rgba(1,4,7,.14));
}
.embed-input-guide.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.embed-input-guide.is-closing {
  opacity: 0;
  pointer-events: none;
}
.embed-input-guide__content {
  position: relative;
  z-index: 1;
  width: min(1280px, 94vw);
  max-height: 88vh;
  display: grid;
  grid-template-columns: minmax(390px, .92fr) minmax(420px, 1.08fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  color: #eef5fa;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  transform: translateY(14px) scale(.992);
  opacity: 0;
  transition: transform 460ms cubic-bezier(.2,.82,.2,1), opacity 360ms ease;
}
.embed-input-guide.is-open .embed-input-guide__content {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.embed-input-guide__visual {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.embed-input-guide__mouse {
  display: block;
  width: min(500px, 43vw);
  max-height: 82vh;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 24px 42px rgba(0,0,0,.32));
}
.embed-input-guide__mouse .mouse-orbit path {
  fill: none;
  stroke: rgba(149, 185, 200, .25);
  stroke-width: 2.2;
  stroke-linecap: round;
}
.embed-input-guide__mouse .mouse-shell {
  fill: url(#pfMouseBody);
  stroke: rgba(242, 249, 253, .92);
  stroke-width: 3;
  stroke-linejoin: round;
}
.embed-input-guide__mouse .mouse-button {
  fill: url(#pfMouseButton);
  stroke: rgba(100, 212, 231, .76);
  stroke-width: 1.65;
  transition: fill 240ms ease, opacity 240ms ease;
}
.embed-input-guide__mouse .mouse-button--right { opacity: .8; }
.embed-input-guide__mouse .mouse-divider {
  fill: none;
  stroke: rgba(183, 212, 224, .34);
  stroke-width: 2;
  stroke-linecap: round;
}
.embed-input-guide__mouse .mouse-wheel-glow {
  fill: rgba(85, 220, 241, .30);
  filter: url(#pfMouseGlow);
  animation: pfMouseWheelGlow 1.9s ease-in-out infinite;
}
.embed-input-guide__mouse .mouse-wheel {
  fill: rgba(20, 68, 84, .96);
  stroke: #68e2f5;
  stroke-width: 2.3;
}
.embed-input-guide__mouse .mouse-wheel-ribs path {
  fill: none;
  stroke: rgba(156, 239, 251, .74);
  stroke-width: 1;
  stroke-linecap: round;
}
.embed-input-guide__mouse .callout-line,
.embed-input-guide__mouse .callout-chevron,
.embed-input-guide__mouse .callout-icon path {
  fill: none;
  stroke: #5fd9ec;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.embed-input-guide__mouse .callout-dot {
  fill: rgba(4, 16, 22, .96);
  stroke: #5fd9ec;
  stroke-width: 2.4;
}
.embed-input-guide__mouse .callout-title {
  fill: #f5f9fb;
  font-size: 22px;
  font-weight: 780;
  letter-spacing: -.02em;
}
.embed-input-guide__mouse .callout-sub {
  fill: #b5c3ce;
  font-size: 13.5px;
  font-weight: 560;
}
.embed-input-guide__mouse .mouse-callout {
  opacity: .94;
}
.embed-input-guide__mouse .mouse-callout--rotate .callout-icon {
  animation: pfMouseRotate 3.2s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.embed-input-guide__mouse .mouse-callout--pan .callout-icon {
  animation: pfMousePan 2.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.embed-input-guide__copy {
  min-width: 0;
  align-self: center;
}
.embed-input-guide__eyebrow {
  margin: 0 0 9px;
  color: #62d8eb;
  font-size: clamp(11px, 1.05vw, 13px);
  font-weight: 850;
  letter-spacing: .20em;
  text-transform: uppercase;
}
.embed-input-guide__title {
  margin: 0;
  color: #f9fbfc;
  font-size: clamp(38px, 5vw, 66px);
  line-height: .98;
  font-weight: 790;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.embed-input-guide__intro {
  margin: clamp(16px, 2.1vh, 24px) 0 0;
  max-width: 690px;
  color: #b4c1cb;
  font-size: clamp(15px, 1.45vw, 20px);
  line-height: 1.48;
}
.embed-input-guide__gestures {
  margin: clamp(24px, 3.5vh, 36px) 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
}
.embed-input-guide__gesture {
  min-width: 0;
}
.embed-input-guide__gesture::before {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 99px;
  background: #5fd9ec;
  box-shadow: 0 0 14px rgba(95,217,236,.16);
}
.embed-input-guide__gesture b {
  display: block;
  color: #f5f9fb;
  font-size: clamp(13px, 1.12vw, 16px);
  line-height: 1.25;
  font-weight: 800;
}
.embed-input-guide__gesture span {
  display: block;
  margin-top: 5px;
  color: #93a5b4;
  font-size: clamp(11px, .96vw, 14px);
  line-height: 1.35;
}
.embed-input-guide__select-action {
  color: rgb(var(--pf-accent-rgb));
  font-weight: 900;
}
.embed-input-guide__gesture--select .embed-input-guide__select-action {
  display: inline;
  margin: 0;
  color: rgb(var(--pf-accent-rgb));
  font-size: inherit;
  line-height: inherit;
  font-weight: 900;
}
.embed-input-guide__disclaimer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(24px, 3.5vh, 36px) 0 0;
  max-width: 740px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 17px 14px 19px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #d5dde2;
  font-size: clamp(15px, 1.28vw, 18px);
  line-height: 1.48;
  box-shadow: 0 10px 28px rgba(0,0,0,.15), 0 0 18px rgba(255,204,91,.08);
  animation: pfConceptGlowPulse 2.35s ease-in-out infinite;
}
.embed-input-guide__disclaimer::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 170%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    from 0deg,
    rgba(255,211,106,.16) 0deg,
    rgba(255,211,106,.16) 248deg,
    rgba(255,230,152,.42) 284deg,
    rgba(255,251,226,1) 310deg,
    rgba(255,205,82,.95) 326deg,
    rgba(255,211,106,.16) 360deg
  );
  animation: pfConceptFrameSweep 3.1s linear infinite;
}
.embed-input-guide__disclaimer::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 1.5px;
  border-radius: 10.5px;
  background: linear-gradient(90deg, rgba(38,31,18,.94), rgba(22,24,24,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.embed-input-guide__disclaimer > * {
  position: relative;
  z-index: 2;
}
.embed-input-guide__disclaimer-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 216, 126, .88);
  border-radius: 50%;
  color: #ffdb86;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 0 12px rgba(255,207,94,.12);
}
.embed-input-guide__disclaimer p { margin: 0; }
.embed-input-guide__disclaimer strong {
  color: #ffe09a;
  font-weight: 900;
}
@keyframes pfConceptFrameSweep {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes pfConceptGlowPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0,0,0,.15), 0 0 12px rgba(255,204,91,.07); }
  50% { box-shadow: 0 10px 28px rgba(0,0,0,.15), 0 0 26px rgba(255,204,91,.20); }
}
.embed-input-guide__accept {
  margin-top: clamp(20px, 3vh, 30px);
  min-width: 154px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 25px 0 28px;
  border: 1px solid rgba(95, 217, 236, .92);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(67, 174, 196, .16), rgba(31, 85, 99, .14));
  color: #f8fcfe;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .005em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 0 0 rgba(95,217,236,0);
  transition: transform 160ms ease, background 180ms ease, box-shadow 180ms ease;
}
.embed-input-guide__accept-arrow {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 180ms ease;
}
.embed-input-guide__accept:hover {
  background: linear-gradient(180deg, rgba(76, 190, 214, .24), rgba(38, 101, 116, .20));
  box-shadow: 0 0 28px rgba(95,217,236,.10), inset 0 1px 0 rgba(255,255,255,.08);
}
.embed-input-guide__accept:hover .embed-input-guide__accept-arrow { transform: translate(4px,-1px); }
.embed-input-guide__accept:active { transform: scale(.975); }
.embed-input-guide__accept:focus-visible {
  outline: 2px solid #68e2f5;
  outline-offset: 4px;
}

@keyframes pfMouseWheelGlow {
  0%,100% { opacity: .42; transform: translateY(0); }
  50% { opacity: .9; transform: translateY(-3px); }
}
@keyframes pfMouseRotate {
  0%,100% { transform: rotate(-5deg); opacity: .72; }
  50% { transform: rotate(7deg); opacity: 1; }
}
@keyframes pfMousePan {
  0%,100% { transform: translate(0,0); opacity: .76; }
  25% { transform: translate(2px,-2px); opacity: 1; }
  75% { transform: translate(-2px,2px); opacity: .88; }
}

@media (max-width: 1100px), (max-height: 620px) {
  .embed-input-guide { padding: 18px 30px; }
  .embed-input-guide__content {
    width: min(1040px, 96vw);
    grid-template-columns: minmax(340px, .9fr) minmax(390px, 1.1fr);
    gap: clamp(28px, 4.5vw, 54px);
  }
  .embed-input-guide__mouse { width: min(430px, 44vw); max-height: 86vh; }
  .embed-input-guide__title { font-size: clamp(34px, 4.4vw, 48px); }
  .embed-input-guide__intro { margin-top: 12px; font-size: clamp(14px, 1.5vw, 17px); }
  .embed-input-guide__gestures { margin-top: 22px; gap: 16px; }
  .embed-input-guide__disclaimer { margin-top: 21px; font-size: 15px; }
  .embed-input-guide__accept { margin-top: 18px; height: 44px; min-width: 132px; }
}

@media (max-width: 820px) {
  .embed-input-guide {
    padding: 28px 22px;
    overflow-y: auto;
  }
  .embed-input-guide__content {
    width: min(680px, 94vw);
    max-height: none;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    margin: auto 0;
  }
  .embed-input-guide__visual { order: 1; }
  .embed-input-guide__copy { order: 2; }
  .embed-input-guide__mouse { width: min(420px, 78vw); max-height: 46vh; }
  .embed-input-guide__eyebrow { margin-bottom: 6px; }
  .embed-input-guide__title { font-size: clamp(34px, 9vw, 48px); }
  .embed-input-guide__intro,
  .embed-input-guide__disclaimer { margin-left: auto; margin-right: auto; }
  .embed-input-guide__gestures { gap: 12px; text-align: left; }
  .embed-input-guide__gestures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .embed-input-guide__gesture::before { margin-left: 0; }
}

@media (max-width: 560px) {
  .embed-input-guide { padding: 22px 16px; }
  .embed-input-guide__content { gap: 10px; }
  .embed-input-guide__mouse { width: min(360px, 92vw); max-height: 40vh; }
  .embed-input-guide__gestures {
    grid-template-columns: 1fr;
    gap: 11px;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }
  .embed-input-guide__gesture::before { margin: 0 auto 7px; }
  .embed-input-guide__gestures { text-align: center; }
  .embed-input-guide__disclaimer { margin-top: 17px; }
  .embed-input-guide__accept { margin-top: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .embed-input-guide,
  .embed-input-guide__content,
  .embed-input-guide__accept,
  .embed-input-guide__accept-arrow { transition: none !important; }
  .embed-input-guide__mouse .mouse-wheel-glow,
  .embed-input-guide__mouse .callout-icon,
  .embed-input-guide__disclaimer,
  .embed-input-guide__disclaimer::before { animation: none !important; }
}


/* EMBED v63 · one-time slider onboarding hints for VIDEO controls. */
.video-temp-popover .vt-slider-hint {
  position: absolute;
  left: 50%;
  z-index: 7;
  width: 154px;
  box-sizing: border-box;
  padding: 9px 10px;
  border: 1px solid rgba(95, 217, 236, .54);
  border-radius: 10px;
  background: rgba(7, 16, 23, .97);
  color: #eef9fc;
  box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 18px rgba(95,217,236,.13);
  font: 700 12.65px/1.3 Helvetica, Arial, sans-serif;
  letter-spacing: .005em;
  text-align: center;
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 25px));
  animation: pfSliderHintPulse 1.05s ease-in-out infinite;
}
.video-temp-popover .vt-slider-hint::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: rgba(7, 16, 23, .97);
  border-right: 1px solid rgba(95,217,236,.54);
  border-bottom: 1px solid rgba(95,217,236,.54);
  transform: translateX(-50%) rotate(45deg);
}
.video-temp-popover .vt-slider-hint.is-below {
  transform: translate(-50%, 25px);
}
.video-temp-popover .vt-slider-hint.is-below::before {
  top: -5px;
  bottom: auto;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid rgba(95,217,236,.54);
  border-top: 1px solid rgba(95,217,236,.54);
}
.video-temp-popover .vt-slider-hint[hidden] { display: none !important; }
@keyframes pfSliderHintPulse {
  0%, 100% { opacity: .58; box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 8px rgba(95,217,236,.06); }
  50% { opacity: 1; box-shadow: 0 10px 28px rgba(0,0,0,.38), 0 0 25px rgba(95,217,236,.26); }
}
@media (prefers-reduced-motion: reduce) {
  .video-temp-popover .vt-slider-hint { animation: none; opacity: 1; }
}

/* ========================================================================== */
/* EMBED v70 · slider hint text pulse + live Heat-sealing Block process graph */
/* ========================================================================== */

/* Keep the tooltip card completely stable; only its instructional copy blinks. */
.video-temp-popover .vt-slider-hint {
  animation: none !important;
  opacity: 1 !important;
}
.video-temp-popover .vt-slider-hint .vt-slider-hint-text {
  display: block;
  opacity: 1;
  animation: pfSliderHintTextPulse 1.05s ease-in-out infinite;
}
@keyframes pfSliderHintTextPulse {
  0%, 100% { opacity: .46; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .video-temp-popover .vt-slider-hint .vt-slider-hint-text { animation: none !important; opacity: 1 !important; }
}

/* Graph uses the same pinfo / Info-dialog chrome and active skin accent. */
.pinfo.pinfo-technical.video-process-graph {
  width: min(465px, calc(100vw - 24px)) !important;
  min-height: 356px !important;
  max-height: calc(100vh - 24px);
  z-index: 46;
}
.video-process-graph[hidden] { display: none !important; }
.video-process-graph .fp-head { flex: 0 0 auto; }
.video-process-graph .fp-title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.video-process-graph-body {
  overflow: auto;
  max-height: calc(100vh - 104px) !important;
}
.video-process-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 1px 0 12px;
  color: rgba(221, 239, 245, .79);
  font: 700 11.5px/1.3 Helvetica, Arial, sans-serif;
}
.video-process-status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(179, 196, 205, .55);
  box-shadow: 0 0 0 3px rgba(179, 196, 205, .07);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}
.video-process-status-dot.is-running {
  background: rgb(var(--pf-accent-rgb));
  box-shadow: 0 0 0 3px rgba(var(--pf-accent-rgb), .10), 0 0 12px rgba(var(--pf-accent-rgb), .66);
}
.video-process-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-bottom: 11px;
}
.video-process-metric {
  min-width: 0;
  padding: 8px 9px 9px;
  border: 1px solid rgba(var(--pf-accent-rgb), .13);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(var(--pf-accent-rgb), .025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.video-process-metric .k {
  display: block;
  margin-bottom: 4px;
  color: rgba(161, 210, 222, .74);
  font: 800 9.3px/1.15 Helvetica, Arial, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-process-metric strong {
  display: block;
  min-width: 0;
  color: #f2fbfd;
  font: 800 13.4px/1.15 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.video-process-chart-shell {
  display: block !important;
  margin-top: 0 !important;
  padding: 10px 10px 8px !important;
  border-radius: 12px !important;
}
.video-process-chart-head,
.video-process-chart-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 18px;
  color: rgba(163, 215, 227, .82);
  font: 900 9.2px/1.2 Helvetica, Arial, sans-serif;
  letter-spacing: .06em;
}
.video-process-chart-head { margin-bottom: 3px; }
.video-process-chart-foot { margin-top: 4px; }
.video-process-legend {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  color: rgba(205, 229, 236, .58);
  font-weight: 800;
  letter-spacing: .02em;
}
.video-process-legend i {
  width: 13px;
  height: 2px;
  display: inline-block;
  border-radius: 999px;
  background: rgba(225, 238, 244, .48);
}
.video-process-legend .is-pressure { background: rgb(var(--pf-accent-rgb)); box-shadow: 0 0 6px rgba(var(--pf-accent-rgb), .44); }
.video-process-legend .is-jaw {
  background: repeating-linear-gradient(90deg, rgba(225,238,244,.62) 0 4px, transparent 4px 7px);
}
.video-process-legend .is-temperature { background: #ff9d58; box-shadow: 0 0 6px rgba(255,157,88,.28); }
.video-process-legend .is-setpoint {
  background: repeating-linear-gradient(90deg, rgba(225,238,244,.62) 0 5px, transparent 5px 8px);
}
.video-process-chart {
  display: block;
  width: 100%;
  height: 188px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(3, 13, 19, .42), rgba(4, 15, 22, .24)),
    radial-gradient(520px 170px at 50% 5%, rgba(var(--pf-accent-rgb), .045), transparent 70%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.video-process-note {
  margin-top: 9px;
  color: rgba(180, 210, 219, .62);
  font: 600 10px/1.38 Helvetica, Arial, sans-serif;
}

/* v108 · compact graph chrome (~30% less non-chart space). The canvas keeps its
   original rendered size; only header/status/metrics/padding are tightened. */
.pinfo.pinfo-technical.video-process-graph {
  width: min(465px, calc(100vw - 24px)) !important;
  min-height: 0 !important;
}
.pinfo.pinfo-technical.video-process-graph .fp-head {
  min-height: 42px;
  padding: 7px 10px 6px;
  gap: 10px 18px;
}
.pinfo.pinfo-technical.video-process-graph .fp-title { font-size: 14px; }
.pinfo.pinfo-technical.video-process-graph .pinfo-drag { font-size: 18px !important; }
.pinfo.pinfo-technical.video-process-graph .pinfo-info-icon { font-size: 19px !important; }
.pinfo.pinfo-technical.video-process-graph .pinfo-body { padding: 8px 10px 9px; }
.video-process-graph-body { max-height: calc(100vh - 72px) !important; }
.video-process-status { gap: 6px; margin: 0 0 6px; font-size: 10px; line-height: 1.15; }
.video-process-status-dot { width: 6px; height: 6px; box-shadow: 0 0 0 2px rgba(179,196,205,.07); }
.video-process-metrics {
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 5px;
  margin-bottom: 6px;
}
.video-process-metric { padding: 5px 6px 6px; border-radius: 8px; }
.video-process-metric .k { margin-bottom: 2px; font-size: 7.6px; }
.video-process-metric strong { font-size: 10.7px; }
.video-process-chart-shell { padding: 7px 8px 6px !important; border-radius: 10px !important; }
.video-process-chart-head,.video-process-chart-foot { min-height: 15px; font-size: 8px; }
.video-process-chart-head { margin-bottom: 2px; }
.video-process-chart-foot { margin-top: 2px; }
.video-process-chart { height: 188px; }

@media (max-width: 680px) {
  .pinfo.pinfo-technical.video-process-graph { min-height: 0 !important; }
  .video-process-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-process-chart { height: 188px; }
}
@media (max-height: 620px) {
  .pinfo.pinfo-technical.video-process-graph { min-height: 0 !important; }
  .video-process-chart { height: 188px; }
  .video-process-metric { padding-top: 6px; padding-bottom: 7px; }
}

/* ========================================================================
   EMBED v83 · image-only process menu + isolated Style switch
   ======================================================================== */
#screen-home.video-mode .embed-video-holder {
  right: clamp(22px, 4.2vw, 66px);
  top: clamp(22px, 4.6vh, 48px);
}
#screen-home.video-mode .embed-video-panel {
  padding: 0 !important;
  grid-template-columns: repeat(2, clamp(78px, 5.6vw, 96px)) !important;
  grid-template-rows: repeat(4, clamp(88px, 6.7vw, 112px)) !important;
  gap: clamp(8px, .75vw, 14px) clamp(10px, .9vw, 16px) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  pointer-events: none;
  cursor: default;
}
#screen-home.video-mode .embed-video-panel .video-quick-item {
  width: clamp(78px, 5.6vw, 96px) !important;
  height: clamp(88px, 6.7vw, 112px) !important;
  padding: 2px !important;
  gap: 3px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  overflow: visible;
}
#screen-home.video-mode .embed-video-panel .video-quick-item:hover,
#screen-home.video-mode .embed-video-panel .video-quick-item:focus-visible,
#screen-home.video-mode .embed-video-panel .video-quick-item.selected {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
#screen-home.video-mode .embed-video-panel .mi-icon {
  width: 100%;
  height: clamp(62px, 4.9vw, 82px);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
#screen-home.video-mode .embed-video-panel .video-quick-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.18));
  transition: transform 140ms ease, filter 140ms ease;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
#screen-home.video-mode .embed-video-panel .video-quick-item:hover .video-quick-image,
#screen-home.video-mode .embed-video-panel .video-quick-item:focus-visible .video-quick-image {
  transform: translateY(-2px) scale(1.035);
  filter: drop-shadow(0 7px 10px rgba(0,0,0,.22));
}
#screen-home.video-mode .embed-video-panel .mi-label,
[data-theme="oscuro"] #screen-home.video-mode .embed-video-panel .mi-label {
  margin-top: 1px !important;
  color: #dce6ea !important;
  font-size: clamp(11px, .82vw, 13.5px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.55);
}
#screen-home.video-mode .embed-video-panel .mi-dot { display: none !important; }

/* Top-left quick tools: Graph / PDF / Tutorial. */
.embed-top-tools {
  position: absolute;
  left: clamp(18px, 1.8vw, 30px);
  top: clamp(16px, 1.65vw, 28px);
  z-index: 44;
  display: flex;
  align-items: flex-start;
  gap: clamp(2px, .22vw, 4px);
  pointer-events: auto;
}
.embed-top-tool {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: clamp(71px, 5.53vw, 93px);
  color: #fff;
  cursor: pointer;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.28));
  transition: transform 150ms ease, filter 150ms ease, opacity 150ms ease;
}
.embed-top-tool:hover,
.embed-top-tool:focus-visible {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.34));
  outline: none;
}
.embed-top-tool:active { transform: scale(.97); }
.embed-top-tool-icon {
  width: clamp(65px, 4.93vw, 85px);
  height: clamp(65px, 4.93vw, 85px);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgb(var(--pf-accent-rgb, 95, 217, 236));
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.embed-top-tool-icon svg {
  width: 62%;
  height: 62%;
}
.embed-top-tool-icon svg * {
  vector-effect: non-scaling-stroke;
}
.embed-top-tool-label {
  color: #dce6ea;
  font-size: clamp(11px, .8vw, 13px);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 2px 6px rgba(0,0,0,.55);
  letter-spacing: .01em;
}

/* v83: 25% smaller than the v78/v82 responsive How-to button. */
.embed-howto-video-btn {
  width: clamp(135px, 10.125vw, 233px);
  height: clamp(38px, 2.8125vw, 65px);
  padding: 0 clamp(14px, 1.125vw, 26px);
  font-size: clamp(16.5px, 1.5vw, 30px);
  border-width: clamp(1px, .075vw, 1.65px);
}


/* ========================================================================
   EMBED v100 · Stick Strips feed-registration workstation
   ======================================================================== */
.pinfo.pinfo-technical.stick-registration-panel {
  width: min(500px, calc(100vw - 24px)) !important;
  min-height: 0 !important;
  max-height: calc(100vh - 24px);
  z-index: 48;
}
.stick-registration-panel[hidden] { display:none !important; }
.stick-registration-panel .fp-title { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.stick-registration-body { overflow:auto; max-height:calc(100vh - 104px) !important; }
.stick-registration-status { display:flex; align-items:center; gap:8px; margin:2px 0 10px; color:rgba(221,239,245,.82); font:700 11.2px/1.3 Helvetica,Arial,sans-serif; }
.stick-registration-reader { margin:0 0 10px; padding:8px 9px 9px; border:1px solid rgba(var(--pf-accent-rgb),.14); border-radius:11px; background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(var(--pf-accent-rgb),.028)); }
.stick-registration-reader-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:7px; color:rgba(169,216,228,.76); font:800 8.9px/1.2 Helvetica,Arial,sans-serif; letter-spacing:.06em; text-transform:uppercase; }
.stick-registration-reader-head strong { color:#effbfd; font:800 10px/1.2 Helvetica,Arial,sans-serif; letter-spacing:.02em; text-transform:none; }
.stick-registration-reader-stage { position:relative; width:100%; aspect-ratio: 1168 / 716; border-radius:10px; overflow:hidden; background:#06131b; box-shadow:inset 0 0 0 1px rgba(255,255,255,.035); }
.stick-registration-reader-canvas { display:block; width:100%; height:100%; background:#06131b; }
.stick-registration-status-dot { width:8px; height:8px; border-radius:50%; flex:0 0 auto; background:rgb(var(--pf-accent-rgb)); box-shadow:0 0 0 3px rgba(var(--pf-accent-rgb),.10),0 0 12px rgba(var(--pf-accent-rgb),.55); }
.stick-registration-status-dot.is-moving { animation:pfStickRegPulse .72s ease-in-out infinite; }
.stick-registration-status-dot.is-locked { background:#ffb86b; box-shadow:0 0 0 3px rgba(255,184,107,.10),0 0 12px rgba(255,184,107,.42); animation:none; }
@keyframes pfStickRegPulse { 50% { opacity:.42; transform:scale(.84); } }
.stick-registration-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-bottom:10px; }
.stick-registration-metric { min-width:0; padding:8px 9px 9px; border:1px solid rgba(var(--pf-accent-rgb),.13); border-radius:10px; background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(var(--pf-accent-rgb),.025)); box-shadow:inset 0 1px 0 rgba(255,255,255,.025); }
.stick-registration-metric.is-primary { border-color:rgba(var(--pf-accent-rgb),.30); background:linear-gradient(180deg,rgba(var(--pf-accent-rgb),.12),rgba(var(--pf-accent-rgb),.045)); }
.stick-registration-metric.is-datum { border-color:rgba(255,204,102,.34); background:linear-gradient(180deg,rgba(255,204,102,.10),rgba(255,204,102,.03)); }
.stick-registration-metric.is-datum strong { color:#ffe0a0; }
.stick-registration-metric.is-state strong { font-size:10.7px; letter-spacing:.025em; }
.stick-registration-metric .k { display:block; margin-bottom:4px; color:rgba(161,210,222,.74); font:800 8.7px/1.12 Helvetica,Arial,sans-serif; letter-spacing:.055em; text-transform:uppercase; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stick-registration-metric strong { display:block; color:#f2fbfd; font:800 11.4px/1.18 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stick-registration-gauge { margin:2px 0 10px; padding:9px 10px 8px; border:1px solid rgba(var(--pf-accent-rgb),.14); border-radius:11px; background:rgba(3,13,19,.22); }
.stick-registration-gauge-head,.stick-registration-gauge-foot { display:flex; align-items:center; justify-content:space-between; gap:10px; color:rgba(164,215,227,.76); font:800 9px/1.2 Helvetica,Arial,sans-serif; letter-spacing:.06em; text-transform:uppercase; }
.stick-registration-gauge-head strong { color:#eaf9fc; font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.stick-registration-track { position:relative; height:7px; margin:8px 0 6px; border-radius:999px; overflow:hidden; background:rgba(214,238,245,.10); box-shadow:inset 0 0 0 1px rgba(255,255,255,.025); }
.stick-registration-track i { position:absolute; inset:0 auto 0 0; width:0; border-radius:inherit; background:linear-gradient(90deg,rgba(var(--pf-accent-rgb),.48),rgb(var(--pf-accent-rgb))); box-shadow:0 0 12px rgba(var(--pf-accent-rgb),.28); transition:width 70ms linear; }
.stick-registration-track b { position:absolute; left:50%; top:-2px; bottom:-2px; width:1px; background:rgba(255,255,255,.22); }
.stick-registration-gauge-foot { color:rgba(180,210,219,.48); font-size:8px; letter-spacing:.035em; text-transform:none; }
.stick-registration-controls { display:grid; grid-template-columns:.92fr 1.22fr .92fr; gap:8px; margin-top:1px; }
.stick-registration-btn { position:relative; min-width:0; min-height:64px; padding:9px 8px; display:flex; align-items:center; justify-content:center; gap:9px; border:1px solid rgba(255,255,255,.18); border-radius:10px; background:linear-gradient(180deg,rgba(9,20,28,.96),rgba(5,13,18,.94)); color:#f7fdff; box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 22px rgba(0,0,0,.24); cursor:pointer; transition:transform 90ms ease,border-color 110ms ease,background 110ms ease,box-shadow 110ms ease,filter 110ms ease; }
.stick-registration-btn::before { content:""; position:absolute; left:8px; right:8px; height:2px; border-radius:2px; opacity:.72; background:currentColor; }
.stick-registration-btn.is-up::before { top:7px; }
.stick-registration-btn.is-down::before { bottom:7px; }
.stick-registration-btn .material-symbols-outlined { flex:0 0 auto; color:#d8f8ff; font-size:24px; }
.stick-registration-btn span:last-child { min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:4px; }
.stick-registration-btn b { font:900 10.4px/1 Helvetica,Arial,sans-serif; letter-spacing:.055em; color:#ffffff; }
.stick-registration-btn small { max-width:100%; color:rgba(225,238,244,.84); font:700 8.7px/1.12 Helvetica,Arial,sans-serif; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stick-registration-btn.is-up { color:#dffaff; border-color:rgba(72,238,255,.78); background:linear-gradient(180deg,rgba(18,129,156,.92),rgba(6,67,83,.96)); box-shadow:inset 0 0 0 1px rgba(110,246,255,.18),0 0 0 1px rgba(43,187,208,.18),0 10px 24px rgba(0,0,0,.26); }
.stick-registration-btn.is-down { color:#eef3ff; border-color:rgba(136,156,255,.82); background:linear-gradient(180deg,rgba(66,84,183,.95),rgba(28,37,102,.98)); box-shadow:inset 0 0 0 1px rgba(165,181,255,.18),0 10px 24px rgba(0,0,0,.26); }
.stick-registration-btn.is-down .material-symbols-outlined { color:#e0e8ff; }
.stick-registration-btn:not(:disabled):hover { transform:translateY(-1px); filter:brightness(1.08); box-shadow:0 0 0 1px rgba(255,255,255,.025),0 8px 22px rgba(0,0,0,.16); }
.stick-registration-btn:not(:disabled):active { transform:translateY(1px); filter:brightness(.96); }
.stick-registration-btn.is-auto { min-height:69px; color:#fff6dc; border-color:rgba(255,214,104,.92); background:linear-gradient(180deg,rgba(181,122,18,.98),rgba(104,63,6,.98)); box-shadow:inset 0 0 0 1px rgba(255,232,170,.22),0 0 0 1px rgba(255,194,70,.10),0 10px 24px rgba(0,0,0,.28); }
.stick-registration-btn.is-auto::before { top:7px; bottom:7px; left:7px; right:auto; width:3px; height:auto; background:#ffe38e; }
.stick-registration-btn.is-auto .material-symbols-outlined { color:#fff0ba; font-size:27px; }
.stick-registration-btn.is-auto { transition:transform 90ms ease; }
.stick-registration-btn.is-auto b { font-size:11.0px; letter-spacing:.065em; }
.stick-registration-btn:focus-visible { outline:2px solid rgba(255,255,255,.78); outline-offset:2px; }
.stick-registration-btn:disabled { cursor:not-allowed; opacity:1; filter:none; transform:none; }
.stick-registration-note { display:flex; gap:9px; align-items:flex-start; margin-top:10px; padding:8px 9px; border:1px solid rgba(var(--pf-accent-rgb),.10); border-radius:10px; background:rgba(var(--pf-accent-rgb),.028); }
.stick-registration-note .material-symbols-outlined { flex:0 0 auto; margin-top:1px; color:rgba(var(--pf-accent-rgb),.76); font-size:18px; }
.stick-registration-note p { margin:0; color:rgba(188,217,225,.68); font:600 9.3px/1.38 Helvetica,Arial,sans-serif; }
.stick-registration-note b { color:rgba(229,246,250,.88); }

/* v108 · registration state shared by reader frame and AUTO DATUM.
   Pending uses a HARD blink (no opacity interpolation/fade). On successful
   registration all three cues flash green exactly three times, then the frame
   disappears and AUTO DATUM returns to its normal amber appearance. */
.stick-registration-reader-stage::after {
  content:"";
  position:absolute;
  inset:0;
  border:2px solid transparent;
  border-radius:inherit;
  pointer-events:none;
  box-sizing:border-box;
  opacity:0;
  z-index:3;
}
.stick-registration-panel.is-sync-pending .stick-registration-reader-stage::after {
  border-color:rgba(255,31,54,.98);
  box-shadow:inset 0 0 8px rgba(255,31,54,.38),0 0 8px rgba(255,31,54,.88),0 0 22px rgba(255,31,54,.48);
  opacity:1;
  animation:pfStickSyncHardBlink .56s steps(1,end) infinite;
}
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto,
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto:disabled {
  color:#fff;
  border-color:rgba(255,48,65,.98);
  background:linear-gradient(180deg,rgba(190,28,38,.99),rgba(104,8,16,.99));
  box-shadow:inset 0 0 0 1px rgba(255,185,190,.20),0 0 7px rgba(255,28,45,.92),0 0 20px rgba(255,28,45,.46);
  animation:pfStickSyncHardBlink .56s steps(1,end) infinite;
  opacity:1;
  filter:none;
  transition:none;
}
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto::before { background:#ff9ca5; }
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto .material-symbols-outlined { color:#fff2f3; }
.stick-registration-panel.is-sync-completing .stick-registration-reader-stage::after {
  border-color:rgba(46,232,137,.98);
  box-shadow:inset 0 0 8px rgba(46,232,137,.30),0 0 9px rgba(46,232,137,.62),0 0 20px rgba(46,232,137,.32);
  opacity:1;
  animation:pfStickSyncTriple .20s steps(1,end) 3 both;
}
.stick-registration-panel.is-sync-completing .stick-registration-btn.is-auto,
.stick-registration-panel.is-sync-completing .stick-registration-btn.is-auto:disabled {
  color:#effff6;
  border-color:rgba(46,232,137,.98);
  background:linear-gradient(180deg,rgba(22,151,86,.98),rgba(8,82,47,.99));
  box-shadow:inset 0 0 0 1px rgba(184,255,218,.16),0 0 9px rgba(46,232,137,.46),0 10px 24px rgba(0,0,0,.26);
  animation:pfStickSyncTriple .20s steps(1,end) 3 both;
  filter:none;
  transition:none;
}
.stick-registration-panel.is-sync-completing .stick-registration-btn.is-auto::before { background:#8fffc1; }
.stick-registration-panel.is-sync-completing .stick-registration-btn.is-auto .material-symbols-outlined { color:#dffff0; }
.stick-registration-note.is-synchronized {
  border-color:rgba(46,232,137,.28);
  background:rgba(46,232,137,.07);
}
.stick-registration-note.is-synchronized .material-symbols-outlined,
.stick-registration-note.is-synchronized b { color:#9fffc8; }
@keyframes pfStickSyncHardBlink {
  0%,49% { opacity:1; }
  50%,100% { opacity:0; }
}
@keyframes pfStickSyncTriple {
  0%,49% { opacity:1; }
  50%,100% { opacity:0; }
}

@media (max-width:680px) { .stick-registration-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}.stick-registration-controls{grid-template-columns:1fr;}.stick-registration-btn,.stick-registration-btn.is-auto{min-height:52px;} .stick-registration-reader-head{flex-direction:column;align-items:flex-start;} }

/* v110 · Calibration readiness on START.
   The signal is deliberately a hard on/off blink (no opacity transition):
   red = datum lost / calibration required, green = synchronized and ready. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-pending .video-quick-image {
  filter: hue-rotate(235deg) saturate(2.35) brightness(.96) drop-shadow(0 0 10px rgba(255,38,38,.86)) !important;
  animation: pfCalibrationStartHardBlink .56s steps(1,end) infinite;
  transition: none !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-ready .video-quick-image {
  filter: saturate(1.32) brightness(1.08) drop-shadow(0 0 10px rgba(46,232,137,.86)) !important;
  animation: none !important;
  opacity: 1 !important;
  transition: none !important;
}
@keyframes pfCalibrationStartHardBlink {
  0%,49% { opacity:1; }
  50%,100% { opacity:0; }
}
@media (prefers-reduced-motion: reduce) {
  #screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-pending .video-quick-image {
    animation: pfCalibrationStartHardBlink .56s steps(1,end) infinite !important;
  }
  #screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-ready .video-quick-image {
    animation:none !important; opacity:1 !important;
  }
}


/* v110 · centred HMI row selector. The artwork remains the authoritative UI;
   transparent hit areas sit exactly over its two authored selection rectangles. */
.video-hmi-overlay {
  position:absolute; inset:0; z-index:82; pointer-events:none;
  display:flex; align-items:center; justify-content:center;
}
.video-hmi-overlay[hidden] { display:none !important; }
.video-hmi-stage {
  position:relative; width:min(74vw,960px); max-width:calc(100vw - 220px);
  filter:drop-shadow(0 22px 46px rgba(0,0,0,.42)); pointer-events:auto;
}
.video-hmi-stage > img { display:block; width:100%; height:auto; user-select:none; pointer-events:none; }
.video-hmi-hotspot {
  position:absolute; top:28.2%; height:46.9%; border:2px solid transparent; border-radius:7%;
  padding:0; margin:0; background:transparent; cursor:pointer; outline:none;
  transition:border-color 90ms linear, box-shadow 90ms linear, background 90ms linear;
}
.video-hmi-hotspot.is-double { left:22.25%; width:27.3%; }
.video-hmi-hotspot.is-single { left:51.7%; width:27.3%; }
.video-hmi-hotspot:hover, .video-hmi-hotspot:focus-visible {
  border-color:rgba(var(--pf-accent-rgb),.86);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.46),0 0 18px rgba(var(--pf-accent-rgb),.42);
  background:rgba(var(--pf-accent-rgb),.035);
}
.video-hmi-hotspot.selected {
  border-color:rgba(var(--pf-accent-rgb),.96);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.55),0 0 22px rgba(var(--pf-accent-rgb),.52);
}
@media (max-width:900px) {
  .video-hmi-stage { width:min(86vw,820px); max-width:calc(100vw - 36px); }
}


/* v111 · selected element action badges + restore tray */
.selection-actions {
  position:absolute; z-index:78; display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:999px;
  background:rgba(7,19,27,.92); border:1px solid rgba(175,223,235,.22);
  box-shadow:0 12px 28px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
}
.selection-actions[hidden] { display:none !important; }
.selection-action-btn {
  width:42px; height:42px; border-radius:50%; border:1px solid rgba(188,228,238,.18);
  background:linear-gradient(180deg, rgba(16,44,58,.95), rgba(8,22,30,.96));
  color:#f2fbfd; display:inline-flex; align-items:center; justify-content:center;
  cursor:pointer; box-shadow:0 5px 14px rgba(0,0,0,.24); transition:transform 100ms ease, filter 100ms ease, border-color 100ms ease;
}
.selection-action-btn .material-symbols-outlined { font-size:22px; }
.selection-action-btn:hover, .selection-action-btn:focus-visible { transform:translateY(-1px); filter:brightness(1.08); border-color:rgba(var(--pf-accent-rgb), .48); outline:none; }
.selection-action-btn.is-hide { color:#ffd9dc; }
.selection-action-btn.is-info { color:#d9f3ff; }
.selection-action-btn.is-pdf { color:#ffe3d3; }
.hidden-parts-tray {
  position:absolute; left:50%; bottom:18px; transform:translateX(-50%); z-index:76;
  display:flex; align-items:flex-end; justify-content:center; gap:10px; flex-wrap:wrap;
  min-height:0; max-width:min(80vw, 1100px);
}
.hidden-parts-tray[hidden] { display:none !important; }
.hidden-part-chip {
  width:116px; padding:7px 7px 8px; border-radius:15px; border:1px solid rgba(191,230,240,.18);
  background:rgba(7,18,24,.92); color:#effbfd; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:6px;
  box-shadow:0 14px 28px rgba(0,0,0,.34);
}
.hidden-part-chip img { display:block; width:100%; height:68px; object-fit:contain; border-radius:10px; background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); }
.hidden-part-chip span { font:700 11px/1.18 Helvetica,Arial,sans-serif; text-align:center; max-width:100%; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hidden-part-chip:hover, .hidden-part-chip:focus-visible { transform:translateY(-1px); border-color:rgba(var(--pf-accent-rgb), .42); outline:none; }
.selection-info-overlay {
  position:absolute; inset:0; z-index:80; display:flex; align-items:center; justify-content:center; pointer-events:auto;
  background:rgba(2,8,12,.14);
}
.selection-info-overlay[hidden] { display:none !important; }
.selection-info-card {
  width:min(420px, calc(100vw - 40px)); padding:18px 18px 16px; border-radius:18px;
  background:linear-gradient(180deg, rgba(10,25,34,.98), rgba(6,17,24,.98));
  border:1px solid rgba(188,228,238,.18); color:#eaf8fc; box-shadow:0 18px 44px rgba(0,0,0,.4);
}
.selection-info-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.selection-info-head strong { font:800 17px/1.15 Helvetica,Arial,sans-serif; }
.selection-info-close { width:32px; height:32px; border-radius:50%; border:1px solid rgba(188,228,238,.18); background:rgba(255,255,255,.03); color:#f2fbfd; font-size:20px; cursor:pointer; }
.selection-info-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 0; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }
.selection-info-row span { color:rgba(192,223,232,.72); font:700 11px/1.2 Helvetica,Arial,sans-serif; text-transform:uppercase; letter-spacing:.04em; }
.selection-info-row b { font:800 14px/1.2 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.selection-info-card p { margin:14px 0 0; color:rgba(223,237,242,.86); font:600 13px/1.45 Helvetica,Arial,sans-serif; }

/* v111 · HMI overlay without highlight rectangles; draggable as a single card. */
.video-hmi-stage { cursor:grab; }
.video-hmi-stage:active { cursor:grabbing; }
.video-hmi-hotspot,
.video-hmi-hotspot:hover,
.video-hmi-hotspot:focus-visible,
.video-hmi-hotspot.selected {
  border-color:transparent !important;
  box-shadow:none !important;
  background:transparent !important;
  outline:none !important;
}

/* v160 · TEST diagnostic panel temporarily enabled for 3D-selection tracing. */
.embed-test-panel { display:block !important; }

/* v111 · Calibration START cue: only the frame blinks red; ready state is steady green. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"] .mi-icon {
  position:relative;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"] .mi-icon::after {
  content:""; position:absolute; inset:2px; border-radius:16px; pointer-events:none;
  border:2px solid transparent; box-shadow:none;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-pending .video-quick-image {
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.18)) !important;
  animation:none !important; opacity:1 !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-pending .mi-icon::after {
  border-color:rgba(255,38,38,.98); box-shadow:0 0 8px rgba(255,38,38,.84), inset 0 0 9px rgba(255,38,38,.22);
  animation:pfCalibrationStartBorderBlink .56s steps(1,end) infinite;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-ready .video-quick-image {
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.18)) !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-ready .mi-icon::after {
  border-color:rgba(46,232,137,.96); box-shadow:0 0 8px rgba(46,232,137,.72), inset 0 0 8px rgba(46,232,137,.18); animation:none !important;
}
@keyframes pfCalibrationStartBorderBlink { 0%,49% { opacity:1; } 50%,100% { opacity:0; } }

/* v111 · stick registration simplification and AUTO DATUM border-only blink. */
.stick-registration-gauge[hidden], .stick-registration-note[hidden] { display:none !important; }
.stick-registration-panel.is-sync-pending .stick-registration-reader-stage::after {
  animation:none !important; opacity:1 !important;
}
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto,
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto:disabled {
  color:#fff6dc;
  border-color:rgba(255,48,65,.98);
  background:linear-gradient(180deg,rgba(181,122,18,.98),rgba(104,63,6,.98));
  box-shadow:inset 0 0 0 1px rgba(255,232,170,.22),0 10px 24px rgba(0,0,0,.28);
  animation:none !important;
}
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto::after,
.stick-registration-panel.is-sync-completing .stick-registration-btn.is-auto::after {
  content:""; position:absolute; inset:-2px; border-radius:12px; pointer-events:none;
}
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto::after {
  border:2px solid rgba(255,48,65,.98);
  box-shadow:0 0 9px rgba(255,28,45,.92), inset 0 0 8px rgba(255,28,45,.20);
  animation:pfStickSyncHardBlink .56s steps(1,end) infinite;
}
.stick-registration-panel.is-sync-completing .stick-registration-reader-stage::after {
  animation:pfStickSyncTriple .20s steps(1,end) 3 both;
}
.stick-registration-panel.is-sync-completing .stick-registration-btn.is-auto,
.stick-registration-panel.is-sync-completing .stick-registration-btn.is-auto:disabled {
  color:#fff6dc;
  background:linear-gradient(180deg,rgba(181,122,18,.98),rgba(104,63,6,.98));
  border-color:rgba(255,214,104,.92);
  box-shadow:inset 0 0 0 1px rgba(255,232,170,.22),0 10px 24px rgba(0,0,0,.28);
  animation:none !important;
}
.stick-registration-panel.is-sync-completing .stick-registration-btn.is-auto::after {
  border:2px solid rgba(46,232,137,.98);
  box-shadow:0 0 9px rgba(46,232,137,.58), inset 0 0 8px rgba(46,232,137,.18);
  animation:pfStickSyncTriple .20s steps(1,end) 3 both;
}

/* ========================================================================
   EMBED v113 · stability-first refinements
   ======================================================================== */

/* Hidden-component tray: thumbnail occupies about 90% of its visual well. */
.hidden-part-chip {
  width: 142px !important;
  min-height: 132px;
  padding: 8px 8px 9px !important;
}
.hidden-part-thumb {
  width: 100%; height: 98px; display:flex; align-items:center; justify-content:center;
  border-radius:11px; overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}
.hidden-part-thumb img {
  width: 100% !important; height: 100% !important; object-fit:contain !important;
  border-radius:8px; background:transparent !important;
}
.hidden-part-name {
  width:100%; display:block; text-align:center;
  font:700 11px/1.18 Helvetica,Arial,sans-serif;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}

/* Info card is placed beside the action icons, never on top of them. */
.selection-info-overlay {
  display:block !important; position:absolute !important; inset:0 !important;
  background:transparent !important; pointer-events:none !important;
}
.selection-info-overlay[hidden] { display:none !important; }
.selection-info-card { position:absolute !important; margin:0 !important; pointer-events:auto !important; }
.selection-action-btn.is-home { color:#ddffd9; }

/* Calibration START: the button image itself blinks red when unsynchronized,
   and is steady green when calibration is valid. No outer rectangle. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"] .mi-icon::after {
  content:none !important; display:none !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-pending .video-quick-image {
  filter:hue-rotate(235deg) saturate(2.35) brightness(.96) drop-shadow(0 0 10px rgba(255,38,38,.86)) !important;
  animation:pfCalibrationStartHardBlink .56s steps(1,end) infinite !important;
  opacity:1; transition:none !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-ready .video-quick-image {
  filter:saturate(1.32) brightness(1.08) drop-shadow(0 0 10px rgba(46,232,137,.86)) !important;
  animation:none !important; opacity:1 !important; transition:none !important;
}

/* HMI hit areas remain invisible in every state. */
.video-hmi-hotspot,
.video-hmi-hotspot:hover,
.video-hmi-hotspot:focus-visible,
.video-hmi-hotspot.selected {
  border-color:transparent !important; box-shadow:none !important;
  background:transparent !important; outline:none !important;
}

/* How to use is now at the top-left. */
.embed-howto-video-btn { top:clamp(16px,1.65vw,28px) !important; bottom:auto !important; }

/* ========================================================================
   EMBED v120 · CLEAN access instruction before the thermal pads are exposed
   ======================================================================== */
.clean-instruction-backdrop {
  position:absolute;
  inset:0;
  z-index:2147483200;
  background:rgba(2,8,13,.42);
  opacity:0;
  pointer-events:auto;
  touch-action:none;
  cursor:default;
  backdrop-filter:brightness(.78) saturate(.92);
  -webkit-backdrop-filter:brightness(.78) saturate(.92);
}
.clean-instruction-backdrop[hidden] { display:none !important; }
.clean-instruction-backdrop.is-running { animation:pfCleanAccessBackdrop 5.9s ease both; }
.clean-instruction-card {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%) scale(.985);
  z-index:2147483201;
  width:min(920px, calc(100vw - 120px));
  display:grid;
  grid-template-columns:minmax(340px, 44%) minmax(0, 1fr);
  gap:24px;
  align-items:center;
  padding:22px;
  border:1px solid rgba(var(--pf-accent-rgb), .34);
  border-radius:24px;
  overflow:hidden;
  clip-path:inset(0 round 24px);
  background:linear-gradient(180deg, rgba(8,25,34,.985), rgba(5,17,24,.985));
  box-shadow:0 28px 64px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.05), 0 0 28px rgba(var(--pf-accent-rgb),.10);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  opacity:0;
  pointer-events:none;
  will-change:opacity,transform;
}
.clean-instruction-card[hidden] { display:none !important; }
.clean-instruction-card.is-running { animation:pfCleanAccessDialog 5.9s ease both; }
.clean-instruction-media {
  overflow:hidden;
  border-radius:17px;
  clip-path:inset(0 round 17px);
  background:#07121a;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.05);
  aspect-ratio:4 / 3;
}
.clean-instruction-media img {
  width:100%; height:100%; display:block; object-fit:cover; object-position:center;
}
.clean-instruction-copy {
  min-width:0; padding:6px 8px 6px 2px; display:flex; flex-direction:column; gap:14px;
}
.clean-instruction-kicker {
  color:rgb(var(--pf-accent-rgb)); font:800 12px/1.2 Helvetica,Arial,sans-serif;
  letter-spacing:.16em; text-transform:uppercase;
}
.clean-instruction-copy strong {
  color:#f4fbfd; font:800 clamp(22px,1.9vw,31px)/1.34 Helvetica,Arial,sans-serif;
  letter-spacing:-.012em; text-wrap:balance;
}
.clean-instruction-card.is-running .clean-instruction-kicker,
.clean-instruction-card.is-running .clean-instruction-copy strong {
  animation:pfCleanAccessTextPulse 1.04s ease-in-out 3 .72s;
}
@keyframes pfCleanAccessDialog {
  0%   { opacity:0; transform:translate(-50%, calc(-50% + 14px)) scale(.978); }
  10%  { opacity:1; transform:translate(-50%, -50%) scale(1); }
  88%  { opacity:1; transform:translate(-50%, -50%) scale(1); }
  100% { opacity:0; transform:translate(-50%, calc(-50% - 10px)) scale(.992); }
}
@keyframes pfCleanAccessBackdrop {
  0%   { opacity:0; }
  10%  { opacity:1; }
  88%  { opacity:1; }
  100% { opacity:0; }
}
@keyframes pfCleanAccessTextPulse {
  0%,100% { opacity:1; }
  38% { opacity:.34; }
  62% { opacity:1; }
}
@media (max-width:860px) {
  .clean-instruction-card {
    width:min(680px, calc(100vw - 32px)); grid-template-columns:1fr; top:50%; gap:18px; padding:18px;
  }
  .clean-instruction-media { aspect-ratio:16/9; }
  .clean-instruction-copy strong { font-size:clamp(19px, 4.1vw, 26px); }
}

/* v120 · force genuinely rounded information/action surfaces; no pointed corner artifacts. */
.selection-info-card {
  border-radius:20px !important;
  overflow:hidden !important;
  clip-path:inset(0 round 20px);
}
.selection-actions {
  border-radius:999px !important;
  overflow:hidden;
  clip-path:inset(0 round 999px);
}


/* v120 · CLEAN instruction is genuinely modal until it disappears. */
#screen-home.clean-intro-locked .home-stack > *:not(.clean-instruction-backdrop):not(.clean-instruction-card) {
  pointer-events:none !important;
}
#screen-home.clean-intro-locked .clean-instruction-backdrop {
  pointer-events:auto !important;
}
#screen-home.clean-intro-locked .clean-instruction-card {
  pointer-events:none !important;
}


/* ========================================================================
   EMBED v123 · First START press — patented speed control / stop system
   ======================================================================== */
.app-dialog-barrier.patented-start-dialog-barrier {
  z-index: 2147483646 !important;
  padding: clamp(18px, 3vw, 42px);
  box-sizing: border-box;
  background: rgba(1, 6, 10, .76) !important;
  -webkit-backdrop-filter: blur(11px) saturate(.78) brightness(.67);
  backdrop-filter: blur(11px) saturate(.78) brightness(.67);
}
.app-dialog-barrier.patented-start-dialog-barrier .app-dialog-holder {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.patented-start-dialog {
  width: min(920px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(var(--pf-accent-rgb, 71, 216, 255), .36);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(8, 24, 32, .995), rgba(4, 15, 21, .995));
  box-shadow: 0 36px 100px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.06), 0 0 46px rgba(var(--pf-accent-rgb, 71, 216, 255), .12);
  color: #f3fbfd;
  font-family: Helvetica, Arial, sans-serif;
}
.patented-start-dialog__header {
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3.8vw, 42px) 18px;
  text-align: center;
}
.patented-start-dialog__eyebrow {
  margin-bottom: 9px;
  color: rgb(var(--pf-accent-rgb, 71, 216, 255));
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .19em;
}
.patented-start-dialog h2 {
  margin: 0;
  color: #f6fcff;
  font-size: clamp(25px, 3.25vw, 42px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.patented-start-dialog__media {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(18px, 3vw, 32px);
}
.patented-start-dialog__media img {
  display: block;
  width: min(100%, 800px);
  max-height: min(55vh, 560px);
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.32));
}
.patented-start-dialog__actions {
  display: flex;
  justify-content: center;
  padding: 16px 24px 24px;
}
.patented-start-dialog__continue {
  min-width: 150px;
  height: 48px;
  padding: 0 28px;
  border: 1px solid rgba(var(--pf-accent-rgb, 71, 216, 255), .72);
  border-radius: 999px;
  background: rgba(var(--pf-accent-rgb, 71, 216, 255), .13);
  color: #f6fcff;
  font: 800 14px/1 Helvetica, Arial, sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .14s ease, background .14s ease, box-shadow .14s ease;
}
.patented-start-dialog__continue:hover {
  background: rgba(var(--pf-accent-rgb, 71, 216, 255), .22);
  box-shadow: 0 0 24px rgba(var(--pf-accent-rgb, 71, 216, 255), .13);
}
.patented-start-dialog__continue:active { transform: scale(.975); }
.patented-start-dialog__continue:focus-visible {
  outline: 2px solid rgb(var(--pf-accent-rgb, 71, 216, 255));
  outline-offset: 3px;
}
@media (max-width: 680px) {
  .app-dialog-barrier.patented-start-dialog-barrier { padding: 14px; }
  .patented-start-dialog { width: calc(100vw - 28px); max-height: calc(100vh - 28px); border-radius: 20px; }
  .patented-start-dialog__header { padding: 20px 18px 12px; }
  .patented-start-dialog__media { padding: 0 12px; }
  .patented-start-dialog__actions { padding: 12px 18px 18px; }
}

/* ========================================================================
   EMBED v130 · Speed onboarding + production-only Heat-sealing Block dialog
   ======================================================================== */
.video-speed-popover {
  transition: width 180ms ease;
  overflow: visible;
}
.video-speed-popover.has-speed-onboarding {
  width: 390px;
}
.video-speed-popover.has-speed-onboarding .vt-title,
.video-speed-popover.has-speed-onboarding .vt-current {
  width: 118px;
}
.video-speed-popover.has-speed-onboarding .vt-scale {
  width: 118px;
  margin-left: 0;
  margin-right: 0;
}
.video-speed-popover .vt-speed-onboarding[hidden] { display: none !important; }
.video-speed-popover .vt-speed-onboarding {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
}
.video-speed-popover .vt-speed-callout {
  position: absolute;
  left: 132px;
  width: 226px;
  box-sizing: border-box;
  transform: translateY(-50%);
  padding: 9px 11px 9px 13px;
  border: 1px solid rgba(95,217,236,.48);
  border-radius: 11px;
  background: rgba(7,16,23,.96);
  color: #eaf8fb;
  box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 18px rgba(95,217,236,.10);
  font: 700 11.5px/1.32 Helvetica, Arial, sans-serif;
  letter-spacing: .004em;
}
.video-speed-popover .vt-speed-callout::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 50%;
  width: 17px;
  height: 1px;
  background: rgba(95,217,236,.72);
  box-shadow: 0 0 8px rgba(95,217,236,.30);
}
.video-speed-popover .vt-speed-callout::after {
  content: '';
  position: absolute;
  left: -21px;
  top: calc(50% - 3px);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--pf-accent-rgb));
  box-shadow: 0 0 10px rgba(var(--pf-accent-rgb),.65);
}
.video-speed-popover .vt-speed-callout-value {
  display: block;
  margin-bottom: 2px;
  color: rgb(var(--pf-accent-rgb));
  font: 900 10px/1.15 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .055em;
}
.video-speed-popover .vt-speed-callout.is-current {
  border-color: rgba(206,226,234,.30);
}
.video-speed-popover .vt-speed-callout.is-current::before { background: rgba(206,226,234,.55); box-shadow: none; }
.video-speed-popover .vt-speed-callout.is-current::after { background: #dce8ed; box-shadow: 0 0 8px rgba(220,232,237,.32); }

/* The Heat-sealing Block dialog now contains only requested production data
   and the existing live chart. Status and unrelated live metrics are gone. */
.pinfo.pinfo-technical.video-process-graph {
  width: min(485px, calc(100vw - 24px)) !important;
}
.video-process-production {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0 0 9px;
}
.video-process-production-row {
  min-width: 0;
  padding: 7px 9px 8px;
  border: 1px solid rgba(var(--pf-accent-rgb), .16);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(var(--pf-accent-rgb), .025));
}
.video-process-production-row.is-product { grid-column: 1 / -1; }
.video-process-production-row .k {
  display: block;
  margin-bottom: 3px;
  color: rgba(161,210,222,.76);
  font: 800 8.6px/1.15 Helvetica, Arial, sans-serif;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.video-process-production-row strong {
  display: block;
  color: #f2fbfd;
  font: 800 12.1px/1.22 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: normal;
}
.video-process-graph .video-process-chart-shell { margin-top: 0 !important; }
@media (max-width: 620px) {
  .video-speed-popover.has-speed-onboarding { width: min(360px, calc(100vw - 28px)); }
  .video-speed-popover .vt-speed-callout { width: calc(100% - 146px); left: 132px; font-size: 10.5px; }
  .video-process-production { grid-template-columns: 1fr; }
  .video-process-production-row.is-product { grid-column: auto; }
}

/* ========================================================================
   EMBED v130 · Unified Speed + Heat-sealing Block workstation
   ======================================================================== */
.video-speed-popover.video-speed-heat-dialog,
.video-speed-popover.video-speed-heat-dialog.has-speed-onboarding {
  width: 390px;
  min-height: 0;
  max-height: calc(100vh - 16px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 14px 14px 12px;
}
.video-speed-heat-dialog .vt-title {
  width: 100% !important;
  justify-content: flex-start;
  padding-left: 2px;
  margin-bottom: 4px;
}
.video-speed-heat-main {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.video-speed-control { min-width: 0; }
.video-speed-heat-dialog .vt-scale {
  width: 118px !important;
  margin: 8px 0 2px !important;
}
.video-speed-heat-dialog .vt-current {
  width: 118px !important;
}
.video-speed-heat-dialog .video-process-production {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin: 8px 0 0;
  align-content: start;
}
.video-speed-heat-dialog .video-process-production-row,
.video-speed-heat-dialog .video-process-production-row.is-product {
  grid-column: auto;
  padding: 6px 8px 7px;
}
.video-speed-heat-dialog .video-process-production-row .k { font-size: 7.9px; }
.video-speed-heat-dialog .video-process-production-row strong { font-size: 10.7px; }
.video-speed-heat-dialog .video-process-chart-shell {
  margin: 10px 0 0 !important;
  padding: 7px 8px 6px !important;
  border-radius: 10px !important;
}
.video-speed-heat-dialog .video-process-chart { height: 160px; }
.video-speed-heat-dialog .video-process-chart-head,
.video-speed-heat-dialog .video-process-chart-foot {
  min-height: 15px;
  font-size: 8px;
}
.video-speed-heat-dialog .vt-speed-onboarding {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 12;
}
.video-speed-heat-dialog .vt-speed-callout {
  left: 132px;
  width: 226px;
}
.video-speed-heat-dialog .vt-speed-callout.is-target {
  animation: pf-speed-target-blink .82s ease-in-out infinite;
  transform-origin: left center;
}
@keyframes pf-speed-target-blink {
  0%, 100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 18px rgba(95,217,236,.16);
  }
  50% {
    opacity: .34;
    transform: translateY(-50%) scale(.985);
    box-shadow: 0 8px 18px rgba(0,0,0,.20), 0 0 6px rgba(95,217,236,.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .video-speed-heat-dialog .vt-speed-callout.is-target { animation: none; }
}
@media (max-width: 520px) {
  .video-speed-popover.video-speed-heat-dialog,
  .video-speed-popover.video-speed-heat-dialog.has-speed-onboarding {
    width: min(390px, calc(100vw - 20px));
    max-height: calc(100vh - 12px);
    overflow-y: auto;
  }
  .video-speed-heat-main { grid-template-columns: 110px minmax(0, 1fr); gap: 9px; }
  .video-speed-heat-dialog .vt-scale,
  .video-speed-heat-dialog .vt-current { width: 110px !important; }
  .video-speed-heat-dialog .vt-speed-callout { left: 122px; width: calc(100% - 136px); }
  .video-speed-heat-dialog .video-process-chart { height: 166px; }
}

/* ========================================================================
   EMBED v130 · Speed + Heat-sealing Block compact production workstation
   ======================================================================== */
.video-speed-popover.video-speed-heat-dialog,
.video-speed-popover.video-speed-heat-dialog.has-speed-onboarding {
  width: 390px !important;
  min-height: 0;
  max-height: calc(100vh - 16px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 14px 14px 12px;
}
.video-speed-heat-dialog .vt-title {
  width: 100% !important;
  justify-content: flex-start;
  padding-left: 2px;
  margin-bottom: 6px;
}
.video-speed-hero {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  min-height: 218px;
}
.video-speed-control { min-width: 0; }
.video-speed-heat-dialog .vt-scale {
  width: 150px !important;
  height: 212px;
  margin: 0 !important;
}
.video-speed-heat-dialog .vt-range {
  left: 35px;
  width: 180px;
}
.video-speed-heat-dialog .vt-max,
.video-speed-heat-dialog .vt-min {
  left: 7px;
  right: auto;
  width: 54px;
  text-align: center;
  font-size: 9px;
}
.video-speed-heat-dialog .vt-speed-marker {
  position: absolute;
  left: 58px;
  width: 88px;
  transform: translateY(-50%);
  display: grid;
  gap: 1px;
  pointer-events: none;
  z-index: 3;
}
.video-speed-heat-dialog .vt-speed-marker::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 50%;
  width: 9px;
  height: 1px;
  background: rgba(213,232,238,.55);
}
.video-speed-heat-dialog .vt-speed-marker span {
  color: rgba(214,232,238,.72);
  font: 800 8.5px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .035em;
  text-transform: uppercase;
}
.video-speed-heat-dialog .vt-speed-marker strong {
  color: #dcebf0;
  font: 800 9.5px/1.12 Helvetica, Arial, sans-serif;
  white-space: nowrap;
}
.video-speed-heat-dialog .vt-speed-marker.is-new::before {
  background: rgba(255,204,61,.9);
  box-shadow: 0 0 7px rgba(255,204,61,.36);
}
.video-speed-heat-dialog .vt-speed-marker.is-new span,
.video-speed-heat-dialog .vt-speed-marker.is-new strong {
  color: #ffd348;
  text-shadow: 0 0 10px rgba(255,211,72,.16);
}

.video-speed-kpis {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 8px 0 5px;
}
.video-speed-kpi {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  border: 1px solid rgba(var(--pf-accent-rgb), .25);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(var(--pf-accent-rgb),.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}
.video-speed-kpi > span {
  color: rgba(162,211,222,.74);
  font: 800 8.2px/1 Helvetica, Arial, sans-serif;
  letter-spacing: .075em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.video-speed-kpi > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}
.video-speed-kpi strong {
  color: #f4fdff;
  font: 900 34px/.95 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: -.045em;
  min-width: 0;
}
.video-speed-kpi em {
  color: rgba(215,235,240,.78);
  font: 800 10px/1 Helvetica, Arial, sans-serif;
  font-style: normal;
  white-space: nowrap;
}
.video-speed-kpi.is-output strong { font-size: 29px; }
.video-speed-kpi.is-output em { font-size: 9px; }

/* Production data is deliberately tabular and below the slider/KPIs. */
.video-speed-heat-dialog .video-process-production {
  display: block !important;
  margin: 7px 0 0 !important;
  border: 1px solid rgba(var(--pf-accent-rgb), .20);
  border-radius: 11px;
  overflow: hidden;
  background: rgba(255,255,255,.018);
}
.video-speed-heat-dialog .video-process-production-row,
.video-speed-heat-dialog .video-process-production-row.is-product {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 29px;
  padding: 5px 9px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.video-speed-heat-dialog .video-process-production-row + .video-process-production-row {
  border-top: 1px solid rgba(var(--pf-accent-rgb), .12) !important;
}
.video-speed-heat-dialog .video-process-production-row .k {
  margin: 0 !important;
  color: rgba(161,210,222,.70);
  font-size: 7.9px !important;
}
.video-speed-heat-dialog .video-process-production-row strong {
  color: #f3fbfd;
  font-size: 10.7px !important;
  line-height: 1.2;
  text-align: right;
}

/* First-use guidance: in flow, never covering production data. */
.video-speed-heat-dialog .vt-speed-onboarding[hidden] { display: none !important; }
.video-speed-heat-dialog .vt-speed-onboarding {
  position: relative !important;
  inset: auto !important;
  z-index: auto !important;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px 18px;
  margin: 8px 0 0;
  padding: 6px 9px;
  border: 1px solid rgba(255,205,61,.58);
  border-radius: 9px;
  background: rgba(74,57,7,.25);
  color: #ffd54b;
  pointer-events: none;
  animation: pf-speed-guide-blink .82s steps(2, end) infinite;
}
.video-speed-heat-dialog .vt-speed-onboarding .material-symbols-outlined {
  font-size: 17px;
  color: #ffd54b;
}
.video-speed-heat-dialog .vt-speed-onboarding strong {
  font: 800 10.5px/1.25 Helvetica, Arial, sans-serif;
  letter-spacing: .005em;
}
@keyframes pf-speed-guide-blink {
  0%, 45% { opacity: 1; box-shadow: 0 0 14px rgba(255,205,61,.12); }
  46%, 100% { opacity: .30; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .video-speed-heat-dialog .vt-speed-onboarding { animation: none; opacity: 1; }
}

.video-speed-heat-dialog .video-process-chart-shell {
  margin: 9px 0 0 !important;
  padding: 7px 8px 6px !important;
  border-radius: 10px !important;
}
.video-speed-heat-dialog .video-process-chart { height: 160px; }
.video-speed-heat-dialog .video-process-chart-head,
.video-speed-heat-dialog .video-process-chart-foot {
  min-height: 15px;
  font-size: 7.8px;
}
.video-speed-heat-dialog .video-process-chart-foot .video-process-legend {
  color: #ffd75a;
}
.video-process-legend .is-sugar {
  background: #ffd24d;
  box-shadow: 0 0 6px rgba(255,210,77,.28);
}
.video-process-legend b { font: inherit; color: inherit; }

@media (max-width: 520px) {
  .video-speed-popover.video-speed-heat-dialog,
  .video-speed-popover.video-speed-heat-dialog.has-speed-onboarding {
    width: min(390px, calc(100vw - 16px)) !important;
  }
  .video-speed-hero { grid-template-columns: 145px minmax(0, 1fr); gap: 7px; }
  .video-speed-heat-dialog .vt-scale { width: 145px !important; }
  .video-speed-kpi { padding: 10px; }
  .video-speed-kpi strong { font-size: 30px; }
  .video-speed-kpi.is-output strong { font-size: 25px; }
}

/* ========================================================================
   EMBED v130 · Legacy v7 slider sizing + zoomed pneumatic graph + visual sugar batch
   ======================================================================== */
.video-speed-hero {
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 272px;
}
.video-speed-heat-dialog .vt-scale {
  width: 150px !important;
  height: 270px;
}
.video-speed-heat-dialog .vt-range {
  left: 35px;
  width: 238px;
}
.video-speed-heat-dialog .video-speed-kpis {
  padding-top: 15px;
  padding-bottom: 12px;
}
.video-speed-heat-dialog .video-speed-kpi strong { font-size: 36px; }
.video-speed-heat-dialog .video-speed-kpi.is-output strong { font-size: 30px; }
.video-speed-heat-dialog .video-process-chart { height: 118px; }
.video-speed-heat-dialog .video-process-chart-foot {
  margin-top: 3px;
  color: rgba(186,219,228,.60);
  letter-spacing: .045em;
}
.video-speed-heat-dialog .video-process-chart-foot strong {
  color: rgba(230,243,247,.78);
  font: 800 8px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .02em;
}

.sugar-batch-card {
  display: grid;
  grid-template-columns: 104px minmax(0,1fr);
  gap: 10px;
  align-items: stretch;
  margin-top: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(255,205,61,.30);
  border-radius: 12px;
  background:
    radial-gradient(circle at 15% 18%, rgba(255,205,61,.09), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.025), rgba(102,73,6,.055));
  overflow: hidden;
}
.sugar-batch-visual {
  position: relative;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 22px;
}
.sugar-batch-vessel {
  position: relative;
  width: 62px;
  height: 94px;
  overflow: hidden;
  border: 1.5px solid rgba(230,238,240,.60);
  border-top-width: 3px;
  border-radius: 10px 10px 17px 17px;
  background: rgba(6,15,20,.42);
  box-shadow: inset 0 0 18px rgba(255,255,255,.025), 0 0 18px rgba(255,205,61,.045);
}
.sugar-batch-vessel::before {
  content: '';
  position: absolute;
  left: 9px;
  right: 9px;
  top: -5px;
  height: 8px;
  border: 1px solid rgba(230,238,240,.55);
  border-radius: 5px;
  background: rgba(8,18,23,.92);
  z-index: 5;
}
.sugar-batch-vessel::after {
  content: '';
  position: absolute;
  inset: 8px 7px auto auto;
  width: 7px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,0));
  opacity: .42;
  z-index: 4;
}
.sugar-batch-fill {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100%;
  min-height: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,243,177,.72) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 42%, rgba(255,239,152,.54) 0 1px, transparent 1.5px),
    radial-gradient(circle at 44% 68%, rgba(255,236,137,.62) 0 1px, transparent 1.4px),
    linear-gradient(180deg, #dcae42, #8f5b18 74%, #71410f);
  background-size: 11px 9px, 13px 11px, 9px 12px, auto;
  box-shadow: inset 0 8px 14px rgba(255,223,116,.14);
  transition: height .28s linear;
}
.sugar-batch-fill::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -3px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244,197,74,.92);
  box-shadow: 0 -1px 6px rgba(255,221,111,.22);
}
.sugar-batch-vessel-label {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 4px rgba(0,0,0,.75);
  pointer-events: none;
}
.sugar-batch-vessel-label b {
  color: #fff8d9;
  font: 900 18px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sugar-batch-vessel-label span {
  margin-top: 3px;
  color: rgba(255,248,217,.82);
  font: 800 7.6px/1 Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sugar-batch-scale {
  position: absolute;
  right: 0;
  top: 11px;
  bottom: 11px;
  width: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(221,232,235,.54);
  font: 700 7px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sugar-batch-scale::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,205,61,.55), rgba(255,205,61,.14));
}
.sugar-batch-scale span { position: relative; }
.sugar-batch-scale span::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  width: 5px;
  height: 1px;
  background: rgba(255,205,61,.48);
}
.sugar-batch-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sugar-batch-title {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  margin-bottom: 8px;
}
.sugar-batch-title .material-symbols-outlined {
  flex: 0 0 auto;
  color: #ffd34b;
  font-size: 19px;
  filter: drop-shadow(0 0 6px rgba(255,211,75,.18));
}
.sugar-batch-title div { min-width: 0; }
.sugar-batch-title strong {
  display: block;
  color: #ffd85b;
  font: 900 9.4px/1.1 Helvetica, Arial, sans-serif;
  letter-spacing: .055em;
}
.sugar-batch-title small {
  display: block;
  margin-top: 2px;
  color: rgba(214,232,237,.58);
  font: 700 7.7px/1.15 Helvetica, Arial, sans-serif;
}
.sugar-batch-stats {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 4px;
}
.sugar-batch-stats > div {
  min-width: 0;
  padding: 5px 4px 4px;
  border-left: 1px solid rgba(255,205,61,.15);
}
.sugar-batch-stats > div:first-child { border-left: 0; padding-left: 0; }
.sugar-batch-stats span {
  display: block;
  color: rgba(199,220,226,.53);
  font: 800 6.8px/1.05 Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sugar-batch-stats strong {
  display: block;
  margin-top: 3px;
  color: #f5fbfd;
  font: 850 9.2px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}
.sugar-batch-progress {
  position: relative;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.sugar-batch-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #956019, #ffd34b);
  box-shadow: 0 0 8px rgba(255,211,75,.22);
  transition: width .28s linear;
}
.sugar-batch-grain { display:none; }

@media (max-width: 520px) {
  .video-speed-hero { min-height: 258px; }
  .video-speed-heat-dialog .vt-scale { height: 256px; }
  .video-speed-heat-dialog .vt-range { width: 224px; }
  .sugar-batch-card { grid-template-columns: 94px minmax(0,1fr); gap: 7px; padding: 8px; }
  .sugar-batch-visual { min-height: 108px; }
}


/* ========================================================================
   EMBED v130 · 0–150 CPM compact slider, taller process graph, dialog chrome,
   and automatic empty-reference-batch stop alarm.
   ======================================================================== */
.video-speed-hero {
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 218px;
}
.video-speed-heat-dialog .vt-scale {
  width: 150px !important;
  height: 212px !important;
}
.video-speed-heat-dialog .vt-range {
  left: 35px;
  width: 180px !important;
}
.video-speed-heat-dialog .video-process-chart {
  height: 250px !important;
}
.video-speed-heat-dialog .vt-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
}
.video-speed-heat-dialog .vt-window-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}
.video-speed-heat-dialog .vt-window-btn {
  width: 25px;
  height: 25px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--pf-accent-rgb), .24);
  border-radius: 7px;
  background: rgba(255,255,255,.025);
  color: rgba(220,239,244,.78);
  cursor: pointer;
}
.video-speed-heat-dialog .vt-window-btn:hover,
.video-speed-heat-dialog .vt-window-btn:focus-visible {
  color: #fff;
  border-color: rgba(var(--pf-accent-rgb), .58);
  background: rgba(var(--pf-accent-rgb), .10);
  outline: none;
}
.video-speed-heat-dialog .vt-window-btn .material-symbols-outlined {
  font-size: 17px;
  line-height: 1;
}
.video-speed-popover.video-speed-heat-dialog.is-minimized {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 8px;
}
.video-speed-popover.video-speed-heat-dialog.is-minimized > :not(.vt-title) {
  display: none !important;
}
.video-speed-popover.video-speed-heat-dialog.is-minimized .vt-title {
  margin-bottom: 0;
}

@keyframes pfBatchEmptyStartBlink {
  0%, 44% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 2px rgba(255,35,35,.72), 0 0 24px rgba(255,0,0,.42); }
  45%, 100% { opacity: .48; transform: scale(.975); box-shadow: 0 0 0 1px rgba(255,35,35,.18), 0 0 6px rgba(255,0,0,.12); }
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop {
  border-radius: 15px !important;
  background: rgba(132,0,0,.42) !important;
  animation: pfBatchEmptyStartBlink .72s steps(2,end) infinite;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop .video-quick-image {
  filter: sepia(1) saturate(8) hue-rotate(316deg) brightness(1.08) drop-shadow(0 0 12px rgba(255,25,25,.72)) !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop .mi-label {
  color: #ff5151 !important;
  text-shadow: 0 0 8px rgba(255,0,0,.55);
  font-weight: 900 !important;
}
@media (prefers-reduced-motion: reduce) {
  #screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop {
    animation: none;
    box-shadow: 0 0 0 2px rgba(255,35,35,.75), 0 0 18px rgba(255,0,0,.30);
  }
}
@media (max-width: 520px) {
  .video-speed-hero { min-height: 208px; }
  .video-speed-heat-dialog .vt-scale { height: 202px !important; }
  .video-speed-heat-dialog .vt-range { width: 170px !important; }
  .video-speed-heat-dialog .video-process-chart { height: 240px !important; }
}

/* ========================================================================
   EMBED v130 · Batch-empty industrial call alarm + patented laser notice
   ======================================================================== */
/* The alarm must change only the illuminated green face of the physical
   START pushbutton. The metal bezel and the menu cell stay untouched. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"] .mi-icon {
  position: relative;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"] .video-quick-image {
  position: relative;
  z-index: 1;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"] .mi-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: url("../assets/images/menu_start_alarm_overlay.png?v=v133") center / contain no-repeat;
  opacity: 0;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"] .mi-icon::after {
  z-index: 3;
}
@keyframes pfBatchEmptyLampPulse {
  0%, 46% { opacity: 1; filter: brightness(1.32) saturate(1.18) drop-shadow(0 0 14px rgba(255,20,20,.82)); }
  47%, 100% { opacity: 1; filter: brightness(.58) saturate(1.05) drop-shadow(0 0 4px rgba(255,20,20,.32)); }
}
/* Override the older whole-button treatment: only the red lamp face pulses. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop {
  background: transparent !important;
  box-shadow: none !important;
  animation: none !important;
  transform: none !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop .video-quick-image {
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.18)) !important;
  animation: none !important;
  opacity: 1 !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop .mi-icon::before {
  animation: pfBatchEmptyLampPulse .68s steps(2,end) infinite;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop .mi-label {
  color: #dce6ea !important;
  text-shadow: 0 2px 6px rgba(0,0,0,.55) !important;
  font-weight: 700 !important;
}
@media (prefers-reduced-motion: reduce) {
  #screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop .mi-icon::before {
    animation: none !important;
    opacity: 1;
    filter: brightness(1.05) drop-shadow(0 0 8px rgba(255,20,20,.62));
  }
}

/* The calibration patent notice deliberately reuses the START modal's
   geometry, backdrop and button language. Only the supplied laser artwork
   receives a slightly tighter optical fit. */
.patented-calibration-dialog__media img {
  /* v144 · Calibration entry artwork reduced by 30% without changing the menu icon. */
  width: min(100%, 574px);
  max-height: min(55vh, 364px);
  object-fit: contain;
}

/* v144 · The first CLEAN patent notice is 15% narrower than the common
   patented-system modal. Its title is intentionally locked to two lines. */
.patented-clean-dialog {
  width: min(782px, calc(100vw - 56px));
}
.patented-clean-dialog #patented-clean-title .patented-clean-title-line {
  display: block;
}

/* ========================================================================
   EMBED v130 · START lamp states without geometry scaling
   ======================================================================== */
/* START is a physical pushbutton. Never move or scale its menu cell or artwork
   on hover/focus/press: lamp overlays must stay registered to the lens. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"],
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"]:hover,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"]:focus-visible,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"]:active,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].selected,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop {
  transform: none !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"] .video-quick-image,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"]:hover .video-quick-image,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"]:focus-visible .video-quick-image,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"]:active .video-quick-image,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].selected .video-quick-image,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop .video-quick-image {
  transform: none !important;
}

/* While production is running, pulse only the green lamp face. Reuse the
   precisely registered face mask used by the red alarm and recolour it green. */
@keyframes pfStartRunningGreenLampPulse {
  0%, 46% {
    opacity: .92;
    filter: hue-rotate(102deg) saturate(1.30) brightness(1.34)
            drop-shadow(0 0 13px rgba(46,232,137,.72));
  }
  47%, 100% {
    opacity: .18;
    filter: hue-rotate(102deg) saturate(1.08) brightness(.80)
            drop-shadow(0 0 3px rgba(46,232,137,.24));
  }
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].selected:not(.batch-empty-stop):not(.calibration-pending):not(.calibration-ready) .mi-icon::before {
  animation: pfStartRunningGreenLampPulse .82s steps(2,end) infinite;
}

/* Batch-empty alarm has priority and uses the same stationary face geometry. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].batch-empty-stop .mi-icon::before {
  animation: pfBatchEmptyLampPulse .68s steps(2,end) infinite !important;
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  #screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].selected:not(.batch-empty-stop):not(.calibration-pending):not(.calibration-ready) .mi-icon::before {
    animation: pfStartRunningGreenLampPulse .82s steps(2,end) infinite !important;
  }
}

/* ========================================================================
   EMBED v133 · Laser calibration workstation refinements
   ======================================================================== */
/* Calibration workstation opens at a fixed presentation position: close to
   the left edge and vertically centred. The header no longer advertises drag. */
.pinfo.pinfo-technical.stick-registration-panel .fp-head { cursor: default !important; }
.pinfo.pinfo-technical.stick-registration-panel .pinfo-drag { display:none !important; }

/* START stays the neutral, unlit green physical button throughout Calibration.
   Synchronization status lives in the laser cue + registration workstation. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral:hover,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral:focus-visible,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral:active {
  transform:none !important;
  background:transparent !important;
  box-shadow:none !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral .video-quick-image,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral:hover .video-quick-image,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral:focus-visible .video-quick-image,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral:active .video-quick-image {
  transform:none !important;
  animation:none !important;
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.18)) !important;
  opacity:1 !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral .mi-icon::before,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral .mi-icon::after {
  opacity:0 !important;
  animation:none !important;
  filter:none !important;
  box-shadow:none !important;
}

/* Registration controls are physical buttons: never scale/translate on hover,
   press or keyboard focus. Only colour/brightness may communicate affordance. */
.stick-registration-btn,
.stick-registration-btn:not(:disabled):hover,
.stick-registration-btn:not(:disabled):active,
.stick-registration-btn:focus-visible,
.stick-registration-btn.is-auto,
.stick-registration-btn.is-auto:not(:disabled):hover,
.stick-registration-btn.is-auto:not(:disabled):active {
  transform:none !important;
}
.stick-registration-btn {
  transition:border-color 110ms ease,background 110ms ease,box-shadow 110ms ease,filter 110ms ease !important;
}

.stick-registration-explainer {
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:10px;
  padding:10px 11px;
  border:1px solid rgba(var(--pf-accent-rgb),.14);
  border-radius:10px;
  background:rgba(var(--pf-accent-rgb),.035);
}
.stick-registration-explainer .material-symbols-outlined {
  flex:0 0 auto;
  margin-top:1px;
  color:rgb(var(--pf-accent-rgb));
  font-size:20px;
}
.stick-registration-explainer p {
  margin:0;
  color:rgba(214,233,238,.78);
  font:650 10.4px/1.42 Helvetica,Arial,sans-serif;
}


/* ========================================================================
   EMBED v133 · production pause semantics + patent reference cards
   ======================================================================== */
/* Larger fixed labels alongside the vertical speed scale. */
.video-speed-heat-dialog .vt-speed-marker span {
  font-size: 10.5px !important;
  line-height: 1.05 !important;
  letter-spacing: .045em !important;
}
.video-speed-heat-dialog .vt-speed-marker strong {
  font-size: 12px !important;
  line-height: 1.12 !important;
  letter-spacing: .005em;
}
.video-speed-heat-dialog .vt-speed-marker { width: 94px !important; }

/* A manual START pause uses the same precisely registered red lamp mask as the
   empty-batch alarm, but it does not start the factory audible alarm. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].operator-paused-stop,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].operator-paused-stop:hover,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].operator-paused-stop:focus-visible,
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].operator-paused-stop:active {
  transform:none !important;
  background:transparent !important;
  box-shadow:none !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].operator-paused-stop .video-quick-image {
  transform:none !important;
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.18)) !important;
  animation:none !important;
  opacity:1 !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].operator-paused-stop .mi-icon::before {
  animation:pfBatchEmptyLampPulse .68s steps(2,end) infinite !important;
}
/* Calibration always wins visually: START is neutral green even when it froze a
   previously running cycle. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"].calibration-neutral.operator-paused-stop .mi-icon::before {
  opacity:0 !important; animation:none !important; filter:none !important;
}

/* The reference images are explanatory content, not separate popovers. */
.patented-inline-card {
  display:grid;
  grid-template-columns:118px minmax(0,1fr);
  gap:11px;
  align-items:center;
  margin-top:10px;
  padding:9px;
  border:1px solid rgba(var(--pf-accent-rgb),.22);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.038),rgba(var(--pf-accent-rgb),.025));
  overflow:hidden;
}
.patented-inline-card img {
  display:block;
  width:100%;
  max-height:92px;
  object-fit:contain;
  border-radius:8px;
  background:rgba(0,0,0,.10);
}
.patented-inline-card strong {
  display:block;
  color:#f2fbfd;
  font:800 11px/1.2 Helvetica,Arial,sans-serif;
  margin-bottom:4px;
}
.patented-inline-card p {
  margin:0;
  color:rgba(213,233,239,.76);
  font:600 9.4px/1.42 Helvetica,Arial,sans-serif;
}
.stick-laser-inline {
  grid-template-columns:148px minmax(0,1fr);
  margin-top:12px;
}
.stick-laser-inline img { max-height:105px; }
.stick-laser-inline strong { font-size:12px; }
.stick-laser-inline p { font-size:10.5px; }

/* The extra reference card can make Speed taller than a short display. Keep the
   390 px workstation width while allowing its body to scroll safely. */
.video-speed-popover.video-speed-heat-dialog,
.video-speed-popover.video-speed-heat-dialog.has-speed-onboarding {
  overflow-y:auto !important;
  overflow-x:hidden !important;
  scrollbar-width:thin;
}

@media (max-width:520px) {
  .patented-inline-card, .stick-laser-inline { grid-template-columns:1fr; }
  .patented-inline-card img, .stick-laser-inline img { max-height:120px; }
}


/* v134 · requested UX refinements */
.video-speed-heat-dialog .vt-speed-marker span {
  font-size: 10.2px !important;
}
.video-speed-heat-dialog .vt-speed-marker strong {
  font-size: 12.8px !important;
  line-height: 1.14 !important;
}
.video-speed-heat-dialog .vt-speed-marker { width: 118px !important; }
.speed-patent-inline {
  position: relative;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease, filter 140ms ease;
}
.speed-patent-inline.is-activated {
  border-color: rgba(255, 212, 84, .86);
  background: linear-gradient(180deg, rgba(255,214,104,.14), rgba(var(--pf-accent-rgb),.040));
  box-shadow: inset 0 0 0 1px rgba(255,230,155,.22), 0 0 0 1px rgba(255,197,68,.12), 0 0 26px rgba(255,204,61,.22);
  filter: saturate(1.08) brightness(1.03);
}
.speed-patent-inline.is-activated::after {
  content: 'NOW THE PATENTED SYSTEM IS ACTIVE';
  position: absolute;
  right: 10px;
  top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255,214,104,.16);
  border: 1px solid rgba(255,214,104,.48);
  color: #ffe08d;
  font: 900 8.4px/1 Helvetica,Arial,sans-serif;
  letter-spacing: .08em;
}

.pinfo.pinfo-technical.stick-registration-panel .fp-head {
  cursor: move !important;
}
.pinfo.pinfo-technical.stick-registration-panel.is-minimized .stick-registration-body {
  display: none !important;
}
.pinfo.pinfo-technical.stick-registration-panel .vt-window-actions {
  margin-left: auto;
}
.pinfo.pinfo-technical.stick-registration-panel .vt-window-btn {
  pointer-events: auto;
}

.clean-manual-overlay {
  position: absolute;
  inset: 0;
  z-index: 46;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}
.clean-manual-overlay.is-visible { opacity: 1; }
.clean-manual-overlay img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 980px);
  max-width: 980px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,.34));
  opacity: .9;
}
.patented-clean-manual-dialog .patented-start-dialog__copy {
  margin-top: 6px;
}
.patented-clean-manual-dialog .patented-start-dialog__copy p {
  margin: 0;
  color: rgba(221,237,243,.84);
  font: 700 14px/1.5 Helvetica,Arial,sans-serif;
}

/* v135 · stable Speed workstation + clean guided access */
.video-speed-popover.video-speed-heat-dialog,
.video-speed-popover.video-speed-heat-dialog.has-speed-onboarding {
  height: min(850px, calc(100vh - 24px)) !important;
  max-height: calc(100vh - 24px) !important;
  box-sizing: border-box;
}

/* Active patented range: illuminate the card without placing text on top of
   the existing heading. The status becomes a normal full-width grid row. */
.speed-patent-inline.is-activated::after {
  content: 'PATENTED SYSTEM ACTIVE';
  position: static !important;
  grid-column: 1 / -1;
  justify-self: stretch;
  display: block;
  margin-top: 2px;
  padding: 5px 8px;
  border-radius: 7px;
  text-align: center;
  background: rgba(255,214,104,.12);
  border: 1px solid rgba(255,214,104,.34);
  color: #ffe08d;
  font: 900 9px/1.1 Helvetica,Arial,sans-serif;
  letter-spacing: .09em;
}

/* Clean manual step is a complete self-contained dialog. */
.patented-clean-manual-dialog {
  /* v145 · This is the CLEAN dialog shown in the supplied screenshot. */
  width: min(765px, calc(100vw - 52px));
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  overflow-x: hidden;
}
.patented-clean-manual-dialog .patented-start-dialog__header {
  padding-bottom: 12px;
}
.patented-clean-manual-dialog .patented-start-dialog__header h2 {
  font-size: clamp(25px, 3vw, 38px);
}
.patented-clean-manual-dialog .patented-start-dialog__header h2 .clean-title-line {
  display: block;
}
.patented-clean-manual-lead {
  max-width: 720px;
  margin: 10px auto 0;
  color: rgba(222,238,243,.82);
  font: 700 13.5px/1.45 Helvetica,Arial,sans-serif;
}
.patented-clean-step-media {
  margin: 0 clamp(18px,3vw,30px);
  padding: 7px;
  border: 1px solid rgba(68,232,255,.82);
  border-radius: 17px;
  background: rgba(2,12,17,.46);
  animation: pfCleanStepNeon 1.35s ease-in-out infinite;
}
.patented-clean-step-media img {
  display: block;
  width: 100%;
  max-height: min(45vh, 430px);
  object-fit: contain;
  border-radius: 12px;
  background: rgba(0,0,0,.12);
}
@keyframes pfCleanStepNeon {
  0%,100% { box-shadow: 0 0 0 1px rgba(68,232,255,.18), 0 0 12px rgba(68,232,255,.16); }
  50% { box-shadow: 0 0 0 1px rgba(68,232,255,.44), 0 0 28px rgba(68,232,255,.38); }
}
.patented-clean-manual-guidance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px clamp(22px,3.3vw,34px) 0;
  padding: 11px 13px;
  border: 1px solid rgba(var(--pf-accent-rgb),.22);
  border-radius: 12px;
  background: rgba(var(--pf-accent-rgb),.045);
}
.patented-clean-manual-guidance .material-symbols-outlined {
  flex: 0 0 auto;
  color: rgb(var(--pf-accent-rgb));
  font-size: 25px;
}
.patented-clean-manual-guidance p {
  margin: 0;
  color: rgba(222,238,243,.82);
  font: 650 12px/1.45 Helvetica,Arial,sans-serif;
}
.patented-clean-manual-guidance strong { color:#f3fbfd; }
.patented-clean-manual-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px 24px 24px;
}
.patented-clean-tutorial-btn {
  min-height: 48px;
  padding: 7px 18px 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #f6fcff;
  font: 800 13px/1 Helvetica,Arial,sans-serif;
  cursor: pointer;
}
.patented-clean-tutorial-btn img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.patented-clean-tutorial-btn:hover,
.patented-clean-tutorial-btn:focus-visible {
  background: rgba(var(--pf-accent-rgb),.11);
  border-color: rgba(var(--pf-accent-rgb),.52);
}
.patented-clean-tutorial-btn:focus-visible {
  outline: 2px solid rgb(var(--pf-accent-rgb));
  outline-offset: 3px;
}

/* The old photographic hands overlay is intentionally disabled. */
.clean-manual-overlay { display:none !important; }

@media (max-width: 680px) {
  .patented-clean-manual-dialog { width: calc(100vw - 28px); max-height: calc(100vh - 28px); }
  .patented-clean-manual-actions { flex-direction: column-reverse; }
  .patented-clean-manual-actions > button { width: 100%; justify-content: center; }
}

/* ========================================================================
   EMBED v136 · Modal polish, hidden scrollbars and reliable calibration
   ======================================================================== */

/* Dialogs may still scroll with wheel/touch/trackpad when their content is
   taller than the viewport, but no lateral scrollbar is ever painted. */
.video-speed-popover.video-speed-heat-dialog,
.video-temp-popover,
.stick-registration-body,
.pinfo-body,
.patented-clean-manual-dialog,
.patented-start-dialog,
.embed-tutorial-portal .stage-card,
.embed-tutorial-portal .tut-detail,
.embed-tutorial-portal .tut-scroll {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.video-speed-popover.video-speed-heat-dialog::-webkit-scrollbar,
.video-temp-popover::-webkit-scrollbar,
.stick-registration-body::-webkit-scrollbar,
.pinfo-body::-webkit-scrollbar,
.patented-clean-manual-dialog::-webkit-scrollbar,
.patented-start-dialog::-webkit-scrollbar,
.embed-tutorial-portal .stage-card::-webkit-scrollbar,
.embed-tutorial-portal .tut-detail::-webkit-scrollbar,
.embed-tutorial-portal .tut-scroll::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Tutorial is always a real modal layer, regardless of whether it was opened
   from CLEAN or from the main Tutorial icon. The app remains visible but
   opalized and cannot receive any pointer interaction. */
.embed-tutorial-portal {
  background: rgba(3, 10, 14, .70) !important;
  -webkit-backdrop-filter: blur(8px) saturate(.72) brightness(.64);
  backdrop-filter: blur(8px) saturate(.72) brightness(.64);
}
.embed-tutorial-portal .stage-overlay,
.embed-tutorial-portal .stage-bg {
  cursor: default !important;
}

/* CLEAN manual image: clear photographic reference, without flashing neon. */
.patented-clean-step-media {
  border-color: rgba(153, 203, 216, .22) !important;
  background: rgba(2, 12, 17, .30) !important;
  animation: none !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025) !important;
}

/* Make the optional tutorial an unmistakable, high-priority choice without
   moving/scaling the physical-looking control. */
.patented-clean-tutorial-btn,
.patented-clean-tutorial-btn:hover,
.patented-clean-tutorial-btn:active,
.patented-clean-tutorial-btn:focus-visible {
  transform: none !important;
}
.patented-clean-tutorial-btn {
  min-height: 58px !important;
  padding: 8px 19px 8px 11px !important;
  border: 1px solid rgba(255, 210, 82, .78) !important;
  background: linear-gradient(180deg, rgba(181,122,18,.96), rgba(99,61,7,.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,232,170,.16), 0 0 18px rgba(255,195,60,.12) !important;
  color: #fff8df !important;
}
.patented-clean-tutorial-btn img {
  width: 42px !important;
  height: 42px !important;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.24));
}
.patented-clean-tutorial-btn > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}
.patented-clean-tutorial-btn b {
  color: #fff9e8;
  font: 900 14px/1 Helvetica,Arial,sans-serif;
  letter-spacing: .015em;
}
.patented-clean-tutorial-btn small {
  color: rgba(255,239,195,.84);
  font: 800 9px/1.15 Helvetica,Arial,sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.patented-clean-tutorial-btn:hover,
.patented-clean-tutorial-btn:focus-visible {
  filter: brightness(1.08);
  border-color: rgba(255, 224, 128, .95) !important;
}

/* ========================================================================
   EMBED v138 · all-content Speed dialog + tutorial close affordance
   ======================================================================== */
/* Speed is a single-screen workstation: never scroll and never clip a second
   page below the fold. The layout is compacted instead of adding a scrollbar. */
.video-speed-popover.video-speed-heat-dialog,
.video-speed-popover.video-speed-heat-dialog.has-speed-onboarding {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  padding: 10px 12px 10px !important;
}
.video-speed-heat-dialog .vt-title {
  min-height: 26px !important;
  margin-bottom: 3px !important;
}
.video-speed-hero {
  min-height: 176px !important;
  grid-template-columns: 148px minmax(0,1fr) !important;
  gap: 8px !important;
}
.video-speed-heat-dialog .vt-scale {
  height: 172px !important;
  width: 148px !important;
}
.video-speed-heat-dialog .vt-range {
  width: 142px !important;
}
.video-speed-heat-dialog .video-speed-kpis {
  gap: 6px !important;
  padding: 5px 0 3px !important;
}
.video-speed-heat-dialog .video-speed-kpi {
  padding: 8px 10px !important;
  border-radius: 11px !important;
}
.video-speed-heat-dialog .video-speed-kpi strong { font-size: 31px !important; }
.video-speed-heat-dialog .video-speed-kpi.is-output strong { font-size: 27px !important; }
.video-speed-heat-dialog .video-process-production { margin-top: 5px !important; }
.video-speed-heat-dialog .video-process-production-row,
.video-speed-heat-dialog .video-process-production-row.is-product {
  min-height: 25px !important;
  padding: 3px 8px !important;
}
.video-speed-heat-dialog .vt-speed-onboarding {
  margin-top: 5px !important;
  padding: 5px 8px !important;
}
.video-speed-heat-dialog .video-process-chart-shell {
  margin-top: 6px !important;
  padding: 5px 7px 4px !important;
}
.video-speed-heat-dialog .video-process-chart { height: 185px !important; }
.video-speed-heat-dialog .video-process-chart-head,
.video-speed-heat-dialog .video-process-chart-foot { min-height: 13px !important; }
.sugar-batch-card {
  min-height: 0 !important;
  margin-top: 6px !important;
  padding: 6px 8px !important;
  grid-template-columns: 88px minmax(0,1fr) !important;
  gap: 7px !important;
}
.sugar-batch-visual { min-height: 88px !important; padding-right: 18px !important; }
.sugar-batch-vessel { width: 52px !important; height: 80px !important; }
.sugar-batch-vessel-label b { font-size: 15px !important; }
.sugar-batch-scale { top: 8px !important; bottom: 8px !important; width: 25px !important; }
.sugar-batch-title { margin-bottom: 4px !important; gap: 5px !important; }
.sugar-batch-title .material-symbols-outlined { font-size: 16px !important; }
.sugar-batch-title strong { font-size: 8.8px !important; }
.sugar-batch-title small { font-size: 7.2px !important; }
.sugar-batch-stats > div { padding: 3px 3px 2px !important; }
.sugar-batch-stats span { font-size: 6.2px !important; }
.sugar-batch-stats strong { font-size: 8.5px !important; margin-top: 2px !important; }
.sugar-batch-progress { margin-top: 5px !important; }
.patented-inline-card.speed-patent-inline {
  min-height: 0 !important;
  margin-top: 6px !important;
  padding: 6px !important;
  grid-template-columns: 78px minmax(0,1fr) !important;
  gap: 7px !important;
}
.speed-patent-inline img { max-height: 68px !important; }
.speed-patent-inline strong { font-size: 9.7px !important; margin-bottom: 2px !important; }
.speed-patent-inline p { font-size: 8.2px !important; line-height: 1.26 !important; }
.speed-patent-inline.is-activated::after {
  padding: 3px 6px !important;
  font-size: 7.8px !important;
}

/* Extra compaction on shorter operator screens while preserving the complete
   graph and every information block in the same visible dialog. */
@media (max-height: 800px) {
  .video-speed-popover.video-speed-heat-dialog,
  .video-speed-popover.video-speed-heat-dialog.has-speed-onboarding {
    padding: 7px 10px 7px !important;
  }
  .video-speed-hero { min-height: 160px !important; }
  .video-speed-heat-dialog .vt-scale { height: 156px !important; }
  .video-speed-heat-dialog .vt-range { width: 128px !important; }
  .video-speed-heat-dialog .video-speed-kpi { padding: 6px 9px !important; }
  .video-speed-heat-dialog .video-speed-kpi strong { font-size: 28px !important; }
  .video-speed-heat-dialog .video-speed-kpi.is-output strong { font-size: 24px !important; }
  .video-speed-heat-dialog .video-process-production-row,
  .video-speed-heat-dialog .video-process-production-row.is-product { min-height: 23px !important; }
  .video-speed-heat-dialog .video-process-chart { height: 168px !important; }
  .sugar-batch-visual { min-height: 78px !important; }
  .sugar-batch-vessel { width: 48px !important; height: 70px !important; }
  .patented-inline-card.speed-patent-inline { grid-template-columns: 70px minmax(0,1fr) !important; }
  .speed-patent-inline img { max-height: 58px !important; }
  .speed-patent-inline p { font-size: 7.7px !important; line-height: 1.2 !important; }
}

/* External tutorial close control. It is deliberately a sibling of the
   tutorial card, so it sits just outside the upper-right corner. */
.embed-tutorial-close-external {
  position: fixed;
  z-index: 2147483200;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 50%;
  background: rgba(5,15,20,.90);
  color: #f6fdff;
  box-shadow: 0 8px 24px rgba(0,0,0,.34);
  cursor: pointer;
}
.embed-tutorial-close-external:hover,
.embed-tutorial-close-external:focus-visible {
  border-color: rgba(var(--pf-accent-rgb),.92);
  background: rgba(var(--pf-accent-rgb),.18);
  outline: none;
}
.embed-tutorial-close-external .material-symbols-outlined { font-size: 22px; }


/* v138 · patented temperature distribution workspace */
.patented-temperature-dialog { width: min(782px, calc(100vw - 56px)); }
.patented-temperature-dialog .patented-start-dialog__header h2 .temp-title-line { display:block; }
.patented-temperature-dialog .patented-start-dialog__media {
  padding-block: 12px 8px;
}
.patented-temperature-dialog .patented-start-dialog__media img {
  max-height: 320px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.temperature-insight-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(390px, calc(100vw - 52px));
  padding: 16px 16px 14px;
  border-radius: 22px;
  border: 1px solid rgba(86, 213, 255, .34);
  background: linear-gradient(180deg, rgba(8,25,36,.96), rgba(7,20,29,.93));
  box-shadow: 0 16px 44px rgba(0,0,0,.28), inset 0 0 0 1px rgba(86,213,255,.06);
  z-index: 28;
  pointer-events: none;
  --temp-ratio: .5;
  --temp-hue: 34;
  --temp-spread: 52%;
  --temp-hotspot-opacity: .5;
}
.temperature-insight-card[hidden] { display:none !important; }
.temperature-insight-card__head {
  display:flex; align-items:center; gap:10px; margin-bottom:12px;
}
.temperature-insight-card__head .material-symbols-outlined {
  font-size: 22px; color:#ffb055;
}
.temperature-insight-card__head strong {
  display:block; color:#eef8fb; font:800 15px/1.15 Helvetica,Arial,sans-serif; letter-spacing:.01em;
}
.temperature-insight-card__head span:last-child,
.temperature-insight-card__head div span { color:rgba(199,224,234,.74); font:600 11px/1.2 Helvetica,Arial,sans-serif; }
.temperature-insight-card__hero { display:grid; grid-template-columns: 1.08fr .92fr; gap:14px; align-items:center; }
.temperature-insight-card__hardware { position:relative; min-height:138px; display:flex; align-items:center; justify-content:center; }
.temperature-insight-card__resistance { width:100%; max-width:180px; object-fit:contain; filter: drop-shadow(0 14px 26px rgba(0,0,0,.28)); }
.temperature-insight-card__thermal-band {
  position:absolute; left:19%; right:18%; top:45%; height:16px; border-radius:999px;
  background: linear-gradient(90deg, hsla(var(--temp-hue),95%,58%,.18), hsla(calc(var(--temp-hue) + 6),96%,63%,.85), hsla(calc(var(--temp-hue) + 10),98%,70%,.20));
  box-shadow: 0 0 18px hsla(calc(var(--temp-hue) + 2),98%,66%,.35), 0 0 40px hsla(calc(var(--temp-hue) + 4),98%,64%, calc(.10 + var(--temp-ratio) * .36));
  opacity: calc(.32 + var(--temp-ratio) * .68);
  mix-blend-mode: screen;
}
.temperature-insight-card__readout { display:grid; gap:10px; }
.temperature-insight-card__temp, .temperature-insight-card__uniformity {
  padding:10px 11px; border-radius:14px; background:rgba(255,255,255,.03); border:1px solid rgba(86,213,255,.14);
}
.temperature-insight-card__readout .k { display:block; color:rgba(173,205,216,.72); font:700 10px/1.1 Helvetica,Arial,sans-serif; letter-spacing:.1em; text-transform:uppercase; margin-bottom:4px; }
.temperature-insight-card__readout strong { color:#f5fbfe; font:800 22px/1 Helvetica,Arial,sans-serif; }
.temperature-insight-card__copy { margin:0; color:rgba(221,236,242,.82); font:600 12px/1.5 Helvetica,Arial,sans-serif; }
.temperature-insight-card__profile { margin-top:14px; padding:12px 12px 10px; border-radius:16px; border:1px solid rgba(86,213,255,.12); background:rgba(255,255,255,.022); }
.temperature-insight-card__profile-head { display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin-bottom:10px; }
.temperature-insight-card__profile-head strong { color:#eef8fb; font:800 13px/1.1 Helvetica,Arial,sans-serif; }
.temperature-insight-card__profile-head span { color:#ffcb75; font:700 11px/1.1 Helvetica,Arial,sans-serif; }
.temperature-insight-card__profile-stage {
  position:relative; height:112px; border-radius:14px; overflow:hidden;
  background: linear-gradient(180deg, rgba(2, 14, 22, .92), rgba(8, 31, 45, .68));
  border:1px solid rgba(86,213,255,.10);
}
.temperature-insight-card__stick-base {
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain; object-position:center;
  opacity:.45; filter: saturate(.92) brightness(1.06);
}
.temperature-insight-card__stick-fill {
  position:absolute; left:20.5%; right:20.5%; top:10%; bottom:10%; border-radius:18px;
  background:
    repeating-linear-gradient(180deg,
      hsla(37,88%,61%, .88) 0 7px,
      hsla(39,82%,72%, .48) 7px 14px,
      hsla(37,88%,61%, .88) 14px 21px);
  filter: blur(calc(4px - var(--temp-ratio) * 2.4px));
  opacity:.56;
  mix-blend-mode:screen;
}
.temperature-insight-card__stick-hotspot {
  position:absolute; left:22%; width:56%; top:calc(14% + (1 - var(--temp-ratio)) * 18%); height:26%; border-radius:18px;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.68), rgba(255,198,84,.45) 34%, rgba(255,152,53,0) 74%);
  filter: blur(calc(9px + (1 - var(--temp-ratio)) * 7px));
  opacity: var(--temp-hotspot-opacity);
}
.temperature-insight-card__meter { margin-top:10px; height:6px; border-radius:999px; background:rgba(255,255,255,.08); overflow:hidden; }
.temperature-insight-card__meter-bar { display:block; height:100%; width:20%; border-radius:inherit; background:linear-gradient(90deg,#ffb651,#ffd35e); box-shadow:0 0 12px rgba(255,196,85,.22); }
.temperature-insight-card__legend { margin-top:6px; display:flex; justify-content:space-between; color:rgba(181,207,217,.72); font:700 10px/1.1 Helvetica,Arial,sans-serif; letter-spacing:.05em; text-transform:uppercase; }
@media (max-width: 1260px) {
  .temperature-insight-card { width: 344px; right: 18px; bottom: 18px; }
  .temperature-insight-card__hero { grid-template-columns: 1fr; }
  .temperature-insight-card__hardware { min-height: 110px; }
}


/* ========================================================================
   EMBED v139 · Speed patented operating band + enlarged patent reference
   ======================================================================== */
/* 100–150 CPM is the patented active range. The band is drawn around the
   native vertical range track without intercepting slider input. */
.video-speed-heat-dialog .vt-patent-zone {
  position: absolute;
  left: 29px;
  width: 12px;
  min-height: 4px;
  z-index: 1;
  pointer-events: none;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,190,34,.72), #ffd84f 48%, rgba(255,190,34,.72));
  box-shadow: 0 0 0 1px rgba(255,224,122,.38), 0 0 12px rgba(255,202,48,.32);
}
.video-speed-heat-dialog .vt-range { z-index: 2; }

/* The lower patent reference image is exactly doubled from the previous
   compact 78 px / 68 px footprint. Copy is enlarged moderately to match. */
.patented-inline-card.speed-patent-inline {
  grid-template-columns: 156px minmax(0,1fr) !important;
  gap: 10px !important;
  padding: 8px !important;
}
.speed-patent-inline img { max-height: 136px !important; }
.speed-patent-inline strong {
  font-size: 12px !important;
  line-height: 1.22 !important;
  margin-bottom: 5px !important;
}
.speed-patent-inline p {
  font-size: 9.8px !important;
  line-height: 1.34 !important;
}
.speed-patent-inline.is-activated::after {
  font-size: 8.2px !important;
  padding: 4px 7px !important;
}

@media (max-height: 800px) {
  .patented-inline-card.speed-patent-inline {
    grid-template-columns: 140px minmax(0,1fr) !important;
  }
  .speed-patent-inline img { max-height: 116px !important; }
  .speed-patent-inline strong { font-size: 11.4px !important; }
  .speed-patent-inline p { font-size: 9.2px !important; line-height: 1.28 !important; }
}


/* ========================================================================
   EMBED v139 · Calibration synchronization + matching window controls
   ======================================================================== */
/* Stick Strips uses exactly the same minimize/close button geometry and icon
   treatment as the Speed workstation. */
.pinfo.pinfo-technical.stick-registration-panel .vt-window-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}
.pinfo.pinfo-technical.stick-registration-panel .vt-window-btn {
  width: 25px;
  height: 25px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--pf-accent-rgb), .24);
  border-radius: 7px;
  background: rgba(255,255,255,.025);
  color: rgba(220,239,244,.78);
  cursor: pointer;
  pointer-events: auto;
}
.pinfo.pinfo-technical.stick-registration-panel .vt-window-btn:hover,
.pinfo.pinfo-technical.stick-registration-panel .vt-window-btn:focus-visible {
  color: #fff;
  border-color: rgba(var(--pf-accent-rgb), .58);
  background: rgba(var(--pf-accent-rgb), .10);
  outline: none;
}
.pinfo.pinfo-technical.stick-registration-panel .vt-window-btn .material-symbols-outlined {
  font-size: 17px !important;
  line-height: 1;
}

/* Pending synchronization: reader frame and AUTO DATUM are red and share one
   JS-driven hard clock with the 3D cue and the live laser beam. No CSS fades. */
.stick-registration-panel.is-sync-pending .stick-registration-reader-stage::after {
  border-color: rgba(255,31,54,.98) !important;
  box-shadow: inset 0 0 8px rgba(255,31,54,.38), 0 0 8px rgba(255,31,54,.88), 0 0 22px rgba(255,31,54,.48) !important;
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
}
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto,
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto:disabled {
  color: #fff !important;
  border-color: rgba(255,48,65,.98) !important;
  background: linear-gradient(180deg,rgba(190,28,38,.99),rgba(104,8,16,.99)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,185,190,.20),0 0 7px rgba(255,28,45,.92),0 0 20px rgba(255,28,45,.46) !important;
  opacity: 1 !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
}
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto::before { background:#ff9ca5 !important; }
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto .material-symbols-outlined { color:#fff2f3 !important; }
.stick-registration-panel.is-sync-pending .stick-registration-btn.is-auto::after,
.stick-registration-panel.is-sync-completing .stick-registration-btn.is-auto::after {
  content: none !important;
  animation: none !important;
}
.stick-registration-panel.is-sync-pending.is-sync-blink-off .stick-registration-reader-stage::after,
.stick-registration-panel.is-sync-pending.is-sync-blink-off .stick-registration-btn.is-auto {
  opacity: 0 !important;
}

/* Confirmed synchronization: the reader frame flashes green briefly, then
   remains fixed green. AUTO DATUM becomes a semi-dimmed confirmed-state cue. */
.stick-registration-panel.is-synchronized .stick-registration-reader-stage::after {
  border-color: rgba(46,232,137,.98) !important;
  box-shadow: inset 0 0 8px rgba(46,232,137,.30),0 0 9px rgba(46,232,137,.62),0 0 20px rgba(46,232,137,.32) !important;
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
}
.stick-registration-panel.is-sync-completing.is-sync-blink-off .stick-registration-reader-stage::after {
  opacity: 0 !important;
}
.stick-registration-panel.is-synchronized .stick-registration-btn.is-auto,
.stick-registration-panel.is-synchronized .stick-registration-btn.is-auto:disabled {
  color: #fff6dc !important;
  border-color: rgba(255,214,104,.64) !important;
  background: linear-gradient(180deg,rgba(181,122,18,.78),rgba(104,63,6,.76)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,232,170,.12),0 7px 18px rgba(0,0,0,.20) !important;
  opacity: .46 !important;
  filter: saturate(.64) brightness(.82) !important;
  animation: none !important;
  transition: none !important;
  cursor: default !important;
}

/* EMBED v141 · STEP press-and-hold must remain a continuous physical jog on
   mouse, pen and touch. Prevent browser pan/selection from cancelling the hold. */
.stick-registration-btn.is-up,
.stick-registration-btn.is-down {
  touch-action: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-touch-callout: none !important;
}

/* ========================================================================
   EMBED v143 · simplified vertical process menu + four-zone HMI
   ======================================================================== */
/* Depressurize, Tutorial and Sticks are no longer separate menu icons. The
   five remaining process icons are arranged as one vertical column and are
   exactly 15% larger than the previous v142 menu geometry. */
#screen-home.video-mode .embed-video-panel {
  grid-template-columns: clamp(89.7px, 6.44vw, 110.4px) !important;
  grid-template-rows: repeat(5, clamp(101.2px, 7.705vw, 128.8px)) !important;
  gap: clamp(6px, .7vw, 11px) !important;
}
#screen-home.video-mode .embed-video-panel .video-quick-item {
  width: clamp(89.7px, 6.44vw, 110.4px) !important;
  height: clamp(101.2px, 7.705vw, 128.8px) !important;
}
#screen-home.video-mode .embed-video-panel .mi-icon {
  height: clamp(71.3px, 5.635vw, 94.3px) !important;
}
#screen-home.video-mode .embed-video-panel .mi-label,
[data-theme="oscuro"] #screen-home.video-mode .embed-video-panel .mi-label {
  font-size: clamp(12.65px, .943vw, 15.5px) !important;
}

/* Hotspots measured directly from the supplied 1206×877 HMI artwork. Keeping
   them percentage-based makes the click geometry exact at every rendered size. */
.video-hmi-hotspot.is-tutorial {
  left:21.642%; top:19.042%; width:18.242%; height:22.235%;
}
.video-hmi-hotspot.is-double {
  left:21.642%; top:43.900%; width:18.242%; height:31.015%;
}
.video-hmi-hotspot.is-single {
  left:41.045%; top:43.900%; width:17.993%; height:31.015%;
}
.video-hmi-hotspot.is-none {
  left:60.282%; top:43.900%; width:18.076%; height:31.015%;
}


/* v12 · Temperature workstation refinements */
.video-temp-work-dialog {
  width: min(356px, calc(100vw - 26px));
  min-height: 0;
  padding: 12px 13px 12px;
  border-radius: 22px;
  border: 1px solid rgba(79, 217, 255, .48);
  background: linear-gradient(180deg, rgba(11,34,46,.96), rgba(2,17,28,.97));
  box-shadow: 0 22px 48px rgba(0,0,0,.44), 0 0 0 1px rgba(90,216,255,.08) inset;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
}
.video-temp-work-dialog .vt-title { justify-content: flex-start; align-items: flex-start; gap: 6px; min-height: 28px; color: #eaf6fd; }
.video-temp-work-dialog .vt-title .material-symbols-outlined:first-child { color: #64dcff; font-size: 19px; line-height: 1; margin-top: 1px; }
.video-temp-work-dialog .vt-title .js-temp-title-text { white-space: pre-line; line-height: 1.02; flex: 1 1 auto; font: 800 16px/1.02 Helvetica,Arial,sans-serif; letter-spacing: -.01em; }
.video-temp-work-dialog .vt-window-actions { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; }
.video-temp-work-dialog .vt-window-btn { width: 25px; height: 25px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(var(--pf-accent-rgb), .24); border-radius: 7px; background: rgba(255,255,255,.025); color: rgba(220,239,244,.78); cursor: pointer; }
.video-temp-work-dialog .vt-window-btn:hover,
.video-temp-work-dialog .vt-window-btn:focus-visible { color: #fff; border-color: rgba(var(--pf-accent-rgb), .58); background: rgba(var(--pf-accent-rgb), .10); outline: none; }
.video-temp-work-dialog .vt-window-btn .material-symbols-outlined { font-size: 17px; line-height: 1; }
.video-temp-work-dialog .temperature-work-hero { display: grid; grid-template-columns: minmax(0,1fr) 82px; gap: 10px; align-items: stretch; margin-top: 12px; }
.video-temp-work-dialog .temperature-work-media-frame { position: relative; display: flex; align-items: center; justify-content: center; min-height: 296px; padding: 4px 0; border-radius: 14px; border: 1px solid rgba(228,240,252,.78); background: linear-gradient(180deg, rgba(226,233,240,.98), rgba(242,245,249,.98)); box-shadow: inset 0 1px 0 rgba(255,255,255,.72); }
.video-temp-work-dialog .temperature-work-media-frame img { display: block; width: auto; height: 292px; max-width: 100%; object-fit: contain; }
.video-temp-work-dialog .temperature-work-on { position: absolute; inset: 4px 0 4px 0; margin: auto; opacity: .444; pointer-events: none; transition: opacity 120ms linear; }
.video-temp-work-dialog .temperature-work-control { display: flex; flex-direction: column; align-items: center; justify-content: stretch; gap: 0; }
.video-temp-work-dialog .vt-scale { height: 296px; margin: 0 auto; }
.video-temp-work-dialog .vt-range { width: 296px; }
.video-temp-work-dialog .vt-current { display: none !important; }
.video-temp-work-dialog .temperature-work-readout { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch; }
.video-temp-work-dialog .temperature-work-kpi { padding: 10px 10px 9px; border-radius: 12px; border: 1px solid rgba(121,160,198,.18); background: rgba(239,244,251,.88); min-height: 90px; display: flex; flex-direction: column; justify-content: center; }
.video-temp-work-dialog .temperature-work-kpi .k { display: block; color: #7c90ae; font: 800 11px/1.12 Helvetica,Arial,sans-serif; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 7px; }
.video-temp-work-dialog .temperature-work-kpi strong { color: #163b6b; font: 900 15px/1.05 Helvetica,Arial,sans-serif; letter-spacing: -.01em; }
.video-temp-work-dialog .temperature-work-copy { grid-column: 1 / -1; margin: 0; padding: 0 2px; color: #4d79b0; font: 700 14px/1.35 Helvetica,Arial,sans-serif; }
.video-temp-work-dialog.is-minimized { min-height: 0 !important; overflow: hidden !important; }
.video-temp-work-dialog.is-minimized > :not(.vt-title) { display: none !important; }
.video-temp-work-dialog.is-minimized .vt-title { margin-bottom: 0 !important; }
.video-temp-work-dialog .vt-slider-hint { width: 154px; padding: 9px 10px; font: 700 12.65px/1.3 Helvetica, Arial, sans-serif; }
.video-temp-work-dialog .vt-slider-hint .vt-slider-hint-text { font-size: 12.65px; }
.patented-temperature-dialog .patented-start-dialog__media img { max-height: 300px; }


/* v13 · Temperature and Clean refinements */
.video-temp-work-dialog {
  width: min(303px, calc(100vw - 24px));
  padding: 10px 10px 11px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.video-temp-work-dialog .vt-title { min-height: 26px; }
.video-temp-work-dialog .vt-title .js-temp-title-text { font-size: 15px; line-height: 1.0; }
.video-temp-work-dialog .temperature-work-hero { grid-template-columns: minmax(0,1fr) 64px; gap: 8px; margin-top: 10px; }
.video-temp-work-dialog .temperature-work-media-frame { min-height: 326px; }
.video-temp-work-dialog .temperature-work-media-frame img { height: 336px; }
.video-temp-work-dialog .vt-scale { height: 326px; }
.video-temp-work-dialog .vt-range { width: 326px; }
.video-temp-work-dialog .vt-max,
.video-temp-work-dialog .vt-min { right: 14px; width: 32px; text-align: right; color: #dfeef8; font-size: 11px; font-weight: 800; }
.video-temp-work-dialog .temperature-work-readout { margin-top: 11px; gap: 9px; }
.video-temp-work-dialog .temperature-work-kpi { min-height: 86px; padding: 10px 10px 9px; border-radius: 12px; border: 1px solid rgba(76, 188, 255, .18); background: linear-gradient(180deg, rgba(11,31,45,.96), rgba(6,22,34,.94)); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.video-temp-work-dialog .temperature-work-kpi .k { color: #83a4cb; font: 800 10px/1.1 Helvetica,Arial,sans-serif; letter-spacing: .12em; margin-bottom: 7px; }
.video-temp-work-dialog .temperature-work-kpi strong { color: #f2fbff; font: 900 18px/1.03 Helvetica,Arial,sans-serif; }
.video-temp-work-dialog .temperature-work-copy { color: #62a1f6; font: 800 13px/1.34 Helvetica,Arial,sans-serif; }
.video-temp-work-dialog .vt-slider-hint { width: 131px; padding: 8px 9px; font: 700 10.75px/1.24 Helvetica,Arial,sans-serif; z-index: 40; }
.video-temp-work-dialog .vt-slider-hint .vt-slider-hint-text { font-size: 10.75px; }

.temp-floating-hint {
  position: absolute !important;
  z-index: 80 !important;
  width: 131px;
  box-sizing: border-box;
  padding: 8px 9px;
  border: 1px solid rgba(95, 217, 236, .54);
  border-radius: 10px;
  background: rgba(7, 16, 23, .97);
  color: #eef9fc;
  box-shadow: 0 10px 28px rgba(0,0,0,.35), 0 0 18px rgba(95,217,236,.13);
  font: 700 10.75px/1.24 Helvetica, Arial, sans-serif;
  letter-spacing: .005em;
  text-align: center;
  pointer-events: none;
  transform: none !important;
  animation: pfSliderHintPulse 1.05s ease-in-out infinite;
}
.temp-floating-hint::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: rgba(7, 16, 23, .97);
  border-right: 1px solid rgba(95,217,236,.54);
  border-bottom: 1px solid rgba(95,217,236,.54);
  transform: translateX(-50%) rotate(45deg);
}
.temp-floating-hint.is-below::before { top: -5px; bottom: auto; border-right: 0; border-bottom: 0; border-left: 1px solid rgba(95,217,236,.54); border-top: 1px solid rgba(95,217,236,.54); }
.temp-floating-hint[hidden] { display:none !important; }
.temp-floating-hint .vt-slider-hint-text { font-size: 10.75px; }


/* v148 · Requested refinements: temperature/calibration modal sizing and slider geometry. */
.patented-temperature-dialog {
  width: min(665px, calc(100vw - 56px)); /* 15% narrower than 782px */
}
.patented-temperature-dialog .patented-start-dialog__media img {
  max-height: 345px; /* 15% larger than the previous 300px presentation */
}
.patented-calibration-dialog {
  width: min(782px, calc(100vw - 56px)); /* 15% narrower than the common 920px dialog */
}
.patented-calibration-dialog__media img {
  width: min(100%, 488px);
  max-height: min(55vh, 309px); /* 15% smaller than the current calibration artwork */
}

/* Keep temperature scale labels completely inside their own control column. */
.video-temp-work-dialog .temperature-work-hero {
  grid-template-columns: minmax(0,1fr) 82px;
  gap: 8px;
}
.video-temp-work-dialog .temperature-work-control,
.video-temp-work-dialog .vt-scale {
  width: 82px;
  min-width: 82px;
}
.video-temp-work-dialog .vt-range {
  left: 61px;
}
.video-temp-work-dialog .vt-max,
.video-temp-work-dialog .vt-min {
  left: 0;
  right: auto;
  width: 45px;
  text-align: right;
}

/* The temperature onboarding tooltip is portaled to the stack and follows the real thumb. */
.temp-floating-hint {
  position: absolute !important;
  margin: 0 !important;
  transform: none !important;
}


/* v154 · temporary manometer calibration workstation */
.gauge-cal-launch { position:absolute; left:18px; bottom:18px; z-index:2147482500; border:1px solid rgba(95,217,236,.55); border-radius:10px; background:rgba(5,20,28,.94); color:#dff9ff; padding:9px 12px; font:800 11px/1 Helvetica,Arial,sans-serif; letter-spacing:.04em; cursor:pointer; }
.gauge-cal-panel { position:absolute; left:18px; bottom:18px; width:360px; z-index:2147482501; padding:14px; border:1px solid rgba(95,217,236,.45); border-radius:14px; background:rgba(5,18,26,.97); color:#e8f8fc; box-shadow:0 18px 44px rgba(0,0,0,.48); pointer-events:auto; }
.gauge-cal-panel[hidden], .gauge-cal-launch[hidden] { display:none !important; }
.gauge-cal-head { display:flex; align-items:center; justify-content:space-between; cursor:grab; margin-bottom:10px; font:800 13px/1.2 Helvetica,Arial,sans-serif; }
.gauge-cal-close { width:28px; height:28px; border-radius:50%; border:1px solid rgba(255,255,255,.16); background:transparent; color:#fff; font-size:20px; cursor:pointer; }
.gauge-cal-side { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:10px; }
.gauge-cal-side button, .gauge-cal-nudges button, .gauge-cal-marks button, .gauge-cal-copy { border:1px solid rgba(95,217,236,.25); border-radius:8px; background:rgba(16,45,58,.82); color:#eafaff; padding:8px; font:800 11px/1 Helvetica,Arial,sans-serif; cursor:pointer; }
.gauge-cal-side button.active { border-color:#5fd9ec; box-shadow:0 0 0 1px rgba(95,217,236,.25) inset; }
.gauge-cal-angle-label { display:flex; align-items:center; justify-content:space-between; gap:10px; font:700 11px/1.2 Helvetica,Arial,sans-serif; }
.gauge-cal-number { width:92px; border:1px solid rgba(255,255,255,.16); border-radius:7px; background:#07151d; color:#fff; padding:7px; }
.gauge-cal-range { width:100%; margin:12px 0 8px; }
.gauge-cal-nudges { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.gauge-cal-marks { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.gauge-cal-readout { max-height:210px; overflow:auto; white-space:pre-wrap; margin:10px 0; padding:9px; border-radius:8px; background:#031019; color:#aeeaf4; font:600 10px/1.35 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.gauge-cal-copy { width:100%; }

/* ========================================================================
   EMBED v168 · Captured Stick Strips positions
   ======================================================================== */
.stick-registration-capture-controls {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:8px;
}
.stick-registration-btn.is-capture,
.stick-registration-btn.is-cycle {
  min-height:56px;
}
.stick-registration-btn.is-capture {
  color:#e6fbff;
  border-color:rgba(72,220,255,.62);
  background:linear-gradient(180deg,rgba(12,91,116,.92),rgba(5,48,63,.96));
}
.stick-registration-btn.is-cycle {
  color:#f1eaff;
  border-color:rgba(173,132,255,.64);
  background:linear-gradient(180deg,rgba(84,55,149,.94),rgba(40,25,86,.98));
}
.stick-registration-btn.is-cycle.is-active {
  border-color:rgba(255,116,132,.9);
  background:linear-gradient(180deg,rgba(164,42,62,.96),rgba(91,19,35,.98));
  box-shadow:inset 0 0 0 1px rgba(255,190,198,.12),0 0 16px rgba(255,60,83,.20);
}
.stick-registration-btn.is-capture::before,
.stick-registration-btn.is-cycle::before {
  display:none;
}
@media (max-width:680px) {
  .stick-registration-capture-controls { grid-template-columns:1fr; }
}


/* v172 · JOIN/CYCLIC are diagnostic capture modes, not synchronization mode.
   Hard-disable every red synchronization affordance even if an older frame left
   a pending class behind for one paint. */
.stick-registration-panel.is-sync-suppressed .stick-registration-reader-stage::after {
  opacity: 0 !important;
  box-shadow: none !important;
  animation: none !important;
}
.stick-registration-panel.is-sync-suppressed .stick-registration-btn.is-auto,
.stick-registration-panel.is-sync-suppressed .stick-registration-btn.is-auto:disabled {
  animation: none !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10) !important;
  filter: none !important;
}
.stick-registration-panel.is-sync-suppressed .stick-registration-btn.is-auto::after {
  opacity: 0 !important;
  animation: none !important;
}

/* ========================================================================
   EMBED v173 · BLOCK 1 — START cue, first-use copy and in-view mouse hint
   ======================================================================== */
/* A transparent white hand sits immediately to the left of the physical START
   control after the startup information overlay has been acknowledged. */
#screen-home.video-mode .embed-video-panel .video-quick-item[data-key="start"] {
  position: relative;
}
.start-press-cue {
  position: absolute;
  right: calc(100% + clamp(8px, .8vw, 14px));
  top: calc(50% - 6px);
  width: clamp(42px, 3.35vw, 58px);
  aspect-ratio: 128 / 174;
  z-index: 18;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-4px, -50%) scale(.96);
  filter: drop-shadow(0 0 8px rgba(255,255,255,.26));
}
.start-press-cue img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(90deg);
}
.start-press-cue.is-visible {
  visibility: visible;
  animation: pfStartHandPrompt 1.05s ease-in-out infinite;
}
@keyframes pfStartHandPrompt {
  0%, 100% { opacity: .30; transform: translate(-5px, -50%) scale(.96); filter: drop-shadow(0 0 5px rgba(255,255,255,.18)); }
  48% { opacity: 1; transform: translate(2px, -50%) scale(1.02); filter: drop-shadow(0 0 13px rgba(255,255,255,.58)); }
}

/* The hardware illustration in the first START notice is exactly 25% smaller
   than the previous v172 presentation, leaving room for the innovation copy. */
.patented-start-intro-dialog {
  overflow-y: auto;
}
.patented-start-intro-dialog .patented-start-dialog__media {
  flex: 0 1 auto;
  padding-top: 2px;
}
.patented-start-intro-dialog .patented-start-dialog__media img {
  width: min(75%, 600px);
  max-height: min(41.25vh, 420px);
}
.patented-start-dialog__copy {
  width: 100%;
  box-sizing: border-box;
  padding-inline: 12%;
  margin: 14px auto 0;
  color: rgba(220,236,242,.86);
  font: 500 clamp(15.34px, 1.32vw, 18.29px)/1.52 Helvetica, Arial, sans-serif;
  text-align: left;
}
.patented-start-dialog__copy p {
  margin: 0;
}
.patented-start-dialog__copy p + p { margin-top: 10px; }
.patented-start-dialog__copy strong {
  color: #f7fdff;
  font-weight: 850;
  text-shadow: 0 0 12px rgba(var(--pf-accent-rgb,71,216,255),.16);
}
.patented-start-dialog__copy .patented-start-dialog__try {
  margin-top: 10px;
  color: rgb(var(--pf-accent-rgb,71,216,255));
  font-weight: 800;
}
.patented-start-intro-dialog .patented-start-dialog__actions {
  padding-top: 14px;
}

@media (max-width: 820px) {
  .start-press-cue { width: 42px; right: calc(100% + 6px); }
  .patented-start-dialog__copy { padding-inline: 12%; }
}
@media (max-width: 560px) {
  .patented-start-intro-dialog .patented-start-dialog__media img { width: min(75%, 430px); }
}
@media (prefers-reduced-motion: reduce) {
  .start-press-cue.is-visible { animation: none; opacity: .92; transform: translate(0, -50%); }
}

/* v180 · PDF prompt: true blink, no scaling or movement */
.embed-tutorial-portal .tut-dhead .pdf {
  animation: pfPdfBlink 1.45s steps(1, end) infinite !important;
  transform: none !important;
}
.embed-tutorial-portal .tut-dhead .pdf:hover,
.embed-tutorial-portal .tut-dhead .pdf:focus-visible,
.embed-tutorial-portal .tut-dhead .pdf:active {
  transform: none !important;
}
@keyframes pfPdfBlink {
  0%, 45%, 100% { opacity: 1; }
  46%, 72% { opacity: .56; }
  73%, 99% { opacity: 1; }
}


/* ========================================================================
   v181 · Remaining agenda: calibration measurements + temperature granularity
   ======================================================================== */
.pinfo.pinfo-technical.stick-registration-panel {
  width: min(520px, calc(100vw - 24px)) !important;
  max-height: calc(100vh - 16px) !important;
}
.stick-registration-body { max-height: calc(100vh - 88px) !important; }
.stick-registration-measurement {
  margin: 0 0 10px; padding: 10px 11px 9px; border-radius: 11px;
  border: 1px solid rgba(95,217,236,.22);
  background: linear-gradient(180deg,rgba(16,51,65,.52),rgba(4,20,29,.72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.stick-registration-measurement-head { display:flex; justify-content:space-between; gap:10px; margin-bottom:8px; color:rgba(164,215,227,.76); font:800 9px/1.2 Helvetica,Arial,sans-serif; letter-spacing:.07em; }
.stick-registration-measurement-head strong { color:#eefcff; font-size:10px; letter-spacing:.05em; }
.stick-registration-measurement-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.stick-registration-measurement-grid>div { min-width:0; padding:7px 8px; border-radius:9px; background:rgba(255,255,255,.028); border:1px solid rgba(255,255,255,.055); }
.stick-registration-measurement-grid .k { display:block; color:rgba(174,209,219,.67); font:750 8px/1.1 Helvetica,Arial,sans-serif; text-transform:uppercase; letter-spacing:.05em; margin-bottom:4px; }
.stick-registration-measurement-grid strong { color:#f4fcff; font:850 13px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; }
.stick-registration-measurement-grid small { margin-left:3px; color:rgba(190,219,227,.62); font:700 8px/1 Helvetica,Arial,sans-serif; }
.stick-registration-measure-progress { height:6px; margin:9px 0 7px; overflow:hidden; border-radius:999px; background:rgba(255,255,255,.075); }
.stick-registration-measure-progress i { display:block; width:0; height:100%; border-radius:inherit; background:linear-gradient(90deg,#3bcce8,#5ee5f5 55%,#54efae); box-shadow:0 0 10px rgba(80,229,237,.26); transition:width 90ms linear; }
.stick-registration-measurement p { margin:0; color:rgba(218,237,243,.78); font:650 9.5px/1.34 Helvetica,Arial,sans-serif; }
.stick-registration-measurement[data-mode="joint"] { border-color:rgba(80,221,255,.36); }
.stick-registration-measurement[data-mode="cycle"] { border-color:rgba(91,246,180,.42); background:linear-gradient(180deg,rgba(13,65,53,.50),rgba(4,25,24,.72)); }
.stick-registration-measurement[data-mode="cycle"] .stick-registration-measure-progress i { background:linear-gradient(90deg,#36e89d,#79ffd0); }
.patented-inline-card.stick-laser-inline { margin-top:12px; }

/* Make the Temperature workstation tall enough for the product-behaviour diagram. */
.video-temp-work-dialog { width:min(390px,calc(100vw - 24px)); max-height:calc(100vh - 20px); }


/* v182 · Calibration header LED alignment correction */
.pinfo.pinfo-technical.stick-registration-panel .fp-head .fp-title { margin-right:auto; }
.pinfo.pinfo-technical.stick-registration-panel .fp-head .pinfo-live-dot {
  margin-left: 8px !important;
  margin-right: 6px;
  flex: 0 0 auto;
}

/* v182 · Calibration live-measurement convergence feedback */
.stick-registration-measure-feedback {
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  margin:8px 0 6px; color:rgba(217,244,250,.88); font:700 9px/1.2 Helvetica,Arial,sans-serif;
}
.stick-registration-measure-feedback strong { color:#f4fdff; font-size:9.6px; letter-spacing:.015em; }
.stick-registration-measure-feedback span { color:#85ffd0; font-weight:900; letter-spacing:.06em; text-transform:uppercase; }

/* v182 · Temperature granularity diagram rebuilt from the provided white-line stick overlays */
.temperature-granularity-panel {
  --granularity:.35;
  margin-top:12px; padding:10px 10px 9px; border-radius:14px;
  border:1px solid rgba(99,211,244,.18);
  background:linear-gradient(180deg,rgba(7,28,39,.86),rgba(3,18,27,.92));
}
.temperature-granularity-head {
  display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:7px;
  color:#7fa8c7; font:800 9px/1.1 Helvetica,Arial,sans-serif; letter-spacing:.08em;
}
.temperature-granularity-head strong { color:#eefaff; font-size:10px; letter-spacing:0; text-align:right; max-width:140px; }
.temperature-granularity-stage { display:grid; grid-template-columns:minmax(152px,192px) minmax(0,1fr); gap:12px; align-items:center; }
.temperature-granularity-diagram { position:relative; width:min(100%, 182px); margin:0 auto; aspect-ratio:344/900; min-height:210px; }
.temperature-granularity-stick {
  position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
  user-select:none; pointer-events:none; filter:drop-shadow(0 0 10px rgba(115,227,255,.10));
}
.temperature-granularity-stick--granular { opacity:.98; }
.temperature-granularity-stick--clumps { opacity:var(--clump-opacity, calc(1 - var(--granularity))); transition:opacity 140ms linear; }
.temperature-granularity-copy { display:flex; flex-direction:column; gap:12px; min-width:0; padding-right:18px; justify-self:end; }
.temperature-granularity-legend-row { display:flex; align-items:flex-start; gap:8px; color:#eefbff; min-width:0; }
.temperature-granularity-dot {
  width:10px; height:10px; border-radius:50%; flex:0 0 auto; margin-top:2px;
  box-shadow:0 0 0 3px rgba(255,255,255,.035);
}
.temperature-granularity-dot.is-clump { background:#ffd78a; box-shadow:0 0 0 3px rgba(255,215,138,.10),0 0 10px rgba(255,215,138,.18); }
.temperature-granularity-dot.is-grain { background:#74f1c8; box-shadow:0 0 0 3px rgba(116,241,200,.10),0 0 10px rgba(116,241,200,.18); }
.temperature-granularity-legend-row strong { display:block; color:#effcff; font:800 11.2px/1.35 Helvetica,Arial,sans-serif; }
.temperature-granularity-note { margin:0; color:rgba(216,237,244,.82); font:700 10.4px/1.45 Helvetica,Arial,sans-serif; }
.temperature-granularity-foot {
  display:grid; grid-template-columns:auto 1fr auto; gap:8px; align-items:center; margin-top:10px;
  color:rgba(180,207,217,.68); font:750 8px/1 Helvetica,Arial,sans-serif; text-transform:uppercase;
}
.temperature-granularity-foot i { height:5px; overflow:hidden; border-radius:999px; background:rgba(255,255,255,.075); }
.temperature-granularity-foot b { display:block; height:100%; width:20%; border-radius:inherit; background:linear-gradient(90deg,#f1b457,#ffda78,#65e5ba); transition:width 100ms linear; }
.temperature-granularity-panel.is-transitioning .temperature-granularity-stick--clumps {
  animation: pfGranularityFlicker 145ms steps(1,end) infinite;
}
@keyframes pfGranularityFlicker {
  0% { opacity: calc(var(--clump-opacity, 1) * .98); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
  12% { opacity: calc(var(--clump-opacity, 1) * .86); }
  19% { opacity: calc(var(--clump-opacity, 1) * .97); }
  31% { opacity: calc(var(--clump-opacity, 1) * .78); filter: drop-shadow(0 0 4px rgba(255,255,255,.08)); }
  43% { opacity: calc(var(--clump-opacity, 1) * .94); }
  58% { opacity: calc(var(--clump-opacity, 1) * .72); }
  71% { opacity: calc(var(--clump-opacity, 1) * .92); }
  86% { opacity: calc(var(--clump-opacity, 1) * .80); filter: drop-shadow(0 0 6px rgba(255,255,255,.10)); }
  100% { opacity: calc(var(--clump-opacity, 1) * .96); filter: drop-shadow(0 0 0 rgba(255,255,255,0)); }
}
@media (max-width:560px) {
  .temperature-granularity-stage { grid-template-columns:1fr; }
  .temperature-granularity-diagram { width:min(64%, 168px); min-height:172px; }
  .temperature-granularity-copy { gap:8px; }
  .temperature-granularity-note { font-size:9.2px; }
}



/* v183 · floating dialogs scale from their top-left corner when viewport height is limited */
.video-temp-popover,
.video-speed-popover.video-speed-heat-dialog,
.pinfo.pinfo-technical.stick-registration-panel { transform-origin: top left; will-change: transform; }


/* v184 · modal dialogs scroll internally when the viewport is shorter than the dialog */
.app-dialog-holder.light-dialog { padding: 12px; box-sizing: border-box; }
.app-dialog-holder.light-dialog > * { max-height: calc(100vh - 24px); overflow-y: auto; overflow-x: hidden; }
.patented-start-intro-dialog, .patented-start-dialog, .patented-temperature-dialog { overflow-y: auto; overflow-x: hidden; }
.video-temp-popover, .video-speed-popover.video-speed-heat-dialog, .pinfo.pinfo-technical.stick-registration-panel, .patented-start-dialog { scrollbar-width: thin; scrollbar-color: rgba(95,217,236,.55) rgba(255,255,255,.06); }
.video-temp-popover::-webkit-scrollbar, .video-speed-popover.video-speed-heat-dialog::-webkit-scrollbar, .pinfo.pinfo-technical.stick-registration-panel::-webkit-scrollbar, .patented-start-dialog::-webkit-scrollbar { width: 10px; }
.video-temp-popover::-webkit-scrollbar-track, .video-speed-popover.video-speed-heat-dialog::-webkit-scrollbar-track, .pinfo.pinfo-technical.stick-registration-panel::-webkit-scrollbar-track, .patented-start-dialog::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 999px; }
.video-temp-popover::-webkit-scrollbar-thumb, .video-speed-popover.video-speed-heat-dialog::-webkit-scrollbar-thumb, .pinfo.pinfo-technical.stick-registration-panel::-webkit-scrollbar-thumb, .patented-start-dialog::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(95,217,236,.82), rgba(95,217,236,.42)); border-radius: 999px; border: 2px solid rgba(3,18,27,.65); }


/* v185 · ensure visible internal scrollbars on short screens */
.video-speed-popover.video-speed-heat-dialog,
.video-temp-popover,
.stick-registration-body,
.pinfo-body,
.patented-clean-manual-dialog,
.patented-start-dialog,
.embed-tutorial-portal .stage-card,
.embed-tutorial-portal .tut-detail,
.embed-tutorial-portal .tut-scroll,
.app-dialog-holder.light-dialog > * {
  scrollbar-width: thin !important;
  -ms-overflow-style: auto !important;
  scrollbar-color: rgba(95,217,236,.62) rgba(255,255,255,.08) !important;
}
.video-speed-popover.video-speed-heat-dialog::-webkit-scrollbar,
.video-temp-popover::-webkit-scrollbar,
.stick-registration-body::-webkit-scrollbar,
.pinfo-body::-webkit-scrollbar,
.patented-clean-manual-dialog::-webkit-scrollbar,
.patented-start-dialog::-webkit-scrollbar,
.embed-tutorial-portal .stage-card::-webkit-scrollbar,
.embed-tutorial-portal .tut-detail::-webkit-scrollbar,
.embed-tutorial-portal .tut-scroll::-webkit-scrollbar,
.app-dialog-holder.light-dialog > *::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
  display: block !important;
}
.video-speed-popover.video-speed-heat-dialog::-webkit-scrollbar-track,
.video-temp-popover::-webkit-scrollbar-track,
.stick-registration-body::-webkit-scrollbar-track,
.pinfo-body::-webkit-scrollbar-track,
.patented-clean-manual-dialog::-webkit-scrollbar-track,
.patented-start-dialog::-webkit-scrollbar-track,
.embed-tutorial-portal .stage-card::-webkit-scrollbar-track,
.embed-tutorial-portal .tut-detail::-webkit-scrollbar-track,
.embed-tutorial-portal .tut-scroll::-webkit-scrollbar-track,
.app-dialog-holder.light-dialog > *::-webkit-scrollbar-track {
  background: rgba(255,255,255,.06) !important;
  border-radius: 999px;
}
.video-speed-popover.video-speed-heat-dialog::-webkit-scrollbar-thumb,
.video-temp-popover::-webkit-scrollbar-thumb,
.stick-registration-body::-webkit-scrollbar-thumb,
.pinfo-body::-webkit-scrollbar-thumb,
.patented-clean-manual-dialog::-webkit-scrollbar-thumb,
.patented-start-dialog::-webkit-scrollbar-thumb,
.embed-tutorial-portal .stage-card::-webkit-scrollbar-thumb,
.embed-tutorial-portal .tut-detail::-webkit-scrollbar-thumb,
.embed-tutorial-portal .tut-scroll::-webkit-scrollbar-thumb,
.app-dialog-holder.light-dialog > *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(95,217,236,.88), rgba(95,217,236,.45)) !important;
  border-radius: 999px;
  border: 2px solid rgba(3,18,27,.65);
}


/* v189 · START intro: internal vertical scrolling on short screens */
.patented-start-intro-dialog {
  max-height: calc(100dvh - 36px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}
.patented-start-intro-dialog > .patented-start-dialog__header,
.patented-start-intro-dialog > .patented-start-dialog__media,
.patented-start-intro-dialog > .patented-start-dialog__copy,
.patented-start-intro-dialog > .patented-start-dialog__actions {
  flex-shrink: 0 !important;
}
.patented-start-intro-dialog > .patented-start-dialog__media {
  flex: 0 0 auto !important;
}
.patented-start-intro-dialog {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(95,217,236,.72) rgba(255,255,255,.07) !important;
}
.patented-start-intro-dialog::-webkit-scrollbar {
  width: 10px !important;
  display: block !important;
}
.patented-start-intro-dialog::-webkit-scrollbar-track {
  background: rgba(255,255,255,.06) !important;
  border-radius: 999px;
}
.patented-start-intro-dialog::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(95,217,236,.92), rgba(95,217,236,.48)) !important;
  border-radius: 999px;
  border: 2px solid rgba(3,18,27,.68);
}
@media (max-height: 720px) {
  .patented-start-intro-dialog {
    max-height: calc(100dvh - 20px) !important;
  }
}

/* v184 · compact top dock for language + info replay controls. */
.pf-top-dock {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  z-index: 2147483645;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* v182 · deployment language switch. Kept above the interactive guide and all
   work dialogs, but below the full-screen boot shield. */
.pf-language-toggle {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: max(18px, env(safe-area-inset-left));
  z-index: 2147483645;
  min-width: 76px;
  height: 40px;
  padding: 0 15px 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  border: 1px solid rgba(95, 217, 236, .64);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 51, 65, .94), rgba(7, 24, 34, .94));
  color: #ecfbff;
  box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055), 0 0 18px rgba(95,217,236,.09);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  font: 850 12px/1 Helvetica, Arial, sans-serif;
  letter-spacing: .08em;
  cursor: pointer;
  transition: transform 160ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.pf-language-toggle .material-symbols-outlined {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  color: #69e5f7;
}
.pf-language-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(112, 234, 250, .92);
  background: linear-gradient(180deg, rgba(25, 71, 88, .97), rgba(8, 31, 43, .97));
  box-shadow: 0 12px 30px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08), 0 0 24px rgba(95,217,236,.16);
}
.pf-language-toggle:active { transform: translateY(0) scale(.97); }
.pf-language-toggle:focus-visible { outline: 2px solid #68e2f5; outline-offset: 3px; }
.pf-top-dock .pf-language-toggle {
  position: relative;
  top: auto;
  left: auto;
}
.pf-banner-replay-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(95, 217, 236, .64);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 51, 65, .94), rgba(7, 24, 34, .94));
  color: #ecfbff;
  box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055), 0 0 18px rgba(95,217,236,.09);
  backdrop-filter: blur(10px) saturate(1.15);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.pf-banner-replay-toggle .material-symbols-outlined {
  font-size: 18px;
  color: #69e5f7;
}
.pf-banner-replay-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(112, 234, 250, .92);
  background: linear-gradient(180deg, rgba(25, 71, 88, .97), rgba(8, 31, 43, .97));
  box-shadow: 0 12px 30px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.08), 0 0 24px rgba(95,217,236,.16);
}
.pf-banner-replay-toggle:active { transform: translateY(0) scale(.95); }
.pf-banner-replay-toggle:focus-visible { outline: 2px solid #68e2f5; outline-offset: 3px; }
.pf-banner-replay-toggle.is-receiving {
  animation: pfReplayDockReceive 820ms cubic-bezier(.22,.8,.18,1);
}


/* v182 · strong but readable invitation to press Got it / Aceptar. */
.embed-input-guide__accept {
  position: relative;
  isolation: isolate;
  animation: pfAcceptAttention 1.05s ease-in-out infinite;
}
.embed-input-guide__accept::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -7px;
  border: 1px solid rgba(104,226,245,.72);
  border-radius: inherit;
  pointer-events: none;
  animation: pfAcceptRing 1.05s ease-out infinite;
}
@keyframes pfAcceptAttention {
  0%, 100% {
    transform: scale(1);
    background: linear-gradient(180deg, rgba(67, 174, 196, .18), rgba(31, 85, 99, .16));
    border-color: rgba(95,217,236,.88);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 10px rgba(95,217,236,.12);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.075);
    background: linear-gradient(180deg, rgba(96, 228, 249, .42), rgba(37, 137, 158, .30));
    border-color: rgba(142,241,255,1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 34px rgba(95,217,236,.52), 0 0 72px rgba(95,217,236,.20);
    filter: brightness(1.22);
  }
}
@keyframes pfAcceptRing {
  0% { opacity: .9; transform: scale(.94); }
  70%,100% { opacity: 0; transform: scale(1.22); }
}
.embed-input-guide__accept:hover { animation-play-state: paused; transform: scale(1.055); }
.embed-input-guide__accept:hover::after { animation-play-state: paused; opacity: .45; transform: scale(1.08); }

@media (max-width: 620px) {
  .pf-top-dock { top: max(10px, env(safe-area-inset-top)); left: max(10px, env(safe-area-inset-left)); gap: 7px; }
  .pf-language-toggle { min-width: 68px; height: 36px; padding: 0 12px 0 10px; }
  .pf-banner-replay-toggle { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .embed-input-guide__accept,
  .embed-input-guide__accept::after { animation: none !important; }
}

/* ========================================================================== 
   EMBED v184 · first-visit draggable interaction banner
   ========================================================================== */
.pf-interaction-banner {
  --pf-life-duration: 8.4s;
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  right: auto;
  z-index: 5900;
  width: min(500px, calc(100vw - 32px));
  min-height: 292px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(103, 224, 243, .50);
  border-radius: 22px;
  background:
    radial-gradient(360px 210px at 4% 112%, rgba(46, 209, 231, .20), transparent 66%),
    linear-gradient(115deg, rgba(7, 24, 34, .975), rgba(6, 16, 24, .965) 52%, rgba(11, 29, 39, .975));
  color: #eefbff;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .46),
    0 0 0 1px rgba(255,255,255,.025) inset,
    0 0 36px rgba(79, 218, 239, .10);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
  backdrop-filter: blur(18px) saturate(1.16);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(-50%, calc(-100% - 44px), 0);
  transition:
    transform 640ms cubic-bezier(.16,.88,.24,1),
    opacity 260ms ease,
    visibility 260ms linear,
    box-shadow 180ms ease;
  will-change: transform, opacity;
}
.pf-interaction-banner::before,
.pf-interaction-banner::after {
  content: '';
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.pf-interaction-banner::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(102,226,245,.13) 1px, transparent 1px) 0 0 / 42px 100%,
    linear-gradient(rgba(102,226,245,.08) 1px, transparent 1px) 0 0 / 100% 42px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.12) 63%, transparent);
  opacity: .28;
}
.pf-interaction-banner::after {
  left: 173px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(103,224,243,.45) 20%, rgba(103,224,243,.18) 82%, transparent);
  box-shadow: 14px 0 36px rgba(82,222,242,.08);
}
.pf-interaction-banner.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate3d(-50%, 0, 0);
}
.pf-interaction-banner.is-closing {
  pointer-events: none;
}
.pf-interaction-banner.is-dragged {
  transition: opacity 240ms ease, box-shadow 160ms ease;
}
.pf-interaction-banner.is-dragging {
  cursor: grabbing;
  box-shadow:
    0 32px 86px rgba(0, 0, 0, .54),
    0 0 0 1px rgba(255,255,255,.035) inset,
    0 0 48px rgba(79, 218, 239, .17);
}

.pf-interaction-banner__scan {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: -28%;
  height: 28%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(105,229,247,.12), rgba(105,229,247,.02));
  opacity: 0;
}
.pf-interaction-banner.is-open .pf-interaction-banner__scan {
  animation: pfInteractionScan 2.9s .25s ease-in-out 1;
}

.pf-interaction-banner__presenter {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}
.pf-interaction-banner__presenter-glow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(89,224,243,.20), rgba(89,224,243,.04) 48%, transparent 70%);
  filter: blur(4px);
}
.pf-interaction-banner__presenter::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 28px;
  background: radial-gradient(ellipse at 50% 100%, rgba(74, 221, 243, .19), transparent 68%);
  filter: blur(7px);
}
.pf-interaction-banner__presenter img {
  position: relative;
  z-index: 1;
  display: block;
  width: 166px;
  height: 222px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 13px 15px rgba(0,0,0,.38));
}

.pf-interaction-banner__content {
  position: relative;
  z-index: 5;
  min-width: 0;
  padding: 17px 18px 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pf-interaction-banner__topline {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 34px;
}
.pf-interaction-banner__eyebrow {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #73e6f6;
  font-size: 9.2px;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pf-interaction-banner__eyebrow i {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #69e5f7;
  box-shadow: 0 0 0 4px rgba(105,229,247,.09), 0 0 12px rgba(105,229,247,.68);
}
.pf-interaction-banner__hero-copy {
  margin-top: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: color 240ms ease, text-shadow 240ms ease, transform 240ms ease, filter 240ms ease;
}
.pf-interaction-banner__hero-copy.is-lit {
  box-shadow: none;
  transform: translateY(-1px);
  filter: brightness(1.08);
  animation: pfInteractionTitleGlow 1.05s ease-in-out 1;
}
.pf-interaction-banner h2 {
  margin: 0;
  color: #f8fdff;
  font-size: clamp(22px, 1.75vw, 28px);
  line-height: 1.03;
  font-weight: 820;
  letter-spacing: -.024em;
  transition: color 240ms ease, text-shadow 240ms ease;
}
.pf-interaction-banner__hero-copy.is-lit h2 {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(132,241,255,.34);
}
.pf-interaction-banner p {
  margin: 10px 0 0;
  max-width: 100%;
  color: rgba(205, 226, 234, .82);
  font-size: 13.3px;
  line-height: 1.5;
  font-weight: 520;
}
.pf-interaction-banner__actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.pf-interaction-banner__actions > span {
  min-height: 24px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(226,244,249,.88);
  font-size: 11px;
  line-height: 1.05;
  font-weight: 740;
  letter-spacing: .012em;
  opacity: .68;
  transform: translateY(0) scale(1);
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease, opacity 220ms ease, color 220ms ease;
}
.pf-interaction-banner__actions > span.is-lit {
  box-shadow: none;
  color: #f7fdff;
  opacity: 1;
  transform: translateY(-1px) scale(1.03);
  animation: pfInteractionChipGlow .7s ease-out 1;
}
.pf-interaction-banner__actions .material-symbols-outlined {
  color: #67deef;
  font-size: 17px;
  font-weight: 350;
}
.pf-interaction-banner__actions > span.is-lit .material-symbols-outlined {
  color: #a5f2ff;
  text-shadow: 0 0 14px rgba(107,230,245,.34);
  filter: brightness(1.15);
}
.pf-interaction-banner__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(124,221,237,.18);
  border-radius: 9px;
  background: rgba(255,255,255,.035);
  color: rgba(220,242,248,.70);
  cursor: pointer;
  touch-action: manipulation;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease, transform 150ms ease;
}
.pf-interaction-banner__close .material-symbols-outlined { font-size: 18px; }
.pf-interaction-banner__close:hover {
  color: #f5fdff;
  border-color: rgba(117,229,246,.52);
  background: rgba(99,221,240,.10);
  transform: scale(1.04);
}
.pf-interaction-banner__close:active { transform: scale(.94); }
.pf-interaction-banner__close:focus-visible { outline: 2px solid #69e5f7; outline-offset: 2px; }

.pf-interaction-banner__life {
  position: absolute;
  z-index: 9;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255,255,255,.025);
  pointer-events: none;
}
.pf-interaction-banner__life span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, #5cdcf0, #86f0ff 68%, rgba(134,240,255,.18));
  box-shadow: 0 0 13px rgba(92,220,240,.58);
}
.pf-interaction-banner.is-open .pf-interaction-banner__life span {
  animation: pfInteractionLife var(--pf-life-duration) linear forwards;
}

@keyframes pfInteractionLife { to { transform: scaleX(0); } }
@keyframes pfInteractionScan {
  0% { top: -28%; opacity: 0; }
  12% { opacity: .7; }
  72% { opacity: .28; }
  100% { top: 108%; opacity: 0; }
}
@keyframes pfInteractionTitleGlow {
  0% { transform: scale(1); filter: brightness(1); }
  45% { transform: scale(1.02); filter: brightness(1.18); }
  100% { transform: scale(1); filter: brightness(1); }
}
@keyframes pfInteractionChipGlow {
  0% { transform: translateY(0) scale(1); }
  55% { transform: translateY(-1px) scale(1.05); }
  100% { transform: translateY(-1px) scale(1.02); }
}
@keyframes pfReplayDockReceive {
  0% { transform: scale(1); box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055), 0 0 18px rgba(95,217,236,.09); }
  35% { transform: scale(1.16); box-shadow: 0 14px 34px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.12), 0 0 34px rgba(95,217,236,.34); }
  68% { transform: scale(.94); }
  100% { transform: scale(1); box-shadow: 0 10px 28px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055), 0 0 18px rgba(95,217,236,.09); }
}

@media (max-width: 680px) {
  .pf-interaction-banner {
    top: max(10px, env(safe-area-inset-top));
    width: calc(100vw - 20px);
    min-height: 230px;
    grid-template-columns: 132px minmax(0, 1fr);
    border-radius: 18px;
  }
  .pf-interaction-banner::after { left: 131px; top: 16px; bottom: 16px; }
  .pf-interaction-banner__presenter img { width: 126px; height: 170px; }
  .pf-interaction-banner__presenter-glow { width: 122px; height: 122px; }
  .pf-interaction-banner__content { padding: 15px 13px 14px 14px; }
  .pf-interaction-banner__topline { padding-right: 30px; }
  .pf-interaction-banner__eyebrow { font-size: 8.2px; letter-spacing: .12em; }
  .pf-interaction-banner__hero-copy { margin-top: 10px; padding: 0; }
  .pf-interaction-banner h2 { font-size: 21px; }
  .pf-interaction-banner p { margin-top: 8px; font-size: 11.5px; line-height: 1.42; }
  .pf-interaction-banner__actions { margin-top: 14px; gap: 8px 14px; }
  .pf-interaction-banner__actions > span { min-height: 24px; padding: 0; font-size: 9.4px; }
  .pf-interaction-banner__actions .material-symbols-outlined { font-size: 14px; }
  .pf-interaction-banner__close { top: 9px; right: 9px; width: 27px; height: 27px; }
}
@media (max-width: 430px) {
  .pf-interaction-banner {
    min-height: 208px;
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .pf-interaction-banner::after { left: 107px; }
  .pf-interaction-banner__presenter img { width: 104px; height: 140px; }
  .pf-interaction-banner__content { padding-left: 10px; }
  .pf-interaction-banner__eyebrow { max-width: calc(100% - 8px); }
  .pf-interaction-banner h2 { font-size: 18px; }
  .pf-interaction-banner p { font-size: 10.7px; }
  .pf-interaction-banner__actions > span:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pf-interaction-banner,
  .pf-interaction-banner__close,
  .pf-banner-replay-toggle { transition-duration: .01ms !important; }
  .pf-interaction-banner__scan,
  .pf-interaction-banner__life span,
  .pf-banner-replay-toggle.is-receiving,
  .pf-interaction-banner__hero-copy.is-lit,
  .pf-interaction-banner__actions > span.is-lit { animation: none !important; }
}


/* v190 · stronger responsive scaling for patented dialogs across widths/heights */
.patented-start-dialog {
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  overscroll-behavior: contain;
}
.patented-start-dialog__header {
  padding-inline: clamp(16px, 4vw, 42px);
}
.patented-start-dialog h2 {
  max-width: 12ch;
  margin-inline: auto;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.patented-start-dialog__copy {
  padding-inline: clamp(18px, 8vw, 12%);
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.5;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.patented-start-dialog__actions {
  padding-inline: clamp(16px, 4vw, 24px);
}
.patented-start-dialog__continue {
  min-width: clamp(138px, 24vw, 176px);
}
.patented-start-intro-dialog .patented-start-dialog__media img,
.patented-calibration-dialog .patented-start-dialog__media img,
.patented-clean-dialog .patented-start-dialog__media img,
.patented-clean-manual-dialog .patented-start-dialog__media img {
  width: min(78%, 600px);
  max-height: min(38dvh, 430px);
}
.patented-temperature-dialog {
  width: min(782px, calc(100vw - 24px));
}
.patented-temperature-dialog .patented-start-dialog__header {
  padding-bottom: 12px;
}
.patented-temperature-dialog .patented-start-dialog__header h2 {
  max-width: 11ch;
  font-size: clamp(22px, 5.4vw, 48px);
  line-height: .98;
}
.patented-temperature-dialog .patented-start-dialog__header h2 .temp-title-line {
  display: block;
}
.patented-temperature-dialog .patented-start-dialog__media {
  flex: 0 0 auto;
  padding: 6px clamp(16px, 4vw, 28px) 4px;
}
.patented-temperature-dialog .patented-start-dialog__media img {
  width: min(82%, 560px);
  max-width: 100%;
  max-height: min(34dvh, 300px);
  object-fit: contain;
}
.patented-temperature-dialog .patented-start-dialog__copy {
  margin-top: 8px;
}
.patented-temperature-dialog .patented-start-dialog__copy p {
  max-width: 60ch;
  margin-inline: auto;
}
.temperature-insight-card {
  width: min(390px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
}

@media (max-width: 900px) {
  .patented-start-dialog h2 { max-width: 13ch; }
  .patented-start-dialog__copy { padding-inline: clamp(16px, 5vw, 9%); }
  .patented-temperature-dialog .patented-start-dialog__header h2 { max-width: 12ch; }
}

@media (max-width: 700px) {
  .patented-start-dialog {
    width: calc(100vw - 18px) !important;
    max-height: calc(100dvh - 18px) !important;
    border-radius: 20px;
  }
  .app-dialog-barrier.patented-start-dialog-barrier {
    padding: 9px;
  }
  .patented-start-dialog__header {
    padding: 18px 16px 10px;
  }
  .patented-start-dialog__eyebrow {
    font-size: 9.5px;
    letter-spacing: .14em;
  }
  .patented-start-dialog h2 {
    font-size: clamp(22px, 7vw, 34px);
    line-height: 1.02;
  }
  .patented-start-dialog__media {
    padding-inline: 14px;
  }
  .patented-start-intro-dialog .patented-start-dialog__media img,
  .patented-calibration-dialog .patented-start-dialog__media img,
  .patented-clean-dialog .patented-start-dialog__media img,
  .patented-clean-manual-dialog .patented-start-dialog__media img {
    width: min(88%, 440px);
    max-height: min(28dvh, 260px);
  }
  .patented-start-dialog__copy {
    margin-top: 10px;
    padding-inline: 16px;
    font-size: clamp(13.2px, 3.25vw, 15.2px);
    line-height: 1.48;
  }
  .patented-start-dialog__copy p + p { margin-top: 8px; }
  .patented-start-dialog__actions {
    padding: 12px 16px 18px;
  }
  .patented-temperature-dialog .patented-start-dialog__header h2 {
    font-size: clamp(18px, 8.4vw, 30px);
    max-width: 11.5ch;
    line-height: .98;
  }
  .patented-temperature-dialog .patented-start-dialog__media img {
    width: min(90%, 430px);
    max-height: min(26dvh, 240px);
  }
}

@media (max-width: 460px) {
  .patented-start-dialog__eyebrow {
    font-size: 8.6px;
    letter-spacing: .11em;
  }
  .patented-start-dialog h2 {
    font-size: clamp(19px, 8vw, 28px);
  }
  .patented-start-dialog__continue {
    width: 100%;
    max-width: 220px;
    height: 46px;
    padding-inline: 20px;
  }
  .temperature-insight-card {
    right: 14px;
    bottom: 14px;
    padding: 13px 13px 12px;
    border-radius: 18px;
  }
}

@media (max-height: 860px) {
  .patented-start-dialog__header { padding-top: 18px; padding-bottom: 10px; }
  .patented-start-dialog__copy { margin-top: 10px; }
  .patented-start-intro-dialog .patented-start-dialog__media img,
  .patented-calibration-dialog .patented-start-dialog__media img,
  .patented-clean-dialog .patented-start-dialog__media img,
  .patented-clean-manual-dialog .patented-start-dialog__media img {
    max-height: min(34dvh, 340px);
  }
  .patented-temperature-dialog .patented-start-dialog__media img {
    max-height: min(30dvh, 260px);
  }
}

@media (max-height: 720px) {
  .patented-start-dialog {
    max-height: calc(100dvh - 12px) !important;
    border-radius: 18px;
  }
  .app-dialog-barrier.patented-start-dialog-barrier { padding: 6px; }
  .patented-start-dialog__header {
    padding-top: 14px;
    padding-bottom: 8px;
  }
  .patented-start-dialog__eyebrow {
    margin-bottom: 6px;
    font-size: 8.8px;
  }
  .patented-start-dialog h2 {
    font-size: clamp(18px, 4.4vh, 30px);
  }
  .patented-start-dialog__media {
    padding-top: 2px;
    padding-bottom: 2px;
  }
  .patented-start-intro-dialog .patented-start-dialog__media img,
  .patented-calibration-dialog .patented-start-dialog__media img,
  .patented-clean-dialog .patented-start-dialog__media img,
  .patented-clean-manual-dialog .patented-start-dialog__media img {
    max-height: min(22dvh, 210px);
  }
  .patented-temperature-dialog .patented-start-dialog__media img {
    max-height: min(20dvh, 175px);
    width: min(72%, 320px);
  }
  .patented-start-dialog__copy {
    margin-top: 6px;
    font-size: clamp(12.4px, 2.3vh, 14px);
    line-height: 1.42;
    padding-inline: 16px;
  }
  .patented-start-dialog__copy p + p { margin-top: 7px; }
  .patented-start-dialog__copy .patented-start-dialog__try { margin-top: 8px; }
  .patented-start-dialog__actions {
    padding-top: 10px;
    padding-bottom: 14px;
  }
  .patented-start-dialog__continue {
    height: 44px;
  }
}

@media (max-height: 620px) {
  .patented-start-dialog__header { padding-top: 12px; }
  .patented-start-dialog h2 { font-size: clamp(17px, 4.2vh, 25px); }
  .patented-start-dialog__copy { font-size: clamp(11.8px, 2.15vh, 13.2px); }
  .patented-start-intro-dialog .patented-start-dialog__media img,
  .patented-calibration-dialog .patented-start-dialog__media img,
  .patented-clean-dialog .patented-start-dialog__media img,
  .patented-clean-manual-dialog .patented-start-dialog__media img {
    max-height: min(18dvh, 150px);
  }
  .patented-temperature-dialog .patented-start-dialog__media img {
    max-height: min(16dvh, 132px);
  }
}

/* v191 · dialog typography: never split words in headings; fit medium-height screens cleanly. */
.patented-start-dialog h2,
.patented-clean-manual-dialog .patented-start-dialog__header h2,
.patented-temperature-dialog .patented-start-dialog__header h2 {
  max-width: min(100%, 22ch) !important;
  margin-inline: auto;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  text-wrap: balance;
}
.patented-temperature-dialog .patented-start-dialog__header h2 {
  max-width: min(100%, 18ch) !important;
}
.patented-clean-manual-dialog .patented-start-dialog__header h2 {
  max-width: min(100%, 20ch) !important;
}

@media (max-height: 940px) {
  .patented-start-intro-dialog .patented-start-dialog__media img,
  .patented-calibration-dialog .patented-start-dialog__media img,
  .patented-clean-dialog .patented-start-dialog__media img {
    max-height: min(30dvh, 285px) !important;
  }
  .patented-temperature-dialog .patented-start-dialog__media img {
    max-height: min(25dvh, 220px) !important;
  }
  .patented-clean-step-media img {
    max-height: min(38dvh, 350px) !important;
  }
  .patented-start-dialog__copy {
    font-size: clamp(13.5px, 1.5vw, 16.5px) !important;
    line-height: 1.46 !important;
  }
  .patented-start-dialog__header {
    padding-top: 18px !important;
    padding-bottom: 10px !important;
  }
  .patented-start-dialog__actions,
  .patented-clean-manual-actions {
    padding-bottom: 16px !important;
  }
}

@media (max-width: 760px) {
  .patented-start-dialog h2,
  .patented-clean-manual-dialog .patented-start-dialog__header h2,
  .patented-temperature-dialog .patented-start-dialog__header h2 {
    max-width: min(100%, 19ch) !important;
  }
}

/* v192 · wider, more balanced patented-dialog headings. Keep generous side margins
   while allowing one or two more words per line on medium and large screens. */
.patented-start-intro-dialog .patented-start-dialog__header h2,
.patented-calibration-dialog .patented-start-dialog__header h2,
.patented-temperature-dialog .patented-start-dialog__header h2,
.patented-clean-dialog .patented-start-dialog__header h2,
.patented-clean-manual-dialog .patented-start-dialog__header h2 {
  width: min(84%, 760px) !important;
  max-width: min(84%, 760px) !important;
  margin-inline: auto !important;
  text-wrap: balance;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* The heat-distribution title is naturally longer; give it a little more room
   so “Sistema de distribución” can stay together more often. */
.patented-temperature-dialog .patented-start-dialog__header h2 {
  width: min(88%, 790px) !important;
  max-width: min(88%, 790px) !important;
}

/* Manual-clean title benefits from a slightly tighter measure than the other
   patent cards so it remains visually centred above the large image. */
.patented-clean-manual-dialog .patented-start-dialog__header h2 {
  width: min(78%, 690px) !important;
  max-width: min(78%, 690px) !important;
}

@media (max-width: 760px) {
  .patented-start-intro-dialog .patented-start-dialog__header h2,
  .patented-calibration-dialog .patented-start-dialog__header h2,
  .patented-temperature-dialog .patented-start-dialog__header h2,
  .patented-clean-dialog .patented-start-dialog__header h2,
  .patented-clean-manual-dialog .patented-start-dialog__header h2 {
    width: min(90%, 620px) !important;
    max-width: min(90%, 620px) !important;
  }
}

@media (max-width: 480px) {
  .patented-start-intro-dialog .patented-start-dialog__header h2,
  .patented-calibration-dialog .patented-start-dialog__header h2,
  .patented-temperature-dialog .patented-start-dialog__header h2,
  .patented-clean-dialog .patented-start-dialog__header h2,
  .patented-clean-manual-dialog .patented-start-dialog__header h2 {
    width: 94% !important;
    max-width: 94% !important;
  }
}
