/* Orders and Checkout holds (as in the simulator) */
.todo-call { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.nb-text { white-space: normal; text-align: left; font-weight: 600; padding: 3px 8px; margin: 0 4px 4px 0; border-radius: 8px; }
.stats .alert strong { color: var(--bad); }
.pill { display: inline-block; padding: 4px 9px; background: var(--bg); border-radius: 5px; font-size: 12px; border: 1px solid var(--line); white-space: nowrap; }
.otable td { vertical-align: top; }
.otable .badge { margin: 0 4px 4px 0; }
.lines th.num, .lines td.num, .otable th.num, .otable td.num { text-align: right; }
.lines tfoot td { border-top: 1px solid var(--line); }
.od-head .od-actions { align-self: flex-end; justify-content: flex-end; }
.od-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; }
.od-strip > div { padding: 12px 16px; border-left: 1px solid var(--line); font-size: 12px; color: var(--dim); min-width: 0; white-space: normal; }
.od-strip > div:first-child { border-left: 0; }
.od-strip strong { display: block; color: var(--ink); font-size: 18px; font-weight: 500; margin-top: 2px; font-variant-numeric: tabular-nums; }
.od-strip .alert strong { color: var(--bad); }
.od-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 14px; align-items: start; white-space: normal; }
.od-side .box { padding: 16px; }
.h4 { font-size: 13px; margin: 16px 0 6px; }
.addr { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; margin-bottom: 8px; }
.od-main .box p, .od-side .box p, .bar p { white-space: normal; }
@media (max-width: 980px) {
  .od-grid { grid-template-columns: minmax(0, 1fr); }
  .od-strip { grid-template-columns: 1fr 1fr; }
  .od-strip > div:nth-child(3) { border-left: 0; }
  .od-strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .od-head .od-actions { width: 100%; justify-content: flex-start; }
}
/* Customers */
.idset { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.idset legend { font-size: 13px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 4px; }
.fld.wide { flex: 1 1 280px; }
.note { border-top: 1px solid var(--line); padding: 10px 0; }
.note p { margin: 4px 0 8px; white-space: pre-wrap; overflow-wrap: anywhere; }
.note.pinned { background: var(--warn-t); border-radius: 6px; padding: 10px; border-top: 0; margin-top: 8px; }
.idf[hidden] { display: none; }
.bad-text { color: var(--bad); font-size: 13px; margin: 0 0 6px; }
