/* Shared by the clinic journey pages (form, welcome, connect): header, 5-stage stepper, wizard chrome. */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
a.brand { text-decoration: none; color: inherit; }
.top-help { color: var(--sea); font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; background: var(--surface); }

.journey-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: j; }
.journey-bar li { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); position: relative; padding-top: 0; }
.journey-bar li::before { content: ""; height: 4px; border-radius: 99px; background: var(--line); }
.journey-bar li.done::before { background: var(--sea); }
.journey-bar li.now::before { background: var(--coral); }
.journey-bar li.now { color: var(--ink); font-weight: 600; }
.journey-bar span { display: none; }
@media (max-width: 560px) { .journey-bar li:not(.now) { font-size: 0; } .journey-bar li:not(.now)::before { font-size: 12px; } }

.wiz-head { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 10px 0 8px; display: grid; gap: 8px; }
.wiz-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.wiz-meta b { font-family: var(--f-display); font-weight: 600; font-size: 20px; }
.wiz-meta span { color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.wiz-meter { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.wiz-meter span { display: block; height: 100%; width: 0; background: var(--sea); border-radius: inherit; transition: width .4s ease; }
.saved { margin: 0; font-size: 12.5px; color: var(--ok); min-height: 1em; }
.wiz-nav { display: flex; justify-content: space-between; gap: 10px; }
.wiz-nav .btn { min-width: 120px; padding: 12px 20px; }
.wiz-nav .btn.primary { width: auto; margin: 0; margin-inline-start: auto; }
form > fieldset:not([hidden]) { animation: wiz-in .3s ease both; }
@keyframes wiz-in { from { transform: translateY(8px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { form > fieldset { animation: none !important; } .wiz-meter span { transition: none; } }
.consent .btn.primary { margin-top: 16px; }
form.wiz > fieldset:not(.consent) > legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
