@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #111827;
  --muted: #64748b;
  --line: #dbe2ea;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --green: #047857;
  --green-2: #10b981;
  --sky: #0369a1;
  --amber: #b45309;
  --rose: #be123c;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Neue Montreal", "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-feature-settings: "ss01" 1, "ss02" 1, "calt" 1;
}

.btn-primary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--ink);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.12);
}

.btn-green {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: var(--green);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 1px 2px rgba(4, 120, 87, 0.12);
}

.btn-secondary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  border: 1px solid var(--line);
  background: white;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--ink);
}

.field {
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid #cbd5e1;
  background: white;
  padding: 0.75rem 0.875rem;
  color: var(--ink);
  outline: none;
}

.field:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--paper);
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.025);
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: white;
  padding: 1rem;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  color: var(--muted);
}

.metric-value {
  margin-top: 0.25rem;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--green);
}

.app-shell {
  background: #f4f6f8;
}

.app-topbar {
  border-bottom: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.app-frame {
  display: flex;
  min-height: 100vh;
}

.app-sidebar {
  position: sticky;
  top: 0;
  display: none;
  height: 100vh;
  width: 15rem;
  flex-shrink: 0;
  flex-direction: column;
  border-right: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  padding: 1rem 0.75rem;
  backdrop-filter: blur(18px);
}

.app-mobile-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.9);
  padding: 0.75rem 1rem;
  backdrop-filter: blur(18px);
}

.app-content {
  margin: 0 auto;
  width: 100%;
  max-width: 86rem;
  padding: 1rem;
}

.app-commandbar {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.app-nav-item {
  display: flex;
  min-height: 2.65rem;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 850;
  color: #475569;
}

.app-nav-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.app-nav-item.is-active {
  background: #0f172a;
  color: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}

.dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.94);
  padding: 1.25rem;
  box-shadow: 0 1px 1px rgba(15,23,42,0.025);
}

.bulk-bar {
  display: none;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(226,232,240,0.9);
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

.bulk-bar.is-visible {
  display: flex;
}

.timeline-line {
  background: linear-gradient(180deg, var(--green), #38bdf8, #f59e0b);
}

.auth-shell {
  background: linear-gradient(180deg, #eefbf8 0%, #f8fafc 42%, #ffffff 100%);
}

.auth-page {
  display: grid;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 138, 61, 0.08), transparent 26rem),
    radial-gradient(circle at 88% 78%, rgba(64, 55, 125, 0.08), transparent 26rem),
    #f7f8fa;
}

.auth-form-side {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
}

.auth-brand {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.45rem 0.85rem 0.45rem 0.45rem;
  box-shadow: 0 10px 30px rgba(17, 17, 20, 0.045);
  backdrop-filter: blur(14px);
}

.auth-card-wrap {
  margin: 0 auto;
  width: 100%;
  max-width: 28rem;
  padding: 2rem 0;
}

.auth-card {
  border: 1px solid rgba(226,232,240,0.86);
  border-radius: 1.35rem;
  background: rgba(255,255,255,0.92);
  padding: 1.55rem;
  box-shadow: 0 24px 70px rgba(17, 17, 20, 0.08);
}

.auth-visual {
  background: linear-gradient(135deg, rgba(2,6,23,0.04), rgba(16,185,129,0.08));
}

.auth-footnote {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.55rem 0.8rem;
  color: #8a91a0;
  font-size: 0.75rem;
  font-weight: 850;
  box-shadow: 0 10px 26px rgba(17, 17, 20, 0.035);
}

.auth-visual {
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 1.35rem;
}

.auth-visual-card {
  display: flex;
  min-height: min(39rem, calc(100vh - 4rem));
  width: min(100%, 40rem);
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 18% 10%, rgba(0, 138, 61, 0.28), transparent 18rem),
    radial-gradient(circle at 82% 88%, rgba(64, 55, 125, 0.28), transparent 18rem),
    #111114;
  padding: 1.35rem;
  color: #fff;
  box-shadow: 0 30px 90px rgba(17, 17, 20, 0.16);
}

.auth-visual-head {
  display: grid;
  gap: 1rem;
  padding: 0.35rem;
}

.auth-day-panel {
  margin: auto 0;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.auth-mini-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.075);
  padding: 0.8rem;
}

.auth-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.auth-visual-grid > div {
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.075);
  padding: 1rem;
}

@media (min-width: 1024px) {
  .auth-page {
    grid-template-columns: minmax(26rem, 0.9fr) minmax(30rem, 1.1fr);
  }

  .auth-form-side {
    padding: 1.35rem 2.1rem;
  }

  .auth-card-wrap {
    transform: translateY(0.4rem);
  }

  .auth-visual {
    padding: 2rem 2rem 2rem 0;
  }
}

@media (min-width: 1280px) {
  .auth-form-side {
    padding-left: 3.5rem;
  }

  .auth-card-wrap {
    max-width: 29rem;
  }
}

.marketing-shell {
  background: #ffffff;
  color: var(--ink);
}

.public-header {
  z-index: 30;
}

.public-header-home {
  position: absolute;
  inset: 0 0 auto 0;
  color: white;
}

.public-header-home::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 5.25rem;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0));
  pointer-events: none;
}

.public-header-page {
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.public-header > * {
  position: relative;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.58);
}

.public-header-page .brand-subtitle {
  color: #64748b;
}

.public-nav-link {
  color: inherit;
  opacity: 0.68;
  transition: opacity 160ms ease, color 160ms ease;
}

.public-nav-link:hover,
.public-nav-link.is-active {
  opacity: 1;
}

.account-button {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0 0.9rem;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 1px 2px rgba(15,23,42,0.1);
}

.account-button-home {
  background: white;
  color: #0f172a;
}

.account-button-page {
  background: #0f172a;
  color: white;
}

.public-mobile-nav {
  position: relative;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0 1rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 900;
  scrollbar-width: none;
}

.public-mobile-nav::-webkit-scrollbar {
  display: none;
}

.public-mobile-nav a {
  flex-shrink: 0;
  border-radius: 0.5rem;
  padding: 0.45rem 0.7rem;
  color: inherit;
  opacity: 0.68;
}

.public-mobile-nav a.is-active {
  background: rgba(255,255,255,0.14);
  opacity: 1;
}

.public-header-page .public-mobile-nav a.is-active {
  background: #f1f5f9;
}

.flat-hero {
  position: relative;
  overflow: hidden;
  background: #020617;
  color: white;
}

.flat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2,6,23,0.92) 0%, rgba(2,6,23,0.80) 36%, rgba(2,6,23,0.33) 62%, rgba(2,6,23,0.06) 100%),
    linear-gradient(180deg, rgba(2,6,23,0.36), rgba(2,6,23,0.54));
}

.flat-hero-bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center right;
}

.flat-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 33rem;
  align-items: center;
  padding-top: 6.25rem;
  padding-bottom: 3.25rem;
}

.flat-hero-title {
  font-size: clamp(2.35rem, 4.6vw, 4.6rem);
  font-weight: 950;
  line-height: 0.96;
}

.header-login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-field {
  width: 11rem;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.12);
  padding: 0.6rem 0.75rem;
  color: white;
  outline: none;
}

.header-field::placeholder {
  color: rgba(255,255,255,0.62);
}

.header-field:focus {
  border-color: rgba(255,255,255,0.54);
  background: rgba(255,255,255,0.18);
}

.header-field-light {
  border-color: #dbe2ea;
  background: white;
  color: var(--ink);
}

.header-field-light::placeholder {
  color: #94a3b8;
}

.header-field-light:focus {
  border-color: #0f766e;
  background: white;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.page-hero {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.74);
}

.page-wash {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.flat-section {
  padding: 4.25rem 0;
}

.flat-section-title {
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 950;
  line-height: 1;
}

.soft-copy {
  color: #475569;
  line-height: 1.75;
}

.flat-grid {
  display: grid;
  gap: 0.85rem;
}

.flat-grid > * {
  background: white;
  border: 1px solid rgba(226,232,240,0.72);
  border-radius: 0.5rem;
  box-shadow: 0 1px 1px rgba(15,23,42,0.025);
}

.product-frame {
  border: 1px solid rgba(226,232,240,0.72);
  border-radius: 0.5rem;
  background: white;
  box-shadow: 0 18px 50px rgba(15,23,42,0.055);
}

.story-panel {
  border: 1px solid rgba(226,232,240,0.72);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.9);
  padding: 1.5rem;
  box-shadow: 0 1px 1px rgba(15,23,42,0.025);
}

.price-card {
  min-height: 12rem;
}

.contact-card {
  border: 1px solid rgba(226,232,240,0.76);
  border-radius: 0.5rem;
  background: white;
  padding: 1.25rem;
  box-shadow: 0 1px 1px rgba(15,23,42,0.025);
}

.parent-content {
  max-width: 30rem;
  padding-bottom: 6rem;
}

.parent-shell .app-frame {
  justify-content: center;
}

.parent-shell .app-main-column {
  flex: 0 1 30rem;
  min-height: 100vh;
}

.parent-shell .app-sidebar {
  display: none;
}

.parent-shell .app-mobile-top {
  display: flex;
}

.parent-hero {
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(2,6,23,0.96), rgba(15,118,110,0.82));
  color: white;
  padding: 1.25rem;
  box-shadow: 0 12px 34px rgba(15,23,42,0.12);
}

.kid-chip {
  min-width: 12rem;
  border: 1px solid rgba(226,232,240,0.86);
  border-radius: 0.5rem;
  background: white;
  padding: 0.9rem;
  color: #0f172a;
  box-shadow: 0 1px 1px rgba(15,23,42,0.025);
}

.kid-chip.is-active {
  border-color: rgba(16,185,129,0.65);
  background: #ecfdf5;
  color: #065f46;
}

.timeline-card {
  border: 1px solid rgba(226,232,240,0.86);
  border-radius: 0.5rem;
  background: white;
  padding: 1rem;
  box-shadow: 0 1px 1px rgba(15,23,42,0.025);
}

.parent-dock {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 30rem;
  gap: 0.25rem;
  border: 1px solid rgba(226,232,240,0.92);
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.94);
  padding: 0.35rem;
  box-shadow: 0 22px 60px rgba(15,23,42,0.18);
  backdrop-filter: blur(18px);
}

.parent-dock a {
  display: flex;
  min-height: 2.95rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 0.68rem;
  font-weight: 900;
  color: #64748b;
}

.parent-dock a.is-active {
  background: #0f172a;
  color: white;
}

.role-guide > article + article {
  border-top: 1px solid rgba(226,232,240,0.72);
}

.capability-row {
  display: grid;
  gap: 1rem;
  border-top: 1px solid rgba(226,232,240,0.72);
  padding: 1.1rem 0;
}

@media (min-width: 768px) {
  .capability-row {
    grid-template-columns: 0.36fr 1fr;
  }
}

.footer-shell {
  background: #07111f;
  color: white;
}

.marketing-band {
  border-bottom: 1px solid rgba(226, 232, 240, 0.76);
  background: #fff;
}

.marketing-band-soft {
  border-bottom: 1px solid rgba(226, 232, 240, 0.76);
  background: #f7f9fb;
}

.marketing-container {
  margin: 0 auto;
  max-width: 80rem;
  padding: 0 1rem;
}

.marketing-container.marketing-hero {
  padding: 4.25rem 1rem;
}

.marketing-container.marketing-hero-tight {
  padding: 3.25rem 1rem 3.75rem;
}

.marketing-container.flat-section {
  padding: 4.25rem 1rem;
}

.marketing-hero {
  padding: 4.25rem 0;
}

.marketing-hero-tight {
  padding: 3.25rem 0 3.75rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-grid-bottom {
  align-items: end;
}

.hero-center {
  margin: 0 auto;
  max-width: 54rem;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  background: #fff;
  padding: 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #047857;
  box-shadow: 0 1px 1px rgba(15, 23, 42, 0.025);
}

.display-title {
  margin-top: 1.1rem;
  max-width: 46rem;
  font-size: 3rem;
  font-weight: 950;
  line-height: 0.97;
  color: #050816;
}

.display-title-compact {
  font-size: 2.75rem;
}

.hero-center .display-title {
  margin-right: auto;
  margin-left: auto;
}

.lead-copy {
  margin-top: 1.25rem;
  max-width: 42rem;
  color: #465671;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-center .lead-copy {
  margin-right: auto;
  margin-left: auto;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.centered-chip-row {
  justify-content: center;
}

.mini-chip {
  display: inline-flex;
  min-height: 2.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 999px;
  background: #fff;
  padding: 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 900;
  color: #334155;
  text-align: center;
  white-space: nowrap;
}

.mini-chip.is-green {
  border-color: rgba(16, 185, 129, 0.24);
  background: #ecfdf5;
  color: #047857;
}

.marketing-cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: #0f172a;
  padding: 0 1.05rem;
  font-size: 0.9rem;
  font-weight: 900;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.14);
}

.marketing-cta-light {
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
  color: #0f172a;
}

.mock-window {
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.mock-topbar {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.86);
  padding: 0 1rem;
}

.mock-dots {
  display: flex;
  gap: 0.35rem;
}

.mock-dots span {
  display: block;
  height: 0.55rem;
  width: 0.55rem;
  border-radius: 999px;
  background: #cbd5e1;
}

.mock-dots span:nth-child(1) {
  background: #fb7185;
}

.mock-dots span:nth-child(2) {
  background: #fbbf24;
}

.mock-dots span:nth-child(3) {
  background: #34d399;
}

.mock-search {
  min-height: 1.8rem;
  min-width: 12rem;
  border-radius: 999px;
  background: #f1f5f9;
}

.school-console {
  display: grid;
  min-height: 25rem;
  grid-template-columns: 11rem 1fr;
  background: #f8fafc;
}

.mock-sidebar {
  border-right: 1px solid rgba(226, 232, 240, 0.86);
  background: #fff;
  padding: 1rem;
}

.mock-nav-item {
  display: flex;
  min-height: 2.25rem;
  align-items: center;
  border-radius: 0.5rem;
  padding: 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 900;
  color: #64748b;
}

.mock-nav-item.is-active {
  background: #0f172a;
  color: white;
}

.mock-main {
  padding: 1rem;
}

.mock-kpi-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, 1fr);
}

.mock-kpi {
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 0.5rem;
  background: white;
  padding: 0.9rem;
}

.mock-kpi-label {
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #64748b;
}

.mock-kpi-value {
  margin-top: 0.3rem;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1;
  color: #0f172a;
}

.mock-table {
  margin-top: 0.8rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 0.5rem;
  background: #fff;
}

.mock-table-row {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.55fr;
  gap: 0.75rem;
  align-items: center;
  border-top: 1px solid rgba(226, 232, 240, 0.72);
  padding: 0.85rem;
  font-size: 0.78rem;
  color: #475569;
}

.mock-table-row:first-child {
  border-top: 0;
  background: #f8fafc;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #64748b;
}

.status-pill {
  display: inline-flex;
  min-height: 1.65rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 0.6rem;
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
}

.status-green {
  background: #dcfce7;
  color: #047857;
}

.status-amber {
  background: #fef3c7;
  color: #b45309;
}

.status-sky {
  background: #e0f2fe;
  color: #0369a1;
}

.phone-mock {
  width: min(100%, 23.5rem);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 2rem;
  background: #101827;
  padding: 0.65rem;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

.phone-mock-compact {
  width: min(100%, 21.5rem);
}

.phone-mock-compact .phone-screen {
  min-height: 30rem;
}

.phone-screen {
  min-height: 35rem;
  overflow: hidden;
  border-radius: 1.45rem;
  background: #f6f8fb;
}

.phone-header {
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  padding: 1rem;
}

.phone-hero {
  margin: 0.85rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #0f172a, #0f766e);
  padding: 1rem;
  color: white;
}

.phone-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.phone-stat {
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.65rem 0.45rem;
  text-align: center;
}

.phone-list {
  display: grid;
  gap: 0.65rem;
  padding: 0 0.85rem 4.5rem;
}

.phone-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 0.5rem;
  background: white;
  padding: 0.85rem;
}

.phone-dock-mock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  background: #fff;
  padding: 0.35rem;
}

.phone-dock-mock span {
  display: flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 0.68rem;
  font-weight: 900;
  color: #64748b;
}

.phone-dock-mock span:first-child {
  background: #0f172a;
  color: #fff;
}

.role-strip {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 0.5rem;
  background: #fff;
}

.role-cell {
  border-top: 1px solid rgba(226, 232, 240, 0.72);
  padding: 1.25rem;
}

.role-cell:first-child {
  border-top: 0;
}

.page-stat-row {
  display: grid;
  gap: 0.75rem;
}

.page-stat {
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 0.5rem;
  background: white;
  padding: 1rem;
}

.price-grid {
  display: grid;
  gap: 1rem;
}

.price-plan {
  position: relative;
  display: grid;
  min-height: 15rem;
  border: 1px solid rgba(203, 213, 225, 0.86);
  border-radius: 0.5rem;
  background: #fff;
  padding: 1.2rem;
}

.price-plan.is-featured {
  border-color: rgba(15, 23, 42, 0.38);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.price-amount {
  margin-top: 1rem;
  font-size: 2.35rem;
  font-weight: 950;
  line-height: 1;
  color: #050816;
}

.limit-meter {
  overflow: hidden;
  height: 0.55rem;
  border-radius: 999px;
  background: #eef2f7;
}

.limit-meter > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #047857, #0ea5e9, #f59e0b);
}

.payment-flow {
  display: grid;
  gap: 0.75rem;
}

.payment-step {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  align-items: start;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 0.5rem;
  background: #fff;
  padding: 1rem;
}

.step-number {
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.faq-shell {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 0.5rem;
  background: #fff;
  padding: 1.15rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 950;
  color: #0f172a;
}

.contact-shell {
  display: grid;
  gap: 1rem;
}

.contact-note {
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 0.5rem;
  background: #fff;
  padding: 1.15rem;
}

.contact-card {
  padding: 1.35rem;
}

.app-sidebar {
  box-shadow: 1px 0 0 rgba(15, 23, 42, 0.02);
}

.app-commandbar {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0.15rem 0 0.55rem;
}

.metric-card {
  min-height: 8.2rem;
  display: block;
  transition: border-color 160ms ease, transform 160ms ease;
}

a.metric-card:hover {
  border-color: rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.dashboard-hero {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.9));
}

.panel,
.metric-card,
.dashboard-hero {
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
}

@media (min-width: 768px) {
  .display-title {
    font-size: clamp(3rem, 4.1vw, 4rem);
  }

  .display-title-compact {
    font-size: clamp(2.7rem, 3.7vw, 3.45rem);
  }

  .page-stat-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .price-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .role-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .role-cell {
    border-top: 0;
    border-left: 1px solid rgba(226, 232, 240, 0.72);
  }

  .role-cell:first-child {
    border-left: 0;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 0.88fr 1.12fr;
  }

  .hero-grid-narrow {
    grid-template-columns: 0.72fr 1.28fr;
  }
}

@media (max-width: 1023px) {
  .header-login {
    display: none;
  }
}

@media (min-width: 1024px) {
  .app-sidebar {
    display: flex;
  }

  .app-mobile-top {
    display: none;
  }

  .app-content {
    padding: 1.5rem;
  }

  .parent-shell .app-sidebar {
    display: none;
  }

  .parent-shell .app-mobile-top {
    display: flex;
  }

  .parent-shell .app-content {
    padding: 1rem;
  }
}

@media (max-width: 767px) {
  .flat-hero::before {
    background: linear-gradient(90deg, rgba(2,6,23,0.88), rgba(2,6,23,0.62));
  }

  .flat-hero-inner {
    min-height: 31rem;
  }

  .dashboard-hero {
    display: grid;
  }
}

/* Tototab UI reset, June pass */
:root {
  --brand-green: #008a3d;
  --brand-violet: #40377d;
  --brand-coral: #ff5558;
  --brand-gold: #ffc358;
  --ink: #111114;
  --muted: #6b7280;
  --line: #e8ebef;
  --wash: #f6f7f9;
  --paper: #ffffff;
  --soft-green: #effaf3;
  --soft-violet: #f2f0ff;
  --soft-coral: #fff1f1;
  --soft-gold: #fff7e8;
  --soft-sky: #eef8ff;
}

html,
body {
  background: var(--wash);
}

.btn-primary,
.btn-green,
.btn-secondary,
.marketing-cta,
.account-button {
  min-height: 2.65rem;
  border-radius: 999px;
  padding-inline: 1.15rem;
  box-shadow: none;
}

.btn-primary,
.marketing-cta,
.account-button-page {
  background: var(--ink);
  color: #fff;
}

.btn-green {
  background: var(--brand-green);
  color: #fff;
}

.btn-secondary,
.marketing-cta-light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.field {
  min-height: 2.9rem;
  border-color: var(--line);
  border-radius: 1rem;
  background: #fff;
  padding-inline: 1rem;
  box-shadow: inset 0 1px 0 rgba(17, 17, 20, 0.02);
}

.field:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 4px rgba(0, 138, 61, 0.1);
}

.panel,
.metric-card,
.dashboard-hero,
.product-frame,
.mock-window,
.story-panel,
.contact-card,
.contact-note,
.faq-item,
.page-stat,
.price-plan,
.payment-step,
.timeline-card,
.kid-chip,
.phone-card {
  border-color: var(--line);
  border-radius: 1.2rem;
  box-shadow: 0 10px 30px rgba(17, 17, 20, 0.035);
}

.panel.flush-panel,
.data-panel {
  width: 100%;
  overflow: hidden;
}

.metric-card {
  min-height: auto;
  padding: 1rem;
}

.metric-label {
  color: #7b8190;
  letter-spacing: 0;
}

.metric-value {
  font-size: clamp(1.45rem, 2vw, 2rem);
  color: var(--ink);
}

.section-kicker,
.hero-kicker {
  color: var(--brand-green);
}

.hero-kicker {
  border: 0;
  background: var(--soft-green);
  box-shadow: none;
}

.marketing-shell {
  background: #fff;
}

.public-header-page,
.app-topbar,
.app-mobile-top,
.app-sidebar,
.parent-dock {
  border-color: rgba(232, 235, 239, 0.92);
}

.public-header-page {
  background: rgba(255, 255, 255, 0.9);
}

.public-header-home::before {
  background: rgba(17, 17, 20, 0.36);
}

.flat-hero {
  background: #111114;
}

.flat-hero::before {
  background: rgba(17, 17, 20, 0.58);
}

.flat-hero-inner {
  min-height: 36rem;
}

.flat-hero-title,
.display-title,
.flat-section-title {
  color: var(--ink);
  letter-spacing: 0;
}

.flat-hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.75rem);
  line-height: 0.96;
}

.display-title {
  font-size: clamp(2.35rem, 4.1vw, 4.05rem);
  line-height: 1;
}

.display-title-compact {
  font-size: clamp(2.25rem, 3.7vw, 3.55rem);
}

.lead-copy {
  color: #596174;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
}

.flat-section,
.marketing-container.flat-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.marketing-band,
.marketing-band-soft {
  border-bottom: 0;
}

.marketing-band-soft,
.page-wash,
.auth-shell,
.auth-visual {
  background: var(--wash);
}

.footer-shell {
  background: #111114;
}

.mini-chip,
.status-pill {
  border: 0;
  border-radius: 999px;
}

.mini-chip {
  min-height: 2.35rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.mini-chip.is-green {
  background: var(--brand-green);
  color: #fff;
}

.tone-green { background: var(--soft-green); color: #006c31; }
.tone-violet { background: var(--soft-violet); color: var(--brand-violet); }
.tone-coral { background: var(--soft-coral); color: #bd2f33; }
.tone-gold { background: var(--soft-gold); color: #9d6500; }
.tone-sky { background: var(--soft-sky); color: #126281; }

.app-shell {
  background: var(--wash);
}

.app-frame {
  background: var(--wash);
}

.app-sidebar {
  width: 16rem;
  background: rgba(255, 255, 255, 0.88);
}

.app-nav-item {
  border-radius: 999px;
  gap: 0.75rem;
}

.app-nav-item.is-active {
  background: var(--ink);
  color: #fff;
}

.app-content {
  max-width: 94rem;
  padding: 1rem;
}

.app-commandbar {
  margin-bottom: 1.2rem;
}

.dashboard-hero {
  align-items: center;
  border: 0;
  background: #fff;
  padding: 1.35rem;
}

.workspace-grid {
  display: grid;
  gap: 1rem;
}

.workspace-grid-wide {
  display: grid;
  gap: 1rem;
}

.workspace-sidebar,
.workspace-main,
.workspace-aside {
  min-width: 0;
}

.soft-action {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0 1rem;
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.ui-icon,
.btn-icon,
.nav-icon,
.dock-icon,
.chip-icon,
.meta-icon {
  display: inline-block;
  flex: 0 0 auto;
  height: 1rem;
  width: 1rem;
  stroke-width: 2.15;
}

.btn-icon {
  height: 0.95rem;
  width: 0.95rem;
}

.nav-icon {
  height: 1.05rem;
  width: 1.05rem;
}

.dock-icon {
  height: 1.15rem;
  width: 1.15rem;
}

.meta-icon {
  height: 0.9rem;
  width: 0.9rem;
  opacity: 0.72;
}

.btn-primary,
.btn-green,
.btn-secondary,
.marketing-cta,
.account-button,
.soft-action,
.mini-chip,
.status-pill {
  gap: 0.45rem;
}

.icon-bubble {
  display: inline-flex;
  height: 2.35rem;
  width: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 950;
}

.icon-bubble .ui-icon,
.icon-bubble svg {
  height: 1.05rem;
  width: 1.05rem;
  stroke-width: 2.2;
}

.icon-bubble-sm {
  height: 2rem;
  width: 2rem;
}

.icon-bubble-sm .ui-icon,
.icon-bubble-sm svg {
  height: 0.95rem;
  width: 0.95rem;
}

.icon-bubble-lg {
  height: 3rem;
  width: 3rem;
}

.icon-bubble-lg .ui-icon,
.icon-bubble-lg svg {
  height: 1.25rem;
  width: 1.25rem;
}

.public-nav-link,
.public-mobile-nav a,
.app-nav-item,
.parent-dock a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.public-mobile-nav a {
  gap: 0.35rem;
}

.hero-kicker {
  gap: 0.45rem;
}

.mock-nav-item {
  gap: 0.55rem;
}

.app-nav-item .nav-icon {
  opacity: 0.78;
}

.app-nav-item.is-active .nav-icon {
  opacity: 1;
}

.metric-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.metric-icon {
  height: 2.15rem;
  width: 2.15rem;
  background: var(--soft-sky);
  color: #126281;
}

.metric-card:nth-child(4n+1) .metric-icon { background: var(--soft-green); color: #006c31; }
.metric-card:nth-child(4n+2) .metric-icon { background: var(--soft-gold); color: #9d6500; }
.metric-card:nth-child(4n+3) .metric-icon { background: var(--soft-violet); color: var(--brand-violet); }
.metric-card:nth-child(4n+4) .metric-icon { background: var(--soft-coral); color: #bd2f33; }

.section-title-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.data-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.data-table th {
  background: #fbfbfc;
  color: #7b8190;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 0.85rem 1rem;
  text-align: left;
  text-transform: uppercase;
}

.data-table td {
  border-top: 1px solid var(--line);
  padding: 0.95rem 1rem;
  vertical-align: middle;
}

.data-table tbody tr:hover td {
  background: #fcfcfd;
}

.avatar {
  display: inline-flex;
  height: 2.55rem;
  width: 2.55rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: var(--soft-violet);
  color: var(--brand-violet);
  font-weight: 950;
}

.avatar img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 20, 0.42);
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-card {
  width: min(100%, 46rem);
  max-height: min(88vh, 58rem);
  overflow: auto;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 28px 80px rgba(17, 17, 20, 0.22);
}

.modal-card-wide {
  width: min(100%, 62rem);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.35rem 1rem;
}

.modal-close {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f2f4f7;
  font-weight: 950;
}

input[type="checkbox"] {
  appearance: none;
  display: inline-grid;
  height: 1.15rem;
  width: 1.15rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 0.38rem;
  background: #fff;
  color: #fff;
  vertical-align: middle;
  transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

input[type="checkbox"]::before {
  content: "";
  height: 0.52rem;
  width: 0.32rem;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transition: transform 120ms ease;
}

input[type="checkbox"]:checked {
  border-color: var(--ink);
  background: var(--ink);
}

input[type="checkbox"]:checked::before {
  transform: rotate(45deg) scale(1);
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  border-radius: 1.25rem;
  background: #f7f8fa;
  padding: 0.8rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 900;
}

.toggle-input {
  width: 2.85rem !important;
  height: 1.55rem !important;
  display: inline-flex !important;
  align-items: center;
  border-radius: 999px !important;
  padding: 0.18rem;
  background: #dbe2ea !important;
  border: 0 !important;
}

.toggle-input::before {
  height: 1.2rem !important;
  width: 1.2rem !important;
  transform: translateX(0) !important;
  border: 0 !important;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(17, 17, 20, 0.18);
}

.toggle-input:checked {
  background: var(--ink) !important;
}

.toggle-input:checked::before {
  transform: translateX(1.3rem) !important;
}

.record-grid {
  display: grid;
  gap: 0.8rem;
}

.record-tile {
  border-radius: 1.25rem;
  background: #f8fafc;
  padding: 1rem;
}

.record-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #7b8190;
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.record-value {
  margin-top: 0.45rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.soft-list-item {
  border-radius: 1.25rem;
  background: #f8fafc;
  padding: 0.9rem;
}

.teacher-student-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border-radius: 1.25rem;
  background: #f8fafc;
  padding: 0.55rem;
}

.teacher-student-link {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.45rem;
}

.teacher-student-link:hover {
  background: #fff;
}

.student-photo-trigger {
  display: inline-flex;
  height: 2.55rem;
  width: 2.55rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #047857;
  box-shadow: inset 0 0 0 1px rgba(4, 120, 87, 0.16), 0 10px 24px rgba(17, 17, 20, 0.045);
}

.student-photo-trigger .ui-icon,
.student-photo-trigger svg {
  height: 1rem;
  width: 1rem;
}

.student-photo-trigger-compact {
  height: 2.35rem;
  width: 2.35rem;
}

.photo-capture-zone {
  min-height: 5.8rem;
}

.photo-capture-preview {
  overflow: hidden;
  border-radius: 1.35rem;
  background: #f8fafc;
  box-shadow: inset 0 0 0 1px var(--line);
}

.photo-capture-preview img {
  display: block;
  width: 100%;
  max-height: 20rem;
  object-fit: cover;
}

.route-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: #fff;
  padding: 0.45rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 900;
  color: #475569;
  box-shadow: inset 0 0 0 1px var(--line);
}

.media-preview {
  margin-top: 0.9rem;
  overflow: hidden;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.76);
}

.media-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem;
}

.media-preview img,
.media-preview video,
.media-preview iframe {
  display: block;
  width: 100%;
}

.media-preview img {
  max-height: 28rem;
  object-fit: cover;
}

.media-preview iframe {
  min-height: 28rem;
  border: 0;
  background: #fff;
}

.data-table .media-preview {
  max-width: 36rem;
}

.data-table .media-preview iframe {
  min-height: 16rem;
}

.media-preview .plyr,
.media-preview .plyr__video-embed {
  border-radius: 0 0 1.35rem 1.35rem;
}

.media-preview-file {
  padding-bottom: 0.65rem;
}

.media-file-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0.65rem;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1rem;
}

.upload-dropzone {
  display: flex;
  cursor: pointer;
  align-items: center;
  gap: 0.85rem;
  border-radius: 1.15rem;
  background: #fff;
  padding: 0.9rem;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow 140ms ease, transform 140ms ease;
}

.upload-dropzone:hover {
  box-shadow: inset 0 0 0 1px rgba(4, 120, 87, 0.42), 0 10px 24px rgba(17, 17, 20, 0.045);
}

.upload-file-name {
  margin-top: 0.15rem;
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 850;
}

:root {
  --plyr-color-main: #047857;
  --plyr-video-background: #111114;
  --plyr-control-radius: 999px;
}

.parent-content {
  max-width: 31rem;
}

.parent-shell .app-mobile-top {
  padding: 0.55rem 0.9rem;
}

.parent-shell .app-mobile-top img {
  height: 2.25rem;
  width: 2.25rem;
}

.parent-shell .app-mobile-top p:first-child {
  font-size: 0.9rem;
}

.parent-shell .app-mobile-top p:last-child {
  font-size: 0.72rem;
}

.parent-shell .app-mobile-top a:last-child {
  padding: 0.45rem 0.6rem;
  font-size: 0.78rem;
}

.parent-hero {
  border-radius: 2rem;
  background: #111114;
  box-shadow: none;
}

.parent-app {
  color: var(--ink);
}

.parent-hero-compact {
  border-radius: 1.55rem;
  padding: 0.9rem;
}

.parent-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.38rem;
  margin-top: 0.85rem;
}

.parent-summary-strip a {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  min-width: 0;
  gap: 0.45rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.55rem;
  color: #fff;
}

.parent-summary-strip span {
  display: inline-flex;
  grid-row: 1 / span 2;
  height: 1.5rem;
  width: 1.5rem;
  flex: 0 0 1.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.parent-summary-strip strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  font-size: 0.83rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parent-summary-strip em {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
}

.parent-filter-panel,
.parent-row-section,
.parent-compact-card,
.parent-feed {
  border-radius: 1.45rem;
  background: #fff;
  padding: 0.85rem;
  box-shadow: 0 14px 36px rgba(17, 17, 20, 0.045);
}

.parent-filter-panel {
  padding: 0.75rem;
}

.parent-filter-panel .soft-action {
  width: auto;
  flex: 0 0 auto;
}

.parent-filter-panel .section-title-row {
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 0.45rem;
  white-space: nowrap;
}

.parent-week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.32rem;
  margin-top: 0.75rem;
}

.parent-week-strip span {
  position: relative;
  display: grid;
  min-height: 2.65rem;
  place-items: center;
  border-radius: 0.9rem;
  background: #f7f8fa;
  color: #7b8190;
}

.parent-week-strip small {
  font-size: 0.62rem;
  font-weight: 950;
  line-height: 1;
}

.parent-week-strip strong {
  margin-top: 0.16rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1;
}

.parent-week-strip .is-today {
  background: var(--ink);
  color: #fff;
}

.parent-week-strip .is-today strong {
  color: #fff;
}

.parent-week-strip .has-dot::after {
  content: "";
  position: absolute;
  bottom: 0.35rem;
  height: 0.25rem;
  width: 0.25rem;
  border-radius: 999px;
  background: currentColor;
}

.parent-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.parent-section-head h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
}

.parent-section-head span {
  color: #7b8190;
  font-size: 0.74rem;
  font-weight: 950;
}

.parent-kid-row {
  display: flex;
  gap: 0.55rem;
  margin: 0.55rem -0.85rem -0.1rem;
  overflow-x: auto;
  padding: 0 0.85rem 0.2rem;
  scrollbar-width: none;
}

.parent-kid-row::-webkit-scrollbar {
  display: none;
}

.parent-card-soft {
  border-radius: 1.35rem;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(17, 17, 20, 0.035);
}

.kid-chip {
  min-width: 10.5rem;
  border: 0;
  border-radius: 1.2rem;
  background: #f7f8fa;
  padding: 0.75rem 0.85rem;
  box-shadow: none;
}

.kid-chip.is-active {
  background: var(--soft-green);
  color: #006c31;
}

.parent-search {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 1.35rem;
  background: #fff;
  padding: 0.45rem;
  box-shadow: 0 12px 30px rgba(17, 17, 20, 0.04);
}

.parent-search .field {
  min-height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: #f7f8fa;
  box-shadow: none;
}

.parent-search .btn-primary {
  width: 2.75rem !important;
  flex: 0 0 2.75rem;
  border-radius: 999px;
  padding: 0;
}

.parent-feed {
  display: grid;
  gap: 0.65rem;
  padding: 0.85rem;
}

.parent-feed-card {
  border-radius: 1.35rem;
  padding: 0.85rem;
  box-shadow: none;
}

.feed-icon {
  display: inline-flex;
  height: 2.1rem;
  width: 2.1rem;
  flex: 0 0 2.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.72);
  color: currentColor;
}

.feed-icon .ui-icon,
.feed-icon svg {
  height: 1rem;
  width: 1rem;
  stroke-width: 2.25;
}

.parent-mini-row {
  border-radius: 1.15rem;
  padding: 0.85rem;
}

.parent-feed .media-preview {
  margin-top: 0.65rem;
  border-radius: 1rem;
}

.parent-feed .media-preview iframe {
  min-height: 12rem;
}

.parent-feed .media-preview img,
.parent-feed .media-preview video {
  max-height: 13rem;
}

.parent-feed > .panel {
  border: 0;
  border-radius: 1.2rem;
  background: #f7f8fa;
  box-shadow: none;
}

.parent-shell,
.parent-shell .app-frame,
.parent-shell .app-main-column {
  max-width: 100%;
  overflow-x: hidden;
}

.parent-shell .app-content {
  padding: 0.85rem 0.8rem 6.25rem;
}

.parent-page {
  display: grid;
  gap: 0.9rem;
  width: 100%;
}

.parent-page *,
.parent-page *::before,
.parent-page *::after {
  min-width: 0;
}

.parent-app-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.parent-app-top h1 {
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 950;
  line-height: 1;
}

.parent-kicker {
  color: #7b8190;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.parent-round-action {
  display: inline-flex;
  height: 2.85rem;
  width: 2.85rem;
  flex: 0 0 2.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 26px rgba(17, 17, 20, 0.04);
}

.parent-latest-card,
.parent-soft-panel,
.parent-calendar-shell,
.parent-kid-card,
.parent-payment-card {
  border-radius: 1.55rem;
  padding: 1rem;
  box-shadow: 0 14px 36px rgba(17, 17, 20, 0.045);
}

.parent-latest-card {
  overflow: hidden;
}

.parent-soft-panel,
.parent-calendar-shell {
  background: #fff;
}

.parent-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.parent-mini-stat {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.1rem 0.55rem;
  border-radius: 1.35rem;
  padding: 0.8rem;
}

.parent-mini-stat span {
  grid-row: 1 / span 2;
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.72);
}

.parent-mini-stat strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parent-mini-stat em {
  color: rgba(17, 17, 20, 0.62);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.parent-section-head a {
  color: #7b8190;
  font-size: 0.78rem;
  font-weight: 950;
}

.parent-child-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1.25rem;
  background: #f7f8fa;
  padding: 0.75rem;
}

.parent-child-row strong,
.parent-kid-card strong {
  display: block;
  color: var(--ink);
}

.parent-child-row small {
  display: block;
  margin-top: 0.12rem;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 800;
}

.parent-child-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.parent-child-filter a {
  border-radius: 999px;
  background: #f7f8fa;
  padding: 0.55rem 0.8rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 950;
}

.parent-child-filter a.is-active {
  background: var(--ink);
  color: #fff;
}

.parent-month-head {
  display: grid;
  grid-template-columns: 2.45rem minmax(0, 1fr) 2.45rem;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.parent-month-head a {
  display: inline-flex;
  height: 2.45rem;
  width: 2.45rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f7f8fa;
}

.parent-month-head h2 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 950;
}

.parent-month-head p {
  margin-top: 0.18rem;
  color: #7b8190;
  font-size: 0.76rem;
  font-weight: 850;
}

.parent-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.85rem 0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
}

.parent-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.attendance-key {
  display: inline-block;
  height: 0.55rem;
  width: 0.55rem;
  border-radius: 999px;
}

.attendance-key.is-present,
.attendance-present,
.parent-attendance-row.attendance-present {
  --attendance-color: #008a3d;
}

.attendance-key.is-late,
.attendance-late,
.parent-attendance-row.attendance-late {
  --attendance-color: #ffc358;
}

.attendance-key.is-absent,
.attendance-absent,
.parent-attendance-row.attendance-absent {
  --attendance-color: #ff5558;
}

.attendance-excused,
.parent-attendance-row.attendance-excused {
  --attendance-color: #40377d;
}

.attendance-key {
  background: var(--attendance-color);
}

.parent-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.32rem;
}

.parent-calendar-weekdays {
  margin-bottom: 0.35rem;
  color: #94a3b8;
  font-size: 0.68rem;
  font-weight: 950;
  text-align: center;
}

.parent-calendar-day {
  position: relative;
  display: grid;
  min-height: 3.2rem;
  place-items: center;
  border-radius: 1rem;
  background: #f7f8fa;
  color: var(--ink);
}

.parent-calendar-day.is-empty {
  background: transparent;
}

.parent-calendar-day strong {
  font-size: 0.95rem;
  font-weight: 950;
}

.parent-calendar-day small {
  position: absolute;
  right: 0.38rem;
  top: 0.35rem;
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 950;
}

.parent-calendar-day.has-attendance {
  box-shadow: inset 0 -0.34rem 0 var(--attendance-color);
}

.parent-calendar-day.has-posts::after {
  content: "";
  position: absolute;
  bottom: 0.55rem;
  height: 0.25rem;
  width: 0.25rem;
  border-radius: 999px;
  background: currentColor;
}

.parent-calendar-day.is-today {
  background: var(--ink);
  color: #fff;
}

.parent-day-modal {
  width: min(100%, 30rem);
}

.parent-attendance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-left: 0.35rem solid var(--attendance-color);
  border-radius: 1.1rem;
  background: #fff;
  padding: 0.75rem;
  font-size: 0.9rem;
}

.parent-attendance-row strong {
  color: var(--attendance-color);
  font-weight: 950;
}

.parent-payment-card {
  background: var(--soft-green);
}

.parent-kid-card {
  background: #fff;
}

.avatar-lg {
  height: 3.6rem;
  width: 3.6rem;
  flex: 0 0 3.6rem;
}

.parent-kid-action {
  display: grid;
  min-height: 4.2rem;
  place-items: center;
  border-radius: 1.2rem;
  background: #f7f8fa;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 950;
}

.parent-kid-action .ui-icon,
.parent-kid-action svg {
  height: 1.1rem;
  width: 1.1rem;
}

.parent-account-hero {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  overflow: hidden;
  border-radius: 1.55rem;
  background: #111114;
  padding: 1rem;
  color: #fff;
}

.parent-account-avatar {
  display: inline-flex;
  height: 4.2rem;
  width: 4.2rem;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1.35rem;
  background: #fff;
  color: var(--brand-green);
  font-size: 1.65rem;
  font-weight: 950;
}

.parent-account-avatar img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.parent-account-hero h2 {
  overflow: hidden;
  font-size: 1.45rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parent-account-hero p:last-child {
  margin-top: 0.25rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.82rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parent-account-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.48rem;
}

.parent-account-stat {
  display: grid;
  min-height: 6.1rem;
  align-content: space-between;
  gap: 0.35rem;
  border-radius: 1.25rem;
  padding: 0.75rem;
}

.parent-account-stat span {
  display: inline-flex;
  height: 1.9rem;
  width: 1.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.82rem;
  background: rgba(255, 255, 255, 0.72);
}

.parent-account-stat strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.04;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parent-account-stat em {
  color: rgba(17, 17, 20, 0.58);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
}

.parent-account-panel {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.35rem;
  background: #fff;
  padding: 0.9rem;
}

.parent-account-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1.1rem;
  background: #f7f8fa;
  padding: 0.72rem;
  color: var(--ink);
}

.parent-account-row-icon {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  flex: 0 0 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: #fff;
  color: #64748b;
}

.parent-account-row strong,
.parent-device-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.15;
}

.parent-account-row small,
.parent-device-card small {
  display: block;
  margin-top: 0.12rem;
  overflow: hidden;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.parent-device-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1.2rem;
  background: #f7f8fa;
  padding: 0.8rem;
}

.parent-logout-button {
  display: inline-flex;
  min-height: 3.05rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: #111114;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 950;
}

.parents-site {
  background: #fff;
}

.parents-hero-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 14%, rgba(0, 138, 61, 0.08), transparent 18rem),
    radial-gradient(circle at 82% 28%, rgba(64, 55, 125, 0.08), transparent 20rem),
    #fff;
}

.parents-hero-inner {
  display: grid;
  gap: 1.8rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.parents-hero-copy {
  margin: 0 auto;
  max-width: 44rem;
  text-align: center;
}

.parents-title {
  margin-top: 1rem;
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 950;
  line-height: 0.98;
}

.parents-lead {
  margin: 1.1rem auto 0;
  max-width: 38rem;
  color: #596174;
  font-size: 1.06rem;
  line-height: 1.75;
}

.parents-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.parents-chip-row span {
  display: inline-flex;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: #f7f8fa;
  padding: 0 0.85rem;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 950;
}

.parents-phone-stage {
  display: grid;
  grid-template-columns: minmax(8rem, 0.72fr) minmax(17.75rem, 20.5rem) minmax(8rem, 0.72fr);
  gap: 0.9rem;
  align-items: center;
  margin: 0 auto;
  width: min(100%, 58rem);
}

.parents-stage-stack {
  display: grid;
  gap: 0.9rem;
}

.parents-stage-left {
  justify-items: end;
}

.parents-stage-right {
  justify-items: start;
}

.parents-floating-note {
  width: min(100%, 13.25rem);
  border-radius: 1.35rem;
  padding: 0.9rem;
}

.parents-floating-note span,
.parents-phone-grid span,
.parents-phone-feed span,
.parents-timeline-card article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.parents-floating-note span {
  height: 2.1rem;
  width: 2.1rem;
}

.parents-floating-note strong {
  display: block;
  margin-top: 0.65rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 950;
}

.parents-floating-note small {
  display: block;
  margin-top: 0.28rem;
  color: rgba(17, 17, 20, 0.64);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.parents-phone {
  width: min(100%, 20.5rem);
  justify-self: center;
}

.parents-phone-screen {
  position: relative;
  min-height: 39.5rem;
  background: #f7f8fa;
}

.parents-phone-content {
  display: grid;
  gap: 0.72rem;
  padding: 1rem 0.9rem 4.25rem;
}

.parents-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.parents-phone-top p {
  color: #7b8190;
  font-size: 0.75rem;
  font-weight: 900;
}

.parents-phone-top h2 {
  margin-top: 0.15rem;
  color: var(--ink);
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1;
}

.parents-phone-latest {
  border-radius: 1.35rem;
  padding: 0.9rem;
}

.parents-phone-latest h3 {
  margin-top: 0.35rem;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.12;
}

.parents-phone-latest p {
  margin-top: 0.6rem;
  color: rgba(17, 17, 20, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.55;
}

.parents-phone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem;
}

.parents-phone-grid a {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.12rem 0.5rem;
  border-radius: 1.12rem;
  padding: 0.72rem;
}

.parents-phone-grid span {
  grid-row: 1 / span 2;
  height: 1.75rem;
  width: 1.75rem;
}

.parents-phone-grid strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parents-phone-grid em {
  color: rgba(17, 17, 20, 0.58);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
}

.parents-mini-calendar {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
  background: #fff;
  padding: 0.78rem;
}

.parents-mini-calendar > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.parents-mini-calendar strong {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 950;
}

.parents-mini-calendar small {
  color: #7b8190;
  font-size: 0.68rem;
  font-weight: 900;
}

.parents-date-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.parents-date-row span {
  display: grid;
  height: 2.1rem;
  place-items: center;
  border-radius: 999px;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 950;
}

.parents-date-row .is-active {
  background: var(--ink);
  color: #fff;
}

.parents-phone-feed {
  display: grid;
  gap: 0.52rem;
}

.parents-phone-feed article {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.18rem;
  background: #fff;
  padding: 0.68rem;
}

.parents-phone-feed span {
  height: 2rem;
  width: 2rem;
  flex: 0 0 2rem;
}

.parents-phone-feed strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.1;
}

.parents-phone-feed small {
  display: block;
  margin-top: 0.12rem;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.25;
}

.parents-phone-dock {
  position: absolute;
  right: 0.72rem;
  bottom: 0.72rem;
  left: 0.72rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.08rem;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem;
  backdrop-filter: blur(14px);
}

.parents-phone-dock span {
  display: inline-flex;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #7b8190;
}

.parents-phone-dock .is-active {
  background: var(--ink);
  color: #fff;
}

.parents-section {
  padding: 5rem 0;
}

.parents-section-soft {
  background: #f7f8fa;
}

.parents-section-head {
  margin: 0 auto 2rem;
  max-width: 42rem;
  text-align: center;
}

.parents-section-head h2,
.parents-story-grid h2,
.parents-account-copy h2 {
  margin-top: 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  font-weight: 950;
  line-height: 1;
}

.parents-benefit-grid {
  display: grid;
  gap: 0.9rem;
}

.parents-benefit-card {
  min-height: 13rem;
  border-radius: 1.55rem;
  padding: 1rem;
}

.parents-benefit-card h3 {
  margin-top: 1.05rem;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1.1;
}

.parents-benefit-card p,
.parents-story-grid p,
.parents-account-copy p {
  margin-top: 0.8rem;
  color: #596174;
  font-size: 0.98rem;
  line-height: 1.7;
}

.parents-story-grid,
.parents-account-preview {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.parents-timeline-card {
  display: grid;
  gap: 0.6rem;
  border-radius: 1.65rem;
  background: #fff;
  padding: 0.8rem;
}

.parents-timeline-card article {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-radius: 1.18rem;
  padding: 0.75rem;
}

.parents-timeline-card article > span {
  height: 2.35rem;
  width: 2.35rem;
  color: var(--ink);
  font-weight: 950;
}

.parents-timeline-card strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
}

.parents-timeline-card small {
  display: block;
  margin-top: 0.12rem;
  color: rgba(17, 17, 20, 0.64);
  font-size: 0.76rem;
  font-weight: 800;
}

.parents-timeline-card em {
  color: rgba(17, 17, 20, 0.54);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.parents-account-preview {
  border-radius: 2rem;
  background: #111114;
  padding: 1.2rem;
  color: #fff;
}

.parents-account-copy .hero-kicker {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.parents-account-copy h2,
.parents-account-copy p {
  color: #fff;
}

.parents-account-copy p {
  color: rgba(255, 255, 255, 0.66);
}

.parents-account-mock {
  border-radius: 1.5rem;
  background: #fff;
  padding: 0.9rem;
  color: var(--ink);
}

.parents-account-mock-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1.2rem;
  background: #f7f8fa;
  padding: 0.8rem;
}

.parents-account-mock-head strong,
.parents-account-mock-head small,
.parents-account-mock-list span {
  display: block;
  font-weight: 950;
}

.parents-account-mock-head small {
  margin-top: 0.12rem;
  color: #64748b;
  font-size: 0.74rem;
}

.parents-account-mock-list {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.parents-account-mock-list span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 1rem;
  background: #f7f8fa;
  padding: 0.75rem;
  font-size: 0.86rem;
}

@media (min-width: 768px) {
  .parents-benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .parents-story-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  }

  .parents-account-preview {
    grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.62fr);
    padding: 1.7rem;
  }
}

@media (min-width: 1024px) {
  .parents-hero-inner {
    padding-top: 3.5rem;
  }
}

@media (max-width: 767px) {
  .parents-hero-inner {
    gap: 1.8rem;
    padding-top: 2.75rem;
    padding-bottom: 3.25rem;
  }

  .parents-phone-stage {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .parents-stage-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    order: 2;
  }

  .parents-stage-left,
  .parents-stage-right {
    justify-items: stretch;
  }

  .parents-stage-right {
    margin-top: -0.25rem;
  }

  .parents-floating-note {
    width: auto;
    min-height: 8.2rem;
  }

  .parents-phone {
    order: 1;
    width: min(100%, 19.75rem);
  }

  .parents-phone-screen {
    min-height: 38rem;
  }

  .parents-section {
    padding: 3.5rem 0;
  }

  .parents-account-preview {
    border-radius: 1.55rem;
  }
}

.parent-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  text-align: center;
}

.parent-calendar span {
  position: relative;
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 850;
}

.parent-calendar .is-today {
  background: var(--ink);
  color: #fff;
}

.parent-calendar .has-dot::after {
  content: "";
  position: absolute;
  margin-top: 1.35rem;
  height: 0.28rem;
  width: 0.28rem;
  border-radius: 999px;
  background: currentColor;
}

.parent-dock {
  border-radius: 1.65rem;
  padding: 0.45rem;
}

.parent-dock a {
  border-radius: 999px;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1;
  padding: 0.32rem 0;
}

.parent-dock a.is-active {
  background: var(--ink);
}

.phone-mock {
  border: 0;
  border-radius: 2.4rem;
  background: #fff;
  padding: 0.7rem;
  box-shadow: 0 28px 70px rgba(17, 17, 20, 0.12);
}

.phone-dock-mock span {
  flex-direction: column;
  gap: 0.15rem;
  line-height: 1;
}

.phone-screen {
  border-radius: 1.9rem;
  background: #fafafa;
}

/* Parent app polish: compact, native-feeling surfaces. */
.parent-shell {
  background: #f7f8fa;
}

.parent-shell .app-frame {
  min-height: 100svh;
  background: #f7f8fa;
}

.parent-shell .app-mobile-top {
  display: none !important;
}

.parent-content {
  max-width: 30rem;
}

.parent-shell .app-content {
  padding: 1rem 0.9rem 5.4rem;
}

.parent-page {
  gap: 0.72rem;
}

.parent-app-top {
  padding: 0.15rem 0.05rem 0.25rem;
}

.parent-app-top h1 {
  font-size: 1.55rem;
  line-height: 1.05;
}

.parent-kicker {
  color: #7b8190;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: none;
}

.parent-round-action {
  height: 2.55rem;
  width: 2.55rem;
  flex-basis: 2.55rem;
  box-shadow: inset 0 0 0 1px var(--line);
}

.parent-latest-card,
.parent-soft-panel,
.parent-calendar-shell,
.parent-kid-card,
.parent-payment-card,
.parent-feed-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.35rem;
  background: #fff !important;
  color: var(--ink);
  box-shadow: none;
}

.parent-latest-card {
  padding: 0.9rem;
}

.parent-latest-card h2 {
  font-size: 1.22rem !important;
  line-height: 1.16 !important;
}

.parent-latest-card p {
  line-height: 1.55;
}

.parent-latest-card .feed-icon,
.parent-feed-card .feed-icon {
  height: 2.05rem;
  width: 2.05rem;
  flex-basis: 2.05rem;
  border-radius: 0.85rem;
}

.parent-latest-card.tone-sky .feed-icon,
.parent-feed-card.tone-sky .feed-icon {
  background: var(--soft-sky);
  color: #126281;
}

.parent-latest-card.tone-gold .feed-icon,
.parent-feed-card.tone-gold .feed-icon {
  background: var(--soft-gold);
  color: #9d6500;
}

.parent-latest-card.tone-green .feed-icon,
.parent-feed-card.tone-green .feed-icon {
  background: var(--soft-green);
  color: #006c31;
}

.parent-latest-card.tone-violet .feed-icon,
.parent-feed-card.tone-violet .feed-icon {
  background: var(--soft-violet);
  color: var(--brand-violet);
}

.parent-latest-card.tone-coral .feed-icon,
.parent-feed-card.tone-coral .feed-icon {
  background: var(--soft-coral);
  color: #bd2f33;
}

.parent-quick-grid {
  gap: 0.48rem;
}

.parent-mini-stat {
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 1.1rem;
  background: #fff !important;
  padding: 0.68rem;
  color: var(--ink);
}

.parent-mini-stat span {
  height: 1.8rem;
  width: 1.8rem;
  border-radius: 0.75rem;
  background: #f7f8fa;
}

.parent-mini-stat strong {
  font-size: 0.92rem;
}

.parent-mini-stat em {
  font-size: 0.68rem;
}

.parent-feed {
  gap: 0.55rem;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.parent-feed-card {
  padding: 0.78rem;
}

.parent-feed-card .status-pill {
  padding: 0.35rem 0.55rem;
  font-size: 0.64rem;
}

.parent-search {
  height: 3rem;
  gap: 0.65rem;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 999px;
  background: #fff;
  padding: 0 0.95rem;
  box-shadow: none;
}

.parent-search .field {
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.parent-search .field:focus {
  box-shadow: none;
}

.parent-search .meta-icon {
  color: #94a3b8;
}

.parent-calendar-shell {
  padding: 0.9rem;
}

.parent-month-head {
  grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
  gap: 0.45rem;
}

.parent-month-head a {
  height: 2.25rem;
  width: 2.25rem;
  background: #f7f8fa;
}

.parent-month-head h2 {
  font-size: 1.08rem;
}

.parent-month-head p {
  font-size: 0.7rem;
}

.parent-calendar-legend {
  justify-content: flex-start;
  gap: 0.75rem;
  margin: 0.75rem 0 0.7rem;
  padding: 0 0.12rem;
}

.parent-calendar-grid {
  gap: 0.18rem;
}

.parent-calendar-weekdays {
  margin-bottom: 0.28rem;
  font-size: 0.66rem;
}

.parent-calendar-day {
  min-height: 2.75rem;
  border-radius: 999px;
  background: transparent;
}

.parent-calendar-day strong {
  display: inline-flex;
  height: 2.1rem;
  width: 2.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.9rem;
}

.parent-calendar-day.has-attendance {
  box-shadow: none;
}

.parent-calendar-day.has-attendance strong {
  box-shadow: inset 0 0 0 2px var(--attendance-color);
}

.parent-calendar-day small {
  display: none;
}

.parent-calendar-day.has-posts::after {
  bottom: 0.14rem;
  height: 0.25rem;
  width: 0.25rem;
  background: #111114;
}

.parent-calendar-day.is-today {
  background: transparent;
  color: var(--ink);
}

.parent-calendar-day.is-today strong {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.parent-day-modal {
  width: min(100%, 28rem);
  border-radius: 1.45rem;
  padding: 0.85rem;
}

.parent-day-modal .modal-head {
  padding: 0.25rem 0.2rem 0.8rem;
}

.parent-attendance-row {
  border-left-width: 0;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.9);
}

.parent-dock {
  right: auto;
  bottom: 0.72rem;
  left: 50%;
  width: min(calc(100% - 1.35rem), 22rem);
  max-width: none;
  transform: translateX(-50%);
  gap: 0.05rem;
  border-radius: 999px;
  padding: 0.38rem;
  box-shadow: 0 16px 48px rgba(17, 17, 20, 0.16);
}

.parent-dock a {
  position: relative;
  width: 2.8rem;
  min-height: 2.8rem;
  margin: 0 auto;
  border-radius: 999px;
  padding: 0;
  color: #7b8190;
}

.parent-dock a.is-active {
  background: var(--ink);
  color: #fff;
}

.parent-dock .dock-icon {
  height: 1.18rem;
  width: 1.18rem;
}

.phone-hero {
  border-radius: 1.4rem;
  background: var(--ink);
}

.phone-card {
  border: 0;
}

.price-plan {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--line);
}

.price-plan.is-featured {
  border: 0;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.limit-meter > span {
  background: var(--brand-green);
}

.mock-window,
.school-console,
.mock-table,
.mock-kpi,
.mock-nav-item,
.mock-topbar {
  border-color: var(--line);
}

.mock-window {
  box-shadow: 0 22px 60px rgba(17, 17, 20, 0.08);
}

@media (min-width: 1024px) {
  .workspace-grid {
    grid-template-columns: 16rem minmax(0, 1fr) 20rem;
  }

  .workspace-grid-wide {
    grid-template-columns: minmax(0, 1fr) 22rem;
  }

  .app-content {
    padding: 1.35rem;
  }
}

@media (max-width: 767px) {
  .flat-hero-title,
  .display-title {
    font-size: clamp(2.2rem, 14vw, 3.45rem);
  }

  .flat-hero-inner {
    min-height: 34rem;
    padding-top: 7rem;
  }

  .dashboard-hero {
    border-radius: 1.5rem;
  }

  .data-toolbar {
    align-items: stretch;
  }

  .soft-action,
  .btn-primary,
  .btn-green,
  .btn-secondary {
    width: 100%;
  }
}

/* Warm flat refresh */
:root {
  --ink: #2a2521;
  --muted: #766d64;
  --line: #ece3d8;
  --paper: #fffdf9;
  --wash: #fbf6ee;
  --green: #3d8b65;
  --green-2: #65b884;
  --brand-green: #3d8b65;
  --brand-violet: #7a667f;
  --soft-green: #eaf6ee;
  --soft-gold: #fff3d8;
  --soft-violet: #f2edf5;
  --soft-coral: #ffeceb;
  --soft-sky: #eaf4f5;
}

html,
body {
  font-family: "Nunito Sans", "Segoe UI Variable", "Segoe UI", Aptos, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--wash);
  text-rendering: optimizeLegibility;
}

body {
  font-feature-settings: normal;
}

.font-black,
.font-extrabold,
.font-bold,
.metric-label,
.metric-value,
.section-kicker,
.hero-kicker,
.flat-hero-title,
.display-title,
.flat-section-title,
.app-nav-item,
.btn-primary,
.btn-green,
.btn-secondary,
.marketing-cta,
.account-button,
.soft-action,
.mini-chip,
.status-pill,
.parent-section-head h2,
.parent-section-head span,
.parent-kicker,
.record-label,
.record-value,
.data-table th {
  font-weight: 700 !important;
}

.flat-hero-title,
.display-title,
.flat-section-title {
  line-height: 1.05;
}

.text-slate-950,
.text-slate-900 {
  color: var(--ink) !important;
}

.text-slate-500,
.text-slate-600,
.text-slate-700 {
  color: var(--muted) !important;
}

.app-shell,
.app-frame,
.marketing-shell,
.page-wash,
.auth-shell,
.auth-page,
.auth-form-side,
.marketing-band-soft,
.parent-shell,
.parent-shell .app-frame,
.parent-shell .app-main-column {
  background: var(--wash);
}

.public-header-page,
.app-topbar,
.app-mobile-top,
.app-sidebar,
.parent-dock {
  border-color: rgba(236, 227, 216, 0.86);
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(12px);
}

.app-sidebar {
  box-shadow: none;
}

.app-nav-item {
  border-radius: 0.75rem;
  color: #665e55;
}

.app-nav-item:hover {
  background: #f5ede2;
  color: var(--ink);
}

.app-nav-item.is-active,
.parent-dock a.is-active,
.parent-week-strip .is-today,
.btn-primary,
.account-button-page {
  background: #5f554d;
  color: #fff !important;
  box-shadow: none;
}

.app-nav-item.is-disabled {
  cursor: not-allowed;
  opacity: 0.34;
  filter: grayscale(0.2);
}

.app-nav-item.is-setup-rise {
  margin: 0.25rem 0 0.45rem;
  background: #fffdf9;
  color: var(--ink);
  transform: translateX(0.35rem);
  box-shadow: 0 10px 26px rgba(42, 37, 33, 0.1) !important;
  outline: 1px solid var(--line);
}

.btn-green,
.mini-chip.is-green,
.limit-meter > span {
  background: var(--brand-green);
  color: #fff !important;
  box-shadow: none;
}

.btn-primary,
.btn-green,
.btn-secondary,
.marketing-cta,
.account-button,
.soft-action,
.field {
  border-radius: 0.8rem;
}

.btn-primary,
.btn-green,
.btn-secondary,
.marketing-cta,
.account-button,
.soft-action {
  min-height: 2.55rem;
  padding: 0.65rem 0.95rem;
  box-shadow: none;
}

.btn-secondary,
.marketing-cta-light,
.soft-action,
.mini-chip,
.route-chip {
  border-color: var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: none;
}

.field {
  min-height: 2.65rem;
  border-color: var(--line);
  background: var(--paper);
  box-shadow: none;
}

.field:focus {
  border-color: rgba(61, 139, 101, 0.65);
  box-shadow: 0 0 0 3px rgba(61, 139, 101, 0.12);
}

.panel,
.metric-card,
.dashboard-hero,
.product-frame,
.mock-window,
.story-panel,
.contact-card,
.contact-note,
.faq-item,
.page-stat,
.price-plan,
.payment-step,
.timeline-card,
.kid-chip,
.phone-card,
.auth-card,
.auth-visual-card,
.auth-day-panel,
.auth-mini-card,
.parent-filter-panel,
.parent-row-section,
.parent-compact-card,
.parent-feed,
.parent-latest-card,
.parent-soft-panel,
.parent-payment-card,
.parent-mini-row,
.parent-kid-card,
.parent-child-row,
.parent-kid-action,
.parent-card-soft,
.parent-feed-card,
.record-tile,
.soft-list-item,
.teacher-student-row,
.media-preview,
.media-file-card,
.upload-dropzone,
.modal-card {
  border-color: var(--line);
  border-radius: 0.85rem;
  box-shadow: none !important;
}

.panel,
.metric-card,
.dashboard-hero,
.auth-card,
.parent-filter-panel,
.parent-row-section,
.parent-compact-card,
.parent-soft-panel,
.parent-feed,
.data-panel {
  background: var(--paper);
}

.metric-card,
.parent-card-soft,
.parent-feed-card,
.parent-mini-row,
.record-tile,
.soft-list-item,
.teacher-student-row,
.parent-child-row,
.parent-kid-action,
.auth-mini-card,
.media-file-card {
  background: rgba(255, 253, 249, 0.78);
}

.dashboard-hero {
  border: 1px solid var(--line);
  padding: 1rem;
}

.metric-card {
  border-width: 1px;
}

.metric-value {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.section-kicker,
.hero-kicker,
.parent-kicker,
.metric-label,
.record-label,
.data-table th {
  color: var(--muted);
  text-transform: none;
}

.hero-kicker,
.mini-chip,
.status-pill {
  border-radius: 999px;
}

.flat-section,
.marketing-container.flat-section {
  padding-top: clamp(3rem, 7vw, 4.75rem);
  padding-bottom: clamp(3rem, 7vw, 4.75rem);
}

.flat-hero::before,
.public-header-home::before {
  background: rgba(42, 37, 33, 0.46);
}

.flat-hero-inner {
  min-height: clamp(31rem, 68vh, 38rem);
}

.mock-window {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}

.data-toolbar {
  padding: 0.9rem;
}

.data-table th {
  background: #f8f0e7;
  letter-spacing: 0;
}

.data-table td {
  border-color: var(--line);
}

.data-table tbody tr:hover td {
  background: #fff8ef;
}

.tone-green { background: var(--soft-green); color: #2f7052; }
.tone-violet { background: var(--soft-violet); color: #6b5870; }
.tone-coral { background: var(--soft-coral); color: #9f4d4b; }
.tone-gold { background: var(--soft-gold); color: #84642c; }
.tone-sky { background: var(--soft-sky); color: #477072; }

.icon-bubble,
.feed-icon,
.metric-icon,
.student-photo-trigger,
.parent-round-action {
  border-radius: 999px;
  box-shadow: none;
}

.auth-page {
  background: var(--wash);
}

.auth-brand,
.auth-card {
  background: var(--paper);
}

.auth-card {
  border: 1px solid var(--line);
}

.auth-visual-card {
  background: #5f554d;
}

.auth-day-panel,
.auth-mini-card {
  background: rgba(255, 253, 249, 0.12);
}

.parent-content {
  max-width: min(100%, 34rem);
}

.parent-latest-card,
.parent-mini-stat,
.parent-kid-card {
  padding: 1rem;
}

.parent-mini-stat {
  border-radius: 0.85rem;
}

.parent-dock {
  box-shadow: 0 10px 28px rgba(42, 37, 33, 0.12) !important;
}

.parent-dock a {
  color: #8b8177;
}

.footer-shell,
.flat-hero,
.phone-hero,
.parent-hero {
  background: #2f2a26;
}

.upload-dropzone:hover {
  box-shadow: none;
}

.setup-hero {
  align-items: stretch;
}

.setup-progress-panel,
.capacity-summary {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 253, 249, 0.82);
  padding: 1rem;
  box-shadow: none;
}

.setup-info-tile,
.setup-step-card,
.setup-upload-card {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(255, 253, 249, 0.78);
  padding: 1rem;
  box-shadow: none;
}

.setup-upload-grid {
  display: grid;
  gap: 0.85rem;
}

.setup-check-row,
.setup-support-row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  border-radius: 0.75rem;
  background: #fbf6ee;
  padding: 0.75rem;
}

.setup-check-row.is-done {
  background: var(--soft-green);
}

.setup-check-row strong,
.setup-support-row strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.setup-check-row small,
.setup-support-row small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .setup-upload-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .app-content {
    padding: 1.1rem;
  }
}

@media (max-width: 767px) {
  .app-content {
    padding: 0.85rem;
  }

  .app-commandbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-hero,
  .panel,
  .metric-card,
  .auth-card,
  .parent-latest-card,
  .parent-soft-panel {
    border-radius: 0.8rem;
  }

  .data-table {
    font-size: 0.84rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.75rem;
  }
}
