/* ============================================================
   Rabboni — Learn How to Teach + Listen Along
   Design system

   Color:  warm ivory ground, deep indigo-slate ink,
           amber ("Learn How to Teach") + rose ("Listen
           Along") as the two side-accents, sage as the quiet
           "support/give" note.
   Type:   Fraunces (display, warm + characterful) / Figtree (body & UI)
   Layout: editorial, generous whitespace, a soft radial "glow"
           motif nodding to tuning a dial to a clear signal.
   ============================================================ */

:root {
  /* ---- palette ---- */
  --ground:        #FDF8EF;   /* warm ivory page background */
  --surface:        #FFFFFF;   /* card / raised surface */
  --surface-tint:   #FBF2E3;   /* soft warm tint surface (hero, footer) */
  --line:           #EDE1CB;   /* hairline borders on ivory */
  --line-soft:      #F3EAD8;

  --ink:            #26313C;   /* primary text — deep indigo-slate */
  --ink-soft:       #5B6B78;   /* secondary text */
  --ink-faint:      #8B98A3;   /* tertiary / meta text */

  --teach:          #E29A33;   /* amber — Learn How to Teach */
  --teach-deep:     #B5741C;   /* amber, text-safe / hover */
  --teach-tint:     #FBEDD4;   /* amber tint surface */

  --podcast:        #D14D63;   /* rose — Listen Along */
  --podcast-deep:   #A6324A;   /* rose, text-safe / hover */
  --podcast-tint:   #FBE3E6;   /* rose tint surface */

  --sage:           #5E8C64;   /* give / support accent */
  --sage-deep:      #3F6B46;
  --sage-tint:      #E7F1E4;

  --indigo:         #35506B;   /* elegant anchor, links, focus */
  --indigo-deep:    #253A4E;

  --focus:          #2F6FED;

  /* ---- type ---- */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* ---- shape / elevation ---- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(38,49,60,0.06), 0 8px 24px -12px rgba(38,49,60,0.18);
  --shadow-pop:  0 4px 8px rgba(38,49,60,0.08), 0 24px 48px -16px rgba(38,49,60,0.28);

  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 3.4rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 1.35rem + 1vw, 2.3rem); font-weight: 500; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; max-width: 62ch; }
p.lede { font-size: 1.15rem; color: var(--ink-soft); }

a { color: var(--indigo); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ============ Site header / nav ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 248, 239, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: conic-gradient(from -40deg, var(--teach), var(--podcast), var(--teach));
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 3px var(--ground), inset 0 0 0 4px var(--line);
  flex: none;
}
.brand__mark::after {
  content: "";
  width: 10px; height: 10px;
  background: var(--ground);
  border-radius: 50%;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.main-nav a:hover { background: var(--surface-tint); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--line-soft); }
.main-nav .nav-give {
  background: var(--sage);
  color: #fff !important;
}
.main-nav .nav-give:hover { background: var(--sage-deep); }

.nav-toggle {
  display: none;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 18px;
    gap: 2px;
    display: none;
    box-shadow: var(--shadow-pop);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 10px; }
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--teach { background: var(--teach); color: #402506; }
.btn--teach:hover { background: var(--teach-deep); color: #fff; }

.btn--podcast { background: var(--podcast); color: #fff; }
.btn--podcast:hover { background: var(--podcast-deep); }

.btn--sage { background: var(--sage); color: #fff; }
.btn--sage:hover { background: var(--sage-deep); }

.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--surface-tint); border-color: var(--ink-faint); }

.btn--indigo { background: var(--indigo); color: #fff; }
.btn--indigo:hover { background: var(--indigo-deep); }

.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ============ Hero / path chooser (home) ============ */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 480px;
  background:
    radial-gradient(420px 280px at 22% 30%, rgba(226,154,51,0.28), transparent 70%),
    radial-gradient(420px 280px at 78% 40%, rgba(209,77,99,0.24), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero__inner p.lede { margin-left: auto; margin-right: auto; }

.paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .paths { grid-template-columns: 1fr; }
}

.path-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.path-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 6px;
}
.path-card--teach::before { background: var(--teach); }
.path-card--podcast::before { background: var(--podcast); }

.path-card__icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.path-card--teach .path-card__icon { background: var(--teach-tint); color: var(--teach-deep); }
.path-card--podcast .path-card__icon { background: var(--podcast-tint); color: var(--podcast-deep); }
.path-card__icon svg { width: 26px; height: 26px; }

.path-card h2 { margin-bottom: 8px; }
.path-card p { color: var(--ink-soft); margin-bottom: 0; }
.path-card__cta {
  margin-top: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.path-card--teach .path-card__cta { color: var(--teach-deep); }
.path-card--podcast .path-card__cta { color: var(--podcast-deep); }
.path-card__cta svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.path-card:hover .path-card__cta svg { transform: translateX(3px); }

/* ============ Section scaffolding ============ */

.section { padding: 56px 0; }
.section--tint { background: var(--surface-tint); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section__head h2 { margin-bottom: 6px; }
.section__head p { margin-bottom: 0; color: var(--ink-soft); }

.page-hero {
  padding: 52px 0 8px;
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; margin-bottom: 14px; }
.page-hero p.lede { margin-left: auto; margin-right: auto; }
.page-hero--teach .eyebrow { color: var(--teach-deep); }
.page-hero--podcast .eyebrow { color: var(--podcast-deep); }

/* ============ Learn How to Teach: topic groups + video cards ============ */

.topic-group { padding: 34px 0; border-top: 1px solid var(--line); }
.topic-group:first-of-type { border-top: none; }
.topic-group__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.topic-group__head h3 { margin: 0; }
.topic-group__count {
  font-size: 0.82rem;
  color: var(--ink-faint);
  font-weight: 600;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.video-card {
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  color: inherit;
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}
.video-card__thumb img,
.video-card__thumb iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
}
.video-card__thumb iframe { opacity: 0; transition: opacity 0.25s ease; pointer-events: none; }
.video-card:hover .video-card__thumb iframe,
.video-card:focus-visible .video-card__thumb iframe { opacity: 1; }
.video-card:hover .video-card__thumb img,
.video-card:focus-visible .video-card__thumb img { opacity: 0; }

.video-card__ring {
  position: absolute; inset: 0;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 0 rgba(226,154,51,0);
  transition: box-shadow 0.2s ease;
  z-index: 2;
  pointer-events: none;
}
.video-card:hover .video-card__ring,
.video-card:focus-visible .video-card__ring { box-shadow: 0 0 0 3px var(--teach); }

.video-card__duration {
  position: absolute;
  right: 8px; bottom: 8px;
  background: rgba(38,49,60,0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-variant-numeric: tabular-nums;
  z-index: 3;
}
.video-card__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  z-index: 2;
  pointer-events: none;
}
.video-card__play svg {
  width: 46px; height: 46px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.video-card:hover .video-card__play svg { opacity: 0; transform: scale(0.8); }

.video-card__title {
  margin: 14px 0 4px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}
.video-card__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.empty-state {
  text-align: center;
  padding: 64px 24px;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.empty-state__icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--teach-tint);
  color: var(--teach-deep);
  display: grid; place-items: center;
}
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { margin: 0 auto; color: var(--ink-soft); }

/* ============ Video modal (in-page, not a new tab) ============ */

.video-modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal.is-open { display: flex; }
.video-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(24, 20, 14, 0.72);
  backdrop-filter: blur(3px);
}
.video-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
}
.video-modal__frame-wrap { position: relative; aspect-ratio: 16/9; background: #000; }
.video-modal__frame-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal__meta {
  padding: 18px 24px 22px;
  color: #fff;
}
.video-modal__meta h3 { color: #fff; margin-bottom: 6px; }
.video-modal__meta p { color: rgba(255,255,255,0.75); margin: 0; }
.video-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
}
.video-modal__close:hover { background: rgba(0,0,0,0.78); }

/* ============ Listen Along: year hub + episode log ============ */

.year-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.year-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.year-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.year-card__year {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
}
.year-card__book {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--podcast-tint);
  color: var(--podcast-deep);
}
.year-card__count { margin-top: 14px; color: var(--ink-soft); font-size: 0.9rem; }

.episode-log { display: flex; flex-direction: column; }
.episode-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.episode-row:first-child { border-top: none; }
.episode-row__week {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--podcast-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.episode-row__week small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-top: 2px;
}
.episode-row__title { font-weight: 700; margin-bottom: 3px; }
.episode-row__quote {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-style: italic;
  margin: 0;
  max-width: 60ch;
}
.episode-row__links { display: flex; gap: 8px; flex-wrap: wrap; justify-self: end; }
.episode-row__links a {
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
  white-space: nowrap;
}
.episode-row__links a:hover { border-color: var(--podcast); color: var(--podcast-deep); }

@media (max-width: 620px) {
  .episode-row { grid-template-columns: 52px 1fr; }
  .episode-row__links { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
}

.year-jump {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 8px 0 36px;
}
.year-jump a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line);
  color: var(--ink-soft);
}
.year-jump a[aria-current="page"] {
  background: var(--podcast);
  border-color: var(--podcast);
  color: #fff;
}
.year-jump a:hover:not([aria-current="page"]) { border-color: var(--podcast); color: var(--podcast-deep); }

/* ============ About page ============ */

.about-hero { text-align: center; padding: 52px 0 12px; }
.about-body { max-width: 62ch; margin: 0 auto; text-align: left; }
.about-body p { max-width: none; }

.give-card {
  margin-top: 8px;
  background: var(--sage-tint);
  border: 1px solid #cfe3cf;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.give-card h3 { color: var(--sage-deep); }
.give-card__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.give-card__note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 14px; margin-bottom: 0; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.contact-form .field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--indigo); }
.field textarea { min-height: 120px; resize: vertical; }
@media (max-width: 600px) { .contact-form { grid-template-columns: 1fr; } }

.form-note { font-size: 0.85rem; margin-top: 12px; }
.form-note--ok { color: var(--sage-deep); }
.form-note--err { color: var(--podcast-deep); }

/* ============ Footer ============ */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  margin-top: 40px;
  color: var(--ink-faint);
  font-size: 0.88rem;
}
.site-footer__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.site-footer a { color: var(--ink-soft); }

/* ============ Admin ============ */

.admin-shell { min-height: 100vh; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.admin-user { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink-soft); }
.admin-user img { width: 30px; height: 30px; border-radius: 50%; }

.admin-tabs { display: flex; gap: 6px; margin: 22px 0; flex-wrap: wrap; }
.admin-tab {
  border: 1.5px solid var(--line);
  background: var(--surface);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--ink-soft);
}
.admin-tab[aria-selected="true"] { background: var(--indigo); border-color: var(--indigo); color: #fff; }

.admin-panel { display: none; }
.admin-panel.is-active { display: block; }

.admin-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.card h3 { margin-bottom: 4px; }
.card .hint { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 18px; }

.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.dropzone {
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dropzone.is-dragover { border-color: var(--teach); background: var(--teach-tint); color: var(--teach-deep); }
.dropzone input { display: none; }
.dropzone strong { color: var(--ink); }
.dropzone img.preview { max-height: 90px; border-radius: var(--radius-sm); margin: 0 auto 10px; }

.admin-list { display: flex; flex-direction: column; gap: 10px; max-height: 640px; overflow-y: auto; padding-right: 4px; }
.admin-row {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  background: var(--surface);
  cursor: grab;
}
.admin-row.dragging { opacity: 0.4; }
.admin-row__drag { color: var(--ink-faint); flex: none; }
.admin-row__thumb { width: 64px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--line-soft); flex: none; }
.admin-row__body { flex: 1; min-width: 0; }
.admin-row__title { font-weight: 700; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-row__meta { font-size: 0.78rem; color: var(--ink-faint); }
.admin-row__actions { display: flex; gap: 6px; flex: none; }
.icon-btn {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; color: var(--ink-soft);
}
.icon-btn:hover { border-color: var(--podcast); color: var(--podcast-deep); }

.badge {
  display: inline-flex; align-items: center;
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 9px; border-radius: var(--radius-pill);
  background: var(--line-soft); color: var(--ink-soft);
}
.badge--new { background: var(--sage-tint); color: var(--sage-deep); }

.gate {
  min-height: 100vh;
  display: grid; place-items: center;
  text-align: center;
  padding: 24px;
}
.gate .card { max-width: 420px; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 12px);
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-size: 0.88rem; font-weight: 600;
  box-shadow: var(--shadow-pop);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }
