:root {
  --navy-950: #001e3d;
  --navy-900: #002d5b;
  --navy-800: #0b436f;
  --navy-700: #235b81;
  --gold-500: #26801b;
  --gold-400: #5d9b4d;
  --gold-100: #edf7ea;
  --cream: #f7faf7;
  --white: #ffffff;
  --slate-700: #354859;
  --slate-500: #697b89;
  --slate-300: #cbd4da;
  --slate-200: #e4e9ed;
  --slate-100: #f2f5f6;
  --green-700: #26801b;
  --green-100: #edf7ea;
  --amber-700: #8a5a13;
  --amber-500: #c4831e;
  --amber-100: #fff3d9;
  --red-700: #9d3a35;
  --red-100: #fce9e7;
  --shadow: 0 22px 60px rgba(8, 26, 44, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--navy-950);
  background:
    radial-gradient(circle at 5% 5%, rgba(38, 128, 27, 0.08), transparent 28rem),
    linear-gradient(180deg, #fff 0%, var(--cream) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button { color: inherit; }
select { font: inherit; color: inherit; }

.site-header,
.site-footer,
.view {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(12, 35, 59, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo { display: block; width: clamp(178px, 20vw, 238px); height: auto; overflow: visible; }

.prototype-badge {
  padding: 7px 11px;
  color: var(--navy-700);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

main { min-height: calc(100vh - 150px); }
.view[hidden] { display: none !important; }

.selection-view {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 108px);
  align-items: center;
  padding-block: clamp(48px, 8vh, 90px);
}

.eyebrow,
.step-label,
.card-kicker {
  margin: 0 0 10px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1,
.results-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy h1 span { color: var(--gold-500); }
.hero-lede {
  max-width: 480px;
  margin: 26px 0 0;
  color: var(--slate-700);
  font-size: 18px;
  line-height: 1.7;
}

.team-workspace-card {
  padding: 22px;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px rgba(8, 26, 44, 0.18);
}
.team-workspace-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.15; }
.team-workspace-card > p:not(.card-kicker):not(.account-status) { margin: 12px 0 18px; color: #dce7ef; line-height: 1.55; }
.team-workspace-card .card-kicker { color: var(--gold-400); }
.team-workspace-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.team-workspace-card .button.primary { background: var(--gold-400); color: var(--navy-950); }
.team-workspace-card .button.secondary { color: var(--white); border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.team-workspace-card .text-button { color: var(--white); }
.account-status { margin: 14px 0 0; color: #c8d6df; font-size: 13px; }
.account-status a { color: var(--gold-400); font-weight: 700; }

.workspace-save-status {
  margin-left: auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 700;
}

.workspace-dialog {
  width: min(590px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 32px));
  padding: 0;
  color: var(--navy-950);
  background: var(--white);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(8, 26, 44, .3);
}
.workspace-dialog::backdrop { background: rgba(8, 26, 44, .64); backdrop-filter: blur(3px); }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 26px 28px 18px; border-bottom: 1px solid var(--slate-200); }
.dialog-header h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.dialog-close { width: 38px; height: 38px; border: 1px solid var(--slate-200); border-radius: 50%; background: var(--white); cursor: pointer; font-size: 26px; line-height: 1; }
#workspace-dialog-content { padding: 24px 28px 30px; }
.workspace-form { display: grid; gap: 18px; }
.workspace-field { display: grid; gap: 7px; }
.workspace-field[hidden] { display: none; }
.workspace-field label, .workspace-choice legend { font-size: 14px; font-weight: 800; }
.workspace-field input, .workspace-field select {
  width: 100%; min-height: 48px; padding: 11px 13px; color: var(--navy-950); background: var(--white); border: 1.5px solid var(--slate-300); border-radius: 10px;
}
.workspace-field small, .workspace-choice small { color: var(--slate-500); line-height: 1.45; }
.workspace-choice { margin: 0; padding: 0; border: 0; }
.workspace-choice label { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-weight: 500; line-height: 1.45; }
.workspace-choice input { margin-top: 3px; }
.workspace-form .button { justify-content: center; }
.workspace-message { margin: 0; color: var(--red-700); font-size: 14px; line-height: 1.5; }
.workspace-success { padding: 18px; text-align: center; background: var(--green-100); border-radius: var(--radius-md); }
.workspace-success h3 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 24px; }
.created-code { display: block; margin: 18px auto; font-size: 36px; letter-spacing: .16em; }
.workspace-list { display: grid; gap: 10px; }
.workspace-list button { width: 100%; padding: 16px; text-align: left; background: var(--white); border: 1.5px solid var(--slate-200); border-radius: 12px; cursor: pointer; }
.workspace-list button:hover { border-color: var(--gold-400); }
.workspace-list strong, .workspace-list span { display: block; }
.workspace-list span { margin-top: 4px; color: var(--slate-500); font-size: 13px; }

.dashboard-view { padding-block: 34px 70px; }
.dashboard-heading { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin: 34px 0 26px; }
.dashboard-heading h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(36px, 5vw, 58px); line-height: 1; letter-spacing: -.035em; }
.dashboard-heading p:not(.eyebrow) { margin: 14px 0 0; color: var(--slate-700); }
.workspace-code-panel { min-width: 220px; padding: 18px; background: var(--navy-900); color: var(--white); border-radius: var(--radius-md); }
.workspace-code-panel span, .workspace-code-panel strong { display: block; }
.workspace-code-panel span { color: #c8d6df; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.workspace-code-panel strong { margin: 7px 0 13px; color: var(--gold-400); font-size: 28px; letter-spacing: .14em; }
.workspace-code-panel .button { min-height: 38px; width: 100%; padding: 8px 12px; color: var(--navy-950); background: var(--white); }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.dashboard-stat { padding: 20px; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); }
.dashboard-stat span { display: block; color: var(--slate-500); font-size: 13px; }
.dashboard-stat strong { display: block; margin-top: 6px; font-size: 28px; }
.dashboard-panel { padding: 28px; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.dashboard-panel h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
.rules-panel { margin-top: 18px; }
.rules-heading-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.rules-heading-row p:not(.card-kicker) { max-width: 720px; margin: 8px 0 0; color: var(--slate-700); line-height: 1.55; }
.rules-method-note { margin-top: 20px; padding: 16px 18px; color: var(--navy-800); background: var(--gold-100); border-left: 4px solid var(--gold-500); border-radius: 10px; line-height: 1.55; }
.rules-table-wrap { overflow-x: auto; margin-top: 20px; border: 1px solid var(--slate-200); border-radius: 12px; }
#rules-table { width: 100%; min-width: 1500px; border-collapse: collapse; }
#rules-table th, #rules-table td { padding: 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--slate-200); line-height: 1.5; }
#rules-table th { color: var(--slate-500); background: var(--slate-100); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
#rules-table td { font-size: 14px; }
#rules-table td:first-child { min-width: 220px; }
#rules-table td:nth-child(2), #rules-table td:nth-child(4), #rules-table td:nth-child(5) { min-width: 260px; }
#rules-table td:nth-child(6) { min-width: 180px; }
#rules-table small { display: block; margin-top: 6px; color: var(--slate-500); font-size: 12px; }
.rule-severity { display: inline-block; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: capitalize; }
.rule-severity.high { color: var(--red-700); background: var(--red-100); }
.rule-severity.moderate { color: var(--amber-700); background: var(--amber-100); }
.rule-severity.watch { color: var(--green-700); background: var(--green-100); }
.priority-value { display: inline-grid; width: 46px; height: 46px; place-items: center; color: var(--white); background: var(--navy-900); border-radius: 50%; font-size: 17px; }
.dashboard-table-wrap { overflow-x: auto; margin-top: 20px; }
#dashboard-table { width: 100%; border-collapse: collapse; min-width: 690px; }
#dashboard-table th, #dashboard-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--slate-200); }
#dashboard-table th { color: var(--slate-500); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.status-pill { display: inline-block; padding: 5px 9px; border-radius: 999px; background: var(--amber-100); color: var(--amber-700); font-size: 12px; font-weight: 800; }
.status-pill.complete { background: var(--green-100); color: var(--green-700); }
.dashboard-empty { margin-top: 20px; padding: 24px; color: var(--slate-700); text-align: center; background: var(--slate-100); border-radius: 12px; }
.dashboard-retention { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 18px; padding: 18px 2px; color: var(--slate-700); font-size: 14px; }
.dashboard-retention p { margin: 0; }
.text-button.danger { color: var(--red-700); }

.owner-dashboard-view .dashboard-stats { grid-template-columns: repeat(5, 1fr); }
.owner-privacy-note { margin: 18px 0 0; padding: 14px 16px; color: var(--navy-800); background: var(--gold-100); border-radius: 12px; line-height: 1.55; }
.owner-workspace-list { display: grid; gap: 18px; margin-top: 22px; }
.owner-workspace-card { padding: 22px; border: 1px solid var(--slate-200); border-radius: var(--radius-md); background: var(--cream); }
.owner-workspace-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.owner-workspace-heading h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 25px; }
.owner-workspace-heading p:not(.card-kicker) { margin: 6px 0; color: var(--slate-700); }
.owner-workspace-heading small { color: var(--slate-500); }
.owner-workspace-summary { min-width: 150px; padding: 14px; text-align: center; background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; }
.owner-workspace-summary strong, .owner-workspace-summary span, .owner-workspace-summary small { display: block; }
.owner-workspace-summary strong { font-size: 25px; }
.owner-workspace-summary span, .owner-workspace-summary small { color: var(--slate-500); }
.owner-participant-table { width: 100%; min-width: 780px; border-collapse: collapse; }
.owner-participant-table th, .owner-participant-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--slate-200); }
.owner-participant-table th { color: var(--slate-500); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.owner-participant-table .text-button:disabled { color: var(--slate-500); cursor: not-allowed; }
.owner-report { display: grid; gap: 24px; }
.owner-report-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.owner-report-summary div { padding: 14px; background: var(--slate-100); border-radius: 12px; }
.owner-report-summary span, .owner-report-summary strong { display: block; }
.owner-report-summary span { margin-bottom: 5px; color: var(--slate-500); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.owner-report section { padding-top: 20px; border-top: 1px solid var(--slate-200); }
.owner-report h3 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
.owner-report ol { display: grid; gap: 14px; margin: 0; padding-left: 24px; }
.owner-report li p { margin: 5px 0 0; color: var(--slate-700); line-height: 1.5; }
.owner-answer-list { display: grid; gap: 10px; }
.owner-answer-list div { padding: 13px 14px; background: var(--slate-100); border-radius: 10px; }
.owner-answer-list strong, .owner-answer-list span { display: block; }
.owner-answer-list span { margin-top: 5px; color: var(--slate-700); }
.owner-feedback-list { margin: 0; }
.owner-feedback-list div { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--slate-200); }
.owner-feedback-list dt { font-weight: 700; }
.owner-feedback-list dd { margin: 0; color: var(--slate-700); text-transform: capitalize; }

@media (max-width: 760px) {
  .dashboard-heading { align-items: stretch; flex-direction: column; }
  .workspace-code-panel { min-width: 0; }
  .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .owner-dashboard-view .dashboard-stats { grid-template-columns: 1fr 1fr; }
  .dashboard-retention { align-items: flex-start; flex-direction: column; }
  .owner-workspace-heading { flex-direction: column; }
  .owner-workspace-summary { width: 100%; }
  .owner-report-summary { grid-template-columns: 1fr; }
}

.assessment-panel {
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(12, 35, 59, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.panel-heading { margin-bottom: 24px; }
.panel-heading h2,
.priorities-card h2,
.insight-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.product-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.product-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
  padding: 20px;
  text-align: left;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.product-card:hover,
.product-card:focus-visible {
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(8, 26, 44, 0.09);
  outline: none;
}
.product-icon,
.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  color: var(--gold-500);
  background: var(--gold-100);
  border-radius: 10px;
}
.product-card .product-icon { grid-row: 1 / 3; margin: 0; }
.product-icon svg,
.mini-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.product-card strong { display: block; margin-bottom: 4px; font-size: 17px; }
.product-title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 4px; }
.product-card .product-title-row { align-self: end; }
.product-title-row strong { display: inline; margin: 0; }
.product-title-row > span { color: var(--slate-500); font-size: 12px; font-weight: 700; }
.product-card small { display: block; color: var(--slate-500); font-size: 13px; line-height: 1.45; }
.product-card > small { align-self: start; }
.product-badge { display: inline-block; grid-column: 2; justify-self: start; margin-top: 8px; padding: 5px 8px; color: var(--amber-700); background: var(--gold-100); border-radius: 7px; font-size: 11px; font-weight: 800; }

.privacy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: var(--slate-500);
  font-size: 12px;
}
.privacy-note svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.question-view { padding-block: 34px 70px; }
.stewardguard-view { padding-block: 34px 70px; }
.stewardguard-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 7vw, 90px); align-items: end; margin: 42px 0 34px; }
.stewardguard-intro h1 { max-width: 760px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; letter-spacing: -.04em; }
.stewardguard-intro > p { margin: 0; color: var(--slate-700); font-size: 17px; line-height: 1.7; }
.pilot-version { color: var(--slate-500); font-size: 14px; font-weight: 700; }
.pilot-notice { margin: 0 0 24px; padding: 24px; border: 1px solid rgba(12, 35, 59, 0.14); border-left: 5px solid var(--gold-500); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.pilot-notice h2 { margin: 5px 0 18px; }
.pilot-notice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pilot-notice-grid div { display: grid; gap: 5px; padding: 16px; border-radius: 12px; background: var(--slate-100); }
.pilot-notice-grid span, .pilot-contact { color: var(--slate-500); line-height: 1.5; }
.pilot-contact { margin: 16px 0 0; }
.stewardguard-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.stewardguard-options.workspace-only { grid-template-columns: minmax(0, 760px); justify-content: center; }
.owner-workspace-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-top: 12px; }
.owner-workspace-controls label { display: grid; gap: 5px; color: var(--muted); font-size: .86rem; font-weight: 700; }
.owner-workspace-controls input { width: 110px; min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); background: #fff; font: inherit; }
.owner-workspace-controls .button { min-height: 42px; padding: 8px 14px; }
.owner-invite-panel { margin-bottom: 24px; }
.owner-invite-form { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 20px; }
.owner-invite-form fieldset, .owner-invite-form .workspace-message, .owner-invite-form > .button { grid-column: 1 / -1; }
.owner-add-invite { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; margin-top: 16px; }
.owner-add-invite label { display: grid; gap: 5px; min-width: min(300px, 100%); color: var(--muted); font-size: .86rem; font-weight: 700; }
.owner-add-invite input { min-height: 42px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; color: var(--ink); background: #fff; font: inherit; }
.owner-add-invite .workspace-message { flex-basis: 100%; }
.invitation-list { margin: 18px 0; padding: 16px; border: 1px solid var(--slate-200); border-radius: 10px; background: #fff; }
.invitation-list h4 { margin: 0 0 10px; }
.invitation-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-top: 1px solid var(--slate-200); }
.invitation-row:first-of-type { border-top: 0; }
.invitation-row span:first-child { display: grid; gap: 3px; }
.invitation-row small { color: var(--muted); text-transform: capitalize; }
@media (max-width: 700px) {
  .brand-logo { width: 168px; }
  .owner-invite-form { grid-template-columns: 1fr; }
  .owner-invite-form fieldset, .owner-invite-form .workspace-message, .owner-invite-form > .button { grid-column: 1; }
  .invitation-row { align-items: flex-start; flex-direction: column; }
}
.individual-assessment-card { padding: 28px; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.individual-assessment-card h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.individual-assessment-card > p:not(.card-kicker) { margin: 14px 0 22px; color: var(--slate-700); line-height: 1.6; }
.individual-assessment-card small { display: block; margin-top: 14px; color: var(--slate-500); line-height: 1.45; }
.stewardguard-options .team-workspace-card { height: 100%; }
.assessment-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.text-button { padding: 8px 0; color: var(--slate-700); background: transparent; border: 0; cursor: pointer; font-weight: 700; }
.text-button:hover { color: var(--gold-500); }
.active-product { display: flex; align-items: center; gap: 10px; }
.active-product .mini-icon { width: 34px; height: 34px; margin: 0; }
.active-product strong, .active-product small { display: block; }
.active-product strong { font-size: 14px; }
.active-product small { color: var(--slate-500); font-size: 11px; }

.question-shell { width: min(760px, 100%); margin: 0 auto; }
.progress-meta { display: flex; justify-content: space-between; margin-bottom: 10px; color: var(--slate-500); font-size: 12px; font-weight: 700; }
.progress-track { height: 7px; margin-bottom: 22px; overflow: hidden; background: var(--slate-200); border-radius: 99px; }
.progress-track span { display: block; width: 12.5%; height: 100%; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); border-radius: inherit; transition: width 220ms ease; }

.question-card {
  padding: clamp(28px, 5vw, 54px);
  background: var(--white);
  border: 1px solid rgba(12, 35, 59, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.category-pill { display: inline-block; margin: 0 0 18px; padding: 7px 10px; color: var(--navy-700); background: var(--slate-100); border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.question-card h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.025em; }
.question-help { margin: 14px 0 26px; color: var(--slate-500); line-height: 1.55; }
.answer-options { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.answer-option { position: relative; }
.answer-option input { position: absolute; opacity: 0; pointer-events: none; }
.answer-option label {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding: 13px 16px;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.answer-option label::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; border: 2px solid var(--slate-300); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--white); }
.answer-option input:checked + label { background: #f4fbf2; border-color: var(--gold-400); }
.answer-option input:checked + label::before { background: var(--gold-500); border-color: var(--gold-500); }
.answer-option input:focus-visible + label { outline: 3px solid rgba(38, 128, 27, 0.25); outline-offset: 2px; }
.other-role-field { margin-top: 4px; padding: 16px; background: var(--slate-100); border-radius: var(--radius-sm); }
.other-role-field label { display: block; margin-bottom: 8px; color: var(--navy-800); font-size: 14px; font-weight: 800; }
.other-role-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  color: var(--navy-950);
  background: var(--white);
  border: 1.5px solid var(--slate-300);
  border-radius: 9px;
  font-size: 16px;
}
.other-role-field input:focus { border-color: var(--gold-500); outline: 3px solid rgba(38, 128, 27, 0.2); outline-offset: 1px; }
.answer-error { margin: 12px 0 0; color: var(--red-700); font-size: 13px; font-weight: 700; }
.question-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 47px;
  padding: 0 20px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { color: var(--white); background: var(--navy-900); box-shadow: 0 8px 18px rgba(8, 26, 44, 0.15); }
.button.primary:hover { background: var(--navy-800); }
.button.secondary { color: var(--navy-900); background: var(--white); border-color: var(--slate-300); }
.button.secondary:hover { border-color: var(--navy-700); }
.button:disabled { opacity: 0.42; cursor: not-allowed; transform: none; }

.results-view { padding-block: 50px 80px; }
.results-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.results-header h1 { font-size: clamp(38px, 5vw, 58px); }
.results-intro { max-width: 720px; margin: 16px 0 0; color: var(--slate-700); font-size: 17px; line-height: 1.6; }
.print-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.assessment-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 22px 26px;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-md);
}
.assessment-profile[hidden] { display: none; }
.assessment-profile .card-kicker { margin-bottom: 5px; color: var(--gold-400); }
.assessment-profile h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 23px; }
.profile-chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.profile-chip { padding: 7px 10px; color: var(--white); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; font-size: 12px; }
.results-grid { display: grid; grid-template-columns: 0.74fr 1.26fr; gap: 18px; }
.score-card,
.priorities-card,
.insight-card { background: var(--white); border: 1px solid rgba(12, 35, 59, 0.09); border-radius: var(--radius-lg); box-shadow: 0 14px 44px rgba(8, 26, 44, 0.08); }
.score-card { padding: 30px; text-align: center; }
.score-card .card-kicker { text-align: left; }
.score-ring {
  --score: 0;
  display: grid;
  place-items: center;
  width: 174px;
  height: 174px;
  margin: 12px auto 20px;
  background: conic-gradient(var(--ring-color, var(--gold-500)) calc(var(--score) * 1%), var(--slate-100) 0);
  border-radius: 50%;
  position: relative;
}
.score-ring::before { content: ""; position: absolute; inset: 13px; background: var(--white); border-radius: 50%; }
.score-ring div { position: relative; z-index: 1; }
.score-ring strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 56px; line-height: 0.9; }
.score-ring span { display: block; margin-top: 8px; color: var(--slate-500); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.risk-badge { display: inline-block; padding: 7px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; }
.risk-badge.low { color: var(--green-700); background: var(--green-100); }
.risk-badge.medium { color: var(--amber-700); background: var(--amber-100); }
.risk-badge.high { color: var(--red-700); background: var(--red-100); }
.score-explanation { margin: 17px 0 10px; color: var(--slate-700); line-height: 1.55; }
.score-note { margin: 0; padding-top: 14px; color: var(--slate-500); border-top: 1px solid var(--slate-200); font-size: 11px; line-height: 1.45; }

.priorities-card { padding: 30px; }
.card-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--slate-200); }
.priority-count { padding: 6px 9px; color: var(--navy-700); background: var(--slate-100); border-radius: 8px; font-size: 11px; font-weight: 800; }
.priority-list { display: grid; }
.priority-item { display: grid; grid-template-columns: 38px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--slate-200); }
.priority-item:last-child { border-bottom: 0; padding-bottom: 0; }
.priority-number { display: grid; place-items: center; width: 34px; height: 34px; color: var(--navy-900); background: var(--gold-100); border-radius: 10px; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.priority-item h3 { margin: 1px 0 5px; font-size: 16px; }
.priority-item p { margin: 0; color: var(--slate-500); font-size: 13px; line-height: 1.5; }
.priority-item strong { color: var(--navy-700); }

.report-section {
  margin-top: 18px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(12, 35, 59, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 44px rgba(8, 26, 44, 0.08);
}
.report-section[hidden] { display: none; }
.report-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--slate-200); }
.report-section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; letter-spacing: -0.02em; }
.report-section-heading p:last-child { max-width: 760px; margin: 9px 0 0; color: var(--slate-500); line-height: 1.55; }
.section-count { flex: 0 0 auto; padding: 7px 10px; color: var(--navy-700); background: var(--slate-100); border-radius: 8px; font-size: 12px; font-weight: 800; }
.pattern-list { display: grid; gap: 14px; padding-top: 20px; }
.pattern-card { padding: 20px; border: 1px solid var(--slate-200); border-left: 5px solid var(--gold-500); border-radius: 12px; }
.pattern-card.high { border-left-color: var(--red-700); }
.pattern-card.moderate { border-left-color: var(--amber-500); }
.pattern-card.watch { border-left-color: var(--navy-700); }
.pattern-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pattern-topline h3 { margin: 0; font-size: 18px; }
.severity-label { flex: 0 0 auto; padding: 5px 8px; border-radius: 7px; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.severity-label.high { color: var(--red-700); background: var(--red-100); }
.severity-label.moderate { color: var(--amber-700); background: var(--amber-100); }
.severity-label.watch { color: var(--navy-700); background: var(--slate-100); }
.pattern-summary { margin: 10px 0 0; color: var(--slate-700); line-height: 1.6; }
.evidence-box { margin-top: 14px; padding: 13px 15px; background: var(--slate-100); border-radius: 10px; }
.evidence-box strong { display: block; margin-bottom: 6px; color: var(--navy-700); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.evidence-box ul { margin: 0; padding-left: 18px; color: var(--slate-700); font-size: 14px; line-height: 1.5; }
.finding-action { margin-top: 14px; color: var(--slate-700); font-size: 14px; line-height: 1.55; }
.finding-action strong { color: var(--navy-900); }

.action-plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 20px; }
.plan-column { padding: 18px; background: var(--slate-100); border-radius: 12px; }
.plan-column h3 { margin: 0 0 13px; color: var(--navy-800); font-size: 15px; }
.plan-item { padding: 12px 0; border-top: 1px solid var(--slate-200); }
.plan-item:first-of-type { padding-top: 0; border-top: 0; }
.plan-item strong { display: block; margin-bottom: 5px; font-size: 14px; line-height: 1.4; }
.plan-item span { display: block; color: var(--slate-500); font-size: 12px; line-height: 1.45; }

.compensating-section { background: linear-gradient(180deg, #f7fbf6, var(--white)); border-color: rgba(38, 128, 27, 0.28); }
.control-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-top: 20px; }
.control-item { display: grid; grid-template-columns: 30px 1fr; gap: 11px; padding: 16px; background: var(--white); border: 1px solid var(--slate-200); border-radius: 12px; }
.control-number { display: grid; place-items: center; width: 28px; height: 28px; color: var(--amber-700); background: var(--gold-100); border-radius: 8px; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.control-item strong { display: block; margin-bottom: 4px; font-size: 14px; }
.control-item p { margin: 0; color: var(--slate-500); font-size: 13px; line-height: 1.5; }

.alignment-list { display: grid; gap: 10px; padding-top: 20px; }
.alignment-item { padding: 16px; background: var(--slate-100); border-radius: 12px; }
.alignment-item h3 { margin: 0 0 9px; font-size: 15px; }
.perspective-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.perspective-answer { padding: 10px 12px; background: var(--white); border-radius: 8px; color: var(--slate-700); font-size: 13px; }
.perspective-answer strong { display: block; margin-bottom: 3px; color: var(--navy-700); font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }

.insights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.insight-card { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 26px; }
.insight-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--green-700); background: var(--green-100); border-radius: 10px; font-weight: 900; }
.next-card .insight-icon { color: var(--amber-700); background: var(--amber-100); }
.insight-card ul { margin: 14px 0 0; padding-left: 18px; color: var(--slate-700); }
.insight-card li + li { margin-top: 7px; }
.insight-card p:last-child { margin: 12px 0 0; color: var(--slate-700); line-height: 1.6; }
.results-actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.disclaimer { margin: 18px auto 0; color: var(--slate-500); text-align: center; font-size: 11px; }
.pilot-consent p { margin: 0 0 12px; color: var(--slate-500); line-height: 1.55; }
.pilot-consent .privacy-link-line { color: var(--navy-800); }
.pilot-consent a, .privacy-policy a, .site-footer a { color: var(--navy-700); font-weight: 700; }
.pilot-feedback-form { display: grid; gap: 16px; }
.pilot-feedback-form > .button { justify-self: start; }
.feedback-question { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 16px; align-items: center; padding: 15px 0; border: 0; border-bottom: 1px solid var(--slate-200); }
.feedback-question legend { float: left; font-weight: 700; }
.feedback-options { display: flex; gap: 8px; flex-wrap: wrap; }
.feedback-options label { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--slate-200); border-radius: 10px; cursor: pointer; }
.pilot-comment { display: grid; gap: 8px; }
.pilot-comment textarea { width: 100%; padding: 13px; border: 1px solid var(--slate-200); border-radius: 10px; font: inherit; resize: vertical; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; color: var(--slate-500); border-top: 1px solid rgba(12, 35, 59, 0.09); font-size: 12px; }

.privacy-page { width: min(860px, calc(100% - 40px)); margin-inline: auto; padding-block: clamp(48px, 7vw, 80px); }
.privacy-heading { padding-bottom: 28px; border-bottom: 1px solid var(--slate-200); }
.privacy-heading h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 7vw, 68px); line-height: 1; letter-spacing: -.035em; }
.privacy-heading > p:last-child { margin: 14px 0 0; color: var(--slate-500); }
.privacy-policy { padding: clamp(26px, 5vw, 48px); margin-top: 28px; background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.privacy-policy > p:first-child { margin-top: 0; color: var(--navy-800); font-size: 18px; line-height: 1.65; }
.privacy-policy section { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--slate-200); }
.privacy-policy h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
.privacy-policy p, .privacy-policy li { line-height: 1.65; }
.privacy-policy p { color: var(--slate-700); }
.privacy-policy ul { display: grid; gap: 8px; padding-left: 24px; }
.privacy-actions { margin-top: 24px; }
.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: 860px) {
  .selection-view { grid-template-columns: 1fr; gap: 38px; padding-top: 44px; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .stewardguard-intro { grid-template-columns: 1fr; align-items: start; }
  .pilot-notice-grid { grid-template-columns: 1fr; }
  .stewardguard-options { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .score-card .card-kicker { text-align: center; }
  .action-plan { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header, .site-footer, .view { width: min(100% - 24px, 1160px); }
  .site-header { min-height: 66px; }
  .prototype-badge { font-size: 9px; }
  .selection-view { padding-block: 34px 52px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 11px; align-items: center; }
  .product-icon { grid-row: 1 / 3; margin: 0; }
  .product-title-row { align-self: end; }
  .product-card small { align-self: start; }
  .product-badge { grid-column: 2; justify-self: start; }
  .question-view { padding-top: 20px; }
  .assessment-topbar { align-items: flex-start; }
  .active-product small { display: none; }
  .question-card { padding: 26px 20px; }
  .question-actions .button { flex: 1; }
  .results-view { padding-top: 34px; }
  .results-header { align-items: stretch; flex-direction: column; }
  .print-button { align-self: flex-start; }
  .assessment-profile { align-items: flex-start; flex-direction: column; }
  .profile-chips { justify-content: flex-start; }
  .report-section { padding: 24px 18px; }
  .report-section-heading { flex-direction: column; }
  .pattern-topline { align-items: flex-start; }
  .control-list { grid-template-columns: 1fr; }
  .perspective-row { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card { padding: 22px 18px; }
  .results-actions { flex-direction: column; }
  .feedback-question { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: center; gap: 5px; }
}

@media print {
  body { background: #fff; }
  .site-header, .site-footer, .print-button, .results-actions, .pilot-feedback { display: none !important; }
  .results-view { width: 100%; padding: 0; }
  .results-grid, .insights-grid, .report-section { break-inside: avoid; }
  .score-card, .priorities-card, .insight-card, .report-section { box-shadow: none; }
}

.steward-clarification { margin: 0 0 24px; }
.steward-clarification[hidden], .clarification-panel[hidden] { display: none; }
.clarification-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--slate-300); border-radius: 8px; background: var(--white); color: var(--navy-900); cursor: pointer; text-align: left; }
.clarification-toggle:focus-visible { outline: 3px solid var(--navy-700); outline-offset: 3px; }
.clarification-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; border: 1.5px solid currentColor; border-radius: 50%; font-weight: 700; }
.clarification-panel { margin-top: 10px; padding: 16px; border: 1px solid var(--slate-300); border-radius: 8px; color: var(--navy-900); background: var(--white); line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.governance-panel { margin-top: 2rem; padding: 1.5rem; }
.governance-panel table { width:100%; border-collapse:collapse; }
.governance-panel th,.governance-panel td { padding:.7rem; text-align:left; border-bottom:1px solid #d8dfe5; }
.governance-panel label { display:block; margin:.7rem 0; font-weight:600; }
.governance-panel input,.governance-panel textarea,.governance-panel select { display:block; width:100%; max-width:36rem; padding:.65rem; border:1px solid #8294a5; border-radius:.3rem; color:#0c233b; background:white; }
.governance-action { padding:1rem; border:1px solid #ccd5de; border-radius:.5rem; margin:1rem 0; }
.governance-panel :focus-visible { outline:3px solid #b3842b; outline-offset:3px; }
.governance-panel button { margin:.3rem; }
@media(max-width:600px){.governance-panel{padding:.65rem}.governance-panel button{max-width:100%;white-space:normal}.governance-panel h2{font-size:1.3rem}}

/* Owner management and organization reports reuse the individual report system. */
#owner-operations label,#qm-form label,#question-manager>label{display:block;margin:14px 0}#owner-operations input,#owner-operations textarea,#qm-form textarea,#qm-form input,#question-manager select{max-width:100%;padding:10px;border:1px solid var(--slate-300);border-radius:6px}#owner-operations textarea,#qm-form textarea{display:block;width:100%;font:inherit}#question-manager{width:min(1100px,95vw);max-height:92vh;overflow:auto;padding:28px}#question-manager pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;background:var(--slate-100);padding:14px}#question-manager button,#owner-operations button{margin:6px}#owner-operations details{margin:14px 0}#owner-operations table{width:100%;text-align:left} .organization-report h1{font-family:Georgia,serif;font-size:clamp(28px,4vw,46px)}.organization-report li{margin:10px 0}.organization-report .report-section{overflow-wrap:anywhere}.organization-report .insights-grid{align-items:start}

.personal-summary-card { text-align: left; }
.personal-summary-card h2 { margin: 18px 0; }
.personal-summary-card p { line-height: 1.65; }

/* Administrative verification overlays preserve the assessment report beneath. */
.verified-practice,.control-check-host {margin:1rem 0;padding:1rem;border:1px solid var(--slate-300,#cbd5e1);border-radius:12px;background:var(--white,#fff);}
.verified-practice label,.control-check-form label,.blocked-details label {display:block;margin:0.75rem 0;}
.verified-practice input,.verified-practice textarea,.control-check-form input,.control-check-form textarea,.control-check-form select,.blocked-details input,.blocked-details textarea {display:block;width:100%;max-width:100%;box-sizing:border-box;}
.governance-action pre,.verified-practice pre {white-space:pre-wrap;overflow-wrap:anywhere;max-height:28rem;overflow:auto;font-size:0.85rem;}
.blocked-details[hidden] {display:none;}
.verification-instructions {padding:1rem;background:var(--slate-50,#f8fafc);border-radius:8px;}

/* Keep explicitly labeled small-team alternatives directly beneath their recommendation. */
.priority-item p,.priority-card p,.plan-item span,.finding-action,.governance-action > p {white-space:pre-line;}
