:root {
  --color-void: #000000;
  --color-bone: #ffffff;
  --color-ash: #bdbdbd;
  --color-smoke: #9a9a9a;
  --color-plum-voltage: #8052ff;
  --color-amber-spark: #ffb829;
  --color-lichen: #15846e;
  --font-acronym: "Space Grotesk", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --bg: var(--color-void);
  --bg-2: var(--color-void);
  --panel: rgba(0, 0, 0, 0.88);
  --panel-2: rgba(0, 0, 0, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.02);
  --panel-strong: rgba(255, 255, 255, 0.03);
  --panel-rich: rgba(0, 0, 0, 0.92);
  --panel-rich-strong: rgba(0, 0, 0, 0.98);
  --text: var(--color-bone);
  --muted: var(--color-ash);
  --accent: var(--color-plum-voltage);
  --accent-2: var(--color-plum-voltage);
  --accent-3: var(--color-lichen);
  --warning: var(--color-amber-spark);
  --danger: #ff6b8d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: none;
  --glow: none;
  --radius-xl: 24px;
  --radius-lg: 24px;
  --radius-md: 24px;
  --radius-pill: 24px;
  --font: var(--font-acronym);
}

html,
body {
  background: #000 !important;
  color: var(--color-bone);
}

body {
  font-family: var(--font-acronym) !important;
  letter-spacing: 0.021em;
}

body::before,
body::after,
.scene::before,
.scene::after {
  background: none !important;
  box-shadow: none !important;
}

body::before,
body::after {
  display: none !important;
}

body.mpp-generated-page::before,
body.mpp-generated-page::after {
  display: none !important;
}

.shader-background {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  display: block !important;
  pointer-events: none !important;
  z-index: 0 !important;
  margin: 0 !important;
  opacity: 0.42 !important;
}

.shader-background[data-profile="dala-particles-nebula"] {
  opacity: 0.72 !important;
}

body.mpp-generated-page .shader-background[data-profile="dala-particles-nebula"] {
  opacity: 0.56 !important;
}

.app-shell,
.onboarding-app,
.mpp-shell,
.deck-shell,
.scroll-shell {
  position: relative;
  z-index: 1;
}

.sidebar,
.left-rail,
.topbar,
.site-header,
.topbar.is-hidden,
.single-flow-banner,
.hero-status,
.portal-quick-nav,
.workspace-nav-button,
.workspace-subnav-button,
.tab-btn,
.module-tab-btn,
.mobile-nav-toggle,
.rail-card,
.hero-card,
.metric-card,
.thread-panel,
.support-card,
.review-header-card,
.review-summary-card,
.review-card,
.complete-card,
.message-bubble,
.system-card,
.card,
.client-checkin-sidebar-card,
.client-checkin-step,
.client-checkin-submit-block,
.client-record-tools details,
.client-record-highlight,
.client-record-snapshot-card,
.client-record-thread-item,
.hero-panel,
.feature-card,
.showcase,
.cta-card,
.proof-chip,
.signal-card,
.outcome-card,
.anchor-card,
.slide-card,
.timeline-card,
.metric-card,
.shot,
.hero-stat,
.kicker,
.topnav a,
.btn-secondary,
.btn,
.save-chip,
.setup-footer-bar,
.single-step-pill,
.module-item,
.upload-item,
.check-item,
.capture-card,
.schema-card,
.generated-output-item,
.generated-output-card,
.portal-chat-shell,
.portal-chat-context,
.portal-highlight-card,
.portal-intro,
.portal-chat-input-wrap,
.portal-chat-card,
.portal-chat-suggestion,
.client-card,
.client-checkin-sidebar-block {
  background: rgba(0, 0, 0, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.topbar,
.site-header,
.sidebar,
.left-rail {
  background: rgba(0, 0, 0, 0.86) !important;
}

.brand-mark,
.site-loader__mark,
.brand__mark {
  background: transparent !important;
  color: var(--color-bone) !important;
  box-shadow: none !important;
}

.brand-mark {
  border: 1px solid rgba(128, 82, 255, 0.6) !important;
  border-radius: 24px !important;
}

h1,
h2,
.hero h2,
.topbar h2,
.client-record-top h1,
.hero__title,
.footer__title,
.section-head h2,
.body-copy__heading,
.manifesto__copy h2,
.single-flow-copy h3 {
  color: var(--color-bone) !important;
  letter-spacing: -0.04em !important;
  line-height: 0.92 !important;
  font-weight: 300 !important;
}

.hero__title,
.footer__title,
.body-copy__heading,
.manifesto__copy h2 {
  text-wrap: balance;
}

.single-flow-copy h3,
.topbar h2,
.review-header-card h3,
.complete-card h3,
.section-header h3,
.section-header h2,
.thread-header h3,
.phase-title {
  letter-spacing: -0.03em !important;
  line-height: 1.02 !important;
  font-weight: 400 !important;
}

.eyebrow,
.small-label,
.section-label,
.kicker,
.section-head span,
.label,
.hero-stat span,
.client-record-highlight-label,
.client-record-snapshot-label,
.message-role {
  color: var(--color-bone) !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
}

.brand-copy span,
.subtitle,
.muted,
li,
small,
.hero-stat span,
.shot-caption,
.client-record-meta,
.client-record-section-note,
.client-checkin-submit-note,
.thread-progress-note,
.progress-meta,
.validation-text,
.composer-helper,
.portal-title-row + .subtitle,
.section-head p,
.lede,
.body-copy p,
.manifesto__copy p,
.proof-chip p,
.feature-card p,
.signal-card p,
.outcome-card p {
  color: var(--color-ash) !important;
}

.primary-btn,
.btn-primary,
.site-header .btn-primary,
.hero__actions .btn-primary,
.client-checkin-submit-button,
.topbar .btn-primary,
.action-btn,
.portal-chat-send,
.roster-delete-button {
  background: var(--color-plum-voltage) !important;
  color: var(--color-bone) !important;
  border: 1px solid transparent !important;
  border-radius: 24px !important;
  box-shadow: none !important;
  text-transform: uppercase;
  letter-spacing: 0.05em !important;
  font-weight: 600 !important;
  background-image: none !important;
}

.ghost-btn,
.btn-secondary,
.workspace-nav-button,
.workspace-subnav-button,
.topnav a,
.tab-btn,
.module-tab-btn,
.mobile-nav-toggle,
.portal-chat-suggestion {
  color: var(--color-bone) !important;
  border-radius: 24px !important;
}

.ghost-btn,
.btn-secondary,
.workspace-nav-button,
.workspace-subnav-button,
.topnav a,
.tab-btn,
.module-tab-btn,
.mobile-nav-toggle,
.portal-chat-suggestion,
.save-chip,
.capture-pill,
.status-badge,
.home-promise-chip,
.portal-mood-option,
.client-checkin-mood-option {
  background-color: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: var(--color-bone) !important;
  box-shadow: none !important;
  background-image: none !important;
}

.tab-btn.active,
.module-tab-btn.active,
.workspace-nav-button.is-active,
.workspace-subnav-button.is-active,
.module-item.active,
.single-step-pill.is-current,
.client-checkin-mood-option.is-selected,
.portal-mood-option.is-selected,
.topnav a:hover,
.topnav a:focus-visible {
  background: rgba(128, 82, 255, 0.16) !important;
  border-color: rgba(128, 82, 255, 0.5) !important;
  box-shadow: none !important;
}

.single-step-pill.is-current,
.module-item.active,
.workspace-nav-button.is-active,
.workspace-subnav-button.is-active,
.tab-btn.active,
.module-tab-btn.active {
  background-image: none !important;
}

.pill,
.badge,
.hero-status,
.save-chip,
.shot-caption .pill,
.section-header .pill {
  background: rgba(128, 82, 255, 0.12) !important;
  border-color: rgba(128, 82, 255, 0.36) !important;
  color: var(--color-bone) !important;
  border-radius: 24px !important;
}

.badge.pending,
.badge.medium,
.badge.legacy,
.badge.planned,
.badge.next,
.badge.low,
.badge.blocked,
.badge.review {
  background: rgba(255, 184, 41, 0.12) !important;
  border-color: rgba(255, 184, 41, 0.32) !important;
  color: var(--color-bone) !important;
}

.badge.active,
.badge.high,
.badge.critical,
.badge.healthy,
.badge.full-pay,
.badge.complete,
.badge.maintain,
.badge.in_progress,
.badge.open,
.badge.fill,
.pulse,
.status-dot {
  background: var(--color-lichen) !important;
  color: var(--color-bone) !important;
  box-shadow: none !important;
}

.progress,
.progress-inner {
  border-radius: 999px !important;
}

.progress {
  background: rgba(255, 255, 255, 0.08) !important;
}

.progress-inner {
  background: linear-gradient(90deg, var(--color-plum-voltage), var(--color-lichen)) !important;
}

.composer-input,
.text-input,
textarea,
input,
select {
  background: rgba(0, 0, 0, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: var(--color-bone) !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}

.composer-input::placeholder,
.text-input::placeholder,
textarea::placeholder,
input::placeholder {
  color: var(--color-smoke) !important;
}

.topbar,
.site-header,
.left-rail,
.sidebar,
.single-flow-banner,
.review-header-card,
.review-summary-card,
.thread-panel,
.support-card,
.complete-card,
.client-checkin-submit-block,
.client-checkin-sidebar-card,
.client-record-highlight,
.portal-chat-shell,
.portal-chat-context,
.portal-chat-card,
.hero-panel,
.feature-card,
.showcase,
.cta-card,
.signal-card,
.outcome-card,
.anchor-card,
.slide-card,
.timeline-card,
.shot,
.generated-output-card,
.generated-output-item,
.schema-card,
.capture-card,
.setup-footer-bar {
  background-image: none !important;
}

.section,
.slide,
.footer,
.main,
.workspace,
.mpp-main {
  position: relative;
  z-index: 1;
}

.hero-panel,
.hero-card,
.review-header-card,
.complete-card,
.cta-card {
  overflow: hidden;
}

.hero-panel::before,
.review-header-card::before,
.complete-card::before,
.cta-card::before,
.feature-card::before,
.proof-chip::before,
.signal-card::before,
.outcome-card::before,
.card::before,
.rail-card::before,
.thread-panel::before,
.support-card::before,
.hero-card::before,
.client-checkin-sidebar-card::before,
.client-record-highlight::before {
  display: none !important;
  content: none !important;
}

.footer__nav a,
.footer__nav button,
.nav a {
  color: var(--color-smoke) !important;
}

.footer__nav a:hover,
.footer__nav button:hover,
.nav a:hover {
  color: var(--color-bone) !important;
}

html,
body,
body.onboarding-auth-page,
body.mpp-generated-page {
  background-image: none !important;
}

body .topbar,
body .single-flow-banner,
body .rail-card,
body .thread-panel,
body .support-card,
body .review-summary-card,
body .review-draft-card,
body .home-identity-card,
body .home-step-card,
body .review-header-card,
body .message-bubble.agent,
body .session-card {
  background: rgba(255, 255, 255, 0.02) !important;
  background-image: none !important;
}

body .module-item.active,
body .module-item.in_progress.active,
body .single-step-pill.is-current {
  background: rgba(128, 82, 255, 0.14) !important;
  background-image: none !important;
  border-color: rgba(128, 82, 255, 0.42) !important;
}

body .primary-btn,
body .primary-btn.is-disabled,
body .btn-primary,
body .portal-chat-send,
body .progress-inner {
  background: var(--color-plum-voltage) !important;
  background-image: none !important;
  border-color: transparent !important;
  color: var(--color-bone) !important;
}

@media (max-width: 960px) {
  .hero-panel,
  .thread-layout,
  .client-checkin-layout,
  .grid-2,
  .overview-grid,
  .client-record-grid,
  .client-record-key-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .main,
  .workspace,
  .mpp-main {
    padding: 20px !important;
  }

  h1,
  h2,
  .hero h2,
  .topbar h2,
  .client-record-top h1,
  .hero__title,
  .footer__title,
  .section-head h2,
  .body-copy__heading,
  .manifesta__copy h2,
  .single-flow-copy h3 {
    line-height: 0.98 !important;
  }
}
