/* Colores del tema Liquid de General Seafood (no los de MABS): naranja, navy, celeste, gris carbón. Inter. */
:root{--o:#e86800;--o2:#bd5500;--navy:#000058;--celeste:#00a0d0;--c:#262626;--bg:#fafafa;--card:#fff;--mut:#6a6676;--line:#e6e3ea;--ot:#fff4ea;--cet:#e8f7fc;--okbg:#e9f8ef}
*{box-sizing:border-box}
html,body{max-width:100%;overflow-x:hidden}
body{margin:0;background:var(--bg);color:var(--c);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.4}
button,input,select,textarea{font:inherit}
.top{background:var(--navy);color:#fff;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;z-index:5}
.top .l1{font-size:12px;color:#c9c9e6}.top .l2{font-weight:800;font-size:17px}
.top .chip{font-size:12px;font-weight:700;border-radius:99px;padding:5px 10px;background:#ffffff22;white-space:nowrap}
.chip.ok{background:var(--celeste)}.chip.bad{background:var(--o2)}
.wrap{max-width:560px;margin:0 auto;padding:14px 16px 90px;display:flex;flex-direction:column;gap:12px}
.logo{display:block;margin:18px auto 6px;height:70px;width:auto}
h1{font-size:22px;font-weight:800;color:var(--navy);margin:6px 0}
h2{font-size:17px;font-weight:800;color:var(--navy);margin:4px 0}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:14px}
label{display:block;font-size:13px;font-weight:700;color:var(--mut);margin:8px 0 4px}
input,select,textarea{width:100%;padding:12px;border:1.5px solid var(--line);border-radius:12px;background:#fff;color:var(--c)}
input:focus,select:focus,textarea:focus{outline:2px solid var(--celeste);border-color:var(--celeste)}
.prod{display:flex;justify-content:space-between;align-items:center;gap:10px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px 12px}
.prod .n{font-weight:700}.prod .s{font-size:13px;color:var(--mut)}
.qty{display:flex;align-items:center;gap:10px;flex:0 0 auto}
.qty button{width:44px;height:44px;border-radius:50%;border:0;background:var(--o2);color:#fff;font-size:22px;font-weight:700;cursor:pointer}
.qty button:disabled{background:var(--line);cursor:not-allowed}
.qty b{min-width:22px;text-align:center;font-size:18px}
.btn{text-decoration:none;display:block;border-radius:99px;padding:15px 18px;font-weight:800;font-size:16px;cursor:pointer;width:100%;border:2px solid var(--o2);text-align:center}
.btn.main{background:var(--o2);color:#fff}.btn.sec{background:#fff;color:var(--c);border-color:var(--line)}
.btn.dark{background:var(--navy);color:#fff;border-color:var(--navy)}.btn.okb{background:var(--celeste);color:#fff;border-color:var(--celeste)}
.btn.small{padding:9px 14px;font-size:14px;width:auto;display:inline-block}
.btn:disabled{opacity:.4;cursor:not-allowed}
.row{display:flex;justify-content:space-between;gap:10px;align-items:center}
.btns{display:flex;flex-direction:column;gap:10px}
.total{font-size:22px;font-weight:800;color:var(--navy);border-top:2px solid var(--navy);padding-top:10px}
.warn{background:var(--ot);border-left:4px solid var(--o);padding:10px 12px;border-radius:10px;font-size:14px}
.info{background:var(--cet);border-left:4px solid var(--celeste);padding:10px 12px;border-radius:10px;font-size:14px}
.state{border-radius:18px;padding:22px 16px;text-align:center}
.state .t{font-size:32px;font-weight:900;letter-spacing:.02em;line-height:1.1}.state .d{font-size:15px;margin-top:8px}
.st-wait{background:#fff;border:1.5px solid var(--line);color:var(--navy)}
.st-ok{background:var(--celeste);color:#fff}.st-bad{background:var(--o2);color:#fff}.st-done{background:var(--navy);color:#fff}
.qr{display:flex;justify-content:center;padding:10px;background:#fff;border-radius:14px;border:1px solid var(--line)}
.qr canvas{width:260px;height:260px;image-rendering:pixelated}
.muted{color:var(--mut);font-size:13px}
.err{background:var(--ot);color:var(--o2);border:1px solid var(--o);padding:10px 12px;border-radius:10px;font-weight:700}
.hide{display:none!important}
.locbar{background:var(--o2);color:#fff;font-weight:800;padding:12px 16px;text-align:center;font-size:15px}
/* panel de la oficina */
.office .wrap{max-width:1100px}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{text-align:left;padding:7px 8px;border-bottom:1px solid var(--line);vertical-align:top}
th{background:var(--bg);color:var(--mut);font-size:12px;text-transform:uppercase;letter-spacing:.04em}
td.num,th.num{text-align:right}
.tag{display:inline-block;font-size:12px;font-weight:700;border-radius:99px;padding:2px 9px;background:var(--line)}
.tag.ok{background:var(--okbg);color:#11733b}.tag.bad{background:var(--ot);color:var(--o2)}.tag.info{background:var(--cet);color:#00607e}
.grid2{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px}
.steps{display:flex;gap:6px;flex-wrap:wrap}
.steps .tag{font-size:12px}
.small-in{width:90px;padding:8px}
details summary{cursor:pointer;font-weight:700;color:var(--navy)}
.scroll{overflow-x:auto}
/* guía del conductor (/help) */
.guide .wrap{max-width:820px;gap:14px}
.guide a.chip{color:#fff;text-decoration:none}
.g-head{text-align:center}.g-head h1{font-size:26px;margin:4px 0}.g-head p{margin:6px 0}
.g-rules{border:2px solid var(--o2);background:var(--ot)}
.g-rules ol{margin:6px 0 0 0;padding-left:22px}.g-rules li{margin:6px 0}
.guide h3{font-size:15px;color:var(--navy);margin:10px 0 2px}
.guide ul{padding-left:20px;margin:6px 0}.guide li{margin:4px 0}
.g-row{display:flex;gap:14px;align-items:flex-start}
.g-row>div{flex:1}
.g-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:8px 0}
.shot{margin:0;position:relative}
.shot img{width:170px;max-width:100%;height:auto;border:1px solid var(--line);border-radius:14px;display:block;margin:0 auto}
.g-steps .shot img{width:100%;max-width:200px}
.shot figcaption{font-size:14px;margin-top:6px}
.shot.sample::after{content:"SAMPLE — DO NOT SCAN";position:absolute;left:50%;top:22%;transform:translateX(-50%) rotate(-12deg);background:var(--o2);color:#fff;font-weight:900;font-size:13px;padding:6px 10px;border-radius:8px;white-space:nowrap}
.g-alert{border-top:1px solid var(--line);padding-top:10px;margin-top:6px}
.g-practice{background:var(--cet);border-color:var(--celeste)}
.g-foot{text-align:center;padding:10px 0 30px}
@media (max-width:520px){.g-row{flex-direction:column}.g-row .shot img{width:200px}}
@media print{
  @page{size:Letter;margin:0.45in}
  body{background:#fff;font-size:11.5px}
  .top{position:static;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .noprint{display:none!important}
  .wrap{max-width:none;padding:0}
  .card,.g-rules,.g-practice,.st-ok,.tag{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .card{break-inside:avoid;padding:10px 12px}
  .shot img{width:100px}.g-steps{grid-template-columns:repeat(4,1fr);gap:8px}.g-steps .shot img{max-width:118px}
  .shot figcaption{font-size:11px}.guide h2{font-size:15px}.guide .wrap{gap:8px}.g-head h1{font-size:21px}.g-head p{margin:3px 0}
  .guide table td,.guide table th{padding:3px 6px}.g-foot{padding:4px 0 0;break-inside:avoid}.g-practice{break-after:avoid}
  .shot.sample::after{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .logo{height:56px;margin:4px auto}
}
