/* Destiny Matrix Chart AI — destinymatrixchartai.com
   New product identity. Loaded last so it owns the visual system.
   Fonts are loaded via <link> / wp_enqueue_style — never @import here
   (an @import delays this whole file and flashes a broken form). */

html.dmc-root .dm-embed {
  color-scheme: light;
  --canvas: #FBFAF8;
  --surface: #FFFFFF;
  --tint: #F4F1EC;
  --tint-2: #EFEBE4;
  --line: #E7E2D9;
  --line-soft: #F0ECE4;
  --ink: #13151A;
  --ink-2: #53586A;
  --ink-3: #868C9A;
  --pine: #1E5147;
  --pine-dark: #163C35;
  --pine-tint: #EDF3F1;
  --bronze: #A2762F;
  --bronze-tint: #FAF3E5;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;
  --space-9: 104px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-none: none;
  --wrap: min(1180px, calc(100% - 40px));
  --wrap-narrow: min(760px, calc(100% - 40px));

  /* Override legacy plugin tokens */
  --dm-font-body: var(--font-body);
  --dm-font-display: var(--font-display);
  --dm-accent: var(--pine);
  --dm-accent-deep: var(--pine-dark);
  --dm-accent-gold: var(--bronze);
  --dm-accent-gold-hi: var(--bronze);
  --dm-accent-pink: var(--pine);
  --dm-accent-pink-hi: var(--pine-dark);
  --dm-card-surface: var(--surface);
  --dm-card-border: var(--line);
  --dm-field-border: var(--line);
  --dm-field-border-hover: var(--pine);
  --dm-text-primary: var(--ink);
  --dm-text-secondary: var(--ink-2);
  --dm-text-muted: var(--ink-3);
  --dm-surface: var(--surface);
  --dm-border: var(--line);
  --dm-radius-lg: var(--radius-lg);
  --dm-radius-md: var(--radius-md);
  --dm-shadow-sm: none;
  --dm-shadow-md: none;
  --dm-shadow-lg: none;
  --dm-glow-soft: none;
  --dm-glow-hover: none;
  --dm-acc-surface: transparent;
  --dm-acc-surface-hover: var(--tint);
  --dm-acc-surface-active: var(--pine-tint);
  --dm-acc-ring: var(--line);
  --dm-acc-ring-hover: var(--pine);
  --dm-acc-ring-active: var(--bronze);
  --dm-acc-shadow: none;
  --dm-acc-shadow-hover: none;
  --dm-acc-shadow-active: none;
  --dm-acc-radius: 0;
}

html.dmc-root:not(.dmc-in-wp),
html.dmc-root:not(.dmc-in-wp) body {
  margin: 0;
  min-height: 100%;
  background: #FBFAF8;
  color: #13151A;
  font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html.dmc-root:not(.dmc-in-wp) body {
  padding: 28px 16px 56px;
}

html.dmc-root .dm-page,
html.dmc-root .dm-page__inner {
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
}

html.dmc-root .dm-embed {
  background: transparent;
  isolation: auto;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── Type ── */
.dmc-eyebrow {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

.dmc-display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.08;
}

.dmc-lede {
  margin: 20px 0 0;
  max-width: 38em;
  font-size: 1.0625rem;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ── Buttons ── */
.dmc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease);
}

.dmc-btn--primary {
  background: var(--pine);
  color: #fff;
}

.dmc-btn--primary:hover,
.dmc-btn--primary:focus-visible {
  background: var(--pine-dark);
}

.dmc-btn--ghost {
  background: transparent;
  color: var(--pine);
  border-color: var(--line);
}

.dmc-btn--ghost:hover,
.dmc-btn--ghost:focus-visible {
  border-color: var(--pine);
  background: var(--pine-tint);
}

.dmc-btn:active {
  transform: translateY(1px);
}

/* ── Nav ── */
.dmc-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.dmc-nav__bar {
  width: var(--wrap);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dmc-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.dmc-logo__mark {
  width: 28px;
  height: 28px;
  color: var(--pine);
}

.dmc-logo__word {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.dmc-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dmc-nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}

.dmc-nav__links a:hover {
  color: var(--pine);
}

.dmc-nav__cta {
  margin-left: 8px;
}

.dmc-nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.dmc-nav__toggle span,
.dmc-nav__toggle span::before,
.dmc-nav__toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.dmc-nav__toggle span::before,
.dmc-nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
}

.dmc-nav__toggle span::before { top: -6px; }
.dmc-nav__toggle span::after { top: 6px; }

@media (max-width: 860px) {
  .dmc-nav__toggle { display: grid; place-items: center; }
  .dmc-nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 24px;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
  }
  html.dmc-root.dmc-nav-open .dmc-nav__links { display: flex; }
  .dmc-nav__links a,
  .dmc-nav__links .dmc-btn {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .dmc-nav__cta { margin: 12px 0 0; }
}

/* ── Hero ── */
.dmc-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 104px) 0 clamp(64px, 9vw, 120px);
  background:
    radial-gradient(900px 420px at 88% 12%, color-mix(in srgb, var(--pine) 8%, transparent), transparent 60%),
    radial-gradient(700px 380px at 8% 88%, color-mix(in srgb, var(--bronze) 9%, transparent), transparent 55%),
    var(--canvas);
}

.dmc-hero__grid {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.dmc-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.dmc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.dmc-diagram {
  width: 100%;
  aspect-ratio: 1;
  max-width: 520px;
  justify-self: end;
}

.dmc-diagram svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (max-width: 900px) {
  .dmc-hero__grid {
    grid-template-columns: 1fr;
  }
  .dmc-diagram {
    max-width: 360px;
    justify-self: start;
    order: -1;
    opacity: 0.92;
  }
}

/* ── How it works ── */
.dmc-how {
  padding: var(--space-9) 0;
  background: var(--tint);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.dmc-how__inner,
.dmc-insights__inner {
  width: var(--wrap);
  margin: 0 auto;
}

.dmc-how h2,
.dmc-insights h2,
.dmc-studio__intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.dmc-how__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.dmc-how__n {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--bronze);
  margin-bottom: 12px;
}

.dmc-how h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.dmc-how p {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 800px) {
  .dmc-how__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Insights ── */
.dmc-insights {
  padding: var(--space-9) 0;
}

.dmc-insights__list {
  margin-top: 48px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.dmc-insights__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.dmc-insights__item span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bronze);
  padding-top: 6px;
}

.dmc-insights__item h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.dmc-insights__item p {
  margin: 0;
  color: var(--ink-2);
}

@media (max-width: 640px) {
  .dmc-insights__item { grid-template-columns: 1fr; gap: 8px; }
}

/* ── Calculator studio ── */
.dmc-studio {
  padding: var(--space-9) 0 var(--space-8);
  background:
    linear-gradient(180deg, var(--canvas), var(--tint) 100%);
}

.dmc-studio__intro {
  width: var(--wrap-narrow);
  margin: 0 auto 40px;
}

.dmc-studio__panel {
  width: var(--wrap-narrow);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
}

html.dmc-root body .dm-form-shell,
html.dmc-root .dm-form-shell {
  --dm-card: var(--surface);
  --dm-form-border: var(--line);
  --dm-input-bg: var(--surface);
  --dm-border: var(--line);
  --dm-accent: var(--pine);
  --dm-text-hi: var(--ink);
  --dm-text-mid: var(--ink-2);
  --dm-button-text: #fff;
  position: relative;
  z-index: 2;
  width: var(--wrap);
  max-width: 1080px;
  margin: 0 auto 28px;
  padding: 8px 0 8px;
  box-sizing: border-box;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--font-body);
}

html.dmc-root body .dm-form-shell .dm-form-card,
html.dmc-root body .dm-embed .dm-form-shell .dm-form-card,
html.dmc-root .dm-form-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  overflow: visible !important;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 22px !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 48px rgba(30, 81, 71, 0.08) !important;
}

html.dmc-root .dm-form-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: var(--tint) !important;
  border-bottom: 1px solid var(--line-soft);
  border-radius: 22px 22px 0 0;
}

html.dmc-root .dmc-noscript {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tint);
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.45;
}

html.dmc-root .dmc-faq {
  width: var(--wrap);
  max-width: 1080px;
  margin: 8px auto 36px;
  padding: 0 4px 8px;
}

html.dmc-root .dmc-faq__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

html.dmc-root .dmc-faq__list {
  margin: 0;
  display: grid;
  gap: 12px;
}

html.dmc-root .dmc-faq__list > div {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

html.dmc-root .dmc-faq__list dt {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
}

html.dmc-root .dmc-faq__list dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-2);
}

html.dmc-root .dm-form-card__kicker {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink) !important;
  line-height: 1.2;
}

html.dmc-root .dm-form-card__badge,
html.dmc-root body .dm-embed .dm-form-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--pine-tint);
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html.dmc-root body .dm-form-shell .dm-form-card__body,
html.dmc-root body .dm-embed .dm-form-shell .dm-form-card__body,
html.dmc-root .dm-form-card__body {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px;
  padding: 20px 22px 4px;
}

html.dmc-root .dm-form-card__body > * {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
}

html.dmc-root .dm-form-card__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 14px 22px 18px;
  list-style: none;
  border-top: 1px solid var(--line-soft);
  background: var(--tint);
  border-radius: 0 0 22px 22px;
}

html.dmc-root .dm-form-card__trust li {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--pine) 18%, var(--line));
  background: var(--surface);
  color: var(--pine) !important;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

html.dmc-root body .dm-form-shell .dm-field--name,
html.dmc-root body .dm-form-shell .dm-field--dob,
html.dmc-root body .dm-embed .dm-form-shell .dm-field--name,
html.dmc-root body .dm-embed .dm-form-shell .dm-field--dob {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

html.dmc-root .dm-field__legend,
html.dmc-root body .dm-form-shell .dm-field > label,
html.dmc-root .dm-field > label {
  display: block;
  margin: 0 0 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-field--dob .dm-field__legend {
  display: none;
}

html.dmc-root body .dm-form-shell .dm-input,
html.dmc-root .dm-input,
html.dmc-root body .dm-form-shell input#name {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 10px 14px !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: var(--surface) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  font-weight: 500;
  box-shadow: none !important;
}

html.dmc-root .dm-input::placeholder,
html.dmc-root body .dm-form-shell input#name::placeholder {
  color: var(--ink-3) !important;
  -webkit-text-fill-color: var(--ink-3) !important;
}

html.dmc-root .dm-input:focus,
html.dmc-root .dmc-date-input:focus,
html.dmc-root body .dm-form-shell input#name:focus {
  outline: none;
  border-color: var(--pine) !important;
}

html.dmc-root body .dm-form-shell .dm-dob,
html.dmc-root body .dm-embed .dm-form-shell .dm-dob,
html.dmc-root .dm-dob {
  display: grid !important;
  grid-template-columns: minmax(6.5rem, 0.75fr) minmax(10.25rem, 1.7fr) minmax(6.25rem, 0.95fr) !important;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  box-sizing: border-box;
}

html.dmc-root .dm-dob__box {
  position: relative;
  display: block;
  max-width: 100%;
  flex-shrink: 0;
  overflow: visible;
  box-sizing: border-box;
}

html.dmc-root .dm-dob__box:nth-child(1) { min-width: 6.5rem !important; }
html.dmc-root .dm-dob__box:nth-child(2) { min-width: 10.25rem !important; }
html.dmc-root .dm-dob__box:nth-child(3) { min-width: 6.25rem !important; }

html.dmc-root .dm-dob__box > span {
  position: absolute;
  top: 7px;
  left: 12px;
  z-index: 1;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-3) !important;
  pointer-events: none;
}

html.dmc-root body .dm-form-shell .dmc-date-input,
html.dmc-root .dmc-date-input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 1.15rem 0.75rem 0.35rem !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: var(--surface) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 500;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  overflow: visible !important;
  text-overflow: clip;
  white-space: nowrap;
}

html.dmc-root body .dm-form-shell select.dmc-date-input,
html.dmc-root body .dm-embed .dm-form-shell select.dmc-date-input,
html.dmc-root select.dmc-date-input {
  cursor: pointer;
  padding-right: 2rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231E5147' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 8px;
}

html.dmc-root select.dmc-date-input::-ms-expand {
  display: none;
}

html.dmc-root .dmc-hidden-input,
html.dmc-root .dm-embed input#date {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
}

html.dmc-root body .dm-form-shell .dm-cta,
html.dmc-root body .dm-form-shell button#get_the_answer,
html.dmc-root body .dm-embed .dm-form-shell button#get_the_answer,
html.dmc-root #get_the_answer,
html.dmc-root .dm-cta {
  position: relative;
  z-index: 3;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  background: var(--pine) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: var(--font-body);
  font-size: 0.95rem !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  box-shadow: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(30, 81, 71, 0.18);
  -webkit-user-select: none;
  user-select: none;
}

html.dmc-root #get_the_answer .dm-cta__label,
html.dmc-root #get_the_answer .dm-cta__arrow {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html.dmc-root #get_the_answer .dm-cta__arrow {
  display: inline-flex;
  margin-left: 2px;
  line-height: 1;
}

html.dmc-root #get_the_answer:hover,
html.dmc-root body .dm-form-shell button#get_the_answer:hover {
  background: var(--pine-dark) !important;
}

.dmc-step__nav {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.dmc-step__nav .dmc-btn { min-width: 140px; }

html.dmc-root .errorOutput,
html.dmc-root body .dm-form-shell .errorOutput {
  min-height: 0;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a2e24;
  font-size: 0.92rem;
  text-align: left;
}

html.dmc-root .errorOutput:not(:empty),
html.dmc-root body .dm-form-shell .errorOutput:not(:empty) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px 12px 12px;
  border: 1px solid #e8b4ad;
  border-left: 4px solid #c45c4a;
  border-radius: 12px;
  background: #fdeceb !important;
  box-shadow: 0 1px 0 rgba(196, 92, 74, 0.08);
}

html.dmc-root .errorOutput:not(:empty)::before {
  content: '!';
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: #c45c4a;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

html.dmc-root .errorOutput p,
html.dmc-root body .dm-form-shell .errorOutput p,
html.dmc-root body .dm-embed .errorOutput p {
  margin: 0 !important;
  color: #8a2e24 !important;
  -webkit-text-fill-color: #8a2e24 !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

html.dmc-root body .dm-form-shell input#name.is-invalid,
html.dmc-root .dm-input.is-invalid,
html.dmc-root .dmc-date-input.is-invalid,
html.dmc-root .dm-dob.is-invalid .dmc-date-input {
  border-color: #c45c4a !important;
  background: #fff8f7 !important;
  box-shadow: 0 0 0 3px rgba(196, 92, 74, 0.14) !important;
}

@media (max-width: 899px) {
  html.dmc-root .dm-field--dob .dm-field__legend {
    display: block !important;
  }
}

@media (min-width: 900px) {
  html.dmc-root body .dm-form-shell .dm-form-card__body,
  html.dmc-root body .dm-embed .dm-form-shell .dm-form-card__body,
  html.dmc-root .dm-form-card__body {
    display: grid !important;
    grid-template-columns: minmax(10rem, 1.2fr) minmax(18.5rem, 1.55fr) max-content !important;
    justify-items: stretch !important;
    align-items: end !important;
    gap: 16px 12px;
  }

  html.dmc-root .dm-form-card__body > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-self: end !important;
  }

  html.dmc-root body .dm-form-shell .dm-field--name,
  html.dmc-root body .dm-form-shell .dm-field--dob,
  html.dmc-root body .dm-embed .dm-form-shell .dm-field--name,
  html.dmc-root body .dm-embed .dm-form-shell .dm-field--dob {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    align-self: end !important;
    justify-content: flex-end !important;
  }

  html.dmc-root body .dm-form-shell .dm-cta,
  html.dmc-root body .dm-form-shell button#get_the_answer,
  html.dmc-root body .dm-embed .dm-form-shell button#get_the_answer,
  html.dmc-root #get_the_answer,
  html.dmc-root .dm-cta {
    width: auto !important;
    min-width: 11.5rem !important;
    max-width: 100%;
    height: 52px !important;
    min-height: 52px !important;
    margin-top: 0 !important;
    align-self: end !important;
    justify-self: end !important;
  }

  html.dmc-root .dm-field--dob .dm-field__legend {
    display: none !important;
  }
}

@media (max-width: 899px) {
  html.dmc-root body .dm-form-shell .dm-form-card__body,
  html.dmc-root body .dm-embed .dm-form-shell .dm-form-card__body,
  html.dmc-root .dm-form-card__body {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html.dmc-root body .dm-form-shell .dm-cta,
  html.dmc-root body .dm-form-shell button#get_the_answer,
  html.dmc-root body .dm-embed .dm-form-shell button#get_the_answer,
  html.dmc-root #get_the_answer,
  html.dmc-root .dm-cta {
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch;
    align-self: stretch;
  }
}

/* ── Results ── */
html.dmc-root .show-charts.is-empty {
  display: block !important;
}

html.dmc-root .dm-embed > .show-charts {
  display: block !important;
  margin-top: 8px;
  padding: 0 0 40px;
}

html.dmc-root .show-charts.is-empty .dm-sidebar,
html.dmc-root .show-charts.is-empty .dm-full-report {
  display: none !important;
}

html.dmc-root .show-charts.is-empty .dm-reading-catalog,
html.dmc-root .show-charts.is-ready {
  display: block !important;
}

html.dmc-root .show-charts.is-empty .dmc-reading {
  display: none !important;
}

html.dmc-root .dmc-engine-shell {
  display: none !important;
}

html.dmc-root body .dm-advanced-profile-mount,
html.dmc-root body .dm-advanced-profile-mount:not(.is-ready),
html.dmc-root body .dm-embed .dm-advanced-profile-mount,
html.dmc-root body .dm-embed .dm-advanced-profile-mount:not(.is-ready),
html.dmc-root body .dm-embed .dm-advanced-profile-mount[aria-hidden="true"],
html.dmc-root .dm-advanced-profile-mount,
html.dmc-root .dm-advanced-profile-mount:not(.is-ready) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

html.dmc-root .personal-matrix-page,
html.dmc-root .matrix-container {
  width: var(--wrap);
  margin: 0 auto;
  background: transparent;
  overflow: visible;
}

html.dmc-root .dm-report-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--line);
  margin: 0 auto 20px;
}

html.dmc-root .dm-report-header__label {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  text-align: center;
  line-height: 1.2;
}

html.dmc-root .output-personal-date,
html.dmc-root .dm-report-header__identity {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  font-family: var(--font-display);
  color: var(--ink);
  text-align: center;
}

html.dmc-root .dm-report-header__name,
html.dmc-root body .dm-embed .dm-report-header__name {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: center;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-report-header__dob,
html.dmc-root body .dm-embed .dm-report-header__dob {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bronze-tint);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root .dm-report-header__dob-label {
  margin-right: 8px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

html.dmc-root .dm-chart-layout {
  display: flex !important;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}

html.dmc-root .dm-visuals-row {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  grid-column: 1;
  min-width: 0;
  overflow: visible;
}

html.dmc-root .dm-chart-area {
  padding: 0 0 8px;
  background: transparent;
  border: 0;
  overflow: visible !important;
}

html.dmc-root .dm-chart-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 11rem;
  gap: 0 18px;
  align-items: center;
  width: 100%;
  max-width: min(900px, 100%);
  margin: 0 auto;
}

html.dmc-root .dm-chart-area .dm-chart-stage,
html.dmc-root .dm-chart-area .dm-chart-frame {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

html.dmc-root .dm-chart-area .dm-chart-frame #matrix,
html.dmc-root .dm-chart-area #matrix {
  display: block;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

html.dmc-root #matrix-frame > text.cls-44 {
  display: none;
}

html.dmc-root .dm-chart-area .pento,
html.dmc-root .dm-embed > .show-charts .dm-chart-area .pento {
  display: block !important;
  width: 100%;
  overflow: visible !important;
  padding: 0 !important;
}

html.dmc-root .dm-chart-area .dm-chart-board > .pento {
  position: relative !important;
  top: auto;
}

html.dmc-root .dm-chart-group {
  fill: none;
  stroke-width: 1.2;
  opacity: 0.28;
}
html.dmc-root .dm-chart-group--talents,
html.dmc-root .dm-chart-group--karmic {
  stroke: #c45b7a;
}
html.dmc-root .dm-chart-group--portrait {
  stroke: #6b4ea8;
}
html.dmc-root .dm-chart-group--money {
  stroke: #c43c32;
}
html.dmc-root .dm-chart-group--gen {
  stroke: var(--ink);
}

html.dmc-root .matrix-container.active-highlight .dm-chart-group {
  opacity: 0.08;
}
html.dmc-root .matrix-container.active-highlight .dm-chart-group.highlighted {
  opacity: 1;
  stroke-width: 2.2;
}

html.dmc-root .dm-chart-key {
  width: 100%;
  min-width: 0;
  padding: 0;
  align-self: center;
}

html.dmc-root .dm-chart-key__title {
  margin: 0 0 2px;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

html.dmc-root .dm-chart-key__hint {
  display: block;
  margin: 0 0 8px;
  font-size: 0.58rem;
  line-height: 1.3;
  color: var(--ink-2);
}

html.dmc-root .dm-chart-key__groups {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html.dmc-root .dm-chart-key__group {
  margin: 0;
}

html.dmc-root .dm-chart-key__label {
  margin: 0 0 3px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

html.dmc-root .dm-chart-key__item {
  margin: 0 0 5px;
}

html.dmc-root .dm-chart-key__btn {
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-height: 0 !important;
  margin: 0;
  padding: 3px 9px !important;
  border: 1px solid var(--pine) !important;
  border-radius: 999px;
  background: var(--surface) !important;
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

html.dmc-root .dm-chart-key__btn:hover,
html.dmc-root .dm-chart-key__btn:focus-visible,
html.dmc-root .dm-chart-key__btn.is-on {
  background: var(--pine) !important;
  border-color: var(--pine) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 700;
}

html.dmc-root .dm-chart-key__read {
  display: none;
  width: 100%;
  min-height: 0 !important;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--bronze) !important;
  -webkit-text-fill-color: var(--bronze) !important;
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  box-shadow: none !important;
}

html.dmc-root .show-charts.is-ready .dm-chart-key__read:not([hidden]) {
  display: block;
}

html.dmc-root .dm-chart-key__read:hover,
html.dmc-root .dm-chart-key__read:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  html.dmc-root .dm-chart-board {
    grid-template-columns: 1fr;
    gap: 10px 0;
    max-width: min(640px, 100%);
  }

  html.dmc-root .dm-chart-key {
    padding: 16px 14px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
  }

  html.dmc-root .dm-chart-key__title {
    margin: 0 0 4px;
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--pine);
  }

  html.dmc-root .dm-chart-key__hint {
    margin: 0 0 16px;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--ink-2);
    max-width: none;
  }

  html.dmc-root .dm-chart-key__groups {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  html.dmc-root .dm-chart-key__group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: stretch;
  }

  html.dmc-root .dm-chart-key__label {
    grid-column: 1 / -1;
    margin: 0 0 2px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--bronze);
  }

  html.dmc-root .dm-chart-key__item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 10px 8px 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--pine-tint);
  }

  html.dmc-root .dm-chart-key__item.is-on {
    background: var(--pine);
    border-color: var(--pine);
  }

  html.dmc-root .dm-chart-key__btn,
  html.dmc-root .dm-chart-key__btn:hover,
  html.dmc-root .dm-chart-key__btn:focus-visible,
  html.dmc-root .dm-chart-key__btn.is-on {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 0 !important;
    margin: 0;
    padding: 2px 4px 0 !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    color: var(--pine) !important;
    -webkit-text-fill-color: var(--pine) !important;
    font-family: var(--font-display);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    white-space: normal;
    text-align: left;
  }

  html.dmc-root .dm-chart-key__item.is-on .dm-chart-key__btn,
  html.dmc-root .dm-chart-key__item.is-on .dm-chart-key__btn:hover,
  html.dmc-root .dm-chart-key__item.is-on .dm-chart-key__btn:focus-visible {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background: transparent !important;
  }

  html.dmc-root .show-charts.is-ready .dm-chart-key__read:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px !important;
    margin: 0;
    padding: 7px 8px !important;
    border: 0 !important;
    border-radius: 999px;
    background: var(--bronze) !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 0;
    line-height: 1;
    text-decoration: none;
    box-shadow: none !important;
  }

  html.dmc-root .show-charts.is-ready .dm-chart-key__read:not([hidden])::after {
    content: "Read";
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    -webkit-text-fill-color: #fff;
  }

  html.dmc-root .show-charts.is-ready .dm-chart-key__read:not([hidden]):hover,
  html.dmc-root .show-charts.is-ready .dm-chart-key__read:not([hidden]):focus-visible {
    text-decoration: none;
    background: #8c6426 !important;
  }

  html.dmc-root .dm-chart-key__item.is-on .dm-chart-key__read:not([hidden]) {
    background: #fff !important;
  }

  html.dmc-root .dm-chart-key__item.is-on .dm-chart-key__read:not([hidden])::after {
    color: var(--pine);
    -webkit-text-fill-color: var(--pine);
  }
}


/* Chart geometry — pine frame, red heart line, green money line */
html.dmc-root .cls-18,
html.dmc-root .cls-3,
html.dmc-root .cls-4 {
  stroke: var(--pine) !important;
  fill: none !important;
  stroke-width: 1px;
  opacity: 0.72;
}

html.dmc-root .cls-5,
html.dmc-root .cls-6 {
  stroke: #1a8f3c !important;
  fill: #1a8f3c !important;
  opacity: 1;
}

html.dmc-root .cls-7,
html.dmc-root .cls-8 {
  stroke: #e23d3d !important;
  fill: #e23d3d !important;
  opacity: 1;
}

html.dmc-root #points-basic circle:not(.cls-25),
html.dmc-root .cls-10,
html.dmc-root .cls-13,
html.dmc-root .cls-15,
html.dmc-root .cls-19,
html.dmc-root .cls-21,
html.dmc-root .cls-22,
html.dmc-root .cls-23,
html.dmc-root .cls-24,
html.dmc-root .cls-26 {
  fill: var(--surface) !important;
  stroke: var(--pine) !important;
  stroke-width: 1.25px;
}

html.dmc-root #points-basic circle.cls-25,
html.dmc-root .cls-25,
html.dmc-root circle.cls-25 {
  fill: var(--pine) !important;
  stroke: var(--pine-dark) !important;
}

html.dmc-root .matrix-value-point,
html.dmc-root .cls-54,
html.dmc-root .cls-55,
html.dmc-root .cls-57,
html.dmc-root .cls-58,
html.dmc-root .cls-59,
html.dmc-root .cls-60,
html.dmc-root .cls-33,
html.dmc-root .cls-28,
html.dmc-root .cls-29,
html.dmc-root .cls-43,
html.dmc-root .cls-44,
html.dmc-root .cls-61 {
  fill: var(--bronze) !important;
  font-family: var(--font-mono) !important;
}

html.dmc-root #epoint {
  fill: #fff !important;
  font-family: var(--font-mono) !important;
}

html.dmc-root path.cls-53 {
  fill: #e23d3d !important;
}

html.dmc-root .cls-56 {
  fill: #1a8f3c !important;
}

html.dmc-root .matrix-container.active-highlight #matrix-frame *,
html.dmc-root .matrix-container.active-highlight #points-basic circle,
html.dmc-root .matrix-container.active-highlight #points-basic text,
html.dmc-root .matrix-container.active-highlight #points-years text {
  opacity: 0.18;
}

html.dmc-root .matrix-container.active-highlight [data-id].highlighted {
  opacity: 1 !important;
}

@keyframes dm-area-pop {
  0% { stroke-width: 1.2px; }
  40% { stroke-width: 3.5px; }
  100% { stroke-width: 2.4px; }
}

html.dmc-root .matrix-container.active-highlight circle[data-id].highlighted {
  stroke: var(--bronze) !important;
  stroke-width: 2.4px !important;
  animation: dm-area-pop 0.4s ease-out;
  filter: drop-shadow(0 0 3px rgba(201, 168, 76, 0.4));
}

html.dmc-root .matrix-container.active-highlight ellipse[data-id].highlighted {
  stroke: var(--bronze) !important;
  stroke-width: 2.2px !important;
  animation: dm-area-pop 0.4s ease-out;
}

html.dmc-root .matrix-container.active-highlight text[data-id].highlighted {
  fill: var(--bronze) !important;
  filter: none;
}

.dmc-node-tip {
  display: none !important;
}

/* Health map as editorial table */
html.dmc-root .dm-health-map {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

html.dmc-root .dm-health-map__title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
}

html.dmc-root .dm-health-map__sub,
html.dmc-root .dm-health-map__howto {
  color: var(--ink-2);
  font-size: 0.8rem;
}

html.dmc-root .dm-health-table,
html.dmc-root .chakra-table {
  width: 100%;
  max-width: none;
  background: transparent;
  border: 0;
  font-size: 0.78rem;
}

html.dmc-root .dm-health-table th,
html.dmc-root .dm-health-table td,
html.dmc-root .chakra-table td,
html.dmc-root .chakra-table th {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
  font-family: var(--font-body);
}

html.dmc-root .dm-health-table td:nth-child(2),
html.dmc-root .chakra-table td:nth-child(2) {
  color: #3d54f5 !important;
}
html.dmc-root .dm-health-table td:nth-child(3),
html.dmc-root .chakra-table td:nth-child(3) {
  color: #ed7233 !important;
}
html.dmc-root .dm-health-table td:nth-child(4),
html.dmc-root .chakra-table td:nth-child(4) {
  color: #1a8f3c !important;
}

html.dmc-root .dm-health-name { color: var(--ink); }
html.dmc-root .dm-health-organs { color: var(--ink-3); }

html.dmc-root #circle-sahastrara:before,
html.dmc-root body .dm-embed #circle-sahastrara:before {
  background: #b653f7 !important;
  color: #fff !important;
  box-shadow: 0 0 12px 2px rgba(182, 83, 247, 0.55) !important;
}
html.dmc-root #circle-ajna:before,
html.dmc-root body .dm-embed #circle-ajna:before {
  background: #3d54f5 !important;
  color: #fff !important;
  box-shadow: 0 0 12px 2px rgba(61, 84, 245, 0.5) !important;
}
html.dmc-root #circle-vishuddha:before,
html.dmc-root body .dm-embed #circle-vishuddha:before {
  background: #74e0f8 !important;
  color: #0b2a33 !important;
  box-shadow: 0 0 12px 2px rgba(116, 224, 248, 0.55) !important;
}
html.dmc-root #circle-anahata:before,
html.dmc-root body .dm-embed #circle-anahata:before {
  background: #b6fd57 !important;
  color: #14300a !important;
  box-shadow: 0 0 12px 2px rgba(182, 253, 87, 0.5) !important;
}
html.dmc-root #circle-manipura:before,
html.dmc-root body .dm-embed #circle-manipura:before {
  background: #fbe49d !important;
  color: #3d2e08 !important;
  box-shadow: 0 0 12px 2px rgba(251, 228, 157, 0.55) !important;
}
html.dmc-root #circle-svadhishtana:before,
html.dmc-root body .dm-embed #circle-svadhishtana:before {
  background: #ed7233 !important;
  color: #fff !important;
  box-shadow: 0 0 12px 2px rgba(237, 114, 51, 0.5) !important;
}
html.dmc-root #circle-muladhara:before,
html.dmc-root body .dm-embed #circle-muladhara:before {
  background: #ea4631 !important;
  color: #fff !important;
  box-shadow: 0 0 12px 2px rgba(234, 70, 49, 0.5) !important;
}

/* Unlock gate — not used in this product flow */
html.dmc-root .dm-unlock { display: none !important; }

/* Report as chapters */
html.dmc-root .dm-sidebar,
html.dmc-root .dm-signal-stack {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  max-width: none;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  padding: 28px 24px 32px;
  grid-column: auto;
  grid-row: auto;
  position: static;
  max-height: none;
  overflow: visible;
}

html.dmc-root .dm-signal-stack__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

html.dmc-root .dm-signal-stack__eyebrow {
  color: var(--bronze);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

html.dmc-root .dm-signal-stack__title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
}

html.dmc-root .dm-sidebar-reset {
  background: transparent;
  border: 0;
  color: var(--pine);
  font-size: 0.75rem;
  font-weight: 600;
}

html.dmc-root .dm-sidebar-menu,
html.dmc-root .dm-signal-stack__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
}

html.dmc-root .dm-sidebar-item,
html.dmc-root .dm-signal-card {
  display: contents;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html.dmc-root .dm-sidebar-item__header {
  min-height: 40px;
  padding: 8px 4px;
  background: transparent;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}

html.dmc-root .dm-sidebar-item__accent {
  width: auto;
  min-width: 1.6rem;
  height: auto;
  border: 0;
  background: transparent;
  color: var(--bronze);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

html.dmc-root .dm-sidebar-item.expanded .dm-sidebar-item__accent {
  background: transparent;
  color: var(--pine);
  border: 0;
}

html.dmc-root .dm-sidebar-item__title {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

html.dmc-root .dm-sidebar-item__subtitle {
  display: block !important;
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.35;
}
html.dmc-root .dm-sidebar-item__chevron {
  display: none !important;
}

html.dmc-root .dm-sidebar-item.expanded .dm-sidebar-item__header {
  background: transparent;
}

html.dmc-root .dm-sidebar-item.expanded .dm-sidebar-item__title {
  color: var(--pine);
}

html.dmc-root .dm-sidebar-item__panel,
html.dmc-root .dm-sidebar-item__panel-inner,
html.dmc-root .dm-sidebar-item__panel .dm-report-card,
html.dmc-root .dm-sidebar-item__panel .dm-report-card__sheet {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

html.dmc-root .dm-sidebar-item:not(.expanded) .dm-sidebar-item__panel {
  display: none !important;
}

html.dmc-root .dm-sidebar-item.expanded .dm-sidebar-item__panel,
html.dmc-root .dm-sidebar-item__panel.is-open {
  display: block !important;
  grid-column: 1 / -1;
  order: -1;
  padding: 24px 0 36px;
  margin-bottom: 16px;
  border-bottom: 8px solid var(--tint);
  max-height: none;
  overflow: visible;
}

html.dmc-root .dm-sidebar-item__panel .dm-sidebar-item__placeholder,
html.dmc-root .dm-report-card__narrative,
html.dmc-root .dm-report__para {
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.7;
}

html.dmc-root .dmc-reading-empty {
  grid-column: 1 / -1;
  order: -2;
  padding: 28px 4px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

html.dmc-root .dmc-reading-empty span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-2);
}

html.dmc-root .dm-arcana-chip__circle {
  border-color: var(--bronze);
  color: var(--bronze);
  background: var(--bronze-tint);
  font-family: var(--font-mono);
}

html.dmc-root .dm-advanced-profile-mount,
html.dmc-root .personal-matrix-page > .dm-advanced-profile-mount,
html.dmc-root .dm-chart-layout > .dm-advanced-profile-mount,
html.dmc-root body .dm-embed .personal-matrix-page > .dm-advanced-profile-mount,
html.dmc-root body .dm-embed .dm-chart-layout > .dm-advanced-profile-mount {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  flex: 0 0 auto;
  width: 100%;
  margin-top: 36px;
  padding: 0 0 48px;
  border-top: 8px solid var(--tint);
  background: var(--surface);
  scroll-margin-top: 64px;
}

html.dmc-root .dm-advanced-profile-mount__placeholder {
  margin: 0;
  padding: 28px 4px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

html.dmc-root .dm-advanced-profile-mount__eyebrow {
  color: var(--bronze);
}

html.dmc-root .dm-advanced-profile-mount__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}

html.dmc-root .dm-advanced-profile-mount__lead,
html.dmc-root .dm-advanced-profile {
  color: var(--ink-2);
  background: transparent;
}

/* Inline calculation stage (not a popup) */
html.dmc-root.is-calculating .show-charts {
  display: none !important;
}

html.dmc-root .dm-calc-stage {
  margin-top: 16px;
}

html.dmc-root .dm-calc-stage[hidden] {
  display: none !important;
}

html.dmc-root .dm-calc-loader,
html.dmc-root .dm-calc-loader.dm-calc-loader--inline {
  position: relative !important;
  inset: auto !important;
  z-index: 2;
  display: block !important;
  padding: 0 !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  background: transparent !important;
}

html.dmc-root .dm-calc-loader__backdrop {
  display: none !important;
}

html.dmc-root .dm-calc-loader__card {
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  overflow: hidden;
  margin: 0;
  padding: 28px 22px 22px !important;
  text-align: center;
  background:
    radial-gradient(120% 80% at 50% -20%, color-mix(in srgb, var(--pine) 10%, transparent), transparent 55%),
    var(--surface) !important;
  border: 1px solid var(--line) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 48px rgba(30, 81, 71, 0.08) !important;
  color: var(--ink) !important;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}

html.dmc-root .dm-calc-loader.is-open .dm-calc-loader__card {
  transform: none;
  opacity: 1;
}

html.dmc-root .dm-calc-loader.is-closing .dm-calc-loader__card {
  transform: translateY(-8px);
  opacity: 0;
}

html.dmc-root .dm-calc-loader__magic {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  overflow: hidden;
  border-radius: 50%;
}

html.dmc-root .dm-calc-loader__sky {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(30, 81, 71, 0.55), transparent 42%),
    radial-gradient(circle at 50% 50%, #163c35 0%, #0b1c22 58%, #071018 100%);
  overflow: hidden;
}

html.dmc-root .dm-calc-loader__star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #f7f1e4;
  box-shadow: 0 0 6px rgba(247, 241, 228, 0.9);
  animation: dmc-star-twinkle 2.8s ease-in-out infinite;
}

html.dmc-root .dm-calc-loader__star[data-s="0"] { top: 12%; left: 48%; }
html.dmc-root .dm-calc-loader__star[data-s="1"] { top: 18%; left: 22%; width: 3px; height: 3px; animation-delay: 0.2s; }
html.dmc-root .dm-calc-loader__star[data-s="2"] { top: 16%; left: 74%; animation-delay: 0.4s; }
html.dmc-root .dm-calc-loader__star[data-s="3"] { top: 28%; left: 10%; animation-delay: 0.6s; }
html.dmc-root .dm-calc-loader__star[data-s="4"] { top: 30%; left: 88%; width: 3px; height: 3px; animation-delay: 0.15s; }
html.dmc-root .dm-calc-loader__star[data-s="5"] { top: 42%; left: 8%; animation-delay: 0.9s; }
html.dmc-root .dm-calc-loader__star[data-s="6"] { top: 44%; left: 92%; animation-delay: 1.1s; }
html.dmc-root .dm-calc-loader__star[data-s="7"] { top: 58%; left: 14%; width: 3px; height: 3px; animation-delay: 0.3s; }
html.dmc-root .dm-calc-loader__star[data-s="8"] { top: 62%; left: 84%; animation-delay: 0.7s; }
html.dmc-root .dm-calc-loader__star[data-s="9"] { top: 74%; left: 20%; animation-delay: 1.3s; }
html.dmc-root .dm-calc-loader__star[data-s="10"] { top: 78%; left: 78%; animation-delay: 0.5s; }
html.dmc-root .dm-calc-loader__star[data-s="11"] { top: 86%; left: 40%; animation-delay: 1.6s; }
html.dmc-root .dm-calc-loader__star[data-s="12"] { top: 88%; left: 62%; width: 3px; height: 3px; animation-delay: 0.8s; }
html.dmc-root .dm-calc-loader__star[data-s="13"] { top: 8%; left: 36%; animation-delay: 1.2s; }
html.dmc-root .dm-calc-loader__star[data-s="14"] { top: 10%; left: 64%; animation-delay: 1.8s; }
html.dmc-root .dm-calc-loader__star[data-s="15"] { top: 36%; left: 28%; animation-delay: 0.25s; }
html.dmc-root .dm-calc-loader__star[data-s="16"] { top: 38%; left: 70%; animation-delay: 1.4s; }
html.dmc-root .dm-calc-loader__star[data-s="17"] { top: 52%; left: 24%; animation-delay: 0.55s; }
html.dmc-root .dm-calc-loader__star[data-s="18"] { top: 54%; left: 76%; animation-delay: 1.7s; }
html.dmc-root .dm-calc-loader__star[data-s="19"] { top: 68%; left: 32%; animation-delay: 0.35s; }
html.dmc-root .dm-calc-loader__star[data-s="20"] { top: 70%; left: 68%; animation-delay: 1.05s; }
html.dmc-root .dm-calc-loader__star[data-s="21"] { top: 22%; left: 50%; animation-delay: 2s; }
html.dmc-root .dm-calc-loader__star[data-s="22"] { top: 80%; left: 52%; animation-delay: 0.65s; }
html.dmc-root .dm-calc-loader__star[data-s="23"] { top: 48%; left: 46%; width: 1px; height: 1px; animation-delay: 1.9s; }
html.dmc-root .dm-calc-loader__star[data-s="24"] { top: 14%; left: 86%; animation-delay: 0.1s; }
html.dmc-root .dm-calc-loader__star[data-s="25"] { top: 90%; left: 28%; animation-delay: 1.15s; }
html.dmc-root .dm-calc-loader__star[data-s="26"] { top: 6%; left: 18%; animation-delay: 0.85s; }
html.dmc-root .dm-calc-loader__star[data-s="27"] { top: 84%; left: 88%; animation-delay: 1.55s; }

html.dmc-root .dm-calc-loader__glow {
  position: absolute;
  inset: 38px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--bronze) 42%, transparent), transparent 70%);
  animation: dmc-magic-breathe 2.4s ease-in-out infinite;
}

html.dmc-root .dm-calc-loader__diamond {
  position: absolute;
  inset: 52px;
  border: 1.5px solid color-mix(in srgb, #e8c27a 70%, #fff);
  transform: rotate(45deg);
  animation: dmc-magic-spin 8s linear infinite;
  box-shadow: 0 0 0 10px rgba(232, 194, 122, 0.08);
}

html.dmc-root .dm-calc-loader__orb {
  position: absolute;
  inset: 54px;
  margin: 0 !important;
}

html.dmc-root .dm-calc-loader__ring {
  border-color: rgba(232, 194, 122, 0.28);
  border-top-color: #e8c27a;
}

html.dmc-root body .dm-embed .dm-calc-loader__core,
html.dmc-root .dm-calc-loader__core {
  background: var(--pine) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-color: #e8c27a !important;
  box-shadow: 0 0 28px rgba(30, 81, 71, 0.55), 0 0 18px rgba(232, 194, 122, 0.35);
}

html.dmc-root body .dm-embed .dm-calc-loader__pct,
html.dmc-root body .dm-embed .dm-calc-loader__core span,
html.dmc-root .dm-calc-loader__pct {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-family: var(--font-mono);
  font-weight: 700;
}

html.dmc-root .dm-calc-loader__sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

html.dmc-root .dm-calc-loader__float {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: #e8c27a !important;
  -webkit-text-fill-color: #e8c27a !important;
  text-shadow: 0 0 8px rgba(232, 194, 122, 0.45);
  opacity: 0.85;
  animation: dmc-magic-float 4.8s ease-in-out infinite;
}

html.dmc-root .dm-calc-loader__float[data-i="0"] { top: 6%; left: 46%; animation-delay: 0s; }
html.dmc-root .dm-calc-loader__float[data-i="1"] { top: 22%; left: 8%; animation-delay: 0.4s; }
html.dmc-root .dm-calc-loader__float[data-i="2"] { top: 22%; right: 8%; animation-delay: 0.8s; }
html.dmc-root .dm-calc-loader__float[data-i="3"] { top: 48%; left: 0; animation-delay: 1.1s; }
html.dmc-root .dm-calc-loader__float[data-i="4"] { top: 48%; right: 0; animation-delay: 1.5s; }
html.dmc-root .dm-calc-loader__float[data-i="5"] { bottom: 18%; left: 12%; animation-delay: 1.9s; }
html.dmc-root .dm-calc-loader__float[data-i="6"] { bottom: 18%; right: 12%; animation-delay: 2.2s; }
html.dmc-root .dm-calc-loader__float[data-i="7"] { bottom: 2%; left: 46%; animation-delay: 2.6s; }

html.dmc-root .dm-calc-loader__title {
  margin: 10px 0 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}
html.dmc-root .dm-calc-loader__eyebrow,
html.dmc-root .dm-calc-loader__for,
html.dmc-root .dm-calc-loader__detail,
html.dmc-root .dm-calc-loader__steps,
html.dmc-root .dm-calc-loader__foot {
  display: none !important;
}
html.dmc-root .dm-calc-loader__bar {
  display: block !important;
  position: relative;
  width: min(280px, 82%);
  height: 8px;
  margin: 8px auto 0;
  overflow: hidden;
  border-radius: 999px;
  background: var(--tint-2) !important;
  box-shadow: inset 0 0 0 1px var(--line);
}
html.dmc-root .dm-calc-loader__bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 46%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--pine), #e8c27a, transparent);
  animation: dmc-bar-travel 1.45s ease-in-out infinite;
  pointer-events: none;
}
html.dmc-root .dm-calc-loader__bar-fill,
html.dmc-root body .dm-embed .dm-calc-loader__bar-fill {
  display: block !important;
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100% !important;
  border-radius: inherit;
  transform: scaleX(var(--dm-bar, 0.14));
  transform-origin: left center;
  background: linear-gradient(90deg, var(--pine) 0%, #2f7a6a 32%, var(--bronze) 68%, #f0d48a 100%);
  background-size: 220% 100%;
  box-shadow: 0 0 16px rgba(232, 194, 122, 0.5);
  overflow: hidden;
  animation: dmc-bar-flow 1.15s linear infinite;
  transition: transform 0.18s linear;
}
html.dmc-root .dm-calc-loader__bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: dmc-bar-shimmer 1.1s linear infinite;
}
html.dmc-root .dm-calc-loader__retry {
  background: var(--pine) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border: 0 !important;
}
html.dmc-root .dm-calc-loader__dismiss {
  background: var(--tint) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
}
html.dmc-root .dm-calc-loader.is-error .dm-calc-loader__title {
  color: #8a3a32 !important;
}
html.dmc-root .dm-calc-loader__error-text {
  color: var(--ink-2) !important;
}

html.dmc-root .dm-calc-loader__step.is-active {
  background: var(--pine-tint) !important;
}
html.dmc-root .dm-calc-loader__mark {
  border-color: var(--line) !important;
}
html.dmc-root .dm-calc-loader__step.is-active .dm-calc-loader__mark {
  border-color: var(--pine) !important;
}
html.dmc-root .dm-calc-loader__step.is-active .dm-calc-loader__mark::after {
  background: var(--pine) !important;
}
html.dmc-root .dm-calc-loader__step.is-done .dm-calc-loader__mark {
  border-color: var(--pine) !important;
  background: var(--pine-tint) !important;
}
html.dmc-root .dm-calc-loader__step.is-done .dm-calc-loader__mark::after {
  border-color: var(--pine) !important;
}

html.dmc-root body.dm-calc-locked {
  overflow: visible !important;
}

@keyframes dmc-magic-spin {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}
@keyframes dmc-magic-breathe {
  0%, 100% { opacity: 0.45; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes dmc-magic-float {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50% { transform: translateY(-8px); opacity: 0.95; }
}
@keyframes dmc-star-twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.35); }
}
@keyframes dmc-bar-shimmer {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}
@keyframes dmc-bar-flow {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}
@keyframes dmc-bar-travel {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(240%); }
}

@media (max-width: 960px) {
  html.dmc-root .dm-chart-layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr;
  }
  html.dmc-root .dm-visuals-row {
    order: 1 !important;
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }
  html.dmc-root .dmc-reading-stage.is-active .dmc-reading {
    order: -1;
  }
  html.dmc-root .dm-reading-catalog {
    order: 2;
  }
  html.dmc-root .dm-sidebar,
  html.dmc-root .dm-signal-stack {
    order: 3 !important;
    grid-column: 1;
    grid-row: auto;
    position: static !important;
    max-height: none !important;
    width: 100% !important;
    background: var(--surface) !important;
  }
  html.dmc-root .dm-sidebar-item.expanded .dm-sidebar-item__panel,
  html.dmc-root .dm-sidebar-item__panel.is-open {
    max-height: none;
  }
}

.dmc-footer__inner {
  width: var(--wrap);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-3);
  font-size: 0.85rem;
}

.dmc-footer strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
}

@media (max-width: 640px) {
  html.dmc-root { --wrap: calc(100% - 32px); --wrap-narrow: calc(100% - 32px); }
  .dmc-footer__inner { flex-direction: column; }
  html.dmc-root .dm-sidebar-item__panel { padding-left: 8px; }
  html.dmc-root .dm-chart-area { padding: 12px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html.dmc-root *,
  html.dmc-root *::before,
  html.dmc-root *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Beat leftover dark-theme !important text colors */
html.dmc-root body .dm-embed,
html.dmc-root body .dm-embed p,
html.dmc-root body .dm-embed li,
html.dmc-root body .dm-embed span,
html.dmc-root body .dm-embed h1,
html.dmc-root body .dm-embed h2,
html.dmc-root body .dm-embed h3,
html.dmc-root body .dm-embed h4,
html.dmc-root body .dm-embed .dm-full-report h1,
html.dmc-root body .dm-embed .dm-full-report h2,
html.dmc-root body .dm-embed .dm-full-report h3,
html.dmc-root body .dm-embed .dm-full-report h4,
html.dmc-root body .dm-embed .dm-fr-chapter__title,
html.dmc-root body .dm-embed .dm-fr-topic__title,
html.dmc-root body .dm-embed .dm-reader__title,
html.dmc-root body .dm-embed .dm-advanced-profile,
html.dmc-root body .dm-embed .dm-advanced-profile p,
html.dmc-root body .dm-embed .dm-advanced-profile li,
html.dmc-root body .dm-embed .dm-advanced-profile h3,
html.dmc-root body .dm-embed .dm-advanced-profile h4,
html.dmc-root body .dm-embed .dm-advanced-profile__title,
html.dmc-root body .dm-embed .dm-signal-stack__title,
html.dmc-root body .dm-embed .dm-center-card__name,
html.dmc-root body .dm-embed .dm-motif-item__head strong,
html.dmc-root body .dm-embed .dm-purpose-card h4,
html.dmc-root body .dm-embed .dm-sidebar-item__title,
html.dmc-root body .dm-embed .dm-sidebar-item__subtitle,
html.dmc-root body .dm-embed .dm-report__para,
html.dmc-root body .dm-embed .dm-report-card__narrative {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  background-image: none !important;
}

html.dmc-root body .dm-embed .dm-advanced-profile p,
html.dmc-root body .dm-embed .dm-advanced-profile li,
html.dmc-root body .dm-embed .dm-sidebar-item__subtitle,
html.dmc-root body .dm-embed .dm-report__para,
html.dmc-root body .dm-embed .dm-advanced-profile__lead {
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root body .dm-embed .dm-sidebar-item__accent,
html.dmc-root body .dm-embed .dm-signal-stack__eyebrow,
html.dmc-root body .dm-embed .dm-advanced-profile__eyebrow,
html.dmc-root body .dm-embed .dm-arcana-chip__circle {
  color: var(--bronze) !important;
  -webkit-text-fill-color: var(--bronze) !important;
}

html.dmc-root body .dm-embed .dm-advanced-profile,
html.dmc-root body .dm-embed .dm-center-card,
html.dmc-root body .dm-embed .dm-purpose-card,
html.dmc-root body .dm-embed .dm-motif-item,
html.dmc-root body .dm-embed .dm-full-report,
html.dmc-root body .dm-embed .dm-fr-chapter {
  background: transparent !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}

html.dmc-root body .dm-embed .dm-cta,
html.dmc-root body .dm-embed #get_the_answer,
html.dmc-root body .dm-embed #get_the_answer .dm-cta__label {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html.dmc-root #epoint {
  fill: #fff !important;
}

/* Reading copy must stay dark on the light canvas */
html.dmc-root body .dm-embed .dm-sidebar,
html.dmc-root body .dm-embed .dm-signal-stack,
html.dmc-root body .dm-embed .dm-sidebar-item__panel,
html.dmc-root body .dm-embed .dm-sidebar-item__panel .dm-report-card,
html.dmc-root body .dm-embed .dm-sidebar-item__panel .dm-report-card__sheet,
html.dmc-root body .dm-embed .dm-advanced-profile,
html.dmc-root body .dm-embed .dm-advanced-profile-mount .dm-advanced-profile {
  background: var(--surface) !important;
  background-image: none !important;
  color: var(--ink) !important;
}

html.dmc-root body .dm-embed .dm-sidebar-item__panel,
html.dmc-root body .dm-embed .dm-sidebar-item__panel p,
html.dmc-root body .dm-embed .dm-sidebar-item__panel li,
html.dmc-root body .dm-embed .dm-sidebar-item__panel h3,
html.dmc-root body .dm-embed .dm-sidebar-item__panel h4,
html.dmc-root body .dm-embed .dm-sidebar-item__panel span,
html.dmc-root body .dm-embed .dm-report-card__title,
html.dmc-root body .dm-embed .dm-report-card__subtitle,
html.dmc-root body .dm-embed .dm-report-card__reading,
html.dmc-root body .dm-embed .dm-report-card__reading p,
html.dmc-root body .dm-embed .dm-report__focus,
html.dmc-root body .dm-embed .dm-report__insight,
html.dmc-root body .dm-embed .dm-report__strength,
html.dmc-root body .dm-embed .dm-report__challenge,
html.dmc-root body .dm-embed .dm-report__advice,
html.dmc-root body .dm-embed .dm-report__advice-item,
html.dmc-root body .dm-embed .dm-arcana-chip__name,
html.dmc-root body .dm-embed .dm-sidebar-item__placeholder,
html.dmc-root body .dm-embed .dmc-reading-empty,
html.dmc-root body .dm-embed .dm-health-map,
html.dmc-root body .dm-embed .dm-health-map p,
html.dmc-root body .dm-embed .dm-health-table,
html.dmc-root body .dm-embed .dm-advanced-profile,
html.dmc-root body .dm-embed .dm-advanced-profile p,
html.dmc-root body .dm-embed .dm-advanced-profile span,
html.dmc-root body .dm-embed .dm-advanced-profile li,
html.dmc-root body .dm-embed .dm-advanced-profile h3,
html.dmc-root body .dm-embed .dm-advanced-profile h4 {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root body .dm-embed .dm-sidebar-item__panel p,
html.dmc-root body .dm-embed .dm-report-card__subtitle,
html.dmc-root body .dm-embed .dm-report__para,
html.dmc-root body .dm-embed .dmc-reading-empty span {
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root body .dm-embed .dm-sidebar-item__accent,
html.dmc-root body .dm-embed .dm-signal-stack__eyebrow,
html.dmc-root body .dm-embed .dm-arcana-chip__circle {
  color: var(--bronze) !important;
  -webkit-text-fill-color: var(--bronze) !important;
}

/*
 * personal-ui.css paints reading copy as near-white with a high-specificity
 * :not() chain. Match that chain plus the Root/chakra card selectors so
 * body text stays Ink 2 on white cards.
 */
html.dmc-root body .dm-embed .dm-advanced-profile p:not(.dm-advanced-profile__title):not(.dm-signal-stack__title):not(.dm-advanced-profile__lead):not(.dm-advanced-profile__eyebrow),
html.dmc-root body .dm-embed .dm-advanced-profile li,
html.dmc-root body .dm-embed .dm-advanced-profile__lead,
html.dmc-root body .dm-embed .dm-advanced-profile__header > p:last-child,
html.dmc-root body .dm-embed .dm-advanced__section-head > p:last-child,
html.dmc-root body .dm-embed .dm-advanced__motifs > p,
html.dmc-root body .dm-embed .dm-center-card,
html.dmc-root body .dm-embed .dm-center-card p,
html.dmc-root body .dm-embed .dm-center-card span,
html.dmc-root body .dm-embed .dm-center-card header span,
html.dmc-root body .dm-embed .dm-center-card header span:last-child,
html.dmc-root body .dm-embed .dm-center-card__legend,
html.dmc-root body .dm-embed .dm-center-card__prompt,
html.dmc-root body .dm-embed .dm-center-code,
html.dmc-root body .dm-embed .dm-center-code p,
html.dmc-root body .dm-embed .dm-center-code p strong,
html.dmc-root body .dm-embed .dm-compare-card p,
html.dmc-root body .dm-embed .dm-purpose-card__reading,
html.dmc-root body .dm-embed .dm-purpose-card__context,
html.dmc-root body .dm-embed .dm-health-map__howto {
  color: #53586A !important;
  -webkit-text-fill-color: #53586A !important;
  opacity: 1 !important;
}

html.dmc-root body .dm-embed .dm-advanced-profile .dm-center-card__name,
html.dmc-root body .dm-embed .dm-center-card__name,
html.dmc-root body .dm-embed .dm-center-card header .dm-center-card__name {
  color: #13151A !important;
  -webkit-text-fill-color: #13151A !important;
}

html.dmc-root body .dm-embed .dm-advanced-profile .dm-center-code__lens,
html.dmc-root body .dm-embed .dm-center-card span.dm-center-code__lens,
html.dmc-root body .dm-embed .dm-center-code__lens {
  color: #A2762F !important;
  -webkit-text-fill-color: #A2762F !important;
}

html.dmc-root body .dm-embed .dm-center-card,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-center-card {
  background: transparent !important;
  border-color: var(--line) !important;
}

html.dmc-root body .dm-embed .dm-center-code,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-center-code {
  background: transparent !important;
}

@media (max-width: 900px) {
  html.dmc-root body .dm-embed .dm-advanced-profile,
  html.dmc-root body .dm-advanced-profile-mount .dm-advanced-profile,
  html.dmc-root .dm-advanced-profile {
    background: transparent !important;
    background-image: none !important;
    color: #13151A !important;
  }
}

/* ============================================================
   Display overhaul — each zone has its own structure
   ============================================================ */

html.dmc-root .dmc-chapter-rail {
  display: none;
}
html.dmc-root .dmc-chapter-rail::-webkit-scrollbar { display: none; }

html.dmc-root .dmc-chapter-rail__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  border-radius: var(--radius-pill);
}
html.dmc-root .dmc-chapter-rail__chip b {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--bronze);
}
html.dmc-root .dmc-chapter-rail__chip.is-on {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}
html.dmc-root body .dm-embed .dmc-chapter-rail__chip.is-on,
html.dmc-root body .dm-embed .dmc-chapter-rail__chip.is-on span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
html.dmc-root body .dm-embed .dmc-chapter-rail__chip.is-on b,
html.dmc-root .dmc-chapter-rail__chip.is-on b {
  color: #e8c27a !important;
  -webkit-text-fill-color: #e8c27a !important;
}

html.dmc-root .dmc-chapter-rail__chip--integrated {
  background: var(--bronze-tint);
  border-color: color-mix(in srgb, var(--bronze) 45%, var(--line));
}

html.dmc-root .dmc-has-rail .dm-sidebar-menu {
  display: block !important;
}
html.dmc-root .dmc-has-rail .dm-sidebar-item,
html.dmc-root .dmc-has-rail .dm-signal-card {
  display: none !important;
}
html.dmc-root .dmc-has-rail .dm-sidebar-item.expanded {
  display: block !important;
}
html.dmc-root .dmc-has-rail .dm-sidebar-item__header {
  display: none !important;
}
html.dmc-root .dmc-has-rail .dm-sidebar-item.expanded .dm-sidebar-item__panel,
html.dmc-root .dmc-has-rail .dm-sidebar-item__panel.is-open {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  order: 0;
  grid-column: auto;
}

html.dmc-root .dmc-has-rail .dm-report-card__header {
  display: none;
}

html.dmc-root .dmc-has-rail .dm-report-card__identity {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin: 0 0 20px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}
html.dmc-root .dmc-has-rail .dm-report-card__tarot {
  flex: 0 0 auto;
}
html.dmc-root .dmc-has-rail .dm-report-card__reading p:first-child,
html.dmc-root .dmc-has-rail .dm-report__para:first-child {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-report-card__insights {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
html.dmc-root .dm-report__insight-col {
  padding: 14px 16px;
  border: 0;
}
html.dmc-root .dm-report__insight-col--strengths {
  background: var(--pine-tint);
}
html.dmc-root .dm-report__insight-col--challenges {
  background: var(--bronze-tint);
}
html.dmc-root .dm-report__insight-col--advice {
  background: var(--tint);
  border-left: 3px solid var(--pine);
}

html.dmc-root .dm-center-card__lenses {
  display: none;
  gap: 0;
  margin: 10px 0 14px;
  border-bottom: 1px solid var(--line);
}
html.dmc-root .dm-center-card__lenses button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
html.dmc-root .dm-center-card__lenses button.is-on {
  color: var(--pine);
  border-bottom-color: var(--pine);
}

html.dmc-root .dm-advanced__core {
  background: var(--pine-dark) !important;
  color: #f4efe6 !important;
  padding: 24px !important;
  border: 0 !important;
}
html.dmc-root body .dm-embed .dm-advanced__core,
html.dmc-root body .dm-embed .dm-advanced__core p,
html.dmc-root body .dm-embed .dm-advanced__core span,
html.dmc-root body .dm-embed .dm-advanced__core blockquote {
  color: #f4efe6 !important;
  -webkit-text-fill-color: #f4efe6 !important;
}
html.dmc-root body .dm-embed .dm-advanced__core > span {
  color: #e8c27a !important;
  -webkit-text-fill-color: #e8c27a !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 700;
}
html.dmc-root .dm-advanced__core blockquote {
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.4;
}

html.dmc-root .dm-advanced__motifs {
  background: transparent !important;
  border: 0 !important;
  padding: 8px 0 0 !important;
}
html.dmc-root .dm-motif-item {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
}
html.dmc-root .dm-motif-item__reading {
  grid-column: 1 / -1;
}

html.dmc-root .dm-purpose-card {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 12px;
  align-items: start;
  background: var(--surface) !important;
  border: 1px solid var(--line) !important;
  padding: 12px !important;
  min-width: 0;
}
html.dmc-root .dm-purpose-card > .dm-tarot,
html.dmc-root .dm-purpose-card > .dm-tarot--md,
html.dmc-root .dm-purpose-card > .dm-tarot--mark {
  width: 44px !important;
  height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
}
html.dmc-root .dm-purpose-card h4 {
  margin: 0 0 2px;
  font-size: 1.05rem !important;
  line-height: 1.2;
}
html.dmc-root .dm-purpose-card__context {
  margin: 0 0 6px;
  font-size: 0.78rem;
  line-height: 1.35;
}
html.dmc-root .dm-purpose-card__reading {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
}
html.dmc-root .dm-compare-card {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
  padding: 16px 0 !important;
}

html.dmc-root .dm-purpose-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 10px !important;
}

@media (max-width: 560px) {
  html.dmc-root .dm-purpose-grid {
    grid-template-columns: 1fr;
  }
}

html.dmc-root .dm-center-grid {
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
}
html.dmc-root .dm-center-card {
  padding: 22px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 !important;
}
html.dmc-root .dm-center-card header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 6px;
}
html.dmc-root .dm-center-card__name {
  font-family: var(--font-display) !important;
  font-size: 1.7rem !important;
  font-weight: 500 !important;
  line-height: 1.15;
}
html.dmc-root .dm-center-card__codes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
html.dmc-root .dm-center-code {
  min-width: 0;
  margin: 0 !important;
  padding: 16px 16px 14px !important;
  border: 1px solid var(--line) !important;
  border-left: 2px solid var(--bronze) !important;
  border-radius: 0 !important;
  background: var(--surface) !important;
}
html.dmc-root .dm-center-code p {
  overflow-wrap: anywhere;
}

html.dmc-root .dm-center-code__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 8px;
}

html.dmc-root .dm-center-code__head .dm-advanced__code {
  order: -1;
  flex-wrap: wrap;
  max-width: 100%;
}

html.dmc-root .dm-center-code__head .dm-advanced__code-meta span {
  white-space: normal !important;
}

@media (max-width: 960px) {
  html.dmc-root:not(.dmc-in-wp) body {
    padding: 0 0 72px;
  }

  html.dmc-root .dm-form-shell,
  html.dmc-root body .dm-embed .dm-form-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 12px 0 16px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 0 !important;
  }
  html.dmc-root .dm-form-card,
  html.dmc-root body .dm-form-shell .dm-form-card,
  html.dmc-root body .dm-embed .dm-form-shell .dm-form-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    overflow: visible !important;
  }
  html.dmc-root .dm-form-card__body > * {
    width: 100% !important;
    max-width: 100% !important;
  }
  html.dmc-root .dm-form-card__head,
  html.dmc-root .dm-form-card__trust {
    padding-left: 16px;
    padding-right: 16px;
  }

  html.dmc-root .dm-report-header {
    padding: 18px 16px 8px;
    align-items: center;
    text-align: center;
  }
  html.dmc-root .dm-report-header__label {
    margin: 0 0 10px;
    text-align: center;
  }
  html.dmc-root .output-personal-date,
  html.dmc-root .dm-report-header__identity {
    font-size: 1.65rem;
    font-family: var(--font-display);
    align-items: center;
    text-align: center;
  }

  html.dmc-root .show-charts,
  html.dmc-root .personal-matrix-page,
  html.dmc-root .dm-chart-layout,
  html.dmc-root .dm-visuals-row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: visible !important;
  }

  html.dmc-root .dm-chart-area {
    margin: 0 !important;
    padding: 0 8px 12px !important;
    background: transparent !important;
    border: 0 !important;
  }
  html.dmc-root .dm-chart-area .dm-chart-stage {
    max-width: min(100%, 640px);
    margin: 0 auto;
  }
  html.dmc-root .dm-chart-area .dm-chart-frame #matrix,
  html.dmc-root .dm-chart-area #matrix {
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    display: block;
  }

  html.dmc-root body .dm-embed .dm-health-map,
  html.dmc-root body .dm-embed .dm-health-map span,
  html.dmc-root body .dm-embed .dm-health-map p,
  html.dmc-root body .dm-embed .dm-health-map td,
  html.dmc-root body .dm-embed .dm-health-map th {
    color: #f4efe6 !important;
    -webkit-text-fill-color: #f4efe6 !important;
  }
  html.dmc-root .dm-health-map {
    margin: 0 !important;
    padding: 18px 0 8px !important;
    background: var(--pine-dark) !important;
    color: #f4efe6 !important;
  }
  html.dmc-root .dm-health-map__head {
    padding: 0 16px 12px;
  }
  html.dmc-root body .dm-embed .dm-health-map__title {
    color: #e8c27a !important;
    -webkit-text-fill-color: #e8c27a !important;
  }
  html.dmc-root body .dm-embed .dm-health-map__sub,
  html.dmc-root body .dm-embed .dm-health-map__howto,
  html.dmc-root body .dm-embed .dm-health-map p {
    color: rgba(244, 239, 230, 0.78) !important;
    -webkit-text-fill-color: rgba(244, 239, 230, 0.78) !important;
  }
  html.dmc-root .dm-health-map__howto { display: none; }
  html.dmc-root .dm-health-map__scroll {
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding: 0 16px 18px;
    width: 100%;
    max-width: 100%;
  }
  html.dmc-root .dm-health-table,
  html.dmc-root .chakra-table,
  html.dmc-root .dm-health-table colgroup,
  html.dmc-root .dm-health-table thead,
  html.dmc-root .dm-health-table tbody,
  html.dmc-root .dm-health-table tfoot {
    display: revert !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  html.dmc-root .dm-health-table,
  html.dmc-root .chakra-table {
    table-layout: fixed;
    border-collapse: collapse;
  }
  html.dmc-root .dm-health-table tr {
    display: table-row !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    gap: 0;
  }
  html.dmc-root .dm-health-table th,
  html.dmc-root .dm-health-table td {
    display: table-cell !important;
    justify-content: unset;
    align-items: unset;
    gap: 0;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f4efe6 !important;
    -webkit-text-fill-color: #f4efe6 !important;
    padding: 9px 4px !important;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    text-align: center;
    vertical-align: middle;
  }
  html.dmc-root .dm-health-table thead th {
    padding: 0 4px 8px !important;
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 239, 230, 0.55) !important;
    -webkit-text-fill-color: rgba(244, 239, 230, 0.55) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  }
  html.dmc-root .dm-health-table thead th:first-child,
  html.dmc-root .dm-health-table tbody th,
  html.dmc-root .dm-health-table tfoot th {
    text-align: left;
    padding-left: 0 !important;
    font-family: var(--font-body);
  }
  html.dmc-root .dm-health-table td::before {
    content: none !important;
  }
  html.dmc-root body .dm-embed .dm-health-name {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-size: 0.82rem;
    font-weight: 600;
  }
  html.dmc-root body .dm-embed .dm-health-organs {
    display: block;
    color: rgba(244, 239, 230, 0.62) !important;
    -webkit-text-fill-color: rgba(244, 239, 230, 0.62) !important;
    font-size: 0.62rem;
    margin-top: 2px;
    white-space: normal;
  }
  html.dmc-root .dm-health-chakra {
    gap: 8px;
  }
  html.dmc-root .dm-health-table tfoot th,
  html.dmc-root .dm-health-table tfoot td {
    border-bottom: 0 !important;
    padding-top: 12px !important;
    font-weight: 700;
  }

  html.dmc-root .dm-sidebar,
  html.dmc-root .dm-signal-stack {
    order: 2 !important;
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 0 8px !important;
    background: var(--canvas) !important;
    border: 0 !important;
    box-shadow: none !important;
  }
  html.dmc-root .dm-signal-stack__head {
    padding: 20px 16px 8px;
    border-bottom: 0;
    margin: 0;
  }
  html.dmc-root .dm-signal-stack__title {
    font-size: 1.85rem;
    line-height: 1.15;
  }
  html.dmc-root .dmc-chapter-rail {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--canvas) 92%, #fff 8%);
    border-bottom: 1px solid var(--line);
    margin: 0;
    padding: 10px 16px 12px;
  }
  html.dmc-root .dmc-has-rail .dm-sidebar-menu,
  html.dmc-root .dmc-has-rail .dm-sidebar-item.expanded .dm-sidebar-item__panel {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  html.dmc-root .dmc-reading-empty {
    padding: 24px 16px 8px;
    border: 0;
    font-size: 1.55rem;
  }

  html.dmc-root body .dm-embed .dm-sidebar-item__panel .dm-report-card,
  html.dmc-root body .dm-embed .dm-sidebar-item__panel .dm-report__para,
  html.dmc-root body .dm-embed .dm-sidebar-item__panel .dm-report-card__reading,
  html.dmc-root body .dm-embed .dm-sidebar-item__panel .dm-report-card__narrative {
    color: #53586A !important;
    -webkit-text-fill-color: #53586A !important;
  }
  html.dmc-root body .dm-embed .dmc-has-rail .dm-report-card__reading p:first-child,
  html.dmc-root body .dm-embed .dmc-has-rail .dm-report__para:first-child {
    color: #13151A !important;
    -webkit-text-fill-color: #13151A !important;
  }

  html.dmc-root .dm-advanced-profile-mount {
    margin: 28px 0 0;
    padding: 0;
    border-top: 8px solid var(--tint);
  }
  html.dmc-root .dm-advanced-profile-mount__placeholder {
    padding: 28px 16px 8px;
  }
  html.dmc-root .dm-advanced-profile {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
  }
  html.dmc-root .dm-advanced-profile__header {
    padding: 28px 16px 8px;
    background: var(--tint);
  }
  html.dmc-root .dm-advanced-profile__title,
  html.dmc-root .dm-advanced-profile h3.dm-advanced-profile__title {
    font-family: var(--font-display) !important;
    font-size: 1.8rem !important;
    font-weight: 500 !important;
  }
  html.dmc-root .dm-advanced__hero-grid,
  html.dmc-root .dm-compare-grid,
  html.dmc-root .dm-center-grid {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
  }
  html.dmc-root .dm-advanced__core {
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 28px 16px !important;
  }
  html.dmc-root .dm-advanced__motifs,
  html.dmc-root .dm-advanced__section {
    padding: 8px 16px 20px !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
  html.dmc-root .dm-advanced__section + .dm-advanced__section {
    border-top: 8px solid var(--tint) !important;
    padding-top: 24px !important;
  }

  html.dmc-root .dm-purpose-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px !important;
    margin: 0 !important;
    padding: 4px 0 18px !important;
    overflow: visible;
  }
  html.dmc-root .dm-purpose-card {
    width: 100%;
    min-width: 0;
  }
  html.dmc-root .dm-purpose-card > .dm-tarot,
  html.dmc-root .dm-purpose-card > .dm-tarot--lg,
  html.dmc-root .dm-purpose-card > .dm-tarot--mark,
  html.dmc-root .dm-motif-item > .dm-tarot,
  html.dmc-root .dm-tarot--lg.dm-tarot--mark,
  html.dmc-root .dm-tarot--md.dm-tarot--mark {
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
  }

  html.dmc-root .dm-center-card__legend { display: none; }
  html.dmc-root .dm-center-card__lenses { display: none !important; }
  html.dmc-root .dm-center-card__codes {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }
  html.dmc-root .dm-center-code,
  html.dmc-root .dm-center-code.is-on {
    display: block !important;
    padding: 12px 0 12px 14px !important;
    border: 0 !important;
    border-left: 2px solid var(--bronze) !important;
    background: transparent !important;
  }
  html.dmc-root .dm-center-card {
    padding: 20px 16px !important;
    margin: 0 -16px !important;
  }
  html.dmc-root .dm-center-card:nth-child(odd) {
    background: var(--tint) !important;
  }

  html.dmc-root .dm-report-card__insights {
    margin-left: -16px;
    margin-right: -16px;
  }
  html.dmc-root .dm-report__insight-col {
    padding: 16px;
  }
}

@media (min-width: 961px) {
  html.dmc-root .dmc-chapter-rail {
    flex-wrap: wrap;
    overflow: visible;
    padding-top: 12px;
  }
  html.dmc-root .dm-sidebar,
  html.dmc-root .dm-signal-stack {
    background: transparent !important;
    border: 0 !important;
    padding: 0;
    max-height: calc(100vh - 24px);
  }
  html.dmc-root .dm-chart-area {
    background: transparent;
    border: 0;
    padding: 0 8px 8px;
  }
  html.dmc-root .dm-center-card__lenses { display: none; }
  html.dmc-root .dm-center-code { display: block !important; }
}

html.dmc-root body .dm-embed .dm-advanced-profile,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-advanced__hero-grid,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-advanced__core,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-advanced__motifs,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-advanced__section,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-purpose-grid,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-center-grid,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-compare-grid {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html.dmc-root .dm-tarot--empty {
  display: inline-block;
  background: var(--tint);
  border: 1px dashed var(--line);
  box-shadow: none;
}

html.dmc-root .dm-advanced__code--empty b,
html.dmc-root .dm-purpose-card__arcana b {
  font-family: var(--font-mono);
}

/* Card photos off — number marks only. Restore SHOW_TAROT_IMAGES to bring images back. */
html.dmc-root .dm-tarot__img,
html.dmc-root .dm-tarot__glow,
html.dmc-root .dm-fr-tarot img {
  display: none !important;
}

html.dmc-root .dm-tarot--mark,
html.dmc-root .dm-fr-tarot--mark {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  overflow: hidden !important;
  background: var(--tint);
  border: 1px solid var(--pine);
  box-shadow: none;
  border-radius: 50% !important;
}

html.dmc-root .dm-tarot--sm.dm-tarot--mark { width: 36px !important; height: 36px !important; }
html.dmc-root .dm-tarot--md.dm-tarot--mark { width: 48px !important; height: 48px !important; }
html.dmc-root .dm-tarot--lg.dm-tarot--mark { width: 72px !important; height: 72px !important; }
html.dmc-root .dm-fr-tarot--xs.dm-fr-tarot--mark { width: 28px; height: 28px; }
html.dmc-root .dm-fr-tarot--sm.dm-fr-tarot--mark { width: 36px; height: 36px; }
html.dmc-root .dm-fr-tarot--md.dm-fr-tarot--mark { width: 48px; height: 48px; }
html.dmc-root .dm-fr-tarot--lg.dm-fr-tarot--mark { width: 72px; height: 72px; }

html.dmc-root .dm-tarot--mark .dm-tarot__badge,
html.dmc-root .dm-fr-tarot--mark .dm-fr-tarot__badge {
  position: static;
  inset: auto;
  background: transparent;
  color: var(--pine);
  -webkit-text-fill-color: var(--pine);
  box-shadow: none;
  padding: 0;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}

html.dmc-root .dm-tarot--lg.dm-tarot--mark .dm-tarot__badge,
html.dmc-root .dm-fr-tarot--lg.dm-fr-tarot--mark .dm-fr-tarot__badge {
  font-size: 1.35rem;
}

html.dmc-root .personal-matrix-page > .dm-advanced-profile-mount .dm-advanced-profile {
  padding: 8px 4px 32px !important;
}

html.dmc-root .personal-matrix-page > .dm-advanced-profile-mount .dm-advanced-profile__header {
  padding: 28px 4px 12px;
}

/* ── Reading catalog (topic map under the chart) ── */
html.dmc-root .dm-reading-catalog {
  width: 100%;
  margin: 8px 0 8px;
  padding: 36px 0 12px;
  border-top: 8px solid var(--tint);
  scroll-margin-top: 24px;
}

html.dmc-root .dm-reading-catalog__head {
  max-width: 720px;
  margin: 0 0 28px;
}

html.dmc-root .dm-reading-catalog.is-live .dm-reading-catalog__steps,
html.dmc-root .dm-reading-catalog.is-live .dm-reading-catalog__cta {
  display: none;
}

html.dmc-root .dm-reading-catalog__hint {
  display: none !important;
}

html.dmc-root .dm-reading-catalog--follow {
  margin-top: 8px;
}

html.dmc-root .dm-reading-catalog--follow .dm-reading-catalog__grid {
  margin-top: 0;
}

html.dmc-root .dm-reading-catalog.is-live .dm-reading-catalog__lead {
  margin-bottom: 0;
}

html.dmc-root .dm-reading-catalog__eyebrow {
  margin: 0 0 10px;
  color: var(--bronze);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

html.dmc-root .dm-reading-catalog__title,
html.dmc-root body .dm-embed .dm-reading-catalog__title {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__lead,
html.dmc-root body .dm-embed .dm-reading-catalog__lead {
  margin: 0 0 20px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root .dm-reading-catalog__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

html.dmc-root .dm-reading-catalog__steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 12px 12px 10px;
  border: 1px solid var(--line);
  background: var(--tint);
}

html.dmc-root .dm-reading-catalog__steps li.is-now {
  border-color: var(--pine);
  background: var(--surface);
}

html.dmc-root .dm-reading-catalog__steps li.is-done {
  opacity: 0.72;
}

html.dmc-root .dm-reading-catalog__steps b {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bronze-tint);
  color: var(--bronze);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

html.dmc-root .dm-reading-catalog__steps li.is-now b {
  background: var(--pine);
  color: #fff;
}

html.dmc-root .dm-reading-catalog__steps span,
html.dmc-root body .dm-embed .dm-reading-catalog__steps span {
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__steps em {
  font-style: normal;
  font-weight: 700;
  color: var(--pine);
}

html.dmc-root .dm-reading-catalog__hint,
html.dmc-root body .dm-embed .dm-reading-catalog__hint,
html.dmc-root .dm-reading-catalog.is-live .dm-reading-catalog__hint {
  display: none !important;
}

html.dmc-root .dm-reading-catalog__cta,
html.dmc-root body .dm-embed .dm-reading-catalog__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--pine);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

html.dmc-root .dm-reading-catalog__cta:hover,
html.dmc-root body .dm-embed .dm-reading-catalog__cta:hover {
  background: var(--pine-dark);
}

html.dmc-root .dm-reading-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

html.dmc-root .dm-reading-catalog__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  overflow-wrap: anywhere;
}

html.dmc-root .dm-reading-catalog__card.is-locked {
  background: var(--tint);
}

html.dmc-root .dm-reading-catalog__card:hover,
html.dmc-root .dm-reading-catalog__card.is-on {
  border-color: var(--pine);
}

html.dmc-root .dm-reading-catalog ~ .dm-sidebar,
html.dmc-root .dm-reading-catalog ~ .dm-unlock {
  display: none !important;
}

html.dmc-root .dm-reading-catalog,
html.dmc-root .dm-reading-catalog__grid,
html.dmc-root .dm-reading-catalog__card,
html.dmc-root .dm-reading-catalog__body,
html.dmc-root .dm-reading-catalog__health-wrap {
  min-width: 0;
  max-width: 100%;
}

html.dmc-root .dm-reading-catalog__card.is-open {
  grid-column: 1 / -1;
  cursor: default;
  border-color: var(--pine);
  background: var(--surface);
  padding-bottom: 28px;
  overflow-x: hidden;
}

html.dmc-root .dm-reading-catalog__card.is-open .dm-reading-catalog__group,
html.dmc-root .dm-reading-catalog__card.is-open .dm-reading-catalog__scripts,
html.dmc-root .dm-reading-catalog__card.is-open .dm-reading-catalog__ages {
  display: none;
}

html.dmc-root .dm-reading-catalog__health-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html.dmc-root .dm-reading-catalog__health,
html.dmc-root .dm-reading-catalog__health .dm-health-map__scroll,
html.dmc-root .dm-reading-catalog__health .dm-health-table,
html.dmc-root .dm-reading-catalog__health .chakra-table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: block !important;
}

html.dmc-root .dm-reading-catalog__health th,
html.dmc-root .dm-reading-catalog__health td,
html.dmc-root .dm-reading-catalog__health p,
html.dmc-root .dm-reading-catalog__health span {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__menu-label,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__menu-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__menu-label span,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__menu-label span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__menu {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px;
  margin: 0 0 8px;
  border: 1px solid var(--line);
  background: var(--tint);
  scrollbar-width: thin;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__step {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-width: min(200px, 72vw);
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__step-num,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__step-num {
  color: var(--bronze) !important;
  -webkit-text-fill-color: var(--bronze) !important;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__step-label,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__step-label {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  font-size: 0.95rem;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__step-label small,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__step-label small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze) !important;
  -webkit-text-fill-color: var(--bronze) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__step-code,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__step-code {
  background: var(--bronze-tint);
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__step.is-on {
  border-color: var(--pine);
  background: color-mix(in srgb, var(--pine) 10%, var(--surface));
  box-shadow: inset 3px 0 0 var(--pine);
  color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__step.is-on .dm-reader__step-label small {
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__kicker,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
}

html.dmc-root .dm-reading-catalog__body {
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

html.dmc-root .dm-reading-catalog__body[hidden] {
  display: none !important;
}

html.dmc-root .dm-reading-catalog__pending,
html.dmc-root body .dm-embed .dm-reading-catalog__pending {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-health-map {
  margin: 0;
  padding: 0;
  background: transparent;
}

html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__title,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-topic__title,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-hero__title {
  font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-text,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-report__para,
html.dmc-root body .dm-embed .dm-reading-catalog__body p,
html.dmc-root body .dm-embed .dm-reading-catalog__body li {
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__kicker,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__note {
  color: var(--ink-3) !important;
  -webkit-text-fill-color: var(--ink-3) !important;
}

html.dmc-root .dm-reading-catalog__card[data-catalog-id="programs"],
html.dmc-root .dm-reading-catalog__card[data-catalog-id="forecast"] {
  grid-column: 1 / -1;
}

html.dmc-root .dm-reading-catalog__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html.dmc-root .dm-reading-catalog__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bronze);
}

html.dmc-root .dm-reading-catalog__lock {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

html.dmc-root .dm-reading-catalog__card.is-live .dm-reading-catalog__lock {
  color: var(--pine);
}

html.dmc-root .dm-reading-catalog__card h3,
html.dmc-root body .dm-embed .dm-reading-catalog__card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__chart-name,
html.dmc-root body .dm-embed .dm-reading-catalog__chart-name {
  margin: 0.28em 0 0.45em;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root .dm-reading-catalog__hook,
html.dmc-root body .dm-embed .dm-reading-catalog__hook {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root .dm-reading-catalog__group {
  margin-top: 4px;
}

html.dmc-root .dm-reading-catalog__group-title,
html.dmc-root body .dm-embed .dm-reading-catalog__group-title {
  margin: 10px 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
}

html.dmc-root .dm-reading-catalog__group ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

html.dmc-root .dm-reading-catalog__group li,
html.dmc-root body .dm-embed .dm-reading-catalog__group li {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.82rem;
  line-height: 1.3;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__card.is-locked .dm-reading-catalog__group li {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

html.dmc-root .dm-reading-catalog__scripts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-top: 8px;
}

html.dmc-root .dm-reading-catalog__scripts .dm-reading-catalog__group {
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tint);
}

html.dmc-root .dm-reading-catalog__scripts .dm-reading-catalog__group-title,
html.dmc-root body .dm-embed .dm-reading-catalog__scripts .dm-reading-catalog__group-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
}

html.dmc-root .dm-reading-catalog__scripts .dm-reading-catalog__group-title span {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--bronze) !important;
  -webkit-text-fill-color: var(--bronze) !important;
}

html.dmc-root .dm-reading-catalog__scripts ul {
  display: none;
}

@media (max-width: 560px) {
  html.dmc-root .dm-reading-catalog__scripts {
    grid-template-columns: 1fr;
  }
}

html.dmc-root .dm-reading-catalog__ages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

html.dmc-root .dm-reading-catalog__ages span,
html.dmc-root body .dm-embed .dm-reading-catalog__ages span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root .dm-reading-catalog__card.is-start {
  border-color: var(--pine);
}

html.dmc-root .dm-reading-catalog__card.is-start::before {
  content: 'Start here — tap this card';
  display: block;
  margin: 0 0 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine);
}

html.dmc-root .dm-reading-catalog__action,
html.dmc-root body .dm-embed .dm-reading-catalog__action,
html.dmc-root body .dm-embed .dm-reading-catalog__card .dm-reading-catalog__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--pine);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

html.dmc-root .dm-reading-catalog__action i {
  font-style: normal;
  font-weight: 700;
}

html.dmc-root .dm-reading-catalog__card.is-locked .dm-reading-catalog__action,
html.dmc-root body .dm-embed .dm-reading-catalog__card.is-locked .dm-reading-catalog__action {
  background: var(--bronze);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html.dmc-root .dm-reading-catalog__card.is-open .dm-reading-catalog__action,
html.dmc-root body .dm-embed .dm-reading-catalog__card.is-open .dm-reading-catalog__action {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
}

html.dmc-root .dm-chart-area .dm-chart-stage {
  max-width: none;
  margin: 0;
}
html.dmc-root .dm-chart-area .dm-chart-frame #matrix,
html.dmc-root .dm-chart-area #matrix {
  width: 100% !important;
  max-width: none !important;
  margin: 0;
  display: block;
}

html.dmc-root body .dm-embed .dm-sidebar-item.expanded .dm-reader__title,
html.dmc-root body .dm-embed .dm-sidebar-item.expanded .dm-fr-topic__title,
html.dmc-root body .dm-embed .dm-sidebar-item.expanded .dm-fr-hero__title,
html.dmc-root body .dm-embed .dm-sidebar-item.expanded .dm-signal-stack__title {
  font-size: clamp(1.7rem, 3vw, 2.35rem) !important;
  line-height: 1.15 !important;
}

html.dmc-root body .dm-embed .dm-sidebar-item.expanded .dm-reader__content .dm-fr-text,
html.dmc-root body .dm-embed .dm-sidebar-item.expanded .dm-report__para,
html.dmc-root body .dm-embed .dm-sidebar-item.expanded .dm-sidebar-item__panel p,
html.dmc-root body .dm-embed .dm-sidebar-item.expanded .dm-fr-text {
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
}

html.dmc-root .dm-reading-catalog__card.is-open .dm-reading-catalog__body {
  order: 4;
}

html.dmc-root .dm-reading-catalog__card.is-open .dm-reading-catalog__action {
  order: 5;
  margin-top: 18px;
}

/* Reading internals — light canvas, not leftover dark-theme colors */
html.dmc-root .dm-reading-catalog__body .dm-reader,
html.dmc-root .dm-reading-catalog__body .dm-reader__page,
html.dmc-root .dm-reading-catalog__body .dm-reader__content,
html.dmc-root .dm-reading-catalog__body .dm-fr-flat,
html.dmc-root .dm-reading-catalog__body .dm-fr-topic,
html.dmc-root .dm-reading-catalog__body .dm-fr-topic--nested,
html.dmc-root .dm-reading-catalog__body .dm-report-card,
html.dmc-root .dm-reading-catalog__body .dm-report-card__sheet,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__page,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-topic,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-report-card {
  background: var(--surface) !important;
  background-image: none !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  box-shadow: none !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__page,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__page {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--tint) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-fr-flat,
html.dmc-root .dm-reading-catalog__body .dm-fr-topic,
html.dmc-root .dm-reading-catalog__body .dm-fr-topic--nested,
html.dmc-root .dm-reading-catalog__body .dm-reader__content,
html.dmc-root .dm-reading-catalog__body .dm-report-card::before,
html.dmc-root .dm-reading-catalog__body .dm-report-card::after {
  padding: 0;
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader:has(> .dm-reader__menu .dm-reader__step:only-child) .dm-reader__menu-label,
html.dmc-root .dm-reading-catalog__body .dm-reader:has(> .dm-reader__menu .dm-reader__step:only-child) .dm-reader__menu,
html.dmc-root .dm-reading-catalog__body .dm-reader:has(.dm-reader__page:only-child) .dm-reader__pager {
  display: none;
}

html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-text,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__content p,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__content li {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-fr-chip,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-fr-chip b,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-chip b {
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-fr-label,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-label,
html.dmc-root .dm-reading-catalog__body .dm-fr-focus__label,
html.dmc-root .dm-reading-catalog__body .dm-fr-callout__label {
  color: var(--bronze) !important;
  -webkit-text-fill-color: var(--bronze) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-fr-focus {
  background: var(--bronze-tint);
  border: 1px solid var(--line);
}

html.dmc-root .dm-reading-catalog__body .dm-fr-focus__keywords,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-focus__keywords,
html.dmc-root .dm-reading-catalog__body .dm-fr-callout__text,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-callout__text,
html.dmc-root .dm-reading-catalog__body .dm-fr-roles,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-roles,
html.dmc-root .dm-reading-catalog__body .dm-fr-roles strong {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-fr-callout {
  background: var(--pine-tint);
  border-left: 3px solid var(--pine);
}

html.dmc-root .dm-reading-catalog__body .dm-reader__navbtn,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__navbtn {
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  border-radius: 999px;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__navbtn--next {
  border-color: var(--pine);
  background: var(--pine);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__count,
html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__count {
  color: var(--ink-2) !important;
  -webkit-text-fill-color: var(--ink-2) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-reader__head {
  border-bottom: 1px solid var(--line);
}

html.dmc-root .dm-reading-catalog__body .dm-fr-tarot,
html.dmc-root .dm-reading-catalog__body .dm-fr-tarot--mark,
html.dmc-root .dm-reading-catalog__body .dm-reader__head .dm-fr-tarot--md {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: var(--pine-tint) !important;
  border: 1px solid var(--pine) !important;
  box-shadow: none !important;
}

html.dmc-root .dm-reading-catalog__body .dm-fr-tarot__badge {
  position: static !important;
  background: transparent !important;
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
  font-size: 0.95rem !important;
}

html.dmc-root .dm-reading-catalog__body .dm-health-map,
html.dmc-root .dm-reading-catalog__body .dm-health-map__head,
html.dmc-root .dm-reading-catalog__body .dm-health-table,
html.dmc-root .dm-reading-catalog__body .dm-health-table tr {
  background: var(--tint) !important;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
}

html.dmc-root .dm-reading-catalog__body .dm-health-table th,
html.dmc-root .dm-reading-catalog__body .dm-health-name,
html.dmc-root .dm-reading-catalog__body .dm-health-organs,
html.dmc-root .dm-reading-catalog__body .dm-health-map__title,
html.dmc-root .dm-reading-catalog__body .dm-health-map__sub {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  background: transparent !important;
}

html.dmc-root .dm-health-table td:nth-child(2),
html.dmc-root .chakra-table td:nth-child(2),
html.dmc-root .dm-reading-catalog__body .dm-health-table td:nth-child(2) {
  color: #3d54f5 !important;
  -webkit-text-fill-color: #3d54f5 !important;
}
html.dmc-root .dm-health-table td:nth-child(3),
html.dmc-root .chakra-table td:nth-child(3),
html.dmc-root .dm-reading-catalog__body .dm-health-table td:nth-child(3) {
  color: #ed7233 !important;
  -webkit-text-fill-color: #ed7233 !important;
}
html.dmc-root .dm-health-table td:nth-child(4),
html.dmc-root .chakra-table td:nth-child(4),
html.dmc-root .dm-reading-catalog__body .dm-health-table td:nth-child(4) {
  color: #1a8f3c !important;
  -webkit-text-fill-color: #1a8f3c !important;
}

@media (max-width: 960px) {
  html.dmc-root:not(.dmc-in-wp) {
    overflow-x: clip;
  }
  html.dmc-in-wp .dm-embed {
    overflow-x: clip;
  }

  html.dmc-root .show-charts,
  html.dmc-root .personal-matrix-page,
  html.dmc-root .dm-chart-layout,
  html.dmc-root .dm-reading-catalog,
  html.dmc-root .dm-reading-catalog__grid {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html.dmc-root .dm-reading-catalog {
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: 32px;
    overflow-x: hidden;
  }

  html.dmc-root .dm-reading-catalog__steps {
    grid-template-columns: 1fr;
  }

  html.dmc-root .dm-reading-catalog__head {
    max-width: none;
  }

  html.dmc-root .dm-reading-catalog__title {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  html.dmc-root .dm-reading-catalog__card h3,
  html.dmc-root body .dm-embed .dm-reading-catalog__card h3 {
    font-size: 1.28rem;
  }

  html.dmc-root .dm-reading-catalog__health .dm-health-map__scroll,
  html.dmc-root body .dm-embed .dm-reading-catalog__health .dm-health-map__scroll {
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html.dmc-root .dm-reading-catalog__health .dm-health-table,
  html.dmc-root .dm-reading-catalog__health .dm-health-table tbody,
  html.dmc-root .dm-reading-catalog__health .dm-health-table tfoot,
  html.dmc-root .dm-reading-catalog__health .chakra-table,
  html.dmc-root body .dm-embed .dm-reading-catalog__health .dm-health-table,
  html.dmc-root body .dm-embed .dm-reading-catalog__health .dm-health-table tbody,
  html.dmc-root body .dm-embed .dm-reading-catalog__health .chakra-table {
    display: table !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed;
  }
  html.dmc-root .dm-reading-catalog__health .dm-health-table tbody,
  html.dmc-root .dm-reading-catalog__health .dm-health-table tfoot,
  html.dmc-root body .dm-embed .dm-reading-catalog__health .dm-health-table tbody {
    display: table-row-group !important;
  }
  html.dmc-root .dm-reading-catalog__health .dm-health-table tr,
  html.dmc-root body .dm-embed .dm-reading-catalog__health .dm-health-table tr {
    display: table-row !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    background: transparent !important;
    border: 0 !important;
  }

  html.dmc-root .dm-health-table td:nth-of-type(1),
  html.dmc-root body .dm-embed .dm-health-map .dm-health-table td:nth-of-type(1),
  html.dmc-root .dm-reading-catalog__body .dm-health-table td:nth-of-type(1) {
    color: #9ad7ff !important;
    -webkit-text-fill-color: #9ad7ff !important;
  }
  html.dmc-root .dm-health-table td:nth-of-type(2),
  html.dmc-root body .dm-embed .dm-health-map .dm-health-table td:nth-of-type(2),
  html.dmc-root .dm-reading-catalog__body .dm-health-table td:nth-of-type(2) {
    color: #f0c987 !important;
    -webkit-text-fill-color: #f0c987 !important;
  }
  html.dmc-root .dm-health-table td:nth-of-type(3),
  html.dmc-root body .dm-embed .dm-health-map .dm-health-table td:nth-of-type(3),
  html.dmc-root .dm-reading-catalog__body .dm-health-table td:nth-of-type(3) {
    color: #b6fd57 !important;
    -webkit-text-fill-color: #b6fd57 !important;
  }

  html.dmc-root .dm-reading-catalog__body .dm-health-map {
    background: var(--tint) !important;
    padding: 12px !important;
  }
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-health-map,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-health-map span,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-health-map p,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-health-map th,
  html.dmc-root .dm-reading-catalog__body .dm-health-table tr {
    background: var(--surface) !important;
    color: var(--ink) !important;
    -webkit-text-fill-color: var(--ink) !important;
  }
  html.dmc-root .dm-reading-catalog__body .dm-health-table tr {
    background: transparent !important;
    border: 0 !important;
    min-width: 0 !important;
    width: auto;
  }
  html.dmc-root .dm-reading-catalog__body .dm-health-table td::before {
    content: none !important;
  }
}

@media (max-width: 800px) {
  html.dmc-root .dm-reading-catalog__grid {
    grid-template-columns: 1fr;
  }
  html.dmc-root .dm-reading-catalog__steps {
    grid-template-columns: 1fr;
  }
  html.dmc-root .dm-reading-catalog {
    padding: 28px 16px 28px;
  }
  html.dmc-root .dm-reading-catalog__card {
    padding: 18px 16px 16px;
  }
  html.dmc-root .dm-reading-catalog__cta {
    width: 100%;
  }
}

/* Dark pine cards: cream text, never black */
html.dmc-root .dm-advanced__core,
html.dmc-root body .dm-embed .dm-advanced__core,
html.dmc-root body .dm-embed .dm-advanced-profile .dm-advanced__core,
html.dmc-root body .dm-embed .dm-advanced__core p,
html.dmc-root body .dm-embed .dm-advanced__core p:not(.dm-advanced-profile__title):not(.dm-signal-stack__title):not(.dm-advanced-profile__lead):not(.dm-advanced-profile__eyebrow),
html.dmc-root body .dm-embed .dm-advanced__core span,
html.dmc-root body .dm-embed .dm-advanced__core strong,
html.dmc-root body .dm-embed .dm-advanced__core b,
html.dmc-root body .dm-embed .dm-advanced__core li,
html.dmc-root body .dm-embed .dm-advanced__core blockquote,
html.dmc-root body .dm-embed .dm-advanced__core h3,
html.dmc-root body .dm-embed .dm-advanced__core .dm-tarot-hero__name,
html.dmc-root body .dm-embed .dm-advanced__core .dm-tarot-hero__num {
  color: #f4efe6 !important;
  -webkit-text-fill-color: #f4efe6 !important;
}

html.dmc-root body .dm-embed .dm-advanced__core > span {
  color: #e8c27a !important;
  -webkit-text-fill-color: #e8c27a !important;
}

/* Pending = gold. Live numbers and accent lines = pine, same as the chart above. */
html.dmc-root .dm-advanced-profile-mount.is-empty .dm-advanced__core p,
html.dmc-root .dm-advanced-profile-mount.is-empty .dm-advanced__core blockquote,
html.dmc-root .dm-advanced-profile-mount.is-empty .dm-motif-item__reading,
html.dmc-root .dm-advanced-profile-mount.is-empty .dm-purpose-card__reading,
html.dmc-root .dm-advanced-profile-mount.is-empty .dm-center-code p,
html.dmc-root .dm-advanced-profile-mount.is-empty .dm-compare-card p,
html.dmc-root body .dm-embed .dm-advanced-profile-mount.is-empty .dm-advanced__core p,
html.dmc-root body .dm-embed .dm-advanced-profile-mount.is-empty .dm-advanced__core blockquote,
html.dmc-root body .dm-embed .dm-advanced-profile-mount.is-empty .dm-motif-item__reading,
html.dmc-root body .dm-embed .dm-advanced-profile-mount.is-empty .dm-purpose-card__reading,
html.dmc-root body .dm-embed .dm-advanced-profile-mount.is-empty .dm-center-code p {
  color: var(--bronze) !important;
  -webkit-text-fill-color: var(--bronze) !important;
}

html.dmc-root .dm-advanced-profile-mount.is-empty .dm-center-code {
  border-left-color: var(--bronze) !important;
}

html.dmc-root .dm-advanced-profile-mount.is-empty .dm-advanced__code-meta b,
html.dmc-root .dm-advanced-profile-mount.is-empty .dm-purpose-card__arcana b,
html.dmc-root .dm-advanced-profile-mount.is-empty .dm-motif-item__num,
html.dmc-root .dm-advanced-profile-mount.is-empty .dm-tarot--mark {
  color: var(--bronze) !important;
  -webkit-text-fill-color: var(--bronze) !important;
  border-color: var(--bronze) !important;
}

html.dmc-root .dm-advanced-profile-mount:not(.is-empty) .dm-center-code {
  border-left-color: var(--pine) !important;
}

html.dmc-root .dm-advanced-profile-mount:not(.is-empty) .dm-advanced__code-meta b,
html.dmc-root .dm-advanced-profile-mount:not(.is-empty) .dm-purpose-card__arcana b,
html.dmc-root .dm-advanced-profile-mount:not(.is-empty) .dm-motif-item__num,
html.dmc-root .dm-advanced-profile-mount:not(.is-empty) .dm-tarot--mark,
html.dmc-root body .dm-embed .dm-advanced-profile-mount:not(.is-empty) .dm-advanced__code-meta b,
html.dmc-root body .dm-embed .dm-advanced-profile-mount:not(.is-empty) .dm-purpose-card__arcana b {
  color: var(--pine) !important;
  -webkit-text-fill-color: var(--pine) !important;
  border-color: var(--pine) !important;
}

html.dmc-root .dm-advanced-profile-mount:not(.is-empty) .dm-advanced__core .dm-advanced__code-meta b,
html.dmc-root .dm-advanced-profile-mount:not(.is-empty) .dm-advanced__core .dm-tarot--mark,
html.dmc-root body .dm-embed .dm-advanced-profile-mount:not(.is-empty) .dm-advanced__core .dm-advanced__code-meta b {
  color: #e8c27a !important;
  -webkit-text-fill-color: #e8c27a !important;
  border-color: #e8c27a !important;
}

/* Readings open on catalog cards — hide leftover chapter placeholder chrome */
html.dmc-root .dm-sidebar,
html.dmc-root .dm-signal-stack,
html.dmc-root .dm-unlock,
html.dmc-root .dmc-reading-empty,
html.dmc-root .dm-signal-stack__head,
html.dmc-root .dmc-chapter-rail,
html.dmc-root .dm-sidebar-reset {
  display: none !important;
}

/* Phone: catalog chapter + sub-topic reader stay compact, not desktop-editorial. */
@media (max-width: 720px) {
  html.dmc-root .dm-reading-catalog__card,
  html.dmc-root body .dm-embed .dm-reading-catalog__card {
    padding: 14px 12px 12px;
    gap: 6px;
  }

  html.dmc-root .dm-reading-catalog__card.is-open,
  html.dmc-root body .dm-embed .dm-reading-catalog__card.is-open {
    padding-bottom: 14px;
  }

  html.dmc-root .dm-reading-catalog__card h3,
  html.dmc-root body .dm-embed .dm-reading-catalog__card h3 {
    font-size: 1.18rem !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
  }

  html.dmc-root .dm-reading-catalog__chart-name,
  html.dmc-root body .dm-embed .dm-reading-catalog__chart-name {
    margin: 0.12em 0 0.2em;
    font-size: 0.78rem;
  }

  html.dmc-root .dm-reading-catalog__hook,
  html.dmc-root body .dm-embed .dm-reading-catalog__hook {
    font-size: 0.86rem;
    line-height: 1.4;
  }

  html.dmc-root .dm-reading-catalog__body {
    margin-top: 4px;
    padding-top: 12px;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader {
    gap: 8px;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__menu-label,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__menu-label {
    display: grid;
    gap: 2px;
    margin: 0 0 6px;
    font-size: 0.95rem !important;
    line-height: 1.25;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__menu-label span,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__menu-label span {
    font-size: 0.72rem !important;
    letter-spacing: 0;
    font-weight: 500;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__menu {
    gap: 8px;
    padding: 8px;
    margin: 0 0 4px;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__step,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__step {
    min-width: 148px;
    max-width: 70vw;
    min-height: 44px;
    padding: 8px 10px;
    gap: 6px;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__step-num,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__step-num {
    font-size: 0.62rem;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__step-label,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__step-label {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__step-label small,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__step-label small {
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    margin-bottom: 0;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__step-code,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__step-code {
    min-width: 22px;
    height: 22px;
    font-size: 0.68rem;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__page,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__page {
    padding: 12px 12px 14px;
    border-radius: 12px;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__head {
    gap: 8px;
    margin: 0 0 8px;
    padding: 0 0 8px;
  }

  html.dmc-root .dm-reading-catalog__body .dm-fr-tarot,
  html.dmc-root .dm-reading-catalog__body .dm-fr-tarot--mark,
  html.dmc-root .dm-reading-catalog__body .dm-reader__head .dm-fr-tarot--md {
    width: 32px !important;
    height: 32px !important;
  }

  html.dmc-root .dm-reading-catalog__body .dm-fr-tarot__badge {
    font-size: 0.78rem !important;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__kicker,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__kicker {
    font-size: 0.58rem !important;
    letter-spacing: 0.08em;
    margin: 0 0 2px;
  }

  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__title,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-topic__title,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-hero__title,
  html.dmc-root .dm-reading-catalog__body .dm-reader__title,
  html.dmc-root .dm-reading-catalog__body .dm-fr-topic__title,
  html.dmc-root .dm-reading-catalog__body .dm-fr-hero__title {
    font-size: 1.12rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em;
    margin: 0;
  }

  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__note,
  html.dmc-root .dm-reading-catalog__body .dm-reader__note {
    margin: 2px 0 0;
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-text,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-report__para,
  html.dmc-root body .dm-embed .dm-reading-catalog__body p,
  html.dmc-root body .dm-embed .dm-reading-catalog__body li,
  html.dmc-root .dm-reading-catalog__body .dm-fr-text,
  html.dmc-root .dm-reading-catalog__body p,
  html.dmc-root .dm-reading-catalog__body li {
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
  }

  html.dmc-root .dm-reading-catalog__body .dm-fr-chip,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-fr-chip {
    font-size: 0.78rem;
    padding: 3px 8px;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__pager {
    gap: 8px;
    margin-top: 8px;
  }

  html.dmc-root .dm-reading-catalog__body .dm-reader__navbtn,
  html.dmc-root body .dm-embed .dm-reading-catalog__body .dm-reader__navbtn {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  /* Calculator form — keep name, date, and button fully visible on phones. */
  html.dmc-root .dm-form-shell,
  html.dmc-root body .dm-embed .dm-form-shell,
  html.dmc-root body .dm-form-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 16px !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  html.dmc-root body .dm-form-shell .dm-form-card,
  html.dmc-root body .dm-embed .dm-form-shell .dm-form-card,
  html.dmc-root .dm-form-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    overflow: visible !important;
    border-radius: 16px !important;
  }

  html.dmc-root .dm-form-card__head,
  html.dmc-root .dm-form-card__trust {
    padding: 12px 14px !important;
  }

  html.dmc-root .dm-form-card__head {
    border-radius: 16px 16px 0 0;
  }

  html.dmc-root .dm-form-card__trust {
    gap: 8px;
    padding: 14px 14px 16px !important;
    border-radius: 0 0 16px 16px;
  }

  html.dmc-root .dm-form-card__trust li {
    padding: 5px 9px;
    font-size: 0.66rem;
  }

  html.dmc-root body .dm-form-shell .dm-form-card__body,
  html.dmc-root body .dm-embed .dm-form-shell .dm-form-card__body,
  html.dmc-root .dm-form-card__body {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px 14px 8px !important;
  }

  html.dmc-root .dm-form-card__body > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  html.dmc-root .dm-field--dob .dm-field__legend {
    display: block;
  }

  html.dmc-root body .dm-form-shell .dm-input,
  html.dmc-root body .dm-embed .dm-form-shell input#name,
  html.dmc-root body .dm-form-shell input#name,
  html.dmc-root .dm-input {
    min-height: 48px !important;
    height: 48px !important;
    padding: 10px 12px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  html.dmc-root body .dm-form-shell .dm-dob,
  html.dmc-root body .dm-embed .dm-form-shell .dm-dob,
  html.dmc-root .dm-dob {
    display: grid !important;
    grid-template-columns: minmax(5.5rem, 0.8fr) minmax(8.5rem, 1.6fr) minmax(5.75rem, 0.95fr) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
  }

  html.dmc-root .dm-dob__box:nth-child(1) { min-width: 5.5rem !important; }
  html.dmc-root .dm-dob__box:nth-child(2) { min-width: 8.5rem !important; }
  html.dmc-root .dm-dob__box:nth-child(3) { min-width: 5.75rem !important; }

  html.dmc-root .dm-dob__box {
    max-width: 100%;
    overflow: visible;
  }

  html.dmc-root .dm-dob__box > span {
    top: 6px;
    left: 10px;
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  html.dmc-root body .dm-form-shell .dmc-date-input,
  html.dmc-root body .dm-embed .dm-form-shell .dmc-date-input,
  html.dmc-root .dmc-date-input {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 1.05rem 0.65rem 0.3rem !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    border-radius: 12px !important;
    overflow: visible !important;
    text-overflow: clip;
  }

  html.dmc-root body .dm-form-shell select.dmc-date-input,
  html.dmc-root body .dm-embed .dm-form-shell select.dmc-date-input,
  html.dmc-root select.dmc-date-input {
    padding-right: 1.65rem !important;
    background-position: right 8px center;
    background-size: 10px 7px;
  }

  html.dmc-root body .dm-form-shell .dm-cta,
  html.dmc-root body .dm-form-shell button#get_the_answer,
  html.dmc-root body .dm-embed .dm-form-shell button#get_the_answer,
  html.dmc-root #get_the_answer,
  html.dmc-root .dm-cta {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    font-size: 0.92rem !important;
  }
}

@media (max-width: 400px) {
  html.dmc-root body .dm-form-shell .dm-dob,
  html.dmc-root body .dm-embed .dm-form-shell .dm-dob,
  html.dmc-root .dm-dob {
    grid-template-columns: minmax(5rem, 0.7fr) minmax(7.75rem, 1.65fr) minmax(5.25rem, 0.9fr) !important;
  }

  html.dmc-root .dm-dob__box:nth-child(1) { min-width: 5rem !important; }
  html.dmc-root .dm-dob__box:nth-child(2) { min-width: 7.75rem !important; }
  html.dmc-root .dm-dob__box:nth-child(3) { min-width: 5.25rem !important; }

  html.dmc-root body .dm-form-shell select.dmc-date-input,
  html.dmc-root body .dm-embed .dm-form-shell select.dmc-date-input,
  html.dmc-root select.dmc-date-input {
    padding-right: 1.4rem !important;
    background-position: right 6px center;
  }
}

/* Per-section Ask about this */
html.dmc-root .dmc-ask {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

html.dmc-root .dmc-ask__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--bronze) 55%, var(--line));
  border-radius: 999px;
  background: var(--bronze-tint);
  color: var(--pine);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

html.dmc-root .dmc-ask__toggle.is-on,
html.dmc-root .dmc-ask__toggle:hover {
  background: var(--pine);
  border-color: var(--pine);
  color: #fff;
}

html.dmc-root .dmc-ask__panel {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--ivory, #f7f1e6) 88%, #fff);
}

html.dmc-root .dmc-ask__thread {
  max-height: 240px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

html.dmc-root .dmc-ask__thread:empty {
  display: none;
}

html.dmc-root .dmc-ask__bubble {
  max-width: 92%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

html.dmc-root .dmc-ask__bubble--user {
  align-self: flex-end;
  background: var(--pine);
  color: #fff;
}

html.dmc-root .dmc-ask__bubble--assistant {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--pine);
}

html.dmc-root .dmc-ask__bubble--error,
html.dmc-root .dmc-ask__bubble.is-pending {
  align-self: flex-start;
  color: color-mix(in srgb, var(--pine) 70%, #666);
  font-style: italic;
  background: transparent;
  border: 0;
  padding-left: 2px;
}

html.dmc-root .dmc-ask__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bronze);
}

html.dmc-root .dmc-ask__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
}

html.dmc-root .dmc-ask__label {
  grid-column: 1 / -1;
}

html.dmc-root .dmc-ask__input {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  resize: vertical;
  font: inherit;
  font-size: 0.9rem;
  color: var(--pine);
  background: #fff;
}

html.dmc-root .dmc-ask__send {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--pine);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

html.dmc-root .dmc-ask__send:disabled {
  opacity: 0.55;
  cursor: wait;
}


