.sales-page { min-width: 0; }
.sales-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.sales-export { flex: none; }
.sales-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.sales-card { background: var(--surface, #fff); border: 1px solid var(--line, #e1e9e5); border-radius: var(--radius, 16px); }
.sales-metric { display: flex; align-items: flex-start; gap: 13px; padding: 21px; }
.sales-metric-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: none; border-radius: 11px; }
.sales-mint { background: #e6f2ec; color: #185a43; }
.sales-violet { background: #efebf9; color: #5f478f; }
.sales-peach { background: #fbefe2; color: #93571d; }
.sales-metric p { margin: 0 0 3px; color: var(--muted, #5d6b65); font-size: 13px; }
.sales-metric strong { display: block; font-size: clamp(1.1rem, 2.1vw, 1.55rem); font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1.35; }
.sales-metric small { display: block; margin-top: 5px; font-size: 11px; color: var(--muted, #5d6b65); }
.sales-tabs { display: flex; gap: clamp(8px, 2vw, 22px); overflow-x: auto; border-bottom: 1px solid var(--line, #e1e9e5); margin-bottom: 18px; }
.sales-tabs button { position: relative; padding: 12px 5px 13px; color: var(--muted, #5d6b65); background: transparent; border: 0; cursor: pointer; font-weight: 650; font-size: 14px; white-space: nowrap; }
.sales-tabs button[aria-selected="true"] { color: var(--brand, #185a43); }
.sales-tabs button[aria-selected="true"]::after { content: ''; position: absolute; height: 2px; background: var(--brand, #185a43); border-radius: 2px; inset: auto 0 0; }
.sales-panel { position: relative; min-width: 0; overflow: hidden; }
.sales-panel-head { padding: 20px 22px 12px; }
.sales-panel-head h2 { margin: 0; font-size: 17px; }
.sales-panel-head p { margin: 5px 0 0; color: var(--muted, #5d6b65); font-size: 13px; }
.sales-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 16px; }
.sales-field, .sales-search { min-width: 0; }
.sales-field select, .sales-search { min-height: 38px; border: 1px solid var(--line, #e1e9e5); border-radius: 9px; background: var(--surface, #fff); color: var(--ink, #182923); font: inherit; font-size: 13px; }
.sales-field select { min-width: 106px; width: 100%; max-width: 250px; padding: 0 10px; }
.sales-search { display: flex; align-items: center; gap: 7px; flex: 1 0 225px; max-width: 320px; padding: 0 11px; color: var(--muted, #5d6b65); }
.sales-search:focus-within { outline: 2px solid var(--brand, #185a43); outline-offset: 1px; }
.sales-search svg { flex: none; }
.sales-search input { min-width: 0; width: 100%; min-height: 36px; padding: 0; border: 0; outline: none; background: transparent; color: var(--ink, #182923); font: inherit; }
.sales-table-wrap { overflow-x: auto; }
.sales-table { width: 100%; min-width: 630px; border-collapse: collapse; font-size: 13px; }
.sales-table th { text-align: left; white-space: nowrap; }
.sales-table td, .sales-table th { padding: 13px 15px; }
.sales-table :is(th, td):first-child { padding-left: 22px; }
.sales-table :is(th, td):last-child { padding-right: 22px; }
.sales-table td { border-bottom: 1px solid var(--line, #e1e9e5); }
.sales-table th { background: var(--canvas, #f7faf8); color: var(--muted, #5d6b65); font-weight: 650; }
.sales-table td small { display: block; margin-top: 4px; color: var(--muted, #5d6b65); font-size: 11px; }
.sales-report-source { display: block; max-width: 175px; white-space: normal; overflow-wrap: anywhere; }
.sales-table-foot { padding: 12px 22px; color: var(--muted, #5d6b65); font-size: 12px; }
.sales-country, .sales-nowrap { white-space: nowrap; }
.sales-country span { display: inline-block; margin-right: 3px; }
.sales-record { padding: 0; font: inherit; font-weight: 750; border: 0; background: transparent; color: var(--brand, #185a43); cursor: pointer; white-space: nowrap; }
.sales-record:hover { text-decoration: underline; }
.sales-detail { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 7px; background: transparent; color: var(--muted, #5d6b65); cursor: pointer; }
.sales-detail:hover { color: var(--brand, #185a43); background: var(--brand-soft, #e6f2ec); }
.sales-empty { min-height: 160px; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; color: var(--muted, #5d6b65); }
.sales-empty strong { color: var(--ink, #182923); }
.sales-gate { justify-items: center; padding: 38px 18px; }
.sales-gate h2 { color: var(--ink, #182923); font-size: 18px; }
.sales-marketing { white-space: nowrap; }
.sales-demo-note { display: flex; align-items: center; gap: 6px; margin: 15px 2px; color: var(--muted, #5d6b65); font-size: 12px; }
.sales-demo-note svg { flex: none; }
.sales-modal-overview { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 11px; }
.sales-order-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin: 0 0 21px; padding: 17px; background: var(--canvas, #f7faf8); border: 1px solid var(--line, #e1e9e5); border-radius: 11px; }
.sales-order-fields dt { margin-bottom: 4px; color: var(--muted, #5d6b65); font-size: 12px; }
.sales-order-fields dd { margin: 0; font-size: 13px; font-weight: 700; }
.sales-modal h3 { margin: 0 0 10px; font-size: 15px; }
.sales-timeline { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.sales-timeline li { display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 9px; min-height: 34px; color: var(--muted, #5d6b65); font-size: 13px; }
.sales-timeline li > span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--canvas, #f7faf8); border: 1px solid var(--line, #e1e9e5); font-size: 11px; }
.sales-timeline .is-complete > span { background: var(--brand-soft, #e6f2ec); color: var(--brand, #185a43); border-color: transparent; }
.sales-timeline .is-current { color: var(--brand, #185a43); }
.sales-timeline .is-current > span { background: var(--brand, #185a43); color: #fff; border-color: transparent; }
.sales-order-cta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.sales-sr { position: absolute; inset: 0 auto auto 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 750px) {
  .sales-heading { align-items: flex-start; flex-direction: column; }
  .sales-metrics { gap: 8px; }
  .sales-metric { flex-direction: column; gap: 8px; padding: 12px; }
  .sales-metric-icon { width: 33px; height: 33px; }
  .sales-panel-head, .sales-filters, .sales-table-foot { padding-left: 14px; padding-right: 14px; }
  .sales-table :is(th, td):first-child { padding-left: 14px; }
}

@media (max-width: 380px) {
  .sales-metrics { grid-template-columns: 1fr; }
  .sales-metric { flex-direction: row; }
  .sales-search { flex-basis: 100%; }
}
