/* The app stays in a phone; the resume becomes a real document. */
body.profile-home .profile-showcase.hero-journey{container-type:inline-size;--journey-phone-width:290px}
body.profile-home .journey-stage{width:100%;max-width:none;height:630px;aspect-ratio:auto;border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}
@supports(width:1cqw){body.profile-home .journey-stage{height:calc(min(var(--journey-phone-width), 100cqw) * 2736 / 1260)}}
.journey-panel{display:flex;align-items:center;justify-content:center;background:transparent;overflow:visible}
.journey-phone{width:var(--journey-phone-width);max-width:100%;aspect-ratio:1260/2736;border:5px solid var(--ink);border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 16px 35px #26323820}
.journey-phone img{width:100%;height:100%;object-fit:cover}
.journey-resume-view{width:100%;display:flex;flex-direction:column;align-items:center;gap:20px;min-width:0}
.resume-preview{width:100%;container-type:inline-size;border:1px solid #dce1e5;box-shadow:0 12px 30px #26323818;background:#fff;text-align:left;pointer-events:none}
.resume-document{background:#fff;color:#222;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.35;padding:6.5%;text-align:left}
.resume-preview .resume-document{font-size:7px;aspect-ratio:1260/1129}
@supports(width:1cqw){.resume-preview .resume-document{font-size:1.65cqw}}
.resume-doc-header{text-align:center;border-bottom:1px solid #ccc;padding-bottom:1.15em;margin-bottom:2.2em}
.resume-document .resume-doc-header h3{font-family:Arial,Helvetica,sans-serif;font-size:2.3em;font-weight:700;line-height:1.1;letter-spacing:-.03em;margin:0 0 .5em;color:#080808}
.resume-contact{display:flex;justify-content:center;flex-wrap:wrap;gap:.35em 0;margin:0;font-size:.9em;color:#555;line-height:1.6}
.resume-contact>span+span:before{content:'|';color:#888;margin:0 .7em}
.resume-document section+section{margin-top:1.8em}
.resume-document h4{font-family:Arial,Helvetica,sans-serif;font-size:1.12em;line-height:1.3;letter-spacing:.045em;text-transform:uppercase;margin:0 0 .75em;padding-bottom:.4em;border-bottom:1px solid #d4d4d4;color:#111;font-weight:700}
.resume-entry-heading{display:flex;justify-content:space-between;gap:1em;align-items:baseline}
.resume-entry-heading strong{font-size:1.1em;line-height:1.3;color:#111}
.resume-entry-heading>span{color:#777;font-size:.9em;white-space:nowrap}
.resume-organization{font-style:italic;color:#555;margin:.15em 0 .4em}
.resume-work-bullets{list-style-type:'- ';padding-left:.9em;margin:.5em 0 0;color:#555}
.resume-work-bullets li+li{margin-top:.3em}
.resume-inline-list{list-style:none;display:flex;flex-wrap:wrap;gap:.25em .55em;margin:0;padding:0;color:#555}
.resume-inline-list li:before{content:'• ';color:#555}
.resume-open{min-height:44px;padding:10px 17px;border:1px solid #8a9ba8;border-radius:9px;background:#fff;color:var(--ink);font-size:14px;font-weight:500}
.resume-open:hover{background:var(--surface)}
body.profile-home #resume-dialog{max-width:1040px;width:calc(100% - 24px);padding:0;border-radius:14px;max-height:90dvh;overflow:auto}
.resume-dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;border-bottom:1px solid var(--line);background:var(--soft);position:sticky;top:0;z-index:1}
#resume-dialog .resume-dialog-toolbar h2{font-family:inherit;font-size:16px;font-weight:500;line-height:1.5;margin:0}
.resume-dialog-close{border:1px solid #acbcc7;min-height:44px;background:#fff;padding:7px 14px;border-radius:8px;font-size:14px;color:var(--ink)}
.resume-dialog-note{margin:0;padding:12px 20px;background:var(--surface);font-size:13px;color:var(--muted);line-height:1.6}
.resume-dialog-content .resume-document{font-size:15px;padding:45px 50px}
.voice-example-heading{display:flex;align-items:center;gap:10px;margin-bottom:15px}
.voice-example-heading svg{width:27px;height:27px;flex:0 0 27px;color:var(--accent-text)}
.voice-profile-example .guide-quote{margin-bottom:21px}
.voice-draft-heading strong{display:block;font-size:17px;font-weight:500;line-height:1.4;color:var(--ink)}
.voice-draft-heading>span{display:block;font-size:14px;line-height:1.5;color:var(--muted);margin-top:5px}
.voice-summary{list-style:none;padding:0;margin:15px 0 0;display:grid;gap:10px}
.voice-summary li{position:relative;padding-left:16px}
.voice-summary li:before{content:'•';position:absolute;left:0;top:12px;color:var(--accent-text);font-size:18px;line-height:1}
.voice-summary textarea{font:15px/1.6 'Space Grotesk',Arial,sans-serif;color:var(--ink);background:var(--surface);border:1px solid #b4c4cf;border-radius:8px;padding:9px 11px;width:100%;min-height:68px;resize:vertical;display:block}
.voice-summary textarea:focus{outline:3px solid #456478;outline-offset:2px;background:#fff}
.voice-example-note{font-size:12px;line-height:1.6;color:var(--muted);margin:13px 0 0}
@media(max-width:1000px){body.profile-home .profile-showcase.hero-journey{--journey-phone-width:270px}}
@media(max-width:760px){
 body.profile-home .profile-showcase.hero-journey{--journey-phone-width:286px}
 .resume-dialog-content .resume-document{font-size:14px;padding:28px 22px}
 .resume-document .resume-doc-header h3{font-size:2em}
 .resume-dialog-content .resume-entry-heading{display:block}
 .resume-dialog-content .resume-entry-heading>span{display:block;margin-top:4px}
 .resume-dialog-content .resume-contact{display:block;font-size:.9em}
 .resume-dialog-content .resume-contact>span{display:block}
 .resume-dialog-content .resume-contact>span:before{content:none}
 .resume-dialog-content .resume-inline-list{display:block}
 .resume-dialog-content .resume-inline-list li+li{margin-top:6px}
}
