.journey-page{max-width:940px;margin:auto}.journey-top{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}.journey-page h1{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:12px 0 18px}.journey-page p,.journey-page label{font-size:18px;line-height:1.55}.journey-page label{display:block;margin:24px 0 8px;font-weight:600}.journey-page textarea,.journey-page input,.journey-page select{width:100%;font-size:18px;padding:14px;border:1px solid #abc3d8;border-radius:9px;background:white;color:#092e55;box-sizing:border-box}.journey-page textarea{min-height:110px;resize:vertical}.journey-card{padding:clamp(20px,4vw,36px);border:1px solid #d3e0ed;border-radius:18px;background:white;margin:20px 0}.journey-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0 12px}.journey-status{font-size:16px!important;color:#285a75;min-height:26px}.journey-status.error{color:#a12624}.journey-resume{background:#eaf3ff;padding:14px 18px;border-radius:10px}.journey-page .progress{height:8px;margin:16px 0}.journey-review section{border-top:1px solid #d3e0ed;padding:18px 0}.journey-review h3{font-size:23px}.journey-review p{white-space:pre-wrap}.questionnaire-editor .edit-question{border-top:1px solid #d3e0ed;margin-top:24px;padding-top:12px}.questionnaire-editor details{margin:16px 0}.questionnaire-editor summary{font-size:20px;font-weight:700;padding:18px;background:#eef5fd;border-radius:10px;cursor:pointer}.questionnaire-editor .editor-dock{position:sticky;bottom:0;padding:14px;background:#092e55;color:white;border-radius:10px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.questionnaire-editor .editor-dock .btn-primary{background:white;color:#092e55}.journey-page .btn{min-height:48px;white-space:normal}.journey-page .btn:focus-visible{outline:3px solid #ed7515;outline-offset:3px}@media(max-width:600px){.journey-page{padding:20px 16px}.journey-actions .btn{width:100%}.portal-shell-header{flex-wrap:wrap}.portal-navigation{flex-wrap:wrap}.journey-page h1{overflow-wrap:anywhere}} 

.journey-thanks{max-width:760px;margin:20px auto}.journey-thanks p{max-width:65ch;margin:0 0 22px}.journey-thanks h1{font-size:clamp(27px,4vw,38px)}.journey-thanks .btn{margin-top:14px}

/* Keep the questions in focus; secondary controls share one compact row. */
.diagnostic-page .portal-shell-header{position:relative!important;padding:12px 20px!important;gap:8px}
.diagnostic-page .portal-logo img{width:140px}
.diagnostic-page .portal-brand-caption{font-size:14px}
.diagnostic-page .portal-navigation>a{background:transparent;border:0;font-size:14px;padding:6px 10px;min-height:44px}
.diagnostic-page .portal-navigation>.portal-home-link{color:#052b55}
.diagnostic-page .journey-page{padding-top:16px}
.journey-top{gap:4px 12px;align-items:center}
.journey-count{font:600 14px/1.4 Arial,sans-serif;color:#285a75;flex:1 1 180px}
.journey-tools{display:flex;gap:4px;align-items:center}
.journey-tool{display:inline-flex;align-items:center;justify-content:center;background:transparent;color:#075eae;font:600 14px/1.3 Arial,sans-serif;min-height:44px;padding:6px 10px;border-radius:6px}
.journey-tool:hover{background:#eaf3ff}.journey-tool:focus-visible{outline:3px solid #ed7515;outline-offset:2px}
.journey-page .progress{height:6px;margin:4px 0 8px}
.journey-page .journey-status{font:14px/1.4 Arial,sans-serif!important;min-height:0;margin:0 0 6px}
.journey-status:empty{display:none}
.journey-resume{background:transparent;padding:0;margin:0 0 12px;color:#456079;font:14px/1.5 Arial,sans-serif}
.journey-resume summary{cursor:pointer;padding:6px 0}
.journey-page .journey-resume p{font-size:14px;margin:8px 0}
.journey-card{margin-top:12px}
@media(max-width:600px){.diagnostic-page .portal-shell-header{padding:10px 16px!important}.diagnostic-page .portal-logo{flex:1 1 100%}.diagnostic-page .portal-logo img{width:120px}.diagnostic-page .portal-brand-caption{font-size:13px}.diagnostic-page .portal-navigation{flex:0 1 auto;gap:4px}.diagnostic-page .portal-navigation>a{padding:4px 8px;font-size:14px}.diagnostic-page .journey-page{padding-top:12px}.journey-top{flex-wrap:wrap}.journey-count{flex:1 1 150px}.journey-tool{padding:4px 8px;font-size:13px}.journey-tools{gap:0}.journey-card{padding:20px 18px}.journey-page h1{font-size:28px}}

.trade-work-choice{display:flex;gap:12px;align-items:center;min-height:48px;padding:8px 0}.trade-work-choice input{width:22px;height:22px;flex:none}.journey-card fieldset{margin:20px 0;padding:16px;border:1px solid #cbd5e1;border-radius:12px}

/* TC2 choices keep a usable touch target at narrow phone widths. */
.tc2-choices{min-width:0;padding:0;border:0}.tc2-choices legend{font-weight:700;font-size:1.15rem;line-height:1.4}.tc2-choices .trade-work-choice{display:flex;align-items:flex-start;gap:10px;padding:12px;min-height:44px;border:1px solid #bccbda;border-radius:8px;margin:8px 0;overflow-wrap:anywhere}.tc2-choices input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:2px 0}.journey-card textarea{max-width:100%;box-sizing:border-box} .journey-card{overflow-wrap:anywhere}

.check-exit-header{max-width:1120px;margin:auto;min-height:76px;padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.check-exit-header .portal-logo img{max-width:180px;height:auto}.check-exit-header .portal-navigation{display:flex;flex-wrap:wrap;gap:8px 18px}.check-exit-header a{display:inline-flex;align-items:center;min-height:44px;font-size:15px;color:#0a2d50}.check-exit-header a:focus-visible{outline:3px solid #1475df;outline-offset:4px}@media(max-width:540px){.check-exit-header{padding:8px 16px;flex-wrap:wrap;gap:4px}.check-exit-header .portal-logo img{max-width:145px}.check-exit-header .portal-navigation{gap:8px 14px}.check-exit-header a{font-size:14px}}

/* The shared mobile masthead remains centred on every question and result. */
@media(max-width:767px){.diagnostic-page .check-exit-header .portal-logo{flex:0 0 auto!important}.diagnostic-page .check-exit-header .portal-logo img{width:min(58vw,275px)!important}.tc2-choices .trade-work-choice{cursor:pointer;touch-action:manipulation}.tc2-choices input[type=checkbox]{appearance:auto;-webkit-appearance:checkbox;accent-color:#0875dd}.tc2-choices .trade-work-choice:has(input:checked){border-color:#0875dd;background:#edf6ff}}
