/* Autocheck: una sola identidad en todas las vistas, 2026-10-11 */
:root{--ac-navy:#061f39;--ac-navy2:#0a2b4d;--ac-red:#ef1b20;--ac-sky:#1fbef0;--ac-ink:#101820;--ac-muted:#566879;--ac-paper:#f5f8fb;--ac-line:#dfe7ee}
html{scroll-behavior:smooth}
body.ac-page{margin:0;background:var(--ac-paper);color:var(--ac-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}
.ac-page *, .ac-page *:before, .ac-page *:after{box-sizing:border-box}
.ac-page [hidden]{display:none!important}
.ac-page .ac-header{display:block!important;position:relative;background:var(--ac-navy)!important;color:white!important;padding:0!important;margin:0!important;border-bottom:0!important;box-shadow:0 12px 36px rgba(6,31,57,.13)}
.ac-page .ac-header .ac-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1440px;margin:auto;padding:16px 32px;flex-wrap:wrap}
.ac-page .ac-header .ac-logo{display:flex;align-items:center;min-width:170px;text-decoration:none!important;color:white!important}
.ac-page .ac-header .ac-logo img{display:block;width:190px;max-width:100%;height:47px;object-fit:contain;object-position:left center}
.ac-page .ac-header .ac-links{display:flex;align-items:center;flex-wrap:wrap;gap:10px 21px}
.ac-page .ac-header .ac-links a{font-size:12px;letter-spacing:.075em;text-transform:uppercase;font-weight:800;color:#e9eff7!important;text-decoration:none!important;white-space:nowrap;padding:7px 0;transition:color .15s}
.ac-page .ac-header .ac-links a:hover,.ac-page .ac-header .ac-links a:focus-visible{color:#76ddfa!important}
.ac-page .ac-header .ac-links .ac-current{color:white!important;border-bottom:3px solid var(--ac-red)}
.ac-page .ac-header .ac-tel{color:white!important;background:#092943;text-decoration:none!important;border:1px solid #43617c;border-radius:999px;padding:12px 19px;font-size:13px;font-weight:800;white-space:nowrap}
.ac-page .ac-subhero{background:linear-gradient(113deg,#061f39 10%,#0a3155 72%,#134363 100%);color:#fff;padding:45px 30px 49px}
.ac-page .ac-subhero-inner{max-width:1150px;margin:auto}
.ac-page .ac-eyebrow{margin:0 0 10px;color:#76ddfa!important;font-size:12px;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.ac-page .ac-subhero h2{margin:0!important;color:#fff!important;font-size:clamp(26px,3.2vw,43px)!important;line-height:1.1;letter-spacing:-.035em;font-weight:850}
.ac-page .ac-subhero p.ac-hero-copy{max-width:720px;color:#e0eaf4!important;margin:13px 0 0;font-size:15px}
.ac-page main{width:min(1150px,calc(100% - 48px));max-width:1150px;margin:32px auto;padding:0 0 50px!important}
.ac-page h1,.ac-page h2,.ac-page h3{color:var(--ac-navy);letter-spacing:-.025em}
.ac-page h1{font-size:clamp(28px,3.4vw,38px);line-height:1.15}
.ac-page main .intro{padding:0 0 8px;margin-bottom:23px}
.ac-page main .intro p,.ac-page main p{line-height:1.6}
.ac-page section:not(.ac-subhero),.ac-page .ac-panel{border:1px solid var(--ac-line);background:white;border-radius:20px;box-shadow:0 10px 32px rgba(6,31,57,.065)}
.ac-page section:not(.ac-subhero){padding:25px;margin-bottom:20px}
.ac-page button,.ac-page input,.ac-page select{font:inherit;border-radius:11px;min-height:45px}
.ac-page button{background:var(--ac-red);color:white;border:1px solid var(--ac-red);font-weight:800;cursor:pointer;transition:filter .2s,transform .2s}
.ac-page button:hover:not(:disabled){filter:brightness(.94);transform:translateY(-1px)}
.ac-page input,.ac-page select{background:#fff;color:var(--ac-navy);border:1px solid #c6d4df;padding:12px 15px}
.ac-page a{color:#0c668b}
.ac-page a:hover{color:#cf171d}
.ac-page button:focus-visible,.ac-page input:focus-visible,.ac-page select:focus-visible,.ac-page a:focus-visible,.ac-page summary:focus-visible{outline:3px solid var(--ac-sky);outline-offset:3px}
.ac-page .tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}
.ac-page .tabs button{background:#fff;color:var(--ac-navy);border:1px solid #d2dfeb;border-radius:999px;padding:11px 18px}
.ac-page .tabs button.active,.ac-page .tabs button[aria-selected="true"]{background:var(--ac-navy);border-color:var(--ac-navy);color:white}
.ac-page .controls{display:flex;align-items:stretch;gap:11px;flex-wrap:wrap}
.ac-page .controls input{flex:1;min-width:190px}
.ac-page .controls select{min-width:150px;max-width:260px}
.ac-page .controls button{padding:11px 20px}
.ac-page .piece,.ac-page article.card,.ac-page .quick-piece{background:#fbfdff;border:1px solid #e3ebf2;border-radius:14px;padding:16px}
.ac-page .piece{margin-bottom:11px}
.ac-page .piece button,.ac-page .chips button,.ac-page button.secondary{background:white;color:var(--ac-navy);border:1px solid #bed0df}
.ac-page .quick-piece>b,.ac-page .part-link,.ac-page .sources a{color:#c91520}
.ac-page .total{background:#fce9ea;color:#cb101b}
.ac-page .ac-page-footer{max-width:1150px;margin:0 auto;padding:24px 22px 40px;border-top:1px solid #dbe5ed;color:#536c82;font-size:13px}
.ac-page .ac-page-footer strong{color:var(--ac-navy)}
.ac-page table{width:100%;border-collapse:collapse;background:#fff}
.ac-page th{background:var(--ac-navy)!important;color:white!important;text-align:left}
.ac-page th,.ac-page td{padding:13px 15px;border-bottom:1px solid #e4eaf0}
.ac-page .scroll,.ac-page .table-wrap{overflow:auto;border-radius:14px;border:1px solid #e0e8ef;background:#fff}
/* Historial: mismos componentes visuales, sin descarga masiva */
.ac-page.ac-history .ac-history-intro{padding-bottom:10px}
.ac-page.ac-history .ac-panel{background:var(--ac-navy);padding:24px;color:white;margin:22px 0}
.ac-page.ac-history .ac-panel form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ac-page.ac-history .ac-panel input{flex:1;min-width:180px;text-transform:uppercase}
.ac-page.ac-history .ac-panel select{min-width:195px;flex:0 1 220px}
.ac-page.ac-history .ac-panel button{padding:12px 20px}
.ac-page.ac-history #status{color:#e4f0fb;margin:12px 0 0;font-size:14px}
.ac-page.ac-history .ac-notice{background:#e5eff8;color:#17405e;border-radius:16px;padding:17px 20px;font-size:14px;line-height:1.6}
.ac-page.ac-history .ac-record{margin:20px 0;background:#fff;border:1px solid #e4ebf2;border-left:4px solid var(--ac-red);border-radius:17px;padding:20px 23px;box-shadow:0 6px 19px rgba(6,31,57,.06)}
.ac-page.ac-history .ac-record h2{margin:0 0 12px;font-size:21px}
.ac-page.ac-history .ac-pill{display:inline-block;font-size:12px;color:#174263;background:#e9f2f8;border-radius:999px;padding:5px 11px;font-weight:750}
.ac-page.ac-history .ac-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:17px 0 0}
.ac-page.ac-history .ac-fields dt{font-size:12px;font-weight:700;color:#59748a}
.ac-page.ac-history .ac-fields dd{margin:4px 0 0;overflow-wrap:anywhere;white-space:pre-line;color:#143049}
.ac-page.ac-history #more{display:block;margin:20px auto;padding:12px 26px}
@media(max-width:800px){.ac-page .ac-header .ac-nav{justify-content:center;padding:14px 18px;gap:10px}.ac-page .ac-header .ac-links{order:3;justify-content:center;width:100%;gap:6px 13px}.ac-page .ac-header .ac-tel{font-size:12px;padding:10px}.ac-page .ac-subhero{padding:32px 20px 37px}.ac-page main{width:calc(100% - 32px);margin:22px auto}.ac-page section:not(.ac-subhero){padding:18px}.ac-page.ac-history .ac-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.ac-page.ac-history .ac-panel{padding:17px}.ac-page.ac-history .ac-panel input,.ac-page.ac-history .ac-panel select,.ac-page.ac-history .ac-panel button{min-width:0;width:100%;flex-basis:100%}}
@media(max-width:460px){.ac-page .ac-header .ac-links a{font-size:10px}.ac-page .ac-header .ac-logo img{width:155px;height:40px}.ac-page .ac-header .ac-tel{font-size:11px}.ac-page.ac-history .ac-fields{grid-template-columns:1fr}.ac-page .controls input,.ac-page .controls select,.ac-page .controls button{max-width:none;width:100%}.ac-page .tabs button{font-size:13px;padding:10px 12px}}
