
:root{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;color:#17374b;background:#edf5f8;--blue:#078cba;--ink:#163b50;--line:#d7e5ed}
*{box-sizing:border-box}html,body{margin:0;min-height:100%}body{background:linear-gradient(160deg,#f4f9fb,#e9f3f7)}
.topline{height:5px;background:linear-gradient(90deg,#026086,#03a0cd)}
.shell{max-width:590px;margin:0 auto;padding:18px 17px 42px}
.brand{margin:15px 0 28px;display:flex;align-items:center;justify-content:center}
.brand img{display:block;width:min(100%,390px);height:auto;object-fit:contain}
.kicker{color:#007da7;font-size:12px;letter-spacing:.12em;text-transform:uppercase;font-weight:800;display:flex;align-items:center;gap:9px;margin:0 0 9px}
.kicker:before{content:'●';font-size:8px}
h1{font-size:clamp(25px,5vw,32px);line-height:1.15;margin:0;color:#0b4c68;letter-spacing:-.04em}
.summary{color:#617c8b;margin:10px 0 24px;font-size:14px;line-height:1.5}
.card{background:#fff;border:1px solid var(--line);box-shadow:0 8px 28px rgba(13,65,92,.06);border-radius:23px;overflow:hidden}
.idbar{background:linear-gradient(115deg,#08698e,#069fc8);color:white;padding:22px 24px 21px;display:flex;gap:18px;align-items:center;justify-content:space-between}
.idlabel{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:750;opacity:.85}
.code{font-size:34px;font-weight:850;letter-spacing:.025em;margin-top:2px;line-height:1.2}
.symbol{width:57px;height:57px;display:grid;place-items:center;flex:0 0 57px;border:1px solid #ffffff60;border-radius:16px;background:#ffffff29;font-size:28px}
.status-wrap{padding:20px 24px 8px;display:flex;flex-direction:column;gap:6px}
.status-label{font-size:11px;color:#6c8795;font-weight:700;text-transform:uppercase;letter-spacing:.07em}
.status{width:fit-content;display:inline-flex;gap:9px;align-items:center;font-weight:800;padding:9px 13px;border-radius:999px;font-size:13px}
.status:before{content:'';width:9px;height:9px;border-radius:50%;background:currentColor}
.status.pending{background:#edf0f3;color:#5a6b78}.status.operativo{background:#e8f6ef;color:#14754b}.status.atencion{background:#fff2d8;color:#936100}.status.critico{background:#fee9e9;color:#a52d2d}
.notice{background:#f5f9fb;color:#5c7483;font-size:13px;line-height:1.5;margin:8px 24px 0;padding:13px 15px;border-left:3px solid #78b9d0;border-radius:7px}
.fields{margin:16px 24px 19px;display:grid;grid-template-columns:1fr 1fr;gap:17px 12px}
.field{min-width:0;border-bottom:1px solid #edf2f5;padding-bottom:12px}
.field.wide{grid-column:span 2}.field-name{font-size:11px;color:#6a8795;margin-bottom:6px;letter-spacing:.04em;font-weight:700;text-transform:uppercase}
.field-value{color:var(--ink);font-size:15px;font-weight:760;overflow-wrap:anywhere;line-height:1.4}
.field-value.missing{color:#9caeb7;font-weight:500}
.record-foot{border-top:1px solid #e4edf1;padding:16px 24px 20px;background:#fcfefe}
.note-heading{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:#648090;font-weight:800}
.record-foot p{margin:7px 0 0;font-size:12px;line-height:1.55;color:#6b7e87}
.action{display:block;background:white;border:1px solid #cbdfe7;border-radius:13px;padding:13px;color:#0d6788;text-decoration:none;font-size:13px;font-weight:750;text-align:center;margin-top:15px}
.footer{margin:26px 15px 0;text-align:center;color:#6f8794;font-size:11px;line-height:1.6}
.footer strong{display:block;color:#395d6f;font-size:12px}
.error{padding:16px;border-radius:9px;color:#8f2626;background:#fff0f0}
@media(max-width:370px){.fields{grid-template-columns:1fr}.field.wide{grid-column:auto}.brand img{width:95%}}
@media print{body{background:#fff}.shell{padding:8mm}.topline{print-color-adjust:exact;-webkit-print-color-adjust:exact}.card,.brand{box-shadow:none}.action{display:none}.footer{margin-top:14px}}
