/* Transfers (transfers.html) and the big coil/reel tag list after a wire receive (stock.html).
   Colours: only the variables in app.css. Every control a finger can hit sets min-height directly. */

/* ── List ─────────────────────────────────────────────────────── */
.tr-filter .chip { min-height: 48px; min-width: 96px; }
.tr-row { min-height: 64px; }
.page-head .btn { min-height: 48px; }

/* ── One transfer ─────────────────────────────────────────────── */
.tr-lines { border: 0; }
.tr-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; }
.tr-qty { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.tr-qty-main { font-size: 20px; font-weight: 800; white-space: nowrap; }
.tr-qty-sub { font-size: 14px; color: var(--muted); white-space: nowrap; }
.tr-notsent, .tr-short { display: block; font-size: 14px; font-weight: 700; color: var(--danger); }
.tr-big { min-height: 56px; font-size: 19px; }
.tr-foot { margin-top: 16px; }
.tr-foot .btn { min-height: 48px; }
.tr-cancel { min-height: 48px; }

/* ── Load (phone first) ───────────────────────────────────────── */
.tr-card-title { font-size: 19px; font-weight: 800; margin: 0 0 4px; overflow-wrap: anywhere; }
.tr-qlabel { display: grid; grid-template-columns: 1fr minmax(0, 160px); align-items: center; gap: 12px; font-weight: 700; margin-top: 8px; }
.tr-qinput { min-height: 56px; font-size: 22px; font-weight: 700; text-align: right; }
.tr-quick { display: flex; gap: 8px; margin-top: 10px; }
.tr-quick .btn { min-height: 48px; flex: 1; }
.tr-coils { display: grid; gap: 8px; margin-top: 8px; }
.tr-coil {
  display: grid; grid-template-columns: 28px auto 1fr; grid-template-areas: "box tag len" "box where where";
  align-items: center; gap: 2px 12px; min-height: 64px; padding: 10px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer;
}
.tr-coil:has(input:checked) { border-color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.tr-coil input { grid-area: box; width: 26px; height: 26px; min-height: 26px; margin: 0; accent-color: var(--black); }
.tr-coil-tag { grid-area: tag; font-size: 20px; font-weight: 800; }
.tr-coil-len { grid-area: len; font-weight: 700; text-align: right; white-space: nowrap; }
.tr-coil-where { grid-area: where; font-size: 14px; color: var(--muted); }
.tr-wire-total { margin: 10px 0 0; font-weight: 700; }

/* ── New transfer (office) ────────────────────────────────────── */
.tr-field { display: block; }
.tr-field select.input, .tr-field .input { min-height: 48px; }
.tr-two { display: grid; gap: 0 12px; }
@media (min-width: 600px) { .tr-two { grid-template-columns: 1fr 1fr; } }
.tr-newlines { margin-bottom: 16px; }
.tr-newline { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 14px; }
.tr-newq { display: flex; align-items: center; gap: 8px; }
.tr-newq .input { min-height: 48px; max-width: 140px; text-align: right; font-weight: 700; }
.tr-rm { min-height: 44px; justify-self: start; }
@media (min-width: 600px) {
  .tr-newline { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
}
.tr-search { margin-bottom: 8px; }
.tr-results .picker-row { min-height: 56px; }
.sticky-actions .btn { min-height: 56px; }

/* ── Receive: the new coil/reel tags, big (stock.html) ────────── */
.tags-big { list-style: none; margin: 0 0 16px; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.tags-big > li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 16px; }
.tags-big > li + li { border-top: 1px solid var(--line); }
.tags-big-tag { font-size: 36px; font-weight: 800; letter-spacing: .02em; }
.tags-big-len { font-size: 24px; font-weight: 700; white-space: nowrap; }
.tags-print-btn { min-height: 56px; }
.coil-count { min-height: 48px; max-width: 140px; }

/* Print window: one big tag per block, readable from a distance. */
.tag-print { background: var(--white); color: var(--black); margin: 0; padding: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.tag-block { border: 4px solid var(--black); border-radius: 12px; padding: 24px; margin: 0 0 16px; text-align: center; break-inside: avoid; page-break-inside: avoid; }
.tag-block-tag { font-size: 120px; font-weight: 900; line-height: 1; letter-spacing: .02em; }
.tag-block-len { font-size: 56px; font-weight: 800; margin-top: 12px; }
.tag-block-item { font-size: 28px; font-weight: 700; margin-top: 12px; }
.tag-block-sub { font-size: 18px; margin-top: 8px; }
@media print {
  .tag-print { padding: 0; }
  .tag-block { margin: 0 0 12mm; }
}

/* Transfers > Requests (round 4, owner Oct 20 2026): the truck requests, moved here from Low stock. Same look as before
   (po.css "Truck requests"), scoped so the transfer cards keep theirs. */
.tr-views { margin: 0 0 12px; }
.tr-views .tr-view { min-height: 44px; }
.tr-requests .tr-card .tr-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.tr-requests .tr-note { font-size: 16px; margin: 10px 0 0; }
.tr-requests .tr-photo { max-width: 220px; max-height: 160px; border-radius: 10px; margin-top: 10px; display: block; }
.tr-requests .tr-lines { list-style: none; margin: 12px 0 0; padding: 0; }
.tr-requests .tr-line { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--gray-100, #f3f4f6); }
.tr-requests .tr-what { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; font-size: 16px; }
.tr-requests .tr-qty { display: flex; flex-direction: row; align-items: center; gap: 6px; }
.tr-requests .tr-qty .input { width: 84px; min-height: 44px; text-align: center; font-weight: 800; }
.tr-requests .tr-find .input { min-height: 44px; margin-top: 6px; }
.tr-requests .tr-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tr-requests .tr-acts .btn, .tr-requests .tr-acts .input { min-height: 44px; }
.tr-requests .tr-acts .input { width: auto; min-width: 200px; }
.tr-requests .chip { min-height: 44px; }
.tr-requests .picker-row { min-height: 44px; }
