/* ── Tab bar ── */
.sales-tab-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--bg-inset);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  flex-shrink: 0;
}

.sales-tab-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sales-tab-row--solo {
  justify-content: flex-end;
}

.sales-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}

.sales-tab:hover {
  color: var(--text-primary);
}

.sales-tab.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  border-color: var(--border-subtle);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ── Dashboard ── */
.sales-dashboard {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-surface);
  border-radius: 12px;
  box-shadow: var(--header-shadow);
}

.dash-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ── Left sidebar (25%) ── */
.dash-sidebar {
  width: 25%;
  min-width: 180px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 20px;
  border-right: 1px solid var(--card-border);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
}

.dash-sidebar::-webkit-scrollbar {
  width: 3px;
}

.dash-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.dash-sidebar::-webkit-scrollbar-thumb {
  background: var(--card-border);
  border-radius: 99px;
}

.sales-dashboard .dash-sidebar::-webkit-scrollbar {
  width: 3px;
}

/* ── Right main (75%) ── */
.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

/* ── Sidebar: greeting ── */
.dash-greeting {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-subtle);
}

.dash-title {
  margin: 0 0 2px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.dash-subtitle {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary);
}

.dash-metrics-note {
  margin: 4px 0 0;
  font-size: 10px;
  color: var(--text-tertiary, color-mix(in srgb, var(--text-secondary) 60%, transparent));
  font-style: italic;
}

/* ── Activity stat tiles ── */
.dash-metric-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Activity summary row ── */
.dash-activity-row {
  display: flex;
  align-items: stretch;
  background: var(--bg-inset);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
}

.dash-activity-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 8px;
}

.dash-activity-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.dash-activity-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.dash-activity-divider {
  width: 1px;
  background: var(--card-border);
  align-self: stretch;
}

/* ── Win / Loss bar card ── */
.dash-wl-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-inset);
  border: 1px solid var(--card-border);
  border-radius: 8px;
}

.dash-wl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}

.dash-wl-won {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #22c55e;
}

.dash-wl-lost {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ef4444;
}

.dash-wl-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.dash-wl-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dash-wl-dot--won { background: #22c55e; }
.dash-wl-dot--lost { background: #ef4444; }

.dash-wl-bar {
  display: flex;
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  gap: 1px;
}

.dash-wl-bar-won {
  background: #22c55e;
  border-radius: 99px 0 0 99px;
  transition: width 0.4s ease;
  min-width: 0;
}

.dash-wl-bar-lost {
  background: #ef4444;
  border-radius: 0 99px 99px 0;
  transition: width 0.4s ease;
  min-width: 0;
}

.dash-wl-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-wl-rate {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-wl-ytd {
  font-size: 11px;
  color: var(--text-secondary);
}

.dash-wl-empty {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  padding: 10px;
  background: var(--bg-inset);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-style: italic;
  opacity: 0.6;
}

.dash-metric-group-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-secondary);
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dash-stat-tile {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  background: var(--bg-inset);
  border: 1px solid var(--card-border);
  border-radius: 8px;
}

.dash-stat-tile--wide {
  grid-column: span 2;
}

.dash-stat-number {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.dash-stat-number--money {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.dash-stat-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Financials / Performance blocks ── */
.dash-fin-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-inset);
  border: 1px solid var(--card-border);
  border-radius: 8px;
}

.dash-fin-kv {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.dash-fin-kv--sub {
  margin-top: 2px;
}

.dash-fin-kv-label {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.dash-fin-kv-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}

.dash-fin-kv--sub .dash-fin-kv-value {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.dash-fin-bar-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-fin-bar {
  height: 5px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--nav-active-color) 12%, var(--bg-inset));
  overflow: hidden;
}

.dash-fin-bar--green {
  background: color-mix(in srgb, #22c55e 15%, var(--bg-inset));
}

.dash-fin-bar--green .dash-fin-bar-fill {
  background: #22c55e;
}

.dash-fin-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--nav-active-color);
  transition: width 0.5s ease;
}

.dash-fin-bar-label {
  font-size: 10px;
  color: var(--text-secondary);
}

/* ── Quota card ── */
.dash-ph {
  opacity: 0.3;
  font-style: italic;
}

.dash-fin-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--nav-active-color);
  transition: width 0.4s ease;
}

.dash-section {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.dash-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.dash-section-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-section-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.dash-search-icon {
  position: absolute;
  left: 8px;
  color: var(--text-secondary);
  pointer-events: none;
}

.dash-search-input {
  height: 30px;
  padding: 0 10px 0 28px;
  font-size: 13px;
  border: 1px solid var(--card-border);
  border-radius: 6px;
  background: var(--bg-inset);
  color: var(--text-primary);
  width: 180px;
  transition:
    border-color 0.15s,
    width 0.2s;
  outline: none;
}

.dash-search-input::placeholder {
  color: var(--text-secondary);
}

.dash-search-input:focus {
  border-color: var(--nav-active-color);
  width: 220px;
}

.dash-view-all-btn {
  background: none;
  border: none;
  color: var(--nav-active-color);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition:
    background 0.15s,
    color 0.15s;
}

.dash-view-all-btn:hover {
  background: var(--nav-hover-bg);
  color: var(--text-primary);
}

.dash-filter-wrap {
  position: relative;
}

.dash-table-wrap {
  overflow: auto;
  flex: 1;
}

.dash-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

/* ── Section (table side) ── */
.sales-page {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.sales-pane {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  background: var(--bg-surface);
  border-radius: 12px;
  box-shadow: var(--header-shadow);
  overflow: hidden;
}

.sales-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.sales-header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.sales-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
}

.sales-result-count {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.sales-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Search ── */
.sales-search-bar {
  position: relative;
  width: 280px;
}

.sales-search-bar input {
  width: 100%;
  height: 34px;
  padding: 0 34px 0 38px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: var(--input-bg);
  color: var(--input-text);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.sales-search-bar input::placeholder {
  color: var(--input-placeholder);
}

.sales-search-bar input:focus {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
  background: var(--input-focus-bg);
}

.sales-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-faint);
  pointer-events: none;
}

.sales-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-faint);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition:
    color 0.15s,
    background 0.15s;
}

.sales-search-clear:hover {
  color: var(--input-text);
  background: var(--nav-hover-bg);
}

/* ── Filter button ── */
.sales-filter-wrap {
  position: relative;
}

.sales-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--bg-inset);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
  white-space: nowrap;
}

.sales-filter-btn:hover {
  border-color: var(--input-focus-border);
  color: var(--text-primary);
}

.sales-filter-btn.has-filters {
  border-color: var(--accent-color, #0066cc);
  color: var(--accent-color, #0066cc);
}

.sales-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--accent-color, #0066cc);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}

.sales-filter-popover {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  min-width: 220px;
  padding: 8px 4px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--bg-surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.sales-filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
  transition: background 0.12s;
  user-select: none;
}

.sales-filter-option:hover {
  background: var(--card-hover-bg);
}

.sales-filter-option input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--accent-color, #0066cc);
  cursor: pointer;
  flex-shrink: 0;
}

.sales-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 16px 24px 8px;
}

.sales-table-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--card-border);
  border-radius: 10px;
}

.sales-loading-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(2px);
}

.sales-spinner {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 4px solid var(--spinner-track);
  border-top-color: var(--spinner-accent);
  animation: sales-spin 0.7s linear infinite;
}

@keyframes sales-spin {
  to {
    transform: rotate(360deg);
  }
}

.sales-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  min-height: 200px;
}

/* ── Table ── */
.sales-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.sales-table thead {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-inset);
}

.sales-table th {
  padding: 10px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--card-border);
  white-space: nowrap;
}

.sales-table td {
  padding: 12px 16px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.sales-table.slim th {
  padding: 6px 12px;
}

.sales-table.slim td {
  padding: 7px 12px;
  font-size: 13px;
}

.sales-table tbody tr:last-child td {
  border-bottom: none;
}

.sales-row {
  transition: background 0.15s;
}

.sales-row:hover,
.sales-row:focus {
  background: var(--card-hover-bg);
  outline: none;
}

.sales-row:focus-visible {
  outline: 2px solid var(--nav-active-color);
  outline-offset: -2px;
}

.sales-row.closed-row {
  opacity: 0.65;
}

/* ── Column widths ── */
.col-opportunity {
  min-width: 220px;
}

.col-company {
  min-width: 160px;
}

.col-status,
.col-rating {
  min-width: 120px;
}

.col-owner {
  min-width: 150px;
}

.col-close,
.col-updated {
  min-width: 120px;
  white-space: nowrap;
}

.date-overdue,
.sales-table td.date-overdue {
  color: var(--status-danger-color, #ef4444);
  font-weight: 500;
}

.sales-opportunity {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.opp-name {
  font-weight: 600;
  color: var(--text-primary);
}

.opp-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.mono {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
  font-size: 12px;
}

.sales-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, color 0.2s;
}

/* ── FutureLead: muted purple — not yet in pipeline ── */
.sales-status-badge.status-future {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

/* ── Pending New: teal dashed — awaiting intake ── */
.sales-status-badge.status-pending-new {
  background: rgba(20, 184, 166, 0.1);
  color: #0d9488;
  border: 1px dashed #0d9488;
}

/* ── New: teal — freshly entered ── */
.sales-status-badge.status-new {
  background: rgba(20, 184, 166, 0.12);
  color: #0d9488;
}

/* ── Internal Review: amber — needs internal action ── */
.sales-status-badge.status-review {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

/* ── Quote Sent: blue — awaiting customer response ── */
.sales-status-badge.status-quote-sent {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

/* ── Confirmed Quote: emerald — customer accepted ── */
.sales-status-badge.status-quote-confirmed {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}

/* ── Active: green — actively being worked ── */
.sales-status-badge.status-active {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.sales-status-badge.status-open {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

/* ── Ready to Send: indigo dashed — queued for delivery ── */
.sales-status-badge.status-ready-to-send {
  background: rgba(99, 102, 241, 0.1);
  color: #4f46e5;
  border: 1px dashed #4f46e5;
}

/* ── Pending Sent: blue dashed — sent, awaiting confirmation ── */
.sales-status-badge.status-pending-sent {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px dashed #2563eb;
}

/* ── Pending Revision: amber dashed — revision requested ── */
.sales-status-badge.status-pending-revision {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px dashed #d97706;
}

/* ── Pending Won: blue dashed — win being processed ── */
.sales-status-badge.status-pending-won {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px dashed #2563eb;
}

.sales-status-badge.status-won {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

/* ── Pending Lost: red dashed — loss being processed ── */
.sales-status-badge.status-pending-lost {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px dashed #dc2626;
}

.sales-status-badge.status-lost {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.sales-status-badge.status-inactive {
  background: rgba(107, 114, 128, 0.12);
  color: #6b7280;
}

.sales-status-badge.status-closed {
  background: rgba(107, 114, 128, 0.12);
  color: #6b7280;
}

/* ── Canceled: muted gray with strikethrough feel ── */
.sales-status-badge.status-canceled {
  background: rgba(107, 114, 128, 0.12);
  color: #6b7280;
  text-decoration: line-through;
  opacity: 0.8;
}

.sales-status-badge.status-equiv {
  border: 1px dashed currentColor;
  cursor: default;
  position: relative;
}

.sales-status-badge.status-equiv[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--tooltip-bg, #1e293b);
  color: var(--tooltip-color, #f8fafc);
  font-size: 11px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 5px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
}

.sales-status-badge.status-equiv[data-tooltip]:hover::after {
  opacity: 1;
}

/* ── Rating badge (heat dots) ── */
.sales-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.sales-rating-badge.heat-hot {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.sales-rating-badge.heat-warm {
  background: rgba(245, 158, 11, 0.14);
  color: #d97706;
}

.sales-rating-badge.heat-cold {
  background: rgba(56, 189, 248, 0.12);
  color: #0ea5e9;
}

.sales-rating-badge.heat-neutral {
  background: var(--nav-hover-bg);
  color: var(--text-secondary);
}

.sales-heat-dots {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.sales-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px 18px;
  flex-shrink: 0;
}

.sales-page-info {
  font-size: 13px;
  color: var(--text-secondary);
}

.sales-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sales-page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s;
}

.sales-page-btn:hover:not(:disabled) {
  background: var(--hover-bg);
  border-color: var(--input-focus-border);
}

.sales-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.sales-page-btn.active {
  background: var(--accent-color, #0066cc);
  color: #fff;
  border-color: var(--accent-color, #0066cc);
}

.sales-page-ellipsis {
  padding: 0 4px;
  color: var(--text-muted);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .sales-search-bar {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .sales-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .sales-search-bar {
    flex: 1;
  }

  .sales-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
