.billing-filters {
  gap: 8px;
  margin-bottom: 14px;
}
.billing-month, .billing-filters .account-button, .billing-filters select {
  min-height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-size: 13px;
  line-height: 20px;
  color: var(--ink-2);
  background: var(--surface);
}
.billing-month, .billing-filters .account-button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.billing-month { display: inline-grid; place-items: center; position: relative; }
.billing-month input { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; opacity: 0; }
.billing-month-text span { display: none; }
.billing-month-text input {
  position: static;
  width: 7ch;
  opacity: 1;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: transparent;
}
.billing-month:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.billing-table { margin-bottom: 0; }
.billing-table .account-table-wrap table, .billing-invoices table { font-size: 13.5px; }
.billing-table th, .billing-invoices th { padding: 10px 12px; }
.billing-table td, .billing-invoices td { padding: 12px; color: var(--ink-2); }
.billing-table tr:last-child td, .billing-invoices tr:last-child td { border-bottom: 0; }
.billing-usage :is(th, td):last-child, .billing-orders :is(th, td):nth-child(4) {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.billing-usage td:last-child { font-weight: 650; color: var(--ink); }
.billing-stats .account-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-height: 0;
}
.billing-stats .account-card h3 { margin: 0; color: var(--ink-3); font-size: 13px; font-weight: 400; }
.billing-stats .account-number { font-size: 24px; margin: 4px 0; }
.billing-stats .account-actions { margin-top: 12px; }
.billing-status {
  display: inline-block;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--ink-2);
}
.billing-status.is-paid {
  background: color-mix(in srgb, #1f9d63 13%, var(--surface));
  color: var(--status-paid, #177d4f);
}
[data-theme="dark"] .billing-status { --status-paid: #69ce9e; }
.billing-text-button {
  display: inline;
  border: 0;
  padding: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.billing-text-button:hover, .billing-text-button:focus-visible { text-decoration: underline; color: var(--ink); }
.billing-invoices[hidden] { display: none; }
.billing-invoices:not([hidden]) { margin-top: 14px; }
.billing-invoices .account-form { margin: 0; }
.billing-invoices .account-form:not([hidden]) ~ h3 { margin-top: 20px; }
.billing-pagination { margin: 12px 0; font-size: 13px; }
.billing-note { margin: 0; font-size: 12.5px; }
