/* ============================================================
   KIDS MODELS PORTAL — DASHBOARD
   Scope: ONLY Kids Portal. Do NOT import into staff/admin CSS.
   Color palette: Prime Talent official pantones only.
   ============================================================ */

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

:root {
  --pt-navy:         #002A3A;
  --pt-orange:       #F07E53;
  --pt-blue-gray:    #AAC6C9;
  --pt-lavender:     #72707C;
  --pt-yellow:       #FFC844;
  --pt-white:        #FFFFFF;
  --pt-bg:           #F0F4F6;
  --pt-card-bg:      #FFFFFF;
  --pt-line:         rgba(0, 42, 58, 0.10);
  --pt-shadow:       0 8px 32px rgba(0, 42, 58, 0.10);
  --pt-soft-shadow:  0 4px 18px rgba(0, 42, 58, 0.07);
  --pt-teal:         #007C89;
  --kids-sidebar-w:  282px;

  --kids-font:          'Poppins', sans-serif;
  --kids-hero-title:    clamp(34px, 3.2vw, 54px);
  --kids-page-title:    clamp(34px, 3.2vw, 54px);
  --kids-hero-subtitle: clamp(16px, 1.3vw, 22px);
  --kids-section-title: 24px;
  --kids-card-title:    18px;
  --kids-body:          15px;
  --kids-small:         12px;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body,
button,
input,
select,
textarea,
.kids-dashboard-shell,
.kids-dashboard-shell * {
  font-family: var(--kids-font);
}
body {
  background: var(--pt-bg);
  color: var(--pt-navy);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── SHELL ──────────────────────────────────────────────── */
.kids-dashboard-shell {
  display: flex;
  min-height: 100vh;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.kids-sidebar {
  width: var(--kids-sidebar-w);
  min-height: 100vh;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--pt-navy);
  color: var(--pt-white);
  z-index: 100;
  padding: 26px 18px 20px;
  scrollbar-width: none;
}
.kids-sidebar::-webkit-scrollbar { display: none; }

/* Logo */
.kids-sidebar-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
  padding: 0 4px;
}
.kids-sidebar-logo img {
  width: 182px;
  height: auto;
  object-fit: contain;
}

/* Child card */
.kids-child-card {
  text-align: center;
  padding: 0 6px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 18px;
}
.kids-child-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid transparent;
  background:
    linear-gradient(var(--pt-navy), var(--pt-navy)) padding-box,
    linear-gradient(135deg, var(--pt-yellow) 5%, var(--pt-orange) 92%) border-box;
  box-shadow:
    0 0 0 4px rgba(255, 200, 68, 0.1),
    0 9px 28px rgba(240, 126, 83, 0.28);
  margin: 0 auto 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kids-child-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: none; /* shown by JS if load succeeds */
}
.kids-child-photo-fallback {
  font-size: 36px;
  font-weight: 900;
  color: var(--pt-white);
  letter-spacing: -1px;
}
.kids-child-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.kids-talent-id {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
  font-weight: 500;
}
.kids-talent-id span {
  color: var(--pt-yellow);
  font-weight: 800;
  font-size: 14px;
}

/* Sidebar progress bar */
.kids-sidebar-progress { text-align: left; }
.kids-sidebar-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.82);
}
.kids-sidebar-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  overflow: hidden;
}
.kids-sidebar-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #2DD4BF 0%, #5EEAD4 100%);
  transition: width 700ms cubic-bezier(.4,0,.2,1);
}

/* Nav */
.kids-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 20px;
}
.kids-nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  position: relative;
}
.kids-nav-item:hover {
  background: rgba(45,212,191,0.16);
  color: #2DD4BF;
  transform: translateX(2px);
}
.kids-nav-item.active {
  background: rgba(45,212,191,0.16);
  color: #2DD4BF;
  font-weight: 700;
}
.kids-nav-item.active::before {
  position: absolute;
  inset: 7px auto 7px -18px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #2DD4BF;
  content: "";
}
.kids-nav-icon {
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kids-nav-has-badge { justify-content: flex-start; }
.kids-nav-badge {
  margin-left: auto;
  background: var(--pt-orange);
  color: var(--pt-white);
  font-size: 11px;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kids-nav-logout { margin-top: 6px; }

/* Help card */
.kids-sidebar-help {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 18px 16px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 16px;
}
.kids-help-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,124,137,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pt-blue-gray);
  margin-bottom: 10px;
}
.kids-sidebar-help h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 5px;
}
.kids-sidebar-help p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
  margin-bottom: 13px;
}
.kids-help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pt-teal), #009aab);
  color: var(--pt-white);
  font-size: 13px;
  font-weight: 700;
}
.kids-help-btn:hover { opacity: 0.88; }

.kids-sidebar-help--interactive {
  padding: 12px;
  border-color: rgba(255,255,255,0.42);
  background: var(--pt-white);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.16);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.kids-sidebar-help--interactive.is-open {
  border-color: var(--pt-yellow);
  background: var(--pt-white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.kids-help-toggle {
  display: grid;
  width: 100%;
  align-items: center;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pt-navy);
  text-align: left;
}
.kids-sidebar-help--interactive .kids-help-icon {
  position: relative;
  margin: 0;
  background: rgba(240, 126, 83, 0.14);
  color: var(--pt-orange);
}
.kids-sidebar-help--interactive .kids-help-icon::after {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(240, 126, 83, 0.35);
  border-radius: 50%;
  content: "";
  animation: kids-help-pulse 2.2s ease-out infinite;
}
.kids-help-toggle-copy strong { display: block; margin-bottom: 3px; font-size: 13px; }
.kids-help-toggle-copy small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--pt-lavender);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.kids-help-toggle-copy i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pt-yellow);
  box-shadow: 0 0 0 3px rgba(255, 200, 68, 0.12);
}
.kids-help-chevron {
  color: var(--pt-orange);
  font-size: 20px;
  line-height: 1;
  transition: transform 180ms ease;
}
.kids-sidebar-help--interactive.is-open .kids-help-chevron { transform: rotate(180deg); }
.kids-help-actions {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 180ms ease, opacity 180ms ease;
}
.kids-help-actions > div { overflow: hidden; }
.kids-sidebar-help--interactive.is-open .kids-help-actions {
  grid-template-rows: 1fr;
  opacity: 1;
}
.kids-help-actions a {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 42, 58, 0.08);
  border-radius: 10px;
  background: var(--pt-bg);
  color: var(--pt-navy);
  font-size: 11px;
  font-weight: 700;
}
.kids-help-actions a:hover { border-color: rgba(240, 126, 83, 0.3); background: rgba(255, 200, 68, 0.18); }
.kids-help-actions a span { color: var(--pt-orange); font-size: 17px; }
@keyframes kids-help-pulse {
  0% { opacity: 0.8; transform: scale(0.88); }
  70%, 100% { opacity: 0; transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .kids-sidebar-help--interactive .kids-help-icon::after { animation: none; }
}

/* Decorative shapes */
.kids-sidebar-decor {
  position: relative;
  margin-top: auto;
  padding-top: 12px;
  min-height: 130px;
  overflow: hidden;
}
.kids-decor-swoosh {
  position: absolute;
  left: 4px;
  bottom: 20px;
  width: 150px;
}
.kids-decor-starburst {
  position: absolute;
  right: 10px;
  bottom: 18px;
  width: 42px;
}
.kids-decor-hands {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 120px;
}

/* ============================================================
   MAIN AREA
   ============================================================ */
.kids-dashboard-main {
  margin-left: var(--kids-sidebar-w);
  flex: 1;
  padding: 36px 40px 48px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ─── TOP BAR ─────────────────────────────────────────────── */
.kids-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.kids-welcome-title {
  font-size: var(--kids-page-title);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--pt-navy);
}
.kids-wave { font-style: normal; }
.kids-welcome-sub {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(0,42,58,0.65);
  font-weight: 500;
}

/* User menu */
.kids-user-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.kids-bell-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pt-white);
  border: 1px solid var(--pt-line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--pt-soft-shadow);
  color: var(--pt-navy);
}
.kids-bell-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--pt-orange);
  color: var(--pt-white);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kids-bell-wrap { position: relative; }
.kids-bell-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: var(--pt-white);
  border: 1px solid var(--pt-line);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(6, 46, 64, 0.16);
  z-index: 40;
  overflow: hidden;
}
.kids-bell-panel[hidden] { display: none; }
.kids-bell-panel-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--pt-line);
  font-size: 13.5px;
  color: var(--pt-navy);
}
.kids-bell-panel-list {
  max-height: 320px;
  overflow-y: auto;
}
.kids-bell-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--pt-lavender, #94A3B8);
  font-size: 12.5px;
  margin: 0;
}
.kids-bell-item {
  display: block;
  padding: 12px 16px;
  border-bottom: 1px solid var(--pt-line);
  text-decoration: none;
  color: inherit;
}
.kids-bell-item:last-child { border-bottom: none; }
.kids-bell-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.kids-bell-item-sender {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pt-orange);
}
.kids-bell-item-time {
  font-size: 10.5px;
  color: var(--pt-lavender, #94A3B8);
}
.kids-bell-item-body {
  font-size: 12.5px;
  color: var(--pt-navy);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kids-bell-panel-footer {
  display: block;
  padding: 12px 16px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--pt-navy);
  text-decoration: none;
  background: var(--pt-bg, #F6F8FA);
}
.kids-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--pt-navy);
  color: var(--pt-white);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kids-user-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--pt-navy);
}
.kids-user-caret {
  border: 0;
  background: transparent;
  color: var(--pt-lavender);
  display: flex;
  align-items: center;
}

/* ─── STATS ROW ───────────────────────────────────────────── */
.kids-stats-card {
  background: var(--pt-card-bg);
  border-radius: 20px;
  box-shadow: var(--pt-shadow);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  overflow: hidden;
}
.kids-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border-right: 1px solid var(--pt-line);
}
.kids-stat--last { border-right: none; }

.kids-stat-text h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--pt-lavender);
  margin-bottom: 4px;
}
.kids-stat-text strong {
  display: block;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  color: var(--pt-navy);
  margin-bottom: 6px;
}
.kids-stat-text a {
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-teal);
}
.kids-stat-text a:hover { opacity: 0.8; }

/* Stat icon circles */
.kids-stat-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kids-stat-icon--peach { background: rgba(240,126,83,0.14); }
.kids-stat-icon--blue  { background: rgba(170,198,201,0.30); }
.kids-stat-icon--yellow{ background: rgba(255,200,68,0.22); }

/* Circular progress ring */
.kids-stat-profile { gap: 20px; }
.kids-circle-progress {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kids-circle-svg {
  width: 82px;
  height: 82px;
  transform: rotate(-90deg);
  position: absolute;
  top: 0; left: 0;
}
.kids-circle-track {
  fill: none;
  stroke: #E2EDEE;
  stroke-width: 8;
}
.kids-circle-fill {
  fill: none;
  stroke: var(--pt-teal);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 800ms cubic-bezier(.4,0,.2,1);
}
.kids-circle-label {
  position: relative;
  font-size: 17px;
  font-weight: 900;
  color: var(--pt-navy);
  z-index: 1;
}

/* ─── DASHBOARD GRID ─────────────────────────────────────── */
.kids-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

/* Card base */
.kids-card {
  background: var(--pt-card-bg);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--pt-soft-shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Card title row */
.kids-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.kids-card-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kids-card-title h2 {
  font-size: 17px;
  font-weight: 800;
  color: var(--pt-navy);
}
.kids-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--pt-teal);
  flex-shrink: 0;
}
.kids-card-link:hover { opacity: 0.8; }

.kids-library-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(170, 198, 201, 0.26));
  box-shadow: var(--pt-soft-shadow);
}

.kids-library-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 200, 68, 0.22);
  color: var(--pt-navy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kids-library-hero h2 {
  margin-top: 10px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.kids-library-hero p {
  margin-top: 8px;
  max-width: 620px;
  color: rgba(0, 42, 58, 0.68);
  font-size: 15px;
  line-height: 1.6;
}

.kids-library-grid,
.kids-photo-library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.kids-library-card,
.kids-photo-library-card,
.kids-empty-state {
  background: var(--pt-card-bg);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--pt-soft-shadow);
}

.kids-library-card {
  border: 1px solid rgba(170, 198, 201, 0.32);
}

.kids-library-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(170, 198, 201, 0.22);
  color: var(--pt-navy);
  margin-bottom: 18px;
}

.kids-library-card h3,
.kids-photo-library-card h3,
.kids-empty-state h3 {
  font-size: 20px;
  font-weight: 850;
  color: var(--pt-navy);
}

.kids-library-card p,
.kids-empty-state p {
  margin-top: 8px;
  color: rgba(0, 42, 58, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.kids-file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.kids-file-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(240, 126, 83, 0.10);
  color: var(--pt-orange);
  font-size: 12px;
  font-weight: 800;
}

.kids-photo-library-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(170, 198, 201, 0.16);
}

.kids-photo-library-card p {
  margin-top: 10px;
  color: rgba(0, 42, 58, 0.68);
  font-size: 14px;
  line-height: 1.55;
}

.kids-parent-photos-page .kids-dashboard-main { padding-bottom: 52px; }
.kids-photo-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
  padding: 28px 30px;
  overflow: hidden;
  border: 1px solid rgba(170, 198, 201, 0.46);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 200, 68, 0.3) 0 5px, transparent 6px),
    linear-gradient(125deg, var(--pt-white) 0%, var(--pt-white) 68%, rgba(170, 198, 201, 0.3) 100%);
  box-shadow: 0 12px 30px rgba(0, 42, 58, 0.09);
}
.kids-photo-overview-copy { max-width: 680px; }
.kids-photo-overview h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.04em;
}
.kids-photo-overview-copy > p {
  max-width: 650px;
  margin-top: 8px;
  color: rgba(0, 42, 58, 0.67);
  font-size: 14px;
  line-height: 1.65;
}
.kids-photo-overview-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.kids-photo-overview-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(170, 198, 201, 0.2);
  color: var(--pt-navy);
  font-size: 11px;
  font-weight: 800;
}
.kids-photo-overview-meta b { font: inherit; }
.kids-photo-overview-meta span:first-child {
  background: rgba(255, 200, 68, 0.24);
}
.kids-photo-overview-meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1d9d72;
  box-shadow: 0 0 0 4px rgba(29, 157, 114, 0.12);
}
.kids-photo-overview-action {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}
.kids-photo-overview-action > img {
  width: 92px;
  height: 76px;
  object-fit: contain;
}
.kids-photo-edit-btn {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 14px;
  background: var(--pt-orange);
  color: var(--pt-white);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(240, 126, 83, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.kids-photo-edit-btn:hover {
  box-shadow: 0 14px 28px rgba(240, 126, 83, 0.32);
  transform: translateY(-2px);
}
.kids-photo-edit-btn:hover svg { transform: translateX(3px); }
.kids-photo-edit-btn svg { transition: transform 180ms ease; }
.kids-photo-gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.kids-photo-gallery-heading > div:first-child > span {
  color: var(--pt-orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kids-photo-gallery-heading h2 {
  margin-top: 5px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.kids-photo-gallery-heading p {
  margin-top: 4px;
  color: var(--pt-lavender);
  font-size: 12px;
}
.kids-photo-gallery-note {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 12px;
  background: rgba(170, 198, 201, 0.2);
  color: var(--pt-navy);
  font-size: 11px;
  font-weight: 800;
}
.kids-parent-photos-page .kids-photo-library {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.kids-parent-photos-page .kids-photo-library-card {
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(170, 198, 201, 0.34);
  border-radius: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.kids-parent-photos-page .kids-photo-library-copy { padding: 10px 6px 8px; }
.kids-parent-photos-page .kids-photo-library-card h3 { font-size: 13px; }
.kids-parent-photos-page .kids-photo-library-card p { margin-top: 4px; font-size: 11px; }
.kids-parent-photos-page .kids-photo-library-card img { border-radius: 10px; }
.kids-parent-photos-page .kids-photo-library-card:hover {
  border-color: var(--pt-blue-gray);
  box-shadow: 0 16px 34px rgba(0, 42, 58, 0.13);
  transform: translateY(-4px);
}
.kids-photo-preview-trigger {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 15px;
  background: rgba(170, 198, 201, 0.16);
  cursor: pointer;
}
.kids-photo-preview-trigger img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 260ms ease;
}
.kids-photo-preview-trigger > span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 10px;
  background: rgba(0, 42, 58, 0.88);
  color: var(--pt-white);
  font-size: 10px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.kids-photo-library-card:hover .kids-photo-preview-trigger > span {
  opacity: 1;
  transform: translateY(0);
}
.kids-photo-library-copy { padding: 16px 10px 12px; }
.kids-photo-library-copy > span {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 200, 68, 0.22);
  color: var(--pt-navy);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kids-photo-library-copy h3 { margin-top: 10px; }
.kids-photo-preview-dialog {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 12px;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: var(--pt-white);
  color: var(--pt-navy);
  box-shadow: 0 28px 80px rgba(0, 42, 58, 0.36);
}
.kids-photo-preview-dialog::backdrop {
  background: rgba(0, 42, 58, 0.74);
  backdrop-filter: blur(4px);
}
.kids-photo-preview-dialog > img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 17px;
  background: rgba(170, 198, 201, 0.18);
}
.kids-photo-preview-dialog > div { padding: 18px 14px 12px; }
.kids-photo-preview-dialog > div span {
  color: var(--pt-orange);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kids-photo-preview-dialog h2 { margin-top: 5px; font-size: 24px; font-weight: 900; }
.kids-photo-preview-dialog p { margin-top: 5px; color: var(--pt-lavender); font-size: 13px; }
.kids-photo-preview-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--pt-white);
  color: var(--pt-navy);
  font-size: 23px;
  box-shadow: 0 5px 16px rgba(0, 42, 58, 0.18);
  cursor: pointer;
}

@media (max-width: 980px) {
  .kids-parent-photos-page .kids-photo-library {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .kids-photo-overview,
  .kids-photo-gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .kids-photo-overview { padding: 24px 20px; }
  .kids-photo-overview-action { width: 100%; }
  .kids-photo-overview-action > img { width: 82px; height: 68px; }
  .kids-photo-edit-btn { width: 100%; justify-content: center; }
  .kids-photo-gallery-note { display: none; }
  .kids-parent-photos-page .kids-photo-library { grid-template-columns: 1fr; }
  .kids-photo-preview-trigger > span {
    opacity: 1;
    transform: none;
  }
}

.kids-empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  border: 1px dashed rgba(170, 198, 201, 0.6);
}

/* ─── AUDITION CARD ──────────────────────────────────────── */
.kids-audition-card {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.kids-audition-content {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
  flex: 1;
}
.kids-audition-img-wrap { flex-shrink: 0; }
.kids-audition-img-placeholder {
  width: 170px;
  height: 210px;
  border-radius: 12px;
  background: linear-gradient(145deg, #EAF3F5, #D6E8EC);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--pt-lavender);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 12px;
}
.kids-audition-img-placeholder span {
  font-size: 11px;
  color: var(--pt-lavender);
  opacity: 0.8;
}
.kids-audition-info h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 4px;
}
.kids-audition-type {
  font-size: 13px;
  color: var(--pt-lavender);
  margin-bottom: 16px;
  font-weight: 500;
}
.kids-audition-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}
.kids-audition-details li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--pt-lavender);
  font-weight: 500;
}

/* ─── MESSAGES CARD ──────────────────────────────────────── */
.kids-messages-card {
  grid-column: 2 / 4;
  grid-row: 1 / 2;
}
.kids-message-item {
  display: grid;
  grid-template-columns: 50px 1fr auto 10px;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pt-line);
}
.kids-message-item:last-child { border-bottom: none; }
.kids-msg-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(170,198,201,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  color: var(--pt-lavender);
}
.kids-msg-avatar--pt {
  background: var(--pt-navy);
  color: var(--pt-white);
  font-size: 13px;
  font-weight: 800;
}
.kids-msg-body h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}
.kids-msg-body p {
  font-size: 13px;
  color: var(--pt-lavender);
  font-weight: 400;
}
.kids-msg-time {
  font-size: 12px;
  color: var(--pt-lavender);
  white-space: nowrap;
}
.kids-msg-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pt-orange);
  flex-shrink: 0;
}

/* ─── NEXT STEPS CARD ────────────────────────────────────── */
.kids-next-card {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.kids-step-item {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--pt-line);
}
.kids-step-item:last-child { border-bottom: none; }
.kids-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kids-step-icon--done     { background: rgba(170,198,201,0.30); color: var(--pt-teal); }
.kids-step-icon--progress { background: rgba(240,126,83,0.14);  color: var(--pt-orange); }
.kids-step-icon--pending  { background: rgba(255,200,68,0.22);  color: #C48600; }
.kids-step-text h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.kids-step-text p {
  font-size: 12px;
  color: var(--pt-lavender);
}
.kids-step-badge {
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.kids-step-badge--done     { background: rgba(170,198,201,0.28); color: var(--pt-teal); }
.kids-step-badge--progress { background: rgba(240,126,83,0.14);  color: var(--pt-orange); }
.kids-step-badge--pending  { background: rgba(255,200,68,0.22);  color: #A56D00; }

/* ─── APPOINTMENTS CARD ──────────────────────────────────── */
.kids-appt-card {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.kids-appt-row {
  display: grid;
  grid-template-columns: 64px 1fr 36px;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.kids-date-box {
  width: 64px;
  height: 70px;
  border: 1.5px solid var(--pt-line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kids-date-box strong {
  font-size: 26px;
  font-weight: 900;
  color: var(--pt-orange);
  line-height: 1;
}
.kids-date-box span {
  font-size: 11px;
  font-weight: 800;
  color: var(--pt-orange);
  letter-spacing: 0.05em;
}
.kids-appt-info h3 {
  font-size: 15px;
  font-weight: 700;
}
.kids-appt-info p {
  font-size: 13px;
  color: var(--pt-lavender);
  margin-top: 3px;
}
.kids-appt-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--pt-line);
  background: transparent;
  color: var(--pt-navy);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kids-calendar-btn {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(170,198,201,0.22);
  color: var(--pt-navy);
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 160ms ease;
}
.kids-calendar-btn:hover { background: rgba(170,198,201,0.38); }

/* ─── TIPS CARD ──────────────────────────────────────────── */
.kids-tips-card {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
.kids-tips-star { flex-shrink: 0; }
.kids-tip-box {
  flex: 1;
  padding: 20px;
  border-radius: 14px;
  background: rgba(170,198,201,0.16);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.kids-tip-bulb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,200,68,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kids-tip-content h3 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
}
.kids-tip-content p {
  font-size: 13px;
  color: var(--pt-lavender);
  line-height: 1.5;
}
.kids-tip-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.kids-tip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #C7D8DE;
  transition: background 200ms ease, transform 200ms ease;
}
.kids-tip-dot.active {
  background: var(--pt-navy);
  transform: scale(1.25);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.kids-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  min-height: 44px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 160ms ease;
}
.kids-btn:hover { opacity: 0.88; }
.kids-btn--navy {
  background: var(--pt-navy);
  color: var(--pt-white);
}
.kids-btn--orange {
  background: var(--pt-orange);
  color: var(--pt-white);
  padding: 0 32px;
  min-height: 46px;
  border-radius: 10px;
  font-size: 15px;
}

/* ─── BOTTOM BANNER ──────────────────────────────────────── */
.kids-bottom-banner {
  padding: 22px 32px;
  border-radius: 18px;
  background: linear-gradient(100deg, #FFF3EA 0%, #FFF9F5 100%);
  border: 1px solid rgba(240,126,83,0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.kids-banner-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.kids-banner-hand {
  flex-shrink: 0;
}
.kids-bottom-banner h2 {
  font-size: 20px;
  font-weight: 900;
  color: var(--pt-navy);
  margin-bottom: 4px;
}
.kids-bottom-banner p {
  font-size: 14px;
  color: var(--pt-lavender);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  :root { --kids-sidebar-w: 260px; }
  .kids-dashboard-main { padding: 28px 28px 40px; }
  .kids-stats-card { grid-template-columns: 1fr 1fr; }
  .kids-stat { border-right: none; border-bottom: 1px solid var(--pt-line); }
  .kids-stat--last { border-bottom: none; }
  .kids-stats-card .kids-stat:nth-child(2) { border-right: none; }
}

@media (max-width: 760px) {
  .kids-dashboard-shell {
    flex-direction: column;
  }
  .kids-sidebar {
    position: relative;
    width: 100%;
    height: auto;
    min-height: unset;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 16px 20px;
    overflow: visible;
    gap: 16px;
  }
  .kids-dashboard-main {
    margin-left: 0;
    padding: 24px 20px 36px;
  }
  .kids-sidebar-logo { margin-bottom: 0; }
  .kids-child-card, .kids-sidebar-help, .kids-sidebar-decor { display: none; }
  .kids-sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: 4px; margin-bottom: 0; }
  .kids-nav-item { padding: 8px 12px; font-size: 13px; }
  .kids-dashboard-grid { grid-template-columns: 1fr 1fr; }
  .kids-audition-card, .kids-messages-card,
  .kids-next-card, .kids-appt-card, .kids-tips-card {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .kids-stats-card { grid-template-columns: 1fr; }
  .kids-dashboard-grid { grid-template-columns: 1fr; }
  .kids-audition-content { grid-template-columns: 1fr; }
  .kids-audition-img-placeholder { width: 100%; }
  .kids-topbar { flex-direction: column; gap: 14px; }
  .kids-welcome-title { font-size: 24px; }
  .kids-bottom-banner { flex-direction: column; align-items: flex-start; }
  .kids-btn--orange { width: 100%; }
  .kids-library-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .kids-library-grid,
  .kids-photo-library { grid-template-columns: 1fr; }
}

/* ─── SHARED PORTAL PAGES ────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kids-panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid rgba(0, 42, 58, 0.07);
  border-radius: 18px;
  background: var(--pt-card-bg);
  box-shadow: var(--pt-soft-shadow);
}

.kids-panel > h2,
.kids-section-heading h2 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kids-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.kids-section-heading p,
.kids-panel-copy,
.kids-muted {
  margin-top: 6px;
  color: var(--pt-lavender);
  font-size: 13px;
  line-height: 1.55;
}

.kids-panel-copy { margin-bottom: 20px; }

.kids-page-grid {
  display: grid;
  gap: 20px;
}

.kids-page-grid--profile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kids-page-grid--profile .kids-profile-summary { grid-column: 1 / -1; }
.kids-page-grid--details { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr); }
.kids-page-grid--payments { grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.7fr); }
.kids-page-grid--appointments { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.7fr); }

.kids-content-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 20px;
}

.kids-profile-summary {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.kids-profile-summary h2 {
  margin: 9px 0 3px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.kids-profile-summary p:not(.kids-muted) {
  max-width: 620px;
  margin-top: 12px;
  color: rgba(0, 42, 58, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.kids-profile-portrait {
  position: relative;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  overflow: hidden;
  border: 4px solid var(--pt-white);
  border-radius: 50%;
  background: var(--pt-navy);
  box-shadow: 0 8px 24px rgba(0, 42, 58, 0.18);
  color: var(--pt-white);
  font-size: 32px;
  font-weight: 900;
}

.kids-profile-portrait img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kids-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}

.kids-detail-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kids-detail-grid div { min-width: 0; }
.kids-detail-grid dt,
.kids-detail-list dt {
  margin-bottom: 5px;
  color: var(--pt-lavender);
  font-size: 12px;
  font-weight: 600;
}
.kids-detail-grid dd,
.kids-detail-list dd {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}

.kids-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 18px;
  background: var(--pt-card-bg);
  box-shadow: var(--pt-soft-shadow);
}

.kids-summary-strip > div {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
  border-right: 1px solid var(--pt-line);
}
.kids-summary-strip > div:last-child { border-right: 0; }
.kids-summary-strip span,
.kids-summary-strip small {
  color: var(--pt-lavender);
  font-size: 12px;
  font-weight: 600;
}
.kids-summary-strip strong {
  margin-top: 6px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.kids-summary-strip--payments { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kids-summary-strip--payments strong { font-size: 20px; }
.kids-summary-strip--payments small { margin-top: 4px; }

.kids-payments-page .kids-dashboard-main { padding-bottom: 52px; }
.kids-payments-overview {
  display: grid;
  grid-template-columns: 1.15fr repeat(2, minmax(0, 0.8fr));
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(170, 198, 201, 0.35);
  border-radius: 20px;
  background: var(--pt-white);
  box-shadow: 0 12px 28px rgba(0, 42, 58, 0.08);
}
.kids-payments-overview > div {
  min-height: 128px;
  padding: 24px 26px;
}
.kids-payments-overview > div + div { border-left: 1px solid var(--pt-line); }
.kids-payments-balance {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(125deg, rgba(255, 200, 68, 0.18), rgba(255, 255, 255, 0.96));
}
.kids-payments-balance-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 17px;
  background: var(--pt-yellow);
  color: var(--pt-navy);
  box-shadow: 0 9px 20px rgba(255, 200, 68, 0.24);
}
.kids-payments-balance span,
.kids-payments-stat > span {
  display: block;
  margin-bottom: 5px;
  color: var(--pt-lavender);
  font-size: 11px;
  font-weight: 700;
}
.kids-payments-balance strong {
  display: block;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.kids-payments-balance p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: #177653;
  font-size: 10px;
  font-weight: 800;
}
.kids-payments-balance p i,
.kids-payments-all-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1d9d72;
  box-shadow: 0 0 0 4px rgba(29, 157, 114, 0.12);
}
.kids-payments-stat {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.kids-payments-stat strong {
  font-size: 20px;
  font-weight: 900;
}
.kids-payments-stat small {
  margin-top: 7px;
  color: rgba(0, 42, 58, 0.55);
  font-size: 10px;
}
.kids-payments-activity { padding: 26px; }
.kids-payments-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--pt-orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.kids-payments-all-status {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 11px;
  background: rgba(170, 198, 201, 0.18);
  color: var(--pt-navy);
  font-size: 10px;
  font-weight: 900;
}
.kids-payments-table tbody tr { transition: background 160ms ease; }
.kids-payments-table tbody tr:hover { background: rgba(170, 198, 201, 0.09); }
.kids-payments-table td:nth-child(2) small {
  display: block;
  margin-top: 4px;
  color: var(--pt-lavender);
  font-size: 9px;
}
.kids-payment-reference {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  border-radius: 8px;
  background: rgba(170, 198, 201, 0.15);
  color: var(--pt-navy);
  font-size: 10px;
  font-weight: 800;
}
.kids-payment-method-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 200, 68, 0.2) 0 5px, transparent 6px),
    var(--pt-white);
}
.kids-payment-method-art {
  display: grid;
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 22px;
  background: rgba(255, 200, 68, 0.18);
}
.kids-payment-method-art img { width: 66px; height: 66px; object-fit: contain; }
.kids-payment-method-card > h2 { font-size: 21px; font-weight: 900; }
.kids-payment-method-card > p {
  margin-top: 7px;
  color: var(--pt-lavender);
  font-size: 12px;
  line-height: 1.6;
}
.kids-payment-method-status {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 22px 0 18px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(170, 198, 201, 0.18);
  color: var(--pt-navy);
}
.kids-payment-method-status svg { flex: 0 0 auto; color: #1d9d72; }
.kids-payment-method-status strong,
.kids-payment-method-status span { display: block; }
.kids-payment-method-status strong { font-size: 11px; }
.kids-payment-method-status span { margin-top: 3px; color: var(--pt-lavender); font-size: 9px; }
.kids-payment-method-card .kids-btn:disabled {
  background: var(--pt-blue-gray);
  color: var(--pt-navy);
  opacity: 1;
}
.kids-payment-help-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  color: var(--pt-navy);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.45;
}
.kids-payment-help-link span { color: var(--pt-orange); font-size: 18px; }

@media (max-width: 820px) {
  .kids-payments-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-payments-balance { grid-column: 1 / -1; }
  .kids-payments-overview > div:nth-child(2) { border-left: 0; }
  .kids-payments-overview > div:nth-child(n + 2) { border-top: 1px solid var(--pt-line); }
}

@media (max-width: 560px) {
  .kids-payments-overview { grid-template-columns: 1fr; }
  .kids-payments-overview > div {
    min-height: auto;
    padding: 20px;
  }
  .kids-payments-overview > div + div { border-left: 0; }
  .kids-payments-balance { grid-column: auto; }
  .kids-payments-activity,
  .kids-payment-method-card { padding: 20px; }
  .kids-payments-all-status { display: none; }
}

.kids-status {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.kids-status--active,
.kids-status--complete,
.kids-status--approved,
.kids-status--paid,
.kids-status--ready { background: rgba(170, 198, 201, 0.35); color: var(--pt-navy); }
.kids-status--review,
.kids-status--pending,
.kids-status--scheduled,
.kids-status--reschedule { background: rgba(255, 200, 68, 0.28); color: var(--pt-navy); }
.kids-status--shortlisted,
.kids-status--submitted { background: rgba(240, 126, 83, 0.18); color: var(--pt-navy); }
.kids-status--draft,
.kids-status--refunded { background: rgba(114, 112, 124, 0.16); color: var(--pt-lavender); }
.kids-status--missing,
.kids-status--rejected,
.kids-status--failed,
.kids-status--cancelled { border: 1px solid var(--pt-orange); background: var(--pt-white); color: var(--pt-navy); }

.kids-status-guide {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kids-placeholder-card {
  margin-bottom: 18px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(255, 200, 68, 0.18);
}
.kids-placeholder-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
.kids-placeholder-card p {
  color: var(--pt-lavender);
  font-size: 13px;
  line-height: 1.55;
}

.kids-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.kids-filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--pt-lavender);
  font-size: 12px;
  font-weight: 700;
}

.kids-select,
.kids-form-grid input,
.kids-form-grid select,
.kids-search input,
.kids-message-compose textarea {
  min-height: 42px;
  border: 1px solid rgba(0, 42, 58, 0.16);
  border-radius: 9px;
  outline: none;
  background: var(--pt-white);
  color: var(--pt-navy);
  font: inherit;
}
.kids-select { padding: 0 34px 0 12px; }

.kids-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.kids-data-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  text-align: left;
}
.kids-data-table th {
  padding: 12px 14px;
  border-bottom: 1px solid var(--pt-line);
  color: var(--pt-lavender);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.kids-data-table td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--pt-line);
  color: rgba(0, 42, 58, 0.78);
  font-size: 13px;
  vertical-align: middle;
}
.kids-data-table tbody tr:last-child td { border-bottom: 0; }
.kids-data-table td > strong { color: var(--pt-navy); }
.kids-data-table td > span:not(.kids-status) {
  display: block;
  margin-top: 4px;
  color: var(--pt-lavender);
  font-size: 11px;
}
.kids-table-link {
  color: var(--pt-teal);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.kids-table-link:hover { text-decoration: underline; }

.kids-breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--pt-lavender);
  font-size: 13px;
  font-weight: 600;
}
.kids-breadcrumb a { color: var(--pt-teal); }

.kids-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 30px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pt-white), rgba(170, 198, 201, 0.24));
  box-shadow: var(--pt-soft-shadow);
}
.kids-detail-hero h2 {
  margin: 10px 0 5px;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.kids-detail-hero p { color: var(--pt-lavender); font-size: 13px; }

.kids-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.kids-timeline::before {
  position: absolute;
  top: 9px;
  bottom: 9px;
  left: 7px;
  width: 2px;
  background: rgba(0, 42, 58, 0.11);
  content: "";
}
.kids-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 32px;
}
.kids-timeline li::before {
  position: absolute;
  top: 2px;
  left: 0;
  z-index: 1;
  width: 16px;
  height: 16px;
  border: 3px solid var(--pt-white);
  border-radius: 50%;
  background: #c7d3d8;
  box-shadow: 0 0 0 1px rgba(0, 42, 58, 0.12);
  content: "";
}
.kids-timeline li.is-complete::before { background: var(--pt-teal); }
.kids-timeline li.is-current::before { background: var(--pt-yellow); }
.kids-timeline strong { font-size: 14px; }
.kids-timeline span { color: var(--pt-lavender); font-size: 12px; line-height: 1.5; }

.kids-check-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 18px;
}
.kids-check-list li {
  position: relative;
  padding-left: 27px;
  color: rgba(0, 42, 58, 0.76);
  font-size: 13px;
  line-height: 1.5;
}
.kids-check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 124, 137, 0.13);
  color: var(--pt-teal);
  content: "✓";
  font-size: 11px;
  font-weight: 900;
}

.kids-detail-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}
.kids-detail-list div {
  padding: 14px 0;
  border-bottom: 1px solid var(--pt-line);
}
.kids-detail-list div:last-child { border-bottom: 0; }
.kids-security-note {
  margin-top: 15px;
  color: var(--pt-lavender);
  font-size: 11px;
  line-height: 1.5;
}

.kids-messages-overview {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 0.75fr));
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(170, 198, 201, 0.35);
  border-radius: 20px;
  background: var(--pt-white);
  box-shadow: 0 12px 28px rgba(0, 42, 58, 0.08);
}
.kids-messages-overview > div {
  min-height: 126px;
  padding: 22px 24px;
}
.kids-messages-overview > div + div { border-left: 1px solid var(--pt-line); }
.kids-messages-overview-intro {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(125deg, rgba(255, 200, 68, 0.18), rgba(255, 255, 255, 0.96));
}
.kids-messages-overview-intro > span {
  color: var(--pt-orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.kids-messages-overview-intro > strong {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.kids-messages-overview-intro > p {
  margin-top: 6px;
  color: var(--pt-lavender);
  font-size: 10px;
  line-height: 1.4;
}
.kids-messages-overview-stat {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.kids-messages-overview-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--pt-navy);
}
.kids-messages-overview-icon--orange { background: rgba(240, 126, 83, 0.18); }
.kids-messages-overview-icon--yellow { background: rgba(255, 200, 68, 0.28); }
.kids-messages-overview-icon--blue { background: rgba(170, 198, 201, 0.32); }
.kids-messages-overview-stat > span {
  color: var(--pt-lavender);
  font-size: 10px;
  font-weight: 700;
}
.kids-messages-overview-stat > strong {
  margin-top: 5px;
  font-size: 25px;
  font-weight: 900;
}
.kids-messages-overview-stat > small {
  margin-top: 4px;
  color: rgba(0, 42, 58, 0.5);
  font-size: 9px;
}
@media (max-width: 980px) {
  .kids-messages-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-messages-overview > div:nth-child(3) { border-left: 0; }
  .kids-messages-overview > div:nth-child(n + 3) { border-top: 1px solid var(--pt-line); }
}
@media (max-width: 680px) {
  .kids-messages-overview { grid-template-columns: 1fr; }
  .kids-messages-overview > div + div { border-left: 0; border-top: 1px solid var(--pt-line); }
}

.kids-messages-layout {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.5fr);
  gap: 18px;
}
.kids-messages-page { padding-bottom: 48px; }
.kids-messages-page .kids-dashboard-hero {
  min-height: 205px;
  border-color: rgba(170, 198, 201, 0.55);
  background:
    linear-gradient(110deg, var(--pt-white) 0%, var(--pt-white) 61%, rgba(170, 198, 201, 0.42) 100%);
  box-shadow: 0 14px 34px rgba(0, 42, 58, 0.11);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}
.kids-messages-page .kids-dashboard-hero:hover {
  border-color: var(--pt-blue-gray);
  box-shadow: 0 18px 42px rgba(0, 42, 58, 0.15);
  transform: translateY(-2px);
}
.kids-messages-page .kids-dashboard-hero h1 {
  font-size: clamp(34px, 4vw, 46px);
}
.kids-messages-page .kids-dashboard-hero-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 200, 68, 0.25);
  color: var(--pt-navy);
}
.kids-messages-page .kids-dashboard-hero-art img {
  transition: transform 280ms ease;
}
.kids-messages-page .kids-dashboard-hero:hover .kids-dashboard-hero-art img:nth-child(1) {
  transform: translateY(-5px) rotate(-4deg);
}
.kids-messages-page .kids-dashboard-hero:hover .kids-dashboard-hero-art img:nth-child(2) {
  transform: rotate(8deg) scale(1.05);
}
.kids-messages-page .kids-dashboard-hero:hover .kids-dashboard-hero-art img:nth-child(3) {
  transform: translateY(-4px);
}
.kids-messages-hero-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--pt-navy);
  color: var(--pt-white);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 42, 58, 0.18);
  transition: background 160ms ease, transform 160ms ease;
}
.kids-messages-hero-action:hover {
  background: var(--pt-orange);
  transform: translateX(3px);
}
.kids-appointments-hero .kids-messages-hero-action {
  background: var(--pt-yellow);
  color: var(--pt-navy);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.kids-appointments-hero .kids-messages-hero-action:hover {
  background: var(--pt-orange);
  color: var(--pt-white);
}
.kids-messages-hero-action svg { transition: transform 160ms ease; }
.kids-messages-hero-action:hover svg { transform: translateX(3px); }
#messagesWorkspace { scroll-margin-top: 24px; }
.kids-inbox {
  padding: 0 0 18px;
  overflow: hidden;
}
.kids-messages-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 17px 20px;
  background: rgba(255, 200, 68, 0.24);
  border-bottom: 1px solid rgba(255, 200, 68, 0.52);
}
.kids-messages-toolbar-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  background: var(--pt-orange);
  color: var(--pt-white);
  box-shadow: 0 7px 16px rgba(240, 126, 83, 0.24);
}
.kids-messages-toolbar > div { min-width: 0; flex: 1; }
.kids-messages-toolbar-label {
  display: block;
  margin-bottom: 3px;
  color: var(--pt-lavender);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.kids-messages-toolbar h2 { font-size: 19px; font-weight: 900; }
.kids-messages-unread {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--pt-white);
  color: var(--pt-orange);
  font-size: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 42, 58, 0.07);
}
.kids-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 20px 12px;
  padding: 0 12px;
  border: 1px solid rgba(0, 42, 58, 0.13);
  border-radius: 11px;
  background: rgba(240, 244, 246, 0.72);
  color: var(--pt-lavender);
}
.kids-search input { width: 100%; border: 0; }
.kids-inbox-tabs { display: flex; gap: 7px; padding: 0 20px 12px; }
.kids-inbox-tabs button {
  padding: 6px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--pt-lavender);
  font-size: 10px;
  font-weight: 800;
}
.kids-inbox-tabs button.is-active { background: rgba(255, 200, 68, 0.24); color: var(--pt-navy); }
.kids-inbox-tabs button span { color: var(--pt-orange); }
.kids-thread-list { padding: 0 10px; }
.kids-thread {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 15px 12px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--pt-navy);
  text-align: left;
}
.kids-thread:hover { background: rgba(170, 198, 201, 0.12); }
.kids-thread.is-active {
  background: rgba(170, 198, 201, 0.23);
  box-shadow: inset 3px 0 0 var(--pt-orange);
}
.kids-thread .kids-msg-avatar { width: 42px; height: 42px; font-size: 12px; }
.kids-thread span:nth-child(2) { min-width: 0; }
.kids-thread strong,
.kids-thread small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kids-thread strong { font-size: 13px; }
.kids-thread small { margin-top: 4px; color: var(--pt-lavender); font-size: 11px; }
.kids-thread time { align-self: start; color: var(--pt-lavender); font-size: 10px; }
.kids-thread i {
  position: absolute;
  right: 13px;
  bottom: 17px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pt-orange);
}
.kids-msg-avatar--bookings { background: rgba(255, 200, 68, 0.32); color: var(--pt-navy); }
.kids-msg-avatar--accounts { background: rgba(114, 112, 124, 0.16); color: var(--pt-lavender); }
.kids-conversation {
  display: flex;
  padding: 0;
  overflow: hidden;
  flex-direction: column;
}
.kids-conversation > header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 17px 22px;
  background: var(--pt-navy);
  color: var(--pt-white);
}
.kids-conversation > header > div:nth-child(2) { min-width: 0; flex: 1; }
.kids-conversation > header .kids-msg-avatar--pt { background: var(--pt-yellow); color: var(--pt-navy); }
.kids-conversation > header h2 { font-size: 15px; }
.kids-conversation > header p { margin-top: 4px; color: rgba(255, 255, 255, 0.72); font-size: 11px; }
.kids-conversation-status { display: flex; align-items: center; gap: 6px; }
.kids-conversation-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pt-yellow);
  box-shadow: 0 0 0 3px rgba(255, 200, 68, 0.14);
}
.kids-conversation-private {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 800;
}
.kids-conversation-body {
  display: flex;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 200, 68, 0.13), transparent 24%),
    rgba(240, 244, 246, 0.58);
}
.kids-date-divider {
  align-self: center;
  color: var(--pt-lavender);
  font-size: 10px;
  font-weight: 700;
}
.kids-date-divider span {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--pt-white);
  box-shadow: 0 3px 10px rgba(0,42,58,0.06);
}
.kids-message-bubble {
  max-width: 70%;
  padding: 13px 15px;
  border: 1px solid rgba(170, 198, 201, 0.35);
  border-radius: 5px 17px 17px;
  background: var(--pt-white);
  box-shadow: 0 3px 12px rgba(0, 42, 58, 0.07);
  font-size: 13px;
  line-height: 1.55;
}
.kids-message-bubble--own {
  align-self: flex-end;
  border-color: var(--pt-navy);
  border-radius: 17px 5px 17px 17px;
  background: var(--pt-navy);
  color: var(--pt-white);
}
.kids-message-bubble time {
  display: block;
  margin-top: 6px;
  color: var(--pt-lavender);
  font-size: 9px;
}
.kids-message-bubble--own time { color: rgba(255, 255, 255, 0.7); text-align: right; }
.kids-message-compose {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid var(--pt-line);
}
.kids-message-attach {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: rgba(170, 198, 201, 0.22);
  color: var(--pt-navy);
}
.kids-message-compose textarea {
  width: 100%;
  min-height: 48px;
  resize: vertical;
  padding: 12px 14px;
  border-radius: 12px;
}
.kids-message-send {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 0;
  border-radius: 12px;
  background: var(--pt-orange);
  color: var(--pt-white);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(240, 126, 83, 0.22);
}

@media (max-width: 1200px) {
  .kids-messages-layout { min-height: 0; grid-template-columns: 1fr; }
  .kids-conversation { min-height: 560px; }
}

.kids-appointment-feature {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 24px;
}
.kids-date-box--large { width: 100px; height: 118px; background: rgba(255, 200, 68, 0.12); }
.kids-date-box--large strong { font-size: 38px; }
.kids-date-box--large small { margin-top: 4px; color: var(--pt-lavender); font-size: 10px; font-weight: 800; }
.kids-appointment-feature h3 { margin: 10px 0 12px; font-size: 21px; font-weight: 900; }
.kids-meta-list { display: flex; flex-direction: column; gap: 8px; }
.kids-meta-list li { color: var(--pt-lavender); font-size: 13px; }
.kids-meta-list li::before { margin-right: 8px; color: var(--pt-teal); content: "•"; }
.kids-action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.kids-list-row {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--pt-line);
}
.kids-list-row:last-child { border-bottom: 0; }
.kids-list-row > div:nth-child(2) > strong { font-size: 13px; }
.kids-list-row p { margin-top: 3px; color: var(--pt-lavender); font-size: 11px; }
.kids-date-chip {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 9px;
  background: rgba(170, 198, 201, 0.22);
}
.kids-date-chip strong { line-height: 1; font-size: 17px; }
.kids-date-chip span { line-height: 1; color: var(--pt-lavender); font-size: 9px; font-weight: 800; }
.kids-callout { background: rgba(255, 200, 68, 0.13); }
.kids-callout p { margin: 8px 0 16px; color: rgba(0, 42, 58, 0.72); font-size: 13px; line-height: 1.55; }

.kids-settings-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
.kids-settings-nav {
  display: flex;
  padding: 10px;
  border-radius: 14px;
  background: var(--pt-white);
  box-shadow: var(--pt-soft-shadow);
  flex-direction: column;
}
.kids-settings-nav a {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--pt-lavender);
  font-size: 13px;
  font-weight: 700;
}
.kids-settings-nav a:hover { background: rgba(170, 198, 201, 0.22); color: var(--pt-navy); }
.kids-settings-nav a.active {
  position: relative;
  background: rgba(240, 126, 83, 0.12);
  color: var(--pt-orange);
}
.kids-settings-nav a.active::before {
  position: absolute;
  inset: 6px auto 6px -10px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: var(--pt-orange);
  content: "";
}
.kids-section-heading-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.kids-panel-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
}
.kids-panel-icon--teal { background: rgba(0, 124, 137, 0.14); color: var(--pt-teal); }
.kids-panel-icon--yellow { background: rgba(255, 200, 68, 0.28); color: #9a6b00; }
.kids-panel-icon--orange { background: rgba(240, 126, 83, 0.16); color: var(--pt-orange); }
.kids-coming-soon {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: 6px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 200, 68, 0.28);
  color: #7a5400;
  font-size: 10px;
  font-weight: 900;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}
#account.kids-panel,
#notifications.kids-panel,
#privacy.kids-panel {
  position: relative;
  overflow: hidden;
}
#account.kids-panel::before,
#notifications.kids-panel::before,
#privacy.kids-panel::before {
  position: absolute;
  top: -28px;
  right: -28px;
  width: 84px;
  height: 84px;
  content: "";
  pointer-events: none;
}
#account.kids-panel::before { background: url("./assets/blob-blue.png") center / contain no-repeat; opacity: 0.16; }
#notifications.kids-panel::before { background: url("./assets/blob-yellow.png") center / contain no-repeat; opacity: 0.22; }
#privacy.kids-panel::before { background: url("./assets/blob-orange.png") center / contain no-repeat; opacity: 0.16; }
#account.kids-panel::after,
#notifications.kids-panel::after,
#privacy.kids-panel::after {
  position: absolute;
  top: 14px;
  right: 54px;
  width: 30px;
  height: 30px;
  content: "";
  pointer-events: none;
}
#account.kids-panel::after { background: url("./assets/starburst-teal.png") center / contain no-repeat; opacity: 0.5; }
#notifications.kids-panel::after { background: url("./assets/starburst.png") center / contain no-repeat; opacity: 0.7; }
#privacy.kids-panel::after { background: url("./assets/starburst-orange.png") center / contain no-repeat; opacity: 0.5; }
.kids-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.kids-form-grid label { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.kids-form-grid label > span { font-size: 12px; font-weight: 700; }
.kids-form-grid input,
.kids-form-grid select { width: 100%; padding: 0 12px; font-size: 13px; }
.kids-form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 22px; }
.kids-settings-feedback {
  margin-right: auto;
  color: var(--pt-lavender);
  font-size: 12px;
  font-weight: 700;
}
.kids-toggle-list { display: flex; flex-direction: column; }
.kids-toggle-list label,
.kids-security-row {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--pt-line);
}
.kids-toggle-list label:last-child,
.kids-security-row:last-child { border-bottom: 0; }
.kids-toggle-list strong,
.kids-toggle-list small { display: block; }
.kids-toggle-list strong,
.kids-security-row strong { font-size: 13px; }
.kids-toggle-list small,
.kids-security-row p { margin-top: 4px; color: var(--pt-lavender); font-size: 11px; line-height: 1.45; }
.kids-toggle-list input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--pt-teal); }
.kids-security-row p { max-width: 560px; }

.kids-help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  align-items: start;
  gap: 20px;
}
.kids-help-topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.kids-help-topics a {
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(0, 42, 58, 0.1);
  border-radius: 14px;
  background: var(--pt-white);
  box-shadow: var(--pt-soft-shadow);
}
.kids-help-topics strong,
.kids-help-topics span {
  display: block;
}
.kids-help-topics strong {
  margin-bottom: 7px;
  color: var(--pt-navy);
  font-size: 14px;
}
.kids-help-topics span {
  color: var(--pt-lavender);
  font-size: 12px;
  line-height: 1.45;
}
.kids-faq-list details { border-bottom: 1px solid var(--pt-line); }
.kids-faq-list details:last-child { border-bottom: 0; }
.kids-faq-list summary {
  padding: 17px 28px 17px 0;
  cursor: pointer;
  color: var(--pt-navy);
  font-size: 14px;
  font-weight: 750;
}
.kids-faq-list details p {
  max-width: 70ch;
  padding: 0 28px 18px 0;
  color: var(--pt-lavender);
  font-size: 13px;
  line-height: 1.6;
}

.kids-help-page .kids-dashboard-main { padding-bottom: 52px; }
.kids-appointments-hero--help .kids-topbar-left { max-width: 590px; }
.kids-help-hero-art {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  width: 405px;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
}
.kids-help-hero-art img {
  width: 100%;
  height: 100%;
  max-width: 220px;
  max-height: 150px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
}
.kids-help-hero-button {
  display: inline-flex;
  min-width: 148px;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  margin-right: 22px;
  padding: 0 17px;
  border-radius: 14px;
  background: var(--pt-orange);
  color: var(--pt-white);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 11px 24px rgba(240, 126, 83, 0.28);
  pointer-events: auto;
  transition: box-shadow 180ms ease, transform 180ms ease;
}
.kids-help-hero-button:hover {
  box-shadow: 0 15px 30px rgba(240, 126, 83, 0.36);
  transform: translateY(-2px);
}
.kids-help-search-card {
  display: grid;
  align-items: center;
  grid-template-columns: 54px minmax(220px, 0.75fr) minmax(300px, 1.25fr);
  gap: 18px;
  margin-bottom: 24px;
  padding: 20px 24px;
  border: 1px solid rgba(170, 198, 201, 0.4);
  border-radius: 19px;
  background: var(--pt-white);
  box-shadow: 0 11px 28px rgba(0, 42, 58, 0.08);
}
.kids-help-search-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  background: rgba(255, 200, 68, 0.25);
  color: var(--pt-navy);
}
.kids-help-search-card > div:nth-child(2) > span,
.kids-help-section-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--pt-orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.kids-help-search-card h2 { font-size: 19px; font-weight: 900; }
.kids-help-search-field {
  position: relative;
  display: block;
}
.kids-help-search-field input {
  width: 100%;
  min-height: 48px;
  padding: 0 48px 0 17px;
  border: 1px solid rgba(170, 198, 201, 0.58);
  border-radius: 13px;
  background: rgba(170, 198, 201, 0.1);
  color: var(--pt-navy);
  font: inherit;
  font-size: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.kids-help-search-field input:focus {
  border-color: var(--pt-blue-gray);
  background: var(--pt-white);
  box-shadow: 0 0 0 4px rgba(170, 198, 201, 0.2);
  outline: 0;
}
.kids-help-search-field kbd {
  position: absolute;
  top: 50%;
  right: 13px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: var(--pt-navy);
  color: var(--pt-white);
  font-family: inherit;
  transform: translateY(-50%);
}
.kids-help-page .kids-help-topics {
  gap: 12px;
  margin-bottom: 24px;
}
.kids-help-page .kids-help-topics a {
  position: relative;
  min-height: 150px;
  padding: 17px;
  border-color: rgba(170, 198, 201, 0.35);
  border-radius: 18px;
  box-shadow: 0 9px 24px rgba(0, 42, 58, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.kids-help-page .kids-help-topics a:hover {
  border-color: var(--pt-blue-gray);
  box-shadow: 0 14px 28px rgba(0, 42, 58, 0.12);
  transform: translateY(-3px);
}
.kids-help-topic-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 13px;
  color: var(--pt-navy);
}
.kids-help-topic-icon--orange { background: rgba(240, 126, 83, 0.18); }
.kids-help-topic-icon--yellow { background: rgba(255, 200, 68, 0.27); }
.kids-help-topic-icon--blue { background: rgba(170, 198, 201, 0.32); }
.kids-help-page .kids-help-topics a > b {
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: var(--pt-orange);
  font-size: 18px;
  transition: transform 180ms ease;
}
.kids-help-page .kids-help-topics a:hover > b { transform: translateX(3px); }
.kids-help-page .kids-help-topics strong { font-size: 13px; }
.kids-help-page .kids-help-topics span { font-size: 10px; }
.kids-help-faq-panel,
.kids-help-contact-card,
.kids-help-security-card { border: 1px solid rgba(170, 198, 201, 0.3); }
.kids-help-faq-panel { padding: 27px; }
.kids-help-page .kids-faq-list { display: grid; gap: 9px; }
.kids-help-page .kids-faq-list details {
  overflow: hidden;
  border: 1px solid rgba(170, 198, 201, 0.32);
  border-radius: 13px;
  background: rgba(170, 198, 201, 0.08);
  transition: border-color 180ms ease, background 180ms ease;
}
.kids-help-page .kids-faq-list details[open] {
  border-color: rgba(255, 200, 68, 0.65);
  background: rgba(255, 200, 68, 0.11);
}
.kids-help-page .kids-faq-list summary { padding: 16px 18px; font-size: 12px; }
.kids-help-page .kids-faq-list details p { padding: 0 18px 17px; font-size: 11px; }
.kids-help-no-results {
  padding: 22px;
  border-radius: 13px;
  background: rgba(255, 200, 68, 0.16);
  color: var(--pt-navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}
[data-help-item][hidden] { display: none !important; }
.kids-help-contact-card {
  padding: 25px;
  background:
    radial-gradient(circle at 91% 8%, rgba(255, 200, 68, 0.25) 0 5px, transparent 6px),
    var(--pt-white);
}
.kids-help-contact-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 18px;
  background: var(--pt-orange);
  color: var(--pt-white);
  box-shadow: 0 10px 22px rgba(240, 126, 83, 0.22);
}
.kids-help-contact-card > h2 { font-size: 22px; font-weight: 900; }
.kids-help-contact-meta {
  display: grid;
  gap: 8px;
  margin: 19px 0;
  color: var(--pt-lavender);
  font-size: 10px;
  font-weight: 700;
}
.kids-help-contact-meta span { display: flex; align-items: center; gap: 8px; }
.kids-help-contact-meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1d9d72;
  box-shadow: 0 0 0 4px rgba(29, 157, 114, 0.12);
}
.kids-help-primary-action {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-radius: 13px;
  background: var(--pt-navy);
  color: var(--pt-white);
  font-size: 11px;
  font-weight: 900;
}
.kids-help-primary-action span { color: var(--pt-yellow); font-size: 18px; }
.kids-help-email-link {
  display: block;
  margin-top: 14px;
  color: var(--pt-orange);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}
.kids-help-security-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  background: rgba(170, 198, 201, 0.18);
}
.kids-help-security-card > svg { flex: 0 0 auto; color: #1d9d72; }
.kids-help-security-card h2 { font-size: 13px; font-weight: 900; }
.kids-help-security-card p {
  margin-top: 5px;
  color: var(--pt-lavender);
  font-size: 10px;
  line-height: 1.5;
}

.kids-btn { border: 0; }
.kids-btn--outline {
  border: 1px solid rgba(0, 42, 58, 0.18);
  background: var(--pt-white);
  color: var(--pt-navy);
}
.kids-btn--full { width: 100%; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 124, 137, 0.35);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .kids-page-grid--profile,
  .kids-page-grid--details,
  .kids-page-grid--payments,
  .kids-page-grid--appointments,
  .kids-messages-layout,
  .kids-settings-layout,
  .kids-help-layout { grid-template-columns: 1fr; }
  .kids-help-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-settings-nav { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .kids-panel { padding: 20px; }
  .kids-profile-summary { grid-template-columns: 88px minmax(0, 1fr); }
  .kids-profile-portrait { width: 88px; height: 88px; font-size: 24px; }
  .kids-profile-summary .kids-btn { grid-column: 1 / -1; width: 100%; }
  .kids-detail-grid,
  .kids-detail-grid--three,
  .kids-form-grid { grid-template-columns: 1fr; }
  .kids-summary-strip,
  .kids-summary-strip--payments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-summary-strip > div { border-bottom: 1px solid var(--pt-line); }
  .kids-detail-hero,
  .kids-section-heading { flex-direction: column; align-items: flex-start; }
  .kids-detail-hero .kids-btn { width: 100%; }
  .kids-messages-layout { min-height: 0; }
  .kids-conversation { min-height: 520px; }
  .kids-message-bubble { max-width: 86%; }
  .kids-message-compose { flex-direction: column; align-items: stretch; }
  .kids-appointment-feature { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
  .kids-date-box--large { width: 76px; height: 96px; }
  .kids-action-row .kids-btn { width: 100%; }
  .kids-list-row { grid-template-columns: 50px minmax(0, 1fr); }
  .kids-list-row > .kids-status { grid-column: 2; }
  .kids-help-topics { grid-template-columns: 1fr; }
}

/* ─── APPOINTMENTS WORKSPACE ──────────────────────────────── */
.kids-appointments-page .kids-dashboard-main {
  background: var(--pt-bg);
}
.kids-appointments-hero {
  position: relative;
  min-height: 140px;
  align-items: center;
  margin-bottom: 22px;
  padding: 32px 44px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--pt-navy);
  color: var(--pt-white);
  box-shadow: 0 16px 38px rgba(0, 42, 58, 0.16);
}
.kids-appointments-hero::after {
  position: absolute;
  right: -44px;
  bottom: -86px;
  width: 260px;
  height: 210px;
  background: url("./assets/blob-blue.png") center / contain no-repeat;
  content: "";
  opacity: 0.55;
  pointer-events: none;
}

/* Full pre-designed banner headers (assets/dashboard-banners/*.png) — the whole
   header (eyebrow, title, subtitle, illustration) is baked into one image, so
   this variant strips the padded/text-overlay treatment and just shows the
   image edge to edge instead of squeezing it into the small corner-icon slot. */
.kids-appointments-hero--banner {
  min-height: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.kids-appointments-hero--banner::after {
  display: none;
}
.kids-hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(0, 42, 58, 0.16);
}
.kids-appointments-hero--applications::after,
.kids-appointments-hero--help::after,
.kids-appointments-hero--messages::after,
.kids-appointments-hero--payments::after,
.kids-appointments-hero--uploaded-photos::after,
.kids-appointments-hero--uploaded-documents::after,
.kids-appointments-hero--full-appointments::after {
  display: none;
}
.kids-appointments-hero .kids-topbar-left {
  position: relative;
  z-index: 2;
}
.kids-appointments-eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--pt-yellow);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kids-appointments-hero .kids-welcome-title {
  color: var(--pt-white);
  font-family: 'Poppins', sans-serif;
  font-size: clamp(24px, 2.1vw, 34px);
  line-height: 1.05;
  font-weight: 600;
}
.kids-appointments-hero--vector .kids-welcome-title,
.kids-appointments-hero--uploaded-photos .kids-welcome-title,
.kids-appointments-hero--uploaded-documents .kids-welcome-title,
.kids-appointments-hero--applications .kids-welcome-title,
.kids-appointments-hero--messages .kids-welcome-title,
.kids-appointments-hero--payments .kids-welcome-title,
.kids-appointments-hero--help .kids-welcome-title {
  color: var(--pt-yellow);
  font-weight: 800;
}
.kids-appointments-hero-stars--v2 {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  max-width: 280px;
  max-height: 160px;
  object-fit: contain;
  object-position: center;
}
.kids-appointments-hero .kids-welcome-sub {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.4;
  font-weight: 400;
}
.kids-appointments-hero-art {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.kids-appointments-hero-stars {
  position: absolute;
  top: 26px;
  right: 128px;
  width: 96px;
}
.kids-appointments-hero-stars--messages {
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kids-appointments-hero-stars--applications {
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kids-appointments-hero-stars--payments {
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kids-appointments-hero-stars--uploaded-photos {
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.kids-appointments-hero-stars--uploaded-documents,
.kids-appointments-hero-stars--full-appointments,
.kids-appointments-hero-stars--help {
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 130px;
  object-fit: contain;
}
.kids-appointments-hero-full-image {
  display: block;
  width: 100%;
  height: auto;
}
.kids-vector-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  overflow: hidden;
}

/* ─── PAGE BANNER (fixed PNG, typography baked in) ────────── */
.kids-page-banner {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 0 28px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 42, 58, 0.14);
  background: #002A3A;
}
.kids-page-banner__image,
.kids-page-banner > svg {
  display: block;
  width: 100%;
  height: auto;
}
.kids-page-banner__action {
  position: absolute;
  z-index: 2;
  color: transparent;
  font-size: 0;
}
.kids-page-banner__action--messages {
  left: 4.05%;
  top: 63.8%;
  width: 15.47%;
  height: 18.55%;
}
.kids-page-banner__action--help {
  left: 76.9%;
  top: 33.6%;
  width: 20.72%;
  height: 32.35%;
}
.kids-appointments-hero-starburst {
  position: absolute;
  right: 44px;
  bottom: 26px;
  width: 70px;
}

.kids-appointments-notice {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding: 18px 22px 18px 18px;
  border: 1px solid rgba(255, 200, 68, 0.5);
  border-radius: 18px;
  background: linear-gradient(115deg, rgba(255, 200, 68, 0.23), rgba(255, 255, 255, 0.92));
}
.kids-appointments-notice > img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transform: rotate(-8deg);
}
.kids-appointments-notice > div {
  flex: 1;
}
.kids-appointments-notice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}
.kids-appointments-notice p {
  color: rgba(0, 42, 58, 0.72);
  font-size: 13px;
  line-height: 1.5;
}
.kids-appointments-notice a {
  flex: 0 0 auto;
  color: var(--pt-navy);
  font-size: 13px;
  font-weight: 800;
}

.kids-appointment-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
  background: transparent;
}
.kids-appointment-metrics article {
  position: relative;
  min-height: 104px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 42, 58, 0.07);
  border-radius: 18px;
  background: var(--pt-white);
  box-shadow: var(--pt-soft-shadow);
}
.kids-appointment-metrics article::after {
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 76px;
  height: 76px;
  background: url("./assets/blob-blue.png") center / contain no-repeat;
  content: "";
  opacity: 0.28;
}
.kids-appointment-metrics article:nth-child(2)::after {
  background-image: url("./assets/blob-yellow.png");
}
.kids-appointment-metrics article:nth-child(3)::after {
  background-image: url("./assets/hand-orange.png");
  opacity: 0.2;
}
.kids-appointment-metrics article:nth-child(4)::after {
  background-image: url("./assets/stars-group.png");
  opacity: 0.22;
}
.kids-appointment-metrics article:first-child {
  border-top: 4px solid var(--pt-orange);
}
.kids-appointment-metrics span {
  display: block;
  margin-bottom: 7px;
  color: var(--pt-lavender);
  font-size: 12px;
  font-weight: 700;
}
.kids-appointment-metrics strong {
  color: var(--pt-navy);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.kids-appointments-workspace {
  overflow: hidden;
  border: 1px solid rgba(0, 42, 58, 0.07);
  border-radius: 24px;
  background: var(--pt-white);
  box-shadow: var(--pt-soft-shadow);
}
.kids-appointment-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 16px 0;
  background: rgba(170, 198, 201, 0.08);
  border-bottom: 1px solid var(--pt-line);
}
.kids-appointment-tabs button {
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--pt-lavender);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.kids-appointment-tabs button:hover { color: var(--pt-navy); }
.kids-appointment-tabs button[aria-selected="true"] {
  border-bottom-color: var(--pt-orange);
  color: var(--pt-navy);
  background: var(--pt-white);
  border-radius: 12px 12px 0 0;
}

.kids-appointment-panel {
  padding: 28px;
}
.kids-appointment-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.kids-appointment-panel-heading h2 {
  color: var(--pt-navy);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.kids-appointment-panel-heading p {
  margin-top: 5px;
  color: var(--pt-lavender);
  font-size: 13px;
  line-height: 1.5;
}

.kids-appointment-empty {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  align-content: center;
  padding: 36px;
  border: 1px dashed rgba(0, 42, 58, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(rgba(255,255,255,0.92), rgba(255,255,255,0.92)),
    url("./assets/blob-yellow.png") right bottom / 210px auto no-repeat;
  text-align: center;
}
.kids-appointment-empty > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 200, 68, 0.22);
}
.kids-appointment-empty > span img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.kids-appointment-empty h3 {
  font-size: 18px;
  font-weight: 900;
}
.kids-appointment-empty p {
  max-width: 48ch;
  margin: 7px 0 20px;
  color: var(--pt-lavender);
  font-size: 13px;
  line-height: 1.55;
}

.kids-appointment-upcoming {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 26px;
  padding: 26px;
  border-radius: 15px;
  background: rgba(170, 198, 201, 0.14);
}
.kids-appointment-date-card {
  display: flex;
  width: 110px;
  height: 132px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 42, 58, 0.1);
  border-radius: 13px;
  background: var(--pt-white);
  flex-direction: column;
}
.kids-appointment-date-card span,
.kids-appointment-date-card small {
  color: var(--pt-lavender);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.kids-appointment-date-card strong {
  margin: 5px 0;
  color: var(--pt-orange);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}
.kids-appointment-upcoming-copy h3 {
  margin: 10px 0 16px;
  font-size: 22px;
  font-weight: 900;
}
.kids-appointment-upcoming-copy dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.kids-appointment-upcoming-copy dt,
.kids-appointment-booking-summary dt,
.kids-appointment-review dt,
.kids-appointment-dialog dt {
  margin-bottom: 4px;
  color: var(--pt-lavender);
  font-size: 11px;
  font-weight: 700;
}
.kids-appointment-upcoming-copy dd,
.kids-appointment-booking-summary dd,
.kids-appointment-review dd,
.kids-appointment-dialog dd {
  color: var(--pt-navy);
  font-size: 13px;
  font-weight: 800;
}

.kids-appointment-history {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--pt-line);
}
.kids-appointment-search input {
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
}
.kids-appointment-table-wrap { overflow-x: auto; }
.kids-appointment-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}
.kids-appointment-table-wrap th,
.kids-appointment-table-wrap td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--pt-line);
  text-align: left;
  font-size: 12px;
}
.kids-appointment-table-wrap th {
  color: var(--pt-lavender);
  font-weight: 800;
}
.kids-appointment-table-wrap td[colspan] {
  padding: 34px 12px;
  color: var(--pt-lavender);
  text-align: center;
}

.kids-appointment-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.65fr);
  align-items: start;
  gap: 24px;
}
.kids-appointment-booking-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 22px;
}
.kids-appointment-fieldset {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--pt-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}
.kids-appointment-fieldset legend {
  padding: 0 8px;
  color: var(--pt-navy);
  font-size: 13px;
  font-weight: 900;
}
.kids-appointment-no-slots {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(240, 126, 83, 0.36);
  border-radius: 16px;
  background: linear-gradient(105deg, rgba(240, 126, 83, 0.1), rgba(255, 200, 68, 0.12));
}
.kids-appointment-no-slots[hidden] { display: none; }
.kids-appointment-no-slots > img {
  width: 48px;
  flex: 0 0 auto;
}
.kids-appointment-no-slots strong {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
}
.kids-appointment-no-slots p {
  color: rgba(0, 42, 58, 0.72);
  font-size: 12px;
  line-height: 1.5;
}
.kids-appointment-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.kids-appointment-types button,
.kids-appointment-times button {
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--pt-line);
  border-radius: 13px;
  background: var(--pt-white);
  color: var(--pt-navy);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.kids-appointment-types button:nth-child(1) {
  border-color: rgba(240, 126, 83, 0.34);
  background: rgba(240, 126, 83, 0.14);
}
.kids-appointment-types button:nth-child(2) {
  border-color: rgba(170, 198, 201, 0.8);
  background: rgba(170, 198, 201, 0.28);
}
.kids-appointment-types button:nth-child(3) {
  border-color: rgba(255, 200, 68, 0.68);
  background: rgba(255, 200, 68, 0.24);
}
.kids-appointment-types button:nth-child(4) {
  border-color: rgba(114, 112, 124, 0.3);
  background: rgba(114, 112, 124, 0.12);
}
.kids-appointment-types button:hover,
.kids-appointment-times button:hover {
  border-color: var(--pt-teal);
  filter: saturate(1.18);
}
.kids-appointment-types button.is-selected,
.kids-appointment-times button.is-selected {
  border-color: var(--pt-navy);
  background: var(--pt-navy);
  color: var(--pt-white);
}
.kids-appointment-types button.is-selected {
  background: rgba(170, 198, 201, 0.42);
  color: var(--pt-navy);
  box-shadow: inset 0 0 0 2px var(--pt-navy);
}
.kids-appointment-times button.is-limited:not(.is-selected) {
  border-color: rgba(255, 200, 68, 0.9);
  background: rgba(255, 200, 68, 0.2);
}

.kids-booking-calendar {
  max-width: 600px;
  margin: 0 auto;
  padding: 18px;
  border-radius: 18px;
  background: rgba(170, 198, 201, 0.09);
}
.kids-calendar-heading {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 16px;
  text-align: center;
}
.kids-calendar-heading button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--pt-line);
  border-radius: 9px;
  background: var(--pt-white);
  color: var(--pt-navy);
  font-size: 24px;
  cursor: pointer;
}
.kids-calendar-heading strong { font-size: 15px; }
.kids-calendar-weekdays,
.kids-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.kids-calendar-weekdays {
  margin-bottom: 7px;
  color: var(--pt-lavender);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}
.kids-calendar-grid button,
.kids-calendar-grid .is-spacer {
  aspect-ratio: 1;
}
.kids-calendar-grid button {
  border: 1px solid var(--pt-line);
  border-radius: 10px;
  background: var(--pt-white);
  color: var(--pt-navy);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.kids-calendar-grid button.is-available { background: rgba(170, 198, 201, 0.18); }
.kids-calendar-grid button.is-limited { background: rgba(255, 200, 68, 0.24); }
.kids-calendar-grid button.is-selected {
  border-color: var(--pt-navy);
  background: var(--pt-navy);
  color: var(--pt-white);
}
.kids-calendar-grid button:disabled {
  cursor: not-allowed;
  border-color: transparent;
  background: rgba(114, 112, 124, 0.07);
  color: rgba(114, 112, 124, 0.48);
  opacity: 1;
}
.kids-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: var(--pt-lavender);
  font-size: 10px;
  font-weight: 700;
}
.kids-calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.kids-calendar-legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.kids-calendar-legend .is-available { background: rgba(170, 198, 201, 0.8); }
.kids-calendar-legend .is-limited { background: rgba(255, 200, 68, 0.85); }
.kids-calendar-legend .is-unavailable { background: rgba(114, 112, 124, 0.25); }

.kids-appointment-times {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.kids-appointment-times p {
  color: var(--pt-lavender);
  font-size: 12px;
}
.kids-appointment-policies {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kids-appointment-policies label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(0, 42, 58, 0.82);
  font-size: 12px;
  line-height: 1.5;
}
.kids-appointment-policies input { margin-top: 2px; accent-color: var(--pt-orange); }
.kids-appointment-booking-summary {
  position: sticky;
  top: 20px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(170, 198, 201, 0.58);
  border-radius: 20px;
  background:
    url("./assets/blob-blue.png") right -38px bottom -58px / 180px auto no-repeat,
    rgba(170, 198, 201, 0.15);
}
.kids-appointment-booking-summary h3 {
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 900;
}
.kids-appointment-booking-summary dl,
.kids-appointment-review dl,
.kids-appointment-dialog dl {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kids-appointment-booking-summary dl div,
.kids-appointment-review dl div,
.kids-appointment-dialog dl div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 42, 58, 0.1);
}
.kids-appointment-booking-summary p {
  margin-top: 18px;
  color: var(--pt-lavender);
  font-size: 11px;
  line-height: 1.5;
}
.kids-appointment-review {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(240, 126, 83, 0.3);
  border-radius: 14px;
  background: rgba(240, 126, 83, 0.08);
}
.kids-appointment-review > div:first-child { margin-bottom: 20px; }
.kids-appointment-review h3 { font-size: 18px; font-weight: 900; }
.kids-appointment-review > div:first-child p {
  margin-top: 4px;
  color: var(--pt-lavender);
  font-size: 12px;
}
.kids-appointment-review dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.kids-appointment-feedback {
  min-height: 20px;
  margin-top: 14px;
  color: var(--pt-navy);
  font-size: 12px;
  font-weight: 800;
}

.kids-appointment-requirements {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.kids-appointment-requirements article {
  position: relative;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--pt-line);
  border-radius: 18px;
  background: var(--pt-white);
}
.kids-appointment-requirements article:nth-child(1),
.kids-appointment-requirements article:nth-child(4) {
  border-top: 4px solid var(--pt-yellow);
}
.kids-appointment-requirements article:nth-child(2),
.kids-appointment-requirements article:nth-child(3) {
  border-top: 4px solid var(--pt-blue-gray);
}
.kids-appointment-requirements article.kids-appointment-parent {
  border-top: 4px solid var(--pt-orange);
  background: var(--pt-white);
}
.kids-appointment-requirements strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
}
.kids-appointment-requirements p {
  color: var(--pt-lavender);
  font-size: 12px;
  line-height: 1.55;
}
.kids-appointment-requirements .kids-appointment-clothing {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(320px, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 24px;
  padding: 14px;
  border-top-color: var(--pt-orange);
  background: rgba(255, 200, 68, 0.09);
}
.kids-appointment-clothing > img {
  width: 100%;
  border: 1px solid rgba(0, 42, 58, 0.1);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 42, 58, 0.1);
}
.kids-appointment-clothing > div { padding: 10px 12px 10px 0; }
.kids-appointment-clothing > div > strong {
  margin-bottom: 10px;
  font-size: 19px;
}
.kids-appointment-clothing ul {
  display: flex;
  margin-top: 12px;
  flex-direction: column;
  gap: 10px;
}
.kids-appointment-clothing li {
  position: relative;
  padding-left: 18px;
  color: var(--pt-lavender);
  font-size: 12px;
  line-height: 1.55;
}
.kids-appointment-clothing li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pt-orange);
  content: "";
}
.kids-appointment-clothing li b { color: var(--pt-navy); }

.kids-appointment-dialog {
  width: min(520px, calc(100% - 32px));
  padding: 26px;
  border: 0;
  border-radius: 18px;
  color: var(--pt-navy);
  box-shadow: 0 26px 70px rgba(0, 42, 58, 0.3);
}
.kids-appointment-dialog::backdrop { background: rgba(0, 42, 58, 0.65); }
.kids-appointment-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.kids-appointment-dialog-heading h2 { font-size: 21px; font-weight: 900; }
.kids-appointment-dialog-heading p { margin-top: 4px; color: var(--pt-lavender); font-size: 12px; }
.kids-appointment-dialog-heading button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 42, 58, 0.08);
  color: var(--pt-navy);
  font-size: 22px;
  cursor: pointer;
}
.kids-appointment-dialog > .kids-btn { margin-top: 22px; }

@media (max-width: 980px) {
  .kids-appointment-booking-layout { grid-template-columns: 1fr; }
  .kids-appointment-booking-summary { position: static; }
  .kids-appointments-hero-stars { right: 82px; }
}

@media (max-width: 980px) {
  .kids-appointments-hero .kids-welcome-title { font-size: clamp(30px, 5vw, 42px); }
}

@media (max-width: 680px) {
  .kids-appointments-hero {
    min-height: 156px;
    padding: 28px 22px;
    border-radius: 20px;
  }
  .kids-appointments-hero .kids-welcome-title { font-size: clamp(28px, 8vw, 36px); line-height: 1.1; }
  .kids-appointments-hero .kids-welcome-sub { font-size: 16px; }
  .kids-appointments-hero-stars { top: 18px; right: 22px; width: 68px; opacity: 0.55; }
  .kids-appointments-hero-stars--applications,
  .kids-appointments-hero-stars--payments,
  .kids-appointments-hero-stars--uploaded-photos,
  .kids-appointments-hero-stars--uploaded-documents {
    top: 0;
    right: 0;
    width: 190px;
    opacity: 0.42;
  }
  .kids-appointments-hero-starburst { display: none; }
  .kids-appointments-notice,
  .kids-appointment-panel-heading { flex-direction: column; }
  .kids-appointments-notice { align-items: flex-start; }
  .kids-appointments-notice > img { width: 40px; height: 40px; }
  .kids-appointments-notice a,
  .kids-appointment-panel-heading .kids-btn { width: 100%; text-align: center; }
  .kids-appointment-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-appointment-panel { padding: 20px; }
  .kids-appointment-upcoming { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .kids-appointment-date-card { width: 76px; height: 100px; }
  .kids-appointment-date-card strong { font-size: 30px; }
  .kids-appointment-upcoming-copy dl,
  .kids-appointment-review dl { grid-template-columns: 1fr; }
  .kids-appointment-types,
  .kids-appointment-requirements { grid-template-columns: 1fr; }
  .kids-appointment-requirements .kids-appointment-clothing { grid-template-columns: 1fr; }
  .kids-appointment-clothing > div { padding: 4px; }
  .kids-appointment-fieldset { padding: 16px; }
}

/* ─── APPROVED KIDS DASHBOARD ────────────────────────────── */
.kids-dashboard-topbar {
  align-items: center;
  padding: 4px 2px;
}
.kids-topbar-left--greeting {
  display: flex;
  align-items: center;
  gap: 10px;
}
.kids-dashboard-greeting {
  margin-bottom: 4px;
  color: var(--pt-orange);
  font-family: "Chewy", "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
}
.kids-dashboard-topbar .kids-welcome-title {
  font-family: "Chewy", "Inter", sans-serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
}
.kids-greeting-shape {
  width: 38px;
  height: auto;
  flex-shrink: 0;
  transform: rotate(-8deg);
}
.kids-dashboard-topbar .kids-user-avatar {
  background: var(--pt-yellow);
  color: var(--pt-navy);
}
.kids-dashboard-hero {
  position: relative;
  aspect-ratio: 4500 / 705;
  overflow: hidden;
  border-radius: 20px;
  background: var(--pt-white);
  box-shadow: var(--pt-soft-shadow);
}
.kids-dashboard-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.kids-dashboard-hero-title {
  position: absolute;
  left: 9%;
  top: 44%;
  z-index: 2;
  max-width: 50%;
  white-space: normal;
  color: #ffffff;
  font-size: clamp(15px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

@media (max-width: 560px) {
  .kids-dashboard-hero-title {
    left: 11%;
    top: 38%;
    max-width: 60%;
    font-size: clamp(12px, 4.6vw, 18px);
  }
}

.kids-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.kids-dashboard-metrics article {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(0, 42, 58, 0.07);
  border-radius: 17px;
  background: var(--pt-white);
  box-shadow: var(--pt-soft-shadow);
}
.kids-dashboard-metric-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border-radius: 14px;
  color: var(--pt-navy);
  font-size: 17px;
  font-weight: 900;
}
.kids-dashboard-metric-icon--green { background: #22C55E; color: #fff; }
.kids-dashboard-metric-icon--blue { background: #3B82F6; color: #fff; }
.kids-dashboard-metric-icon--purple { background: #A855F7; color: #fff; }
.kids-dashboard-metric-icon--orange { background: var(--pt-orange); color: #fff; }
.kids-dashboard-metrics small {
  display: block;
  color: var(--pt-lavender);
  font-size: 11px;
  font-weight: 700;
}
.kids-dashboard-metrics strong {
  display: block;
  margin: 3px 0;
  color: var(--pt-navy);
  font-size: 26px;
  font-weight: 900;
}
.kids-dashboard-metrics a {
  color: var(--pt-navy);
  font-size: 10px;
  font-weight: 800;
}

.kids-dashboard-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}
.kids-dashboard-overview .kids-card {
  min-height: 230px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 42, 58, 0.06);
}
.kids-dashboard-overview .kids-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  content: "";
}
.kids-dashboard-status-card::before { background: var(--pt-orange); }
.kids-dashboard-progress-card::before { background: #22C55E; }
.kids-dashboard-photos-card::before { background: #3B82F6; }
.kids-dashboard-reminders-card::before { background: #FFC844; }
.kids-dashboard-status-card::after,
.kids-dashboard-progress-card::after,
.kids-dashboard-photos-card::after,
.kids-dashboard-reminders-card::after {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 72px;
  height: 72px;
  content: "";
  pointer-events: none;
}
.kids-dashboard-status-card::after { background: url("./assets/blob-orange.png") center / contain no-repeat; opacity: 0.16; }
.kids-dashboard-progress-card::after { background: url("./assets/blob-green.png") center / contain no-repeat; opacity: 0.16; }
.kids-dashboard-photos-card::after { background: url("./assets/blob-blue.png") center / contain no-repeat; opacity: 0.16; }
.kids-dashboard-reminders-card::after { background: url("./assets/blob-yellow.png") center / contain no-repeat; opacity: 0.22; }
.kids-dashboard-metrics article:nth-child(1) { background: rgba(34, 197, 94, 0.07); border-color: rgba(34, 197, 94, 0.18); }
.kids-dashboard-metrics article:nth-child(2) { background: rgba(59, 130, 246, 0.07); border-color: rgba(59, 130, 246, 0.18); }
.kids-dashboard-metrics article:nth-child(3) { background: rgba(168, 85, 247, 0.07); border-color: rgba(168, 85, 247, 0.18); }
.kids-dashboard-metrics article:nth-child(4) { background: rgba(240, 126, 83, 0.07); border-color: rgba(240, 126, 83, 0.18); }
.kids-dashboard-empty-list {
  display: grid;
  min-height: 154px;
  place-content: center;
  justify-items: center;
  padding: 24px;
  border: 1px dashed rgba(170, 198, 201, 0.8);
  border-radius: 14px;
  text-align: center;
}
.kids-dashboard-empty-list strong { font-size: 15px; }
.kids-dashboard-empty-list p {
  max-width: 46ch;
  margin: 6px 0 13px;
  color: var(--pt-lavender);
  font-size: 12px;
}
.kids-dashboard-empty-list a {
  color: var(--pt-orange);
  font-size: 12px;
  font-weight: 900;
}
.kids-dashboard-progress-content {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.kids-dashboard-progress-card .kids-circle-progress {
  width: 112px;
  height: 112px;
}
.kids-dashboard-progress-card .kids-circle-svg {
  width: 112px;
  height: 112px;
}
.kids-dashboard-progress-card .kids-circle-label { font-size: 22px; }
.kids-dashboard-progress-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.kids-dashboard-progress-copy > strong {
  margin-bottom: 4px;
  font-size: 14px;
}
.kids-dashboard-progress-copy span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--pt-lavender);
  font-size: 10px;
  font-weight: 700;
}
.kids-dashboard-progress-copy i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.kids-dashboard-progress-copy .is-complete { background: var(--pt-blue-gray); }
.kids-dashboard-progress-copy .is-progress { background: var(--pt-yellow); }
.kids-dashboard-progress-copy .is-missing { background: var(--pt-lavender); opacity: 0.45; }
.kids-dashboard-photo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  min-height: 150px;
}
.kids-dashboard-photo-strip figure {
  position: relative;
  min-width: 0;
}
.kids-dashboard-photo-strip img {
  width: 100%;
  height: 142px;
  object-fit: cover;
  border-radius: 12px;
}
.kids-dashboard-photo-strip figure span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--pt-blue-gray);
  color: var(--pt-navy);
  font-size: 8px;
  font-weight: 900;
}
.kids-dashboard-photo-placeholder {
  display: grid;
  grid-column: 1 / -1;
  place-items: center;
  border: 1px dashed rgba(170, 198, 201, 0.8);
  border-radius: 14px;
  color: var(--pt-lavender);
  font-size: 12px;
  font-weight: 700;
}
.kids-dashboard-reminders-card ul {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.kids-dashboard-reminders-card li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--pt-navy);
  font-size: 12px;
  line-height: 1.45;
}
.kids-dashboard-reminders-card li span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 200, 68, 0.24);
  font-size: 10px;
  font-weight: 900;
}
.kids-dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto -40px -48px;
  padding: 28px 40px;
  overflow: hidden;
  background: var(--pt-navy);
  color: var(--pt-white);
}
.kids-dashboard-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  font-size: 25px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kids-dashboard-footer strong { color: var(--pt-orange); }
.kids-dashboard-footer b { color: var(--pt-white); }
.kids-dashboard-footer em { color: var(--pt-yellow); font-style: normal; font-weight: 900; }
.kids-dashboard-footer-star {
  color: var(--pt-yellow);
  font-size: 28px;
  line-height: 1;
}

.kids-mobile-menu-button,
.kids-mobile-menu-close,
.kids-sidebar-backdrop {
  display: none;
}

@media (max-width: 1200px) {
  .kids-dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-dashboard-footer { margin-right: -28px; margin-bottom: -40px; margin-left: -28px; padding-right: 28px; padding-left: 28px; }
}

@media (max-width: 760px) {
  body.kids-sidebar-open { overflow: hidden; }
  .kids-mobile-menu-button {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 95;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-radius: 12px;
    background: var(--pt-navy);
    box-shadow: var(--pt-shadow);
    flex-direction: column;
  }
  .kids-mobile-menu-button span {
    width: 19px;
    height: 2px;
    border-radius: 3px;
    background: var(--pt-white);
  }
  .kids-mobile-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--pt-white);
    font-size: 28px;
  }
  .kids-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 89;
    display: block;
    border: 0;
    background: rgba(0, 42, 58, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }
  .kids-sidebar-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .kids-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    display: flex;
    width: min(310px, 88vw);
    height: 100vh;
    min-height: 100vh;
    padding: 24px 18px 20px;
    overflow-y: auto;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }
  .kids-sidebar.is-open { transform: translateX(0); }
  .kids-sidebar-logo { margin-bottom: 24px; }
  .kids-child-card,
  .kids-sidebar-help,
  .kids-sidebar-decor { display: block; }
  .kids-sidebar-nav {
    display: flex;
    margin-bottom: 20px;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 3px;
  }
  .kids-nav-item { padding: 11px 14px; font-size: 14px; }
  .kids-dashboard-main { padding-top: 76px; }
  .kids-dashboard-topbar { align-items: flex-start; }
  .kids-dashboard-overview { grid-template-columns: 1fr; }
  .kids-dashboard-footer {
    margin-right: -20px;
    margin-bottom: -36px;
    margin-left: -20px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .kids-dashboard-topbar .kids-user-name,
  .kids-dashboard-topbar .kids-user-caret { display: none; }
  .kids-dashboard-metrics { grid-template-columns: 1fr; }
  .kids-dashboard-photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-dashboard-footer p { gap: 9px; font-size: 20px; }
  .kids-dashboard-footer-star { font-size: 23px; }
}

@media (max-width: 980px) {
  .kids-appointments-hero--help .kids-topbar-left { max-width: 52%; }
  .kids-help-hero-art { width: 345px; }
  .kids-help-hero-art img { width: 160px; flex-basis: 160px; }
  .kids-help-hero-button { min-width: 130px; margin-right: 18px; }
  .kids-help-search-card {
    grid-template-columns: 54px minmax(0, 1fr);
  }
  .kids-help-search-field { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .kids-appointments-hero--help {
    min-height: 255px;
    padding-bottom: 84px;
  }
  .kids-appointments-hero--help .kids-topbar-left { max-width: 100%; }
  .kids-appointments-hero--help .kids-welcome-sub { max-width: 100%; }
  .kids-help-hero-art {
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 76px;
    justify-content: flex-start;
  }
  .kids-help-hero-art img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 115px;
    height: 115px;
    opacity: 0.42;
  }
  .kids-help-hero-button {
    min-width: 150px;
    min-height: 44px;
    margin-right: 0;
    margin-left: 24px;
  }
  .kids-help-page .kids-help-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .kids-help-search-card {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 18px;
  }
  .kids-help-search-icon { width: 46px; height: 46px; }
  .kids-help-search-card h2 { font-size: 16px; }
  .kids-help-page .kids-help-topics { grid-template-columns: 1fr; }
  .kids-help-page .kids-help-topics a { min-height: 138px; }
  .kids-help-faq-panel { padding: 20px; }
}

.kids-applications-page .kids-dashboard-main { padding-bottom: 52px; }
.kids-applications-overview {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 0.75fr));
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(170, 198, 201, 0.35);
  border-radius: 20px;
  background: var(--pt-white);
  box-shadow: 0 12px 28px rgba(0, 42, 58, 0.08);
}
.kids-applications-overview > div {
  min-height: 126px;
  padding: 22px 24px;
}
.kids-applications-overview > div + div { border-left: 1px solid var(--pt-line); }
.kids-applications-overview-intro {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(125deg, rgba(255, 200, 68, 0.18), rgba(255, 255, 255, 0.96));
}
.kids-applications-overview-intro > span,
.kids-applications-toolbar > div:first-child > span,
.kids-applications-status-guide > div:first-child > span {
  color: var(--pt-orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.kids-applications-overview-intro > strong {
  margin-top: 6px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.kids-applications-overview-intro > p {
  margin-top: 6px;
  color: var(--pt-lavender);
  font-size: 10px;
}
.kids-application-metric {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.kids-application-metric > i {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  color: var(--pt-navy);
}
.kids-application-metric--yellow > i { background: rgba(255, 200, 68, 0.28); }
.kids-application-metric--orange > i { background: rgba(240, 126, 83, 0.18); }
.kids-application-metric--blue > i { background: rgba(170, 198, 201, 0.32); }
.kids-application-metric > span {
  color: var(--pt-lavender);
  font-size: 10px;
  font-weight: 700;
}
.kids-application-metric > strong {
  margin-top: 5px;
  font-size: 25px;
  font-weight: 900;
}
.kids-application-metric > small {
  margin-top: 4px;
  color: rgba(0, 42, 58, 0.5);
  font-size: 9px;
}
.kids-applications-workspace {
  margin-bottom: 22px;
  padding: 27px;
  border: 1px solid rgba(170, 198, 201, 0.32);
  border-radius: 21px;
  background: var(--pt-white);
  box-shadow: 0 12px 30px rgba(0, 42, 58, 0.08);
}
.kids-applications-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.kids-applications-toolbar h2,
.kids-applications-status-guide h2 {
  margin-top: 5px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.kids-applications-toolbar p,
.kids-applications-status-guide > div:first-child > p {
  margin-top: 5px;
  color: var(--pt-lavender);
  font-size: 11px;
}
.kids-applications-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(170, 198, 201, 0.15);
}
.kids-applications-filters button {
  min-height: 35px;
  padding: 0 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--pt-lavender);
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.kids-applications-filters button.is-active {
  background: var(--pt-navy);
  color: var(--pt-white);
  box-shadow: 0 7px 16px rgba(0, 42, 58, 0.18);
}
.kids-applications-filters b {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  margin-left: 4px;
  place-items: center;
  border-radius: 999px;
  background: var(--pt-yellow);
  color: var(--pt-navy);
  font-size: 8px;
}
.kids-application-cards { display: grid; gap: 12px; }
.kids-application-card {
  position: relative;
  display: grid;
  align-items: center;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  gap: 17px;
  min-height: 148px;
  overflow: hidden;
  padding: 18px 19px;
  border: 1px solid rgba(170, 198, 201, 0.34);
  border-radius: 17px;
  background: rgba(170, 198, 201, 0.06);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.kids-application-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  content: "";
}
.kids-application-card--review::before { background: var(--pt-yellow); }
.kids-application-card--shortlisted::before { background: var(--pt-orange); }
.kids-application-card--completed::before { background: var(--pt-blue-gray); }
.kids-application-card:hover {
  border-color: var(--pt-blue-gray);
  box-shadow: 0 13px 26px rgba(0, 42, 58, 0.11);
  transform: translateY(-2px);
}
.kids-application-card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 17px;
  color: var(--pt-navy);
}
.kids-application-card--review .kids-application-card-icon { background: rgba(255, 200, 68, 0.25); }
.kids-application-card--shortlisted .kids-application-card-icon { background: rgba(240, 126, 83, 0.17); }
.kids-application-card--completed .kids-application-card-icon { background: rgba(170, 198, 201, 0.3); }
.kids-application-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.kids-application-card-top > span:first-child {
  color: var(--pt-orange);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kids-application-card h3 {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.kids-application-card-main > p {
  margin-top: 5px;
  color: var(--pt-lavender);
  font-size: 10px;
  line-height: 1.5;
}
.kids-application-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 12px;
}
.kids-application-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(0, 42, 58, 0.66);
  font-size: 9px;
  font-weight: 700;
}
.kids-application-card-action {
  display: inline-flex;
  min-width: 112px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--pt-navy);
  color: var(--pt-white);
  font-size: 10px;
  font-weight: 900;
}
.kids-application-card-action span { color: var(--pt-yellow); font-size: 17px; transition: transform 180ms ease; }
.kids-application-card-action:hover span { transform: translateX(3px); }
.kids-application-card-response { grid-column: 3; display: flex; flex-direction: column; gap: 8px; }
.kids-application-card-response .kids-application-card-action { cursor: pointer; border: none; font-family: inherit; }
.kids-application-card-response .kids-application-card-action--secondary { background: transparent; color: var(--pt-navy); border: 1px solid rgba(0, 42, 58, 0.18); }
.kids-application-card-response .kids-application-card-action:disabled { opacity: 0.55; cursor: default; }
.kids-application-card[hidden] { display: none; }
.kids-applications-empty {
  padding: 28px;
  border: 1px dashed var(--pt-blue-gray);
  border-radius: 15px;
  color: var(--pt-lavender);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.kids-applications-status-guide {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 28px;
  padding: 25px 27px;
  border: 1px solid rgba(170, 198, 201, 0.36);
  border-radius: 20px;
  background:
    radial-gradient(circle at 96% 12%, rgba(255, 200, 68, 0.28) 0 5px, transparent 6px),
    linear-gradient(125deg, var(--pt-white), rgba(170, 198, 201, 0.13));
  box-shadow: 0 11px 26px rgba(0, 42, 58, 0.07);
}
.kids-application-status-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.kids-application-status-groups section {
  padding: 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}
.kids-application-status-groups section > strong {
  display: block;
  margin-bottom: 9px;
  color: var(--pt-navy);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.kids-application-status-groups p { display: flex; flex-wrap: wrap; gap: 6px; }

@media (max-width: 1080px) {
  .kids-applications-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kids-applications-overview > div:nth-child(3) { border-left: 0; }
  .kids-applications-overview > div:nth-child(n + 3) { border-top: 1px solid var(--pt-line); }
  .kids-applications-toolbar { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
  .kids-applications-workspace { padding: 21px; }
  .kids-applications-filters {
    width: 100%;
    overflow-x: auto;
  }
  .kids-application-card {
    align-items: start;
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .kids-application-card-icon { width: 50px; height: 50px; }
  .kids-application-card-action { grid-column: 2; width: 100%; }
  .kids-application-card-response { grid-column: 2; flex-direction: row; width: 100%; }
  .kids-application-card-response .kids-application-card-action { flex: 1; }
  .kids-applications-status-guide { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .kids-applications-overview { grid-template-columns: 1fr; }
  .kids-applications-overview > div + div { border-left: 0; border-top: 1px solid var(--pt-line); }
  .kids-application-card { grid-template-columns: 1fr; padding: 18px; }
  .kids-application-card-icon { display: none; }
  .kids-application-card-action { grid-column: auto; }
  .kids-application-card-top { align-items: flex-start; flex-direction: column; }
  .kids-application-status-groups { grid-template-columns: 1fr; }
}
