/* Pantalla al estilo de Shapr3D sobre el lienzo limpio de SolidCraft: columnas de iconos flotando en los
   bordes, submenús, panel de elementos, cubo de vistas, herramienta activa arriba y selección abajo. */
body.s3 #cad-pc, body.s3 #cad-panel { display: none !important; }
body.s3 { background: #1b1b1c; }
.s3 { --fondo: #2b2b2d; --fondo2: #37373a; --texto: #f3f3f4; --tenue: #a8a8ad; --azul: #3b82f6; --borde: #47474b; }
.s3-capa {
  position: fixed; z-index: 40; color: var(--texto); font: 600 14px/1.2 -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.s3-capa[hidden] { display: none !important; }
.s3-capa button { font: inherit; color: inherit; touch-action: manipulation; }

/* Columnas de botones: un cuadrado con icono y, al lado, su rótulo. */
.s3-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.s3-col.der { align-items: flex-end; }
.s3-grupo { display: flex; flex-direction: column; }
.s3-b { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.s3-col.der .s3-b { flex-direction: row-reverse; text-align: right; }
.s3-b .ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: var(--fondo); box-shadow: 0 1px 5px #0007; }
.s3-grupo .s3-b:first-child .ico { border-top-left-radius: 11px; border-top-right-radius: 11px; }
.s3-grupo .s3-b:last-child .ico { border-bottom-left-radius: 11px; border-bottom-right-radius: 11px; }
.s3-b .ico svg { width: 24px; height: 24px; }
.s3-b .ico b { font-size: 11px; line-height: 1.05; text-align: center; font-weight: 700; }
.s3-b .rot { background: #2b2b2df0; border-radius: 8px; padding: 6px 10px; white-space: nowrap; box-shadow: 0 1px 4px #0006; display: flex; align-items: center; gap: 7px; }
.s3-b .rot small { display: block; font-weight: 500; font-size: 12px; color: var(--tenue); margin-top: 1px; }
.s3-b kbd { font: 500 11px/1 inherit; color: #cfcfd3; background: #48484c; border-radius: 4px; padding: 3px 5px; }
.s3-b:active .ico, .s3-b.abierto .ico { background: var(--fondo2); }
.s3-b.activo .ico { background: var(--azul); }
.s3-b[disabled] { opacity: .38; pointer-events: none; }
body.s3-sin-rotulos .s3-col .rot { display: none; }
.s3-sep { height: 8px; }

#s3-izq-arriba { left: max(10px, env(safe-area-inset-left)); top: max(10px, env(safe-area-inset-top)); }
#s3-izq-medio { left: max(10px, env(safe-area-inset-left)); top: calc(50% - 18px); transform: translateY(-50%); }
#s3-izq-abajo { left: max(10px, env(safe-area-inset-left)); bottom: max(10px, env(safe-area-inset-bottom)); }
#s3-der-arriba { right: max(10px, env(safe-area-inset-right)); top: max(10px, env(safe-area-inset-top)); display: flex; gap: 10px; align-items: flex-start; }

/* Submenús y paneles. */
.s3-volante, .s3-panel {
  position: fixed; z-index: 45; background: #2a2a2cf7; border: 1px solid var(--borde); border-radius: 13px; box-shadow: 0 10px 34px #000b;
  overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
.s3-volante { min-width: 232px; max-width: min(320px, calc(100vw - 80px)); max-height: calc(100vh - 24px); padding: 6px; }
.s3-volante h4 { margin: 6px 10px 4px; font-size: 12px; font-weight: 600; color: var(--tenue); text-transform: uppercase; letter-spacing: .5px; }
.s3-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 4px 10px; border: 0; border-radius: 9px; background: none; cursor: pointer; text-align: left; }
.s3-item svg { width: 22px; height: 22px; flex: none; }
.s3-item span { flex: 1; }
.s3-item small { display: block; font-weight: 500; font-size: 12px; color: var(--tenue); }
.s3-item:active, .s3-item.marcado { background: var(--fondo2); }
.s3-item.azul { background: var(--azul); }
.s3-item[disabled] { opacity: .38; pointer-events: none; }
.s3-raya { height: 1px; background: var(--borde); margin: 5px 8px; }
.s3-panel { width: min(300px, calc(100vw - 84px)); max-height: calc(100vh - 24px); padding: 8px; }
.s3-panel h3 { margin: 4px 8px 8px; font-size: 16px; display: flex; align-items: center; justify-content: space-between; }
.s3-panel .nota { margin: 2px 8px 8px; font-weight: 500; font-size: 12.5px; color: var(--tenue); overflow-wrap: anywhere; }
.s3-fila { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 2px 4px 2px 8px; border-radius: 9px; }
.s3-fila.sel { background: #3b82f640; }
.s3-fila .nombre { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; cursor: pointer; padding: 9px 0; }
.s3-fila svg { width: 20px; height: 20px; flex: none; color: var(--tenue); }
.s3-fila button { width: 38px; height: 38px; border: 0; border-radius: 8px; background: none; display: grid; place-items: center; cursor: pointer; }
.s3-fila button:active { background: var(--fondo2); }
.s3-fila.oculto .nombre { color: var(--tenue); }
.s3-casilla { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; font-weight: 500; }
.s3-casilla input { width: 21px; height: 21px; flex: none; accent-color: var(--azul); }
.s3-botones { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.s3-botones button { min-height: 38px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--borde); background: var(--fondo); cursor: pointer; font-weight: 500; }
.s3-botones button.si { background: var(--azul); border-color: var(--azul); font-weight: 600; }
.s3-botones button:active { filter: brightness(1.25); }

/* Arriba, centrado: la herramienta activa y sus botones. */
#s3-arriba { left: 50%; top: max(10px, env(safe-area-inset-top)); transform: translateX(-50%); display: flex; gap: 8px; align-items: center; max-width: calc(100vw - 260px); }
#s3-arriba .chip { background: var(--fondo); border-radius: 10px; padding: 11px 14px; box-shadow: 0 1px 5px #0007; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#s3-arriba .chip small { font-weight: 500; color: var(--tenue); margin-left: 6px; }
#s3-arriba button { min-height: 42px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--fondo); box-shadow: 0 1px 5px #0007; cursor: pointer; white-space: nowrap; }
#s3-arriba button.si { background: var(--azul); }
#s3-arriba button:active { filter: brightness(1.25); }

/* Abajo, centrado: lo seleccionado. */
#s3-abajo { left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); pointer-events: none; font-weight: 500; font-size: 14.5px;
  text-shadow: 0 1px 3px #000, 0 0 8px #000; white-space: nowrap; }

/* Cubo de vistas. */
#s3-cubo { width: 84px; height: 84px; perspective: 420px; cursor: pointer; margin-top: 2px; touch-action: none; }
#s3-cubo.girando { cursor: grabbing; }
#s3-cubo .giro { position: absolute; left: 20px; top: 20px; width: 44px; height: 44px; transform-style: preserve-3d; }
#s3-cubo .cara {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; letter-spacing: .2px; color: #dcdce0;
  background: #3a3a3ef2; border: 1px solid #707076; backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
#s3-cubo .cara:active { background: var(--azul); }


/* En pantallas bajas (iPad pequeño, o Safari con sus barras) los botones encogen para que las columnas no se pisen. */
@media (max-height: 790px) { .s3-b .ico { width: 40px; height: 40px; } .s3-b .ico svg { width: 22px; height: 22px; } .s3-col { gap: 6px; } }
@media (max-height: 640px) { .s3-b .ico { width: 34px; height: 34px; } .s3-b .ico svg { width: 19px; height: 19px; } .s3-b .rot { padding: 4px 8px; font-size: 13px; } .s3-col { gap: 4px; } }

/* ===================== Piel propia =====================
   La que se publicaría: barra arriba (diseño, elementos, deshacer; ajustes a la derecha), barra de
   herramientas abajo que cambia con lo seleccionado, color y botones propios. La de arriba de este archivo
   (columnas a la izquierda) queda como piel «clasica», solo para uso propio. */
body.s3 { --sobre-azul: #fff; }
body.piel-propia { --azul: #ff9838; --sobre-azul: #1d1206; --fondo: #232327; --fondo2: #3c3c42; --borde: #45454c; --dock: 82px; }
body.piel-propia.s3-sin-rotulos { --dock: 52px; }

body.piel-propia .s3-col { flex-direction: row; align-items: stretch; gap: 8px; }
body.piel-propia .s3-grupo {
  flex-direction: row; gap: 2px; padding: 4px; border-radius: 18px; background: #232327e8; border: 1px solid #ffffff17;
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 6px 22px #0009;
}
body.piel-propia .s3-b, body.piel-propia .s3-col.der .s3-b {
  flex-direction: column; justify-content: flex-start; gap: 3px; width: 66px; min-height: 68px; padding: 5px 0 3px; border-radius: 14px; text-align: center;
}
body.piel-propia .s3-b .ico { width: 40px; height: 32px; background: none; box-shadow: none; border-radius: 0 !important; }
body.piel-propia .s3-b .ico svg { width: 25px; height: 25px; }
body.piel-propia .s3-b .ico b { font-size: 13px; }
body.piel-propia .s3-b .rot {
  display: block; background: none; box-shadow: none; padding: 0 3px; border-radius: 0; color: #dcdce1;
  font-size: 10.5px; font-weight: 600; line-height: 1.15; white-space: normal; text-align: center; max-height: 2.3em; overflow: hidden;
}
body.piel-propia .s3-b .rot small, body.piel-propia .s3-b kbd { display: none; }
body.piel-propia .s3-b:active, body.piel-propia .s3-b.abierto { background: var(--fondo2); }
body.piel-propia .s3-b:active .ico, body.piel-propia .s3-b.abierto .ico, body.piel-propia .s3-b.activo .ico { background: none; }
body.piel-propia .s3-b.activo { background: var(--azul); color: var(--sobre-azul); }
body.piel-propia .s3-b.activo .rot { color: var(--sobre-azul); }
body.piel-propia.s3-sin-rotulos .s3-b { width: 46px; min-height: 40px; }

body.piel-propia #s3-izq-medio { left: 50%; top: auto; bottom: max(10px, env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: calc(100vw - 12px); }
body.piel-propia #s3-izq-abajo { left: max(10px, env(safe-area-inset-left)); bottom: auto; top: 50%; transform: translateY(-50%); }
body.piel-propia #s3-izq-abajo .s3-grupo { flex-direction: column; }
body.piel-propia #s3-der-arriba { flex-direction: column-reverse; align-items: flex-end; gap: 8px; }
body.piel-propia #s3-abajo { display: none; }

/* La herramienta abierta, con su pista o lo seleccionado, justo encima de la barra de abajo. */
body.piel-propia #s3-arriba {
  top: auto; bottom: calc(max(10px, env(safe-area-inset-bottom)) + var(--dock) + 12px); flex-wrap: wrap; justify-content: center; row-gap: 6px;
  width: max-content; max-width: calc(100vw - 24px);
}
body.piel-propia #s3-arriba .pista { flex: 0 0 100%; text-align: center; font-weight: 500; font-size: 13.5px; text-shadow: 0 1px 3px #000, 0 0 9px #000; pointer-events: none; }
body.piel-propia #s3-arriba .chip, body.piel-propia #s3-arriba button {
  border-radius: 14px; background: #232327e8; border: 1px solid #ffffff17; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 6px 22px #0009;
}
body.piel-propia #s3-arriba button.si { background: var(--azul); color: var(--sobre-azul); border-color: transparent; font-weight: 700; }

/* Submenús y paneles. */
body.piel-propia .s3-volante, body.piel-propia .s3-panel { border-radius: 18px; background: #232327f4; border-color: #ffffff1c; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.s3-volante.doble { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4px; align-content: start; min-width: min(470px, calc(100vw - 20px)); max-width: min(560px, calc(100vw - 20px)); }
.s3-volante.doble h4, .s3-volante.doble .s3-raya { grid-column: 1 / -1; }
body.piel-propia .s3-item.azul, body.piel-propia .s3-botones button.si { background: var(--azul); border-color: var(--azul); color: var(--sobre-azul); }
body.piel-propia .s3-fila.sel { background: #ff983838; }
body.piel-propia #s3-cubo .cara:active { background: var(--azul); color: var(--sobre-azul); }
.s3-panel input.texto { width: calc(100% - 16px); margin: 0 8px 8px; min-height: 42px; border-radius: 11px; border: 1px solid var(--borde); background: #19191b; color: var(--texto); font: 600 16px/1 inherit; padding: 0 12px; box-sizing: border-box; }
.s3-panel input.texto:focus { outline: 2px solid var(--azul); outline-offset: 0; }
.s3-panel pre.legal { margin: 0 8px 8px; padding: 10px; max-height: 46vh; overflow: auto; -webkit-overflow-scrolling: touch; background: #19191b; border-radius: 10px; font: 500 11.5px/1.45 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: #cfcfd4; -webkit-user-select: text; user-select: text; }
.s3-panel.ancho { width: min(520px, calc(100vw - 24px)); }

/* Pantallas estrechas (iPad en vertical, iPad mini): botones más justos. */
@media (max-width: 900px) { body.piel-propia .s3-b, body.piel-propia .s3-col.der .s3-b { width: 58px; } body.piel-propia .s3-col { gap: 6px; } }
@media (max-width: 700px) { body.piel-propia .s3-b, body.piel-propia .s3-col.der .s3-b { width: 50px; } body.piel-propia .s3-b .rot { font-size: 9.5px; } }
@media (max-height: 640px) { body.piel-propia { --dock: 70px; } body.piel-propia .s3-b, body.piel-propia .s3-col.der .s3-b { min-height: 58px; } body.piel-propia .s3-b .rot { max-height: 1.2em; } }

/* Pantalla de carga con la marca propia, sobre el mismo fondo oscuro del lienzo. */
html, body, #solidcraft_loading { background: #1b1b1c !important; }
#solidcraft_loading img { width: min(34vmin, 180px) !important; }
.s3-fila .nombre small { color: var(--tenue); font-weight: 500; font-size: 12px; margin-left: 8px; }
/* En la piel propia los avisos salen arriba: abajo está la barra de herramientas. */
body.piel-propia #cad-avisos { bottom: auto !important; top: calc(max(10px, env(safe-area-inset-top)) + 96px); }

/* ===================== Modo herramienta, teclado numérico y «Avanzado» =====================
   Con una herramienta de modelado abierta, la interfaz de SolidCraft está a la vista para que calcule la
   vista previa, pero tapada: su fila de pestañas queda bajo la franja de arriba y su cuadro, bajo el panel
   de la derecha, que es el nuestro (lo elegido, las medidas, el teclado numérico, Hecho y Cancelar). */
body { --lado: 280px; }
#s3-franja { left: 0; top: 0; right: 0; height: 44px; z-index: 38; background: #1b1b1c; }
#s3-lado {
  right: 0; top: 0; bottom: 0; width: var(--lado); z-index: 39; box-sizing: border-box; background: #202023; border-left: 1px solid #ffffff14;
  padding: calc(max(10px, env(safe-area-inset-top)) + 96px) 12px max(12px, env(safe-area-inset-bottom)) 12px;
  display: flex; flex-direction: column; gap: 8px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
}
#s3-lado[hidden], #s3-franja[hidden] { display: none; }
body.s3-herr #s3-der-arriba .s3-col { display: none; }
body.s3-herr #s3-der-arriba { right: calc((var(--lado) - 84px) / 2); }
/* Hecho y Cancelar están en el panel: los de siempre se quitan mientras tanto. */
body.s3-herr #s3-arriba { display: none; }
body.s3-herr #s3-abajo, body.s3-herr.piel-propia #s3-izq-medio { left: calc((100vw - var(--lado)) / 2); }
body.s3-herr.piel-propia #s3-izq-medio { max-width: calc(100vw - var(--lado) - 12px); }
#s3-lado .cab b { display: block; font-size: 17px; }
#s3-lado .cab small { display: block; margin-top: 3px; min-height: 15px; font-weight: 500; font-size: 12.5px; color: var(--tenue); }
#s3-lado .filas { display: flex; flex-direction: column; gap: 4px; }
#s3-lado .filas:empty { display: none; }
#s3-lado .filas.doble { display: grid; grid-template-columns: 1fr 1fr; }
#s3-lado .filas.doble .fila { padding: 0 9px; gap: 4px; font-size: 13.5px; }
#s3-lado .fila {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--borde); border-radius: 11px;
  background: var(--fondo); cursor: pointer; font-weight: 500; text-align: left;
}
#s3-lado .fila .v { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
#s3-lado .fila.activa { border-color: var(--azul); box-shadow: inset 0 0 0 1px var(--azul); }
#s3-lado .nota { min-height: 17px; font-weight: 600; font-size: 13px; color: var(--tenue); }
#s3-lado .nota.corte { color: #ff8a70; }
#s3-lado .nota.mal { color: #ff6b6b; font-weight: 500; }
#s3-lado .pie { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
#s3-lado .pie button { flex: 1; min-height: 48px; border: 1px solid var(--borde); border-radius: 12px; background: var(--fondo); cursor: pointer; font-weight: 600; }
#s3-lado .pie button.si { background: var(--azul); border-color: var(--azul); color: var(--sobre-azul); font-weight: 700; }
#s3-lado .pie button:active { filter: brightness(1.25); }

/* El teclado numérico: pantalla, flechas de paso y cifras. */
.s3-tec { display: flex; flex-direction: column; gap: 6px; }
.s3-tec[hidden] { display: none; }
.s3-tec .pant {
  min-height: 46px; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; border-radius: 11px; background: #141416; border: 1px solid var(--borde);
  font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .3px; overflow: hidden; white-space: nowrap;
}
.s3-tec .pant.escribiendo { border-color: var(--azul); }
.s3-tec .pasos, .s3-tec .teclas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.s3-tec .t { min-height: 50px; padding: 0; border: 0; border-radius: 11px; background: var(--fondo2); color: var(--texto); font-size: 20px; font-weight: 600; cursor: pointer; touch-action: manipulation; }
.s3-tec .t.paso { min-height: 42px; font-size: 13.5px; background: var(--fondo); border: 1px solid var(--borde); white-space: nowrap; }
.s3-tec .t.f { background: #2c2c31; }
.s3-tec .t.doble { grid-column: span 2; }
.s3-tec .t.toda { grid-column: span 4; }
.s3-tec .t.si { background: var(--azul); color: var(--sobre-azul); font-size: 16px; font-weight: 700; }
.s3-tec .t:active { filter: brightness(1.4); }

/* El teclado que sale junto a la casilla de una cota, dentro de un boceto. */
#s3-tec-flota {
  right: max(10px, env(safe-area-inset-right)); top: 50%; transform: translateY(-46%); width: 244px; z-index: 44; padding: 10px; border-radius: 18px;
  background: #232327f4; border: 1px solid #ffffff1c; box-shadow: 0 10px 34px #000b; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
#s3-tec-flota .cab { display: flex; align-items: center; gap: 6px; margin: 0 2px 8px; }
#s3-tec-flota .mini[hidden] { display: none; }
#s3-tec-flota.izquierda { right: auto; left: max(10px, env(safe-area-inset-left)); }
#s3-tec-flota .cab b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
#s3-tec-flota .mini { min-width: 40px; min-height: 34px; padding: 0 8px; border: 1px solid var(--borde); border-radius: 9px; background: var(--fondo); cursor: pointer; font-size: 12.5px; }

/* «Avanzado»: la lista de medidas y su teclado. */
.s3-medidas .s3-item b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.s3-panel .s3-tec { margin: 0 8px 8px; }

@media (max-height: 760px) { .s3-tec .t { min-height: 44px; } #s3-lado { gap: 6px; padding-top: calc(max(8px, env(safe-area-inset-top)) + 92px); } #s3-lado .fila { min-height: 36px; } }
@media (max-height: 660px) {
  .s3-tec .t { min-height: 38px; font-size: 18px; } .s3-tec .t.paso { min-height: 34px; } .s3-tec .pant { min-height: 38px; font-size: 19px; }
  #s3-lado .fila { min-height: 32px; } #s3-lado .pie button { min-height: 42px; }
}

/* Pantallas de teléfono (la app es para el iPad, pero también se abre en un iPhone).
   Tumbado: no cabe el panel en una columna; van las medidas a la izquierda y el teclado a la derecha, sin el cubo
   (los dedos siguen girando la vista). De pie: se quita la barra de abajo mientras hay una herramienta abierta,
   que tapaba «Cancelar». */
@media (max-height: 560px) and (min-width: 700px) {
  body.s3-herr { --lado: 500px !important; }
  body.s3-herr #s3-der-arriba { display: none; }
  #s3-lado {
    display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto 1fr; column-gap: 10px; row-gap: 6px; align-content: stretch;
    padding-top: max(8px, env(safe-area-inset-top));
  }
  #s3-lado .cab, #s3-lado .filas, #s3-lado .nota, #s3-lado .pie { grid-column: 1; }
  #s3-lado .s3-tec { grid-column: 2; grid-row: 1 / span 5; align-self: start; }
  #s3-lado .pie { align-self: end; margin-top: 0; }
}
@media (max-width: 700px) { body.s3-herr #s3-abajo, body.s3-herr.piel-propia #s3-izq-medio { display: none; } }

/* Instalar la web como app: la tarjeta que lo ofrece (abajo a la izquierda, por encima de la barra de
   herramientas) y los pasos numerados de su panel. */
#s3-instalar {
  left: max(10px, env(safe-area-inset-left)); bottom: calc(max(12px, env(safe-area-inset-bottom)) + 96px);
  display: flex; align-items: center; gap: 10px; padding: 8px 6px 8px 12px; max-width: calc(100vw - 20px);
  background: #2a2a2cf7; border: 1px solid var(--borde); border-radius: 16px; box-shadow: 0 6px 22px #000a;
}
#s3-instalar .ico { display: grid; place-items: center; color: var(--azul); }
#s3-instalar .ico svg { width: 26px; height: 26px; }
#s3-instalar .txt b { display: block; white-space: nowrap; }
#s3-instalar .txt small { display: block; margin-top: 2px; font-weight: 500; font-size: 12px; color: var(--tenue); white-space: nowrap; }
#s3-instalar .si { min-height: 40px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--azul); color: var(--sobre-azul, #fff); font-weight: 700; cursor: pointer; }
#s3-instalar .si:active { filter: brightness(1.15); }
#s3-instalar .no { width: 36px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--tenue); font-size: 15px; cursor: pointer; }
body.s3-herr #s3-instalar { display: none; }
.s3-pasos { margin: 6px 8px 12px; padding: 0; list-style: none; counter-reset: paso; display: grid; gap: 10px; }
.s3-pasos li { counter-increment: paso; display: flex; align-items: center; gap: 11px; font-weight: 500; font-size: 14.5px; line-height: 1.35; }
.s3-pasos li::before { content: counter(paso); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--azul); color: var(--sobre-azul, #fff); font-weight: 700; font-size: 14px; }
.s3-pasos li b { font-weight: 700; }
.s3-pasos li svg { width: 20px; height: 20px; vertical-align: -4px; margin: 0 1px; color: var(--azul); }
