.button:focus-visible, .icon-button:focus-visible, .city-marker:focus-visible, .dialog-close:focus-visible, .honey-filter-chip:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--focus-ring);
}
/* Forced colors suppress box-shadow, so the shared `outline: 0` above would
   leave Honey filter chips with no focus indicator at all in Windows High
   Contrast (GH#520 replaced the admin `.heading-actions` outline with the
   shadow ring). Restore a real outline here in a system color — custom
   properties are overridden in forced-colors mode, so `--focus-ring` cannot
   be used. Scoped to the chip this PR migrated; the same gap on `.button` /
   `a` / `input` is pre-existing and tracked separately. */
@media (forced-colors: active) {
  .honey-filter-chip:focus-visible {
    outline: 2px solid ButtonText;
    outline-offset: 2px;
  }
}

/* Public/mobile default: WCAG 2.5.5-minded 44px floor (AGENTS.md). Admin keeps
   dense height under .theme-admin only — same pattern as .honey-filter-chip. */
.button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0 16px;
  color: var(--text-primary);
  background: transparent;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover { background: var(--bg-hover); }
.button-primary { min-height: 44px; color: var(--on-accent); background: var(--accent); }
/* Dense ops toolbar/table controls: scope only under .theme-admin so public
   secondary/ghost CTAs stay ≥44px on touch surfaces. */
.theme-admin .button {
  min-height: 36px;
}
/* Restate the ink on hover: `.button-primary` renders as an anchor in places
   (NotFound.tsx, admin index.html), and the global `a:hover` rule (0,1,1) would
   otherwise outrank `.button-primary` (0,1,0) and repaint the CTA label with
   link ink on the gold fill. DESIGN.md section 3: gold fills carry navy labels. */
.button-primary:hover { color: var(--on-accent); background: var(--accent-hover); }
.button-secondary { border-color: var(--border-strong); }
.button-ghost { color: var(--text-secondary); }
.button-danger { border-color: var(--rose); color: var(--rose); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button-primary:disabled:hover { background: var(--accent); }

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--bg-surface);
  box-shadow: var(--shadow-panel);
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  background: var(--bg-surface);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}
.status-active { color: var(--mint); background: var(--mint-soft, color-mix(in srgb, var(--mint) 14%, transparent)); }
.status-scheduled { color: var(--amber-text); background: var(--amber-soft, color-mix(in srgb, var(--amber) 14%, transparent)); }
.status-paused { color: var(--text-secondary); background: var(--bg-raised); }
.status-failed { color: var(--rose); background: var(--rose-soft, color-mix(in srgb, var(--rose) 14%, transparent)); }

.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  color: var(--text-primary);
  background: var(--bg-raised);
  font: 500 11px var(--font-mono);
}
.avatar > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 40px; height: 40px; }
.avatar-lg { width: 56px; height: 56px; border-width: 2px; }

.table { width: 100%; border-collapse: collapse; }
.table th { color: var(--text-secondary); background: var(--bg-raised); font-size: 11px; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.table tbody tr:hover { background: var(--bg-hover); }
.table .numeric { font-family: var(--font-display); font-weight: 700; text-align: right; }

@keyframes marker-pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 25%, transparent); } 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--accent) 0%, transparent); } }
.marker-pulse { animation: marker-pulse 1.6s ease-out 1; }

/* Honey MVP branded foundations. These primitives are intentionally generic so
   public and admin surfaces can adopt them without duplicating palette rules. */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font: 700 13px/1.15 var(--font-display);
  letter-spacing: -.01em;
  text-decoration: none;
}
/* Prefer an <img> of design-system/brand/crowned-pin.svg inside .brand-mark.
   Legacy empty containers stay sized for the mark aspect ratio; no CSS pin geometry. */
.brand-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 40px;
  overflow: hidden;
  background: transparent;
}
.brand-mark > img,
.brand-mark-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 120 / 158;
}
.surface-public {
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(16px);
}
.surface-admin {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: 0 1px 2px color-mix(in srgb, var(--text-primary) 8%, transparent);
}
.honey-stat-tile {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 150px;
  padding: 16px;
}
.honey-stat-tile .value {
  color: var(--text-primary);
  font: 700 30px/1 var(--font-display);
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
/* Money / accent values keep --accent-text (not selected-chip gold). */
.honey-stat-tile .value.is-accent { color: var(--accent-text); }
.honey-stat-tile .muted { font-size: 12px; }
.honey-stat-tile .delta-positive { color: var(--mint); }
.honey-stat-tile .delta-negative { color: var(--rose); }
.honey-activity-row {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.honey-activity-row .city { color: var(--text-primary); font: 600 14px var(--font-display); }
.honey-activity-row .amount { color: var(--accent-text); font: 700 14px var(--font-display); font-variant-numeric: tabular-nums; }
.honey-activity-row p { margin: 1px 0; color: var(--text-primary); font-size: 12px; }
.honey-activity-row p strong { color: var(--accent-text); font: 700 12px var(--font-display); }
.honey-activity-row small { color: var(--text-secondary); font-size: 11px; }
/* Public/mobile default: WCAG 2.5.5-minded 44×44 interactive floor.
   Visual density stays via horizontal padding, not a shrunken hitbox. */
.honey-filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0 14px;
  color: var(--text-secondary);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
}
.honey-filter-chip[aria-pressed="true"],
.honey-filter-chip.is-selected {
  border-color: transparent;
  /* Readable selection ink — not money. `--accent-text` stays for prices/CTAs. */
  color: var(--text-primary);
  background: var(--gold-soft);
  font-weight: 600;
}
/* Admin density: table-first ops may use a shorter visual chip. Scope only
   under .theme-admin so public defaults stay ≥44px. */
.theme-admin .honey-filter-chip,
.honey-filter-chip.honey-filter-chip-dense {
  min-height: 30px;
  min-width: 0;
  padding: 0 12px;
}
.honey-city-detail { border-radius: var(--radius-modal); overflow: hidden; }
.honey-city-detail .photo { aspect-ratio: 16 / 9; background: var(--bg-raised); }
.honey-city-detail .price {
  color: var(--accent-text);
  font: 700 48px/1 var(--font-display);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.honey-takeover {
  display: grid;
  min-height: 100%;
  place-items: center;
  gap: 16px;
  padding: 56px 24px;
  color: var(--on-scrim);
  background: linear-gradient(145deg, var(--takeover-from), var(--takeover-to));
  text-align: center;
}
.honey-takeover .city-name { margin: 0; font: 700 clamp(3rem, 8vw, 6rem)/1 var(--font-display); letter-spacing: -.02em; }
.honey-takeover .price { color: var(--gold); font: 700 48px/1 var(--font-display); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .marker-pulse { animation: none; }
}
