/* Inventory count (inv_count.js) — the packing scanner's full-screen look (Oct 30).
   Reuses pc3-nav, pc4-scan, pc4-flash, pe-sec / pe-grp / pl-r, pc-chips, pc3-bar.
   Only what those don't cover lives here. Light mode only. */

/* the page: nav + hero + scan box stay put, the groups scroll, one button pinned */
#phoneModal.pu-card .ic5{flex:1;min-height:0;display:flex;flex-direction:column;padding-right:0 !important}
.ic5-top{flex:none}
.ic5-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding-bottom:8px}
.ic5-scroll>*{flex-shrink:0}
.ic5 .pc3-bar{flex:none;margin-top:0}
#phoneModal.pu-card .ic5 .pc3-bar{margin-top:0}

/* nav: the modal ✕ is hidden on this page, so the ⋯ takes the right corner */
.ic5 .pc3-nav{margin:-6px 0 4px 0}
.ic5 .pc3-nav .pl-title{min-width:0}
.ic5-more{justify-self:end;width:40px;height:40px;font-size:20px;line-height:1;font-weight:700;letter-spacing:1px}

/* hero: one big number, one plain line */
.ic5-hero{padding:2px 0 12px}
.ic5-big{font-size:44px;font-weight:700;letter-spacing:-1px;line-height:1.05;font-variant-numeric:tabular-nums;color:var(--ink)}
.ic5-big.ok{color:#0F6B53}
.ic5-line{font-size:15px;color:var(--muted);margin-top:4px}
.ic5-red{color:#A12B21}
.ic5-ok{color:#0F6B53}

/* section labels: red when it's missing or shouldn't be here */
.pe-sec.ic5-bad{color:#A12B21}
.ic5 .pe-sec{padding-left:16px}
.ic5 .pc4-flash{margin-top:10px}

/* rows: full IMEI on line 2 may be followed by the reason; let it wrap rather than cut */
.ic5 .pl-r .l small{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35;margin-top:1px}
.ic5 .pl-dot.no{font-size:11px}
.ic5-acts{border-top:0}
.ic5-acts .mut{flex:1;min-width:0;padding-right:12px;font-size:14px;line-height:1.35;color:var(--muted)}
.ic5-acts .inv-link{flex:none;white-space:nowrap}
.ic5-how{font-size:12px;color:var(--muted)}
.ic5 .pl-r .v.ok{display:inline-flex;align-items:center;gap:6px;color:#0F6B53;font-size:15px}

/* finish step: a row with tap chips under it */
.ic5-fr{background:#fff;padding:12px 16px 10px;font-size:16px}
.ic5-fr+.ic5-fr{border-top:1px solid #EFEBE2}
.ic5-fr .l small{display:block;font-size:13px;color:var(--muted);line-height:1.35;margin-top:1px}
.ic5-fr .pc-chips{display:grid;grid-template-columns:1fr 1fr;margin:10px 0 2px;gap:8px}
.ic5-fr .pc-chip{min-height:44px;padding:6px 8px;font-size:15px;justify-content:center;text-align:center}
.ic5-fr .pc-chips.one{grid-template-columns:1fr 1fr}
.ic5-fnote{font-size:14px;color:var(--muted);line-height:1.4;margin:8px 0 2px}

/* "When you save": each change in plain words */
.ic5-say{background:#fff;padding:12px 16px;font-size:15px;line-height:1.4;color:var(--ink)}
.ic5-say+.ic5-say{border-top:1px solid #EFEBE2}
.ic5-say b{display:block;font-size:15px;font-weight:600;margin-bottom:2px}
.ic5 .pe-note{padding:0 8px}

/* the hint in the scan box reads like the rest of the page; what you type stays monospace */
.ic5 .pc4-scan input::placeholder{font-family:var(--font-ui,system-ui,sans-serif)}
.ic5 .pe-note.ic5-emp{text-align:left;margin:0 0 8px;padding:0 16px}
/* a row with two actions (Kris's count, Oct 30): the help text takes the full width, the actions under it */
.ic5-acts:has(.inv-link + .inv-link){flex-wrap:wrap;row-gap:10px}
.ic5-acts:has(.inv-link + .inv-link) .mut{flex:1 1 100%;padding-right:0}
.ic5-acts:has(.inv-link + .inv-link) .inv-link + .inv-link{margin-left:auto}
.ic5-acts:not(:has(.mut)){justify-content:space-between}   /* moved from scanner.css (Nov 3k) */
