/* Customers (= Patients page) — Demo tokens */
.cust-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.cust-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.cust-toolbar .cust-search { flex: 1; min-width: 200px; max-width: 360px; display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border-2); border-radius: 999px; padding: 0 16px; height: 42px; }
.cust-toolbar .cust-search input { border: 0; height: auto; padding: 0; background: transparent; }
.cust-toolbar .cust-search input:focus { box-shadow: none; }
.tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tag-pill { border: 1px solid var(--border-2); background: var(--card); border-radius: 999px; padding: 0 13px; height: 32px; font-size: 12.5px; font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.tag-pill .dot { width: 8px; height: 8px; border-radius: 50%; }
.tag-pill.active { background: var(--primary); color: #fff; border-color: transparent; }
.table-card { padding: 8px 20px 16px; overflow-x: auto; }
.cust-name-cell { display: flex; align-items: center; gap: 11px; }
.cust-name-cell b { display: block; font-size: 14px; }
.cust-name-cell span { font-size: 12px; color: var(--muted-2); }
.profile-layout { display: grid; grid-template-columns: 340px 1fr; gap: 14px; align-items: start; }
.profile-card { padding: 20px; }
.profile-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.profile-head { display: flex; gap: 14px; align-items: center; }
.timeline-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--hairline); font-size: 13px; }
.timeline-item:last-child { border-bottom: 0; }
.timeline-item .t-time { color: var(--muted-2); white-space: nowrap; }
.notes-area { width: 100%; min-height: 110px; }
@media (max-width: 1000px) {
  .cust-stats { grid-template-columns: repeat(2, 1fr); }
  .profile-layout { grid-template-columns: 1fr; }
}

/* New-customer modal polish (visual only): the First/Last name row sits
   side-by-side, and every input in this form shares one uniform style.
   Scoped to #new-cust-form so no other modal or screen changes. */
#new-cust-form .nc-row { display: flex; gap: 12px; }
#new-cust-form .nc-field { flex: 1 1 0; min-width: 0; }
#new-cust-form input { width: 100%; height: 42px; background: var(--raised); border: 1px solid var(--border-2); border-radius: 999px; padding: 0 16px; outline: none; font-size: 14px; color: var(--ink); }
#new-cust-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
#new-cust-form .modal-actions { gap: 12px; }
@media (max-width: 480px) {
  #new-cust-form .nc-row { flex-direction: column; gap: 0; }
}
