:root {
  --ink: #16223a;
  --muted: #5d677a;
  --paper: #f6f4ee;
  --surface: #ffffff;
  --navy: #14213d;
  --blue: #1f4fbf;
  --blue-dark: #163a8f;
  --sky: #eaf1ff;
  --mint: #e4f6ef;
  --mint-ink: #176347;
  --amber: #fff2cf;
  --amber-ink: #70500b;
  --rose: #fff0ef;
  --rose-ink: #8b2c2c;
  --line: #dad6cc;
  --focus: #ffbf47;
  --shadow: 0 18px 50px rgb(16 42 86 / 9%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue-dark); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px var(--navy);
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-150%);
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--navy);
  color: white;
}
.skip-link:focus { transform: none; }

.site-header {
  min-height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem clamp(1rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 780;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark { display: inline-flex; align-items: end; gap: 3px; height: 25px; }
.brand-mark i { display: block; width: 6px; border-radius: 4px; background: var(--blue); }
.brand-mark i:nth-child(1) { height: 11px; }
.brand-mark i:nth-child(2) { height: 18px; }
.brand-mark i:nth-child(3) { height: 25px; background: #35a67a; }

nav { display: flex; gap: 0.4rem; flex-wrap: wrap; justify-content: end; }
.text-button {
  min-height: 44px;
  border: 0;
  padding: 0.55rem 0.75rem;
  background: transparent;
  color: var(--navy);
  font-weight: 680;
  cursor: pointer;
}

.environment-banner {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  background: var(--amber);
  color: var(--amber-ink);
  font-size: 0.88rem;
  text-align: center;
}

.environment-banner[hidden] { display: none; }

main { min-height: calc(100vh - 12rem); }
.work-layout.has-sidebar { display: grid; grid-template-columns: 210px minmax(0, 1fr); align-items: start; gap: 0; width: min(100%, 1440px); min-height: calc(100vh - 7rem); margin: 0 auto; }
.work-layout.has-sidebar .app-shell { width: min(100% - 2rem, 1120px); padding-top: clamp(1rem, 2vw, 1.5rem); }
.work-layout.has-sidebar .app-shell.narrow { width: min(100% - 2rem, 760px); }
.work-sidebar { position: sticky; top: 0; max-height: 100vh; overflow-y: auto; margin: 0; padding: 1.25rem 0.85rem; border-right: 1px solid var(--line); background: var(--paper); }
.work-sidebar[hidden] { display: none; }
.sidebar-title { cursor: pointer; color: var(--blue-dark); font-size: 0.78rem; font-weight: 780; letter-spacing: 0.08em; text-transform: uppercase; }
.sidebar-content { display: flex; flex-direction: column; align-items: stretch; justify-content: start; gap: 0.15rem; margin-top: 0.7rem; }
.sidebar-context { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }
.sidebar-context h3 { margin: 0 0 0.3rem; font-size: 0.82rem; }
.sidebar-totals { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.78rem; }
.sidebar-hint { margin: 0.2rem 0 0.45rem; color: var(--muted); font-size: 0.77rem; line-height: 1.35; }
.sidebar-link { display: block; width: 100%; min-height: 38px; padding: 0.4rem 0.65rem; border: 0; border-radius: 0.55rem; background: transparent; color: var(--navy); text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.sidebar-link:hover, .sidebar-link[aria-current="page"] { background: var(--sky); }
.sidebar-link[aria-current="page"] { font-weight: 760; }
.sidebar-link.sidebar-place { min-height: 42px; font-size: 0.96rem; }
.sidebar-link:disabled { color: var(--muted); cursor: default; opacity: 0.65; }
.sidebar-link:disabled:hover { background: transparent; }
.app-shell { width: min(100% - 2rem, 1040px); margin: 0 auto; padding: clamp(1rem, 2.5vw, 1.75rem) 0 2rem; }
.app-shell.narrow { width: min(100% - 2rem, 760px); }
.app-shell.welcome-screen { padding-top: clamp(1rem, 3vw, 2rem); }
.workspace-screen h1 { max-width: none; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.workspace-practice-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 1rem; margin-top: 1rem; }
.workspace-practice-column { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.workspace-practice-column > .actions:first-child { margin-top: 0; }
.workspace-practice-column > .actions:first-child .button { width: 100%; }
.workspace-practice-column h2 { margin-top: 1.2rem; font-size: 1.18rem; }
.workspace-practice-column > .actions:last-child { margin-top: auto; padding-top: 1.1rem; }
.workspace-document-list { display: grid; gap: 0.65rem; padding: 0; margin: 0; list-style: none; }
.workspace-document-item { min-width: 0; padding: 0.75rem; border: 1px solid var(--line); border-radius: 0.6rem; background: #f8f9fb; }
.workspace-document-item strong { display: block; overflow-wrap: anywhere; }
.workspace-document-item .hint { display: block; margin-top: 0.2rem; }
.workspace-document-item .actions { margin-top: 0.55rem; }
@media (max-width: 760px) { .workspace-practice-columns { grid-template-columns: minmax(0, 1fr); } }
.app-shell.story-work-screen { padding-top: clamp(0.9rem, 2.5vw, 1.5rem); }
.story-work-screen h1 { max-width: none; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.story-work-screen .lede { margin-top: 0.45rem; font-size: 0.96rem; }
.story-work-screen .stepper { margin-bottom: 0.75rem; }
.app-shell.profile-review-screen { padding-top: clamp(0.9rem, 2.5vw, 1.5rem); }
.profile-review-screen h1 { max-width: none; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.profile-review-screen .lede { margin-top: 0.45rem; font-size: 0.96rem; }
.profile-review-screen .stepper { margin-bottom: 0.75rem; }
.profile-review-screen .panel { margin-top: 1rem; padding: 1rem; }
.profile-review-screen .panel h2 { font-size: 1.25rem; }
.app-shell.processed-profile-screen { padding-top: clamp(0.9rem, 2.5vw, 1.5rem); }
.processed-profile-screen h1 { max-width: none; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.processed-profile-screen .lede { margin-top: 0.45rem; font-size: 0.96rem; }
.processed-profile-screen .panel { margin-top: 1rem; padding: 1rem; }
.processed-profile-screen .panel h2 { font-size: 1.25rem; }
.processed-profile-section { scroll-margin-top: 1rem; }
.profile-source-excerpt { color: var(--muted); white-space: pre-wrap; }
.profile-source { margin-top: 0.55rem; font-size: 0.85rem; }
.profile-source summary { color: var(--blue-dark); cursor: pointer; }
.profile-source-excerpt { overflow-wrap: anywhere; }
.processed-profile-screen .credential-review-item { margin: 0; }
.profile-review-screen .claims-table { min-width: 0; table-layout: fixed; }
.profile-review-screen .claims-table th:first-child,
.profile-review-screen .claims-table td:first-child { width: 52%; min-width: 0; overflow-wrap: anywhere; }
.profile-review-screen .claims-table th:last-child,
.profile-review-screen .claims-table td:last-child { width: 48%; min-width: 0; }
.profile-review-screen .button.secondary,
.profile-review-screen .classification-status { font: inherit; font-size: 0.9rem; font-weight: 720; line-height: 1.3; }
.profile-review-screen .classification-status-cell .classification-status { margin: 0; }
.profile-review-screen .button.secondary.claim-review-action {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  justify-content: flex-start;
  margin-top: 0.45rem;
  padding: 0.5rem 0.65rem;
  border-color: #91ade4;
  background: #edf3ff;
  color: var(--blue-dark);
  white-space: normal;
  text-align: left;
}
.profile-review-screen .button.secondary.claim-review-action:hover { background: #dfeaff; border-color: var(--blue-dark); }
.classification-status.unmapped { background: #fff3dd; color: #6f4d00; }
.app-shell.answer-refinement-screen { padding-top: clamp(0.9rem, 2.5vw, 1.5rem); }
.answer-refinement-screen h1 { max-width: none; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.answer-refinement-screen .lede { margin-top: 0.45rem; font-size: 0.96rem; }
.answer-refinement-screen .stepper { margin-bottom: 0.75rem; }
.answer-refinement-screen .panel { margin-top: 1rem; padding: 1rem; }
.answer-refinement-screen .panel h2 { font-size: 1.25rem; }
.answer-refinement-screen .refinement-writing { width: min(100%, 900px); padding: clamp(1rem, 2.5vw, 1.6rem); }
.refinement-prior-content blockquote { margin: 0; padding: 0.65rem 0.8rem; border-left: 3px solid #9db8ea; background: #f4f7fd; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.9rem; }
.refinement-component-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem; margin: 0.75rem 0; }
.refinement-component-button { min-width: 0; min-height: 42px; padding: 0.35rem; border: 1px solid #d6deea; border-radius: 0.45rem; background: #f7f9fc; color: var(--navy); text-align: left; font-size: 0.75rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.refinement-component-button[aria-pressed="true"] { border-color: var(--blue); background: #e5edfc; box-shadow: inset 0 0 0 1px var(--blue); }
.refinement-component-button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.refinement-component-progress { margin: 0 0 0.65rem; color: var(--muted); font-size: 0.8rem; }
.refinement-writing h3 { margin-bottom: 0.2rem; }
.refinement-writing label { display: block; margin-top: 0.7rem; }
.refinement-writing .refinement-replace-choice { display: flex; align-items: center; gap: 0.45rem; cursor: pointer; font-weight: 600; }
.refinement-replace-choice input { width: auto; margin: 0; }
.refinement-writing .refinement-replace-choice[hidden] { display: none; }
.refinement-writing textarea { width: 100%; }
.refinement-prior-content { margin: 0.5rem 0; }
.refinement-prior-content .hint { margin-bottom: 0.25rem; }
.refinement-writing .actions { margin-top: 0.65rem; }
.refinement-writing .button[hidden] { display: none; }
@media (max-width: 520px) {
  .refinement-component-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.resume-preview-text { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.55; margin: 1rem 0 0; }

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1, h2, h3 { color: var(--navy); line-height: 1.13; letter-spacing: -0.035em; }
h1 { max-width: 32ch; margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h2 { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
h3 { margin: 0; font-size: 1.14rem; letter-spacing: -0.015em; }
.lede { max-width: 75ch; margin: 0.6rem 0 0; color: var(--muted); font-size: clamp(0.96rem, 1.5vw, 1.08rem); }

.hero-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; align-items: start; gap: clamp(1rem, 3vw, 2rem); }
.welcome-account-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.welcome-account-choice { display: flex; flex-direction: column; align-items: start; gap: 0.8rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); }
.welcome-account-choice p { margin: 0; color: var(--muted); }
.welcome-account-choice .button { margin-top: auto; min-height: 48px; font-size: 1rem; }
@media (max-width: 650px) { .welcome-account-choices { grid-template-columns: 1fr; } }
.welcome-story { display: grid; gap: 1.35rem; max-width: 75ch; margin-top: 2rem; }
.welcome-story section { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.welcome-story p { margin: 0.6rem 0 0; }
.welcome-etymology { margin: 2.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; text-align: center; }

.hero-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.journey-list { list-style: none; padding: 0; margin: 0; }
.journey-list li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.7rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.journey-list li:last-child { border: 0; }
.journey-list span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--sky); color: var(--blue-dark); font-size: 0.78rem; font-weight: 800; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  background: var(--blue);
  color: white;
  font-weight: 740;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--blue-dark); }
.button.secondary { border-color: var(--line); background: white; color: var(--navy); }
.button.secondary:hover { border-color: var(--navy); }
.button.danger { background: #a63a3a; }
.button[disabled] { cursor: not-allowed; opacity: 0.55; }

.stepper { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; color: var(--muted); font-size: 0.88rem; }
.stepper strong { color: var(--navy); }
.progress-track { flex: 1; height: 5px; overflow: hidden; border-radius: 999px; background: var(--line); }
.progress-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #35a67a); }
.progress-track .progress-20 { width: 20%; }
.progress-track .progress-40 { width: 40%; }
.progress-track .progress-60 { width: 60%; }
.progress-track .progress-80 { width: 80%; }
.progress-track .progress-100 { width: 100%; }

.panel {
  margin-top: 1rem;
  padding: clamp(0.9rem, 2vw, 1.25rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: 0 8px 30px rgb(16 42 86 / 5%);
}
.panel + .panel { margin-top: 1rem; }
.panel.soft { background: #f5f8ff; box-shadow: none; }
.panel.warning { border-color: #e8cd7e; background: #fffaf0; box-shadow: none; }

.entitlement-card { margin-top: 1.25rem; padding: 1rem; border: 1px solid #b7decf; border-radius: 0.8rem; background: #f1faf6; }
.entitlement-card p { margin: 0.6rem 0 0; color: var(--muted); }
.tier-badge { display: inline-flex; padding: 0.25rem 0.6rem; border-radius: 999px; background: #d7f2e6; color: #135d46; font-size: 0.82rem; font-weight: 800; }
.registration-terms { margin-top: 1.5rem; }
.registration-terms h2 { font-size: 1rem; }
.compact-list { margin: 0.7rem 0 0; padding-left: 1.25rem; }
.compact-list li + li { margin-top: 0.4rem; }
.choice-group { margin: 1.5rem 0 0; padding: 1rem; border: 1px solid var(--line); border-radius: 0.8rem; }
.choice-group .legend { padding: 0 0.25rem; }
.choice-group > .hint { margin-bottom: 0.65rem; }

.field { margin-top: 1.25rem; }
.field label, .legend { display: block; margin-bottom: 0.42rem; color: var(--navy); font-weight: 720; }
.hint { display: block; margin: 0.25rem 0 0; color: var(--muted); font-size: 0.9rem; }
input[type="number"], select, textarea, input[type="file"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid #aeb7c5;
  border-radius: 0.6rem;
  padding: 0.72rem 0.8rem;
  background: white;
  color: var(--ink);
}
textarea { min-height: 185px; resize: vertical; }

.answer-input-wrap { position: relative; }
.answer-input-wrap textarea { display: block; padding-bottom: 4.4rem; }
.voice-control { position: absolute; right: 0.75rem; bottom: 0.75rem; display: flex; gap: 0.5rem; }
.voice-button.button {
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: white;
  color: var(--blue-dark);
  font-size: 0.82rem;
  line-height: 1.1;
}
.voice-button.button:hover { background: var(--sky); }
.voice-button.button.stop { border-color: #a63a3a; color: #a63a3a; }
.voice-input { margin-top: 0.65rem; }
.voice-input .hint { margin: 0; }
.device-check.button { min-height: 42px; margin-top: 0.65rem; padding: 0.55rem 0.85rem; font-size: 0.86rem; }
.voice-status { margin: 0.4rem 0 0; color: var(--navy); font-size: 0.92rem; font-weight: 650; }

.check-row, .radio-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.55rem 0;
}
.check-row input, .radio-row input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--blue); flex: 0 0 auto; }
.check-row label, .radio-row label { cursor: pointer; }
.episode-option { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.episode-option:last-child { border-bottom: 0; }
.episode-option-copy { min-width: 0; flex: 1; }
.episode-option-copy > label { display: block; color: var(--navy); font-weight: 720; }
.question-source-label { display: block; color: var(--muted); font-size: 0.85rem; font-weight: 650; }
.question-source-text { display: block; overflow-wrap: anywhere; }
.question-instruction { display: block; margin-top: 0.4rem; color: var(--ink); font-weight: 500; }
.episode-option-copy details { margin-top: 0.55rem; }

.disclosure { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; padding: 1rem; border-radius: 0.8rem; background: var(--sky); color: #243d70; }
.disclosure b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border: 1px solid #6689d8; border-radius: 50%; }
.disclosure p { margin: 0; }

.error-summary { margin: 1rem 0; padding: 1rem; border-left: 5px solid #b73d3d; border-radius: 0.45rem; background: var(--rose); color: var(--rose-ink); }
.error-summary h2 { color: inherit; font-size: 1.1rem; }
.error-summary p { margin: 0.35rem 0 0; }

.review-list { display: grid; gap: 1rem; margin-top: 1.4rem; }
.review-card { padding: 1.2rem; border: 1px solid var(--line); border-radius: 0.85rem; background: white; }
.review-card.attention { border-color: #d49a20; box-shadow: inset 4px 0 0 #d49a20; }
.review-card blockquote { margin: 0.8rem 0; padding: 0.85rem 1rem; border-left: 3px solid #84a2e6; background: #f7f9fd; color: #33415c; }
.review-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.75rem; }
.pill { display: inline-flex; padding: 0.2rem 0.55rem; border-radius: 999px; background: var(--sky); color: var(--blue-dark); font-size: 0.8rem; font-weight: 720; }
.pill.success { background: var(--mint); color: var(--mint-ink); }
.pill.attention { background: #fff2c7; color: #694b00; }
.decision { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.field-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; margin-top: 0.85rem; }
.review-table-wrap { overflow-x: auto; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 0.75rem; }
.review-table { width: 100%; min-width: 720px; border-collapse: collapse; background: white; }
.review-table th, .review-table td { padding: 0.85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.review-table th { background: #f5f7fb; color: var(--navy); font-size: 0.82rem; letter-spacing: 0.02em; }
.review-table tbody tr:last-child td { border-bottom: 0; }
.review-table tr.removed td { opacity: 0.55; background: #f5f7fb; text-decoration: line-through; }
.review-table tr.removed td:last-child { opacity: 1; text-decoration: none; }
.inclusion-toggle { min-width: 6.5rem; border-color: #9aa7bd; border-radius: 999px; background: white; color: var(--muted); }
.inclusion-toggle[aria-checked="true"] { border-color: #238565; background: var(--mint); color: var(--mint-ink); box-shadow: inset 0 0 0 1px #238565; }
.review-table .table-primary { min-width: 10rem; font-weight: 720; color: var(--navy); }
.review-table .table-source { min-width: 17rem; white-space: pre-line; color: #33415c; }
.review-table .field { min-width: 9rem; }
.review-table .hint { margin: 0.45rem 0 0; }
.classification-status { display: inline-flex; margin: 0.75rem 0 0; padding: 0.25rem 0.55rem; border-radius: 999px; background: var(--sky); color: var(--blue-dark); font-size: 0.78rem; font-weight: 740; }
.classification-status.governed { margin-top: 0; background: var(--mint); color: var(--mint-ink); }
.classification-helper { margin-top: 0.65rem; border: 1px solid #bfd0f4; border-radius: 0.7rem; background: #f7f9fd; }
.classification-helper > summary { min-height: 44px; padding: 0.65rem 0.75rem; color: var(--blue-dark); font-weight: 720; cursor: pointer; }
.classification-helper[open] { padding: 0 0.8rem 0.8rem; }
.classification-helper[open] > summary { margin: 0 -0.8rem 0.5rem; padding-inline: 0.8rem; border-bottom: 1px solid #dce5f7; }
.classification-helper .field { min-width: 0; margin-top: 0.65rem; }
.classification-helper input { width: 100%; }
.classification-definitions { margin-block: 0.6rem; }
.role-classification-table td:first-child { width: 42%; }
.career-calendar { position: relative; display: grid; gap: 0; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.career-calendar::before { content: ""; position: absolute; top: 1.25rem; bottom: 1.25rem; left: 0.35rem; width: 2px; background: #bfd0f4; }
.career-calendar-entry { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start; padding: 1rem 0 1rem 1.65rem; border-bottom: 1px solid var(--line); }
.career-calendar-entry:last-child { border-bottom: 0; }
.career-calendar-entry::before { content: ""; position: absolute; top: 1.35rem; left: 0; width: 0.7rem; height: 0.7rem; border: 2px solid white; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 2px #bfd0f4; }
.career-calendar-date { margin: 0; color: var(--blue-dark); font-size: 0.88rem; font-weight: 760; line-height: 1.35; }
.career-calendar-details h3 { margin: 0; color: var(--navy); font-size: 1rem; }
.career-calendar-employer { margin: 0.3rem 0 0; color: #33415c; font-weight: 650; }
.career-calendar-location { margin: 0.22rem 0 0; color: var(--muted); font-size: 0.86rem; }
.career-calendar-action { padding-left: 0.5rem; }
.career-calendar-entry.removed { opacity: 0.55; background: #f5f7fb; }
.career-calendar-entry.removed .career-calendar-details { text-decoration: line-through; }
.career-calendar-entry.removed .career-calendar-action { opacity: 1; text-decoration: none; }


.profile-review-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(20rem, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}
.profile-review-list-pane { min-width: 0; grid-column: 1; grid-row: 1; }
.profile-correction-pane {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow: auto;
}
.profile-correction-editor { display: grid; gap: 0.9rem; }
.profile-correction-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}
.profile-correction-grid label,
.profile-correction-editor > label {
  display: grid;
  gap: 0.35rem;
  color: var(--navy);
  font-weight: 700;
}
.credential-review-list { display: grid; gap: 0.75rem; margin-top: 1rem; }
.credential-review-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}
.credential-summary { display: grid; gap: 0.25rem; min-width: 0; }
.profile-correction-editor blockquote {
  margin: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid #84a2e6;
  background: #f7f9fd;
}

.question-shell { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 2rem; align-items: start; }
.round-rail { position: sticky; top: 1rem; }
.round-rail ol { list-style: none; padding: 0; margin: 1rem 0 0; }
.round-rail li { padding: 0.55rem 0.7rem; border-left: 3px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.round-rail li.current { border-color: var(--blue); color: var(--navy); font-weight: 730; }
.round-rail li.complete { border-color: #35a67a; color: var(--mint-ink); }
.question-count { color: var(--blue-dark); font-weight: 720; }
.question-claim { margin: 0.75rem 0 1.25rem; padding: 1rem 1.1rem; border: 1px solid #bfd0f4; border-radius: 0.8rem; background: #f7f9fd; }
.question-claim h2 { margin: 0 0 0.55rem; color: var(--blue-dark); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.question-claim blockquote { margin: 0; color: #253654; font-size: 0.98rem; line-height: 1.55; }
.question-text { max-width: 55ch; margin: 0.75rem 0 0; color: var(--navy); font-size: clamp(1.06rem, 1.5vw, 1.18rem); font-weight: 720; line-height: 1.48; }

.processing { text-align: center; padding: 4rem 1rem; }
.processing-mark { display: inline-grid; grid-template-columns: repeat(3, 0.75rem); align-items: end; gap: 0.35rem; height: 3rem; }
.processing-mark i { display: block; border-radius: 1rem; background: var(--blue); animation: breathe 1.2s ease-in-out infinite alternate; }
.processing-mark i:nth-child(1) { height: 1.2rem; }
.processing-mark i:nth-child(2) { height: 2rem; animation-delay: 0.2s; }
.processing-mark i:nth-child(3) { height: 2.8rem; animation-delay: 0.4s; background: #35a67a; }
@keyframes breathe { to { opacity: 0.35; transform: translateY(3px); } }

.map-header { display: flex; justify-content: space-between; gap: 1rem; align-items: start; flex-wrap: wrap; }
.story-work-screen .map-header + .actions { margin-top: 0.9rem; }
.finding-grid { display: grid; gap: 1rem; margin-top: 1rem; }
.finding { overflow: hidden; border: 1px solid var(--line); border-radius: 0.95rem; background: white; }
.finding > header { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem; }
.finding > header > div { min-width: 0; }
.finding-index { margin: 0 0 0.3rem; color: var(--blue-dark); font-size: 0.76rem; font-weight: 780; letter-spacing: 0.07em; text-transform: uppercase; }
.finding-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.finding-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: 0.85rem 1rem; border-top: 1px solid var(--line); }
.finding-evidence-source { min-width: 0; }
.finding-evidence-source h3 { color: var(--blue-dark); font-size: 0.82rem; }
.finding-evidence-source blockquote { margin: 0.5rem 0 0; padding: 0.6rem 0.75rem; border-left: 3px solid #84a2e6; background: #f7f9fd; font-size: 0.91rem; overflow-wrap: anywhere; }
.finding-levels { margin: 0; padding: 0.65rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.84rem; }
.finding-grid + .disclosure { margin-top: 1rem; font-size: 0.86rem; }
.finding-review { border-top: 1px solid var(--line); padding: 1rem 1.25rem 1.25rem; background: #fbfcff; }
.finding-review h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.finding-review .actions { justify-content: flex-start; margin-top: 0.7rem; }
.finding-correction-form { display: grid; gap: 0.85rem; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 0.7rem; background: white; }
.finding-correction-form label { display: grid; gap: 0.4rem; color: var(--navy); font-weight: 720; }
.finding-correction-form select,
.finding-correction-form textarea { width: 100%; }
.status-label { flex: 0 0 auto; align-self: start; padding: 0.32rem 0.65rem; border-radius: 999px; background: var(--mint); color: var(--mint-ink); font-size: 0.82rem; font-weight: 760; }
.status-label.neutral { background: var(--sky); color: var(--blue-dark); }

.feedback-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; min-inline-size: 0; margin-top: 2rem; padding: 0; border: 0; }
.feedback-modes > legend { grid-column: 1 / -1; margin-bottom: 0.25rem; color: var(--navy); font-size: 1.05rem; font-weight: 780; }
.feedback-mode { margin: 0; }
.feedback-mode.selected { border-color: #7ab99f; background: #f4fbf8; }
.feedback-mode h2 { margin-top: 0.35rem; }
.feedback-mode .button { margin-top: 0.8rem; }
.feedback-mode-choice { display: flex; align-items: center; gap: 0.7rem; min-height: 44px; color: var(--navy); cursor: pointer; }
.feedback-mode-choice input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--blue); }
.feedback-mode-choice strong { font-size: 1.25rem; }
.choice-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.choice-cards .panel { display: flex; flex-direction: column; margin: 0; }
.choice-cards .actions { margin-top: auto; padding-top: 1rem; }
.deep-connection-form { display: grid; gap: 0.7rem; }
.deep-connection-form label { margin-top: 0.55rem; color: var(--navy); font-weight: 720; }
.deep-connection-form input,
.deep-connection-form select { width: 100%; min-height: 48px; border: 1px solid #aeb7c5; border-radius: 0.6rem; padding: 0.72rem 0.8rem; background: white; color: var(--ink); }
.deep-connection-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.25rem 1rem; margin-bottom: 1rem; border-color: #7ab99f; background: #f4fbf8; }
.deep-connection-banner > div { color: var(--navy); font-weight: 780; }
.deep-connection-banner .hint { grid-column: 1; }
.deep-connection-banner .button { grid-column: 2; grid-row: 1 / span 2; }

.story-tabs { display: flex; gap: 0.7rem; margin: 0.8rem 0; padding-bottom: 0.4rem; overflow-x: auto; }
.story-tabs .button { flex: 0 0 auto; max-width: 22rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.story-tabs [aria-current="page"] { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.story-form { display: grid; gap: 0.8rem; }
.story-component { margin: 0; }
.story-work-screen .story-component { padding: 1rem; }
.story-component-header { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.story-component-header h2 { margin-top: 0; }
.story-component input:not([type="checkbox"]),
.story-component select,
.story-component textarea { width: 100%; }
.story-component textarea { min-height: 7rem; resize: vertical; }
.story-component .hint { margin-bottom: 0.8rem; }
.sensitive-row { color: var(--amber-ink); }
.final-story { max-width: 70rem; }
.story-telling { margin: 1rem 0; padding: 1rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 0.7rem; background: #f7f9fd; font: inherit; white-space: pre-wrap; }
.reflection-invitation { margin-bottom: 1rem; }
.reflection-invitation h2 { margin-top: 0; }
.reflection-panel { max-width: 54rem; }
.reflection-question { max-width: 44ch; color: var(--navy); font-size: clamp(1.2rem, 2vw, 1.5rem); }
.reflection-panel textarea, .reflection-panel select { width: 100%; }
.voice-input.compact { margin-top: 1rem; }
.coaching-list { display: grid; gap: 1rem; margin: 1.5rem 0; }
.coaching-card h2, .memory-card h2 { font-size: 1.1rem; }
.coaching-card blockquote { margin: 0.6rem 0; padding: 0.8rem 1rem; border-left: 3px solid #84a2e6; background: #f7f9fd; }
.decision-label { display: inline-flex; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.82rem; font-weight: 720; text-transform: capitalize; }
.decision-label.accepted { background: var(--mint); color: var(--mint-ink); }
.decision-label.rejected { background: var(--rose); color: var(--rose-ink); }
.role-form input, .role-form textarea { width: 100%; }
.role-comparison-table blockquote { margin: 0.6rem 0; padding: 0.7rem; border-left: 3px solid #84a2e6; background: #f7f9fd; }

.privacy-list { display: grid; gap: 0.8rem; padding: 0; list-style: none; }
.privacy-list li { padding: 0.9rem; border: 1px solid var(--line); border-radius: 0.7rem; background: white; }

footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem clamp(1rem, 5vw, 4.5rem); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.86rem; }
footer p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .work-layout.has-sidebar { display: block; }
  .work-sidebar { position: static; max-height: none; padding: 0.65rem 1rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-content { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; }
  .sidebar-link.sidebar-place { flex: 0 0 auto; width: auto; }
  .sidebar-context { display: flex; gap: 0.25rem; margin-top: 0.3rem; padding-top: 0.3rem; overflow-x: auto; }
  .sidebar-context h3, .sidebar-context p { display: none; }
  .sidebar-context .sidebar-link { flex: 0 0 auto; width: auto; }
  .site-header { align-items: flex-start; }
  .environment-banner { display: block; }
  .environment-banner span { display: block; }
  .hero-grid, .question-shell, .profile-review-workspace, .refinement-workspace, .refinement-summary { grid-template-columns: 1fr; }
  .profile-review-list-pane { grid-column: 1; grid-row: 2; }
  .profile-correction-pane { grid-column: 1; grid-row: 1; position: static; max-height: none; }
  .profile-correction-pane { position: static; max-height: none; }
  .profile-correction-grid { grid-template-columns: 1fr; }
  .credential-review-item { align-items: flex-start; flex-direction: column; }
  .hero-card { order: initial; }
  .round-rail { position: static; order: -1; }
  .round-rail ol { display: none; }
  .field-grid { grid-template-columns: 1fr; }
  .career-calendar::before { left: 0.35rem; }
  .career-calendar-entry { grid-template-columns: 1fr auto; gap: 0.75rem 1rem; padding: 1rem 0 1rem 1.65rem; }
  .career-calendar-entry::before { left: 0; }
  .career-calendar-date { grid-column: 1 / -1; }
  .career-calendar-details { grid-column: 1; }
  .career-calendar-action { grid-column: 2; grid-row: 2; }
  .finding > header { flex-direction: column; }
  .finding-evidence { grid-template-columns: 1fr; }
  .feedback-modes, .choice-cards { grid-template-columns: 1fr; }
  .deep-connection-banner { grid-template-columns: 1fr; }
  .deep-connection-banner .button { grid-column: 1; grid-row: auto; }
  .finding .status-label { align-self: flex-start; max-width: 100%; white-space: normal; }
  footer { display: block; }
  footer a { display: inline-block; margin-top: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  :focus-visible { outline: 3px solid Highlight; box-shadow: none; }
  .button { border-color: ButtonText; }
}
