:root {
  --navy: #112d42;
  --navy-2: #1c4358;
  --teal: #176a70;
  --teal-dark: #0f555b;
  --orange: #b95f1d;
  --gold: #e6b55a;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --ink: #17252f;
  --muted: #5e6d75;
  --line: #d8dedc;
  --success: #246b46;
  --focus: #ffd66b;
  --shadow: 0 14px 38px rgba(17, 45, 66, .12);
  --radius: 18px;
}

* { box-sizing: border-box; }

.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;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

a { color: var(--teal-dark); text-underline-offset: .18em; }
a:hover { color: var(--orange); }

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

button, .button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1rem;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

button:hover, .button:hover { background: var(--teal-dark); color: white; border-color: var(--teal-dark); }
.button.secondary { background: transparent; color: var(--navy); }
.button.secondary:hover { background: var(--cream); }
.button.orange { background: var(--orange); border-color: var(--orange); }
.button.small { min-height: 40px; padding: .52rem .85rem; font-size: .92rem; }

:focus-visible { outline: 4px solid var(--focus); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: .75rem 1rem;
  background: white;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.skip-link:focus { top: 1rem; }

.review-bar {
  background: #f5dfad;
  color: #4e3812;
  padding: .48rem 1rem;
  text-align: center;
  font-size: .9rem;
  font-weight: 700;
}

.review-bar-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .35rem 1.25rem;
}
.review-bar-inner a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}
.workspace-shortcut { margin: 1rem 0 0; }
.workspace-shortcut a { display: inline-block; padding-block: .5rem; font-weight: 750; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(17, 45, 66, .12);
  background: rgba(255, 253, 248, .97);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 78px;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -.01em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--navy);
  font-family: Georgia, serif;
  font-size: .92rem;
  box-shadow: inset 0 0 0 4px rgba(230, 181, 90, .35);
}

.brand span:last-child { max-width: 195px; line-height: 1.15; }

.nav-toggle { display: none; min-width: 48px; padding: .55rem; }
.primary-nav { display: flex; align-items: center; gap: .18rem; }
.primary-nav a {
  padding: .55rem .65rem;
  color: var(--navy);
  border-radius: 10px;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: var(--cream); color: var(--orange); }
.primary-nav .help-link { margin-left: .35rem; padding-inline: .95rem; background: var(--teal); color: white; }
.primary-nav .help-link:hover { background: var(--teal-dark); color: white; }

main { min-height: 60vh; }
.wrap { width: min(1120px, calc(100% - 2.4rem)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 2.4rem)); margin-inline: auto; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--cream);
  border-bottom: 1px solid #e4ded1;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -210px;
  border: 74px solid rgba(23, 106, 112, .11);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(185, 95, 29, .08), 0 0 0 120px rgba(230, 181, 90, .09);
}

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 3rem; align-items: end; }
.eyebrow { margin: 0 0 .7rem; color: var(--orange); font-size: .82rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); line-height: 1.12; }
h1 { margin: 0; max-width: 850px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 6.5vw, 5.7rem); letter-spacing: -.045em; font-weight: 700; }
h2 { margin: 0 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -.025em; }
h3 { margin: 0 0 .55rem; font-size: 1.18rem; }
.lede { max-width: 720px; margin: 1.2rem 0 0; color: #3e505b; font-size: clamp(1.1rem, 2.1vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

.hero-note {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(17, 45, 66, .16);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, .9);
  box-shadow: var(--shadow);
}
.hero-note p { margin: .3rem 0 0; color: var(--muted); }

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.tint { background: #eff5f3; }
.section.dark { background: var(--navy); color: #eaf1f2; }
.section.dark h2, .section.dark h3, .section.dark a { color: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-heading p { max-width: 650px; margin: 0; color: var(--muted); }

.task-grid, .card-grid, .access-grid { display: grid; gap: 1rem; }
.task-grid { grid-template-columns: repeat(4, 1fr); margin-top: -1.8rem; position: relative; z-index: 2; }
.card-grid { grid-template-columns: repeat(3, 1fr); }
.access-grid { grid-template-columns: repeat(3, 1fr); }

.task-card, .card, .access-card {
  display: block;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(17, 45, 66, .07);
}
.task-card:hover, .card:hover { border-color: var(--teal); color: var(--ink); transform: translateY(-2px); }
.task-card strong { display: block; color: var(--navy); font-size: 1.08rem; }
.task-card span, .card p, .access-card p { color: var(--muted); }
.task-card .arrow { margin-top: .65rem; color: var(--orange); font-weight: 850; }

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  font-weight: 850;
}

.page-hero { padding: 3.5rem 0 2.7rem; background: var(--cream); border-bottom: 1px solid #e4ded1; }
.page-hero h1 { max-width: 860px; font-size: clamp(2.4rem, 5vw, 4.7rem); }
.page-hero .lede { max-width: 820px; }

.notice { padding: 1rem 1.1rem; border-left: 5px solid var(--gold); border-radius: 8px; background: #fff6df; color: #493914; }
.notice strong { color: #3c2e0e; }
.notice.success { border-color: var(--success); background: #eef8f1; color: #1d5337; }

.quick-links { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.4rem 0 0; }
.quick-links a { padding: .5rem .75rem; border-radius: 999px; background: white; border: 1px solid var(--line); font-weight: 700; text-decoration: none; }

.resource-list { display: grid; gap: 1rem; }
.resource-card { display: grid; grid-template-columns: 1fr auto; gap: 1.3rem; align-items: center; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.resource-card p { margin: .35rem 0 0; color: var(--muted); }
.resource-actions { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: flex-end; }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .65rem; color: var(--muted); font-size: .92rem; }
.tag { display: inline-flex; padding: .25rem .55rem; border-radius: 999px; background: #e7f2f1; color: var(--teal-dark); font-size: .8rem; font-weight: 800; }
.tag.ready { background: #e7f5eb; color: #1f653e; }
.tag.review { background: #fff0cf; color: #76520b; }
.tag.archive { background: #edf0f2; color: #4c5b63; }
.button.disabled, button:disabled { background: #e4e8e8; border-color: #cbd2d3; color: #657278; cursor: not-allowed; }
.powered-note { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.gateway-hero { background: linear-gradient(135deg, var(--cream), #e5f1ef); }
.gateway-section { min-height: 58vh; }
.gateway-source { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.5rem; padding: .85rem 1rem; border: 1px solid #bed8d4; border-radius: 13px; background: #f5fbfa; color: var(--muted); }
.gateway-source strong, .gateway-source span { display: block; }
.gateway-source strong { color: var(--teal-dark); }
.gateway-source span { font-size: .92rem; }
.gateway-pulse { flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px #d8eee0; }
.gateway-loading { padding: 1rem; border-radius: 12px; background: var(--cream); color: var(--navy); font-weight: 750; }
.gateway-heading { margin-top: 2rem; }

.reader-layout { display: grid; grid-template-columns: minmax(240px, .34fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.reader-sidebar { position: sticky; top: 98px; display: grid; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #eff5f3; }
.reader-sidebar hr { width: 100%; margin: .2rem 0; border: 0; border-top: 1px solid #cbdad7; }
.reader-sidebar form { display: grid; gap: .85rem; }
.reader-purpose { margin: -.4rem 0 0; color: var(--muted); font-size: .9rem; }
.reader-panel { min-height: 500px; padding: clamp(1.25rem, 4vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.reader-heading { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.reader-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
.reader-heading .eyebrow { margin-bottom: .25rem; }
.reader-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.scripture-text { max-width: 760px; color: #202c32; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.08rem, 2vw, 1.26rem); line-height: 1.85; }
.scripture-heading { margin: 1.8rem 0 .5rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.42rem; }
.scripture-heading:first-child { margin-top: 0; }
.scripture-paragraph { margin: 0 0 1.15rem; }
.scripture-verse { scroll-margin-top: 110px; }
.scripture-number { margin-right: .22rem; color: var(--orange); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: .68em; font-weight: 850; }
.reader-study { display: grid; gap: .7rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.study-panel { border: 1px solid var(--line); border-radius: 12px; background: #f8faf9; }
.study-panel summary { padding: .85rem 1rem; color: var(--navy); font-weight: 850; cursor: pointer; }
.study-panel ul { margin: 0; padding: 0 1.25rem 1rem 2.3rem; }
.study-panel li { margin-bottom: .6rem; }
.gateway-attribution { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }
.search-results h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.search-result-card h3 { margin-bottom: .15rem; }

.worship-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.worship-card { display: flex; flex-direction: column; }
.worship-card h3 { margin-top: .8rem; }
.worship-card .card-link { margin-top: auto; padding-top: .9rem; font-weight: 800; }
.worship-meta { padding-top: .7rem; border-top: 1px solid var(--line); font-size: .88rem; }
.resource-reading-width { max-width: 920px; }
.shared-resource { color: #25323a; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.8; }
.shared-resource h2, .shared-resource h3, .shared-resource h4 { margin-top: 1.7em; color: var(--navy); }
.shared-resource h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.shared-resource h3 { font-size: 1.4rem; }
.shared-resource blockquote { margin: 1.5rem 0; padding: .3rem 0 .3rem 1.2rem; border-left: 5px solid var(--gold); color: #3f4b51; }
.shared-resource table { width: 100%; border-collapse: collapse; }
.shared-resource th, .shared-resource td { padding: .7rem; border: 1px solid var(--line); vertical-align: top; }
.shared-resource th { background: #eff5f3; color: var(--navy); }
.resource-source-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.catalog-tools { display: grid; grid-template-columns: 2fr 1fr; gap: .8rem; margin: 1.2rem 0; }
.catalog-tools.formation-tools, .catalog-tools.training-tools { grid-template-columns: 2fr 1fr 1fr; }
.catalog-tools input, .catalog-tools select { width: 100%; min-height: 48px; padding: .7rem .8rem; border: 2px solid #b9c4c5; border-radius: 10px; background: white; }
.training-card h3 { margin: .7rem 0 .2rem; }
.training-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.offering-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0 0 2rem; }
.offering-fact { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: #f8faf9; }
.offering-fact dt { color: var(--muted); font-size: .82rem; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.offering-fact dd { margin: .35rem 0 0; color: var(--navy); font-weight: 750; }
.form-catalog { display: grid; gap: .9rem; }
.form-catalog .resource-card[hidden] { display: none; }
.table-wrap { margin-top: 1.4rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.review-table { width: 100%; min-width: 860px; border-collapse: collapse; }
.review-table th, .review-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.review-table th { background: var(--navy); color: white; font-size: .9rem; letter-spacing: .02em; }
.review-table tr:last-child td { border-bottom: 0; }
.review-table td:first-child { font-weight: 700; }
.follow-up { margin-top: 2.5rem; }
.decision-list { padding-left: 1.25rem; }
.decision-list li { margin-bottom: .7rem; }
.calculated-output { display: flex; align-items: center; min-height: 48px; padding: .7rem .8rem; border: 2px solid var(--line); border-radius: 10px; background: #f3f6f5; font-weight: 800; }
.calculated-output.total { color: var(--navy); font-size: 1.35rem; }
.rate-note { padding: .75rem .9rem; border-left: 4px solid var(--gold); background: #fff; color: var(--muted); }

.form-panel { padding: clamp(1.2rem, 4vw, 2.1rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field[hidden] { display: none; }
.field.full { grid-column: 1 / -1; }
.field label, fieldset legend { color: var(--navy); font-weight: 800; }
.field small { color: var(--muted); }
.field input, .field select, .field textarea, .search-box input, .search-box select {
  width: 100%;
  min-height: 48px;
  padding: .7rem .8rem;
  border: 2px solid #b9c4c5;
  border-radius: 10px;
  background: white;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
fieldset { margin: 0; padding: 0; border: 0; }
.form-workspace-head { padding: 2.5rem 0 1.8rem; background: var(--cream); border-bottom: 1px solid #e4ded1; }
.form-workspace-head .wrap { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.form-workspace-head h1 { font-size: clamp(2.3rem, 4.8vw, 4.4rem); }
.form-workspace-head .lede { max-width: 760px; }
.draft-tools { display: grid; justify-items: end; gap: .55rem; min-width: 220px; }
.draft-state { color: var(--muted); font-size: .9rem; font-weight: 750; }
.form-workspace-section { padding-top: 1.5rem; }
.gateway-status { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding: .8rem 1rem; border-radius: 12px; background: #e9f3f2; color: #294c50; }
.gateway-status strong { color: var(--teal-dark); }
.secure-access-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr); gap: 1rem; align-items: center; margin-top: 1rem; padding: 1rem; border: 1px solid #bed8d4; border-radius: 13px; background: #f5fbfa; }
.secure-access-panel p { margin: .35rem 0 0; color: var(--muted); }
.secure-access-actions { display: grid; gap: .55rem; justify-items: start; }
.secure-access-actions span { color: var(--muted); font-size: .9rem; }
.bridge-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.bridge-confirmation { padding: 1rem; border-radius: 12px; background: #e5f4e9; color: #245738; font-weight: 750; }
.form-progress { margin: 1.4rem 0 2rem; }
.form-progress-track { height: 7px; overflow: hidden; border-radius: 999px; background: #dfe6e5; }
.form-progress-track span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--teal); transition: width .2s ease; }
.form-progress ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; margin: .6rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .82rem; font-weight: 750; }
.form-progress li { text-align: center; }
.form-progress li.current { color: var(--navy); }
.form-progress li.complete { color: var(--success); }
.guided-form { max-width: 940px; margin: 0 auto; }
.form-step[hidden] { display: none; }
.step-heading { margin-bottom: 1rem; }
.step-heading h2 { margin-bottom: .35rem; }
.step-heading p:last-child { margin: 0; color: var(--muted); }
.choice-grid, .benefit-choices { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.choice-card { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; padding: 1rem; border: 2px solid var(--line); border-radius: 13px; background: white; cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--teal); background: #eef7f6; box-shadow: inset 0 0 0 1px var(--teal); }
.choice-card input { width: 20px; height: 20px; margin-top: .12rem; }
.choice-card strong, .choice-card small { display: block; }
.choice-card small { margin-top: .2rem; color: var(--muted); font-weight: 500; }
.compensation-wrap { margin: 0; border-radius: 12px; }
.compensation-table { width: 100%; min-width: 650px; border-collapse: collapse; }
.compensation-table th, .compensation-table td { padding: .7rem; border-bottom: 1px solid var(--line); text-align: left; }
.compensation-table thead th { background: var(--navy); color: white; }
.compensation-table tbody th { width: 42%; color: var(--navy); }
.compensation-table input { width: 100%; min-height: 44px; padding: .55rem .65rem; border: 2px solid #b9c4c5; border-radius: 9px; }
.compensation-table tfoot { background: #edf5f4; color: var(--navy); font-size: 1.08rem; }
.inline-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1rem; color: var(--muted); }
.benefit-details { margin-top: 1.2rem; }
.benefit-estimate { grid-column: 1 / -1; padding: 1rem 1.1rem; border-radius: 13px; background: var(--navy); color: white; }
.benefit-estimate > div { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.benefit-estimate output { font-family: Georgia, serif; font-size: 2rem; font-weight: 700; }
.benefit-estimate p { margin: .5rem 0 0; color: #dce8e9; }
.consultant-card { display: flex; flex-wrap: wrap; gap: .35rem 1rem; align-items: baseline; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 12px; }
.consultant-card strong { color: var(--navy); }
.subsection-heading { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.review-summary { display: grid; gap: .9rem; margin-bottom: 1rem; }
.review-block { padding: 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: white; }
.review-block h3 { display: flex; justify-content: space-between; gap: 1rem; }
.review-block h3 button { min-height: 34px; padding: .3rem .65rem; font-size: .8rem; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .4rem 1rem; margin: 0; }
.review-grid div { padding: .5rem 0; border-bottom: 1px solid #edf0ef; }
.review-grid dt { color: var(--muted); font-size: .82rem; font-weight: 700; }
.review-grid dd { margin: .15rem 0 0; color: var(--navy); font-weight: 700; }
.acknowledgements { margin-top: 1rem; }
.gateway-submit { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1rem; margin-top: 1.2rem; padding: 1rem; border-radius: 13px; background: #f3f5f5; }
.gateway-submit p { margin: 0; color: var(--muted); }
.form-navigation { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.form-navigation [data-toc-next] { margin-left: auto; }
.validation-message { margin-top: 1rem; padding: .9rem 1rem; border-left: 5px solid #a63f34; background: #fff0ee; color: #6f2720; font-weight: 750; }
.check-list { display: grid; gap: .55rem; margin-top: .55rem; }
.check-list label { display: flex; gap: .65rem; align-items: flex-start; font-weight: 600; }
.check-list input { width: 20px; height: 20px; margin-top: .15rem; }

.search-panel { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #eff5f3; }
.search-box { display: grid; grid-template-columns: 2fr 1fr; gap: .8rem; }
.directory-status { margin: 1rem 0; color: var(--muted); font-weight: 700; }
.church-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.church-card { padding: 1rem; border: 1px solid var(--line); border-radius: 12px; background: white; }
.church-card strong { color: var(--navy); }
.church-card span { display: block; margin-top: .2rem; color: var(--muted); font-size: .9rem; }

.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; padding: 0 0 2rem 2.1rem; border-left: 3px solid #bdd5d4; }
.timeline-item::before { content: ""; position: absolute; left: -8px; top: .1rem; width: 13px; height: 13px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px white; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item time { color: var(--orange); font-weight: 850; }

.help-route { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.help-route:last-child { border-bottom: 0; }

.readiness-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.readiness-summary > div { padding: 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 8px 24px rgba(17, 45, 66, .06); }
.readiness-summary strong { display: block; margin-top: .8rem; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; }
.readiness-summary p { margin-bottom: 0; color: var(--muted); }
.readiness-list { display: grid; gap: .8rem; }
.readiness-list article { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: start; padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: white; }
.readiness-list article p { margin: .25rem 0 0; color: var(--muted); }
.gate-state { display: inline-flex; justify-content: center; padding: .35rem .65rem; border-radius: 999px; font-size: .82rem; font-weight: 850; }
.gate-state.blocked { background: #f9d9d4; color: #7d291f; }
.gate-state.review { background: #fff0cf; color: #76520b; }
.gate-state.ready { background: #e7f5eb; color: #1f653e; }
.gate-state.pending { background: #e7f2f1; color: var(--teal-dark); }
.gate-state.hold { background: #edf0f2; color: #4c5b63; }

.leadership-hero { padding-bottom: clamp(4rem, 8vw, 6rem); }
.pathway-chooser { margin-top: -2.4rem; position: relative; z-index: 2; }
.pathway-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pathway-card { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; min-height: 100%; padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.pathway-card:hover { border-color: var(--teal); color: var(--ink); transform: translateY(-2px); }
.pathway-card h2 { margin-bottom: .7rem; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.pathway-card p { color: var(--muted); }
.pathway-card strong { color: var(--teal-dark); }
.pathway-number { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: white; font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; font-weight: 800; box-shadow: inset 0 0 0 5px rgba(230, 181, 90, .32); }
.pathway-card.mws .pathway-number { background: var(--teal-dark); }
.pathway-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 2rem; align-items: start; }
.pathway-next { padding: 1.35rem; border: 1px solid #bed8d4; border-radius: var(--radius); background: #f5fbfa; box-shadow: 0 10px 28px rgba(17, 45, 66, .08); }
.pathway-next p { color: var(--muted); }
.pathway-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.pathway-steps li { padding: 1.1rem; border-top: 4px solid var(--teal); border-radius: 0 0 13px 13px; background: white; }
.pathway-steps li > span { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: .85rem; border-radius: 50%; background: var(--navy); color: white; font-weight: 850; }
.pathway-steps p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }
.pathway-levels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.presence-callout { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; margin-top: 1rem; padding: 1.3rem; border-radius: var(--radius); background: var(--navy); color: #eaf1f2; }
.presence-callout h3 { color: white; }
.presence-callout p { margin-bottom: 0; }
.presence-callout .button { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.site-footer { padding: 3rem 0 1.3rem; background: #0d2638; color: #dce6e8; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer a { color: white; }
.footer-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); color: #b8c9cd; font-size: .9rem; }

.print-only { display: none; }
.packet { max-width: 850px; margin: 2rem auto 5rem; padding: 0 1.2rem; }
.packet h1 { font-size: 2.5rem; }
.packet-section { margin: 2rem 0; padding-top: 1rem; border-top: 3px solid var(--navy); break-inside: avoid; }
.print-field { min-height: 2.3rem; margin: .45rem 0 1.1rem; border-bottom: 1px solid #7e8a8f; }
.print-field.tall { min-height: 7rem; border: 1px solid #7e8a8f; }
.print-options { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: .4rem 0 1rem; }
.print-actions { position: sticky; top: 90px; z-index: 10; display: flex; justify-content: center; gap: .7rem; padding: .8rem; background: rgba(247,243,234,.96); border-bottom: 1px solid var(--line); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .8rem 1.2rem 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .75rem; }
  .primary-nav .help-link { margin-left: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-note { max-width: 570px; }
  .task-grid { grid-template-columns: 1fr 1fr; }
  .card-grid, .access-grid, .church-list { grid-template-columns: 1fr 1fr; }
  .reader-layout { grid-template-columns: 1fr; }
  .reader-sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .reader-sidebar .reader-purpose, .reader-sidebar hr, .reader-sidebar form { grid-column: 1 / -1; }
  .worship-grid { grid-template-columns: 1fr 1fr; }
  .pathway-steps { grid-template-columns: 1fr 1fr; }
  .readiness-summary { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .brand span:last-child { max-width: 160px; font-size: .92rem; }
  .hero { padding-top: 2.7rem; }
  .hero::after { opacity: .65; }
  .task-grid, .card-grid, .access-grid, .church-list, .footer-grid, .form-grid, .search-box, .catalog-tools, .catalog-tools.formation-tools, .catalog-tools.training-tools, .reader-sidebar, .worship-grid, .offering-facts, .pathway-grid, .pathway-layout, .pathway-steps, .pathway-levels, .presence-callout, .readiness-summary { grid-template-columns: 1fr; }
  .pathway-card { grid-template-columns: 1fr; }
  .readiness-list article { grid-template-columns: 1fr; }
  .task-grid { margin-top: 1rem; }
  .section-heading, .resource-card, .help-route { display: block; }
  .resource-actions { justify-content: flex-start; margin-top: 1rem; }
  .help-route .button { margin-top: .8rem; }
  .header-inner { padding-inline: 1rem; }
  .form-workspace-head .wrap, .gateway-status, .gateway-submit, .secure-access-panel { display: grid; grid-template-columns: 1fr; align-items: start; }
  .draft-tools { justify-items: start; min-width: 0; }
  .form-progress ol { grid-template-columns: 1fr; gap: .15rem; }
  .form-progress li { display: none; text-align: left; }
  .form-progress li.current { display: block; }
  .choice-grid, .benefit-choices, .review-grid { grid-template-columns: 1fr; }
  .reader-sidebar .reader-purpose, .reader-sidebar hr, .reader-sidebar form { grid-column: auto; }
  .reader-heading { display: block; }
  .reader-nav { margin-top: 1rem; }
}

@media print {
  @page { margin: .65in; }
  body { background: white; color: black; font-family: Georgia, serif; font-size: 11pt; }
  .review-bar, .site-header, .site-footer, .print-actions, .no-print { display: none !important; }
  .print-only { display: block; }
  .packet { max-width: none; margin: 0; padding: 0; }
  h1, h2, h3 { color: black; }
  .packet h1 { font-size: 24pt; }
  .packet-section { border-color: black; page-break-inside: avoid; }
  a { color: black; text-decoration: none; }
  .form-progress, .gateway-status, .form-navigation, .draft-tools, .gateway-submit, .secure-access-panel, .powered-note, .review-block h3 button { display: none !important; }
  .form-workspace-head { padding: 0 0 1rem; background: white; border: 0; }
  .form-workspace-section { padding: 0; }
  .guided-form { max-width: none; }
  .review-block, .acknowledgements { box-shadow: none; break-inside: avoid; }
  .toc-print-ready .guided-form, .toc-print-ready .form-workspace-head { display: none !important; }
  .toc-paper-section { margin: 1.2rem 0; }
  .toc-paper-section h2 { font-size: 15pt; break-after: avoid; }
  .toc-paper-section dl { margin: 0; }
  .toc-paper-row { display: grid; grid-template-columns: 40% 60%; border-bottom: 1px solid #bbb; padding: .35rem 0; break-inside: avoid; }
  .toc-paper-row dt { font-weight: bold; padding-right: .8rem; }
  .toc-paper-row dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
  .toc-return { margin-top: 1rem; padding: .75rem; border: 1px solid black; background: white; break-inside: avoid; }
  .toc-return h2 { font-size: 14pt; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.workspace-navigation{display:flex;align-items:center;gap:1.5rem;font-weight:700}.workspace-navigation>a{white-space:nowrap}.website-menu,.account-menu{position:relative}.website-menu summary,.account-menu summary{cursor:pointer;padding:.75rem;list-style-position:inside}.website-menu>div,.account-menu>div{position:absolute;z-index:30;right:0;min-width:14rem;padding:1rem;background:#fff;border:1px solid #cbd5cf;border-radius:.6rem;box-shadow:0 8px 28px #102f4020}.website-menu>div a,.account-menu>div a,.account-menu>div button{display:block;margin:.25rem 0;width:100%;text-align:left}.workspace-footer{padding:1.5rem max(1.2rem,calc((100% - 1120px)/2));border-top:1px solid #d8dedc;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:#425e52;font-size:.9rem}.text-action{display:inline-block;min-height:44px;padding:.5rem 0;border:0;border-radius:0;background:none;color:#176a70;font:inherit;font-weight:650;text-align:left;text-decoration:underline;text-underline-offset:.2em;cursor:pointer}.text-action:hover{background:none;color:#102f40}.text-action:focus-visible,summary:focus-visible{outline:3px solid #ba781b;outline-offset:3px}.task-disclosure{border:1px solid #cbd5cf;border-radius:10px;padding:.5rem 1.25rem;margin:1rem 0;background:white}.task-disclosure>summary{padding:.7rem 0;cursor:pointer;font-weight:700}.task-disclosure[open]>summary{margin-bottom:.5rem}.task-disclosure .task-disclosure{background:#fafcfb}.record-list{list-style:none;padding:0}.record-list li{padding:.5rem 0;border-bottom:1px solid #d8dedc}.choice-links{display:grid;gap:.8rem;margin:1.5rem 0}.choice-links>a{padding:1rem;border:1px solid #cbd5cf;border-radius:.6rem;text-decoration:none;background:white}.choice-links strong,.choice-links span{display:block}.choice-links span{font-size:.95rem;color:#425e52;font-weight:400}.public-compact-hero .hero-grid{grid-template-columns:1fr}.public-compact-hero h1{max-width:14ch}.public-compact-hero .hero{padding-block:4rem}.public-compact-hero .task-grid{margin-top:0;padding-top:2rem}
@media(max-width:640px){.workspace-navigation{gap:.6rem;font-size:.95rem}.workspace-navigation .website-menu summary{padding:.5rem}.account-menu{margin-block:1rem}.account-menu>div{left:0;right:auto}.workspace-navigation .website-menu>div{min-width:12rem}.workspace-footer{display:block}.workspace-footer span{display:block;margin:.4rem 0}.public-compact-hero .hero{padding-block:2.5rem}}
@media(max-width:640px){body:is([data-page=my-mvp],[data-page=reports],[data-page=communications],[data-page=signatures],[data-page=finance]) .brand>span:last-child{display:none}.workspace-navigation summary{white-space:nowrap}.brand-mark{flex-shrink:0}}

[data-form-card][hidden],[data-other-forms][hidden],[data-bridge-access][hidden],[data-bridge-submit-panel][hidden]{display:none!important}
.draft-options{max-width:24rem;text-align:left}.draft-options[open]{min-width:min(20rem,100%)}

/* Public navigation: a short menu, with My MVP visible at every screen size. */
.public-header-actions{display:flex;align-items:center;gap:.65rem;flex-shrink:0}.workspace-entry{display:inline-flex;align-items:center;justify-content:center;padding:.65rem 1rem;min-height:46px;border:1px solid #176a70;border-radius:8px;color:#143f37;font-size:.95rem;font-weight:750;text-decoration:none;white-space:nowrap}.workspace-entry:hover{background:#edf4ef}.public-menu{position:relative;color:var(--navy);font-size:.91rem;font-weight:700}.public-menu>summary{cursor:pointer;padding:.55rem .65rem;min-height:44px;display:list-item;list-style-position:inside}.public-menu.current>summary{color:var(--orange)}.public-menu>div{position:absolute;z-index:40;top:100%;left:0;min-width:15rem;background:var(--paper);padding:.7rem;border:1px solid var(--line);border-radius:.6rem;box-shadow:var(--shadow)}.public-menu>div a{display:block;min-height:44px}.workspace-entry:focus-visible{outline:3px solid #ba781b;outline-offset:3px}
@media(max-width:980px){.public-menu>summary{padding:.75rem}.public-menu>div{position:static;min-width:0;box-shadow:none;border:0;border-left:2px solid #c5d1cb;border-radius:0;margin-left:1rem}.public-header-actions{margin-left:auto}.primary-nav .public-menu{font-size:1rem}}
@media(max-width:480px){body:not(:is([data-page=my-mvp],[data-page=reports],[data-page=communications],[data-page=signatures],[data-page=finance])) .brand-mark{display:none}.public-header-actions{gap:.4rem}.workspace-entry{padding:.55rem .7rem}.public-header-actions .nav-toggle{min-width:44px}.header-inner{gap:.5rem}}
