.app-page { display: grid; grid-template-columns: minmax(0, 420px) auto; gap: 44px; justify-content: center; align-items: start; padding: 28px 24px; }
.app-side { padding: 26px 28px 28px 56px; border-top: 6px solid var(--acc, var(--amarillo)); box-shadow: 0 2px 0 var(--rey-hondo); }
.app-side h1 { font-size: 30px; line-height: 1.1; }
.app-side > p { color: var(--muted); margin-top: 10px; font-size: 15px; max-width: 46ch; }
.app-side ul { margin: 18px 0 0; padding: 14px 0 0; list-style: none; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.app-side li { font-size: 14px; color: var(--muted); padding-left: 20px; position: relative; }
.app-side li::before { content: ''; position: absolute; left: 0; top: 6px; width: 10px; height: 10px; border-radius: 2px; background: var(--acc, var(--amarillo)); }
.app-side li b { color: var(--ink); }
.app-side .btn { margin-top: 18px; }
.app-side .fld select { border: 1.5px solid var(--line) !important; border-radius: 5px !important; }

/* app */
.ap { background: #F3F5F9; }
.ap__bar { background: var(--rey); color: #fff; padding: 34px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 4px solid var(--acc, var(--amarillo)); }
.ap__bar img { height: 34px; width: auto; border-radius: 4px; background: #fff; }
.ap__bar b { display: block; font-size: 15px; font-weight: 800; }
.ap__bar > div { min-width: 0; }
.ap__bar span { display: block; font-size: 12px; color: #D3E0F5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ap__net { flex: none; white-space: nowrap; margin-left: auto; border: 0; border-radius: 16px; padding: 5px 10px; font: 700 11.5px var(--sans); display: flex; align-items: center; gap: 6px; background: rgb(255 255 255 / .12); color: #fff; }
.ap__net::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 2px #fff; }
.ap__net[aria-pressed="true"]::before { background: var(--rojo); box-shadow: 0 0 0 2px #fff; }
.ap__body { flex: 1; overflow-y: auto; padding: 14px; }
.ap__back { border: 0; background: none; color: var(--rey); font-weight: 700; padding: 0 0 10px; font-size: 14px; }
.ap h2 { font-size: 19px; }
.ap .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.prog { margin: 12px 0 14px; }
.prog__t { height: 8px; background: #DCE2EC; border-radius: 2px; overflow: hidden; }
.prog__t i { display: block; height: 100%; background: var(--acc, var(--amarillo)); }
.prog small { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 5px; }
.li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; margin-bottom: 8px; border-width: 1.5px; width: 100%; text-align: left; }
.li__n { width: 28px; height: 28px; border-radius: 4px; background: var(--fog); display: grid; place-items: center; font: 700 12px var(--mono); color: var(--ink); }
.li--done .li__n { background: var(--verde); color: #fff; }
.li--skip .li__n { background: #E2E8EE; }
.li--bad .li__n { background: var(--red); color: #fff; }
.li b { display: block; font-size: 14px; }
.li small { color: var(--muted); font-size: 12px; display: block; line-height: 1.35; }
.pill { font: 800 11px var(--sans); padding: 4px 8px; border-radius: 4px; background: var(--fog); color: var(--muted); white-space: nowrap; }
.pill--ok { background: var(--verde); color: #fff; }
.pill--warn { background: var(--amarillo); color: var(--ink); }
.pill--bad { background: var(--rojo); color: #fff; }
.cardx { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 13px; margin-top: 10px; border-width: 1.5px; }
.cardx h3 { font: 800 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cardx p { font-size: 13.5px; }
.cardx .sum { font-size: 13px; }
.bigbtn { display: block; width: 100%; border: 0; border-radius: 6px; padding: 14px; font: 800 15px var(--sans); background: var(--ink); color: #fff; margin-top: 10px; text-align: center; text-decoration: none; }
.bigbtn--ok { background: var(--verde); }
.bigbtn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.bigbtn--warn { background: #fff; color: #C4202A; border: 1.5px solid #C4202A; }
.bigbtn[disabled] { opacity: .45; }
.search { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: #fff; font-size: 14.5px; border-width: 1.5px; }
.chipsx { display: flex; gap: 6px; overflow-x: auto; margin: 10px 0; scrollbar-width: none; }
.chipsx button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; color: var(--ink); border: 1.5px solid var(--line); }
.chipsx button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.prow { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 8px; margin-bottom: 7px; }
.prow .pimg { width: 52px; height: 52px; border-radius: 4px; object-fit: cover; overflow: hidden; display: block; }
.prow b { display: block; font-size: 13px; line-height: 1.25; }
.prow small { color: var(--muted); font-size: 11.5px; }
.prow .pr { font: 700 12.5px var(--mono); letter-spacing: -.03em; margin-top: 2px; }
.step { display: flex; align-items: center; gap: 2px; }
.step button { width: 30px; height: 30px; border-radius: 5px; border: 1.5px solid var(--ink); background: #fff; font-weight: 800; font-size: 16px; line-height: 1; }
.step input { width: 38px; text-align: center; border: 0; font-weight: 700; font-size: 14px; background: none; }
.step--on button:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.ap__foot { padding: 10px 14px 14px; background: #fff; border-top: 1px solid var(--line); }
.ap__foot .bigbtn { margin-top: 0; }
.fl { display: grid; gap: 5px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.fl input, .fl select, .fl textarea { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; background: #fff; font-size: 14.5px; font-weight: 500; border-width: 1.5px; color: var(--ink); }
.radios { display: grid; gap: 7px; margin-top: 10px; }
.radios label { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 11px 12px; font-size: 14px; border-width: 1.5px; }
.radios input { accent-color: var(--ink); width: 16px; height: 16px; }
.sign { margin-top: 6px; background: #fff; border: 1.5px dashed #9AA6BA; border-radius: 6px; position: relative; }
.sign canvas { display: block; width: 100%; height: 150px; touch-action: none; }
.sign button { position: absolute; right: 8px; top: 8px; }
.sign small { position: absolute; left: 12px; bottom: 8px; color: #9aa8b5; font-size: 11.5px; pointer-events: none; }
.photo { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.photo img { width: 80px; height: 80px; object-fit: cover; border-radius: 5px; border: 1.5px solid var(--line); }
.done { text-align: center; padding: 30px 8px 10px; }
.done__ic { width: 64px; height: 64px; border-radius: 8px; background: var(--verde); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.done__ic--off { background: var(--amarillo); color: var(--ink); }
.done h2 { font-size: 21px; }
.done p { color: var(--muted); margin-top: 8px; font-size: 14px; }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 4px 0; }
.kv span { color: var(--muted); }
.offbar { background: var(--amarillo); color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 8px 14px; }

@media (max-width: 900px) {
  .app-page { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .app-side { display: none; }
  .app-page .phone { justify-self: center; }
}
@media (max-width: 560px) { .ap__bar { padding-top: 12px; } }

/* repartidor: resumen de lo que debe cargar */
.carga { border-left: 4px solid var(--amarillo); }
.carga summary { cursor: pointer; display: flex; flex-direction: column; gap: 2px; list-style: none; }
.carga summary::-webkit-details-marker { display: none; }
.carga summary b { font-size: 15px; } .carga summary small { font-size: 12.5px; color: var(--muted); }
.carga summary::after { content: 'Ver lista'; font-size: 12px; font-weight: 700; color: var(--rey); margin-top: 4px; }
.carga[open] summary::after { content: 'Ocultar lista'; }
.carga .sum td:last-child { font-family: var(--mono); font-weight: 700; }
