/* =====================================================================
   GENERATED FILE -- DO NOT EDIT.

   Built from _source/css/score.css by _dev/generate/theme-assets.mjs. Edit the
   snapshot (or re-sync it from the original) and regenerate; a hand edit
   here fails the gate at commit rather than surviving to contradict its
   source.

     node _dev/sync-static-source.mjs score-mentor-resources      pull the original in
     node _dev/generate/theme-assets.mjs score-mentor-resources   rebuild this file

   The file below is the static site's stylesheet verbatim, comments and
   all, and unchanged: the sheet names no files, only system fonts and
   colours, so no path needs rewriting.

   NOTHING WORDPRESS-SPECIFIC GOES IN THIS FILE. Adapter rules that map
   block markup onto these components live in native-adapters.css, which
   is hand-written and loads after this one. Keeping them apart is what
   lets this copy stay diffable against the original.
   ===================================================================== */

/* ============================================================
   SCORE Maine — Mentor Resource Hub
   Shared design system

   Audience: volunteer mentors, 55+, low technology confidence.
   Rules that drive every decision below:
     - 17px minimum body text, nothing below 15px anywhere
     - 52px minimum interactive target height
     - No hover-only affordances; every action carries a visible label
     - Green is the ACTION colour only, used at most twice per screen
   ============================================================ */

/* ---- 1. Tokens ------------------------------------------- */
:root {
  /* SCORE Maine brand */
  --score-blue:   #006EB7;
  --score-navy:   #265288;
  --score-green:  #6A9F42;
  --score-yellow: #FFD200;

  /* Surfaces */
  --bg:        #F3F6FA;
  --surface:   #FFFFFF;
  --surface-2: #EAF1F8;
  --fg:        #16233A;
  --muted:     #4C5B72;
  --border:    #CFD8E4;
  --border-strong: #A9B7C9;

  /* Single action accent */
  --accent:      var(--score-green);
  --accent-dark: #567F35;

  /* Categorical topic marks — recognition aid, not accent spend */
  --topic-finance:    #1F6F8B;
  --topic-marketing:  #A2542A;
  --topic-legal:      #5B4A8A;
  --topic-people:     #8A5136;
  --topic-operations: #2F6B4F;

  /* Status */
  --ok:     #2F6B4F;
  --warn:   #8A6100;
  --danger: #A32020;

  /* Type */
  --font-display: "Gill Sans MT", "Gill Sans Nova", "Gill Sans",
                  Calibri, "Trebuchet MS", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI",
               system-ui, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Segoe UI Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step-0: clamp(1.0625rem, 0.99rem + 0.30vw, 1.1875rem);
  --step-1: clamp(1.1875rem, 1.10rem + 0.38vw, 1.375rem);
  --step-2: clamp(1.375rem, 1.24rem + 0.60vw, 1.75rem);
  --step-3: clamp(1.625rem, 1.40rem + 1.05vw, 2.375rem);
  --step-4: clamp(2rem, 1.60rem + 1.90vw, 3.25rem);

  /* Space */
  --sp-1: 0.375rem;
  --sp-2: 0.75rem;
  --sp-3: 1.125rem;
  --sp-4: 1.75rem;
  --sp-5: 2.5rem;
  --sp-6: 3.75rem;

  --radius: 10px;
  --radius-lg: 14px;
  --wrap: 1260px;

  --shadow-1: 0 1px 2px rgba(22, 35, 58, .06), 0 2px 8px rgba(22, 35, 58, .05);
  --shadow-2: 0 4px 12px rgba(22, 35, 58, .10), 0 12px 28px rgba(22, 35, 58, .09);

  --tap: 52px;
}

/* ---- 2. Reset & base ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0 0 var(--sp-2);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--sp-3); text-wrap: pretty; max-width: 68ch; }

a { color: var(--score-blue); text-underline-offset: 3px; }
a:hover { color: var(--score-navy); }

img, svg { max-width: 100%; }

ul, ol { margin: 0 0 var(--sp-3); padding-left: 1.35em; }
li { margin-bottom: var(--sp-1); }

/* Focus: highly visible, brand yellow on a dark ring so it reads on
   both white cards and the navy field. */
:focus-visible {
  outline: 3px solid var(--score-yellow);
  outline-offset: 2px;
  border-radius: 4px;
  box-shadow: 0 0 0 6px rgba(38, 82, 136, .35);
}

.skip-link {
  position: absolute; left: var(--sp-3); top: -100px;
  z-index: 200; background: var(--score-navy); color: #fff;
  padding: var(--sp-2) var(--sp-3); border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--sp-3); color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-3); }
@media (min-width: 768px) { .wrap { padding-inline: var(--sp-4); } }

/* ---- 3. Site header -------------------------------------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }

.header-bar {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--sp-3); padding-block: var(--sp-3);
}

.brand { display: flex; align-items: center; gap: var(--sp-2); text-decoration: none; color: inherit; }
.brand:hover .brand-name { text-decoration: underline; }
.brand-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  letter-spacing: .04em; color: #fff; background: var(--score-blue);
  padding: .3em .5em; border-radius: 6px; line-height: 1;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.1875rem; color: var(--score-navy); line-height: 1.2; }
.brand-sub { font-size: .9375rem; color: var(--muted); line-height: 1.3; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: flex; align-items: center; min-height: var(--tap);
  padding: 0 var(--sp-3); border-radius: var(--radius);
  font-weight: 600; font-size: 1.0625rem; color: var(--score-navy);
  text-decoration: none; border: 1px solid transparent;
}
.main-nav a:hover { background: var(--surface-2); border-color: var(--border); }
.main-nav a[aria-current="page"] {
  background: var(--surface-2); border-color: var(--border-strong);
  box-shadow: inset 0 -3px 0 var(--score-blue);
}
.nav-count {
  display: inline-block; min-width: 1.6em; margin-left: .5em; padding: 0 .4em;
  background: var(--score-navy); color: #fff; border-radius: 999px;
  font-size: .9375rem; font-variant-numeric: tabular-nums; text-align: center;
}
.nav-count[hidden] { display: none; }

/* SCORE tri-colour rule */
.swoosh {
  height: 5px;
  background: linear-gradient(
    to right,
    var(--score-blue) 0 42%,
    var(--score-green) 42% 74%,
    var(--score-yellow) 74% 100%);
}

/* ---- 4. Buttons ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--tap); padding: 0 var(--sp-3);
  font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700;
  border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

.btn-secondary { background: var(--surface); border-color: var(--score-navy); color: var(--score-navy); }
.btn-secondary:hover { background: var(--surface-2); color: var(--score-navy); }

.btn-quiet { background: transparent; border-color: var(--border-strong); color: var(--score-navy); }
.btn-quiet:hover { background: var(--surface-2); color: var(--score-navy); }

.btn-block { width: 100%; }
.btn-lg { min-height: 60px; font-size: 1.1875rem; padding-inline: var(--sp-4); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn.is-done { background: var(--surface); border-color: var(--ok); color: var(--ok); }
.btn.is-on { background: var(--surface-2); border-color: var(--score-navy); color: var(--score-navy); }

.btn-icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---- 5. Search ------------------------------------------- */
.searchbox { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.searchbox > label { flex-basis: 100%; font-weight: 700; margin-bottom: var(--sp-1); }
.search-field { position: relative; flex: 1 1 260px; display: flex; }
.search-field input {
  width: 100%; min-height: 60px; padding: 0 var(--sp-3) 0 3.25rem;
  font-family: var(--font-body); font-size: 1.1875rem; color: var(--fg);
  background: var(--surface); border: 2px solid var(--border-strong);
  border-radius: var(--radius);
}
.search-field input::placeholder { color: #6D7C92; }
.search-icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 1.4rem; height: 1.4rem; color: var(--muted); pointer-events: none;
}

/* ---- 6. Hero (home) -------------------------------------- */
.hero {
  background-color: var(--score-navy);
  background-image: linear-gradient(160deg, #2A5A94 0%, #265288 55%, #1C4270 100%);
  color: #fff; padding-block: var(--sp-6);
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero-lede { color: #DCE7F3; font-size: var(--step-1); max-width: 54ch; margin-bottom: var(--sp-4); }
.hero .searchbox > label { color: #fff; }
.hero-note { margin: var(--sp-3) 0 0; font-size: 1rem; color: #C6D7E9; max-width: 60ch; }
.hero-eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: .9375rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--score-yellow);
  margin-bottom: var(--sp-2);
}

/* ---- 7. Sections ----------------------------------------- */
.section { padding-block: var(--sp-6); }
.section-tight { padding-block: var(--sp-5); }
.section-head { margin-bottom: var(--sp-4); }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section-alt { background: var(--surface-2); border-block: 1px solid var(--border); }

/* ---- 8. Topic + stage tiles ------------------------------ */
.tile-grid { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px)  { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1440px) { .tile-grid { grid-template-columns: repeat(5, 1fr); } }
.tile-grid li { margin: 0; }

.tile {
  display: flex; flex-direction: column; gap: var(--sp-1); height: 100%;
  min-height: 150px; padding: var(--sp-3);
  background: var(--surface); border: 1px solid var(--border);
  border-left: 6px solid var(--tile-color, var(--score-blue));
  border-radius: var(--radius); text-decoration: none; color: inherit;
  box-shadow: var(--shadow-1);
}
.tile:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); border-left-color: var(--tile-color, var(--score-blue)); color: inherit; }
.tile-title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--score-navy); }
.tile-desc { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.tile-count { margin-top: auto; padding-top: var(--sp-2); font-family: var(--font-mono); font-size: .9375rem; font-variant-numeric: tabular-nums; color: var(--muted); }

.stage-list { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px)  { .stage-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .stage-list { grid-template-columns: repeat(4, 1fr); } }
.stage-list li { margin: 0; }

.stage {
  display: flex; flex-direction: column; gap: var(--sp-2); height: 100%;
  padding: var(--sp-3); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: inherit; box-shadow: var(--shadow-1);
}
.stage:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); color: inherit; }
.stage-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--surface-2); color: var(--score-navy);
  font-family: var(--font-mono); font-weight: 700; font-size: 1rem;
  border: 2px solid var(--score-blue);
}
.stage-title { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--score-navy); }
.stage-plain { color: var(--muted); font-size: 1rem; line-height: 1.5; }
.stage-count { margin-top: auto; padding-top: var(--sp-2); font-family: var(--font-mono); font-size: .9375rem; color: var(--muted); }

/* ---- 9. Browse layout ------------------------------------ */
.browse-layout { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1024px) { .browse-layout { grid-template-columns: 300px minmax(0, 1fr); gap: var(--sp-5); } }

.filter-toggle { margin-bottom: var(--sp-3); }
@media (min-width: 1024px) { .filter-toggle { display: none; } }

.filters {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-3); box-shadow: var(--shadow-1);
}
@media (min-width: 1024px) {
  .filters { position: sticky; top: var(--sp-3); max-height: calc(100vh - 2rem); overflow-y: auto; }
  .filters[hidden] { display: block; }
}
.filters-head { display: flex; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.filters-head h2 { margin: 0; font-size: var(--step-1); color: var(--score-navy); }

.filter-group { border: 0; margin: 0 0 var(--sp-3); padding: 0; }
.filter-group legend {
  font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600;
  color: var(--score-navy); padding: 0; margin-bottom: var(--sp-2);
}
.filter-group + .filter-group { border-top: 1px solid var(--border); padding-top: var(--sp-3); }

.check {
  display: flex; align-items: flex-start; gap: .7rem;
  min-height: 48px; padding: .45rem .5rem; border-radius: 8px;
  cursor: pointer; font-size: 1.0625rem; line-height: 1.35;
}
.check:hover { background: var(--surface-2); }
.check input { width: 1.4rem; height: 1.4rem; margin: .2rem 0 0; flex: none; accent-color: var(--score-blue); cursor: pointer; }
.check-label { flex: 1; }
.check-note { display: block; font-size: .9375rem; color: var(--muted); font-weight: 400; }
.check-n { font-family: var(--font-mono); font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---- 10. Results ----------------------------------------- */
.results-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); margin-bottom: var(--sp-3); }
.results-count { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; color: var(--score-navy); margin: 0; }
.results-tools { margin-left: auto; display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.sort-field { display: flex; align-items: center; gap: .6rem; }
.sort-field label { font-weight: 600; font-size: 1rem; white-space: nowrap; }
.sort-field select {
  min-height: var(--tap); padding: 0 var(--sp-2); font-size: 1.0625rem;
  font-family: var(--font-body); color: var(--fg);
  border: 2px solid var(--border-strong); border-radius: var(--radius); background: var(--surface);
}

.active-filters { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-3); align-items: center; }
.active-filters:empty { display: none; }
.chip-clear {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px;
  padding: 0 .85rem; background: var(--surface-2); color: var(--score-navy);
  border: 1px solid var(--border-strong); border-radius: 999px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; cursor: pointer;
}
.chip-clear:hover { background: #DCE7F3; }
.chip-clear .x { font-size: 1.3rem; line-height: 1; }

.card-list { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px)  { .card-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-list { grid-template-columns: 1fr; } }
@media (min-width: 1280px) { .card-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1700px) { .card-list { grid-template-columns: repeat(3, 1fr); } }
.card-list > li { margin: 0; }

.card {
  display: flex; flex-direction: column; gap: var(--sp-2); height: 100%;
  padding: var(--sp-3); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.card.is-listed { border-color: var(--score-navy); box-shadow: 0 0 0 2px rgba(38,82,136,.18), var(--shadow-1); }
.card-topline { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.card h3 { margin: 0; font-size: var(--step-1); }
.card h3 a { color: var(--score-navy); text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-summary { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
.card-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .9375rem; color: var(--muted); font-family: var(--font-mono); }
.card-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-2); border-top: 1px solid var(--border); }
.card-actions .btn { flex: 1 1 150px; }

/* Labels */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .28em .7em; border-radius: 999px;
  font-size: .9375rem; font-weight: 700; line-height: 1.3;
  border: 1px solid currentColor; background: var(--surface);
}
.pill::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: currentColor; flex: none; }
.pill-finance    { color: var(--topic-finance); }
.pill-marketing  { color: var(--topic-marketing); }
.pill-legal      { color: var(--topic-legal); }
.pill-people     { color: var(--topic-people); }
.pill-operations { color: var(--topic-operations); }

.tag {
  display: inline-flex; align-items: center; padding: .25em .65em;
  border-radius: 6px; background: var(--surface-2); color: var(--score-navy);
  border: 1px solid var(--border); font-size: .9375rem; font-weight: 600;
}

/* Industry is a second, quieter dimension than topic — the topic pill
   keeps the colour, this stays neutral so cards do not turn into confetti. */
.tag-industry { background: var(--surface); border-color: var(--border-strong); color: var(--muted); }

/* Descriptions carried over from the old hub were drafted from the
   document title, not read. Say so on every card rather than letting a
   mentor assume a human wrote it. */
.unverified {
  margin: 0; padding: .4rem .7rem;
  background: #FFF8DB; border: 1px solid #E3C74A; border-radius: 6px;
  font-size: .9375rem; line-height: 1.4; color: #6B4E00;
}
.unverified::before { content: "\26A0"; margin-right: .45em; }

.empty {
  padding: var(--sp-5) var(--sp-3); text-align: center;
  background: var(--surface); border: 2px dashed var(--border-strong); border-radius: var(--radius-lg);
}
.empty h3 { color: var(--score-navy); }
.empty p { margin-inline: auto; }

/* ---- 11. Session list tray ------------------------------- */
.tray {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 90;
  background: var(--score-navy); color: #fff;
  border-top: 5px solid var(--score-yellow);
  box-shadow: 0 -6px 20px rgba(22, 35, 58, .25);
}
.tray[hidden] { display: none; }
.tray-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-3); padding-block: var(--sp-2); }
.tray-text { font-size: 1.0625rem; margin: 0; flex: 1 1 240px; max-width: none; }
.tray-text strong { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.1875rem; }
.tray-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.tray .btn-quiet { color: #fff; border-color: rgba(255,255,255,.6); }
.tray .btn-quiet:hover { background: rgba(255,255,255,.14); color: #fff; }
body.has-tray { padding-bottom: 9rem; }

/* ---- 12. Dialog ------------------------------------------ */
dialog.sheet {
  width: min(580px, calc(100vw - 2rem)); padding: 0; border: 0;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
  color: var(--fg); background: var(--surface);
}
dialog.sheet::backdrop { background: rgba(22, 35, 58, .55); }
.sheet-head { display: flex; align-items: flex-start; gap: var(--sp-2); padding: var(--sp-3); border-bottom: 1px solid var(--border); }
.sheet-head h2 { margin: 0; font-size: var(--step-2); color: var(--score-navy); }
.sheet-close {
  margin-left: auto; min-width: 44px; min-height: 44px;
  border: 1px solid var(--border-strong); background: var(--surface);
  border-radius: var(--radius); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted);
}
.sheet-close:hover { background: var(--surface-2); color: var(--fg); }
.sheet-body { padding: var(--sp-3); max-height: 60vh; overflow-y: auto; }
.sheet-foot { display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: var(--sp-3); border-top: 1px solid var(--border); background: var(--bg); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.sheet-foot .btn { flex: 1 1 160px; }

.field { margin-bottom: var(--sp-3); }
.field label { display: block; font-weight: 700; margin-bottom: var(--sp-1); }
.field .hint { display: block; font-weight: 400; font-size: .9375rem; color: var(--muted); margin-bottom: var(--sp-1); }
.field input, .field textarea {
  width: 100%; min-height: var(--tap); padding: .7rem var(--sp-2);
  font-family: var(--font-body); font-size: 1.0625rem; color: var(--fg);
  background: var(--surface); border: 2px solid var(--border-strong); border-radius: var(--radius);
}
.field textarea { min-height: 8.5rem; line-height: 1.55; resize: vertical; }
.field .error { display: none; margin: var(--sp-1) 0 0; color: var(--danger); font-weight: 600; font-size: 1rem; }
.field.is-invalid input { border-color: var(--danger); }
.field.is-invalid .error { display: block; }

.share-list { list-style: none; margin: 0 0 var(--sp-3); padding: 0; }
.share-list li { display: flex; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; margin: 0; }
.share-list li:last-child { border-bottom: 0; }
.share-list .n { font-family: var(--font-mono); color: var(--muted); flex: none; }

/* ---- 13. Resource detail --------------------------------- */
.crumbs { padding-block: var(--sp-3); font-size: 1rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.crumbs li { margin: 0; color: var(--muted); }
.crumbs li::after { content: "\203A"; margin-left: .5rem; color: var(--border-strong); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { font-weight: 600; }

.detail-layout { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; align-items: start; padding-bottom: var(--sp-6); }
@media (min-width: 1024px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: var(--sp-5); } }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: var(--sp-4); box-shadow: var(--shadow-1);
}
.panel + .panel { margin-top: var(--sp-3); }
.panel h2 { font-size: var(--step-2); color: var(--score-navy); }
.panel h3 { font-size: var(--step-1); color: var(--score-navy); margin-top: var(--sp-4); }
.panel > h3:first-child, .panel > h2:first-child { margin-top: 0; }

.action-panel .btn { width: 100%; margin-bottom: var(--sp-2); }
.action-panel .btn:last-of-type { margin-bottom: 0; }
@media (min-width: 1024px) { .action-panel { position: sticky; top: var(--sp-3); } }
.action-divider { margin: var(--sp-3) 0; border: 0; border-top: 1px solid var(--border); }

.spec { display: grid; grid-template-columns: auto 1fr; gap: .6rem var(--sp-3); margin: 0; font-size: 1.0625rem; }
.spec dt { font-weight: 700; color: var(--muted); }
.spec dd { margin: 0; }

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-left: 3.25rem; margin-bottom: var(--sp-3); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -.1rem;
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--score-blue); color: #fff;
  font-family: var(--font-mono); font-weight: 700; font-size: 1rem;
}

.callout {
  padding: var(--sp-3); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: var(--sp-3);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--score-navy); }

.ph-file {
  display: grid; place-items: center; gap: var(--sp-1);
  min-height: 190px; padding: var(--sp-3); text-align: center;
  background: repeating-linear-gradient(-45deg, #EDF2F8 0 12px, #E4EBF4 12px 24px);
  border: 2px dashed var(--border-strong); border-radius: var(--radius);
  color: var(--muted); font-family: var(--font-mono); font-size: .9375rem;
  margin-bottom: var(--sp-3);
}
.ph-file .ph-format { font-family: var(--font-display); font-size: var(--step-2); font-weight: 700; color: var(--score-navy); }

/* ---- 14. Toast ------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: var(--sp-4); transform: translateX(-50%) translateY(1rem);
  z-index: 120; background: var(--score-navy); color: #fff;
  padding: var(--sp-2) var(--sp-4); border-radius: 999px;
  border: 2px solid var(--score-yellow);
  font-size: 1.0625rem; font-weight: 600; box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  max-width: calc(100vw - 2rem); text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- 15. Footer ------------------------------------------ */
.site-footer { background: var(--score-navy); color: #D7E3F0; padding-block: var(--sp-5); margin-top: var(--sp-6); }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--step-1); color: #fff; }
.site-footer p { color: #D7E3F0; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: var(--sp-2); }
.footer-note { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px solid rgba(255,255,255,.2); font-size: .9375rem; max-width: none; }

/* ---- 15b. Two front doors (home) -------------------------
   The site splits in half: material you hand to clients, and
   material for the mentor. Home makes that one clear choice.
   -------------------------------------------------------- */
.doors { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .doors { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); } }
.doors > li { margin: 0; }

.door {
  display: flex; flex-direction: column; gap: var(--sp-2); height: 100%;
  padding: var(--sp-4); background: var(--surface);
  border: 1px solid var(--border); border-top: 6px solid var(--door-color, var(--score-blue));
  border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
  text-decoration: none; color: inherit;
}
.door:hover { box-shadow: var(--shadow-2); border-color: var(--border-strong); border-top-color: var(--door-color, var(--score-blue)); color: inherit; }
.door-kicker {
  font-family: var(--font-mono); font-size: .9375rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.door-title { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; color: var(--score-navy); line-height: 1.1; }
.door-desc { color: var(--muted); font-size: var(--step-1); line-height: 1.45; max-width: 40ch; }
.door-list { margin: var(--sp-2) 0 0; padding: 0; list-style: none; }
.door-list li {
  position: relative; padding-left: 1.6rem; margin-bottom: .45rem;
  font-size: 1.0625rem; color: var(--fg);
}
.door-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--door-color, var(--score-blue));
}
.door-go {
  margin-top: auto; padding-top: var(--sp-3);
  font-weight: 700; font-size: var(--step-1); color: var(--score-blue);
}
.door:hover .door-go { text-decoration: underline; }

/* ---- 15b-2. "What's on this page" ------------------------
   Long pages used to open with one sentence and then a wall of
   scroll. This is the snapshot: every section, as a plain list of
   big links, visible the moment a mentor lands. Ordinary anchors,
   so it works with no JavaScript and the back button behaves.
   -------------------------------------------------------- */
.contents {
  margin-block: var(--sp-4) var(--sp-5);
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 6px solid var(--score-blue);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.contents[hidden] { display: none; }
.contents h2 {
  margin: 0 0 var(--sp-1);
  font-size: var(--step-1);
  color: var(--score-navy);
}
.contents .contents-meta {
  margin: 0 0 var(--sp-2);
  font-family: var(--font-mono);
  font-size: .9375rem;
  color: var(--muted);
}
.contents ol {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0; grid-template-columns: 1fr;
}
@media (min-width: 780px) { .contents ol { grid-template-columns: repeat(2, 1fr); column-gap: var(--sp-4); } }
.contents li { margin: 0; counter-increment: toc; }
.contents ol { counter-reset: toc; }
.contents a {
  display: flex; align-items: baseline; gap: .7rem;
  min-height: var(--tap); padding: .6rem .5rem;
  border-bottom: 1px solid var(--border);
  font-size: 1.0625rem; font-weight: 600; line-height: 1.35;
  color: var(--score-blue); text-decoration: none;
}
.contents a:hover { background: var(--surface-2); color: var(--score-navy); text-decoration: underline; }
.contents a::before {
  content: counter(toc);
  flex: none; min-width: 1.6rem;
  font-family: var(--font-mono); font-size: .9375rem;
  color: var(--muted); font-weight: 400;
}
/* Last row in each column loses its rule. */
.contents li:last-child a { border-bottom: 0; }
@media (min-width: 780px) { .contents li:nth-last-child(2):nth-child(odd) a { border-bottom: 0; } }

/* Jumping to a section must not tuck the heading against the very top. */
:target { scroll-margin-top: var(--sp-4); }
.panel [id], section[id], h2[id], h3[id] { scroll-margin-top: var(--sp-4); }

/* SLATE has only two top-level sections, so a contents list of two is
   useless. Its real snapshot is the five steps — shown as jump links
   so the letters double as navigation. */
.step-map {
  display: grid; gap: var(--sp-2); grid-template-columns: 1fr;
  list-style: none; margin: var(--sp-4) 0 var(--sp-5); padding: 0;
}
@media (min-width: 560px)  { .step-map { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .step-map { grid-template-columns: repeat(5, 1fr); } }
.step-map li { margin: 0; }
.step-map a {
  display: flex; flex-direction: row; align-items: center; gap: var(--sp-2);
  height: 100%; padding: var(--sp-2) var(--sp-3);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none; color: inherit;
  box-shadow: var(--shadow-1); min-height: var(--tap);
}
@media (min-width: 1024px) { .step-map a { flex-direction: column; align-items: flex-start; } }
.step-map a:hover { border-color: var(--border-strong); box-shadow: var(--shadow-2); color: inherit; }
.step-map a:hover .step-map-name { text-decoration: underline; }
.step-map .letter { width: 2.5rem; height: 2.5rem; font-size: 1.375rem; flex: none; }
.step-map-name {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600;
  color: var(--score-navy); line-height: 1.2;
}

/* ---- 15c. Internal-only notice ---------------------------
   Mentor-side pages are not for sending to clients. This has to be
   impossible to miss, because the mistake is not recoverable.
   -------------------------------------------------------- */
.internal-note {
  display: flex; align-items: flex-start; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  background: #FFF8DB; border: 1px solid #E3C74A;
  border-left: 6px solid var(--score-yellow);
  border-radius: var(--radius);
  font-size: 1.0625rem; line-height: 1.45;
}
.internal-note strong { color: #6B4E00; }
.internal-note p { margin: 0; max-width: 72ch; }
.internal-bar { background: var(--surface-2); border-bottom: 1px solid var(--border); padding-block: var(--sp-2); }

/* ---- 15d. Mentor directory ------------------------------- */
.people { display: grid; gap: var(--sp-2); grid-template-columns: 1fr; list-style: none; margin: 0 0 var(--sp-4); padding: 0; }
@media (min-width: 640px)  { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .people { grid-template-columns: repeat(3, 1fr); } }
.people > li { margin: 0; }

.person {
  display: flex; align-items: center; gap: var(--sp-2); height: 100%;
  padding: var(--sp-2) var(--sp-3); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.person-name { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 600; color: var(--score-navy); line-height: 1.2; }
.person-region { display: block; font-size: .9375rem; color: var(--muted); font-family: var(--font-mono); }
.person .btn { margin-left: auto; flex: none; }

/* ---- 15e. Reading pages ---------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: var(--sp-5); }
.prose h3 { margin-top: var(--sp-4); font-size: var(--step-1); color: var(--score-navy); }
.prose > :first-child { margin-top: 0; }

.page-head { background: var(--surface-2); border-bottom: 1px solid var(--border); padding-block: var(--sp-4); }
.page-head h1 { font-size: var(--step-3); margin-bottom: var(--sp-2); }
.page-head p { color: var(--muted); font-size: var(--step-1); margin-bottom: 0; }

/* A lettered marker, for SLATE's five steps. */
.letter-list { list-style: none; margin: 0; padding: 0; }
.letter-list > li {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: var(--sp-3);
  align-items: start; padding: var(--sp-3) 0; border-top: 1px solid var(--border);
  margin: 0;
}
.letter-list > li:first-child { border-top: 0; padding-top: 0; }
.letter {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem; border-radius: var(--radius);
  background: var(--score-blue); color: #fff;
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; line-height: 1;
}
.letter-body h3 { margin: 0 0 var(--sp-1); font-size: var(--step-1); color: var(--score-navy); }
.letter-body p:last-child, .letter-body ul:last-child { margin-bottom: 0; }

/* Question prompts a mentor can read out or reflect on. */
.prompts { list-style: none; margin: 0 0 var(--sp-3); padding: 0; }
.prompts li {
  position: relative; padding-left: 1.75rem; margin-bottom: .55rem;
  color: var(--fg); line-height: 1.5;
}
.prompts li::before {
  content: "\201C"; position: absolute; left: 0; top: -.15em;
  font-family: var(--font-display); font-size: 1.6rem; color: var(--score-blue); line-height: 1;
}

/* Do / don't pairs from the client survey. */
.moreless { display: grid; gap: var(--sp-3); grid-template-columns: 1fr; margin-bottom: var(--sp-3); }
@media (min-width: 760px) { .moreless { grid-template-columns: repeat(2, 1fr); } }
.moreless > div { padding: var(--sp-3); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.moreless h3 { margin-top: 0; }
.moreless ul { margin-bottom: 0; }
.moreless .more { border-top: 4px solid var(--ok); }
.moreless .less { border-top: 4px solid var(--border-strong); }

/* Not-yet-built Hub sections, shown honestly rather than hidden. */
.pending {
  display: flex; flex-direction: column; gap: var(--sp-1); height: 100%;
  padding: var(--sp-3); border: 2px dashed var(--border-strong);
  border-radius: var(--radius); background: var(--surface);
}
.pending h3 { margin: 0; font-size: var(--step-1); color: var(--muted); }
.pending .pending-tag {
  align-self: flex-start; font-family: var(--font-mono); font-size: .9375rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--warn, #8A6100);
}
.pending p { margin: 0; font-size: 1rem; color: var(--muted); }
.pending .needs { margin-top: auto; padding-top: var(--sp-2); font-size: .9375rem; }

/* ---- 16. Print ------------------------------------------- */
@media print {
  .site-header, .site-footer, .tray, .filters, .filter-toggle,
  .card-actions, .action-panel, .toast, .skip-link, .swoosh { display: none; }
  body { background: #fff; font-size: 11pt; padding-bottom: 0; }
  .card, .panel { box-shadow: none; border: 1px solid #999; break-inside: avoid; }
  .detail-layout { grid-template-columns: 1fr; }
}

/* ---- 17. Motion ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms; animation-iteration-count: 1;
    transition-duration: .01ms; scroll-behavior: auto;
  }
}
