
.guide-utility-bar,
.guide-data-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .9rem;
}
.guide-utility-bar {
  margin-bottom: 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .48);
}
.guide-utility-label {
  color: var(--field-dark);
  font-weight: 800;
}
.guide-data-controls {
  margin-top: 1.5rem;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}
.guide-data-controls p { margin: 0; }

.app-shell { padding-top: clamp(2rem, 5vw, 4.5rem); scroll-margin-top: 96px; }
.progress-shell { margin-bottom: var(--space-3); }
.progress-meta { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; font-weight: 700; margin-bottom: .65rem; }
.progress-track { height: 9px; border-radius: 999px; background: rgba(23, 32, 26, .10); overflow: hidden; }
.progress-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--field-dark), var(--field), var(--sand)); transition: width var(--motion-standard) var(--motion-ease); }
.app-view {
  position: relative;
  min-height: 620px;
  overflow-x: hidden;
}
.app-view.is-transitioning {
  pointer-events: none;
  user-select: none;
}
.assessment-card {
  will-change: transform, opacity;
}
.question-heading:focus,
.card-title:focus,
#decision-point-heading:focus {
  outline: none;
}
.question-heading:focus-visible,
.card-title:focus-visible,
#decision-point-heading:focus-visible {
  outline: 3px solid rgba(95, 122, 85, .38);
  outline-offset: 3px;
}

/* In-place Decision Point transitions — transform + opacity only */
.pane-exit-forward { animation: paneExitForward 250ms var(--motion-ease) forwards; }
.pane-enter-forward { animation: paneEnterForward 250ms var(--motion-ease) both; }
.pane-exit-back { animation: paneExitBack 250ms var(--motion-ease) forwards; }
.pane-enter-back { animation: paneEnterBack 250ms var(--motion-ease) both; }
.pane-enter-chapter.pane-enter-forward { animation: paneEnterChapterForward 280ms var(--motion-ease) both; }
.pane-enter-chapter.pane-enter-back { animation: paneEnterChapterBack 280ms var(--motion-ease) both; }
.pane-fade-exit { animation: paneFadeOut 120ms ease forwards; }
.pane-fade-enter { animation: paneFadeIn 120ms ease both; }

@keyframes paneExitForward {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-18px); }
}
@keyframes paneEnterForward {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes paneExitBack {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(18px); }
}
@keyframes paneEnterBack {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes paneEnterChapterForward {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes paneEnterChapterBack {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes paneFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes paneFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .pane-exit-forward,
  .pane-enter-forward,
  .pane-exit-back,
  .pane-enter-back,
  .pane-enter-chapter.pane-enter-forward,
  .pane-enter-chapter.pane-enter-back {
    animation: none;
  }
}

.intro-list { display: grid; gap: .8rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.intro-list li { display: flex; gap: .7rem; align-items: flex-start; }
.intro-list li::before { content: "✓"; color: var(--color-positive); font-weight: 900; }
.meta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; color: var(--muted); font-size: .92rem; }
.navigation-row { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.navigation-row .button { min-width: 128px; }
.answer-option { cursor: pointer; }
.question-heading { margin: 1rem 0 .5rem; color: var(--ink); font-size: clamp(1.4rem, 3vw, 1.95rem); line-height: 1.25; letter-spacing: -0.035em; }
.question-help { margin: 0; color: var(--muted); }
.content-stack { display: grid; gap: 1rem; margin-top: 1.25rem; }
.reflection-list, .result-list { margin: .85rem 0 0; padding-left: 1.2rem; }
.reflection-list li, .result-list li { margin-bottom: .55rem; }
.result-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.result-panel { padding: 1.25rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .54); }
.result-panel h3 { margin: 0 0 .5rem; color: var(--ink); letter-spacing: -0.025em; }
.result-panel p { margin: 0; color: var(--muted); }
.result-banner { margin-top: 1.25rem; padding: 1.35rem; border-radius: 22px; background: rgba(95, 122, 85, .10); border: 1px solid rgba(95, 122, 85, .18); }
.result-banner h2 { margin: .35rem 0; color: var(--ink); letter-spacing: -0.04em; }
.loading-list { display: grid; gap: .8rem; margin-top: 1.5rem; }
.loading-item { display: flex; align-items: center; gap: .7rem; color: var(--muted); opacity: .48; transition: opacity var(--motion-standard); }
.loading-item.active { opacity: 1; color: var(--ink); }
.loading-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--field); }

.guide-mid-cta {
  margin-top: 1.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(23, 32, 26, 0.08);
  border-radius: 18px;
  background: rgba(232, 225, 212, 0.34);
}
.guide-mid-cta h2,
.guide-mid-cta h3 {
  margin: 0 0 .35rem;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.guide-mid-cta p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}
.guide-mid-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.guide-mid-cta-actions .button {
  text-decoration: none;
}

.guide-result-cta {
  margin-top: 1.5rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(95, 122, 85, 0.22);
  border-radius: 22px;
  background: rgba(95, 122, 85, 0.10);
}
.guide-result-cta h2 {
  margin: 0 0 .45rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  letter-spacing: -0.03em;
}
.guide-result-cta p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}
.guide-result-cta .button {
  text-decoration: none;
}
.guide-result-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.guide-report-disclaimer {
  margin-top: 1rem;
}

.guide-report-disclaimer .dc-brokerage-disclaimer,
.guide-mid-cta .dc-brokerage-disclaimer,
.guide-mid-cta .dc-contact-brokerage-notice {
  margin-top: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted, #5c5a54);
}

@media print {
  .guide-report-disclaimer .dc-brokerage-disclaimer {
    color: #17201a !important;
    font-size: 0.82rem !important;
  }
}
  margin: 0.75rem 0 0 !important;
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .guide-utility-bar, .guide-data-controls { align-items: flex-start; flex-direction: column; }
  .navigation-row { position: sticky; bottom: 0; z-index: 40; padding: .9rem 0 max(.9rem, env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(246,244,238,0), rgba(246,244,238,.96) 28%); }
  .navigation-row .button { flex: 1; min-width: 0; }
  .app-view { min-height: 560px; }
}

@media print {
  #site-header, .guide-utility-bar, .progress-shell, .navigation-row, .guide-data-controls, #site-footer, .button, .text-button, .guide-mid-cta, .guide-result-cta { display: none !important; }
  .decision-seo, .de-faq-section, .de-related-section, .de-entity-section { display: none !important; }
  body { background: white; }
  #app-main .container { width: 100%; }
  .card { box-shadow: none; border-color: #bbb; background: white; }
  .accordion-panel[hidden] { display: block !important; }
}
