/* Approved Stage 2 continuation: Profile editor journey only.
   Storage, public preview and CV print output retain their existing runtime and print rules. */
@media screen{
 html.pm-shell.pm-profile-editor body{background:var(--qp-bg);color:var(--qp-text)}
 html.pm-shell.pm-profile-editor #projma-auth>main{max-width:960px;padding-block:var(--qp-space-6) 48px}
 html.pm-shell.pm-profile-editor .pm-profile-hero{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:16px;
  max-width:920px;margin:0 auto 16px;padding:0 0 24px;border:0;border-bottom:1px solid var(--qp-border);
  border-radius:0;background:transparent;color:var(--qp-text)
 }
 html.pm-shell.pm-profile-editor :is(.pm-profile-kicker,.pm-profile-hero h1,.pm-profile-lead){grid-column:1/-1}
 html.pm-shell.pm-profile-editor .pm-profile-kicker{margin:0;color:var(--qp-accent-ink);letter-spacing:.08em}
 html.pm-shell.pm-profile-editor .pm-profile-hero h1{margin:0;font-size:32px;line-height:1.2;letter-spacing:normal;color:var(--qp-text)}
 html.pm-shell.pm-profile-editor .pm-profile-lead{max-width:760px;margin:0;color:var(--qp-secondary)}
 html.pm-shell.pm-profile-editor :is(.pm-profile-meter,.pm-profile-who){
  margin:0;padding:16px;border:1px solid var(--qp-border);border-radius:var(--qp-radius-md);
  background:var(--qp-surface);color:var(--qp-text)
 }
 html.pm-shell.pm-profile-editor .pm-profile-meter progress{accent-color:var(--qp-accent)}
 html.pm-shell.pm-profile-editor :is(.pm-profile-meter p,.pm-profile-who-hint){color:var(--qp-muted)}
 html.pm-shell.pm-profile-editor .pm-profile-who-counts li{background:var(--qp-muted-surface);border-color:var(--qp-border);color:var(--qp-secondary)}
 html.pm-shell.pm-profile-editor .pm-profile-who-counts li[data-level="public"]{border-color:var(--qp-accent);color:var(--qp-accent-ink)}
 html.pm-shell.pm-profile-editor .pm-profile-who-note{color:var(--qp-warning)}

 html.pm-shell.pm-profile-editor .pm-profile-journey{
  display:block;max-width:920px;margin:0 auto 24px;padding:0;color:var(--qp-text)
 }
 html.pm-shell.pm-profile-editor .pm-profile-journey h2{margin:0 0 6px;font-size:18px;color:var(--qp-text)}
 html.pm-shell.pm-profile-editor .pm-profile-journey-intro{max-width:760px;margin:0 0 14px;color:var(--qp-secondary)}
 html.pm-shell.pm-profile-editor .pm-profile-journey ol{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none
 }
 html.pm-shell.pm-profile-editor .pm-profile-journey li{
  display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:start;min-width:0;padding:14px;
  border:1px solid var(--qp-control-border);border-radius:var(--qp-radius-md);background:var(--qp-surface)
 }
 html.pm-shell.pm-profile-editor .pm-profile-journey li>div{min-width:0}
 html.pm-shell.pm-profile-editor .pm-profile-step-number{
  display:grid;place-items:center;width:32px;height:32px;border-radius:999px;
  background:var(--qp-accent-soft);color:var(--qp-accent-ink);font-weight:850
 }
 html.pm-shell.pm-profile-editor :is(.pm-profile-journey-current,.pm-profile-journey-link){
  display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:0;color:var(--qp-text);
  font-weight:800;line-height:1.35;white-space:normal;overflow-wrap:anywhere
 }
 html.pm-shell.pm-profile-editor .pm-profile-journey-link{
  border:0;border-radius:0;background:transparent;color:var(--qp-accent-ink);text-decoration:underline;text-underline-offset:3px
 }
 html.pm-shell.pm-profile-editor .pm-profile-journey li p{margin:2px 0 0;color:var(--qp-secondary);font-size:13px;line-height:1.55}

 html.pm-shell.pm-profile-editor .pm-profile-form{max-width:920px;margin:0 auto 48px}
 html.pm-shell.pm-profile-editor :is(.pm-profile-section,.pm-profile-blocked,.pm-settings-recovery){
  background:var(--qp-surface);border-color:var(--qp-border);color:var(--qp-text)
 }
 html.pm-shell.pm-profile-editor :is(.pm-profile-section h2,.pm-profile-blocked h1,.pm-profile-label){color:var(--qp-text)}
 html.pm-shell.pm-profile-editor :is(.pm-profile-help,.pm-profile-field-limit){color:var(--qp-muted)}
 html.pm-shell.pm-profile-editor .pm-profile-field-error{color:var(--qp-danger)}
 html.pm-shell.pm-profile-editor :is(.pm-profile-field input,.pm-profile-field textarea,.pm-profile-field select,.pm-profile-visibility select){
  border-color:var(--qp-control-border);background:var(--qp-surface);color:var(--qp-text)
 }
 html.pm-shell.pm-profile-editor :is(.pm-profile-field input,.pm-profile-field textarea,.pm-profile-field select,.pm-profile-visibility select):focus-visible{
  outline:3px solid var(--qp-focus);outline-offset:2px
 }
 html.pm-shell.pm-profile-editor .pm-profile-button{background:var(--qp-accent);border-color:var(--qp-accent);color:var(--qp-accent-contrast)}
 html.pm-shell.pm-profile-editor .pm-profile-button:hover{background:var(--qp-accent-hover);border-color:var(--qp-accent-hover)}
 html.pm-shell.pm-profile-editor .pm-profile-button:active{background:var(--qp-accent-active);border-color:var(--qp-accent-active)}
 html.pm-shell.pm-profile-editor .pm-profile-inline-link:not(.pm-profile-journey-link){background:var(--qp-surface);border-color:var(--qp-control-border);color:var(--qp-accent-ink)}
 html.pm-shell.pm-profile-editor :is(.pm-profile-button,.pm-profile-inline-link,.pm-profile-journey-link):focus-visible{outline:3px solid var(--qp-focus);outline-offset:3px}
 html.pm-shell.pm-profile-editor .pm-profile-status{color:var(--qp-secondary)}
 html.pm-shell.pm-profile-editor .pm-profile-savebar{
  border-color:var(--qp-border);background:var(--qp-surface);box-shadow:0 -6px 18px rgba(0,0,0,.08)
 }
 html.pm-shell.pm-profile-editor .pm-profile-state{border:1px solid var(--qp-border);background:var(--qp-muted-surface)}
 html.pm-shell.pm-profile-editor .pm-profile-state[data-state="saved"]{color:var(--qp-success)}
 html.pm-shell.pm-profile-editor .pm-profile-state[data-state="unsaved"]{color:var(--qp-warning)}
 html.pm-shell.pm-profile-editor :is(.pm-profile-state[data-state="error"],.pm-profile-state[data-state="conflict"]){color:var(--qp-danger)}
 html.pm-shell.pm-profile-editor .pm-profile-state[data-state="empty"]{color:var(--qp-secondary)}
 html[dir="rtl"].pm-shell.pm-profile-editor .pm-profile-kicker{letter-spacing:normal}
}
@media screen and (max-width:720px){
 html.pm-shell.pm-profile-editor #projma-auth>main{padding-block:20px 40px}
 html.pm-shell.pm-profile-editor .pm-profile-hero{grid-template-columns:1fr;padding-block-end:18px}
 html.pm-shell.pm-profile-editor .pm-profile-hero h1{font-size:28px}
 html.pm-shell.pm-profile-editor .pm-profile-journey ol{grid-template-columns:1fr}
 html.pm-shell.pm-profile-editor .pm-profile-journey li{padding:12px}
}
@media screen and (max-width:360px){
 html.pm-shell.pm-profile-editor .pm-profile-journey li{grid-template-columns:28px minmax(0,1fr);gap:8px}
 html.pm-shell.pm-profile-editor .pm-profile-step-number{width:28px;height:28px}
}
