.wizard-progress{display:flex;gap:6px;margin-bottom:14px;scroll-margin-top:14px}.wizard-progress button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:13px;color:#526079;padding:7px}.wizard-progress button span{display:grid;place-items:center;border-radius:50%;height:23px;min-width:23px;background:#eef2f9}.wizard-progress [aria-current=step]{border-color:#2463eb;color:#1749bd;background:#edf3ff;font-weight:700}.wizard-progress [aria-current=step] span{background:#2463eb;color:white}.wizard-progress button:disabled{opacity:.65}.wizard-step[hidden],.wizard-actions [hidden]{display:none!important}.wizard-step:focus{outline:0}.wizard-step .section-label>span{display:none!important}.wizard-step .section-label{margin-bottom:10px}.wizard-step .section-label h2{font-size:20px}.wizard-completion{padding:8px 10px;margin:0 0 12px;background:#f1f5fc;border-radius:8px;font-size:13px}.wizard-completion p{margin:0}.wizard-completion button{min-height:38px;font-size:12px;padding:5px}.wizard-completion [data-missing-questions]{display:flex;flex-wrap:wrap;gap:4px 12px}.wizard-actions{display:flex;justify-content:space-between;gap:10px;position:sticky;bottom:0;background:#f7f9fdf2;padding:12px 0;z-index:4}.wizard-actions button{min-height:44px}.wizard-actions>:only-child{margin-left:auto}.review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 8px}.review-heading h3{font-size:16px;margin:0}.review-heading button{font-size:13px;min-height:44px}.review-group{border-top:1px solid var(--line);font-size:14px}.review-group summary{display:flex;justify-content:space-between;cursor:pointer;padding:12px 4px;min-height:44px}.review-group summary:after{content:'⌄';margin-left:12px}.review-group summary strong{margin-left:auto}.review-group ul{padding-left:24px;max-height:260px;overflow:auto;font-size:13px}.review-group li{padding:5px 0}.review-answers{font-size:14px}.review-answers>div{border-top:1px solid var(--line);padding:12px 0}.review-answers dt{font-weight:650}.review-answers dd{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.review-answers .required{font-size:11px;color:#8b352b;font-weight:400}.wizard-warning{padding:10px;background:#fff6df;border:1px solid #e9d493;border-radius:7px;font-size:13px}.guided-response .privacy-note{font-size:12px}.guided-response .form-error:empty{display:none}@media(max-width:700px){.prototype-toolbar{margin:8px 12px 0;padding:10px}.prototype-toolbar>span{flex-basis:100%}.prototype-toolbar label{width:100%;justify-content:space-between}.prototype-toolbar select{max-width:60%}.guided-response main{padding-top:14px}.guided-response .event-heading h1{font-size:25px}.wizard-progress{gap:4px}.wizard-progress button{font-size:12px;gap:4px;padding:5px 3px}.wizard-progress button span{height:21px;min-width:21px}.wizard-step .panel{padding:16px}.wizard-actions button{font-size:13px;padding:10px 12px}.wizard-completion button{min-height:44px}.review-heading{gap:4px}.review-heading button{font-size:12px}}

.guided-response .event-layout{margin-top:14px}.guided-response #required-date-progress{border:0;background:transparent;padding:0;margin:0}.guided-response #required-date-progress[hidden],.guided-response #required-date-progress [data-required-date-progress]{display:none!important}.guided-response #wizard-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.guided-response #wizard-identity .section-label,.guided-response #wizard-identity>p,.guided-response #wizard-identity>.checkbox-label{grid-column:1/-1}.guided-response #wizard-identity>label{margin:0;min-width:0}.guided-response #wizard-identity input{min-width:0}.guided-response #wizard-identity>p{margin:0;font-size:12px}.wizard-completion{display:flex;align-items:center;flex-wrap:wrap;gap:3px 8px}.wizard-completion>p{flex:1 1 100%}@media(max-width:400px){.guided-response #wizard-identity{grid-template-columns:1fr}.wizard-progress button{flex-direction:column;gap:2px}.wizard-progress button span{font-size:11px}}
.guest-preservation{grid-column:1/-1;border-top:1px solid var(--line);padding-top:8px;font-size:12px}.guest-preservation p{margin:5px 0}.guest-preservation details{margin-top:8px}.guest-preservation input{font-size:14px}.invitation-row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere}.invitation-row small{display:block}.pwa-update{position:fixed;bottom:12px;left:12px;right:12px;z-index:100}.wizard-actions{padding-bottom:max(12px,env(safe-area-inset-bottom));margin-bottom:8px}
.event-layout:has(.guided-response) .event-heading h1{font-size:clamp(25px,3vw,32px)}

/* The desktop form uses the same mounted inputs and calendar, in reading order. */
/* Cap the form track, not the observed wrapper: desktop stays single-page. */
.event-layout:has(.single-page-response){grid-template-columns:minmax(0,800px);justify-content:center;gap:16px;margin-top:28px}
.event-layout:has(.single-page-response) .event-heading{position:static;padding-top:0;margin-bottom:0}
.event-layout:has(.single-page-response) .event-heading h1{margin:8px 0}
.event-layout:has(.single-page-response) .event-heading p{margin:8px 0}
.event-layout:has(.single-page-response) .event-heading .aside-rule{display:none}
.single-page-response{width:100%;padding-bottom:0}
.wizard-progress[hidden]{display:none!important}
.single-page-response .wizard-completion>p{flex:1 1 auto}
.single-page-response .wizard-actions{position:static;justify-content:flex-end;background:transparent;padding:0;margin:14px 0 8px}
.guest-review-dialog{width:min(760px,calc(100vw - 32px));max-width:760px;max-height:85dvh;padding:0 24px 20px;color:var(--ink);background:white;overflow:auto;overscroll-behavior:contain}
.guest-review-dialog::backdrop{background:#10203866}
.guest-review-toolbar{position:sticky;top:0;display:flex;justify-content:flex-end;background:white;padding:14px 0;z-index:1}
.guest-review-toolbar button{min-height:44px;font-size:13px;padding:9px 14px}
.guest-review-dialog .panel{border:0;padding:0;margin:0}
.guest-review-dialog .review-heading{margin-top:16px}
.single-page-response #wizard-identity .section-label>span{display:none}.single-page-response #wizard-identity .section-label{margin-bottom:10px}.single-page-response #wizard-identity .section-label h2{font-size:20px}
