:root{font-family:"Segoe UI",system-ui,sans-serif;color:#142c40;background:#f1f5f8;line-height:1.55}
*{box-sizing:border-box}body{margin:0}header{background:#fff;border-bottom:1px solid #d6e0e8}
.bar,main,footer{max-width:1100px;margin:auto;padding:0 24px}.bar{display:flex;align-items:center;justify-content:space-between;min-height:85px;gap:14px;flex-wrap:wrap}.brand{display:flex;align-items:center;gap:14px;font-weight:700;text-decoration:none;color:#142c40}.brand img{width:48px;height:56px;object-fit:contain}nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
main{padding-top:40px;padding-bottom:40px}section{background:#fff;border:1px solid #d6e0e8;border-radius:16px;padding:clamp(18px,4vw,38px);margin-bottom:22px}.narrow{max-width:505px;margin:32px auto}.intro{color:#476174;margin-top:0}
h1{font-size:clamp(1.65rem,4vw,2.35rem);line-height:1.15;margin:0 0 15px}h2{font-size:1.25rem;margin:0 0 12px}p{margin:0 0 13px}a{color:#175582;text-underline-offset:3px}
label,legend{font-weight:650}label{display:block;margin:14px 0 5px}input:not([type=checkbox]):not([type=radio]),textarea,select{display:block;width:100%;padding:11px;border:1px solid #a7b8c6;border-radius:8px;font:inherit;color:inherit;background:#fff}textarea{resize:vertical}fieldset{border:1px solid #d6e0e8;border-radius:10px;margin:18px 0;padding:10px 16px 16px}.campos{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:8px 16px}.acciones{margin-top:20px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
button,.boton{background:#174e75;color:white;border:1px solid #174e75;border-radius:8px;padding:10px 16px;font:inherit;font-weight:650;cursor:pointer;text-decoration:none}button:hover,.boton:hover{background:#103950}.secundario{background:#fff;color:#174e75}.secundario:hover{background:#e6eff6}
.aviso{padding:12px 15px;border-radius:8px;background:#e7f1fa;border-left:4px solid #175582;margin:0 0 18px}.error{background:#fceee8;border-left-color:#a54b29}.estado{font-weight:700;color:#174e75}.resultado{font-size:1.18rem;font-weight:750}.si{color:#8c3b21}.no{color:#17614b}.folio,.huella{overflow-wrap:anywhere;font-family:monospace}.tabla{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:11px;border-bottom:1px solid #e1e8ee;vertical-align:top}th{background:#f2f6f9}footer{padding-bottom:26px;color:#526a7d;font-size:.9rem}.lineas{white-space:pre-wrap;overflow-wrap:anywhere}small{color:#476174}
.cliente{font-size:.9rem;font-weight:650;color:#465f72}.acciones+div,.acciones+p{margin-top:16px}#resultadoComparacion{margin-top:12px;font-weight:700}
