:root {
  --ink: #182126;
  --muted: #51606a;
  --paper: #fbfaf7;
  --mist: #edf5f1;
  --line: #d7ded8;
  --forest: #275f54;
  --forest-deep: #1e4e45;
  --navy: #17324d;
  --copper: #b8651b;
  --copper-light: #f0b578;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; }
a { color: var(--forest); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(215, 222, 216, 0.7);
  backdrop-filter: blur(12px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 14px; padding-bottom: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand svg { flex: 0 0 auto; }
.brand-text { line-height: 1.15; }
.brand-name { font-weight: 780; font-size: 17px; display: block; }
.brand-sub { font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--copper); }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 14.5px; font-weight: 650; }
.nav-links a { text-decoration: none; color: #27343a; white-space: nowrap; }
.nav-links a:hover { color: var(--forest); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 47px; padding: 12px 20px; border-radius: 8px;
  background: var(--forest); color: var(--white) !important;
  text-decoration: none; font-weight: 730; line-height: 1.15;
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(39, 95, 84, 0.2);
}
.button:hover { background: var(--forest-deep); }
.button.ghost {
  background: transparent; color: var(--forest) !important;
  border-color: var(--forest); box-shadow: none;
}
.button.ghost:hover { background: var(--mist); }
.button.on-dark { background: var(--copper); box-shadow: 0 10px 24px rgba(184, 101, 27, 0.28); }
.button.on-dark:hover { background: #a05515; }
.button.ghost-dark { background: rgba(255,255,255,0.1); color: #fff !important; border-color: rgba(255,255,255,0.55); box-shadow: none; }
.button.ghost-dark:hover { background: rgba(255,255,255,0.2); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px; color: var(--copper); font-size: 14px; font-weight: 760;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--copper); }
h1 { margin: 0 0 14px; font-size: 50px; line-height: 1.04; letter-spacing: -0.01em; }
.tagline { margin: 0 0 16px; font-size: 22px; font-weight: 740; color: var(--forest); line-height: 1.3; }
.hero-copy { margin: 0 0 28px; font-size: 18.5px; color: #33424b; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { text-align: center; }
.hero-art svg { width: min(440px, 100%); height: auto; }

/* Bands */
.band { padding: 76px 0; }
.band.mist { background: var(--mist); }
.band.navy { background: var(--navy); color: var(--white); }
.band.tight { padding: 54px 0; }
.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head h2 { margin: 0 0 10px; font-size: 33px; line-height: 1.12; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.navy .section-head p { color: rgba(255,255,255,0.78); }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.pillar strong { display: block; margin-bottom: 8px; color: var(--forest); font-size: 18px; }
.pillar p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Members grid */
.members { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.member {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 24px; border-top: 4px solid var(--forest);
}
.member:nth-child(2) { border-top-color: var(--copper); }
.member:nth-child(3) { border-top-color: var(--navy); }
.member:nth-child(4) { border-top-color: var(--copper); }
.member:nth-child(5) { border-top-color: var(--navy); }
.member:nth-child(6) { border-top-color: var(--forest); }
.member h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.2; }
.member p { margin: 0; color: var(--muted); font-size: 15px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; counter-reset: step; }
.step {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px; counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px;
  margin-bottom: 16px; border-radius: 50%;
  background: var(--copper); color: var(--white); font-weight: 800;
}
.step h3 { margin: 0 0 8px; font-size: 17.5px; line-height: 1.25; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Signed-in homepage path guide */
body.logged-in.home .hero .wrap {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  padding-top: 46px;
  padding-bottom: 50px;
}
body.logged-in.home .hero-art { display: none; }

.member-path-guide {
  padding: 66px 0 72px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.member-path-head { max-width: 850px; margin-bottom: 26px; }
.member-path-head .eyebrow { margin-bottom: 12px; }
.member-path-progress-label {
  margin: 14px 0 6px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 760;
}
.member-path-progress {
  width: min(360px, 100%);
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.member-path-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--forest);
  transition: width 0.4s ease;
}
.member-path-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 46px;
  padding: 0;
  list-style: none;
}
.member-path-steps > li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  min-height: 100%;
  padding: 20px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(24, 33, 38, 0.06);
}
.member-path-steps > li.is-next { border-color: var(--copper); }
.member-path-steps > li.is-done { background: var(--mist); border-color: rgba(39, 95, 84, 0.35); box-shadow: none; }
.member-path-status {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}
.is-next .member-path-status { border-color: var(--copper); background: var(--copper); color: var(--white); }
.is-done .member-path-status { border-color: var(--forest); background: var(--forest); color: var(--white); }
.member-path-chip {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fff3e5;
  color: #a05515;
  font-size: 11.5px;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.member-path-steps h3 {
  margin: 4px 0 6px;
  font-size: 17px;
  line-height: 1.3;
}
.member-path-steps h3 a { color: var(--ink); text-decoration: none; }
.member-path-steps h3 a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.member-path-steps p { margin: 0; color: var(--muted); font-size: 14px; }
.member-path-route-head {
  max-width: 760px;
  margin: 0 0 22px;
  padding: 26px;
  border: 1px solid rgba(39, 95, 84, 0.3);
  border-top: 5px solid var(--forest);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--white), var(--mist));
  box-shadow: 0 14px 34px rgba(24, 33, 38, 0.08);
}
.member-path-route-head .eyebrow { margin-bottom: 8px; }
.member-path-route-head h3 { margin: 0 0 8px; font-size: 27px; line-height: 1.2; }
.member-path-route-head > p:not(.eyebrow) { margin: 0 0 18px; color: var(--muted); }
.member-path-route-head .button { margin-bottom: 18px; }
.member-path-route-head .member-path-other {
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.member-path-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--copper);
  border-radius: 8px;
  background: #fff3e5;
  color: #4c3a27;
  font-size: 14.5px;
}

/* Opening-first list */
.opening { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px 28px; margin: 0; padding: 0; list-style: none; }
.opening li {
  position: relative; padding: 4px 0 4px 34px;
  color: rgba(255,255,255,0.9); font-size: 16.5px;
}
.opening li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--copper);
  clip-path: polygon(18% 42%, 40% 64%, 82% 22%, 94% 34%, 40% 88%, 6% 54%);
}
.navy-split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 44px; align-items: center; }
.statement {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.22);
  border-radius: 10px; padding: 26px;
}
.statement p { margin: 0; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.9); }

/* Ecosystem */
.eco { display: flex; flex-wrap: wrap; gap: 12px 34px; align-items: center; color: var(--muted); font-size: 15px; }
.eco a { font-weight: 680; }

/* CTA */
.cta-card {
  display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 32px; box-shadow: 0 18px 48px rgba(24,33,38,0.1);
}
.cta-card h2 { margin: 0 0 8px; font-size: 27px; }
.cta-card p { margin: 0; color: var(--muted); }

/* Crisis */
.crisis { background: #fff3e5; border-top: 1px solid #edd8be; border-bottom: 1px solid #edd8be; padding: 22px 0; }
.crisis .wrap { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; align-items: center; }
.crisis strong { display: block; color: #77430d; margin-bottom: 3px; }
.crisis p { margin: 0; color: #4c3a27; font-size: 15px; }
.crisis-links { display: flex; flex-wrap: wrap; gap: 10px; }
.crisis-links a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 9px 14px;
  border: 1px solid #c89556; border-radius: 8px; color: #5f360c;
  text-decoration: none; font-weight: 730; white-space: nowrap; font-size: 15px;
}

/* Footer */
.site-footer { background: #10191d; color: rgba(255,255,255,0.72); font-size: 14.5px; padding: 34px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--white); }

/* Blog fallback minimal. Single course pages are excluded: their hero spans
   the full container and the body is a two-column grid (lessons + card), so a
   760px reading column left the title, lessons, and card on three different
   edges (Gabriel 2026-08-20). */
.content-area { padding: 60px 0; }
.content-area article:not(.course) { max-width: 760px; margin: 0 auto 40px; }

@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 52px; }
  .hero-art { order: -1; }
  .hero-art svg { width: min(320px, 82%); }
  h1 { font-size: 38px; }
  .tagline { font-size: 19px; }
  .pillars, .members, .steps, .navy-split { grid-template-columns: 1fr; }
  .member-path-steps { grid-template-columns: 1fr; }
  .opening { grid-template-columns: 1fr; }
  .cta-card, .crisis .wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 680px) {
	.member-path-route-head .button { width: 100%; }
}
@media (max-width: 560px) {
  /* The fixed community header grows to ~77px when the full site name wraps
     to two lines on phones; ReadyLaunch only reserves 69px, so the member
     hero's first line ("Your community guide") clipped underneath it. */
  body.logged-in.home .hero .wrap { padding-top: 72px; }
  h1 { font-size: 32px; }
  .section-head h2 { font-size: 26px; }
  .hero-actions .button { width: 100%; }
  .crisis-links a { width: 100%; justify-content: center; }
}

/* Fallback in case the parent theme's screen-reader-text rule is unavailable */
.member-path-guide .screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* --- BuddyBoss container overrides: homepage sections run full-bleed --- */
body.home .bb-grid.site-content-grid { display: block; }
/* Keep the theme's top offset for the fixed header — zeroing it put the hero's
   first line ("Your community guide") under the nav bar (Gabriel 2026-08-20). */
body.home #content.site-content { padding: var(--bb-header-height, 76px) 0 0 !important; }
body.home .site-content .container { max-width: 100%; width: 100%; padding: 0; margin: 0; }
body.home main#main { width: 100%; max-width: none; }
body.home .site-content aside, body.home #secondary { display: none; }
body.home .band.navy h2, body.home .band.navy .section-head h2 { color: #ffffff; }

/* Admins keep the WP admin bar; push the fixed BuddyBoss header below it.
   body.admin-bar exists only when the toolbar renders (admins), so
   members are untouched. WP toolbar is 32px, 46px under 783px. */
body.admin-bar #masthead {
	top: 32px !important;
}
@media screen and (max-width: 782px) {
	body.admin-bar #masthead {
		top: 46px !important;
	}
}

/* The header's backdrop blur makes #masthead the containing block for
   fixed descendants, which crushes the mobile menu panel to header
   height (76px). Drop the blur only while the panel is open; the header
   is hidden behind the panel then anyway. */
body.bb-mobile-panel-open #masthead {
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
}

.rp-completion-gate {
	margin: 18px 0;
	padding: 12px 14px;
	border-left: 4px solid var(--copper);
	border-radius: 6px;
	background: #fff3e5;
	color: #5f360c;
}


/* Feedback button: lightbulb affordance (Gabriel 2026-08-20); the text label
   collapses on phones, matching the ReentryDB pattern. */
.rp-feedback-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
}
@media (max-width: 640px) {
	.rp-feedback-button .rp-feedback-label { display: none; }
	.rp-feedback-button { padding: 10px 13px !important; }
}

/* Lesson topbar: the theme's dark-mode and maximize/minimize controls are
   clutter for members (Gabriel 2026-08-20) — removed from the top menu. */
.sfwd-dark-mode,
a:has(> .sfwd-dark-mode),
.header-maximize-link,
.header-minimize-link {
	display: none !important;
}


/* Single course page (Gabriel 2026-08-20): the floating card is the action
   center — course art on top (the theme's 3:2 crop keeps the card compact
   inside the hero), progress + continue button + facts below
   (inc/course-page.php + the child lifterlms sidebar template). */
.llms-instructor-info {
	display: none;
}
/* The hero's "View course details" anchor only scrolled half an inch to the
   lessons list — gone (Gabriel 2026-08-20). */
.single-course .bb-course-points {
	display: none;
}
.rp-course-card-body {
	padding: 20px 0 14px;
}
.bb-single-course-sidebar .rp-course-card-body a.llms-course-continue-button.wp-element-button {
	display: block;
	width: 100%;
	max-width: none;
	text-align: center;
}
.bb-llms-content-wrap .llms-syllabus-wrapper .llms-section-title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 16px;
}
.rp-course-card-body .llms-course-progress {
	margin: 0 0 4px;
}
.rp-course-card-body .llms-progress .progress__indicator {
	font-size: 13px;
	color: #5d6972;
}
.rp-course-card-body .llms-course-continue-button,
.rp-course-card-body .llms-course-continue-button:visited {
	display: block;
	width: 100%;
	text-align: center;
	margin: 0;
}
.rp-course-card-body .rp-join-course-form {
	margin: 0;
}
.bb-single-course-sidebar .rp-course-card-body .rp-join-course-form button.llms-button-action {
	display: block;
	width: 100%;
	margin: 0;
}
.rp-course-prereq {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.45;
	color: #5d6972;
}
.bb-single-course-sidebar .rp-course-card-body a.rp-course-prereq-button,
.bb-single-course-sidebar .rp-course-card-body a.rp-course-prereq-button:visited {
	display: block;
	width: 100%;
	margin: 0;
	text-align: center;
}
/* Lesson illustrations (Gabriel 2026-08-21): one ink-and-wash image opens
   each lesson, matching the Ready for Reentry course medium. Served from
   assets/img/curriculum/ and referenced from the curriculum markdown. */
.llms-lesson-content img[src*="/assets/img/curriculum/"],
.bb-llms-content-wrap img[src*="/assets/img/curriculum/"] {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 22px;
	border-radius: 14px;
}
/* Catalog: every course is included with membership — no price tags. */
.llms-meta-aplans--hasFree .llms-meta-aplans__price {
	display: none;
}
.rp-course-card-body .llms-course-complete-text {
	margin: 0;
	text-align: center;
	font-weight: 600;
	color: #1e7e34;
}
.llms-lesson-navigation a,
.llms-lesson-navigation button,
.llms-course-navigation a {
	min-height: 44px;
	color: #173f38 !important;
	font-weight: 700;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}
.rp-course-facts {
	margin-top: 14px;
	font-size: 14px;
	color: #5d6972;
	text-align: center;
}
.rp-course-facts .bb-icon-l {
	vertical-align: -2px;
	margin-right: 2px;
}

/* A two-course volunteer library: generous, welcoming cards with no
   marketplace controls competing with the two actual decisions. */
.rp-course-library {
	max-width: 1080px;
	margin: 0 auto;
	padding: 42px 24px 64px;
}
.rp-course-library-header {
	max-width: 680px;
	margin-bottom: 28px;
}
.rp-course-library-header .page-title {
	margin: 4px 0 8px;
	font-size: clamp(34px, 5vw, 54px);
	line-height: 1.05;
	color: var(--ink);
}
.rp-course-library-header > p:last-child {
	margin: 0;
	font-size: 18px;
	line-height: 1.55;
	color: var(--muted);
}
.rp-course-library-eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--copper);
}
.rp-course-library-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.rp-course-library-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
	box-shadow: 0 12px 34px rgba(32, 53, 46, 0.09);
}
.rp-course-library-card--reentry-partnership-letter-writer-training {
	border-top: 6px solid var(--copper);
}
.rp-course-library-card--welcome-how-this-community-works {
	border-top: 6px solid var(--forest);
}
.rp-course-library-image {
	display: block;
	background: #e9eee9;
}
.rp-course-library-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.rp-course-library-card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 318px;
	padding: 26px;
}
.rp-course-library-card-body h2 {
	margin: 8px 0 10px;
	font-size: 26px;
	line-height: 1.18;
}
.rp-course-library-card-body h2 a {
	color: var(--ink);
	text-decoration: none;
}
.rp-course-library-card-body h2 a:hover {
	color: var(--forest);
	text-decoration: underline;
	text-underline-offset: 4px;
}
.rp-course-library-card-body > p:not(.rp-course-library-eyebrow) {
	font-size: 16px;
	line-height: 1.55;
	color: var(--muted);
}
.rp-course-library-facts {
	margin-top: auto;
	font-weight: 700;
	color: var(--forest) !important;
}
.rp-course-library-cta,
.rp-course-library-cta:visited {
	min-height: 44px;
	margin-top: 12px;
	padding: 12px 18px;
	background: var(--forest) !important;
	color: var(--white) !important;
}
.rp-course-library-empty {
	padding: 20px;
	border-left: 4px solid var(--copper);
	background: #fff3e5;
}
@media (max-width: 760px) {
	.rp-course-library {
		padding: 30px 18px 48px;
	}
	.rp-course-library-grid {
		grid-template-columns: 1fr;
	}
	.rp-course-library-card-body {
		min-height: 0;
	}
	.rp-course-library-facts {
		margin-top: 12px;
	}
	.rp-course-library-cta {
		width: 100%;
		text-align: center;
	}
}

/* Member Resources (2026-08-24): printable operational drafts. These are
   intentionally display-only; the alpha site must not collect incident data. */
.rp-resources {
	max-width: 940px;
	margin: 0 auto;
	padding-bottom: 48px;
}
.rp-resource-status {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	align-items: center;
	margin: 0 0 18px;
	padding: 12px 16px;
	border-left: 5px solid var(--copper);
	border-radius: 8px;
	background: #fff3e5;
}
.rp-resource-status strong {
	color: #7b3d08;
}
.rp-resource-status span {
	font-size: 14px;
	color: var(--muted);
}
.rp-resource-alert {
	margin: 26px 0;
	padding: 20px 22px;
	border: 1px solid #d9cbb5;
	border-radius: 14px;
	background: #fbf7ef;
}
.rp-resource-alert h2,
.rp-resource-alert p {
	margin-top: 0;
}
.rp-resource-alert p:last-child {
	margin-bottom: 0;
}
.rp-resource-jump {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	align-items: center;
	margin: 26px 0 32px;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
}
.rp-resource-jump a {
	font-weight: 700;
	text-underline-offset: 3px;
}
.rp-resource-sheet,
.rp-resource-example,
.rp-resource-review {
	margin: 0 0 34px;
	padding: clamp(22px, 4vw, 38px);
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
	box-shadow: 0 12px 34px rgba(32, 53, 46, 0.08);
}
.rp-resource-sheet {
	border-top: 6px solid var(--forest);
}
.rp-resource-example {
	border-top: 6px solid var(--copper);
	background: #fffdf9;
}
.rp-resource-review {
	border-top: 6px solid var(--navy);
}
.rp-resource-sheet-head {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: flex-start;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}
.rp-resource-sheet-head h2,
.rp-resource-sheet-head p,
.rp-resource-example > h2,
.rp-resource-review > h2 {
	margin-top: 0;
}
.rp-resource-sheet-head > p {
	flex: 0 0 auto;
	color: var(--forest);
}
.rp-resource-kicker {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--copper);
}
.rp-resource-rule {
	margin: 22px 0;
	padding: 16px 18px;
	border-left: 4px solid var(--copper);
	background: #fff7ed;
}
.rp-resource-sheet h3,
.rp-resource-example h3 {
	margin: 30px 0 12px;
	font-size: 20px;
}
.rp-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 22px;
}
.rp-form-grid > p,
.rp-resource-ack > p {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fcfcfa;
}
.rp-form-blank {
	display: block;
	min-height: 24px;
	border-bottom: 1px solid #77838a;
}
.rp-resource-checklist,
.rp-resource-steps,
.rp-example-log {
	padding-left: 24px;
}
.rp-resource-checklist li,
.rp-resource-steps li,
.rp-example-log li {
	margin-bottom: 9px;
}
.rp-resource-checklist--blank {
	padding-left: 0;
	list-style: none;
	columns: 2;
	column-gap: 28px;
}
.rp-resource-checklist--blank li {
	break-inside: avoid;
}
.rp-resource-checklist--blank li::before {
	content: "\2610";
	margin-right: 9px;
	color: var(--forest);
}
.rp-resource-dont {
	margin: 24px 0 0;
	padding: 16px 18px;
	border-radius: 10px;
	background: #f3f5f4;
}
.rp-resource-ack {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 16px;
	margin-top: 24px;
}
.rp-writing-space {
	min-height: 150px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: repeating-linear-gradient(to bottom, #fff 0, #fff 31px, #dfe5e1 32px);
}
.rp-resource-prompt {
	margin-top: 10px;
	font-size: 14px;
	color: var(--muted);
}
.rp-action-log {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: #fcfcfa;
}
.rp-action-log > div {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 12px;
}
.rp-example-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 26px;
}
.rp-example-fields > div {
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
}
.rp-example-fields dt {
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--muted);
}
.rp-example-fields dd {
	margin: 4px 0 0;
	font-weight: 650;
}
.rp-resource-example blockquote {
	margin: 14px 0;
	padding: 16px 20px;
	border-left: 5px solid var(--copper);
	background: var(--white);
	font-size: 18px;
}
.rp-resource-reference {
	font-size: 14px;
	color: var(--muted);
}
@media (max-width: 760px) {
	.rp-resource-sheet-head {
		flex-direction: column;
		gap: 2px;
	}
	.rp-form-grid,
	.rp-resource-ack,
	.rp-example-fields {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 480px) {
	.rp-resource-checklist--blank {
		columns: 1;
	}
	.rp-action-log {
		grid-template-columns: 1fr;
	}
}
@media print {
	.rp-resource-jump,
	.rp-resource-alert,
	.rp-resource-review,
	.rp-resource-reference,
	.rp-feedback-button,
	.rp-feedback-panel {
		display: none !important;
	}
	.rp-resources {
		max-width: none;
		padding: 0;
	}
	.rp-resource-sheet,
	.rp-resource-example {
		break-before: page;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
	}
}

/* "Your path" diagram + "What's here" map (Gabriel 2026-08-20): one picture
   of the journey, lit to where the member is; horizontal on desktop,
   a vertical timeline on phones. Rendered by inc/path-diagram.php. */
.rp-path-band { padding: 26px 0 0; background: var(--paper); }
.rp-path-wrap { margin: 0 0 26px; }
.rp-path-heading { margin: 0 0 16px; font-size: 14px; font-weight: 760; color: var(--copper); }
.rp-path { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; }
.rp-path-step { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.rp-path-step::before { content: ""; position: absolute; top: 19px; left: -50%; right: 50%; height: 4px; background: var(--line); border-radius: 2px; }
.rp-path-step:first-child::before { display: none; }
.rp-path-step.is-done::before { background: var(--forest); }
.rp-path-step.is-current::before { background: linear-gradient(90deg, var(--forest), var(--copper)); }
.rp-path-dot { position: relative; z-index: 1; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; background: var(--white); border: 3px solid var(--line); color: var(--muted); }
.is-done .rp-path-dot { background: var(--forest); border-color: var(--forest); color: var(--white); }
.is-current .rp-path-dot { border-color: var(--copper); color: var(--copper); box-shadow: 0 0 0 6px rgba(184, 101, 27, 0.16); }
.rp-path-badge .rp-path-dot { font-size: 19px; }
.rp-path-badge.is-done .rp-path-dot { background: var(--copper); border-color: var(--copper); }
.rp-path-text { display: flex; flex-direction: column; align-items: center; gap: 3px; margin-top: 10px; }
.rp-path-here { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--copper); }
.rp-path-label { font-size: 14.5px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.rp-path-label a { color: inherit; text-decoration: none; }
.rp-path-label a:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.rp-path-meta { font-size: 12.5px; color: var(--muted); }
.rp-map { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rp-map-tile > a, .rp-map-tile > div { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 16px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink); text-decoration: none; }
.rp-map-tile > a:hover { border-color: var(--forest); }
.rp-map-icon { color: var(--forest); margin-bottom: 4px; }
.rp-map-icon svg { width: 26px; height: 26px; }
.rp-map-phone .rp-map-icon { color: var(--copper); }
.rp-map-label { font-weight: 760; font-size: 16px; }
.rp-map-text { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
@media (max-width: 760px) {
  .rp-path { flex-direction: column; align-items: stretch; }
  .rp-path-step { flex-direction: row; align-items: flex-start; text-align: left; padding: 0 0 18px; gap: 14px; }
  .rp-path-step::before { top: 42px; bottom: -2px; left: 19px; right: auto; width: 4px; height: auto; }
  .rp-path-step:first-child::before { display: block; }
  .rp-path-step:last-child::before { display: none; }
  .rp-path-step.is-current::before { background: var(--line); }
  .rp-path-dot { flex: 0 0 42px; }
  .rp-path-text { align-items: flex-start; margin-top: 8px; }
  .rp-map { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .rp-map { grid-template-columns: 1fr; }
  /* BuddyBoss leaves a 48px collapsed lesson-sidebar rail on phones. Its
     default 40px content gutter puts the first glyphs beneath that rail. */
  .single-lesson #lifterlms-page-content {
	padding-left: 56px !important;
	padding-right: 24px !important;
  }
}
