/* =====================================================================
   GOTHAM FELLOWSHIP WORKSHEETS · shared look
   This first part (down to "END OF SHARED LOOK") is the same in every
   worksheet app (the Calling Exercise, the Self-Counseling Project), so
   they read as one family. If you change something here, make the same
   change in the other app's styles.css.

   Type sizes: only the six below are used. Colours: navy for the frame,
   one accent (a deep orange drawn from the Gotham logo), and the
   movement colours each worksheet defines further down.
   ===================================================================== */
:root {
  color-scheme: light;
  --navy: #1d2b45;
  --navy-dark: #141f33;
  --ink: #1f2a33;
  --muted: #56636e;
  --line: #d9dfe4;
  --field: #8a96a0;      /* borders of things you type in or tick */
  --paper: #ffffff;
  --bg: #f4f2ee;
  --cream: #f4f1ea;
  --cream-line: #ddd5c2;
  --green: #3f7550;
  --green-bg: #eef3ee;
  --red: #a3442e;
  --red-bg: #f7eeeb;
  --danger: #9b2c3c;
  --gold: #96560a;       /* the accent: dark enough to read as text and to carry white text */
  --logo: #f5871f;       /* the Gotham logo orange: decoration only, never text */
  --focus: #2f6da0;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 10px;
  --fs-1: 14px;          /* small print, labels */
  --fs-2: 16px;          /* supporting text, buttons */
  --fs-3: 18px;          /* reading text */
  --fs-4: 22px;          /* sub-headings */
  --fs-5: 28px;          /* page titles */
  --fs-6: 36px;          /* the welcome title */
}
@media (min-width: 900px) { :root { --fs-3: 19px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--fs-3);
  line-height: 1.6;
}
a { color: var(--navy); }
.sc { font-variant: small-caps; letter-spacing: 0.03em; }
.nb { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: var(--navy); font: 600 var(--fs-2) var(--sans); padding: 10px 14px; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 20px; min-height: 46px;
  background: var(--navy); color: #fff;
  font-family: var(--sans); font-size: var(--fs-1); white-space: nowrap;
}
.brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: 0.01em; }
.brand a, a.brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: inherit; text-decoration: none; }
.brand .brand-app { font-weight: 400; opacity: 0.85; }
.brand-mark { width: 26px; height: 26px; flex: none; }
.topbar-right { display: flex; align-items: center; gap: 18px; flex: none; }
.who { opacity: 0.9; }
.signout { color: #fff; }
.save-status { opacity: 0.95; }
.save-status.error { color: #ffd2d2; opacity: 1; }
.fb-launch {
  all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font: inherit; padding: 6px 0;
}
.fb-launch:hover span { text-decoration: underline; }
.topbar a:focus-visible, .fb-launch:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 3px; }
@media (max-width: 640px) {
  .brand .brand-app, .who, .fb-launch span { display: none; }
  /* If space runs out (a leader's extra link, a narrow phone), the name shortens instead of overlapping. */
  .brand { flex: 1 1 auto; }
  .brand a, a.brand { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .brand-mark { display: inline-block; vertical-align: middle; margin-right: 8px; }
  .topbar { padding: 6px 14px; }
  .topbar-right { gap: 16px; }
  .signout, .fb-launch { padding: 8px 0; }
}

/* ---------- Layout ---------- */
.app { max-width: 760px; margin: 0 auto; padding: 24px 16px 80px; outline: none; }
.app.wide { max-width: 1100px; }
.card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 24px rgba(0,0,0,0.04);
  padding: 36px 40px;
  animation: stepIn 0.35s ease-out;
}
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .card { padding: 24px 18px; } }
.loading { font-family: var(--sans); font-size: var(--fs-2); color: var(--muted); text-align: center; padding: 60px 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.25; }
h1 { font-size: var(--fs-6); margin: 0 0 6px; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-5); margin: 0 0 14px; letter-spacing: -0.01em; }
h3 { font-size: var(--fs-4); margin: 24px 0 8px; }
@media (max-width: 640px) { h1 { font-size: var(--fs-5); } }
h2.step-title { margin-bottom: 6px; }
.step-title + .lead { font-family: var(--serif); font-style: italic; }
.lead { color: var(--muted); font-size: var(--fs-3); margin: 0 0 22px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-2); }
.block { margin: 32px 0 10px; }
/* Small headings above a group of things ("What to expect", "Worksheet 1"). */
.block-h { font-family: var(--sans); font-size: var(--fs-2); font-weight: 700; color: var(--t, var(--navy)); margin: 0 0 12px; }
.eyebrow-line { font-family: var(--sans); font-size: var(--fs-1); font-weight: 700; color: var(--gold); margin-bottom: 4px; }

/* ---------- Buttons & forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font-family: var(--sans); font-size: var(--fs-2); font-weight: 600;
  padding: 10px 20px; border-radius: 8px; border: 1px solid var(--navy);
  background: var(--navy); color: #fff; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--navy-dark); }
.btn.secondary { background: #fff; color: var(--navy); }
.btn.secondary:hover { background: #eef2f5; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--navy); padding: 8px 10px; }
.btn.ghost:hover { background: #eef2f5; }
.btn.danger { background: #fff; color: var(--danger); border-color: #e3c4c9; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.small-btn { min-height: 36px; padding: 6px 12px; font-size: var(--fs-1); }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 14px; }

/* Labels and hints are in the sans face; what you write is in the serif face. */
.field { margin: 0 0 22px; }
.field > label, .field .label { display: block; font-family: var(--sans); font-weight: 600; font-size: var(--fs-2); margin-bottom: 6px; color: var(--ink); }
.field .letter { font-family: var(--sans); font-weight: 700; color: var(--navy); margin-right: 6px; }
.field .hint { font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); margin: -2px 0 8px; }
.optional-tag { font-family: var(--sans); font-size: var(--fs-1); font-weight: 400; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; margin-left: 6px; }
input[type="text"], input[type="date"], input[type="email"], input[type="password"], textarea, select.big-select {
  width: 100%;
  font-family: var(--serif); font-size: var(--fs-3); line-height: 1.5; color: var(--ink);
  background: #fff; border: 1px solid var(--field); border-radius: 8px;
  padding: 10px 12px;
}
textarea { resize: vertical; min-height: 110px; display: block; }
input:focus, textarea:focus { border-color: var(--focus); }
::placeholder { color: #6b7883; opacity: 1; }
.checks { display: grid; gap: 10px; margin: 6px 0 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-3); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--navy); flex: none; }
.notice { font-family: var(--sans); font-size: var(--fs-1); border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; }
.notice.ok { background: var(--green-bg); color: #2f5a3a; }
.notice.warn { background: #fff6e5; color: #6b4d12; }
.notice.err { background: #fbeaea; color: #7a2323; }

/* ---------- List of worksheets (inside each app) ---------- */
.home-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ws-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ws-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff;
}
.ws-title { font-family: var(--sans); font-weight: 600; font-size: var(--fs-3); color: var(--ink); margin: 0 0 2px; }
.ws-meta { font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); }
.ws-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.badge { display: inline-block; font-family: var(--sans); font-size: var(--fs-1); font-weight: 600; border-radius: 4px; padding: 1px 8px; margin-left: 10px; vertical-align: 1px; }
.badge.done { background: var(--green-bg); color: #2f5a3a; }
.badge.progress { background: #eef2f5; color: var(--navy); }
.badge.new { background: #fbefe0; color: #7a4a08; }
.badge.cohort { background: #fdf0e1; color: #7a4a08; }
.empty { text-align: center; padding: 30px 10px; color: var(--muted); }

/* ---------- Where you are: one labelled strip ---------- */
nav.progress { margin: 0 0 14px; font-family: var(--sans); }
.progress-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: var(--fs-1); color: var(--muted); margin-bottom: 6px; }
.progress-top strong { color: var(--navy); font-weight: 600; }
.strip { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.strip li { flex: 1 1 auto; min-width: 0; }
.seg {
  all: unset; box-sizing: border-box; display: block; width: 100%; min-height: 44px; cursor: pointer; text-align: center;
  font: 600 var(--fs-1)/1.2 var(--sans); color: var(--muted); white-space: nowrap;
}
.seg::before {
  content: ""; display: block; height: 5px; border-radius: 3px; margin-bottom: 7px;
  background: linear-gradient(90deg, var(--c, var(--navy)) var(--fill, 0%), #c5cdd4 var(--fill, 0%));
}
.seg.done { color: var(--ink); --c: #6f7d89; --fill: 100%; }
.seg.current { color: var(--c, var(--navy)); font-weight: 700; }
.seg:hover { text-decoration: underline; }
.seg:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
/* Phones: the six labels don't fit side by side, so only the current part is named
   (the others keep their bars, and their names for screen readers). */
@media (max-width: 560px) {
  .strip { gap: 4px; }
  .strip li:has(.current) { flex: 0 0 auto; }
  .seg:not(.current) { font-size: 0; }
  .seg.current { padding: 0 2px; }
}

/* A time label. Tap it to start a quiet countdown; tap again to stop. */
.pill {
  all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; cursor: pointer;
  font: 600 var(--fs-1)/1 var(--sans); padding: 7px 12px; border-radius: 999px; border: 1.5px solid currentColor; color: var(--navy);
}
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.pill.running::before { background: currentColor; }
.pill.over { background: var(--cream); }
.pill:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.section-band .pill { color: #fff; border-color: rgba(255,255,255,0.75); }
.section-band .pill.over { background: rgba(255,255,255,0.18); }
.section-band .pill:focus-visible { outline-color: #fff; }

/* ---------- Coloured band across the top of a section ---------- */
.section-band {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  margin: -36px -40px 26px; padding: 14px 40px;
  background: linear-gradient(90deg, var(--t, var(--c, var(--navy))), color-mix(in srgb, var(--t, var(--c, var(--navy))) 82%, #000));
  color: #fff; border-radius: var(--radius) var(--radius) 0 0; font-family: var(--sans);
}
.sb-title { font-size: var(--fs-1); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
@media (max-width: 640px) { .section-band { margin: -24px -18px 20px; padding: 12px 18px; } }

/* ---------- Step nav ---------- */
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.step-nav .right { display: flex; gap: 10px; margin-left: auto; }

/* ---------- Things you wrote earlier, shown again where a question needs them ---------- */
.recall { font-family: var(--sans); font-size: var(--fs-1); margin: 0 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; }
.recall summary { cursor: pointer; padding: 10px 14px; font-weight: 600; color: var(--navy); }
.recall-body { padding: 0 14px 6px; }
.recall-body h4 { font: 600 var(--fs-1) var(--sans); color: var(--muted); margin: 8px 0 2px; }
.recall-body p { font-family: var(--serif); font-size: var(--fs-2); white-space: pre-wrap; margin: 0 0 10px; }
.recall-body .none { color: var(--muted); font-style: italic; }

/* ---------- Review ---------- */
.review-section { border-top: 1px solid var(--line); padding: 18px 0 6px; }
.review-section h3 { margin: 0 0 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.review-section h3 a { font: 600 var(--fs-2) var(--sans); padding: 4px 0; }
.review-q { font-size: var(--fs-2); color: var(--muted); margin: 0 0 4px; }
.review-a { white-space: pre-wrap; margin: 0 0 14px; padding-left: 12px; border-left: 3px solid #cfd9e0; }
.review-a.empty-a { color: var(--muted); font-style: italic; border-left-color: #e3e7ea; }
.review-a.empty-a a { font-family: var(--sans); font-style: normal; font-size: var(--fs-1); margin-left: 8px; }
.finish-box { background: #fbfaf7; border: 1px solid var(--navy); border-radius: var(--radius); padding: 20px; margin: 0 0 24px; }
.finish-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.finish-text p { margin: 0; font-size: var(--fs-2); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: var(--fs-2); }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.cl-box { width: 22px; height: 22px; border: 1.5px solid var(--navy); border-radius: 4px; font: 700 var(--fs-1)/20px var(--sans); text-align: center; margin-top: 2px; }
.checklist li.ok .cl-box { background: var(--green); border-color: var(--green); color: #fff; }
.cl-miss { display: block; font: var(--fs-1)/1.5 var(--sans); color: var(--red); margin-top: 2px; }
.cl-miss a { color: var(--red); }
.checklist a { font-family: var(--sans); font-size: var(--fs-1); }
.miss-list { margin: 8px 0 0; padding-left: 20px; font-size: var(--fs-2); }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(20,30,40,0.45); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 50; }
.modal { background: #fff; border-radius: 12px; max-width: 520px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 26px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.modal.wide { max-width: 760px; }
.modal h2 { font-size: var(--fs-4); }
.modal .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-family: var(--sans); font-size: var(--fs-2); }
.copy-row code { background: #f1f3f5; padding: 4px 8px; border-radius: 5px; }

/* ---------- Scripture references and the passage pop-up ---------- */
/* Inside a sentence a reference looks like the sentence; in a list of readings it uses the sans face. */
.ref { all: unset; cursor: pointer; font: inherit; color: var(--c, var(--navy)); border-bottom: 1.5px dotted currentColor; line-height: 1.3; }
.ref:hover, .ref[aria-expanded="true"] { border-bottom-style: solid; }
.ref:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.read { font-family: var(--sans); font-size: var(--fs-2); margin: -2px 0 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.read b { font-size: var(--fs-1); color: var(--muted); margin-right: 8px; }
.read .ref { font-weight: 500; }
.sep { color: var(--muted); margin: 0 6px; }
.passage {
  position: absolute; z-index: 60; width: min(440px, calc(100vw - 32px)); max-height: min(70vh, 520px);
  display: flex; flex-direction: column;
  background: #fff; border-radius: 14px; box-shadow: 0 18px 50px rgba(20, 35, 48, 0.28), 0 0 0 1px rgba(0,0,0,0.05);
  animation: stepIn 0.18s ease-out;
}
.passage-head { display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); font-family: var(--sans); }
.passage-ref { font-weight: 700; color: var(--navy); font-size: var(--fs-2); }
.passage-ver { font-size: var(--fs-1); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; }
.passage-close { all: unset; cursor: pointer; margin-left: auto; width: 36px; height: 36px; border-radius: 50%; text-align: center; line-height: 36px; color: var(--muted); }
.passage-close:hover { background: #f1f3f5; }
.passage-close:focus-visible { outline: 2px solid var(--focus); }
.passage-body { padding: 14px 18px; overflow: auto; }
.passage-text { white-space: pre-wrap; font-size: var(--fs-3); line-height: 1.65; }
.vn { font-family: var(--sans); font-size: 0.68em; font-weight: 700; color: var(--gold); margin-right: 3px; vertical-align: super; line-height: 0; }
.passage-notice { font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); line-height: 1.4; margin: 14px 0 0; }
.passage-foot { padding: 10px 18px 14px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: var(--fs-1); }
.passage-foot a { color: var(--muted); }
.passage.sheet { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-height: 75vh; border-radius: 18px 18px 0 0; animation: sheetUp 0.22s ease-out; }
.passage-backdrop { position: fixed; inset: 0; background: rgba(20,30,40,0.35); z-index: 59; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- Intro video (only shown once a link is added in content.js) ---------- */
.video { margin: 0 0 28px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #1d2c38; box-shadow: 0 10px 30px rgba(20, 35, 48, 0.18); }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  max-width: 760px; margin: -50px auto 0; padding: 0 16px 36px; text-align: center;
  font-family: var(--sans); font-size: var(--fs-1); color: var(--muted);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px;
}
.site-footer a { color: var(--muted); }

/* ---------- Leaders ---------- */
.admin-tools { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 0 0 16px; }
.admin-tools input[type="text"] { flex: 1 1 260px; font-family: var(--sans); font-size: var(--fs-2); }
.admin-tools .check { font-family: var(--sans); font-size: var(--fs-1); }
.admin-tools select { font-family: var(--sans); font-size: var(--fs-1); padding: 8px 10px; border: 1px solid var(--field); border-radius: 8px; background: #fff; }
.sub-item .ws-title .badge { margin-left: 6px; }
.admin-tabs { display: flex; gap: 4px; margin-bottom: 12px; font-family: var(--sans); }
.admin-tabs a { padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: var(--fs-1); font-weight: 600; color: var(--muted); }
.admin-tabs a.on { background: var(--navy); color: #fff; }

/* ---------- Feedback (opens from the link in the top bar) ---------- */
.fb-panel {
  position: fixed; right: 14px; top: 54px; z-index: 45; width: min(420px, calc(100vw - 28px)); max-height: calc(100vh - 70px);
  display: flex; flex-direction: column; background: #fff; border-radius: 16px;
  box-shadow: 0 20px 50px rgba(20,35,48,0.3), 0 0 0 1px rgba(0,0,0,0.05); animation: stepIn 0.18s ease-out;
}
.fb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px 18px 10px; border-bottom: 1px solid var(--line); }
.fb-head h2 { font-size: var(--fs-4); margin: 0; }
.fb-page { font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); margin-top: 2px; }
.fb-x { all: unset; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; text-align: center; line-height: 36px; color: var(--muted); }
.fb-x:hover { background: #f1f3f5; }
.fb-x:focus-visible { outline: 2px solid var(--focus); }
.fb-body { padding: 12px 18px 18px; overflow: auto; font-size: var(--fs-2); }
.fb-body textarea { min-height: 90px; font-size: var(--fs-2); margin: 10px 0; }
.fb-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fb-chip input { position: absolute; opacity: 0; }
.fb-chip span { display: inline-block; font: 500 var(--fs-1) var(--sans); padding: 6px 11px; border-radius: 999px; border: 1px solid var(--field); cursor: pointer; color: var(--ink); }
.fb-chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.fb-chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.fb-point { font-size: var(--fs-1); padding: 8px 12px; min-height: 36px; }
.fb-anchor { font-family: var(--serif); font-style: italic; font-size: var(--fs-1); color: var(--muted); background: #f6f6f3; border-left: 3px solid var(--gold); padding: 6px 10px; border-radius: 0 6px 6px 0; margin: 4px 0 6px; }
.fb-chosen { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; }
.fb-clear { all: unset; cursor: pointer; color: var(--muted); font-style: normal; }
.fb-list-h { font: 700 var(--fs-1) var(--sans); margin: 20px 0 8px; }
.fb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fb-item { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: var(--fs-2); }
.fb-item.resolved { opacity: 0.7; }
.fb-item.flash { animation: fbFlash 1.4s ease-out; }
@keyframes fbFlash { 0% { background: #fdf0d8; } 100% { background: #fff; } }
.fb-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font: var(--fs-1) var(--sans); color: var(--muted); margin-bottom: 4px; }
.fb-meta b { color: var(--ink); }
.fb-num { width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; text-align: center; line-height: 22px; font-weight: 700; }
.fb-cat { border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; }
.fb-cat.ok { color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, #fff); }
.fb-text { white-space: pre-wrap; }
.fb-resolve { font-size: var(--fs-1); padding: 4px 8px; margin-top: 4px; min-height: 32px; }
.fb-pin {
  position: absolute; z-index: 30; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; cursor: pointer;
  background: var(--gold); color: #fff; font: 700 var(--fs-1)/20px var(--sans); text-align: center; padding: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
body.fb-picking #app * { cursor: crosshair !important; }
.fb-hover { outline: 3px dashed var(--gold) !important; outline-offset: 4px; border-radius: 6px; background-color: rgba(150, 86, 10, 0.06); }
#fb-pickbar {
  position: fixed; left: 50%; top: 58px; transform: translateX(-50%); z-index: 50; background: var(--navy); color: #fff;
  font: 500 var(--fs-1) var(--sans); padding: 8px 10px 8px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
}
#fb-pickbar .btn { color: #fff; padding: 6px 12px; min-height: 32px; }
#fb-pickbar .btn:hover { background: rgba(255,255,255,0.12); }
.fb-group h3 { margin: 22px 0 10px; font-size: var(--fs-3); }
@media (max-width: 640px) {
  .fb-panel { right: 0; left: 0; top: auto; bottom: 0; width: 100%; max-height: 85vh; border-radius: 18px 18px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .passage, .fb-panel, .dgm-piece, .dgm-badge { animation: none !important; }
}
/* ===================== END OF SHARED LOOK ===================== */

/* =====================================================================
   THE CALLING EXERCISE
   ===================================================================== */
:root {
  /* The four movements of Isaiah 6. Each is dark enough to carry white text. */
  --adoration: var(--gold);
  --confession: #4a6485;
  --cleansing: #a3442e;
  --commission: #54487e;
}
.theme-adoration { --t: var(--adoration); }
.theme-confession { --t: var(--confession); }
.theme-cleansing { --t: var(--cleansing); }
.theme-commission { --t: var(--commission); }
.theme-plain { --t: var(--navy); }

/* ---------- Welcome hero ---------- */
.hero {
  position: relative; overflow: hidden;
  margin: -36px -40px 28px; padding: 44px 40px 40px;
  background:
    radial-gradient(circle at 88% 20%, rgba(245, 135, 31, 0.30), transparent 45%),
    linear-gradient(135deg, #141f33 0%, #1d2b45 55%, #2b3d5e 100%);
  color: #fff; border-radius: var(--radius) var(--radius) 0 0;
}
.hero h1 { color: #fff; margin: 4px 0 8px; }
.hero .eyebrow { font-family: var(--sans); font-size: var(--fs-1); font-weight: 600; opacity: 0.85; }
.hero-lead { font-style: italic; font-size: var(--fs-4); margin: 0; opacity: 0.95; }
@media (max-width: 640px) { .hero { margin: -24px -18px 22px; padding: 30px 20px; } .hero-lead { font-size: var(--fs-3); } }

/* ---------- Quotes, cards, notes ---------- */
.bigquote { margin: 6px 0 22px; padding: 22px 26px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.bigquote p { font-style: italic; font-size: var(--fs-4); line-height: 1.45; margin: 0 0 8px; }
.bigquote cite, .quotes cite { font: 600 var(--fs-1) var(--sans); font-style: normal; color: #f0d9a8; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0 0 22px; }
.quotes blockquote { margin: 0; }
.quotes p { font-style: italic; font-size: var(--fs-3); line-height: 1.45; margin: 0 0 6px; }
.quotes cite, .quotes cite .ref { color: var(--gold); font-family: var(--sans); }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } .bigquote p { font-size: var(--fs-3); } }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-card { background: var(--cream); border: 1px solid var(--cream-line); border-radius: 8px; padding: 14px 16px; font-size: var(--fs-2); line-height: 1.5; }
.mini-card b { font-family: var(--sans); color: var(--navy); }
.mini-card p { margin: 4px 0 0; }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.print-line { display: flex; gap: 10px; align-items: center; font-family: var(--sans); font-size: var(--fs-1); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 0 0 22px; }
.print-line svg { flex: none; color: var(--navy); }
.print-line a { font-weight: 600; color: var(--navy); white-space: nowrap; }
.ws-list ~ .print-line, .empty + .print-line { margin: 22px 0 0; }
.tip { font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); background: #f4f6f8; border-radius: 8px; padding: 10px 14px; margin-top: 20px; }
.note-box { background: var(--cream); border-radius: 8px; padding: 14px 18px; margin: 14px 0 20px; font-size: var(--fs-2); }
.note-box p { margin: 0; }
.note-t { font: 700 var(--fs-1) var(--sans); color: var(--gold); margin-bottom: 4px; }
.box { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; margin: 0 0 18px; font-size: var(--fs-2); color: var(--muted); }
.hint-p, .q-hint { color: var(--muted); font-size: var(--fs-2); }
.subhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); margin: 26px 0 12px; padding-bottom: 6px; }
.subhead h3 { margin: 0; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; border-top: 2px solid var(--cream-line); margin-top: 18px; }
.twocol p { font-size: var(--fs-2); }
@media (max-width: 640px) { .twocol { grid-template-columns: 1fr; gap: 0; } }

/* The end of the preparation: a clear place to stop. */
.stop-box { border: 1.5px solid var(--gold); background: #fdf6ea; border-radius: var(--radius); padding: 18px 22px 20px; margin: 28px 0 0; }
.stop-box h3 { margin: 0 0 6px; }
.stop-box p { margin: 0 0 14px; font-size: var(--fs-2); }

/* ---------- Scripture (always upright) ---------- */
.scripture { margin: 0 0 22px; }
.scripture.boxed { background: var(--cream); border-radius: var(--radius); padding: 18px 24px 6px; }
.scripture-h, .scripture-ver { font: 700 var(--fs-1) var(--sans); color: var(--gold); margin-bottom: 8px; }
.scripture-ver { text-align: right; color: var(--muted); }
.scripture p { margin: 0 0 10px; }
.poetry { margin: 0 0 10px; }
.scripture-grid { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; align-items: start; }
@media (max-width: 760px) { .scripture-grid { grid-template-columns: 1fr; gap: 10px; } }

/* The pattern of Isaiah 6, set out in full beside the passage. */
.pattern-side { list-style: none; margin: 0; padding: 0; font-family: var(--sans); }
.pattern-side li { border-top: 1px solid var(--line); padding: 9px 0 9px 12px; border-left: 4px solid var(--c, transparent); }
.pattern-side .pt-adoration { --c: var(--adoration); } .pattern-side .pt-confession { --c: var(--confession); }
.pattern-side .pt-cleansing { --c: var(--cleansing); } .pattern-side .pt-commission { --c: var(--commission); }
.pt-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.pt-top b { font-size: var(--fs-2); color: var(--c, var(--navy)); }
.pt-v, .pt-v .ref { font-size: var(--fs-1); color: var(--muted); }
.pt-text { font-family: var(--serif); font-size: var(--fs-2); line-height: 1.4; margin-top: 2px; }
.pt-ex { font-size: var(--fs-1); color: var(--muted); margin-top: 3px; }

/* ---------- Numbered questions ---------- */
.q { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; margin: 22px 0; }
.q-num { min-width: 32px; height: 32px; padding: 0 4px; border-radius: 16px; background: var(--navy); color: #fff; font: 700 var(--fs-1)/32px var(--sans); text-align: center; margin-top: 1px; }
.q-text { margin: 0 0 8px; }
.q.big .q-text { font-weight: 600; font-size: var(--fs-5); color: var(--navy); line-height: 1.3; }
.q .field { margin-bottom: 0; }
@media (max-width: 640px) { .q { grid-template-columns: 1fr; gap: 6px; } .q-num { justify-self: start; } }

/* ---------- G / C / W ---------- */
.gcw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 6px 0 10px; }
.gcw-card { border: 1px solid var(--cream-line); border-radius: 8px; padding: 14px 16px 4px; font-size: var(--fs-2); line-height: 1.5; }
.gcw-h { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.gcw-h b { font-size: var(--fs-4); color: var(--navy); }
.gcw-l { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 var(--fs-1)/28px var(--sans); text-align: center; }
.gcw .eg { font-style: italic; color: var(--muted); }
@media (max-width: 760px) { .gcw { grid-template-columns: 1fr; } }

/* ---------- Prayers (upright, like the Scripture) ---------- */
.prayer-box { background: var(--cream); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 18px; font-size: var(--fs-2); line-height: 1.55; display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.prayer-box.flow { display: block; column-count: 2; column-gap: 34px; }
.pl { padding-left: calc(var(--lvl) * 1.1em + 1.1em); text-indent: -1.1em; break-inside: avoid; }
@media (max-width: 700px) { .prayer-box { grid-template-columns: 1fr; column-count: 1; padding: 18px; } .prayer-box.flow { column-count: 1; } }
.prayer-cite { font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); margin: -10px 0 18px; text-align: right; }

/* ---------- Worksheets and tables ---------- */
.worksheet { margin: 26px 0 10px; }
.ws-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.ws-head h3 { margin: 0; }
.ws-head .block-h { margin: 0 0 2px; color: var(--gold); }
.ws-legend { font: var(--fs-1)/1.5 var(--sans); color: var(--muted); text-align: right; }
.ws-foot { font-style: italic; color: var(--muted); font-size: var(--fs-2); margin-top: 8px; }
.table { border: 1px solid var(--navy); border-radius: 6px; overflow: hidden; margin: 8px 0 6px; }
.t-row { display: grid; border-top: 1px solid var(--field); }
.t-head { background: var(--navy); color: #fff; border-top: 0; }
.t-head .t-cell { font: 700 var(--fs-1)/1.3 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; padding: 10px; border-left-color: rgba(255,255,255,0.25); }
.t-cell { border-left: 1px solid var(--field); min-width: 0; }
.t-cell:first-child { border-left: 0; }
.t-example .t-cell { font-style: italic; color: var(--muted); padding: 9px 10px; font-size: var(--fs-2); background: #fbfaf7; }
/* Empty cells are faintly tinted and carry a hint, so it is plain where to type. */
.t-cell:has(input, textarea, select) { background: #f7f8fa; }
.t-cell input, .t-cell textarea, .t-cell select {
  width: 100%; border: 0; border-radius: 0; background: transparent; font: var(--fs-2)/1.45 var(--serif); color: var(--ink);
  padding: 10px; min-height: 46px; resize: vertical;
}
.t-cell textarea[data-oneline] { resize: none; overflow: hidden; }
.t-cell textarea { display: block; }
.t-cell select { appearance: auto; cursor: pointer; }
.t-cell select:invalid, .t-cell select.unset { color: #6b7883; }
.t-cell input:focus, .t-cell textarea:focus, .t-cell select:focus { background: #fff; outline: 3px solid var(--focus); outline-offset: -3px; }
.role-ro { padding: 10px; font-size: var(--fs-2); font-weight: 600; color: var(--navy); }
.role-prev { font: var(--fs-1)/1.45 var(--sans); color: var(--muted); padding: 0 10px 10px; white-space: pre-wrap; }
.role-prev b { color: var(--ink); font-weight: 600; }
.add-row { margin-top: 4px; }
.ws-total { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: flex-end; font-family: var(--sans); font-size: var(--fs-2); margin-top: 10px; }
.ws-total b { font-size: var(--fs-3); }
.units { display: inline-flex; gap: 4px; align-items: center; }
.unit input { position: absolute; opacity: 0; }
.unit span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--field); cursor: pointer; color: var(--ink); font-size: var(--fs-1); }
.unit input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.unit input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
/* Roles from Worksheet 1, to tap into Worksheet 2. */
.role-picks { margin: 0 0 12px; font-family: var(--sans); font-size: var(--fs-1); }
.role-picks p { margin: 0 0 8px; color: var(--muted); font-size: var(--fs-1); }
.role-picks ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.role-pick { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--field); background: #fff; color: var(--ink); font: 500 var(--fs-1) var(--sans); }
.role-pick .rp-p { font-weight: 700; color: var(--muted); }
.role-pick[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.role-pick[aria-pressed="true"] .rp-p { color: #cfd6e2; }
.role-pick:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.role-pick[disabled] { opacity: 0.5; cursor: default; }
@media (max-width: 640px) {
  .table { border: 0; overflow: visible; }
  .t-row.t-head { display: none !important; }
  /* Each row becomes a card: the long answer takes the full width, short choices sit side by side under it. */
  .t-row { display: grid !important; grid-template-columns: 1fr 1fr !important; border: 1px solid var(--field); border-radius: 8px; margin: 0 0 10px; background: #fff; overflow: hidden; }
  .t-cell { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); margin-top: -1px; }
  .t-cell[data-half] { grid-column: auto; order: 2; }
  .t-cell[data-half] ~ .t-cell[data-half] { border-left: 1px solid var(--line); }
  .t-cell::before { content: attr(data-label); display: block; font: 600 var(--fs-1) var(--sans); color: var(--muted); padding: 8px 10px 0; }
  .ws-legend { text-align: left; }
  .ws-total { justify-content: flex-start; }
}

/* Three small "I have read this" boxes. */
.checks.inline { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: -6px 0 10px; font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); }
.checks.inline .check input { margin: 0; width: 24px; height: 24px; }

/* ---------- Schedule ---------- */
table.schedule { width: 100%; border-collapse: collapse; font-size: var(--fs-2); border: 1px solid var(--navy); border-radius: 6px; overflow: hidden; }
table.schedule th { background: var(--navy); color: #fff; font: 700 var(--fs-1) var(--sans); letter-spacing: 0.04em; text-transform: uppercase; text-align: left; padding: 10px 12px; }
table.schedule td { padding: 7px 12px; border-top: 1px solid var(--line); }
table.schedule td.n { font: 700 var(--fs-1) var(--sans); color: var(--gold); width: 34px; }
table.schedule td.m { font: var(--fs-1) var(--sans); color: var(--muted); }
table.schedule td.t { font: 600 var(--fs-1) var(--sans); white-space: nowrap; text-align: right; }
table.schedule tr.brk td { background: var(--cream); font-style: italic; }
table.schedule a { color: var(--ink); text-decoration: none; border-bottom: 1px dotted var(--muted); }
table.schedule a:hover { color: var(--navy); border-bottom-style: solid; }
table.schedule tfoot td { font: 700 var(--fs-1) var(--sans); border-top: 1.5px solid var(--navy); }
@media (max-width: 640px) { table.schedule td.m { display: none; } table.schedule th:nth-child(3) { display: none; } }

/* ---------- Recap, break, stuck, reading ---------- */
.recap { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 4px; margin: 0 0 18px; background: #fbfaf7; }
.recap table, .stuck table { width: 100%; border-collapse: collapse; font-size: var(--fs-2); }
.recap th { font: 600 var(--fs-1) var(--sans); color: var(--muted); text-align: left; padding: 4px 8px 6px 0; }
.recap td { border-top: 1px solid var(--line); padding: 6px 8px 6px 0; }
.recap { overflow-x: auto; }
.recap td.num, .recap th.num { text-align: right; }
.recap td.num { white-space: nowrap; }
.recap th { vertical-align: bottom; }
.recap tfoot td { font-weight: 600; }
.recap p { margin: 8px 0 10px; }
.break-box { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; background: var(--cream); border-radius: 8px; padding: 14px 20px; margin: 22px 0 6px; }
.break-box b { font-size: var(--fs-3); color: var(--navy); }
/* Tighter lines than body text, so a wrapped sentence doesn't float apart in this short box (Alan's feedback). */
.break-box span { font-size: var(--fs-2); line-height: 1.4; text-wrap: balance; }
@media (max-width: 560px) { .break-box { grid-template-columns: 1fr auto; row-gap: 8px; } .break-box span { grid-column: 1 / -1; grid-row: 2; } }
.stuck { background: var(--cream); border-radius: var(--radius); padding: 16px 22px 6px; margin: 18px 0; }
.stuck td { border-top: 1px solid var(--cream-line); padding: 7px 10px 7px 0; vertical-align: top; }
.stuck td:first-child { width: 160px; white-space: nowrap; }
.stuck .ref { font-family: var(--sans); font-weight: 600; }
.stuck-foot { font-style: italic; color: var(--muted); font-size: var(--fs-2); border-top: 1px solid var(--cream-line); padding-top: 8px; margin-top: 2px; }
@media (max-width: 560px) { .stuck td { display: block; border: 0; padding: 2px 0; } .stuck tr { display: block; border-top: 1px solid var(--cream-line); padding: 6px 0; } }
.reading { border: 1px solid var(--line); border-radius: 8px; padding: 14px 18px 6px; margin: 10px 0 0; }
.reading ul { list-style: none; padding: 0; margin: 0 0 8px; }

/* ---------- Review ---------- */
.finish-box { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 700px) { .finish-box { grid-template-columns: 1fr; } }
table.review-t { width: 100%; border-collapse: collapse; font-size: var(--fs-2); margin: 0 0 14px; }
table.review-t th { font: 600 var(--fs-1) var(--sans); color: var(--muted); text-align: left; padding: 4px 10px 6px 0; border-bottom: 1px solid var(--line); }
table.review-t td { padding: 6px 10px 6px 0; border-bottom: 1px solid #eef0f2; vertical-align: top; white-space: pre-wrap; }

/* =====================================================================
   Home page (gothamfellows.org) and sign-in
   ===================================================================== */
.signin { max-width: 520px; margin: 30px auto 0; }
.signin input.pin { font-family: var(--sans); font-size: var(--fs-4); letter-spacing: 0.5em; max-width: 180px; }
.steps-list { padding-left: 22px; margin: 6px 0 18px; display: grid; gap: 6px; }
.home-logo { display: block; width: 180px; height: auto; margin: 0 0 18px; }
.signin .home-logo { width: 160px; }
.sheets { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.sheet {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 18px 20px; background: #fff;
}
.sheet h2 { font-size: var(--fs-4); margin: 0; }
.sheet-sub { font-style: italic; color: var(--muted); margin: 2px 0 8px; }
.sheet p { margin: 0 0 8px; font-size: var(--fs-2); }
.sheet .badge { margin-left: 0; margin-right: 6px; }
.sheet-text { flex: 1 1 360px; }
.sheet-status { font-family: var(--sans); font-size: var(--fs-1); color: var(--muted); }
.sheet .btn { min-width: 110px; }
.card.leaders { margin-top: 22px; }
.leaders .block-h .count { display: inline-block; background: var(--red); color: #fff; border-radius: 999px; padding: 0 8px; margin-left: 6px; }
.leaders input[type="text"] { font-family: var(--sans); font-size: var(--fs-2); margin-bottom: 10px; }
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.person { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-size: var(--fs-2); }
.person.req { border-color: #e7c27b; background: #fff8ea; }
.person .sub-main { flex: 1 1 260px; }
.person .badge { margin-left: 4px; }
.howto { margin: 14px 0 0; font-size: var(--fs-2); }
.howto summary { cursor: pointer; font-family: var(--sans); font-size: var(--fs-1); font-weight: 600; color: var(--navy); }
.reset-alert { display: block; text-decoration: none; margin-bottom: 16px; }
.leader-alert { display: block; margin: 0 0 16px; }
.bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 10px; padding: 8px 12px; background: #f6f6f3; border-radius: 8px; }
.bulk-bar .btn { margin-left: auto; }
.sub-check { display: flex; align-items: center; padding-right: 2px; }
.sub-check input { width: 22px; height: 22px; accent-color: var(--navy); }
.cohort-pick { font-family: var(--sans); font-size: var(--fs-1); padding: 6px 8px; border: 1px solid var(--field); border-radius: 6px; background: #fff; }
.group-prompt { background: #fdf0e1; border-radius: 10px; padding: 14px 16px 6px; margin: 6px 0 14px; }
.group-prompt .field { margin-bottom: 10px; }

/* ---------- Your profile and projects (home page) ---------- */
.card.profile-card { margin-top: 22px; }
.pf { display: grid; gap: 0; margin: 14px 0 16px; font-family: var(--sans); font-size: var(--fs-2); }
.pf-row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef0f2; }
.pf-row dt { color: var(--muted); font-weight: 600; }
.pf-row dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .pf-row { grid-template-columns: 1fr; gap: 2px; } }
.profile-form { margin-top: 14px; max-width: 560px; }
.profile-form .field { margin-bottom: 16px; }

/* ---------- Leaders: past projects on profiles ---------- */
.past-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 18px; font-family: var(--sans); }
.past-form .field { margin-bottom: 14px; }
.past-form input[type="file"] { font-family: var(--sans); font-size: var(--fs-1); max-width: 100%; }
.past-form .field.wide { grid-column: 1 / -1; } /* the Files field gets the full width (its instructions wrapped into a narrow strip) */
.table-scroll { overflow-x: auto; }
.pp-table td { white-space: normal; font-family: var(--sans); font-size: var(--fs-1); }
.pp-table select { max-width: 280px; }
.pp-table .pp-other { margin-top: 6px; font-size: var(--fs-1); padding: 6px 8px; max-width: 280px; }

/* ---------- Kickoff Assessment (kickoff.html) ---------- */
.ko-prayer { background: var(--cream); border: 1px solid var(--cream-line); border-radius: var(--radius); padding: 16px 18px; margin: 18px 0 8px; }
.ko-prayer-h { font: 600 var(--fs-1) var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.ko-prayer blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: var(--fs-3); white-space: pre-wrap; }
.ko-summary { border-collapse: collapse; width: 100%; max-width: 520px; font-family: var(--sans); font-size: var(--fs-2); margin: 4px 0 8px; }
.ko-summary th, .ko-summary td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--line); }
.ko-summary td:last-child, .ko-summary th:last-child { text-align: right; white-space: nowrap; }
.ko-pair input { font-family: var(--sans); font-size: var(--fs-1); padding: 7px 9px; border: 1px solid var(--field); border-radius: 6px; min-width: 0; width: 230px; max-width: 100%; }

/* ---------- Video journal (journal.html) ---------- */
.rec-stage { position: relative; background: #111a24; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; margin: 0 0 14px; }
.rec-stage video { width: 100%; height: 100%; object-fit: contain; display: block; background: #111a24; }
.rec-stage video.mirror { transform: scaleX(-1); }
.rec-badge { position: absolute; top: 10px; left: 10px; background: rgba(155, 44, 60, 0.92); color: #fff; font: 600 var(--fs-1) var(--sans); padding: 4px 10px; border-radius: 99px; }
.rec-badge::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; margin-right: 7px; vertical-align: 1px; animation: rec-blink 1s steps(2) infinite; }
@keyframes rec-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rec-badge::before { animation: none; } }
.rec-prompt { background: var(--cream); border-radius: 8px; padding: 12px 14px; margin: 0 0 16px; font-family: var(--serif); font-style: italic; }
.radio-list { list-style: none; padding: 0; margin: 0 0 18px; }
.radio-list label { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: var(--fs-2); cursor: pointer; }
.radio-list input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.progress-bar { height: 8px; background: #e6eaee; border-radius: 99px; overflow: hidden; margin: 6px 0 14px; }
.progress-bar span { display: block; height: 100%; background: var(--navy); width: 0; transition: width 0.2s; }
.vid-item video { width: 100%; max-height: 360px; background: #111a24; border-radius: 8px; margin: 8px 0 6px; }
.vid-item .person { flex-wrap: wrap; }
.vid-item select { font-family: var(--sans); font-size: var(--fs-1); padding: 6px 8px; border: 1px solid var(--field); border-radius: 6px; background: #fff; }
.consent-list li { margin-bottom: 6px; }
.card.still { animation: none; }
.ko-switch .check { font-size: var(--fs-2); margin-bottom: 4px; }

/* ---------- Leaders area (/leaders) ---------- */
.leaders-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 18px; }
.leaders-head h1 { margin: 0; }
.leaders-tabs { flex-wrap: wrap; margin: 14px 0 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.leaders-tabs a:last-child, .leaders-tabs a:nth-last-child(2) { color: var(--navy); font-weight: 500; }
.today-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.today-item a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: var(--ink); font-family: var(--sans); font-size: var(--fs-1); line-height: 1.35; height: 100%; box-sizing: border-box; }
.today-item a:hover { border-color: var(--navy); }
.today-count { font: 600 26px/1 var(--serif); color: var(--muted); min-width: 1.4em; text-align: center; }
.today-item.attn a { border-color: #e7c27b; background: #fff8ea; }
.today-item.attn .today-count { color: #7a4a08; }
.fellows-t td, .grid-t td { white-space: normal; font-family: var(--sans); vertical-align: middle; }
.fellows-t .badge, .grid-t .badge { margin-left: 0; }
.grid-t th .small { font-weight: 400; }
.fellow-facts { font-family: var(--sans); }
.kick-part { font: 600 var(--fs-1) var(--sans); color: var(--navy); margin: 14px 0 4px; }
.plain-list { padding-left: 18px; font-family: var(--sans); }
.fb-anchor { margin: 6px 0; padding: 4px 10px; border-left: 3px solid var(--line); color: var(--muted); }
.fb-msg { margin: 6px 0 0; white-space: pre-wrap; }
.roster-form textarea { width: 100%; box-sizing: border-box; font-family: var(--sans); font-size: var(--fs-2); padding: 8px 10px; border: 1px solid var(--field); border-radius: 8px; margin-bottom: 8px; }
.home-leaders { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }

/* ---------- Home page: "Your year" path, the next step, reflections ---------- */
.year-h { margin: 26px 0 6px; }
.year-path { list-style: none; padding: 0; margin: 0 0 8px; display: flex; font-family: var(--sans); }
.year-path .stop { flex: 1 1 0; position: relative; padding: 26px 6px 0; text-align: center; font-size: var(--fs-1); line-height: 1.3; min-width: 0; }
.year-path .stop::before { content: ""; position: absolute; top: 8px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.year-path .stop:first-child::before { display: none; }
.year-path .dot { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--field); background: var(--paper); z-index: 1; }
.year-path .stop-title { display: block; font-weight: 600; color: var(--ink); }
.year-path .stop-status { display: block; color: var(--muted); }
.year-path .stop.done .dot { background: var(--navy); border-color: var(--navy); }
.year-path .stop.done + .stop.done::before { background: var(--navy); } /* a dark line only between two finished stops */
.year-path .stop.progress .dot { border-color: var(--gold); background: linear-gradient(90deg, var(--gold) 50%, var(--paper) 50%); }
.year-path .stop.current .dot { border-color: var(--gold); box-shadow: 0 0 0 4px #f6e7d3; }
.year-path .stop.current .stop-title { color: var(--gold); }
@media (max-width: 560px) {
  .year-path { flex-direction: column; gap: 12px; }
  .year-path .stop { text-align: left; padding: 0 0 0 30px; }
  .year-path .stop::before { top: -12px; bottom: auto; left: 8px; right: auto; width: 2px; height: 12px; }
  .year-path .dot { top: 1px; left: 0; transform: none; }
}
.sheet.next { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.eyebrow-next { font: 700 12px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.reflections { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
.reflections .block-h { margin: 0 0 4px; }
.reflections p { margin: 0; font-family: var(--sans); }
