/*
  ORION monochrome design system
  Reference: ChatGPT Image Aug 2, 2026 — clean white UI, pure black accents,
  soft gray cards, black line-art astrology motif. Loaded last on every page.
*/

:root {
  /* Cream + burgundy (site default; full paint in cosmic-ref-theme.css) */
  --bg-primary: #f7f0e6;
  --bg-secondary: #f0e8dc;
  --bg-card: #fffcf8;
  --bg-glass: rgba(255, 252, 248, 0.92);
  --bg-card-gradient: linear-gradient(165deg, #fffcf8, #f7f0e6);
  --surface: #fffcf8;
  --surface-strong: #ffffff;

  --text-primary: #1c1410;
  --text-secondary: #5c4f45;
  --text-muted: #8a7b6e;
  --muted: #8a7b6e;
  --text-soft: #6b5e52;
  --text-dark: #1c1410;
  --text-light: #ffffff;
  --text: #2c241c;

  --border-light: rgba(120, 90, 70, 0.12);
  --border-dark: rgba(120, 90, 70, 0.28);
  --border-color: rgba(120, 90, 70, 0.18);
  --border-gold: rgba(140, 42, 58, 0.35);
  --gold-border: rgba(140, 42, 58, 0.35);

  --accent-primary: #8c2a3a;
  --accent-hover: #a33345;
  --accent-contrast: #ffffff;
  --electric-blue: #8c2a3a;
  --electric-blue-bright: #a33345;
  --electric-blue-soft: rgba(140, 42, 58, 0.12);
  --electric-blue-glow: rgba(140, 42, 58, 0.28);
  --hover-border: #8c2a3a;
  --accent-gold: #b8860b;
  --accent-purple: #8c2a3a;
  --gold: #8c2a3a;
  --gold-light: #c45a6a;
  --navy: #2c241c;
  --navy-soft: #5c4f45;
  --royal-blue: #8c2a3a;
  --cream: #f7f0e6;
  --white: #ffffff;

  --success: #2f9e66;
  --warning: #c47a12;
  --danger: #c0392b;
  --error: #c0392b;
  --bg-status-success: rgba(47, 158, 102, 0.12);
  --bg-status-warning: rgba(196, 122, 18, 0.12);
  --bg-status-danger: rgba(192, 57, 43, 0.12);

  --shadow-soft: 0 10px 28px rgba(60, 40, 30, 0.08);
  --shadow-sm: 0 4px 14px rgba(60, 40, 30, 0.06);
  --shadow-md: 0 12px 32px rgba(60, 40, 30, 0.1);
  --shadow-strong: 0 18px 44px rgba(60, 40, 30, 0.14);
  --shadow-glow: 0 0 22px rgba(140, 42, 58, 0.2);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 20px;

  color-scheme: light;
}

html {
  color-scheme: light;
  background: #f7f0e6;
}

body {
  position: relative;
  min-width: 320px;
  color: var(--text-secondary);
  background: #f7f0e6;
  background-attachment: scroll;
  font-family: Inter, Outfit, "Space Grotesk", "Segoe UI", system-ui, sans-serif;
}

body.home-page,
body.login-page,
body.profile-page,
body.chat-page,
body.subscription-page,
body.kundali-page,
body.cosmic-clock-page,
body.contact-page,
body[class*="-page"]:not(.horoscope-page):not(.charts-page) {
  color: var(--text-secondary) !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  background-attachment: scroll !important;
}

/* Decorative body overlays disabled — solid white pages only */
body::before,
body::after {
  display: none !important;
  content: none !important;
  background: none !important;
  background-image: none !important;
  opacity: 0 !important;
}

.page-shell,
main,
section,
.section,
[class*="-page"],
[class*="-main"],
[class*="-shell"] {
  background-attachment: scroll !important;
}

main > section,
.section,
.cosmic-content-background,
.about-section,
.pricing-section,
.reviews-summary-section,
.subscription-plans-section,
.subscription-comparison-section,
.membership-account-section,
.contact-section,
.report-showcase,
.chat-app-shell,
.profile-app-shell {
  color: var(--text-secondary);
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none;
}

main > section:nth-of-type(even),
.section:nth-of-type(even),
.subscription-comparison-section,
.membership-account-section {
  background-color: transparent !important;
}

*,
*::before,
*::after {
  border-color: var(--border-color);
  text-shadow: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-heading h2,
.site-title,
.admin-topbar-title h1,
.pricing-card-title,
.subscription-section-heading h2,
.chat-window-header h1 {
  color: var(--text-primary) !important;
  font-family: Inter, Outfit, "Space Grotesk", "Segoe UI", system-ui, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

p,
li,
dd,
dt,
label,
small,
.hero-text,
.section-heading p,
.subscription-hero__copy,
.pricing-description,
.login-intro,
.login-note {
  color: var(--text-secondary) !important;
}

.eyebrow,
[class*="eyebrow"],
[class*="kicker"],
[class*="label"],
[class*="meta"],
[class*="muted"],
[class*="subtitle"],
[class*="helper"],
[class*="hint"],
[class*="date"] {
  color: var(--text-muted) !important;
}

a {
  color: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  /* A black outline is invisible against this theme's dark backgrounds. */
  outline: 3px solid var(--accent-gold) !important;
  outline-offset: 3px;
}

.site-header,
.site-header[data-shared-header] {
  color: var(--text-primary);
  background: transparent !important;
  border-bottom: 1px solid var(--border-light) !important;
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header[data-shared-header] .site-header__inner {
  min-height: 82px;
}

.site-header[data-shared-header] .site-brand {
  color: var(--text-primary) !important;
}

.site-header[data-shared-header] .site-brand img {
  filter: grayscale(1) contrast(1.35) brightness(.15);
  mix-blend-mode: multiply;
}

/* Strips decoration off emblem blocks. .site-brand__mark is deliberately NOT
   in this list: it now carries the sunrise logo as a background-image, and
   `background: transparent !important` here would erase it and leave an empty
   bordered square. Add image-bearing marks below, not here. */
.footer-brand-lockup > span,
.chat-agent-mark,
.chat-mini-logo,
.login-emblem {
  border: 1px solid var(--border-color) !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Dawn Vedic sunrise mark — assets/logo/orion-sunrise-icon.svg.
   Replaces the CSS-drawn orbit ring that used to be built from ::before and
   ::after; those are neutralised below so the two marks can't stack. */
.site-brand__mark {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  background: url("assets/logo/orion-sunrise-icon.svg") center / contain no-repeat;
}

.site-brand__mark::before,
.site-brand__mark::after {
  content: none;
}

.site-header[data-shared-header] .site-brand__text strong {
  color: var(--text-secondary) !important;
  font-size: clamp(2.125rem, 2.35vw, 2.5rem);
  font-weight: 400 !important;
  letter-spacing: .3em !important;
}

.site-header[data-shared-header] .site-brand__text > span {
  color: var(--text-secondary) !important;
  font-weight: 600;
  letter-spacing: .52em !important;
}

/* Desktop header nav stays light; mobile drawer is solid cream (see @media below). */
.site-header[data-shared-header] .site-nav {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/*
 * Desktop submenu flyout — cream paper, not transparent.
 */
.site-header[data-shared-header] .site-nav__submenu {
  background: #FFFDF8 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-color: #E6DCC6 !important;
  box-shadow: 0 12px 28px rgba(58, 42, 18, 0.12) !important;
}

.site-header[data-shared-header] .site-nav a,
.site-header[data-shared-header] .site-nav .site-nav__toggle,
.site-header[data-shared-header] .chart-selector,
.site-header[data-shared-header] .chart-selector select {
  color: #2A2117 !important;
}

.site-header[data-shared-header] .site-nav a::after {
  background: #8C2A3A !important;
}

.site-header[data-shared-header] .site-nav a:hover,
.site-header[data-shared-header] .site-nav a:focus-visible,
.site-header[data-shared-header] .site-nav a[aria-current="page"],
.site-header[data-shared-header] .site-nav .site-nav__toggle:hover,
.site-header[data-shared-header] .site-nav .site-nav__toggle:focus-visible,
.site-header[data-shared-header] .site-nav__group.is-current > .site-nav__toggle {
  color: #8C2A3A !important;
  background: transparent !important;
}

.site-header[data-shared-header] .site-nav__badge,
.membership-status-pill,
[class*="badge"]:not([class*="badges"]):not(.hz-slot-cal-tag),
[class*="pill"]:not([class*="pills"]):not(.hz-slot-cal-tag),
[class*="chip"]:not(.hz-slot-cal-tag),
/* Exclude .hz-slot-cal-tag — plain quality labels, not badges.
   "stage" and "tagline" contain the substring "tag": .cosmic-stage was being
   painted as a maroon chip, filling the whole Cosmic Clock stage (1112x1957)
   with #8c2a3a. Same trap as the "badges"/"pills" plurals above.
   [class*="tags"] (plural) is excluded the same way "badges"/"pills" are:
   .bcd-yoga-card__tags is a plain wrapper around the tradition/dasha labels,
   not a tag itself, but the rule painted the wrapper solid maroon, hiding the
   text sitting inside it. Same for .review-tags-fieldset on the reviews page. */
[class*="tag"]:not([class*="tags"]):not([class*="stage"]):not([class*="tagline"]):not(.hz-slot-cal-tag):not(.hz-slot-cal-tag *) {
  color: #ffffff !important;
  background: #8c2a3a !important;
  border: 1px solid #8c2a3a !important;
  box-shadow: none !important;
}

.site-header[data-shared-header] .header-chat-button,
.site-header[data-shared-header] .header-auth-button,
.button,
.btn,
[class*="button"],
button[type="submit"],
input[type="submit"] {
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/*
 * Primary/upgrade CTAs only — do NOT use bare [class*="primary"].
 * That matched layout wrappers like .remedy-primary-grid and painted entire
 * page sections solid purple.
 */
.button-primary,
.submit-button,
.report-track-button,
.pricing-button,
.login-continue-button,
.login-guest-button,
.login-google-button,
.header-auth-button,
.header-chat-button,
button[type="submit"],
button[class*="primary"],
a[class*="primary"],
.button[class*="primary"],
.btn[class*="primary"],
input[class*="primary"],
button[class*="upgrade"],
a[class*="upgrade"],
.button[class*="upgrade"] {
  color: #ffffff !important;
  background: #8c2a3a !important;
  background-color: #8c2a3a !important;
  background-image: none !important;
  border-color: #8c2a3a !important;
}

.button-secondary,
.report-close-button,
.report-copy-button,
.login-text-button,
[class*="secondary"] {
  color: var(--text-secondary) !important;
  background: #fffcf8 !important;
  background-image: none !important;
  border-color: rgba(120, 90, 70, 0.28) !important;
}

/* Primary CTA hover: border + light lift — no full-section wash */
.button:hover,
.btn:hover,
button:hover:not(.hz-energy-hour),
[class*="button"]:hover:not(.hz-energy-hour) {
  border-color: var(--hover-border, #8c2a3a) !important;
  box-shadow: 0 0 0 1px var(--hover-border, #8c2a3a) !important;
  transform: translateY(-1px);
}

/* Energy / graph columns: hover border only, never fill the column */
.hz-energy-hour:hover,
.hz-energy-hour:focus,
.hz-energy-hour.is-active {
  background-color: transparent !important;
  background-image: none !important;
  border-color: var(--hover-border, #8c2a3a) !important;
  box-shadow: none !important;
  color: inherit !important;
  transform: none !important;
  filter: none !important;
}

.hz-energy-hour:hover .hz-energy-bar-fill,
.hz-energy-hour:focus .hz-energy-bar-fill,
.hz-energy-hour.is-active .hz-energy-bar-fill {
  filter: none !important;
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--hover-border, #8c2a3a) !important;
}

.button-secondary:hover,
.header-chat-button:hover,
.login-text-button:hover,
[class*="secondary"]:hover {
  background-color: transparent !important;
  background-image: none !important;
  border-color: var(--hover-border, #8c2a3a) !important;
  color: var(--text-primary) !important;
  box-shadow: none !important;
}

:where(
  .info-card,
  .service-card,
  .pricing-card,
  .testimonial-card,
  .step-card,
  .visual-card,
  .contact-form,
  .faq-item,
  .card,
  .card-panel,
  .form-card,
  .kundali-form,
  .horoscope-form,
  .lr-form,
  .lr-report,
  .tm-form,
  .tm-report,
  .rel-form,
  .rel-results,
  .pt-results,
  .mc-results,
  .pn-results,
  .reviews-score-card,
  .review-card,
  .review-form,
  .report-search-card,
  .report-result-card,
  .chat-guidance-card,
  .chat-window,
  .chat-sidebar-card,
  .chat-center-panel,
  .chat-right-panel,
  .chat-left-sidebar,
  .profile-card,
  .profile-panel,
  .admin-panel,
  .membership-overview-card,
  .membership-detail-card,
  .subscription-current-summary,
  .subscription-plan-card,
  .service-chart-summary,
  .service-chart-empty__card,
  .service-chart-setup,
  dialog,
  [class*="modal__panel"],
  [class*="dialog__panel"]
) {
  color: var(--text-secondary) !important;
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-soft) !important;
}

.home-page :where(.info-card,.problem-card,.daily-zodiac-card,.trust-card,.snapshot-card,.quick-service-card),
.login-page :where(.login-card,.login-quote),
.subscription-page :where(.subscription-current-summary,.membership-overview-card,.membership-detail-card,.subscription-plan-card,.pricing-card),
.profile-page :where(.profile-card,.profile-panel,.profile-right-sidebar,.profile-center),
.chat-page :where(.chat-window,.chat-sidebar-card,.chat-left-sidebar,.chat-right-panel,.chat-center-panel,.chat-start-panel,.chat-onboarding),
.kundali-page :where(.kundali-form,.kundali-results,.kundali-panel,.kundali-card),
/* horoscope-page surfaces styled by horoscope.css Dawn Vedic — skip flat mono paint */
.horoscope-page-disabled :where(.horoscope-form,.horoscope-panel,.horoscope-sign-card,.horoscope-area-card,.hz-card,.hz-reading),
.contact-page :where(.contact-form,.contact-card,.consultation-panel),
.cosmic-clock-page :where(.cosmic-panel,.cosmic-card,.cosmic-dial-wrap),
.report-status-page :where(.report-search-card,.report-result-card),
.premium-report-page :where(.premium-card,.premium-panel,.premium-submission-panel),
.admin-system-page :where(.admin-panel,.admin-card,.admin-shell),
.admin-page :where(.admin-panel,.admin-card,.admin-shell) {
  color: var(--text-secondary) !important;
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: var(--shadow-soft) !important;
}

body.home-page .cosmic-content-background .problem-grid .info-card.problem-card,
body.home-page .selector-grid .info-card.problem-card,
body.home-page .daily-horoscope-carousel .daily-zodiac-card,
body.home-page .quick-service-grid .quick-service-card,
body.home-page .trust-snapshot-grid :where(.trust-card,.snapshot-card) {
  color: var(--text-secondary) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: var(--shadow-soft) !important;
}

body.home-page .cosmic-content-background .problem-grid .info-card.problem-card:hover,
body.home-page .selector-grid .info-card.problem-card:hover,
body.home-page .daily-horoscope-carousel .daily-zodiac-card:hover,
body.home-page .quick-service-grid .quick-service-card:hover {
  border-color: var(--electric-blue, #00bfff) !important;
  box-shadow: 0 0 24px var(--electric-blue-glow, rgba(0, 191, 255, 0.45));
}

.home-page :where(.info-card,.problem-card,.daily-zodiac-card,.quick-service-card) {
  min-height: 180px;
}

.login-page :where(.login-card,.login-quote) h1,
.login-page :where(.login-card,.login-quote) h2,
.profile-page :where(h1,h2,h3),
.chat-page :where(h1,h2,h3),
.subscription-page :where(h1,h2,h3) {
  color: var(--text-secondary) !important;
}

:where(.info-card,.service-card,.pricing-card,.testimonial-card,.step-card,.review-card,.subscription-plan-card):hover {
  border-color: var(--electric-blue, #00bfff) !important;
  box-shadow: 0 0 24px var(--electric-blue-glow, rgba(0, 191, 255, 0.35));
}

.pricing-card.featured,
.pricing-card.is-selected,
.subscription-plan-card.is-recommended,
.subscription-plan-card[data-recommended="true"] {
  border: 2px solid var(--accent-gold) !important;
  background: transparent !important;
}

.pricing-ribbon,
.recommended-badge,
[class*="recommended"],
[class*="featured"] > [class*="badge"] {
  color: #ffffff !important;
  background: var(--accent-gold) !important;
  border-color: var(--text-secondary) !important;
}

.card-icon,
.problem-icon,
.step-icon,
[class*="icon"] {
  color: var(--text-secondary) !important;
  background: transparent !important;
  border-color: var(--text-secondary) !important;
  box-shadow: none !important;
}

/*
 * Previously `filter: grayscale(1)` on every SVG site-wide, with no rescue
 * (unlike <img>, which cosmic-ref-theme.css explicitly un-grays). This
 * desaturated every icon on the site — zodiac symbols, service icons, Yoga
 * glyphs, cosmic-clock ticks — turning purple/cyan gradient strokes into
 * flat gray/near-black shapes. That is very likely the direct cause of the
 * "solid black icon" reports: a colored gradient icon put through
 * grayscale(1) can render dark enough to look like a broken glyph.
 */
.card-icon svg,
.problem-icon svg,
.step-icon svg,
.kundali-chart-svg svg,
.chart-ui-block svg,
.lr-chart svg,
.tm-energy__chart svg {
  color: var(--text-secondary) !important;
  stroke: currentColor !important;
}

input,
select,
textarea,
option,
.form-control,
[contenteditable="true"] {
  min-height: 48px;
  color: var(--text-secondary) !important;
  /* A black caret is invisible against these dark fields. */
  caret-color: var(--text-primary);
  background: transparent !important;
  background-image: none !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--text-secondary) !important;
  /* A black focus glow is invisible; this should read as a visible ring. */
  box-shadow: 0 0 0 3px var(--brand-soft, rgba(73, 40, 166, 0.35)) !important;
  outline: none;
}

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

.input-error,
[aria-invalid="true"] {
  border-color: var(--text-secondary) !important;
  /* Error indicator stripe was literal black — should read as an error. */
  box-shadow: inset 4px 0 0 var(--error) !important;
}

.home-hero {
  min-height: auto !important;
  padding: clamp(54px, 7vw, 96px) 0 clamp(42px, 6vw, 72px) !important;
  background: transparent !important;
}

.home-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .78fr);
  align-items: center;
  min-height: min(690px, calc(100vh - 120px));
  padding: clamp(28px, 4.8vw, 76px);
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.home-hero-panel::before {
  inset: auto -5% 5% auto;
  width: min(48vw, 620px);
  aspect-ratio: 1;
  opacity: .08;
  border: 1px solid var(--text-secondary);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -8deg, transparent 0 28deg, var(--text-secondary) 28.2deg 29deg, transparent 29.2deg 30deg),
    radial-gradient(circle, transparent 0 22%, var(--text-secondary) 22.3% 22.7%, transparent 23% 43%, var(--text-secondary) 43.2% 43.6%, transparent 44% 100%);
  content: "" !important;
}

.home-hero-panel::after {
  display: none !important;
}

.home-hero h1 {
  max-width: 780px;
  color: var(--text-secondary) !important;
  font-size: clamp(3.2rem, 7vw, 7.25rem) !important;
  font-weight: 900 !important;
  line-height: .92 !important;
  letter-spacing: -.055em !important;
  text-transform: none !important;
}

.home-hero h1 span {
  color: var(--text-secondary) !important;
}

.home-hero .hero-text {
  max-width: 560px;
  color: var(--text-secondary) !important;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem) !important;
  line-height: 1.7 !important;
}

.hero-welcome,
.hero-divider {
  display: none !important;
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-hero .button {
  min-width: 210px;
  justify-content: center;
}

.zodiac-art {
  max-width: min(42vw, 520px);
  color: var(--text-secondary) !important;
  opacity: .16;
  filter: none !important;
}

.zodiac-ring,
.zodiac-ring::before,
.zodiac-ring::after,
.zodiac-sun {
  border-color: var(--text-secondary) !important;
  box-shadow: none !important;
}

.zodiac-ring {
  background: repeating-conic-gradient(from -7.5deg, transparent 0 28deg, var(--accent-gold) 29deg 30deg) !important;
}

.hero,
[class*="hero"] {
  background-color: transparent !important;
  background-image: none !important;
}

.site-footer,
footer {
  color: var(--text-secondary) !important;
  background: transparent !important;
  background-image: none !important;
  border-top: 1px solid var(--border-light) !important;
}

.site-footer a,
footer a {
  color: var(--text-secondary) !important;
}

table,
thead,
tbody,
tr,
th,
td {
  border-color: var(--border-light) !important;
}

th,
thead {
  color: var(--text-secondary) !important;
  background: transparent !important;
}

.progress-bar,
[class*="score"],
[class*="meter"],
[class*="track"],
[class*="fill"],
[class*="bar"] {
  border-color: var(--border-light) !important;
}

/*
 * Progress fills: solid brand colour only — never diagonal stripes.
 * The previous repeating-linear-gradient matched every [class*="progress"]
 * track (e.g. .remedy-checklist-progress) and every [class*="fill"] child
 * (e.g. .status-progress-fill), which rendered as a lined empty-bar bug.
 */
.status-progress-fill,
[class*="progress-fill"],
[class*="bar-fill"],
[class*="timer-fill"] {
  background-color: var(--accent-purple, #4928a6) !important;
  background-image: none !important;
}

/* SAV Sarvashtakavarga bars — solid category colors, proportional height, no stripe */
.av-sav-chart .av-sav-bar__track {
  background: rgba(73, 40, 166, 0.14) !important;
  background-image: none !important;
}

.av-sav-chart .av-sav-bar__fill {
  background-image: none !important;
}

.av-sav-chart .av-sav-bar.is-strong .av-sav-bar__fill {
  background: #22c55e !important;
  background-color: #22c55e !important;
}

.av-sav-chart .av-sav-bar.is-supportive .av-sav-bar__fill {
  background: var(--accent-purple, #4928a6) !important;
  background-color: var(--accent-purple, #4928a6) !important;
}

.av-sav-chart .av-sav-bar.is-mixed .av-sav-bar__fill {
  background: #eda100 !important;
  background-color: #eda100 !important;
}

.av-sav-chart .av-sav-bar.is-care .av-sav-bar__fill {
  background: #e24b4a !important;
  background-color: #e24b4a !important;
}

.av-band-legend__item.is-strong i { background: #22c55e !important; }
.av-band-legend__item.is-supportive i { background: var(--accent-purple, #4928a6) !important; }
.av-band-legend__item.is-mixed i { background: #eda100 !important; }
.av-band-legend__item.is-care i { background: #e24b4a !important; }

.is-good,
.is-success,
.is-active,
.is-ready,
.is-paid,
.is-live {
  color: var(--text-secondary) !important;
}

.is-warning,
.is-pending,
.is-mixed {
  color: var(--text-secondary) !important;
}

.is-error,
.is-danger,
.is-failed,
.is-bad {
  color: var(--text-secondary) !important;
}

.spinner,
.loader,
[class*="spinner"],
[class*="loader"] {
  border-color: var(--text-secondary) !important;
  border-top-color: var(--text-secondary) !important;
  box-shadow: none !important;
}

img:not(.site-brand img) {
  filter: grayscale(1) contrast(1.05);
}

[style*="background"] {
  background-attachment: scroll !important;
}

* {
  /* Was a black thumb on a solid white track — a bright light bar down the
     side of every dark page. */
  scrollbar-color: var(--accent-purple) var(--bg-secondary);
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-purple);
  border: 3px solid var(--bg-secondary);
  border-radius: 999px;
}

/* Mobile drawer — match home Dawn Vedic (cream panel, all menu items).
   Keep in sync with orion-design-system drawer breakpoint (1180px).
   Also beat styles.css full-bleed absolute menu (left/right:0). */
@media (max-width: 1180px) {
  .site-header[data-shared-header] .site-nav,
  .site-header[data-shared-header] .site-nav.is-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    width: min(18.5rem, 82vw) !important;
    max-width: 18.5rem !important;
    height: 100dvh !important;
    transform: translateX(105%) !important;
    background: #FFFDF8 !important;
    background-image: linear-gradient(180deg, #FFFDF8 0%, #FBF6EC 100%) !important;
    border-left: 1px solid #E6DCC6 !important;
    border-color: #E6DCC6 !important;
    box-shadow: -12px 0 40px rgba(58, 42, 18, 0.14) !important;
    color: #2A2117 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    z-index: 1200 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .site-header[data-shared-header] .site-nav.is-open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .site-header[data-shared-header] .site-nav > a,
  .site-header[data-shared-header] .site-nav .site-nav__parent,
  .site-header[data-shared-header] .site-nav .site-nav__toggle {
    width: 100% !important;
    color: #2A2117 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid #EFE2CE !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    padding: 0.9rem 0.35rem !important;
    font-weight: 600 !important;
  }

  .site-header[data-shared-header] .site-nav a:hover,
  .site-header[data-shared-header] .site-nav a:focus-visible,
  .site-header[data-shared-header] .site-nav a[aria-current="page"],
  .site-header[data-shared-header] .site-nav a.is-current,
  .site-header[data-shared-header] .site-nav .site-nav__toggle:hover,
  .site-header[data-shared-header] .site-nav .site-nav__toggle:focus-visible,
  .site-header[data-shared-header] .site-nav .site-nav__toggle[aria-expanded="true"],
  .site-header[data-shared-header] .site-nav__group.is-open > .site-nav__toggle,
  .site-header[data-shared-header] .site-nav__group.is-current > .site-nav__toggle {
    color: #8C2A3A !important;
    background: transparent !important;
  }

  .site-header[data-shared-header] .site-nav a::after {
    display: none !important;
    background: transparent !important;
  }

  .site-header[data-shared-header] .site-nav__submenu {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 0.25rem !important;
    padding: 0.15rem 0 0.45rem 0.85rem !important;
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid #E8C77E !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header[data-shared-header] .site-nav__submenu a {
    display: block !important;
    width: 100% !important;
    color: #6B5A44 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(230, 220, 198, 0.7) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0.65rem 0.4rem !important;
    font-weight: 500 !important;
  }

  .site-header[data-shared-header] .site-nav__submenu a:last-child {
    border-bottom: 0 !important;
  }

  .site-header[data-shared-header] .site-nav__submenu a:hover,
  .site-header[data-shared-header] .site-nav__submenu a:focus-visible,
  .site-header[data-shared-header] .site-nav__submenu a[aria-current="page"],
  .site-header[data-shared-header] .site-nav__submenu a.is-current {
    color: #8C2A3A !important;
    background: transparent !important;
  }

  .site-header[data-shared-header] .site-nav__overview {
    color: #3C1219 !important;
    font-weight: 700 !important;
  }

  .site-header[data-shared-header] .site-nav__chevron {
    color: #9C8D75 !important;
  }

  .site-header[data-shared-header] .site-nav__toggle[aria-expanded="true"] .site-nav__chevron,
  .site-header[data-shared-header] .site-nav__group.is-open .site-nav__chevron {
    color: #8C2A3A !important;
  }

  .site-header[data-shared-header] .site-nav__badge {
    color: #3A2A12 !important;
    background: #E8A33D !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .site-header[data-shared-header] .mobile-menu-toggle,
  .site-header[data-shared-header] .mobile-menu-toggle.menu-toggle {
    background: #FFFDF8 !important;
    border: 1px solid #E6DCC6 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }

  .site-header[data-shared-header] .mobile-menu-toggle span,
  .site-header[data-shared-header] .menu-toggle span {
    background: #2A2117 !important;
  }

  .site-header[data-shared-header] .chart-selector--mobile {
    border-bottom-color: #E6DCC6 !important;
  }

  .site-header[data-shared-header] .chart-selector--mobile span {
    color: #9C8D75 !important;
  }

  .site-header[data-shared-header] .chart-selector--mobile select {
    color: #2A2117 !important;
    background: #FFF8EC !important;
    border: 1px solid #E6DCC6 !important;
  }

  body.menu-open .site-header[data-shared-header] .site-nav-backdrop,
  .site-header[data-shared-header] .site-nav-backdrop {
    background: rgba(42, 33, 23, 0.42) !important;
  }
}

@media (max-width: 768px) {
  body.has-shared-header {
    background: transparent !important;
  }

  .site-header[data-shared-header] {
    background: transparent !important;
  }

  .site-header[data-shared-header] .site-brand__text strong {
    font-size: clamp(1.18rem, 6vw, 1.75rem);
    letter-spacing: .22em !important;
  }

  .site-header[data-shared-header] .site-brand__text > span {
    font-size: clamp(0.75rem, 2.5vw, .72rem);
    letter-spacing: .35em !important;
  }

  .site-brand__mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .site-brand__mark::before {
    width: 32px;
    height: 13px;
  }

  .site-brand__mark::after {
    width: 6px;
    height: 6px;
  }

  .home-hero-panel {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 32px var(--mobile-gutter, 16px) 20px !important;
  }

  .home-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4.35rem) !important;
  }

  .home-hero .hero-actions {
    display: grid;
  }

  .home-hero .button {
    width: 100%;
  }

  .zodiac-art {
    width: min(78vw, 360px);
    max-width: 360px;
    margin: 24px auto 0;
    opacity: .12;
  }
}

@media (max-width: 420px) {
  .site-header[data-shared-header] .header-chat-button {
    display: none;
  }

  .site-header[data-shared-header] .site-brand {
    gap: 10px;
  }
}

/* Final monochrome lock: these elements had legacy runtime interaction colours. */
body.home-page .home-hero .home-hero-copy {
  color: var(--text-secondary) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.home-page .home-hero .button.button-secondary,
body.home-page .home-hero a.button.button-secondary.orion-ix {
  color: var(--text-secondary) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: none !important;
  transition-property: transform, color, background-color, border-color !important;
}

body.home-page .home-hero .button.button-secondary:hover,
body.home-page .home-hero .button.button-secondary:focus-visible {
  color: #ffffff !important;
  background: var(--electric-blue, #00bfff) !important;
  background-color: var(--electric-blue, #00bfff) !important;
  border-color: var(--electric-blue, #00bfff) !important;
  box-shadow: 0 0 22px var(--electric-blue-glow, rgba(0, 191, 255, 0.45)) !important;
}

body.home-page .cosmic-content-background .problem-grid > a.info-card.problem-card,
body.home-page .cosmic-content-background .selector-grid > a.info-card.problem-card,
body.home-page .problem-grid > a.info-card.problem-card.orion-ix,
body.home-page a.info-card.problem-card.orion-ix {
  color: var(--text-secondary) !important;
  background: transparent !important;
  background-color: transparent !important;
  background-origin: padding-box !important;
  background-clip: border-box !important;
  background-image: none !important;
  border: 1px solid var(--border-color) !important;
  border-color: var(--text-secondary) !important;
  box-shadow: none;
  transition-property: transform, border-color, box-shadow !important;
}

body.home-page .cosmic-content-background .problem-grid > a.info-card.problem-card:hover,
body.home-page .cosmic-content-background .selector-grid > a.info-card.problem-card:hover,
body.home-page a.info-card.problem-card.orion-ix:hover {
  border-color: var(--electric-blue, #00bfff) !important;
  box-shadow: 0 0 24px var(--electric-blue-glow, rgba(0, 191, 255, 0.4));
}

/* �� Reference-matched home hero & service row �� */
body.home-page .home-hero,
body.home-page .home-hero-panel,
.home-hero,
.home-hero-panel {
  color: var(--text-secondary) !important;
  background: transparent !important;
  background-image: none !important;
  border-color: var(--text-secondary) !important;
  box-shadow: none !important;
}

body.home-page .home-hero-panel::before,
body.home-page .home-hero-panel::after,
.home-hero-panel::before,
.home-hero-panel::after {
  border-color: var(--text-secondary) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.home-hero h1,
.home-hero h1 span,
body.home-page .home-hero h1,
body.home-page .home-hero h1 span {
  color: var(--text-secondary) !important;
}

.home-hero .hero-text,
body.home-page .home-hero .hero-text {
  color: var(--text-secondary) !important;
}

.home-hero .button-primary,
body.home-page .home-hero .button-primary {
  color: #ffffff !important;
  background: var(--accent-purple) !important;
  border-color: var(--text-secondary) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

.home-hero .button-secondary,
body.home-page .home-hero .button-secondary {
  color: var(--text-secondary) !important;
  background: transparent !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 999px !important;
}

.zodiac-art,
.zodiac-ring,
.zodiac-sun,
.zodiac-symbols,
.zodiac-symbols span {
  color: var(--text-secondary) !important;
  border-color: var(--text-secondary) !important;
}

.zodiac-ring {
  background: repeating-conic-gradient(from -7.5deg, transparent 0deg 28deg, var(--accent-gold) 29deg 30deg) !important;
  box-shadow: none !important;
}

.zodiac-ring::before,
.zodiac-ring::after {
  border-color: var(--text-secondary) !important;
  box-shadow: none !important;
}

.zodiac-sun {
  border-color: var(--text-secondary) !important;
  background: transparent !important;
  color: var(--text-secondary) !important;
}

.quick-service-card,
.quick-service-grid .quick-service-card,
.info-card,
.problem-card,
.daily-zodiac-card,
.trust-card,
.snapshot-card {
  background: transparent !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: none;
}

.quick-service-icon,
.card-icon,
.problem-icon,
.step-icon {
  color: var(--text-secondary) !important;
  border-color: var(--text-secondary) !important;
  background: transparent !important;
}

.quick-service-arrow,
.eyebrow,
.about-label,
.hero-divider,
.hero-divider span {
  color: var(--text-secondary) !important;
}

.hero-divider::before,
.hero-divider::after {
  background: linear-gradient(90deg, transparent, var(--accent-gold)) !important;
}

.site-footer,
footer.site-footer {
  color: var(--text-secondary) !important;
  background: transparent !important;
  border-top: 1px solid var(--border-color) !important;
}

.site-footer a,
footer.site-footer a {
  color: var(--text-secondary) !important;
}

.site-footer a:hover,
footer.site-footer a:hover {
  color: var(--electric-blue, #00bfff) !important;
}

/* Kill residual cosmic wallpaper layers */
[class*="cosmic-"],
.cosmic-content-background,
.section::before {
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

img[src*="orion-"],
img[src*="cosmic"],
img[src*="galaxy"],
img[src*="starfield"] {
  filter: grayscale(1) contrast(1.05);
}

/* Soft mono reference watermark (optional, subtle) */
body.home-page main {
  background: transparent !important;
}
