/* ════════════════════════════════════════
   TOKENS & BASE
════════════════════════════════════════ */

:root {
  --sun:   #40BFFF;
  --sky:   #4ABFCE;
  --grass: #5BBB6F;
  --berry: #E05C5C;
  --plum:  #7B5EA7;
  --cream: #FEF9F1;
  --ink:   #1C1C1E;
  --soft:  #F0EBE1;
  --muted: #8A8A8A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #111;
  min-height: 100vh;
  overflow-x: hidden;
}


/* Person name colors — consistent across all views */
.n-dorothy { color: #40BFFF; font-weight: 600; }
.n-marcus  { color: #E8697A; font-weight: 600; }
.n-liam    { color: #2A9E8E; font-weight: 600; }

#s-admin .n-dorothy,
#s-admin .n-marcus,
#s-admin .n-liam { color: inherit; font-weight: inherit; }


/* ════════════════════════════════════════
   TOP NAV
════════════════════════════════════════ */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 64px;
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 0;
}

#nav-logo {
  margin-right: 24px;
  display: flex;
  align-items: center;
}

#nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.ntab {
  height: 64px;
  padding: 0 13px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.3);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}

.ntab:hover {
  color: rgba(255,255,255,.6);
}

.ntab.on {
  color: var(--cream);
  border-bottom-color: var(--sun);
}

.nav-sect-div {
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.12);
  margin: 0 12px;
  flex-shrink: 0;
}

.nav-sect-lbl {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .3px;
  color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  padding: 3px 9px;
  margin-right: 4px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  flex-shrink: 0;
}


/* ════════════════════════════════════════
   SCREEN SWITCHING
════════════════════════════════════════ */

.scr {
  display: none;
  padding-top: 64px;
  min-height: 100vh;
}

.scr.on {
  display: block;
  animation: fu .18s ease;
}

@keyframes fu {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes btn-pulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(101,233,123,0); }
  50%      { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(101,233,123,.18); }
}

@keyframes btn-charge {
  0%   { width: 0%;   opacity: 1; }
  80%  { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

@keyframes btn-loading-bob {
  0%, 100% { transform: translateY(0)   rotate(0deg);  }
  20%       { transform: translateY(-5px) rotate(-2deg); }
  50%       { transform: translateY(-3px) rotate(2deg);  }
  75%       { transform: translateY(-6px) rotate(-1deg); }
}


/* ════════════════════════════════════════
   SHARED — BANNER PATTERN
════════════════════════════════════════ */

.banner {
  position: sticky;
  top: 64px;
  z-index: 100;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

.bn-name {
  font-size: 13px;
  font-weight: 700;
}

.bn-ctx {
  font-size: 12px;
}

.bn-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 20px;
  border-width: 1px;
  border-style: solid;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

.live-pill {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  background: rgba(255,125,95,.14);
  border: 1px solid rgba(255,125,95,.32);
  color: #FF7D5F;
  padding: 3px 10px;
  border-radius: 20px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: .2; }
}


/* ════════════════════════════════════════
   SHARED — VIDEO TILE PATTERN
════════════════════════════════════════ */

.vcall-wrap {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.vcall-grid {
  flex: 1;
  display: grid;
  gap: 4px;
  padding: 10px;
  min-height: 0;
}

.vtile {
  border-radius: 14px;
  background: #0f1e2e;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vtile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(255,255,255,.035) 0%, transparent 55%);
}

.vtile-av {
  font-size: 44px;
  opacity: .55;
  position: relative;
  z-index: 1;
}

.vtile-name {
  position: absolute;
  bottom: 9px;
  left: 11px;
  z-index: 2;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.42);
  padding: 2px 8px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* Ready ring */
.vtile-ring {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 14px;
  border: 2.5px solid transparent;
  transition: border-color .35s, box-shadow .35s;
}

.vtile-ring.ready {
  border-color: var(--grass);
  box-shadow: inset 0 0 0 1px rgba(91,187,111,.18);
}

/* Checkmark badge */
.vtile-ck {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 4;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: scale(0);
  transition: opacity .25s, transform .3s cubic-bezier(.34,1.56,.64,1);
}

.vtile-ck.show {
  opacity: 1;
  transform: scale(1);
}

/* Call bottom bar */
.vcall-bar {
  height: 54px;
  flex-shrink: 0;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
}

.vctrl {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  background: rgba(255,255,255,.09);
  transition: all .15s;
}

.vctrl:hover {
  background: rgba(255,255,255,.16);
}

.vctrl.end {
  background: rgba(224,92,92,.16);
}

.vctrl.end:hover {
  background: rgba(224,92,92,.28);
}


/* ════════════════════════════════════════
   1. ADMIN
════════════════════════════════════════ */

#s-admin {
  background: var(--cream);
  height: 100vh;
  overflow: hidden;
  flex-direction: column;
  box-sizing: border-box;
}

#s-admin.on {
  display: flex;
}

.adm-hero {
  background: #111;
  padding: 28px 36px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
  flex-shrink: 0;
}

.adm-hero-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.adm-ey {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sun);
  line-height: 1;
}

.adm-h1 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.adm-h-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.461);
  margin-top: 1px;
}

.adm-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.adm-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0 28px;
}

.adm-stat-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.1);
}

.sn {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1;
}

.sl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.623);
  margin-top: 3px;
  white-space: nowrap;
}

.adm-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

/* ── ADMIN SECTION SWITCHING ── */
.adm-sec { display: none; }
.adm-sec.on { display: block; }

.adm-sb {
  background: var(--soft);
  padding: 22px 14px;
  border-right: 1px solid rgba(0,0,0,.07);
  overflow-y: auto;
}


/* ════════════════════════════════════════
   SESSION KITS — GRID VIEW
════════════════════════════════════════ */

.kit-header {
  padding: 28px 28px 0;
}

.kit-header-t {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.kit-header-s {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 28px 40px;
}

.kit-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px 20px 20px;
  cursor: pointer;
  border: 1.5px solid rgba(0,0,0,.07);
  border-top: 3px solid var(--kc);
  position: relative;
  overflow: hidden;
  transition: box-shadow .15s, transform .15s;
}

.kit-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.kc-num {
  font-family: 'Fraunces', serif;
  font-size: 36px;
  font-weight: 700;
  color: rgba(0,0,0,.06);
  line-height: 1;
  margin-bottom: 6px;
  user-select: none;
}

.kc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kc-title {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.kc-idea {
  font-size: 13px;
  color: rgba(28,28,30,.65);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kc-emotions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 2px;
}

.kc-em {
  font-size: 10px;
  font-weight: 600;
  color: var(--kc);
  background: color-mix(in srgb, var(--kc) 12%, transparent);
  padding: 3px 9px;
  border-radius: 20px;
}



/* ════════════════════════════════════════
   KIT DETAIL MODAL
════════════════════════════════════════ */

.kcm-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.kcm-bg.on {
  display: flex;
  animation: fu .18s ease;
}

.kcm {
  background: #fff;
  border-radius: 14px;
  width: 780px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
}

.kcm-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 10;
  margin: 14px 14px 0 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.07);
  color: var(--ink);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kcm-close:hover { background: rgba(0,0,0,.13); }

.kcm-hd {
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.kcm-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.kcm-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.kcm-summary {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.kcm-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(0,0,0,.07);
  align-items: start;
}

.kcm-bi-lbl {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.kcm-bi-t {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

.kcm-right-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.kcm-emotions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.kcm-em {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1.5px solid;
}

.kcm-status {
  font-size: 11px;
  white-space: nowrap;
}

.kcm-status--here { color: var(--grass); font-weight: 600; }
.kcm-status--done { color: var(--muted); }

.kcm-phases {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kph {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.kph:last-child { border-bottom: none; }

.kph-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.kph-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
}

.kph-time {
  font-size: 11px;
  color: var(--muted);
}

.kph-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kph-list li {
  font-size: 13px;
  color: rgba(28,28,30,.75);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}

.kph-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--muted);
  font-weight: 700;
}

.kcm-fnt {
  margin: 0 32px 28px;
  background: var(--soft);
  border-radius: 8px;
  padding: 14px 16px;
}

.kcm-fnt-lbl {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.kcm-fnt-t {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.5;
}

.sb-sec {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 14px 0 5px;
}

.sb-sec:first-child {
  margin-top: 0;
}

.sb-it {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  margin-bottom: 1px;
  transition: background .13s;
}

.sb-it:hover {
  background: rgba(0,0,0,.05);
}

.sb-it.on {
  background: var(--ink);
  color: var(--cream);
}

.sb-d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.adm-main {
  padding: 30px 38px;
  overflow-y: auto;
  overflow-x: hidden;
}


/* ════════════════════════════════════════
   PARTNER ONBOARDING
════════════════════════════════════════ */

/* Hero banner */
.ob-hero {
  background: linear-gradient(135deg, #1e1408 0%, #2c1e0a 100%);
  border-radius: 18px;
  padding: 38px 44px;
  margin-bottom: 32px;
  border: 1px solid rgba(255,190,80,.1);
  box-shadow: 0 4px 24px rgba(0,0,0,.12);
}

.ob-hero-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #F5A623;
  margin-bottom: 10px;
  opacity: .8;
}

.ob-hero-h {
  font-family: 'Fraunces', serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}

.ob-hero-s {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 28px;
}

.ob-hero-stats {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 16px 24px;
  border: 1px solid rgba(255,255,255,.08);
  max-width: 420px;
}

.ob-hs {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 3px;
}

.ob-hs-n {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: #F5A623;
  line-height: 1;
}

.ob-hs-l {
  font-size: 10.5px;
  color: rgba(255,255,255,.45);
  text-align: center;
  line-height: 1.3;
}

.ob-hs-div {
  width: 1px;
  height: 34px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* Section labels */
.ob-sec-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(28,28,30,.35);
}

.ob-sec-lbl-spaced {
  margin-top: 36px;
  margin-bottom: 12px;
  display: block;
}

.ob-sec-title {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.2px;
  margin-top: 3px;
}

/* Checklist card */
.ob-cl-section {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.07);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

.ob-cl-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Progress ring */
.ob-progress-ring {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.ob-ring-svg {
  width: 72px;
  height: 72px;
}

.ob-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ob-ring-n {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.ob-ring-s {
  font-size: 9px;
  color: var(--muted);
  font-weight: 600;
}

/* Checklist items */
.ob-checklist {
  background: none;
}

.ob-ci {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .15s;
}

.ob-ci:last-child {
  border-bottom: none;
}

.ob-ci.done {
  background: rgba(91,187,111,.04);
}

.ob-ci.done .ob-ci-t {
  text-decoration: line-through;
  color: var(--muted);
}

.ob-ci.done .ob-ci-d {
  opacity: .45;
}

.ob-ci-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ob-ci-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,.14);
  cursor: pointer;
  transition: all .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ob-ci-check:hover {
  border-color: var(--grass);
  background: rgba(91,187,111,.07);
}

.ob-ci.done .ob-ci-check {
  background: var(--grass);
  border-color: var(--grass);
}

.ob-ci.done .ob-ci-check::after {
  content: '✓';
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.ob-ci-num {
  font-size: 10px;
  font-weight: 700;
  color: rgba(0,0,0,.16);
  letter-spacing: .5px;
  width: 18px;
}

.ob-ci-body {
  flex: 1;
  min-width: 0;
}

.ob-ci-t {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
  transition: color .15s;
}

.ob-ci-d {
  font-size: 12.5px;
  color: rgba(28,28,30,.5);
  line-height: 1.55;
  transition: opacity .15s;
}

.ob-ci-btn {
  flex-shrink: 0;
  background: var(--soft);
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 9px;
  padding: 8px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background .13s;
  white-space: nowrap;
}

.ob-ci-btn:hover {
  background: rgba(0,0,0,.08);
}

.ob-ci.done .ob-ci-btn {
  opacity: .35;
  pointer-events: none;
}

/* Platform capability cards */
.ob-platform-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ob-platform-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.07);
  padding: 22px 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}

.ob-pc-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.ob-pc-t {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
  letter-spacing: -.1px;
}

.ob-pc-d {
  font-size: 12px;
  color: rgba(28,28,30,.52);
  line-height: 1.65;
}

/* Session arc */
.ob-arc {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.07);
  padding: 28px 32px;
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}

.ob-arc-it {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 8px;
}

.ob-arc-it:not(.ob-arc-last)::after {
  content: '';
  position: absolute;
  top: 13px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: rgba(0,0,0,.06);
  z-index: 0;
}

.ob-arc-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.ob-arc-ph {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 3px;
}

.ob-arc-time {
  font-size: 10.5px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 8px;
}

.ob-arc-desc {
  font-size: 11px;
  color: rgba(28,28,30,.48);
  text-align: center;
  line-height: 1.5;
}

/* Two-column section */
.ob-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Session modes */
.ob-modes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ob-mode {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.07);
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}

.ob-mode-icon {
  font-size: 20px;
  margin-bottom: 8px;
}

.ob-mode-t {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
}

.ob-mode-d {
  font-size: 12px;
  color: rgba(28,28,30,.52);
  line-height: 1.6;
}

/* Who handles what */
.ob-resp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ob-resp-col {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.07);
  padding: 18px 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}

.ob-resp-head {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ob-resp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ob-resp-list li {
  font-size: 12.5px;
  color: rgba(28,28,30,.65);
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.ob-resp-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(0,0,0,.22);
}

/* Explore quick access */
.ob-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 40px;
}

.ob-quick-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all .15s;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}

.ob-quick-btn:hover {
  background: var(--soft);
  border-color: rgba(0,0,0,.12);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,.07);
}

.ob-qb-icon {
  font-size: 22px;
  flex-shrink: 0;
}

.ob-qb-t {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.ob-qb-s {
  font-size: 11px;
  color: var(--muted);
}

.sec-t {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.3px;
  margin-bottom: 3px;
}

.sec-s {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* Insight banners */
.ins {
  background: linear-gradient(135deg, rgba(101,233,123,.07), rgba(64,191,255,.04));
  border: 1px solid rgba(101,233,123,.18);
  border-radius: 11px;
  padding: 12px 16px;
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}

.ins.w {
  background: linear-gradient(135deg, rgba(255,125,95,.08), rgba(64,191,255,.03));
  border-color: rgba(255,125,95,.22);
}

.ins-t {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
}

.ins-t strong {
  font-weight: 600;
  color: var(--grass);
}

.ins.w .ins-t strong {
  color: var(--berry);
}

/* Triad grid */
.tg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 11px;
  margin: 18px 0 26px;
}

.tc {
  background: #fff;
  border-radius: 14px;
  padding: 17px 19px;
  border: 1px solid rgba(0,0,0,.06);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .17s;
}

.tc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.tc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.c1::before { background: var(--grass); }
.c2::before { background: var(--sky);   }
.c3::before { background: var(--sun);   }
.c4::before { background: var(--plum);  }

.tc-avs {
  display: flex;
  margin-bottom: 9px;
}

.tav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: 2px solid #fff;
  margin-left: -6px;
}

.tav:first-child {
  margin-left: 0;
}

.tc-n {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.tc-m {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 11px;
}

.pips {
  display: flex;
  gap: 3px;
  margin-bottom: 8px;
}

.pp {
  height: 4px;
  flex: 1;
  border-radius: 2px;
  background: var(--soft);
}

.pp.d { background: var(--grass); }
.pp.c { background: var(--sun);   }

.tc-f {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tc-nx {
  font-size: 10.5px;
  color: var(--muted);
}

.bg {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}

.bg-a { background: rgba(91,187,111,.12);  color: var(--grass); }
.bg-p { background: rgba(64,191,255,.12);  color: var(--sun);   }

/* Health + schedule panels row */
.hp-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.hp-row .hp {
  flex: 1;
  min-width: 0;
}

/* Health panel */
.hp {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  border: 1px solid rgba(0,0,0,.06);
}

/* Session schedule items */
.sch-it {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
}

.sch-it:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sch-it:first-of-type {
  padding-top: 2px;
}

.sch-avs {
  display: flex;
  flex-shrink: 0;
}

.sch-avs .tav {
  width: 24px;
  height: 24px;
  font-size: 10px;
  margin-left: -5px;
  border-width: 1.5px;
}

.sch-avs .tav:first-child {
  margin-left: 0;
}

.sch-info {
  flex: 1;
  min-width: 0;
}

.sch-triad {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.sch-ses {
  font-size: 10.5px;
  color: var(--muted);
}

.sch-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.sch-date {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink);
}

.hp-t {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 3px;
}

.hp-s {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hr {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.hl {
  font-size: 11px;
  width: 160px;
  flex-shrink: 0;
}

.hb {
  flex: 1;
  height: 5px;
  background: var(--soft);
  border-radius: 3px;
  overflow: hidden;
}

.hf {
  height: 100%;
  border-radius: 3px;
}

.hpc {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  width: 28px;
  text-align: right;
}

/* Tooltip — triggered only by the ? badge */
.tip-q {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(0,0,0,.07);
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  cursor: help;
  margin-left: 5px;
  position: relative;
  vertical-align: middle;
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
}

.tip-q .tt {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  z-index: 999;
  width: 285px;
  background: #2a2a2a;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  line-height: 1.55;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  pointer-events: none;
}

.tip-q:hover .tt {
  display: block;
}

.tt-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 5px;
}


/* ════════════════════════════════════════
   2. IN-PERSON
════════════════════════════════════════ */

#s-inperson {
  background: #162330;
}

.ip-banner {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: #0c1f30;
  border-bottom: 1px solid rgba(64,191,255,.18);
  padding: 9px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ip-mode {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(64,191,255,.15);
  border: 1px solid rgba(64,191,255,.3);
  color: var(--sun);
  padding: 3px 10px;
  border-radius: 20px;
}

.ip-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px;
  position: relative;
}

.ip-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(64,191,255,.08), transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(64,191,255,.05),  transparent 40%);
}

.ph-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.pht {
  padding: 6px 15px;
  border-radius: 20px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.32);
  cursor: pointer;
  transition: all .17s;
}

.pht:hover {
  color: rgba(255,255,255,.55);
}

.pht.on {
  background: rgba(255,255,255,.15);
  color: var(--cream);
}

/* Session card */
.sh-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 28px 32px;
  max-width: 840px;
  width: 100%;
  position: relative;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(0,0,0,.42);
}

.sh-ses {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.sh-t {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.5px;
  margin-bottom: 4px;
}

.sh-i {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* Phase layout grids */
.ph-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.ph-2col--55 {
  grid-template-columns: 55fr 45fr;
  align-items: stretch;
}

.ph-vid-col {
  display: flex;
}

.ph-vid-col .vid-lg {
  flex: 1;
  height: auto;
  min-height: 180px;
  margin-bottom: 0;
}

.ph-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

/* Discussion prompt columns (Phase 2) */
.dp-col {
  background: var(--soft);
  border-radius: 12px;
  padding: 15px 16px;
}

.dp-num-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.dp-col .dp-q {
  font-size: 15px;
  margin-bottom: 8px;
}

.dp-col .dp-hint {
  font-size: 11.5px;
}

/* Spark activity inline strip */
.spark-strip {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 9px 14px;
  background: rgba(64,191,255,.06);
  border: 1px solid rgba(64,191,255,.18);
  border-radius: 9px;
  margin: 4px 0 12px;
}

.spark-strip-tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sun);
  flex-shrink: 0;
}

.spark-strip-label {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}

.spark-strip-d {
  font-size: 12px;
  color: rgba(30,28,22,.62);
  line-height: 1.45;
}

/* Close phase right column */
.ph-close-right {
  display: flex;
  align-items: center;
}

.ph-close-right .next-sesh {
  margin-top: 0;
  flex: 1;
}

/* Small video thumbnail */
.vid {
  background: var(--ink);
  border-radius: 11px;
  height: 136px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.vid::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(64,191,255,.09), rgba(64,191,255,.07));
}

.vpl {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 2;
  transition: all .16s;
}

.vpl:hover {
  background: rgba(255,255,255,.2);
  transform: scale(1.05);
}

.vt {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  color: var(--cream);
  z-index: 2;
}

.vs {
  font-size: 10.5px;
  color: rgba(255,255,255,.38);
  z-index: 2;
}

/* Activity block */
.ab {
  background: var(--soft);
  border-radius: 11px;
  padding: 14px 17px;
  margin-bottom: 10px;
}

.ab-step {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.ab-p {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 5px;
}

.ab-i {
  font-size: 12.5px;
  color: #555;
  line-height: 1.58;
}

.cvs {
  border: 2px dashed rgba(0,0,0,.1);
  border-radius: 8px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.cvs-h {
  font-size: 11px;
  color: var(--muted);
  position: absolute;
}

/* Readiness row */
.rdy-sec {
  margin-top: 13px;
}

.rdy-lbl {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 7px;
}

.rdy-row {
  display: flex;
  gap: 8px;
}

.rp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
}

.rb {
  width: 100%;
  padding: 9px;
  border-radius: 9px;
  border: 2px solid rgba(0,0,0,.08);
  background: #fff;
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  transition: all .14s;
}

.rb:hover {
  border-color: var(--sun);
  transform: scale(1.03);
}

.rb.y {
  border-color: var(--sun);
  background: rgba(64,191,255,.07);
}

.rn {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
}

/* Card navigation */
.card-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.btn-bk {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
}

.btn-nx {
  background: #65E97B;
  color: #0f2e17;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  position: relative;
  overflow: hidden;
}

.btn-nx:hover { animation: btn-pulse .9s ease infinite; }

.btn-nx.loading {
  cursor: wait;
  pointer-events: none;
  animation: btn-loading-bob .5s ease infinite;
}

.btn-nx.loading::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #40BFFF, #65E97B, #FF7D5F, #A855F7, #40BFFF);
  background-size: 250% 100%;
  animation: btn-charge .65s cubic-bezier(.4,0,.2,1) forwards;
}

/* Video poster in card */
.vid-lg {
  background: var(--ink);
  border-radius: 14px;
  height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.vid-lg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(64,191,255,.12), rgba(64,191,255,.08));
}

.vid-lg-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  transition: all .16s;
}

.vid-lg-play:hover {
  background: rgba(255,255,255,.25);
  transform: scale(1.07);
}

.vid-lg-title {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  z-index: 2;
}

.vid-lg-meta {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  z-index: 2;
}

/* Video overlay — video + "while you watch" notes side by side */
.ip-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(16,11,5,.93);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px 20px 28px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}

.ip-video-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.ip-video-overlay-wrap {
  display: flex;
  align-items: stretch;
  gap: 18px;
  max-width: 100%;
  height: calc(100vh - 80px);
  max-height: calc(100vh - 80px);
}

.ip-video-overlay-inner {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}

.ip-video-overlay-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* "While you watch" notes panel */
.ip-video-overlay-notes {
  width: 248px;
  flex-shrink: 0;
  max-height: 100%;
  overflow-y: auto;
  background: rgba(64,191,255,.055);
  border: 1px solid rgba(64,191,255,.13);
  border-radius: 12px;
  padding: 24px 20px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.ovn-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(64,191,255,.5);
  margin-bottom: 20px;
}

.ovn-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.ovn-it {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ovn-num {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(64, 191, 255, 0.813);
}

.ovn-q {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(254,249,241,.88);
  line-height: 1.48;
}

.ovn-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.ovn-tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 20px;
}

.ovn-tag--sun   { background: rgba(64,191,255,.15);  border: 1px solid rgba(64,191,255,.28);  color: var(--sun);   }
.ovn-tag--sky   { background: rgba(64,191,255,.12);  border: 1px solid rgba(74,191,206,.26);  color: var(--sky);   }
.ovn-tag--grass { background: rgba(91,187,111,.12);  border: 1px solid rgba(91,187,111,.26);  color: var(--grass); }
.ovn-tag--plum  { background: rgba(123,94,167,.14);  border: 1px solid rgba(123,94,167,.28);  color: var(--plum);  }
.ovn-tag--berry { background: rgba(224,92,92,.12);   border: 1px solid rgba(224,92,92,.24);   color: var(--berry); }

.ip-video-overlay-shrink {
  margin-top: 24px;
  width: 100%;
  padding: 9px 0;
  border-radius: 8px;
  border: 1px solid rgba(64,191,255,.15);
  background: rgba(64,191,255,.07);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
  color: rgba(254,249,241,.45);
  cursor: pointer;
  transition: all .15s;
}

.ip-video-overlay-shrink:hover {
  background: rgba(64,191,255,.13);
  border-color: rgba(64,191,255,.25);
  color: rgba(254,249,241,.7);
}

/* What to watch for — card (before playing) */
/* ── Contextual session details ── */

/* Big idea + emotion tags (Arrival) */
.ses-brief {
  background: rgba(64,191,255,.055);
  border: 1px solid rgba(64,191,255,.16);
  border-radius: 12px;
  padding: 15px 18px;
  margin-bottom: 12px;
}

.ses-brief-idea {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 12px;
}

.ses-brief-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sb-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}

.sb-tag--plum  { background: rgba(123,94,167,.1);  border: 1px solid rgba(123,94,167,.22); color: var(--plum);  }
.sb-tag--berry { background: rgba(224,92,92,.08);   border: 1px solid rgba(224,92,92,.2);  color: var(--berry); }
.sb-tag--sun   { background: rgba(64,191,255,.1);   border: 1px solid rgba(64,191,255,.22); color: #0085c7;      }
.sb-tag--sky   { background: rgba(74,191,206,.1);   border: 1px solid rgba(74,191,206,.22); color: #1a8a99;      }
.sb-tag--grass { background: rgba(91,187,111,.1);   border: 1px solid rgba(91,187,111,.22); color: var(--grass); }

/* Facilitator prep note (Arrival) — full-width, above the grid */
.fac-prep {
  background: rgba(123,94,167,.06);
  border: 1px solid rgba(123,94,167,.18);
  border-left: 3px solid var(--plum);
  border-radius: 0 10px 10px 0;
  padding: 11px 14px;
  margin-bottom: 14px;
}

.fac-prep-lbl {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 5px;
}

.fac-prep-t {
  font-size: 12.5px;
  line-height: 1.58;
  color: var(--ink);
}

/* Video context strip (Watch Together) */
.vid-about {
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 10px;
}

.vid-about-credit {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.vid-about-note {
  font-family: 'Fraunces', serif;
  font-size: 13px;
  line-height: 1.52;
  color: var(--ink);
  opacity: .78;
}

/* Optional spark activity (Share & Connect) */
.spark-act {
  background: rgba(91,187,111,.05);
  border: 1px solid rgba(91,187,111,.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 16px 0 20px;
}

.spark-act-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grass);
  margin-bottom: 8px;
}

.spark-act-t {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.spark-act-d {
  font-size: 12.5px;
  line-height: 1.57;
  color: rgba(30,28,22,.68);
}

.watch-for {
  background: rgba(64,191,255,.07);
  border: 1px solid rgba(64,191,255,.18);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.wf-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 5px;
}

.wf-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wf-it {
  display: flex;
  gap: 7px;
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.wf-it::before {
  content: '→';
  flex-shrink: 0;
  font-weight: 600;
  color: var(--sun);
}

/* Discussion prompts */
.disc-prompt {
  margin-bottom: 10px;
}

.dp-num {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.dp-q {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 6px;
}

.dp-hint {
  font-size: 12.5px;
  color: #666;
  line-height: 1.55;
}

.dp-divider {
  height: 1px;
  background: rgba(0,0,0,.06);
  margin: 14px 0;
}

/* Word-capture close ritual */
.word-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.word-slot {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.word-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
}

.word-input {
  width: 100%;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  transition: border-color .15s;
}

.word-input:focus {
  border-color: var(--grass);
}

.word-input::placeholder {
  font-weight: 400;
  font-size: 14px;
  color: #ccc;
}

/* Next session preview */
.next-sesh {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(64,191,255,.06);
  border: 1px solid rgba(64,191,255,.18);
  border-radius: 13px;
  padding: 16px 20px;
  margin-top: 8px;
}

.ns-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: rgba(64,191,255,.1);
  border: 1px solid rgba(64,191,255,.22);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ns-info {
  flex: 1;
}

.ns-lbl {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 3px;
}

.ns-t {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.ns-d {
  font-size: 12px;
  color: #666;
  line-height: 1.45;
}


/* ════════════════════════════════════════
   3. TEEN  — 3-col: prompts | video call | tools
════════════════════════════════════════ */

#s-teen {
  background: #0B1520;
}

.teen-banner {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: #0f1e30;
  border-bottom: 1px solid rgba(64,191,255,.18);
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.teen-banner-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
}

.teen-banner-ctx {
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

.teen-layout {
  display: grid;
  grid-template-columns: 320px 1fr 300px;
  height: calc(100vh - 105px);
  overflow: hidden;
  transition: grid-template-columns .25s ease;
}

.teen-layout.video-minimized {
  grid-template-columns: 320px 56px 300px;
}

.teen-video.video-minimized .vcall-grid {
  display: none;
}

.teen-video .vctrl-video {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(255,255,255,.09);
  transition: all .15s;
}

.teen-video .vctrl-video:hover {
  background: rgba(255,255,255,.16);
}

.teen-video.video-minimized .vctrl-video .vctrl-video-expand { display: inline; }
.teen-video.video-minimized .vctrl-video .vctrl-video-min    { display: none;   }
.teen-video .vctrl-video .vctrl-video-expand                 { display: none;   }
.teen-video .vctrl-video .vctrl-video-min                    { display: inline; }

/* Left — session prompts */
.teen-left {
  padding: 22px 18px;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,.05);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.phase-timer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 13px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  transition: background .2s, border-color .2s;
}

.pt-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phase-timer.slow {
  background: rgba(245,166,35,.06);
  border-color: rgba(245,166,35,.32);
}

.pt-labels {
  flex: 1;
}

.pt-name {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #F5A623;
}

.pt-name.slow {
  color: #F5A623;
}

.pt-sub {
  font-size: 10px;
  color: rgba(227, 227, 227, 0.711);
  margin-top: 2px;
}

.pt-track {
  height: 3px;
  background: rgba(255,255,255,.07);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 6px;
}

.pt-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--grass);
  transition: width .5s linear, background .3s;
}

.pt-fill.warn   { background: var(--sun);   }
.pt-fill.urgent { background: var(--berry); }

.pt-val {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: #F5A623;
}

/* Dynamic virtual phase content containers */
#teen-phase-content {
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
  min-height: 0;
}

#child-phase-content {
  display: contents; /* children appear as direct ch-panel children for z-index/spacing */
}

.snr-card#snr-card-content {
  flex: 1;
}

.t-phase-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.25);
  padding: 4px 11px;
  margin-bottom: 8px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #F5A623;
}

.t-prompt {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.25;
  letter-spacing: -.3px;
  padding-top: 20px;
}

.t-instr {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
}

.intent {
  background: rgba(189, 156, 238, 0.08);
  border: 1px solid rgba(123,94,167,.2);
  border-radius: 10px;
  padding: 12px 15px;
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.int-icon {
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.int-lbl {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #cc9fdd;
  margin-bottom: 4px;
}

.int-txt {
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
}

.t-ctrls {
  display: flex;
  gap: 7px;
  margin-top: auto;
  padding-top: 6px;
}

.tc-btn {
  flex: 1;
  padding: 9px 6px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--cream);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
}

.tc-btn:hover {
  background: rgba(255,255,255,.09);
}

.tc-btn.tc-slow {
  flex: none;
  width: 100%;
  padding: 6px 10px;
  font-size: 11px;
  border-color: rgba(245,166,35,.2);
  color: rgba(245,166,35,.75);
}

.tc-btn.tc-slow:hover {
  background: rgba(245,166,35,.08);
  border-color: rgba(245,166,35,.35);
  color: #F5A623;
}

.tc-btn.slow-on {
  background: rgba(245,166,35,.1);
  border-color: rgba(245,166,35,.3);
  color: #F5A623;
}

/* Center — video call */
.teen-video {
  background: #060d16;
  display: flex;
  flex-direction: column;
}

.teen-video .vcall-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.shared-slot {
  background: rgba(255,255,255,.025);
  border: 1.5px dashed rgba(255,255,255,.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all .4s;
}

.shared-slot.has-content {
  background: rgba(91,187,111,.06);
  border-color: rgba(91,187,111,.25);
}

.shared-slot-icon {
  font-size: 30px;
  opacity: .35;
  transition: opacity .3s;
}

.shared-slot.has-content .shared-slot-icon {
  opacity: 1;
}

.shared-slot-lbl {
  font-size: 11px;
  color: rgba(255,255,255,.52);
  text-align: center;
  padding: 0 10px;
  line-height: 1.4;
}

.shared-slot.has-content .shared-slot-lbl {
  font-weight: 500;
  color: rgba(255,255,255,.65);
}

.teen-vcall-bar {
  height: 54px;
  flex-shrink: 0;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
}

.rdy-advance {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.ready-count {
  font-size: 11px;
  color: rgba(255,255,255,.55);
}

.next-btn {
  padding: 9px 16px;
  width: 100%;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.28);
  cursor: not-allowed;
  transition: all .35s;
}

.next-btn.unlocked {
  background: #65E97B;
  border-color: #65E97B;
  color: #0f2e17;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(101,233,123,.38);
}

.next-btn.unlocked:hover {
  background: #4fd468;
}

/* Right — sidebar tools */
.teen-sb {
  background: rgba(255,255,255,.018);
  border-left: 1px solid rgba(255,255,255,.05);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow-y: auto;
}

.sw {
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(255,255,255,.052);
  border-radius: 11px;
  padding: 13px 15px;
}

.sw-lbl {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
  margin-bottom: 8px;
}

.pi {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.pi:last-child {
  margin-bottom: 0;
}

.pav {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.pn {
  font-size: 12px;
  font-weight: 500;
  color: var(--cream);
}

.ps {
  font-size: 10px;
  color: rgba(255,255,255,.52);
}

.psig {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  margin-left: auto;
}

.sig-on   { background: var(--grass); }
.sig-you  { background: var(--sun); animation: blink 1.5s infinite; }
.sig-wait { background: rgba(255,255,255,.12); }

.arc-it {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 6px;
  margin-bottom: 2px;
  cursor: pointer;
  transition: background .12s;
}

.arc-it:hover { background: rgba(255,255,255,.07); }
.arc-it.done  { opacity: .35; }
.arc-it.done:hover { opacity: .7; }
.arc-it.now   { background: rgba(255,255,255,.05); }

.arc-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
}

.arc-nm {
  font-size: 11px;
  color: rgba(255,255,255,.65);
}

.arc-it.now .arc-nm {
  font-weight: 500;
  color: var(--cream);
}

.pace-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255,255,255,.38);
  margin-bottom: 5px;
}

.pace-bar {
  height: 5px;
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 5px;
}

.pace-fill {
  height: 100%;
  width: 72%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--grass), var(--sky));
}

.pace-note {
  font-size: 10.5px;
  font-style: italic;
  color: rgba(255,255,255,.22);
}


/* ════════════════════════════════════════
   4. SENIOR  — video left, prompt card right
════════════════════════════════════════ */

#s-senior {
  background: #F2ECE3;
}

.snr-banner {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: #daeedd;
  border-bottom: 1px solid rgba(91,187,111,.28);
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.snr-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  height: calc(100vh - 105px);
  overflow: hidden;
  transition: grid-template-columns .25s ease;
}

.snr-layout.video-minimized {
  grid-template-columns: 56px 1fr;
}

.snr-video {
  background: #1a2820;
  display: flex;
  flex-direction: column;
}

.snr-video.video-minimized .vcall-grid {
  display: none;
}

.snr-video .vctrl-video {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(255,255,255,.12);
  transition: all .15s;
}

.snr-video .vctrl-video:hover {
  background: rgba(255,255,255,.2);
}

.snr-video.video-minimized .vctrl-video .vctrl-video-expand { display: inline; }
.snr-video.video-minimized .vctrl-video .vctrl-video-min    { display: none;   }
.snr-video .vctrl-video .vctrl-video-expand                 { display: none;   }
.snr-video .vctrl-video .vctrl-video-min                    { display: inline; }

.snr-video .vcall-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.snr-video .vtile {
  background: #243320;
}

.snr-vcall-bar {
  height: 52px;
  flex-shrink: 0;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 16px;
}

.snr-vcall-bar .vctrl {
  background: rgba(255,255,255,.12);
}

.snr-right {
  background: #F2ECE3;
  border-left: 1px solid rgba(0,0,0,.07);
  padding: 26px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tri-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}

.ts-m {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ts-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.ts-nm {
  font-size: 10px;
  font-weight: 500;
  color: #888;
}

.ts-st {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grass);
}

.ts-sep {
  font-size: 14px;
  color: #ccc;
  padding-bottom: 9px;
}

.snr-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}

.snr-g {
  font-size: 13px;
  color: #999;
  margin-bottom: 7px;
}

.snr-q {
  font-family: 'Fraunces', serif;
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.3px;
  margin-bottom: 10px;
}

.snr-ctx {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 16px;
}

.snr-note {
  display: block;
  width: 100%;
  height: 78px;
  background: #FAFAFA;
  border: 1.5px solid rgba(0,0,0,.09);
  border-radius: 10px;
  padding: 11px 13px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--ink);
  resize: none;
  outline: none;
  margin-bottom: 14px;
  transition: border-color .16s;
}

.snr-note:focus {
  border-color: var(--grass);
}

.snr-note::placeholder {
  color: #ccc;
}

.snr-btn {
  width: 100%;
  background: #65E97B;
  color: #0f2e17;
  border: none;
  padding: 14px 0;
  border-radius: 11px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s;
}

.snr-btn:hover {
  background: #4fd468;
}

.snr-btn.done {
  background: rgba(101,233,123,.1);
  color: #3db854;
  font-size: 14px;
  cursor: default;
}

.snr-btn.done:hover {
  background: rgba(101,233,123,.1);
}


/* ════════════════════════════════════════
   5. CHILD  — video left, activity panel right
════════════════════════════════════════ */

#s-child {
  background: #EEF6FF;
}

/* ── Child panel decorative SVG ── */
.ch-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.ch-banner {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: #c8e6f5;
  border-bottom: 1px solid rgba(64,191,255,.28);
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ch-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  height: calc(100vh - 105px);
  overflow: hidden;
  transition: grid-template-columns .25s ease;
}

.ch-layout.video-minimized {
  grid-template-columns: 56px 1fr;
}

.ch-video {
  background: #0f1820;
  display: flex;
  flex-direction: column;
}

.ch-video.video-minimized .vcall-grid {
  display: none;
}

.ch-video .vctrl-video {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background: rgba(255,255,255,.09);
  transition: all .15s;
}

.ch-video .vctrl-video:hover {
  background: rgba(255,255,255,.16);
}

.ch-video.video-minimized .vctrl-video .vctrl-video-expand { display: inline; }
.ch-video.video-minimized .vctrl-video .vctrl-video-min    { display: none;   }
.ch-video .vctrl-video .vctrl-video-expand                 { display: none;   }
.ch-video .vctrl-video .vctrl-video-min                    { display: inline; }

.ch-video .vcall-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.ch-vcall-bar {
  height: 50px;
  flex-shrink: 0;
  background: rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 14px;
}

.ch-vcall-bar .vctrl {
  background: rgba(255,255,255,.09);
}

.ch-panel {
  position: relative;
  background: #EEF6FF;
  border-left: 1px solid rgba(64,191,255,.15);
  padding: 22px 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* keep actual panel content above the deco SVG */
.ch-panel > *:not(.ch-deco) {
  position: relative;
  z-index: 1;
}

.ch-title {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.ch-sub {
  font-size: 14px;
  font-weight: 500;
  color: #888;
}

.ch-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.07);
}

.ch-prompt-lbl {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 8px;
}

.ch-prompt-q {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 18px;
}

.ch-reactions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.ch-react {
  font-size: 28px;
  padding: 11px 13px;
  border-radius: 13px;
  border: none;
  background: var(--soft);
  cursor: pointer;
  line-height: 1;
  transition: all .15s;
}

.ch-react:hover {
  background: #e8f4ff;
  transform: scale(1.12);
}

.ch-react.active {
  outline: 2.5px solid var(--sky);
  background: rgba(74,191,206,.1);
  transform: scale(1.12);
}

.ch-share-btn {
  width: 100%;
  background: var(--sky);
  color: #fff;
  border: none;
  padding: 14px 0;
  border-radius: 11px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(74,191,206,.22);
  background-size: 300% 300%;
  transition: background-position .4s ease, box-shadow .2s;
  position: relative;
}

.ch-share-btn:hover {
  background: linear-gradient(135deg, #40BFFF, #65E97B, #FF7D5F, #A855F7, #40BFFF);
  background-size: 300% 300%;
  animation: ch-gradient-shift 2s ease infinite;
  box-shadow: 0 6px 20px rgba(101,233,123,.35);
}

.ch-share-btn.done {
  background: rgba(64,191,255,.12);
  color: var(--sky);
  font-size: 14px;
  cursor: default;
  box-shadow: none;
}

.ch-share-btn.done:hover {
  background: rgba(64,191,255,.12);
}


@keyframes ch-gradient-shift {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* Sparkle particle that flies out from the button on click */
.ch-sparkle {
  position: fixed;
  pointer-events: none;
  font-size: 16px;
  z-index: 9999;
  animation: ch-sparkle-fly .7s cubic-bezier(.2,0,.6,1) forwards;
  user-select: none;
}

@keyframes ch-sparkle-fly {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg);    opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(.3) rotate(var(--dr)); opacity: 0; }
}

/* ════════════════════════════════════════
   6. REFLECTION
════════════════════════════════════════ */

#s-reflection {
  background: var(--ink);
  position: relative;
}

.refl-side {
  position: fixed;
  top: 64px;
  bottom: 0;
  width: calc((100vw - 1080px) / 2);
  pointer-events: none;
  overflow: hidden;
}

.refl-side--l { left: 0; }
.refl-side--r { right: 0; }

.rs {
  position: absolute;
}

@media (max-width: 1140px) {
  .refl-side { display: none; }
}

.refl-banner {
  position: sticky;
  top: 64px;
  z-index: 100;
  background: #0d1e2a;
  border-bottom: 1px solid rgba(74,191,206,.2);
  padding: 9px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.refl-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 32px;
  box-sizing: border-box;
}

.refl-hd {
  margin-bottom: 26px;
}

.refl-hd-left {
  margin-bottom: 10px;
}

.refl-ey {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #65E97B;
  margin-bottom: 8px;
}

.refl-t {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -.5px;
}

.refl-t em {
  font-style: normal;
  color: var(--sun);
}

.refl-s {
  font-size: 13px;
  color: rgba(255,255,255,.36);
  line-height: 1.6;
  max-width: 540px;
}

.refl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-bottom: 13px;
}

.rc {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.063);
  border-radius: 13px;
  padding: 20px 22px;
}

.rc-lbl {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.626);
  margin-bottom: 9px;
}

.rc-q {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.35;
  margin-bottom: 20px;
}

.ri {
  width: 100%;
  height: 54px;
  background: rgba(255,255,255,.042);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 9px 11px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--cream);
  resize: none;
  outline: none;
  transition: border-color .16s;
}

.ri:focus {
  border-color: rgba(255,255,255,.2);
}

.ri::placeholder {
  color: rgba(255,255,255,.15);
}

/* Closing ritual */
.refl-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  align-items: stretch;
}

.ritual {
  background: rgba(64,191,255,.05);
  border: 1px solid rgba(64,191,255,.13);
  border-radius: 13px;
  padding: 18px 22px;
}

.rt-tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 9px;
}

.rt-t {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}

.rt-d {
  font-size: 12.5px;
  color: rgba(255,255,255,.4);
  line-height: 1.5;
  margin-bottom: 13px;
}

.wr {
  display: flex;
  gap: 10px;
}

.wg {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wgl {
  font-size: 10px;
  color: rgba(255,255,255,.28);
}

.wi {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 7px;
  padding: 8px 11px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: var(--cream);
  outline: none;
  transition: border-color .16s;
}

.wi:focus {
  border-color: rgba(64,191,255,.35);
}

.wi::placeholder {
  color: rgba(255,255,255,.15);
}

.refl-right-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Coming up — next session */
.next-b {
  background: rgba(255,255,255,.018);
  border: 1px solid rgba(255,255,255,.052);
  border-radius: 13px;
  padding: 17px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nb-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(64,191,255,.09);
  border: 1px solid rgba(64,191,255,.18);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.nb-info {
  flex: 1;
}

.nb-tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 3px;
}

.nb-t {
  font-family: 'Fraunces', serif;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 2px;
}

.nb-d {
  font-size: 12px;
  color: rgba(255,255,255,.34);
  line-height: 1.45;
}

.nb-btn {
  flex-shrink: 0;
  background: rgba(74,191,206,.1);
  border: 1px solid rgba(74,191,206,.22);
  color: var(--sky);
  padding: 7px 15px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s;
}

.nb-btn:hover {
  background: rgba(64,191,255,.18);
}

.refl-complete-btn {
  width: 100%;
  padding: 11px 0;
  border-radius: 9px;
  border: none;
  background: #65E97B;
  color: #0f2e17;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  position: relative;
  overflow: hidden;
}

.refl-complete-btn:hover { animation: btn-pulse .9s ease infinite; }

.refl-complete-btn.loading {
  cursor: wait;
  pointer-events: none;
  animation: btn-loading-bob .5s ease infinite;
}

.refl-complete-btn.loading::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #40BFFF, #65E97B, #FF7D5F, #A855F7, #40BFFF);
  background-size: 250% 100%;
  animation: btn-charge .65s cubic-bezier(.4,0,.2,1) forwards;
}


/* ════════════════════════════════════════
   TRIAD DETAIL MODAL
════════════════════════════════════════ */

.tcm-bg {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, 0.52);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s;
}

.tcm-bg.open {
  opacity: 1;
  pointer-events: all;
}

.tcm {
  background: #fff;
  width: 700px;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 28px 72px rgba(0,0,0,.3), 0 0 0 1px rgba(0,0,0,.06);
  transform: translateY(22px) scale(.97);
  opacity: 0;
  transition: transform .28s cubic-bezier(.22,.68,0,1.15), opacity .22s;
}

.tcm-bg.open .tcm {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Header */
.tcm-hd {
  background: var(--ink);
  padding: 28px 30px 22px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.tcm-hd-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tcm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.45);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s;
  z-index: 1;
}

.tcm-close:hover {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

.tcm-av-row {
  display: flex;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.tcm-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  border: 2.5px solid var(--ink);
  margin-left: -9px;
}

.tcm-av:first-child {
  margin-left: 0;
}

.tcm-id-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.tcm-id {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

/* Override badge styles for dark header */
.tcm-hd .bg {
  font-size: 9.5px;
  border: 1px solid transparent;
}

.tcm-hd .bg-a {
  background: rgba(91,187,111,.2);
  border-color: rgba(91,187,111,.35);
  color: #82e89a;
}

.tcm-hd .bg-p {
  background: rgba(64,191,255,.18);
  border-color: rgba(64,191,255,.3);
  color: #f5c85a;
}

.tcm-ttl {
  font-family: 'Fraunces', serif;
  font-size: 23px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.tcm-meta {
  font-size: 12px;
  color: rgba(255,255,255,.32);
  position: relative;
  z-index: 1;
  letter-spacing: .01em;
}

/* Body */
.tcm-body {
  overflow-y: auto;
  flex: 1;
  padding: 28px 30px 36px;
  background: #fafaf8;
}

.tcm-sec {
  margin-bottom: 28px;
}

.tcm-sec-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Session arc */
.tcm-arc {
  display: flex;
  position: relative;
  padding-top: 2px;
}

.tcm-arc::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--soft);
  z-index: 0;
}

.tcm-arc-it {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.tcm-arc-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 8px;
  flex-shrink: 0;
  transition: box-shadow .3s;
}

.tcm-arc-it.done .tcm-arc-dot {
  color: #fff;
}

.tcm-arc-it.current .tcm-arc-dot {
  background: var(--sun);
  color: var(--ink);
  animation: ring-pulse 2.4s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%   { box-shadow: 0 0 0 3px rgba(64,191,255,.28); }
  55%  { box-shadow: 0 0 0 9px rgba(64,191,255,.05); }
  100% { box-shadow: 0 0 0 3px rgba(64,191,255,.28); }
}

.tcm-arc-it.upcoming .tcm-arc-dot {
  background: rgba(0,0,0,.07);
  color: rgba(0,0,0,.22);
}

.tcm-arc-it.paused .tcm-arc-dot {
  background: rgba(224,92,92,.1);
  color: var(--berry);
  border: 1.5px solid rgba(224,92,92,.28);
}

.tcm-arc-nm {
  font-size: 9.5px;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  max-width: 62px;
}

.tcm-arc-it.done .tcm-arc-nm {
  color: var(--ink);
  font-weight: 500;
}

.tcm-arc-it.current .tcm-arc-nm {
  color: var(--ink);
  font-weight: 700;
}

.tcm-arc-it.paused .tcm-arc-nm {
  color: var(--berry);
  font-weight: 500;
}

/* Health bars */
.tcm-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 11px;
}

.tcm-bar-lbl {
  font-size: 12.5px;
  color: var(--ink);
  width: 180px;
  flex-shrink: 0;
}

.tcm-bar-track {
  flex: 1;
  height: 5px;
  background: var(--soft);
  border-radius: 3px;
  overflow: hidden;
}

.tcm-bar-fill {
  height: 100%;
  border-radius: 3px;
}

.tcm-bar-pct {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

/* Platform signal */
.tcm-signal {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(240,238,232,.6);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 11px;
  padding: 14px 16px;
  margin-bottom: 26px;
  font-size: 13px;
  line-height: 1.58;
  color: var(--ink);
}

.tcm-signal.warn {
  background: rgba(64,191,255,.06);
  border-color: rgba(64,191,255,.22);
}

.tcm-signal-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Reflection quotes */
.tcm-quote {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 11px;
  padding: 15px 18px;
  margin-bottom: 10px;
}

.tcm-quote-text {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  line-height: 1.58;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 9px;
}

.tcm-quote-author {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Actions */
.tcm-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.tcm-act-btn {
  padding: 8px 18px;
  border-radius: 9px;
  border: 1px solid rgba(0,0,0,.14);
  background: rgba(0,0,0,.03);
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all .14s;
}

.tcm-act-btn:hover {
  background: rgba(0,0,0,.07);
  border-color: rgba(0,0,0,.22);
}

.tcm-act-btn.primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  font-weight: 600;
}

.tcm-act-btn.primary:hover {
  background: #2c2820;
}

@media (max-width: 740px) {
  .tcm-bg {
    align-items: flex-end;
    padding: 0;
  }

  .tcm {
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
    width: 100%;
  }
}


/* ════════════════════════════════════════
   SESSION END SCREEN
════════════════════════════════════════ */

@keyframes confetti-fall {
  0%   { transform: translateY(-10px) rotate(0deg) scale(1);   opacity: 1; }
  85%  { opacity: .9; }
  100% { transform: translateY(105vh) rotate(600deg) scale(.8); opacity: 0; }
}

@keyframes spark-pop {
  0%   { transform: scale(0) rotate(-30deg); opacity: 0; }
  60%  { transform: scale(1.3) rotate(8deg);  opacity: 1; }
  100% { transform: scale(1)   rotate(0deg);  opacity: 1; }
}

@keyframes end-rise {
  from { transform: translateY(28px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.end-screen {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s;
  overflow: hidden;
}

.end-screen.open {
  opacity: 1;
  pointer-events: all;
}

@keyframes aurora-spin {
  from { transform: translate(-50%, -50%) rotate(0deg);   }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.end-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  height: 160%;
  background: conic-gradient(
    from 0deg,
    rgba(64,191,255,.22),
    rgba(10,8,6,0)         18%,
    rgba(74,191,206,.17)   34%,
    rgba(10,8,6,0)         50%,
    rgba(91,187,111,.13)   64%,
    rgba(10,8,6,0)         80%,
    rgba(123,94,167,.16)   91%,
    rgba(64,191,255,.22)   100%
  );
  filter: blur(72px);
  animation: aurora-spin 28s linear infinite;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  top: -12px;
  animation: confetti-fall linear forwards;
  pointer-events: none;
  border-radius: 2px;
}

/* End card */
.end-card {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 460px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .45s ease, transform .5s cubic-bezier(.22,.68,0,1.1);
  transition-delay: .1s;
}

.end-screen.open .end-card {
  opacity: 1;
  transform: translateY(0);
}

.end-sparks {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.end-spark {
  font-size: 22px;
  color: var(--sun);
  opacity: 0;
  display: inline-block;
}

.end-screen.open .end-spark.s1 { animation: spark-pop .5s cubic-bezier(.22,.68,0,1.5) .25s forwards; color: #FF7D5F; }
.end-screen.open .end-spark.s2 { animation: spark-pop .5s cubic-bezier(.22,.68,0,1.5) .4s  forwards; color: var(--sun);  }
.end-screen.open .end-spark.s3 { animation: spark-pop .5s cubic-bezier(.22,.68,0,1.5) .55s forwards; color: #65E97B; }

.end-eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #FF7D5F;
  margin-bottom: 10px;
}

.end-h {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 10px;
}

.end-sub {
  font-size: 14px;
  color: rgba(255,255,255,.45);
  line-height: 1.6;
  margin-bottom: 26px;
}

/* Word chips */
.end-words {
  margin-bottom: 22px;
}

.ew-lbl {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 10px;
}

.ew-chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.ew-chip {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(254,249,241,.75);
  line-height: 1;
}

.ew-chip em {
  font-style: italic;
  font-family: 'Fraunces', serif;
  color: var(--cream);
  font-size: 14px;
}

.end-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: 0 auto 22px;
}

/* Next session teaser */
.end-next {
  margin-bottom: 28px;
}

.end-next-lbl {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 5px;
}

.end-next-t {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  font-weight: 600;
  color: rgba(254,249,241,.65);
}

/* Saved stamp */
.end-saved {
  font-size: 10px;
  color: rgba(255,255,255,.2);
  letter-spacing: .5px;
  margin-bottom: 22px;
}

/* CTA button */
.end-btn {
  display: inline-block;
  padding: 11px 30px;
  border-radius: 24px;
  border: 1.5px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  transition: all .18s;
}

.end-btn:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
  border-color: rgba(255,255,255,.32);
}


/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

@media (max-width: 760px) {
  .ip-video-overlay-wrap {
    flex-direction: column;
    align-items: center;
  }

  .ip-video-overlay-notes {
    width: 100%;
    max-width: 420px;
    max-height: none;
  }
}

@media (max-width: 900px) {
  .teen-layout,
  .snr-layout,
  .ch-layout {
    grid-template-columns: 1fr;
  }

  .teen-left,
  .teen-sb,
  .snr-right,
  .ch-panel {
    display: none;
  }

  .adm-body {
    grid-template-columns: 1fr;
  }

  .adm-sb {
    display: none;
  }

  .refl-grid {
    grid-template-columns: 1fr;
  }
}


/* ════════════════════════════════════════
   MOBILE  (≤ 768px)
════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAV ── */
  #nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0 12px;
  }
  #nav::-webkit-scrollbar { display: none; }

  #nav-logo { margin-right: 12px; flex-shrink: 0; }
  #nav-logo-img { height: 32px; }

  .ntab {
    padding: 0 9px;
    font-size: 11px;
    flex-shrink: 0;
  }

  .nav-sect-div,
  .nav-sect-lbl { display: none; }


  /* ── ADMIN HERO ── */
  .adm-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }

  .adm-stats {
    width: 100%;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .adm-stat-item {
    flex: 0 0 auto;
    align-items: flex-start;
    padding: 0 14px;
  }

  .adm-stat-item:first-child { padding-left: 0; }

  .adm-stat-div {
    display: block;
    height: 22px;
    align-self: center;
  }

  .sn { font-size: 17px; }
  .sl { font-size: 10px; }


  /* ── ADMIN BODY (already 1fr at 900px, just padding fix) ── */
  .adm-main { padding: 14px; }
  .adm-sec   { padding: 0; }


  /* ── TRIAD CARDS ── */
  .tg {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .tc { padding: 13px 13px; }

  .tc-m { font-size: 11px; }

  .tc-f {
    font-size: 11px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tc-nx { white-space: normal; }

  .bg { font-size: 9.5px; }


  /* ── PROGRAM HEALTH ROW ── */
  .hp-row { flex-direction: column; }


  /* ── SESSION KITS GRID ── */
  .kit-grid { grid-template-columns: 1fr 1fr; }


  /* ── IN-PERSON: PHASE TABS + CARD GRIDS ── */
  .ph-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin-bottom: 16px;
  }
  .ph-tabs::-webkit-scrollbar { display: none; }
  .pht { flex-shrink: 0; }

  /* Stack all multi-column phase layouts to single column */
  .ph-2col,
  .ph-2col--55,
  .ph-3col {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sh-card { padding: 20px 18px; }


  /* ── TEEN VIEW: restore hidden panels, stack layout ── */
  .teen-layout {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .teen-left,
  .teen-sb {
    display: flex;
    overflow-y: visible;
    height: auto;
  }

  .teen-left {
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    background: #0d1520;
    border-bottom: 1px solid rgba(255,255,255,.06);
  }

  .teen-sb {
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: rgba(255,255,255,.018);
    border-top: 1px solid rgba(255,255,255,.05);
  }

  .teen-video {
    height: 280px;
    flex-shrink: 0;
  }

  .teen-video .vcall-grid {
    height: 100%;
  }

  .teen-layout.video-minimized {
    grid-template-columns: 1fr;
  }


  /* ── SENIOR VIEW: restore hidden panel, stack layout ── */
  .snr-layout {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .snr-right {
    display: flex;
    overflow-y: visible;
    height: auto;
    padding: 16px;
  }

  .snr-video {
    height: 260px;
    flex-shrink: 0;
  }

  .snr-video .vcall-grid {
    height: 100%;
  }

  .tri-strip {
    flex-wrap: wrap;
    gap: 10px;
  }

  .snr-layout.video-minimized {
    grid-template-columns: 1fr;
  }


  /* ── CHILD VIEW: restore hidden panel, stack layout ── */
  .ch-layout {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .ch-panel {
    display: flex;
    overflow-y: visible;
    height: auto;
    padding: 16px;
  }

  .ch-video {
    height: 260px;
    flex-shrink: 0;
  }

  .ch-video .vcall-grid {
    height: 100%;
  }

  .ch-deco { display: none; }

  .ch-layout.video-minimized {
    grid-template-columns: 1fr;
  }


  /* ── REFLECTION ── */
  .refl-body {
    padding: 16px;
  }

  .refl-hd {
    margin-bottom: 16px;
  }

  .refl-s {
    max-width: 100%;
  }

  .refl-t { font-size: 22px; }

  .refl-bottom {
    grid-template-columns: 1fr;
  }

  .wr { flex-direction: column; }

  .refl-complete-btn { width: 100%; }

  /* "Try a Little Kindness" coming-up card — stack on mobile */
  .next-b {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }

  .nb-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .nb-btn {
    width: 100%;
    text-align: center;
  }


  /* ── KIT DETAIL MODAL (bottom sheet) ── */
  .kcm-bg {
    align-items: flex-end;
    padding: 0;
  }

  .kcm {
    width: 100%;
    border-radius: 18px 18px 0 0;
    max-height: 92vh;
  }


  /* ── END SCREEN ── */
  .end-card {
    max-width: 100%;
    padding: 0 20px;
  }

}
