/* Shared customer journey: continue the tutorial's simple visual language. */
:root{--ink:#171717;--muted:#4c4c4c;--accent:#bc241c;--wash:#f5f5f5;--light:#fff;--line:#dedede}
body{background:#fff;color:var(--ink)}
.shell{max-width:900px}.masthead{padding-block:22px;border-bottom:1px solid var(--line)}
.signup-head,.page-intro{margin-inline:auto;text-align:center}.signup-head h1,.page-intro h1{margin-inline:auto;max-width:22ch}.signup-head>p:last-child{margin-inline:auto}
.signup-layout{grid-template-columns:1fr;gap:24px;max-width:740px;margin-inline:auto}.signup-aside{border-top:1px solid var(--line)}
.signup-progress{justify-content:center;flex-wrap:wrap}.signup-form,.signup-result{background:#f7f7f7}
.account-page .section,.account-page .inline-plan-panel{max-width:none}.account-page main{max-width:780px}
.button,.nav-cta{background:var(--accent);color:white;border-radius:6px;box-shadow:none;transform:none;white-space:normal;text-align:center}
.button.secondary{background:#f1f1f1;color:#171717}.button:hover{transform:none;filter:brightness(.95)}
.button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #171717;outline-offset:4px}
.field input,.field select,.field textarea{border-color:#888}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #bc241c;outline-offset:2px}
.welcome-panel{padding:28px;background:#fff8d8;margin:28px 0}.welcome-panel h2{font-size:1.8rem}.welcome-panel p{margin-block:14px}
#delivery-summary p,#delivery-summary h3{margin-block:14px}#delivery-summary pre{white-space:pre-wrap;font:inherit;overflow-wrap:anywhere;background:#f7f7f7;padding:20px}
.task-list{padding-left:24px}.task-list li{margin-block:16px}.nav a{font-size:.9rem}
@media(max-width:600px){.shell{width:calc(100% - 36px)}.masthead{gap:18px;flex-wrap:wrap}.signup-head h1,.account-page .page-intro h1{font-size:2.2rem}.welcome-panel{padding:20px}.button{max-width:100%}.signup-progress{gap:12px;font-size:.8rem}}

.setup-step{border:0;border-top:1px solid var(--line);padding:26px 0;margin:22px 0;min-width:0}.setup-step legend{font-size:1.25rem;font-weight:700;padding-right:12px}.setup-step legend span{display:inline-grid;place-items:center;width:30px;height:30px;background:#fff0a8;border-radius:50%;margin-right:8px}.setup-step p{margin:12px 0}.setup-reassurance{background:#fff8d8;padding:16px}.invite-address{background:#f5f5f5;padding:16px;margin:16px 0}.invite-address code{display:block;overflow-wrap:anywhere;margin:12px 0}.access-guide{border:1px solid var(--line);padding:16px;margin:18px 0}.access-guide summary{font-weight:700;cursor:pointer}.access-guide li{margin:12px 0}.access-path{background:#fff8d8;padding:12px;font-weight:600;line-height:1.8}.access-path span{padding:0 6px}.setup-step select{width:100%;max-width:100%}#handover-section{border-top:3px solid var(--accent)}

.service-progress{display:flex;flex-wrap:wrap;gap:10px 20px;list-style:none;padding:0;margin:20px 0;font-size:1rem;color:#666}.service-progress .complete{color:#171717}.service-progress [aria-current]{font-weight:700;color:#a81f18;border-bottom:2px solid #a81f18}.next-action{background:#fff8d8;border-left:4px solid #bc241c;padding:24px;margin:24px 0;scroll-margin-top:20px}.next-action h2{font-size:1.6rem;line-height:1.25}.next-action p{margin:12px 0}.account-page .section{scroll-margin-top:20px}.next-action:focus{outline:2px solid #171717;outline-offset:3px}@media(max-width:600px){.service-progress{display:grid;grid-template-columns:1fr 1fr;font-size:.9rem}.next-action{padding:20px}}

.inline-terms{border:1px solid #ccc;border-radius:6px;margin:24px 0;background:#fff}.inline-terms>summary{padding:18px;font-weight:700;cursor:pointer}.inline-terms-content{padding:0 20px 20px;max-height:65vh;overflow-y:auto;overscroll-behavior:contain}.inline-terms-content h2,.inline-terms-content h3{font-size:1.2rem;line-height:1.4;margin:20px 0 10px}.inline-terms-content p{margin:12px 0}.inline-terms-content .button{margin-top:16px}

.service-record{margin:20px 0;border-bottom:1px solid #ddd;padding-bottom:16px}.service-record>summary{cursor:pointer;font-weight:600;padding:12px 0}.service-record .inline-plan-panel{margin-top:12px}.account-page .page-intro{padding-bottom:0}

.setup-step-nav{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.setup-step-nav button{font:inherit;padding:10px 14px;border:1px solid #bbb;background:#fff;border-radius:6px;cursor:pointer}.setup-step-nav button[aria-current=step]{background:#fff0a8;border-color:#171717;font-weight:700}.setup-step[hidden]{display:none}.setup-step:focus{outline:none}.wizard-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}

.signup-aside>summary{cursor:pointer;font-weight:700;font-size:1.1rem}.service-record .section{margin-top:16px}#saved-scope,#saved-setup{background:#fff}#saved-scope>summary,#saved-setup>summary{padding:18px 0}
/* Reading rhythm: separate topics, keep labels with their controls. */
.account-page #scope-summary h3{margin:32px 0 12px;line-height:1.3}
.account-page #scope-summary h3:first-child{margin-top:0}
.account-page #scope-summary p{margin:0 0 20px;line-height:1.65}
.account-page #scope-summary ul{margin:12px 0 24px;padding-left:24px}
.account-page #scope-summary li+li{margin-top:8px}
.account-page .section h2{margin:0 0 24px;line-height:1.25}
.account-page .section h3{line-height:1.35}
.account-page .setup-step h3{margin:28px 0 12px}
.account-page .setup-step h3:first-of-type{margin-top:12px}
.account-page .field{margin:24px 0}
.account-page .field label{margin-bottom:8px;line-height:1.4}
.account-page .field p{margin:8px 0 0}
.account-page .setup-step{padding:20px 0;margin:24px 0}
.account-page .check-row{margin:24px 0;gap:12px;line-height:1.6}
.account-page .inline-terms{margin:28px 0;border:1px solid var(--line);padding:0}
.account-page .inline-terms>summary{padding:18px}
.account-page .inline-terms-content h2,.account-page .inline-terms-content h3{margin:28px 0 12px}
.account-page .inline-terms-content p{margin:0 0 16px}
.account-page .inline-plan-panel{margin-top:24px}
.account-page .wizard-actions{margin-top:24px}
.signup-result h3{margin:28px 0 10px}
.signup-aside[open]>summary{margin-bottom:20px}
.service-record[open]>summary{margin-bottom:16px}
@media(max-width:600px){.account-page #scope-summary h3{margin-top:28px}.account-page .section h2{margin-bottom:20px}.account-page .inline-terms-content{padding-inline:16px}.account-page .section{padding-block:28px}}
/* Focused setup view and aligned form controls. */
.account-page.setup-editing .page-intro,.account-page.setup-editing #next-action,.account-page.setup-editing #service-record,.account-page.setup-editing #saved-scope,.account-page.setup-editing #saved-setup,.account-page.setup-editing #delivery-section,.account-page.setup-editing #rehearsal-controls{display:none}
.account-page.setup-editing #onboarding-section{border-top:0}
.account-page .check-row{display:flex;align-items:flex-start;gap:12px;padding:0}
.account-page .check-row input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:4px 0 0;padding:0}
.account-page .check-row span{display:block;flex:1;margin:0;line-height:1.6}
.account-page #onboarding-form .wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}
.account-page #onboarding-form .wizard-actions .button{margin:0}
.account-page #onboarding-form .wizard-actions .button:last-child{margin-left:auto}
.account-page #onboarding-status:empty{display:none}
