/* Personal summary and first useful action. Light appearance is a brand decision. */
:root { color-scheme: only light; }

.welcome-frame {
  width: min(640px, calc(100% - 28px));
  padding: clamp(22px, 4vw, 38px);
  background: linear-gradient(145deg, #fffdf9 0%, #fffaf9 65%, #fbf2f5 100%);
  border-color: #e4d8de;
  border-radius: 22px;
  box-shadow: 0 16px 48px #35332e09;
  text-align: center;
  animation: none;
}

.welcome-frame h1 {
  margin: 8px 0 12px;
  font: 500 clamp(1.95rem, 4.2vw, 2.55rem)/1.17 var(--serif);
  letter-spacing: -.035em;
  text-wrap: balance;
  color: #35332e;
}

.welcome-frame .eyebrow { font-size: .75rem; letter-spacing: .1em; color: #3e6953; }
.welcome-lead { max-width: 450px; margin: 0 auto; font-size: 1.0625rem; line-height: 1.6; color: #526259; }
.welcome-profile-line { margin: 14px auto 0; max-width: 470px; font-size: .875rem; line-height: 1.6; color: #657168; }
.welcome-profile-line span { padding: 0 3px; }
.welcome-kicker { font-size: .875rem; margin: 0 0 18px; color: #7b5664; }
.welcome-kicker svg { width: 20px; height: 20px; }
.welcome-frame .assessment-progress { margin-bottom: 22px; }
.assessment-progress small { font-size: .8125rem; }
.assessment-stairs { width: 82px; height: 49px; }
.stairs-lit { stroke-width: 3.2; opacity: var(--lit-opacity, 1); filter: drop-shadow(0 0 3px #e5ae5480); }
.stairs-halo { fill: none; stroke: #e9bc69; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: var(--to); opacity: calc(var(--lit-opacity, 1) * .6); filter: blur(2px) drop-shadow(0 0 5px #e7b45db3); }
.stairs-spark { stroke: #ffdc8f; stroke-width: 4.6; filter: drop-shadow(0 0 3px #e5b25e) drop-shadow(0 0 7px #e7b35ba6); }
.assessment-progress.is-complete .stairs-halo { opacity: .8; filter: blur(2px) drop-shadow(0 0 7px #e0ac5199); }
.stairs-star.is-complete { fill: #d7a34f; filter: drop-shadow(0 0 3px #f1c46f) drop-shadow(0 0 9px #e3b35ca6); }
.welcome-frame .guide-mark { width: 60px; height: 54px; margin-bottom: 18px; }
.welcome-frame .guide-mark img { width: 46px; height: 46px; }

/* The completion fold belongs to the result and its next action, not a recap. */
.welcome-complete { display: flex; align-items: center; justify-content: center; gap: 9px; color: #3e6953; font-size: .8125rem; line-height: 1.4; }
.welcome-complete .assessment-progress { flex: none; margin: 0; gap: 0; padding: 0; }
.welcome-complete .assessment-progress > span { display: none; }
.welcome-complete .assessment-stairs { width: 46px; height: 29px; }
.summary-frame { margin-top: 14px; }
.summary-frame h1 { margin-top: 12px; }
.summary-frame .welcome-section { margin-top: 20px; }
.summary-frame .welcome-path-step.is-next > .path-current { text-align: left; }
.summary-frame .path-caption { font-size: .75rem; }

.welcome-assets { margin: 24px 0 0; text-align: left; }
.welcome-assets h2 { font: 500 .875rem/1.5 var(--sans); letter-spacing: 0; color: #526259; margin: 0 0 9px; }
.welcome-chips { gap: 7px; margin: 0; }
.welcome-chip { gap: 5px; border: 0; padding: 7px 10px; font-size: .8125rem; color: #506449; background: #e8eee4; }
.welcome-chip svg { width: 14px; height: 14px; flex: none; }
.welcome-more summary { min-height: 44px; display: flex; align-items: center; font-size: .875rem; color: #4f6657; cursor: pointer; }
.welcome-section { margin-top: 27px; }
.welcome-path { display: grid; gap: 0; margin: 0; }
.welcome-path-step { grid-template-columns: 38px minmax(0, 1fr); gap: 13px; padding: 0 0 13px; animation: none; }
.welcome-path-step:last-child { padding-bottom: 0; }
.welcome-path-step:not(:last-child)::after { left: 18px; top: 42px; bottom: 0; background: #d9e4dc; }
.welcome-path-step.is-next::after { background: linear-gradient(#87ad95, #d9e4dc); }
.path-node { width: 38px; height: 38px; border: 0; background: #f7eaf0; color: #87576a; }
.welcome-path-step .path-node { background: #f7eaf0; margin-top: 8px; }
.welcome-path-step.is-next .path-node { background: #dcecdf; color: #3b6650; border: 0; box-shadow: 0 0 0 4px #dcecdf80; }
.welcome-path-step .path-node svg { width: 19px; height: 19px; }
.welcome-path-step.is-next > .path-current { padding: 18px; background: #edf5ef; border: 1px solid #bfd6c7; border-radius: 15px; }
.welcome-frame .path-current h2 { font: 550 1.125rem/1.4 var(--sans); letter-spacing: -.015em; margin: 4px 0 0; }
.path-label { display: block; color: #426852; font-size: .75rem; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 3px; }
.welcome-path-step p.path-reason { font-size: 1rem; line-height: 1.55; margin: 9px 0 0; color: #4d6254; }
.welcome-path-step .btn { margin-top: 17px; min-height: 48px; width: 100%; font-size: 1rem; padding: 11px 16px; border-radius: 11px; }
.path-caption { display: block; margin-top: 10px; font-size: .8125rem; line-height: 1.5; color: #5e7264; }
.path-preview { padding: 2px 0 0; min-width: 0; text-align: left; }
.path-preview summary { list-style: none; min-height: 56px; padding: 4px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.path-preview summary::-webkit-details-marker { display: none; }
.path-preview summary > span { min-width: 0; }
.path-preview summary strong { font-size: 1rem; font-weight: 500; line-height: 1.4; color: #526358; }
.path-preview summary > svg { width: 18px; height: 18px; color: #8b5e70; flex: none; transition: transform 180ms ease; }
.path-preview[open] summary > svg { transform: rotate(180deg); }
.welcome-path-step .path-detail p { font-size: .9375rem; line-height: 1.55; margin: 7px 0; }
.welcome-path-step .path-detail .path-dependency { color: #716071; }
.path-detail .linkbtn { min-height: 44px; font-size: .875rem; }
.welcome-finished { padding: 20px 0; }
.welcome-finished > svg { color: var(--sage); width: 32px; height: 32px; margin-bottom: 10px; }
.welcome-finished p { font-size: 1rem; margin: 12px 0; }

.welcome-review { margin-top: 22px; text-align: left; border-top: 1px solid #e6dce1; }
.welcome-review > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; cursor: pointer; list-style: none; font-size: .9375rem; font-weight: 500; color: #4d6656; }
.welcome-review > summary::-webkit-details-marker { display: none; }
.welcome-review > summary > span { display: inline-flex; align-items: center; gap: 9px; }
.welcome-review > summary svg { width: 19px; height: 19px; flex: none; }
.welcome-review[open] > summary > svg { transform: rotate(180deg); }
.welcome-review-content { padding-bottom: 5px; }
.welcome-review-content > p { font-size: .9375rem; line-height: 1.6; color: #526259; }
.welcome-review .welcome-profile-line { margin: 12px 0 0; font-size: .875rem; }
.welcome-review .welcome-assets { margin-top: 16px; }

.welcome-tools { margin-top: 24px; padding: 0; border-color: #e6dce1; }
.welcome-tools > summary { min-height: 58px; font-size: .9375rem; font-weight: 500; gap: 14px; color: #4d6656; }
.welcome-tools > summary > span { display: inline-flex; align-items: center; gap: 9px; }
.welcome-tools > summary svg { width: 19px; height: 19px; flex: none; }
.welcome-tools[open] > summary span { transform: none; }
.welcome-tools[open] > summary > svg { transform: rotate(180deg); }
.welcome-tool-list { display: grid; gap: 16px; padding: 5px 0 16px; }
.welcome-tool { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; gap: 11px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.welcome-tool > .welcome-tool-icon { display: grid; place-items: center; grid-row: auto; width: 32px; height: 32px; margin-top: 3px; background: #f8e9ef; color: #86596b; border: 0; border-radius: 9px; }
.welcome-tool-icon svg { width: 18px; height: 18px; }
.tool-state { display: block; font-size: .75rem; color: #676b66; margin-bottom: 2px; }
.welcome-tool h3 { font: 500 .9375rem/1.4 var(--sans); margin: 0 0 4px; }
.welcome-tool p { font-size: .875rem; line-height: 1.55; color: #5c685f; }
.welcome-tools .welcome-tool-note { font-size: .8125rem; line-height: 1.5; color: #657168; margin: 0 0 6px; }
.welcome-tools .linkbtn { min-height: 44px; font-size: .875rem; }

.welcome-options { margin-top: 22px; }
.welcome-save { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 11px; text-align: left; margin: 0 0 16px; }
.welcome-save-icon { display: grid; place-items: center; width: 32px; height: 32px; background: #f7e7ed; border-radius: 50%; color: #855467; }
.welcome-save-icon svg { width: 17px; height: 17px; }
.welcome-frame .welcome-save h2 { font: 500 1rem/1.4 var(--sans); margin: 0 0 4px; }
.welcome-save p { font-size: .875rem; margin: 0 0 10px; }
.welcome-save .btn { min-height: 46px; border-radius: 10px; }
.welcome-utilities { display: flex; flex-wrap: wrap; justify-content: center; column-gap: 18px; row-gap: 0; }
.welcome-utilities .linkbtn { min-height: 44px; font-size: .875rem; font-weight: 500; color: #506449; }
.welcome-storage { font-size: .8125rem; line-height: 1.55; margin-top: 12px; color: #657168; }
.sample-options { display: grid; justify-items: stretch; gap: 2px; }
.sample-options .btn { min-height: 48px; font-size: .9375rem; }
.sample-options .linkbtn { min-height: 44px; font-size: .875rem; font-weight: 500; }
.welcome-notice { text-align: left; margin-top: 20px; font-size: .9375rem; }

/* The real action shares the welcome surface rather than opening a dashboard. */
.guide-frame > p:not(.eyebrow):not(.welcome-profile-line):not(.welcome-storage) { font-size: 1rem; }
.guide-frame .guide-task { padding: 18px; border-radius: 14px; text-align: left; background: #f0f6f1; border-color: #bfd6c7; }
.guide-frame .guide-task p { font-size: 1rem; line-height: 1.6; }
.guide-frame .guide-task details, .guide-frame .guide-task summary { font-size: .875rem; }
.guide-frame summary { min-height: 44px; cursor: pointer; }
.guide-frame .field { font-size: .875rem; text-align: left; }
.guide-frame input, .guide-frame select, .guide-frame textarea { font-size: 1rem; min-height: 48px; border-radius: 10px; }
.guide-frame .form-stack { margin-top: 22px; gap: 17px; }
.guided-cost-form { text-align: left; }
.guided-cost-form .btn { width: 100%; min-height: 48px; font-size: 1rem; margin-top: 3px; }
.guided-cost-form .muted { font-size: .875rem; }
.guided-answer-form { text-align: left; }
.guided-answer-form > .btn { width: 100%; min-height: 48px; }
.guided-service-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.guided-service-options legend { font-size: 1rem; line-height: 1.5; margin-bottom: 12px; }
.guided-service-options label { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 10px 12px; border: 1px solid #a2b8a8; border-radius: 10px; background: #fffdf9; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.guided-service-options label:has(input:checked) { border-color: #527b62; background: #edf5ef; }
.guide-frame .guided-service-options input[type=checkbox] { width: 20px; height: 20px; min-height: 20px; flex: 0 0 20px; margin: 0; padding: 0; accent-color: #506449; }
.guided-completion { padding: 22px 18px; border: 1px solid #bfd6c7; border-radius: 15px; background: #edf5ef; text-align: left; margin: 22px 0; }
.guided-completion h2 { font-size: 1.125rem; }
.guided-completion p { font-size: 1rem; margin-top: 10px; }
.completion-amount { display: block; font: 500 clamp(1.6rem, 4vw, 2rem)/1.25 var(--serif); color: #506449; margin: 12px 0; }
.completion-amount > span { display: block; font: 500 1rem/1.5 var(--sans); margin: 0 0 5px; }
.completion-amount > strong { display: block; font-weight: 500; }
.completion-amount small { font: 400 .9375rem/1.5 var(--sans); margin-left: 6px; }
.guided-completion .completion-amount > p { font: 400 1rem/1.6 var(--sans); }
.guide-frame .welcome-actions { gap: 8px; margin-top: 22px; }
.guide-frame .welcome-actions .btn { width: 100%; max-width: none; min-height: 48px; font-size: 1rem; border-radius: 11px; }
.guide-frame .welcome-actions .linkbtn { min-height: 44px; font-size: .875rem; }
.guide-frame > .muted { font-size: .875rem; }

.assessment-frame .hint { font-size: 1rem; }
.assessment-frame .choice { font-size: 1rem; min-height: 60px; }
.assessment-frame .muted, .assessment-skip .linkbtn { font-size: .875rem; }
.assessment-skip .linkbtn { min-height: 44px; }
.assessment-frame .btn { min-height: 48px; }
.header-inner .home-link { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; }

#plan-access { width: min(640px, calc(100% - 28px)); }
#plan-access .plan-access-inner summary, #plan-access details:not([open]) > summary { min-height: 44px; font-size: .875rem; }
#plan-access .plan-access-inner p { font-size: .9375rem; line-height: 1.6; }
#plan-access.claim-screen { margin: 32px auto 0; }
#plan-access.claim-screen .plan-access-inner { padding: 30px; border: 1px solid #e4d8de; border-radius: 22px; background: #fffdf9; box-shadow: 0 16px 48px #35332e09; }
#plan-access.claim-screen h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin-bottom: 14px; }
#plan-access .btn, #plan-access .linkbtn { min-height: 44px; }

@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 0; padding: 8px 0 0; }
  .header-inner .logo { white-space: nowrap; flex-shrink: 0; }
  .header-inner .home-link { flex-basis: 100%; justify-content: center; min-height: 34px; }
  .welcome-frame { padding: 23px 18px; border-radius: 18px; }
  .welcome-frame h1 { font-size: 2rem; }
  .welcome-lead { font-size: 1rem; }
  .summary-frame { padding-top: 18px; }
  .summary-frame h1 { font-size: 1.85rem; margin-bottom: 10px; }
  .summary-frame .welcome-lead { font-size: .9375rem; line-height: 1.5; }
  .summary-frame .welcome-section { margin-top: 18px; }
  .summary-frame .welcome-path-step.is-next { grid-template-columns: minmax(0, 1fr); }
  .summary-frame .welcome-path-step.is-next > .path-node { display: none; }
  .summary-frame .welcome-path-step.is-next::after { display: none; }
  .summary-frame .welcome-path-step.is-next > .path-current { padding: 14px; }
  .summary-frame .path-current h2 { font-size: 1.0625rem; }
  .summary-frame .path-reason { font-size: .9375rem; line-height: 1.5; }
  .summary-frame .welcome-path-step .btn { margin-top: 13px; }
  .summary-frame .path-caption { margin-top: 8px; }
  .welcome-path-step { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
  .path-node { width: 32px; height: 32px; }
  .welcome-path-step:not(:last-child)::after { left: 15px; top: 39px; }
  .welcome-path-step.is-next > .path-current { padding: 15px 13px; }
  .welcome-path-step .btn { padding-inline: 12px; }
  .welcome-utilities { gap: 0 14px; }
  .assessment-frame .choices { grid-template-columns: 1fr; }
  .assessment-frame .choice { min-height: 50px; padding: 12px; }
  .assessment-frame .choice[aria-pressed=true] { padding: 11px; }
  .logo { font-size: 22px; }
  .logo img { width: 34px; }
  #plan-access.claim-screen .plan-access-inner { padding: 24px 20px; }
}

@media (max-width: 350px) {
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 0; padding: 10px 0 4px; }
  .welcome-frame { padding-inline: 15px; }
  .welcome-frame h1 { font-size: 1.85rem; }
  .welcome-path-step { gap: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .is-advancing .stairs-halo { animation: mm-step-glow 850ms ease-out both; }
  .is-advancing .stairs-lit { animation: stair-advance 720ms cubic-bezier(.22,1,.36,1) both; }
  .is-advancing .stairs-spark { animation: mm-spark 800ms cubic-bezier(.22,1,.36,1) both; }
  .assessment-progress.is-complete .stairs-star { animation: mm-star-glow 1050ms ease-out both; }
  @keyframes mm-step-glow { 0% { stroke-dashoffset: var(--from); opacity: .35; } 45% { opacity: 1; } 100% { stroke-dashoffset: var(--to); opacity: .6; } }
  @keyframes mm-star-glow { 0% { opacity: .55; filter: drop-shadow(0 0 2px #e9b65c); } 55% { opacity: 1; filter: drop-shadow(0 0 5px #f1c46f) drop-shadow(0 0 13px #e3b35cb3); } 100% { opacity: 1; filter: drop-shadow(0 0 3px #f1c46f) drop-shadow(0 0 9px #e3b35ca6); } }
  #app.is-screen-change > .welcome-frame,
  #app.is-screen-change .workspace-main,
  #app .assessment-frame.is-step-change { animation: mm-screen-enter 280ms cubic-bezier(.22, 1, .36, 1) both; }
  #app .assessment-frame .question-head,
  #app .assessment-frame .choices { animation: none; }
  .welcome-path-step { animation: none; }
  .guided-completion { animation: none; }
  @keyframes mm-screen-enter { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: none; } }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-frame, .welcome-frame *, .assessment-frame, .assessment-frame *,
  .workspace, .workspace * { animation: none !important; transition: none !important; }
  .welcome-frame, .assessment-frame, .workspace-main { transform: none !important; }
}

/* Compact consultation: shared phase labels, inset iconography, quieter choices. */
#app .lean-assessment { max-width:600px; padding:clamp(22px,4vw,36px) clamp(18px,4vw,34px); }
#app .lean-assessment .assessment-progress { margin:0 auto 22px; gap:14px; }
#app .lean-assessment .assessment-progress strong { color:#506449; font-size:14px; font-weight:600; }
#app .lean-assessment .assessment-progress small { font-size:12px; color:#736d64; }
#app .lean-assessment .question-head { margin:0 0 26px; }
#app .lean-assessment .question-head h1 { font-size:clamp(24px,3.3vw,31px); }
#app .lean-assessment .assessment-group { margin:0 0 26px; }
#app .lean-assessment .assessment-group h2 { font:600 14px/1.4 var(--sans); text-align:left; margin:0 0 12px; }
#app .lean-assessment .assessment-group .hint { margin:0 0 10px; text-align:left; font-size:13px; line-height:1.5; }
#app .lean-assessment .choices { gap:10px; }
#app .lean-assessment .choice { min-height:48px; padding:11px 13px; gap:8px; border-radius:9px; font-size:14px; line-height:1.35; border-width:1px; }
#app .lean-assessment .choice[aria-pressed=true] { padding:11px 13px; border-width:1px; }
#app .lean-assessment .choice .icon { width:17px; height:17px; color:#64795d; }
#app .lean-assessment .choice-label { flex:1; min-width:0; }
#app .lean-assessment .radio { width:16px; height:16px; margin-left:auto; }
#app .lean-assessment .actions { margin-top:8px; }
#app .lean-assessment .assessment-privacy { font-size:12px; margin:16px 0 0; }
#app .lean-assessment .assessment-skip { border:0; padding:0; margin:6px 0 0; }
#app .lean-assessment .assessment-skip .linkbtn { font-size:13px; min-height:44px; }
#app .summary-frame .lean-save { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; padding:14px; margin:12px 0 0; text-align:left; background:#fffdf9; border:1px solid #dedbd1; border-radius:11px; }
#app .lean-save h2 { font-size:17px; margin:0 0 4px; }
#app .lean-save p { font-size:13px; line-height:1.5; }
#app .lean-save .btn { width:100%; }
#app .lean-save > .linkbtn { justify-self:center; }
#app .summary-frame .welcome-section { margin-top:12px; }
#app .summary-frame .path-current { padding:12px; }
#app .summary-frame .path-caption { display:none; }
#app .summary-frame .path-reason { font-size:14px; line-height:1.45; }
#app .summary-frame .welcome-lead { font-size:14px; line-height:1.5; }
@media(max-width:480px) {
 #app .lean-assessment { padding:20px 18px 18px; }
 #app .lean-assessment .choices { grid-template-columns:1fr; }
 #app .lean-assessment .choices.multi { grid-template-columns:repeat(2,minmax(0,1fr)); }
 #app .lean-assessment .choices.multi .choice { gap:5px; }
}
@media(max-width:350px){ #app .lean-assessment .choices.multi { grid-template-columns:1fr; } }

/* A short, skippable presentation of the already-built plan. */
#app .synthesis-frame { max-width:460px; padding:28px 24px; text-align:center; }
.synthesis-mark { width:104px; height:78px; margin:0 auto 14px; position:relative; }
.synthesis-mark svg,.synthesis-emblem { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.synthesis-mark svg { overflow:visible; }
.synthesis-base,.synthesis-lit,.synthesis-step { fill:none; stroke-linecap:round; stroke-linejoin:round; }
.synthesis-base { stroke:#e2d3be; stroke-width:2.8; }
.synthesis-lit { stroke:#b78235; stroke-width:3.2; stroke-dasharray:100; stroke-dashoffset:0; filter:drop-shadow(0 0 4px #e7bd6f); }
.synthesis-step { stroke:#b78235; stroke-width:3.2; stroke-dasharray:100; stroke-dashoffset:0; filter:drop-shadow(0 0 4px #e7bd6f); }
.synthesis-star { fill:#c9a05f; filter:drop-shadow(0 0 6px #e7bd6f); transform-box:fill-box; transform-origin:center; }
.synthesis-emblem { opacity:1; }
.synthesis-mark svg { opacity:0; }
.synthesis-lines { display:grid; gap:7px; margin:16px 0 8px; }
.synthesis-lines p { color:#506449; font-size:14px; line-height:1.4; margin:0; overflow-wrap:anywhere; }
.synthesis-frame .linkbtn { color:#506449; font-size:13px; }
.practice-mirror { border:1px solid #d8e0d3; background:#e8eee4; border-radius:12px; padding:13px; margin:12px 0; text-align:left; }
.practice-mirror h2 { font:600 16px/1.35 var(--sans); margin:4px 0; overflow-wrap:anywhere; }
.practice-mirror .eyebrow,.practice-mirror .mirror-stage { color:#506449; font-size:12px; line-height:1.4; margin:0; }
.mirror-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:10px 0; }
.mirror-stat { display:grid; justify-items:center; align-content:start; gap:3px; text-align:center; border-right:1px solid #cbd7c4; padding:2px 4px; }
.mirror-stat:last-child { border:0; }
.mirror-stat strong { color:#506449; font:600 24px/1.1 var(--sans); }
.mirror-stat span { color:#35332e; font-size:11px; line-height:1.3; }
.mirror-note { font-size:12px; line-height:1.4; margin:0; }
#app #plan-access.inline-plan-access { width:100%; margin:0; }
#app #plan-access.inline-plan-access .plan-access-inner { background:transparent; border:0; padding:0; box-shadow:none; }
#app #plan-access.inline-plan-access details { padding:0; border:0; background:transparent; }
#app #plan-access.inline-plan-access summary { display:none; }
#app #plan-access.inline-plan-access .actions { margin-top:0; display:grid; gap:6px; }
#app #plan-access.inline-plan-access .actions .btn { width:100%; max-width:none; }
#app #plan-access.inline-plan-access .field { font-size:13px; }
#app #plan-access.inline-plan-access input { font-size:16px; }
@media(prefers-reduced-motion:no-preference) {
 .synthesis-mark svg { animation:mm-summit-symbol 4s linear both; }
 .synthesis-step { animation:mm-step-draw .45s calc(.25s + var(--i) * .55s) ease-out both, mm-step-glow .9s calc(.25s + var(--i) * .55s) ease-out both; }
 @keyframes mm-step-draw { from {stroke-dashoffset:100} to {stroke-dashoffset:0} }
 @keyframes mm-step-glow { 0% {filter:none} 50% {filter:drop-shadow(0 0 7px #f2c66d) drop-shadow(0 0 14px #e7bd6f)} 100% {filter:drop-shadow(0 0 4px #e7bd6f)} }
 .synthesis-mark .synthesis-emblem { animation:mm-emblem-settle .6s 3.25s ease both; filter:drop-shadow(0 0 6px #e7bd6f); }
 .synthesis-lit { animation:mm-summit-climb 2.5s cubic-bezier(.22,1,.36,1) both; }
 .synthesis-star { animation:mm-summit-star 1s 2.3s ease-out both; }
 .synthesis-lines p { animation:mm-summary-line .35s ease-out both; }
 .synthesis-lines p:nth-child(2) { animation-delay:1.3s; }
 .synthesis-lines p:nth-child(3) { animation-delay:2.6s; }
 @keyframes mm-summit-climb { from {stroke-dashoffset:15} to {stroke-dashoffset:0} }
 @keyframes mm-summit-symbol { 0%,80%{opacity:1} 94%,100%{opacity:0} }
 @keyframes mm-emblem-settle { from{opacity:0;transform:scale(.95)}to{opacity:1;transform:none} }
 @keyframes mm-summit-star { from{opacity:.2;transform:scale(.6)} 50%{opacity:1;transform:scale(1.3);filter:drop-shadow(0 0 10px #f5d27e) drop-shadow(0 0 22px #e7b34d)} to{opacity:1;transform:none;filter:drop-shadow(0 0 7px #e7bd6f)} }
 @keyframes mm-summary-line { from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none} }
}
@media(prefers-reduced-motion:reduce){ .synthesis-frame *{animation:none!important;transition:none!important} }

/* Welcome back: continue where you left off, or start over. Soft ivory, sage and gold. */
#app .return-frame { max-width:520px; text-align:center; padding:clamp(28px,4vw,40px) clamp(20px,4vw,34px); background:linear-gradient(180deg,#fffdf9,#faf7f2); border:1px solid #e7e1d6; }
.return-mark { width:84px; height:84px; margin:0 auto 14px; border-radius:50%; display:grid; place-items:center; background:radial-gradient(circle,#fffaf0 0%,#f5ead5 70%,#efe2c8 100%); box-shadow:0 0 0 6px #c9a05f12, 0 10px 26px #c9a05f2b; }
.return-mark img { width:56px; height:42px; filter:drop-shadow(0 0 6px #e6bf7980); }
#app .return-frame .eyebrow { color:#64795d; letter-spacing:.18em; }
.return-frame h1 { margin:6px 0 10px; color:#35332e; }
.return-where { margin:0 auto 24px; max-width:36ch; color:#5f5b53; }
.return-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.return-actions .btn { min-width:200px; }
.return-confirm { margin-top:4px; padding:16px; border:1px solid #e7dcd6; background:#f6eeeb; border-radius:12px; }
.return-confirm p { margin:0 0 12px; color:#35332e; font-size:14px; }
@media(max-width:480px){ .return-actions { flex-direction:column; } .return-actions .btn { width:100%; min-width:0; } }
