:root{--blue:#1d4ed8;--blue2:#2563eb;--dark:#0f172a;--muted:#64748b;--bg:#f3f6fb;--line:#dbe3ef;--ok:#047857;--warn:#b45309;--bad:#b91c1c}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--dark)}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{max-width:1040px;margin:auto;padding:16px}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(135deg,#0f172a,#1e3a8a)}.login-card{width:100%;max-width:390px;background:#fff;border-radius:22px;padding:26px;box-shadow:0 25px 80px #0005}.logo{width:54px;height:54px;border-radius:16px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:900;font-size:24px;overflow:hidden;flex:0 0 54px}.logo img{width:100%;height:100%;display:block;object-fit:cover}.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);font-weight:800}.title{font-size:25px;margin:8px 0 6px;font-weight:900}.hint{color:var(--muted);font-size:14px;line-height:1.4}.field{width:100%;border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:#fff;outline:none}.field:focus{border-color:var(--blue);box-shadow:0 0 0 3px #2563eb22}.btn{border:0;border-radius:14px;padding:13px 16px;background:var(--blue);color:#fff;font-weight:800}.btn.secondary{background:#e8eef8;color:#1e293b}.btn.danger{background:#dc2626}.btn.ok{background:#059669}.btn.full{width:100%}.topbar{position:sticky;top:0;z-index:10;background:#fff;border-bottom:1px solid var(--line)}.topbar-inner{max-width:1040px;margin:auto;padding:14px 16px;display:flex;align-items:center;gap:14px}.brand{flex:1}.brand h1{margin:1px 0 0;font-size:21px}.tabs{position:sticky;top:77px;z-index:9;background:#fff;border-bottom:1px solid var(--line);overflow:auto;white-space:nowrap}.tabs-inner{max-width:1040px;margin:auto;display:flex;gap:8px;padding:10px 16px}.tab{border:1px solid var(--line);background:#fff;border-radius:999px;padding:10px 14px;font-weight:800;color:#475569}.tab.active{background:var(--blue);color:#fff;border-color:var(--blue)}.grid{display:grid;gap:14px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 8px 20px #1e293b08}.card h2,.card h3{margin:0 0 12px}.label{display:block;font-size:13px;font-weight:800;color:#334155;margin:10px 0 6px}.muted{color:var(--muted);font-size:13px}.row{display:flex;gap:10px;align-items:center}.row>*{min-width:0}.pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#eef2ff;color:#1d4ed8;font-size:12px;font-weight:900}.pill.ok{background:#dcfce7;color:#047857}.pill.warn{background:#fef3c7;color:#92400e}.pill.bad{background:#fee2e2;color:#991b1b}.check{display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:11px;margin:7px 0;background:#f8fafc;font-weight:700}.photo-preview{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.photo-preview img{width:82px;height:82px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}.table{width:100%;border-collapse:collapse;font-size:14px}.table th,.table td{padding:10px;border-bottom:1px solid var(--line);text-align:left}.table th{font-size:12px;color:#475569;text-transform:uppercase}.metric{padding:15px;border:1px solid var(--line);border-radius:16px;background:#f8fafc}.metric strong{font-size:24px;display:block}.alert{padding:13px 14px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-weight:700}.error{padding:12px;border-radius:14px;background:#fee2e2;color:#991b1b;font-weight:800;margin-top:10px}.success{padding:12px;border-radius:14px;background:#dcfce7;color:#166534;font-weight:800;margin-top:10px}.signature{width:100%;height:150px;background:#fff;border:1px dashed #94a3b8;border-radius:14px;touch-action:none}.footer-space{height:28px}@media(max-width:760px){.wrap{padding:12px}.grid.two,.grid.three{grid-template-columns:1fr}.brand h1{font-size:19px}.topbar-inner{gap:10px}.tabs{top:73px}.hide-mobile{display:none}.table{font-size:12px}.table th,.table td{padding:8px 6px}.btn{padding:12px 13px}}

/* Revisión de surtidores v2.1 */
.pump-card{overflow:hidden}.pump-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.pump-head h3{margin-bottom:3px}.pump-head p{margin:0}.pump-face{border:1px solid var(--line);border-radius:16px;padding:14px;margin:12px 0;background:#fbfdff}.pump-face h4{margin:0 0 10px;font-size:16px}.criteria-title{margin:12px 0 7px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:#475569}.criteria-title.safety{color:#1d4ed8}.safety-check{background:#eff6ff;border-color:#bfdbfe}.pump-validate-btn{width:100%;margin-top:4px}.pump-validate-btn:disabled{cursor:default;opacity:1}.validation-help{line-height:1.45;margin:9px 2px 0}@media(max-width:760px){.pump-head{align-items:flex-start;flex-direction:column}.pump-head .pill{align-self:flex-start}}
\n\n/* Revisión de surtidores v2.2 */
.progress-card{position:sticky;top:134px;z-index:7;border-color:#bfdbfe;box-shadow:0 10px 28px #1d4ed81a}.progress-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.progress-head h3{margin-bottom:4px}.progress-head p{margin:0}.progress-track{height:14px;background:#e2e8f0;border-radius:999px;overflow:hidden;margin-top:12px}.progress-bar{height:100%;background:linear-gradient(90deg,#2563eb,#059669);border-radius:999px;transition:width .2s ease}@media(max-width:760px){.progress-card{top:130px}.progress-head{flex-direction:column}.progress-head .pill{align-self:flex-start}}
