/* ===== PodsCool — modern redesign (brand palette kept) ===== */
:root {
  /* ===== BRAND: only these two colors (+ neutrals) ===== */
  --green: #a3c893;        /* brand green — fills, buttons, accents, "Pods" */
  --green-tint: #eef4ea;   /* light green surface */
  --green-ink: #5f8149;    /* readable green text (shade of brand green) */

  --purple: #b3a2e8;       /* brand purple — accents, "Cool" */
  --purple-tint: #f1edfb;  /* light purple surface */
  --purple-ink: #6a54b5;   /* readable purple text (shade of brand purple) */
  --purple-light: #cabff2; /* purple on dark backgrounds */

  /* legacy aliases → mapped onto the two brand colors */
  --sage: var(--green);
  --sage-soft: var(--green-tint);
  --green-deep: var(--green-ink);
  --emerald: var(--green-ink);
  --blue: var(--purple-ink);
  --blue-soft: var(--purple-tint);
  --purple-soft: var(--purple-tint);

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e7ece8;
  --line-2: #eef2ef;

  --bg: #ffffff;
  --cream: #f7f9f5;
  --dark: #14151a;         /* strong near-black (dark sections) */
  --black: #14151a;        /* strong anchor — buttons, CTA */
  --amber: #f4b740;        /* warm friendly accent — ratings */
  --slate-tile: #8a93a6;   /* neutral tile hue */

  --price: #1a1a2e;

  --radius: 22px;
  --radius-sm: 14px;
  --radius-btn: 12px;

  --shadow-xs: 0 1px 2px rgba(15,23,42,.05);
  --shadow-sm: 0 2px 8px rgba(15,23,42,.06);
  --shadow-md: 0 12px 32px rgba(15,23,42,.09);
  --shadow-lg: 0 30px 70px rgba(15,23,42,.16);
  --shadow-green: 0 14px 30px rgba(163,200,147,.5);

  --head: 'Poppins', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em; font-size: 12.5px; font-weight: 700;
  color: var(--green-ink); font-family: var(--sans);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--sans); padding: 13px 22px; border-radius: var(--radius-btn);
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .16s ease, box-shadow .2s ease, background .2s ease, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--green { background: var(--black); color: #fff; box-shadow: 0 12px 28px rgba(20,21,26,.24); }
.btn--green:hover { background: #2a2b33; box-shadow: 0 16px 34px rgba(20,21,26,.32); }
.btn--dark { background: var(--purple-ink); color: #fff; box-shadow: 0 12px 28px rgba(106,84,181,.28); }
.btn--dark:hover { background: #5a4699; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green-ink); }
.btn--soft { background: var(--purple-tint); color: var(--purple-ink); }
.btn--soft:hover { background: #e8e0f7; }
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--pill { border-radius: 999px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.72); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line-2); box-shadow: 0 4px 20px rgba(15,23,42,.04); }
.nav { display: flex; align-items: center; height: 74px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 21px; }
.brand__badge, .brand__mark {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.brand__word { color: var(--purple); letter-spacing: -0.02em; }
.brand__word span { color: var(--green); }
.nav__links { display: flex; gap: 32px; margin: 0 auto; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--ink-2); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--green); border-radius: 2px; transition: width .22s ease; }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__actions .login { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav__actions .login:hover { color: var(--ink); }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav__toggle span + span { margin-top: 5px; }

.mobile-menu { display: none; flex-direction: column; padding: 10px 32px 22px; background: #fff; border-bottom: 1px solid var(--line-2); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 4px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.mobile-menu__actions { display: flex; gap: 10px; margin-top: 16px; }
.mobile-menu__actions .btn { flex: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 76px 0 90px; text-align: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #f7faf5 0%, #ffffff 78%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .38; }
.blob--1 { width: 480px; height: 480px; background: radial-gradient(circle, #bfe0ac, transparent 68%); top: -200px; left: -160px; animation: float1 16s ease-in-out infinite; }
.blob--2 { width: 420px; height: 420px; background: radial-gradient(circle, #cfc4f2, transparent 68%); top: -170px; right: -150px; animation: float2 18s ease-in-out infinite; }
.blob--3 { display: none; }
.hero__bg::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(15,23,42,.05) 1px, transparent 0);
  background-size: 34px 34px; mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 75%); }
@keyframes float1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(30px,40px) scale(1.08);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-40px,30px) scale(1.05);} }

.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.8);
  border: 1px solid var(--line); box-shadow: var(--shadow-xs);
  color: var(--ink-2); font-size: 13.5px; font-weight: 500; padding: 8px 16px; border-radius: 999px; margin-bottom: 28px;
}
.hero__badge svg { color: var(--green); }
.hero__badge b { color: var(--ink); font-weight: 700; }
.hero h1 { font-weight: 800; font-size: clamp(40px, 6.4vw, 74px); line-height: 1.03; max-width: 940px; margin: 0 auto; letter-spacing: -0.035em; }
.hl { position: relative; color: var(--green-deep); white-space: nowrap; }
.hl svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .34em; color: var(--sage); }
.hero__sub { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 620px; margin: 26px auto 34px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin-top: 34px; color: var(--muted); font-size: 14px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust svg { color: var(--green); }

/* floating marketplace preview */
.hero__preview { position: relative; margin: 66px auto 0; max-width: 1000px; }
.hero__preview-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1600px; }
.hero__preview .ppod { transform: rotateX(12deg); transform-origin: center bottom; box-shadow: var(--shadow-lg); }
.hero__preview .ppod:nth-child(2) { transform: rotateX(12deg) translateY(-22px); }
.hero__preview::after { content: ""; position: absolute; left: 5%; right: 5%; bottom: -30px; height: 90px; background: radial-gradient(ellipse at center, rgba(15,23,42,.14), transparent 70%); filter: blur(10px); z-index: -1; }
.hero__fade { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; background: linear-gradient(transparent, #fff); }

/* ---------- Marquee ---------- */
.marquee { background: var(--cream); border-block: 1px solid var(--line-2); padding: 20px 0; overflow: hidden; }
.marquee__track { display: flex; gap: 44px; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 600; font-size: 17px; color: var(--ink-2); white-space: nowrap; }
.marquee__track span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Stats band ---------- */
.stats { padding: 84px 0; background: var(--dark); position: relative; overflow: hidden; }
.stats::before { content:""; position:absolute; width:600px; height:600px; border-radius:50%; background: radial-gradient(circle, rgba(163,200,147,.22), transparent 70%); top:-260px; right:-120px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); color: #bfe0ac; letter-spacing: -.03em; }
.stat span { color: #9fb0a6; font-size: 14.5px; margin-top: 4px; display: block; }

/* ---------- Section shell ---------- */
.section { padding: 100px 0; }
.section--tint { background: var(--cream); }
.section__head { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section__head h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; margin-top: 16px; }
.section__lead { color: var(--muted); font-size: 18px; margin-top: 16px; }

/* ---------- Marketplace ---------- */
.market__bar {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 16px; align-items: end;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-md); margin-bottom: 44px;
}
.market__bar label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.market__bar input, .market__bar select {
  width: 100%; font: 400 15px var(--sans); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 12px 14px; background: #fff;
}
.market__bar input:focus, .market__bar select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(163,200,147,.3); }
.market__reset { align-self: end; height: 45px; }

.pods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pods-status { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 20px; font-size: 15px; }
.pods-empty-all { grid-column: 1 / -1; text-align: center; padding: 48px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pods-empty-all__emoji { font-size: 40px; display: block; margin-bottom: 12px; }
.pods-empty-all h3 { font-family: var(--head); font-size: 22px; margin-bottom: 8px; }
.pods-empty-all p { color: var(--muted); max-width: 460px; margin: 0 auto 20px; }
.pod {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.pod:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pod__img { aspect-ratio: 16 / 10; position: relative; display: grid; place-items: center; }
.pod__img::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.45), transparent 60%); }
.pod__img .ic { font-size: 50px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); z-index: 1; }
.pod__img--art { background: linear-gradient(160deg, #e3daf6, #b3a2e8); }
.pod__img--sci { background: linear-gradient(160deg, #dcecd0, #a3c893); }
.pod__img--gen { background: linear-gradient(160deg, #dfe3ec, #9aa3b5); }
.pod__img--read { background: linear-gradient(160deg, #fde3d1, #f4a97f); }
.pod__img--code { background: linear-gradient(160deg, #d6e4ff, #7ea2f0); }
.pod__type { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.92); color: var(--ink-2); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-xs); }
.pod__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pod__title { font-family: var(--head); font-weight: 600; font-size: 20px; color: var(--ink); }
.pod__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0; min-height: 26px; }
.pod__tags .tg { background: var(--sage-soft); color: var(--green-deep); font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; }
.pod__tags .tg--empty { width: 76px; height: 22px; background: var(--line); border-radius: 999px; }
.pod__desc { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.pod__teacher { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.pod__avatar { width: 36px; height: 36px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; }
.pod__avatar--dark { background: var(--ink); }
.pod__avatar--green { background: linear-gradient(135deg, var(--sage), var(--green)); }
.pod__tname { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pod__stars { font-size: 12.5px; color: var(--amber); margin-left: auto; }
.pod__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; }
.pod__spots { color: var(--green-deep); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pod__spots::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(79,154,99,.18); }
.pod__enrolled { color: var(--muted-2); font-size: 12.5px; margin-top: 3px; }
.pod__price { text-align: right; }
.pod__price b { display: block; font-family: var(--head); font-size: 24px; font-weight: 700; color: var(--price); }
.pod__price span { font-size: 12px; color: var(--muted-2); }
.pod__cta { margin-top: 18px; }
.market__more { text-align: center; margin-top: 44px; }

/* ---------- How it works (Education Reimagined) ---------- */
.edu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.edu__card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px 40px; box-shadow: var(--shadow-sm); overflow: hidden; }
.edu__card::before { content:""; position:absolute; inset:0 0 auto 0; height: 5px; }
.edu__card--t::before { background: linear-gradient(90deg, #cabff2, var(--purple)); }
.edu__card--p::before { background: linear-gradient(90deg, var(--green-tint), var(--green)); }
.edu__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.edu__ico--t { background: var(--purple-tint); color: var(--purple-ink); }
.edu__ico--p { background: var(--green-tint); color: var(--green-ink); }
.edu__card h3 { font-weight: 700; font-size: 26px; }
.edu__lede { font-weight: 600; color: var(--purple-ink); font-size: 16px; margin: 6px 0 14px; }
.edu__card--p .edu__lede { color: var(--green-ink); }
.edu__intro { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.edu__steps { display: grid; gap: 22px; margin-bottom: 30px; }
.edu__step { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.edu__num { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 15px; flex: 0 0 auto; }
.edu__card--t .edu__num { background: var(--purple-tint); color: var(--purple-ink); }
.edu__card--p .edu__num { background: var(--green-tint); color: var(--green-ink); }
.edu__step h4 { font-family: var(--sans); font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 5px; }
.edu__step p { color: var(--muted); font-size: 14.5px; }

/* assurances feature row */
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.assure__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 30px 28px; box-shadow: var(--shadow-xs); }
.assure__ico { width: 46px; height: 46px; border-radius: 12px; background: var(--sage-soft); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 16px; }
.assure__item h4 { font-family: var(--head); font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.assure__item p { color: var(--muted); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 96px 0; background: var(--black); overflow: hidden; }
.cta-band::before { content:""; position:absolute; width:520px; height:520px; border-radius:50%; background: radial-gradient(circle, rgba(163,200,147,.18), transparent 70%); top:-220px; left:-140px; }
.cta-band::after { content:""; position:absolute; width:460px; height:460px; border-radius:50%; background: radial-gradient(circle, rgba(179,162,232,.16), transparent 70%); bottom:-220px; right:-120px; }
.cta { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.cta__copy h2 { color: #fff; font-weight: 800; font-size: clamp(30px, 4.2vw, 46px); }
.cta__copy p { color: rgba(255,255,255,.75); font-size: 18px; margin-top: 16px; }
.cta__points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.cta__points li { position: relative; padding-left: 30px; color: #e6e8ec; font-size: 15px; font-weight: 500; }
.cta__points li::before { content:""; position:absolute; left:0; top:2px; width:20px; height:20px; border-radius:50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2314151a'%3E%3Cpath d='m9 16.2-3.5-3.5-1.4 1.4L9 19l11-11-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat; }

.waitlist-form { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lg); }
.waitlist-form h3 { font-weight: 700; font-size: 21px; margin-bottom: 4px; }
.waitlist-form .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field .opt { color: var(--muted-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px var(--sans); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 12px 14px; background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(163,200,147,.3); }
.field textarea { resize: vertical; }
.field input.invalid, .field select.invalid { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.14); }
.form-status { font-size: 14px; font-weight: 600; margin-top: 12px; min-height: 1px; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #d1373b; }
.form-legal { font-size: 12px; color: var(--muted-2); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
/* Sticky footer: on any page that ends with the site footer, pin it to the bottom of the
   viewport even when the content is too short to fill the screen. Scoped with :has() so it
   only affects public pages with .site-footer — the dashboard (no site-footer) is untouched. */
body:has(> .site-footer) { display: flex; flex-direction: column; min-height: 100vh; }
body:has(> .site-footer) > main { flex: 1 0 auto; }
body:has(> .site-footer) > .site-footer { flex-shrink: 0; margin-top: auto; }

.site-footer { background: var(--dark); color: #b9c6bf; padding: 66px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand .brand { font-size: 22px; }
.footer__brand .brand__badge { color: #fff; }
.footer__brand .brand__word { color: var(--purple-light); }
.footer__brand .brand__word span { color: #8fca82; }
.footer__brand p { color: #8ea298; font-size: 14.5px; margin: 16px 0 20px; max-width: 300px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #cdd9d2; transition: .18s; }
.footer__social a:hover { background: var(--green); color: #fff; }
.footer__col h4 { color: #fff; font-family: var(--head); font-size: 14px; font-weight: 600; margin-bottom: 15px; }
.footer__col a { display: block; padding: 6px 0; font-size: 14.5px; color: #9fb0a6; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 13.5px; color: #7d9088; }
.footer__bottom a { color: #9fb0a6; }

/* ---------- Active nav ---------- */
.nav__links a.active { color: var(--ink); font-weight: 600; }
.nav__links a.active::after { width: 100%; }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; text-align: center; padding: 72px 0 8px; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #f7faf5, #ffffff 90%); }
.page-hero__bg .blob { opacity: .4; }
.page-hero h1 { font-weight: 800; font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -0.03em; max-width: 820px; margin: 14px auto 0; }
.page-hero .section__lead { margin: 16px auto 0; max-width: 600px; }

/* ---------- Home: section header row with side link ---------- */
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.sec-head-row h2 { font-weight: 800; font-size: clamp(26px, 3.6vw, 40px); margin-top: 8px; }
.sec-head-row .section__lead { margin-top: 8px; max-width: 520px; }
.sec-head-row__link { color: var(--green-deep); font-weight: 600; font-size: 15px; white-space: nowrap; }
.sec-head-row__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Home: how-it-works teaser (reuses edu card shell) ---------- */
.edu__card--teaser { text-align: left; }
.edu__card--teaser .btn { margin-top: 6px; }

/* ---------- Header account chip ---------- */
.acct { position: relative; }
.acct__btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px 5px 6px; cursor: pointer; font: 600 14px var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.acct__btn:hover { border-color: var(--green); box-shadow: var(--shadow-xs); }
.acct__img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--green-tint); border: 1px solid var(--line-2); }
.acct__img--fallback { display: grid; place-items: center; font: 700 12px var(--sans); color: var(--green-ink); }
.acct__img--lg { width: 42px; height: 42px; }
.acct__name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__chev { color: var(--muted-2); display: inline-flex; }
.acct__menu { position: absolute; right: 0; top: calc(100% + 10px); width: 258px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 70; }
.acct__head { display: flex; align-items: center; gap: 11px; padding: 10px 10px 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.acct__info { min-width: 0; }
.acct__info strong { display: block; font-size: 14.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__info small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__item { display: flex; align-items: center; width: 100%; text-align: left; gap: 8px; padding: 10px; border: 0; background: none; border-radius: 9px; font: 500 14px var(--sans); color: var(--ink-2); cursor: pointer; }
.acct__item:hover { background: var(--cream); color: var(--ink); }
.acct__signout { color: #c0453d; }
.acct__signout:hover { background: #fbeceb; color: #c0453d; }

/* mobile account row */
.mobile-menu__actions { flex-wrap: wrap; }
.mm-acct { display: flex; align-items: center; gap: 11px; flex: 1 0 100%; padding: 8px 2px 14px; color: var(--ink); }
.mm-acct .acct__img { width: 38px; height: 38px; }
.mm-acct__text { min-width: 0; }
.mm-acct__text strong { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mm-acct__text small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Auth note ---------- */
.auth-note { text-align: center; color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 16px; }

/* ---------- Enroll modal ---------- */
.enroll-pod { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; background: var(--cream); }
.enroll-pod__title { font-family: var(--head); font-weight: 700; font-size: 16px; }
.enroll-pod__meta { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.enroll-pod__meta strong { color: var(--ink); }
.enroll-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; margin: 0 auto; padding: 40px 0 20px; }
.legal__meta { color: var(--muted); font-size: 14px; margin: -6px 0 30px; }
.legal h2 { font-family: var(--head); font-weight: 700; font-size: 21px; margin: 34px 0 12px; letter-spacing: -.01em; }
.legal h3 { font-family: var(--sans); font-weight: 700; font-size: 16px; color: var(--ink); margin: 20px 0 6px; }
.legal p { color: var(--ink-2); margin-bottom: 14px; line-height: 1.75; font-size: 15.5px; }
.legal ul { margin: 0 0 16px 20px; display: grid; gap: 11px; }
.legal li { color: var(--ink-2); line-height: 1.7; font-size: 15.5px; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal__blank { text-align: center; color: var(--muted); padding: 60px 20px; border: 1px dashed var(--line); border-radius: 16px; background: var(--cream); margin-top: 20px; }
.legal__blank .emoji { font-size: 34px; display: block; margin-bottom: 14px; }

/* ---------- Terms agreement + modal ---------- */
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.agree { display: flex; gap: 9px; align-items: flex-start; margin-top: 16px; text-align: left; }
.agree input[type="checkbox"] { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--green-ink); flex: 0 0 auto; cursor: pointer; }
.agree__txt { font-size: 13px; color: var(--muted); line-height: 1.55; }
.tlink { background: none; border: 0; padding: 0; font: inherit; color: var(--purple-ink); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.tlink:hover { color: var(--ink); }

.tmodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.tmodal[hidden] { display: none; }
.tmodal__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.5); backdrop-filter: blur(2px); }
.tmodal__box { position: relative; width: 100%; max-width: 540px; max-height: 88vh; display: flex; flex-direction: column; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.tmodal__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 14px; }
.tmodal__head h2 { font-family: var(--head); font-weight: 700; font-size: 20px; }
.tmodal__x { background: none; border: 0; font-size: 17px; color: var(--muted); cursor: pointer; width: 32px; height: 32px; border-radius: 8px; }
.tmodal__x:hover { background: var(--cream); color: var(--ink); }
.tmodal__tabs { display: flex; padding: 0 22px; border-bottom: 1px solid var(--line-2); }
.tmodal__tab { background: none; border: 0; padding: 10px 0; margin-right: 18px; font: 600 14px var(--sans); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tmodal__tab.is-active { color: var(--ink); border-bottom-color: var(--green); }
.tmodal__body { padding: 18px 22px; overflow-y: auto; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.tmodal__body h3 { font-family: var(--head); font-size: 16px; margin-bottom: 10px; }
.tmodal__body ul { margin: 0 0 0 18px; display: grid; gap: 9px; }
.tmodal__body p { margin-bottom: 10px; color: var(--muted); }
.tmodal__foot { padding: 16px 22px 20px; border-top: 1px solid var(--line-2); }
.tmodal__foot .agree { margin: 0 0 14px; }
.tmodal__foot .agree__txt { font-size: 13.5px; color: var(--ink-2); }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .blob, .marquee__track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle { display: block; }
  .hero__preview-inner { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .hero__preview .ppod, .hero__preview .ppod:nth-child(2) { transform: none; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .market__bar { grid-template-columns: 1fr 1fr; }
  .market__reset { grid-column: 1 / -1; }
  .pods { grid-template-columns: 1fr 1fr; }
  .edu__cols { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; gap: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 74px 0; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .market__bar, .pods { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ---- Pod detail page (/pod) ------------------------------------------------ */
.pod-back { display: inline-block; margin-bottom: 20px; font-weight: 600; color: var(--muted); }
.pod-back:hover { color: var(--ink); }

.pod-detail { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.pod-detail__art { aspect-ratio: 16 / 7; border-radius: var(--radius); display: grid; place-items: center; margin-bottom: 24px; position: relative; overflow: hidden; }
.pod-detail__art::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.45), transparent 60%); }
.pod-detail__art .ic { font-size: 68px; z-index: 1; filter: drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.pod-detail__title { font-family: var(--head); font-size: 34px; font-weight: 700; }
.pod-detail__teacher { display: flex; align-items: center; gap: 12px; margin: 14px 0 18px; color: var(--muted); font-size: 15px; }
.pod-detail__teacher strong { color: var(--ink); }
.pod-detail__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pod-detail__tags .tg { background: var(--sage-soft); color: var(--green-deep); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.pod-detail__h { font-family: var(--head); font-size: 19px; font-weight: 600; margin: 28px 0 10px; }
.pod-detail__summary { color: var(--ink-2); font-size: 16px; line-height: 1.6; white-space: pre-wrap; }
.pod-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 4px; }
.pod-facts div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.pod-facts dt { font-size: 12.5px; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.pod-facts dd { font-size: 15.5px; font-weight: 600; color: var(--ink); margin-top: 4px; }

.pod-side { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 24px; }
.pod-side__price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); margin-bottom: 16px; }
.pod-side__price b { font-family: var(--head); font-size: 32px; color: var(--price); }
.pod-side__price span { font-size: 13px; color: var(--muted-2); }
.pod-side__spots { font-weight: 700; color: var(--green-deep); font-size: 15px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 3px; }
.pod-side__spots small { font-weight: 500; color: var(--muted-2); font-size: 12.5px; }
.pod-side__spots.is-full { color: var(--muted); }
.pod-side__note { color: var(--muted); font-size: 13px; margin-top: 12px; text-align: center; }
.pod-side__login { margin-top: 10px; }
.pod-side__lock { background: var(--green-tint); border-radius: var(--radius-sm); padding: 16px; }
.pod-side__lock strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.pod-side__lock p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }

/* Sign-in gate + empty/not-found states */
.pod-gate, .pod-msg { max-width: 560px; margin: 30px auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 48px 32px; }
.pod-gate__emoji, .pod-msg__emoji { font-size: 44px; display: block; margin-bottom: 14px; }
.pod-gate h1, .pod-msg h1 { font-family: var(--head); font-size: 26px; margin-bottom: 10px; }
.pod-gate p, .pod-msg p { color: var(--muted); max-width: 440px; margin: 0 auto 22px; line-height: 1.55; }
.pod-gate__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pod-gate__note { font-size: 13px; color: var(--muted-2); margin-top: 22px; }

@media (max-width: 860px) {
  .pod-detail { grid-template-columns: 1fr; }
  .pod-side { position: static; }
}
@media (max-width: 620px) {
  .pod-facts { grid-template-columns: 1fr; }
  .pod-detail__title { font-size: 27px; }
}

/* ===================================================================
   Teacher pod page (/pod-class) — Google-Classroom-style portal.
   Teacher-facing → PURPLE accents (per brand rule).
   =================================================================== */
.btn--purple { background: var(--purple-ink); color: #fff; box-shadow: 0 12px 28px rgba(106,84,181,.28); }
.btn--purple:hover { background: #5a4699; }

.podc-hero {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  background: linear-gradient(180deg, var(--purple-tint), #fff);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin: 10px 0 18px;
}
.podc-hero__title { font-family: "Poppins", sans-serif; font-size: 30px; line-height: 1.15; color: var(--ink); margin: 0 0 6px; }
.podc-hero__meta { color: var(--muted); margin: 0 0 12px; }
.podc-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.podc-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--ink-2); }
.podc-chip b { color: var(--purple-ink); letter-spacing: .04em; }
.podc-chip--link { color: var(--purple-ink); text-decoration: none; font-weight: 600; }
.podc-chip--link:hover { background: var(--purple-tint); }
/* Teacher "Edit pod" — a solid accent chip so it's easy to spot on the hero. */
.podc-chip--edit { background: var(--purple-ink, #5b3fd8); border: 0; color: #fff; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; }
.podc-chip--edit:hover { background: #4b32bd; }

.podc-hero__create { position: relative; flex-shrink: 0; }
.podc-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 20px 44px rgba(20,21,26,.16); padding: 6px; }

/* Read-only pod view (enrolled students / parents) — hide teacher-only actions. */
.podc--readonly #podc-create,
.podc--readonly .podc-createmenu,
.podc--readonly [data-create],
.podc--readonly .podc-gb-actions { display: none !important; }

/* "Connect your Google Classroom" nudge for a student who opened a pod without it on. */
.podc-joinbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 16px; padding: 12px 16px; border-radius: 12px;
  background: #fff7e6; border: 1px solid #f2d69a; color: #6b4e12; font-size: 14px; }
.podc-joinbar button { margin-left: auto; background: #1a73e8; color: #fff; border: 0;
  border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 600; cursor: pointer; }
.podc-joinbar button:disabled { opacity: .6; cursor: default; }
.podc-menu__item { display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  background: none; border: 0; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px;
  color: var(--ink); cursor: pointer; text-decoration: none; }
.podc-menu__item span { font-size: 17px; width: 20px; text-align: center; }
.podc-menu__item:hover { background: var(--purple-tint); }
.podc-menu__item--out { color: var(--muted); }
.podc-menu__sep { height: 1px; background: var(--line); margin: 6px 8px; }

.podc-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.podc-tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 18px;
  font: inherit; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.podc-tab:hover { color: var(--ink); }
.podc-tab.is-active { color: var(--purple-ink); border-bottom-color: var(--purple-ink); }

.podc-body { min-height: 200px; }
.podc-note { color: var(--muted); font-size: 14px; background: var(--purple-tint); border-radius: var(--radius-sm);
  padding: 12px 16px; margin: 0 0 16px; }

/* Stream posts */
.podc-post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 14px; }
.podc-post__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.podc-post__head small { display: block; color: var(--muted); font-size: 12px; }
.podc-post__avatar, .podc-person__avatar { display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--purple-tint); color: var(--purple-ink);
  font-weight: 700; font-size: 14px; flex-shrink: 0; }
.podc-post__open { margin-left: auto; text-decoration: none; color: var(--muted); font-size: 18px; }
.podc-post__text { margin: 0; color: var(--ink-2); white-space: pre-wrap; }
.podc-post__att { margin: 10px 0 0; font-size: 13px; color: var(--muted); }

/* Classwork */
.podc-topic { margin-bottom: 26px; }
.podc-topic__h { font-family: "Poppins", sans-serif; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line);
  padding-bottom: 8px; margin: 0 0 6px; }
.podc-work { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 6px; border: 0; border-bottom: 1px solid var(--line-2);
  background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.podc-work:hover { background: var(--cream); border-radius: 10px; }
.podc-work__ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--purple-tint); font-size: 18px; flex-shrink: 0; }
.podc-work__body { flex: 1; display: flex; flex-direction: column; }
.podc-work__body small { color: var(--muted); font-size: 13px; }
.podc-work__go { color: var(--muted); }

/* People */
.podc-people { margin-bottom: 24px; }
.podc-person { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line-2); }
.podc-person__avatar--t { background: var(--purple-ink); color: #fff; }
.podc-person small { display: block; color: var(--muted); font-size: 13px; }

/* Empty states */
.podc-empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.podc-empty__emoji { font-size: 40px; display: block; margin-bottom: 10px; }
.podc-empty strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.podc-empty p { margin: 0; }

/* Create modal */
.podc-modal { position: fixed; inset: 0; z-index: 90; background: rgba(20,21,26,.5);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.podc-modal__card { background: #fff; border-radius: var(--radius); width: 100%; max-width: 680px;
  max-height: 94vh; overflow-y: auto; box-shadow: 0 30px 70px rgba(20,21,26,.3); }
.podc-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 6px; }
.podc-modal__head h2 { font-family: "Poppins", sans-serif; font-size: 20px; margin: 0; }
.podc-modal__x { background: none; border: 0; font-size: 18px; color: var(--muted); cursor: pointer; }
.podc-modal__form { padding: 12px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.podc-f { display: flex; flex-direction: column; gap: 6px; }
.podc-f span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.podc-f input, .podc-f textarea, .podc-f select { border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 11px 13px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.podc-f input:focus, .podc-f textarea:focus, .podc-f select:focus { outline: none; border-color: var(--purple); }
.podc-f textarea { resize: vertical; }
.podc-modal__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }

/* Toast */
.podc-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 120;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.podc-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.podc-toast.is-err { background: #c0392b; }

@media (max-width: 620px) {
  .podc-hero { flex-direction: column; }
  .podc-hero__create { align-self: stretch; }
  .podc-hero__create .btn { width: 100%; }
  .podc-menu { width: 100%; }
  .podc-hero__title { font-size: 24px; }
}

/* ---- Create composer (Classroom-style two-column modal) ---- */
.podc-modal__card--wide { max-width: 1320px; }
.podc-cform { display: grid; grid-template-columns: 1fr 300px; gap: 0; padding: 0; }
.podc-cform__main { padding: 18px 24px 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.podc-cform__side { border-left: 1px solid var(--line); background: var(--cream); padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.podc-cf input, .podc-cf textarea, .podc-cf select { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.podc-cf input:focus, .podc-cf textarea:focus, .podc-cf select:focus,
.podc-side-f input:focus, .podc-side-f select:focus { outline: none; border-color: var(--purple); }
.podc-cf textarea { resize: vertical; }
.podc-f__lbl { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }

.podc-attach { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.podc-attach__row { display: flex; flex-wrap: wrap; gap: 10px; }
.podc-att-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; width: 66px; padding: 10px 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.podc-att-btn span { font-size: 20px; }
.podc-att-btn:hover:not(.is-soon) { border-color: var(--purple); color: var(--purple-ink); }
.podc-att-btn.is-soon { opacity: .45; cursor: not-allowed; }
.podc-atts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.podc-att { display: inline-flex; align-items: center; gap: 6px; background: var(--purple-tint); color: var(--purple-ink);
  border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.podc-att button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 12px; }

.podc-choice { display: flex; gap: 8px; margin-bottom: 8px; }
.podc-choice input { flex: 1; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 9px 12px; font: inherit; }
.podc-choice button { background: none; border: 0; color: var(--muted); cursor: pointer; }
.podc-addlink { background: none; border: 0; color: var(--purple-ink); font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; padding: 4px 0; text-align: left; }

.podc-side-f { display: flex; flex-direction: column; gap: 7px; }
.podc-side-f > span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.podc-side-f input, .podc-side-f select { border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 10px 12px; font: inherit; font-size: 14px; background: #fff; }
.podc-side-static { font-weight: 600; color: var(--ink); font-size: 14px; }
.podc-side-note { font-size: 12px; color: var(--muted); margin: 0; }
.podc-check { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 5px 0; cursor: pointer; }
.podc-check input { width: auto; }
.podc-hint { font-size: 13px; color: var(--muted); margin: 4px 0; }

.podc-rubric-wrap { border-top: 1px solid var(--line); padding-top: 14px; }
.podc-crit { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; margin-bottom: 10px; }
.podc-crit__row { display: flex; gap: 8px; margin-bottom: 8px; }
.podc-crit__t { flex: 1; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 9px 12px; font: inherit; font-weight: 600; }
.podc-crit__x { background: none; border: 0; color: var(--muted); cursor: pointer; }
.podc-levels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.podc-level { display: inline-flex; gap: 4px; }
.podc-level input:first-child { width: 110px; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 7px 10px; font: inherit; font-size: 13px; }
.podc-level input:last-child { width: 56px; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 7px 8px; font: inherit; font-size: 13px; }

.podc-reuse-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 8px; font: inherit; cursor: pointer; }
.podc-reuse-row:hover { border-color: var(--purple); background: var(--purple-tint); }
.podc-reuse-row span { font-size: 20px; }
.podc-reuse-row strong { flex: 1; color: var(--ink); }
.podc-reuse-row small { color: var(--muted); text-transform: capitalize; }

.podc-att--drive { background: var(--green-tint); color: var(--green-ink); }
.podc-att--drive a { color: inherit; font-weight: 600; }
.podc-att__mode { border: 1px solid var(--line); border-radius: 999px; padding: 2px 6px; font: inherit; font-size: 12px; background: #fff; color: var(--ink-2); }
.podc-att-btn { position: relative; }
.podc-createmenu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 16px 34px rgba(20,21,26,.16); padding: 6px; display: flex; flex-direction: column; min-width: 150px; }
.podc-createmenu button { background: none; border: 0; text-align: left; padding: 9px 12px; border-radius: 8px; font: inherit; font-size: 14px; cursor: pointer; }
.podc-createmenu button:hover { background: var(--purple-tint); }

/* On-page attachment embeds (YouTube / Drive / Forms viewers + link cards) */
.podc-embeds { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.podc-embed { position: relative; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-sm);
  overflow: hidden; border: 1px solid var(--line); background: #000; }
.podc-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* A Google Form (quiz) is a tall document, not 16:9 — give it a big, page-filling height. */
.podc-formatt { display: flex; flex-direction: column; gap: 10px; }
.podc-formatt .podc-embed { aspect-ratio: auto; height: min(80vh, 1000px); background: #f0ebf9; }
.podc-linkcard { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 16px; text-decoration: none; color: var(--ink); font-weight: 600; max-width: 640px; }
.podc-linkcard:hover { border-color: var(--purple); color: var(--purple-ink); }
.podc-linkcard span { font-size: 17px; }

/* Meet button in the hero */
.podc-chip--meet { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer;
  background: var(--green-ink); color: #fff; font: inherit; font-size: 13px; font-weight: 600; }
.podc-chip--meet:hover { background: #4d6a3a; }
.podc-chip--meet span { font-size: 15px; }

/* On-page detail view */
.podc-detail-body { padding: 20px 24px 26px; }
.podc-detail-meta { color: var(--purple-ink); font-weight: 600; font-size: 13px; text-transform: capitalize; margin: 0 0 10px; }
.podc-detail-desc { color: var(--ink-2); white-space: pre-wrap; margin: 0 0 6px; }
.podc-grade-row { cursor: pointer; }
.podc-grade-row:hover { background: var(--cream); }

.podc-chip--ghost { background: #fff; border: 1px solid var(--line); color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; }
.podc-chip--ghost:hover { border-color: var(--purple); color: var(--purple-ink); }

/* On-page gradebook (inside an assignment detail) */
.podc-gradebook { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.podc-gb__h { font-family: "Poppins", sans-serif; font-size: 15px; margin: 0 0 12px; }
.podc-gb { display: flex; flex-direction: column; gap: 8px; }
.podc-gb__row { display: grid; grid-template-columns: 1fr auto 120px auto auto; align-items: center; gap: 12px;
  padding: 8px 10px; border: 1px solid var(--line-2); border-radius: 12px; }
.podc-gb__name { font-weight: 600; color: var(--ink); }
.podc-gb__late { color: #c0392b; font-style: normal; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.podc-gb__state { color: var(--muted); font-size: 13px; }
.podc-gb__grade { display: inline-flex; align-items: center; gap: 4px; }
.podc-gb__grade input { width: 64px; border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; font: inherit; }
.podc-gb__grade small { color: var(--muted); }
.podc-gb__ret { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
@media (max-width: 620px) {
  .podc-gb__row { grid-template-columns: 1fr auto; row-gap: 8px; }
}

@media (max-width: 720px) {
  .podc-cform { grid-template-columns: 1fr; }
  .podc-cform__side { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---- Dashboard Schedule: List ↔ Calendar ---- */
.vsched-toggle { display: inline-flex; gap: 4px; background: var(--purple-tint); border-radius: 999px; padding: 4px; margin-bottom: 18px; }
.vsched-toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 600; color: var(--purple-ink); cursor: pointer; }
.vsched-toggle button.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-xs); }

.vcal { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.vcal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.vcal__title { font-family: var(--head); font-size: 19px; font-weight: 700; }
.vcal__nav { display: flex; align-items: center; gap: 6px; }
.vcal__nav button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 12px; font: inherit; font-size: 16px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.vcal__nav button:hover { border-color: var(--purple); color: var(--purple-ink); }
.vcal__today { font-size: 13px !important; font-weight: 600; }
.vcal__dow { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--cream); border-bottom: 1px solid var(--line); }
.vcal__dow span { padding: 10px 8px; text-align: center; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.vcal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.vcal__cell { min-height: 96px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); padding: 6px; display: flex; flex-direction: column; gap: 3px; }
.vcal__cell:nth-child(7n) { border-right: 0; }
.vcal__cell--pad { background: var(--cream); }
.vcal__date { font-size: 13px; font-weight: 600; color: var(--muted); }
.vcal__cell.has-ev .vcal__date { color: var(--ink); }
.vcal__cell.is-today { background: var(--purple-tint); }
.vcal__cell.is-today .vcal__date { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--purple-ink); color: #fff; border-radius: 50%; }
.vcal__ev { font-size: 11.5px; line-height: 1.25; background: var(--green-tint); color: var(--green-ink); border-radius: 6px; padding: 3px 6px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcal__ev b { font-weight: 700; }
.vcal__more { font-size: 11px; color: var(--muted); padding-left: 4px; }
.vcal__note { padding: 12px 20px; margin: 0; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .vcal__cell { min-height: 68px; padding: 4px; }
  .vcal__ev { font-size: 10px; }
  .vcal__dow span { font-size: 10px; padding: 8px 2px; }
}

/* ---- Parent → My Students (clean cards + inline edit) ---- */
.stu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.stu-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.stu-card.is-editing { border-color: var(--green); }
.stu__top { display: flex; align-items: flex-start; gap: 12px; }
.stu__ava { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--green-tint); color: var(--green-ink);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.stu__idcol { flex: 1; min-width: 0; }
.stu__name { display: block; font-size: 17px; color: var(--ink); }
.stu__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stu__email { font-size: 12.5px; color: var(--muted-2); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stu__badge { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  background: var(--purple-tint); color: var(--purple-ink); border-radius: 6px; padding: 1px 7px; }
.stu__badge--acct { background: var(--green-tint); color: var(--green-ink); }
.stu__edit { flex-shrink: 0; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
  font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.stu__edit:hover { border-color: var(--green); color: var(--green-ink); }
.stu__pods { display: flex; flex-wrap: wrap; gap: 6px; }
.stu__pod { font-size: 12.5px; background: var(--green-tint); color: var(--green-ink); border-radius: 999px; padding: 4px 11px; }
.stu__pod em { font-style: normal; opacity: .7; }
.stu__none { font-size: 13px; color: var(--muted); margin: 0; }
.stu__foot { border-top: 1px solid var(--line-2); padding-top: 10px; }

.stu-edit { display: flex; flex-direction: column; gap: 12px; }
.stu-edit__f { display: flex; flex-direction: column; gap: 5px; }
.stu-edit__f span { font-size: 12px; font-weight: 700; color: var(--ink-2); }
.stu-edit__f input, .stu-edit__f select { border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 10px 12px; font: inherit; font-size: 15px; }
.stu-edit__f input:focus, .stu-edit__f select:focus { outline: none; border-color: var(--green); }
.stu-edit__foot { display: flex; justify-content: flex-end; gap: 8px; }

/* ---- Clickable schedule sessions (list + calendar) ---- */
.vsched__item { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; border: 0; background: none;
  font: inherit; cursor: pointer; padding: 12px 10px; border-radius: 12px; }
.vsched__item:hover { background: var(--cream); }
.vsched__meet { margin-left: auto; font-size: 16px; }
.vcal__ev { border: 0; font: inherit; width: 100%; text-align: left; cursor: pointer; display: block; }
.vcal__ev:hover { filter: brightness(0.96); }
.sess-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.sess-actions .podc-hint { margin: 0; }

/* ---- Roster → student profile ---- */
.ros-row { cursor: pointer; }
.ros-row:hover { background: var(--cream); }
.ros-view { color: var(--purple-ink); font-weight: 600; font-size: 13px; white-space: nowrap; }

.sp-head { display: flex; align-items: center; gap: 14px; padding: 18px 24px 8px; }
.sp-ava { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sp-ava--i { display: inline-flex; align-items: center; justify-content: center; background: var(--green-tint); color: var(--green-ink); font-weight: 700; font-size: 19px; }
.sp-name { font-family: var(--head); font-size: 20px; }
.sp-email { color: var(--muted); font-size: 13px; }
.sp-pods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sp-last { margin-left: auto; text-align: right; font-size: 12px; color: var(--muted); }
.sp-last b { color: var(--ink); font-size: 15px; }

.sp-tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 12px 24px 20px; }
.sp-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 10px; text-align: center; }
.sp-tile b { display: block; font-family: var(--head); font-size: 24px; color: var(--ink); line-height: 1; }
.sp-tile span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.sp-tile--good { background: var(--green-tint); border-color: transparent; }
.sp-tile--good b { color: var(--green-ink); }
.sp-tile--warn { background: #fdeaea; border-color: transparent; }
.sp-tile--warn b { color: #c0392b; }

.sp-list { display: flex; flex-direction: column; gap: 6px; padding: 0 24px 24px; }
.sp-row { display: grid; grid-template-columns: 1fr auto 80px; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 12px; }
.sp-row__t strong { display: block; font-size: 14px; }
.sp-row__t small { color: var(--muted); font-size: 12px; }
.sp-row__s { font-size: 12.5px; color: var(--purple-ink); font-weight: 600; }
.sp-row__g { text-align: right; font-weight: 700; color: var(--ink); }
.podc-detail-body .podc-gb__h { padding: 0 24px; }
@media (max-width: 720px) {
  .sp-tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ===== Reviews (shared: pod detail + dashboard) ===== */
.stars { display: inline-flex; align-items: center; gap: 1px; }
.star { color: #d7dbe0; font-size: 15px; line-height: 1; }
.star--on { color: var(--amber); }
.stars__label { margin-left: 7px; font-size: 13px; color: var(--muted); }
.stars__label b { color: var(--ink); font-weight: 700; }

/* Review submit modal (student) */
.rv-note { background: #fdf3dd; border: 1px solid #f0dca8; color: #7a5a10; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13.5px; line-height: 1.5; margin-bottom: 16px; }
.rv-note strong { color: #5f460b; }
.rv-pod { font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.rv-stars { display: flex; gap: 6px; justify-content: center; margin: 6px 0 18px; }
.rv-star { background: none; border: 0; cursor: pointer; font-size: 40px; line-height: 1; color: #d7dbe0; transition: color .12s, transform .12s; padding: 0; }
.rv-star:hover { transform: scale(1.1); }
.rv-star.is-on { color: var(--amber); }

/* Low-rating heads-up shown to the student when they pick < 3 stars */
.rv-lownote { background: #eef6f0; border: 1px solid #cfe6d6; color: #2f6b45; border-radius: var(--radius-sm); padding: 11px 13px; font-size: 13px; line-height: 1.5; margin: -6px 0 16px; }

/* Parent approval modal — held low reviews awaiting a decision */
.pr-approve-list { display: grid; gap: 14px; }
.pr-approve { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow-xs); }
.pr-approve--done { opacity: .7; }
.pr-approve__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pr-approve__who { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pr-approve__pod { font-size: 12.5px; color: var(--muted); }
.pr-approve__comment { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0 0 12px; }
.pr-approve__comment--none { color: var(--muted); font-style: italic; }
.pr-approve__actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.pr-approve__result { font-size: 13px; font-weight: 700; color: var(--green-deep); }
.pr-approve__status:empty { display: none; }
.pr-approve__status { margin: 8px 0 0; }

/* Public reviews on the pod detail page */
.pod-reviews { margin-top: 4px; }
.pod-reviews__head { margin-bottom: 14px; }
.pod-reviews__head .stars .star { font-size: 20px; }
.pod-reviews__empty { color: var(--muted); font-size: 14px; }
.pod-reviews__list { display: grid; gap: 12px; }
.pr-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; box-shadow: var(--shadow-xs); }
.pr-item__top { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pr-item__who { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pr-item__comment { color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* =================== Messaging (text-only, parent-governed) =================== */
.msg-legal { background: #fff7e6; border: 1px solid #f4d58a; color: #7a5b12; border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 12.5px; line-height: 1.5; margin: 0 0 16px; }
.msg-app { display: grid; grid-template-columns: 300px 1fr; gap: 16px; min-height: 460px; }
.msg-list { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow-y: auto; max-height: 560px; padding: 6px; }
.msg-thread { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: none;
  padding: 10px 10px; border-radius: 10px; cursor: pointer; font: inherit; }
.msg-thread:hover { background: var(--cream); }
.msg-thread__ava { width: 38px; height: 38px; border-radius: 50%; background: var(--purple-tint); color: var(--purple-ink);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.msg-thread__body { flex: 1; min-width: 0; }
.msg-thread__body strong { display: block; font-size: 14px; }
.msg-thread__body small { display: block; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-flag { font-size: 14px; }

.msg-convo { border: 1px solid var(--line); border-radius: var(--radius-sm); display: flex; flex-direction: column; max-height: 560px; }
.msg-empty { margin: auto; color: var(--muted); padding: 40px; }
.msg-convo__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.msg-convo__head small { display: block; color: var(--muted); font-size: 12px; }
.msg-convo__actions { display: flex; gap: 14px; }
.msg-stream { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.msg-bubble { max-width: 78%; align-self: flex-start; background: var(--cream); border-radius: 14px; padding: 9px 13px; }
.msg-bubble.is-mine { align-self: flex-end; background: var(--green-tint); }
.msg-bubble__who { display: block; font-size: 11px; color: var(--muted); text-transform: capitalize; margin-bottom: 2px; }
.msg-bubble__text { display: block; color: var(--ink); white-space: pre-wrap; }
.msg-bubble__at { display: block; font-size: 10.5px; color: var(--muted-2); margin-top: 3px; }
.msg-compose { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.msg-compose input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font: inherit; }
.msg-compose input:focus { outline: none; border-color: var(--green); }

.pms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pms-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.pms-card__top { margin-bottom: 10px; }
.pms-card__top strong { font-size: 16px; }
.pms-card__top small { color: var(--muted); margin-left: 6px; }
.pms-toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 0; cursor: pointer; }
.pms-toggle input:disabled { opacity: .4; }
.pms-status { display: block; font-size: 12px; color: var(--green-ink); min-height: 16px; margin-top: 4px; }

/* =================== Admin audit =================== */
.audit-h { font-family: var(--head); font-size: 28px; margin: 6px 0 12px; }
.audit-sub { font-family: var(--head); font-size: 17px; margin: 0 0 12px; }
.audit-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.audit-form { display: flex; gap: 8px; margin-bottom: 14px; }
.audit-form input { flex: 1; border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 10px 12px; font: inherit; }
.audit-report { display: flex; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; }
.audit-report small { display: block; color: var(--muted); font-size: 12px; }
.audit-report__ids { font-size: 12px; color: var(--muted); white-space: nowrap; }
.audit-card { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.audit-card h3 { font-family: var(--head); }
.audit-card h3 small { color: var(--muted); font-weight: 500; text-transform: capitalize; }
.audit-meta { color: var(--muted); font-size: 12px; margin: 6px 0 14px; word-break: break-all; }
.audit-logins, .audit-grades, .audit-msgs { border-top: 1px solid var(--line-2); padding: 12px 0; font-size: 13px; }
.audit-grades ul { margin: 6px 0 0 18px; }
.audit-thread { border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; margin: 8px 0; }
.audit-thread em { color: var(--purple-ink); font-style: normal; font-weight: 600; }
.audit-line { font-size: 13px; padding: 3px 0; }
.audit-line span { display: inline-block; min-width: 60px; color: var(--muted); text-transform: capitalize; font-size: 11px; }
.audit-line small { color: var(--muted-2); }
.audit-note { margin-top: 12px; font-size: 12px; color: var(--muted); }
.vpill--err { background: #fdeaea; color: #c0392b; }

@media (max-width: 820px) {
  .msg-app { grid-template-columns: 1fr; }
  .audit-cols { grid-template-columns: 1fr; }
}

/* ============================================================
   Credentials, verification, payments, profile-views + card
   alignment  (branch: work/credentials-ui)
   ============================================================ */

/* Small button variant (Settings + admin) */
.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: 10px; box-shadow: none; }

/* Verified badge — shown in Settings header (reusable elsewhere) */
.vbadge { display: inline-flex; align-items: center; gap: 5px; font: 700 12px/1 var(--sans); padding: 5px 10px; border-radius: 999px; }
.vbadge--on { background: var(--green-tint); color: var(--green-ink); }
.vbadge--on svg { color: var(--green-ink); }

/* Verification / payments status rows */
.vverify { display: grid; gap: 12px; margin-bottom: 4px; }
.vverify__row { display: flex; align-items: flex-start; gap: 12px; }
.vverify__ico { font-size: 17px; line-height: 1.5; flex: 0 0 auto; }
.vverify__row strong { display: block; font-size: 14.5px; color: var(--ink); }
.vverify__row small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 2px; }
.vsub { font-family: var(--head); font-size: 15px; margin: 18px 0 6px; color: var(--ink); }

/* Credential submission form + list */
.vcred-form { display: grid; gap: 12px; margin-top: 8px; }
.vcred-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vcred-list { margin-top: 10px; display: grid; gap: 10px; }
.vcred-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.vcred-item__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vcred-item__main strong { font-size: 14px; color: var(--ink); }
.vcred-item__main small { color: var(--muted); font-size: 12.5px; }
.vcred-item__link { font-size: 12.5px; font-weight: 600; color: var(--purple-ink); }
.vcred-item__note { color: #b4232a !important; }

/* Who viewed your profile */
.vviews { display: grid; gap: 10px; }
.vview { display: flex; align-items: center; gap: 12px; }
.vview strong { display: block; font-size: 14px; color: var(--ink); }
.vview small { display: block; color: var(--muted); font-size: 12.5px; text-transform: capitalize; }

/* Dashboard sidebar legal footer — always visible, bottom corner */
.side__legal { display: flex; align-items: center; gap: 8px; padding: 12px 6px 2px; font-size: 12px; color: var(--muted-2); }
.side__legal a { color: var(--muted); font-weight: 600; }
.side__legal a:hover { color: var(--ink); }

/* Admin — credential review page */
.admin-creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.admin-cred { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.admin-cred__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.admin-cred__head strong { display: block; font-size: 15px; color: var(--ink); }
.admin-cred__head small { display: block; color: var(--muted); font-size: 12.5px; }
.admin-cred__label { color: var(--ink-2); font-size: 14px; margin: 0; }
.admin-cred__link { font-size: 13px; font-weight: 700; color: var(--purple-ink); }
.admin-cred__note { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.admin-cred__note input { padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: 400 14px var(--sans); }
.admin-cred__status { font-size: 13px; font-weight: 700; margin: 0; }
.admin-cred__status:empty { display: none; }
.admin-cred__status.ok { color: var(--green-ink); }
.admin-cred__status.err { color: #b4232a; }
.admin-cred__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: auto; }
.pods-status.err { color: #b4232a; }

/* Featured / marketplace pods — equal-size, bottom-aligned cards (#6) */
.pods .pod__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.pods .pod__teacher { margin-top: auto; }

@media (max-width: 640px) {
  .vcred-form__row { grid-template-columns: 1fr; }
  .admin-creds { grid-template-columns: 1fr; }
}

/* ============================================================
   Pod banner photos (Google Drive-hosted) + editor upload control
   ============================================================ */
.pod__img--photo { padding: 0; background: var(--line-2); }
.pod__img-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

.pe-banner { display: grid; gap: 10px; }
.pe-banner__preview { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--cream); aspect-ratio: 16 / 6; display: grid; place-items: center; }
.pe-banner__preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pe-banner__preview.is-empty { aspect-ratio: auto; padding: 16px; }
.pe-banner__placeholder { color: var(--muted); font-size: 13px; text-align: center; }
.pe-banner__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pe-banner__status { font-size: 13px; font-weight: 600; color: var(--muted); }
.pe-banner__status.ok { color: var(--green-ink); }
.pe-banner__status.err { color: #b4232a; }

/* Messaging banners (accept / closed / info) + parent ended state */
.msg-banner { background: var(--purple-tint); color: var(--purple-ink); border-radius: 10px; padding: 10px 14px; margin: 0 14px 10px; font-size: 13px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.msg-banner--accept { background: var(--green-tint); color: var(--green-ink); }
.msg-banner--closed { background: #fdeaea; color: #c0392b; }
.pms-ended { color: #c0392b; font-size: 13px; margin: 4px 0; }

/* Sidebar Google Classroom status chip (teachers) — sits above the user name */
.side__cr-wrap { margin: 0 0 10px; }
.side__cr { display: flex; align-items: stretch; gap: 4px; width: 100%; }
.side__cr-main { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; cursor: pointer;
  background: var(--cream, #f7f9f5); border: 1px solid var(--line, #e7ece8); border-radius: 12px; padding: 9px 11px; font: inherit; }
.side__cr-main:hover { border-color: var(--green, #a3c893); background: #fff; }
.side__cr-x { flex-shrink: 0; width: 32px; border: 1px solid var(--line, #e7ece8); border-radius: 10px; background: var(--cream, #f7f9f5);
  color: var(--muted, #64748b); cursor: pointer; font-size: 13px; line-height: 1; }
.side__cr-x:hover { border-color: #c0392b; color: #c0392b; background: #fff; }
.side__cr-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; position: relative; }
.side__cr-dot--on { background: #34c759; box-shadow: 0 0 0 3px rgba(52,199,89,.18); }
.side__cr-dot--warn { background: #f4b740; box-shadow: 0 0 0 3px rgba(244,183,64,.2); }
.side__cr-dot--off { background: #c2c8cf; }
.side__cr-dot--on::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(52,199,89,.4); animation: crpulse 2s ease-out infinite; }
@keyframes crpulse { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.side__cr-body { flex: 1; min-width: 0; line-height: 1.2; }
.side__cr-body strong { display: block; font-size: 12.5px; color: var(--ink, #0f172a); }
.side__cr-body small { display: block; font-size: 11px; color: var(--muted, #64748b); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side__cr-act { flex-shrink: 0; font-size: 15px; color: var(--muted, #64748b); }
.side__cr-act.is-spin { animation: crspin .8s linear infinite; display: inline-block; }
@keyframes crspin { to { transform: rotate(360deg); } }

/* Pod hero as a cover banner when the pod has an image */
.podc-hero--cover { background-size: cover; background-position: center; border: 0; min-height: 190px; align-items: flex-end; }
.podc-hero--cover .podc-hero__title { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.podc-hero--cover .podc-hero__meta { color: rgba(255,255,255,.9); }
/* Photo cover rendered as a real <img> layer (reliable where a CSS background-image to a
   Drive URL fails). The image sits behind a bottom scrim; text/controls sit above it. */
/* No overflow:hidden here — it would clip the ＋ Create dropdown that opens inside the
   hero. The photo + scrim round their own corners (border-radius: inherit) instead. */
.podc-hero--photo { position: relative; overflow: hidden; background: #0b0d12; min-height: 230px; }
.podc-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; border: 0; border-radius: inherit; }
/* Transparent over the top/middle (where a landscape subject sits) so the photo shows;
   dark only at the very bottom, behind the title. */
.podc-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,13,18,0) 0%, rgba(11,13,18,0) 44%, rgba(11,13,18,.78) 100%); border-radius: inherit; }
.podc-hero--photo .podc-hero__body, .podc-hero--photo .podc-hero__create { position: relative; z-index: 2; }

/* Student Assignments list */
.asg-list { display: flex; flex-direction: column; gap: 8px; }
.asg-row { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; cursor: pointer; }
.asg-row:hover { border-color: var(--purple); background: var(--cream); }
.asg-go { color: var(--muted); font-size: 18px; }
.asg-ic { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--purple-tint); font-size: 18px; flex-shrink: 0; }
.asg-body { flex: 1; min-width: 0; }
.asg-body strong { display: block; font-size: 15px; }
.asg-body small { display: block; color: var(--muted); font-size: 12.5px; }
.asg-due { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.asg-due.is-over { color: #c0392b; }
.asg-pts { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* Full-size detail modal (student assignment view) — fills most of the page */
.podc-modal__card--full { width: 97vw; max-width: 1400px; max-height: 94vh; overflow-y: auto; }
.podc-modal__card--full .podc-detail-body { padding: 24px 40px 40px; }
.podc-modal__card--full .podc-embeds { max-width: 100%; }
.podc-modal__card--full .podc-embed { max-width: 100%; width: 100%; }
.podc-modal__card--full .podc-detail-desc { font-size: 16px; line-height: 1.65; }
.podc-modal__card--full .podc-detail-meta { font-size: 14px; }

/* Assignment engagement (teacher gradebook) */
.podc-eng { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.podc-eng__row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-bottom: 1px solid var(--line-2); }
.podc-eng__name { font-weight: 600; color: var(--ink); }
.podc-eng__live { font-size: 12px; font-weight: 700; color: #34c759; }
.podc-eng__meta { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }

/* Student's Classroom chip main area is status-only (not clickable) */
.side__cr-main--static { cursor: default; }
.side__cr-main--static:hover { border-color: var(--line, #e7ece8); background: var(--cream, #f7f9f5); }

/* Locked disconnect (student still enrolled) */
.side__cr-x:disabled { cursor: not-allowed; opacity: .6; }
.side__cr-x:disabled:hover { border-color: var(--line, #e7ece8); color: var(--muted, #64748b); background: var(--cream, #f7f9f5); }

/* Pod editor: profile-photo nudge (shown while creating a pod, if no uploaded photo) */
.pe-photo-nudge { display: flex; align-items: center; gap: 14px; background: var(--green-tint, #eef4ea); border: 1px solid var(--green, #a3c893);
  border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; }
.pe-photo-nudge__txt { flex: 1; min-width: 0; }
.pe-photo-nudge__txt strong { display: block; font-size: 14px; color: var(--ink, #0f172a); }
.pe-photo-nudge__txt small { display: block; font-size: 12.5px; color: var(--green-ink, #5f8149); line-height: 1.4; }
.pe-photo-nudge .btn { flex-shrink: 0; }

/* Student's own grade (not the class gradebook) */
.podc-mygrade { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; }
.podc-mygrade__score { font-family: var(--head); font-size: 30px; font-weight: 700; color: var(--green-ink); }
.podc-mygrade__state { font-size: 13px; color: var(--muted); text-transform: capitalize; }

/* Branded "cancel enrollment" refund modal */
.cxl { z-index: 100; }
.cxl-card { background: #fff; border-radius: var(--radius); width: 100%; max-width: 440px; box-shadow: 0 30px 70px rgba(20,21,26,.32); overflow: hidden; }
.cxl-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cxl-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
.cxl-brand { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--purple); }
.cxl-brand span { color: var(--green); }
.cxl-x { background: none; border: 0; font-size: 17px; color: var(--muted); cursor: pointer; }
.cxl-body { padding: 22px 24px 24px; }
.cxl-loading { color: var(--muted); text-align: center; padding: 20px; }
.cxl-h { font-family: var(--head); font-size: 20px; margin: 0 0 6px; }
.cxl-starts { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: #3730a3; background: #eef2ff; border: 1px solid #e0e7ff; border-radius: 999px; padding: 5px 12px; margin: 0 0 12px; }
.cxl-starts__ic { font-size: 14px; }
.cxl-sub { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.cxl-refund { background: var(--green-tint); border-radius: var(--radius-sm); padding: 18px; text-align: center; margin: 8px 0 14px; }
.cxl-refund__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--green-ink); }
.cxl-refund__amt { display: block; font-family: var(--head); font-size: 40px; font-weight: 800; color: var(--green-ink); line-height: 1.1; margin-top: 4px; }
.cxl-refund__paid { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cxl-policy { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 0 0 6px; }
.cxl-note { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
.cxl-err { color: #c0392b; font-size: 13px; margin: 10px 0 0; }
.cxl-actions { display: flex; gap: 10px; margin-top: 18px; }
.cxl-actions .btn { flex: 1; }

/* ---------- Brand loading spinner (purple → green) ----------
   Reusable across pages. Usage: <div class="pc-loader">Loading…</div>
   or an inline <span class="pc-spinner"></span>. */
@keyframes pc-spin { to { transform: rotate(360deg); } }
.pc-loader {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; min-height: 180px; padding: 44px 20px;
  color: var(--muted, #6b7280); font-size: 14px; text-align: center;
}
.pc-loader::before, .pc-spinner {
  content: ""; width: 44px; height: 44px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 4%, var(--purple, #b3a2e8), var(--green, #a3c893));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: pc-spin .8s linear infinite;
}
.pc-spinner { display: inline-block; vertical-align: middle; }
.pc-spinner--sm { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) {
  .pc-loader::before, .pc-spinner { animation-duration: 2.4s; }
}

/* ---------- "Go time" live dot (next to Join buttons) ----------
   A Find-My-iPhone-style pulsing green dot: shows 5 min before a class starts. */
.join-wrap { display: inline-flex; align-items: center; gap: 8px; }
.live-dot { position: relative; display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: #22c55e; flex: 0 0 auto; }
.live-dot::before { content: ""; position: absolute; inset: -3px; border-radius: 50%;
  background: rgba(34,197,94,.55); z-index: -1;
  animation: live-ping 1.5s cubic-bezier(0,0,.2,1) infinite; }
@keyframes live-ping { 0% { transform: scale(.6); opacity: .85; } 100% { transform: scale(2.4); opacity: 0; } }
.live-dot[hidden] { display: none; }
.join-wrap.is-live .btn--green { box-shadow: 0 0 0 3px rgba(34,197,94,.28); }
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none; } }

/* ============================================================
   Safety reporting affordances (report a teacher / a family)
   ============================================================ */
.pod-report { display: block; width: 100%; margin-top: 10px; background: none; border: none; color: var(--muted); font: 600 13px var(--sans); cursor: pointer; padding: 8px; }
.pod-report:hover { color: #b4232a; }
.report-subj { color: var(--ink-2); font-size: 14px; margin-bottom: 12px; }
.report-note { color: var(--muted-2); font-size: 12px; margin-top: 10px; }
.report-modal .form-status.ok { color: var(--green-ink); }
.report-modal .form-status.err { color: #b4232a; }
.sp-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); text-align: right; }
.podc-report { background: none; border: 1px solid var(--line); color: var(--muted); font: 600 13px var(--sans); padding: 8px 14px; border-radius: 10px; cursor: pointer; }
.podc-report:hover { color: #b4232a; border-color: #f0c9c9; }

/* Always-visible report button (FAB) */
.report-fab { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; border: none; border-radius: 999px; padding: 12px 18px; font: 700 14px var(--sans); cursor: pointer; box-shadow: var(--shadow-md); }
.report-fab:hover { background: #2a2b33; }
.report-fab:disabled { opacity: .6; cursor: default; }
.report-fab__ico { font-size: 15px; }
@media (max-width: 560px) { .report-fab__label { display: none; } .report-fab { padding: 14px; } }

/* Guided report flow (what → who → details) */
.rf-step { color: var(--muted-2); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.rf-q { color: var(--ink-2); font-size: 14px; margin-bottom: 10px; }
.rf-list { display: grid; gap: 10px; max-height: 46vh; overflow: auto; }
.rf-opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; cursor: pointer; }
.rf-opt:hover { border-color: var(--muted-2); }
.rf-opt input { flex: 0 0 auto; }
.rf-opt__main strong { display: block; color: var(--ink); font-size: 14px; }
.rf-opt__main small { color: var(--muted); font-size: 12.5px; }
.report-loading, .report-empty { color: var(--muted); font-size: 14px; padding: 10px 0; }
.rf-done { text-align: center; padding: 20px 10px; }
.rf-done__ico { font-size: 34px; display: block; margin-bottom: 8px; }
.rf-done h3 { font-family: var(--head); font-size: 18px; color: var(--ink); }
.rf-done p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== [work/async-teacher-profile] pod page: async chip, teacher card, gated extras, card actions ===== */
.pod__tags .tg--async, .pod-detail__tags .tg--async { background: #fdeee6; color: #b7541f; font-weight: 600; }
.pod__cap { vertical-align: -2px; }
.pod__actions { display: flex; gap: 8px; margin-top: 8px; }
.pod__act { flex: 1; background: #f6f7f9; border: 1px solid var(--line, #e6e8ec); border-radius: 999px; padding: 8px 10px; font-size: 12.5px; font-weight: 600; color: #4b5563; cursor: pointer; }
.pod__act:hover { background: #eef0f3; }
.pod__act:disabled { opacity: .7; cursor: default; }

/* Teacher profile card (pod-detail sidebar) */
.teacher-card { margin-top: 16px; background: #fff; border: 1px solid var(--line, #eef0f2); border-radius: 14px; padding: 16px; box-shadow: 0 1px 2px rgba(20,30,45,.04); }
.teacher-card:empty { display: none; }
.tc-head { display: flex; gap: 12px; align-items: center; }
.tc-ava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.tc-ava--i { display: flex; align-items: center; justify-content: center; background: #e8f0ea; color: #2f6b45; font-weight: 700; }
.tc-id { min-width: 0; }
.tc-id strong { display: block; font-size: 15px; color: #1c2430; }
.tc-new { font-size: 12.5px; color: #8a94a0; }
.tc-cap { vertical-align: -3px; }
.tc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tc-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.tc-badge--verified { background: #e6f5ec; color: #2f7a48; }
.tc-badge--founder { background: #fbf3df; color: #8a6a1a; }
.tc-stats { display: flex; gap: 10px; margin-top: 14px; }
.tc-stat { flex: 1; background: #f6f7f9; border-radius: 10px; padding: 10px 8px; text-align: center; }
.tc-stat b { display: block; font-size: 19px; color: #26303b; font-weight: 800; }
.tc-stat span { font-size: 11.5px; color: #8a94a0; }

/* Enrolled-only extras + public teasers */
.pod-gated:empty { display: none; }
.pod-gated__teaser { background: #f6f7f9; border: 1px dashed var(--line, #dfe3e8); border-radius: 10px; padding: 11px 13px; color: #6a7480; font-size: 13.5px; margin: 6px 0; }
.pod-syllabus-link { display: inline-flex; align-items: center; gap: 6px; background: #eef2fd; color: #3a49b8; border-radius: 10px; padding: 10px 14px; font-weight: 600; text-decoration: none; }
.pod-syllabus-link:hover { background: #e3e9fb; }
.pod-address { font-size: 15px; color: #26303b; }
.pod-interest { margin-top: 8px; }

/* ===== [session-1-classroom] Parent/student engagement + cancel spinner ===== */
/* Cancel modal: show a spinning gradient ring while cancelEnrollmentQuote runs. Appended
   after the base .cxl-loading rule so it augments it without editing the original. */
.cxl-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.cxl-loading::before {
  content: ""; width: 40px; height: 40px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 4%, var(--purple), var(--green));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: pc-spin .8s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .cxl-loading::before { animation-duration: 2.4s; } }

/* Parent Overview: enroll-request notification rows inside the green banner. */
.pc-notif__list { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.pc-notif__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13.5px; }
.pc-notif__acts { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.pc-notif__x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; padding: 2px 5px; }
.pc-notif__x:hover { color: #b23b3b; }

/* Parent "Rate your teachers" panel. */
.prv-sec { margin-top: 26px; }
.prv-list { display: flex; flex-direction: column; gap: 10px; }
.prv-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-xs); }
.prv-row__info strong { display: block; font-size: 15px; }
.prv-row__info small { color: var(--muted); font-size: 13px; }
.prv-row__rate { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prv-row__unrated { color: var(--muted); font-size: 13px; }

/* Wishlist rows (student's own list + parent's per-child view). */
.wl-list { display: flex; flex-direction: column; gap: 8px; }
.wl-row { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-xs);
  transition: border-color .15s ease, transform .15s ease; }
a.wl-row:hover { border-color: var(--purple); transform: translateY(-1px); }
.wl-row__ico { font-size: 18px; flex: 0 0 auto; }
.wl-row__body { flex: 1; min-width: 0; }
.wl-row__body strong { display: block; font-size: 14.5px; }
.wl-row__body small { color: var(--muted); font-size: 12.5px; }
.wl-row__go { color: var(--purple-ink); font-size: 13px; font-weight: 600; flex: 0 0 auto; }
.wl-row__acts { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; flex: 0 0 auto; }
.wl-row__x { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; padding: 2px 5px; }
.wl-row__x:hover { color: #b23b3b; }

/* ===== Marketplace card actions: student-only "Notify parent" / "Wishlist" ===== */
/* These are student actions (flag a pod for a parent, save to wishlist). Hidden by default so
   logged-out visitors, parents, and teachers never see them; revealed only when pod-card.js
   flags a signed-in student on the <body>. */
.pod__actions { display: none; }
body.pc-student .pod__actions { display: flex; }

/* ===== Combined Terms — plain-English callouts + jump links ===== */
.legal__jump { font-size: 14px; margin: 0 0 22px; color: var(--muted); }
.legal__jump a { color: var(--purple-ink, #6a54b5); font-weight: 600; text-decoration: none; }
.legal__jump a:hover { text-decoration: underline; }
.legal__plain { background: #f3f1fb; border-left: 3px solid var(--purple, #b3a2e8); border-radius: 8px;
  padding: 11px 15px; margin: 12px 0 16px; font-size: 14px; line-height: 1.55; color: #40465a; }
.legal__plain strong { color: var(--purple-ink, #5a44a8); }
.legal h2[id] { scroll-margin-top: 90px; }

/* ===== Pod editor: drag-to-reposition the banner photo ===== */
/* The FRAME is the drag target; the image never receives pointer events (so it can't swallow
   the gesture or start a native image-drag). touch-action:none lets a finger drag it too. */
.pe-banner__preview { position: relative; touch-action: none; }
.pe-banner__preview:not(.is-empty) { cursor: grab; }
.pe-banner__preview.is-dragging { cursor: grabbing; }
.pe-banner__preview img { user-select: none; -webkit-user-drag: none; pointer-events: none; }
.pe-banner__drag { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); background: rgba(20,21,26,.62); color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; pointer-events: none; opacity: .92; }
.pe-banner__preview.is-empty .pe-banner__drag { display: none; }

/* ===== [work/admin-console-roundout] pod card: subject pill distinct from grade pills ===== */
.pod__tags .tg--subject { background: var(--purple-tint); color: var(--purple-ink); }
.pod-detail__tags .tg--subject { background: var(--purple-tint); color: var(--purple-ink); }

/* ===== [work/admin-console-roundout] teacher "cancel this pod" modal: forfeit callout ===== */
.cpx-forfeit { background: #fdeaea; border-radius: var(--radius-sm); padding: 18px; text-align: center; margin: 8px 0 12px; }
.cpx-forfeit__label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #c0392b; }
.cpx-forfeit__amt { display: block; font-family: var(--head); font-size: 40px; font-weight: 800; color: #c0392b; line-height: 1.1; margin-top: 4px; }
.cpx-forfeit__sub { display: block; font-size: 12.5px; color: #a44; margin-top: 4px; }
.cpx-keep { font-size: 13.5px; color: var(--muted); margin: 0 0 16px; text-align: center; }
.cpx-keep b { color: var(--ink); }
.cpx-confirm { display: block; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.cpx-confirm b { color: var(--ink); letter-spacing: .08em; }
.cpx-input { width: 100%; box-sizing: border-box; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.cpx-input:focus { outline: none; border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.14); }

/* ---- Pod People tab: unified student row with combined status on the right ---- */
.podc-person--status { display: flex; align-items: center; gap: 12px; }
.podc-person--status .podc-person__id { flex: 1 1 auto; min-width: 0; }
.podc-status { display: inline-flex; gap: 6px; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; }
.podc-pill { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.podc-pill.is-on { background: #e4f6ea; color: #1c7a43; border-color: rgba(28,122,67,.28); }
.podc-pill.is-off { background: #eef1f4; color: #64748b; border-color: rgba(100,116,139,.22); }
/* A still-pending status (Unpaid / Not joined) gently pulses to signal it's in progress. */
.podc-pill.is-off { animation: podc-pulse 1.7s ease-in-out infinite; }
@keyframes podc-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
/* Inline spinner shown inside async hero buttons (Create Meet / Update calendar) while they work. */
.podc-spin { display: inline-block; width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.45);
  border-top-color: #fff; border-radius: 50%; animation: pc-spin .7s linear infinite; vertical-align: -2px; margin-right: 7px; }
.podc-chip--ghost .podc-spin { border-color: rgba(109,75,216,.3); border-top-color: #6d4bd8; }
@media (prefers-reduced-motion: reduce) { .podc-pill.is-off { animation: none; } }
@media (max-width: 560px) {
  .podc-person--status { flex-wrap: wrap; }
  .podc-status { width: 100%; justify-content: flex-start; padding-left: 46px; }
}
