
.hd{ --hd-oro:#d9a900; --hd-oro-c:#f2c83b; --hd-oro-t:var(--kap-gold-text, #8c6a00); --hd-ease:cubic-bezier(.22,1,.36,1);
  display:flex; flex-direction:column; gap:16px; padding-bottom:28px; }
.hd svg{ overflow:visible; }
.hd-cab{ position:relative; overflow:hidden; display:flex; align-items:center; gap:16px; padding:20px 20px 18px; border-radius:var(--radius); color:#fff;
  background:radial-gradient(520px 220px at 100% 0, rgba(242,200,59,.16), transparent 70%), linear-gradient(160deg, #151c25, #090b0f);
  border:1px solid rgba(242,200,59,.32); box-shadow:var(--shadow); }
.hd-cab::before{ content:""; position:absolute; left:0; right:0; top:0; height:3px; background:linear-gradient(90deg, transparent, #f2c83b 30%, #fff3b0 50%, #f2c83b 70%, transparent);
  background-size:200% 100%; animation:hcLinea 3.6s linear infinite; }
@keyframes hcLinea{ from{ background-position:200% 0; } to{ background-position:-200% 0; } }
.hd-cab-ico{ flex:none; width:62px; height:62px; border-radius:18px; display:grid; place-items:center; background:linear-gradient(135deg, #f2c83b, #d9a900 60%, #b89214);
  box-shadow:0 10px 26px rgba(242,200,59,.35); animation:hcEntra .7s var(--hd-ease) both; }
.hd-cab-ico svg{ width:38px; height:38px; }
.hd-cab-ico .hd-i-f{ fill:#0a0c10; stroke:none; } .hd-cab-ico .hd-i-l{ stroke:#f2c83b; } .hd-cab-ico .hd-i-o{ stroke:#fff3b0; fill:none; }
.hd-cab-t{ flex:1; min-width:0; }
.hd-cab .ac-eyebrow{ color:#f2c83b; background:rgba(242,200,59,.12); border-color:rgba(242,200,59,.45); }
.hd-cab h2{ margin:6px 0 4px; font-size:clamp(22px, 3.4vw, 30px); font-weight:800; letter-spacing:-.02em; line-height:1.15; color:#fff; }
.hd-cab p{ margin:0; font-size:15px; line-height:1.5; color:rgba(255,255,255,.75); max-width:46rem; }
.hd-cab-kapito{ flex:none; width:104px; height:auto; align-self:flex-end; margin:-8px -6px -18px 0; filter:drop-shadow(0 10px 18px rgba(0,0,0,.4)); animation:hcFlota 4.6s ease-in-out infinite; }
@keyframes hcFlota{ 0%, 100%{ transform:translateY(0); } 50%{ transform:translateY(-7px); } }
.hd-guardado{ display:inline-flex; align-items:center; gap:7px; margin-top:10px; padding:6px 12px; border-radius:20px; font-size:12.5px; font-weight:700;
  color:#fff; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); }
.hd-guardado svg{ width:15px; height:15px; fill:none; stroke:#f2c83b; stroke-width:2.2; }
.hd-guardado--on{ animation:hcGuardado 1.1s var(--hd-ease); }
@keyframes hcGuardado{ 0%{ box-shadow:0 0 0 0 rgba(242,200,59,.6); border-color:#f2c83b; } 100%{ box-shadow:0 0 0 12px rgba(242,200,59,0); } }
.hd-i-f{ fill:rgba(242,200,59,.18); stroke:#d9a900; stroke-width:2.4; stroke-linejoin:round; }
.hd-i-l{ fill:none; stroke:#d9a900; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
.hd-i-o{ fill:none; stroke:#f2c83b; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.hd-i-gira{ transform-origin:20px 22px; animation:hcGira 3.4s var(--hd-ease) infinite; }
.hd-i-late{ transform-origin:34px 34px; animation:hcLate 2.2s ease-in-out infinite; }
.hd-i-pluma{ animation:hcSale 2.6s ease-in-out infinite; }
@keyframes hcGira{ 0%, 30%{ transform:rotate(0); } 60%, 100%{ transform:rotate(360deg); } }
@keyframes hcLate{ 0%, 100%{ transform:scale(1); } 50%{ transform:scale(1.22); } }
@keyframes hcSale{ 0%, 60%, 100%{ transform:none; } 30%{ transform:translate(2px,-2px); } }
.hd-kapito{ display:flex; align-items:flex-end; gap:10px; }
.hd-kapito img{ flex:none; width:70px; height:70px; object-fit:contain; filter:drop-shadow(0 6px 10px rgba(12,17,24,.18)); animation:hcEntraK .5s var(--hd-ease) both; }
.hd-burbuja{ position:relative; margin:0 0 10px; padding:12px 14px; border-radius:16px 16px 16px 4px; font-size:15px; line-height:1.5; color:var(--text);
  background:linear-gradient(135deg, #fffdf5, #fff5d6); border:1px solid color-mix(in srgb, var(--hd-oro) 45%, #fff); box-shadow:0 6px 18px rgba(217,169,0,.12);
  animation:hcBurbuja .45s var(--hd-ease) .1s both; }
body[data-theme="dark"] .hd-burbuja{ background:rgba(242,200,59,.1); color:#fff; border-color:rgba(242,200,59,.4); }
@keyframes hcEntraK{ from{ opacity:0; transform:translateY(12px) scale(.9); } to{ opacity:1; transform:none; } }
@keyframes hcBurbuja{ from{ opacity:0; transform:translateX(-8px) scale(.96); transform-origin:left bottom; } to{ opacity:1; transform:none; } }
@keyframes hcEntra{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
.hd-paso, .hd-fin{ position:relative; display:flex; flex-direction:column; gap:14px; padding:18px; border-radius:var(--radius); background:var(--surface);
  border:1px solid var(--border); box-shadow:var(--shadow); overflow:hidden; }
.hd-entra .hd-paso-cuerpo, .hd-entra.hd-fin > *{ animation:hcPasoEntra .5s var(--hd-ease) both; }
@keyframes hcPasoEntra{ from{ opacity:0; transform:translateX(26px); } to{ opacity:1; transform:none; } }
.hd-avance{ height:8px; border-radius:8px; background:var(--surface-2); overflow:hidden; }
.hd-avance span{ display:block; height:100%; border-radius:8px; background:linear-gradient(90deg, #f2c83b, #d9a900 60%, #b89214); transition:width .6s var(--hd-ease);
  box-shadow:0 0 14px rgba(242,200,59,.6); position:relative; }
.hd-avance span::after{ content:""; position:absolute; inset:0; background:linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); background-size:50% 100%; background-repeat:no-repeat; animation:hcBrillo 2.2s linear infinite; }
@keyframes hcBrillo{ from{ background-position:-60% 0; } to{ background-position:160% 0; } }
.hd-paso-meta{ display:flex; justify-content:space-between; gap:10px; font-size:12.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--hd-oro-t); }
.hd-paso-cuerpo{ display:flex; flex-direction:column; gap:12px; }
.hd-preg{ display:block; font-size:clamp(21px, 3vw, 27px); font-weight:800; letter-spacing:-.02em; line-height:1.2; color:var(--text); }
.hd-ayuda{ margin:-6px 0 0; font-size:14px; color:var(--text-2); }
.hd-ctrl{ display:flex; flex-direction:column; gap:10px; }
.hd-in{ width:100%; min-height:56px; font-size:19px !important; font-weight:700; }
.hd-in--2{ min-height:50px; font-size:16px !important; font-weight:600; }
textarea.hd-in{ min-height:96px; font-weight:600; font-size:17px !important; line-height:1.5; }
.hd-soles{ display:flex; align-items:center; gap:0; border-radius:14px; }
.hd-soles span{ display:grid; place-items:center; min-width:60px; min-height:56px; padding:0 12px; font-size:19px; font-weight:800; color:#0a0c10;
  background:linear-gradient(135deg, #ffe14a, #e8c028 48%, #c9a014); border-radius:12px 0 0 12px; }
.hd-soles .hd-in{ border-radius:0 12px 12px 0; font-size:24px !important; font-weight:800; letter-spacing:-.01em; }
.hd-cuando{ display:grid; grid-template-columns:1.4fr 1fr; gap:10px; }
.hd-ahora{ align-self:flex-start; min-height:46px; gap:8px; }
.hd-ahora svg, .hd-paso-acc svg, .hd-enviar svg, .hd-doc-mas svg, .hd-tarj-acc svg, .hd-panel-cab svg, .hd-op-acc svg, .hd-editar svg, .hd-ver-doc svg, .hd-sin-a svg, .hd-conecta svg{
  width:19px; height:19px; flex:none; fill:none; stroke:currentColor; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
.btn-wa svg{ fill:currentColor; stroke:none; }
.hd-paso-acc{ display:flex; gap:10px; justify-content:space-between; align-items:center; margin-top:4px; }
.hd-paso-acc .btn{ gap:8px; }
.hd-sig{ flex:1; max-width:320px; justify-content:center; margin-left:auto; }
.hd-sig svg{ transition:transform .24s var(--hd-ease); } .hd-sig:hover svg{ transform:translateX(4px); }
.hd-tiembla{ animation:hcTiembla .45s; }
@keyframes hcTiembla{ 20%{ transform:translateX(-7px); } 40%{ transform:translateX(6px); } 60%{ transform:translateX(-4px); } 80%{ transform:translateX(2px); } }
.hd-chips{ display:flex; flex-wrap:wrap; gap:10px; }
.hd-chip{ min-height:52px; padding:10px 18px; border-radius:14px; border:1.5px solid var(--border-strong); background:var(--surface); color:var(--text);
  font:inherit; font-size:16.5px; font-weight:700; cursor:pointer; transition:all .22s var(--hd-ease); }
.hd-chip:hover{ border-color:var(--hd-oro); transform:translateY(-2px); box-shadow:0 8px 18px rgba(217,169,0,.16); }
.hd-chip.on{ border-color:transparent; color:#0a0c10; background:linear-gradient(135deg, #ffe14a, #e8c028 48%, #c9a014); box-shadow:0 8px 22px rgba(224,184,32,.4), inset 0 1px #fff6;
  animation:hcPop .35s var(--hd-ease); }
@keyframes hcPop{ 0%{ transform:scale(.94); } 60%{ transform:scale(1.05); } 100%{ transform:scale(1); } }
.hd-chip--grande{ flex:1 1 120px; min-height:64px; font-size:20px; font-weight:800; }
.hd-chip--calif{ position:relative; padding-left:34px; }
.hd-chip--calif::before{ content:""; position:absolute; left:14px; top:50%; width:12px; height:12px; margin-top:-6px; border-radius:50%; background:var(--c); box-shadow:0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.hd-chip--calif.on{ background:var(--c); color:#fff; box-shadow:0 8px 22px color-mix(in srgb, var(--c) 40%, transparent); }
.hd-chip--calif.on::before{ background:#fff; }
.hd-chip--calif[data-valor="Deficiente"].on{ color:#0a0c10; }
.hd-sug{ display:flex; flex-wrap:wrap; gap:8px; }
.hd-sug-b{ min-height:40px; padding:6px 14px; border-radius:20px; border:1px solid color-mix(in srgb, var(--hd-oro) 45%, var(--border)); background:var(--kap-gold-soft, #fff5d6);
  color:var(--hd-oro-t); font:inherit; font-size:14px; font-weight:700; cursor:pointer; transition:all .2s var(--hd-ease); }
.hd-sug-b:hover{ transform:translateY(-1px); background:#ffefb8; }
body[data-theme="dark"] .hd-sug-b{ background:rgba(242,200,59,.1); }
.hd-prop{ display:flex; flex-direction:column; gap:12px; padding:16px; border-radius:16px; color:#fff;
  background:radial-gradient(400px 160px at 100% 0, rgba(242,200,59,.18), transparent 70%), linear-gradient(160deg, #151c25, #090b0f); }
.hd-prop-cifra{ display:flex; align-items:baseline; flex-wrap:wrap; gap:10px; }
.hd-prop-cifra .hd-cifra{ font-size:clamp(36px, 7vw, 52px); color:#f2c83b; letter-spacing:-.03em; }
.hd-prop-cifra span{ font-size:15px; color:rgba(255,255,255,.75); font-weight:700; }
.hd-rango-in{ width:100%; height:34px; accent-color:#d9a900; cursor:pointer; }
.hd-prop-nivel{ margin:0; padding:10px 12px; border-radius:12px; font-size:15px; font-weight:700; background:rgba(255,255,255,.07); color:#fff; }
.hd-prop-nivel--muy{ background:rgba(242,200,59,.16); color:#fff3b0; }
.hd-prop-nivel b{ color:#f2c83b; }
.hd-rango{ position:relative; padding:4px 0 30px; }
.hd-rango-pista{ position:relative; height:12px; border-radius:12px; background:rgba(127,127,127,.22); }
.hd-rango-z{ position:absolute; top:0; bottom:0; border-radius:12px; background:linear-gradient(90deg, #f2c83b, #d9a900); box-shadow:0 0 14px rgba(242,200,59,.5); animation:hcCrece .9s var(--hd-ease) both; transform-origin:left; }
@keyframes hcCrece{ from{ transform:scaleX(0); } to{ transform:scaleX(1); } }
.hd-rango-tu{ position:absolute; top:50%; width:0; transition:left .35s var(--hd-ease); }
.hd-rango-tu::before{ content:""; position:absolute; left:-11px; top:-11px; width:22px; height:22px; border-radius:50%; background:#fff; border:4px solid #0a0c10; box-shadow:0 0 0 3px #f2c83b; }
.hd-rango-tu b{ position:absolute; left:50%; bottom:16px; transform:translateX(-50%); padding:2px 8px; border-radius:8px; background:#f2c83b; color:#0a0c10; font-size:12px; white-space:nowrap; }
.hd-rango-m span{ position:absolute; top:22px; transform:translateX(-50%); font-size:12px; font-weight:800; text-align:center; line-height:1.15; white-space:nowrap; }
.hd-rango-m small{ display:block; font-weight:600; opacity:.75; }
.hd-res-item .hd-rango-m span, .hd-res-item .hd-rango{ color:var(--text); }
.hd-deudas{ display:grid; grid-template-columns:repeat(auto-fill, minmax(170px, 1fr)); gap:10px; }
.hd-deuda{ display:flex; flex-direction:column; gap:2px; align-items:flex-start; text-align:left; min-height:84px; padding:12px 14px; border-radius:14px; cursor:pointer;
  border:1.5px solid var(--border-strong); background:var(--surface); color:var(--text); font:inherit; transition:all .22s var(--hd-ease); }
.hd-deuda:hover{ border-color:var(--hd-oro); transform:translateY(-2px); }
.hd-deuda.on{ border-color:var(--hd-oro); background:linear-gradient(135deg, #fffbea, #fff5d6); box-shadow:0 0 0 3px rgba(242,200,59,.35); color:#15171a; animation:hcPop .35s var(--hd-ease); }
.hd-deuda-e{ font-size:15px; font-weight:800; }
.hd-deuda b{ font-size:22px; font-weight:800; letter-spacing:-.02em; }
.hd-deuda small{ font-size:12.5px; color:var(--text-2); }
.hd-deuda--otra{ border-style:dashed; justify-content:center; }
.hd-conecta{ display:flex; align-items:center; gap:8px; margin:0; font-size:13.5px; color:var(--text-2); }
.hd-conecta svg{ width:26px; height:26px; }
.hd-sin-a{ display:flex; flex-direction:column; gap:10px; align-items:flex-start; }
.hd-sin-a p{ margin:0; color:var(--text-2); }
.hd-res-item{ display:flex; flex-direction:column; gap:6px; padding:16px; border-radius:16px; background:var(--surface-2); border:1px solid var(--border); }
.hd-res-item > span{ font-weight:800; color:var(--text-2); }
.hd-res-item > .hd-cifra{ font-size:38px; }
.hd-res-item small{ color:var(--text-2); font-size:13px; }
.hd-avance--lleno span{ background:linear-gradient(90deg, #22c55e, #1f7a4d); box-shadow:0 0 14px rgba(34,197,94,.45); }
.hd-fin{ border-color:rgba(242,200,59,.45); }
.hd-fin-luz{ position:absolute; inset:0; pointer-events:none; }
.hd-fin-luz i{ position:absolute; left:50%; top:60px; width:8px; height:8px; border-radius:2px; background:#f2c83b; opacity:0; }
.hd-fin-luz i:nth-child(3n){ background:#3d82b0; } .hd-fin-luz i:nth-child(4n){ background:#d9a900; width:6px; height:12px; }
.hd-fin--on .hd-fin-luz i{ animation:hcChispa 1.4s var(--hd-ease) calc(var(--k) * 40ms) both; }
@keyframes hcChispa{ 0%{ opacity:1; transform:translate(0,0) rotate(0); } 100%{ opacity:0; transform:translate(calc((var(--k) - 5.5) * 34px), calc(140px + (var(--k) * 7px))) rotate(calc(var(--k) * 70deg)); } }
.hd-fin-doc{ animation:hcDocSube .8s var(--hd-ease) .15s both; }
@keyframes hcDocSube{ from{ opacity:0; transform:translateY(30px) scale(.97); } to{ opacity:1; transform:none; } }
.hd-editar{ align-self:center; gap:8px; }
.hd-enviar{ display:flex; flex-direction:column; gap:12px; }
.hd-enviar-b{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.hd-enviar-b .btn{ justify-content:center; gap:8px; min-height:52px; }
.hd-enviar-b .btn-lg{ font-size:16px; }
.hd-estado-c{ display:flex; flex-wrap:wrap; gap:8px; }
.hd-estado-c .hd-chip{ flex:1 1 auto; min-height:46px; font-size:14.5px; padding:8px 12px; }
.hd-donde{ padding:16px; border-radius:16px; background:var(--surface-2); border:1px solid var(--border); border-left:4px solid var(--hd-oro); }
.hd-donde h4{ margin:0 0 8px; font-size:17px; font-weight:800; color:var(--text); }
.hd-donde ol{ margin:0 0 10px; padding-left:20px; display:flex; flex-direction:column; gap:7px; font-size:14.5px; line-height:1.5; color:var(--text); }
.hd-donde .btn{ gap:8px; }
.hd-donde .btn svg{ width:24px; height:24px; }
.hd-donde-correo{ display:flex; flex-direction:column; gap:6px; font-size:13px; font-weight:700; color:var(--text-2); }
.hd-donde-correo .hd-in{ min-height:48px; font-size:16px !important; }
.hd-doc{ position:relative; display:flex; flex-direction:column; gap:14px; padding:0 0 18px; border-radius:14px; overflow:hidden; color:#15171a; background:#fff;
  border:1px solid #e4e7ec; box-shadow:0 2px 4px #0c11180d, 0 12px 28px #0c111817; font-size:15px; line-height:1.6; }
.hd-doc > *:not(.hd-doc-cab):not(.hd-doc-linea){ margin-left:20px; margin-right:20px; }
.hd-doc-cab{ display:flex; align-items:center; gap:10px; padding:14px 20px; color:#fff; background:linear-gradient(160deg, #151c25, #090b0f); border-bottom:4px solid #d9a900; }
.hd-doc-cab img{ width:34px; height:34px; }
.hd-doc-cab b{ display:block; font-size:15px; font-weight:800; letter-spacing:.02em; }
.hd-doc-cab span{ display:block; font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#f2c83b; }
.hd-doc-cab em{ margin-left:auto; font-style:normal; font-size:11.5px; color:rgba(255,255,255,.7); text-align:right; }
.hd-doc-linea{ height:6px; background:linear-gradient(90deg, #f2c83b, #d9a900 55%, #b89214); }
.hd-doc-tit{ margin:0; font-size:22px; font-weight:800; letter-spacing:-.02em; color:#15171a; }
.hd-doc-kpis{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
.hd-doc-kpis > div{ padding:10px 12px; border-radius:12px; background:#f6f7f9; border:1px solid #e4e7ec; }
.hd-doc-kpis > div > span:first-child{ display:block; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#59606b; }
.hd-cifra{ display:block; font-size:24px; font-weight:800; letter-spacing:-.02em; line-height:1.15; font-variant-numeric:tabular-nums; color:inherit; }
.hd-doc-kpis .hd-cifra{ font-size:21px; color:#15171a; }
.hd-cifra--oro{ color:#8c6a00 !important; }
.hd-doc-graf{ display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.hd-ley{ flex:1; min-width:180px; display:flex; flex-direction:column; gap:6px; font-size:14px; }
.hd-ley span{ display:flex; align-items:center; gap:8px; }
.hd-ley i{ width:12px; height:12px; border-radius:4px; flex:none; }
.hd-ley b{ margin-left:auto; font-variant-numeric:tabular-nums; }
.hd-vacio-t{ color:#7e8490; font-style:italic; list-style:none; }
.hd-doc-filas{ list-style:none; padding:0; display:flex; flex-direction:column; gap:10px; }
.hd-doc-fila{ display:grid; grid-template-columns:1.2fr .8fr 1.5fr; gap:12px; align-items:center; padding:12px 12px 12px 16px; border-radius:12px; background:#fff;
  border:1px solid #e4e7ec; border-left:5px solid var(--c); animation:hcEntra .5s var(--hd-ease) both; }
.hd-df-a b{ display:block; font-size:16px; }
.hd-df-a span{ font-size:13px; color:#59606b; }
.hd-df-s{ font-size:18px; font-weight:800; font-variant-numeric:tabular-nums; }
.hd-df-s small{ display:block; font-size:12px; font-weight:600; color:#59606b; }
.hd-df-sal{ display:flex; gap:10px; align-items:flex-start; }
.hd-df-ico{ flex:none; display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:#fff5d6; font-size:17px; }
.hd-df-sal b{ display:block; font-size:14px; line-height:1.3; }
.hd-df-sal small{ display:block; font-size:12.5px; color:#59606b; line-height:1.4; }
.hd-doc-nota{ margin-top:0; margin-bottom:0; padding:10px 12px; border-radius:10px; background:#f6f7f9; border:1px solid #e4e7ec; font-size:13.5px; }
.hd-doc-pie{ margin:0; padding-top:10px; border-top:1px solid #e4e7ec; font-size:11.5px; color:#59606b; line-height:1.5; }
.hd-doc-mas{ display:flex; align-items:center; justify-content:center; gap:8px; min-height:52px; border-radius:12px; border:2px dashed #d9a900; background:#fffdf5;
  color:#8c6a00; font:inherit; font-size:15.5px; font-weight:800; cursor:pointer; transition:all .22s var(--hd-ease); }
.hd-doc-mas:hover{ background:#fff5d6; transform:translateY(-1px); }
.hd-doc--carta{ padding-top:0; font-size:15.5px; line-height:1.75; }
.hd-doc--carta p{ margin:0; }
.hd-carta-fecha{ text-align:right; color:#59606b; padding-top:14px; }
.hd-carta-asunto{ padding:8px 12px; border-radius:10px; background:#fffdf5; border:1px solid #eed88c; }
.hd-carta-oferta .hd-dato, .hd-carta-oferta .hd-hueco{ font-size:1.08em; font-weight:800; }
.hd-carta-firma{ display:flex; flex-direction:column; gap:2px; margin-top:6px; }
.hd-carta-raya{ display:block; width:200px; max-width:60%; height:30px; border-bottom:1.5px solid #15171a; }
.hd-carta-firma small{ color:#59606b; }
.hd-doc-pie--carta{ display:flex; align-items:center; gap:6px; }
.hd-dato{ font-weight:700; }
.hd-dato--vacio{ color:#7e8490; font-weight:600; border-bottom:1.5px dotted #cbced5; }
.hd-hueco{ display:inline; text-align:left; padding:1px 6px; margin:0 1px; border:0; border-radius:6px; font:inherit; font-weight:800; color:#15171a; cursor:pointer;
  background:linear-gradient(transparent 62%, rgba(242,200,59,.55) 0); transition:background .2s, box-shadow .2s; -webkit-box-decoration-break:clone; box-decoration-break:clone; }
.hd-hueco:hover, .hd-hueco:focus-visible{ background:rgba(242,200,59,.35); box-shadow:0 0 0 2px #d9a900; outline:none; }
.hd-hueco--vacio{ color:#8c6a00; font-weight:700; background:#fff5d6; box-shadow:inset 0 -2px 0 #d9a900; animation:hcHueco 2.4s ease-in-out infinite; }
@keyframes hcHueco{ 0%, 100%{ box-shadow:inset 0 -2px 0 #d9a900; } 50%{ box-shadow:inset 0 -2px 0 #d9a900, 0 0 0 3px rgba(242,200,59,.35); } }
.hd-hueco[data-calif]{ color:#fff; background:var(--c, #59606b); }
.hd-hueco[data-calif="Normal"]{ --c:#1f7a4d; } .hd-hueco[data-calif="CPP"]{ --c:#3d82b0; } .hd-hueco[data-calif="Deficiente"]{ --c:#d9a900; color:#0a0c10; }
.hd-hueco[data-calif="Dudoso"]{ --c:#8c6a00; } .hd-hueco[data-calif="Pérdida"]{ --c:#0a0c10; }
.hd-pulso{ animation:hcPulso .6s var(--hd-ease); }
@keyframes hcPulso{ 0%{ box-shadow:0 0 0 0 rgba(242,200,59,.5); } 100%{ box-shadow:0 0 0 14px rgba(242,200,59,0); } }
.hd-pulso .hd-doc{ animation:none; }
.hd-linea{ list-style:none; padding:0; display:flex; flex-direction:column; gap:0; }
.hd-linea-i{ position:relative; display:flex; gap:12px; padding-bottom:14px; animation:hcEntra .5s var(--hd-ease) both; }
.hd-linea-i::before{ content:""; position:absolute; left:8px; top:20px; bottom:0; width:2px; background:#e4e7ec; }
.hd-linea-i:last-child::before{ display:none; }
.hd-linea-p{ flex:none; width:18px; height:18px; margin-top:4px; border-radius:50%; background:#fff; border:4px solid #3d82b0; }
.hd-linea-i--marca .hd-linea-p{ border-color:#d9a900; box-shadow:0 0 0 4px rgba(242,200,59,.3); animation:hcLate 2.2s ease-in-out infinite; }
.hd-linea-c{ flex:1; display:flex; flex-direction:column; gap:3px; padding:10px 12px; border-radius:12px; background:#f6f7f9; border:1px solid #e4e7ec; }
.hd-linea-c span{ font-size:13.5px; color:#59606b; }
.hd-linea-c q{ font-size:14.5px; font-style:italic; }
.hd-motivos{ display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.hd-motivo{ display:inline-flex; flex-direction:column; padding:6px 10px; border-radius:10px; font-size:11.5px; font-weight:700; color:#59606b; background:#fff; border:1px solid #e4e7ec; border-left:4px solid #15354b; line-height:1.3; }
.hd-motivo b{ font-size:13px; color:#15171a; }
.hd-motivo--horario{ border-left-color:#3d82b0; } .hd-motivo--terceros{ border-left-color:#d9a900; } .hd-motivo--judicial{ border-left-color:#8c6a00; } .hd-motivo--amenaza{ border-left-color:#0a0c10; }
.hd-motivos--grandes{ flex-direction:column; }
.hd-motivos--grandes .hd-motivo{ padding:12px 14px; font-size:13px; animation:hcEntra .5s var(--hd-ease) both; background:var(--surface); }
.hd-motivos--grandes .hd-motivo:nth-child(2){ animation-delay:.12s; } .hd-motivos--grandes .hd-motivo:nth-child(3){ animation-delay:.24s; }
.hd-motivos--grandes .hd-motivo b{ font-size:16px; color:var(--text); }
.hd-motivo small{ font-weight:600; font-size:12.5px; color:var(--text-2); margin-top:2px; }
.hd-dona{ flex:none; }
.hd-dona-fondo{ fill:none; stroke:#e4e7ec; stroke-width:22; }
.hd-arco{ fill:none; stroke-width:22; transform:rotate(-90deg); transform-origin:50% 50%; stroke-dasharray:0 var(--C); stroke-dashoffset:var(--ini);
  animation:hcArco 1s var(--hd-ease) calc(var(--n) * 120ms) forwards; }
@keyframes hcArco{ to{ stroke-dasharray:var(--largo) var(--C); } }
.hd-dona-c{ text-anchor:middle; dominant-baseline:middle; font-size:19px; font-weight:800; fill:#15171a; font-family:inherit; }
.hd-dona-s{ text-anchor:middle; dominant-baseline:middle; font-size:11px; font-weight:700; fill:#59606b; font-family:inherit; }
.hd-anillo{ width:76px; height:76px; }
.hd-anillo-fondo{ fill:none; stroke:var(--surface-2); stroke-width:8; }
.hd-anillo-v{ fill:none; stroke-width:8; stroke-linecap:round; transform:rotate(-90deg); transform-origin:50% 50%; stroke-dasharray:var(--C); stroke-dashoffset:var(--C);
  animation:hcAnillo 1.1s var(--hd-ease) .1s forwards; }
@keyframes hcAnillo{ to{ stroke-dashoffset:var(--v); } }
.hd-anillo-t{ text-anchor:middle; dominant-baseline:middle; font-size:15px; font-weight:800; fill:var(--text); font-family:inherit; }
.hd-anillo-s{ text-anchor:middle; dominant-baseline:middle; font-size:8.5px; font-weight:700; fill:var(--text-2); font-family:inherit; }
.hd-barras{ display:flex; flex-direction:column; gap:5px; width:100%; }
.hd-barra{ display:grid; grid-template-columns:62px 1fr auto; gap:6px; align-items:center; font-size:11.5px; }
.hd-barra-e{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--text-2); font-weight:700; }
.hd-barra-p{ height:9px; border-radius:9px; background:var(--surface-2); overflow:hidden; }
.hd-barra-p i{ display:block; height:100%; width:var(--w); border-radius:9px; transform-origin:left; animation:hcCrece .9s var(--hd-ease) calc(var(--n) * 120ms) both; }
.hd-barra-v{ font-size:11.5px; font-variant-numeric:tabular-nums; }
.hd-medidor{ display:flex; gap:4px; width:100%; }
.hd-medidor i{ flex:1; height:12px; border-radius:4px; background:var(--surface-2); transition:background .4s; }
.hd-medidor i.on{ background:var(--c); animation:hcCrece .5s var(--hd-ease) both; }
.hd-pasos3{ display:flex; gap:6px; width:100%; }
.hd-pasos3 i{ flex:1; height:12px; border-radius:6px; background:var(--surface-2); }
.hd-pasos3 i.on{ background:linear-gradient(90deg, #f2c83b, #d9a900); }
.hd-fichas{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; }
.hd-ficha{ position:relative; display:flex; gap:12px; align-items:center; padding:14px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--border);
  box-shadow:var(--shadow); overflow:hidden; animation:hcEntra .55s var(--hd-ease) calc(var(--n) * 90ms) both; transition:transform .24s var(--hd-ease), box-shadow .24s; }
.hd-ficha::after{ content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background:linear-gradient(180deg, #f2c83b, #d9a900); }
.hd-ficha:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lift); }
.hd-ficha-g{ flex:none; width:76px; display:grid; place-items:center; }
.hd-ficha-t{ min-width:0; display:flex; flex-direction:column; gap:1px; }
.hd-ficha-t span{ font-size:11.5px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--text-2); }
.hd-ficha-t .hd-cifra{ font-size:21px; color:var(--text); }
.hd-ficha-t .hd-cifra--oro{ color:var(--hd-oro-t) !important; font-size:17px; }
.hd-ficha-t small{ font-size:12px; color:var(--hd-oro-t); font-weight:700; }
.hd-fichas--compactas .hd-ficha{ padding:10px 12px; }
.hd-fichas--compactas .hd-ficha-g{ width:58px; }
.hd-fichas--compactas .hd-anillo{ width:58px; height:58px; }
.hd-fichas--compactas .hd-ficha-t .hd-cifra{ font-size:18px; }
.hd-conex{ display:flex; align-items:stretch; gap:0; padding:10px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--border); box-shadow:var(--shadow); }
.hd-conex-i{ flex:1; display:flex; align-items:center; gap:10px; min-height:58px; padding:8px 10px; border-radius:12px; text-decoration:none; color:var(--text); transition:background .2s; min-width:0; }
.hd-conex-i:hover{ background:var(--surface-2); }
.hd-conex-i.act{ background:linear-gradient(135deg, #fffbea, #fff5d6); box-shadow:inset 0 0 0 1.5px #d9a900; color:#15171a; }
.hd-conex-ico{ flex:none; width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:var(--surface-2); }
.hd-conex-ico svg{ width:28px; height:28px; }
.hd-conex-i b{ display:block; font-size:14.5px; }
.hd-conex-i small{ display:block; font-size:12px; color:var(--text-2); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hd-conex-i.act small{ color:#59606b; }
.hd-conex-flujo{ flex:none; width:30px; align-self:center; height:3px; border-radius:3px; background:linear-gradient(90deg, #d9a900 0 40%, transparent 40% 100%); background-size:12px 3px; animation:hcFlujo .8s linear infinite; }
@keyframes hcFlujo{ to{ background-position:12px 0; } }
.hd-op{ display:flex; flex-direction:column; gap:14px; }
.hd-grid{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:14px; align-items:start; }
.hd-izq{ display:flex; flex-direction:column; gap:14px; }
.hd-der{ position:sticky; top:calc(var(--topbar-h) + 10px); display:flex; flex-direction:column; gap:10px; padding:14px; border-radius:var(--radius);
  background:linear-gradient(160deg, #151c25, #090b0f); border:1px solid rgba(242,200,59,.32); box-shadow:var(--shadow); scroll-margin-top:calc(var(--topbar-h) + 10px); }
.hd-der .hd-panel-cab h3{ color:#fff; }
.hd-der .hd-vivo{ color:#7ee2a5; }
.hd-lienzo{ max-height:calc(100vh - var(--topbar-h) - 110px); overflow:auto; border-radius:14px; }
.hd-fin .hd-enviar-b{ grid-template-columns:1fr 1fr; }
.hd-conex{ flex-direction:column; }
.hd-conex-e{ padding:4px 10px 2px; font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--hd-oro-t); }
.hd .hd-conex-flujo{ align-self:flex-start; width:3px; height:14px; margin-left:28px; background:linear-gradient(180deg, #d9a900 0 40%, transparent 40% 100%); background-size:3px 12px; animation:hcFlujoV .8s linear infinite; }
@keyframes hcFlujoV{ to{ background-position:0 12px; } }
.hd-ver-doc{ display:none; }
.hd-panel-cab h3{ margin:0; font-size:18px; font-weight:800; letter-spacing:-.01em; color:var(--text); }
.hd-panel-cab .btn{ gap:8px; }
.hd-vivo{ display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:800; color:#1f7a4d; }
.hd-vivo::before{ content:""; width:8px; height:8px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 0 rgba(34,197,94,.6); animation:hcVivo 1.6s infinite; }
@keyframes hcVivo{ 0%{ box-shadow:0 0 0 0 rgba(34,197,94,.6); } 100%{ box-shadow:0 0 0 9px rgba(34,197,94,0); } }
.hd-vent-fondo{ position:fixed; inset:0; z-index:1200; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(9,11,15,.55);
  backdrop-filter:blur(3px); animation:hcFondo .25s ease both; }
.hd-vent-fondo.out{ animation:hcFondo .25s ease reverse both; }
@keyframes hcFondo{ from{ opacity:0; } to{ opacity:1; } }
.hd-vent{ width:min(560px, 100%); max-height:calc(100vh - 32px); overflow:auto; display:flex; flex-direction:column; gap:12px; padding:18px; border-radius:20px;
  background:var(--surface); border:1px solid rgba(242,200,59,.45); box-shadow:0 24px 60px rgba(9,11,15,.4); animation:hcVent .4s var(--hd-ease) both; position:relative; }
.hd-vent::before{ content:""; position:absolute; left:0; right:0; top:0; height:4px; background:linear-gradient(90deg, #f2c83b, #d9a900 55%, #b89214); }
@keyframes hcVent{ from{ opacity:0; transform:translateY(24px) scale(.97); } to{ opacity:1; transform:none; } }
.hd-vent-cab{ display:flex; justify-content:space-between; align-items:center; font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--hd-oro-t); }
.hd-vent-x{ width:44px; height:44px; border-radius:50%; border:1px solid var(--border); background:var(--surface-2); color:var(--text); font-size:24px; cursor:pointer; }
.btn-primary .hd-i-f{ fill:rgba(10,12,16,.12); stroke:#0a0c10; }
.btn-primary .hd-i-l, .btn-primary .hd-i-o{ stroke:#0a0c10; }
@media print{
  #printReporte.hd-print{ padding:0; }
  #printReporte.hd-print .hd-doc{ box-shadow:none; border:0; }
  #printReporte.hd-print .hd-doc-cab, #printReporte.hd-print .hd-doc-linea{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  #printReporte.hd-print *{ animation:none !important; }
  #printReporte.hd-print .hd-arco{ stroke-dasharray:var(--largo) var(--C); }
}
.hd-i-late2{ animation:hdOnda 2s ease-in-out infinite; }
.hd-i-check{ stroke-dasharray:30; stroke-dashoffset:30; animation:hdTrazo 2.6s var(--hd-ease) infinite; }
.hd-i-sube{ stroke-dasharray:40; stroke-dashoffset:40; animation:hdTrazo 3s var(--hd-ease) infinite; }
.hd-i-balanza{ transform-origin:24px 14px; animation:hdBalanza 3s ease-in-out infinite; }
.hd-i-aguja{ transform-origin:24px 34px; animation:hdAguja 3.2s var(--hd-ease) infinite; }
@keyframes hdOnda{ 0%, 100%{ opacity:.4; } 50%{ opacity:1; } }
@keyframes hdTrazo{ 0%{ stroke-dashoffset:30; } 45%, 100%{ stroke-dashoffset:0; } }
@keyframes hdBalanza{ 0%, 100%{ transform:rotate(-4deg); } 50%{ transform:rotate(4deg); } }
@keyframes hdAguja{ 0%{ transform:rotate(-70deg); } 50%, 100%{ transform:rotate(0); } }
.hd-chips--col{ flex-direction:column; }
.hd-chip--ancho{ width:100%; text-align:left; min-height:58px; font-size:17px; }
.hd-chip--multi.on{ animation:hdPop2 .3s var(--hd-ease); }
@keyframes hdPop2{ 50%{ transform:scale(1.06); } }
.hd-chip--chico{ min-height:42px; padding:6px 12px; font-size:13.5px; border-radius:20px; }
.hd-in--num{ max-width:180px; font-size:24px !important; font-weight:800; }
.hd-pregunta-doc{ margin:0; font-size:17px; line-height:1.5; }
.hd-usar{ align-self:flex-start; gap:8px; min-height:46px; }
.hd-usar svg{ width:22px; height:22px; }
.hd-form-l{ font-size:14px; font-weight:800; color:var(--text); }
.hd-linea-dice{ position:relative; display:flex; flex-direction:column; gap:8px; padding:18px 18px 16px; border-radius:16px; color:#fff;
  background:radial-gradient(400px 160px at 100% 0, rgba(242,200,59,.2), transparent 70%), linear-gradient(160deg, #151c25, #090b0f); animation:hdDice .5s var(--hd-ease) both; }
@keyframes hdDice{ from{ opacity:0; transform:scale(.97); } to{ opacity:1; transform:none; } }
.hd-linea-dice-e{ font-size:11.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#f2c83b; }
.hd-linea-dice q{ font-size:clamp(21px, 3.2vw, 27px); font-weight:800; line-height:1.3; letter-spacing:-.01em; quotes:"«" "»"; }
.hd-linea-dice q .hd-dato{ color:#f2c83b; } .hd-linea-dice q .hd-dato--vacio{ color:rgba(255,255,255,.55); border-color:rgba(255,255,255,.4); }
.hd-linea-dice em{ font-style:normal; font-weight:800; color:#fff3b0; }
.hd-guion{ list-style:none; padding:0; display:flex; flex-direction:column; gap:10px; }
.hd-guion-l{ display:flex; gap:12px; padding:12px; border-radius:12px; background:#f6f7f9; border:1px solid #e4e7ec; animation:hdEntra2 .45s var(--hd-ease) both; }
.hd-guion-l--dicho{ border-color:#d9a900; background:#fffdf5; }
.hd-guion-n{ flex:none; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; font-weight:900; color:#0a0c10; background:linear-gradient(135deg, #ffe14a, #e8c028 48%, #c9a014); }
.hd-guion-l q{ font-weight:700; quotes:"«" "»"; }
.hd-guion-l em{ display:block; font-style:normal; font-weight:800; color:#8c6a00; font-size:13.5px; }
.hd-guion-nota{ margin:6px 0 0; font-size:13.5px; color:#59606b; }
@keyframes hdEntra2{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.hd-semaforo{ display:inline-flex; flex-direction:column; gap:5px; padding:7px; border-radius:16px; background:#0a0c10; box-shadow:0 6px 16px rgba(9,11,15,.3); }
.hd-semaforo i{ width:16px; height:16px; border-radius:50%; background:#2a3140; transition:background .4s, box-shadow .4s; }
.hd-semaforo--tinta .t{ background:#e4e7ec; box-shadow:0 0 12px rgba(255,255,255,.6); }
.hd-semaforo--oro .o{ background:#f2c83b; box-shadow:0 0 14px rgba(242,200,59,.8); }
.hd-semaforo--verde .v{ background:#22c55e; box-shadow:0 0 14px rgba(34,197,94,.8); animation:hdLuz 1.8s ease-in-out infinite; }
@keyframes hdLuz{ 50%{ box-shadow:0 0 22px rgba(34,197,94,1); } }
.hd-semaforo--grande{ padding:10px; gap:8px; } .hd-semaforo--grande i{ width:26px; height:26px; }
.hd-sem-doc{ display:flex; align-items:center; gap:16px; padding:14px; border-radius:14px; background:#f6f7f9; border:1px solid #e4e7ec; }
.hd-sem-doc b{ display:block; font-size:22px; font-weight:800; letter-spacing:-.01em; }
.hd-sem-doc span{ color:#59606b; font-size:14px; }
.hd-control{ list-style:none; padding:0; display:flex; flex-direction:column; gap:8px; }
.hd-control-i{ display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:12px; border:1px solid #e4e7ec; background:#fff; font-size:14.5px; animation:hdEntra2 .4s var(--hd-ease) both; }
.hd-control-i > span:nth-child(2){ flex:1; }
.hd-control-m{ flex:none; width:28px; height:28px; display:grid; place-items:center; border-radius:50%; border:2px solid #cbced5; font-weight:900; }
.hd-control-i--si{ border-color:#bfe5cf; background:#f2fbf6; } .hd-control-i--si .hd-control-m{ background:#1f7a4d; border-color:#1f7a4d; color:#fff; }
.hd-control-i--no{ border-color:#eed88c; background:#fffdf5; } .hd-control-i--no .hd-control-m{ background:#d9a900; border-color:#d9a900; color:#0a0c10; }
.hd-doc-sub{ margin:4px 0 0; font-size:16px; font-weight:800; letter-spacing:-.01em; color:#15171a; }
.hd-plan{ list-style:none; padding:0; display:flex; flex-direction:column; gap:8px; }
.hd-plan li{ display:grid; grid-template-columns:1fr auto; gap:2px 10px; padding:10px 12px; border-radius:12px; border:1px solid #e4e7ec; border-left:5px solid var(--c, #d9a900); animation:hdEntra2 .4s var(--hd-ease) both; }
.hd-plan b{ font-size:15px; } .hd-plan span{ grid-column:1; font-size:13px; color:#59606b; } .hd-plan small{ grid-column:1 / -1; font-size:12.5px; color:#8c6a00; font-weight:700; }
.hd-plan em{ grid-row:1 / span 2; grid-column:2; align-self:center; font-style:normal; font-weight:800; padding:4px 10px; border-radius:20px; background:#fff5d6; color:#8c6a00; font-size:13px; }
.hd-cal{ display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:6px; }
.hd-cal-m{ position:relative; min-height:64px; display:flex; flex-direction:column; gap:2px; padding:6px; border-radius:10px; border:1px solid #e4e7ec; animation:hdEntra2 .4s var(--hd-ease) calc(var(--n) * 50ms) both; }
.hd-cal-m span{ font-size:10.5px; font-weight:800; text-transform:uppercase; color:#59606b; }
.hd-cal-m b{ font-size:18px; line-height:1; }
.hd-cal-m i{ font-style:normal; font-size:10px; font-weight:800; padding:2px 5px; border-radius:6px; background:#0a0c10; color:#f2c83b; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hd-cal-m--e0{ background:#fff5d6; border-color:#eed88c; } .hd-cal-m--e1{ background:#eef5fb; border-color:#c9dcec; } .hd-cal-m--e2{ background:#effaf3; border-color:#c3e6d1; }
.hd-etapas{ list-style:none; padding:0; display:flex; flex-direction:column; gap:6px; font-size:13.5px; }
.hd-etapas li{ display:flex; gap:10px; align-items:baseline; } .hd-etapas b{ flex:none; padding:2px 8px; border-radius:6px; font-size:12px; }
.hd-etapa--e0 b{ background:#fff5d6; color:#8c6a00; } .hd-etapa--e1 b{ background:#eef5fb; color:#15354b; } .hd-etapa--e2 b{ background:#effaf3; color:#1f7a4d; }
.hd-filtro{ display:flex; flex-wrap:wrap; gap:6px; }
.hd-derechos{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; }
.hd-derecho{ display:flex; flex-direction:column; gap:6px; padding:12px; border-radius:12px; border:1px solid #e4e7ec; background:#fff; transition:opacity .3s, transform .3s, box-shadow .3s; animation:hdEntra2 .4s var(--hd-ease) calc(var(--n) * 35ms) both; }
.hd-derecho-si{ font-size:12px; font-weight:800; letter-spacing:.04em; color:#59606b; }
.hd-derecho b{ font-size:15px; line-height:1.3; }
.hd-derecho-d{ display:flex; flex-direction:column; gap:3px; font-size:12.5px; }
.hd-derecho-d i{ font-style:normal; font-weight:800; color:#8c6a00; margin-right:6px; font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.hd-derecho--apagado{ opacity:.35; }
.hd-derecho--on{ border-color:#d9a900; box-shadow:0 0 0 2px rgba(242,200,59,.4), 0 10px 22px rgba(217,169,0,.15); transform:translateY(-2px); }
.hd-ir--chico{ align-self:flex-start; gap:6px; margin-top:auto; }
.hd-ir--chico svg{ width:18px; height:18px; }
.hd-crit{ display:flex; flex-direction:column; gap:8px; }
.hd-crit-i{ display:grid; grid-template-columns:auto 1fr; gap:4px 12px; padding:10px 12px; border-radius:12px; border:1px solid #e4e7ec; animation:hdEntra2 .4s var(--hd-ease) calc(var(--n) * 60ms) both; }
.hd-crit-n{ grid-row:1 / span 2; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:#15171a; color:#f2c83b; font-weight:900; }
.hd-crit-i b{ display:block; } .hd-crit-i small{ display:block; color:#59606b; font-size:13px; }
.hd-crit-yo{ grid-column:2; font-size:14px; } .hd-crit-yo i{ font-style:normal; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:#8c6a00; margin-right:8px; }
.hd-medir{ padding:14px 14px 4px; border-radius:14px; background:linear-gradient(160deg, #151c25, #090b0f); color:#fff; }
.hd-medir-c{ display:flex; gap:8px; margin-bottom:10px; }
.hd-medir-c span{ flex:1; display:flex; flex-direction:column; padding:8px; border-radius:10px; background:rgba(255,255,255,.07); font-size:12px; color:rgba(255,255,255,.75); }
.hd-medir-c span.on{ background:rgba(242,200,59,.18); box-shadow:inset 0 0 0 1.5px #f2c83b; color:#fff3b0; }
.hd-medir-c b{ font-size:18px; color:#fff; }
.hd-doc-nota--legal{ border-left:4px solid #15354b; }
.hd-tuto-paso{ display:flex; flex-direction:column; gap:10px; }
.hd-tuto-paso p{ margin:0; font-size:17px; line-height:1.55; }
.hd-tuto-paso figure, .hd-tuto figure{ margin:0; border-radius:12px; overflow:hidden; border:1px solid var(--border); background:#fff; animation:hdDice .5s var(--hd-ease) both; }
.hd-tuto-paso img, .hd-tuto img{ display:block; width:100%; height:auto; max-height:360px; object-fit:contain; object-position:top; background:#f6f7f9; }
.hd-tuto-paso figcaption, .hd-tuto figcaption{ padding:6px 10px; font-size:12px; color:#59606b; }
.hd-tuto-paso small{ color:var(--text-2); font-size:13px; }
.hd-tuto{ list-style:none; padding:0; display:flex; flex-direction:column; gap:10px; }
.hd-tuto li{ display:flex; gap:10px; animation:hdEntra2 .4s var(--hd-ease) calc(var(--n) * 60ms) both; }
.hd-tuto li > div{ flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; }
.hd-tuto p{ margin:0; font-size:14px; }
.hd-tuto img{ max-height:180px; }
.hd-tuto-n{ flex:none; width:30px; height:30px; display:grid; place-items:center; border-radius:50%; border:2px solid #d9a900; font-weight:900; color:#8c6a00; }
.hd-tuto li.hecho .hd-tuto-n{ background:#1f7a4d; border-color:#1f7a4d; color:#fff; animation:hdPop2 .4s var(--hd-ease); }
.hd-oficial{ align-self:flex-start; gap:8px; }
.hd-oficial-chico{ gap:8px; min-height:52px; }
.hd-oficial svg, .hd-oficial-chico svg, .hd-ruta-a svg{ width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
.hd-sin-captura{ display:flex; align-items:center; gap:8px; padding:14px; border-radius:12px; border:1px dashed #cbced5; color:#59606b; font-size:13.5px; background:#f6f7f9; }
.hd-sin-captura svg, .hd-muestra svg{ width:18px; height:18px; flex:none; fill:none; stroke:#8c6a00; stroke-width:2.2; }
.hd-ruta{ list-style:none; padding:0; margin:0 0 8px; display:flex; flex-direction:column; gap:0; }
.hd-ruta li{ position:relative; display:flex; gap:12px; padding:0 0 12px; opacity:.6; transition:opacity .3s; }
.hd-ruta li::before{ content:""; position:absolute; left:15px; top:30px; bottom:0; width:2px; background:#e4e7ec; }
.hd-ruta li:last-child::before{ display:none; }
.hd-ruta li.on{ opacity:1; }
.hd-ruta li > span{ flex:none; width:32px; height:32px; display:grid; place-items:center; border-radius:50%; font-weight:900; background:var(--surface-2); color:var(--text); border:2px solid var(--border-strong); }
.hd-ruta li.on > span{ background:linear-gradient(135deg, #ffe14a, #e8c028 48%, #c9a014); color:#0a0c10; border-color:transparent; box-shadow:0 0 0 4px rgba(242,200,59,.25); }
.hd-ruta b{ display:block; font-size:15px; color:var(--text); } .hd-ruta small{ display:block; font-size:13px; color:var(--text-2); line-height:1.45; }
.hd-ruta-a{ display:inline-flex; align-items:center; gap:6px; margin-top:6px; font-weight:800; font-size:13.5px; color:var(--hd-oro-t); }
.hd-ruta--mini{ margin-top:4px; padding:12px; border-radius:14px; background:var(--surface-2); }
.hd-donde-b{ display:flex; flex-wrap:wrap; gap:8px; margin-top:6px; }
.hd-donde-b .btn{ gap:8px; }
.hd-donde-b .btn svg, .hd-ir svg{ width:22px; height:22px; }
.hd-donde-p{ margin:0 0 8px; font-size:14px; color:var(--text); }
.hd-legal{ display:flex; flex-direction:column; gap:8px; padding:14px; border-radius:14px; background:linear-gradient(135deg, #fffdf5, #fff5d6); border:1px solid #eed88c; color:#15171a; }
.hd-legal p{ margin:0; font-size:14.5px; line-height:1.5; } .hd-legal-s{ color:#59606b; font-size:13.5px !important; }
.hd-legal .btn{ align-self:flex-start; gap:8px; }
.hd-muestra{ display:flex; align-items:center; gap:8px; margin-top:0; margin-bottom:0; padding:10px 12px; border-radius:10px; background:#fff5d6; border:1px solid #eed88c; font-size:13px; color:#15171a; }
.hd-carta-si{ margin:0; }
.hd-todas-av{ flex:none; } .hd-todas-av .hd-anillo{ width:96px; height:96px; }
.hd-todas-av .hd-anillo-t{ fill:#fff; } .hd-todas-av .hd-anillo-s{ fill:rgba(255,255,255,.7); } .hd-todas-av .hd-anillo-fondo{ stroke:rgba(255,255,255,.12); }
.hd-grupo h3{ display:flex; align-items:center; gap:10px; margin:6px 0 10px; font-size:19px; font-weight:800; letter-spacing:-.01em; color:var(--text); }
.hd-grupo h3 span{ width:30px; height:30px; display:grid; place-items:center; border-radius:50%; font-size:14px; background:#15171a; color:#f2c83b; }
.hd-todas-g{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:10px; }
.hd-herr{ display:flex; align-items:center; gap:12px; min-height:84px; padding:12px 14px; border-radius:16px; text-decoration:none; color:var(--text); background:var(--surface);
  border:1px solid var(--border); box-shadow:var(--shadow); animation:hcEntra .5s var(--hd-ease) calc(var(--n) * 70ms) both; transition:transform .24s var(--hd-ease), box-shadow .24s, border-color .24s; }
.hd-herr:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lift); border-color:#d9a900; }
.hd-herr-ico{ flex:none; width:52px; height:52px; display:grid; place-items:center; border-radius:14px; background:linear-gradient(160deg, #151c25, #090b0f); }
.hd-herr-ico svg{ width:34px; height:34px; }
.hd-herr-ico .hd-i-f{ fill:rgba(242,200,59,.18); stroke:#f2c83b; } .hd-herr-ico .hd-i-l{ stroke:#f2c83b; }
.hd-herr-t{ flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.hd-herr-t small{ font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--hd-oro-t); }
.hd-herr-t b{ font-size:15px; line-height:1.25; }
.hd-herr-t em{ font-style:normal; font-size:12.5px; font-weight:700; color:var(--text-2); }
.hd-herr--listo .hd-herr-t em{ color:#1f7a4d; } .hd-herr--listo .hd-herr-t em::before{ content:"✓ "; }
.hd-herr--curso .hd-herr-t em{ color:var(--hd-oro-t); }
.hd-herr-ir{ flex:none; font-size:13px; font-weight:800; color:var(--hd-oro-t); }
@media (max-width: 1100px){
  .hd-todas-g{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px){
  .hd-grid{ grid-template-columns:minmax(0, 1fr); }
  .hd-der{ position:static; }
  .hd-lienzo{ max-height:none; }
}
@media (max-width: 640px){
  .hd{ gap:12px; }
  .hd-cab{ padding:16px 14px 14px; gap:12px; align-items:flex-start; }
  .hd-cab-ico{ width:50px; height:50px; border-radius:14px; } .hd-cab-ico svg{ width:30px; height:30px; }
  .hd:not(.hd-todas) .hd-cab p{ display:none; }
  .hd-cab p{ font-size:14px; }
  .hd-cab h2{ font-size:21px; margin-bottom:0; }
  .hd-guardado{ margin-top:8px; padding:4px 10px; font-size:11.5px; }
  .hd-cab-kapito{ position:absolute; right:-6px; top:8px; width:70px; margin:0; opacity:.95; }
  .hd-cab-t{ padding-right:44px; }
  .hd-todas .hd-cab-t{ padding-right:0; } .hd-todas-av{ display:none; }
  .hd-paso, .hd-fin{ padding:14px; }
  .hd-kapito img{ width:58px; height:58px; }
  .hd-burbuja{ font-size:14px; padding:10px 12px; }
  .hd-enviar-b, .hd-fin .hd-enviar-b{ grid-template-columns:minmax(0, 1fr); }
  .hd-doc > *:not(.hd-doc-cab):not(.hd-doc-linea){ margin-left:14px; margin-right:14px; }
  .hd-doc-cab{ padding:12px 14px; } .hd-doc-cab em{ display:none; }
  .hd-doc-kpis{ grid-template-columns:repeat(2, minmax(0, 1fr)); } .hd-doc-kpis > div:last-child{ grid-column:1 / -1; }
  .hd-doc-fila{ grid-template-columns:1fr auto; }
  .hd-df-sal{ grid-column:1 / -1; }
  .hd-doc-graf{ justify-content:center; }
  .hd-fichas{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; margin:0 -4px; padding:2px 4px 8px; }
  .hd-ficha{ flex:0 0 74%; scroll-snap-align:start; padding:10px 12px; }
  .hd-ficha-g{ width:58px; } .hd-ficha .hd-anillo{ width:58px; height:58px; }
  .hd-ficha-t .hd-cifra{ font-size:18px; }
  .hd-conex{ padding:6px; }
  .hd-ver-doc{ align-self:center; display:inline-flex; align-items:center; gap:8px;
    min-height:48px; padding:10px 18px; border-radius:30px; font-weight:800; font-size:15px; text-decoration:none; color:#0a0c10;
    background:linear-gradient(135deg, #ffe14a, #e8c028 48%, #c9a014); box-shadow:0 10px 26px rgba(224,184,32,.5); }
  .hd-ver-doc svg{ width:22px; height:22px; } .hd-ver-doc .hd-i-f{ fill:rgba(10,12,16,.12); stroke:#0a0c10; } .hd-ver-doc .hd-i-l, .hd-ver-doc .hd-i-o{ stroke:#0a0c10; }
  .hd-ver-doc--late{ animation:hcPop .45s var(--hd-ease); }
  .hd-rango-m span{ font-size:11px; }
  .hd-rango-m small{ display:none; }
  .hd-derechos{ grid-template-columns:minmax(0, 1fr); }
  .hd-cal{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
  .hd-todas-g{ grid-template-columns:minmax(0, 1fr); }
  .hd-medir-c b{ font-size:15px; }
}
@media (prefers-reduced-motion: reduce){
  .hd *, .hd *::before, .hd *::after{ animation:none !important; transition:none !important; }
  .hd-arco{ stroke-dasharray:var(--largo) var(--C); } .hd-anillo-v{ stroke-dashoffset:var(--v); }
  .hd-i-check, .hd-i-sube{ stroke-dashoffset:0; }
}
.hd-chip{ white-space:normal; line-height:1.25; }
.cj .cj-btn--respaldo{ color:#fff; border-color:rgba(255,255,255,.32); background:rgba(255,255,255,.06); }
.cj .cj-btn--respaldo:hover{ background:rgba(255,255,255,.14); color:#fff; }
.hd-doc-kpis .hd-hueco{ display:inline-block; margin-top:4px; font-size:19px; letter-spacing:-.01em; }
.hd-donde-b .btn{ white-space:normal; text-align:left; }
.hd-hoja-tarea{ display:flex; align-items:center; gap:10px; margin:0; padding:9px 14px 9px 9px; border-radius:14px; font-size:15px; font-weight:800; line-height:1.3; color:#fff;
  background:linear-gradient(160deg, #151c25, #090b0f); border:1px solid rgba(242,200,59,.32); }
.hd-hoja-tarea span{ flex:none; display:grid; place-items:center; width:30px; height:30px; border-radius:10px; font-size:15px; color:#0a0c10; background:linear-gradient(135deg, #f2c83b, #d9a900 60%, #b89214); }
.hd-paso-meta span + span{ color:var(--text-2); }
.hd-in--num-hoja{ max-width:220px; }
.hd-soles--porc .hd-in{ border-radius:12px 0 0 12px; }
.hd-soles--porc span{ border-radius:0 12px 12px 0; }
.hd-soles--porc{ max-width:260px; }
.hd-chip--hecho.on[data-valor="no"]{ color:var(--text); background:var(--surface-2); border-color:var(--border-strong); box-shadow:none; }
.hd-lista{ display:flex; flex-direction:column; gap:8px; }
.hd-lista-f{ display:flex; gap:8px; align-items:center; }
.hd-lista-f > .hd-in{ flex:1.25 1 0; min-width:0; width:auto; }
.hd-lista-f > .hd-soles{ flex:1 1 0; }
.hd-soles--chico{ max-width:none; min-width:0; }
.hd-soles--chico span{ min-width:44px; min-height:50px; padding:0 8px; font-size:16px; }
.hd-soles--chico .hd-in{ min-width:0; font-size:18px !important; }
.hd-lista-x{ flex:none; width:44px; height:44px; border-radius:12px; border:1.5px solid var(--border-strong); background:var(--surface); color:var(--text-2); font-size:24px; line-height:1; cursor:pointer; transition:all .2s var(--hd-ease); }
.hd-lista-x:hover{ border-color:var(--hd-oro); color:var(--text); }
.hd-lista-mas{ min-height:46px; width:100%; cursor:pointer; font:inherit; font-weight:800; font-size:15px; color:var(--hd-oro-t); }
body[data-theme="dark"] .hd-lista-mas{ background:rgba(242,200,59,.08); color:#f2c83b; }
.hd-hoja-paso{ display:flex; flex-direction:column; gap:10px; padding:12px 14px 14px; border-radius:14px; background:#fff; border:1px solid #e4e7ec; border-left:4px solid #e4e7ec; transition:border-color .4s; }
.hd-hoja-paso--listo{ border-left-color:#d9a900; }
.hd-hoja-paso h3{ display:flex; align-items:center; gap:10px; margin:0; font-size:15.5px; font-weight:800; line-height:1.3; color:#15171a; }
.hd-hoja-paso h3 span{ flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:9px; font-size:14px; font-weight:800; color:#59606b; background:#f6f7f9; border:1px solid #e4e7ec; }
.hd-hoja-paso--listo h3 span{ color:#0a0c10; border-color:transparent; background:linear-gradient(135deg, #f2c83b, #d9a900 60%, #b89214); }
.hd-hoja-datos{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px 14px; margin:0; }
.hd-hoja-datos > div{ min-width:0; }
.hd-hoja-datos > div:only-child{ grid-column:1 / -1; }
.hd-hoja-datos dt{ font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#59606b; }
.hd-hoja-datos dd{ margin:3px 0 0; font-size:15.5px; line-height:1.5; color:#15171a; overflow-wrap:anywhere; }
.hd-hoja-datos .hd-hueco{ margin-left:0; }
.hd-hoja-kpis{ grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); }
.hd-doc-kpis.hd-hoja-kpis > div:last-child{ grid-column:auto; }
.hd-hoja-kpis > div > span:first-child{ line-height:1.35; }
.hd-hoja-kpis .hd-cifra{ margin-top:2px; font-size:20px; }
.hd-hoja-nota{ line-height:1.5; color:#15171a; }
.hd-hoja-nota b{ color:#8c6a00; }
.hd-med{ display:flex; flex-direction:column; gap:6px; }
.hd-med-cab{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; font-size:13px; font-weight:700; color:#59606b; }
.hd-med-cab b{ font-size:20px; font-weight:800; letter-spacing:-.02em; color:#15171a; white-space:nowrap; font-variant-numeric:tabular-nums; }
.hd-med-pista{ position:relative; height:14px; border-radius:14px; background:#e4e7ec; }
.hd-med-pista i{ position:absolute; left:0; top:0; bottom:0; width:var(--w); border-radius:14px; background:linear-gradient(90deg, #f2c83b, #d9a900); transform-origin:left; animation:hcCrece .9s var(--hd-ease) both; transition:width .6s var(--hd-ease); }
.hd-med--bien .hd-med-pista i{ background:#1f7a4d; }
.hd-med--sobre .hd-med-pista i{ background:linear-gradient(90deg, #d9a900, #8c6a00); }
.hd-med-zona{ position:absolute; top:-3px; bottom:-3px; border-radius:8px; background:rgba(31,122,77,.14); border:1.5px dashed #1f7a4d; }
.hd-med-meta{ position:absolute; top:-5px; bottom:-5px; width:3px; margin-left:-1.5px; border-radius:3px; background:#15171a; }
.hd-med-pie{ display:flex; align-items:center; gap:6px; font-size:12px; font-weight:700; color:#59606b; }
.hd-med-pie i{ width:3px; height:12px; border-radius:3px; background:#15171a; }
.hd-med-marcas{ position:relative; height:34px; font-size:11px; color:#59606b; }
.hd-med-marcas span{ position:absolute; top:0; transform:translateX(-50%); text-align:center; line-height:1.25; white-space:nowrap; }
.hd-med-marcas span:first-child{ transform:none; text-align:left; } .hd-med-marcas span:last-child{ transform:translateX(-100%); text-align:right; }
.hd-med-marcas b{ display:block; font-size:12px; color:#15171a; }
.hd-barras--doc .hd-barras{ gap:8px; }
.hd-barras--doc .hd-barra{ grid-template-columns:minmax(72px, 32%) 1fr auto; gap:10px; font-size:14px; }
.hd-barras--doc .hd-barra-e{ color:#15171a; white-space:normal; overflow-wrap:anywhere; line-height:1.25; }
.hd-barras--doc .hd-barra-p{ height:12px; background:#e4e7ec; }
.hd-barras--doc .hd-barra-v{ font-size:14px; color:#15171a; }
.hd-cols-caja{ display:flex; flex-direction:column; gap:6px; }
.hd-cols{ position:relative; display:flex; align-items:flex-end; gap:3px; height:150px; padding:0 2px; border-bottom:2px solid #15171a; }
.hd-cols > i{ flex:1; min-width:0; height:var(--h); min-height:2px; border-radius:4px 4px 0 0; background:linear-gradient(180deg, #f2c83b, #d9a900 70%, #b89214); transform-origin:bottom; animation:hcColSube .7s var(--hd-ease) calc(var(--n) * 28ms) both; transition:height .5s var(--hd-ease); }
@keyframes hcColSube{ from{ transform:scaleY(0); } to{ transform:none; } }
.hd-cols-marca{ position:absolute; left:0; right:0; height:0; border-top:2px dashed #15354b; z-index:1; }
.hd-cols-marca--1{ border-top-color:#1f7a4d; }
.hd-cols-eje{ display:flex; justify-content:space-between; font-size:11.5px; font-weight:700; color:#59606b; }
.hd-cols-eje span:nth-child(2){ text-align:center; } .hd-cols-eje span:last-child{ text-align:right; }
.hd-cols-eje b{ display:block; font-size:13.5px; color:#15171a; font-variant-numeric:tabular-nums; }
.hd-cols-ley{ display:flex; align-items:center; gap:8px; margin:0; font-size:12.5px; color:#59606b; }
.hd-cols-ley i{ flex:none; width:22px; height:0; border-top:2px dashed #15354b; }
.hd-cols-ley--1 i{ border-top-color:#1f7a4d; }
.hd-cols--mini{ height:58px; width:100%; gap:1.5px; padding:0; border-bottom:2px solid var(--border-strong); }
.hd-cols--mini > i{ border-radius:2px 2px 0 0; }
.hd-cols--mini em{ margin:auto; font-style:normal; font-weight:800; color:var(--text-2); }
.hd-rep{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
.hd-rep-g{ padding:10px 12px; border-radius:12px; background:#f6f7f9; border:1px solid #e4e7ec; }
.hd-rep-g--si{ background:#fffdf5; border-color:#eed88c; }
.hd-rep-g h4{ margin:0 0 6px; font-size:11.5px; font-weight:800; letter-spacing:.05em; text-transform:uppercase; line-height:1.35; color:#59606b; }
.hd-rep-g--si h4{ color:#8c6a00; }
.hd-rep-g ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:5px; }
.hd-rep-g li{ display:flex; justify-content:space-between; gap:8px; font-size:14.5px; color:#15171a; }
.hd-rep-g li span{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hd-rep-g li b{ white-space:nowrap; font-variant-numeric:tabular-nums; }
.hd-enviar-b--hoja .btn-wa{ grid-column:1 / -1; }
.hd-conecta b{ color:var(--text); }
@media (max-width: 640px){
  .hd-hoja-datos{ grid-template-columns:minmax(0, 1fr); }
  .hd-rep{ grid-template-columns:minmax(0, 1fr); }
  .hd-lista-f{ gap:6px; flex-wrap:wrap; padding-bottom:6px; border-bottom:1px dashed var(--border); }
  .hd-lista:not(.hd-lista--una) .hd-lista-f > .hd-in{ flex:1 1 100%; }
  .hd-lista-x{ width:40px; }
  .hd-cols{ height:120px; gap:2px; }
  .hd-paso-meta{ flex-wrap:wrap; }
}
