/* Existing journey views; homepage guidance uses read-only saved state. */
html:root body :is(#homeDashboard #p10Home.p10-workspace, #p10InterviewReports #p10Reports.p10-workspace) {
  max-width: 1240px;
  margin: 0 auto;
  padding: 26px 28px 48px;
  color: var(--hw-ui-text);
}
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey {
  --p10-bg: var(--hw-ui-surface); --p10-soft: var(--hw-ui-hover);
  --p10-text: var(--hw-ui-text); --p10-muted: var(--hw-ui-muted); --p10-line: var(--hw-ui-line);
  display: grid; gap: 20px; min-width: 0;
  color: var(--hw-ui-text) !important;
}
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(div, section, aside, header, article, details, summary, ul, ol, li, button) { min-width: 0; box-sizing: border-box; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(h1,h2,h3,p) { margin: 0; background: transparent !important; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(h1,h2,h3,strong,summary) { color: var(--hw-ui-text) !important; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey h1 { font-size: 28px !important; line-height: 1.35; font-weight: 650; letter-spacing: -.02em; margin: 4px 0 8px; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey h2 { font-size: 18px !important; line-height: 1.5; font-weight: 650; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey h3 { font-size: 16px !important; line-height: 1.65; font-weight: 600; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(p,.p10-muted) { color: var(--hw-ui-muted) !important; font-size: 14px !important; line-height: 1.75 !important; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey .p10-eyebrow { font-size: 12px !important; line-height: 1.6 !important; letter-spacing: .025em; font-weight: 550; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey .p10-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: none; margin: 0 0 4px; padding: 0; border: 0; background: transparent !important;
}
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(.hw-redesign-context-label,.hw-redesign-count) {
  flex: 0 0 auto; padding: 4px 9px; border: 1px solid var(--hw-ui-line); border-radius: 6px;
  background: var(--hw-ui-surface) !important; color: var(--hw-ui-muted) !important; font-size: 12px; font-weight: 400;
}
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(.p10-card,.p10-hero,.p10-route-card) {
  margin: 0; padding: 22px; border: 1px solid var(--hw-ui-line) !important; border-radius: 12px;
  background: var(--hw-ui-surface) !important; color: var(--hw-ui-text) !important; box-shadow: none !important;
}
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(.p10-card,.p10-hero,.p10-route-card) > * { margin-top: 0; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey .p10-button {
  min-height: 44px; padding: 9px 15px; border: 1px solid var(--hw-ui-line) !important; border-radius: 7px;
  background: var(--hw-ui-surface) !important; color: var(--hw-ui-text) !important;
  font-size: 14px !important; font-weight: 550; line-height: 1.6; box-shadow: none !important;
}
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey .p10-button.p10-primary { background: var(--hw-ui-primary) !important; color: #fff !important; border-color: var(--hw-ui-primary) !important; padding: 10px 19px; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey .p10-button:hover:not(:disabled) { background: var(--hw-ui-hover) !important; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey .p10-primary:hover:not(:disabled) { background: var(--hw-ui-primary-hover) !important; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey .p10-button:disabled { color: var(--hw-ui-muted) !important; background: var(--hw-ui-hover) !important; border-color: var(--hw-ui-line) !important; cursor: not-allowed; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(button,summary):focus-visible { outline: 3px solid var(--hw-ui-focus); outline-offset: 3px; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey .p10-actions { gap: 10px; }
html:root body #homeDashboard #p10Home .hw-redesign-home-main { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(290px,1fr); gap: 20px; align-items: stretch; }
html:root body #homeDashboard #p10Home .hw-redesign-home-side { display: grid; gap: 16px; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-hero { display: flex; flex-direction: column; padding: 24px; gap: 16px; border-top: 3px solid var(--hw-ui-primary) !important; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-hero h2 { font-size: 24px !important; line-height: 1.5; max-width: 520px; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-hero-meta { display: flex; align-items: center; justify-content: space-between; margin: 0; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-action-label { color: var(--hw-ui-accent) !important; background: var(--hw-ui-soft) !important; font-size: 12px; padding: 4px 9px; border-radius: 5px; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-hero > .p10-actions { margin: 8px 0 0; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-action-note { font-size: 12px !important; margin: 0; padding: 0; }
html:root body #homeDashboard #p10Home .hw-redesign-home .hw-redesign-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
html:root body #homeDashboard #p10Home .hw-redesign-home .hw-redesign-section-head h2 { font-size: 16px !important; }
html:root body #homeDashboard #p10Home .hw-redesign-home .hw-redesign-section-head .p10-muted { font-size: 12px !important; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-journey { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-journey li { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 12px; padding: 8px 0; border: 0; background: transparent !important; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-journey li::after { content: none; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-step-number { width: 24px; height: 24px; border: 1px solid var(--hw-ui-line); border-radius: 6px; background: transparent !important; color: var(--hw-ui-muted) !important; font-size: 11px; line-height: 22px; text-align: center; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-journey li > div { display: grid; gap: 3px; align-items: baseline; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-journey h3 { font-size: 14px !important; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-journey p { font-size: 12px !important; }
html:root body #homeDashboard #p10Home .hw-redesign-recent { display: grid; gap: 12px; align-content: start; height: 100%; }
html:root body #homeDashboard #p10Home .hw-redesign-recent-empty { display: grid; gap: 6px; padding-block: 6px; }
html:root body #homeDashboard #p10Home .hw-redesign-recent-empty > span { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--hw-ui-line); border-radius: 7px; color: var(--hw-ui-muted); background: var(--hw-ui-hover); font-size: 20px; }
html:root body #homeDashboard #p10Home .hw-redesign-recent-empty h3 { font-size: 14px !important; }
html:root body #homeDashboard #p10Home .hw-redesign-recent-empty p { font-size: 13px !important; }
html:root body #homeDashboard #p10Home .hw-redesign-recent .p10-button { justify-self: start; }
html:root body #homeDashboard #p10Home .hw-redesign-recent-list { padding: 0; margin: 0; list-style: none; }
html:root body #homeDashboard #p10Home .hw-redesign-recent-list li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--hw-ui-line); font-size: 13px; }
html:root body #homeDashboard #p10Home .hw-redesign-recent-list li > span { color: var(--hw-ui-muted); }
html:root body #homeDashboard #p10Home .hw-redesign-recent-list strong { font-size: 13px; font-weight: 550; }
html:root body #homeDashboard #p10Home .hw-redesign-recent-list small { display: block; color: var(--hw-ui-muted); font-size: 12px; }
html:root body #homeDashboard #p10Home .hw-redesign-assistant-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 18px 22px; }
html:root body #homeDashboard #p10Home .hw-redesign-assistant-mark { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--hw-ui-line); border-radius: 10px; color: var(--hw-ui-accent); background: var(--hw-ui-soft); font-size: 15px; }
html:root body #homeDashboard #p10Home .hw-redesign-assistant-row h2 { font-size: 15px !important; }
html:root body #homeDashboard #p10Home .hw-redesign-assistant-row p { margin-top: 4px; font-size: 12px !important; }
html:root body #homeDashboard #p10Home .hw-redesign-inline-notice { display: grid; gap: 10px; border-top: 1px solid var(--hw-ui-line); padding-top: 14px; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(.p10-availability,.p10-report-notice,.p10-planned-tools) { padding: 8px 18px; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(.p10-availability,.p10-report-notice,.p10-planned-tools)[open] { padding-bottom: 18px; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey summary { min-height: 44px; padding-block: 10px; font-size: 14px; line-height: 1.65; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey details > p { margin-top: 10px; }
html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey details > .p10-actions { margin-top: 16px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-report-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; align-items: start; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-list-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 12px; margin: 0 0 16px; padding: 0; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-list-heading h2 { font-size: 16px !important; margin-bottom: 5px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-list-heading p { font-size: 12px !important; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-record-list { display: grid; gap: 10px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-record { padding: 0; overflow: visible; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-record > summary { display: flex; align-items: center; gap: 13px; padding: 18px; cursor: pointer; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-record[open] > summary { border-bottom: 1px solid var(--hw-ui-line); background: var(--hw-ui-hover); border-radius: 11px 11px 0 0; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-record-number { flex: 0 0 28px; align-self: flex-start; padding-top: 3px; color: var(--hw-ui-muted); font-size: 13px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-record-title { flex: 1; font-size: 15px; line-height: 1.7; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-record-title small { display: block; color: var(--hw-ui-muted); font-size: 12px; font-weight: 400; margin-top: 3px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-record-open { color: var(--hw-ui-accent); font-size: 12px; flex: 0 0 auto; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-record-content { padding: 20px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-record-origin { font-size: 12px !important; padding-bottom: 8px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-answer { padding: 20px 0; margin: 0; border-top: 1px solid var(--hw-ui-line); }
html:root body #p10InterviewReports #p10Reports .hw-redesign-question-heading { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-question-index { color: var(--hw-ui-accent); font-size: 12px; padding-top: 4px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-original-answer { margin: 14px 0 0 38px; padding: 16px; background: var(--hw-ui-hover) !important; border-radius: 8px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-answer-text { margin-top: 8px; color: var(--hw-ui-text) !important; white-space: pre-wrap; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-report-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; align-items: start; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .hw-redesign-review-guide { padding: 8px 18px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-review-guide h2 { font-size: 16px !important; margin-top: 7px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-review-guide ol { list-style: none; margin: 16px 0 0; padding: 0; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-review-guide li { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 8px; padding: 10px 0; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-review-guide li > span { color: var(--hw-ui-muted); font-size: 12px; padding-top: 2px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-review-guide strong { font-size: 14px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-review-guide p { font-size: 12px !important; margin-top: 3px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-recording-entry { display: flex; justify-content: space-between; align-items: center; gap: 20px; grid-column: 1/-1; padding: 18px 20px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-recording-entry > .p10-button { flex-shrink: 0; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-recording-entry h2 { font-size: 16px !important; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-planned-actions { display: grid; gap: 8px; margin-top: 16px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-planned-tools summary .hw-redesign-count { margin-left: 8px; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-report-empty { display: grid; gap: 8px; min-height: 220px; padding: 28px; align-content: center; justify-items: center; text-align: center; }
html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-report-empty > .hw-redesign-empty-icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--hw-ui-line); border-radius: 9px; color: var(--hw-ui-muted); background: var(--hw-ui-hover); font-size: 24px; margin-bottom: 4px; }

/* Profile: the same three-step flow, now a compact horizontal preparation rail. */
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) { width: 100%; min-width: 0; max-width: 1440px; box-sizing: border-box; padding: 26px 28px 48px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile { margin-bottom: 24px; align-items: center; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile h2 { font-size: 28px !important; font-weight: 650; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile p { font-size: 14px !important; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-workbench { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,1fr); grid-template-areas: "guide guide" "document main"; align-items: start; gap: 20px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-main { grid-area: main; min-width: 0; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-guide { grid-area: guide; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 24px; padding: 0; border: 0; background: transparent !important; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-steps { grid-column: 1/-1; padding-bottom: 0; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 8px 0 0; padding: 0; border: 0; background: transparent !important; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-steps li { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 8px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-step-number { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 7px; font-size: 12px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-steps strong { font-size: 14px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-steps small { font-size: 11px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-tip { padding: 0 12px; border-top: 1px solid var(--hw-ui-line); }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-tip summary { min-height: 44px; padding-block: 10px; font-size: 13px !important; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-tip[open] { padding-bottom: 16px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-tip h3 { font-size: 15px !important; line-height: 1.65; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-tip p { font-size: 13px !important; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-boundaries { margin: 0 12px; padding: 0; border-top: 1px solid var(--hw-ui-line); }
html:root body #resumeProfileWorkspace.p04-profile .p04-guide > details[open] { grid-column: 1/-1; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-boundaries summary { font-size: 13px !important; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-boundaries .p04-boundaries { display: block; margin-top: 0; border-top: 0; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-card { padding: 26px; border-radius: 12px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-card h3 { font-size: 21px !important; font-weight: 650; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-card > p { font-size: 14px !important; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-form-heading { padding-bottom: 4px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-form-heading h3 { margin: 6px 0 8px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-form-heading p { font-size: 14px !important; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-input-mode { margin: 18px 0 20px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-upload-area { padding: 24px; border-radius: 10px; border-style: dashed; background: var(--hw-ui-bg) !important; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-upload-heading { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-upload-heading p { margin: 3px 0 0; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-document-mark { display: grid; place-items: center; width: 42px; height: 48px; border: 1px solid var(--hw-ui-line); border-radius: 6px; background: var(--hw-ui-surface) !important; color: var(--hw-ui-accent) !important; font-size: 18px; flex: 0 0 42px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-consent { margin-top: 20px; padding: 16px; background: var(--hw-ui-hover) !important; font-size: 13px !important; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-actions { padding-top: 12px; gap: 10px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-button { min-height: 44px; border-radius: 7px; font-size: 14px !important; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-start-card { padding: 28px; min-height: 0; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .hw-redesign-service-state { display: grid; justify-items: start; gap: 12px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-service-state :is(h3,p,.p04-actions,.hw-redesign-profile-empty-mark) { margin: 0; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-service-state .p04-notice { width: 100%; padding: 12px 16px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-empty-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--hw-ui-line); border-radius: 12px; color: var(--hw-ui-accent); background: var(--hw-ui-soft); margin-bottom: 22px; font-size: 16px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-value { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-value span { padding: 5px 10px; border: 1px solid var(--hw-ui-line); border-radius: 6px; color: var(--hw-ui-muted) !important; font-size: 12px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-fact { padding: 20px; margin-top: 18px; border: 1px solid var(--hw-ui-line); border-radius: 10px; background: var(--hw-ui-bg); }
html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-fact-header { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 14px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-fact-number { font-size: 11px; flex: 0 0 22px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-fact-text { font-size: 16px; font-weight: 550; margin-bottom: 18px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-fact label { font-size: 13px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-fact details { margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--hw-ui-line); }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-target-card > label { margin-top: 22px; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-target-card > details { margin-top: 20px; padding: 10px 14px; background: var(--hw-ui-bg); border: 1px solid var(--hw-ui-line); border-radius: 8px; }
@media (max-width: 1100px) {
  html:root body #homeDashboard #p10Home .hw-redesign-home-main { grid-template-columns: minmax(0,1.1fr) minmax(260px,.9fr); }
  html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-report-layout { grid-template-columns: minmax(0,1fr); }
  html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-report-tools { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-workbench { gap: 16px; }
}
@media (max-width: 760px) {
  html:root body :is(#homeDashboard #p10Home.p10-workspace, #p10InterviewReports #p10Reports.p10-workspace) { padding: 20px 16px 40px; }
  html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey { gap: 16px; }
  html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey .p10-heading { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  html:root body :is(#homeDashboard #p10Home, #p10InterviewReports #p10Reports) .hw-redesign-journey :is(.p10-card,.p10-hero,.p10-route-card) { padding: 20px 16px; }
  html:root body #homeDashboard #p10Home .hw-redesign-home-main { grid-template-columns: minmax(0,1fr); gap: 16px; }
  html:root body #homeDashboard #p10Home .hw-redesign-home .p10-journey { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 16px; }
  html:root body #homeDashboard #p10Home .hw-redesign-home .p10-hero { padding: 24px 18px; gap: 18px; }
  html:root body #homeDashboard #p10Home .hw-redesign-home .p10-hero h2 { font-size: 24px !important; }
  html:root body #homeDashboard #p10Home .hw-redesign-assistant-row { grid-template-columns: 32px minmax(0,1fr); gap: 12px; }
  html:root body #homeDashboard #p10Home .hw-redesign-assistant-row .p10-button { grid-column: 1/-1; justify-self: start; }
  html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-report-tools { grid-template-columns: minmax(0,1fr); }
  html:root body #p10InterviewReports #p10Reports .hw-redesign-recording-entry { flex-direction: column; align-items: flex-start; gap: 12px; }
  html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-record { padding: 0; }
  html:root body #p10InterviewReports #p10Reports .hw-redesign-reports .p10-record > summary { padding: 16px; gap: 8px; }
  html:root body #p10InterviewReports #p10Reports .hw-redesign-record-content { padding: 16px; }
  html:root body #p10InterviewReports #p10Reports .hw-redesign-original-answer { margin-left: 0; padding: 14px; }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) { padding: 20px 16px 40px; }
  html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile { flex-wrap: wrap; align-items: flex-start; gap: 14px; margin-bottom: 18px; text-align: left; }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-workbench { grid-template-columns: minmax(0,1fr); grid-template-areas: "guide" "main" "document"; gap: 18px; }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-guide { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 12px; }
  html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-steps { grid-column: 1/-1; padding-bottom: 8px; }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; margin-top: 10px; }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-steps li { flex-direction: row; padding: 10px 7px; gap: 7px; }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-steps strong { font-size: 13px; }
  html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-tip { padding: 4px 0; }
  html:root body #resumeProfileWorkspace.p04-profile .hw-redesign-profile-boundaries { margin: 0; padding: 4px 0; border-top: 1px solid var(--hw-ui-line); }
  html:root body #resumeProfileWorkspace.p04-profile .p04-guide > details[open] { grid-column: 1/-1; }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) :is(.p04-card,.p04-start-card) { padding: 22px 16px; min-height: 0; }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-upload-area { padding: 18px 14px; }
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-fact { padding: 16px 12px; }
}

/* Resume originals are a document, not a theme-colored replacement template. */
html:root body #resumeProfileWorkspace.p04-profile .p04-document { grid-area: document; min-width: 0; overflow: hidden; scroll-margin-top: 112px; border: 1px solid var(--hw-ui-line); border-radius: 12px; background: var(--hw-ui-surface) !important; color: var(--hw-ui-text); }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--hw-ui-line); }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-heading h3 { margin: 0; font-size: 18px !important; font-weight: 650; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-heading p { margin: 6px 0 0; overflow-wrap: anywhere; }
html:root body #resumeProfileWorkspace.p04-profile .p04-preview-slot { min-width: 0; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-empty { min-height: 350px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 32px; gap: 12px; text-align: center; background: var(--hw-ui-bg) !important; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-empty svg { width: 48px; height: 56px; margin-bottom: 12px; color: var(--hw-ui-muted); }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-empty h4 { margin: 0; font-size: 18px; line-height: 1.6; overflow-wrap: anywhere; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-empty p { max-width: 340px; margin: 0; font-size: 14px !important; color: var(--hw-ui-muted) !important; line-height: 1.7; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 18px; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-filename { min-width: 0; flex: 1 1 160px; overflow-wrap: anywhere; font-size: 13px; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-tabs [aria-pressed="true"] { border-color: var(--hw-ui-primary); background: var(--hw-ui-accent-soft) !important; color: var(--hw-ui-accent) !important; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document :is(a.p04-button,button.p04-button) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 12px; font-size: 13px !important; text-decoration: none; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-caption { padding: 12px 20px; border-block: 1px solid var(--hw-ui-line); color: var(--hw-ui-muted) !important; background: var(--hw-ui-bg) !important; font-size: 12px !important; line-height: 1.7; overflow-wrap: anywhere; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-warning { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-text { margin: 0; padding: 28px; min-height: 350px; max-height: 720px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal; color: var(--hw-ui-text) !important; background: var(--hw-ui-surface) !important; font: 14px/1.95 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
html:root body #resumeProfileWorkspace.p04-profile .p04-pdf-original { display: block; width: 100%; height: min(76vh,820px); min-height: 480px; border: 0; color-scheme: light; filter: none; }
html:root body #resumeProfileWorkspace.p04-profile .p04-document-footnote { margin: 0; padding: 14px 20px; border-top: 1px solid var(--hw-ui-line); font-size: 12px !important; line-height: 1.75; color: var(--hw-ui-muted) !important; }
html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-main .p04-grid { grid-template-columns: minmax(0,1fr); }
html:root body #resumeProfileWorkspace.p04-profile .p04-main input[type="file"] { width: 100%; min-width: 0; font-size: 13px; }
html:root body #resumeProfileWorkspace.p04-profile .p04-review-card { max-height: 980px; overflow: auto; overscroll-behavior: contain; }
@media (max-width: 1100px) {
  html:root body #resumeProfileWorkspace.p04-profile:has(> .hw-redesign-profile) .p04-workbench { grid-template-columns: minmax(0,1fr); grid-template-areas: "guide" "main" "document"; }
  html:root body #resumeProfileWorkspace.p04-profile .p04-document-empty { min-height: 220px; }
  html:root body #resumeProfileWorkspace.p04-profile .p04-review-card { max-height: none; overflow: visible; }
}
@media (max-width: 600px) {
  html:root body #resumeProfileWorkspace.p04-profile .p04-document-heading { padding: 16px; align-items: flex-start; }
  html:root body #resumeProfileWorkspace.p04-profile .p04-document-heading h3 { font-size: 17px !important; }
  html:root body #resumeProfileWorkspace.p04-profile .p04-document-text { padding: 20px 16px; min-height: 240px; }
  html:root body #resumeProfileWorkspace.p04-profile .p04-pdf-original { min-height: 420px; height: 65vh; }
}

/* New-user guide: choose an instruction, then take one explicit action. */
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-guide-steps { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-guide-steps li { display: block; padding: 0; }
html:root body #homeDashboard #p10Home .p10-guide-steps button {
  display: flex; align-items: flex-start; gap: 9px; width: 100%; min-height: 76px; padding: 12px 9px;
  text-align: left; border: 1px solid transparent; border-radius: 8px;
  background: var(--hw-ui-hover); color: var(--hw-ui-text); cursor: pointer;
}
html:root body #homeDashboard #p10Home .p10-guide-steps button:hover { border-color: var(--hw-ui-line); }
html:root body #homeDashboard #p10Home .p10-guide-steps button[aria-pressed="true"] { background: var(--hw-ui-soft); border-color: var(--hw-ui-primary); }
html:root body #homeDashboard #p10Home .p10-guide-steps .p10-step-number { flex: 0 0 24px; margin-top: 1px; }
html:root body #homeDashboard #p10Home .p10-guide-steps button[aria-pressed="true"] .p10-step-number { background: var(--hw-ui-primary) !important; color: #fff !important; border-color: var(--hw-ui-primary); }
html:root body #homeDashboard #p10Home .p10-guide-step-copy { display: grid; gap: 4px; overflow-wrap: anywhere; }
html:root body #homeDashboard #p10Home .p10-guide-step-copy strong { font-size: 14px; line-height: 1.5; }
html:root body #homeDashboard #p10Home .p10-guide-step-copy small { color: var(--hw-ui-muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
html:root body #homeDashboard #p10Home .hw-redesign-home .p10-guide-legend { margin-top: 12px; font-size: 12px !important; }
html:root body #homeDashboard #p10Home .hw-redesign-home-main { grid-template-columns: minmax(0,1.9fr) minmax(260px,1fr); align-items: start; }
html:root body #homeDashboard #p10Home .p10-guide-detail .p10-hero-meta { flex-wrap: wrap; gap: 10px; }
html:root body #homeDashboard #p10Home .p10-guide-detail .p10-hero-meta > .p10-muted { font-size: 12px !important; }
html:root body #homeDashboard #p10Home .p10-guide-instructions { display: grid; gap: 10px; padding: 0 0 0 24px; margin: 0; list-style: decimal; }
html:root body #homeDashboard #p10Home .p10-guide-instructions li { padding-left: 5px; color: var(--hw-ui-text); font-size: 14px; line-height: 1.75; }
html:root body #homeDashboard #p10Home .p10-guide-instructions li::marker { color: var(--hw-ui-accent); font-weight: 600; }
html:root body #homeDashboard #p10Home .p10-guide-next { display: grid; gap: 4px; padding: 12px 14px; border-left: 2px solid var(--hw-ui-line); background: var(--hw-ui-hover) !important; border-radius: 0 6px 6px 0; }
html:root body #homeDashboard #p10Home .p10-guide-next strong { font-size: 13px; }
@media (max-width: 1100px) {
  html:root body #homeDashboard #p10Home .hw-redesign-home .p10-guide-steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  html:root body #homeDashboard #p10Home .hw-redesign-home .p10-guide-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  html:root body #homeDashboard #p10Home .hw-redesign-home-main { grid-template-columns: minmax(0,1fr); }
  html:root body #homeDashboard #p10Home .p10-guide-detail .p10-actions { display: grid; grid-template-columns: minmax(0,1fr); }
}
