/* ── My accounts (live AM book) ──────────────────────────────────────────── */
.dash-account-filter-wrap {
  position: relative;
  display: flex;
  margin: 0 0 0.75rem;
}
.dash-account-filter {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  padding: var(--spacing-2) 2rem var(--spacing-2) var(--spacing-3);
  font-size: var(--font-size-sm);
  color: var(--color-gray-900);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  background: var(--color-white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.dash-account-filter::placeholder {
  color: var(--color-gray-500);
}
.dash-account-filter:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(100, 30, 140, 0.1);
}
.dash-account-filter-clear {
  position: absolute;
  right: 0.5rem;
  top: 0.4688rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: none;
  flex: 1;
  color: var(--color-gray-500);
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.15s, background 0.15s;
}
.dash-account-filter-clear:hover {
  color: var(--color-gray-900);
  background: var(--color-gray-300);
}
.dash-account-list {
  display: flex;
  flex-direction: column;
}
.dash-account-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.dash-account-row:last-child {
  border-bottom: none;
}
.dash-account-main {
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.dash-account-main:hover .dash-account-name {
  color: #007a33;
}
.dash-account-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1a1a1a;
}
.dash-account-frame-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #007a33;
  background: #e6f4ec;
  padding: 2px 0.4375rem;
  border-radius: 0.625rem;
}
.dash-account-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 0.25rem;
}
.dash-account-kpi {
  font-size: 0.7813rem;
  color: #4a4a4a;
}
.dash-account-kpi--muted {
  color: #999;
}
.dash-account-actions {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
}
.dash-account-action {
  font-size: 0.7813rem;
  font-weight: 500;
  color: #1a1a1a !important;
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  cursor: pointer;
  white-space: nowrap;
}
.dash-account-action:hover {
  border-color: #1a1a1a;
  background: #f6f6f6;
}
