@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}


h1, h2, h3, h4, .acc-title-band-title, header.bar, .bar-tools {
  font-family: "Poppins", "Roboto", sans-serif;
}


/* CEP AI School — student-desk chrome. Solid cards, not wireframe dashes. */
:root {
  --font-ui: "Poppins", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Lato", "Roboto", system-ui, -apple-system, sans-serif; /* live house body (David 2026-09-10) */
  --font-form: "Lato", "Roboto", sans-serif;
  /* House mark tokens (override specimen leftover blue/orange) */
  --bg: #ffffff;
  --ink: #161616;
  --muted: #5a6570;
  --line: #d8dcdd;
  --card: #f4f5f5;
  --accent: #1a747b;
  --accent-soft: #e8f2f2;
  --navy: #0d2a4a;
  --teal: #1a747b;
  /* Approved lesson/category specimen accents (Dropbox JPEGs 2026-09-09) */
  --section-bar: #2f5fad;
  --mark-lime: #4fb66a;
  --yt-red: #c62828;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Lato", "Roboto", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(0.98rem, 0.94rem + 0.2vw, 1.05rem);
  overflow-x: clip;
}
input, select, textarea, button, .door, .nav-user-btn {
  font-family: var(--font-form);
}
a { color: var(--accent); }
a:hover { color: #0f5559; }
.wrap {
  /* Live Semkhor content measure — same gutter as header.bar / title band */
  max-width: none;
  margin: 0 auto;
  padding: 2.4rem max(1.35rem, calc(50vw - 22rem)) 4.5rem;
  box-sizing: border-box;
}
.login-wrap { max-width: 28rem; padding-top: 5.5rem; padding-bottom: 4rem; }
.kicker {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--navy);
}
h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 1.05rem + 0.55vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--navy);
}
h3 {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
}
p { margin: 0 0 0.85rem; }
p.sub, p.welcome { color: var(--muted); font-size: 1.05rem; }
p.sub { margin-bottom: 1.6rem; }

header.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.75rem;
  margin-left: 0; margin-right: 0; width: 100%; max-width: none; box-sizing: border-box;
  min-height: 3.5rem; padding: 1.1rem max(1.35rem, calc(50vw - 22rem)) 0.85rem;
  background: #0a0a0a;
  border-bottom: 0;
  color: #fff;
}
header.bar strong {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}
header.bar a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 600;
}
header.bar a:hover { color: #fff; }
header.bar .mark-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
header.bar .mark-lockup img {
  height: 36px;
  width: auto;
  display: block;
}
header.bar .bar-tools a { font-size: 1.08rem; }

.card, .today, form.panel, .res-card, .listen-note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.45rem 1.45rem 1.35rem;
}
.today { padding: 1.7rem 1.7rem 1.5rem; }
.today.empty h2 { color: var(--muted); font-weight: 600; }
.meta { margin: 0 0 1rem; color: var(--muted); font-size: 0.88rem; }
.badge {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 650;
}
.parts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.4rem 0 1.15rem;
}
.parts p { margin: 0; color: var(--ink); font-size: 0.98rem; }
.today-links { margin: 0; display: flex; flex-wrap: wrap; gap: 1.1rem; }
.today-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 116, 123, 0.35);
}
.today-links a:hover { border-bottom-color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 0.35rem;
}
a.tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 10.25rem;
  padding: 1.4rem 1.35rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
a.tile:hover, a.tile:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.06);
  transform: translateY(-2px);
  outline: none;
  color: inherit;
}
a.tile .k {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 650;
}
a.tile h3 {
  margin: 1.05rem 0 0.35rem;
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}
a.tile p { margin: 0; color: var(--muted); font-size: 0.95rem; }
a.tile.parent { background: #fff; }
a.tile.soon, .soon {
  opacity: 0.72;
  cursor: default;
  box-shadow: none;
}
a.tile.soon:hover, a.tile.soon:focus-visible {
  opacity: 1;
  transform: translateY(-3px);
  border-color: var(--accent, #1a747b);
  box-shadow: 0 14px 32px rgba(26,116,123,0.18);
}

label { display: block; font-size: 0.82rem; color: var(--muted); margin: 0.9rem 0 0.35rem; font-weight: 600; }
input, button, .btn {
  font: inherit;
  width: 100%;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  padding: 0.78rem 0.9rem;
}
input { background: #fff; color: var(--ink); }
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 116, 123, 0.18);
}
button, a.btn {
  display: inline-block;
  width: auto;
  text-align: center;
  text-decoration: none;
  background: var(--ink);
  color: #fff;
  border: 0;
  margin-top: 1.2rem;
  cursor: pointer;
  font-weight: 650;
  padding: 0.78rem 1.25rem;
}
button:hover, a.btn:hover { background: #292524; color: #fff; }
button.ghost, a.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.note { margin-top: 1.25rem; color: var(--muted); font-size: 0.88rem; }
.section-head { margin: 2.15rem 0 1rem; }

.featured { margin-bottom: 2.1rem; }
.video-slot, .empty-slot {
  position: relative;
  width: 100%;
  max-width: 56rem;
  aspect-ratio: 16 / 9;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  overflow: hidden;
}
.video-slot img,
.empty-slot img,
a.title-card img.card-art,
a.spec-title-card img.card-art {
  max-width: 100%;
  height: auto;
}
.video-slot a.spec-title-card img.card-art,
a.spec-title-card img.card-art,
a.title-card img.card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.empty-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1.02rem;
}
a.title-card {
  display: block;
  position: absolute;
  inset: 0;
  color: inherit;
  text-decoration: none;
}
a.title-card img.card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-copy {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.4rem 1.45rem 1.1rem;
  background: linear-gradient(to top, rgba(255,255,255,0.97) 42%, rgba(255,255,255,0));
}
.one-liner {
  margin: 0 0 0.55rem;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 34rem;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.curated {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 650;
}
img.lockup { height: 3.15rem; width: auto; display: block; }
.play-chip {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

ol.vids { margin: 0; padding: 0; list-style: none; }
ol.vids > li {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
ol.vids .n { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 0.88rem; }
ol.vids a { color: inherit; text-decoration: none; font-weight: 650; }
ol.vids a:hover { color: var(--accent); }
ol.vids .tag { font-size: 0.78rem; color: var(--muted); }
ol.vids li.empty-seed { color: var(--muted); }
details.more { margin-top: 0.55rem; }
details.more summary { cursor: pointer; font-weight: 650; color: var(--ink); }

.shelf { margin: 2.15rem 0 0; }
.shelf h2 { color: var(--navy); }
.shelf-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}
.shelf-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.shelf-list a {
  color: inherit;
  font-weight: 650;
  text-decoration: none;
}
.shelf-list a:hover { color: var(--accent); }

a.brief-row {
  display: grid;
  grid-template-columns: 12rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
a.brief-row:hover strong { color: var(--accent); }
a.brief-row time { color: var(--muted); font-size: 0.9rem; }
a.brief-row strong { font-weight: 650; }
.preview-item {
  margin-bottom: 1rem;
}
.preview-item .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.status {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--muted);
}
.status.sent { color: var(--accent); }
footer.foot {
  margin-top: 3rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
@media (max-width: 800px) {
  .wrap { padding: 1.8rem max(1.1rem, calc(50vw - 22rem), env(safe-area-inset-left)) 3.25rem max(1.1rem, calc(50vw - 22rem), env(safe-area-inset-right)); }
  .login-wrap { padding-top: 2.75rem; }
  .grid, .parts { grid-template-columns: 1fr; }
  a.tile { min-height: 0; }
  a.tile h3 { margin-top: 0.55rem; }
  a.brief-row { grid-template-columns: 1fr; gap: 0.2rem; }
  header.bar { flex-wrap: nowrap; gap: 0.65rem; }
  footer.site-family .foot-nav { display: flex; flex-wrap: nowrap; gap: 0.15rem 0.65rem; overflow-x: auto; white-space: nowrap; }
  footer.site-family .foot-nav a { margin-right: 0; white-space: nowrap; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .wrap { padding: 1.35rem max(0.95rem, calc(50vw - 22rem), env(safe-area-inset-left)) 2.75rem max(0.95rem, calc(50vw - 22rem), env(safe-area-inset-right)); }
  .login-wrap { padding-top: 2rem; max-width: 100%; }
  header.bar .mark-lockup img { height: 28px; }
  header.bar { padding-left: max(0.95rem, env(safe-area-inset-left)); padding-right: max(0.95rem, env(safe-area-inset-right)); }
  header.bar strong { font-size: clamp(1.05rem, 4.5vw, 1.25rem); }
}

h1.lesson-title { color: var(--navy); }

.today.brief-full,
article.brief-full {
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 0 0 2.1rem;
  max-width: 40rem;
}
.today.brief-full h1,
article.brief-full h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}
p.today-name {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink);
}
p.quiet {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.brief-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 40rem;
}
.brief-sec {
  padding: 1.45rem 0 0.2rem;
  border-top: 1px solid var(--line);
}
.brief-sec:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}
.brief-sec h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--ink);
  font-weight: 650;
}
.brief-sec p { margin: 0 0 0.85rem; font-size: 1.02rem; }
.brief-sec p.sources {
  margin: 0.15rem 0 0.35rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.brief-sec p.sources a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 116, 123, 0.35);
}
.brief-sec p.sources a:hover { border-bottom-color: var(--accent); }
h2.section-head {
  margin: 2.15rem 0 1rem;
  font-size: 1.15rem;
  font-weight: 650;
}

header.bar h1 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 650;
  color: var(--navy);
}

details.daily-brief {
  max-width: 40rem;
  margin: 0 0 1.35rem;
  padding: 0;
  background: #fff;
  border: 0;
}
body.desk-page .desk-brief-stack details.daily-brief {
  max-width: none;
  margin: 0 0 0.85rem;
}
details.daily-brief > summary {
  cursor: pointer;
  list-style: none;
  padding: 0 0 0.15rem;
}
details.daily-brief > summary::-webkit-details-marker { display: none; }
details.daily-brief > summary::marker { content: ""; }
.brief-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brief-toggle {
  flex: 0 0 1.55rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 1.5px solid #0d2a4a;
  border-radius: 999px;
  position: relative;
}
.brief-toggle::after {
  content: "";
  position: absolute;
  top: 0.42rem;
  left: 0.48rem;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid #0d2a4a;
  border-bottom: 2px solid #0d2a4a;
  transform: rotate(-45deg);
}
details.daily-brief[open] .brief-toggle::after {
  top: 0.38rem;
  transform: rotate(45deg);
}
details.daily-brief > summary h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  color: var(--navy);
}
details.daily-brief > summary .brief-lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}
details.daily-brief[open] > summary {
  margin-bottom: 0.45rem;
}
details.daily-brief + .section-head {
  margin-top: 1.15rem;
}


h1.mark { color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; }

h2#shelf-h,
h2#home-res-h {
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.home-resources { margin-top: 2.6rem; }
.home-res-blurb { max-width: 40rem; color: var(--muted); margin: 0 0 1.25rem; }
.home-res-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: start;
}
.home-res-card {
  margin: 0;
  padding: 1.15rem 1.2rem 1.05rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
}
.home-res-card h3 {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: 1.02rem;
}
.home-res-card ul { margin: 0; padding: 0; list-style: none; }
.home-res-card li { margin: 0 0 0.7rem; }
.home-res-card li:last-child { margin-bottom: 0; }
.home-res-card .why { display: block; color: var(--muted); font-size: 0.92rem; }
@media (max-width: 800px) {
  .home-res-grid { grid-template-columns: 1fr; }
}

header.bar .home-mark { text-decoration: none; }
.bar-tools {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.95rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  white-space: nowrap;
}
a.consult-chip {
  display: inline-block;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: #0d2a4a;
  color: #fff !important;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border: 0;
}
a.consult-chip:hover { background: #0d2a4a; color: #fff !important; }
details.account { position: relative; }
details.account > summary {
  list-style: none;
  cursor: pointer;
  color: var(--navy);
  font-weight: 650;
  font-size: 0.95rem;
}
details.account > summary::-webkit-details-marker { display: none; }
details.account > summary::marker { content: ""; }
details.account > summary::after {
  content: "";
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.4rem;
  border-right: 1.5px solid #0d2a4a;
  border-bottom: 1.5px solid #0d2a4a;
  transform: rotate(45deg);
  vertical-align: 0.15rem;
}
.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 9.5rem;
  padding: 0.45rem 0.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.06);
  z-index: 5;
}
.account-menu a { display: block; font-size: 0.92rem; }

.bar-end { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }

/* Expanding category list: the list IS the page. */
#featured, section.featured { display: none !important; }
ol.vids li.seed-live {
  display: block;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
details.seed-row { margin: 0; }
details.seed-row > summary {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.75rem 0.85rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
  min-height: 2.75rem;
}
details.seed-row > summary::-webkit-details-marker { display: none; }
details.seed-row > summary::marker { content: ""; }
details.seed-row > summary:hover .seed-title { color: var(--accent); }
.seed-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.seed-title {
  font-weight: 650;
  color: var(--ink);
  line-height: 1.35;
}
.film-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.35;
}
.seed-affordance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.42rem 0.9rem;
  background: #0d2a4a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}
details.seed-row > summary:hover .seed-affordance { background: #0d2a4a; }
.seed-chevron {
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
}
details.seed-row[open] .seed-chevron { transform: rotate(45deg); }
.seed-affordance .hide-label { display: none; }
details.seed-row[open] .seed-affordance .show-label { display: none; }
details.seed-row[open] .seed-affordance .hide-label { display: inline; }
.seed-card { padding: 0 0 1.15rem; }
.seed-card .video-slot { max-width: 56rem; }
ol.vids li.empty-seed {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  color: #a8a29e;
  cursor: default;
  font-size: 0.95rem;
}
ol.vids li.empty-seed .n { color: #a8a29e; }


/* Acc breadcrumbs — Desk → Category → Lesson (visible under black header) */
.spec-crumbs-bar {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0.65rem max(1.35rem, calc(50vw - 22rem)) 0.55rem;
  background: #fff;
  border-bottom: 0;
}
.spec-crumbs-bar .crumbs {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 68rem;
}
body.category-page .spec-crumbs-bar,
body.lesson-page .spec-crumbs-bar {
  display: block;
  background: #fff;
  border-bottom: 0;
  padding-top: 0.55rem;
  padding-bottom: 0.45rem;
}
/* Line up: no gray gap between crumbs and category hero */
body.category-page .cat-top {
  padding-top: 0;
  margin-top: 0;
}
p.crumbs a {
  color: var(--navy, #0d2a4a);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
p.crumbs a:hover { color: var(--teal, #1a747b); }
p.crumbs .crumb-here {
  color: #5a6570;
  font-weight: 650;
}

p.crumbs { margin: 0 0 0.35rem; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
p.crumbs a { color: var(--navy); text-decoration: none; }
p.crumbs a:hover { color: #0d2a4a; }
p.crumbs .crumb-sep { color: #a8a29e; }
p.crumbs .crumb-here { color: var(--muted); }

ol.vids li.empty-seed > div:only-child { grid-column: 1 / -1; max-width: 48rem; color: var(--muted); }

footer.site-family {
  margin-top: 3rem;
  margin-left: 0; margin-right: 0; width: 100%; max-width: none; box-sizing: border-box;
  padding: 1.35rem max(1.35rem, calc(50vw - 22rem)) 1.6rem;
  border-top: 0;
  background: #0a0a0a;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
footer.site-family .foot-logo { height: 36px; width: auto; display: block; margin-bottom: 0; }
footer.site-family .foot-nav a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  margin-right: 1.1rem;
  display: inline-block;
  margin-bottom: 0;
  white-space: nowrap;
  font-size: 1.02rem;
}
footer.site-family .foot-nav a:hover { color: #fff; }
header.bar .mark-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
header.bar .mark-lockup img { height: 40px; width: auto; display: block; }
header.bar .mark-lockup strong { font-weight: 650; letter-spacing: 0.02em; }


/* PASS 3 fidelity */
a.tile.parent, .grid.soft-grid a.tile {
  background: #fff;
}
.grid.soft-grid a.tile:hover {
  border-color: var(--navy);
}
footer.site-family .foot-nav a.mail {
  display: inline;
  margin-top: 0;
  margin-right: 0;
  white-space: nowrap;
}
ol.vids li.empty-seed {
  color: #a8a29e;
}
button.primary, a.btn.primary {
  background: var(--navy);
  color: #fff;
}
button.primary:hover, a.btn.primary:hover {
  background: #0a223c;
  color: #fff;
}

/* JPEG specimen fidelity (lesson + category) — 2026-09-09
   Soft cleanup 2026-09-11 1am: bare .section-bar unused in markup.
   Live desk chrome is .desk-section-bar (monitor+cap). Keep --section-bar token. */
/* .section-bar { background: var(--section-bar, #2f5fad); color: #fff; } */
a.yt-cta { background: var(--yt-red, #c62828); color: #fff; }
.slot-num, .pick-head .n, ul.stamps time, ul.stamps-grid time { color: var(--band-blue); font-weight: 700; }

/* —— Specimen JPEG chrome (lesson + category) — 2026-09-09 —— */
:root {
  --band-blue: #2f5fad;
  --spec-green: #4fb66a; /* mark lime / specimen */
  --yt-red: #c62828; /* specimen */
  --spec-ink: #161616;
}
body.lesson-page,
body.category-page {
  background: #fff;
}
body.lesson-page .meta-quiet {
  max-width: 68rem;
  margin: 1.25rem auto 0;
  padding: 0 max(1.75rem, env(safe-area-inset-right)) 0 max(1.75rem, env(safe-area-inset-left));
  color: var(--muted);
  font-size: 0.85rem;
}
body.lesson-page .review-note {
  margin: 0;
  padding: 0.75rem max(1.75rem, env(safe-area-inset-right)) 0.75rem max(1.75rem, env(safe-area-inset-left));
  background: #fff8e6;
  border-bottom: 1px solid #f0e0a8;
  color: #6a5500;
  font-size: 0.92rem;
}
body.lesson-page .badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e8eef2;
  color: #355;
  margin-left: 0.45rem;
  vertical-align: middle;
}
body.lesson-page .badge.live { background: #d8f0e8; color: #1b5e20; }
body.lesson-page .badge.review { background: #fff3cd; color: #856404; }

/* replaced by Acc breadcrumbs block */
.spec-hero {
  position: relative;
  width: 100%;
  min-height: clamp(12rem, 34vw, 22rem);
  max-height: 26rem;
  background: #0a1630;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spec-hero-bg {
  position: absolute;
  inset: 0;
  background: #0a1630 center / cover no-repeat;
  background-size: cover;
  background-position: center center;
}
.spec-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,16,32,0.28) 0%, rgba(6,16,32,0.45) 55%, rgba(6,16,32,0.62) 100%);
}
.spec-hero-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}
.spec-hero-title,
.spec-hero-fallback {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 2.25rem max(1.25rem, env(safe-area-inset-left)) 2.25rem max(1.25rem, env(safe-area-inset-right));
  color: #fff;
  text-align: center;
  font-size: clamp(1.35rem, 3.6vw, 2.75rem);
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  max-width: 22ch;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}
.spec-hero-plain {
  /* Quiet navy/teal chrome for categories without vault art — not an empty band */
  background:
    radial-gradient(ellipse at 28% 38%, rgba(46, 91, 154, 0.55), transparent 58%),
    radial-gradient(ellipse at 72% 62%, rgba(26, 116, 123, 0.42), transparent 52%),
    linear-gradient(165deg, #0a1630 0%, #0d2a4a 45%, #0a1f28 100%);
  border-bottom: 1px solid rgba(85, 231, 146, 0.22);
}
.spec-hero-plain .spec-hero-bg,
.spec-hero-plain .spec-hero-img { display: none; }
body.lesson-page .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.85rem 0 1.1rem;
}
body.lesson-page a.yt-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  background: var(--yt-red, #c62828);
  color: #fff !important;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
  padding: 0.72rem 1.35rem;
  border-radius: 0.25rem;
  max-width: 100%;
  box-sizing: border-box;
}
body.lesson-page a.yt-cta:hover { background: #b71c1c; color: #fff !important; }
body.lesson-page .embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #111;
  border-radius: 0.35rem;
  overflow: hidden;
  margin: 0.35rem 0 0.85rem;
  border: 1px solid var(--line);
  max-width: 56rem;
}
body.lesson-page .embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lesson source kind under CURATED BY SEMKHOR (David 2026-09-12) */
body.lesson-page .lesson-source-meta {
  margin: 0 0 0.65rem;
  max-width: 56rem;
}
body.lesson-page .lesson-source-meta .tc-curated,
a.spec-title-card .tc-curated {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}
body.lesson-page .lesson-source-meta .tc-curated {
  color: var(--ink, #161616);
  opacity: 0.72;
}
body.lesson-page .lesson-source-meta .tc-source-kind,
a.spec-title-card .tc-source-kind {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal, #1a747b);
}
a.spec-title-card .tc-source-kind {
  color: rgba(255,255,255,0.95);
}
/* LOCK #16: hero heading above the embedded video — literal "WATCH VIDEO" (David 2026-09-26) */
body.lesson-page .lesson-source-meta h2.lesson-watch-h {
  font-size: 1rem;
  line-height: 1.3;
}
body.lesson-page .lesson-source-open {
  margin: 0.35rem 0 0.85rem;
  max-width: 56rem;
  font-size: 0.92rem;
}
body.lesson-page .lesson-source-open a {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal, #1a747b);
}
body.lesson-page .embed.embed-article {
  /* taller reading frame for articles/blogs */
  padding-top: 68%;
  min-height: 22rem;
}

/* Source kind under CURATED (category overlay + lesson title card) — David 2026-09-12 */
a.spec-title-card .tc-top-bar {
  flex-wrap: wrap;
}
a.spec-title-card .tc-top-bar .tc-source-kind {
  flex: 1 0 100%;
  margin: 0.15rem 0 0;
  padding-left: 0; /* aligns under label row */
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
}
a.spec-title-card .tc-curated-chip + .tc-source-kind {
  display: block;
  margin: 0.25rem 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.95);
}


.spec-band { margin: 0; padding: 0; }
.spec-band-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.75rem;
  background: var(--band-blue);
  color: #fff;
  min-height: 3rem;
  padding: 0.8rem max(1rem, env(safe-area-inset-left)) 0.8rem max(1rem, env(safe-area-inset-right));
  text-align: center;
}
.spec-band-bar h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.05rem, 0.98rem + 0.45vw, 1.22rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.spec-ico {
  display: inline-flex;
  flex-shrink: 0;
  color: #fff;
  opacity: 0.95;
  width: 1.5rem;
  height: 1.5rem;
  align-items: center;
  justify-content: center;
}
.spec-ico svg { width: 1.35rem; height: 1.35rem; display: block; }
.spec-inner {
  max-width: 68rem;
  margin: 0 auto;
  padding: 1.65rem max(1.75rem, env(safe-area-inset-right)) 2.15rem max(1.75rem, env(safe-area-inset-left));
}
.spec-band-plain .spec-inner { padding-top: 2rem; }
.spec-h2 {
  margin: 0 0 1.1rem;
  color: var(--band-blue);
  font-size: 1.35rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spec-pick-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  margin-bottom: 1.25rem;
}
.spec-num {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 750;
  line-height: 1;
  color: var(--spec-green);
  font-variant-numeric: tabular-nums;
}
.spec-student {
  margin: 0.15rem 0 0.25rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--spec-ink);
  line-height: 1.3;
}
.spec-film {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--spec-green);
  line-height: 1.35;
}
.spec-channel {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.spec-card-wrap {
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto 1.1rem; /* lesson may center; category overrides below */
}
body.category-page .spec-card-wrap {
  margin: 0 0 1.1rem; /* left-align with 01 / title / CTAs */
}
a.spec-title-card {
  display: block;
  position: relative;
  border-radius: 0.35rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #111;
  aspect-ratio: 16 / 9;
}
a.spec-title-card img.card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
a.spec-title-card .tc-curated-chip {
  position: absolute;
  top: 1rem;
  left: 1rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 4;
}
/* Category curated overlay A — David 2026-09-11 (swappable mark via ACC_CURATED_OVERLAY) */
a.spec-title-card .tc-top-bar {
  position: absolute;
  left: 0.65rem;
  top: 0.65rem;
  right: auto;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  max-width: calc(100% - 4.25rem);
  padding: 0.38rem 0.65rem 0.38rem 0.42rem;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 0.28rem;
}
a.spec-title-card .tc-top-bar .tc-mark {
  height: 1.55rem;
  width: auto;
  display: block;
  object-fit: contain;
}
a.spec-title-card .tc-top-bar .tc-curated-label {
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
a.spec-title-card .tc-bot-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 0.45rem 0.65rem 0.5rem;
  background: rgba(13, 42, 74, 0.92);
  color: #fff;
  pointer-events: none;
}
a.spec-title-card .tc-bot-bar .tc-kc-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #55e792;
  margin: 0 0 0.2rem;
}
a.spec-title-card .tc-bot-bar .tc-kc-words {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #fff;
}
a.spec-title-card .tc-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 5rem;
  max-width: 28rem;
}
a.spec-title-card .tc-one-up {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
a.spec-title-card .tc-curated {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
a.spec-title-card .tc-play {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
a.spec-title-card .tc-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.75rem;
  border-color: transparent transparent transparent #fff;
}
a.spec-title-card .btn-yt {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  transform: translateX(-50%);
  display: inline-block;
  padding: 0.72rem 1.35rem;
  background: var(--yt-red);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

body.lesson-page .welcome {
  max-width: 42rem;
  margin: 0.35rem auto 1.15rem;
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
}
.ways-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin: 0 0 0.5rem;
}
a.way-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  min-height: 2.75rem;
  padding: 0.85rem 1.25rem;
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--band-blue);
  background: #fff;
  border: 1px solid #c5ccd4;
  border-radius: 0.25rem;
  box-sizing: border-box;
}
a.way-btn:hover { color: #fff; background: var(--band-blue); border-color: var(--band-blue); }
a.way-btn.way-primary {
  color: #fff;
  background: var(--band-blue);
  border-color: var(--band-blue);
}
a.way-btn.way-primary:hover { background: #274f96; }

ul.kw-grid {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 2.5rem;
}
ul.kw-grid li {
  position: relative;
  padding: 0.15rem 0 0.15rem 1.1rem;
  color: var(--spec-ink);
  line-height: 1.45;
}
ul.kw-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--spec-green);
}
ul.kw-grid strong { color: var(--spec-green); font-weight: 700; }

ul.lesson-res {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}
ul.lesson-res li {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
ul.lesson-res a {
  color: var(--band-blue);
  font-weight: 700;
  text-decoration: none;
}
ul.lesson-res a:hover { text-decoration: underline; }

.spec-summary h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--spec-ink);
  font-weight: 750;
}
.spec-summary h3:first-child { margin-top: 0.15rem; }
.spec-summary p { margin: 0 0 0.85rem; max-width: 48rem; }
.spec-summary .takeaways {
  margin: 0 0 1.1rem;
  padding: 0 0 0 1.25rem;
  max-width: 48rem;
}
.spec-summary .takeaways li {
  margin: 0 0 0.55rem;
  line-height: 1.45;
  overflow: visible;
}
.spec-summary .takeaways li:last-child { margin-bottom: 0; }
/* Overview copy must never look truncated (David 2026-09-12) */
body.lesson-page #overview.spec-band .spec-inner,
body.lesson-page .spec-summary {
  overflow: visible;
  max-height: none;
}
ol.takeaways { margin: 0.85rem 0 0; padding-left: 1.25rem; }
ol.takeaways li { margin: 0 0 0.75rem; max-width: 48rem; color: var(--ink); }
ol.takeaways li::marker {
  color: var(--band-blue); /* takeaway nums Semkhor blue (David 2026-09-10) */
  font-weight: 700;
}

ul.stamps-grid {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 2rem;
}
ul.stamps-grid li {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  gap: 0.65rem;
  align-items: baseline;
  padding: 0.35rem 0;
}
ul.stamps-grid time {
  color: var(--band-blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
ul.stamps-grid span { color: var(--ink); font-weight: 600; } /* label black; time stays blue (David 2026-09-10) */

/* Listen: equal white space above & below the box (David 2026-09-10) */
body.lesson-page #listen.spec-band .spec-inner {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}
body.lesson-page #listen .spec-h2 {
  margin: 0 0 1rem;
}
body.lesson-page .listen-box {
  background: #f0f1f2;
  border: 0;
  border-radius: 0.85rem;
  padding: 1.25rem 1.25rem;
  margin: 0 0 1rem;
  max-width: 40rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}
body.lesson-page .listen-box > p {
  margin: 0 0 0.85rem;
}
body.lesson-page .listen-box audio {
  width: 100%;
  margin: 0;
  display: block;
}
details.transcript {
  margin: 1rem 0 0;
  max-width: 48rem;
}
details.transcript > summary {
  cursor: pointer;
  color: var(--band-blue);
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.9rem;
  list-style: none;
}
details.transcript > summary::-webkit-details-marker { display: none; }
details.transcript > summary::before {
  content: "+";
  display: inline-block;
  margin-right: 0.45rem;
  font-weight: 700;
}
details.transcript[open] > summary::before { content: "–"; }
details.transcript .t {
  margin-top: 0.85rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  max-height: 28rem;
  overflow: auto;
}
details.transcript .t p { margin: 0 0 0.75rem; font-size: 0.95rem; }

footer.spec-foot {
  margin-top: 2.25rem;
  padding: 1.25rem max(1.75rem, env(safe-area-inset-right)) 1.35rem max(1.75rem, env(safe-area-inset-left));
  background: #000;
  color: #fff;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.35rem;
}
footer.spec-foot .spec-foot-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
footer.spec-foot .spec-foot-brand img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
footer.spec-foot .spec-foot-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem 0.9rem;
  justify-content: flex-end;
  white-space: nowrap;
  overflow-x: auto;
  min-width: 0;
}
footer.spec-foot .spec-foot-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
footer.spec-foot .spec-foot-nav a:hover { opacity: 0.8; }

/* Category specimen lift */
body.category-page .wrap-spec { padding: 0 0 0; max-width: none; margin: 0; }
body.category-page .cat-top {
  max-width: none;
  margin: 0;
  padding: 0;
}
/* One content column: section bar + inner share the same left/right edges (David 2026-09-10) */
body.category-page .cat-top > .spec-band,
body.category-page .cat-top > #cat-resources {
  max-width: 56rem; /* match seed/thumb column */
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem; /* shared gutter: bar left = list left = seeds (David 2026-09-10) */
  padding-right: 1.75rem;
  box-sizing: border-box;
}
body.category-page .cat-top > .spec-band .spec-band-bar,
body.category-page .cat-top > #cat-resources .spec-band-bar {
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  margin: 0;
}
body.category-page .cat-top > .spec-band .spec-inner,
body.category-page .cat-top > #cat-resources .spec-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: 0; /* gutter is on the section — list flush with blue bar */
  padding-right: 0;
  box-sizing: border-box;
}
/* Lesson one column: title + video + SUMMARY bars share 56rem (David 2026-09-10)
   Do not leave #band-watch on the wider .spec-inner 68rem — that re-breaks lineup. */
body.lesson-page #band-watch,
body.lesson-page #sections > .spec-band {
  max-width: 56rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
  box-sizing: border-box;
}
body.lesson-page #sections > .spec-band .spec-band-bar {
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  margin: 0;
}
body.lesson-page #band-watch .spec-inner,
body.lesson-page #sections > .spec-band .spec-inner {
  max-width: none !important;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
body.lesson-page #welcome[hidden] { display: none !important; }

body.category-page .cat-top .bar {
  margin-bottom: 0.65rem;
  padding-bottom: 0.75rem;
}
body.category-page .spec-hero,
body.lesson-page .spec-hero {
  margin-bottom: 0;
  /* Shorter category header (David 2026-09-10) */
  min-height: clamp(6.5rem, 16vw, 9.5rem);
  height: clamp(6.5rem, 16vw, 9.5rem);
  max-height: 10.5rem;
}
body.category-page .spec-hero-img {
  max-height: none;
}
body.category-page ol.vids .n,
body.category-page .spec-num {
  color: var(--spec-green);
  font-weight: 750;
  font-size: 1.35rem;
}
body.category-page .seed-title { color: var(--spec-green); }

/* Category seed ↔ thumbnail connection (David 2026-09-10) */
body.category-page #blurb:empty,
body.category-page #blurb[hidden] { display: none !important; }
body.category-page .seed-title {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
/* One column: 01/title/HIDE + thumb + CTAs share the same 56rem measure */
body.category-page details.seed-row {
  max-width: 56rem;
  width: 100%;
  box-sizing: border-box;
}
body.category-page details.seed-row > summary {
  /* 01 + title + HIDE share left/right edges with the thumbnail below */
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  max-width: 56rem;
  box-sizing: border-box;
}
body.category-page details.seed-row > summary .seed-affordance {
  justify-self: end;
}
body.category-page .seed-card {
  padding: 0 0 1.35rem;
  /* pull card into one vertical stack with summary */
  margin: 0;
  max-width: 56rem;
  width: 100%;
  box-sizing: border-box;
}
body.category-page .seed-card .spec-card-wrap,
body.category-page .seed-card .video-slot {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none; /* inherit seed-row 56rem — HIDE right = thumb right */
  width: 100%;
}
body.category-page .cat-cta-row {
  justify-content: flex-start;
  margin-left: 0;
  padding-left: 0;
  max-width: 56rem; /* same measure as thumb */
}
body.category-page a.cat-cta {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.category-page .seed-affordance { background: var(--band-blue); }
body.category-page details.seed-row > summary:hover .seed-affordance { background: #274f96; }
body.category-page .cat-cta-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.85rem 0 0.25rem;
  width: 100%;
  max-width: 56rem;
  box-sizing: border-box;
}
/* Equal-size CTAs: OPEN / YT|ARTICLE / SUMMARY — same column width (David 2026-09-12) */
body.category-page a.cat-cta,
body.category-page button.cat-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.25rem;
  box-sizing: border-box;
  margin: 0;
}
body.category-page a.cat-cta.open {
  background: var(--band-blue);
  color: #fff;
  border: 1px solid var(--band-blue);
}
body.category-page a.cat-cta.yt,
body.category-page a.cat-cta.article {
  background: var(--yt-red);
  color: #fff;
  border: 1px solid var(--yt-red);
}

body.category-page a.cat-cta.summary,
body.category-page button.cat-cta.summary {
  background: #4fb66a;
  color: #fff;
  border: 1px solid #4fb66a;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  appearance: none;
  -webkit-appearance: none;
}
body.category-page button.cat-cta.summary[aria-expanded="true"] {
  background: #3d9a56;
}
body.category-page .cat-summary-panel {
  position: relative;
  margin: 0.75rem 0 0.25rem;
  padding: 0.95rem 2.5rem 1rem 1rem;
  background: #f4f5f5;
  border: 1px solid #d9dde0;
  border-radius: 0.35rem;
  color: #161616;
}
body.category-page .cat-summary-h {
  margin: 0 0 0.55rem;
  color: #0d2a4a;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.category-page .cat-summary-body {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  color: #161616;
}
body.category-page .cat-summary-body p {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 0.65rem;
  line-height: 1.45;
  font-size: 0.95rem;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
body.category-page .cat-summary-body p:last-child { margin-bottom: 0; }
body.category-page .cat-summary-body ul {
  margin: 0 0 0.65rem;
  padding: 0 0 0 1.15rem;
  list-style: disc;
}
body.category-page .cat-summary-body ul:last-child { margin-bottom: 0; }
body.category-page .cat-summary-body li {
  display: list-item;
  grid-template-columns: none;
  width: auto;
  max-width: 100%;
  margin: 0 0 0.35rem;
  line-height: 1.45;
  font-size: 0.95rem;
  padding-left: 0.15rem;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
}
body.category-page .cat-summary-body li:last-child { margin-bottom: 0; }
body.category-page .cat-summary-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 42, 74, 0.1);
  color: #0d2a4a;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.category-page .cat-summary-close:hover {
  background: rgba(13, 42, 74, 0.18);
}
body.category-page ol.vids li.empty-seed {
  color: var(--ink); /* Coming soon text black (David 2026-09-10) */
  font-weight: 500;
}
body.category-page ol.vids li.empty-seed .n {
  color: var(--spec-green);
  font-size: 1.05rem; /* smaller than live seed nums (David 2026-09-10) */
  font-weight: 750;
}
body.category-page #cat-resources.open { display: block; margin-left: auto; margin-right: auto; } /* keep 56rem centered with picks (David 2026-09-10) */
body.category-page .res-grid {
  display: block;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}
body.category-page .res-grid li {
  margin: 0;
  padding: 0.95rem 0;
  border-bottom: 1px solid #e2e5e6;
}
body.category-page .res-grid li:first-child { padding-top: 0.35rem; }
body.category-page .res-grid .ph { display: none; }
body.category-page .res-grid .res-title {
  display: block;
  color: var(--spec-ink, #161616);
  font-weight: 750;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  line-height: 1.35;
}
body.category-page .res-grid a.res-title:hover { color: var(--band-blue, #2f5fad); }
body.category-page .res-grid .res-blurb {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted, #5a6570);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
}

@media (max-width: 800px) {
  ul.kw-grid,
  ul.stamps-grid,
  body.category-page .res-grid { grid-template-columns: 1fr; }
  .spec-crumbs-bar {
    padding: 0.9rem max(1.15rem, env(safe-area-inset-right)) 0.75rem max(1.15rem, env(safe-area-inset-left));
  }
  .spec-inner {
    padding: 1.25rem max(1.15rem, env(safe-area-inset-right)) 1.75rem max(1.15rem, env(safe-area-inset-left));
  }
  body.lesson-page .meta-quiet,
  body.lesson-page .review-note {
    padding-left: max(1.15rem, env(safe-area-inset-left));
    padding-right: max(1.15rem, env(safe-area-inset-right));
  }
  body.category-page .cat-top {
    padding-left: max(1.15rem, env(safe-area-inset-left));
    padding-right: max(1.15rem, env(safe-area-inset-right));
  }
  .spec-hero {
    min-height: clamp(10.5rem, 42vw, 16rem);
    max-height: 18rem;
  }
  body.category-page .spec-hero {
    min-height: clamp(6rem, 18vw, 8.5rem);
    height: clamp(9.5rem, 40vw, 14.5rem);
    max-height: 15rem;
  }
  .spec-band-bar {
    min-height: 2.85rem;
    padding: 0.7rem max(0.85rem, env(safe-area-inset-left)) 0.7rem max(0.85rem, env(safe-area-inset-right));
    gap: 0.45rem;
  }
  .spec-band-bar h2 {
    letter-spacing: 0.06em;
  }
  .spec-pick-head {
    gap: 0.75rem 0.9rem;
    margin-bottom: 1rem;
  }
  .spec-num { font-size: clamp(2rem, 7vw, 2.6rem); }
  .spec-student { font-size: clamp(1.05rem, 3.4vw, 1.3rem); }
  .spec-film { font-size: 0.98rem; }
  .spec-card-wrap,
  .seed-card .video-slot,
  .seed-card .spec-card-wrap {
    max-width: 100%;
  }
  a.spec-title-card .tc-top {
    left: 0.85rem;
    right: 4.25rem;
    top: 0.85rem;
  }
  a.spec-title-card .tc-play {
    top: 0.85rem;
    right: 0.85rem;
  }
  a.spec-title-card .tc-one-up {
    font-size: clamp(0.92rem, 3.2vw, 1.2rem);
  }
  body.lesson-page .cta-row,
  body.category-page .cat-cta-row,
  .ways-btns {
    gap: 0.65rem;
  }
  a.way-btn {
    min-width: 0;
    flex: 1 1 calc(50% - 0.4rem);
  }
  body.category-page .cat-cta-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.category-page a.cat-cta,
  body.category-page button.cat-cta,
  body.lesson-page a.yt-cta {
    width: 100%;
    min-width: 0;
    flex: none;
  }
  footer.spec-foot {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    padding: 1.15rem max(1.15rem, env(safe-area-inset-right)) 1.25rem max(1.15rem, env(safe-area-inset-left));
    gap: 0.65rem 0.85rem;
  }
  footer.spec-foot .spec-foot-nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0.15rem 0.65rem;
    overflow-x: auto;
    white-space: nowrap;
  }
  footer.spec-foot .spec-foot-nav a { font-size: 0.8rem; }
  body.category-page ol.vids li.seed-live,
  ol.vids li.seed-live {
    overflow: hidden;
  }
  details.seed-row > summary {
    gap: 0.55rem 0.65rem;
  }
  .seed-affordance {
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .spec-crumbs-bar {
    padding: 0.75rem max(0.95rem, env(safe-area-inset-right)) 0.65rem max(0.95rem, env(safe-area-inset-left));
  }
  .spec-crumbs-bar .crumbs,
  p.crumbs {
    font-size: 0.84rem;
    line-height: 1.4;
    word-break: break-word;
  }
  .spec-inner {
    padding: 1.05rem max(0.95rem, env(safe-area-inset-right)) 1.45rem max(0.95rem, env(safe-area-inset-left));
  }
  body.lesson-page .meta-quiet,
  body.lesson-page .review-note {
    padding-left: max(0.95rem, env(safe-area-inset-left));
    padding-right: max(0.95rem, env(safe-area-inset-right));
  }
  body.category-page .cat-top {
    padding: 0.85rem max(0.95rem, env(safe-area-inset-right)) 0.35rem max(0.95rem, env(safe-area-inset-left));
  }
  .spec-hero {
    min-height: clamp(9rem, 48vw, 12.5rem);
    max-height: 13.5rem;
  }
  body.category-page .spec-hero {
    min-height: clamp(6rem, 18vw, 8.5rem);
    height: clamp(8.5rem, 46vw, 12rem);
    max-height: 12.5rem;
  }
  .spec-hero-title,
  .spec-hero-fallback {
    padding: 1.5rem 1rem;
    font-size: clamp(1.15rem, 5.5vw, 1.65rem);
    max-width: 18ch;
  }
  .spec-band-bar {
    min-height: 2.75rem;
    padding: 0.65rem max(0.75rem, env(safe-area-inset-left));
    flex-wrap: wrap;
  }
  .spec-band-bar h2 {
    font-size: clamp(0.8rem, 3.6vw, 0.92rem);
    letter-spacing: 0.05em;
  }
  .spec-ico { width: 1.25rem; height: 1.25rem; }
  .spec-ico svg { width: 1.15rem; height: 1.15rem; }
  .spec-pick-head {
    grid-template-columns: auto 1fr;
    gap: 0.65rem 0.75rem;
  }
  .spec-num { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  a.way-btn,
  body.lesson-page a.yt-cta {
    flex: 1 1 100%;
    width: 100%;
  }
  body.category-page .cat-cta-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.category-page a.cat-cta,
  body.category-page button.cat-cta {
    width: 100%;
    min-width: 0;
    flex: none;
  }
  body.lesson-page .welcome {
    font-size: 0.98rem;
    margin-bottom: 0.95rem;
  }
  a.spec-title-card .tc-top {
    left: 0.7rem;
    right: 3.75rem;
    top: 0.7rem;
  }
  a.spec-title-card .tc-curated,
  a.spec-title-card .tc-curated-chip,
  a.spec-title-card .tc-top-bar .tc-curated-label {
    font-size: 0.58rem;
  }
  a.spec-title-card .tc-top-bar {
    left: 0.5rem;
    top: 0.5rem;
    max-width: calc(100% - 3.6rem);
    padding: 0.3rem 0.5rem 0.3rem 0.35rem;
  }
  a.spec-title-card .tc-top-bar .tc-mark {
    height: 1.25rem;
  }
  a.spec-title-card .tc-bot-bar .tc-kc-words {
    font-size: 0.62rem;
  }
  a.spec-title-card .tc-play {
    width: 2.5rem;
    height: 2.5rem;
    top: 0.7rem;
    right: 0.7rem;
  }
  ul.stamps-grid li {
    grid-template-columns: 3.6rem 1fr;
    gap: 0.45rem;
  }
  footer.spec-foot {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    padding: 1.05rem max(0.95rem, env(safe-area-inset-right)) 1.15rem max(0.95rem, env(safe-area-inset-left));
  }
  footer.spec-foot .spec-foot-brand img { height: 28px; }
  footer.spec-foot .spec-foot-nav {
    flex-wrap: nowrap;
    gap: 0.1rem 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
  }
  footer.spec-foot .spec-foot-nav a {
    font-size: 0.68rem;
    white-space: nowrap;
  }
  body.category-page .seed-card .text-card .card-copy {
    padding: 1rem 1rem 0.9rem;
  }
  body.category-page .seed-card .text-card .one-liner {
    font-size: 1rem;
  }
  details.seed-row > summary {
    grid-template-columns: 1.75rem 1fr;
    grid-template-areas:
      "n copy"
      "n afford";
  }
  details.seed-row > summary .n { grid-area: n; }
  details.seed-row > summary .seed-copy { grid-area: copy; min-width: 0; }
  details.seed-row > summary .seed-affordance {
    grid-area: afford;
    justify-self: start;
    margin-top: 0.15rem;
  }
  .seed-title { word-break: break-word; }
}


/* One-line footer menus (shop lock) */
footer.site-family {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}
footer.site-family .foot-logo { margin-bottom: 0; }
footer.site-family .foot-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.9rem;
  white-space: nowrap;
  overflow-x: auto;
}
footer.site-family .foot-nav a {
  margin-right: 0;
  margin-bottom: 0;
  white-space: nowrap;
  font-size: 0.9rem;
}
footer.site-family .foot-nav a.mail {
  display: inline;
  margin-top: 0;
}
@media (max-width: 800px) {
  footer.site-family .foot-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  footer.spec-foot {
    flex-wrap: nowrap;
  }
  footer.spec-foot .spec-foot-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}


/* Acc footer align — grid: logo column + nav column (no left overflow under mark) */
footer.site-family {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.75rem;
  flex-wrap: nowrap;
}
footer.site-family .foot-brand,
footer.site-family > a:has(.foot-logo),
footer.site-family > a:first-child {
  grid-column: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-width: max-content;
  position: relative;
  z-index: 2;
  background: #0a0a0a;
  padding-right: 0.25rem;
}
footer.site-family .foot-logo {
  height: 36px;
  width: auto;
  max-width: none;
  display: block;
  margin: 0;
}
footer.site-family .foot-nav {
  grid-column: 2;
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
  margin: 0 !important;
  padding: 0;
  min-width: 0; /* allow shrink inside grid track */
  max-width: 100%;
  width: 100%;
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 0;
}
footer.site-family .foot-nav a {
  margin: 0 !important;
  margin-right: 0 !important;
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.9rem;
  line-height: 1.2;
}

/* category chrome */
.category-page .review-note {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: #856404;
}
.category-page .seed-card .text-card {
  display: block;
  position: relative;
  min-height: 12rem;
  border-radius: 0.35rem;
  overflow: hidden;
  background: linear-gradient(145deg, #0d2a4a 0%, #1a747b 55%, #2a9a7a 100%);
  text-decoration: none;
  color: #fff;
  aspect-ratio: 16 / 9;
}
.category-page .seed-card .text-card .play-chip {
  position: absolute; top: 1rem; right: 1rem;
  background: #fff; color: #161616; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: 999px;
}
.category-page .seed-card .text-card .card-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.35rem 1.1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
}
.category-page .seed-card .text-card .one-liner {
  margin: 0 0 0.35rem; font-size: 1.15rem; font-weight: 650; color: #fff; line-height: 1.3;
}
.category-page .seed-card .text-card .curated {
  margin: 0; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85);
}
.category-page .status-chip {
  display: inline-block; margin-left: 0.5rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.12rem 0.45rem; border-radius: 999px; vertical-align: middle;
}
.category-page .status-chip.review { background: #fff3cd; color: #856404; }
.category-page #cat-resources { display: none; }
.category-page #cat-resources.open { display: block; margin-left: auto; margin-right: auto; }
.category-page .seed-card .video-slot,
.category-page .seed-card .spec-card-wrap { max-width: none; width: 100%; }
.category-page .seed-card a.spec-title-card { border-radius: 0.35rem; }

/* lesson chrome */
.lesson-page .review-note {
  margin: 0.75rem auto;
  max-width: 56rem;
  padding: 0.65rem 1rem;
  background: #fff3cd;
  color: #856404;
  border-radius: 0.35rem;
  font-size: 0.92rem;
}
.lesson-page .spec-transcript .transcript-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lesson-page .spec-transcript .transcript-lines li {
  margin: 0 0 0.75rem;
  line-height: 1.45;
}
.lesson-page .spec-transcript .transcript-lines time {
  color: var(--band-blue);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* —— Acc shared header tools (chrome.js) —— */
header.bar .bar-tools {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.15rem 0.95rem;
  white-space: nowrap;
}
header.bar .bar-tools a.here {
  color: #55e792;
}
header.bar .bar-tools .auth-member {
  color: #4fb66a; /* darker Semkhor green — student names (David 2026-09-10) */
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Contact: no Acc black header — contact-hero is the page header */
/* Contact: no Acc black header — contact-hero is the page header */
body.contact-page #acc-header { display: none !important; }
body.contact-page .contact-hero { margin-top: 0; }

/* —— Contact page (house Contact layout; Acc chrome/footer) —— */
.contact-hero {
  position: relative;
  background: #000;
  overflow: hidden;
  margin: 0;
}
.contact-hero-art {
  display: block;
  width: 100%;
  height: auto;
  max-height: 22rem;
  object-fit: cover;
  object-position: center right;
}
.contact-main {
  background: #fff;
  padding: 4.5rem 1.25rem 3.5rem;
}
.contact-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}
.contact-media,
.contact-form-col {
  min-width: 0;
}
.contact-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  background: #0a0a12;
}
.contact-note { margin: 0 0 1.35rem; font-size: 0.95rem; color: #5c6567; }
.contact-page .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.5rem;
  margin: 0 0 1.5rem;
}
.contact-page .form-grid .full { grid-column: 1 / -1; }
.contact-page .field { margin: 0; }
.contact-page .field label {
  display: block;
  font-size: 0.95rem;
  color: #6a7375;
  margin-bottom: 0.35rem;
}
.contact-page .field input,
.contact-page .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0 0.5rem;
}
.contact-page .field input:focus,
.contact-page .field textarea:focus {
  outline: none;
  border-bottom-color: var(--teal);
}
.contact-page .field textarea { resize: vertical; min-height: 2.5rem; }
.contact-page .check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
}
.contact-page .check input { margin-top: 0.25rem; }
.contact-page .check label { font-size: 1rem; color: var(--ink); }
.contact-page .privacy {
  font-size: 0.85rem;
  color: #6a7375;
  margin: 0 0 1.1rem;
}
.contact-page .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-page button.submit,
.contact-page .contact-submit {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: #000;
  border: 1px solid #000;
  padding: 0.75rem 1.75rem;
  border-radius: 0;
  cursor: pointer;
}
.contact-page button.submit:hover,
.contact-page .contact-submit:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
}
.contact-page .g-recaptcha {
  margin: 0 0 1rem;
}
.contact-page .captcha-err {
  margin: 0 0 0.85rem;
}
.contact-page .field input.is-invalid,
.contact-page .field textarea.is-invalid {
  border-bottom-color: #b00020;
}
.contact-page .field .field-err {
  display: none;
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: #b00020;
}
.contact-page .field.has-error .field-err { display: block; }
.contact-page .form-status {
  display: none;
  margin: 1rem 0 0;
  padding: 0.9rem 1.05rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}
.contact-page .form-status.show { display: block; }
.contact-page .form-status.ok {
  background: #e8f2f2;
  border: 1px solid #1a747b;
  color: #0d2a4a;
}
.contact-page .form-status.err {
  background: #fdecea;
  border: 1px solid #b00020;
  color: #7a1010;
}
body.contact-page header.bar { margin-bottom: 0; }
body.contact-page footer.site-family {
  margin-left: 0;
  margin-right: 0;
  padding-left: max(1.35rem, calc(50vw - 22rem));
  padding-right: max(1.35rem, calc(50vw - 22rem));
}
@media (max-width: 52rem) {
  .contact-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .contact-media { max-width: min(28rem, 100%); width: 100%; }
  .contact-main { padding: 2.75rem 1.25rem 2.75rem; }
  .contact-hero-art {
    max-height: none;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
  .contact-page .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .contact-main { padding: 2rem 1rem 2.5rem; }
  .contact-hero-art { width: 100%; height: auto; max-height: none; }
}

/* —— Acc short title band (entry-hero-gemini crop; under black nav) —— */
.acc-title-band {
  position: relative;
  margin: 0 0 1.5rem;
  width: 100%;
  max-width: none;
  height: clamp(7rem, 14vw, 10rem); /* interior short band — taller than slim strip; not Home 16:9 */
  overflow: hidden;
  background: #0a1e36;
  color: #fff;
}
.acc-title-band-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.acc-title-band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.25rem;
  background: linear-gradient(
    90deg,
    rgba(8, 24, 48, 0.55) 0%,
    rgba(8, 24, 48, 0.35) 45%,
    rgba(8, 24, 48, 0.45) 100%
  );
}
.acc-title-band-title {
  font-family: "Poppins", "Roboto", sans-serif;
  margin: 0;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
  line-height: 1.15;
}
body.entry-page header.bar,
body.contact-page header.bar,
body.desk-page header.bar,
body.briefs-page header.bar,
body.brief-page header.bar,
body.terms-page header.bar,
body.privacy-page header.bar,
body.category-page header.bar,
body.lesson-page header.bar,
body.curriculum-page header.bar {
  margin-bottom: 0 !important;
}
body.entry-page .acc-title-band {
  margin-bottom: 0;
}
/* Contact body matches house: no Acc title band between header and contact hero */
body.contact-page .acc-title-band {
  display: none;
}
@media (max-width: 520px) {
  .acc-title-band { height: clamp(6rem, 26vw, 8.5rem); }
  .acc-title-band-art { object-position: center 38%; }
  .acc-title-band-title { font-size: clamp(1.25rem, 6vw, 1.65rem); }
}

/* —— Acc nav silhouette (CA fa-user / showLogin pattern) —— */
header.bar .bar-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
}
header.bar .nav-user-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.2rem 0.45rem;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  line-height: 1.2;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  white-space: nowrap;
}
header.bar .nav-user-btn:hover,
header.bar .nav-user-btn:focus-visible {
  color: var(--mark-lime, #4fb66a);
  outline: none;
}
header.bar .nav-user-icon { display: block; }
header.bar .auth-member {
  color: #4fb66a;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
header.bar #signout { white-space: nowrap; }


/* Auth chrome: silhouette vs member name (CA pattern via /api/me) */
header.bar.auth-guest #auth-login { display: inline-flex !important; }
header.bar.auth-guest #auth-member,
header.bar.auth-guest #signout { display: none !important; }
header.bar.auth-member-on #auth-login { display: none !important; }
header.bar.auth-member-on #auth-member {
  display: inline !important;
  color: #4fb66a !important; /* darker student green — must beat guest/white chrome */
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-ui, "Poppins", "Roboto", sans-serif);
  white-space: nowrap;
}
header.bar.auth-member-on #signout { display: inline !important; white-space: nowrap; }
header.bar #auth-login[hidden],
header.bar #auth-member[hidden],
header.bar #signout[hidden],
header.bar #nav-review[hidden] { display: none !important; }

/* —— Acc SIGN IN modal (CA #loginModal.dialog-widget.auth; Acc navy/teal) —— */
body.acc-modal-open { overflow: hidden; }
.acc-login-modal.dialog-widget.auth {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.acc-login-modal.dialog-widget.auth[aria-expanded="true"] {
  display: flex !important; /* beat any [hidden] leftovers; CA uses aria-expanded */
}
.acc-login-modal .acc-login-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 48, 0.55);
  pointer-events: auto;
}
.acc-login-modal .acc-login-panel {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  display: block; /* never inherit Entry .panel { display:none } */
  width: min(28rem, 100%);
  max-height: calc(100vh - 2.5rem);
  overflow: auto;
  background: #fff;
  color: #161616;
  border-radius: 0.35rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.28);
  padding: 2.25rem 1.75rem 1.75rem;
  font-family: var(--font-form, "Lato", "Roboto", sans-serif);
}
.acc-login-modal .acc-login-close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  color: #788090;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.45rem;
}
.acc-login-modal .acc-login-close:hover { color: var(--navy, #0d2a4a); }
.acc-login-modal #auth-container .tabs { display: flex; margin: 0 0 0.25rem; }
.acc-login-modal .tab-btn {
  font-family: var(--font-ui, "Poppins", "Roboto", sans-serif);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 400;
  color: var(--navy, #0d2a4a);
  padding-bottom: 0.25rem;
  border-bottom: 0.2rem solid var(--teal, #1a747b);
  letter-spacing: 0.04em;
}
.acc-login-modal .form-inner {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem 0 1.25rem;
  font-family: var(--font-form, "Lato", "Roboto", sans-serif);
}
.acc-login-modal .form-field { margin: 0; }
.acc-login-modal .form-field label {
  display: block;
  font-weight: 300;
  color: #808083;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}
.acc-login-modal .form-field .field {
  width: 100%;
  font: inherit;
  font-family: var(--font-body, "Lato", "Roboto", sans-serif);
  color: #161616;
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c9d2d4;
  border-radius: 0.35rem;
  background: #fff;
  box-sizing: border-box;
}
.acc-login-modal .form-field .field:focus {
  outline: 2px solid rgba(26, 116, 123, 0.35);
  border-color: var(--teal, #1a747b);
}
.acc-login-modal .hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted, #5a6570);
}
.acc-login-modal .btn.acc-signin-btn {
  width: 100%;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  font-family: var(--font-ui, "Poppins", "Roboto", sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy, #0d2a4a);
  border-radius: 0.35rem;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
.acc-login-modal .btn.acc-signin-btn:hover { background: #123a5f; }

.acc-login-modal .acc-join-row {
  margin: 0.85rem 0 0;
  text-align: center;
}
.acc-login-modal .acc-join-link {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.75rem;
  border: 0;
  background: transparent;
  color: var(--navy, #0d2a4a);
  font-family: var(--font-ui, "Poppins", "Roboto", sans-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}
.acc-login-modal .acc-join-link:hover,
.acc-login-modal .acc-join-link:focus-visible {
  color: var(--teal, #1a747b);
  outline: none;
}
.acc-login-modal .msg { margin-top: 0.85rem; font-size: 0.9rem; }
.acc-login-modal .msg.err { color: #b00020; }
.acc-login-modal .msg.ok { color: #1b5e20; }

/* Mobile login pressure — iOS focus / keyboard / tap targets (2026-09-12) */
@media (max-width: 520px) {
  .acc-login-modal.dialog-widget.auth {
    align-items: flex-start;
    padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
  }
  .acc-login-modal .acc-login-panel {
    width: 100%;
    max-height: min(92dvh, calc(100vh - 1.5rem));
    -webkit-overflow-scrolling: touch;
    padding: 2rem 1.15rem 1.35rem;
    margin-top: 0.5rem;
  }
  .acc-login-modal .form-field .field {
    font-size: 16px; /* prevent iOS zoom that breaks the modal */
    min-height: 3rem;
  }
  .acc-login-modal .btn.acc-signin-btn {
    min-height: 3rem;
    font-size: 1rem;
  }
  .acc-login-modal .acc-login-close {
    min-width: 2.75rem;
    min-height: 2.75rem;
    font-size: 1.85rem;
  }
  header.bar .nav-user-btn {
    min-width: 0;
    min-height: 2.75rem;
    padding: 0.35rem 0.55rem;
    font-size: 1rem;
  }
}
/* acc-login-mobile-20260912 */


/* full-bleed chrome — same width as live Semkhor (nav / title band / footer) */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body > .wrap,
body > .wrap.entry-shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
header.bar,
.acc-title-band,
footer.site-family,
footer.spec-foot {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
/* readable measure for copy only — not the chrome strips */
.entry-body,
.acc-page-body,
.contact-main .contact-inner,
.wrap > .desk-brief-stack,
.wrap > #start-slot,
.wrap > .desk-section-bar,
.wrap > .grid,
.wrap > .shelf-note,
.wrap > .meta {
  /* Same content gutter as wrap — no extra inset that desyncs siblings */
  max-width: 40rem;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
body.desk-page .wrap > .desk-section-bar,
body.desk-page .wrap > .grid,
body.desk-page .wrap > .shelf-note {
  max-width: none; /* shelves can use full wrap measure */
}
.desk-brief-stack .session,
.desk-brief-stack details.daily-brief,
.desk-brief-stack .brief-actions {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}
.desk-brief-stack details.daily-brief {
  max-width: none;
}
.brief-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}
header.bar .bar-inner,
header.bar,
.acc-title-band-overlay {
  /* inner tools align to same gutter as live */
}
header.bar {
  padding-left: max(1.35rem, env(safe-area-inset-left));
  padding-right: max(1.35rem, env(safe-area-inset-right));
}

/* Desk: Older briefs as Entry-style door under Daily Brief */
.brief-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin: 0.15rem 0 1.25rem;
  max-width: 40rem;
}
.desk-page .door,
.brief-older-btn.door {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 650;
  letter-spacing: 0.04em;
  min-height: 2.75rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--navy, #0d2a4a);
  color: var(--navy, #0d2a4a);
  background: #fff;
  border-radius: 0.5rem;
  box-sizing: border-box;
  font-family: var(--font-ui, "Poppins", "Roboto", sans-serif);
}
.desk-page .door:hover { opacity: 0.92; }

/* Cat/lesson: no Acc title band — one CATEGORY header only (David 2026-09-10) */
/* No Acc title band on category/lesson/Curriculum — one page header only (David 2026-09-12) */
body.category-page .acc-title-band,
body.lesson-page .acc-title-band,
body.curriculum-page .acc-title-band { display: none !important; }

/* Curriculum white buffer under Acc bar (David 2026-09-22) */
body.curriculum-page #acc-header + .spec-hero,
body.curriculum-page #acc-header + header.spec-hero {
  margin-top: 0;
}
body.curriculum-page::before {
  content: none;
}
body.curriculum-page #acc-header {
  margin-bottom: 0;
}
body.curriculum-page .curric-top-buffer {
  display: block;
  height: 1.25rem;
  background: #fff;
  width: 100%;
}


body.category-page .spec-crumbs-bar,
body.lesson-page .spec-crumbs-bar {
  display: block;
  visibility: visible;
  background: #fff;
  border-bottom: 0;
}
body.lesson-page .spec-film,
body.lesson-page .spec-channel { display: none !important; }


/* Desk Hello + header student name: caps + Semkhor green */
body.desk-page .session {
  color: #4fb66a;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Lesson: no graphic header — typographic video title (David 2026-09-10) */
body.lesson-page .spec-hero { display: none !important; }
body.lesson-page .lesson-video-title {
  margin: 0;
  color: var(--ink, #161616);
  font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  max-width: 40rem;
}
body.lesson-page .spec-pick-head {
  align-items: start;
  margin-bottom: 1.1rem;
}
body.lesson-page .spec-pick-head .spec-num {
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.6rem);
  line-height: 1;
  padding-top: 0.15rem;
}


/* Lesson timestamps blue (David 2026-09-10) */
body.lesson-page ul.stamps-grid time,
body.lesson-page .spec-transcript time {
  color: var(--band-blue) !important;
  font-weight: 700;
}
body.lesson-page ul.stamps-grid span {
  color: var(--ink) !important;
  font-weight: 600;
}


/* —— Acc footer lock (David 2026-09-10 evening) ——
   No hairline above black footer; Home must clear the mark (no cover-up paint). */
#acc-footer {
  /* Global air above footer — one place for every Acc page (David 2026-09-10) */
  margin: 3.25rem 0 0;
  padding: 0;
  border: 0 !important;
  box-shadow: none !important;
  background: #0a0a0a;
}
footer.site-family {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1.75rem !important;
  column-gap: 1.75rem !important;
  margin-top: 0 !important; /* air lives on #acc-footer so chrome.js pages share it */
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: #0a0a0a !important;
  padding-top: 1.35rem !important;
  padding-bottom: 1.6rem !important;
}
footer.site-family .foot-brand,
footer.site-family > a:has(.foot-logo),
footer.site-family > a:first-child {
  flex: 0 0 auto !important;
  position: static !important;
  z-index: auto !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  display: inline-flex !important;
  align-items: center !important;
  grid-column: auto !important;
}
footer.site-family .foot-logo {
  height: 36px !important;
  width: auto !important;
  max-width: 11rem !important;
  display: block !important;
  margin: 0 !important;
}
footer.site-family .foot-nav {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.35rem 1.1rem !important;
  overflow-x: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  overflow: visible !important;
  position: static !important;
  z-index: auto !important;
  grid-column: auto !important;
}
footer.site-family .foot-nav a {
  flex: 0 0 auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
  position: static !important;
}
/* Lesson meta sits above footer; keep air without a gray rule */
body.lesson-page .meta-quiet {
  margin-bottom: 0.75rem !important; /* footer #acc-footer owns the air */
  border: 0 !important;
  box-shadow: none !important;
}
body.lesson-page #sections > .spec-band:last-child,
body.lesson-page ul.lesson-res li:last-child {
  border-bottom: 0 !important;
}

/* Category: crumbs under category hero (David 2026-09-10) — not above it */
body.category-page .cat-top > .spec-hero + .spec-crumbs-bar,
body.category-page .cat-top > .spec-crumbs-bar {
  padding-top: 0.75rem;
  padding-bottom: 0.35rem;
  background: #fff;
  border-bottom: 0;
}
body.category-page .cat-top > .spec-hero {
  margin-bottom: 0;
}


/* Desk side buffer — modest L/R padding; nav/title/footer stay full-bleed (David 2026-09-10) */
body.desk-page > .wrap {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.desk-page > .wrap > .desk-brief-stack,
body.desk-page > .wrap > .desk-section-bar,
body.desk-page > .wrap > .desk-search-wrap,
body.desk-page > .wrap > #desk-search-results,
body.desk-page > .wrap > #desk-search-empty,
body.desk-page > .wrap > .shelf-note,
body.desk-page > .wrap > .grid {
  margin-left: max(1.35rem, env(safe-area-inset-left)) !important;
  margin-right: max(1.35rem, env(safe-area-inset-right)) !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
body.desk-page > .wrap > .desk-search-wrap {
  max-width: 36rem !important;
  margin-top: 1.15rem !important;
  margin-bottom: 1.35rem !important;
}
body.desk-page > .wrap > .shelf-note,
body.desk-page > .wrap > .grid.soft-grid {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
body.desk-page > .wrap > .desk-brief-stack {
  max-width: 40rem !important; /* keep brief readable measure */
}


/* Category picks + RESOURCES: one centered 56rem column (David 2026-09-10) */
body.category-page .cat-top > .spec-band,
body.category-page .cat-top > #cat-resources,
body.category-page .cat-top > #cat-resources.open {
  max-width: 56rem !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.75rem !important;
  padding-right: 1.75rem !important;
  box-sizing: border-box !important;
}

/* Category title-card / YT thumb fill (David 2026-09-10) */
a.spec-title-card {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0d2a4a;
}
a.spec-title-card .card-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Category crumbs: left edge lines up with category hero image (David 2026-09-10) */
body.category-page .spec-crumbs-bar {
  padding-left: max(1.35rem, env(safe-area-inset-left)) !important;
  padding-right: max(1.35rem, env(safe-area-inset-right)) !important;
}
body.category-page .spec-crumbs-bar .crumbs {
  max-width: none;
  margin-left: 0;
}
body.lesson-page .spec-crumbs-bar {
  padding-left: max(1.35rem, env(safe-area-inset-left)) !important;
  padding-right: max(1.35rem, env(safe-area-inset-right)) !important;
}

/* Category HTML title over graphic BG (David 2026-09-10) — smaller + truly centered */
body.category-page .spec-hero {
  display: flex;
  align-items: center;
  justify-content: center;
}
body.category-page .spec-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6,16,32,0.35) 0%, rgba(6,16,32,0.45) 50%, rgba(6,16,32,0.4) 100%);
}
body.category-page .spec-hero-img {
  z-index: 0;
}
body.category-page .spec-hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  /* Keep air from black nav + bottom edge; type larger (David 2026-09-10) */
  padding: 1.1rem 1.75rem;
  box-sizing: border-box;
  font-size: clamp(1.45rem, 2.6vw + 0.75rem, 2.35rem);
  font-weight: 750;
  letter-spacing: 0.06em;
  line-height: 1.12;
  max-width: none;
  width: 100%;
  text-align: center;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
body.category-page .spec-hero.spec-hero-plain::after {
  display: none; /* plain gradient already readable */
}


/* —— Acc chrome shell (David 2026-09-12) ——
   Full-bleed nav / title band / footer.
   Content uses --acc-side gutter.
   FAIL: white gap under black header before title band.
   FAIL: content flush to viewport edge on brief/full pages.
   FAIL: white strip under black footer (wrap padding-bottom after #acc-footer). */
:root {
  --acc-side: max(1.35rem, env(safe-area-inset-left));
  --acc-side-r: max(1.35rem, env(safe-area-inset-right));
}
body.entry-page > .wrap,
body.entry-page > .wrap.entry-shell,
body.desk-page > .wrap,
body.briefs-page > .wrap,
body.brief-page > .wrap,
body.terms-page > .wrap,
body.privacy-page > .wrap,
body.curriculum-page > .wrap,
body.category-page > .wrap-spec,
body.lesson-page > .wrap {
  padding-bottom: 0 !important;
}
body.entry-page > .wrap,
body.entry-page > .wrap.entry-shell,
body.desk-page > .wrap,
body.briefs-page > .wrap,
body.brief-page > .wrap,
body.terms-page > .wrap,
body.privacy-page > .wrap {
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.desk-page .acc-title-band,
body.briefs-page .acc-title-band,
body.brief-page .acc-title-band,
body.terms-page .acc-title-band,
body.privacy-page .acc-title-band {
  margin-top: 0 !important;
}
/* Acc content gutter helper — use class="acc-content" on copy stacks (David 2026-09-12 / Sites) */
.acc-content,
body.brief-page > .wrap > article.brief-full,
body.briefs-page > .wrap > #list {
  margin-left: var(--acc-side) !important;
  margin-right: var(--acc-side-r) !important;
  width: auto !important;
  max-width: 40rem;
  box-sizing: border-box;
}
/* Black footer ends the page — no white after it */
#acc-footer {
  margin-bottom: 0 !important;
}
body > .wrap:has(> #acc-footer) {
  padding-bottom: 0 !important;
}


/* Cohesion: Acc footer is last painted chrome — pages call chrome.js + school.css; no page-local footer padding (David 2026-09-12) */
body.curriculum-page #acc-footer,
body.lesson-page #acc-footer,
body.category-page #acc-footer,
body.desk-page #acc-footer,
body.brief-page #acc-footer,
body.briefs-page #acc-footer,
body.entry-page #acc-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/* Acc free-tier locks + upgrade band (David 2026-09-13) */
body.category-page li.seed-locked {
  opacity: 0.92;
}
body.category-page li.seed-locked .seed-title {
  color: var(--muted, #5a6570);
}
body.category-page .status-chip.locked {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.3rem;
  background: #0d2a4a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
body.category-page .locked-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #e8ecee;
  min-height: 10rem;
}
body.category-page .acc-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(8, 24, 48, 0.62);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 1rem;
}
body.category-page .acc-lock-overlay a.acc-upgrade-btn,
body.category-page .acc-upgrade-band a.acc-upgrade-btn,
body.lesson-page a.door.primary {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 0.45rem;
  background: #fff;
  color: #0d2a4a;
  text-decoration: none;
  font-weight: 700;
}
body.category-page .acc-upgrade-band {
  margin: 1.25rem 0 0.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(26, 116, 123, 0.35);
  border-radius: 0.75rem;
  background: #f7fbfb;
}
body.category-page .acc-upgrade-band h3 {
  margin: 0 0 0.45rem;
  color: var(--navy, #0d2a4a);
  font-size: 1.15rem;
}
body.category-page .acc-upgrade-band p {
  margin: 0 0 0.75rem;
  color: var(--muted, #5a6570);
  line-height: 1.45;
}
body.category-page li.acc-upgrade-li {
  list-style: none;
  margin: 1rem 0 0;
}
body.category-page .res-grid li.res-locked {
  opacity: 0.72;
}
body.category-page .res-grid li.res-locked .res-title {
  color: var(--muted, #5a6570);
}
body.category-page .res-upgrade-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted, #5a6570);
}
body.category-page .res-upgrade-hint a {
  color: var(--teal, #1a747b);
  font-weight: 650;
}
body.lesson-page .acc-lesson-locked {
  margin: 1rem 0 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(26, 116, 123, 0.35);
  border-radius: 0.75rem;
  background: #f7fbfb;
  color: var(--navy, #0d2a4a);
  line-height: 1.5;
}


/* Review lesson — top Approve (admin seat only) */
#review {
  width: 100%;
  box-sizing: border-box;
  padding: 0 max(1.35rem, calc(50vw - 22rem)) 0.75rem;
}
#review .review-note {
  margin: 0 0 0.65rem;
}
.review-approve-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 0.35rem;
}
.review-approve-bar .btn-approve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 650;
  letter-spacing: 0.02em;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #8b1e1e;
  background: #8b1e1e;
  color: #fff;
  cursor: pointer;
}
.review-approve-bar .btn-approve:hover { opacity: 0.92; }
.review-approve-bar .btn-approve:disabled {
  opacity: 0.55;
  cursor: wait;
}
.review-approve-bar .approve-status {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted, #666);
}
.review-approve-bar .approve-status.ok { color: #1a747b; font-weight: 650; }
.review-approve-bar .approve-status.err { color: #8b1e1e; }

body.admin-page .spec-crumbs-bar {
  display: block;
  background: #fff;
  border-bottom: 0;
  padding-top: 0.55rem;
  padding-bottom: 0.45rem;
}

/* Briefs + brief pages: same Acc breadcrumb bar as Review/Category (2026-09-25 login/crumbs fix) */
body.briefs-page .spec-crumbs-bar,
body.brief-page .spec-crumbs-bar {
  display: block;
  background: #fff;
  border-bottom: 0;
  padding: 0.85rem var(--acc-side-r, 1.35rem) 0.45rem var(--acc-side, 1.35rem);
}
/* line the crumb up with the Older briefs list / brief article gutter */
body.briefs-page .spec-crumbs-bar .crumbs,
body.brief-page .spec-crumbs-bar .crumbs { max-width: 40rem; }

/* —— Member icon menu (2026-09-29 M1 — ADD only; header look unchanged) —— */
header.bar .acc-mm { position: relative; display: inline-flex; align-items: center; }
header.bar .acc-mm[hidden], header.bar.auth-guest .acc-mm { display: none !important; }
header.bar .acc-mm-btn {
  display: inline-flex; align-items: center; gap: 0.15rem; margin: 0; padding: 0.15rem 0.2rem;
  border: 0; background: transparent; color: #4fb66a; cursor: pointer; line-height: 1; font: inherit;
}
header.bar .acc-mm-btn:hover, header.bar .acc-mm-btn:focus-visible { color: #fff; outline: none; }
header.bar .acc-mm-caret { font-size: 0.7rem; }
header.bar .acc-mm-panel {
  position: absolute; top: calc(100% + 0.55rem); right: 0; z-index: 9000; min-width: 12.5rem;
  display: flex; flex-direction: column; padding: 0.35rem 0; background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.18); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
header.bar .acc-mm-panel[hidden] { display: none !important; }
header.bar .acc-mm-panel a { display: block; padding: 0.55rem 1rem; white-space: nowrap; font-size: 1rem; color: rgba(255,255,255,0.88); }
header.bar .acc-mm-panel a[hidden] { display: none !important; }
header.bar .acc-mm-panel a:hover, header.bar .acc-mm-panel a:focus-visible { background: rgba(255,255,255,0.08); color: #4fb66a; outline: none; }
.acc-setpw-note {
  max-width: 44rem; margin: -1rem auto 1.25rem; padding: 0.65rem 1rem; border-left: 4px solid var(--teal, #1a747b);
  background: #eef7f6; color: var(--navy, #0d2a4a); font-size: 0.95rem;
}
.acc-setpw-note a { color: var(--teal, #1a747b); font-weight: 700; margin-left: 0.35rem; }

/* —— Member area pages (profile / proposals / invite / admin tools) —— */
.acc-page { max-width: 44rem; margin: 0 auto; padding: 0 1.25rem 2.5rem; }
.acc-page.wide { max-width: 64rem; }
.acc-page h1 { color: var(--navy, #0d2a4a); font-size: clamp(1.4rem, 3vw, 1.85rem); letter-spacing: 0.04em; text-transform: uppercase; margin: 0.25rem 0 1rem; }
.acc-page h2 { color: var(--navy, #0d2a4a); font-size: 1.15rem; margin: 1.75rem 0 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
.acc-page p { line-height: 1.55; }
.acc-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
@media (max-width: 560px) { .acc-form .row2 { grid-template-columns: 1fr; } }
.acc-form label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy, #0d2a4a); margin: 0.6rem 0 0.25rem; }
.acc-form input[type=text], .acc-form input[type=email], .acc-form input[type=tel], .acc-form input[type=password], .acc-form select, .acc-form textarea {
  width: 100%; box-sizing: border-box; padding: 0.55rem 0.65rem; border: 1px solid #c9d2da; border-radius: 4px; font: inherit; background: #fff;
}
.acc-form textarea { min-height: 7rem; }
.acc-form .check { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.75rem; font-size: 0.95rem; }
.acc-btn { display: inline-block; margin-top: 1rem; padding: 0.65rem 1.35rem; border: 0; border-radius: 4px; background: var(--navy, #0d2a4a); color: #fff; font: inherit; font-weight: 700; letter-spacing: 0.04em; cursor: pointer; text-decoration: none; }
.acc-btn:hover { background: var(--teal, #1a747b); color: #fff; }
.acc-btn.secondary { background: #fff; color: var(--navy, #0d2a4a); border: 1px solid var(--navy, #0d2a4a); }
.acc-btn[disabled] { opacity: 0.6; cursor: default; }
.acc-msg { margin-top: 0.85rem; padding: 0.6rem 0.85rem; border-radius: 4px; font-size: 0.95rem; }
.acc-msg.ok { background: #e7f5ea; color: #1d5b2c; }
.acc-msg.err { background: #fbeaea; color: #8a1f1f; }
.acc-msg[hidden] { display: none; }
.acc-hint { font-size: 0.85rem; color: var(--muted, #5a6570); margin: 0.25rem 0 0; }
.acc-proposal-intro p { margin: 0 0 0.9rem; }
.acc-proposal-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1.25rem 0; }
.acc-proposal-frame { width: 100%; height: 75vh; min-height: 28rem; border: 1px solid #d5dbe1; border-radius: 4px; background: #f4f6f8; }
.acc-list { list-style: none; padding: 0; margin: 0; }
.acc-list li { padding: 0.85rem 0; border-bottom: 1px solid #e3e7eb; }
.acc-list a { color: var(--navy, #0d2a4a); font-weight: 700; text-decoration: none; }
.acc-list a:hover { color: var(--teal, #1a747b); }
.acc-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.acc-table th, .acc-table td { text-align: left; padding: 0.45rem 0.5rem; border-bottom: 1px solid #e3e7eb; vertical-align: top; }
.acc-table th { color: var(--navy, #0d2a4a); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.acc-linkbox { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.acc-linkbox input { flex: 1; font-family: ui-monospace, monospace; font-size: 0.85rem; }
.acc-card { border: 1px solid #e3e7eb; border-radius: 6px; padding: 1rem 1.25rem; margin: 1rem 0; background: #fff; }

/* —— Proposal web edition (scott-proposal-web, 2026-09-29) ——
 * Rendered by js/proposal-rich.js from the owner-only content API. Hero → sections (image
 * left/right or full-width banner) → Download PDF. Brand: navy headings, Poppins UI, Lato body. */
.prop-rich[hidden] { display: none; }
.prop-rich { --pr-ink: #25313c; --pr-rule: #e4e8ec; --pr-max: 74rem; color: var(--pr-ink); }
.prop-rich-crumbs { max-width: var(--pr-max); margin: 0 auto; padding: 1rem 1.5rem 0.75rem; }
.prop-rich-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 500px at 85% 20%, rgba(26,116,123,0.55), transparent 60%),
              linear-gradient(160deg, #123a63 0%, var(--navy, #0d2a4a) 55%, #081b31 100%);
}
.prop-rich-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.2px, transparent 1.3px); background-size: 22px 22px;
}
.prop-rich-hero::after { /* perforated bottom edge */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 14px;
  background: radial-gradient(circle at 12px 14px, #fff 7px, transparent 7.5px) 0 0 / 24px 14px repeat-x;
}
.prop-rich-hero-inner { position: relative; max-width: var(--pr-max); margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) 1.5rem clamp(4.5rem, 10vw, 8.5rem); }
.prop-rich-hero-art { position: absolute; right: 0; top: 50%; width: min(34vw, 440px); height: auto; transform: translateY(-50%); pointer-events: none; }
.prop-rich-eyebrow, .prop-rich-hero h1, .prop-rich-sub { position: relative; }
.prop-rich-eyebrow { font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #9fd0cc; margin: 0 0 1.25rem; }
.prop-rich-eyebrow::before { content: ""; display: inline-block; width: 2.5rem; height: 2px; background: #9fd0cc; vertical-align: middle; margin-right: 0.85rem; }
.prop-rich-hero h1 {
  font-family: var(--font-ui); font-weight: 600; color: #fff; margin: 0; max-width: 18ch;
  font-size: clamp(2.1rem, 5.6vw, 4.25rem); line-height: 1.08; letter-spacing: 0.01em; text-transform: none;
}
.prop-rich-sub { font-family: var(--font-body); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: #d6e3ee; max-width: 40rem; margin: 1.5rem 0 0; }

.prop-rich-toc { max-width: var(--pr-max); margin: 0 auto; padding: 3rem 1.5rem 0; }
.prop-rich-toc h2 { font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted, #5a6570); margin: 0 0 1rem; }
.prop-rich-toc ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.2rem 2rem; counter-reset: toc; }
.prop-rich-toc li { counter-increment: toc; border-top: 1px solid var(--pr-rule); }
.prop-rich-toc a { display: flex; gap: 0.85rem; padding: 0.7rem 0; font-family: var(--font-ui); font-size: 0.95rem; font-weight: 500; color: var(--navy, #0d2a4a); text-decoration: none; }
.prop-rich-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--teal, #1a747b); font-weight: 600; font-size: 0.8rem; padding-top: 0.12rem; }
.prop-rich-toc a:hover { color: var(--teal, #1a747b); }

.prop-rich-body { max-width: var(--pr-max); margin: 0 auto; padding: 1rem 1.5rem 2rem; counter-reset: sub; }
.prop-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: clamp(1.75rem, 3.5vw, 3rem); /* half prior top (David 2026-10-06) */ padding-bottom: clamp(2.333rem, 4.667vw, 4rem); /* 2/3 prior bottom */ padding-left: 0; padding-right: 0; border-top: 1px solid var(--pr-rule); scroll-margin-top: 1rem; }
.prop-rich-body > .prop-sec:first-child { border-top: 0; }
.prop-sec.layout-right { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.prop-sec.layout-right .prop-sec-media { order: 2; }
.prop-sec.layout-none, .prop-sec.no-image { grid-template-columns: minmax(0, 1fr); }
.prop-sec-media { position: sticky; top: 1.5rem; margin: 0; }
.prop-sec-media img, .prop-sec-media .ph { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 14px; background: #0d2a4a; box-shadow: 0 24px 48px -28px rgba(8,27,49,0.55); }
.prop-sec-text { max-width: 40rem; }
.prop-sec h2, .prop-sec h3 { font-family: var(--font-ui); color: var(--navy, #0d2a4a); margin: 0 0 0.7rem; /* half prior (David 2026-10-06 subheads) */ text-transform: none; letter-spacing: 0.005em; }
.prop-sec h2 { font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 600; line-height: 1.2; letter-spacing: 0.005em; }
.prop-sec h2::before { content: ""; display: block; width: 3rem; height: 3px; background: var(--teal, #1a747b); margin-bottom: 1.25rem; border-radius: 2px; }
.prop-sec h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 600; line-height: 1.25; }
/* No gray rule under a level-2 banner when the next block is its first subhead (e.g. ADDITIONAL WORK → A. Purpose). David 2026-10-06. */
.prop-sec.level-2 + .prop-sec.level-3 { border-top: 0 !important; }
.prop-sec.level-3 { counter-increment: sub; padding-top: clamp(0.6875rem, 1.375vw, 1.125rem); /* half prior subhead pad */ padding-bottom: clamp(0.34rem, 0.69vw, 0.56rem); /* half of top: less space at end than start (David 2026-10-06) */ padding-left: 0; padding-right: 0; }
.prop-sec.level-3 h3::before { content: counter(sub, decimal-leading-zero); display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.2em; color: var(--teal, #1a747b); margin-bottom: 0.3rem; /* half */ }
.prop-sec p, .prop-sec li { font-family: var(--font-body); font-size: 1.08rem; line-height: 1.78; color: var(--pr-ink); }
.prop-sec p { margin: 0 0 1.2rem; }
.prop-sec ul, .prop-sec ol { margin: 0.2rem 0 1.5rem; padding: 0; list-style: none; }
.prop-sec ul li, .prop-sec ol li { position: relative; padding: 0.15rem 0 0.15rem 1.9rem; margin: 0 0 0.55rem; }
.prop-sec ul li::before { content: ""; position: absolute; left: 0.35rem; top: 0.82em; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--teal, #1a747b); box-shadow: 0 0 0 4px #e8f2f2; }
.prop-sec blockquote { margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid var(--teal, #1a747b); font-size: 1.2rem; color: var(--navy, #0d2a4a); }
/* banner sections: full-width image, then a single centred reading column */
.prop-sec.layout-banner { grid-template-columns: minmax(0, 1fr); gap: 0; }
.prop-sec.layout-banner .prop-sec-media { position: static; margin: 0 0 clamp(2.25rem, 5vw, 3.5rem); }
.prop-sec.layout-banner .prop-sec-media img, .prop-sec.layout-banner .prop-sec-media .ph { aspect-ratio: 8 / 3; border-radius: 18px; }
.prop-sec.layout-banner .prop-sec-text { max-width: 44rem; margin: 0 auto; }
.prop-sec.layout-banner.level-2 .prop-sec-text > p:first-of-type { font-size: 1.2rem; color: #1d2934; }
.prop-sec-media .ph { animation: prop-ph 1.4s ease-in-out infinite alternate; }
/* wide editorial mode (proposal-rich.js sets it when the proposal has its own hero image) */
.prop-rich--wide .prop-rich-hero::after { display: none; }
.prop-rich--wide .prop-rich-hero { background: #F7F5F2; color: #0B2E63; }
.prop-rich--wide .prop-rich-hero::before { display: none; }
.prop-rich--wide .prop-rich-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.prop-rich--wide .prop-rich-hero-inner { z-index: 1; }
.prop-rich--wide .prop-rich-hero-inner::before { content: ""; position: absolute; inset: 0 -50vw; z-index: -1; background: linear-gradient(90deg, rgba(247,245,242,0.97) 0%, rgba(247,245,242,0.85) 38%, rgba(247,245,242,0) 58%); }
.prop-rich--wide .prop-rich-hero h1 { color: #0B2E63; }
.prop-rich--wide .prop-rich-sub { color: #33415c; }
.prop-rich--wide .prop-rich-eyebrow { color: #FC490B; }
.prop-rich--wide .prop-rich-eyebrow::before { background: #FC490B; }
.prop-rich--wide .prop-rich-hero h1 { max-width: 14ch; }
.prop-rich--wide .prop-sec, .prop-rich--wide .prop-sec.layout-right { display: block; max-width: 72rem; margin: 0 auto; }
.prop-rich--wide .prop-sec > h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); color: #0B2E63; line-height: 1.12; text-wrap: balance; }
.prop-rich--wide .prop-sec > h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); color: #0B2E63; text-wrap: balance; }
.prop-rich--wide .prop-sec > h2, .prop-rich--wide .prop-sec > h3 { margin-bottom: 0.8rem; /* half (David 2026-10-06) */ }
.prop-rich--wide .prop-sec-media { position: static; margin: 0 0 clamp(1.75rem, 4vw, 2.75rem); }
.prop-rich--wide .prop-sec .prop-sec-media img, .prop-rich--wide .prop-sec .prop-sec-media .ph, .prop-rich--wide .prop-sec.layout-banner .prop-sec-media img { aspect-ratio: 2 / 1; border-radius: 18px; background: #F7F5F2; box-shadow: 0 10px 30px rgba(90,60,30,0.10); }
.prop-rich--wide .prop-sec .prop-sec-text, .prop-rich--wide .prop-sec.layout-banner .prop-sec-text { max-width: none; margin: 0; }
.prop-rich--wide .prop-sec h2::before, .prop-rich--wide .prop-rich-toc a::before { background: #ee6a1f; color: #ee6a1f; }
.prop-rich--wide .prop-sec h2::before { color: transparent; }
.prop-rich--wide .prop-sec.level-3 h3::before { color: #ee6a1f; }
.prop-rich--wide .prop-rich-download-card { background: #0B2E63; }
.prop-rich--wide .prop-sec p, .prop-rich--wide .prop-sec li { text-wrap: pretty; }
.prop-rich--wide .prop-sec.level-2 { padding-top: clamp(2.5rem, 5vw, 4.25rem); /* half prior (David 2026-10-06) */ }
.prop-rich--wide .prop-sec, .prop-rich--wide .prop-sec.level-3 { padding-bottom: clamp(0.4165rem, 0.8335vw, 0.6665rem); /* half of prior 2/3 */ }
.prop-rich--wide .prop-sec-text > :last-child { margin-bottom: 0; }
.prop-sec ol li.pr-src { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); padding: 0; margin: 0 0 0.95rem; font-size: 0.98rem; line-height: 1.6; }
.prop-sec ol li.pr-src .pr-src-n { font-weight: 700; color: #0B2E63; }
.prop-sec ol li.pr-src .pr-src-t { color: #111; font-weight: 700; }
.prop-sec ol li.pr-src .pr-src-m { color: #5b6472; }
.prop-sec li a { color: #c4520f; text-decoration: none; overflow-wrap: anywhere; }
.prop-sec li a:hover { text-decoration: underline; }
@media (max-width: 860px) { .prop-rich--wide .prop-sec .prop-sec-media img, .prop-rich--wide .prop-sec.layout-banner .prop-sec-media img { aspect-ratio: 2 / 1; border-radius: 12px; } .prop-rich--wide .prop-rich-hero-inner::before { background: rgba(247,245,242,0.86); } }
@keyframes prop-ph { from { opacity: 0.55; } to { opacity: 0.85; } }

.prop-rich-download { max-width: var(--pr-max); margin: 0 auto; padding: 0 1.5rem 4.5rem; }
.prop-rich-download-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
  padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #123a63, var(--navy, #0d2a4a) 60%, #0f4a55);
}
.prop-rich-download-card h2 { font-family: var(--font-ui); color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 600; margin: 0; }
.prop-rich-download-card .acc-hint { color: #bcd0e0; margin-top: 0.4rem; }
.prop-rich-download-card .acc-btn { margin: 0; background: #fff; color: var(--navy, #0d2a4a); padding: 0.85rem 1.75rem; border-radius: 999px; }
.prop-rich-download-card .acc-btn:hover { background: #9fd0cc; color: var(--navy, #0d2a4a); }

@media (min-width: 861px) { .prop-rich-hero h1 { max-width: min(16ch, calc(100% - min(34vw, 440px) - 1rem)); } }
@media (max-width: 860px) {
  .prop-rich-hero-art { display: none; }
  .prop-sec, .prop-sec.layout-right { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .prop-sec.layout-right .prop-sec-media { order: 0; }
  .prop-sec-media { position: static; }
  .prop-sec.layout-banner .prop-sec-media img, .prop-sec.layout-banner .prop-sec-media .ph { aspect-ratio: 16 / 9; border-radius: 12px; }
  .prop-sec-media img, .prop-sec-media .ph { border-radius: 12px; }
}
@media (max-width: 520px) {
  .prop-rich-hero-inner, .prop-rich-toc, .prop-rich-body, .prop-rich-download, .prop-rich-crumbs { padding-left: 1.25rem; padding-right: 1.25rem; }
  .prop-sec p, .prop-sec li { font-size: 1.04rem; line-height: 1.72; }
  .prop-rich-toc ol { grid-template-columns: 1fr; }
  .prop-rich-download-card .acc-btn { width: 100%; text-align: center; }
}
@media print {
  .prop-rich-toc, .prop-rich-download { display: none; }
  .prop-sec-media { position: static; }
  .prop-sec { break-inside: avoid-page; }
}

/* ── Admin proposal cards (desk section + admin-proposals.html), 2026-09-29 ── */
.acc-prop-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.acc-prop-head h1 { margin-bottom: 0.25rem; }
.acc-prop-head .acc-btn { margin-top: 0; }
.acc-prop-toggle { margin: 0.6rem 0 0.4rem; font: 500 0.9rem var(--font-ui); color: var(--muted); }
.acc-prop-toggle label { display: inline-flex; align-items: center; gap: 0.45rem; cursor: pointer; }
.acc-prop-toggle input[type="checkbox"] { width: auto !important; height: auto; margin: 0 !important; padding: 0; flex: 0 0 auto; accent-color: var(--teal); }
.acc-prop-toggle label { white-space: nowrap; font-weight: 500; }
.apc-test { background: #fde8e8; color: #9b2c2c; }
.acc-prop-filters { display: flex; gap: 0.5rem; margin: 0.75rem 0 1rem; flex-wrap: wrap; }
.acc-prop-filter { font: 500 0.85rem var(--font-ui); border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 0.35rem 0.9rem; cursor: pointer; }
.acc-prop-filter.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.acc-prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 1.1rem; margin: 1rem 0 2rem; }
a.acc-prop-card { display: flex; flex-direction: column; gap: 0.8rem; padding: 1.15rem 1.2rem 1rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: 12px; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(13, 42, 74, 0.06); transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s; min-height: 13rem; }
a.acc-prop-card:hover, a.acc-prop-card:focus-visible { box-shadow: 0 8px 22px rgba(13, 42, 74, 0.13); transform: translateY(-2px); border-color: #b9c7c8; border-top-color: var(--teal); }
a.acc-prop-card.st-withdrawn { border-top-color: #9aa3ab; background: #fafafa; }
.apc-top { display: flex; align-items: center; gap: 0.7rem; }
.apc-avatar { flex: 0 0 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 600 0.9rem var(--font-ui); letter-spacing: 0.02em; }
.apc-who { display: flex; flex-direction: column; min-width: 0; }
.apc-who strong { font: 600 1rem var(--font-ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apc-who span { font-size: 0.82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apc-title { font: 600 1.12rem/1.35 var(--font-ui); color: var(--navy); flex: 1; }
.apc-meta { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.apc-chip { font: 600 0.72rem var(--font-ui); text-transform: uppercase; letter-spacing: 0.05em; padding: 0.22rem 0.55rem; border-radius: 999px; }
.apc-published { background: #e3f4e8; color: #1e6b37; }
.apc-withdrawn { background: #eceef0; color: #59636c; }
.apc-draft { background: #fff3d6; color: #7a5a00; }
.apc-kind.web { background: var(--accent-soft); color: var(--teal); }
.apc-kind.pdf { background: #edf1f8; color: #2f4f86; }
.apc-date { font-size: 0.85rem; color: var(--muted); margin-left: auto; }
.apc-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eef0f1; padding-top: 0.65rem; font-size: 0.85rem; color: var(--muted); }
.apc-open { color: var(--teal); font-weight: 600; font-family: var(--font-ui); }
a.acc-prop-card:hover .apc-open { text-decoration: underline; }
.acc-prop-adminbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; margin: 0 auto; padding: 0.55rem 1.25rem; background: #0d2a4a; color: #fff; font: 500 0.88rem var(--font-ui); }
.acc-prop-adminbar a { color: #9fd0cc; }
.acc-prop-adminbar .apc-chip { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* —— Footer sits at the viewport bottom on short pages (David 2026-09-29 8:52 PM) ——
   The footer's parent (body > .wrap, or body on lesson/contact) is at least one screen tall, and the
   footer is sticky with top:100vh, which pins it to the bottom of that parent. On long pages the footer
   is already the last thing in its parent, so nothing moves. The chrome's look is unchanged. */
body { min-height: 100vh; min-height: 100dvh; }
body > .wrap:has(> #acc-footer) { min-height: 100vh; min-height: 100dvh; }
#acc-footer { position: sticky; top: 100vh; top: 100dvh; }


/* ===== SITE TEMPLATE: one content gutter, both sides, every page (David 2026-10-01) =====
   Rule: only #acc-header, #acc-title-band, #acc-footer and elements marked [data-fullbleed]
   may touch the screen edge. Every other block sits inside --acc-side / --acc-side-r.
   New pages: put copy in .acc-content or a direct child of .wrap listed here; run scripts/edge-test.py. */
body.desk-page > .wrap > #desk-admin-proposals,
body.desk-page > .wrap > #desk-new-posts-wrap,
body.desk-page > .wrap > #desk-your-proposal {
  margin-left: var(--acc-side) !important;
  margin-right: var(--acc-side-r) !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box !important;
}
body.desk-page > .wrap > #desk-admin-proposals > .desk-section-bar,
body.desk-page > .wrap > #desk-new-posts-wrap > .desk-section-bar {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: auto !important;
}
/* White space between the title band and the first line (HELLO …) */
body.desk-page > .wrap > .desk-brief-stack { margin-top: 2rem !important; }
/* Proposal page: admin bar and crumbs inside the gutter */
.acc-prop-adminbar,
p.crumbs.prop-rich-crumbs {
  padding-left: var(--acc-side) !important;
  padding-right: var(--acc-side-r) !important;
  box-sizing: border-box !important;
}

/* SITE TEMPLATE: never force a sideways scroll in the menu. On narrower screens the menu
   wraps onto a second line under the logo (David 2026-10-01). */
@media (max-width: 1400px) {
  header.bar {
    flex-wrap: wrap !important;
    row-gap: 0.55rem !important;
    overflow: visible !important;
    height: auto !important;
  }
  header.bar .bar-tools {
    flex-wrap: wrap !important;
    white-space: normal !important;
    overflow: visible !important;
    flex: 0 0 auto !important;
    justify-content: flex-start !important;
    max-width: 100% !important;
    min-width: 0 !important;
    row-gap: 0.45rem !important;
    column-gap: 1rem !important;
  }
  header.bar .bar-tools a,
  header.bar .bar-tools .auth-member { white-space: nowrap; }
}

/* Frontier News (David 2026-10-01): daily cards per model family above New posts */
.fn-chip {
  display: inline-block; color: #fff; font: 700 0.72rem var(--font-ui, sans-serif);
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.28rem 0.6rem; border-radius: 0.35rem;
}
#desk-frontier-wrap[hidden] { display: none !important; }
#desk-frontier-wrap > .desk-section-bar { margin: 1.5rem 0 0; }
#desk-frontier-wrap .fn-dateline { margin: 0.9rem 0 0; color: #5c6567; font-size: 0.9rem; }
#desk-frontier {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem 1rem; margin: 0.8rem 0 0.4rem;
}
@media (max-width: 900px) { #desk-frontier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #desk-frontier { grid-template-columns: 1fr; } }
a.fn-card {
  display: flex; flex-direction: column; gap: 0.5rem; text-decoration: none; color: inherit;
  padding: 1rem 1.1rem 1.05rem; border-radius: 0.75rem; border: 1px solid #d8e0e3;
  border-top: 4px solid var(--fn-c, #0d2a4a); background: #fff;
  box-shadow: 0 3px 12px rgba(13, 42, 74, 0.06); transition: box-shadow 0.18s ease, transform 0.18s ease;
}
a.fn-card:hover { box-shadow: 0 8px 22px rgba(13, 42, 74, 0.14); transform: translateY(-1px); }
a.fn-card .fn-chip { align-self: flex-start; }
a.fn-card h3 { margin: 0; font: 800 1.02rem/1.25 var(--font-ui, sans-serif); color: #0d2a4a; text-transform: uppercase; }
a.fn-card .fn-sum { margin: 0; color: #5c6567; font-size: 0.92rem; line-height: 1.4; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
a.fn-card .fn-more { font: 600 0.88rem var(--font-ui, sans-serif); color: var(--teal, #1a747b); }
body.desk-page > .wrap > #desk-frontier-wrap {
  margin-left: var(--acc-side) !important; margin-right: var(--acc-side-r) !important;
  width: auto !important; max-width: none !important; box-sizing: border-box !important;
}

/* Gold accent (Semkhor's own proposals, 2026-10-01): replaces the orange accents of the wide mode. */
.prop-rich--gold .prop-rich-eyebrow { color: #9c7d14; }
.prop-rich--gold .prop-rich-eyebrow::before { background: #C9A227; }
.prop-rich--gold .prop-sec h2::before, .prop-rich--wide.prop-rich--gold .prop-sec h2::before { background: #C9A227; }
.prop-rich--gold .prop-rich-toc a::before, .prop-rich--wide.prop-rich--gold .prop-rich-toc a::before { background: none; color: #9c7d14; }
.prop-rich--gold .prop-sec h2::before { color: transparent; }
.prop-rich--gold .prop-sec.level-3 h3::before { color: #9c7d14; }
.prop-rich--gold .prop-sec ul li::before { background: #C9A227; box-shadow: 0 0 0 4px #f5efd9; }
/* Wide hero: keep the subtitle clear of the hero art on desktop widths. */
@media (min-width: 861px) { .prop-rich--wide .prop-rich-sub { max-width: min(34rem, calc(48vw - 7rem)); } }
@media (min-width: 861px) and (max-width: 1200px) { .prop-rich--wide .prop-rich-hero h1 { font-size: clamp(2.1rem, 4.6vw, 4.25rem); } }

/* Auth kit (2026-10-01): eye toggle colors + "Forgot password?" link — match Acc navy/teal. */
:root { --authkit-eye-color: var(--navy, #0d2a4a); --authkit-eye-hover: var(--teal, #1a747b); --authkit-eye-focus: rgba(26, 116, 123, 0.45); }
.authkit-forgot-row { margin: 0.45rem 0 0; text-align: right; font-size: 0.9rem; }
.authkit-forgot { color: var(--teal, #1a747b); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.authkit-forgot:hover { color: var(--navy, #0d2a4a); }
.authkit-page .acc-btn.secondary { margin-left: 0.5rem; }
.acc-login-modal .authkit-pw > input.field { padding-right: 2.9rem; }

/* ===== Webinar banner + event page (preview 2026-10-02, David reviews before promote) =====
   Hidden unless data/webinars.json has an active, future entry (public/webinar.js).
   Template: nav / title band / footer full width; everything else inside --acc-side gutter. */
#desk-webinar[hidden] { display: none !important; }
body.desk-page > .wrap > #desk-webinar {
  margin: 2rem var(--acc-side-r) 0 var(--acc-side) !important;
  width: auto !important; max-width: none !important; box-sizing: border-box !important;
}
a.wb-banner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.5rem;
  text-decoration: none; color: #fff; border-radius: 14px; padding: 1.25rem 1.6rem;
  background:
    radial-gradient(ellipse 60% 90% at 88% 20%, rgba(85, 231, 146, 0.28), transparent 60%),
    linear-gradient(120deg, #0d2a4a 0%, #13405f 55%, #1a747b 100%);
  box-shadow: 0 10px 28px rgba(13, 42, 74, 0.18); transition: box-shadow 0.18s ease, transform 0.18s ease;
}
a.wb-banner:hover { box-shadow: 0 14px 34px rgba(13, 42, 74, 0.26); transform: translateY(-1px); }
.wb-banner-face { width: 5.25rem; height: 5.25rem; border-radius: 50%; background: #fff; padding: 0.3rem; box-sizing: border-box; }
.wb-banner-text { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.wb-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0;
  font: 700 0.74rem var(--font-ui, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: #a5fd92;
}
.wb-test {
  display: inline-block; font: 800 0.66rem var(--font-ui, sans-serif); letter-spacing: 0.12em; color: #0d2a4a;
  background: #f5c542; border-radius: 0.3rem; padding: 0.16rem 0.45rem; vertical-align: middle;
}
.wb-banner-title { font: 800 clamp(1.15rem, 2.2vw, 1.5rem)/1.2 var(--font-ui, sans-serif); text-transform: uppercase; letter-spacing: 0.03em; }
.wb-banner-when { font: 600 0.92rem var(--font-ui, sans-serif); color: rgba(255, 255, 255, 0.9); }
.wb-banner-sum { font-size: 0.95rem; line-height: 1.5; color: rgba(255, 255, 255, 0.86); max-width: 46rem; }
.wb-banner-cta {
  justify-self: end; white-space: nowrap; font: 700 0.95rem var(--font-ui, sans-serif); color: #0d2a4a;
  background: #55e792; border-radius: 999px; padding: 0.7rem 1.2rem;
}
@media (max-width: 760px) {
  a.wb-banner { grid-template-columns: auto minmax(0, 1fr); padding: 1.1rem 1.15rem; }
  .wb-banner-face { width: 3.6rem; height: 3.6rem; align-self: start; }
  .wb-banner-cta { grid-column: 1 / -1; justify-self: start; }
}

/* Event page (webinar.html) */
body.webinar-page > .wrap > article.wb-full { max-width: 68rem !important; margin-top: 1.75rem !important; }
body.webinar-page .spec-crumbs-bar .crumbs { max-width: 68rem; }
.wb-test-ribbon {
  margin: 0 0 1.5rem; padding: 0.75rem 1rem; border-radius: 0.6rem; font-size: 0.92rem; line-height: 1.45;
  background: #fff8dc; border: 1px solid #ecd27a; color: #5c4a0c;
}
.wb-hero { margin: 0 0 2rem; }
.wb-production { display: block; width: min(15rem, 60%); height: auto; margin: 0 0 1.75rem; }
.wb-hero-grid { display: grid; grid-template-columns: minmax(14rem, 22rem) minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
.wb-speaker { margin: 0; text-align: center; }
.wb-speaker img {
  display: block; width: 100%; aspect-ratio: 1; height: auto; margin: 0 auto 0.9rem; border-radius: 50%;
  background: #fff; border: 1px solid #dfe7ee; padding: 9%; box-sizing: border-box;
  box-shadow: 0 12px 34px rgba(13, 42, 74, 0.12);
}
.wb-speaker figcaption { display: flex; flex-direction: column; gap: 0.2rem; }
.wb-speaker figcaption strong { font: 800 1.15rem var(--font-ui, sans-serif); color: #0d2a4a; }
.wb-speaker figcaption span { color: #5c6567; font-size: 0.92rem; }
.wb-hero-copy .wb-eyebrow { color: var(--teal, #1a747b); }
.wb-hero-copy h1 {
  margin: 0.5rem 0 0.75rem; font: 800 clamp(1.8rem, 4.2vw, 2.9rem)/1.1 var(--font-ui, sans-serif);
  color: #0d2a4a; text-transform: uppercase; letter-spacing: 0.02em;
}
.wb-lede { margin: 0 0 1.25rem; font-size: 1.12rem; line-height: 1.55; color: #1f2a2e; }
.wb-when { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0.5rem 2rem; margin: 0 0 1.4rem; }
.wb-when dt { font: 700 0.72rem var(--font-ui, sans-serif); letter-spacing: 0.14em; text-transform: uppercase; color: #5c6567; }
.wb-when dd { margin: 0.2rem 0 0; font: 700 1rem var(--font-ui, sans-serif); color: #0d2a4a; }
.wb-register-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; }
.wb-register {
  display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0.75rem 2rem;
  border-radius: 999px; background: #2e5b9a; color: #fff; text-decoration: none;
  font: 700 1rem var(--font-ui, sans-serif); letter-spacing: 0.06em; text-transform: uppercase;
}
.wb-register.is-placeholder { cursor: default; opacity: 0.88; }
.wb-register-note { color: #5c6567; font-size: 0.9rem; }
.wb-subject { margin: 0 0 2.25rem; }
.wb-subject img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 55%; border-radius: 14px; }
.wb-section { margin: 0 0 2rem; max-width: 46rem; }
.wb-section h2 {
  margin: 0 0 0.75rem; font: 700 1.05rem var(--font-ui, sans-serif); color: #0d2a4a;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.wb-section p { margin: 0 0 1rem; line-height: 1.65; }
ul.wb-takeaways { margin: 0; padding-left: 1.25rem; }
ul.wb-takeaways li { margin: 0 0 0.55rem; line-height: 1.55; }
ul.wb-takeaways li::marker { color: var(--teal, #1a747b); }
.wb-bio { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start;
  background: #f1f8f6; border: 1px solid #b7d4c8; border-radius: 0.75rem; padding: 1.25rem 1.4rem; }
.wb-bio-face { width: 5.5rem; height: 5.5rem; border-radius: 50%; background: #fff; padding: 0.35rem; box-sizing: border-box; }
.wb-bio p:last-child { margin-bottom: 0; }
.wb-register-foot { margin: 0 0 1.5rem; }
@media (max-width: 760px) {
  .wb-hero-grid { grid-template-columns: 1fr; }
  .wb-speaker { max-width: 15rem; margin: 0 auto; }
  .wb-when { grid-template-columns: 1fr 1fr; }
  .wb-bio { grid-template-columns: 1fr; }
}

/* —— Header "Events" item (preview 2026-10-02, David): blue, shown only while an event is active (chrome.js) —— */
header.bar .acc-ev { position: relative; display: inline-flex; align-items: center; }
header.bar .acc-ev[hidden], header.bar .acc-ev [hidden] { display: none !important; }
header.bar .bar-tools a.acc-ev-link,
header.bar .acc-ev-btn {
  color: #5aa9ff; font-weight: 700; letter-spacing: 0.02em; text-decoration: none;
}
header.bar .acc-ev-btn {
  display: inline-flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0;
  border: 0; background: transparent; cursor: pointer; line-height: inherit;
  font-family: inherit; font-size: 1.08rem;
}
header.bar .bar-tools a.acc-ev-link:hover, header.bar .bar-tools a.acc-ev-link:focus-visible,
header.bar .acc-ev-btn:hover, header.bar .acc-ev-btn:focus-visible,
header.bar .bar-tools a.acc-ev-link.here, header.bar .acc-ev-btn.here { color: #9ccbff; outline: none; }
header.bar .acc-ev-caret { font-size: 0.7rem; }
header.bar .acc-ev-panel {
  position: absolute; top: calc(100% + 0.55rem); left: 0; z-index: 9000; min-width: 16rem;
  max-width: calc(100vw - 2rem); display: flex; flex-direction: column; padding: 0.35rem 0;
  background: #0a0a0a; border: 1px solid rgba(255,255,255,0.18); border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
header.bar .acc-ev-panel a {
  display: block; padding: 0.55rem 1rem; white-space: normal; text-decoration: none;
  color: rgba(255,255,255,0.92); border-left: 3px solid transparent;
}
header.bar .acc-ev-panel a:hover, header.bar .acc-ev-panel a:focus-visible {
  background: rgba(90,169,255,0.12); border-left-color: #5aa9ff; outline: none;
}
header.bar .acc-ev-title { display: block; font-size: 1rem; font-weight: 700; color: #5aa9ff; white-space: normal; }
header.bar .acc-ev-date { display: block; margin-top: 0.15rem; font-size: 0.85rem; color: rgba(255,255,255,0.7); white-space: nowrap; }


/* PHONE MEMBER ROW (2026-10-06, David approved "Proceed with menu fix"): at phone width the member
   icon, name and Sign out sit together on their own row under the links; a long name truncates
   with an ellipsis instead of running off the screen; header dropdowns open inside the screen.
   Locked bar unchanged: logo only · Home · SEMKHOR · Contact us · Sign in / Join → name + Sign out. */
header.bar .acc-mm-panel,
header.bar .acc-ev-panel { max-width: calc(100vw - 2rem); }
header.bar .acc-mm-panel.acc-panel-flip { left: 0; right: auto; }
header.bar .acc-ev-panel.acc-panel-flip { left: auto; right: 0; }
@media (max-width: 520px) {
  header.bar.auth-member-on .bar-tools::after {
    content: ""; order: 1; flex: 0 0 100%; height: 0; margin-top: -0.45rem;
  }
  header.bar.auth-member-on .bar-tools > #acc-member-menu-wrap,
  header.bar.auth-member-on .bar-tools > #auth-member,
  header.bar.auth-member-on .bar-tools > #signout { order: 2; }
  header.bar.auth-member-on #auth-member {
    display: inline-block !important; max-width: calc(100vw - 12rem);
    overflow: hidden; text-overflow: ellipsis; vertical-align: middle;
  }
  header.bar .acc-mm-panel { left: 0; right: auto; }
}

/* Section end: last block carries no bottom margin, so end space < start space (David 2026-10-06). */
.prop-sec .prop-sec-text > :last-child { margin-bottom: 0; }
.prop-sec.level-2 { padding-bottom: clamp(0.6rem, 1.2vw, 1rem); }
.prop-sec li strong.pr-ref { font-weight: 700; color: var(--navy, #0d2a4a); }
.prop-sec li strong.pr-label { font-weight: 700; color: var(--navy, #0d2a4a); }

/* ── Curriculum course view (school-curriculum-view.js, content data/curriculum/*.json) ──
   Course 1 first layout 2026-10-07: course band → six chapter cards (art + number + title + blurb)
   → Study Guides (open in new tab + download). Scoped to .curriculum-page .c1-*; no chrome here. */
.curriculum-page .c1 { margin: 0 0 2rem; }
.curriculum-page .c1-band {
  background: #0d2a4a; color: #fff;
  border-radius: 0.4rem;
  padding: 1.2rem 1.35rem 1.25rem;
}
.curriculum-page .c1-kicker {
  margin: 0 0 0.3rem;
  font-family: Poppins, Roboto, sans-serif;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #55e792;
}
.curriculum-page .c1-band h2 {
  margin: 0.1rem 0 0.45rem;
  font-family: Poppins, Roboto, sans-serif;
  font-size: clamp(1.85rem, 1.2rem + 2.6vw, 3rem); /* ~1.7x desktop (was 1.75rem); ~2rem at 390 */
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: #fff;
}
.curriculum-page .c1-partners {
  margin: 0; font-size: 0.92rem; font-weight: 600; color: #cfe7e3;
}
.curriculum-page .c1-format {
  display: inline-block; margin-left: 0.5rem;
  font-weight: 400; color: #a9c4c8;
}
.curriculum-page .c1-intro {
  margin: 0.7rem 0 0; max-width: 46rem;
  font-size: 1rem; line-height: 1.55; color: #fff;
}
.curriculum-page .c1-grid {
  list-style: none; margin: 1.1rem 0 1.5rem; padding: 0;
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.curriculum-page .c1-card {
  display: flex; flex-direction: column;
  border: 1px solid #d8dcdd; border-radius: 0.4rem;
  overflow: hidden; background: #fff;
}
.curriculum-page .c1-art {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
  background: #0a1630;
}
.curriculum-page .c1-card-body { padding: 0.85rem 1rem 1.1rem; }
.curriculum-page .c1-num {
  margin: 0 0 0.2rem;
  font-family: Poppins, Roboto, sans-serif;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #1a747b;
}
.curriculum-page .c1-card h3 {
  margin: 0 0 0.4rem;
  font-family: Poppins, Roboto, sans-serif;
  font-size: 1.05rem; line-height: 1.3;
  color: #0d2a4a;
}
.curriculum-page .c1-card p:not(.c1-num) {
  margin: 0; font-size: 0.9rem; line-height: 1.5; color: #3d4852;
}
.curriculum-page .c1-guides { margin-bottom: 0; }
.curriculum-page .c1-guides-intro {
  margin: 0; padding: 0.9rem 1.35rem 0.2rem;
  font-size: 0.92rem; color: #3d4852;
}
.curriculum-page .c1-actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end;
}
.curriculum-page .c1-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 6.5rem; min-height: 2.5rem; padding: 0.45rem 0.9rem;
  border-radius: 0.3rem; border: 1px solid #1a747b;
  font-family: Poppins, Roboto, sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.curriculum-page .c1-open { background: #fff; color: #1a747b; }
.curriculum-page .c1-dl { background: #1a747b; color: #fff; }
.curriculum-page .c1-btn:hover, .curriculum-page .c1-btn:focus-visible { background: #0d2a4a; border-color: #0d2a4a; color: #fff; }
.curriculum-page .c1-error {
  margin: 0; padding: 1rem 1.35rem;
  border: 1px solid #d8dcdd; border-radius: 0.4rem;
  color: #3d4852;
}
@media (max-width: 960px) {
  .curriculum-page .c1-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .curriculum-page .c1-grid { grid-template-columns: 1fr; }
  .curriculum-page .c1-format { display: block; margin: 0.15rem 0 0; }
  .curriculum-page .c1-guides .list li { grid-template-columns: auto 1fr; }
  .curriculum-page .c1-actions { grid-column: 1 / -1; justify-content: stretch; }
  .curriculum-page .c1-btn { flex: 1 1 0; }
}

/* ── Curriculum hub container + Starter Materials (2026-10-07) ──
   The shared `body > .wrap { padding-left/right: 0 }` full-bleed rule above beat the hub's inline
   `.wrap { padding: … var(--gutter) }`, so hub content sat flush on the left edge. Hub only
   (body.curriculum-hub = curriculum/index.html): centered 1200px column, 32px sides desktop,
   24px tablet, 16px phone. Lesson-plan / quiz shells keep their own textbook measure. */
body.curriculum-page.curriculum-hub > .wrap {
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: max(2rem, env(safe-area-inset-left));
  padding-right: max(2rem, env(safe-area-inset-right));
  box-sizing: border-box;
}
@media (max-width: 960px) {
  body.curriculum-page.curriculum-hub > .wrap {
    padding-left: max(1.5rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
}
@media (max-width: 600px) {
  body.curriculum-page.curriculum-hub > .wrap {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}
/* Starter Materials: one quiet heading below Course 1; older sections read secondary. */
.curriculum-page.c1-on .starter { margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid #d8dcdd; }
.curriculum-page .starter-head { margin: 0 0 1.1rem; }
.curriculum-page .starter-head h2 {
  margin: 0 0 0.3rem;
  font-family: Poppins, Roboto, sans-serif;
  font-size: 1.05rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #5a6570;
}
.curriculum-page .starter-head p { margin: 0; font-size: 0.95rem; color: #5a6570; max-width: 46rem; }
.curriculum-page.c1-on .starter .section-bar,
.curriculum-page.c1-on .starter .section-bar.teal,
.curriculum-page.c1-on .starter .section-bar.navy { background: #f4f5f5; border-bottom: 1px solid #d8dcdd; }
.curriculum-page.c1-on .starter .section-bar h2 { color: #0d2a4a; }

/* ── Course 1 polish + seat tiers (MTC demo, David 2026-10-06 11:48 PM) ──
   Hero band: deeper navy→teal with a lime accent and room to breathe; Ask Grok sits on the band (full tier) or a
   locked pill (unpaid preview). Cards: softer corners, lift + gentle art zoom on hover, Ask button pinned to the
   bottom. Study guides: row hover; unpaid preview shows one lock line + Locked pills instead of Open/Download. */
.curriculum-page .c1 { margin: 0.4rem 0 2.5rem; }
.curriculum-page .c1-band {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; gap: 1.5rem;
  padding: 2rem 2.25rem 2.1rem;
  border-radius: 0.85rem;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(26, 116, 123, 0.55) 0%, rgba(26, 116, 123, 0) 55%),
    linear-gradient(135deg, #0a2140 0%, #0d2a4a 55%, #0f3a52 100%);
  box-shadow: 0 10px 30px rgba(13, 42, 74, 0.18);
}
.curriculum-page .c1-band::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #55e792 0%, #1a9aa3 60%, rgba(26, 154, 163, 0) 100%);
}
.curriculum-page .c1-band-main { flex: 1 1 auto; min-width: 0; }
.curriculum-page .c1-band-actions { flex: none; display: flex; gap: 0.6rem; align-items: center; }
.curriculum-page .c1-band-actions:empty { display: none; }
.curriculum-page .c1-kicker { margin-bottom: 0.5rem; }
.curriculum-page .c1-intro { margin-top: 0.9rem; color: #e8f1f3; }
.curriculum-page button.c1-ask-course {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.7rem 1.3rem; margin: 0; width: auto;
  border: 0; border-radius: 999px; cursor: pointer;
  background: #fff; color: #0d2a4a;
  font-family: Poppins, Roboto, sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0;
  text-transform: none; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.curriculum-page button.c1-ask-course .spark { color: #4fb66a; font-size: 1.05rem; }
.curriculum-page button.c1-ask-course:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28); }
.curriculum-page button.c1-ask-course:focus-visible { outline: 3px solid #55e792; outline-offset: 3px; }

.curriculum-page .c1-grid { gap: 1.4rem; margin: 1.6rem 0 2.2rem; }
.curriculum-page .c1-card {
  border: 1px solid #e1e7ea; border-radius: 0.85rem;
  box-shadow: 0 1px 2px rgba(13, 42, 74, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.curriculum-page .c1-art { transition: transform 0.35s ease; transform-origin: 50% 60%; background: #eaf4f4; }
.curriculum-page .c1-card:hover, .curriculum-page .c1-card:focus-within {
  transform: translateY(-3px);
  border-color: #c9dadd;
  box-shadow: 0 14px 30px rgba(13, 42, 74, 0.12);
}
.curriculum-page .c1-card:hover .c1-art { transform: scale(1.035); }
.curriculum-page .c1-card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 1rem 1.15rem 1.15rem; }
.curriculum-page .c1-num {
  align-self: flex-start;
  margin: 0 0 0.55rem; padding: 0.2rem 0.55rem;
  border-radius: 999px; background: #e7f3f3;
}
.curriculum-page .c1-card h3 { margin-bottom: 0.5rem; }
.curriculum-page button.c1-ask-ch {
  align-self: flex-start; margin: auto 0 0; padding: 0.85rem 0 0; width: auto;
  border: 0; background: none; cursor: pointer;
  font-family: Poppins, Roboto, sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0;
  text-transform: none; color: #1a747b;
}
.curriculum-page button.c1-ask-ch span { color: #4fb66a; margin-right: 0.15rem; }
.curriculum-page button.c1-ask-ch:hover { color: #0d2a4a; text-decoration: underline; text-underline-offset: 3px; }
.curriculum-page button.c1-ask-ch:focus-visible { outline: 2px solid #1a747b; outline-offset: 3px; border-radius: 4px; }

.curriculum-page .c1-guides { border-radius: 0.85rem; overflow: hidden; }
.curriculum-page .c1-guides .list li { transition: background-color 0.15s ease; }
.curriculum-page .c1-guides .list li:hover { background: #f6fafa; }
.curriculum-page .c1-lock-note {
  display: flex; align-items: flex-start; gap: 0.6rem;
  margin: 1rem 1.35rem 0.4rem; padding: 0.8rem 1rem;
  border-radius: 0.6rem; background: #f1f7f7; border: 1px solid #d5e7e8;
  font-size: 0.95rem; line-height: 1.45; color: #0d2a4a; font-weight: 600;
}
.curriculum-page .c1-lock-note .c1-lock-ico { flex: none; margin-top: 0.15rem; color: #1a747b; }
.curriculum-page .c1-locked-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 2.5rem; padding: 0.4rem 0.95rem;
  border-radius: 999px; background: #eef2f3; color: #5a6570; border: 1px solid #dfe5e7;
  font-family: Poppins, Roboto, sans-serif; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
}
.curriculum-page .c1-locked-pill.on-dark {
  min-height: 3rem; padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.1); color: #e6f0f0; border-color: rgba(255, 255, 255, 0.28);
  font-size: 0.85rem; letter-spacing: 0.02em; text-transform: none;
}
.curriculum-page .c1-guide.is-locked h3 { color: #3d4852; }

@media (max-width: 760px) {
  .curriculum-page .c1-band { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.25rem 1.5rem; gap: 1.1rem; }
  .curriculum-page .c1-band-actions { width: 100%; }
  .curriculum-page button.c1-ask-course, .curriculum-page .c1-locked-pill.on-dark { width: 100%; justify-content: center; }
}
@media (max-width: 600px) {
  .curriculum-page .c1-grid { gap: 1.1rem; margin-top: 1.25rem; }
  .curriculum-page .c1-lock-note { margin: 0.9rem 1rem 0.3rem; font-size: 0.92rem; }
  .curriculum-page .c1-guide.is-locked .c1-actions { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .curriculum-page .c1-card, .curriculum-page .c1-art, .curriculum-page button.c1-ask-course { transition: none; }
  .curriculum-page .c1-card:hover, .curriculum-page .c1-card:focus-within { transform: none; }
  .curriculum-page .c1-card:hover .c1-art { transform: none; }
}

/* Course 1 chapter cards open the chapter text (David 2026-10-07, MTC demo) */
.curriculum-page .c1-card.is-linked, .curriculum-page .c1-card.is-locked-card { cursor: pointer; }
.curriculum-page .c1-card .c1-art-link { display: block; overflow: hidden; }
.curriculum-page .c1-card .c1-title-link { color: inherit; text-decoration: none; }
.curriculum-page .c1-card.is-linked:hover .c1-title-link { color: #1a747b; text-decoration: underline; text-underline-offset: 3px; }
.curriculum-page .c1-card-links { margin: auto 0 0; padding-top: 0.85rem; display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.curriculum-page .c1-card-links + button.c1-ask-ch { margin-top: 0.2rem; }
.curriculum-page a.c1-read { font-family: Poppins, Roboto, sans-serif; font-size: 0.95rem; font-weight: 700; color: #0d2a4a; text-decoration: none; }
.curriculum-page a.c1-read:hover, .curriculum-page .c1-card.is-linked:hover a.c1-read { color: #1a747b; text-decoration: underline; text-underline-offset: 3px; }
.curriculum-page .c1-card-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.curriculum-page .c1-card-btns .c1-btn { font-size: 0.74rem; padding: 0.45rem 0.75rem; }
.curriculum-page .c1-card-lock { display: flex; gap: 0.4rem; align-items: flex-start; font-size: 0.82rem; line-height: 1.4; color: #0d2a4a; background: #eef6f6; border: 1px solid #cfe3e3; border-radius: 0.5rem; padding: 0.5rem 0.65rem; }
.curriculum-page .c1-card-lock[hidden] { display: none; }
.curriculum-page .c1-card-lock .c1-lock-ico { flex: 0 0 auto; margin-top: 0.1rem; }
.curriculum-page .c1-lock-note.c1-flash { animation: c1-flash 1.2s ease 2; }
@keyframes c1-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(26, 116, 123, 0); } 50% { box-shadow: 0 0 0 4px rgba(26, 116, 123, 0.35); } }

/* ── Home-matching page container (David 2026-10-07 12:15 + 12:17) ──
   Rule: every Curriculum, lesson, quiz and chapter page uses the SAME side margins and container as the
   Accelerator Home page (desk.html), measured live at 390 and 1280: content edges at 1.35rem (21.6px) on both
   sides, honoring the phone safe area; full-width container (no max-width), same as header.bar padding.
   Beats the shared `body > .wrap { padding-left/right: 0 }` full-bleed rule, the hub's 75rem column and the
   lesson-plan / quiz inline 46rem `.wrap`, which together left lesson and quiz text flush at x=0. */
body.curriculum-page > .wrap,
body.curriculum-page.curriculum-hub > .wrap,
body.lesson-page > .wrap {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: max(1.35rem, env(safe-area-inset-left)) !important;
  padding-right: max(1.35rem, env(safe-area-inset-right)) !important;
  box-sizing: border-box;
}
/* Quiz answers wrap instead of running off the right edge: a fieldset never shrinks below its content
   by default (min-width: min-content), so long answers pushed past the screen on phones. */
body.curriculum-page fieldset { min-width: 0; max-width: 100%; }
body.curriculum-page .opts li, body.curriculum-page .opts label { min-width: 0; max-width: 100%; }
body.curriculum-page .opts label { overflow-wrap: anywhere; word-break: normal; white-space: normal; }
/* Course 1 Downloads section: chapter PDFs + study guides (2026-10-07 post-demo) */
.curriculum-page .c1-downloads .c1-dl-sub {
  margin: 1.25rem 0 0.35rem; padding: 0 1.35rem;
  font-family: Poppins, Roboto, sans-serif; font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #1a747b;
}
.curriculum-page .c1-downloads .c1-dl-sub:first-of-type { margin-top: 0.9rem; }
/* Lesson page (lesson.html) on phones/tablets: same 1.35rem side margin as Home (was 0.95–1.15rem).
   Desktop keeps its centered 56rem reading column (David 2026-09-10 lineup). */
@media (max-width: 960px) {
  body.lesson-page .spec-crumbs-bar,
  body.lesson-page .spec-inner,
  body.lesson-page .meta-quiet,
  body.lesson-page .review-note,
  body.lesson-page #band-watch,
  body.lesson-page #sections > .spec-band {
    padding-left: max(1.35rem, env(safe-area-inset-left)) !important;
    padding-right: max(1.35rem, env(safe-area-inset-right)) !important;
  }
}

/* Favorites star (2026-10-14; David: beside title + thumbnail overlay) */
.fav-star { background: none !important; border: 0; box-shadow: none; border-radius: 0; cursor: pointer; line-height: 1; color: #1a747b; padding: 0 0.2rem; vertical-align: middle; font-size: 1.5rem; }
.fav-star.on { color: #e0a100; }
.fav-star:focus-visible { outline: 2px solid #1a747b; outline-offset: 2px; }
.fav-star.fav-labeled { display: inline-flex; align-items: center; gap: 0.35rem; margin-left: 0.6rem; font-family: inherit; letter-spacing: 0; text-transform: none; }
.fav-star.fav-labeled .fav-glyph { font-size: 30px; line-height: 1; }
.fav-star.fav-labeled .fav-text { font-size: 0.95rem; font-weight: 600; color: #1a747b; }
.fav-star.fav-labeled.on .fav-text { color: #b07f00; }
.spec-card-wrap > button.fav-star.fav-overlay { position: absolute !important; top: 12px !important; right: 64px !important; left: auto !important; bottom: auto !important; z-index: 5; width: 44px !important; height: 44px !important; min-width: 0; display: flex; align-items: center; justify-content: center; font-size: 28px !important; line-height: 1; color: #fff; background: rgba(0,0,0,0.6) !important; border: 2px solid rgba(255,255,255,0.85) !important; border-radius: 50% !important; padding: 0 !important; margin: 0 !important; }
.spec-card-wrap > button.fav-star.fav-overlay.on { color: #ffc627; border-color: #ffc627 !important; }
/* Hover keeps the star visible (global button:hover set white text on a white page — David 2026-10-14). */
button.fav-star:hover, button.fav-star:focus { color: #145c62 !important; opacity: 1 !important; visibility: visible !important; background: none !important; }
button.fav-star.on:hover, button.fav-star.on:focus { color: #c98f00 !important; }
button.fav-star:hover .fav-glyph { transform: scale(1.12); display: inline-block; }
button.fav-star.fav-labeled:hover .fav-text { color: #145c62 !important; text-decoration: underline; }
.spec-card-wrap > button.fav-star.fav-overlay:hover { color: #fff !important; background: rgba(0,0,0,0.8) !important; }
.spec-card-wrap > button.fav-star.fav-overlay.on:hover { color: #ffc627 !important; }
.fav-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.6rem; }
.fav-list li { display: flex; align-items: center; gap: 0.5rem; }
.fav-list .fav-cat { color: #666; font-size: 0.9rem; }

/* Listen to the video (2026-10-14) */
.lv-h { margin: 1.4rem 0 0.5rem; font-size: 0.95rem; letter-spacing: 0.08em; color: #1a747b; }
.lv-row { display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap; }
.lv-player { width: 200px; height: 200px; flex: 0 0 200px; background: #000; border-radius: 6px; overflow: hidden; }
.lv-player.lv-hidden { position: absolute; left: -9999px; width: 1px; height: 1px; }
.lv-controls { flex: 1 1 260px; min-width: 240px; }
.lv-controls button { cursor: pointer; }
.lv-play { background: #1a747b !important; color: #fff !important; border: 0; border-radius: 999px; padding: 0.6rem 1.2rem; font-weight: 700; font-size: 1rem; }
.lv-seek-row { display: flex; align-items: center; gap: 0.5rem; margin: 0.75rem 0 0.4rem; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.lv-seek { flex: 1; accent-color: #1a747b; }
.lv-skip button { background: #eef4f4 !important; color: #145c62 !important; border: 1px solid #cfe1e1; border-radius: 6px; padding: 0.3rem 0.7rem; margin-right: 0.4rem; }
.lv-note { font-size: 0.82rem; color: #666; margin-top: 0.6rem; }

/* Browser-voice Listen (2026-10-27, interim) — js/browser-voice.js */
.bv-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.4rem 0; }
.bv-controls button { cursor: pointer; border-radius: 999px; padding: 0.6rem 1.2rem; font-weight: 700; font-size: 1rem; border: 1px solid #1a747b; background: #fff; color: #1a747b; }
.bv-controls .bv-play { background: #1a747b; color: #fff; border-color: #1a747b; }
.bv-controls button:disabled { opacity: 0.45; cursor: default; }
.bv-status { margin: 0.3rem 0 0; font-size: 0.9rem; color: #5b6770; }
