/* Bill status and actions share a quiet, consistent toolbar. */
.customer-header .customer-header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-shrink: 0; }
.customer-bill-count { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.customer-header .customer-new-bill { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 9px 13px; border: 1px solid var(--teal); border-radius: 9px; background: var(--card); color: var(--teal); font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s; }
.customer-new-bill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.customer-header .customer-new-bill span { color: inherit; font: inherit; }
.customer-header .customer-new-bill:hover { background: var(--teal); color: white; }
.customer-header .customer-new-bill:active { background: var(--teal2); border-color: var(--teal2); color: white; }
.customer-header .customer-new-bill:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (max-width: 480px) {
  .customer-header { gap: 12px; }
  .customer-header .customer-header-actions { gap: 8px; }
  .customer-header .customer-new-bill { min-height: 44px; padding: 9px 10px; }
}
.customer-record .record { flex-wrap: wrap; gap: 16px; }
.customer-record .bill-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 0 100%;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.customer-record .bill-actions .button {
  width: auto !important;
  min-height: 42px !important;
  padding: 10px 14px !important;
  gap: 8px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 600;
  line-height: 1.25;
  box-shadow: none !important;
  transform: none;
}
.customer-record .bill-actions .download-bill-button {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
}
.customer-record .bill-actions .whatsapp-bill-button {
  background: var(--soft) !important;
  border: 1px solid var(--line) !important;
  color: var(--teal) !important;
}
.customer-record .bill-actions .delete-bill-button {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--danger) !important;
}
.customer-record .bill-actions .button:hover { filter: brightness(.95); }
.customer-record .bill-actions .button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.bill-control-icon, .delivery-status svg {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.customer-record .delivery-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.customer-record [data-delivery] { margin-right: auto; }
@media (max-width: 650px) {
  .customer-record .bill-actions { justify-content: flex-start; gap: 8px; }
  .customer-record .delivery-status { margin-right: calc(100% - 155px); }
  .customer-record .bill-actions .button { flex: 1 1 auto; padding: 10px !important; font-size: 12px !important; }
  .customer-record .bill-actions [data-delivery] { flex-basis: 100%; }
}
