/* ==========================================================================
   Herramientas MyMove (host) — área 1624 × 1016
   Escenario de demo (.hr__demo): 1008 × 642 px aprox. (ver docs/especificacion.md)
   ========================================================================== */
.screen--herramientas { background: var(--bg-2); }
.screen--herramientas .hr { position: absolute; inset: 0; padding: 28px 40px 0; }
.screen--herramientas .hr__head .intro { max-width: 1240px; }

/* Fila de herramientas: 6 botones, un toque para cualquiera */
.screen--herramientas .hr__lista { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 18px; }
.screen--herramientas .hr__tool {
  display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 0 14px;
  background: var(--bg-1); border: 1px solid var(--border-1); border-radius: var(--radius-lg);
}
.screen--herramientas .hr__tool-txt b { display: block; font: 600 17px/1.15 var(--font-sans); color: var(--fg-1); }
.screen--herramientas .hr__tool-txt small { display: block; margin-top: 5px; font: 500 13px/1.2 var(--font-sans); color: var(--fg-2); }
.screen--herramientas .hr__tool:active { background: var(--bg-3); }
.screen--herramientas .hr__tool.is-active { background: var(--gamt-navy); border-color: var(--gamt-navy); }
.screen--herramientas .hr__tool.is-active b { color: var(--fg-on-dark); }
.screen--herramientas .hr__tool.is-active small { color: rgba(255,255,255,.78); }

/* Cuerpo: escenario (1010) + información (514) */
.screen--herramientas .hr__cuerpo { position: absolute; left: 40px; right: 40px; top: 248px; bottom: 24px; display: grid; grid-template-columns: 1010px 1fr; gap: 20px; }
.screen--herramientas .hr__escena { position: relative; background: var(--bg-1); border: 1px solid var(--border-1); border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; }
.screen--herramientas .hr__barra { height: 72px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 8px 0 24px; border-bottom: 1px solid var(--border-1); }
.screen--herramientas .hr__barra-txt { display: flex; align-items: center; gap: 14px; }
.screen--herramientas .hr__barra-txt b { font: 600 22px/1 var(--font-display); color: var(--fg-brand); }
.screen--herramientas .ilustrativo.is-real { --ok-bg: #E6F7F5; /* fondo de .pill--ok (base.css) */ background: var(--ok-bg); color: var(--gamt-teal-text); }
.screen--herramientas .ilustrativo.is-real::before { background: var(--gamt-teal); }
.screen--herramientas .hr__barra .seg { padding: 4px; }
.screen--herramientas .hr__barra .seg button { min-height: 64px; }

.screen--herramientas .hr__demo { position: relative; flex: 1; min-height: 0; }
.screen--herramientas .hr__slot { position: absolute; inset: 0; }
.screen--herramientas .hr__slot[hidden], .screen--herramientas .hr__demo[hidden], .screen--herramientas .hr__medios[hidden] { display: none; }

/* Vista real "En MyMove" */
.screen--herramientas .hr__medios { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 16px 20px 12px; gap: 12px; }
.screen--herramientas .hr__visor { position: relative; flex: 1; min-height: 0; background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; }
.screen--herramientas .hr__visor video, .screen--herramientas .hr__visor img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.screen--herramientas .hr__visor [hidden] { display: none; }
.screen--herramientas .hr__minis { display: flex; gap: 10px; flex: none; }
.screen--herramientas .hr__mini {
  position: relative; width: 150px; height: 92px; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--border-1); background: var(--bg-2); flex: none;
}
.screen--herramientas .hr__mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen--herramientas .hr__mini span { position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 8px; background: rgba(15,23,42,.72); color: var(--fg-on-dark); font: 600 12px/1.2 var(--font-sans); text-align: left; }
.screen--herramientas .hr__play { position: absolute; left: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--gamt-navy); color: var(--fg-on-dark); display: grid; place-items: center; }
.screen--herramientas .hr__play svg { width: 14px; height: 14px; fill: currentColor; }
.screen--herramientas .hr__mini.is-active { border: 2px solid var(--gamt-teal); }
.screen--herramientas .hr__credito { flex: none; }

/* Panel de información */
.screen--herramientas .hr__info { background: var(--bg-1); border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: 20px 24px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; animation: entrar var(--dur-slow) var(--ease-out) both; }
.screen--herramientas .hr__info > .label { margin-top: 6px; }
.screen--herramientas .hr__que { font: 400 17px/1.45 var(--font-sans); color: var(--fg-1); text-wrap: pretty; }
.screen--herramientas .hr__formula { background: var(--bg-2); border: 1px solid var(--border-1); border-radius: var(--radius-md); padding: 10px 14px; }
.screen--herramientas .hr__formula span { display: block; font: 600 22px/1.2 var(--font-mono); color: var(--gamt-navy); }
.screen--herramientas .hr__formula small { display: block; margin-top: 4px; font: 400 14px/1.35 var(--font-sans); color: var(--fg-2); }
.screen--herramientas .hr__datos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.screen--herramientas .hr__datos .kpi { padding: 10px 14px; }
.screen--herramientas .hr__datos .kpi span { margin: 0 0 4px; font-size: 26px; }
.screen--herramientas .hr__entrega { display: flex; flex-direction: column; gap: 5px; }
.screen--herramientas .hr__entrega li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font: 400 16px/1.38 var(--font-sans); color: var(--fg-1); }
.screen--herramientas .hr__entrega svg { width: 20px; height: 20px; color: var(--gamt-teal-text); margin-top: 1px; }
.screen--herramientas .hr__donde li { font-size: 14px; padding: 7px 11px; }
.screen--herramientas .hr__nota { padding: 10px 14px; display: flex; flex-direction: column; gap: 3px; }
.screen--herramientas .hr__nota b { font: 600 12px/1.2 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-brand); }
.screen--herramientas .hr__nota span { font: 400 15px/1.35 var(--font-sans); color: var(--fg-1); }
.screen--herramientas .hr__donde li.is-on { background: var(--gamt-navy); color: #fff; }
/* Foto del caso de uso: ocupa el espacio libre del panel; fundido solo con opacity */
.screen--herramientas .hr__uso { position: relative; flex: 1 1 0; min-height: 0; margin-top: 6px; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-3); }
.screen--herramientas .hr__uso-foto { position: absolute; inset: 0; opacity: 0; transition: opacity 700ms var(--ease-out); }
.screen--herramientas .hr__uso-foto.is-on { opacity: 1; }
.screen--herramientas .hr__uso-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.screen--herramientas .hr__uso-foto b { position: absolute; left: 12px; bottom: 12px; font: 600 15px/1 var(--font-sans); color: var(--fg-brand); background: rgba(255,255,255,.92); padding: 8px 12px; border-radius: var(--radius-md); }
.screen--herramientas .hr__enlaces { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.screen--herramientas .hr__sensor { justify-content: flex-start; width: 100%; padding: 0 16px; }
.screen--herramientas .hr__sensor > span { flex: 1; text-align: left; font: 600 17px/1.2 var(--font-sans); }
.screen--herramientas .hr__sensor small { display: block; font: 600 12px/1.2 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 3px; }
.screen--herramientas .hr__caso { padding: 12px 16px; gap: 14px; }
.screen--herramientas .hr__caso .caso__valor { font-size: 34px; }
.screen--herramientas .hr__caso .caso__valor small { display: block; font-size: 13px; margin: 4px 0 0; }
.screen--herramientas .hr__caso .caso__txt span { font-size: 14px; line-height: 1.38; }
.screen--herramientas .hr__formula sub { font-size: .7em; line-height: 0; vertical-align: -.25em; }
.screen--herramientas .hr__formula small sub { font-size: 12px; vertical-align: -.2em; }
