/* Resume workspace: reference-inspired surfaces, scoped to this page. */
.resume-page{--ink:#0b1c30;--ink-2:#536176;--accent:#3755c3;--bg:#fff;--line:#dce4ef;--radius:9px;background:#f8f9ff;color:var(--ink);font-size:14px;line-height:1.65}
.resume-page .resume-shell{max-width:none;background:transparent;border:0}.resume-page .site-topbar{position:sticky;top:0;padding:14px max(24px,calc((100vw - 1240px)/2))!important;min-height:68px;background:#fffffff2;border:0;box-shadow:0 1px 10px #0f2b4808;backdrop-filter:blur(16px);z-index:50}.resume-page .site-topbar .wordmark{font-size:22px;letter-spacing:-.055em;color:#0f2b48}.resume-page .site-tabs{justify-content:center;gap:28px}.resume-page .site-tabs a{font-size:14px;font-weight:600;line-height:1.4}.resume-page .account-menu summary{border:0;background:#eff4ff;padding:10px 14px;max-width:200px}.resume-page .account-options{width:180px;border:0;border-radius:12px;padding:8px;box-shadow:0 12px 36px #0f2b481f}.resume-page .account-options a[href="/resume/"]{color:#3755c3!important;background:#eff4ff;font-weight:600}
.resume-page main{max-width:1240px;padding:32px 24px 40px}.resume-page h1{font-size:30px;line-height:1.35;letter-spacing:-.045em;font-weight:700;margin:0}.resume-page h2{font-size:20px;letter-spacing:-.035em;margin:0;line-height:1.4}.resume-page h3{font-size:15px;margin:0;font-weight:600}.resume-page p{margin:0}.resume-page a{color:#3755c3}.breadcrumb{display:flex;gap:12px;align-items:center;color:#68768a;font-size:12px;margin-bottom:24px!important}.breadcrumb a{color:inherit;text-decoration:none}.resume-page .eyebrow{font-size:10px;letter-spacing:.17em;font-weight:600;color:#647b9c;margin-bottom:8px}.title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-lead{color:#536176;margin-top:9px!important}.history-link{flex-shrink:0;text-decoration:none;font-size:13px;font-weight:600}.history-link span{margin-left:12px}.resume-overview{margin-top:26px;display:grid;grid-template-columns:1.1fr 1fr 1.15fr;background:#fff;border:1px solid #e9edf4;border-radius:12px;padding:22px 24px;box-shadow:0 3px 15px #102b4803;gap:22px}.overview-item{display:flex;align-items:center;gap:13px;min-width:0}.overview-item>div{min-width:0}.overview-item+.overview-item{border-left:1px solid #e9edf4;padding-left:22px}.overview-item strong{display:block;overflow-wrap:anywhere;font-size:13px;font-weight:600}.overview-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#eff4ff;font-size:20px;color:#3755c3;flex-shrink:0}.overview-item:first-child .overview-icon{background:#0f2b48;color:#d2e4ff}.meta-label{display:block;color:#667489;font-size:11px;margin-bottom:3px}.small-copy{font-size:12px;color:#647186;line-height:1.7}.setup-section{margin-top:36px;scroll-margin-top:110px}.section-heading{display:flex;gap:11px;align-items:center;margin-bottom:16px;min-width:0}.step{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#0f2b48;color:#fff;flex-shrink:0;font-size:12px;font-weight:600}.section-note{margin-left:auto;font-size:12px;color:#69768a}.surface{background:#fff;padding:24px;border:1px solid #edf0f6;border-radius:12px;box-shadow:0 3px 12px #102b4803}.resume-page .btn{width:auto;margin:0;min-height:42px;padding:10px 15px;font-size:13px;font-weight:600;border-radius:8px;white-space:normal}.resume-page .btn.primary{background:#0f2b48;border-color:#0f2b48;color:white}.resume-page .btn.subtle{background:#eff4ff;border-color:transparent;color:#24466e}.resume-page .text-button{background:none;border-color:transparent;color:#536176}.resume-page .btn:hover{filter:brightness(.97)}.resume-page .btn:disabled{cursor:not-allowed;opacity:.5}.sender-card{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.sender-copy{display:flex;align-items:center;gap:16px;flex:1;min-width:0}.mail-symbol{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:12px;background:#eff4ff;color:#3755c3}.mail-symbol svg{width:25px;height:25px}.sender-copy>div{min-width:0}.sender-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sender-title strong{font-size:15px}.state-badge{display:inline-block;font-size:11px;font-weight:500;padding:3px 9px;background:#eff4ff;color:#486380;border-radius:6px}.state-badge[data-state="connected"]{background:#e6f5ef;color:#176d50}.state-badge[data-state="error"]{background:#fff0ed;color:#a43a2c}#mail-state{font-size:14px;overflow-wrap:anywhere;margin-top:5px}.sender-actions{display:flex;gap:6px;flex-wrap:wrap}.sender-note{flex-basis:100%;font-size:12px;color:#647186;border-top:1px solid #edf0f6;padding-top:16px}.resume-page fieldset{border:0;padding:0;margin:0;min-width:0}.resume-page label{margin:0}.file-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.surface-topline{display:flex;justify-content:space-between;align-items:center;gap:12px}.file-display{display:flex;align-items:center;gap:16px;padding:22px 16px;background:#eff4ff;border-radius:9px;margin:20px 0}.file-display>div{min-width:0}.file-display strong{display:block;font-size:15px;overflow-wrap:anywhere}.file-display p{font-size:12px;color:#647186;margin-top:4px}.document-symbol{width:42px;height:52px;border-radius:7px;background:#dce9ff;display:grid;place-items:center;font-size:10px;font-weight:700;color:#3755c3;flex-shrink:0}.file-actions{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0 10px}.resume-page .field-label{font-size:12px;margin-bottom:6px;display:block}.resume-page select,.resume-page input[type=text],.resume-page input[type=number],.resume-page textarea{width:100%;padding:12px 13px;background:#f8f9ff;border:1px solid #dde5f0;border-radius:8px;font:inherit;color:#0b1c30;min-width:0}.resume-page textarea{resize:vertical;min-height:160px;line-height:1.8}.resume-page input:focus,.resume-page textarea:focus,.resume-page select:focus{background:white}.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#f8f9ff;border:1px dashed #b3c3da;border-radius:9px;padding:24px 16px;margin-top:16px!important;text-align:center;cursor:pointer;min-height:188px;position:relative}.drop-zone strong{font-size:15px;color:#16375b}.drop-instruction{color:#3755c3;font-size:13px}.upload-symbol{display:grid;place-items:center;width:38px;height:38px;background:#e5eeff;color:#3755c3;border-radius:12px;font-size:25px;margin-bottom:5px}.drop-zone.dragging,.drop-zone:focus-within{border-color:#3755c3;background:#eaf0ff;outline:2px solid #3755c3;outline-offset:3px}.chosen-file{font-size:12px;min-height:22px;overflow-wrap:anywhere;color:#536176;margin:10px 0!important}.chosen-file[data-error="true"]{color:#a43a2c}#upload-resume{width:100%}.inline-note{font-size:12px;color:#536176;background:#eff4ff;padding:13px 16px;border-radius:8px;margin-top:14px!important}.file-history{margin-top:14px;border-bottom:1px solid #e3e9f2;padding:0 4px 14px}.file-history summary{display:flex;align-items:center;gap:7px;font-size:12px;color:#3755c3;cursor:pointer;list-style:none;width:fit-content;min-height:32px}.file-history summary span:last-child{margin-left:5px}#file-count{background:#e5eeff;border-radius:5px;min-width:20px;text-align:center}#resume-files{margin:4px 0 10px}.resume-file-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #e3e9f2}.resume-file-info{min-width:0}.resume-file-info strong{font-size:13px;overflow-wrap:anywhere;display:block}.resume-file-actions{display:flex;gap:6px;flex-shrink:0}.resume-file-row .btn{font-size:12px;min-height:36px;padding:6px 10px}.mail-grid{display:grid;grid-template-columns:5fr 7fr;gap:24px;align-items:start}.field{margin-top:20px}.resume-page .field label{font-size:12px;font-weight:600;display:block;margin-bottom:7px}.token-guide{padding:14px;background:#eff4ff;border-radius:8px;margin-top:16px;color:#536176;font-size:11px}.token-buttons{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}.token-buttons button{border:0;border-radius:5px;background:#dde5ff;color:#264693;padding:7px 9px;cursor:pointer;font:inherit;font-size:12px;min-height:34px}.email-preview{padding:0;overflow:hidden;position:sticky;top:90px}.preview-heading{display:flex;align-items:center;gap:12px;background:#e5eeff;padding:15px 20px}.preview-heading h3{font-size:12px}.window-dots{display:flex;gap:5px}.window-dots i{width:8px;height:8px;border-radius:50%;background:#d0b1b3}.window-dots i:nth-child(2){background:#bcc7d8}.window-dots i:nth-child(3){background:#9acbbf}.preview-example{margin-left:auto;color:#3755c3;background:#f8f9ff;border-radius:4px;padding:2px 7px;font-size:10px}.preview-meta{margin:0;padding:18px 22px;background:#f4f7fd}.preview-meta>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;font-size:12px;padding:5px 0}.preview-meta dt{color:#647186}.preview-meta dd{margin:0;overflow-wrap:anywhere}.preview-meta #preview-subject{font-weight:600}#preview-body{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.95;margin:0;padding:28px 26px;min-height:220px}.preview-attachment{display:flex;gap:10px;margin:0 24px 22px;padding:11px 14px;font-size:12px;color:#3755c3;background:#eff4ff;border-radius:7px;overflow-wrap:anywhere;min-width:0}.preview-attachment span:last-child{min-width:0}.preview-footnote{font-size:11px;color:#647186;padding:16px 24px;border-top:1px solid #edf0f6;line-height:1.75}.employment-choices,.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.choice-card{position:relative;display:flex;align-items:flex-start;gap:13px;padding:23px;background:#fff;border:1.5px solid #e1e7f0;border-radius:12px;cursor:pointer;min-width:0;color:#536176;font-size:13px}.choice-card:has(input:checked){border-color:#738acc;background:#f0f4ff;box-shadow:0 0 0 1px #738acc15}.choice-card input{width:18px;height:18px;flex-shrink:0;margin:5px 0 0;accent-color:#3755c3}.choice-card>span{display:flex;flex-direction:column;gap:6px;min-width:0}.choice-card strong{font-size:17px;font-weight:600;color:#0f2b48;letter-spacing:-.02em}.choice-card small{color:#647186;font-weight:400;font-size:11px;margin-left:6px}.mode-title{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:7px}.mode-tag{font-size:10px;padding:2px 7px;background:#e5eeff;color:#3755c3;border-radius:4px}.mode-footnote{font-size:11px;border-top:1px solid #dfe6f2;padding-top:12px;margin-top:8px;color:#647186}.consent-panel{padding:18px 20px;margin-top:14px;background:#eaf0ff;border-radius:9px}.resume-page .check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.7;color:#334e70}.resume-page .check input{margin:4px 0 0;width:17px;height:17px;flex-shrink:0;accent-color:#3755c3}.operation-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:20px;margin-top:20px;align-items:start}.daily-limit{display:grid;grid-template-columns:1fr 92px;gap:12px;align-items:center}.daily-limit label{font-weight:600;color:#16375b;font-size:14px}.daily-limit p{margin-top:4px}.limit-input{display:flex;align-items:center;gap:8px}.limit-input input{text-align:center;padding:8px!important;min-height:40px}.limit-input span{font-size:12px;color:#536176}.daily-limit>p{grid-column:1/-1}.operation-rules summary{cursor:pointer;font-size:13px;font-weight:600;display:flex;justify-content:space-between;gap:16px;list-style:none;min-height:44px;align-items:center}.operation-rules{padding:16px 22px}.operation-rules ul{padding-left:17px;font-size:12px;color:#536176;line-height:1.85;margin:10px 0 0}.operation-rules li+li{margin-top:8px}.resume-page .file-confirm{padding:22px 4px}.save-bar{position:sticky;bottom:16px;z-index:35;background:#0f2b48;color:#fff;border-radius:12px;box-shadow:0 10px 30px #0f2b4829;padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:8px}.activation-toggle{display:flex;align-items:center;gap:10px;color:white;font-size:14px;cursor:pointer}.activation-toggle strong{font-size:12px;font-weight:500;margin-left:7px;color:#d2e4ff}.switch{position:relative;width:36px;height:22px;flex-shrink:0}.switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;z-index:1;cursor:pointer}.switch-track{position:absolute;inset:0;border-radius:14px;background:#637790}.switch-track:after{content:'';position:absolute;top:3px;left:3px;height:16px;width:16px;border-radius:50%;background:#fff;transition:transform .15s}.switch input:checked+.switch-track{background:#647fe8}.switch input:checked+.switch-track:after{transform:translateX(14px)}.switch input:focus-visible+.switch-track{outline:2px solid white;outline-offset:3px}.save-information{min-width:0}#save-feedback{font-size:12px;color:#d2e4ff;margin-top:7px;overflow-wrap:anywhere}#save-feedback[data-error="true"]{color:#ffd5ce}#saved-at{font-size:10px;color:#a9bdd6;margin-top:3px}.save-actions{display:flex;gap:8px;flex-shrink:0}.resume-page .save-button{background:#4968d6;border:0;color:white;padding:13px 20px;min-width:174px;gap:20px}.resume-page .stop-button{color:#e4edff;background:#ffffff0d;border:1px solid #ffffff20;font-size:12px}.resume-page footer{display:flex;align-items:center;gap:16px;padding:25px max(24px,calc((100vw - 1192px)/2));background:white;border-top:1px solid #e3e9f2;margin-top:22px;font-size:12px;color:#647186;text-align:left}.resume-page footer strong{color:#0f2b48;font-size:16px}.resume-page footer div{margin-left:auto;display:flex;gap:16px}.resume-page footer a{font-size:11px;color:#647186}.resume-page .status-message{font-size:13px;padding:13px 16px;margin-top:20px;background:#eaf0ff;color:#2e4f80;border:1px solid #dce6f7;border-radius:8px;overflow-wrap:anywhere}.resume-page .status-message:empty{display:none}.resume-page .status-message.err{background:#fff0ed;color:#a43a2c;border-color:#f0d2cd}.field-error{font-size:12px;color:#a43a2c;margin-top:10px!important}#retry-resume{margin-top:10px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.resume-page :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid #3755c3;outline-offset:3px}.resume-page [aria-invalid="true"]{border-color:#ba4535}.resume-page [hidden]{display:none!important}
@media(max-width:900px){.resume-page main{padding:26px 20px 28px}.resume-overview{gap:16px;padding:18px}.overview-item{gap:9px}.overview-item+.overview-item{padding-left:16px}.overview-icon{display:none}.mail-grid{grid-template-columns:1fr 1fr;gap:16px}.surface{padding:20px}.email-preview{padding:0}.mode-tag{display:none}.file-grid{gap:16px}.choice-card{padding:18px}.save-bar{gap:12px;padding:16px}.save-actions{flex-direction:column-reverse;gap:4px}.resume-page .stop-button{min-height:30px;padding:5px 10px}.operation-grid{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.resume-page main{padding:22px 16px 22px}.resume-page .site-topbar{padding:12px 16px!important;gap:8px!important;flex-wrap:wrap}.resume-page .site-topbar .wordmark{font-size:20px}.resume-page .site-tabs{order:3;width:100%;flex-basis:100%;gap:8px;justify-content:space-between}.resume-page .site-tabs a{flex:1;text-align:center;padding:7px 10px}.resume-page .account-menu summary{padding:7px 10px;max-width:170px}.resume-page h1{font-size:24px}.resume-page h2{font-size:18px}.title-row{align-items:flex-start;flex-direction:column;gap:12px}.breadcrumb{margin-bottom:18px!important}.page-lead{font-size:13px;max-width:340px}.history-link{font-size:12px}.resume-overview{grid-template-columns:1fr;gap:12px;margin-top:20px;padding:17px}.overview-item+.overview-item{border-left:0;padding:10px 0 0;border-top:1px solid #edf0f6}.overview-item>div{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:4px 10px;width:100%}.overview-item .meta-label{margin:0;font-size:11px}.overview-item strong{font-size:12px}.overview-item .small-copy{grid-column:2;font-size:11px}.setup-section{margin-top:28px}.section-heading{margin-bottom:12px;gap:9px}.section-note{display:none}.surface{padding:18px}.sender-card{gap:14px}.sender-copy{gap:12px;flex-basis:100%}.sender-actions{margin-left:60px;gap:4px}#mail-state{font-size:13px}.sender-note{font-size:11px;padding-top:12px}.file-grid,.mail-grid,.employment-choices,.mode-grid,.operation-grid{grid-template-columns:1fr;gap:14px}.file-display{margin:16px 0;padding:16px 12px;gap:12px}.file-display strong{font-size:14px}.surface-topline{gap:8px}.surface-topline .state-badge{font-size:10px}.file-actions .btn{font-size:12px;padding:8px 10px}.drop-zone{min-height:178px}.drop-zone strong{font-size:14px}.inline-note{font-size:11px;padding:12px 14px}.resume-file-row{align-items:flex-start;flex-direction:column;gap:8px}.resume-file-actions{align-self:flex-end}.email-preview{padding:0;position:static}.preview-heading{padding:13px 16px}.preview-meta{padding:15px 16px}.preview-meta>div{grid-template-columns:62px minmax(0,1fr);gap:7px}#preview-body{padding:22px 18px;font-size:13px;min-height:170px}.preview-attachment{margin:0 16px 16px}.preview-footnote{padding:14px 16px}.choice-card{padding:18px;gap:12px}.choice-card strong{font-size:16px}.mode-tag{display:inline}.mode-footnote{font-size:11px}.resume-page .file-confirm{font-size:12px;padding:20px 0}.save-bar{bottom:0;margin:0 -16px -22px;padding:14px 16px max(14px,env(safe-area-inset-bottom));border-radius:14px 14px 0 0;flex-direction:column;align-items:stretch;gap:12px}.save-information{display:grid;grid-template-columns:1fr;gap:0}.activation-toggle{justify-content:space-between;flex-direction:row-reverse}.activation-toggle>span:last-child{margin-right:auto}#save-feedback{font-size:11px;margin-top:6px}#saved-at{font-size:10px}.save-actions{flex-direction:row;gap:8px}.resume-page .save-button{flex:1;min-width:0;min-height:46px;padding:12px 16px}.resume-page .stop-button{padding:10px;font-size:11px;max-width:95px}.resume-page footer{padding:22px 16px;flex-wrap:wrap;gap:6px 12px}.resume-page footer div{width:100%;margin:6px 0 0}.resume-page .field input,.resume-page textarea,.resume-page select{font-size:16px}.token-guide p{font-size:11px}.operation-rules{padding:12px 18px}.resume-page .status-message{font-size:12px}.file-display p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.switch-track:after{transition:none}}

/* Screen-by-screen editor. Only the active step scrolls; navigation stays visible. */
body.resume-page[data-page="resume"]{height:100dvh;overflow:hidden;min-height:0;padding-bottom:0}
body.resume-page[data-page="resume"] .resume-shell{height:100%;min-height:0;display:flex;flex-direction:column}
body.resume-page[data-page="resume"] main{flex:1;min-height:0;width:100%;padding:18px 24px 12px;display:flex;flex-direction:column}
body.resume-page[data-page="resume"] footer{display:none}
.step-form{flex:1;min-height:0;display:flex;flex-direction:column}
.step-form .breadcrumb,.step-form .eyebrow,.step-form .page-lead{display:none}
.step-form .title-row{flex-direction:row;align-items:center;gap:12px}
body[data-page="resume"] .step-form h1{font-size:24px}
.resume-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;padding:18px 0;flex-shrink:0}
.resume-progress button{display:flex;align-items:center;justify-content:center;gap:9px;border:0;background:#eff4ff;color:#69768a;font:inherit;font-size:12px;border-radius:10px;padding:10px 5px;cursor:pointer;min-width:0}
.resume-progress button[aria-current]{background:#004ac6;color:white;font-weight:600}
.progress-number{display:grid;place-items:center;border-radius:50%;background:#ffffff80;width:23px;height:23px;flex-shrink:0;color:#536176}
.resume-progress [aria-current] .progress-number{color:#004ac6;background:white}
.resume-progress [data-complete="true"]{color:#004ac6;background:#e5eeff}
#resume-step-viewport{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 6px 20px 0}
.step-form .setup-section{margin:16px 0 0;animation:step-appear .2s ease-out}
.step-form .section-heading{margin-bottom:18px}
.step-form .status-message{margin:0 0 12px!important;padding:9px 13px;font-size:12px}
.step-form .operation-grid{grid-template-columns:1fr;gap:12px}
.step-form .email-preview{position:static}
.resume-step-navigation{display:flex;align-items:center;gap:16px;padding:14px 0 0;border-top:1px solid #dce4ef;flex-shrink:0;background:#f8f9ff}
#resume-step-count{color:#647186;font-size:12px;margin-right:auto}
body[data-page="resume"] .step-form .resume-step-navigation .btn{min-height:46px;min-width:112px;margin:0}
body[data-page="resume"] .step-form .save-bar{position:static;inset:auto;margin:0;padding:20px;display:flex;flex-direction:row;align-items:center;border-radius:12px;box-shadow:none}
.step-form .activation-toggle{flex-direction:row;justify-content:flex-start}
.step-form .save-information{flex:1}
.draft-review dl{margin:12px 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:14px 28px}
.draft-review dl>div{min-width:0}
.draft-review dt{color:#647186;font-size:12px;margin-bottom:3px}
.draft-review dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.saved-settings{margin-top:20px;color:#647186;font-size:12px}.saved-settings summary{cursor:pointer;padding:10px 0}.saved-settings .resume-overview{margin-top:8px}
@keyframes step-appear{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:680px){
 body.resume-page[data-page="resume"] .resume-shell{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
 body.resume-page[data-page="resume"] main{padding:14px 16px 10px}
 body[data-page="resume"] .step-form h1{font-size:20px}
 .step-form .history-link{font-size:11px}.step-form .history-link span{margin-left:2px}
 .resume-progress{gap:5px;padding:14px 0}
 .resume-progress button{font-size:10px;gap:5px;padding:8px 0;flex-direction:column;border-radius:8px}
 .progress-number{width:20px;height:20px;font-size:11px}
 #resume-step-viewport{padding-right:3px;padding-bottom:14px}
 .step-form .setup-section{margin-top:10px}.step-form .section-heading{margin-bottom:12px}
 .resume-step-navigation{gap:10px;padding-top:10px}
 body[data-page="resume"] .step-form .resume-step-navigation .btn{min-width:82px;padding:10px 12px;font-size:12px}
 body[data-page="resume"] .step-form .save-bar{padding:16px;flex-direction:column;align-items:stretch;gap:10px}
 .step-form .save-actions{align-self:flex-start}.step-form .save-actions:empty{display:none}
 .draft-review dl{grid-template-columns:1fr;gap:12px}.draft-review dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:10px}
}
@media(prefers-reduced-motion:reduce){.step-form .setup-section{animation:none}}

@media(min-width:681px) and (max-width:760px){body.resume-page[data-page="resume"] .resume-shell{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}}
/* Keep visually hidden legends inside the step scroll container. */
#resume-step-viewport{position:relative}
.resume-progress button>span:last-child{white-space:nowrap}

/* Overview is the entry point; only explicit start/edit mounts the wizard visually. */
.resume-page [hidden]{display:none!important}
#preparation-home{overflow:auto;padding:10px 4px 32px;min-height:0}
#preparation-home>.surface{margin-top:24px}
#preparation-home .page-lead{display:block}
.preparation-empty{text-align:center;padding:64px 28px}
.preparation-empty p{color:var(--ink-2);margin:12px auto 26px;max-width:440px}
.empty-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#edf2ff;color:#3755c3;font-size:34px;margin:0 auto 24px}
.registered-summary{margin:20px 0}
.registered-summary>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;padding:15px 0;border-bottom:1px solid #edf0f6}
.registered-summary dt{color:#66758a;font-size:13px}.registered-summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.draft-banner{display:flex;align-items:center;justify-content:space-between;gap:20px}.draft-banner p{font-size:13px;color:#66758a}
.draft-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #e4e9f1;padding-top:8px}.draft-actions .btn{font-size:12px}.draft-actions>span{font-size:11px;color:#63748a;margin-left:auto}
@media(max-width:680px){.registered-summary>div{grid-template-columns:90px minmax(0,1fr);gap:12px}.draft-banner{align-items:stretch;flex-direction:column}.preparation-empty{padding:38px 18px}.draft-actions{gap:4px}.draft-actions>span{width:100%;text-align:right}}

/* Primary controls live beside the saved preparation summary. */
.automation-panel{margin:24px 0}.automation-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.automation-header h2{margin-bottom:6px}.automation-toggle{display:flex;align-items:center;gap:10px;cursor:pointer;flex-shrink:0;color:#24466e}.automation-toggle strong{font-size:13px}.automation-toggle .switch{width:44px;height:26px}.automation-toggle .switch-track:after{width:20px;height:20px}.automation-toggle .switch input:checked+.switch-track:after{transform:translateX(18px)}.automation-toggle .switch input:focus-visible+.switch-track{outline-color:#3755c3}.automation-modes{margin-top:22px!important}.automation-modes legend{font-size:13px;font-weight:600;margin-bottom:10px}.automation-modes .choice-card strong{font-size:15px}.automation-help{margin-top:16px!important}.upload-panel>.drop-zone{margin-top:0!important}#preparation-home .page-lead:empty{display:none}.automation-panel[aria-busy="true"]{opacity:.7}
