/* Developer Overview palette. Keep the shared shell and other workspaces unchanged. */
body:has(#main-dashboard.active .developer-dashboard-shell) {
  --overview-navy: #102542;
  --overview-gold: #b08a3e;
  --overview-pale-gold: #fbf5e8;
  --overview-line: #dfe5ee;
  --overview-workspace: #f4f6fa;
  --overview-muted: #627087;
}

body:has(#main-dashboard.active .developer-dashboard-shell) .main-area,
body:has(#main-dashboard.active .developer-dashboard-shell) #main-dashboard {
  background: var(--overview-workspace) !important;
}

body:has(#main-dashboard.active .developer-dashboard-shell) .project-header {
  background: #fff !important;
  border-color: var(--overview-line) !important;
}

body:has(#main-dashboard.active .developer-dashboard-shell) .project-header h1,
body:has(#main-dashboard.active .developer-dashboard-shell) .project-header strong {
  color: var(--overview-navy) !important;
}

body:has(#main-dashboard.active .developer-dashboard-shell) .studio-assistant-launcher {
  background: var(--overview-navy) !important;
  border-color: var(--overview-gold) !important;
  color: #fff !important;
  --studio-assistant-gold: var(--overview-gold);
}

#main-dashboard.active .developer-dashboard-shell {
  color: var(--overview-navy);
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-commandbar {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 2px 0 !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-commandbar strong,
#main-dashboard.active .developer-dashboard-shell h2,
#main-dashboard.active .developer-dashboard-shell h3,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-metric-block strong,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-stat strong,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-project-copy strong,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-operations-row strong,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-statutory-values strong,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-recent-list strong {
  color: var(--overview-navy) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-commandbar span,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-command-controls small,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-band p,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-card-note,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-command-section-head p,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-band p {
  color: var(--overview-muted) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-command-controls select,
#main-dashboard.active .developer-dashboard-shell #developerDashboardRefreshBtn {
  background: #fff !important;
  color: var(--overview-navy) !important;
  border: 1px solid var(--overview-line) !important;
  box-shadow: none !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-command-controls select:focus-visible,
#main-dashboard.active .developer-dashboard-shell button:focus-visible,
#main-dashboard.active .developer-dashboard-shell [role="button"]:focus-visible {
  outline: 2px solid var(--overview-gold) !important;
  outline-offset: 2px !important;
}

#main-dashboard.active .developer-dashboard-shell #developerDashboardRefreshBtn:hover,
#main-dashboard.active .developer-dashboard-shell .text-link-btn:hover {
  background: var(--overview-pale-gold) !important;
  color: var(--overview-navy) !important;
  border-color: var(--overview-gold) !important;
  transform: none !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-band {
  background: #fff !important;
  border: 1px solid var(--overview-line) !important;
  border-left: 4px solid var(--overview-gold) !important;
  box-shadow: 0 3px 12px rgba(16, 37, 66, .06) !important;
  color: var(--overview-navy) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-eyebrow {
  color: var(--overview-navy) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-badge,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-type-pill,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-project-row .status-pill.success {
  background: var(--overview-pale-gold) !important;
  border: 1px solid #ebddbf !important;
  color: #7c5d20 !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-badge-dot {
  background: var(--overview-gold) !important;
  box-shadow: none !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-stat span {
  color: var(--overview-muted) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-stat + .developer-dashboard-hero-stat {
  border-color: var(--overview-line) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-more-menu summary,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-row-menu summary {
  background: #fff !important;
  color: var(--overview-navy) !important;
  border-color: var(--overview-line) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-summary-card,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-command-grid > article,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-portfolio-card {
  background: #fff !important;
  border: 1px solid var(--overview-line) !important;
  box-shadow: 0 3px 12px rgba(16, 37, 66, .06) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-card-icon,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-project-icon {
  background: var(--overview-pale-gold) !important;
  border-color: #eee2c8 !important;
  color: #7c5d20 !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-bank-balance-block strong {
  font-size: clamp(18px, 1.6vw, 26px) !important;
  white-space: nowrap !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-progress,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-project-progress-bar {
  background: #e9eef5 !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-progress .developer-dashboard-progress-sold,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-project-progress-bar span {
  background: var(--overview-navy) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-progress .developer-dashboard-progress-available {
  background: #dcc394 !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-progress .developer-dashboard-progress-hold {
  background: #aeb8c6 !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-progress span[style*="#ef4444"] {
  background: #ef4444 !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-card-footer-links,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-band,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-tabs {
  border-color: var(--overview-line) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-card-footer-links .text-link-btn,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-section-links .text-link-btn,
#main-dashboard.active .developer-dashboard-shell #dashboardViewAllProjectsBtn,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-portfolio-footer .text-link-btn,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-row button {
  background: #fff !important;
  border: 1px solid var(--overview-line) !important;
  color: var(--overview-navy) !important;
  box-shadow: none !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-card,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-portfolio-card {
  border-top: 2px solid var(--overview-gold) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-band,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-tabs {
  background: #fff !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-tabs button {
  background: transparent !important;
  color: var(--overview-muted) !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-tabs button.is-active {
  color: var(--overview-navy) !important;
  border-bottom-color: var(--overview-gold) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-tabs button span {
  background: #edf1f6 !important;
  color: var(--overview-navy) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-operations-head,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-portfolio-head {
  background: #f7f9fc !important;
  color: var(--overview-navy) !important;
  border-color: var(--overview-line) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-operations-table,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-operations-row,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-project-row,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-recent-list > div {
  border-color: var(--overview-line) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-project-row:hover,
#main-dashboard.active .developer-dashboard-shell .developer-dashboard-action-row:hover {
  background: #f7f9fc !important;
  box-shadow: inset 3px 0 0 var(--overview-gold) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-cost-note {
  background: #f7f9fc !important;
  border-left-color: var(--overview-gold) !important;
  color: #485a72 !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-statutory-values > div {
  background: #f7f9fc !important;
  border-color: var(--overview-line) !important;
}

#main-dashboard.active .developer-dashboard-shell .developer-dashboard-source-state {
  background: #fff !important;
  border-color: var(--overview-line) !important;
  color: var(--overview-muted) !important;
}

@media (max-width: 900px) {
  #main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-band {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #main-dashboard.active .developer-dashboard-shell .developer-dashboard-command-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  #main-dashboard.active .developer-dashboard-shell,
  #main-dashboard.active .developer-dashboard-shell > *,
  #main-dashboard.active .developer-dashboard-shell .developer-dashboard-command-grid > article {
    min-width: 0 !important;
  }
  #main-dashboard.active .developer-dashboard-shell .developer-dashboard-summary-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  #main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-stats {
    min-width: 0 !important;
  }
  #main-dashboard.active .developer-dashboard-shell .developer-dashboard-hero-stat strong {
    overflow-wrap: anywhere !important;
  }
  #main-dashboard.active .developer-dashboard-shell .developer-dashboard-bank-balance-block strong {
    font-size: 26px !important;
  }
}
