/* CEP AI School — student-desk chrome. Solid cards, not wireframe dashes. */
:root {
  --bg: #ffffff;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --card: #fafaf9;
  --accent: #c45c2c;
  --accent-soft: #fdf0e8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
}
a { color: var(--accent); }
a:hover { color: #9a4320; }
.wrap {
  max-width: 68rem;
  margin: 0 auto;
  padding: 2.4rem 1.75rem 4.5rem;
}
.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: #1e3a8a;
}
h2 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #1e3a8a;
}
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-bottom: 2.15rem;
  padding: 0.35rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}
header.bar strong { font-size: clamp(1.55rem, 2.8vw, 2.05rem); font-weight: 650; letter-spacing: 0.07em; text-transform: uppercase; color: #1e3a8a; line-height: 1.15; }
header.bar a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
header.bar a:hover { color: var(--ink); }

.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(196, 92, 44, 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.5;
  pointer-events: none;
  box-shadow: none;
}
a.tile.soon:hover { transform: none; border-color: var(--line); }

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(196, 92, 44, 0.12);
}
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;
}
.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: #1e3a8a; }
.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 1.2rem 3.25rem; }
  .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; }
}

h1.lesson-title { color: #1e3a8a; }

.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(196, 92, 44, 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: #1e3a8a;
}

details.daily-brief {
  max-width: 40rem;
  margin: 0 0 1.35rem;
  padding: 0;
  background: #fff;
  border: 0;
}
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 #1e3a8a;
  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 #1e3a8a;
  border-bottom: 2px solid #1e3a8a;
  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: #1e3a8a;
}
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: #1e3a8a; text-transform: uppercase; letter-spacing: 0.06em; }

h2#shelf-h,
h2#home-res-h {
  color: #1e3a8a;
  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: #1e3a8a;
  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.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
a.consult-chip {
  display: inline-block;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: #1e3a8a;
  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: #172e6e; color: #fff !important; }
details.account { position: relative; }
details.account > summary {
  list-style: none;
  cursor: pointer;
  color: #1e3a8a;
  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 #1e3a8a;
  border-bottom: 1.5px solid #1e3a8a;
  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.85rem;
  align-items: center;
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 0;
}
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;
  gap: 0.45rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: #1e3a8a;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-transform: none;
  user-select: none;
}
details.seed-row > summary:hover .seed-affordance { background: #172e6e; }
.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; }

p.crumbs { margin: 0 0 0.35rem; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
p.crumbs a { color: #1e3a8a; text-decoration: none; }
p.crumbs a:hover { color: #172e6e; }
p.crumbs .crumb-sep { color: #a8a29e; }
p.crumbs .crumb-here { color: var(--muted); }
