:root { --pf-bar-fill: #181717; --pf-bar-track: #ECEBEF; }
.profo-shell,
.profo-shell * { box-sizing: border-box; }
.profo-shell {
  --profo-bg: #f6f6f6;
  --profo-card: #fff;
  --profo-border: #ebeaed;
  --profo-text: #181717;
  --profo-text-2: #3e3e3e;
  --profo-muted: #5f5f5f;
  --profo-soft: #f5f5f7;
  --profo-yellow: #f3d45e;
  color: var(--profo-text);
  width: min(100%, 440px);
  margin: 0 auto;
  padding: 0 16px 20px;
  font-family: "Wix Madefor Display", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
.profo-page { background: var(--profo-bg); min-height: calc(100vh - 100px); }
.profo-reveal-active [data-profo-reveal-index] { opacity: 0; animation: profo-reveal-in .85s cubic-bezier(.22,1,.36,1) both; }
.profo-reveal-active [data-profo-reveal-index="0"] { animation-delay: 0ms; }
.profo-reveal-active [data-profo-reveal-index="1"] { animation-delay: 80ms; }
.profo-reveal-active [data-profo-reveal-index="2"] { animation-delay: 160ms; }
.profo-reveal-active [data-profo-reveal-index="3"] { animation-delay: 240ms; }
.profo-reveal-active [data-profo-reveal-index="4"] { animation-delay: 320ms; }
.profo-reveal-active [data-profo-reveal-index="5"] { animation-delay: 400ms; }
.profo-reveal-active [data-profo-reveal-index="6"] { animation-delay: 480ms; }
.profo-reveal-active [data-profo-reveal-index="7"] { animation-delay: 560ms; }
.profo-reveal-active [data-profo-reveal-index="8"] { animation-delay: 640ms; }
.profo-reveal-active [data-profo-reveal-index="9"] { animation-delay: 720ms; }
.profo-reveal-active [data-profo-reveal-index="10"] { animation-delay: 800ms; }
.profo-reveal-active [data-profo-reveal-index="11"] { animation-delay: 880ms; }
.profo-reveal-active [data-profo-reveal-index="12"] { animation-delay: 960ms; }
.profo-reveal-active [data-profo-reveal-index="13"] { animation-delay: 1040ms; }
.profo-reveal-active [data-profo-reveal-index="14"] { animation-delay: 1120ms; }
.profo-reveal-active [data-profo-reveal-index="15"] { animation-delay: 1200ms; }
.profo-reveal-active [data-profo-reveal-index="16"] { animation-delay: 1280ms; }
.profo-reveal-active [data-profo-reveal-index="17"] { animation-delay: 1360ms; }
.profo-reveal-active [data-profo-reveal-index="18"] { animation-delay: 1440ms; }
.profo-reveal-active [data-profo-reveal-index="19"] { animation-delay: 1520ms; }
.profo-reveal-active [data-profo-reveal-index="20"] { animation-delay: 1600ms; }
@keyframes profo-reveal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.profo-card, .profo-specialty-card, .profo-dark-card { transition: transform .2s ease, box-shadow .2s ease; }
.profo-card:hover, .profo-specialty-card:hover, .profo-dark-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(24,23,23,.1); }
@media (prefers-reduced-motion: reduce) {
  .profo-reveal-active [data-profo-reveal-index] { opacity: 1; animation: none; transform: none; }
  .profo-card, .profo-specialty-card, .profo-dark-card { transition: none; }
  .profo-card:hover, .profo-specialty-card:hover, .profo-dark-card:hover { transform: none; }
}
.profo-desktop-welcome-hero, .profo-desktop-result-type, .profo-desktop-result-traits, .profo-parent-desktop-qr { display: none; }
.profo-audio-element { position: fixed; left: -2px; bottom: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.profo-flow { min-height: min(820px, calc(100dvh - 72px)); display: flex; flex-direction: column; }
.profo-flow-content { flex: 1; padding: 8px 0 112px; }
.profo-flow-content--clear-sticky { padding-bottom: calc(112px + 56px + 12px + max(18px, env(safe-area-inset-bottom)) + 20px); }
.profo-flow-content--dream { display: flex; flex-direction: column; gap: 18px; min-height: 0; }
.profo-flow-content--clear-sticky.profo-flow-content--dream { padding-bottom: calc(56px + 12px + max(18px, env(safe-area-inset-bottom)) + 16px); }
.profo-dream-answer-content { display: grid; gap: 10px; padding: 12px 0 0; }
.profo-dream-answer-content .profo-extra-input { max-width: 460px; }
.profo-custom-dream-submit { margin-top: 6px; }
.profo-brand { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.profo-brand > img { width: 50px; height: 40px; object-fit: contain; }
.profo-brand strong { display: block; font-size: 17px; line-height: 1.15; font-weight: 600; }
.profo-brand--compact > img { width: 40px; height: 32px; }
.profo-brand--compact strong { font-size: 14px; }
.profo-brand--tag { display: inline-flex; width: fit-content; min-height: 44px; flex-shrink: 0; gap: 10px; padding: 5px 15px 5px 5px; border: 1px solid #eee6bd; border-radius: 999px; background: #fffdf3; }
.profo-brand--tag strong { font-size: 14px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.profo-brand-compass { display: grid; place-items: center; flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; background: #f3d45e; color: #181717; }
.profo-welcome-header { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 16px; }
.profo-audio-hint { position: absolute; z-index: 8; top: calc(100% + 5px); right: 0; width: max-content; max-width: min(220px, 72vw); padding: 6px 9px; border-radius: 10px; background: #181717; color: #fff; font-size: 11px; line-height: 1.25; text-align: center; box-shadow: 0 4px 12px rgba(24,23,23,.15); }
.profo-stage-sound-control { position: absolute; z-index: 7; right: 16px; bottom: 16px; }
.profo-stage-sound-control .profo-audio-hint { top: auto; right: 0; bottom: calc(100% + 8px); }
.profo-bubble-sound-control { position: absolute; z-index: 2; top: 8px; right: 8px; }
.profo-stage { position: relative; isolation: isolate; overflow: hidden; width: 100%; border-radius: 24px; background-color: #e5ddd3; background-repeat: no-repeat; }
.profo-confetti-layer { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.profo-confetti-track { position: absolute; z-index: 0; top: var(--track-top); bottom: var(--track-bottom); width: 0; animation: profo-confetti-fall var(--fall-duration) linear var(--fall-delay) infinite; will-change: transform; }
.profo-confetti-sway { position: absolute; top: 0; left: 0; width: 1px; height: 100%; animation: profo-confetti-sway var(--sway-duration) ease-in-out var(--sway-delay) infinite; will-change: transform; }
.profo-confetti-flake { position: absolute; top: 0; left: 0; width: var(--flake-width); height: var(--flake-height); border-radius: 2px; background: var(--flake-color); opacity: .9; animation: profo-confetti-flip var(--flip-duration) linear var(--flip-delay) infinite; transform-style: preserve-3d; will-change: transform; }
.profo-confetti-layer[data-paused="true"] .profo-confetti-track,
.profo-confetti-layer[data-paused="true"] .profo-confetti-sway,
.profo-confetti-layer[data-paused="true"] .profo-confetti-flake { animation-play-state: paused; }
.profo-stage-model-frame { position: absolute; z-index: 2; inset: 0; }
@keyframes profo-confetti-fall { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, 100%, 0); } }
@keyframes profo-confetti-sway { 0%, 100% { transform: translate3d(0, 0, 0); } 25% { transform: translate3d(var(--sway), 0, 0); } 75% { transform: translate3d(var(--counter-sway), 0, 0); } }
@keyframes profo-confetti-flip { 0% { transform: rotateZ(0deg) rotateY(0deg) scaleX(1); } 50% { transform: rotateZ(var(--rotation)) rotateY(90deg) scaleX(.2); } 100% { transform: rotateZ(calc(var(--rotation) * 2)) rotateY(180deg) scaleX(1); } }
.profo-stage--full { background-position: center bottom; background-size: auto 400px; }
.profo-stage--waist { background-position: center; background-size: cover; }
.profo-stage--mobile-wings { background-position: center bottom; background-size: 100% 340px; }
.profo-stage--mobile-wings .profo-stage-model-frame { top: auto; bottom: 0; height: calc(100% - 30px); }
.profo-stage--jubilee { background-color: #1B1915; background-image: url('/proforientation/bg-jubilee-desk.jpg'); background-position: center 30%; background-size: cover; }
.profo-stage-poster { position: absolute; z-index: 0; left: 50%; transform: translateX(-50%); width: auto; height: 100%; max-width: none; object-fit: contain; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(150,100,15,.55)) drop-shadow(0 3px 4px rgba(120,80,20,.2)); transition: opacity .4s; }
.profo-speech-card { position: relative; margin-top: 12px; padding: 16px 18px; border-radius: 24px; border: 1px solid var(--profo-border); background: #fff; }
.profo-speech-card > p { margin: 8px 0 0; font-size: 16px; line-height: 1.48; }
.profo-speech-meta { display: flex; align-items: center; gap: 5px; color: var(--profo-muted); font-size: 14px; }
.profo-speech-meta strong { color: var(--profo-text); font-weight: 600; }
.profo-round-button { border: 1px solid var(--profo-border); width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--profo-text); display: inline-grid; place-items: center; cursor: pointer; flex: 0 0 auto; transition: background .15s, transform .15s; }
.profo-round-button:hover { background: var(--profo-soft); }
.profo-round-button:active { transform: scale(.96); }
.profo-sound-button { width: 48px; height: 48px; }
.profo-sound-button--dark { border-color: rgba(255,255,255,.22); background: rgba(20,18,14,.55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.profo-sound-button--dark:hover { background: rgba(20,18,14,.72); }
.profo-sound-button--light { width: 40px; height: 40px; border-color: #EBEAED; background: #fff; color: #181717; }
.profo-sound-button--prompt { animation: profo-sound-pulse .8s ease-in-out 3; }
@keyframes profo-sound-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(243,212,94,0); }
  50% { transform: scale(1.055); box-shadow: 0 0 0 7px rgba(243,212,94,.28); }
}
@media (prefers-reduced-motion: reduce) {
  .profo-sound-button--prompt { animation: none; }
}
.profo-screen-header { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; align-items: center; gap: 12px; padding: 8px 0 16px; }
.profo-screen-heading { min-width: 0; }
.profo-screen-heading > span { display: block; color: var(--profo-muted); font-size: 12px; font-weight: 500; }
.profo-screen-heading h1 { margin: 1px 0 0; font-size: 20px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.profo-header-spacer { width: 44px; height: 44px; }
.profo-progress-header { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 12px; align-items: center; padding: 8px 0 14px; }
.profo-progress-header.has-right { grid-template-columns: 44px minmax(0,1fr) auto; }
.profo-progress-copy > div:first-child { display: flex; justify-content: space-between; color: var(--profo-muted); font-size: 12px; font-weight: 500; margin-bottom: 8px; }
.profo-progress-count { display: inline-flex; gap: 4px; }
.profo-progress-count-current { color: var(--profo-text); font-weight: 500; }
.profo-progress-count-total { color: var(--profo-muted); font-weight: 400; }
.profo-progress-track { height: 6px; background: var(--pf-bar-track); border-radius: 99px; overflow: hidden; }
.profo-progress-track span { display: block; height: 100%; background: var(--pf-bar-fill); border-radius: inherit; transition: width .2s ease; }
.profo-gleb-row { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px; }
.profo-gleb-avatar { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #34312E; }
.profo-gleb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profo-gleb-bubble { border: 1px solid var(--profo-border); border-radius: 6px 20px 20px 20px; background: #fff; padding: 12px 16px; font-size: 14px; line-height: 1.45; min-height: 44px; flex: 1; }
.profo-gleb-bubble--has-sound { position: relative; padding-right: 56px; }
.profo-gleb-bubble strong { font-weight: 600; }
.profo-primary-button { width: 100%; min-height: 56px; border: 0; border-radius: 16px; background: var(--profo-yellow); color: var(--profo-text); padding: 8px 8px 8px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font: inherit; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; }
.profo-primary-button:disabled { cursor: not-allowed; opacity: .48; }
.profo-primary-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: var(--profo-text); color: #fff; }
.profo-sticky-actions { position: sticky; bottom: 0; z-index: 5; padding: 12px 0 max(18px, env(safe-area-inset-bottom)); margin-top: auto; background: linear-gradient(180deg, rgba(246,246,246,0), #f6f6f6 18%); }
.profo-text-link { appearance: none; border: 0; display: inline-flex; justify-content: center; align-items: center; padding: 4px; background: transparent; color: var(--profo-text); font: inherit; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.profo-sticky-actions .profo-text-link { display: flex; min-height: 32px; margin: 2px auto 0; }
.profo-caption { margin: 8px 0 0; color: var(--profo-muted); text-align: center; font-size: 14px; }
.profo-card { border: 1px solid var(--profo-border); background: var(--profo-card); border-radius: 24px; padding: 16px; }
.profo-section-title { margin: 18px 0 10px; font-size: 15px; line-height: 1.3; font-weight: 600; }
.profo-field { width: 100%; min-height: 48px; border: 1px solid var(--profo-border); border-radius: 16px; background: #fff; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--profo-text); outline: none; }
.profo-field:focus-visible, .profo-shell button:focus-visible, .profo-shell a:focus-visible { outline: 3px solid #3157d5; outline-offset: 2px; }
.profo-field::placeholder { color: #979797; }
.profo-grade-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.profo-choice-button { min-height: 44px; border: 1px solid var(--profo-border); border-radius: 14px; background: #fff; color: var(--profo-text); font: inherit; font-size: 15px; cursor: pointer; }
.profo-choice-button.is-selected { border-color: var(--profo-yellow); background: var(--profo-yellow); font-weight: 600; }
.profo-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.profo-chip { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 40px; border: 1px solid var(--profo-border); border-radius: 999px; background: #fff; color: var(--profo-text); padding: 7px 14px; font: inherit; font-size: 14px; cursor: pointer; transition: background .15s, border-color .15s; }
.profo-chip.is-selected { border-color: var(--profo-yellow); background: var(--profo-yellow); }
.profo-chip:disabled { opacity: .45; cursor: not-allowed; }
.profo-day-skills .profo-chip:disabled { opacity: 1; cursor: default; }
.profo-day-skills .profo-chip.is-selected { border-color: #F3D45E; background: #F3D45E; color: #181717; }
.profo-day-skills .profo-chip:not(.is-selected) { border-color: var(--profo-border); background: #fff; color: #181717; }
.profo-extra-input { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 8px; align-items: center; }
.profo-extra-input .profo-field { min-width: 0; }
.profo-question-bubble { position: relative; display: grid; gap: 7px; min-width: 0; padding: 13px 15px; border: 1px solid var(--profo-border); border-radius: 6px 20px 20px 20px; background: #fff; }
.profo-question-meta { display: flex; align-items: center; gap: 6px; color: var(--profo-muted); font-size: 12px; line-height: 1.2; }
.profo-question-meta strong { color: var(--profo-text); font-weight: 600; }
.profo-question-bubble > p { margin: 0; font-size: 14px; line-height: 1.35; font-weight: 600; }
.profo-question-bubble > small { color: var(--profo-muted); font-size: 12px; line-height: 1.4; }
.profo-question-bubble > button,
.profo-subject-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.profo-subject-grid .profo-chip { justify-content: flex-start; min-height: 44px; width: 100%; border-radius: 14px; padding: 8px 11px; }
.profo-dark-panel { border-radius: 24px; padding: 16px; background-color: var(--profo-text); background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.6px); background-size: 14px 14px; color: #fff; }
.profo-answer-panel .profo-dark-brand-decor { z-index: -1; }
.profo-answer-panel > strong { display: block; margin: 0 0 12px; color: #b1b1b1; font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.profo-dark-panel .profo-field { border: 0; }
.profo-record-button { width: 100%; min-height: 50px; margin-top: 12px; border: 0; border-radius: 15px; background: var(--profo-yellow); color: var(--profo-text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.profo-record-button:disabled { opacity: .6; }
.profo-parent-back { margin: 0 0 8px; }
.profo-dark-panel > strong { font-size: 14px; font-weight: 600; }
.profo-record-button { display: flex; justify-content: center; align-items: center; gap: 8px; }
.profo-parent-label { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #3e3e3e; color: #fff; font-size: 11px; }
.profo-parent-contact span { display: flex; align-items: center; gap: 7px; }
.profo-qr-placeholder { font-size: 10px; color: #777; }
.profo-dream-match > strong { font-size: 16px; }
.profo-dream-match > p { margin: 5px 0 12px; color: var(--profo-text-2); font-size: 14px; }
.profo-shake { animation: profo-shake .32s ease-in-out; }
@keyframes profo-shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-3px); } }
.profo-result-archetype { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.profo-result-copy { color: var(--profo-text-2); font-size: 14px; }
.profo-trait-bars { display: grid; gap: 10px; }
.profo-trait-row { display: grid; grid-template-columns: 105px minmax(0,1fr) 37px; gap: 8px; align-items: center; color: #5F5F5F; font-size: 12px; }
.profo-trait-row b { text-align: right; font-weight: 500; }
.profo-trait-row.is-leading { color: var(--profo-text); font-weight: 600; }
.profo-trait-bars:not(.profo-trait-bars--dark) .profo-trait-track { height: 8px; overflow: hidden; border-radius: 99px; background: var(--pf-bar-track); }
.profo-trait-bars:not(.profo-trait-bars--dark) .profo-trait-track i { display: block; min-width: 3px; height: 100%; border-radius: inherit; background: var(--pf-bar-fill); }
.profo-trait-label { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.profo-trait-type-pill { display: inline-flex; align-items: center; width: max-content; border-radius: 99px; padding: 2px 7px; background: #181717; color: #F3D45E; font: 700 11px/1.3 "Wix Madefor Display",sans-serif; font-style: normal; white-space: nowrap; }
.profo-trait-bars--dark .profo-trait-row { color: #bcbcbc; }
.profo-trait-bars--dark .profo-trait-row.is-leading { color: #fff; }
.profo-trait-bars--dark .profo-trait-track { background: #3e3e3e; }
.profo-trait-bars--dark .profo-trait-row.is-leading .profo-trait-track i { background: #fff; }
.profo-trait-bars--dark .profo-trait-row.is-leading:nth-child(2) .profo-trait-track i { background: var(--profo-yellow); }
.profo-specialty-list { display: grid; gap: 8px; }
.profo-specialty-card { width: 100%; min-height: 64px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 12px 14px; border: 1px solid var(--profo-border); border-radius: 18px; background: #fff; color: var(--profo-text); text-align: left; font: inherit; cursor: pointer; }
.profo-specialty-card.is-featured { border: 2px solid var(--profo-yellow); padding: 12px 13px; }
.profo-specialty-open { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:var(--profo-yellow); color:var(--profo-text); transition:transform .18s ease; }
.profo-specialty-card:hover .profo-specialty-open { transform:translateX(3px); }
.profo-specialty-copy { display: grid; gap: 2px; min-width: 0; }
.profo-specialty-copy strong { font-size: 15px; line-height: 1.3; font-weight: 600; }
.profo-specialty-professions { color: var(--profo-text-2); font-size: 12px; }
.profo-score-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; max-width: 100%; margin-top: 12px; }
.profo-score-pill { display: inline-flex; flex: 0 1 auto; align-items: baseline; gap: 6px; min-width: 0; max-width: 100%; padding: 8px 14px; border: 1px solid transparent; border-radius: 999px; color: var(--profo-text); font-size: 15px; line-height: 1.25; font-weight: 500; overflow-wrap: anywhere; }
.profo-score-pill--budget { background: #fbf0c4; }
.profo-score-pill--paid { background: var(--profo-soft); }
.profo-score-pill.is-disabled { align-items: center; border: 1px dashed #d6d5d9; background: #fff; color: var(--profo-muted); }
.profo-score-pill-label { font-weight: 500; }
.profo-score-pill-value { font-size: 17px; line-height: 1.1; font-weight: 700; white-space: nowrap; }
.profo-score-year { color: var(--profo-muted); font-size: 13px; line-height: 1.3; font-weight: 400; }
.profo-score-pills--sm { gap: 5px 6px; margin-top: 0; }
.profo-score-pills--sm .profo-score-pill { gap: 4px; padding: 4px 8px; font-size: 11px; line-height: 1.2; }
.profo-score-pills--sm .profo-score-pill-value,
.profo-score-pills--sm .profo-score-year { font-size: 11px; }
.profo-specialty-card > .profo-specialty-explanation { grid-column: 1 / -1; margin: 0; color: var(--profo-text-2); font-size: 13px; }
.profo-match-badge { min-width: 43px; align-self: start; border-radius: 999px; padding: 6px 8px; background: var(--profo-soft); text-align: center; font-size: 12px; font-weight: 600; }
.profo-specialty-card.is-featured .profo-match-badge { background: var(--profo-yellow); }
.profo-flat-note { margin: 0 0 12px; padding: 12px; border-radius: 16px; background: var(--profo-soft); color: var(--profo-text-2); font-size: 14px; }
.profo-vs-card { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr); grid-template-rows: auto auto minmax(2.56em,auto) auto; align-content: center; align-items: center; column-gap: 8px; row-gap: 4px; min-height: 154px; padding: 15px 12px; border-radius: 22px; background: var(--profo-text); color: #fff; }
.profo-vs-card--has-sound { padding-top: 56px; }
.profo-vs-side { display: contents; text-align: center; }
.profo-vs-side--dream > * { grid-column: 1; }
.profo-vs-side--fit > * { grid-column: 3; }
.profo-vs-side > :nth-child(1) { grid-row: 1; }
.profo-vs-side > :nth-child(2) { grid-row: 2; }
.profo-vs-side > :nth-child(3) { grid-row: 3; }
.profo-vs-side > :nth-child(4) { grid-row: 4; }
.profo-vs-side span { color: #b1b1b1; font-size: 11px; }
.profo-vs-side strong { min-width: 0; color: #fff; font-size: 14px; line-height: 1.28; }
.profo-vs-side em { color: var(--profo-yellow); font: 800 34px/1 var(--font-profo-unbounded),sans-serif; font-style: normal; letter-spacing: -.04em; }
.profo-vs-side--dream em { color: #b1b1b1; }
.profo-vs-side--fit em { color: var(--profo-yellow); }
.profo-vs-circle { grid-column: 2; grid-row: 1 / 5; justify-self: center; align-self: center; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--profo-text); font-size: 12px; font-weight: 700; }
.profo-reason-list { display: grid; gap: 9px; margin: 12px 0; padding: 0; list-style: none; font-size: 13px; }
.profo-reason-list li { display: flex; gap: 8px; align-items: flex-start; }
.profo-reason-list li span { flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--profo-yellow); font-size: 12px; }
.profo-reason-list li.is-muted span { background: var(--profo-border); }
.profo-video-poster { position: relative; display: grid; place-items: center; width: 100%; height: 214px; overflow: hidden; border-radius: 24px; background: linear-gradient(180deg,rgba(24,23,23,.12),rgba(24,23,23,.68)),url('/proforientation/bg-wings-waist.jpg') center/cover; color: #fff; }
.profo-video-poster video { width: 100%; height: 100%; object-fit: cover; }
.profo-video-play { width: 68px; height: 68px; border: 0; border-radius: 50%; background: var(--profo-yellow); color: var(--profo-text); display: grid; place-items: center; cursor: pointer; }
.profo-video-soon { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(24,23,23,.75); font-size: 12px; }
.profo-video-title { align-self: end; margin: 0 14px 14px; text-align: center; font-weight: 600; }
.profo-dark-card { border-radius: 24px; padding: 18px; background-color: var(--profo-text); background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.6px); background-size: 14px 14px; color: #fff; }
.profo-dark-brand-card { position: relative; isolation: isolate; overflow: hidden; background: #181717 !important; background-image: none !important; color: #fff; }
.profo-dark-brand-decor { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.profo-dark-brand-ten { position: absolute; top: -6px; right: -26px; color: transparent; -webkit-text-stroke: 1.5px rgba(234,188,93,.22); font: 800 230px/.8 var(--font-profo-unbounded),sans-serif; letter-spacing: -.06em; }
.profo-dark-brand-laurel { position: absolute; top: -14px; right: -34px; width: 120px; height: 258px; object-fit: contain; opacity: .3; }
.profo-dark-brand-circle { position: absolute; display: block; border-radius: 50%; }
.profo-dark-brand-circle--solid { left: -90px; bottom: -90px; width: 220px; height: 220px; border: 1.5px solid rgba(234,188,93,.28); }
.profo-dark-brand-circle--dotted { left: -60px; bottom: -60px; width: 160px; height: 160px; border: 1.5px dashed rgba(234,188,93,.2); }
.profo-parent-head { position: relative; padding-right: 18px; }
.profo-parent-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 9px; min-height: 37px; }
.profo-parent-logo { position: relative; z-index: 1; flex: 0 0 46px; width: 46px; height: 37px; object-fit: contain; }
.profo-parent-brand > strong { flex: 1 1 auto; min-width: 0; overflow: hidden; color: #fff; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.profo-parent-brand .profo-parent-label { flex: 0 0 auto; margin-left: auto; padding: 6px 12px; background: var(--profo-yellow); color: var(--profo-text); font-size: 13px; font-weight: 700; white-space: nowrap; }
.profo-parent-eyebrow { position: relative; z-index: 1; display: block; margin-top: 6px; color: #b1b1b1; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.profo-parent-head h2,
.profo-parent-head p { position: relative; z-index: 1; }
.profo-parent-head h2 { max-width: 380px; margin: 12px 0 8px; color: var(--profo-yellow); font: 800 24px/1.1 var(--font-profo-unbounded),sans-serif; letter-spacing: -.02em; }
.profo-parent-head p { max-width: 340px; margin: 0; color: #fff; font-size: 16px; line-height: 1.5; }
.profo-timeline { display: grid; gap: 8px; margin: 15px 0; }
.profo-timeline-item { position: relative; display: grid; grid-template-columns: 98px 12px minmax(0,1fr); gap: 9px; align-items: start; padding: 4px 0; color: var(--profo-text-2); }
.profo-timeline-item.is-past { color: #929292; }
.profo-timeline-item time { font-size: 11px; line-height: 1.35; }
.profo-timeline-dot { width: 10px; height: 10px; margin-top: 3px; border: 2px solid #b7b7b7; border-radius: 50%; background: var(--profo-bg); }
.profo-timeline-item.is-current .profo-timeline-dot { border-color: var(--profo-yellow); background: var(--profo-yellow); box-shadow: 0 0 0 3px rgba(243,212,94,.18); }
.profo-timeline-body strong { display: block; margin-bottom: 2px; color: var(--profo-text); font-size: 13px; font-weight: 600; }
.profo-timeline-body p { margin: 0; font-size: 12px; line-height: 1.35; }
.profo-plan-column { display: grid; gap: 9px; min-width: 0; }
.profo-plan-step-list { display: grid; gap: 8px; }
.profo-plan-step { min-width: 0; overflow: hidden; padding: 10px 14px; border: 1px solid var(--profo-border); border-radius: 20px; background: #fff; transition: border-color .3s ease,box-shadow .3s ease; }
.profo-plan-step:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(24,23,23,.1); }
.profo-plan-step.is-open { padding: 10px 14px 12px; border: 2px solid var(--profo-yellow); box-shadow: 0 8px 22px rgba(243,212,94,.22); }
.profo-plan-step.is-past:not(.is-open) { opacity: .62; }
.profo-plan-step-toggle { display: grid; grid-template-columns: 48px minmax(0,1fr) auto 34px; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0; border: 0; background: transparent; color: var(--profo-text); text-align: left; cursor: pointer; }
.profo-plan-step-number { color: #e3e2e6; font: 800 28px/1 var(--font-profo-unbounded),sans-serif; letter-spacing: -.04em; transition: color .3s ease; }
.profo-plan-step.is-open .profo-plan-step-number { color: var(--profo-yellow); }
.profo-plan-step-title { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.profo-plan-step-title > span { overflow: hidden; color: #797979; font-size: 11px; line-height: 1.25; font-weight: 600; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.profo-plan-step-title strong { font-size: 16px; line-height: 1.25; font-weight: 600; }
.profo-plan-status { justify-self: end; padding: 5px 10px; border-radius: 999px; font-size: 11px; line-height: 1; font-weight: 600; white-space: nowrap; }
.profo-plan-status.is-now { background: var(--profo-text); color: var(--profo-yellow); }
.profo-plan-status.is-soon { background: #fbedbb; color: var(--profo-text); }
.profo-plan-status.is-later { background: var(--profo-soft); color: #797979; }
.profo-plan-step-chevron { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--profo-soft); color: var(--profo-text); transition: transform .3s ease,background .3s ease,color .3s ease; }
.profo-plan-step.is-open .profo-plan-step-chevron { transform: rotate(180deg); background: var(--profo-text); color: #fff; }
.profo-plan-accordion { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s cubic-bezier(.2,.8,.2,1),opacity .3s ease; }
.profo-plan-accordion-clip { min-height: 0; overflow: hidden; }
.profo-plan-step-content { display: flex; flex-direction: column; gap: 10px; padding: 10px 0 2px 60px; color: var(--profo-text-2); }
.profo-plan-step-content p { margin: 0; font-size: 14px; line-height: 1.5; }
.profo-plan-score-pills { margin-top: 0; }
.profo-plan-actions-row { display: flex; flex-wrap: wrap; gap: 8px; }
.profo-plan-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; width: fit-content; max-width: 100%; padding: 0 14px; border: 0; border-radius: 12px; font: inherit; font-size: 12px; line-height: 1.3; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.profo-plan-action--dark { background: var(--profo-text); color: #fff; }
.profo-plan-action--dark:hover { background: #3e3e3e; color: #fff; }
.profo-plan-action--soft { background: var(--profo-soft); color: var(--profo-text); }
.profo-plan-subjects span.is-soft { background: var(--profo-soft); }
.profo-plan-step-content .profo-plan-note { color: var(--profo-muted); font-size: 12px; line-height: 1.4; }
.profo-plan-step-content .profo-plan-note--warning { color: #7b4d13; }
.profo-plan-application-months { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
.profo-plan-application-months span { display: grid; place-items: center; min-height: 36px; border-radius: 12px; background: var(--profo-soft); font-size: 12px; font-weight: 600; }
.profo-plan-application-months span.is-current { background: var(--profo-yellow); }
.profo-plan-subjects { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.profo-plan-subjects span { display: inline-flex; align-items: center; min-height: 27px; padding: 5px 10px; border-radius: 999px; background: var(--profo-yellow); color: var(--profo-text); font-size: 11px; line-height: 1.2; font-weight: 600; }
.profo-timeline-body .profo-plan-note { margin-top: 6px; color: var(--profo-muted); font-size: 11px; line-height: 1.35; }
.profo-timeline-body .profo-plan-print-score-pills { margin: 4px 0 6px; }
.profo-timeline-body .profo-plan-note--warning { color: #7b4d13; }
.profo-admission-result-note { display: grid; gap: 2px; margin-top: -4px; color: var(--profo-muted); font-size: 11px; line-height: 1.4; }
.profo-admission-result-note p { margin: 0; }
.profo-admission-result-note .profo-text-link { justify-content: flex-start; width: fit-content; min-height: 24px; padding: 0; font-size: 12px; }
.profo-parent-contact { display: grid; gap: 6px; margin: 4px 16px 0; font-size: 13px; }
.profo-parent-contact strong { font-weight: 600; }
.profo-parent-actions { display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 8px; margin-bottom: 6px; }
.profo-qr-tile { width: 56px; height: 56px; border: 1px solid var(--profo-border); border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.profo-qr-tile img { width: 44px; height: 44px; image-rendering: pixelated; }
.profo-parent-actions .profo-primary-button { padding-left: 14px; font-size: 14px; }
.profo-restart-plan-control { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; min-width: 0; }
.profo-restart-plan-control > span { color: #797979; font-size: 13px; line-height: 1.4; }
.profo-restart-trigger { appearance: none; font: inherit; cursor: pointer; }
.profo-restart-trigger--plan { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1px solid var(--profo-border); border-radius: 16px; background: #fff; color: var(--profo-text); font-size: 15px; font-weight: 600; white-space: nowrap; }
.profo-restart-trigger--result { display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 36px; padding: 4px 8px; border: 0; background: transparent; color: var(--profo-text-2); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.profo-result-secondary-actions { display: grid; align-content: start; gap: 6px; min-width: 0; }
.profo-restart-overlay { position: fixed; z-index: 9999; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(24,23,23,.58); backdrop-filter: blur(5px); font-family: "Wix Madefor Display", sans-serif; }
.profo-restart-dialog { position: relative; width: min(100%, 440px); padding: 30px; border: 1px solid #ebeaed; border-radius: 28px; background: #fff; color: #181717; box-shadow: 0 24px 80px rgba(24,23,23,.24); outline: none; }
.profo-restart-close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f5f5f7; color: #181717; cursor: pointer; }
.profo-restart-eyebrow { display: block; margin-bottom: 8px; color: var(--profo-muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.profo-restart-dialog h2 { margin: 0; padding-right: 28px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.profo-restart-dialog p { margin: 12px 0 24px; color: var(--profo-muted); font-size: 16px; }
.profo-restart-dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.profo-restart-dialog-actions button { min-height: 48px; padding: 0 18px; border: 1px solid #ebeaed; border-radius: 15px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.profo-restart-cancel { background: #fff; color: #181717; }
.profo-restart-confirm { border-color: #f3d45e !important; background: #f3d45e; color: #181717; }
.profo-restart-overlay button:focus-visible { outline: 3px solid #3157d5; outline-offset: 2px; }
.profo-story-card { position: relative; display: flex; flex-direction: column; box-sizing: border-box; width: 330px; height: 587px; overflow: hidden; border-radius: 24px; padding: 25px 18px 22px; background: #181717; color: #fff; }
.profo-story-card::before { content: "10"; position: absolute; z-index: 0; top: 73px; right: 20px; color: transparent; -webkit-text-stroke: 1.5px rgba(234,188,93,.22); font: 800 132px/.8 var(--font-profo-unbounded),sans-serif; letter-spacing: -.06em; white-space: nowrap; }
.profo-story-card::after { content: ""; position: absolute; z-index: 0; left: 0; bottom: 5px; width: 100px; height: 80px; border: 1px solid rgba(234,188,93,.3); border-radius: 50%; transform: rotate(35deg); box-shadow: 0 0 0 8px rgba(24,23,23,1), 0 0 0 9px rgba(234,188,93,.24); }
.profo-story-card > * { position: relative; z-index: 1; }
.profo-story-laurel { position: absolute !important; z-index: 0 !important; right: -12px; bottom: 18px; width: 103px; height: 220px; object-fit: contain; opacity: .3; }
.profo-story-top { display: flex; align-items: center; gap: 8px; }
.profo-story-top img { flex: 0 0 38px; width: 38px; height: 30px; object-fit: contain; }
.profo-story-top strong { flex: 1; font-size: 13px; line-height: 1.2; font-weight: 700; }
.profo-story-top span { color: #b1b1b1; font-size: 11px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.profo-story-kicker { margin: 6px 0 0; color: #b1b1b1; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.profo-story-archetype { margin: 0; color: #F3D45E; font: 800 28px/1 var(--font-profo-unbounded),sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
.profo-story-archetype.is-long { font-size: 24px; }
.profo-story-description { max-width: 280px; margin: 0; color: #e6e6e6; font-size: 14px; line-height: 1.35; }
.profo-story-card .profo-trait-bars { gap: 5px; }
.profo-story-card .profo-trait-row { grid-template-columns: 116px minmax(0,1fr) 26px; gap: 10px; font-size: 13px; }
.profo-story-card .profo-trait-row > span:first-child { font-size: 11px; white-space: nowrap; }
.profo-story-card .profo-trait-track { height: 6px; }
.profo-story-card .profo-trait-bars--dark .profo-trait-track { background: rgba(255,255,255,.14); }
.profo-story-card .profo-trait-bars--dark .profo-trait-row .profo-trait-track i { display: block; min-width: 0; height: 100%; border-radius: inherit; background: #F3D45E; }
.profo-story-match { display: grid; gap: 6px; margin-top: 8px; padding: 10px 14px; border-radius: 22px; background: #F3D45E; color: #181717; }
.profo-story-match > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; }
.profo-story-match-featured { display: flex; align-items: center; gap: 12px; }
.profo-story-match-featured > strong { flex: 0 0 auto; font: 800 30px/.9 var(--font-profo-unbounded),sans-serif; letter-spacing: -.03em; }
.profo-story-match-featured > div { display: grid; flex: 1; gap: 6px; min-width: 0; }
.profo-story-match-featured p { margin: 0; font-size: 15px; line-height: 1.15; font-weight: 700; }
.profo-story-match-track { height: 6px; border-radius: 3px; background: rgba(24,23,23,.15); }
.profo-story-match-track i { display: block; height: 100%; border-radius: inherit; background: #181717; }
.profo-story-match-lines { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 4px 12px; align-items: center; font-size: 13px; }
.profo-story-match-lines strong { font: 600 12px/1.3 var(--font-profo-unbounded),sans-serif; }
.profo-story-match-lines span { font-weight: 500; }
.profo-story-footer { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; }
.profo-story-footer p { flex: 1; min-width: 0; margin: 0; font: 800 16px/1.1 var(--font-profo-unbounded),sans-serif; }
.profo-story-footer p span { display: block; margin-top: 4px; color: #c7c7c7; font: 400 12px/1.3 "Wix Madefor Display",sans-serif; }
.profo-story-footer img { flex: 0 0 52px; width: 52px; height: 52px; padding: 3px; border-radius: 12px; background: #fff; }
.profo-story-export .profo-trait-track { height: 4.28px; }
.profo-share-preview-card > .profo-story-card .profo-trait-track { height: 6.82px; }
@media (max-width: 600px) and (min-height: 800px) and (max-height: 900px) {
  .profo-day-compact .profo-video-poster { height: 190px; }
  .profo-day-compact .profo-section-title { margin: 12px 0 6px; }
  .profo-day-compact .profo-chip-row { gap: 6px; }
  .profo-day-compact .profo-day-skills .profo-chip { min-height: 34px; padding-block: 4px; }
}
.profo-toast { position: fixed; z-index: 10000; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100vw - 32px); padding: 11px 16px; border-radius: 14px; background: var(--profo-text); color: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.18); font-size: 14px; }
.profo-printable { width: 794px; min-height: 1123px; padding: 52px 58px; margin: 0 auto; background: #fff; color: #181717; font-size: 14px; }
.profo-printable .profo-trait-bars { margin: 12px 0; }
.profo-printable .profo-timeline { margin: 20px 0; }
.profo-printable .profo-plan-subjects { gap: 5px; margin-top: 6px; }
.profo-printable .profo-plan-subjects span { min-height: 23px; padding: 4px 8px; font-size: 10px; }
.profo-printable-head { display: flex; align-items: center; gap: 17px; padding-bottom: 20px; border-bottom: 1px solid var(--profo-border); }
.profo-printable-head img { width: 70px; height: 56px; object-fit: contain; }
.profo-printable-head span { color: var(--profo-muted); font-size: 13px; }
.profo-printable-head strong { display: block; font-size: 18px; }
.profo-printable h1 { margin: 25px 0 6px; font-size: 28px; }
.profo-printable-date { margin: 0 0 19px; color: var(--profo-muted); }
.profo-printable-grid { display: grid; grid-template-columns: 1fr 180px; gap: 20px; align-items: start; }
.profo-printable-top { display: grid; gap: 8px; }
.profo-printable-specialty { padding: 12px; border: 1px solid var(--profo-border); border-radius: 14px; }
.profo-printable-specialty strong { display: block; margin-top: 3px; }
.profo-printable-specialty span { color: var(--profo-muted); font-size: 12px; }
.profo-printable-qr { width: 122px; height: 122px; margin: 4px auto; }
.profo-printable-contact { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--profo-border); }
.profo-printable-note { margin-top: 20px; color: var(--profo-muted); font-size: 11px; }
.profo-story-offscreen { position: fixed; left: -10000px; top: 0; width: 330px; height: 587px; overflow: hidden; }

@media (max-width: 768px) {
  .profo-printable { width: 794px; }
}
@media (max-width: 360px) {
  .profo-vs-card { grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr); column-gap: 5px; padding-inline: 8px; }
  .profo-vs-circle { width: 34px; height: 34px; }
  .profo-trait-row { grid-template-columns: 96px minmax(0,1fr) 34px; gap: 6px; }
}
@media (max-width: 1023px) {
  .profo-page { padding-bottom: 96px; }
  .profo-welcome-content > .profo-stage--mobile-wings { width: calc(100% + 24px); margin-left: -12px; }
  .profo-stage--jubilee { background-image: url('/proforientation/bg-jubilee-mobile.jpg'); background-position: center 30%; background-size: cover; }
  .profo-confetti-track:nth-child(n + 25) { display: none; }
  .profo-stage-sound-control { right: 12px; bottom: 12px; }
  .profo-sound-button--dark { width: 44px; height: 44px; }
  .profo-shell.profo-flow .profo-flow-content { padding-bottom: calc(112px + 96px + max(18px, env(safe-area-inset-bottom))); }
  .profo-shell.profo-flow .profo-flow-content--clear-sticky { padding-bottom: calc(112px + 56px + 12px + max(18px, env(safe-area-inset-bottom)) + 20px + 96px); }
  .profo-dark-card,
  .profo-dark-panel { background-size: 12px 12px; }
  .profo-parent-head { padding-right: 18px; }
  .profo-parent-label { white-space: nowrap; }
  .profo-parent-head h2 { max-width: none; }
  .profo-parent-head p { max-width: 236px; }
  .profo-plan-step { padding: 10px; }
  .profo-plan-step.is-open { padding: 10px 10px 12px; }
  .profo-plan-step-toggle { grid-template-columns: 38px minmax(0,1fr) auto 32px; gap: 8px; }
  .profo-plan-step-number { font-size: 23px; }
  .profo-plan-step-title strong { font-size: 14px; }
  .profo-plan-step-title > span { font-size: 9px; }
  .profo-plan-status { padding: 5px 8px; font-size: 10px; }
  .profo-plan-step-chevron { width: 32px; height: 32px; }
  .profo-plan-step-content { padding-left: 46px; }
  .profo-parent-flow > .profo-sticky-actions { background: var(--profo-bg); box-shadow: 0 -10px 24px rgba(24,23,23,.08); }
}

@media (prefers-reduced-motion: reduce) {
  .profo-confetti-track { top: var(--static-y); right: auto; bottom: auto; height: 1px; animation: none; }
  .profo-confetti-sway,
  .profo-confetti-flake { animation: none; }
}
@media (min-width: 1024px) {
  .profo-page { min-height: 0; margin-bottom: -48px; padding-bottom: 0; }
  .profo-shell { width: min(calc(100% - 2 * clamp(24px, 3vw, 48px)), 1440px); padding: 0; }
  .profo-flow--desktop { display: grid; grid-template-columns: clamp(520px, 40%, 640px) minmax(0, 1fr); grid-auto-rows: min-content; column-gap: clamp(24px, 3vw, 48px); align-items: stretch; width: min(calc(100% - 2 * clamp(24px, 3vw, 48px)), 1440px); height: clamp(600px, calc(100dvh - var(--profo-header-space, 172px) - 32px), 900px); min-height: 600px; max-height: 900px; margin: 0 auto; padding-right: 0; }
  .profo-flow--desktop.profo-flow--open { padding-right: 0; }
  .profo-flow--desktop .profo-flow-content { grid-column: 2; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; flex: initial; padding: 0; }
  .profo-flow--desktop > .profo-progress-header,
  .profo-flow--desktop > .profo-screen-header,
  .profo-flow--desktop > .profo-sticky-actions { grid-column: 2; }
  .profo-flow--desktop > .profo-progress-header,
  .profo-flow--desktop > .profo-screen-header { grid-row: 1; align-self: start; padding: 0 0 18px; }
  .profo-flow--desktop > .profo-sticky-actions { position: static; z-index: auto; align-self: end; min-height: 0; margin: 0; padding: 12px 0 0; background: none; }
  .profo-desktop-scene { position: relative; top: auto; grid-column: 1; grid-row: 1 / -1; align-self: stretch; width: 100%; height: 100%; min-height: 0; overflow: hidden; border-radius: 32px; background: #e5ddd3; }
  .profo-desktop-scene .profo-stage { width: 100%; height: 100% !important; border-radius: 32px; }
  .profo-stage--desk { background-position: center bottom; background-size: cover; }
  .profo-desktop-thought { position: absolute; z-index: 3; top: 4px; left: 28px; right: 28px; padding: 18px 18px 16px; border: 1px solid rgba(235,234,237,.8); border-radius: 24px; background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(24,23,23,.12); }
  .profo-desktop-thought p { margin: 8px 0 0; font-size: 20px; font-weight: 500; line-height: 1.35; }
  .profo-desktop-thought--welcome { top: 6px; padding-top: 12px; padding-bottom: 12px; }
  .profo-desktop-thought--welcome p { margin-top: 4px; line-height: 1.25; }
  .profo-desktop-thought .profo-speech-meta { font-size: 14px; }

  .profo-flow--welcome { grid-template-rows: minmax(0,1fr) auto; min-height: 600px; }
  .profo-flow--welcome .profo-welcome-content { display: contents; }
  .profo-flow--welcome .profo-welcome-header,
  .profo-flow--welcome .profo-welcome-content > .profo-stage,
  .profo-flow--welcome .profo-welcome-content > .profo-speech-card { display: none; }
  .profo-desktop-welcome-hero { display: block; grid-column: 2; grid-row: 1; min-width: 0; padding-top: 56px; }
  .profo-desktop-welcome-hero h1 { max-width: 760px; margin: 0 0 20px; font-size: clamp(44px, 4.1vw, 56px); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; }
  .profo-desktop-welcome-hero > p { max-width: 720px; margin: 0; color: var(--profo-text-2); font-size: 19px; line-height: 1.5; }
  .profo-desktop-features { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 26px; }
  .profo-desktop-features > div { min-height: 106px; display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--profo-border); border-radius: 24px; background: #fff; }
  .profo-desktop-features strong { font-size: 30px; line-height: 1; font-weight: 700; }
  .profo-desktop-features span { color: var(--profo-muted); font-size: 15px; line-height: 1.3; }
  .profo-flow--welcome > .profo-sticky-actions { display: grid; grid-template-columns: 360px minmax(0,1fr); align-items: center; gap: 18px 28px; }
  .profo-flow--welcome > .profo-sticky-actions .profo-primary-button { min-height: 64px; font-size: 18px; }
  .profo-flow--welcome > .profo-sticky-actions .profo-caption { display: none; }
  .profo-flow--welcome > .profo-sticky-actions .profo-text-link { justify-content: flex-start; margin: 0; font-size: 16px; }

  .profo-flow--dream, .profo-flow--subjects_like, .profo-flow--subjects_dislike, .profo-flow--open, .profo-flow--compare, .profo-flow--day { grid-template-rows: auto minmax(0,1fr) auto; min-height: 600px; }
  .profo-flow--desktop .profo-flow-content--clear-sticky { padding-bottom: 0; }
  .profo-flow--desktop .profo-flow-content--dream { height: 100%; gap: 20px; }
  .profo-flow--desktop .profo-flow-content > .profo-gleb-row { display: none; }
  .profo-flow--desktop .profo-grade-row { grid-template-columns: repeat(4,120px); gap: 12px; }
  .profo-flow--desktop .profo-choice-button { min-height: 56px; font-size: 18px; }
  .profo-flow--desktop .profo-chip-row { gap: 8px; }
  .profo-flow--desktop .profo-chip { min-height: 48px; padding: 8px 18px; font-size: 16px; }
  .profo-flow--desktop .profo-dream-answer-content { padding-top: 14px; }
  .profo-flow--dream > .profo-sticky-actions { padding-top: 16px; }
  .profo-flow--dream > .profo-sticky-actions .profo-primary-button { min-height: 64px; font-size: 18px; }

  .profo-flow--open .profo-answer-panel { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 12px 16px; padding: 22px 24px; border-radius: 28px; }
  .profo-flow--open .profo-answer-panel > strong { grid-column: 1 / -1; margin-bottom: 0; font-size: 12px; }
  .profo-flow--open .profo-record-button { grid-column: 2; height: 56px; min-height: 56px; margin: 0; }
  .profo-flow--open .profo-skip-open { justify-self: start; margin-top: 10px; font-size: 15px; }

  .profo-flow--result { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); grid-template-rows: 84px auto minmax(0,1fr) auto; grid-template-areas: "result-head result-title" "result-type result-list" "result-traits result-list" "result-actions result-actions"; min-height: 600px; }
  .profo-flow--result > .profo-screen-header { grid-area: result-head; grid-column: 1; }
  .profo-flow--result .profo-flow-content { display: contents; }
  .profo-flow--result .profo-flow-content > .profo-gleb-row,
  .profo-flow--result .profo-flow-content > .profo-card:not(.profo-desktop-result-traits) { display: none; }
  .profo-flow--result .profo-result-right-scroll { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
  .profo-desktop-result-type { position: relative; grid-area: result-type; display: block; min-height: 186px; overflow: hidden; padding: 22px 24px 24px; border-radius: 28px; background: #181717; color: #fff; }
  .profo-desktop-result-avatar { position: relative; flex: 0 0 40px; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: #34312E; }
  .profo-desktop-result-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .profo-desktop-result-copy { position: relative; z-index: 1; display: grid; max-width: calc(100% - 140px); gap: 8px; }
  .profo-desktop-result-label { display: flex; align-items: center; gap: 10px; }
  .profo-desktop-result-label > span { color: #b1b1b1; font-size: 12px; font-weight: 600; letter-spacing: .14em; line-height: 1.25; text-transform: uppercase; }
  .profo-desktop-result-type strong { color: var(--profo-yellow); font: 800 40px/1.08 var(--font-profo-unbounded),sans-serif; letter-spacing: -.02em; text-transform: uppercase; }
  .profo-desktop-result-copy > span { color: #fff; font-size: 16px; line-height: 1.45; }
  .profo-desktop-result-label > .profo-sound-button { margin-left: auto; flex-shrink: 0; }
  .profo-desktop-result-traits { grid-area: result-traits; display: grid; gap: 12px; align-self: stretch; align-content: start; min-height: 0; padding: 24px; }
  .profo-desktop-result-traits > strong { font-size: 18px; }
  .profo-desktop-result-traits .profo-trait-bars { gap: 14px; }
  .profo-desktop-result-traits .profo-trait-row { grid-template-columns: 135px minmax(0,1fr) 36px; font-size: 14px; }
  .profo-desktop-result-traits .profo-trait-track { height: 10px; }
  .profo-flow--result .profo-section-title { grid-area: auto; align-self: start; margin: 0; font-size: 22px; }
  .profo-flow--result .profo-flat-note { grid-column: auto; }
  .profo-flow--result .profo-specialty-list { grid-area: auto; align-self: stretch; gap: 12px; }
  .profo-flow--result .profo-specialty-card { min-height: 88px; padding: 17px 22px; border-radius: 22px; }
  .profo-flow--result .profo-specialty-card.is-featured { min-height: 170px; padding: 20px 22px; }
  .profo-flow--result .profo-specialty-copy strong { font-size: 19px; }
  .profo-flow--result .profo-specialty-professions { font-size: 14px; }
  .profo-flow--result .profo-specialty-card > .profo-specialty-explanation { padding: 12px 14px; border-radius: 14px; background: var(--profo-soft); font-size: 14px; }
  .profo-flow--result > .profo-sticky-actions { grid-area: result-actions; display: grid; grid-template-columns: 3fr 2fr; gap: 16px; }
  .profo-flow--result .profo-sticky-actions .profo-primary-button { min-height: 64px; font-size: 18px; }
  .profo-flow--result .profo-sticky-actions .profo-text-link { min-height: 64px; margin: 0; border: 1px solid var(--profo-border); border-radius: 18px; background: #fff; font-size: 17px; text-decoration: none; }
  .profo-flow--result .profo-result-secondary-actions { grid-column: 2; }
  .profo-flow--result .profo-restart-trigger--result { min-height: 32px; }

  .profo-flow--compare .profo-flow-content,
  .profo-flow--day .profo-flow-content { align-self: start; }
  .profo-flow--compare .profo-vs-card { min-height: 210px; padding: 24px; }
  .profo-flow--compare .profo-vs-side em { font-size: 44px; }
  .profo-flow--compare .profo-vs-side strong { font-size: 18px; }
  .profo-flow--day .profo-video-poster { height: 350px; }
  .profo-flow--day .profo-chip-row { gap: 10px; }
  .profo-flow--day .profo-chip { min-height: 44px; }

  .profo-parent-flow { display: grid; grid-template-columns: clamp(520px, 40%, 640px) minmax(0,1fr); grid-template-rows: auto auto minmax(0,1fr); gap: 14px clamp(24px, 3vw, 48px); height: clamp(600px, calc(100dvh - var(--profo-header-space, 172px) - 32px), 900px); min-height: 600px; max-height: 900px; padding-right: 0; }
  .profo-parent-flow .profo-parent-back { display: none; }
  .profo-parent-flow .profo-flow-content { display: contents; }
  .profo-parent-flow .profo-parent-head { grid-column: 1; grid-row: 1; min-height: 250px; padding: 28px; border-radius: 32px; }
  .profo-parent-flow .profo-parent-head h2 { margin: 12px 0 8px; font-size: 30px; line-height: 1.1; }
  .profo-parent-flow .profo-dark-brand-ten { top: 74px; }
  .profo-parent-flow .profo-dark-brand-laurel { top: 66px; }
  .profo-parent-flow .profo-parent-head p { font-size: 16px; line-height: 1.5; }
  .profo-parent-flow .profo-parent-head .profo-parent-label { padding: 6px 12px; background: var(--profo-yellow); color: var(--profo-text); font-size: 13px; }
  .profo-parent-flow .profo-parent-desktop-qr { grid-column: 1; grid-row: 2; display: flex; align-items: center; gap: 18px; min-height: 132px; padding: 18px 22px; border: 1px solid var(--profo-border); border-radius: 24px; background: #fff; }
  .profo-parent-desktop-qr .profo-qr-tile { flex: 0 0 80px; width: 80px; height: 80px; }
  .profo-parent-desktop-qr .profo-qr-tile img { width: 64px; height: 64px; }
  .profo-parent-desktop-qr > div { display: grid; gap: 4px; font-size: 14px; line-height: 1.4; }
  .profo-parent-desktop-qr strong { font-size: 16px; }
  .profo-parent-desktop-qr span { color: var(--profo-muted); }
  .profo-parent-flow .profo-plan-column { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; min-height: 0; height: 100%; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; gap: 10px; }
  .profo-parent-flow .profo-plan-step { padding: 10px 18px; border-radius: 22px; }
  .profo-parent-flow .profo-plan-step.is-open { padding: 10px 18px 12px; }
  .profo-parent-flow .profo-plan-step-toggle { grid-template-columns: 76px minmax(0,1fr) auto 34px; gap: 10px; min-height: 48px; }
  .profo-parent-flow .profo-plan-step-number { font-size: 34px; }
  .profo-parent-flow .profo-plan-step-title > span { font-size: 12px; }
  .profo-parent-flow .profo-plan-step-title strong { font-size: 18px; }
  .profo-parent-flow .profo-plan-status { font-size: 12px; }
  .profo-parent-flow .profo-plan-step-content { padding-left: 96px; }
  .profo-parent-flow .profo-plan-step-content p { font-size: 15px; }
  .profo-parent-flow .profo-plan-action { font-size: 13px; }
  .profo-parent-flow .profo-flow-content > .profo-card:not(.profo-plan-column),
  .profo-parent-flow .profo-parent-contact,
  .profo-parent-flow .profo-print-only-contact { display: none; }
  .profo-parent-flow > .profo-sticky-actions { position: static; z-index: auto; grid-column: 1; grid-row: 3; align-self: end; display: grid; grid-template-columns: 320px minmax(0,1fr); align-items: center; gap: 10px 24px; margin: 0; padding: 0; background: none; }
  .profo-parent-flow .profo-parent-actions { display: block; margin: 0; }
  .profo-parent-flow .profo-parent-actions > .profo-qr-tile { display: none; }
  .profo-parent-flow .profo-parent-actions .profo-primary-button { min-height: 64px; font-size: 18px; }
  .profo-parent-flow > .profo-sticky-actions > .profo-error { grid-column: 1 / -1; }
  .profo-parent-flow > .profo-sticky-actions > .profo-restart-plan-control { grid-column: 1 / -1; }

}
@media (prefers-reduced-motion: reduce) {
  .profo-primary-button, .profo-chip, .profo-round-button, .profo-progress-track span { transition: none; }
}


/* 22.1: one speech card, pointing towards Gleb. */
.profo-question-bubble { position:relative; padding-right:64px; }
.profo-speech-meta::before, .profo-question-meta::before { content:none !important; }
@media (min-width:1024px) {
 .profo-desktop-thought, .profo-desktop-thought--welcome { top:18px; left:20px; right:20px; padding:14px 62px 16px 18px; border:0; border-radius:22px; background:#fff; box-shadow:0 14px 34px rgba(0,0,0,.28); }
 .profo-desktop-thought::after { content:""; position:absolute; left:calc(48% - 9px); bottom:-8px; width:18px; height:18px; background:#fff; transform:rotate(45deg); border-radius:0 0 4px 0; }
 .profo-desktop-thought p { margin-top:5px; font-size:19px; font-weight:600; line-height:1.35; }
 .profo-desktop-thought .profo-speech-meta { font-size:12px; }
 .profo-desktop-stage .profo-stage-model-frame { top:110px; }
}

/* 23.1: progress stays at the top; only the answer area is centred. */
@media (min-width:1024px) {
 .profo-flow--desktop { min-height:0; height:min(900px, calc(100dvh - var(--profo-header-space,172px) - 32px)); }
 .profo-flow--dream, .profo-flow--subjects_like, .profo-flow--subjects_dislike, .profo-flow--open { min-height:0; grid-template-rows:auto minmax(0,1fr) auto; }
 .profo-flow--desktop > .profo-progress-header { position:relative; align-self:start; grid-row:1; }
 .profo-flow--desktop .profo-flow-content { scrollbar-gutter:auto; }
 .profo-flow--subjects_like .profo-flow-content, .profo-flow--subjects_dislike .profo-flow-content, .profo-flow--open .profo-flow-content { justify-content:center; }
}

/* K2 / 23.2: answered summaries and one active card. */
.profo-chip.is-selected > span:first-child { display:inline-grid; place-items:center; flex:0 0 22px; width:22px; height:22px; border-radius:50%; background:#181717; color:#f3d45e; font-size:16px; font-weight:800; line-height:1; }
.profo-dream-answer-content .profo-chip { min-height:52px; border-radius:999px; }
.profo-extra-input { position:relative; display:flex; height:60px; border:1px solid #dcdbdf; border-radius:16px; background:#fff; padding:7px; }
.profo-extra-input .profo-field { border:0; min-width:0; flex:1; padding:0 12px; height:44px; }
.profo-extra-input .profo-round-button { width:44px; height:44px; border-radius:12px; background:#f3d45e; border:0; flex-shrink:0; }
@media (min-width:1024px) {
 .profo-flow--desktop .profo-flow-content--dream { justify-content:center; gap:16px; }
 .profo-flow--desktop .profo-dream-answer-content { padding-top:0; }
 .profo-flow--dream > .profo-sticky-actions { display:flex; gap:16px; align-items:center; }
 .profo-flow--dream > .profo-sticky-actions > .profo-primary-button { flex:1; }
 .profo-flow--dream > .profo-sticky-actions > .profo-caption { width:180px; margin:0; text-align:left; }
}

/* K3: all answer choices, including skip, form one block. */
.profo-skip-open { position:static !important; align-self:center; justify-self:center; margin:18px auto 0; min-height:42px; padding:0 20px; display:flex; align-items:center; justify-content:center; gap:8px; border-radius:999px; background:#eae9ed; color:#5f5f5f; text-decoration:none; }
.profo-skip-open::before { content:"↪"; font-size:18px; }

/* K4: compact four-column subject grid. */
.profo-subject-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.profo-subject-title h2 { font-size:26px; font-weight:600; margin:0; }
.profo-subject-title > span { flex-shrink:0; padding:8px 14px; border-radius:999px; background:#eae9ed; font-size:14px; }
@media (min-width:1024px) {
 .profo-flow--desktop .profo-subject-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
 .profo-flow--desktop .profo-subject-grid .profo-chip { min-height:60px; padding:8px; border-radius:16px; font-size:15px; white-space:normal; justify-content:center; }
}

/* K5 / 23.4: one text field and equal input actions. */
.profo-answer-panel { display:flex; flex-direction:column; gap:20px; padding:28px; border-radius:28px; }
.profo-answer-panel > strong { font-size:24px; }
.profo-answer-panel > .profo-field { width:100%; height:160px; min-height:160px; resize:vertical; border-radius:18px; background:#fff; color:#181717; font-size:17px; padding:18px; }
.profo-open-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.profo-open-actions > button { display:flex; justify-content:center; align-items:center; gap:10px; width:100%; min-height:56px; margin:0; padding:12px; border:0; border-radius:16px; font:inherit; font-weight:600; cursor:pointer; }
.profo-open-actions > .profo-record-button { background:#f3d45e; color:#181717; }
.profo-send-text { background:#fff; color:#181717; }
.profo-send-text:disabled { opacity:.45; cursor:default; }

/* K6: results use the full left column and bottom-aligned right actions. */
.profo-match-badge { position:relative; width:70px; height:70px; flex:0 0 70px; border-radius:50%; display:grid; place-items:center; background:conic-gradient(#181717 var(--match),#eae9ed 0); }
.profo-match-badge::before { content:""; position:absolute; inset:6px; border-radius:50%; background:#fff; }
.profo-match-badge > b { position:relative; font-size:18px; }
@media (min-width:1024px) {
 .profo-flow--result { min-height:0; grid-template-rows:64px auto minmax(0,1fr) auto; grid-template-areas:"result-head result-title" "result-type result-list" "result-traits result-list" "result-traits result-actions"; }
 .profo-flow--result > .profo-sticky-actions { grid-column:2; grid-row:4; display:grid; grid-template-columns:minmax(0,1fr) 160px; gap:12px; }
 .profo-flow--result .profo-result-secondary-actions { grid-column:1 / -1; justify-content:center; }
 .profo-flow--result .profo-result-secondary-actions .profo-restart-trigger { min-height:28px; }
 .profo-flow--result .profo-sticky-actions .profo-primary-button { font-size:16px; }
 .profo-flow--result .profo-specialty-card, .profo-flow--result .profo-specialty-card.is-featured { min-height:0; padding:18px 20px; }
 .profo-flow--result .profo-specialty-card > .profo-specialty-explanation { background:none; padding:0; margin:8px 0 0; }
 .profo-flow--result .profo-specialty-copy strong { font-size:19px; }
 .profo-flow--result .profo-desktop-result-copy { max-width:100%; }
 .profo-flow--result .profo-desktop-result-traits { align-content:space-between; }
 .profo-flow--result .profo-desktop-result-traits .profo-trait-bars { flex:1; gap:24px; }
}

/* K8 / 23.5: countdown and a single actions card. */
.profo-admission-countdown { position:relative; margin-top:24px; padding-top:22px; border-top:1px solid #ffffff29; }
.profo-countdown-copy { display:flex; gap:16px; align-items:center; justify-content:space-between; }
.profo-countdown-copy > div { display:flex; gap:14px; align-items:center; }
.profo-countdown-copy strong { color:#f3d45e; font:700 56px/1 var(--font-profo-unbounded),sans-serif; }
.profo-countdown-copy span { font-size:18px; }
.profo-countdown-copy small { display:block; color:#b1b1b1; font-size:13px; max-width:160px; margin-top:4px; }
.profo-parent-head .profo-countdown-copy p { font-size:13px; color:#b1b1b1; margin:0; }
.profo-countdown-copy b { color:#fff; }
.profo-countdown-months { display:flex; gap:5px; margin-top:22px; }
.profo-countdown-months > span { flex:1; text-align:center; color:#a8a8ad; }
.profo-countdown-months i { display:block; height:26px; border-radius:6px; background:#ffffff21; margin-bottom:6px; }
.profo-countdown-months .is-highlight i { background:#f3d45e; }
.profo-countdown-months small { font-size:11px; }
.profo-parent-back { display:flex; align-items:center; gap:16px; }
.profo-parent-back .profo-round-button { width:auto; border-radius:999px; padding:0 16px; gap:8px; font-size:14px; }
.profo-parent-back > span { font-size:22px; font-weight:600; }
.profo-parent-flow > .profo-sticky-actions { padding:18px; border:1px solid #ebeaed; border-radius:24px; background:#fff; display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.profo-parent-flow .profo-parent-actions { grid-column:1 / -1; display:block; }
.profo-parent-flow .profo-parent-actions > .profo-qr-tile { display:none; }
.profo-parent-flow .profo-parent-actions .profo-primary-button { width:100%; min-height:60px; }
.profo-parent-flow .profo-restart-trigger--plan { width:100%; min-height:52px; padding:8px; border:1px solid #ebeaed; border-radius:14px; background:#fff; font-size:14px; text-decoration:none; justify-content:center; }
.profo-parent-flow .profo-restart-plan-control { margin:0; }
@media (min-width:1024px) {
 .profo-parent-flow { min-height:0; height:min(900px,calc(100dvh - var(--profo-header-space,172px) - 32px)); grid-template-rows:auto auto auto minmax(0,1fr); }
 .profo-parent-flow .profo-parent-back { display:flex; grid-column:1; grid-row:1; }
 .profo-parent-flow .profo-parent-head { grid-row:2; padding:28px; }
 .profo-parent-flow .profo-parent-desktop-qr { grid-row:3; }
 .profo-parent-flow > .profo-sticky-actions { grid-row:4; grid-template-columns:1fr 1fr; padding:18px; gap:12px; background:#fff; }
 .profo-parent-flow .profo-plan-column { grid-row:1 / -1; }
 .profo-parent-flow .profo-plan-step-toggle { min-height:64px; }
}

/* K9 / 23.6: video takes the space left above qualities and related videos. */
.profo-video-title { position:absolute; bottom:18px; left:18px; right:18px; text-align:center; }
.profo-other-videos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.profo-related-video { display:flex; gap:10px; align-items:center; padding:8px; min-width:0; background:#fff; color:#181717; border:1px solid #ebeaed; border-radius:16px; text-align:left; cursor:pointer; }
.profo-related-preview { flex:0 0 96px; height:60px; border-radius:10px; background:#e3e1df center/cover; color:#5f5f5f; display:grid; place-items:center; position:relative; }
.profo-related-preview small { position:absolute; bottom:2px; font-size:9px; }
.profo-related-video > span:last-child { display:grid; min-width:0; gap:4px; }
.profo-related-video strong { font-size:13px; line-height:1.2; }
.profo-related-video small { font-size:11px; color:#5f5f5f; }
.profo-day-skills .profo-chip:disabled { opacity:1; }
@media (min-width:1024px) {
 .profo-flow--day { min-height:0; }
 .profo-flow--day .profo-flow-content { display:flex; flex-direction:column; height:100%; gap:16px; align-self:stretch; overflow:visible; }
 .profo-flow--day .profo-video-poster { flex:1 1 auto; height:auto; min-height:100px; }
 .profo-flow--day .profo-section-title { margin:0; font-size:17px; }
 .profo-flow--day .profo-chip { padding:8px 16px; }
 .profo-flow--day .profo-other-videos { flex-shrink:0; }
}
@media (min-width:1024px) and (max-width:1200px) {
 .profo-related-video { flex-direction:column; align-items:stretch; }
 .profo-related-preview { flex-basis:auto; width:96px; }
}

/* 22.4: contained mobile screens, with actions outside the scroll area. */
.profo-page { background:#f6f6f6; }
.profo-primary-button:disabled { background:#ecebef; color:#9a99a0; opacity:1; }
.profo-primary-button:disabled .profo-primary-icon { display:none; }
@media (max-width:1023px) {
 .profo-page { min-height:0; margin-bottom:-48px; }
 .profo-flow { height:calc(100dvh - var(--profo-header-space,132px) - 16px); min-height:0; padding-bottom:0; overflow:hidden; }
 .profo-flow > .profo-flow-content { min-height:0; overflow:auto; padding:8px 0 12px; }
 .profo-flow > .profo-sticky-actions { position:static; flex-shrink:0; padding:10px 0; }
 .profo-flow > .profo-progress-header, .profo-flow > .profo-screen-header { flex-shrink:0; }
 .profo-question-bubble { padding-right:62px; border-radius:22px; margin-bottom:12px; }
 .profo-question-bubble::after { content:""; position:absolute; left:24px; bottom:-7px; width:16px; height:16px; background:#fff; transform:rotate(45deg); }
 .profo-question-bubble .profo-bubble-sound-control { display:none; }
 .profo-flow--dream .profo-chip { min-height:44px; padding:8px 12px; }
 .profo-flow--dream .profo-flow-content { gap:12px; }
 .profo-subject-title h2 { font-size:20px; }
 .profo-subject-grid { gap:6px; }
 .profo-subject-grid .profo-chip { min-height:38px; font-size:13px; padding:6px 8px; }
 .profo-answer-panel { padding:18px; gap:14px; }
 .profo-open-actions > button { font-size:12px; padding:8px; }
 .profo-parent-flow .profo-parent-head { margin-bottom:14px; }
 .profo-parent-flow .profo-parent-desktop-qr { display:none; }
 .profo-parent-flow > .profo-sticky-actions { padding:12px; }
 .profo-parent-back { flex-wrap:wrap; }
 .profo-parent-flow .profo-parent-brand { padding-right:0; }
 .profo-other-videos { gap:6px; }
 .profo-related-video { flex-direction:column; padding:6px; align-items:stretch; }
 .profo-related-preview { flex-basis:auto; width:100%; }
}
/* Override the earlier two-column answer panel. */
@media (min-width:1024px) {
 .profo-flow--open .profo-answer-panel { display:flex; flex-direction:column; padding:28px; gap:20px; }
 .profo-flow--open .profo-answer-panel > strong { font-size:24px; text-transform:none; letter-spacing:0; color:#fff; margin:0; }
 .profo-flow--open .profo-skip-open { align-self:center; margin:18px auto 0; }
}

/* Final alignment shared by the K1–K5 references. */
@media (min-width:1024px) {
 .profo-flow--subjects_like .profo-flow-content, .profo-flow--subjects_dislike .profo-flow-content, .profo-flow--open .profo-flow-content { display:flex; flex-direction:column; justify-content:center; }
 .profo-flow--welcome > .profo-sticky-actions { display:flex; flex-direction:column; align-items:stretch; gap:12px; }
 .profo-flow--welcome > .profo-sticky-actions .profo-primary-button { width:100%; }
 .profo-flow--welcome > .profo-sticky-actions .profo-text-link { justify-content:center; }
 .profo-flow--desktop .profo-extra-input { width:100%; }
 .profo-flow--desktop .profo-extra-input .profo-field { max-width:none; }
}
/* Keep grid placement explicit so older action rules cannot create extra rows. */
.profo-parent-back .profo-round-button { display:flex; flex-direction:row; white-space:nowrap; }
.profo-parent-flow > .profo-sticky-actions > .profo-restart-plan-control { grid-column:1 / -1; grid-row:2; }
.profo-parent-flow > .profo-sticky-actions > .profo-parent-actions { grid-column:1 / -1; grid-row:1; }
@media (min-width:1024px) {
 .profo-flow--open .profo-open-actions > button { grid-column:auto; }
 .profo-flow--result .profo-desktop-result-traits { grid-template-rows:auto minmax(0,1fr); align-content:stretch; }
 .profo-flow--result .profo-desktop-result-traits .profo-trait-bars { display:flex; flex-direction:column; justify-content:space-around; gap:12px; }
 .profo-parent-flow { grid-template-rows:44px minmax(0,1fr) 112px 160px; gap:12px clamp(24px,3vw,48px); }
 .profo-parent-flow .profo-parent-head { min-height:0; padding:20px 24px; }
 .profo-parent-flow .profo-parent-head h2 { font-size:28px; margin:8px 0; }
 .profo-parent-flow .profo-parent-head > p { font-size:15px; margin:8px 0; }
 .profo-parent-flow .profo-parent-brand { padding-right:0; }
 .profo-parent-flow .profo-parent-desktop-qr { min-height:0; padding:14px 18px; gap:14px; }
 .profo-parent-flow .profo-parent-desktop-qr > div > span:last-child { font-size:12px; }
 .profo-parent-flow .profo-plan-column { display:flex; flex-direction:column; gap:20px; }
 .profo-parent-flow .profo-plan-column > h2 { margin:0; min-height:44px; display:flex; align-items:center; font-size:24px; }
 .profo-parent-flow .profo-admission-countdown { margin-top:16px; padding-top:16px; }
 .profo-parent-flow .profo-countdown-months { margin-top:16px; }
 .profo-parent-flow > .profo-sticky-actions { align-self:stretch; padding:16px; }
}
@media (max-width:1023px) {
 .profo-page { padding-bottom:0; }
}
@media (min-width:1024px) and (max-height:880px) {
 .profo-parent-flow .profo-parent-head { padding:16px 20px; }
 .profo-parent-flow .profo-parent-head > p { font-size:14px; line-height:1.35; }
 .profo-parent-flow .profo-admission-countdown { margin-top:10px; padding-top:10px; }
 .profo-parent-flow .profo-countdown-months { margin-top:10px; }
 .profo-parent-flow .profo-countdown-months i { height:20px; }
}

.profo-screen-header { grid-template-columns:auto minmax(0,1fr) 0; }
.profo-screen-header .profo-back-button { display:flex; flex-direction:row; gap:8px; width:auto; min-width:96px; padding:0 14px; border-radius:999px; font-size:14px; font-weight:600; }
.profo-chip.is-selected > span:first-child > svg { display:block; }

.profo-specialty-card .profo-match-badge { background:conic-gradient(#181717 var(--match),#eae9ed 0); }
.profo-specialty-card.is-featured .profo-match-badge { background:conic-gradient(#181717 var(--match),#eae9ed 0); }
@media (max-width:480px) {
 .profo-score-pills { gap: 6px 8px; }
 .profo-score-pill { padding: 6px 11px; font-size: 13px; }
 .profo-score-pill-value { font-size: 15px; }
 .profo-score-year { max-width: 100%; white-space: normal; }
}
@media (max-width:1023px) {
 .profo-speech-card { padding-right:64px; }
 .profo-speech-card::before { content:""; position:absolute; left:48%; top:-8px; width:18px; height:18px; background:#fff; transform:rotate(45deg); }
}
@media (max-width:1023px) {
 .profo-flow--open .profo-answer-panel { padding:16px; gap:12px; }
 .profo-flow--open .profo-answer-panel > strong { font-size:18px; line-height:1.25; text-transform:none; letter-spacing:0; margin:0; color:#fff; }
 .profo-flow--open .profo-answer-panel > .profo-field { height:120px; min-height:120px; }
 .profo-flow--open .profo-skip-open { margin-top:12px; }
}

/* A profiled, transparent Gleb remains visible during loading and WebGL fallback. */
.profo-stage-model-frame > picture { position:absolute; inset:0; }
.profo-stage-poster--jubilee { inset:0; width:100%; height:100%; max-width:100%; transform:none; object-fit:contain; filter:none; }
.profo-parent-back .profo-round-button { display:grid; place-items:center; flex:0 0 48px; width:48px; min-width:48px; height:48px; padding:0; border-radius:50%; gap:0; font-size:0; }
.profo-subject-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; margin:24px 0 0; padding-top:16px; border-top:1px solid var(--profo-border); }
.profo-subject-actions .profo-primary-button { width:220px; min-height:56px; border-radius:16px; }
.profo-subject-actions .profo-text-link { display:flex; align-items:center; justify-content:center; min-height:48px; padding:0 4px; border-radius:10px; background:none; color:var(--profo-muted); text-decoration:none; }
.profo-subject-actions .profo-text-link:hover { color:var(--profo-text); text-decoration:underline; text-underline-offset:3px; }
@media (max-width:1023px) {
 .profo-subject-actions { gap:8px; margin-top:20px; padding-top:12px; }
 .profo-subject-actions .profo-primary-button { flex:0 0 46%; width:auto; gap:8px; padding-left:12px; font-size:15px; }
 .profo-subject-actions .profo-primary-icon { flex-basis:36px; width:36px; height:36px; }
 .profo-subject-actions .profo-text-link { padding:0; font-size:13px; }
}
.profo-dream-stepper-card { width:100%; min-width:0; padding:28px; border:1px solid #e4e2e6; border-radius:24px; background:#fff; }
.profo-dream-steps { position:relative; display:flex; flex-direction:column; gap:20px; }
.profo-dream-step { position:relative; display:grid; grid-template-columns:32px minmax(0,1fr); column-gap:18px; align-items:start; min-width:0; }
.profo-dream-step:not(:last-child)::after { content:""; position:absolute; z-index:0; left:15px; top:32px; bottom:-20px; width:2px; background:#e4e2e6; }
.profo-dream-step-marker { position:relative; z-index:1; display:grid; place-items:center; width:32px; height:32px; border:2px solid #d9d8de; border-radius:50%; background:#fff; color:#94939b; font-size:15px; font-weight:700; line-height:1; }
.profo-dream-step.is-active .profo-dream-step-marker { border-color:#f3d45e; background:#f3d45e; color:#181717; }
.profo-dream-step.is-done .profo-dream-step-marker { border-color:#181717; background:#181717; color:#f3d45e; }
.profo-dream-step-content { min-width:0; padding-top:1px; }
.profo-dream-step-title { margin:0; color:#181717; font-size:24px; font-weight:600; line-height:1.2; }
.profo-dream-step-title + .profo-grade-row { margin-top:24px; }
.profo-dream-step-subtext { margin:8px 0 12px; color:#77767e; font-size:15px; line-height:1.35; }
.profo-dream-step-completed-prompt, .profo-dream-step-future-prompt { margin:1px 0 8px; color:#77767e; font-size:18px; font-weight:500; line-height:1.3; }
.profo-dream-step-future-prompt { margin:4px 0; color:#9998a0; }
.profo-dream-step-completed-answer { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.profo-dream-answer-pill { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:40px; padding:0 16px; border-radius:999px; background:#f3d45e; color:#181717; font-size:16px; font-weight:700; }
.profo-dream-answer-check { display:grid; place-items:center; flex:0 0 22px; width:22px; height:22px; border-radius:50%; background:#181717; color:#f3d45e; }
.profo-dream-edit { min-height:40px; padding:0; border:0; background:none; color:#5f5f5f; font:inherit; font-size:14px; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.profo-dream-choices { display:flex; flex-wrap:wrap; align-items:center; gap:8px; min-width:0; }
.profo-dream-choices .profo-chip { min-height:48px; padding:0 18px; border-radius:999px; font-size:16px; }
.profo-dream-choices .profo-choice-button { flex:0 0 96px; width:96px; min-height:48px; border-radius:999px; font-size:16px; }
.profo-dream-more-choice { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 20px; border:1.5px dashed #c9c8ce; border-radius:999px; background:#fff; color:#5f5f5f; font:inherit; font-size:16px; cursor:pointer; }
.profo-dream-answer-content { display:flex; flex-direction:column; gap:10px; margin-top:12px; padding:0; }
.profo-extra-input.profo-dream-custom-input { height:56px; margin-top:4px; padding:7px; border-radius:16px; }
.profo-extra-input.profo-dream-custom-input .profo-field { height:40px; padding:0 12px; border:0; background:transparent; font-size:15px; }
.profo-extra-input.profo-dream-custom-input .profo-round-button { flex:0 0 40px; width:40px; height:40px; border:0; border-radius:12px; background:#f3d45e; color:#181717; }
.profo-dream-start { margin:20px 0 0 50px; }
.profo-dream-start .profo-dream-start-button { width:100%; min-height:60px; font-size:18px; }
.profo-dream-start .profo-dream-start-button:disabled .profo-primary-icon { display:grid; background:#dfdee3; color:#fff; }
@media (min-width:1024px) and (max-height:760px) {
 .profo-flow--desktop .profo-subject-grid .profo-chip { min-height:56px; }
 .profo-flow--desktop .profo-subject-actions { gap:8px; margin-top:20px; }
 .profo-flow--desktop .profo-subject-actions .profo-primary-button { min-height:54px; }
 .profo-flow--desktop .profo-subject-actions .profo-text-link { min-height:38px; }
}
@media (max-width:1023px) {
 .profo-dream-stepper-card { padding:20px; }
 .profo-dream-steps { gap:16px; }
 .profo-dream-step { column-gap:12px; }
 .profo-dream-step:not(:last-child)::after { bottom:-16px; }
 .profo-dream-step-title { font-size:20px; }
 .profo-dream-step-completed-prompt, .profo-dream-step-future-prompt { font-size:16px; }
 .profo-dream-choices .profo-chip, .profo-dream-more-choice { min-height:44px; padding-left:12px; padding-right:12px; font-size:14px; }
 .profo-dream-choices .profo-choice-button { flex-basis:64px; width:64px; min-height:44px; }
 .profo-dream-start { margin:18px 0 0 44px; }
 .profo-dream-start .profo-dream-start-button { min-height:56px; font-size:16px; }
}
@media (max-width:1023px) {
 .profo-shell.profo-flow.profo-flow--dream .profo-flow-content--clear-sticky.profo-flow-content--dream { padding-bottom:12px; }
 .profo-flow--dream .profo-question-bubble { align-content:center; gap:5px; margin:0; padding:10px 11px; border-radius:18px; }
 .profo-flow--dream .profo-question-bubble::after { left:-7px; top:calc(50% - 8px); bottom:auto; }
 .profo-flow--dream .profo-question-bubble > p { font-size:13px; line-height:1.25; }
 .profo-flow--dream .profo-question-bubble > small { display:none; }
 .profo-flow--dream .profo-dream-stepper-card { padding:14px; }
 .profo-flow--dream .profo-dream-steps { gap:8px; }
 .profo-flow--dream .profo-dream-step { column-gap:8px; }
 .profo-flow--dream .profo-dream-step:not(:last-child)::after { bottom:-8px; }
 .profo-flow--dream .profo-dream-step-title { font-size:18px; }
 .profo-flow--dream .profo-dream-step-subtext { margin:4px 0 8px; font-size:13px; line-height:1.25; }
 .profo-flow--dream .profo-dream-step-completed-prompt, .profo-flow--dream .profo-dream-step-future-prompt { margin:0 0 4px; font-size:15px; }
 .profo-flow--dream .profo-dream-step-completed-answer { gap:8px; }
 .profo-flow--dream .profo-dream-answer-pill { gap:6px; min-height:34px; padding:0 11px; font-size:14px; }
 .profo-flow--dream .profo-dream-answer-check { flex-basis:18px; width:18px; height:18px; }
 .profo-flow--dream .profo-dream-edit { min-height:30px; font-size:12px; }
 .profo-flow--dream .profo-dream-choices { gap:6px; }
 .profo-flow--dream .profo-dream-choices .profo-chip, .profo-flow--dream .profo-dream-more-choice { min-height:36px; padding:0 9px; font-size:13px; }
 .profo-flow--dream .profo-dream-start { margin:12px 0 0 40px; }
 .profo-flow--dream .profo-dream-start .profo-dream-start-button { min-height:48px; font-size:15px; }
}

/* Keep replay and voice controls together on the live Gleb scene. */
.profo-stage-controls { position:absolute; z-index:7; right:16px; bottom:16px; display:flex; flex-direction:column; align-items:center; gap:10px; }
.profo-stage-controls .profo-stage-sound-control { position:static; z-index:auto; }
.profo-stage-repeat-control { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; padding:0; border:1px solid rgba(255,255,255,.22); border-radius:50%; background:rgba(20,18,14,.55); color:#fff; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); cursor:pointer; }
.profo-stage-repeat-control:hover { background:rgba(20,18,14,.72); }
.profo-stage-repeat-control:active { transform:scale(.96); }

/* Keep one live mobile Gleb stage through both test-start buttons. */
@media (max-width:1023px) {
 .profo-mobile-entry-screen { display:flex; flex:1; flex-direction:column; min-height:0; }
 .profo-mobile-entry-screen--test { display:contents; }
 .profo-mobile-entry-screen--test > .profo-progress-header { flex-shrink:0; }
 .profo-flow > .profo-mobile-entry-screen--test > .profo-mobile-entry-scroll { flex:1; min-height:0; overflow:auto; padding:8px 0 12px; }
 .profo-mobile-entry-scroll { flex:1; min-height:0; overflow:auto; padding:8px 0 12px; }
 .profo-mobile-entry-screen .profo-welcome-mobile-subtitle { margin:0; color:var(--profo-text-2); font-size:14px; line-height:1.45; }
 .profo-mobile-entry-visual { display:flex; flex-direction:column; min-width:0; }
 .profo-mobile-entry-visual--welcome .profo-mobile-entry-brand { display:block; }
 .profo-mobile-entry-visual--dream { display:grid; grid-template-columns:100px minmax(0,1fr); align-items:center; gap:8px; width:100%; flex:0 0 auto; }
 .profo-mobile-entry-visual--dream .profo-mobile-entry-brand { display:none; }
 .profo-mobile-entry-message { min-width:0; }
 .profo-mobile-entry-visual--dream .profo-question-bubble { align-content:center; gap:5px; margin:0; padding:10px 11px; border-radius:18px; }
 .profo-mobile-entry-visual--dream .profo-question-bubble::after { left:-7px; top:calc(50% - 8px); bottom:auto; }
 .profo-mobile-entry-visual--dream .profo-question-bubble > p { font-size:13px; line-height:1.25; }
 .profo-mobile-entry-visual--dream .profo-question-bubble > small { display:none; }
 .profo-mobile-entry-scroll.profo-flow-content--dream { gap:12px; padding-bottom:12px; }
}
html:has(.profo-page), body:has(.profo-page), body:has(.profo-page) main { background:#f6f6f6; }
.profo-video-poster.profo-video-player { display:flex; flex-direction:column; background:#141414; color:#fff; }
.profo-video-surface { position:relative; flex:1; min-height:0; width:100%; background:#000; }
.profo-video-player .profo-video-surface video { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.profo-player-center-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:56px; height:56px; }
.profo-player-controls { flex-shrink:0; width:100%; padding:8px 12px; background:#181717; transition:opacity .25s ease, visibility .25s ease; }
.profo-player-controls.is-hidden { opacity:0; visibility:hidden; pointer-events:none; }
.profo-video-player.is-controls-hidden { cursor:none; }
.profo-player-center-play { transition:opacity .25s ease, visibility .25s ease; }
.profo-video-player.is-controls-hidden .profo-player-center-play { opacity:0; visibility:hidden; pointer-events:none; }
.profo-player-controls input { display:block; margin:0; height:16px; accent-color:#f3d45e; cursor:pointer; }
.profo-player-seek { width:100%; }
.profo-player-controls-row { display:flex; align-items:center; gap:8px; margin-top:4px; }
.profo-player-button { display:grid; place-items:center; flex:0 0 36px; width:36px; height:36px; padding:0; border:0; border-radius:10px; background:transparent; color:#fff; cursor:pointer; }
.profo-player-button:hover { background:#ffffff20; }
.profo-player-captions-button { font-size:12px; font-weight:800; letter-spacing:.03em; }
.profo-player-captions-button.is-active { color:#f3d45e; background:#ffffff20; }
.profo-player-time { font-size:12px; line-height:1; font-variant-numeric:tabular-nums; white-space:nowrap; }
.profo-player-spacer { flex:1; }
.profo-player-volume { flex:0 0 64px; width:64px; }
.profo-player-controls :focus-visible { outline:2px solid #f3d45e; outline-offset:2px; }
.profo-player-error { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:8px; background:#181717e6; font-size:13px; text-align:center; }
.profo-player-error p { margin:0; }
.profo-player-error button { padding:6px 12px; border:0; border-radius:8px; background:#f3d45e; color:#181717; cursor:pointer; }
.profo-video-poster.profo-video-player:fullscreen { width:100vw; height:100dvh; max-height:none; border-radius:0; }
.profo-video-player:fullscreen .profo-player-controls { position:absolute; z-index:3; left:0; right:0; bottom:0; background:linear-gradient(180deg,transparent,rgba(0,0,0,.8) 45%); padding:28px 18px 14px; }
@media (min-width:1024px) and (max-height:760px) {
 .profo-flow--day .profo-flow-content { gap:8px; overflow-y:auto; }
 .profo-flow--day .profo-section-title { font-size:15px; }
 .profo-flow--day .profo-day-skills { gap:6px; }
 .profo-flow--day .profo-day-skills .profo-chip { min-height:32px; padding:4px 10px; font-size:13px; }
 .profo-flow--day .profo-related-video { gap:6px; padding:6px; }
 .profo-flow--day .profo-related-preview { flex-basis:64px; height:44px; }
 .profo-flow--day .profo-related-video strong { font-size:12px; }
 .profo-flow--day .profo-video-player { min-height:180px; }
}
@media (max-width:420px) {
 .profo-player-controls-row { gap:4px; }
 .profo-player-volume { flex-basis:48px; width:48px; }
}
@media (max-width:1023px) {
 .profo-flow--day .profo-video-player { height:auto; }
 .profo-flow--day .profo-video-surface { flex:0 0 auto; height:auto; aspect-ratio:16 / 9; }
}
.profo-page { width:100%; min-height:calc(100dvh - var(--profo-header-space,100px)); background:#f6f6f6; }
@media (max-width:1023px) {
 .profo-stage-controls { right:12px; bottom:12px; }
 .profo-stage-repeat-control { flex-basis:44px; width:44px; height:44px; }
 .profo-page { min-height:calc(100dvh - var(--profo-header-space,132px)); margin-bottom:-48px; padding-bottom:0; }
}

/* 25.1 Share dialog: desktop modal and mobile bottom sheet. */
.profo-share-overlay { position:fixed; inset:0; z-index:10050; display:grid; place-items:center; padding:24px; background:rgba(18,17,15,.55); backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); }
.profo-share-modal { --profo-border:#ebeaed; --profo-text:#181717; --profo-text-2:#3e3e3e; --profo-muted:#5f5f5f; --profo-soft:#f5f5f7; --profo-yellow:#f3d45e; position:relative; display:grid; grid-template-columns:380px minmax(0,1fr); width:min(920px,calc(100vw - 48px)); max-height:calc(100dvh - 48px); min-height:620px; overflow:hidden; border-radius:32px; background:#fff; color:#181717; box-shadow:0 28px 100px rgba(0,0,0,.3); outline:none; font-family:"Wix Madefor Display",sans-serif; }
.profo-share-preview { display:grid; place-items:center; min-height:620px; padding:24px; background:#181717 url('/proforientation/bg-jubilee-desk.jpg') center/cover no-repeat; }
.profo-share-preview-card { width:290.4px; height:516.6px; }
.profo-share-preview-card > .profo-story-card { transform:scale(.88); transform-origin:top left; box-shadow:0 12px 38px rgba(0,0,0,.32); }
.profo-share-content { display:flex; flex-direction:column; gap:24px; min-width:0; padding:34px 36px 26px; }
.profo-share-heading { position:relative; display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding-right:38px; }
.profo-share-eyebrow { display:block; margin:2px 0 8px; color:#5f5f5f; font-size:14px; }
.profo-share-heading h2 { margin:0; font-size:28px; line-height:1.15; letter-spacing:-.025em; font-weight:700; }
.profo-share-close { position:absolute; top:0; right:0; display:grid; place-items:center; width:40px; height:40px; border:0; border-radius:50%; background:#f5f5f7; color:#181717; cursor:pointer; }
.profo-share-close:hover { background:#ecebef; }
.profo-share-download { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:58px; border:0; border-radius:18px; background:#f3d45e; color:#181717; font:600 17px/1.2 "Wix Madefor Display",sans-serif; cursor:pointer; }
.profo-share-download:disabled { opacity:.68; cursor:wait; }
.profo-share-desktop-actions h3 { margin:0 0 12px; font-size:17px; font-weight:600; }
.profo-share-socials { display:flex; gap:12px; }
.profo-share-socials button { display:grid; place-items:center; width:60px; height:60px; border:1px solid #dcdbdf; border-radius:50%; background:#fff; color:#181717; cursor:pointer; }
.profo-share-socials button:hover { background:#f5f5f7; }
.profo-share-vk { font:800 17px/1 Arial,sans-serif; letter-spacing:-.08em; }
.profo-share-link-block { display:grid; gap:9px; }
.profo-share-link-block > label { font-size:15px; font-weight:600; }
.profo-share-link-block > div { display:flex; gap:8px; min-width:0; }
.profo-share-link-block input { flex:1; min-width:0; height:48px; padding:0 13px; border:1px solid #dcdbdf; border-radius:14px; background:#fff; color:#5f5f5f; font:14px "Wix Madefor Display",sans-serif; }
.profo-share-link-block button { display:flex; align-items:center; justify-content:center; gap:8px; flex:0 0 auto; min-width:132px; padding:0 14px; border:0; border-radius:14px; background:#181717; color:#fff; font:600 14px "Wix Madefor Display",sans-serif; cursor:pointer; }
.profo-share-privacy { display:flex; align-items:center; gap:8px; margin:auto 0 0; color:#5f5f5f; font-size:13px; line-height:1.35; }
.profo-share-privacy svg { flex:0 0 auto; color:#181717; }
.profo-share-mobile-handle, .profo-share-mobile-actions { display:none; }
.profo-share-modal .profo-story-offscreen { position:fixed; left:-10000px; top:0; pointer-events:none; }
.profo-share-toast { z-index:10070; }
.profo-share-modal button:focus-visible, .profo-share-modal input:focus-visible { outline:3px solid #3157d5; outline-offset:3px; }
@media (max-width:767px) {
  .profo-share-overlay { display:flex; align-items:flex-end; padding:0; }
  .profo-share-modal { display:flex; flex-direction:column; width:100%; max-height:94dvh; min-height:0; margin:auto 0 0; overflow-y:auto; border-radius:28px 28px 0 0; }
  .profo-share-content { display:contents; }
  .profo-share-heading { order:1; min-height:72px; padding:32px 64px 12px 20px; }
  .profo-share-mobile-handle { position:absolute; top:10px; left:50%; display:block; width:42px; height:4px; transform:translateX(-50%); border-radius:99px; background:#d7d6da; }
  .profo-share-eyebrow, .profo-share-download, .profo-share-desktop-actions, .profo-share-link-block { display:none; }
  .profo-share-heading h2 { font-size:21px; line-height:1.2; }
  .profo-share-close { top:26px; right:16px; width:36px; height:36px; }
  .profo-share-preview { order:2; min-height:330px; height:330px; padding:18px; background-image:url('/proforientation/bg-jubilee-mobile.jpg'); background-position:center 43%; }
  .profo-share-preview-card { width:165px; height:293.5px; }
  .profo-share-preview-card > .profo-story-card { transform:scale(.5); }
  .profo-share-mobile-actions { order:3; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; padding:15px 14px 4px; }
  .profo-share-mobile-actions button { display:grid; justify-items:center; gap:6px; padding:0; border:0; background:none; color:#181717; font:500 12px/1.2 "Wix Madefor Display",sans-serif; cursor:pointer; }
  .profo-share-mobile-actions button > span { display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:#f5f5f7; }
  .profo-share-mobile-actions button:first-child > span { background:#f3d45e; }
  .profo-share-mobile-actions button:disabled { opacity:.55; cursor:wait; }
  .profo-share-privacy { order:4; margin:8px 20px max(18px,env(safe-area-inset-bottom)); font-size:12px; }
  .profo-share-modal .profo-story-offscreen { left:-10000px; }
}

/* Analysis feedback shares the persistent Gleb scene on desktop and mobile. */

.profo-analyzing-content { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; min-height:80px; color:var(--profo-text-2); text-align:center; }
.profo-analyzing-content strong { color:var(--profo-text); font-size:20px; font-weight:600; }
.profo-analyzing-content > span { color:var(--profo-muted); font-size:15px; }
.profo-weak-signal-note { border:1px solid #e8d587; background:#fff9de; }
@media (min-width:1024px) {
 .profo-flow--analyzing.profo-flow--desktop { grid-template-rows:minmax(0,1fr); min-height:0; }
 .profo-flow--analyzing.profo-flow--desktop > .profo-desktop-scene { grid-column:1; grid-row:1; }
 .profo-flow--analyzing.profo-flow--desktop .profo-analyzing-content { grid-column:2; grid-row:1; padding:32px; }
}
@media (max-width:1023px) {
 .profo-flow--analyzing { gap:0; }

 .profo-analyzing-content { order:2; flex:1; min-height:48px; padding:4px 12px 16px; }
 .profo-analyzing-content strong { font-size:16px; }
 .profo-analyzing-content > span { display:none; }
}

/* 26.2: alternate swipe test; keeps the pairs screen rules isolated. */
.profo-swipe-mobile-greeting { position:relative; display:grid; grid-template-columns:48px minmax(0,1fr) auto; align-items:center; gap:12px; min-height:76px; margin:0 0 12px; padding:10px 12px; border-radius:20px; background:#181717; color:#fff; }
.profo-swipe-mobile-greeting > img { width:48px; height:48px; border-radius:50%; object-fit:cover; }
.profo-swipe-mobile-copy { min-width:0; }
.profo-swipe-mobile-copy > strong { display:block; color:#f3d45e; font-size:12px; line-height:1.1; }
.profo-swipe-mobile-copy > p { margin:4px 0 0; font-size:13px; line-height:1.25; }
.profo-swipe-mobile-controls { display:flex; gap:4px; }
.profo-swipe-mobile-controls .profo-stage-repeat-control,
.profo-swipe-mobile-controls .profo-sound-button { position:static; width:36px; height:36px; }
.profo-swipe-deck { display:grid; grid-template-rows:minmax(290px,1fr) auto auto; align-content:stretch; gap:12px; width:100%; min-width:0; min-height:0; touch-action:pan-y; overscroll-behavior-x:contain; }
.profo-swipe-stack { position:relative; width:min(100%,560px); height:clamp(330px,calc(100dvh - var(--profo-header-space,172px) - 270px),510px); min-height:290px; margin:0 auto; touch-action:none; perspective:1000px; }
.profo-swipe-card { position:absolute; inset:0; overflow:hidden; display:flex; flex-direction:column; border:1px solid #ebeaed; border-radius:26px; background:#fff; box-shadow:0 18px 48px rgba(24,23,23,.14); }
.profo-swipe-card--under { pointer-events:none; inset:8px 0 -8px; opacity:.46; transform:scale(.97) rotate(-2.5deg); box-shadow:0 12px 30px rgba(24,23,23,.08); }
.profo-swipe-card--under-2 { inset:16px 0 -16px; opacity:.24; transform:scale(.94) rotate(2.5deg); }
.profo-swipe-card--active { z-index:2; cursor:grab; user-select:none; transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease; will-change:transform; }
.profo-swipe-card--active:active { cursor:grabbing; }
.profo-swipe-card--active.is-flying-no,
.profo-swipe-card--active.is-flying-like { animation:profo-swipe-flight-x .45s ease-in forwards; }
.profo-swipe-art { position:relative; flex:0 0 57%; display:grid; place-items:center; overflow:hidden; }
.profo-swipe-art::after { content:""; position:absolute; inset:auto 0 0; height:35%; background:linear-gradient(180deg,transparent,rgba(24,23,23,.08)); pointer-events:none; }
.profo-swipe-art > img { width:min(48%,220px); max-height:78%; object-fit:contain; filter:drop-shadow(0 14px 14px rgba(24,23,23,.2)); animation:profo-swipe-card-float 4.2s ease-in-out infinite; pointer-events:none; }
.profo-swipe-type { position:absolute; z-index:1; left:20px; bottom:18px; padding:8px 14px; border-radius:999px; background:rgba(255,255,255,.88); color:#181717; font-size:14px; font-weight:600; }
.profo-swipe-copy { display:flex; flex:1; flex-direction:column; justify-content:center; gap:8px; padding:20px 24px 24px; }
.profo-swipe-copy h2 { margin:0; font-size:clamp(20px,2vw,25px); line-height:1.18; font-weight:600; }
.profo-swipe-copy p { margin:0; color:#5f5f5f; font-size:16px; line-height:1.35; }
.profo-swipe-stamp { position:absolute; z-index:2; top:22px; padding:7px 12px; border:3px solid currentColor; border-radius:10px; font-size:clamp(16px,2vw,22px); line-height:1; font-weight:800; letter-spacing:.04em; opacity:0; transition:opacity .08s linear; pointer-events:none; }
.profo-swipe-stamp--no { left:20px; color:#e44c48; transform:rotate(-10deg); }
.profo-swipe-stamp--like { right:20px; color:#2c9a63; transform:rotate(10deg); }
.profo-swipe-undo:focus-visible { outline:3px solid #181717; outline-offset:3px; }
.profo-swipe-footer { display:flex; justify-content:space-between; align-items:center; gap:10px; width:min(100%,560px); margin:0 auto; }
.profo-swipe-hints { display:flex; align-items:center; gap:16px; color:#5f5f5f; font-size:12px; }
.profo-swipe-hints > span { display:inline-flex; align-items:center; gap:4px; }
.profo-swipe-undo-wrap { display:inline-flex; border-radius:10px; }
.profo-swipe-undo { display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:6px 8px; border:0; border-radius:10px; background:transparent; color:#181717; font:inherit; font-size:12px; cursor:pointer; }
.profo-swipe-undo:disabled { color:#9a99a0; cursor:not-allowed; }
.profo-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
@keyframes profo-swipe-flight-x { to { opacity:0; transform:translate3d(var(--swipe-flight-x),0,0) rotate(35deg); } }
@keyframes profo-swipe-card-float { 0%,100% { transform:translateY(0) rotate(-1deg); } 50% { transform:translateY(-5px) rotate(1deg); } }
@media (min-width:1024px) {
 .profo-flow--desktop.profo-flow--swipe { grid-template-rows:auto minmax(0,1fr); }
 .profo-flow--desktop.profo-flow--swipe .profo-flow-content { display:flex; align-items:center; justify-content:center; overflow:hidden; }
 .profo-flow--swipe .profo-swipe-deck { grid-template-rows:minmax(0,1fr) auto auto; gap:12px; height:100%; max-height:100%; }
 .profo-flow--swipe .profo-swipe-stack { height:min(480px,calc(100dvh - var(--profo-header-space,172px) - 292px)); min-height:280px; }
 .profo-flow--swipe .profo-swipe-copy { padding:16px 24px 20px; }
 .profo-flow--swipe .profo-swipe-copy p { font-size:15px; }
}
@media (max-width:1023px) {
 .profo-flow--swipe { height:calc(100dvh - var(--profo-header-space,132px) - 12px); }
 .profo-flow--swipe > .profo-flow-content { display:flex; flex-direction:column; gap:8px; padding:8px 0 10px; }
 .profo-flow--swipe .profo-swipe-deck { flex:1; grid-template-rows:minmax(clamp(310px,44dvh,370px),1fr) auto auto; gap:10px; }
 .profo-flow--swipe .profo-swipe-stack { flex:1; width:min(100%,500px); height:auto; min-height:clamp(310px,44dvh,370px); max-height:430px; }
 .profo-flow--swipe .profo-swipe-art { flex-basis:54%; }
 .profo-flow--swipe .profo-swipe-art > img { width:min(44%,174px); }
 .profo-flow--swipe .profo-swipe-type { left:14px; bottom:12px; padding:6px 11px; font-size:12px; }
 .profo-flow--swipe .profo-swipe-copy { gap:5px; padding:14px 16px 16px; }
 .profo-flow--swipe .profo-swipe-copy h2 { font-size:clamp(18px,5vw,22px); }
 .profo-flow--swipe .profo-swipe-copy p { font-size:14px; }
 .profo-flow--swipe .profo-swipe-footer { align-items:center; }
 .profo-flow--swipe .profo-swipe-hints { gap:8px; font-size:10px; }
 .profo-flow--swipe .profo-swipe-undo { min-height:30px; padding:4px; font-size:11px; }
}
@media (max-width:390px) {
 .profo-flow--swipe .profo-swipe-mobile-greeting { min-height:68px; grid-template-columns:42px minmax(0,1fr) auto; gap:8px; padding:8px; }
 .profo-flow--swipe .profo-swipe-mobile-greeting > img { width:42px; height:42px; }
 .profo-flow--swipe .profo-swipe-mobile-copy > p { font-size:12px; }
 .profo-flow--swipe .profo-swipe-mobile-controls { gap:0; }
 .profo-flow--swipe .profo-swipe-mobile-controls .profo-stage-repeat-control,.profo-flow--swipe .profo-swipe-mobile-controls .profo-sound-button { width:32px; height:32px; }
}
@media (prefers-reduced-motion:reduce) {
 .profo-swipe-card--active, .profo-swipe-stamp { transition:none!important; }
 .profo-swipe-card--active.is-flying-no,.profo-swipe-card--active.is-flying-like { animation:none!important; }
 .profo-swipe-art > img { animation:none!important; }
}

/* S26 controls use two horizontal swipe actions. */
@media (max-width:1023px) {
 .profo-flow--swipe > .profo-swipe-mobile-greeting { margin:8px 16px 4px; }
 .profo-flow--swipe .profo-swipe-stack { min-height:clamp(285px,40dvh,350px); }
 .profo-flow--swipe .profo-swipe-deck { grid-template-rows:minmax(clamp(285px,40dvh,350px),1fr) auto auto; }
}

/* Keep the next two real cards visible and promote the next one with the outgoing card. */
.profo-swipe-card--under { z-index:1; inset:0; opacity:.9; transform:scale(.96) translateY(12px) rotate(-2.5deg); }
.profo-swipe-card--under-2 { z-index:0; inset:0; opacity:.62; transform:scale(.92) translateY(24px) rotate(2.5deg); }
.profo-swipe-card--active { z-index:2; }
.profo-swipe-card--exiting { z-index:4; pointer-events:none; animation:profo-swipe-flight-x .45s cubic-bezier(.2,.7,.25,1) forwards; }
.profo-swipe-card--active.is-flying-no,
.profo-swipe-card--active.is-flying-like { animation:profo-swipe-flight-x .45s cubic-bezier(.2,.7,.25,1) forwards; }
.profo-swipe-card--active.is-entering { animation:profo-swipe-enter .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes profo-swipe-enter { from { opacity:.9; transform:scale(.96) translateY(12px) rotate(-2.5deg); } to { opacity:1; transform:scale(1) translateY(0) rotate(0); } }
@keyframes profo-swipe-flight-x { to { opacity:0; transform:translate3d(var(--swipe-flight-x),0,0) rotate(35deg); } }

@media (prefers-reduced-motion:reduce) {
 .profo-swipe-card--exiting,.profo-swipe-card--active.is-entering,
 .profo-swipe-card--active.is-flying-no,.profo-swipe-card--active.is-flying-like { animation:none!important; }
}
.profo-swipe-art > img { opacity:0; transition:opacity .15s ease; }
.profo-swipe-art > img.is-decoded { opacity:1; }

/* Make the swipe decision legible before the card leaves the deck. */
.profo-swipe-stamp { z-index:4; top:24px; padding:8px 16px; border-width:4px; border-radius:12px; background:rgba(255,255,255,.95); box-shadow:0 4px 14px rgba(24,23,23,.2); font-family:var(--font-profo-unbounded,sans-serif); font-size:28px; font-weight:800; line-height:1; white-space:nowrap; transition:opacity .15s ease; }
.profo-swipe-stamp--no { right:24px; left:auto; color:#C9473B; transform:rotate(-12deg); }
.profo-swipe-stamp--like { right:auto; left:24px; color:#1F9D61; transform:rotate(12deg); }
.profo-swipe-card--active.is-stamping-no,
.profo-swipe-card--active.is-stamping-like { transition:transform .18s ease; }
.profo-swipe-card--exiting { animation-duration:.4s; }
.profo-swipe-card--active.is-flying-no,
.profo-swipe-card--active.is-flying-like { animation-duration:.4s; }
@media (max-width:1023px) {
 .profo-swipe-stamp { font-size:24px; }
}

/* S32: keep swipe cards portrait, with artwork above a consistently white text panel. */
.profo-swipe-stack {
  width: min(100%, 380px);
  height: auto;
  min-height: 0;
  aspect-ratio: 38 / 47;
  justify-self: center;
  align-self: center;
}
.profo-swipe-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(24,23,23,.16);
}
.profo-swipe-card--under {
  opacity: 1;
  transform: scale(.96) translateY(12px) rotate(-2.5deg);
  box-shadow: 0 22px 48px rgba(24,23,23,.16);
}
.profo-swipe-card--under-2 {
  opacity: 1;
  transform: scale(.92) translateY(24px) rotate(2.5deg);
}
.profo-swipe-art {
  position: relative;
  z-index: 0;
  flex: 0 0 70%;
  min-height: 0;
  isolation: isolate;
}
.profo-swipe-art::after {
  inset: auto auto 24px 50%;
  width: 38%;
  height: 12px;
  border-radius: 50%;
  background: rgba(24,23,23,.2);
  filter: blur(8px);
  transform: translateX(-50%);
}
.profo-swipe-art > img {
  position: relative;
  z-index: 1;
  width: 52%;
  max-width: 220px;
  max-height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(24,23,23,.16));
  animation: profo-swipe-card-float-s32 4.2s ease-in-out infinite;
}
.profo-swipe-type {
  z-index: 3;
  left: 16px;
  bottom: 14px;
  padding: 6px 12px;
  background: rgba(255,255,255,.92);
  color: #181717;
  font-size: 13px;
  font-weight: 600;
}
.profo-swipe-copy {
  flex: 1 1 30%;
  min-height: 0;
  justify-content: center;
  gap: 6px;
  padding: 16px 20px 20px;
  background: #fff;
  color: #181717;
}
.profo-swipe-copy h2 {
  color: #181717;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 600;
}
.profo-swipe-copy p {
  color: #5F5F5F;
  font-size: 14px;
  line-height: 1.3;
}
@keyframes profo-swipe-card-float-s32 {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-5px) rotate(-2deg); }
}
@media (max-width: 1023px) {
  .profo-flow--swipe .profo-swipe-deck {
    height: auto;
    flex: 0 0 auto;
    grid-template-rows: auto auto auto;
  }
  .profo-flow--swipe .profo-swipe-stack {
    width: min(100%, 380px, max(220px, calc((100dvh - 430px) * .8085)));
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 38 / 47;
    justify-self: center;
    align-self: center;
  }
  .profo-flow--swipe .profo-swipe-art { flex-basis: 70%; }
  .profo-flow--swipe .profo-swipe-art > img {
    width: 52%;
    max-width: 190px;
    max-height: 72%;
  }
  .profo-flow--swipe .profo-swipe-type {
    left: 16px;
    bottom: 14px;
    padding: 6px 12px;
    font-size: 13px;
  }
  .profo-flow--swipe .profo-swipe-copy {
    gap: 6px;
    padding: 16px 20px 20px;
  }
  .profo-flow--swipe .profo-swipe-copy h2 { font-size: 22px; }
  .profo-flow--swipe .profo-swipe-copy p { font-size: 14px; }
  .profo-swipe-stamp { font-size: 24px; }
}
@media (min-width: 1024px) {
  .profo-flow--swipe .profo-swipe-stack {
    width: min(100%, 380px);
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 38 / 47;
    flex: none;
  }
  .profo-flow--swipe .profo-swipe-copy { padding: 16px 20px 20px; }
  .profo-flow--swipe .profo-swipe-copy p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .profo-swipe-art > img { animation: none !important; transform: rotate(-3deg); }
}

/* S34 final overrides: these follow the legacy swipe rules so no ancestor clips the stack. */
html:has(.profo-page),
body:has(.profo-page),
body:has(.profo-page) main,
.profo-page:has(.profo-flow--swipe) { overflow-x:clip; }
.profo-flow--swipe,
.profo-flow--swipe > .profo-flow-content,
.profo-flow--swipe .profo-swipe-deck,
.profo-flow--swipe .profo-swipe-stack { overflow:visible; }
.profo-flow--swipe .profo-swipe-deck { position:relative; z-index:20; }
.profo-flow--swipe .profo-swipe-stack { position:relative; z-index:21; }
.profo-flow--swipe .profo-swipe-card--under { transform:scale(.96) translateY(16px) rotate(-2deg); }
.profo-flow--swipe .profo-swipe-card--under-2 { transform:scale(.92) translateY(32px) rotate(2deg); }
@media (min-width:1024px) {
  .profo-flow--desktop.profo-flow--swipe {
    min-height:0;
    height:min(900px,calc(100dvh - var(--profo-header-space,172px) - 32px));
    grid-template-rows:auto minmax(0,1fr);
    overflow:visible;
  }
  .profo-flow--desktop.profo-flow--swipe > .profo-flow-content {
    display:flex;
    align-items:stretch;
    justify-content:stretch;
    min-width:0;
    min-height:0;
    padding:40px 40px 24px;
    overflow:visible;
  }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-deck {
    display:grid;
    grid-template-rows:minmax(0,1fr) auto auto;
    gap:12px;
    width:100%;
    height:100%;
    max-height:100%;
    min-height:0;
  }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-stack {
    width:auto;
    height:min(470px,100%);
    min-width:0;
    min-height:0;
    max-width:100%;
    max-height:470px;
    aspect-ratio:4 / 5;
    justify-self:center;
    align-self:center;
  }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-footer { position:relative; z-index:1; }
}
@media (max-height:800px) and (min-width:1024px) {
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-art { flex-basis:58%; }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-copy { flex-basis:42%; gap:2px; padding:5px 12px 8px; }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-copy h2 { font-size:16px; line-height:1.08; }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-copy p { font-size:11px; line-height:1.15; }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-stamp { top:14px; padding:6px 10px; font-size:clamp(14px,2.5vh,20px); }
}
@media (max-width:1023px) {
  .profo-flow--swipe { overflow:visible; }
  .profo-flow--swipe > .profo-flow-content { overflow:visible; }
}

/* S37: reserve a fixed art zone and give every card a predictable text panel. */
.profo-flow--swipe .profo-swipe-card {
  display: grid;
  grid-template-rows: 62% minmax(0, 1fr);
}
.profo-flow--swipe .profo-swipe-art {
  flex: none;
  min-width: 0;
  min-height: 0;
}
.profo-flow--swipe .profo-swipe-art > img {
  width: 48%;
  max-height: 72%;
}
.profo-flow--swipe .profo-swipe-type {
  bottom: 14px;
}
.profo-flow--swipe .profo-swipe-copy {
  display: flex;
  flex: none;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  padding: 16px 20px 18px;
}
.profo-flow--swipe .profo-swipe-copy h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}
.profo-flow--swipe .profo-swipe-copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  margin: 0;
  color: #5F5F5F;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: normal;
}
@media (max-width: 1023px) {
  .profo-flow--swipe .profo-swipe-art > img { width: 48%; }
  .profo-flow--swipe .profo-swipe-copy { padding: 16px 20px 18px; }
  .profo-flow--swipe .profo-swipe-copy h2 { font-size: 18px; line-height: 1.2; }
}
@media (max-height: 800px) and (min-width: 1024px) {
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-art { flex: none; }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-copy { gap: 6px; padding: 16px 20px 18px; }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-copy h2 { font-size: 20px; line-height: 1.2; }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-copy p { font-size: 14px; line-height: 1.35; }
}

/* S38 swipe controls and stage-safe card exits. */
html:has(.profo-flow--swipe),
body:has(.profo-flow--swipe),
body:has(.profo-flow--swipe) main,
.profo-page:has(.profo-flow--swipe) { overflow-x: clip; }
.profo-flow--desktop.profo-flow--swipe > .profo-desktop-scene { z-index: 30; }
.profo-flow--desktop.profo-flow--swipe > .profo-flow-content { position: relative; z-index: 1; }
.profo-swipe-undo:focus-visible { outline: 3px solid #181717; outline-offset: 3px; }
.profo-flow--swipe .profo-swipe-stamp--no { right: auto; left: 20px; color: #C9473B; }
.profo-flow--swipe .profo-swipe-stamp--like { right: 20px; left: auto; color: #181717; }
.profo-flow--swipe .profo-swipe-stamp--unsure {
  top: 50%;
  right: auto;
  left: 50%;
  border-color: #fff;
  background: #fff;
  color: #5F5F5F;
  transform: translate(-50%, -50%);
}
.profo-flow--swipe .profo-swipe-footer { display: flex; justify-content: center; width: 100%; margin: 0 auto; }
.profo-flow--swipe .profo-swipe-hints { display: flex; align-items: center; justify-content: center; gap: 10px; color: #5F5F5F; font-size: 13px; line-height: 20px; white-space: nowrap; }
.profo-flow--swipe .profo-swipe-undo-wrap { display: inline-flex; border-radius: 8px; }
.profo-flow--swipe .profo-swipe-undo { display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 0; border: 0; background: transparent; color: #5F5F5F; font: inherit; font-size: 13px; cursor: pointer; }
.profo-flow--swipe .profo-swipe-undo:disabled { color: #9A99A0; cursor: not-allowed; }
.profo-swipe-card--exiting.is-flying-no,
.profo-swipe-card--active.is-flying-no { animation: profo-swipe-exit-left .4s cubic-bezier(.2,.7,.25,1) forwards; }
.profo-swipe-card--exiting.is-flying-like,
.profo-swipe-card--active.is-flying-like { animation: profo-swipe-exit-right .4s cubic-bezier(.2,.7,.25,1) forwards; }
.profo-swipe-card--exiting.is-flying-unsure,
.profo-swipe-card--active.is-flying-unsure { animation: profo-swipe-exit-down .4s cubic-bezier(.2,.7,.25,1) forwards; }
@keyframes profo-swipe-exit-left {
  0% { opacity: 1; transform: translate3d(var(--swipe-origin-x,0px),var(--swipe-origin-y,0px),0) scale(1) rotate(var(--swipe-origin-rotation,0deg)); }
  85% { opacity: 0; transform: translate3d(var(--swipe-flight-x-85),0,0) scale(.9) rotate(-10deg); }
  100% { opacity: 0; transform: translate3d(var(--swipe-flight-x),0,0) scale(.9) rotate(-10deg); }
}
@keyframes profo-swipe-exit-right {
  0% { opacity: 1; transform: translate3d(var(--swipe-origin-x,0px),var(--swipe-origin-y,0px),0) scale(1) rotate(var(--swipe-origin-rotation,0deg)); }
  85% { opacity: 0; transform: translate3d(var(--swipe-flight-x-85),0,0) scale(.96) rotate(10deg); }
  100% { opacity: 0; transform: translate3d(var(--swipe-flight-x),0,0) scale(.96) rotate(10deg); }
}
@keyframes profo-swipe-exit-down {
  0% { opacity: 1; transform: translate3d(var(--swipe-origin-x,0px),var(--swipe-origin-y,0px),0) scale(1); }
  85% { opacity: 0; transform: translate3d(0,var(--swipe-flight-y-85),0) scale(.96); }
  100% { opacity: 0; transform: translate3d(0,var(--swipe-flight-y),0) scale(.96); }
}
@media (max-width: 1023px) {
  .profo-flow--swipe .profo-swipe-hints { gap: 7px; font-size: 11px; }
  .profo-flow--swipe .profo-swipe-undo { font-size: 11px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .profo-flow--desktop.profo-flow--swipe { grid-template-columns: minmax(0,42%) minmax(0,1fr); column-gap: 24px; }
  .profo-flow--desktop.profo-flow--swipe > .profo-flow-content { padding: 24px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .profo-swipe-card--exiting.is-flying-no,
  .profo-swipe-card--active.is-flying-no,
  .profo-swipe-card--exiting.is-flying-like,
  .profo-swipe-card--active.is-flying-like,
  .profo-swipe-card--exiting.is-flying-unsure,
  .profo-swipe-card--active.is-flying-unsure { animation: none !important; }
}

/* Keep the profiled Three.js stage mounted as its own stable app-shell child. */
.profo-route-page:empty { display: none; }
.profo-flow > .profo-desktop-scene { transition: opacity .28s ease, visibility .28s ease, width .28s ease; }
.profo-flow > .profo-desktop-scene.profo-desktop-scene--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@media (min-width: 1024px) {
  .profo-flow--result > .profo-desktop-scene,
  .profo-flow--parent > .profo-desktop-scene { position: absolute; width: 0; height: 0; overflow: hidden; }
  .profo-flow--parent.profo-flow--desktop { display: block; height: auto; min-height: 0; max-height: none; }
}
@media (max-width: 1023px) {
  .profo-flow > .profo-desktop-scene {
    position: relative;
    z-index: 1;
    order: 1;
    flex: 0 0 132px;
    width: 100%;
    height: 132px;
    min-height: 0;
    margin: 0 0 10px;
    overflow: hidden;
    border-radius: 22px;
    background: #1b1915;
    transition: flex-basis .28s ease, height .28s ease, opacity .28s ease, visibility .28s ease;
  }
  .profo-flow > .profo-desktop-scene .profo-stage { width: 100%; height: 100% !important; border-radius: inherit; }
  .profo-desktop-thought { position: absolute; z-index: 3; top: 8px; left: 10px; right: 10px; padding: 8px 10px; border: 1px solid rgba(235,234,237,.8); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 6px 20px rgba(24,23,23,.12); }
  .profo-desktop-thought .profo-speech-meta { font-size: 11px; }
  .profo-desktop-thought p { margin: 3px 0 0; font-size: 13px; line-height: 1.3; }
  .profo-desktop-scene .profo-stage-controls { right: 8px; bottom: 8px; gap: 5px; }
  .profo-desktop-scene .profo-stage-controls .profo-stage-repeat-control,
  .profo-desktop-scene .profo-stage-controls .profo-sound-button { width: 34px; height: 34px; min-height: 34px; flex-basis: 34px; }
  .profo-flow > .profo-progress-header,
  .profo-flow > .profo-screen-header { order: 0; }
  .profo-flow > .profo-mobile-entry-screen--test > .profo-progress-header { order: 0; }
  .profo-flow > .profo-flow-content,
  .profo-flow > .profo-mobile-entry-screen { order: 2; }
  .profo-flow > .profo-mobile-entry-screen--test > .profo-mobile-entry-scroll { order: 2; }
  .profo-flow > .profo-sticky-actions { order: 3; }
  .profo-flow--welcome > .profo-desktop-scene { order: 1; flex-basis: 228px; height: 228px; }
  .profo-flow--dream > .profo-desktop-scene, .profo-flow--swipe > .profo-desktop-scene, .profo-flow--subjects_like > .profo-desktop-scene, .profo-flow--subjects_dislike > .profo-desktop-scene, .profo-flow--open > .profo-desktop-scene, .profo-flow--compare > .profo-desktop-scene, .profo-flow--day > .profo-desktop-scene { flex-basis: 116px; height: 116px; }
  .profo-flow--analyzing > .profo-desktop-scene { flex-basis: 116px; height: 116px; }
  .profo-flow > .profo-desktop-scene.profo-desktop-scene--hidden { position: absolute; z-index: -1; flex-basis: 0; width: 0; height: 0; margin: 0; overflow: hidden; }
  .profo-flow--result > .profo-desktop-scene,
  .profo-flow--parent > .profo-desktop-scene { position: absolute; width: 0; height: 0; }
}

/* The persistent scene replaces the duplicate swipe greeting avatar on mobile. */
@media (max-width: 1023px) {
  .profo-flow--swipe .profo-swipe-mobile-greeting { display: none; }
}

/* S39 swipe stamp colors and one-direction-at-a-time visibility. */
.profo-flow--swipe .profo-swipe-stamp {
  border: 4px solid currentColor;
  background: rgba(255,255,255,.95);
  font-family: var(--font-profo-unbounded,sans-serif);
  font-weight: 800;
}
.profo-flow--swipe .profo-swipe-stamp--no { color: #C9473B; border-color: #C9473B; transform: rotate(-12deg); }
.profo-flow--swipe .profo-swipe-stamp--like { color: #1F9D61; border-color: #1F9D61; transform: rotate(-12deg); }
.profo-flow--swipe .profo-swipe-stamp--unsure { color: #5F5F5F; border-color: #5F5F5F; background: #fff; }

/* S39 centered swipe controls with aligned labels and safe card clearance. */
.profo-flow--swipe .profo-swipe-footer { width: 100%; margin: 0 auto; }
.profo-flow--swipe .profo-swipe-hints { justify-content: center; gap: 10px; font-size: 13px; line-height: 20px; }
@media (min-width: 1024px) {
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-deck { gap: 8px; }
}
@media (max-width: 1023px) {
  .profo-flow--swipe .profo-swipe-deck { gap: 8px; }
  .profo-flow--swipe .profo-swipe-hints { gap: 7px; font-size: 11px; }
}

/* S39 voice answer keeps the same field and reserves its helper/status rows. */
.profo-flow--open .profo-answer-panel { gap: 12px; }
.profo-flow--open .profo-answer-panel > strong { margin: 0; }
.profo-open-status { display: flex; align-items: center; gap: 5px; min-height: 18px; height: 18px; color: #d4d4d4; font-size: 12px; line-height: 18px; visibility: hidden; }
.profo-open-status.is-visible { visibility: visible; }
.profo-open-status i { color: #FB2C36; font-style: normal; }
.profo-open-status i.is-pulsing { animation: profo-open-mic-pulse 1s ease-in-out infinite; }
@keyframes profo-open-mic-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.profo-live-field { position: relative; flex: 0 0 160px; width: 100%; height: 160px; min-height: 160px; }
.profo-live-field > .profo-field { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 100%; max-height: 100%; margin: 0; resize: none; padding: 18px; border-radius: 18px; background: #fff; color: #181717; font-size: 17px; line-height: 1.45; }
.profo-live-field.is-listening > .profo-field { color: transparent; -webkit-text-fill-color: transparent; caret-color: transparent; }
.profo-live-field-preview { position: absolute; z-index: 1; inset: 0; overflow: auto; padding: 18px; border: 1px solid #E4E2E6; border-radius: 18px; color: #181717; font-size: 17px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; pointer-events: none; }
.profo-live-field-preview .is-interim { color: #929197; }
.profo-open-mic-help { min-height: 18px; margin: 0; color: #F3D45E; font-size: 12px; line-height: 18px; }
.profo-open-record-note { min-height: 16px; margin: -8px 0 0; color: rgba(255,255,255,.58); font-size: 11px; line-height: 16px; }
.profo-flow--open .profo-open-actions { grid-column: 1 / -1; }
.profo-flow--open .profo-open-actions > .profo-record-button.is-stopping { background: #F3D45E; color: #181717; }
@media (max-width: 1023px) {
  .profo-flow--open .profo-answer-panel { gap: 10px; }
  .profo-live-field { flex-basis: 120px; height: 120px; min-height: 120px; }
  .profo-live-field > .profo-field,
  .profo-live-field-preview { padding: 14px; font-size: 15px; }
  .profo-open-mic-help { font-size: 11px; }
  .profo-open-record-note { margin-top: -6px; }
}
/* Reuse the chat portrait on every small circular Gleb avatar. */
.profo-gleb-avatar,
.profo-desktop-result-avatar,
.profo-swipe-mobile-avatar {
  position: relative;
  background: #34312E;
  box-shadow: 0 0 0 2px #EABC5D;
  border-radius: 50%;
  overflow: hidden;
}
.profo-swipe-mobile-avatar { width: 48px; height: 48px; }
.profo-gleb-avatar img,
.profo-desktop-result-avatar img,
.profo-swipe-mobile-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 390px) {
  .profo-swipe-mobile-avatar { width: 42px; height: 42px; }
}

/* S41 horizontal swipe slider. */
.profo-flow--swipe .profo-swipe-deck {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow: visible;
}
.profo-flow--swipe .profo-swipe-stack {
  flex: none;
  width: min(100%, 380px);
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 38 / 47;
}
.profo-flow--swipe .profo-swipe-slider {
  --slider-no-alpha: 0;
  --slider-like-alpha: 0;
  position: relative;
  z-index: 1;
  flex: 0 0 64px;
  width: min(440px, calc(100% - 32px));
  height: 64px;
  margin: 24px auto 0;
  overflow: visible;
  border: 1px solid #ECEBEF;
  border-radius: 999px;
  background: linear-gradient(90deg, #FBEDEC 0%, #F2F2F4 50%, #E3F5EC 100%);
  touch-action: pan-y;
  isolation: isolate;
}
.profo-swipe-slider::before,
.profo-swipe-slider::after {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transition: opacity .08s linear;
}
.profo-swipe-slider::before {
  left: 0;
  background: linear-gradient(90deg, rgba(201,71,59,var(--slider-no-alpha)) 0%, rgba(201,71,59,0) 100%);
}
.profo-swipe-slider::after {
  right: 0;
  background: linear-gradient(270deg, rgba(31,157,97,var(--slider-like-alpha)) 0%, rgba(31,157,97,0) 100%);
}
.profo-swipe-slider-label {
  position: absolute;
  z-index: 1;
  top: 50%;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
}
.profo-swipe-slider-label--no {
  left: 12px;
  transform: translateY(-50%) scale(var(--slider-label-scale,1));
  transform-origin: left center;
  color: #C9473B;
}
.profo-swipe-slider-label--like {
  right: 12px;
  transform: translateY(-50%) scale(var(--slider-label-scale,1));
  transform-origin: right center;
  color: #1F9D61;
}
.profo-swipe-slider-label:hover { opacity: .82; }
.profo-swipe-slider-label:focus-visible,
.profo-swipe-slider-thumb:focus-visible {
  outline: 3px solid #181717;
  outline-offset: 3px;
}
.profo-swipe-slider-thumb {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #181717;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transform: translate(calc(-50% + var(--slider-offset,0px)), -50%);
  transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.profo-swipe-slider-thumb.is-dragging { cursor: grabbing; transition: none; }
.profo-swipe-slider-thumb.is-bouncing { animation: profo-swipe-thumb-bounce .24s ease-out; }
.profo-swipe-slider-thumb:disabled { cursor: default; }
.profo-swipe-footer { flex: none; width: 100%; margin: 10px auto 0; }
.profo-flow--swipe .profo-swipe-footer { margin: 8px auto 0; }
.profo-flow--swipe .profo-swipe-hints {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #5F5F5F;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}
.profo-flow--swipe .profo-swipe-undo {
  min-height: 24px;
  padding: 0;
  color: #181717;
  font-size: 13px;
  font-weight: 600;
}
.profo-flow--swipe .profo-swipe-undo:disabled { color: #9A99A0; }
.profo-flow--swipe .profo-swipe-type {
  top: 18px;
  right: auto;
  bottom: auto;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
}
.profo-flow--swipe .profo-swipe-stamp--no { color: #C9473B; }
.profo-flow--swipe .profo-swipe-stamp--like { color: #1F9D61; transform: rotate(-12deg); }
.profo-flow--swipe .profo-swipe-art > img { width: min(62%,240px); max-height: 82%; }
.profo-flow--swipe .profo-swipe-copy h2 { font-size: 24px; font-weight: 700; }
@keyframes profo-swipe-thumb-bounce {
  0%,100% { transform: translate(calc(-50% + var(--slider-offset,0px)), -50%) scale(1); }
  45% { transform: translate(calc(-50% + var(--slider-offset,0px)), -50%) scale(1.12); box-shadow: 0 4px 12px rgba(0,0,0,.2), 0 0 0 9px rgba(24,23,23,.11); }
}
@media (max-width: 1023px) {
  .profo-flow--swipe .profo-swipe-deck { flex: 1; min-height: 0; justify-content: center; }
  .profo-flow--swipe .profo-swipe-stack { width: min(100%,380px); }
  .profo-flow--swipe .profo-swipe-slider { width: calc(100% - 32px); margin-top: 24px; }
  .profo-flow--swipe .profo-swipe-slider-label { font-size: 15px; }
  .profo-flow--swipe .profo-swipe-footer { margin-top: 8px; }
  .profo-flow--swipe .profo-swipe-hints { gap: 6px; font-size: 10px; letter-spacing: -.025em; }
  .profo-flow--swipe .profo-swipe-undo { font-size: 11px; }
  .profo-flow--swipe .profo-swipe-copy h2 { font-size: clamp(20px,5.5vw,24px); }
}
@media (min-width: 1024px) {
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-deck {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .profo-flow--desktop.profo-flow--swipe .profo-swipe-stack {
    width: min(100%,380px);
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 38 / 47;
    flex: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .profo-swipe-slider-thumb,
  .profo-swipe-slider-label { transition: none !important; }
  .profo-swipe-slider-thumb.is-bouncing { animation: none !important; }
}

/* S42: center slider guidance appears after inactivity. */
.profo-swipe-slider-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 1;
  transform: scale(1);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.profo-swipe-slider-icon.is-hidden {
  opacity: 0;
  transform: scale(.72);
}
.profo-swipe-slider-icon--idle {
  opacity: 0;
  transform: scale(.72);
  line-height: 0;
}
.profo-swipe-slider-icon--idle svg { display: block; }
.profo-swipe-slider-icon--idle.is-visible {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: no-preference) {
  .profo-swipe-slider-thumb.is-idle-wiggling:not(.is-dragging):not(.is-bouncing) {
    animation: profo-swipe-idle-nudge 2.2s ease-in-out infinite;
  }
}
@keyframes profo-swipe-idle-nudge {
  0%,100% { transform: translate(calc(-50% + var(--slider-offset,0px)), -50%); }
  25% { transform: translate(calc(-50% + var(--slider-offset,0px) - 40px), -50%); }
  75% { transform: translate(calc(-50% + var(--slider-offset,0px) + 40px), -50%); }
}

.profo-desktop-thought--transient {
  transition: opacity 300ms ease, transform 300ms ease, visibility 0s linear 300ms;
}
.profo-desktop-thought--transient[data-visible="false"] {
  opacity: 0;
  transform: translateY(5px) scale(.985);
  visibility: hidden;
  pointer-events: none;
}
.profo-desktop-thought--transient[data-visible="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}
.profo-swipe-gleb-line {
  transition: opacity 300ms ease, transform 300ms ease;
}
.profo-swipe-gleb-line[data-visible="false"] {
  opacity: 0;
  transform: translateY(3px);
}
.profo-swipe-gleb-line[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .profo-desktop-thought--transient,
  .profo-swipe-gleb-line { transition: none; }
}



/* Кнопка «Начать»: тот же круг, что «Повторить» (класс profo-stage-repeat-control); отличие — пульсация и сдвиг иконки. */
.profo-start-gleb { animation: profo-start-pulse 1.8s ease-out infinite; transition: opacity .2s ease, transform .2s ease; }
.profo-start-gleb svg { display: block; transform: translateX(2px); }
.profo-start-gleb.is-leaving { opacity: 0; transform: scale(.92); pointer-events: none; }
@keyframes profo-start-pulse { 0% { box-shadow: 0 0 0 0 #EABC5D; } 100% { box-shadow: 0 0 0 8px rgba(234,188,93,0); } }
@media (prefers-reduced-motion: reduce) { .profo-start-gleb { animation: none; } }



/* Полоса прогресса на экране анализа (правая колонка). */
.profo-analyzing-content .profo-analysis-progress-copy { width: min(320px, 100%); }

/* A hidden scene retains its last visible camera viewport; changing a step only fades it. */
.profo-flow { position: relative; }
.profo-portrait { position: relative; background: #34312E; box-shadow: 0 0 0 2px #EABC5D; border-radius: 50%; overflow: hidden; }
.profo-portrait > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.profo-flow > .profo-desktop-scene { transition: opacity .28s ease, visibility .28s ease; }
.profo-flow > .profo-desktop-scene.profo-desktop-scene--hidden {
  position: absolute; left: var(--profo-scene-left, 0px); top: var(--profo-scene-top, 0px);
  width: var(--profo-scene-width, 100%); height: var(--profo-scene-height, 116px);
  margin: 0; pointer-events: none;
}
.profo-analysis-header-space { order: 0; flex-shrink: 0; visibility: hidden; }
