/**
 * CQ Desk — modern surface UI (2025-style dashboard).
 * Loaded after cqdesk-compact.css on the cqdesk view only.
 */

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk {
  --desk-bg0: #070708;
  --desk-bg1: #0f1117;
  --desk-surface: rgba(24, 24, 27, 0.72);
  --desk-surface-solid: #18181b;
  --desk-raised: rgba(39, 39, 42, 0.85);
  --desk-line: rgba(255, 255, 255, 0.07);
  --desk-line-strong: rgba(255, 255, 255, 0.12);
  --desk-accent: #2dd4bf;
  --desk-accent-dim: #14b8a6;
  --desk-violet: #a78bfa;
  --desk-text: #e4e4e7;
  --desk-muted: #a1a1aa;
  --desk-faint: #71717a;
  --desk-success: #34d399;
  --desk-warn: #fbbf24;

  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background-color: var(--desk-bg0);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(45, 212, 191, 0.07), transparent 50%),
    radial-gradient(ellipse 80% 50% at 100% 50%, rgba(167, 139, 250, 0.05), transparent 45%),
    linear-gradient(180deg, var(--desk-bg0) 0%, var(--desk-bg1) 100%);
  background-attachment: fixed;
  color: var(--desk-text);
}

@media (prefers-reduced-motion: reduce) {
  .cqdesk-page.hl-sd-sk.hl-sd-theme-desk {
    background-attachment: scroll;
  }
}

/* --- Shell breathing room (overrides compact slightly on large screens) --- */
@media (min-width: 1024px) {
  .cqdesk-page.hl-sd-sk.hl-sd-theme-desk.hl-sd-ui-v2.hl-sd-app-layout {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    gap: 0.75rem !important;
  }
}

/* --- Cards, strip, header, news: glassy panels --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-desk-card,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-app-header,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-news-dock {
  border-radius: 1rem !important;
  border: 1px solid var(--desk-line) !important;
  background: var(--desk-surface) !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 24px 48px -32px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-app-header {
  border-bottom: 1px solid var(--desk-line) !important;
  padding-bottom: 0.75rem !important;
}

/* --- Map frame --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-map-wrap--deck {
  border-radius: 1rem !important;
  border: 1px solid var(--desk-line-strong) !important;
  background: rgba(9, 9, 11, 0.92) !important;
  box-shadow:
    0 0 0 1px rgba(45, 212, 191, 0.06),
    0 32px 64px -40px rgba(0, 0, 0, 0.85);
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-map-toolbar {
  background: linear-gradient(180deg, rgba(39, 39, 42, 0.5) 0%, rgba(24, 24, 27, 0.35) 100%) !important;
  border-bottom-color: var(--desk-line) !important;
}

/* --- Typography: section labels --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-section-title {
  color: var(--desk-muted) !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-news-dock .hl-sd-section-title--news {
  color: var(--desk-accent) !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-section-title--live .hl-sd-live-dot,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-section-title--live .hl-sd-live-dot--subtle {
  background: var(--desk-success) !important;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.35) !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-app-brand {
  color: var(--desk-accent) !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.65rem !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-title-main--header {
  color: var(--desk-text) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- Station strip --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip #hl_sd_call_big {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--desk-warn) !important;
  text-shadow: none;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip #hl_sd_grid_small,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip .hl-sd-mono-muted {
  color: var(--desk-faint) !important;
  font-family: ui-monospace, monospace !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip .hl-sd-label {
  color: var(--desk-accent-dim) !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip .hl-sd-sw-lines {
  color: var(--desk-text) !important;
  font-family: ui-monospace, monospace !important;
  font-size: 0.8125rem !important;
}

/* --- Clock wells --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip .hl-sd-clock-well {
  background: rgba(9, 9, 11, 0.55) !important;
  border-color: var(--desk-line) !important;
  border-radius: 0.75rem !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip .hl-sd-clock,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip #hl_sd_local_big,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip #hl_sd_utc_big {
  font-family: ui-monospace, monospace !important;
  color: var(--desk-accent) !important;
  text-shadow: none;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip #hl_sd_date_line {
  color: var(--desk-muted) !important;
  font-family: ui-monospace, monospace !important;
}

/* --- Buttons --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-app-btn {
  border-radius: 0.5rem !important;
  border: 1px solid var(--desk-line-strong) !important;
  background: var(--desk-raised) !important;
  color: var(--desk-text) !important;
  font-weight: 500;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-app-btn:hover {
  border-color: rgba(45, 212, 191, 0.45) !important;
  color: #fff !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-app-btn--accent {
  background: rgba(45, 212, 191, 0.12) !important;
  border-color: rgba(45, 212, 191, 0.45) !important;
  color: var(--desk-accent) !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-toolbar-btn {
  border-radius: 0.5rem !important;
  border: 1px solid var(--desk-line-strong) !important;
  background: var(--desk-raised) !important;
  color: var(--desk-text) !important;
  font-weight: 500;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-toolbar-btn:hover {
  border-color: rgba(45, 212, 191, 0.4) !important;
}

/* --- Live spots: feed card (tabs + table as one unit) --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-feed > .hl-sd-spots-table-wrap {
  border-radius: 0 !important;
  border: none !important;
  border-top: 1px solid var(--desk-line) !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-feed__caption span {
  font-weight: 500;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-map-layers {
  border-top-color: var(--desk-line) !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-map-layer.hl-sd-toolbar-ctrl {
  font-size: 0.6875rem !important;
  padding: 0.3rem 0.5rem !important;
}

/* --- Spot tabs: pill row (larger tap targets, clearer hierarchy) --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab {
  border-radius: 9999px !important;
  border: 1px solid transparent !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #d4d4d8 !important;
  font-weight: 600;
  font-size: 0.75rem !important;
  line-height: 1.2 !important;
  padding: 0.45rem 0.8rem !important;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #f4f4f5 !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.65) !important;
  outline-offset: 2px;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab[aria-selected="true"],
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab.hl-sd-spot-tab--active {
  background: rgba(45, 212, 191, 0.18) !important;
  border-color: rgba(45, 212, 191, 0.5) !important;
  color: #ecfdf5 !important;
  box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.12);
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab[aria-selected="true"]:hover,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab.hl-sd-spot-tab--active:hover {
  background: rgba(45, 212, 191, 0.24) !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab--stack {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.05rem !important;
  padding-top: 0.3rem !important;
  padding-bottom: 0.3rem !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab__line {
  display: block;
  line-height: 1.1;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab__line--sub {
  font-size: 0.6rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.82;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab--ghost:not([aria-selected="true"]):not(.hl-sd-spot-tab--active) {
  border-color: rgba(113, 113, 122, 0.35) !important;
  background: rgba(24, 24, 27, 0.35) !important;
  color: #a1a1aa !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-toolbar-ctrl {
  border-radius: 0.5rem !important;
  border-color: var(--desk-line) !important;
  color: var(--desk-muted) !important;
  background: rgba(0, 0, 0, 0.2) !important;
}

/* --- Table --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-thead {
  background: rgba(9, 9, 11, 0.65) !important;
  color: var(--desk-faint) !important;
  font-size: 0.65rem !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap {
  border-radius: 0.75rem !important;
  border-color: var(--desk-line) !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-right-rail__callbook {
  border-color: var(--desk-line) !important;
}

/* Callsign result panel: absolutely positioned so the main grid / map height does not jump */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-callbook-out.hl-sd-callbook-out--open {
  box-shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.75) !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-callbook-out.hl-sd-callbook-out--open {
  background: rgba(255, 255, 255, 0.97) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #1e293b !important;
  box-shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.22) !important;
  --tw-ring-color: rgba(15, 23, 42, 0.06) !important;
}

/* --- KPI tiles --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi {
  border-radius: 0.75rem !important;
  border-color: var(--desk-line) !important;
  background: rgba(9, 9, 11, 0.4) !important;
}

/* --- Guest banner --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-guest-banner {
  border-radius: 1rem !important;
  border: 1px solid rgba(45, 212, 191, 0.2) !important;
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(167, 139, 250, 0.06)) !important;
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.7);
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-guest-banner__btn-register {
  background: linear-gradient(135deg, #14b8a6, #0d9488) !important;
  border: none !important;
  color: #042f2e !important;
  font-weight: 700;
  border-radius: 0.5rem !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-guest-banner__btn-login {
  border-radius: 0.5rem !important;
  border-color: var(--desk-line-strong) !important;
  background: rgba(0, 0, 0, 0.25) !important;
  color: var(--desk-text) !important;
}

/* --- Hints --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-rotate-hint,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-large-screen-hint {
  border-radius: 0.875rem !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-rotate-hint {
  border-color: rgba(45, 212, 191, 0.35) !important;
  background: rgba(6, 78, 59, 0.35) !important;
}

.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-large-screen-hint {
  border-color: rgba(251, 191, 36, 0.35) !important;
  background: rgba(69, 26, 3, 0.35) !important;
}

/* --- Light theme --- */
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk {
  --desk-bg0: #f4f4f5;
  --desk-bg1: #e4e4e7;
  --desk-surface: rgba(255, 255, 255, 0.82);
  --desk-surface-solid: #ffffff;
  --desk-raised: rgba(244, 244, 245, 0.95);
  --desk-line: rgba(9, 9, 11, 0.08);
  --desk-line-strong: rgba(9, 9, 11, 0.12);
  --desk-accent: #0d9488;
  --desk-accent-dim: #0f766e;
  --desk-text: #18181b;
  --desk-muted: #52525b;
  --desk-faint: #71717a;
  --desk-success: #059669;
  --desk-warn: #b45309;

  background-image:
    radial-gradient(ellipse 100% 80% at 50% -10%, rgba(13, 148, 136, 0.08), transparent 45%),
    linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  color: var(--desk-text);
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-map-wrap--deck {
  background: #fafafa !important;
  box-shadow:
    0 0 0 1px rgba(13, 148, 136, 0.1),
    0 20px 40px -24px rgba(9, 9, 11, 0.12);
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk #hl-sd-dashboard-strip .hl-sd-clock-well {
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: inset 0 1px 2px rgba(9, 9, 11, 0.06);
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-guest-banner {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(167, 139, 250, 0.08)) !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-guest-banner__btn-register {
  color: #fff !important;
}

/* Light theme: map header strip (toolbar, filters, status) — avoid dark grey on pale page */
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-map-toolbar {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-bottom-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-map-toolbar .text-zinc-500,
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-map-toolbar .text-zinc-400 {
  color: #64748b !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-toolbar-ctrl {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #475569 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-psk-filters {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #334155 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-status-line {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #475569 !important;
}

/* Light theme: Kp / X-ray / Moon / Sun tiles — was rgba(9,9,11) on a light page */
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi .text-zinc-500 {
  color: #64748b !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi .text-emerald-400\/90,
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi .text-emerald-200 {
  color: #047857 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi .text-amber-400\/90,
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi .text-amber-200 {
  color: #b45309 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi .text-violet-400\/90 {
  color: #6d28d9 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi .text-cyan-400\/90,
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-kpi .text-cyan-200 {
  color: #0e7490 !important;
}

/* Light theme: live spots table (Sats / POTA / SOTA / PSK) — thead was dark slab on pale rail */
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-thead {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-thead th {
  color: #0f172a !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody tr {
  border-color: rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody td {
  color: #1e293b !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody td.text-zinc-500 {
  color: #64748b !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody td.text-zinc-300 {
  color: #475569 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody td.text-sky-200 {
  color: #0369a1 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody td.text-emerald-300 {
  color: #047857 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody td.text-orange-300 {
  color: #c2410c !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody td.text-cyan-300 {
  color: #0f766e !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody td.text-violet-300 {
  color: #5b21b6 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap tbody tr.cursor-pointer:hover {
  background-color: rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spots-table-wrap .hl-sd-spots-empty {
  color: #475569 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-feed--card {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  --tw-ring-color: transparent !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-feed > .hl-sd-spots-table-wrap {
  border-top-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-feed__top {
  background: #f8fafc !important;
  border-bottom-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-map-layers {
  border-top-color: rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-feed-hint {
  color: #64748b !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-feed-hint strong {
  color: #334155 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-mouse-grid strong {
  color: #475569 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-feed__caption {
  color: #64748b !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-feed__caption span {
  color: #94a3b8 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab:not([aria-selected="true"]):not(.hl-sd-spot-tab--active) {
  background: #e2e8f0 !important;
  color: #334155 !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab:not([aria-selected="true"]):not(.hl-sd-spot-tab--active):hover {
  background: #cbd5e1 !important;
  color: #0f172a !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab[aria-selected="true"],
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab.hl-sd-spot-tab--active {
  background: rgba(13, 148, 136, 0.2) !important;
  border-color: rgba(13, 148, 136, 0.5) !important;
  color: #115e59 !important;
  box-shadow: none;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-tab--ghost:not([aria-selected="true"]):not(.hl-sd-spot-tab--active) {
  background: #f1f5f9 !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #64748b !important;
}

/* --- Collapsible chrome --- */
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-desk-opts,
.cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-near-me {
  border-radius: 0.75rem !important;
  border: 1px solid var(--desk-line) !important;
  background: rgba(0, 0, 0, 0.18) !important;
}

[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-spot-desk-opts,
[data-theme="light"] .cqdesk-page.hl-sd-sk.hl-sd-theme-desk .hl-sd-near-me {
  background: rgba(255, 255, 255, 0.6) !important;
}
