﻿/* Cabecera fija: titulo + barra de herramientas siempre visibles al bajar */
#top-fijo {
  position: sticky;
  top: 0;
  z-index: 55; /* sobre el plano; bajo ficha (70) y menus (80) */
  background: var(--papel, #F4F1EA);
  padding-top: 6px;
  box-shadow: 0 6px 12px -8px rgba(0, 0, 0, .25);
}

.editor-shell {
  width: calc(100vw - 24px);
  max-width: 1800px;
  margin: 0 auto 10px;
  background: #20242a;
  border: 1px solid #343a42;
  border-radius: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  /* overflow visible: los menus desplegables (Musculos, Cortes, buscador)
     deben poder salir de la barra; las esquinas se redondean por hijo. */
  overflow: visible;
}
.editor-shell > :first-child { border-radius: 9px 9px 0 0; }
.editor-shell > :last-child { border-radius: 0 0 9px 9px; }

.editor-shell .editor-bar {
  max-width: none;
  margin: 0;
  padding: 8px 10px;
  border-radius: 0;
  gap: 8px;
  flex-wrap: wrap;
}

.tool-brand {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-right: 6px;
  color: #f5f5f3;
  font: 700 15px/1 'Barlow Condensed', sans-serif;
  letter-spacing: .8px;
}

.tool-brand span { color: #e0ae18; }
.tool-brand small { color: #89919b; font: 10px 'IBM Plex Mono', monospace; }
.tool-brand .version-badge {
  color: #23272c;
  background: #e0ae18;
  border-radius: 4px;
  padding: 2px 6px;
  font-weight: 700;
}

.tool-group {
  display: flex;
  align-items: center;
  gap: 3px;
  padding-right: 8px;
  border-right: 1px solid #424851;
}

.editor-shell .editor-bar button {
  min-height: 30px;
  padding: 5px 9px;
  color: #e9eaeb;
  background: #343a42;
  border: 1px solid #4a515c;
  border-radius: 4px;
  font: 600 12px 'Barlow Condensed', sans-serif;
  letter-spacing: .35px;
  text-transform: uppercase;
}

.editor-shell .editor-bar button:hover:not(:disabled) {
  color: #20242a;
  background: #e0ae18;
  border-color: #e0ae18;
}

.editor-shell .editor-bar button:disabled {
  color: #707781;
  background: #292e35;
  border-color: #343a42;
  cursor: not-allowed;
}

.tool-secondary { margin-left: auto; border-right: 0; padding-right: 0; }
.zoom-tools output { min-width: 44px; color: #d7d9dc; text-align: center; }

.editor-help {
  padding: 6px 12px;
  color: #aeb4bc;
  background: #292e35;
  border-top: 1px solid #3a4048;
  font: 10px/1.4 'IBM Plex Mono', monospace;
}

.plano-wrap {
  width: calc(100vw - 24px);
  max-width: 1800px;
  overflow: hidden;
  user-select: none;
  padding: 4px;
}

.plano-wrap svg { cursor: grab; touch-action: none; }
.modo-impresion #top-fijo,
.modo-impresion .editor-shell,
.modo-impresion #paint-panel,
.modo-impresion .resumen,
.modo-impresion .leyenda {
  display: none !important;
}
.modo-impresion {
  background: #fff !important;
}
.modo-impresion .plano-wrap {
  width: 100vw;
  max-width: none;
  padding: 0;
}
.print-empty image.drag,
.print-empty .cad-footprint,
.print-empty .equipment-perimeter,
.print-empty .safety-buffer,
.print-empty .flecha-frente,
.print-empty .marca-busqueda {
  display: none !important;
}
.plano-wrap svg.panning { cursor: grabbing; }
.plano-wrap svg.anotando { cursor: crosshair; }
.plano-wrap svg.borrando,
.plano-wrap svg.fijando { cursor: pointer; }
.plano-wrap image.drag { cursor: move; }
.equipment-perimeter { vector-effect: non-scaling-stroke; opacity: .78; }
.safety-buffer { vector-effect: non-scaling-stroke; opacity: .38; }
.paint-layer .paint-item { vector-effect: non-scaling-stroke; pointer-events: none; }
svg:not(.anotando):not(.borrando):not(.fijando) .paint-layer .paint-item:not(.paint-locked) {
  pointer-events: stroke;
  cursor: move;
}
svg:not(.anotando):not(.borrando):not(.fijando) .paint-layer g.paint-item:not(.paint-locked),
svg:not(.anotando):not(.borrando):not(.fijando) .paint-layer text.paint-item:not(.paint-locked) {
  pointer-events: bounding-box;
}
svg.borrando .paint-layer .paint-item,
svg.fijando .paint-layer .paint-item { pointer-events: stroke; }
.paint-layer text.paint-item { user-select: none; }
svg.borrando .paint-layer g.paint-item,
svg.fijando .paint-layer g.paint-item,
svg.borrando .paint-layer text.paint-item,
svg.fijando .paint-layer text.paint-item { pointer-events: bounding-box; }
.paint-layer .paint-locked { opacity: .78; }
.paint-layer .paint-locked.paint-item { stroke-dasharray: 7 4; }
.paint-layer .paint-measure {
  fill: #2C55C4;
  stroke: #fff;
  stroke-width: 1.15px;
  paint-order: stroke;
  font: 700 5px 'IBM Plex Mono', monospace;
  pointer-events: none;
  user-select: none;
}
.paint-handles { pointer-events: none; }
.paint-handle {
  pointer-events: all;
  cursor: nwse-resize;
}
.paint-handle-hit {
  fill: transparent;
  stroke: none;
}
.paint-handle-mark {
  fill: none;
  stroke: rgba(44, 85, 196, .72);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.paint-panel {
  position: fixed;
  right: 14px;
  top: 188px;
  z-index: 68;
  width: 176px;
  color: #eef1f4;
  font: 12px 'IBM Plex Mono', monospace;
}
.paint-panel.colapsado { width: auto; }
.paint-collapse {
  width: 100%;
  min-height: 34px;
  color: #20242a;
  background: #e0ae18;
  border: 0;
  border-radius: 6px 6px 0 0;
  font: 700 12px 'Barlow Condensed', sans-serif;
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
}
.paint-body {
  padding: 10px;
  background: rgba(32, 36, 42, .94);
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 0;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .28);
  backdrop-filter: blur(4px);
}
.paint-panel.colapsado .paint-body { display: none; }
.paint-title {
  margin-bottom: 8px;
  color: #f7f7f5;
  font: 700 15px 'Barlow Condensed', sans-serif;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.paint-tools,
.paint-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.paint-tools button,
.paint-actions button {
  min-height: 34px;
  color: #e9eaeb;
  background: #343a42;
  border: 1px solid #4a515c;
  border-radius: 5px;
  font: 700 11px 'Barlow Condensed', sans-serif;
  letter-spacing: .35px;
  text-transform: uppercase;
  cursor: pointer;
}
.paint-tools button:hover,
.paint-actions button:hover,
.paint-tools button.active {
  color: #20242a;
  background: #e0ae18;
  border-color: #e0ae18;
}
.paint-field {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 8px;
  margin: 9px 0;
  color: #b9c0c8;
}
.paint-field input[type="color"] {
  width: 100%;
  height: 32px;
  padding: 2px;
  border: 1px solid #4a515c;
  border-radius: 5px;
  background: #292e35;
}
.paint-field input[type="range"] { width: 100%; }
.paint-actions { margin-top: 8px; }
.paint-actions button { min-height: 32px; }
.paint-actions #paint-toggle { grid-column: span 2; }
#paint-status {
  display: block;
  min-height: 16px;
  margin-top: 8px;
  color: #aeb4bc;
  line-height: 1.35;
}
.cad-footprint { pointer-events: none; }
.cad-body { fill: #f7f3e7; stroke: #2c55c4; stroke-width: 2; vector-effect: non-scaling-stroke; }
.cad-axis { stroke: #68717c; stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
/* Flecha de sentido oculta a pedido del usuario (2026-07-02); para reactivarla: display: initial. */
.cad-front { display: none; }
.cad-source-image { opacity: .9; }

@media (max-width: 760px) {
  .tool-brand { width: 100%; }
  .tool-secondary { margin-left: 0; }
  .editor-help { font-size: 9px; }
  .paint-panel { top: auto; right: 10px; bottom: 12px; width: 164px; }
}

/* Huella CAD: sin eje central ni triangulo (ensuciaban; la flechita gris
   de frente ya indica la orientacion) */
.cad-footprint .cad-axis, .cad-footprint .cad-front { display: none; }

/* Medición */
/* Trazos con grosor constante en PANTALLA (no engordan al hacer zoom) */
.medicion-linea, .medicion-tick, .medicion-agarre, .medicion-iman, .guia-distancia { vector-effect: non-scaling-stroke; }
.medicion-linea { stroke: #2C55C4; stroke-width: 1.5; stroke-dasharray: 6 4; }
.medicion-punto { fill: #2C55C4; }
.medicion-tick { stroke: #2C55C4; stroke-width: 1.5; }
/* Agarres de edicion: en modo medicion se insinuan siempre (para saber donde
   agarrar/borrar) y se marcan al pasar el mouse encima. */
.medicion-agarre { fill: transparent; }
svg.midiendo .medicion-agarre { fill: rgba(44, 85, 196, .12); }
svg.midiendo .medicion-agarre:hover { fill: rgba(44, 85, 196, .35); }
/* Anillo verde del iman: el punto quedo EXACTO sobre un borde o extremo real */
.medicion-iman { fill: none; stroke: #1E9E4B; stroke-width: 2; }
/* Extremo seleccionado: anillo discreto (el que ajustan las flechas, 1 cm) */
svg.midiendo .medicion-agarre.sel { fill: rgba(44, 85, 196, .18); stroke: #2C55C4; stroke-width: 1.4; }
/* Fuera del modo medicion las medidas quedan dibujadas pero no interceptan
   clics (los agarres solo funcionan mientras se mide). */
svg:not(.midiendo) .medicion-agarre { pointer-events: none; }
.medicion-texto {
  fill: #1B2A5E; font: 700 9px system-ui, sans-serif;
  paint-order: stroke; stroke: #fff; stroke-width: 2.5px;
}
.guia-distancia { stroke: #DE7527; stroke-width: 1.2; stroke-dasharray: 4 4; }
.guia-texto {
  fill: #8A4A16; font: 600 calc(9px * var(--zesc, 1)) system-ui, sans-serif;
  paint-order: stroke; stroke: #fff; stroke-width: 2.5px;
}
.dim-propia {
  fill: #2C55C4; font: 700 calc(9px * var(--zesc, 1)) system-ui, sans-serif;
  paint-order: stroke; stroke: #fff; stroke-width: 2.5px;
}
svg.midiendo, svg.midiendo image.drag, svg.midiendo * { cursor: crosshair; }
svg.midiendo .medicion-agarre { cursor: move; }
button.activo { background: #2C55C4; color: #fff; }

/* Zonas editables */
.zona-rect { fill: rgba(44, 85, 196, .06); stroke: #2C55C4; stroke-width: 1.2; stroke-dasharray: 8 5; }
.zona-rect.seleccionada { fill: rgba(44, 85, 196, .14); stroke-width: 2; stroke-dasharray: none; }
.zona-nombre {
  fill: #2C55C4; font: 700 13px system-ui, sans-serif;
  paint-order: stroke; stroke: #fff; stroke-width: 3px; pointer-events: none;
}
.zona-handle { fill: #fff; stroke: #2C55C4; stroke-width: 1.5; cursor: nwse-resize; }
svg.editando-zonas image.drag { pointer-events: none; opacity: .55; }

/* Cotas automáticas (separaciones vivas) */
.cota-auto-linea, .cota-auto-tick, .cota-auto-aux {
  stroke: #4F6F95;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.cota-auto-linea { stroke-dasharray: 4 3; }
.cota-auto-aux { opacity: .62; }
.cota-auto-bg {
  fill: rgba(255, 255, 255, .88);
  stroke: #B8C3D0;
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
}
.cota-auto {
  fill: #3D5E86; font: 700 calc(7.5px * var(--zesc, 1)) 'IBM Plex Mono', monospace;
  dominant-baseline: middle;
}

.pasillo-medida-badge {
  filter: drop-shadow(0 .5px 1px rgba(0, 0, 0, .12));
}
.pasillo-medida-bg {
  fill: rgba(255, 255, 255, .88);
  stroke: #2C55C4;
  stroke-width: .8;
  vector-effect: non-scaling-stroke;
}
.pasillo-medida-text {
  fill: #1B2A5E;
  font: 800 7.5px 'IBM Plex Mono', monospace;
  letter-spacing: 0;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 1.1px;
}
.pasillo-medida-lateral .pasillo-medida-bg {
  fill: rgba(255, 255, 255, .78);
  stroke: #7A8794;
}

/* Rejilla de 1 m */
.rejilla-menor { stroke: #A8B6CC; stroke-width: 0.8; vector-effect: non-scaling-stroke; fill: none; }
.rejilla-mayor { stroke: #6E86A6; stroke-width: 1.4; vector-effect: non-scaling-stroke; fill: none; }

/* Vista 3D */
#vista3d { display: none; position: relative; width: 100%; height: 78vh; background: #252A33; border-radius: 10px; overflow: hidden; }
body.modo-3d .plano-wrap { display: none; }
body.modo-3d #vista3d { display: block; }
#vista3d canvas { display: block; }
#btn-fit-3d { position: absolute; top: 10px; left: 10px; z-index: 2; }
#ficha3d { position: absolute; top: 10px; right: 10px; z-index: 2; width: 250px; background: #fff; border-radius: 10px; padding: 12px 14px; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); font-size: 13px; }
#ficha3d img { width: 100%; height: 110px; object-fit: contain; }
#ficha3d h3 { margin: 6px 0 2px; font-size: 15px; }
#ficha3d .cod { color: #5A5E64; font-size: 12px; margin-bottom: 6px; }
#ficha3d .dato { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-top: 1px solid #EEE; }
#ficha3d .dato span { color: #5A5E64; }
#ficha3d .cerrar { float: right; border: none; background: none; cursor: pointer; font-size: 14px; }

/* Impresión: carta horizontal, solo el plano */
@media print {
  @page { size: letter landscape; margin: 6mm; }
  header.rotulo, .editor-shell, #tip, #aviso, #ficha, #ficha3d, #vista3d { display: none !important; }
  body { padding: 0 !important; background: #FFFFFF !important; }
  .plano-wrap { max-width: none !important; border: none !important; box-shadow: none !important; padding: 0 !important; }
  .plano-wrap svg { width: 100% !important; height: auto !important; }
  .paint-layer, .paint-panel, .medicion-agarre, .zona-handle, #menu-ctx { display: none !important; }
  .print-empty image.drag,
  .print-empty .cad-footprint,
  .print-empty .equipment-perimeter,
  .print-empty .safety-buffer,
  .print-empty .flecha-frente { display: none !important; }
  .plano-wrap ~ * { display: none !important; }
}

/* Menu de cortes (desplegable) */
.menu-cortes { position: relative; }
#menu-cortes-lista {
  display: none; position: absolute; top: 34px; left: 0; z-index: 60;
  width: min(460px, calc(100vw - 28px)); padding: 9px; background: rgba(32, 36, 42, .96);
  border: 1px solid #4a515c; border-radius: 7px; box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
#menu-cortes-lista.abierto { display: block; }
.menu-cortes-titulo {
  color: #f5f5f3; font: 700 13px/1.2 'Barlow Condensed', sans-serif;
  letter-spacing: .4px; text-transform: uppercase;
}
.menu-cortes-ayuda {
  margin: 3px 0 7px; color: #b8bec6;
  font: 10.5px/1.35 'IBM Plex Mono', monospace;
}

/* Menu de grupos musculares (mismo patron que Cortes) */
#menu-musculos-lista {
  display: none; position: absolute; z-index: 30; margin-top: 4px;
  min-width: 250px; padding: 6px; background: #20242a;
  border: 1px solid #4a515c; border-radius: 7px; box-shadow: 0 10px 26px rgba(0,0,0,.4);
}
#menu-musculos-lista.abierto { display: block; }
.editor-shell .editor-bar #menu-musculos-lista .item-musculo {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  margin: 3px 0; padding: 7px 9px;
}
#menu-musculos-lista .item-musculo small { margin-left: auto; color: #97a0ab; text-transform: none; }
#menu-musculos-lista .chip { width: 12px; height: 12px; border-radius: 3px; flex: none; }
#menu-musculos-lista .item-musculo.activo { outline: 2px solid #e0ae18; }

/* Buscador de maquinas */
.buscador-maquinas { position: relative; }
.editor-shell .editor-bar .buscador-maquinas input {
  min-height: 30px; width: 210px; padding: 5px 9px;
  color: #e9eaeb; background: #343a42; border: 1px solid #4a515c; border-radius: 5px;
  font: 500 12.5px 'IBM Plex Mono', monospace;
}
.editor-shell .editor-bar .buscador-maquinas input::placeholder { color: #97a0ab; }
#buscar-resultados {
  display: none; position: absolute; z-index: 30; margin-top: 4px;
  min-width: 280px; max-height: 320px; overflow-y: auto; padding: 6px;
  background: #20242a; border: 1px solid #4a515c; border-radius: 7px;
  box-shadow: 0 10px 26px rgba(0,0,0,.4);
}
#buscar-resultados.abierto { display: block; }
.editor-shell .editor-bar #buscar-resultados .item-busqueda {
  display: block; width: 100%; text-align: left; margin: 3px 0; padding: 7px 9px;
  text-transform: none; letter-spacing: 0;
}
#buscar-resultados .item-busqueda strong { color: #e0ae18; margin-right: 6px; }
#buscar-resultados .item-busqueda small { color: #97a0ab; }

/* Marco pulsante al encontrar una maquina */
.marca-busqueda {
  fill: none; stroke: #E24545; stroke-width: 3;
  animation: pulso-busqueda 1s ease-in-out infinite;
}
@keyframes pulso-busqueda {
  0%, 100% { stroke-opacity: 1; stroke-width: 3; }
  50% { stroke-opacity: 0.25; stroke-width: 6; }
}
.editor-shell .editor-bar #menu-cortes-lista .item-corte {
  display: block; width: 100%; min-height: 0; text-align: left; margin: 4px 0; padding: 8px 10px;
  border-color: #525a65; background: #303640; text-transform: none; letter-spacing: 0;
}
.editor-shell .editor-bar #menu-cortes-lista .item-corte:hover {
  color: #20242a; background: #e0ae18; border-color: #e0ae18;
}
#menu-cortes-lista .item-corte strong {
  display: block; color: inherit; font: 700 12.5px/1.2 'Barlow Condensed', sans-serif;
  text-transform: uppercase; letter-spacing: .35px;
}
#menu-cortes-lista .item-corte small {
  display: block; margin-top: 3px; color: #b8bec6;
  font: 10px/1.35 'IBM Plex Mono', monospace; text-transform: none; letter-spacing: 0;
  white-space: normal;
}
.editor-shell .editor-bar #menu-cortes-lista .item-corte:hover small { color: #26313c; }

/* Menu contextual del piso */
#menu-ctx {
  display: none; position: fixed; z-index: 80; min-width: 230px; padding: 6px;
  background: #20242a; border: 1px solid #4a515c; border-radius: 7px;
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
}
#menu-ctx .ctx-head {
  padding: 6px 8px 8px; border-bottom: 1px solid #3a4048; margin-bottom: 4px;
  color: #d7d9dc; font: 11px 'IBM Plex Mono', monospace;
}
#menu-ctx .ctx-head strong { display: block; color: #e0ae18; font-size: 12px; }
#menu-ctx .ctx-head span { display: block; color: #97a0ab; font-size: 9.5px; margin-top: 2px; }
#menu-ctx button {
  display: block; width: 100%; text-align: left; margin: 2px 0; padding: 7px 9px;
  color: #e9eaeb; background: #343a42; border: 1px solid #4a515c; border-radius: 4px;
  font: 600 12px 'Barlow Condensed', sans-serif; letter-spacing: .35px; cursor: pointer;
}
#menu-ctx button:hover { color: #20242a; background: #e0ae18; border-color: #e0ae18; }

/* Flechita tenue: por donde se entra a cada maquina */
.flecha-frente { fill: #7A8794; opacity: .5; pointer-events: none; }

/* Modo segmentos: manillas de frontera arrastrables */
.seg-hit { stroke: transparent; stroke-width: 14; cursor: ns-resize; }
.seg-linea { stroke: #2C55C4; stroke-width: 2; stroke-dasharray: 7 5; opacity: .5; pointer-events: none; }
.seg-par:hover .seg-linea, .seg-par.arrastrando .seg-linea { opacity: 1; stroke-width: 3; }
svg.segmentando image.drag { pointer-events: none; }

.plan-switcher label {
  color: #aeb4bc;
  font: 700 10px 'IBM Plex Mono', monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan-switcher select {
  min-height: 30px;
  padding: 4px 28px 4px 8px;
  border: 1px solid #e0ae18;
  border-radius: 4px;
  background: #15191e;
  color: #fff;
  font: 700 12px 'Barlow Condensed', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}
body:not(.escenario-galpon) #btn-hyrox-quiz { display: none; }

.galpon-escena .cota-linea { stroke: #23272c; stroke-width: 1.5; fill: none; }
.galpon-escena .galpon-muro { fill: none; stroke: #d12f2f; stroke-width: 2.5; vector-effect: non-scaling-stroke; shape-rendering: crispEdges; }
.galpon-escena .galpon-puerta { fill: none; stroke: #fff; stroke-width: 4; vector-effect: non-scaling-stroke; }
.galpon-escena .galpon-abatimiento { fill: none; stroke: #6f7780; stroke-width: 1.1; stroke-dasharray: 5 5; vector-effect: non-scaling-stroke; }
.galpon-escena .galpon-zona { opacity: .92; stroke-width: 0; fill: #ECE8DE; pointer-events: none; }
.galpon-escena .galpon-bodega rect { fill: #fff8df; stroke: #d9762b; stroke-width: 2; stroke-dasharray: 8 6; vector-effect: non-scaling-stroke; }
.galpon-escena .galpon-bodega-texto { fill: #9a4e14; font: 700 12px 'IBM Plex Mono', monospace; letter-spacing: .04em; }
.galpon-escena .servicios { fill: #ECE8DE; stroke: #ECE8DE; }
.galpon-escena .cardio { fill: #ECE8DE; stroke: #ECE8DE; }
.galpon-escena .maquinas { fill: #ECE8DE; stroke: #ECE8DE; }
.galpon-escena .pesolibre { fill: #ECE8DE; stroke: #ECE8DE; }
.galpon-escena .rotulo-zona { fill: #20242a; font: 700 15px 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .04em; }
.galpon-escena .orientacion { fill: #5a626c; font: 700 11px 'IBM Plex Mono', monospace; letter-spacing: .08em; }
.equipo-alfombra-hydrox { cursor: grab; }
.equipo-alfombra-hydrox:active { cursor: grabbing; }
body.escenario-galpon .editor-help::after { content: ' · GALPON: selector arriba mantiene las mismas herramientas, iman, perimetros, dibujo y guardado por escenario.'; color: #e0ae18; }

.equipo-alfombra-segmento {
  fill: #101114;
  stroke: #f4f1ea;
  stroke-width: 2;
  cursor: grab;
}
.equipo-alfombra-segmento.moviendo,
.equipo-alfombra-segmento:active { cursor: grabbing; }
body.escenario-galpon .equipo-alfombra-segmento + .safety-buffer { display: block; stroke: #d9762b; opacity: .55; }
body.escenario-galpon .equipo-alfombra-segmento + .safety-buffer + .equipment-perimeter { stroke-width: 1.2; opacity: .7; }
.galpon-escena .regla-tick { stroke: #23272c; stroke-width: 1; }
.galpon-escena .regla-num { fill: #23272c; font: 500 10px 'IBM Plex Mono', monospace; }
.galpon-escena .regla-label { fill: #5a626c; font: 700 10px 'IBM Plex Mono', monospace; letter-spacing: .04em; text-transform: uppercase; }
body.escenario-galpon .galpon-escena .cota { font-size: 12px; }
.equipo-servicio-galpon {
  fill: #c8eeee;
  stroke: #20242a;
  stroke-width: 1.4;
  cursor: grab;
}
.equipo-servicio-galpon.moviendo,
.equipo-servicio-galpon:active { cursor: grabbing; }


.hyrox-mat-detail { pointer-events: none; }
.hyrox-mat-bg { fill: #050506; stroke: #f4f4f0; stroke-width: 2; opacity: .96; }
.hyrox-mat-rack-reserva { fill: rgba(255,255,255,.045); stroke: rgba(255,255,255,.34); stroke-width: 1; stroke-dasharray: 8 6; }
.hyrox-mat-rack-edge { stroke: rgba(255,255,255,.42); stroke-width: 1.5; stroke-dasharray: 8 6; vector-effect: non-scaling-stroke; }
.hyrox-mat-rack-word { fill: #111; font: 800 13px 'Barlow Condensed', sans-serif; letter-spacing: .03em; paint-order: stroke; stroke: rgba(255,255,255,.95); stroke-width: 5; }
.hyrox-mat-edge, .hyrox-mat-tick { stroke: rgba(255,255,255,.82); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.hyrox-mat-lane { stroke: rgba(255,255,255,.80); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hyrox-mat-lane.lane-gold { stroke: rgba(225,178,80,.88); }
.hyrox-mat-divider { stroke: rgba(255,255,255,.55); stroke-width: 1.4; stroke-dasharray: 9 18; vector-effect: non-scaling-stroke; }
.hyrox-mat-logo { fill: rgba(255,255,255,.90); font: 800 14px 'Barlow Condensed', sans-serif; letter-spacing: .13em; }
.hyrox-mat-logo.side-right { fill: rgba(255,255,255,.70); }
