:root {
  --su-azul: #005da4; --su-azul-oscuro: #00477e; --su-marino: #053a61; --su-celeste: #00c0f3; --su-celeste-suave: #dcf3fd;
  --su-verde: #3f9a40; --su-naranja: #f37021; --su-rojo: #b23a2e;
  --su-texto: #15323f; --su-tenue: #5f7a8a; --su-linea: #d4e4f0; --su-fondo: #edf4fa; --su-tarjeta: #ffffff;
  --su-letra-titulo: "Bricolage Grotesque", "Barlow Semi Condensed", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --su-letra-sub: "Barlow Semi Condensed", "Myriad Pro", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --su-letra: "Myriad Pro", Myriad, "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
  --su-sombra: 0 1px 2px rgba(0, 93, 164, .07), 0 8px 24px -12px rgba(0, 93, 164, .20);
  --su-p1: #0f6cb3; --su-p1-f: #eef6fc;
  --su-p2: #0e8f8a; --su-p2-f: #eaf7f6;
  --su-p3: #2f7d32; --su-p3-f: #ecf6ec;
  --su-p4: #c25e14; --su-p4-f: #fdf2ea;
}

body.su { margin: 0; height: 100vh; overflow: hidden; background: var(--su-fondo); }
body.su-inicio { font-family: var(--su-letra); color: var(--su-texto); font-size: 15px; line-height: 1.45; }
.su *, .su *::before, .su *::after { box-sizing: border-box; }

.su-panel { display: flex; height: 100vh; width: 100%; overflow: hidden; }
.su-main { flex: 1; min-width: 0; display: flex; flex-direction: column; height: 100vh; overflow: hidden; }

.su-menu { width: 234px; background: var(--su-marino); color: #cfe6f5; display: flex; flex-direction: column; flex-shrink: 0; height: 100vh; overflow: hidden; transition: width .2s; font-family: var(--su-letra); font-size: 15px; line-height: 1.45; border-right: 1px solid rgba(0,192,243,.14); }
.su-menu.cerrado { width: 60px; }
.su-menu-top { display: flex; align-items: center; gap: 13px; height: 56px; padding: 0 18px; flex-shrink: 0; border-bottom: 1px solid rgba(0,192,243,.14); }
.su-ham { background: none; border: none; color: #bfe3f6; cursor: pointer; display: flex; padding: 0; width: 24px; height: 44px; align-items: center; justify-content: center; }
.su-ham:hover { color: #fff; }
.su-menu .su-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; display: block; }
.su-nombre { font-family: var(--su-letra-titulo); font-weight: 700; font-size: 1.08rem; color: #eaf6ff; white-space: nowrap; }
.su-nav { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 6px 0 8px; }
.su-sec { font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: #7fa9c8; padding: 14px 18px 5px; white-space: nowrap; }
.su-item { display: flex; align-items: center; gap: 13px; padding: 10px 18px; color: #cfe6f5; text-decoration: none; font-size: .9rem; font-weight: 500; white-space: nowrap; transition: .12s; }
.su-item .su-ico { width: 20px; height: 20px; }
.su-item:hover { background: rgba(0,192,243,.09); color: #fff; }
.su-item.on { background: rgba(0,192,243,.15); color: #fff; box-shadow: inset 3px 0 0 var(--su-celeste); }
.su-paso { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; color: #fff; background: var(--c); }
.su-pie { padding: 14px 18px; border-top: 1px solid rgba(0,192,243,.14); color: #9cc3de; font-size: .72rem; white-space: nowrap; flex-shrink: 0; }
.su-pie b { display: block; color: #dcefff; font-weight: 600; font-size: .82rem; margin-bottom: 1px; overflow: hidden; text-overflow: ellipsis; }
.su-menu.cerrado .su-lbl, .su-menu.cerrado .su-sec, .su-menu.cerrado .su-nombre, .su-menu.cerrado .su-paso { display: none; }
.su-menu.cerrado .su-menu-top { padding: 0; justify-content: center; }
.su-menu.cerrado .su-item { justify-content: center; padding: 11px 0; }
.su-menu.cerrado .su-pie { text-align: center; padding: 14px 4px; }
.su-menu.cerrado .su-pie b { display: none; }
.su-anio { display: none; }
.su-menu.cerrado .su-anio { display: block; }
.su-act:focus-visible, .su-pastilla:focus-visible, .su-item:focus-visible, .su-ham:focus-visible, .fl-paso > a:focus-visible { outline: 2px solid var(--su-celeste); outline-offset: 2px; }
.su-act:focus:not(:focus-visible) { outline: none; }

.p1 { --c: var(--su-p1); --f: var(--su-p1-f); }
.p2 { --c: var(--su-p2); --f: var(--su-p2-f); }
.p3 { --c: var(--su-p3); --f: var(--su-p3-f); }
.p4 { --c: var(--su-p4); --f: var(--su-p4-f); }

.su-top { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 18px; background: var(--su-tarjeta); border-bottom: 1px solid var(--su-linea); flex-shrink: 0; flex-wrap: wrap; font-family: var(--su-letra); color: var(--su-texto); font-size: 15px; line-height: 1.45; }
.su-titulo { font-family: var(--su-letra-titulo); font-weight: 700; font-size: 1.06rem; color: var(--su-azul); white-space: nowrap; }
.su-info { margin-left: auto; font-size: .85rem; color: var(--su-tenue); }
.su-info b { color: var(--su-texto); }
.su-pasos { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 auto; }
.su-pastilla { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 7px; border-radius: 99px; font-size: .8rem; font-weight: 600; color: var(--su-tenue); text-decoration: none; border: 1px solid var(--su-linea); background: #fff; white-space: nowrap; transition: .12s; }
.su-pastilla i { width: 19px; height: 19px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: .68rem; font-weight: 700; color: #fff; background: var(--c); }
.su-pastilla:hover { color: var(--c); border-color: var(--c); }
.su-pastilla.on { color: #fff; background: var(--c); border-color: var(--c); }
.su-pastilla.on i { background: #fff; color: var(--c); }

.su-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.su-act { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--su-linea); background: var(--su-tarjeta); color: var(--su-azul); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; padding: 0; transition: .13s; font: 600 .8rem var(--su-letra); flex-shrink: 0; }
.su-act .su-ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.su-act:hover { border-color: var(--su-celeste); color: #0089ad; transform: translateY(-1px); }
.su-act.active { background: var(--su-celeste-suave); border-color: var(--su-celeste); color: var(--su-azul); }
.su-act-txt { width: auto; padding: 0 11px 0 9px; }
.su-sep { width: 1px; height: 24px; background: var(--su-linea); margin: 0 3px; flex-shrink: 0; }
.su-espacio { flex: 1; }
.su-zoom { min-width: 50px; text-align: center; font: 700 .8rem var(--su-letra); color: var(--su-tenue); font-variant-numeric: tabular-nums; }

.su-barra { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 18px; background: #f7fbfe; border-bottom: 1px solid var(--su-linea); flex-shrink: 0; font-family: var(--su-letra); }
.su-barra .su-act { width: 34px; height: 34px; }
.su-barra .su-act-txt { width: auto; }

.su-cuerpo { flex: 1; overflow: auto; padding: 26px 26px 40px; }
.su-cuerpo > .su-interior { max-width: 1140px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.su-h1 { margin: 0; font-family: var(--su-letra-titulo); font-weight: 700; font-size: 2rem; line-height: 1.1; color: var(--su-marino); }
.su-lead { margin: 6px 0 0; max-width: 760px; color: var(--su-tenue); font-size: 1rem; }
.su-h2 { margin: 0; font-family: var(--su-letra-sub); font-weight: 700; font-size: 1.15rem; color: var(--su-azul); }

.su-flujo { background: #fff; border: 1px solid var(--su-linea); border-radius: 16px; box-shadow: 0 8px 30px rgba(5,58,97,.06); padding: 22px 26px 18px; }
.su-flujo .su-sub { color: var(--su-tenue); font-size: .85rem; margin: 2px 0 18px; }
.fl-pasos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; list-style: none; margin: 0; padding: 0; }
.fl-paso { position: relative; }
.fl-paso > a { display: flex; flex-direction: column; gap: 6px; height: 100%; border-radius: 12px; padding: 12px 13px 14px; background: var(--f); border: 1.5px solid var(--c); text-decoration: none; color: inherit; transition: .15s; }
.fl-paso > a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px var(--c); }
.fl-paso:not(:last-child)::after { content: ''; position: absolute; right: -27px; top: 50%; width: 20px; height: 2px; background: #9fb4c6; }
.fl-paso:not(:last-child)::before { content: ''; position: absolute; right: -29px; top: calc(50% - 5px); border: 5px solid transparent; border-left: 7px solid #9fb4c6; }
.fl-cab { display: flex; align-items: center; gap: 7px; }
.fl-num { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: #fff; font-size: .74rem; font-weight: 700; align-items: center; justify-content: center; }
.fl-area { font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c); }
.fl-paso b { font-size: .95rem; color: #13324a; line-height: 1.25; }
.fl-paso p { margin: 0; font-size: .8rem; color: var(--su-tenue); line-height: 1.38; }
.fl-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.fl-chip { display: inline-flex; align-items: center; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--su-linea); color: var(--su-texto); }
.fl-chip.sql { background: var(--su-marino); border-color: var(--su-marino); color: #fff; }
.fl-vuelta { position: relative; height: 56px; }
.fl-vuelta svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fl-vuelta .dev { fill: none; stroke: #c0392b; stroke-width: 1.8; stroke-dasharray: 5 4; }
.fl-vuelta .punta { fill: none; stroke: #c0392b; stroke-width: 1.8; }
.fl-vuelta text { font-size: 12px; fill: #b23a2e; font-weight: 600; text-anchor: middle; font-family: var(--su-letra); }
.fl-texto { display: none; font-size: .8rem; color: var(--su-tenue); margin: 12px 0 0; }
.fl-ley { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; font-size: .78rem; color: var(--su-tenue); margin-top: 4px; }
.fl-ley span { display: inline-flex; align-items: center; gap: 6px; }
.fl-ley i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.fl-ley .fl-ley-dev i { width: 22px; height: 0; border-radius: 0; background: none; border-top: 2px dashed #c0392b; }

.su-pie-pag { display: flex; align-items: center; justify-content: center; gap: 6px 18px; flex-wrap: wrap; padding: 12px 22px; border-top: 1px solid var(--su-linea); background: #fff; font-size: .8rem; color: var(--su-tenue); flex-shrink: 0; }
.su-pie-pag b { color: var(--su-texto); font-weight: 600; }
.su-contacto { display: inline-flex; align-items: center; gap: 7px; color: var(--su-tenue); text-decoration: none; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--su-linea); transition: .13s; }
.su-contacto .su-ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.su-contacto:hover { border-color: var(--su-celeste); color: #0089ad; }
.su-contacto:hover b { color: #0089ad; }

@media (max-width: 900px) {
  .fl-pasos { grid-template-columns: 1fr; gap: 16px; }
  .fl-paso:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -13px; width: 2px; height: 10px; }
  .fl-paso:not(:last-child)::before { right: auto; left: calc(50% - 4px); top: auto; bottom: -16px; border: 5px solid transparent; border-top: 7px solid #9fb4c6; }
  .fl-vuelta, .fl-ley .fl-ley-dev { display: none; }
  .fl-texto { display: block; }
  .su-cuerpo { padding: 20px 16px 32px; }
  .su-pasos { margin: 0; }
  .su-pie-pag { justify-content: center; text-align: center; }
}
@media (max-width: 700px) {
  .su-menu:not(.cerrado) { width: 200px; }
  .su-h1 { font-size: 1.55rem; }
  .su-info { display: none; }
  .su-flujo { padding: 18px 16px 14px; }
}
