/* Shared question-first layout. Phone-only spacing remains below. */
.mobile-question-work .mobile-question-title{font-size:30px;line-height:1.2;letter-spacing:-.5px;font-weight:700;color:#fff;margin:0 0 20px;max-width:none}
.mobile-question-work .residence-welcome .mobile-question-title{margin:0}
.journey-complementary{max-width:900px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
.journey-complementary-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 12px}
.journey-complementary>p:not(.journey-complementary-label){font-size:14px;line-height:1.6;color:var(--muted);margin:10px 0}
.mobile-journey-optional{max-width:900px;margin-top:18px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:16px}
.mobile-journey-optional summary{cursor:pointer;font-size:14px;font-weight:700}
.mobile-journey-optional .current-insurance-details{margin-top:14px;padding:0}
@media(max-width:820px){
 .context-back:has(+ #screen .mobile-question-work){padding:8px 12px 0;gap:0}
 .context-back:has(+ #screen .mobile-question-work)>button{display:none}
 .context-back:has(+ #screen .mobile-question-work) .route-context{font-size:11px;gap:8px}
 .context-back:has(+ #screen .mobile-question-work) .route-context button{min-height:32px;padding:6px 10px;font-size:11px}
 .workspace:has(.mobile-question-work){min-height:calc(100svh - var(--clari-header-height,68px))}
 .mobile-question-work.work{padding:12px 12px 24px}
 .mobile-question-work .mobile-progress{margin-bottom:12px}
 .mobile-question-work .journey-meta{font-size:11px;margin-bottom:6px}
 .mobile-question-work .progress{height:4px}
 .mobile-question-work .mobile-question-card{padding:18px 16px;border-radius:18px;margin:0}
 .mobile-question-work .mobile-question-title{font-size:24px;line-height:1.15;letter-spacing:-.65px;font-weight:700;color:#fff;margin:0 0 16px;max-width:none}
 .mobile-question-work .residence-welcome{margin:0 0 16px;gap:10px}
 .mobile-question-work .residence-welcome .mobile-question-title{margin:0}
 .mobile-question-work .residence-welcome>.choice-icon{width:28px;height:28px;flex-shrink:0}
 .mobile-question-work .choices{gap:8px}
 .mobile-question-work .radio-choice{min-height:48px;padding:12px;gap:10px}
 .mobile-question-work .person-choice{min-height:58px}
 .mobile-question-work .choice-copy b{font-size:14px;line-height:1.35;margin:0}
 .mobile-question-work .choice-icon{width:28px;height:28px}
 .mobile-question-work .residence-details,.mobile-question-work .situation-nationalities{margin-top:14px;padding:14px;gap:12px}
 .mobile-question-work .form-field{gap:6px;margin:0}
 .mobile-question-work .passport-stack{gap:12px}
 .mobile-question-work .age-group{margin-top:14px;padding-top:14px}
 .mobile-question-work .age-grid{gap:8px}
 .mobile-question-work>.journey-actions{position:sticky;bottom:0;z-index:20;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;margin:0 -12px;padding:12px 12px calc(12px + env(safe-area-inset-bottom));background:var(--paper);border-bottom:1px solid var(--line)}
 .mobile-question-work>.journey-actions button{min-height:46px;padding:10px 16px;font-size:14px}
 .mobile-journey-optional{margin-top:18px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px}
 .mobile-journey-optional summary{cursor:pointer;font-size:14px;font-weight:700}
 .mobile-journey-optional .current-insurance-details{margin-top:14px;padding:0}
 .mobile-journey-optional .form-grid{gap:16px}
 .journey-complementary{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}
 .journey-complementary-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:0 0 14px}
 .journey-complementary>p:not(.journey-complementary-label){font-size:13px;line-height:1.55;color:var(--muted);margin:12px 0}
 .journey-complementary .workhead{margin:0 0 14px}
 .journey-complementary .workhead .eyebrow,.journey-complementary .workhead>.pill{display:none}
 .journey-complementary .workhead h2{font-size:18px;line-height:1.3;letter-spacing:-.3px;margin:0 0 8px}
 .journey-complementary .lead,.journey-complementary>.passport-note,.journey-complementary>.timing-intro,.journey-complementary>.timing-note,.journey-complementary>.budget-note,.journey-complementary>.residence-welcome p{font-size:13px;line-height:1.55;color:var(--muted);margin:12px 0;padding:0;background:none;border:0}
 .journey-complementary .engagement-guide{margin:14px 0;padding:16px}
 .journey-complementary .engagement-guide h2{font-size:18px}
}
/* Keep the journey header focused on progress, without repeating the selected path. */
.context-back:has(+ #screen .mobile-question-work) .route-context{display:none}
.mobile-question-work .journey-meta>span{display:none}
@media(max-width:820px){.context-back:has(+ #screen .mobile-question-work){display:none}}

/* The summary follows the same compact progress header as the questions. */
.context-back:has(+ #screen .discovery-review) .route-context,.work:has(> .discovery-review) .journey-meta>span{display:none}
@media(max-width:820px){.context-back:has(+ #screen .discovery-review){display:none}.work:has(> .discovery-review){padding:12px 12px 24px}.work:has(> .discovery-review) .mobile-progress{margin-bottom:12px}}
