/* ============================================
   Molding the Future — Site Stylesheet
   moldingthefuture.org
   Independent learning resource
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

/* ---- Design Tokens ---- */
:root {
  --bg:             #f8f6f2;
  --bg-card:        #ffffff;
  --bg-header:      #1c3a5e;
  --bg-footer:      #1a2a38;
  --bg-hero:        #f0ede8;
  --bg-alt:         #edeae5;

  --text:           #1d2730;
  --text-secondary: #546478;
  --text-muted:     #7a8898;

  --blue:           #1c3a5e;
  --blue-mid:       #2d5a8e;
  --teal:           #2e7070;
  --teal-mid:       #3a8c8c;
  --amber:          #c47c2a;

  --border:         #ddd8cf;
  --border-light:   #ede9e3;

  --shadow-sm:  0 1px 3px rgba(29,39,48,.08);
  --shadow-md:  0 4px 14px rgba(29,39,48,.11);

  --radius: 3px;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1100px;
  --content:    760px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--blue); }

/* ---- Skip link ---- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  font-size: .85rem;
  z-index: 9999;
}
.skip:focus { left: 0; }

/* ---- Layout containers ---- */
.wx         { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wx--sm { max-width: var(--content);   margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h1, h2, h3, h4 { color: var(--text); line-height: 1.25; }
h1 { font-family: var(--font-serif); font-weight: 700; }
h2 { font-family: var(--font-serif); font-weight: 700; }
h3 { font-family: var(--font-sans);  font-weight: 600; }
p  { margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }


/* ========================================
   HEADER / NAV
   ======================================== */
.hd {
  background: var(--bg-header);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(255,255,255,.06);
}
.hd__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.hd-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: .01em;
  flex-shrink: 0;
}
.hd-logo:hover { color: rgba(255,255,255,.82); }

.hd-nav { display: flex; align-items: center; gap: 2px; }
.hd-nav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .015em;
  padding: 7px 13px;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.hd-nav a:hover,
.hd-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* Mobile hamburger */
.hd-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
  padding: 5px 11px;
  border-radius: var(--radius);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
}


/* ========================================
   HERO (homepage)
   ======================================== */
.ld {
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border);
  padding: 76px 0 68px;
}
.ld__inner { max-width: 740px; }
.ld__eyebrow {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.ld__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.18;
}
.ld__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 640px;
}
.ld__ctas { display: flex; gap: 12px; flex-wrap: wrap; }


/* ---- Buttons ---- */
.ux-btn {
  display: inline-block;
  padding: 11px 22px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius);
  text-decoration: none;
  line-height: 1.4;
  transition: background .15s, color .15s, border-color .15s;
}
.ux-btn--a {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
}
.ux-btn--a:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: #fff;
}
.ux-btn--b {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.ux-btn--b:hover {
  background: var(--teal);
  color: #fff;
}


/* ========================================
   TRUST / DISCLOSURE NOTE
   ======================================== */
.tb {
  background: #f5f1eb;
  border-bottom: 1px solid #e0d9cf;
  padding: 12px 0;
}
.tb__txt {
  font-size: .78rem;
  color: var(--text-muted);
  max-width: var(--content);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.tb__ico {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--amber);
}


/* ========================================
   SECTION BASE
   ======================================== */
.section { padding: 68px 0; }
.blk--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.blk__tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.blk__nm {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text);
  margin-bottom: 12px;
}
.blk__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 40px;
}
.blk__hd { margin-bottom: 40px; }


/* ========================================
   CARDS
   ======================================== */
.kd-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.kd-row--2 { grid-template-columns: repeat(2, 1fr); }

.kd {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.kd__stripe {
  width: 30px;
  height: 3px;
  border-radius: 1px;
  margin-bottom: 18px;
}
.kd__stripe--tl  { background: var(--teal); }
.kd__stripe--bl  { background: var(--blue); }
.kd__stripe--am { background: var(--amber); }

.kd__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}
.kd__body {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.kd__body p { margin-bottom: 0; }

/* Audience cards */
.kd--aud .kd__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.kd__link {
  display: inline-block;
  margin-top: 16px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.kd__link:hover { color: var(--blue); text-decoration: underline; }
.kd__link::after { content: ' →'; }


/* ========================================
   CAREER PATHWAY TABLE (homepage)
   ======================================== */
.pw-tbl__wrap { overflow-x: auto; margin-top: 8px; }
.pw-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.pw-tbl th {
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.pw-tbl td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text);
}
.pw-tbl tr:last-child td { border-bottom: none; }
.pw-tbl tr:nth-child(even) td { background: #faf8f5; }
.pw-tbl td:first-child {
  font-weight: 600;
  color: var(--blue);
}
.pw-tbl td:last-child {
  color: var(--text-secondary);
  font-size: .875rem;
}


/* ========================================
   FEATURED GUIDES
   ======================================== */
.gc-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.gc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
  text-decoration: none;
  display: block;
  transition: border-left-color .15s, box-shadow .15s;
  box-shadow: var(--shadow-sm);
}
.gc:hover {
  border-left-color: var(--amber);
  box-shadow: var(--shadow-md);
}
.gc__title {
  font-size: .96rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}
.gc:hover .gc__title { color: var(--blue); }
.gc__body {
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}


/* ========================================
   ARTICLE PAGE — HERO
   ======================================== */
.ph {
  background: var(--bg-hero);
  border-bottom: 1px solid var(--border);
  padding: 56px 0 48px;
}
.ph__tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.ph__hd {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.18;
  max-width: 820px;
  margin-bottom: 16px;
}
.ph__sub {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 6px;
}
.bc {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
  font-size: .78rem;
  color: var(--text-muted);
}
.bc a {
  color: var(--text-muted);
  text-decoration: none;
}
.bc a:hover { color: var(--teal); text-decoration: underline; }
.bc__sep { color: var(--border); }


/* ========================================
   ARTICLE BODY
   ======================================== */
.pb {
  padding: 56px 0 80px;
}
.pb h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  margin-top: 2.6em;
  margin-bottom: .8em;
  padding-bottom: .4em;
  border-bottom: 1px solid var(--border-light);
}
.pb h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 2em;
  margin-bottom: .6em;
}
.pb p { margin-bottom: 1.3em; }
.pb ul,
.pb ol {
  margin: 0 0 1.3em 1.5em;
  color: var(--text);
}
.pb li { margin-bottom: .45em; line-height: 1.65; }
.pb strong { font-weight: 600; }

/* Inline ds-note block */
.ds-note {
  background: #f5f1eb;
  border: 1px solid #e0d5c2;
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  margin: 2em 0;
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Arrow list */
.ax-list {
  list-style: none;
  margin: 0 0 1.5em 0;
  padding: 0;
}
.ax-list li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: .5em;
  font-size: .95rem;
  color: var(--text);
}
.ax-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}


/* ========================================
   IN-ARTICLE TABLES
   ======================================== */
.pt-box { overflow-x: auto; margin: 2em 0; }
.pt {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  border: 1px solid var(--border);
}
.pt caption {
  caption-side: bottom;
  font-size: .75rem;
  color: var(--text-muted);
  padding-top: 8px;
  text-align: left;
}
.pt th {
  background: var(--bg-alt);
  color: var(--text);
  padding: 9px 14px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--border);
  font-size: .78rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.pt td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text);
  line-height: 1.55;
}
.pt tr:last-child td { border-bottom: none; }
.pt tr:nth-child(even) td { background: #faf8f5; }
.pt td:first-child { font-weight: 600; color: var(--blue); }


/* ========================================
   PATHWAY STAGES TABLE (article variation)
   ======================================== */
.sg-tbl th { background: var(--teal); color: #fff; }
.sg-tbl td:first-child { color: var(--teal); }


/* ========================================
   FAQ SECTION
   ======================================== */
.qx-block {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}
.qx-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}
.qx {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.qx__qst {
  font-size: .975rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.qx__ans {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.qx__ans p { margin-bottom: 0; }


/* ========================================
   FOOTER
   ======================================== */
.ft {
  background: var(--bg-footer);
  padding: 52px 0 32px;
  border-top: 3px solid var(--teal);
}
.ft__in {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}
.ft-brand__nm {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.ft-brand__desc {
  font-size: .82rem;
  color: rgba(255,255,255,.52);
  line-height: 1.65;
  max-width: 320px;
}
.ft-brand__note {
  font-size: .75rem;
  color: rgba(255,255,255,.34);
  margin-top: 14px;
  line-height: 1.55;
  max-width: 320px;
}
.ft-nav__hd {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.36);
  margin-bottom: 14px;
}
.ft-nav ul  { list-style: none; }
.ft-nav li  { margin-bottom: 9px; }
.ft-nav a   {
  font-size: .84rem;
  color: rgba(255,255,255,.58);
  text-decoration: none;
}
.ft-nav a:hover { color: rgba(255,255,255,.9); text-decoration: underline; }
.ft__btm {
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: 24px;
  font-size: .73rem;
  color: rgba(255,255,255,.28);
  line-height: 1.65;
}


/* ========================================
   ABOUT PAGE
   ======================================== */
.au-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5em;
  max-width: 700px;
}
.au-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em 0;
}
.au-list li {
  padding: 8px 0 8px 1.5em;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  font-size: .95rem;
  color: var(--text);
}
.au-list li:last-child { border-bottom: none; }
.au-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border);
}

/* "Not affiliated" callout */
.ia {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 2.5em 0;
}
.ia__title {
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: 8px;
}
.ia__body {
  font-size: .88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.ia__body p { margin-bottom: 0; }


/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .kd-row        { grid-template-columns: 1fr 1fr; }
  .ft__in     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .ld      { padding: 52px 0 44px; }
  .section   { padding: 52px 0; }
  .gc-row  { grid-template-columns: 1fr; }
  .ft__in { grid-template-columns: 1fr; gap: 30px; }

  /* Mobile nav */
  .hd-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--bg-header);
    padding: 0 0 12px;
    gap: 0;
  }
  .hd-nav.hd-nav--on { display: flex; }
  .hd-nav a { padding: 10px 16px; border-radius: 0; }
  .hd__in { flex-wrap: wrap; height: auto; padding: 12px 0; gap: 8px; }
  .hd-toggle   { display: block; }
}

@media (max-width: 600px) {
  .kd-row    { grid-template-columns: 1fr; }
  .kd-row--2 { grid-template-columns: 1fr; }
  .ld__title  { font-size: 1.65rem; }
  .pw-tbl td, .pw-tbl th { padding: 9px 10px; }
}

/* ── Career Path Explorer ───────────────────────────────────────────────── */
.rx-wrap {
  background: #ebebdf;
  border-top: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  border-radius: 6px;
  padding: 1.75rem 1.5rem 1.5rem;
  margin: 2.25rem 0 2rem;
}
.rx-wrap .blk__tag {
  color: var(--teal);
  margin-bottom: .25rem;
}
.rx-wrap .blk__nm {
  margin-bottom: .9rem;
  font-size: 1.35rem;
}
.rx-lead {
  font-size: .92rem;
  color: #546478;
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.rx-ctrl { margin-bottom: 1.25rem; }
.rx-ctrl__lb {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.rx-rng {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #c5c9bc;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  display: block;
}
.rx-rng::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.28);
  cursor: pointer;
}
.rx-rng::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--teal);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,.28);
  cursor: pointer;
}
.rx-rng:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.rx-labs {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: #7a8a96;
  margin-top: .45rem;
  user-select: none;
  pointer-events: none;
}
.rx-labs span { flex: 1; text-align: center; line-height: 1.3; }
.rx-labs span:first-child { text-align: left; }
.rx-labs span:last-child  { text-align: right; }
.rx-pnl {
  background: #fff;
  border: 1px solid #d0cdc6;
  border-radius: 5px;
  padding: 1.25rem 1.35rem;
  margin-top: 1rem;
  min-height: 380px;
}
.rx-pnl__pos {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .3rem;
}
.rx-pnl__nm {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.3;
}
.rx-pnl__sec { margin-bottom: 1rem; }
.rx-pnl__sec:last-child { margin-bottom: 0; }
.rx-pnl__tag {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: #8a9aa8;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .35rem;
}
.rx-pnl__pay {
  font-size: .88rem;
  color: #546478;
  font-style: italic;
  line-height: 1.55;
}
.rx-pnl__sk {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem .5rem;
}
.rx-pnl__sk li {
  font-size: .875rem;
  color: var(--text);
  padding-left: 1.1em;
  position: relative;
  line-height: 1.4;
}
.rx-pnl__sk li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: .8em;
  top: .1em;
}
.rx-src {
  font-size: .76rem;
  color: #8a939e;
  margin-top: .9rem;
  font-style: italic;
  line-height: 1.5;
}
.rx-static {
  margin-top: 1rem;
  overflow-x: auto;
}
.rx-static h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--text);
}
.rx-static table {
  width: 100%;
  border-collapse: collapse;
  font-size: .83rem;
}
.rx-static th,
.rx-static td {
  padding: .45rem .65rem;
  border: 1px solid #d0cdc6;
  vertical-align: top;
  line-height: 1.45;
}
.rx-static th {
  background: #e3e1db;
  font-weight: 700;
  text-align: left;
}
@media (max-width: 600px) {
  .rx-pnl__sk { grid-template-columns: 1fr; }
  .rx-wrap { padding: 1.25rem 1rem 1rem; }
  .rx-labs { font-size: .65rem; }
}

/* ── Steps bar ── */
.rx-steps {
  display: flex;
  gap: 0;
  margin-bottom: 1.1rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 4px;
  border: 1px solid #c9c5bc;
  background: #e4e2d8;
}
.rx-steps::-webkit-scrollbar { display: none; }
.rx-step {
  flex: 1;
  min-width: 84px;
  padding: .5rem .45rem;
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 600;
  color: #546478;
  background: transparent;
  border: none;
  border-right: 1px solid #c9c5bc;
  cursor: pointer;
  text-align: center;
  letter-spacing: .01em;
  line-height: 1.3;
  transition: background .12s, color .12s;
  white-space: nowrap;
}
.rx-step:last-child { border-right: none; }
.rx-step:hover { background: rgba(46,112,112,.12); color: var(--teal); }
.rx-step--on {
  background: var(--teal);
  color: #fff;
}
.rx-step--on:hover { background: var(--teal-mid); color: #fff; }
.rx-step:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }

/* ── Wage display ── */
.rx-pnl__wages {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.rx-pnl__wage-blk { flex: 1; min-width: 130px; }
.rx-pnl__wage-hr {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -.01em;
  line-height: 1.2;
  margin-top: .2rem;
}
.rx-pnl__wage-yr {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-top: .2rem;
}
.rx-pnl__detail {
  font-size: .875rem;
  color: #546478;
  line-height: 1.55;
  margin: 0;
}

/* ── Note paragraph ── */
.rx-note {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 1rem;
}

/* ── Sources section ── */
.rx-srcs {
  margin-top: .85rem;
  padding-top: .7rem;
  border-top: 1px solid #ccc9c0;
}
.rx-srcs__hd {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #8a939e;
  margin-bottom: .4rem;
}
.rx-srcs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.rx-srcs__list li {
  font-size: .76rem;
  color: #546478;
  line-height: 1.5;
}
.rx-srcs__list a { color: var(--teal); }

@media (max-width: 600px) {
  .rx-pnl__wages { gap: .75rem; }
  .rx-pnl__wage-hr { font-size: 1.25rem; }
  .rx-step { min-width: 72px; font-size: .65rem; }
}
