/* P10 reviewed scopes only: main journey, its two hosts and navigation labels. */
.p10-workspace {
  --p10-bg: #fff; --p10-soft: #f4f7fc; --p10-text: #202b3e; --p10-muted: #536278; --p10-line: #d9e0ea;
  max-width: 1060px; margin: 0 auto; padding: 32px 12px calc(48px + env(safe-area-inset-bottom, 0px));
  color: var(--p10-text); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere;
}
html[data-theme="dark"] .p10-workspace {
  --p10-bg: #111e30; --p10-soft: #18283e; --p10-text: #e9eff9; --p10-muted: #b5c3d8; --p10-line: #40516b;
}
.p10-workspace * { box-sizing: border-box; }
.p10-workspace :is(h1,h2,h3,p) { color: inherit; margin: 0; }
.p10-workspace h1 { font-size: clamp(25px, 3.3vw, 38px); line-height: 1.35; letter-spacing: -.02em; margin: 10px 0 16px; }
.p10-workspace h2 { font-size: 21px; line-height: 1.5; }
.p10-workspace h3 { font-size: 17px; }
/* Historical dashboard paragraph rules are more specific than the module root. */
#homeDashboard.p10-journey-enabled #p10Home.p10-workspace p,
#p10InterviewReports #p10Reports.p10-workspace p { font-size: 16px !important; line-height: 1.7 !important; }
#homeDashboard.p10-journey-enabled #p10Home.p10-workspace :is(.p10-eyebrow,.p10-muted),
#p10InterviewReports #p10Reports.p10-workspace :is(.p10-eyebrow,.p10-muted) { font-size: 14px !important; }
.p10-workspace .p10-heading { margin-bottom: 28px; max-width: 780px; }
.p10-workspace .p10-heading > p { color: var(--p10-muted); }
.p10-workspace .p10-eyebrow { font-size: 14px; font-weight: 600; color: var(--p10-muted); }
.p10-workspace :is(.p10-card,.p10-hero) { background: var(--p10-bg); border: 1px solid var(--p10-line); border-radius: 16px; padding: 24px; min-width: 0; margin-bottom: 20px; }
.p10-workspace .p10-hero { background: var(--p10-soft); padding: 30px; }
.p10-workspace :is(.p10-card,.p10-hero) > * + * { margin-top: 14px; }
.p10-workspace .p10-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.p10-workspace .p10-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.p10-workspace .p10-muted { color: var(--p10-muted); font-size: 14px; }
.p10-workspace .p10-button { appearance: none; min-height: 44px; padding: 10px 18px; border: 1px solid var(--p10-line); border-radius: 9px; background: var(--p10-bg); color: var(--p10-text); font: inherit; font-weight: 600; line-height: 1.5; white-space: normal; cursor: pointer; box-shadow: none; transform: none; }
.p10-workspace .p10-button.p10-primary { background: #245ee8 !important; color: #fff !important; border-color: #245ee8 !important; padding: 14px 24px; }
.p10-workspace .p10-button:disabled { color: var(--p10-muted); background: var(--p10-soft); cursor: not-allowed; }
.p10-workspace :is(button,summary):focus-visible { outline: 3px solid #6e9eff; outline-offset: 3px; }
.p10-workspace summary { cursor: pointer; min-height: 40px; font-weight: 600; }
.p10-workspace .p10-answer { border-top: 1px solid var(--p10-line); padding: 18px 0; }
.p10-workspace .p10-answer-text { white-space: pre-wrap; margin-top: 10px; }
#homeDashboard.p10-journey-enabled > :not(#p10Home) { display: none !important; }
#homeDashboard.p10-journey-enabled #p10Home { display: block !important; width: 100%; min-width: 0; }
#homeDashboard.p10-journey-enabled { display: none; }
#homeDashboard.p10-journey-enabled.active { display: block !important; }
#p10InterviewReports.active { display: block; }
@media (max-width: 720px) {
  .p10-workspace { padding: 22px 4px calc(44px + env(safe-area-inset-bottom, 0px)); font-size: 16px; }
  .p10-workspace .p10-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .p10-workspace :is(.p10-card,.p10-hero) { padding: 20px; }
  .p10-workspace .p10-actions { align-items: stretch; }
  .p10-workspace .p10-actions > button { flex: 1 1 100%; }
}
