.result-page .description p.result-story-profile,
.result-page .description p.result-story-sphere { line-height: 1.6; }
.result-page .description .result-story-fact { display: block; font-weight: 650; margin-bottom: .38em; }
.result-page .description .result-story-profile .result-story-fact { font-weight: 400; }
.result-page .description .result-story-context { display: block; margin-top: .3em; }
.result-page .description .result-story-bridge { margin: 1.6rem 0; padding: 1.2rem 1.3rem; border: 1px solid #d7c8e7; border-radius: 16px; background: #faf6ff; }
.result-page .description .result-story-bridge h3 { margin: 0 0 .55rem; }
.result-page .description .result-story-bridge p { margin: 0 0 .9rem; }
.result-page .description .result-story-bridge button { border: 0; border-radius: 10px; background: #6c3d91; color: #fff; padding: .72rem 1rem; font: inherit; font-weight: 650; cursor: pointer; }
.result-page .description .result-story-bridge button:hover { background: #542c76; }
.result-page .description .result-story-bridge button:focus-visible { outline: 3px solid #e0ad45; outline-offset: 3px; }

/* The app keeps its screen container absolute; let the long result take space
   so the personalized program panel follows it instead of sitting behind it. */
#app main:has(> .pechkin-happiness-panel) > main.svelte-zzgvxs { height: auto !important; min-height: 100vh; }
#app main:has(> .pechkin-happiness-panel) > main.svelte-zzgvxs > .page-container { position: relative !important; height: auto !important; min-height: 100vh; }
