/* Scope Records on top of the shared MedStock styles */
input, select, textarea { font-size: max(16px, 1em); } /* iPhone zooms into smaller fields */
#devbar { position: sticky; top: 0; z-index: 30; background: #c2410c; color: #fff; text-align: center; font-weight: 700; font-size: .8rem; padding: 4px 8px; letter-spacing: .02em; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick button { min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: .95rem; cursor: pointer; }
.pick button.on { background: var(--brand-2); border-color: var(--brand-2); color: #fff; }
.pick.big button { flex: 1 1 140px; border-radius: 12px; min-height: 52px; font-weight: 600; }
.recno { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .02em; }
.escalate { border: 2px solid var(--bad); background: var(--bad-bg); color: var(--bad); border-radius: 12px; padding: 12px; font-weight: 600; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 1.1rem; }
.bars { display: grid; gap: 6px; }
.bars .bar { display: grid; grid-template-columns: minmax(0, 9em) 1fr 2.5em; gap: 8px; align-items: center; font-size: .9rem; }
.bars .bar i { display: block; height: 14px; border-radius: 4px; background: var(--brand-2); }
.bars .bar b { text-align: right; font-variant-numeric: tabular-nums; }
.hours { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; align-items: end; height: 90px; }
.hours i { display: block; background: var(--brand-2); border-radius: 2px 2px 0 0; min-height: 2px; }
.hours-axis { display: grid; grid-template-columns: repeat(4, 1fr); font-size: .75rem; color: var(--muted); margin-top: 4px; }
