.dashboard-page {
  --navy: light-dark(#f7f8fa, #13161e);
  --ink: light-dark(#202737, #f0f1f5);
  --muted: light-dark(#576278, #acb5c5);
  --rule: light-dark(#e0e4eb, #323947);
  --tint: light-dark(#f4f5f9, #232934);
  --purple: light-dark(#5145bc, #b6acff);
  --dash-surface: light-dark(#fff, #1b202a);
  --dash-soft: light-dark(#efedfc, #302c47);
  --dash-edge: light-dark(#b9c1d0, #555f70);
  --dash-positive: light-dark(#18674b, #90e1bb);
  --dash-warn: light-dark(#82520a, #f5cb85);
  --dash-negative: light-dark(#a1373b, #ffb6b2);
  min-height: 100vh;
  background: var(--navy);
  color: var(--ink);
}
.dashboard-page .wrap { width: min(calc(100% - 48px), 1392px); }
.dashboard-page .mast { background: var(--dash-surface); border-bottom: 1px solid var(--rule); }
.dashboard-page .mast-inner { height: 62px; justify-content: flex-start; gap: 14px; border: 0; }
.dashboard-page .controls { margin-inline-start: auto; }
.dashboard-page .mast-inner > .dash-user:last-child { margin-inline-start: auto; }
.dashboard-page .mast-inner .controls + .dash-user:last-child { margin-inline-start: 0; }
.dash-user { position: relative; padding-inline-start: 14px; border-inline-start: 1px solid var(--rule); }
.dash-user summary { display: flex; align-items: center; gap: 8px; min-height: 38px; color: var(--ink); font-size: .87rem; font-weight: 580; list-style: none; }
.dash-user summary::-webkit-details-marker { display: none; }
.dash-user summary::after { content: ''; width: 5px; height: 5px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.dash-user-mark, .dash-store-mark { display: grid; place-items: center; flex: none; font-weight: 630; }
.dash-user-mark { width: 28px; height: 28px; border-radius: 50%; color: var(--purple); background: var(--dash-soft); }
.dash-user-name { max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-user-menu { position: absolute; inset: calc(100% + 5px) 0 auto auto; min-width: 132px; z-index: 5; border: 1px solid var(--rule); border-radius: 8px; padding: 4px; background: var(--dash-surface); box-shadow: 0 6px 22px #1218251a; }
.dash-user-menu :is(a, button) { display: block; text-decoration: none; font: inherit; white-space: nowrap; width: 100%; border: 0; border-radius: 5px; padding: 7px 10px; background: transparent; color: var(--ink); text-align: start; }
.dash-user-menu :is(a, button):hover { background: var(--tint); }
.dash-skip { position: fixed; left: 12px; top: -6rem; z-index: 9; padding: 8px 14px; background: var(--dash-surface); }
.dash-skip:focus { top: 12px; }
.dash-shell { display: grid; grid-template-columns: clamp(166px, 14vw, 198px) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 54px); }
.dash-sidebar { align-self: start; position: sticky; top: 12px; padding-block: 32px 18px; }
.dash-nav, .dash-shortcuts { display: grid; gap: 4px; }
.dash-nav a, .dash-shortcuts a { display: flex; align-items: center; gap: 11px; min-width: 0; border-radius: 7px; padding: 9px 12px; color: var(--muted); font-size: .92rem; font-weight: 530; text-decoration: none; }
.dash-nav a:hover, .dash-shortcuts a:hover { color: var(--ink); background: var(--tint); }
.dash-nav a[aria-current] { color: var(--purple); background: var(--dash-soft); font-weight: 650; }
.dash-nav-icon { position: relative; width: 16px; height: 16px; flex: none; }
.dash-nav-icon::before, .dash-nav-icon::after { position: absolute; box-sizing: border-box; content: ''; }
.nav-overview::before { left: 1px; top: 1px; width: 6px; height: 6px; background: currentColor; border-radius: 1.5px; box-shadow: 8px 0, 0 8px, 8px 8px; }
.nav-invoices::before { inset: 0 2px; border: 1.5px solid; border-radius: 2px; }
.nav-invoices::after { inset: 5px 5px auto; height: 1.5px; background: currentColor; box-shadow: 0 4px; }
.nav-projects::before { inset: 4px 0 1px; border: 1.5px solid; border-radius: 2px; }
.nav-projects::after { inset: 2px auto auto 1px; width: 7px; height: 3px; border: solid; border-width: 1.5px 1.5px 0 1.5px; border-radius: 2px 2px 0 0; }
.nav-security::before { inset: 7px 2px 0; border: 1.5px solid; border-radius: 2px; }
.nav-security::after { inset: 1px 4px auto; height: 7px; border: solid; border-width: 1.5px 1.5px 0; border-radius: 5px 5px 0 0; }
.dash-shortcuts { border-top: 1px solid var(--rule); margin-top: 20px; padding-top: 19px; }
.dash-shortcuts a { padding-block: 6px; color: var(--ink); font-weight: 500; }
.dash-shortcuts a[aria-current] { color: var(--purple); font-weight: 630; }
.dash-shortcuts a > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dash-store-mark { width: 23px; height: 23px; border: 1px solid var(--rule); border-radius: 6px; background: var(--dash-surface); font-size: .73rem; }
.dash-heading, .dash-title-row, .dash-section-head, .dash-network-label, .dash-pager { display: flex; align-items: center; }
.dash-heading, .dash-section-head { justify-content: space-between; gap: 14px; }
.dash-main { min-width: 0; padding-block: 32px 72px; }
.dash-heading { margin-bottom: 23px; flex-wrap: wrap; }
.dash-heading h1, .dash-login h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 620;
  line-height: 1.13;
  letter-spacing: -.018em;
  overflow-wrap: anywhere;
}
.dash-title-row { flex-wrap: wrap; gap: 10px 16px; }
.dash-caption, .dash-description { color: var(--muted); margin-top: 8px; }
.dash-caption code, .dash-caption strong { color: var(--ink); font-weight: 560; overflow-wrap: anywhere; }
.dash-back { display: inline-block; color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.dash-main h2 {
  font-size: clamp(1.08rem, 1.75vw, 1.28rem);
  line-height: 1.3;
  font-weight: 620;
  letter-spacing: -.008em;
}
.dash-section { min-width: 0; }
.dash-section + .dash-section, .dash-columns + .dash-section, .dash-section + .dash-columns { margin-top: 30px; }
.dash-section-head { flex-wrap: wrap; gap: 5px 15px; }
.dash-section-head a { font-size: .92rem; }
.dash-periods { display: flex; flex-wrap: wrap; gap: 2px; }
.dash-periods a { padding: 5px 9px; border-radius: 5px; color: var(--muted); text-decoration: none; }
.dash-periods a:hover, .dash-periods a[aria-current] { background: var(--dash-soft); color: var(--purple); }
.dash-periods a[aria-current] { font-weight: 650; box-shadow: inset 0 -2px currentColor; }
.dash-receipts { margin-top: 20px; }
.dash-receipts h3 { font-size: 1.05rem; font-weight: 620; margin-bottom: 4px; }
.dash-receipts .dash-empty, .dash-receipts-table { margin-top: 10px; }
.dash-receipts-table {
  width: 100%; border: 1px solid var(--rule); border-radius: 12px; border-spacing: 0;
  background: var(--dash-surface); font-variant-numeric: tabular-nums;
}
.dash-receipts-table th, .dash-receipts-table td { text-align: end; vertical-align: top; padding: 12px 16px; }
.dash-receipts-table thead th { color: var(--muted); font-weight: 560; font-size: .82rem; }
.dash-receipts-table th:first-child { text-align: start; }
.dash-receipts-table tbody :is(th, td) { border-top: 1px solid var(--rule); }
.dash-receipt-asset { display: flex; align-items: center; gap: 10px; }
.dash-receipt-asset img { flex: none; }
.dash-receipt-asset small { display: block; color: var(--muted); font-size: .8rem; font-weight: 450; }
.dash-receipt-fiat { display: block; }
.dash-receipt-networks { margin: 6px 0 0; color: var(--muted); font-size: .8rem; }
.dash-receipt-networks div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 9px; }
.dash-receipt-networks dd { margin: 0; }
@media (max-width: 760px) {
  .dash-periods { row-gap: 4px; }
  .dash-receipts-table, .dash-receipts-table tbody { display: block; }
  .dash-receipts-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .dash-receipts-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 16px; padding: 14px; }
  .dash-receipts-table tr + tr { border-top: 1px solid var(--rule); }
  .dash-receipts-table tbody :is(th, td) { padding: 0; border: 0; overflow-wrap: anywhere; }
  .dash-receipts-table tbody th, .dash-receipts-table td:nth-child(2) { grid-column: 1 / -1; text-align: start; }
  .dash-receipts-table td:nth-child(3) { text-align: start; }
  .dash-receipt-networks div { justify-content: flex-start; }
}
.dash-section > h2:first-child, .dash-section-head { margin-bottom: 13px; }
.dash-card, .dash-metric, .dash-projects, .dash-table, .dash-empty, .dash-filters {
  background: var(--dash-surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
}
.dash-card { min-width: 0; padding: clamp(17px, 2.6vw, 27px); }
.dash-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 20px; }
.dash-actions { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.dash-single { max-width: 650px; }
.dash-setup { max-width: 850px; }
.dash-empty { color: var(--muted); padding: 18px 20px; }
.dash-section .dash-empty { margin: 0; }
.dash-alert, .dash-notice {
  border-inline-start: 3px solid currentColor;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 18px;
}
.dash-alert { color: var(--dash-negative); background: light-dark(#fff1ef, #38252c); }
.dash-notice { color: var(--dash-positive); background: light-dark(#eaf8f1, #19392f); }
.dash-metrics { display: grid; gap: 8px; }
.dash-metric { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); align-items: center; gap: 20px; padding: 17px 20px; min-width: 0; }
.dash-metric h3, .dash-qr h3 { color: var(--muted); font-size: .84rem; font-weight: 550; }
.dash-value, .dash-payment-lead strong { font-size: clamp(1.65rem, 2.9vw, 2.25rem); font-weight: 620; letter-spacing: -.025em; line-height: 1.22; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dash-value { margin-top: 4px; }
.dash-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.dash-counts > div { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; border-inline-start: 1px solid var(--rule); padding-inline-start: clamp(9px, 1.6vw, 24px); }
.dash-counts dt, .dash-cell-label, .dash-sub { color: var(--muted); font-size: .8rem; }
.dash-counts dd { margin-top: 3px; font-size: 1.15rem; font-variant-numeric: tabular-nums; font-weight: 600; }
.dash-projects, .dash-codes { margin: 0; padding: 0; list-style: none; }
.dash-projects { overflow: hidden; }
.dash-projects li + li { border-top: 1px solid var(--rule); }
@media (min-width: 761px) { .dash-table tbody tr + tr > td { border-top: 1px solid var(--rule); } }
.dash-project-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 15px;
  padding: 14px 18px;
  color: var(--ink);
  text-decoration: none;
}
.dash-project-link::after {
  content: "";
  width: .45em;
  height: .45em;
  border: solid var(--muted);
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}
.dash-project-link:hover, .dash-project-link:focus-visible { background: var(--dash-soft); }
.dash-project-link:focus-visible { outline-offset: -3px; }
.dash-project-id { display: grid; gap: 2px; overflow-wrap: anywhere; }
.dash-project-id code, .dash-project-meta > span:first-child { font-size: .83rem; color: var(--muted); }
.dash-project-meta { display: grid; grid-template-columns: 3.5ch minmax(6.5em, auto); align-items: center; gap: 12px; }
.dash-status {
  display: inline-flex; align-items: center; gap: 5px; width: fit-content; max-width: 100%; padding: 3px 8px;
  border-radius: 6px; color: var(--muted); background: var(--tint); font-size: .78rem; line-height: 1.35; font-weight: 620;
}
.dash-status::before { content: ""; width: 5px; height: 5px; flex: none; background: currentColor; border-radius: 50%; }
.dash-status:is([data-state="active"], [data-state="paid"]) { color: var(--dash-positive); background: light-dark(#e7f5ec, #18382c); }
.dash-status:is([data-state="open"], [data-state="partial"], [data-state="review"]) { color: var(--dash-warn); background: light-dark(#fcf0d8, #3b301d); }
.dash-status[data-state="confirming"] { color: var(--purple); background: var(--dash-soft); }
.dash-table { width: 100%; border-spacing: 0; table-layout: fixed; overflow: hidden; font-size: .89rem; }
.dash-table th, .dash-table td { text-align: start; padding: 11px clamp(10px, 1.4vw, 20px); vertical-align: middle; }
.dash-table th, .dash-receipts-table thead th { background: var(--tint); color: var(--muted); font-size: .77rem; font-weight: 590; }
.dash-table th { border-bottom: 1px solid var(--rule); }
.dash-table th:nth-child(1) { width: 23%; }
.dash-table th:nth-child(2) { width: 25%; }
.dash-table th:nth-child(3) { width: 32%; }
.dash-table th:last-child, .dash-table td:last-child { text-align: end; }
.dash-table tbody tr:hover, .dash-table tbody tr:focus-within { background: var(--navy); }
.dash-order-code, .dash-order-link, .dash-sub:is(code) { font-family: var(--mono); }
.dash-table .dash-order-link, .dash-order-code { display: block; width: fit-content; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; font-weight: 570; line-height: 1.65; }
.dash-order-link, .dash-store-link { text-decoration: none; }
.dash-order-link:hover, .dash-store-link:hover { text-decoration: underline; }
.dash-store-link, .dash-method, .dash-invoice-date small, .dash-webhook-wait { display: block; color: var(--muted); font-size: .75rem; }
.dash-store-link { width: fit-content; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dash-method, .dash-detail-method { display: inline-flex; gap: 6px; align-items: center; }
.dash-invoice-amount .dash-method { display: flex; margin-top: 2px; }
.dash-method img, .dash-detail-method img { flex: none; }
.dash-invoice-date time { display: inline-grid; font-size: .84rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-number { font-variant-numeric: tabular-nums; font-weight: 630; }
.dash-invoice-amount strong { font-size: .99rem; overflow-wrap: anywhere; }
.dash-sub { display: block; margin-top: 3px; line-height: 1.4; }
.dash-cell-label { display: none; }
.transfer-compact { margin-top: 1px; }
.transfer-compact a, .transfer-compact summary { font-size: .76rem; font-weight: 520; }
.transfer-compact a { border: 0; border-radius: 3px; padding: 2px 1px; min-height: 24px; }
.transfer-compact a:hover { text-decoration: underline; background: transparent; }
.transfer-compact small, .dash-webhook-wait { font-size: .73rem; line-height: 1.4; }
.dash-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--dash-edge);
  border-radius: 7px;
  background: var(--dash-surface);
  color: var(--ink);
  font: inherit;
  font-size: .92rem;
  font-weight: 620;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.dash-button:hover { background: var(--tint); }
.dash-primary { color: light-dark(#fff, #140d38); background: light-dark(#604bd5, #aa98ff); border-color: transparent; }
.dash-primary:hover { background: light-dark(#4936b5, #c2b4ff); }
.dash-form { display: grid; gap: 14px; margin-top: 18px; }
.dash-form-row, .dash-wallet-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.dash-form label { display: block; min-width: 0; color: var(--ink); font-size: .91rem; font-weight: 600; }
.dash-form input:not([type="hidden"]), .dash-form select {
  display: block;
  width: 100%;
  min-width: 0;
  height: 42px;
  margin-top: 5px;
  padding: 7px 10px;
  border: 1px solid var(--dash-edge);
  border-radius: 6px;
  background: var(--dash-surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.dash-form input::placeholder { color: var(--muted); }
.dash-form input:focus-visible, .dash-form select:focus-visible { border-color: var(--purple); }
.dash-form input[autocomplete="one-time-code"] { font-family: var(--mono); }
.dash-unit { color: var(--muted); font-size: .83rem; font-weight: 500; }
.dash-field-help { margin-top: -9px; font-size: .85rem; color: var(--muted); }
.dash-filter-panel { margin: 0 0 16px; }
.dash-filter-panel > summary { padding: 9px 13px; border: 1px solid var(--rule); border-radius: 8px; background: var(--dash-surface); color: var(--ink); font-size: .9rem; font-weight: 580; }
@media (min-width: 601px) { .dash-filter-panel[open] > summary { display: none; } }
.dash-filters { margin: 0; padding: 16px; align-items: end; grid-template-columns: minmax(145px, 1.45fr) repeat(3, minmax(0, 1fr)) auto; }
.dash-filters .dash-button { min-height: 42px; }
.dash-pager { justify-content: center; gap: 16px; margin-top: 18px; }
.dash-pager > span { color: var(--muted); font-size: .91rem; }
.dash-fieldset { min-width: 0; border: 0; border-top: 1px solid var(--rule); padding: 12px 0 0; margin: 7px 0; }
.dash-fieldset legend { padding: 0 12px 0 0; font-weight: 620; }
.dash-fieldset > p { margin: -2px 0 13px; color: var(--muted); font-size: .9rem; }
.dash-wallet-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dash-network-label { gap: 7px; overflow-wrap: anywhere; }
.dash-network-label img { flex: none; }
.dash-facts { margin-top: 14px; }
.dash-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 12px; align-items: baseline; padding: 7px 0; }
.dash-facts > div + div { border-top: 1px solid var(--rule); }
.dash-facts dt { color: var(--muted); font-size: .9rem; }
.dash-facts dd { text-align: end; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dash-project-form { max-width: 32rem; margin-top: 0; }
.dash-payment-settings {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  align-items: start; gap: 24px clamp(24px, 4vw, 56px); margin-top: 20px;
}
.dash-endpoints { display: grid; gap: 18px; }
.dash-endpoints dt, .dash-settings-table thead th { color: var(--muted); font-size: .82rem; font-weight: 550; }
.dash-endpoints dt { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dash-endpoints dd { margin-top: 4px; }
.dash-endpoints code { min-width: 0; font-size: .85rem; overflow-wrap: anywhere; user-select: all; }
.dash-settings-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dash-settings-table caption { text-align: start; font-weight: 600; margin-bottom: 7px; }
.dash-settings-table th, .dash-settings-table td { padding: 7px 0; text-align: start; font-weight: 500; line-height: 1.35; }
.dash-settings-table tr > :last-child { text-align: end; padding-inline-start: 12px; }
.dash-settings-table tbody tr + tr { border-top: 1px solid var(--rule); }
.dash-settings-table thead { border-bottom: 1px solid var(--rule); }
.dash-settings-table .dash-network-label { gap: 9px; }
.dash-settings-table .dash-network-label:has(img) { white-space: nowrap; }
.dash-address-count { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-methods-table { max-width: 34rem; margin-top: 12px; }
.dash-disclosure { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--rule); }
.dash-disclosure summary { color: var(--purple); font-weight: 600; width: fit-content; max-width: 100%; }
.dash-disclosure .dash-form { margin-top: 12px; }
.dash-history-link { display: inline-block; margin-top: 12px; font-size: .91rem; }
.dash-ledger { margin: 12px 0 0; padding: 0; list-style: none; }
.dash-ledger li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: baseline; gap: 12px; padding-block: 10px; font-size: .91rem; overflow-wrap: anywhere; }
.dash-ledger li + li { border-top: 1px solid var(--rule); }
.dash-ledger-value { text-align: end; }
#billing-history h3 { font-size: 1.05rem; font-weight: 620; }
.dash-qr { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-block: 17px 20px; }
.dash-qr > div { flex: 1 1 195px; min-width: 0; }
.dash-qr img { max-width: 100%; height: auto; background: white; border: 1px solid var(--rule); border-radius: 5px; image-rendering: pixelated; }
.dash-key-list, .dash-codes { margin-block: 18px 22px; }
.dash-key-list > div + div { margin-top: 15px; }
.dash-key-list dt { font-size: .9rem; font-weight: 600; }
.dash-secret { display: block; margin-top: 5px; border: 1px solid var(--rule); border-radius: 6px; padding: 10px; background: var(--tint); overflow-wrap: anywhere; user-select: all; }
.dash-codes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr)); gap: 8px; }
.dash-codes li { padding: 7px 10px; background: var(--tint); border-radius: 5px; overflow-wrap: anywhere; }
.dash-codes code { user-select: all; }
.dash-login { display: grid; justify-items: center; padding-block: clamp(32px, 9vh, 100px); }
.dash-login h1 { font-size: clamp(1.55rem, 3.6vw, 1.95rem); }
.dash-signin { width: min(100%, 408px); padding: clamp(20px, 3vw, 32px); }
.dash-signin .dash-form { margin-top: 22px; }
.dash-signin .dash-alert { margin-top: 13px; }
.dash-signin .dash-button { width: 100%; }

.dash-section-head > a, .dash-back { text-decoration: none; }
.dash-section-head > a:hover, .dash-back:hover { text-decoration: underline; }
.dash-section-head > a::after { content: ' ›'; }
.dash-back::before { content: '‹ '; }
.dash-periods { border: 1px solid var(--rule); padding: 2px; border-radius: 7px; background: var(--dash-surface); }
.dash-periods a { font-size: .79rem; }
.dash-periods a[aria-current] { box-shadow: none; }
.dash-receipts-table { overflow: hidden; table-layout: fixed; }
.dash-receipts-table thead th:first-child { width: 23%; }
.dash-receipts-table thead th:nth-child(2) { width: 40%; }
.dash-receipts-table thead th:last-child { width: 14%; }
.dash-receipts-table td { overflow-wrap: anywhere; }
.dash-receipt-count { display: inline-grid; justify-items: end; gap: 3px; }
.dash-receipt-count meter { width: 36px; height: 5px; border: 0; border-radius: 4px; background: var(--rule); appearance: none; }
.dash-receipt-count meter::-webkit-meter-bar { height: 5px; border: 0; border-radius: 4px; background: var(--rule); }
.dash-receipt-count meter::-webkit-meter-optimum-value { border-radius: 4px; background: var(--purple); }
.dash-receipt-count meter::-moz-meter-bar { border-radius: 4px; background: var(--purple); }
.dash-payment-lead { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin-block: 12px 18px; }
.dash-identifiers { margin-top: 17px; border-top: 1px solid var(--rule); padding-top: 14px; }
.dash-identifiers dl { display: grid; gap: 9px; }
.dash-identifiers dt, .dash-timeline dd { color: var(--muted); font-size: .82rem; }
.dash-identifiers dt { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dash-identifiers code { display: block; min-width: 0; font-size: .85rem; word-break: break-all; user-select: all; }
.dash-copy { display: none; min-height: 28px; border: 1px solid var(--rule); border-radius: 5px; padding: 3px 7px; background: var(--dash-surface); color: var(--purple); font-size: .76rem; }
.copy-ready .dash-copy { display: inline-block; }
.dash-copy:hover { background: var(--tint); }
.dash-copy-feedback:not(:empty) { margin-top: 6px; font-size: .8rem; color: var(--muted); }
.dash-timeline { margin-block-start: 17px; }
.dash-timeline > div { position: relative; padding: 0 0 16px 21px; }
.dash-timeline > div:last-child { padding-bottom: 0; }
.dash-timeline > div:not(:last-child)::after { content: ''; position: absolute; left: 4px; top: 15px; bottom: -3px; width: 1px; background: var(--rule); }
.dash-timeline > div::before { content: ''; position: absolute; left: 0; top: 5px; width: 9px; height: 9px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--dash-edge); }
.dash-timeline > .is-complete::before { background: var(--dash-positive); border-color: var(--dash-positive); }
.dash-timeline dt { font-size: .91rem; font-weight: 580; }
.dash-timeline dd { margin-top: 2px; font-variant-numeric: tabular-nums; }
.dash-filter-actions { display: flex; align-items: center; }
.dash-heading-actions { display: flex; align-items: center; gap: 12px; font-size: .85rem; }
.dash-button { gap: 7px; }
@media (max-width: 1080px) {
  .dash-shell { display: block; }
  .dash-sidebar { position: static; border-bottom: 1px solid var(--rule); padding-block: 8px; }
  .dash-nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .dash-nav a { padding-block: 6px; }
  .dash-shortcuts { display: none; }
  .dash-main { padding-top: 23px; }
}
@media (max-width: 820px) {
  .dash-columns { gap: 14px; }
  .dash-filters { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .dash-search { grid-column: span 2; }
}
@media (max-width: 760px) {
  .dashboard-page .wrap { width: calc(100% - 32px); }
  .dashboard-page .mast-inner { height: 54px; }
  .dash-columns { grid-template-columns: minmax(0, 1fr); }
  .dash-table, .dash-table tbody { display: block; }
  .dash-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .dash-table tbody tr { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); grid-template-areas: "amount state" "order date"; gap: 7px 14px; padding: 13px 15px; }
  .dash-table tbody tr + tr { border-top: 1px solid var(--rule); }
  .dash-table tbody tr td { padding: 0; border: 0; min-width: 0; }
  .dash-table .dash-invoice-amount { grid-area: amount; }
  .dash-table .dash-invoice-state { grid-area: state; text-align: end; }
  .dash-table .dash-invoice-state summary { margin-inline-start: auto; }
  .dash-table .dash-order { grid-area: order; align-self: end; }
  .dash-table .dash-invoice-date { grid-area: date; align-self: end; }
  .dash-cell-label { display: block; margin-bottom: 2px; }
}
@media (max-width: 600px) {
  .dashboard-page .mast-inner { gap: 6px; }
  .dash-user { padding-inline-start: 7px; }
  .dash-user-name { display: none; }
  .dash-user summary { gap: 4px; min-width: 35px; }
  .dash-nav { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2px; }
  .dash-nav a { justify-content: center; flex-direction: column; gap: 4px; padding: 6px 1px; font-size: .76rem; }
  .dash-sidebar { padding-block: 5px; }
  .dash-main { padding-block: 19px 45px; }
  .dash-metric { grid-template-columns: minmax(0,1fr); gap: 13px; padding: 14px; }
  .dash-counts { border-top: 1px solid var(--rule); padding-top: 9px; }
  .dash-counts > div:first-child { border: 0; padding: 0; }
  .dash-counts dt { font-size: .74rem; }
  .dash-wallet-fields { grid-template-columns: minmax(0, 1fr); }
  .dash-heading { gap: 10px; margin-bottom: 16px; }
  .dash-filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dash-filter-panel[open] > summary { border-bottom: 0; border-radius: 8px 8px 0 0; }
  .dash-filter-panel[open] .dash-filters { border-top: 0; border-radius: 0 0 8px 8px; padding-top: 3px; }
  .dash-filter-actions .dash-button { width: 100%; }
}
@media (max-width: 430px) {
  .dashboard-page .wrap { width: calc(100% - 24px); }
  .dash-filters label:has(select[name="days"]), .dash-filter-actions { grid-column: 1 / -1; }
  .dash-periods { width: 100%; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
  .dash-periods a { display: grid; place-items: center; text-align: center; line-height: 1.25; padding: 5px 3px; }
  .dash-project-link { gap: 8px; padding: 12px; }
  .dash-project-meta { grid-template-columns: auto; gap: 2px; justify-items: end; }
  .dash-facts > div { grid-template-columns: minmax(0, 1fr); gap: 1px; }
  .dash-facts dd { text-align: start; }
  .dash-form-row { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .dashboard-page .brand { gap: 6px; font-size: 1.2rem; }
  .dashboard-page .brand img { width: 26px; height: 26px; }
  .dashboard-page .appearance summary { padding: 7px; }
  .dash-user summary { min-width: 30px; }
  .dash-user summary::after { display: none; }
}

.session-card { margin-bottom: 1.25rem; }
.session-list { list-style: none; margin: .6rem 0 .75rem; padding: 0; }
.session-list li { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 1.25rem; padding: .9rem 0; }
.session-list li + li { border-top: 1px solid var(--rule); }
.session-client, .session-times { min-width: 0; }
.session-client > span, .session-times { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.session-current { display: inline-block; margin-inline-start: .4rem; color: var(--purple); font-size: .8rem; }
.session-list form { margin: 0; }
@media (max-width: 700px) {
  .session-list li { grid-template-columns: minmax(0,1fr) auto; gap: .25rem .6rem; }
  .session-client, .session-times { grid-column: 1; }
  .session-list form { grid-column: 2; grid-row: 1 / span 2; }
}
