/* Asesor Sumitomo, versión 3 (integrado en la portada). Todo con prefijo ahsa-; usa las variables de la portada
   (--s0…--s3, --t1, --t2, --azul, --azul2, --mono, --ease, --gut, --max) y sólo añade las suyas.
   Criterio: una sola tinta de acento (el azul de la portada), separación por espacio antes que por bordes,
   números tabulares, tipografía monoespaciada sólo en códigos, movimiento corto y sin rebotes. */
.ahsa, dialog.ahsa-ficha {
  --ahsa-azul-s: oklch(.955 .022 262);
  --ahsa-azul-m: oklch(.42 .17 262 / .12);
  --ahsa-raya: oklch(.92 .004 250);
  --ahsa-f: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ahsa-e: cubic-bezier(.16, 1, .3, 1);
  --ahsa-r: 20px;
}
.ahsa {
  max-width: var(--max, 1360px); margin: clamp(28px, 3.4vw, 56px) auto 0; padding: clamp(28px, 3.4vw, 56px) var(--gut, 16px) 0;
  scroll-margin-top: 4px; color: var(--t1); font-family: var(--ahsa-f); font-variant-numeric: tabular-nums;
  position: relative; -webkit-font-smoothing: antialiased;
}
/* Unión con la tarjeta de Sumitomo: una raya fina con una marca corta en azul, como cota de plano */
.ahsa::before { content: ""; position: absolute; left: var(--gut, 16px); right: var(--gut, 16px); top: 0; height: 1px; background: var(--ahsa-raya); }
.ahsa::after { content: ""; position: absolute; left: var(--gut, 16px); top: -1px; width: 56px; height: 3px; background: var(--azul); border-radius: 2px; }
.ahsa *, dialog.ahsa-ficha * { box-sizing: border-box; }
/* reinicio con especificidad cero: cualquier regla ahsa- lo supera */
.ahsa :where(h3, h4, h5, p, dl, dt, dd, ol, ul, li, figure, section), :where(dialog.ahsa-ficha) :where(h3, h4, p, dl, dt, dd, ol, ul, li, figure) { margin: 0; padding: 0; max-width: none; }
:where(.ahsa, dialog.ahsa-ficha) :where(ol, ul) { list-style: none; }
.ahsa :where(button), dialog.ahsa-ficha :where(button) { cursor: pointer; font-family: var(--ahsa-f); font-variant-numeric: inherit; }
.ahsa :where(button:disabled) { cursor: default; }
:where(.ahsa, dialog.ahsa-ficha) :where(img) { max-width: 100%; height: auto; }
.ahsa :focus-visible, dialog.ahsa-ficha :focus-visible { outline: 2px solid var(--azul); outline-offset: 2px; border-radius: 8px; }
.ahsa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ahsa-enc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 8px 48px; margin-bottom: 28px; }
.ahsa-k { grid-column: 1 / -1; font-size: .78rem; font-weight: 640; letter-spacing: .16em; text-transform: uppercase; color: var(--azul); }
.ahsa-t { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.1rem); line-height: 1; letter-spacing: -.036em; font-weight: 640; text-wrap: balance; }
.ahsa-s { max-width: 52ch; font-size: clamp(1rem, .96rem + .25vw, 1.14rem); line-height: 1.45; color: var(--t2); text-wrap: pretty; justify-self: end; }

/* Aparición del bloque al entrar en pantalla (una sola vez) y resalte breve al llegar desde el héroe */
.ahsa-enc, .ahsa-caja { transition: opacity .6s var(--ahsa-e), transform .6s var(--ahsa-e); }
.ahsa-pre .ahsa-enc, .ahsa-pre .ahsa-caja { opacity: 0; transform: translateY(16px); }
.ahsa-caja::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 2px var(--azul), 0 0 0 10px var(--ahsa-azul-m); opacity: 0; pointer-events: none; }
.ahsa-llegada .ahsa-caja::after { animation: ahsa-llegada 1.5s var(--ahsa-e) both; }
@keyframes ahsa-llegada { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }

/* Cita del catálogo: referencia tipográfica, no botón de color */
.ahsa-cita {
  display: inline; padding: 0 1px; margin: 0; border: 0; border-bottom: 1px dotted var(--s3); border-radius: 0; background: transparent;
  color: var(--t2); font: 500 .8em/1.3 var(--ahsa-f); letter-spacing: .01em; white-space: nowrap; cursor: help;
  transition: color .15s, border-color .15s, background-color .15s;
}
.ahsa-cita:hover, .ahsa-cita:focus-visible, .ahsa-cita[aria-pressed="true"] { color: var(--azul); border-bottom: 1px solid var(--azul); }
.ahsa-cita[aria-pressed="true"] { background: var(--ahsa-azul-s); }
.ahsa [data-pag], dialog.ahsa-ficha [data-pag] { transition: background-color .2s, box-shadow .2s; }

/* Botones */
.ahsa-enviar, .ahsa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px;
  border-radius: 3rem; border: 0; background: var(--azul); color: #fff; font: 600 15px/1 var(--ahsa-f);
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .16s, box-shadow .16s, transform .16s var(--ahsa-e), opacity .16s;
}
.ahsa-enviar:hover, .ahsa-btn:hover { background: var(--azul2); }
.ahsa-enviar:active, .ahsa-btn:active { transform: scale(.98); }
.ahsa-btn.linea { background: transparent; color: var(--t1); box-shadow: inset 0 0 0 1px var(--s3); }
.ahsa-btn.linea:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--t1); }
.ahsa-btn:disabled { opacity: .38; }
.ahsa-btn:disabled:hover { background: var(--azul); }
.ahsa-txt-b {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 2px; border: 0; background: transparent; color: var(--t2);
  font: 500 .86rem/1 var(--ahsa-f); text-decoration: underline; text-decoration-color: var(--s3); text-underline-offset: 4px; white-space: nowrap;
  transition: color .15s, text-decoration-color .15s;
}
.ahsa-txt-b:hover { color: var(--azul); text-decoration-color: var(--azul); }
.ahsa-txt-b:disabled { color: var(--azul); text-decoration-color: transparent; }

/* ---------- La caja ---------- */
.ahsa-caja {
  position: relative; height: 880px; /* altura reservada: nada de lo que pasa dentro mueve la página */
  display: flex; flex-direction: column; background: #fff; border-radius: var(--ahsa-r);
  box-shadow: 0 0 0 1px var(--ahsa-raya), 0 1px 2px oklch(.2 .018 258 / .04), 0 18px 48px -24px oklch(.2 .018 258 / .18);
}

/* El campo, protagonista */
.ahsa-entrada { flex: none; height: 140px; padding: 20px 24px 0; }
.ahsa-campo {
  position: relative; display: flex; align-items: center; height: 64px; padding: 0 8px 0 56px; border-radius: 3rem; background: var(--s0);
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .16s, background-color .16s;
}
.ahsa-campo:hover { box-shadow: inset 0 0 0 1px var(--s3); }
.ahsa-campo:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--azul), 0 0 0 5px var(--ahsa-azul-m); }
.ahsa-campo > svg { position: absolute; left: 22px; top: 50%; margin-top: -11px; color: var(--t2); transition: color .16s; }
.ahsa-campo:focus-within > svg { color: var(--azul); }
.ahsa-campo label { position: absolute; left: 56px; top: 11px; font-size: .7rem; font-weight: 640; letter-spacing: .12em; text-transform: uppercase; color: var(--t2); pointer-events: none; }
.ahsa-campo input {
  flex: 1; min-width: 0; height: 100%; padding: 22px 12px 0 0; border: 0; background: transparent; outline: 0;
  font: 500 1.12rem/1 var(--ahsa-f); color: var(--t1); letter-spacing: -.01em;
}
.ahsa-campo input::placeholder { color: oklch(.62 .01 250); font-weight: 400; opacity: 1; }
.ahsa-campo input:focus-visible { outline: 0; }
.ahsa-enviar { flex: none; width: 132px; height: 48px; padding: 0; }
.ahsa-enviar[data-modo="detener"] { background: var(--t1); }
.ahsa-enviar[data-modo="detener"]::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: currentColor; }

/* Bajo el campo: sugerencias que rotan o, tras escribir, lo que el asesor entendió */
.ahsa-linea { position: relative; height: 56px; }
.ahsa-pruebe, .ahsa-entendio { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px; transition: opacity .2s, transform .2s var(--ahsa-e); }
.ahsa-pruebe > span { flex: none; font-size: .8rem; color: var(--t2); margin-right: 4px; }
.ahsa-ejemplos { flex: 1; min-width: 0; display: flex; gap: 8px; overflow: hidden; transition: opacity .2s, transform .2s var(--ahsa-e); }
.ahsa-ejemplos.sale { opacity: 0; transform: translateY(4px); }
.ahsa-ej {
  flex: 0 1 auto; min-width: 0; min-height: 36px; padding: 0 14px; border: 0; border-radius: 3rem; background: transparent;
  box-shadow: inset 0 0 0 1px var(--ahsa-raya); color: var(--t1); font: 500 .86rem/1 var(--ahsa-f);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: box-shadow .16s, color .16s, background-color .16s, transform .16s var(--ahsa-e);
}
.ahsa-ej:hover { box-shadow: inset 0 0 0 1px var(--azul); color: var(--azul); }
.ahsa-ej:active { transform: scale(.98); }
.ahsa-otros, .ahsa-reiniciar { flex: none; }
.ahsa-entendio { opacity: 0; pointer-events: none; transform: translateY(4px); overflow: hidden; font-size: .86rem; }
.ahsa-linea.con-entendio .ahsa-entendio { opacity: 1; pointer-events: auto; transform: none; }
.ahsa-linea.con-entendio .ahsa-pruebe { opacity: 0; pointer-events: none; visibility: hidden; }
.ahsa-entendio b { flex: none; font-size: .7rem; font-weight: 640; letter-spacing: .12em; text-transform: uppercase; color: var(--t2); margin: 0 2px 0 6px; }
.ahsa-entendio b:first-child { margin-left: 0; }
.ahsa-ent {
  flex: none; display: inline-flex; align-items: baseline; gap: 6px; height: 32px; padding: 0 12px; border-radius: 3rem; line-height: 32px;
  background: var(--ahsa-azul-s); color: var(--t1); font-weight: 500; white-space: nowrap;
  animation: ahsa-ent .32s var(--ahsa-e) both; animation-delay: calc(var(--i, 0) * 60ms);
}
.ahsa-ent em { font-style: normal; color: var(--azul); font-size: .78rem; font-weight: 600; }
.ahsa-ent.falta { background: transparent; box-shadow: inset 0 0 0 1px var(--s3); color: var(--t2); }
@keyframes ahsa-ent { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }

/* Barra de pasos: fina, con el avance fino dentro */
.ahsa-top { flex: none; position: relative; height: 52px; display: flex; align-items: center; gap: 16px; padding: 0 24px 0 32px; border-top: 1px solid var(--ahsa-raya); border-bottom: 1px solid var(--ahsa-raya); }
.ahsa-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--azul); transform-origin: left; transform: scaleX(var(--avance, 0)); transition: transform .5s var(--ahsa-e); }
.ahsa-pasos { flex: 1; min-width: 0; max-width: 860px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ahsa-paso { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; overflow: hidden; padding: 4px 0 4px 4px; }
.ahsa-paso i {
  flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 600 .7rem/1 var(--ahsa-f); font-style: normal;
  color: var(--t2); box-shadow: inset 0 0 0 1px var(--s3); transition: background-color .2s, color .2s, box-shadow .2s;
}
.ahsa-paso b { font-size: .84rem; font-weight: 600; color: var(--t2); transition: color .2s; }
.ahsa-paso small { font-size: .78rem; color: var(--t2); overflow: hidden; text-overflow: ellipsis; }
.ahsa-paso.hecho i { background: var(--azul); color: #fff; box-shadow: none; }
.ahsa-paso.parcial i, .ahsa-paso.actual i { color: var(--azul); box-shadow: inset 0 0 0 1.5px var(--azul); }
.ahsa-paso.actual i { box-shadow: inset 0 0 0 1.5px var(--azul), 0 0 0 4px var(--ahsa-azul-m); }
.ahsa-paso.hecho b, .ahsa-paso.actual b, .ahsa-paso.parcial b { color: var(--t1); }
.ahsa-cuenta {
  flex: none; width: 116px; margin-left: auto; height: 32px; padding: 0 12px; border: 0; border-radius: 3rem; background: var(--s0); color: var(--t1);
  font: 600 .8rem/1 var(--ahsa-f); transition: background-color .16s, color .16s, transform .16s var(--ahsa-e);
}
.ahsa-cuenta:hover:enabled { background: var(--ahsa-azul-s); color: var(--azul); }
.ahsa-cuenta:active:enabled { transform: scale(.98); }
.ahsa-cuenta:disabled { color: var(--t2); }

/* Cuerpo: rejilla de dos columnas */
.ahsa-cuerpo { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); }
.ahsa-izq { min-height: 0; display: flex; flex-direction: column; padding: 0 12px 0 32px; }
.ahsa-resumen {
  flex: none; height: 52px; display: flex; gap: 6px; align-items: center; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
}
.ahsa-resumen::-webkit-scrollbar { display: none; }
.ahsa-dato {
  flex: none; display: inline-flex; align-items: baseline; gap: 6px; height: 30px; padding: 0 10px; border: 0; border-radius: 8px; line-height: 30px;
  background: var(--s0); font: 500 .82rem/30px var(--ahsa-f); color: var(--t1); white-space: nowrap;
  transition: background-color .16s, color .16s, transform .16s var(--ahsa-e); animation: ahsa-ent .28s var(--ahsa-e) both;
}
.ahsa-dato span { color: var(--t2); font-size: .76rem; }
.ahsa-dato:hover { background: var(--ahsa-azul-s); color: var(--azul); }
.ahsa-dato:active { transform: scale(.98); }
.ahsa-dato.sd { color: var(--t2); background: transparent; box-shadow: inset 0 0 0 1px var(--ahsa-raya); }
.ahsa-vacio { font-size: .82rem; color: var(--t2); }
.ahsa-escena { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px 28px 0; scrollbar-width: thin; scrollbar-color: var(--s2) transparent; }

.ahsa-vista { animation: ahsa-entra .26s var(--ahsa-e) both; }
.ahsa-vista.atras { animation-name: ahsa-entra-izq; }
@keyframes ahsa-entra { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes ahsa-entra-izq { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes ahsa-sube { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.ahsa-ceja { display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 640; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
.ahsa-ceja span { letter-spacing: .04em; text-transform: none; font-weight: 500; font-size: .78rem; padding-left: 10px; border-left: 1px solid var(--s3); }
.ahsa-ceja span.ahsa-opc { color: var(--azul); }
.ahsa-pregunta { margin: 10px 0 0; font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.25rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 640; max-width: 20ch; text-wrap: balance; }
.ahsa-sub { margin-top: 8px; font-size: .95rem; color: var(--t2); }

/* Opciones con miniatura de línea */
.ahsa-ops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.ahsa-op {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 40px 12px 14px; text-align: left; border: 0;
  border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--ahsa-raya); color: var(--t1);
  transition: box-shadow .16s, background-color .16s, color .16s, transform .16s var(--ahsa-e);
  animation: ahsa-sube .3s var(--ahsa-e) both; animation-delay: calc(var(--i, 0) * 45ms);
}
.ahsa-ico { flex: none; padding: 6px; border-radius: 10px; background: var(--s0); color: var(--t2); box-sizing: content-box; transition: background-color .16s, color .16s; }
.ahsa-op-t { min-width: 0; font: 600 1rem/1.2 var(--ahsa-f); letter-spacing: -.01em; }
.ahsa-op-t small { display: block; margin-top: 3px; font-weight: 400; font-size: .8rem; letter-spacing: 0; color: var(--t2); }
.ahsa-op kbd { position: absolute; right: 12px; top: 12px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--ahsa-raya); font: 500 .7rem/1 var(--ahsa-f); color: var(--t2); transition: color .16s, box-shadow .16s; }
.ahsa-op:hover, .ahsa-op.ahsa-ver { box-shadow: inset 0 0 0 1.5px var(--azul); }
.ahsa-op:hover .ahsa-ico, .ahsa-op.ahsa-ver .ahsa-ico, .ahsa-op:focus-visible .ahsa-ico { background: var(--ahsa-azul-s); color: var(--azul); }
.ahsa-op:active { transform: scale(.98); background: var(--ahsa-azul-s); }
.ahsa-op.elegida { background: var(--azul); color: #fff; box-shadow: none; }
.ahsa-op.elegida small, .ahsa-op.elegida kbd { color: #fff; }
.ahsa-op.elegida .ahsa-ico { background: oklch(1 0 0 / .16); color: #fff; }
.ahsa-nose { margin-top: 10px; }
.ahsa-ayuda { margin-top: 10px; font-size: .8rem; color: var(--t2); }
.ahsa-aviso { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--s0); font-size: .88rem; color: var(--t1); }

/* Mensajes cortos, ayuda y «Lo que me dijo» */
.ahsa-msj-t { margin: 10px 0 12px; font-size: 1.5rem; line-height: 1.14; letter-spacing: -.022em; font-weight: 640; max-width: 26ch; text-wrap: balance; }
.ahsa-msj p { max-width: 56ch; line-height: 1.5; }
.ahsa-msj p + p { margin-top: 10px; }
.ahsa-franca { margin-top: 16px; font-size: .84rem; color: var(--t2); }
.ahsa-acc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; }
.ahsa-acc .ahsa-txt-b { margin-left: 6px; }
.ahsa-saber { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 6px; padding: 16px 20px 16px 16px; border-radius: 16px; background: var(--s0); }
.ahsa-saber .ahsa-ico { background: #fff; color: var(--azul); padding: 10px; border-radius: 12px; }
.ahsa-dijo { margin-top: 18px; border-top: 1px solid var(--ahsa-raya); }
.ahsa-dijo-f { display: grid; grid-template-columns: 148px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-bottom: 1px solid var(--ahsa-raya); animation: ahsa-sube .3s var(--ahsa-e) both; animation-delay: calc(var(--i, 0) * 40ms); }
.ahsa-dijo-f dt { font-size: .86rem; color: var(--t2); }
.ahsa-dijo-f dt span { display: block; font-size: .72rem; color: var(--azul); }
.ahsa-dijo-f dd { font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.ahsa-dijo-f dd small { display: block; font-weight: 400; font-size: .78rem; color: var(--t2); letter-spacing: 0; }
.ahsa-dijo-f dd em { font-style: normal; font-weight: 500; color: var(--t2); }
.ahsa-dijo-f.falta dd em { color: var(--t1); padding: 3px 10px; border-radius: 3rem; box-shadow: inset 0 0 0 1px var(--t1); font-size: .8rem; }

/* ---------- Resultado: hoja técnica ---------- */
.ahsa-res-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.ahsa-tabs { display: inline-flex; padding: 3px; border-radius: 3rem; background: var(--s0); }
.ahsa-tab { min-height: 34px; padding: 0 14px; border: 0; border-radius: 3rem; background: transparent; color: var(--t2); font: 600 .84rem/1 var(--ahsa-f); transition: background-color .16s, color .16s, box-shadow .16s, transform .16s var(--ahsa-e); }
.ahsa-tab:active { transform: scale(.98); }
.ahsa-tab[aria-pressed="true"] { background: #fff; color: var(--t1); box-shadow: 0 1px 2px oklch(.2 .018 258 / .14); }
.ahsa-esc { animation: ahsa-llega .42s var(--ahsa-e) both; animation-delay: calc(120ms + var(--i, 0) * 55ms); }
.ahsa-hoja-t.quieta .ahsa-esc { animation: none; }
@keyframes ahsa-llega { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ahsa-tipo { margin-top: 6px; font-size: .86rem; color: var(--t2); }
.ahsa-cod-fila { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 16px; }
.ahsa-codigo { font: 600 clamp(1.7rem, 1.1rem + 1.9vw, 2.6rem)/1.08 var(--mono); letter-spacing: -.02em; overflow-wrap: anywhere; }
.ahsa-claves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid var(--t1); border-bottom: 1px solid var(--ahsa-raya); }
.ahsa-clave { padding: 12px 12px 12px 0; cursor: default; }
.ahsa-clave + .ahsa-clave { padding-left: 14px; border-left: 1px solid var(--ahsa-raya); }
.ahsa-clave dt { font-size: .74rem; color: var(--t2); }
.ahsa-clave dd { margin-top: 4px; font-weight: 640; font-size: 1.28rem; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.ahsa-clave dd small { font-weight: 400; font-size: .8rem; color: var(--t2); margin-left: 3px; letter-spacing: 0; }
.ahsa-clave.ahsa-cita-on, .ahsa-clave.ahsa-ver { background: var(--ahsa-azul-s); box-shadow: -8px 0 0 var(--ahsa-azul-s); }
.ahsa-tri { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--t1); font-size: .9rem; font-weight: 500; }
.ahsa-tri i { font-style: normal; font-size: .9rem; }
.ahsa-txt { margin-top: 16px; max-width: 58ch; line-height: 1.55; text-wrap: pretty; }
.ahsa-txt p + p { margin-top: 8px; }
.ahsa-pal { transition: opacity .22s; }
.ahsa-oculta { opacity: 0; }
.ahsa-detenida { font-size: .86rem; color: var(--t2); }
.ahsa-sec { margin-top: 26px; }
.ahsa-sec h5 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font-size: .72rem; font-weight: 640; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
.ahsa-sec h5 span { letter-spacing: .02em; text-transform: none; font-weight: 400; font-size: .78rem; }
.ahsa-porque { border-top: 1px solid var(--ahsa-raya); }
.ahsa-porque li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) auto; align-items: baseline; gap: 14px; padding: 9px 6px 9px 0; border-bottom: 1px solid var(--ahsa-raya); font-size: .9rem; cursor: default; }
.ahsa-porque span { color: var(--t2); }
.ahsa-porque b { font-weight: 600; }
.ahsa-porque li.ahsa-ver, .ahsa-porque li.ahsa-cita-on { background: var(--ahsa-azul-s); box-shadow: -8px 0 0 var(--ahsa-azul-s); }
.ahsa-conf { border-top: 1px solid var(--ahsa-raya); }
.ahsa-conf div { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--ahsa-raya); font-size: .88rem; line-height: 1.45; }
.ahsa-conf dt { color: var(--t1); font-weight: 600; }
.ahsa-conf dd { color: var(--t2); text-wrap: pretty; }
.ahsa-grados { display: flex; flex-wrap: wrap; gap: 6px; }
.ahsa-grado { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; box-shadow: inset 0 0 0 1px var(--ahsa-raya); font: 500 .82rem/1 var(--mono); color: var(--t1); transition: box-shadow .16s, background-color .16s, color .16s, transform .16s var(--ahsa-e); }
.ahsa-grado i { font-style: normal; margin-left: 5px; font-size: .7rem; }
.ahsa-grado:hover { box-shadow: inset 0 0 0 1px var(--azul); color: var(--azul); }
.ahsa-grado:active { transform: scale(.98); }
.ahsa-grado[aria-pressed="true"] { background: var(--azul); color: #fff; box-shadow: none; }
.ahsa-alt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ahsa-alt-b { display: grid; gap: 4px; align-content: start; min-height: 68px; padding: 12px 14px; text-align: left; border: 0; border-radius: 12px; background: var(--s0); color: var(--t1); transition: background-color .16s, box-shadow .16s, transform .16s var(--ahsa-e); }
.ahsa-alt-b span { font-size: .8rem; color: var(--t2); line-height: 1.25; }
.ahsa-alt-b b { font: 600 .84rem/1.2 var(--mono); overflow-wrap: anywhere; }
.ahsa-alt-b:hover { background: var(--ahsa-azul-s); box-shadow: inset 0 0 0 1px var(--azul); }
.ahsa-alt-b:active { transform: scale(.98); }
.ahsa-fuente { margin-top: 26px; padding-top: 12px; border-top: 1px solid var(--ahsa-raya); font-size: .8rem; color: var(--t2); }

/* Despiece */
.ahsa-kit-b { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 6px 0 0; border: 0; border-top: 1px solid var(--t1); border-bottom: 1px solid var(--ahsa-raya); background: transparent; text-align: left; color: var(--t1); transition: color .16s; }
.ahsa-kit-b span { font: 640 1rem/1 var(--ahsa-f); letter-spacing: -.01em; }
.ahsa-kit-b small { flex: 1; font-size: .82rem; color: var(--t2); }
.ahsa-kit-b:hover { color: var(--azul); }
.ahsa-giro { width: 8px; height: 8px; margin-right: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--ahsa-e); }
.ahsa-kit-b[aria-expanded="true"] .ahsa-giro { transform: rotate(-135deg) translate(-2px, -2px); }
.ahsa-pieza {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 9px 6px 9px 0;
  border-bottom: 1px solid var(--ahsa-raya); font-size: .9rem; cursor: default;
  animation: ahsa-sube .26s var(--ahsa-e) both; animation-delay: calc(var(--i) * 45ms); transition: background-color .16s, box-shadow .16s;
}
.ahsa-pieza:hover, .ahsa-pieza.ahsa-cita-on, .ahsa-pieza.ahsa-ver { background: var(--ahsa-azul-s); box-shadow: -8px 0 0 var(--ahsa-azul-s); }
.ahsa-pieza i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 600 .72rem/1 var(--ahsa-f); font-style: normal; box-shadow: inset 0 0 0 1px var(--s3); color: var(--t2); }
.ahsa-pieza.marcada i { background: var(--azul); color: #fff; box-shadow: none; }
.ahsa-pieza span { color: var(--t2); }
.ahsa-pieza b { font: 600 .88rem/1.2 var(--mono); text-align: right; overflow-wrap: anywhere; }
.ahsa-pieza small { grid-column: 2 / -1; font-size: .8rem; color: var(--t2); line-height: 1.4; }
.ahsa-par { color: var(--t1); font-weight: 600; }
.ahsa-despiece-pie { padding: 10px 0 0; font-size: .8rem; color: var(--t2); line-height: 1.45; }

/* «Pensando» */
.ahsa-pensando-t { margin: 12px 0 22px; font-size: 1.05rem; color: var(--t1); font-weight: 500; }
.ahsa-pensando-t i { display: inline-block; width: 4px; height: 4px; margin-left: 4px; border-radius: 50%; background: var(--azul); animation: ahsa-punto 1s ease-in-out infinite; }
.ahsa-pensando-t i:nth-child(2) { animation-delay: .15s; }
.ahsa-pensando-t i:nth-child(3) { animation-delay: .3s; }
@keyframes ahsa-punto { 0%, 100% { opacity: .2; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ahsa-hueso { height: 14px; margin-top: 12px; border-radius: 6px; background: var(--s0); animation: ahsa-hueso 1.1s ease-in-out infinite alternate; }
.ahsa-hueso.alto { height: 40px; border-radius: 10px; }
.ahsa-hueso.fila { height: 64px; margin: 20px 0; border-radius: 12px; }
@keyframes ahsa-hueso { from { opacity: 1; } to { opacity: .5; } }

/* ---------- Vista de la pieza: el dibujo del catálogo ---------- */
.ahsa-plano { min-height: 0; padding: 0 24px 20px 12px; display: flex; flex-direction: column; }
.ahsa-plano-cab { flex: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 52px; font-size: .72rem; color: var(--t2); }
.ahsa-plano-cab b { font-weight: 640; letter-spacing: .14em; text-transform: uppercase; }
.ahsa-plano-cab b { flex: none; white-space: nowrap; }
.ahsa-plano-cab span { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ahsa-plano-cab span.ahsa-cod { font: 600 .84rem/1 var(--mono); color: var(--t1); }
.ahsa-lamina {
  flex: none; position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--s0);
  transition: box-shadow .2s;
}
.ahsa-lamina::before { content: ""; position: absolute; inset: 0; opacity: .7; pointer-events: none;
  background-image: radial-gradient(circle, var(--s3) .7px, transparent .8px); background-size: 20px 20px; background-position: 10px 10px; }
.ahsa-dibujo { position: absolute; inset: 7% 6%; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.ahsa-hoja { position: relative; max-width: 100%; max-height: 100%; animation: ahsa-sube .3s var(--ahsa-e) both; }
.ahsa-hoja.misma { animation: none; }
.ahsa-hoja img { display: block; width: 100%; height: 100%; mix-blend-mode: multiply; }
.ahsa-hoja .fantasma { opacity: .14; }
.ahsa-hoja .trazo { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--traza, 0%)) 0 0); transition: clip-path .8s var(--ahsa-e); }
.ahsa-hoja svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ahsa-marca-cota { fill: oklch(.42 .17 262 / .1); stroke: var(--azul); stroke-width: calc(var(--grosor, 2) * 1px); opacity: 0; pointer-events: all; cursor: default; transition: opacity .18s, fill .18s; }
.ahsa-marca-cota.ahsa-on { opacity: 1; }
.ahsa-marca-cota.ahsa-ver { opacity: 1; fill: oklch(.42 .17 262 / .22); }
.ahsa-linea-cota { stroke: var(--azul); stroke-width: calc(var(--grosor, 2) * 1.6px); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--ahsa-e); }
.ahsa-linea-cota.ahsa-on { stroke-dashoffset: 0; }
.ahsa-globo { opacity: 0; pointer-events: all; animation: ahsa-globo .3s var(--ahsa-e) both; animation-delay: calc(var(--i) * 60ms); }
.ahsa-globo line { stroke: var(--azul); stroke-width: calc(var(--grosor, 2) * .8px); }
.ahsa-globo circle { fill: var(--azul); stroke: #fff; stroke-width: calc(var(--grosor, 2) * 1px); transition: fill .16s; }
.ahsa-globo .punto { stroke-width: calc(var(--grosor, 2) * .6px); }
.ahsa-globo text { fill: #fff; font-family: Archivo, system-ui, sans-serif; font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.ahsa-globo.ahsa-on circle { fill: var(--t1); }
.ahsa-globo.ahsa-on line { stroke: var(--t1); }
@keyframes ahsa-globo { from { opacity: 0; } to { opacity: 1; } }
/* «Pensando»: una línea recorre el dibujo, ida y vuelta, una sola vez */
.ahsa-barrido { position: absolute; inset: 0; border-left: 1.5px solid var(--azul); opacity: 0; pointer-events: none; }
.ahsa-lamina.pensando .ahsa-barrido { animation: ahsa-barrido 1.1s cubic-bezier(.45, 0, .55, 1) both; }
@keyframes ahsa-barrido { 0% { transform: translateX(4%); opacity: 0; } 12% { opacity: 1; } 50% { transform: translateX(96%); } 88% { opacity: 1; } 100% { transform: translateX(4%); opacity: 0; } }
.ahsa-plano-pie { flex: none; height: 32px; padding-top: 10px; font-size: .76rem; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ahsa-cotas { flex: 1; min-height: 0; overflow-y: auto; margin-top: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; align-content: start; scrollbar-width: thin; scrollbar-color: var(--s2) transparent; }
.ahsa-cota { display: flex; justify-content: space-between; align-items: center; gap: 12px; height: 34px; border-bottom: 1px solid var(--ahsa-raya); font-size: .86rem; cursor: default; transition: background-color .16s, box-shadow .16s; }
.ahsa-cota dt { flex: 0 1 auto; min-width: 4ch; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ahsa-cota dd { flex: 0 1 auto; min-width: 0; max-width: 62%; overflow: hidden; text-overflow: ellipsis; font-weight: 600; white-space: nowrap; }
.ahsa-cota dd small { font-weight: 400; color: var(--t2); margin-left: 3px; font-size: .76rem; }
.ahsa-cota dd.ahsa-vac { color: var(--s3); font-weight: 400; }
.ahsa-cota.llena dd { animation: ahsa-sube .28s var(--ahsa-e) both; }
.ahsa-cota.dicha dd { color: var(--azul); }
.ahsa-cota.ahsa-cita-on, .ahsa-cota.ahsa-ver { background: var(--ahsa-azul-s); box-shadow: -8px 0 0 var(--ahsa-azul-s), 8px 0 0 var(--ahsa-azul-s); }
.ahsa .ahsa-lamina.ahsa-cita-on { box-shadow: inset 0 0 0 1.5px var(--azul); }

/* Estado inicial: las cuatro familias, con sus dibujos de catálogo */
.ahsa-fams { place-self: stretch; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ahsa-fam { display: flex; flex-direction: column; min-height: 0; padding: 10px 12px 8px; border-radius: 12px; background: #fff; cursor: pointer; transition: opacity .2s, box-shadow .2s, transform .2s var(--ahsa-e); }
.ahsa-fam > div { flex: 1; min-height: 0; display: grid; place-items: center; }
.ahsa-fam img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; animation: ahsa-traza 1.1s var(--ahsa-e) both; animation-delay: calc(200ms + var(--i) * 160ms); }
@keyframes ahsa-traza { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.ahsa-fam figcaption { flex: none; display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; font-size: .74rem; color: var(--t2); }
.ahsa-fam figcaption b { font-weight: 640; color: var(--t1); letter-spacing: .1em; text-transform: uppercase; font-size: .68rem; }
.ahsa-fams[data-ver] .ahsa-fam { opacity: .4; }
.ahsa-fams[data-ver="torneado"] [data-fam="torneado"], .ahsa-fams[data-ver="taladrado"] [data-fam="taladrado"],
.ahsa-fams[data-ver="micro"] [data-fam="micro"], .ahsa-fams[data-ver="fresado"] [data-fam="fresado"] { opacity: 1; box-shadow: 0 0 0 1.5px var(--azul); transform: scale(1.015); }
.ahsa-fam:active { transform: scale(.98); }
.ahsa-como { grid-column: 1 / -1; display: grid; gap: 12px; padding-top: 8px; }
.ahsa-como p { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: .9rem; line-height: 1.45; color: var(--t2); max-width: 52ch; }
.ahsa-como i { font-style: normal; font-weight: 640; color: var(--azul); font-size: .8rem; }

/* ---------- Ficha ---------- */
dialog.ahsa-ficha {
  width: min(900px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 18px;
  background: #fff; color: var(--t1); font-family: var(--ahsa-f); font-variant-numeric: tabular-nums; box-shadow: 0 24px 60px oklch(.2 .018 258 / .3);
}
dialog.ahsa-ficha::backdrop { background: oklch(.2 .018 258 / .55); }
dialog.ahsa-ficha[open] { display: flex; flex-direction: column; animation: ahsa-sube .25s var(--ahsa-e) both; }
.ahsa-ficha-cab { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 20px; background: var(--g0, #1b1e21); color: #fff; }
.ahsa-ficha-cab strong { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.ahsa-ficha-cab span { flex: 1; min-width: 0; font: 400 .8rem/1.2 var(--mono); color: oklch(.8 .01 250); overflow-wrap: anywhere; }
.ahsa-ficha-x { min-width: 44px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 3rem; background: transparent; color: #fff; box-shadow: inset 0 0 0 1px oklch(.6 .01 250); font: 600 14px/1 var(--ahsa-f); }
.ahsa-ficha-cuerpo { overflow: auto; overscroll-behavior: contain; padding: 24px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; }
dialog.ahsa-ficha h4 { margin: 20px 0 6px; font-size: .72rem; font-weight: 640; letter-spacing: .14em; text-transform: uppercase; color: var(--t2); }
.ahsa-ficha-cuerpo > div > h4:first-child { margin-top: 0; }
.ahsa-ficha-fig { margin-top: 12px; padding: 16px; border-radius: 14px; background: var(--s0); }
.ahsa-ficha-fig img { mix-blend-mode: multiply; }
.ahsa-ficha-fig figcaption, .ahsa-ficha-nota { margin-top: 8px; font-size: .8rem; color: var(--t2); }
.ahsa-ficha-grados { display: flex; flex-wrap: wrap; gap: 6px; font: 500 .8rem/1.2 var(--mono); }
.ahsa-ficha-grados span { padding: 4px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--ahsa-raya); }
.ahsa-ficha-grados .ahsa-sel { background: var(--azul); color: #fff; box-shadow: none; }
.ahsa-ficha-pie { padding: 10px 20px; border-top: 1px solid var(--ahsa-raya); font-size: .8rem; color: var(--t2); }
dialog.ahsa-ficha .ahsa-pieza:hover { box-shadow: none; }
dialog.ahsa-ficha .ahsa-codigo { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }

/* ---------- Teléfono ---------- */
@media (max-width: 900px) {
  .ahsa { padding-left: 12px; padding-right: 12px; }
  .ahsa::before { left: 12px; right: 12px; }
  .ahsa::after { left: 12px; }
  .ahsa-enc { grid-template-columns: minmax(0, 1fr); margin-bottom: 20px; }
  .ahsa-s { justify-self: start; }
  /* En teléfono la caja cabe entre la cabecera y los botones flotantes del sitio (WhatsApp, aviso de cookies): no tapan sus controles */
  .ahsa-caja { height: clamp(560px, calc(100svh - 200px), 720px); border-radius: 18px; scroll-margin-top: -18px; }
  .ahsa-entrada { height: 116px; padding: 12px 12px 0; }
  .ahsa-campo { height: 56px; padding: 0 6px 0 16px; }
  .ahsa-campo > svg { display: none; }
  .ahsa-campo label { left: 16px; top: 9px; font-size: .64rem; }
  .ahsa-campo input { font-size: 16px; padding-top: 20px; }
  .ahsa-enviar { width: 108px; height: 44px; }
  .ahsa-linea { height: 48px; }
  .ahsa-pruebe, .ahsa-entendio { padding: 0; }
  .ahsa-pruebe > span, .ahsa-otros { display: none; }
  .ahsa-ejemplos, .ahsa-entendio {
    overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  }
  .ahsa-ejemplos::-webkit-scrollbar, .ahsa-entendio::-webkit-scrollbar { display: none; }
  .ahsa-ej { flex: none; overflow: visible; min-height: 36px; }
  .ahsa-top { height: 40px; padding: 0 12px; gap: 8px; }
  .ahsa-pasos { position: relative; display: flex; gap: 6px; max-width: none; }
  .ahsa-paso { flex: none; padding: 0; overflow: visible; }
  .ahsa-paso i { width: 18px; height: 18px; font-size: .64rem; }
  .ahsa-paso b { display: none; font-size: .8rem; }
  .ahsa-paso.actual b, .ahsa-pasos:not(:has(.actual)) .ahsa-paso:last-child b { display: block; position: absolute; left: 102px; top: 50%; margin-top: -.6em; line-height: 1.2; }
  .ahsa-paso small, .ahsa-reiniciar { display: none; }
  .ahsa-cuenta { width: 100px; height: 28px; padding: 0; font-size: .74rem; }
  .ahsa-cuerpo { grid-template-columns: minmax(0, 1fr); grid-template-rows: 166px minmax(0, 1fr); }
  .ahsa-plano-cab span:not(.ahsa-cod) { display: none; }
  .ahsa-plano { order: -1; padding: 0 12px; }
  .ahsa-plano-cab { height: 30px; }
  .ahsa-lamina { aspect-ratio: auto; height: 136px; border-radius: 12px; }
  .ahsa-dibujo { inset: 6px 8px; }
  .ahsa-fams { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 6px; }
  .ahsa-fam { padding: 6px 6px 4px; border-radius: 8px; }
  .ahsa-fam figcaption span { display: none; }
  .ahsa-fam figcaption b { font-size: .58rem; letter-spacing: .04em; }
  .ahsa-plano-pie, .ahsa-cotas { display: none; }
  .ahsa-izq { padding: 0 12px; }
  .ahsa-resumen { height: 44px; }
  .ahsa-escena { padding: 4px 0 28px; }
  .ahsa-pregunta { font-size: 1.5rem; }
  .ahsa-ops { gap: 8px; margin-top: 14px; }
  .ahsa-op { min-height: 64px; padding: 10px 10px; gap: 10px; }
  .ahsa-op kbd, .ahsa-ayuda:not(.siempre) { display: none; }
  .ahsa-ico { padding: 4px; }
  .ahsa-op-t { font-size: .94rem; }
  .ahsa-btn { min-height: 48px; }
  .ahsa-txt-b { min-height: 44px; }
  .ahsa-codigo { font-size: 1.6rem; }
  .ahsa-clave dd { font-size: 1.05rem; }
  .ahsa-clave { padding-right: 6px; }
  .ahsa-clave + .ahsa-clave { padding-left: 8px; }
  .ahsa-alt { grid-template-columns: minmax(0, 1fr); }
  .ahsa-alt-b { min-height: 56px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .ahsa-porque li { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; }
  .ahsa-porque li b { grid-column: 1; grid-row: 2; }
  .ahsa-porque li .ahsa-cita { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .ahsa-conf div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ahsa-dijo-f { grid-template-columns: 104px minmax(0, 1fr) auto; gap: 8px; }
  .ahsa-saber { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ahsa-saber .ahsa-ico { width: 64px; height: 64px; }
  .ahsa-ficha-cuerpo { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 8px; }
  .ahsa-acc .ahsa-txt-b { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ahsa *, .ahsa *::before, .ahsa *::after, dialog.ahsa-ficha, dialog.ahsa-ficha *, .ahsa-enc, .ahsa-caja, .ahsa-caja::after, .ahsa-top::after {
    animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ahsa-lamina.pensando .ahsa-barrido, .ahsa-llegada .ahsa-caja::after { animation: none; }
}

/* ================= Afinado 3.1 ================= */
/* Cabecera compacta, continuidad con la tarjeta (sin raya de corte) */
.ahsa { margin-top: clamp(20px, 2.2vw, 32px); padding-top: 0; }
.ahsa::before, .ahsa::after { content: none; }
.ahsa-enc { display: block; margin-bottom: 16px; padding-left: 4px; }
.ahsa-k { font-size: .72rem; letter-spacing: .12em; }
.ahsa-t { margin-top: 6px; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); line-height: 1.1; letter-spacing: -.026em; }
.ahsa-s { margin-top: 6px; max-width: 72ch; font-size: 1rem; justify-self: start; }

/* Un solo espaciado de mayúsculas y dos radios (18 superficies, 12 controles); píldoras aparte */
.ahsa-ceja, .ahsa-plano-cab b, .ahsa-campo label, .ahsa-entendio b, .ahsa-fam figcaption b, dialog.ahsa-ficha h4, .ahsa-ficha-cab strong { letter-spacing: .12em; }
.ahsa-caja, .ahsa-lamina, dialog.ahsa-ficha { border-radius: 18px; }
.ahsa-op, .ahsa-alt-b, .ahsa-saber, .ahsa-fam, .ahsa-aviso, .ahsa-tri, .ahsa-ico, .ahsa-dato, .ahsa-grado, .ahsa-ficha-fig, .ahsa-saber .ahsa-ico, .ahsa-hueso.alto, .ahsa-hueso.fila { border-radius: 12px; }
.ahsa-tab[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--s3); }

/* Altura: mínima reservada, crece con el contenido; sin scroll interno */
.ahsa-caja { height: auto; min-height: 860px; }
.ahsa-cuerpo { align-items: start; }
.ahsa-escena { position: relative; flex: none; overflow: visible; padding: 8px 20px 36px 0; }
.ahsa-medida { position: absolute; left: 0; right: 20px; top: 0; visibility: hidden; pointer-events: none; }
.ahsa-medida .ahsa-esc { animation: none; }
.ahsa-plano { position: sticky; top: 84px; }
.ahsa-cotas { flex: none; overflow: visible; }
.ahsa-cota { height: auto; min-height: 34px; padding: 6px 0; }
.ahsa-cota:not(.llena) { opacity: .4; }
.ahsa-cota dd { white-space: normal; text-align: right; max-width: 58%; }
.ahsa-resumen { height: auto; min-height: 52px; flex-wrap: wrap; overflow: visible; padding: 11px 0; -webkit-mask-image: none; mask-image: none; }
.ahsa-pregunta { max-width: 26ch; }

/* Hoja técnica: secciones plegables */
.ahsa-hoja-t > .ahsa-acc { margin: 18px 0 26px; flex-wrap: nowrap; }
.ahsa .ahsa-sec { margin: 0; padding: 0; }
.ahsa-sec-b { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 0 6px 0 0; border: 0; border-top: 1px solid var(--ahsa-raya); background: transparent; text-align: left; color: var(--t1); transition: color .16s; }
.ahsa-acc + .ahsa-sec .ahsa-sec-b { border-top-color: var(--t1); }
.ahsa-sec-b span { flex: none; font: 640 1rem/1 var(--ahsa-f); letter-spacing: -.01em; }
.ahsa-sec-b small { flex: 1; min-width: 0; font-size: .8rem; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ahsa-sec-b:hover { color: var(--azul); }
.ahsa-sec-b[aria-expanded="true"] .ahsa-giro { transform: rotate(-135deg) translate(-2px, -2px); }
.ahsa-sec-c { padding: 0 0 20px; animation: ahsa-sube .22s var(--ahsa-e) both; }
.ahsa-sec-c[hidden] { display: none; }
.ahsa-sec-c .ahsa-acc { margin: 14px 0 0; }
.ahsa-porque, .ahsa-conf, .ahsa-despiece { border-top: 0; }
.ahsa-porque li:last-child, .ahsa-conf div:last-child { border-bottom: 0; }
.ahsa-porque .ahsa-cita { justify-self: end; }
.ahsa-fuente { margin-top: 0; }
.ahsa-txt { margin-top: 14px; font-size: 1.02rem; }

/* Esquemas de la operación (dibujo propio) */
.ahsa-ico-op { display: block; width: 72px; height: 56px; padding: 2px; }
.ahsa-fam { padding: 12px 14px 10px; }
.ahsa-fam > div { position: relative; }
.ahsa-fam .ahsa-esq { position: absolute; inset: 0; width: 100%; height: 100%; }
.ahsa-fam figcaption { justify-content: flex-start; }
/* Tarjeta de opción: elevación mínima, borde al acento, tecla iluminada; miniatura que se dibuja */
.ahsa-op:hover, .ahsa-op.ahsa-ver, .ahsa-op:focus-visible { transform: translateY(-1px); }
.ahsa-op:active { transform: scale(.98); }
.ahsa-op:hover kbd, .ahsa-op.ahsa-ver kbd, .ahsa-op:focus-visible kbd { color: var(--azul); box-shadow: inset 0 0 0 1px var(--azul); }
.ahsa-op:hover svg.ahsa-ico > *, .ahsa-op:focus-visible svg.ahsa-ico > * { animation: ahsa-dibuja .6s ease-out backwards; }
@keyframes ahsa-dibuja { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
.ahsa-dato::after { content: "cambiar"; max-width: 0; overflow: hidden; opacity: 0; font-size: .72rem; color: var(--azul); transition: max-width .2s var(--ahsa-e), opacity .16s; }
.ahsa-dato:hover::after, .ahsa-dato:focus-visible::after { max-width: 60px; opacity: 1; }
.ahsa-alt-b:hover b { color: var(--azul); }

@media (max-width: 900px) {
  .ahsa-caja { height: auto; min-height: clamp(560px, calc(100svh - 200px), 720px); }
  .ahsa-escena { padding: 4px 0 24px; }
  .ahsa-medida { right: 0; }
  .ahsa-plano { position: static; }
  .ahsa-resumen { height: 44px; min-height: 0; flex-wrap: nowrap; overflow-x: auto; padding: 0; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
  .ahsa-dato::after { content: none; }
  .ahsa-claves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ahsa-clave:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--ahsa-raya); }
  .ahsa-hoja-t > .ahsa-acc { flex-wrap: wrap; }
  .ahsa-hoja-t > .ahsa-acc .ahsa-btn { flex: 1 1 0; padding: 0 10px; font-size: 14px; }
  .ahsa-hoja-t > .ahsa-acc .ahsa-txt-b { flex: 1 0 100%; }
  .ahsa-fam { padding: 6px 4px 4px; }
  .ahsa-fam .ahsa-esq { inset: 0; width: 100%; height: 100%; }
  .ahsa-ico-op { width: 60px; height: 47px; padding: 1px; }
  .ahsa-sec-b small { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
}

/* ================= v3.2 · Esquemas isométricos de la operación (dibujo propio) ================= */
.ahsa-esq { display: block; width: 100%; height: 100%; overflow: visible; --c0: #8d96a3; --c1: #a3abb7; --c2: #b9c0c9; --c3: #cdd2d9; --ct: #e1e5e9; }
.ahsa-esq path, .ahsa-esq circle { fill: none; stroke: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ahsa-esq .pz { --c0: #bcc2ca; --c1: #cdd2d8; --c2: #dce0e5; --c3: #e9ecef; --ct: #f5f6f8; }
.ahsa-esq .ba { --c0: #6d7683; --c1: #818a97; --c2: #969eaa; --c3: #a9b0ba; --ct: #c0c6ce; }
.ahsa-esq .ac { --c0: #1d2c74; --c1: #24378c; --c2: #2c42a4; --c3: #3a52b8; --ct: #566dcc; }
.ahsa-esq .ef, .ahsa-esq .e2 { fill: var(--c2); }
.ahsa-esq .e0 { fill: var(--c0); } .ahsa-esq .e1 { fill: var(--c1); } .ahsa-esq .e3 { fill: var(--c3); } .ahsa-esq .et { fill: var(--ct); }
.ahsa-esq .eo { stroke: var(--t1); stroke-width: 1.3; }
.ahsa-esq .ec { stroke: var(--t1); stroke-width: .7; stroke-opacity: .55; }
.ahsa-esq .eh { stroke: var(--t1); stroke-width: .6; stroke-opacity: .45; }
.ahsa-esq .em { stroke: var(--t1); stroke-width: .7; stroke-opacity: .4; }
.ahsa-esq .er2, .ahsa-esq .er3 { opacity: 0; }
.ahsa-esq .ea path, .ahsa-esq path.ea { stroke: var(--azul); stroke-width: 1.6; }
.ahsa-esq .ev { stroke: var(--azul); stroke-width: 1.5; }
.ahsa-esq .esom { fill: var(--t1); opacity: .08; }
.ahsa-esq.ahsa-mini .efi { display: none; }
.ahsa-esq.ahsa-mini .eo { stroke-width: 1.1; }
.ahsa-esq.ahsa-mini .ea path, .ahsa-esq.ahsa-mini path.ea, .ahsa-esq.ahsa-mini .ev { stroke-width: 1.3; }

.ahsa-esq .ein { --c0: #8b94a0; --c1: #9ba3ae; --c2: #abb2bc; --c3: #bac0c9; --ct: #c7ccd4; }
.ahsa-esq .eav { transform: translate(0, 0); }
.ahsa-vivo .eav { animation: ahsa-e-av 1.9s ease-in-out infinite; }
.ahsa-vivo .er1, .ahsa-vivo .er2, .ahsa-vivo .er3 { animation: ahsa-e-gira .48s linear infinite; }
.ahsa-vivo .er2 { animation-delay: -.32s; }
.ahsa-vivo .er3 { animation-delay: -.16s; }
.ahsa-esq .ev, .ahsa-esq .efl { stroke-dasharray: 1; stroke-dashoffset: 0; }
.ahsa-vivo .ev { animation: ahsa-e-vir 1.9s ease-in-out infinite; }
.ahsa-vivo .ev2 { animation-delay: -.5s; }
.ahsa-vivo .ev3 { animation-delay: -1.1s; }
.ahsa-vivo .efl { animation: ahsa-e-fl 1.9s ease-in-out infinite; }
.ahsa-vivo .ep { animation: ahsa-e-pulso .95s ease-in-out infinite; }
@keyframes ahsa-e-av { 0%, 100% { transform: translate(0, 0); } 55% { transform: translate(calc(var(--ax) * 1px), calc(var(--ay) * 1px)); } }
@keyframes ahsa-e-gira { 0%, 100% { opacity: 1; } 33.3%, 66.6% { opacity: 0; } }
@keyframes ahsa-e-vir { 0%, 100% { stroke-dashoffset: 0; opacity: 1; } 12% { stroke-dashoffset: 0; opacity: 0; } 13% { stroke-dashoffset: 1; opacity: 0; } 22% { stroke-dashoffset: 1; opacity: 1; } 72% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ahsa-e-fl { 0%, 60%, 100% { stroke-dashoffset: 0; } 20% { stroke-dashoffset: 1; } }
@keyframes ahsa-e-pulso { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (min-width: 901px) {
  .ahsa-fam { position: relative; padding: 3px; }
  .ahsa-fam figcaption { position: absolute; left: 12px; bottom: 8px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ahsa-vivo .eav, .ahsa-vivo .er1, .ahsa-vivo .er2, .ahsa-vivo .er3, .ahsa-vivo .ev, .ahsa-vivo .efl, .ahsa-vivo .ep { animation: none; }
}

/* ================= v4 · cobertura completa ================= */
/* v4 · «eg»: grupo de facetas contiguas (cuerpos acanalados, paredes por franjas). Cada faceta lleva un hilo de su propio tono para que no se vea la costura entre vecinas. */
.ahsa-esq .eg .e0 { stroke: var(--c0); } .ahsa-esq .eg .e1 { stroke: var(--c1); } .ahsa-esq .eg .e2 { stroke: var(--c2); } .ahsa-esq .eg .e3 { stroke: var(--c3); } .ahsa-esq .eg .et { stroke: var(--ct); }
.ahsa-esq .eg .e0, .ahsa-esq .eg .e1, .ahsa-esq .eg .e2, .ahsa-esq .eg .e3, .ahsa-esq .eg .et { stroke-width: .5; }
.ahsa-esq .eg .eo { stroke: var(--t1); stroke-width: 1.3; }
.ahsa-esq.ahsa-mini .eg .eo { stroke-width: 1.1; }
/* v4 · «ecan»: canal o bolsa de viruta vaciada en un cuerpo (más oscuro que el lomo, para que el vaciado se lea también en la miniatura). */
.ahsa-esq .ecan { --c0: #5d6673; --c1: #717a87; }
/* Panel de operaciones en dos niveles: dibujo grande del grupo activo y tira de los cinco grupos */
.ahsa-fams.ahsa-g4 { grid-template-columns: minmax(0, 1fr) 86px; grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ahsa-g4 .ahsa-big { grid-column: 1; grid-row: 1 / -1; display: none; padding: 6px; }
.ahsa-g4:not([data-ver]) .ahsa-big[data-fam="g:tornear"], .ahsa-g4[data-ver="g:tornear"] .ahsa-big[data-fam="g:tornear"], .ahsa-g4[data-ver="g:barrenar"] .ahsa-big[data-fam="g:barrenar"],
.ahsa-g4[data-ver="g:fresar"] .ahsa-big[data-fam="g:fresar"], .ahsa-g4[data-ver="g:codigo"] .ahsa-big[data-fam="g:codigo"], .ahsa-g4[data-ver="g:refaccion"] .ahsa-big[data-fam="g:refaccion"] { display: flex; }
.ahsa-fams.ahsa-g4[data-ver] .ahsa-big { opacity: 1; box-shadow: none; transform: none; }
.ahsa-g4 .ahsa-big .ahsa-esq { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; max-width: 340px; }
.ahsa-g4 .ahsa-tile { grid-column: 2; padding: 2px; position: relative; }
.ahsa-g4 .ahsa-tile > div { position: relative; flex: 1; }
.ahsa-g4 .ahsa-tile .ahsa-esq { position: absolute; inset: 0; width: 100%; height: 100%; }
.ahsa-g4:not([data-ver]) .ahsa-tile[data-fam="g:tornear"], .ahsa-g4[data-ver="g:tornear"] .ahsa-tile[data-fam="g:tornear"], .ahsa-g4[data-ver="g:barrenar"] .ahsa-tile[data-fam="g:barrenar"],
.ahsa-g4[data-ver="g:fresar"] .ahsa-tile[data-fam="g:fresar"], .ahsa-g4[data-ver="g:codigo"] .ahsa-tile[data-fam="g:codigo"], .ahsa-g4[data-ver="g:refaccion"] .ahsa-tile[data-fam="g:refaccion"] { opacity: 1; box-shadow: 0 0 0 1.5px var(--azul); transform: none; }
.ahsa-ops.n5 .ahsa-op:last-child, .ahsa-ops.n3 .ahsa-op:last-child { grid-column: auto; }

/* Hoja técnica genérica */
.ahsa-v4-grande { position: relative; width: 100%; height: 100%; }
.ahsa-v4-grande .ahsa-esq { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; max-width: 360px; }
.ahsa-v4-img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; margin: auto; object-fit: contain; mix-blend-mode: multiply; }
.ahsa-v4-pag { font-size: .74rem; color: var(--t2); white-space: nowrap; }
.ahsa-v4-linea { display: block; margin-top: 4px; font: 500 .66rem/1.3 var(--mono, ui-monospace, monospace); color: var(--t2); word-break: break-all; }
.ahsa-v4-lista { display: grid; gap: 6px; margin-top: 16px; }
.ahsa-v4-lista .ahsa-alt-b { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; width: 100%; text-align: left; }
.ahsa-v4-lista .ahsa-alt-b span { font-size: .78rem; color: var(--t2); }
.ahsa .ahsa-v4-kit, .ahsa .ahsa-v4-grados { list-style: none; margin: 0; padding: 0; }
.ahsa-v4-kit li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--ahsa-raya); font-size: .86rem; }
.ahsa-v4-kit li span { color: var(--t2); }
.ahsa-v4-kit em { font-style: normal; font-size: .74rem; }
.ahsa-v4-cod { padding: 0; border: 0; border-bottom: 1px dotted var(--s3); background: transparent; color: var(--t1); font: 600 .84rem/1.3 var(--mono, ui-monospace, monospace); text-align: left; cursor: pointer; }
.ahsa-v4-cod:hover, .ahsa-v4-cod:focus-visible { color: var(--azul); border-bottom: 1px solid var(--azul); }
.ahsa-v4-no { font-size: .8rem; color: var(--t2); }
.ahsa-v4-grados { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ahsa-v4-grados li small { display: block; margin-top: 3px; font-size: .7rem; line-height: 1.3; color: var(--t2); }
.ahsa-v4-grados .ahsa-grado[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--azul); color: var(--azul); }
.ahsa-v4-etq { margin-top: 12px; font-size: .74rem; font-weight: 640; letter-spacing: .12em; text-transform: uppercase; color: var(--t2); }
.ahsa-v4-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ahsa-v4-chips .ahsa-tab { box-shadow: inset 0 0 0 1px var(--s2); }
.ahsa-v4-chips .ahsa-tab[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--azul); color: var(--azul); }
.ahsa-v4-tabla table { width: 100%; border-collapse: collapse; font-size: .78rem; font-variant-numeric: tabular-nums; }
.ahsa-v4-tabla th { text-align: left; font-weight: 600; color: var(--t2); padding: 6px 8px 6px 0; border-bottom: 1px solid var(--t1); }
.ahsa-v4-tabla td { padding: 7px 8px 7px 0; border-bottom: 1px solid var(--ahsa-raya); vertical-align: top; }
.ahsa-v4-tabla tr.ahsa-sel td { background: var(--ahsa-azul-s); }
.ahsa-v4-num { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; }
.ahsa-v4-num label { flex: 1 0 100%; font-size: .8rem; color: var(--t2); }
.ahsa-v4-num input { width: 140px; height: 46px; padding: 0 14px; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--s3); background: #fff; color: var(--t1); font: 600 1.05rem/1 var(--ahsa-f); }
.ahsa-v4-num input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--azul); }
.ahsa-ceja span + span { margin-left: 10px; }

@media (max-width: 900px) {
  .ahsa-fams.ahsa-g4 { grid-template-columns: minmax(0, 1fr) repeat(5, 40px); grid-template-rows: minmax(0, 1fr); gap: 4px; }
  .ahsa-g4 .ahsa-big { grid-column: 1; grid-row: 1; padding: 2px; }
  .ahsa-g4 .ahsa-big figcaption { display: none; }
  .ahsa-g4 .ahsa-tile { grid-column: auto; grid-row: 1; }
  .ahsa-v4-kit li { grid-template-columns: minmax(0, 1fr) auto; }
  .ahsa-v4-kit li .ahsa-v4-pag { grid-column: 2; }
  .ahsa-v4-tabla thead { display: none; }
  .ahsa-v4-tabla table, .ahsa-v4-tabla tbody, .ahsa-v4-tabla tr, .ahsa-v4-tabla td { display: block; }
  .ahsa-v4-tabla tr { padding: 8px 0; border-bottom: 1px solid var(--ahsa-raya); }
  .ahsa-v4-tabla td { padding: 1px 0; border: 0; }
  .ahsa-v4-grados { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- v4.1 ---------- */
.ahsa-v4-sim { font-style: normal; font-size: .82em; color: var(--t2); letter-spacing: .02em; }
.ahsa-v4-cod { font: 600 .86rem/1.3 var(--ahsa-f); letter-spacing: .01em; }
.ahsa-v4-lista .ahsa-alt-b b { font-weight: 600; }
.ahsa-v4-recs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ahsa-v4-rec { padding: 12px 14px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ahsa-raya); }
.ahsa-v4-rec-t { margin: 0 0 10px; font-size: .82rem; font-weight: 600; color: var(--t1); }
.ahsa-grado.ahsa-no { display: inline-flex; align-items: center; opacity: .42; box-shadow: inset 0 0 0 1px var(--ahsa-raya); cursor: default; text-decoration: line-through; text-decoration-color: var(--s3); }
.ahsa-v4-med div { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.ahsa-v4-figs { display: flex; flex-wrap: wrap; gap: 12px; }
.ahsa .ahsa-v4-fig { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; max-width: 420px; padding: 10px; border-radius: 12px; background: var(--s0); }
.ahsa-v4-fig img { width: 96px; height: auto; max-height: 130px; object-fit: contain; mix-blend-mode: multiply; }
.ahsa-v4-fig figcaption { font-size: .78rem; line-height: 1.4; color: var(--t2); }
.ahsa-v4-fig figcaption b { display: block; font-size: .88rem; color: var(--t1); }
.ahsa-v4-ficha-esq { position: relative; height: 220px; }
.ahsa-v4-ficha-esq .ahsa-esq { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; max-width: 300px; }
.ahsa-v4-chips + .ahsa-nose { margin-top: 10px; }
.ahsa-v4-num + .ahsa-v4-etq { margin-top: 20px; }
.ahsa-codigo:focus { outline: none; }

@media (max-width: 900px) {
  /* Teléfono: el dibujo del panel a tamaño digno (antes 136 px) */
  .ahsa-cuerpo { grid-template-rows: 250px minmax(0, 1fr); }
  .ahsa-lamina { height: 216px; }
  .ahsa-fams.ahsa-g4 { grid-template-columns: minmax(0, 1fr) 44px; grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .ahsa-g4 .ahsa-big { grid-column: 1; grid-row: 1 / -1; }
  .ahsa-g4 .ahsa-tile { grid-column: 2; grid-row: auto; }
  .ahsa-v4-recs { grid-template-columns: minmax(0, 1fr); }
  .ahsa-v4-med div { grid-template-columns: minmax(0, 1fr) auto; }
}
.ahsa-cota.ahsa-v4c dt { white-space: normal; overflow: visible; line-height: 1.25; }
.ahsa-cota.ahsa-v4c.ancha { grid-column: 1 / -1; }
.ahsa-cota.ahsa-v4c.ancha dd { max-width: 66%; font-size: .8rem; line-height: 1.3; }
.ahsa-v4-tira { width: 100%; height: 100%; overflow-x: auto; overflow-y: hidden; display: flex; align-items: center; scrollbar-width: thin; scrollbar-color: var(--s2) transparent; }
.ahsa-v4-tira .ahsa-v4-img { flex: none; height: 82%; width: auto; max-width: none; max-height: none; margin: 0; }
.ahsa-cota.ahsa-v4c:not(.ancha) dd { flex: none; }
.ahsa-v4-amp { position: absolute; right: 0; bottom: -4px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 3rem; background: #fff; box-shadow: inset 0 0 0 1px var(--s2); color: var(--t1); font: 500 .76rem/1 var(--ahsa-f); }
.ahsa-v4-amp:hover, .ahsa-v4-amp:focus-visible { box-shadow: inset 0 0 0 1px var(--azul); color: var(--azul); }
.ahsa-v4-amplia { grid-column: 1 / -1; min-width: 0; }
.ahsa-v4-amplia .ahsa-v4-tira { height: min(56vh, 460px); margin-top: 10px; padding: 12px; border-radius: 14px; background: var(--s0); }
.ahsa-v4-amplia .ahsa-v4-tira .ahsa-v4-img { height: 100%; }
@media (max-width: 900px) { .ahsa-v4-amp { min-height: 28px; font-size: .7rem; } }

/* ---------- v4.1 · tarjeta de la ficha (un solo enlace a la página del producto) ---------- */
.ahsa-v4-tarjetas { display: grid; gap: 10px; margin: 16px 0 4px; }
.ahsa-v4-tarjetas.n1 { grid-template-columns: minmax(0, 1fr); height: 204px; }
.ahsa-v4-tarjetas.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); height: 348px; }
.ahsa .ahsa-v4-tj { position: relative; display: grid; grid-template-columns: 46% minmax(0, 1fr); gap: 0; height: 100%; min-width: 0; overflow: hidden; border-radius: 14px; background: #fff; border: 1px solid var(--s2); padding: 0; text-align: left; font: inherit; color: var(--t1); text-decoration: none; transition: transform .22s var(--ahsa-e, ease), box-shadow .22s var(--ahsa-e, ease), border-color .22s; }
.ahsa-v4-tarjetas.n2 .ahsa-v4-tj { grid-template-columns: minmax(0, 1fr); grid-template-rows: 150px minmax(0, 1fr); }
.ahsa-v4-tj-d { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; padding: 12px; background: #fff; border-right: 1px solid var(--ahsa-raya); overflow: hidden; }
.ahsa-v4-tarjetas.n2 .ahsa-v4-tj-d { border-right: 0; border-bottom: 1px solid var(--ahsa-raya); }
.ahsa-v4-tj-d img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s var(--ahsa-e, ease); }
.ahsa-v4-tj-e { position: relative; width: 100%; height: 100%; transition: transform .3s var(--ahsa-e, ease); }
.ahsa-v4-tj-e .ahsa-esq { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; }
.ahsa-v4-tj-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px 16px 12px; }
.ahsa-v4-tj-t small { font-size: .74rem; line-height: 1.3; color: var(--t2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ahsa-v4-tj-t b { font: 640 1.14rem/1.15 var(--mono, ui-monospace, monospace); letter-spacing: -.01em; overflow-wrap: anywhere; }
.ahsa-v4-tj-k { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 2px; font-size: .82rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ahsa-v4-tj-k i { font-style: normal; font-weight: 400; color: var(--t2); }
.ahsa-v4-tj-t em { font-style: normal; font-size: .72rem; line-height: 1.3; color: var(--t1); }
.ahsa-v4-tj-p { font-size: .72rem; color: var(--t2); }
.ahsa-v4-tj-ir { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--azul); }
.ahsa-v4-tj-ir i { font-style: normal; transition: transform .22s var(--ahsa-e, ease); }
.ahsa-v4-tj.sin .ahsa-v4-tj-ir { color: var(--t2); font-weight: 500; margin-top: auto; }
.ahsa-v4-tj.sin .ahsa-btn { align-self: flex-start; min-height: 36px; margin-top: 6px; padding: 0 14px; font-size: .8rem; }
a.ahsa-v4-tj:hover, a.ahsa-v4-tj:focus-visible, button.ahsa-v4-tj:hover, button.ahsa-v4-tj:focus-visible { transform: translateY(-2px); border-color: var(--azul); box-shadow: 0 10px 24px -14px rgba(20, 30, 70, .35); }
.ahsa-v4-tj.sin .ahsa-v4-tj-ir.azul { color: var(--azul); font-weight: 600; }
button.ahsa-v4-tj:hover .ahsa-v4-tj-ir i { transform: translateX(4px); }
a.ahsa-v4-tj:hover .ahsa-v4-tj-d img, a.ahsa-v4-tj:focus-visible .ahsa-v4-tj-d img, a.ahsa-v4-tj:hover .ahsa-v4-tj-e, a.ahsa-v4-tj:focus-visible .ahsa-v4-tj-e { transform: scale(1.025); }
a.ahsa-v4-tj:hover .ahsa-v4-tj-ir i, a.ahsa-v4-tj:focus-visible .ahsa-v4-tj-ir i { transform: translateX(4px); }
a.ahsa-v4-tj:active { transform: translateY(0) scale(.995); }
.ahsa-v4-kit li { grid-template-columns: minmax(0, 1fr) auto auto auto; }
.ahsa-v4-fl { font-size: .76rem; font-weight: 600; color: var(--azul); text-decoration: none; white-space: nowrap; }
.ahsa-v4-fl i { font-style: normal; margin-left: 3px; }
.ahsa-v4-fl:hover, .ahsa-v4-fl:focus-visible { text-decoration: underline; }
@media (max-width: 900px) {
  .ahsa-v4-tarjetas.n1 { height: 404px; }
  .ahsa-v4-tarjetas.n2 { grid-template-columns: minmax(0, 1fr); height: 818px; }
  .ahsa .ahsa-v4-tj, .ahsa-v4-tarjetas.n2 .ahsa-v4-tj { grid-template-columns: minmax(0, 1fr); grid-template-rows: 196px minmax(0, 1fr); }
  .ahsa-v4-tj-d { border-right: 0; border-bottom: 1px solid var(--ahsa-raya); }
  .ahsa-v4-kit li { grid-template-columns: minmax(0, 1fr) auto auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ahsa .ahsa-v4-tj, .ahsa-v4-tj-d img, .ahsa-v4-tj-e, .ahsa-v4-tj-ir i { transition: none; }
  a.ahsa-v4-tj:hover, a.ahsa-v4-tj:focus-visible { transform: none; }
  a.ahsa-v4-tj:hover .ahsa-v4-tj-d img, a.ahsa-v4-tj:hover .ahsa-v4-tj-e, a.ahsa-v4-tj:hover .ahsa-v4-tj-ir i { transform: none; }
}

/* ---------- v4.1 · colores ISO de material (siempre con su letra; el color nunca es la única señal) ---------- */
/* Colores de material de la norma ISO 513 (P azul, M amarillo, K rojo, N verde, S naranja, H gris), con la letra blanca o negra
   según dé contraste AA (WCAG 2.x, 4.5:1) sobre su color: banda de cada grupo (-s), texto sobre la banda (-t), rótulo (-m) e
   insignia de la letra (base). Prueba: herr/prueba_colores_iso.py. */
.ahsa, dialog.ahsa-ficha {
  --ahsa-iso-p: #0072bc; --ahsa-iso-p-m: #0072bc; --ahsa-iso-p-s: #dcebf7; --ahsa-iso-p-t: #004a7a;
  --ahsa-iso-m: #ffd200; --ahsa-iso-m-m: #ffd200; --ahsa-iso-m-s: #fff6cc; --ahsa-iso-m-t: #5c4a00;
  --ahsa-iso-k: #d7191f; --ahsa-iso-k-m: #d7191f; --ahsa-iso-k-s: #fbe0e0; --ahsa-iso-k-t: #8f0f13;
  --ahsa-iso-n: #00a651; --ahsa-iso-n-m: #00a651; --ahsa-iso-n-s: #d9f2e3; --ahsa-iso-n-t: #0b5a2c;
  --ahsa-iso-s: #f28c00; --ahsa-iso-s-m: #f28c00; --ahsa-iso-s-s: #fdebd3; --ahsa-iso-s-t: #7a4100;
  --ahsa-iso-h: #9d9fa2; --ahsa-iso-h-m: #9d9fa2; --ahsa-iso-h-s: #ececed; --ahsa-iso-h-t: #3b3e43;
}
[data-iso="P"] { --iso: var(--ahsa-iso-p); --iso-m: var(--ahsa-iso-p-m); --iso-s: var(--ahsa-iso-p-s); --iso-t: var(--ahsa-iso-p-t); --iso-l: #ffffff; }
[data-iso="M"] { --iso: var(--ahsa-iso-m); --iso-m: var(--ahsa-iso-m-m); --iso-s: var(--ahsa-iso-m-s); --iso-t: var(--ahsa-iso-m-t); --iso-l: #000000; }
[data-iso="K"] { --iso: var(--ahsa-iso-k); --iso-m: var(--ahsa-iso-k-m); --iso-s: var(--ahsa-iso-k-s); --iso-t: var(--ahsa-iso-k-t); --iso-l: #ffffff; }
[data-iso="N"] { --iso: var(--ahsa-iso-n); --iso-m: var(--ahsa-iso-n-m); --iso-s: var(--ahsa-iso-n-s); --iso-t: var(--ahsa-iso-n-t); --iso-l: #000000; }
[data-iso="S"] { --iso: var(--ahsa-iso-s); --iso-m: var(--ahsa-iso-s-m); --iso-s: var(--ahsa-iso-s-s); --iso-t: var(--ahsa-iso-s-t); --iso-l: #000000; }
[data-iso="H"] { --iso: var(--ahsa-iso-h); --iso-m: var(--ahsa-iso-h-m); --iso-s: var(--ahsa-iso-h-s); --iso-t: var(--ahsa-iso-h-t); --iso-l: #000000; }
.ahsa-iso-l { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 7px; border-radius: 5px; background: var(--iso, var(--s2)); color: var(--iso-l, var(--t1)); font: 700 .72rem/1 var(--ahsa-f); vertical-align: -4px; }
.ahsa-v4-chips .ahsa-tab.ahsa-iso { display: inline-flex; align-items: center; padding-left: 8px; }
.ahsa-v4-chips .ahsa-tab.ahsa-iso[aria-pressed="true"] { background: var(--iso-s); color: var(--iso-t); box-shadow: inset 0 0 0 1.5px var(--iso); }
.ahsa-v4-recs[data-iso] .ahsa-v4-rec { box-shadow: inset 0 0 0 1px var(--ahsa-raya), inset 0 3px 0 var(--iso); }
.ahsa-v4-recs[data-iso] .ahsa-v4-rec-t { color: var(--iso-t); }
.ahsa-v4-tabla td .ahsa-iso-l { width: 18px; height: 18px; vertical-align: -3px; }
/* la tarjeta de la ficha entra con un leve ascenso (sólo transform y opacity) */
@keyframes ahsa-tj-sube { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ahsa-v4-tarjetas > .ahsa-v4-tj { animation: ahsa-tj-sube .22s cubic-bezier(.2, .7, .2, 1) both; }
.ahsa-v4-tarjetas > .ahsa-v4-tj + .ahsa-v4-tj { animation-delay: 40ms; }
@media (prefers-reduced-motion: reduce) { .ahsa-v4-tarjetas > .ahsa-v4-tj { animation: none; } }

/* ---------- v4.2 · movimiento entre pasos (transform y opacity; curva del proyecto --ahsa-e) ---------- */
.ahsa-fantasma { position: absolute; z-index: 2; overflow: hidden; pointer-events: none; will-change: transform, opacity; }
.ahsa-fantasma, .ahsa-fantasma * { animation: none !important; transition: none !important; }
.ahsa-vista.tras { animation-duration: .22s; animation-delay: 70ms; }
.ahsa-vista .ahsa-op { animation-duration: .22s; animation-delay: calc(var(--i, 0) * 35ms); }
.ahsa-vista.tras .ahsa-op { animation-delay: calc(70ms + var(--i, 0) * 35ms); }
.ahsa-vista .ahsa-v4-chips .ahsa-tab { animation: ahsa-sube .2s var(--ahsa-e) both; }
.ahsa-vista .ahsa-v4-chips .ahsa-tab:nth-child(-n+12) { animation-delay: calc(70ms + (var(--n, 0)) * 30ms); }
.ahsa-v4-chips .ahsa-tab:nth-child(1) { --n: 0; } .ahsa-v4-chips .ahsa-tab:nth-child(2) { --n: 1; } .ahsa-v4-chips .ahsa-tab:nth-child(3) { --n: 2; }
.ahsa-v4-chips .ahsa-tab:nth-child(4) { --n: 3; } .ahsa-v4-chips .ahsa-tab:nth-child(5) { --n: 4; } .ahsa-v4-chips .ahsa-tab:nth-child(6) { --n: 5; }
.ahsa-v4-chips .ahsa-tab:nth-child(7) { --n: 6; } .ahsa-v4-chips .ahsa-tab:nth-child(8) { --n: 7; } .ahsa-v4-chips .ahsa-tab:nth-child(n+9) { --n: 8; }
.ahsa-hoja-t .ahsa-v4-chips .ahsa-tab { animation: none; }
.ahsa-dib-sale { position: absolute; inset: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; pointer-events: none; }
.ahsa-dato { position: relative; z-index: 1; }
/* pasos: el círculo y el rótulo cambian con transición; la barra ya avanza con su trazo (--avance) */
.ahsa-paso i { transition: background-color .22s ease, color .22s ease, box-shadow .22s ease; }
.ahsa-top::after { transition: transform .32s var(--ahsa-e); }
/* el dibujo de operación se completa: la herramienta entra según avanza y la viruta aparece al final */
.ahsa-v4-grande[data-etapa] .ahsa-esq:not(.ahsa-vivo) .eav { transition: transform .28s var(--ahsa-e); }
.ahsa-v4-grande[data-etapa] .ahsa-esq:not(.ahsa-vivo) .ev { transition: opacity .24s ease; }
.ahsa-v4-grande[data-etapa="0"] .ahsa-esq:not(.ahsa-vivo) .eav { transform: translate(calc(var(--ax) * -7px), calc(var(--ay) * -7px)); }
.ahsa-v4-grande[data-etapa="1"] .ahsa-esq:not(.ahsa-vivo) .eav { transform: translate(calc(var(--ax) * -4px), calc(var(--ay) * -4px)); }
.ahsa-v4-grande[data-etapa="2"] .ahsa-esq:not(.ahsa-vivo) .eav { transform: translate(calc(var(--ax) * -1.5px), calc(var(--ay) * -1.5px)); }
.ahsa-v4-grande[data-etapa="0"] .ahsa-esq:not(.ahsa-vivo) .ev, .ahsa-v4-grande[data-etapa="1"] .ahsa-esq:not(.ahsa-vivo) .ev, .ahsa-v4-grande[data-etapa="2"] .ahsa-esq:not(.ahsa-vivo) .ev { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .ahsa-vista.tras, .ahsa-vista .ahsa-op, .ahsa-vista.tras .ahsa-op, .ahsa-vista .ahsa-v4-chips .ahsa-tab { animation-delay: 0s; animation-duration: .01s; }
  .ahsa-paso i, .ahsa-top::after, .ahsa-v4-grande[data-etapa] .ahsa-esq .eav, .ahsa-v4-grande[data-etapa] .ahsa-esq .ev { transition: none; }
}

/* ---------- v4.2 · colores ISO completos y E10 bloque 2 ---------- */
.ahsa-v4-chips.ahsa-v4-mats { gap: 8px; }
.ahsa-v4-mats .ahsa-tab.ahsa-iso { display: inline-flex; align-items: center; gap: 2px; min-height: 46px; padding: 6px 14px 6px 8px; border-radius: 12px; text-align: left; box-shadow: inset 0 0 0 1px var(--ahsa-raya); animation: none; }
.ahsa-v4-mats .ahsa-tab.ahsa-iso .ahsa-iso-l { width: 26px; height: 26px; margin-right: 9px; border-radius: 7px; font-size: .86rem; }
.ahsa-v4-mats .ahsa-tab.ahsa-iso span { display: grid; gap: 3px; line-height: 1.1; }
.ahsa-v4-mats .ahsa-tab.ahsa-iso small { font: 500 .7rem/1 var(--mono, ui-monospace, monospace); color: var(--t2); }
.ahsa-v4-mats .ahsa-tab.ahsa-iso[aria-pressed="true"] { background: var(--iso-s); color: var(--iso-t); box-shadow: inset 0 0 0 1.5px var(--iso-t); }
.ahsa-v4-mats .ahsa-tab.ahsa-iso[aria-pressed="true"] small { color: var(--iso-t); }
.ahsa-v4-recs[data-iso] .ahsa-v4-rec { box-shadow: inset 0 0 0 1px var(--ahsa-raya), inset 0 4px 0 var(--iso); }
.ahsa-dato .ahsa-iso-l { width: 18px; height: 18px; margin: 0 6px 0 0; font-size: .68rem; vertical-align: -3px; }
.ahsa-ico.ahsa-ico-iso { display: grid; place-items: center; width: 40px; height: 40px; background: var(--iso); color: var(--iso-l); }
.ahsa-ico.ahsa-ico-iso b { font: 700 1.2rem/1 var(--ahsa-f); }
.ahsa-op:hover .ahsa-ico.ahsa-ico-iso, .ahsa-op:focus-visible .ahsa-ico.ahsa-ico-iso, .ahsa-op.elegida .ahsa-ico.ahsa-ico-iso { background: var(--iso); color: var(--iso-l); }
/* la pieza de trabajo del dibujo de operación toma un tinte ligero del material elegido */
#ahsa-asesor[data-iso] .ahsa-esq .pz { --c0: color-mix(in srgb, #bcc2ca 78%, var(--iso)); --c1: color-mix(in srgb, #cdd2d8 80%, var(--iso)); --c2: color-mix(in srgb, #dce0e5 82%, var(--iso)); --c3: color-mix(in srgb, #e9ecef 85%, var(--iso)); --ct: color-mix(in srgb, #f5f6f8 90%, var(--iso)); }
/* tablas de condiciones del bloque 2 */
.ahsa-v4-b2 { margin-top: 14px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; }
.ahsa-v4-b2 > .ahsa-v4-rec-t { margin: 0 0 4px; font-size: .78rem; font-weight: 600; color: var(--t1); }
.ahsa-v4-b2 th { font-size: .72rem; line-height: 1.25; vertical-align: bottom; min-width: 64px; }
.ahsa-v4-b2 td small { color: var(--t2); }
.ahsa-v4-dudoso { font-style: normal; font-size: .72rem; line-height: 1.25; color: #7c1410; display: inline-block; max-width: 22ch; }
.ahsa-v4-notas { margin: 6px 0 0; padding: 0 0 0 16px; font-size: .74rem; line-height: 1.4; color: var(--t2); }
.ahsa-v4-b2n { margin-top: -6px; padding-bottom: 14px; border-bottom: 1px solid var(--ahsa-raya); }
@media (max-width: 900px) {
  .ahsa-v4-b2 td[data-e]::before { content: attr(data-e) ": "; color: var(--t2); font-size: .72rem; }
  .ahsa-v4-b2 td[data-e="Material"]::before, .ahsa-v4-b2 td[data-e="Caso"]::before { content: none; }
  .ahsa-v4-b2 td[data-e="Material"], .ahsa-v4-b2 td[data-e="Caso"] { font-weight: 600; }
}
.ahsa-v4-b2 td[data-e="Material"], .ahsa-v4-b2 td[data-e="Caso"] { min-width: 170px; }
.ahsa-grado.ahsa-v4-gtxt { display: inline-flex; align-items: center; cursor: default; }

/* ---------- Asesor real · estado de la consulta por texto. Sin puntos animados; los altos van reservados (CLS 0). ---------- */
.ahsa-red .ahsa-red-estado { margin: 12px 0 14px; min-height: 1.5em; font-size: 1.05rem; line-height: 1.5; font-weight: 500; color: var(--t1); }
.ahsa-red-pasos { list-style: none; margin: 0; padding: 0; min-height: 6.4em; font-size: .88rem; color: var(--t2); }
.ahsa-red-pasos li { position: relative; padding-left: 16px; line-height: 1.6; }
.ahsa-red-pasos li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--azul); opacity: .45; }
.ahsa-red-pasos li:last-child { color: var(--t1); }
.ahsa-red-pasos li:last-child::before { opacity: 1; }
.ahsa-red-msj { margin-top: 14px; min-height: 3em; max-width: 56ch; line-height: 1.5; color: var(--t1); }
.ahsa-red-nota { margin: 12px 0 0; }
.ahsa-nose .ahsa-txt-b + .ahsa-txt-b { margin-left: 16px; }
/* Turnstile: el widget es invisible salvo que Cloudflare pida interacción; sin alto propio para no mover la página. */
.ahsa-red-ts { min-height: 0; margin: 0; }
.ahsa-red-ts:empty { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .ahsa-red-pasos li { animation: ahsa-red-entra .2s var(--ahsa-e) both; }
}
@keyframes ahsa-red-entra { from { opacity: 0; transform: translateY(4px); } }

/* ---------- Opciones con el dibujo de catálogo de su tipo (micro unidades: vertical / angular) ---------- */
.ahsa-ico.ahsa-v4-ico-fig { display: block; width: 132px; height: 72px; padding: 4px; background: #fff; box-shadow: inset 0 0 0 1px var(--s3); }
.ahsa-v4-ico-fig img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 900px) { .ahsa-ico.ahsa-v4-ico-fig { width: 104px; height: 58px; } }

/* ---------- r12 · pulido tras las capturas a 390 px (22-nov) ---------- */
/* 7 · el dibujo va completo sobre su hoja blanca (el trazo y su copia atenuada, igual) */
#asesor-sumitomo .ahsa-hoja, #asesor-sumitomo .ahsa-v4-img { background: #fff; }
/* 3 · la tarjeta de la pieza del resultado va sin dibujo (ya está en «Vista de la pieza»): su caja mide lo que su texto */
.ahsa-v4-tarjetas.sd1 > :first-child { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.ahsa-v4-tj-ley { font-size: .7rem; line-height: 1.35; color: var(--t1); }
@media (max-width: 900px) {
  .ahsa-v4-tarjetas.n1.sd1 { height: 208px; min-height: 0; }
  .ahsa-v4-tarjetas.n2.sd1 { height: 622px; grid-template-rows: 208px 404px; }
  .ahsa-v4-tarjetas.sd1 > :first-child { grid-template-rows: minmax(0, 1fr); }
  /* 4 · las filas que se deslizan de lado: sin el desvanecido que corta la palabra; una flecha fija dice que hay más */
  #asesor-sumitomo .ahsa-entendio, #asesor-sumitomo .ahsa-resumen { -webkit-mask-image: none; mask-image: none; }
  #asesor-sumitomo .ahsa-entendio[data-mas]::after, #asesor-sumitomo .ahsa-resumen[data-mas]::after {
    content: "›"; position: sticky; right: 0; z-index: 2; flex: none; align-self: stretch; display: flex; align-items: center; justify-content: flex-end;
    width: 48px; margin-left: -48px; padding-right: 2px; font: 600 1.35rem/1 var(--ahsa-f); color: var(--azul); pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff 58%);
  }
}
