:root {
  --ink: #243047;
  --muted: #667085;
  --sky: #54b8d0;
  --rose: #ff2733;
  --gold: #f5c542;
  --green: #2fbd57;
  --panel: rgba(255, 255, 255, .96);
  --line: #d6dee8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(84, 184, 208, .18), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(245, 197, 66, .2), transparent 30%),
    #fffdf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.parent-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  color: var(--ink);
  background: #fffdf8;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

body.is-parent-loading { overflow: hidden; }

body.is-parent-loading .parent-loading-screen {
  opacity: 1;
  visibility: visible;
}

body.is-parent-loading .parent-shell,
body.is-parent-auth .parent-shell { visibility: hidden; }

.parent-loading-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 3px solid #79d2e7;
  border-radius: 50%;
  color: #087f9d;
  background: #eafaff;
  font-size: 1.8rem;
}

.parent-loading-screen > div { display: grid; gap: 4px; }
.parent-loading-screen p,
.parent-loading-screen strong,
.parent-loading-screen small { margin: 0; }
.parent-loading-screen p { color: var(--rose); font-size: .78rem; font-weight: 950; text-transform: uppercase; }
.parent-loading-screen strong { font-size: clamp(1.35rem, 4vw, 2rem); }
.parent-loading-screen small { color: var(--muted); font-weight: 750; }

.parent-loading-spinner {
  width: 34px;
  height: 34px;
  border: 4px solid #d9edf3;
  border-top-color: #16a5c7;
  border-radius: 50%;
  animation: parent-loading-spin .75s linear infinite;
}

@keyframes parent-loading-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .parent-loading-screen { transition: none; }
  .parent-loading-spinner { animation-duration: 1.5s; }
}

.parent-auth-gate {
  width: min(92vw, 560px);
  padding: 0;
  border: 0;
  background: transparent;
}

.parent-auth-gate::backdrop {
  background: rgba(31, 42, 68, .78);
}

.parent-auth-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 3px solid #d8e1ea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 0 rgba(31, 42, 68, .18);
}

.parent-auth-card h1,
.parent-auth-card p {
  margin: 0;
}

.parent-auth-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e6f7fb;
  color: #08758c;
  font-size: 28px;
}

.parent-auth-form {
  display: grid;
  gap: 12px;
}

.parent-auth-form[hidden] {
  display: none;
}

.parent-auth-form label {
  display: grid;
  gap: 6px;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.parent-auth-form input {
  width: 100%;
  min-height: 48px;
  box-sizing: border-box;
  border: 2px solid #ccd8e4;
  border-radius: 6px;
  padding: 10px 12px;
  color: #1f2a44;
  background: #fff;
  font: inherit;
  text-transform: none;
}

.parent-auth-link {
  justify-self: start;
  border: 0;
  padding: 4px 0;
  color: #08758c;
  background: transparent;
  font-weight: 900;
  text-decoration: underline;
}

.parent-auth-status {
  min-height: 22px;
  color: #a5202a;
  font-weight: 800;
}

.parent-logout {
  align-self: start;
  border: 2px solid #ccd8e4;
  border-radius: 6px;
  padding: 9px 12px;
  color: #1f2a44;
  background: #fff;
  font-weight: 900;
}

button,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.parent-shell {
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 54px;
}

.parent-hero,
.account-band,
.student-profile-card,
.parent-action-card,
.dashboard-card {
  border: 3px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 7px 0 rgba(35, 48, 71, .12);
}

.parent-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 20px;
  align-items: end;
  min-height: 330px;
  padding: clamp(24px, 5vw, 48px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .58)),
    url("../app/assets/registration/alchemy-art-tower-confirmation-bg.png"),
    linear-gradient(135deg, #eafaff, #fff1bc);
  background-size: cover;
  background-position: center;
}

.kicker {
  margin: 0 0 8px;
  color: var(--rose);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  line-height: .94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

p {
  color: var(--muted);
  font-weight: 720;
  line-height: 1.45;
}

.hero-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 3px solid var(--gold);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
}

.hero-card > span,
.dashboard-card > header > span {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: #e8f8ff;
  color: #0f6d83;
  font-size: 1.3rem;
}

.dashboard-card > header > span.has-photo {
  overflow: hidden;
  border: 3px solid rgba(84, 184, 208, .35);
  background: #fff;
}

.dashboard-card > header > span.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card strong {
  font-size: 1.2rem;
}

.hero-card button {
  justify-self: start;
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  color: #fff;
  background: #1597ba;
  font-weight: 900;
}

.hero-card.is-reward {
  border-color: #f5c542;
  background: #fff9df;
}

.hero-card.is-reward > span {
  color: #8a5600;
  background: #fff0b8;
}

.hero-card.is-billing {
  border-color: #59b9d2;
  background: #eefaff;
}

.hero-card.is-ready {
  border-color: #9ddbb5;
  background: #f0fbf4;
}

.hero-card.is-ready > span {
  color: #197443;
  background: #ddf5e6;
}

.account-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
}

.family-identity {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.family-copy h2,
.family-copy p {
  margin: 0;
}

.family-copy h2 {
  margin-top: 2px;
}

.parent-avatar-panel {
  position: relative;
  display: contents;
}

.parent-avatar-panel .parent-avatar-button {
  grid-column: 1;
  grid-row: 1;
}

.parent-avatar-panel .parent-avatar-tip {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}

.parent-avatar-panel small {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  max-width: 180px;
}

.family-copy {
  grid-column: 2;
}

.student-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.add-family-child-button {
  min-height: 58px;
  flex: 0 0 auto;
  border: 2px solid #2baecf;
  border-radius: 999px;
  padding: 5px 17px 5px 6px;
  background: #fff;
  color: #087b98;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-weight: 950;
  box-shadow: 0 4px 0 rgba(35, 48, 71, .14);
}

.add-family-child-icon {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  background: #e8f9fd;
  font-size: 18px;
}

.add-family-child-button strong { white-space: nowrap; }

.add-family-child-modal {
  width: min(720px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  overflow: auto;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: #233047;
}

.add-family-child-modal > section { padding: 28px; }
.add-family-child-modal > section > header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.add-family-child-modal > section > header > span { width: 48px; height: 48px; border-radius: 50%; background: #e5f8fc; color: #087b98; display: grid; place-items: center; flex: 0 0 48px; }
.add-family-child-modal h2 { margin: 2px 0 5px; font-size: 28px; }
.add-family-child-modal header p { margin: 0; }
.add-family-child-form { display: grid; gap: 14px; }
.add-family-child-form label { display: grid; gap: 6px; font-weight: 800; }
.add-family-child-form input, .add-family-child-form textarea { box-sizing: border-box; width: 100%; border: 2px solid #d5e0e7; border-radius: 6px; padding: 12px; font: inherit; }
.add-family-child-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.add-family-child-guidance { padding: 12px 14px; border-left: 4px solid #2baecf; background: #f0f9fb; font-weight: 750; }
.add-family-child-filters { display: grid; gap: 9px; }
.add-family-child-filters[hidden] { display: none; }
.add-family-child-filter-row { display: flex; gap: 7px; align-items: center; overflow-x: auto; padding: 1px 1px 4px; }
.add-family-child-filter-row strong { flex: 0 0 48px; font-size: 12px; color: #657186; text-transform: uppercase; letter-spacing: .04em; }
.add-family-child-filter-row button { flex: 0 0 auto; min-height: 34px; border: 1px solid #cbd8e0; border-radius: 999px; padding: 7px 12px; background: #fff; color: #283449; font: inherit; font-size: 13px; font-weight: 850; cursor: pointer; }
.add-family-child-filter-row button.is-active { border-color: #159fc1; background: #e8f8fc; color: #087b98; box-shadow: 0 0 0 1px #159fc1; }
.add-family-child-classes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.add-family-child-class { min-width: 0; display: grid; grid-template-columns: 54px minmax(0, 1fr) 18px; gap: 10px; align-items: center; padding: 11px; border: 2px solid #d5e0e7; border-radius: 7px; background: #fff; color: inherit; text-align: left; cursor: pointer; }
.add-family-child-class .schedule-teacher-avatar { width: 48px; height: 48px; margin-right: 6px; }
.add-family-child-class.is-selected { border-color: #24b968; background: #eefaf3; }
.add-family-child-class span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.add-family-child-class strong, .add-family-child-class small, .add-family-child-class em { overflow-wrap: anywhere; }
.add-family-child-class small { color: #657186; }
.add-family-child-class em { color: #087744; font-style: normal; font-weight: 850; }
.add-family-child-form > button[type="submit"] { min-height: 48px; border: 0; border-radius: 6px; background: #24b968; color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.add-family-child-form > button[type="submit"]:disabled { background: #abb5be; cursor: not-allowed; }

@media (max-width: 620px) {
  .add-family-child-name-grid, .add-family-child-classes { grid-template-columns: 1fr; }
  .add-family-child-modal > section { padding: 20px 16px; }
}

.parent-avatar-tip {
  position: relative;
  display: grid;
  max-width: 190px;
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 9px 10px 9px 38px;
  background: #fff9dc;
  box-shadow: 0 4px 0 rgba(35, 48, 71, .12);
  animation: tipNudge 1.8s ease-in-out infinite;
}

.parent-avatar-tip.is-pending {
  border-color: #b8c2cc;
  background: #f3f6f9;
  animation: none;
}

.parent-avatar-tip span {
  position: absolute;
  left: 8px;
  top: 10px;
  color: #b07800;
}

.parent-avatar-tip.is-pending span {
  color: #667085;
}

.parent-avatar-tip strong,
.parent-avatar-tip p,
.parent-avatar-panel small {
  margin: 0;
  font-size: .74rem;
  line-height: 1.25;
}

.parent-avatar-tip p,
.parent-avatar-panel small {
  color: #765600;
  font-weight: 850;
}

.parent-avatar-button {
  position: relative;
  display: grid;
  box-sizing: border-box;
  place-items: center;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border: 3px dashed var(--gold);
  border-radius: 999px;
  padding: 0;
  color: #b07800;
  background: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 0 rgba(35, 48, 71, .12);
}

.parent-avatar-button img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.parent-avatar-button.has-photo {
  border-style: solid;
}

.parent-avatar-crop-modal {
  width: min(620px, calc(100vw - 24px));
  border: 3px solid #263447;
  border-radius: 8px;
  padding: 0;
}

.parent-avatar-crop-modal > section { padding: 20px; }
.parent-avatar-crop-modal h2 { margin: 2px 0 12px; }
.parent-avatar-cropper { width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto 14px; overflow: hidden; border: 4px solid #263447; border-radius: 50%; background: #eef5f7; box-shadow: 0 0 0 5px #fff, 0 0 0 7px #de84b4; touch-action: none; }
.parent-avatar-cropper canvas { display: block; width: 100%; height: 100%; cursor: move; touch-action: none; }
.parent-avatar-crop-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px; min-height: 46px; }
.parent-avatar-crop-controls button { display: inline-flex; box-sizing: border-box; align-self: center; align-items: center; justify-content: center; min-width: 44px; height: 44px; min-height: 44px; margin: 0 !important; border: 2px solid #6bbcd5; border-radius: 50%; padding: 0; color: #14566d; background: #dff5fc; box-shadow: none; font-size: 16px; font-weight: 900; line-height: 1; cursor: pointer; }
.parent-avatar-crop-controls button:hover { transform: none; background: #c8eef9; box-shadow: 0 0 0 3px rgba(107, 188, 213, .22); }
.parent-avatar-crop-controls button:active { transform: scale(.96); box-shadow: none; }
.parent-avatar-crop-controls [data-parent-avatar-rotate] { border-color: #d999be; color: #7c3260; background: #f9dfef; }
.parent-avatar-crop-controls [data-parent-avatar-reset] { width: auto; gap: 8px; border-color: #b7a9dc; border-radius: 6px; padding: 0 13px; color: #554879; background: #ece7fa; }
.parent-avatar-crop-controls [data-parent-avatar-reset]:hover { background: #e2daf7; box-shadow: 0 0 0 3px rgba(183, 169, 220, .22); }
.parent-avatar-crop-controls [data-parent-avatar-save] { width: auto; gap: 8px; border-color: #1594b8; border-radius: 6px; padding: 0 17px; color: #fff; background: #25acd3; }
.parent-avatar-crop-controls [data-parent-avatar-save]:hover { background: #138fb5; box-shadow: 0 0 0 3px rgba(37, 172, 211, .22); }
.parent-avatar-crop-modal [role="status"] { margin: 12px 0 0; color: #667085; text-align: center; font-weight: 800; }

.parent-account-route-error {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 2px solid #a51f2b;
  border-radius: 8px;
  padding: 18px;
  color: #243247;
  background: #fff2f3;
}

.parent-account-route-error > span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: #a51f2b;
  font-size: 1.2rem;
}

.parent-account-route-error h2,
.parent-account-route-error p { margin: 0; }

.parent-admin-test-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  border: 2px solid #111827;
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  background: #0b1220;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .22);
}

.parent-owner-mode-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  border: 2px solid #a51f2b;
  border-radius: 10px;
  padding: 12px 14px;
  color: #243247;
  background: #fff7f8;
  box-shadow: 0 4px 0 rgba(35, 48, 71, .14);
}

.parent-owner-mode-bar[hidden] { display: none; }

.parent-owner-mode-bar > div,
.parent-owner-mode-bar > div > p,
.owner-parent-edit-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.parent-owner-mode-bar > div > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: #a51f2b;
}

.parent-owner-mode-bar > div > p {
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
}

.parent-owner-mode-bar small { color: #697487; font-weight: 800; }

.owner-parent-edit-toggle { cursor: pointer; font-weight: 950; }
.owner-parent-edit-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.owner-parent-edit-toggle > span {
  position: relative;
  width: 52px;
  height: 30px;
  border: 2px solid #c7cdd5;
  border-radius: 999px;
  background: #dfe3e8;
  transition: background .18s ease, border-color .18s ease;
}
.owner-parent-edit-toggle > span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(35, 48, 71, .28);
  transition: transform .18s ease;
}
.owner-parent-edit-toggle input:checked + span { border-color: #a51f2b; background: #c92535; }
.owner-parent-edit-toggle input:checked + span::after { transform: translateX(22px); }
.owner-parent-edit-toggle input:focus-visible + span { outline: 3px solid #53b6d2; outline-offset: 3px; }
.parent-owner-mode-bar.is-editing { color: #fff; background: #8f1f28; }
.parent-owner-mode-bar.is-editing small { color: #ffe5e8; }
.parent-owner-mode-bar.needs-attention { animation: ownerModeNudge .35s ease 2; }
.owner-parent-view-only .parent-admin-test-bar { opacity: .62; }

@keyframes ownerModeNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-6px); }
}

@media (max-width: 720px) {
  .parent-owner-mode-bar { align-items: flex-start; flex-direction: column; }
}

.parent-admin-test-bar[hidden] {
  display: none;
}

.parent-admin-test-bar strong,
.admin-test-control {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.parent-admin-test-bar strong {
  margin-right: auto;
  text-transform: uppercase;
}

.admin-test-control span {
  color: #cbd5e1;
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.parent-admin-test-bar button {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  color: #e5edf8;
  background: #334155;
  font-weight: 950;
}

.parent-admin-test-bar button.is-active {
  color: #111827;
  background: #ffd84d;
}

.parent-admin-test-bar [data-admin-test-reset] {
  color: #fff;
  background: #ef3f5f;
}

.parent-admin-test-bar.has-preview {
  border-color: #ffd84d;
}

@keyframes tipNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-5px); }
}

.student-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.student-chip,
.return-options button,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #fff;
  background: var(--sky);
  font-weight: 950;
  box-shadow: 0 4px 0 rgba(35, 48, 71, .16);
}

.student-chip {
  min-height: 58px;
  padding: 6px 18px 6px 8px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
}

.student-chip-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 3px solid rgba(84, 184, 208, .35);
  border-radius: 999px;
  background: #e8f8ff;
  color: #08718a;
  font-size: .9rem;
  font-weight: 950;
}

.student-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 2px solid rgba(84, 184, 208, .35);
  border-radius: 999px;
  background: #e8f8ff;
  color: #08718a;
  font-size: .78rem;
  font-weight: 950;
}

.student-chip-avatar img,
.student-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.student-chip.is-active {
  color: #fff;
  border-color: var(--rose);
  background: var(--rose);
}

.freeze-family-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 2px solid #8dbbd0;
  border-radius: 999px;
  padding: 0 16px;
  color: #23425c;
  background: #eef9ff;
  font-weight: 950;
  box-shadow: 0 4px 0 rgba(35, 48, 71, .12);
}

.freeze-family-button:hover,
.freeze-family-button:focus-visible {
  border-color: #3895bc;
  background: #dff4ff;
}

.freeze-family-button:disabled {
  opacity: .7;
}

.student-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 16px;
  margin-top: 18px;
}

.parent-action-dock {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
  padding: 10px;
  border: 3px solid rgba(84, 184, 208, .32);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 0 rgba(35, 48, 71, .1);
  backdrop-filter: blur(10px);
}

.dock-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--sky);
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 3px 0 rgba(35, 48, 71, .14);
}

.dock-action.is-billing {
  background: var(--rose);
}

.dock-action.is-schedule {
  background: var(--green);
}

.dock-action.is-schedule.is-frozen {
  background: #1d9ed0;
}

.dock-action.is-progress {
  background: #7c4dff;
}

.dock-action em {
  position: absolute;
  top: -8px;
  right: 10px;
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0 6px;
  color: #fff;
  background: var(--rose);
  font-size: .72rem;
  font-style: normal;
  font-weight: 950;
}

.dock-action em[hidden] {
  display: none !important;
}

.student-profile-card,
.parent-action-card {
  padding: 18px;
}

.student-profile-card header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.student-avatar.large {
  width: 86px;
  height: 86px;
  border-width: 4px;
  box-shadow: 0 4px 0 rgba(35, 48, 71, .12);
  font-size: 1.2rem;
}

.student-profile-card h2 {
  margin-bottom: 8px;
}

.student-badge-row,
.parent-action-buttons,
.billing-action-row,
.notice-filter-row,
.message-category-row,
.return-step-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border-radius: 999px;
  padding: 4px 10px;
  color: #fff;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-badge.is-foundations {
  background: #e93d81;
}

.profile-badge.is-creatives {
  background: #27b857;
}

.profile-badge.is-skills {
  background: #18a8c7;
}

.profile-badge.is-digital {
  background: #e42334;
}

.profile-badge.is-atelier {
  background: #101828;
}

.profile-badge.is-private {
  background: #7c4dff;
}

.profile-badge.is-neutral {
  background: #667085;
}

.student-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.student-overview-grid > div {
  min-width: 0;
  border: 2px solid #e1e7ef;
  border-radius: 8px;
  padding: 10px;
  background: #f8fbfd;
}

.student-overview-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.student-overview-grid span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}

.class-with-teacher {
  display: flex;
  gap: 8px;
  align-items: center;
}

.teacher-mini-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 2px solid rgba(84, 184, 208, .45);
  border-radius: 999px;
  background: #e8f8ff;
  color: #0f6d83;
}

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

.parent-action-card {
  display: grid;
  align-content: start;
  gap: 12px;
  border-color: rgba(255, 39, 51, .42);
  background: #fff7fb;
}

.parent-action-card > strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.parent-workflow-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.parent-workflow-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 2px solid #f6d1df;
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  color: var(--ink);
  font-size: .74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.parent-action-buttons button,
.parent-action-buttons a,
.notice-filter-row button,
.message-category-row button {
  min-height: 36px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 950;
  box-shadow: 0 3px 0 rgba(35, 48, 71, .12);
  text-decoration: none;
}

.parent-action-buttons button,
.parent-action-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1;
  color: #fff;
  border-color: var(--sky);
  background: var(--sky);
}

.parent-action-buttons button.is-unfreeze {
  border-color: #6ec8f2;
  background: #1d9ed0;
}

.notice-filter-row,
.message-category-row {
  margin: 4px 0 12px;
}

.teacher-message-route {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 2px solid #d9e3ed;
  border-radius: 10px;
  padding: 10px 12px;
  background: #f8fbfd;
}

.teacher-message-route > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  color: #08718a;
  background: #e7f8fd;
}

.teacher-message-route > span.has-photo {
  border: 2px solid rgba(84, 184, 208, .45);
  background: #fff;
}

.teacher-message-route > span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-message-route strong,
.teacher-message-route small {
  display: block;
}

.teacher-message-route small {
  color: var(--muted);
  font-weight: 850;
}

.notice-filter-row button.is-active,
.message-category-row button.is-active {
  color: #fff;
  border-color: var(--rose);
  background: var(--rose);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.dashboard-card {
  grid-column: span 6;
  padding: 18px;
}

.billing-side-column {
  display: grid;
  grid-column: span 5;
  gap: 16px;
  align-content: start;
}

.billing-side-column[hidden] {
  display: none;
}

.billing-side-column .dashboard-card {
  grid-column: 1 / -1;
}

.billing-card,
.message-card {
  grid-column: span 7;
}

.return-card,
.payment-card,
.approvals-card,
.notices-card {
  grid-column: span 5;
}

.dashboard-card > header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.return-card > header {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
}

.return-card > header > div:nth-child(2) {
  min-width: 0;
}

.return-card #scheduleHeaderTitle,
.return-card #scheduleHeaderCopy {
  margin: 0;
}

.return-card #scheduleHeaderCopy {
  margin-top: 4px;
  font-size: .88rem;
  line-height: 1.3;
}

.schedule-command-host {
  min-width: 0;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid #d9e3ed;
}

.schedule-command-host[hidden] {
  display: none;
}

.billing-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.summary-tile,
.square-status,
.return-preview,
.payment-method-item,
.payment-request-status,
.approval-item,
.notice-item,
.message-bubble,
.mini-row {
  border: 2px solid #e1e7ef;
  border-radius: 8px;
  background: #f8fbfd;
}

.summary-tile {
  min-width: 0;
  overflow: hidden;
  padding: 12px;
}

.summary-tile.is-admin-preview {
  border-color: #ffd84d;
  background: #fff9dc;
}

.summary-tile.is-good {
  border-color: rgba(36, 190, 91, .45);
  background: #f0fff5;
}

.summary-tile.is-warning {
  border-color: rgba(255, 191, 36, .75);
  background: #fff8db;
}

.summary-tile strong {
  display: block;
  font-size: 1.55rem;
  overflow-wrap: anywhere;
}

.square-customer-tile strong {
  font-size: .95rem;
  line-height: 1.2;
  word-break: break-all;
}

.parent-billing-lifecycle {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  border: 2px solid rgba(84, 184, 208, .35);
  border-radius: 12px;
  background: #f3fbff;
  padding: 14px;
  box-shadow: 0 4px 0 rgba(35, 48, 71, .08);
}

.parent-square-credit-note {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 2px solid rgba(36, 190, 91, .45);
  border-radius: 8px;
  background: #f0fff5;
  padding: 9px 11px;
}

.parent-square-credit-note > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #dff8e7;
  color: #147a38;
  font-size: .95rem;
}

.parent-square-credit-note.needs-visibility {
  border-color: rgba(245, 197, 66, .62);
  background: #fff8dc;
}

.parent-square-credit-note.needs-visibility > span {
  background: #ffefb8;
  color: #8a6200;
}

.parent-square-credit-note h3,
.parent-square-credit-note p {
  margin: 0;
}

.parent-square-credit-note h3 {
  color: #233047;
  font-size: .95rem;
  font-weight: 950;
}

.parent-square-credit-note p,
.parent-square-credit-note em,
.parent-square-credit-note small {
  color: #657188;
  font-weight: 850;
}

.parent-square-credit-note p {
  font-size: .8rem;
}

.parent-square-credit-note em {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 8px 0 2px;
  border-radius: 999px;
  background: rgba(44, 190, 92, .12);
  color: #147a38;
  font-size: .78rem;
  font-style: normal;
  padding: 6px 10px;
  overflow-wrap: anywhere;
}

.parent-billing-lifecycle header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.parent-billing-lifecycle header > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #e8f8ff;
  color: #0f6d83;
  font-size: 1.1rem;
}

.parent-billing-lifecycle h3 {
  margin: 0;
  color: #233047;
  font-size: 1.25rem;
  font-weight: 950;
}

.parent-billing-lifecycle-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.parent-billing-lifecycle-steps article {
  display: grid;
  gap: 5px;
  border: 2px solid #d9e3ee;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  color: #657188;
}

.parent-billing-lifecycle-steps article.is-active {
  border-color: rgba(255, 191, 36, .8);
  background: #fff9dc;
  color: #7a5200;
}

.parent-billing-lifecycle-steps article.is-done {
  border-color: rgba(36, 190, 91, .45);
  background: #f0fff5;
  color: #147a38;
}

.parent-billing-lifecycle-steps article.is-done.is-active {
  border-color: #1594b3;
  background: #e8f8ff;
  color: #0f6d83;
  box-shadow: 0 0 0 3px rgba(21, 148, 179, .12);
}

.parent-billing-lifecycle-steps i {
  font-size: 1rem;
}

.parent-billing-lifecycle-steps strong,
.parent-billing-lifecycle-steps span {
  display: block;
}

.parent-billing-lifecycle-steps strong {
  color: #233047;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.parent-billing-lifecycle-steps span {
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.25;
}

.invoice-alert-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 3px solid #ff2a32;
  border-radius: 12px;
  padding: 14px;
  background: #fff2f2;
  box-shadow: 0 5px 0 rgba(255, 42, 50, .16);
}

.invoice-alert-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #b51620;
  background: #fff;
  font-size: 1.25rem;
}

.invoice-alert-copy {
  min-width: 0;
}

.frozen-account-banner {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 3px solid #66c7ea;
  border-radius: 12px;
  padding: 14px;
  background: #ecfbff;
  box-shadow: 0 5px 0 rgba(102, 199, 234, .2);
}

.frozen-account-banner > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #08718a;
  background: #fff;
  font-size: 1.35rem;
}

.frozen-account-banner h3,
.frozen-account-banner p {
  margin: 0;
}

.frozen-account-banner p {
  color: #326577;
  font-weight: 850;
}

.frozen-account-banner strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  border-radius: 999px;
  padding: 6px 10px;
  color: #07566b;
  background: #c9f3ff;
  font-size: .8rem;
  text-transform: uppercase;
}

.frozen-account-banner button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: #20a6d1;
  font-weight: 950;
  box-shadow: 0 3px 0 rgba(35, 48, 71, .14);
}

.frozen-account-banner.is-payment-lapse {
  grid-template-columns: 54px minmax(0, 1fr);
  border-color: #f0b323;
  background: #fff9e9;
  box-shadow: 0 5px 0 rgba(240, 179, 35, .18);
}

.frozen-account-banner.is-payment-lapse > span {
  color: #8a5a00;
  background: #fff0bf;
}

.frozen-account-banner.is-payment-lapse p {
  color: #644b1a;
}

.frozen-account-banner.is-payment-lapse strong {
  color: #654400;
  background: #ffe6a0;
}

.frozen-account-banner.is-payment-lapse button {
  grid-column: 2;
  justify-self: end;
  background: #df9410;
}

.frozen-account-banner .payment-lapse-card-tip {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  border: 1px solid #efd28f;
  border-radius: 6px;
  padding: 8px 10px;
  color: #49360f;
  background: #fff;
}

.payment-lapse-previous-class {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  border: 1px solid #efd28f;
  border-radius: 8px;
  padding: 8px 10px;
  color: #29374c;
  background: #fff;
}

.payment-lapse-previous-class > span:last-child {
  display: grid;
  gap: 2px;
}

.payment-lapse-previous-class small {
  color: #8a5a00;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-lapse-previous-class strong {
  margin: 0;
  color: #29374c;
  background: transparent;
  font-size: .95rem;
  text-transform: none;
}

.payment-lapse-teacher-avatar {
  display: grid;
  flex: 0 0 44px;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 2px solid #efd28f;
  border-radius: 50%;
  color: #8a5a00;
  background: #fff4d8;
}

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

.payment-lapse-card-tip i {
  margin-top: 2px;
  color: #b57508;
}

@media (max-width: 620px) {
  .frozen-account-banner.is-payment-lapse {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .frozen-account-banner.is-payment-lapse > span {
    width: 44px;
    height: 44px;
  }

  .frozen-account-banner.is-payment-lapse button {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

.return-class-card.is-previous-class {
  border-color: #df9410;
  background: #fffaf0;
  box-shadow: inset 5px 0 0 #df9410;
}

.previous-class-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  border: 1px solid #efd28f;
  border-radius: 8px;
  padding: 10px 12px;
  color: #674b12;
  background: #fff4d8;
}

.previous-class-note span,
.previous-class-note small {
  display: block;
}

.invoice-alert-card h3,
.invoice-alert-card p {
  margin: 0;
}

.invoice-alert-card h3 {
  font-size: 1.25rem;
}

.invoice-alert-card p,
.invoice-alert-card small {
  color: #6f3333;
  font-weight: 850;
}

.invoice-alert-deadline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.invoice-alert-deadline > strong {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: #ff2a32;
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
}

.invoice-alert-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 620px) {
  .invoice-alert-actions {
    justify-content: flex-start;
  }

  .invoice-alert-actions a,
  .invoice-alert-actions button {
    flex: 1 1 100%;
  }
}

.invoice-alert-actions a,
.invoice-alert-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 13px;
  color: #fff;
  background: var(--sky);
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(35, 48, 71, .14);
}

.invoice-alert-actions a {
  border: 2px solid #b51620;
  background: var(--rose);
  color: #fff !important;
  box-shadow: 0 3px 0 #b51620;
}

.invoice-alert-actions a:hover,
.invoice-alert-actions a:focus-visible {
  background: #d71925;
}

.invoice-alert-actions a.is-disabled {
  pointer-events: none;
  border: 2px solid #ff2a32;
  color: #7a1d1d;
  background: #ffe4e8;
  opacity: 1;
}

.invoice-alert-actions button:last-child {
  background: #667085;
}

.billing-history-link {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 2px solid #1597ba;
  border-radius: 50%;
  color: #fff;
  background: #20a6d1;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(35, 48, 71, .16);
}

.billing-history-link:hover,
.billing-history-link:focus-visible {
  background: #087f9f;
}

.parent-billing-history {
  margin-top: 14px;
  border: 2px solid #d6e2ec;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.parent-billing-history > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  color: #243047;
  background: #eef8fb;
  font-weight: 950;
  cursor: pointer;
  list-style: none;
}

.parent-billing-history > summary::-webkit-details-marker {
  display: none;
}

.parent-billing-history > summary span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.parent-billing-history > summary > i {
  color: #1597ba;
  transition: transform .18s ease;
}

.parent-billing-history[open] > summary > i {
  transform: rotate(180deg);
}

.parent-billing-history .mini-table {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.summary-tile span,
.mini-row span,
.return-preview span {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 900;
}

.square-status {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px;
  border-color: rgba(245, 197, 66, .75);
  background: #fff8d9;
}

.square-status i {
  color: #b07800;
  font-size: 1.25rem;
}

.billing-action-row {
  margin: 8px 0;
}

.billing-action-row span,
.return-step-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
  color: #475467;
  font-size: .74rem;
  font-weight: 950;
}

.mini-table,
.approval-list,
.student-progress-panel,
.notice-list,
.message-thread {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.dashboard-grid.is-tabbed {
  align-items: start;
}

.dashboard-grid.is-tabbed .dashboard-card[hidden] {
  display: none;
}

.dashboard-grid.is-tabbed .dashboard-card:not([hidden]) {
  grid-column: span 12;
}

.dashboard-grid.is-tabbed .billing-card:not([hidden]) {
  grid-column: span 7;
}

.dashboard-grid.is-tabbed .payment-card:not([hidden]) {
  grid-column: 1 / -1;
}

.dashboard-grid.is-tabbed .market-orders-card:not([hidden]) {
  grid-column: 1 / -1;
}

.dashboard-grid.is-tabbed .discrown-card:not([hidden]) {
  grid-column: 1 / -1;
}

.dashboard-grid.is-tabbed .billing-side-column:not([hidden]) {
  grid-column: span 5;
}

.dashboard-grid.is-tabbed .payment-card.is-before-discrowns:not([hidden]) {
  order: 1;
}

.dashboard-grid.is-tabbed .discrown-card.is-after-payment:not([hidden]) {
  order: 2;
}

.dashboard-grid.is-tabbed .discrown-card:not(.is-after-payment):not([hidden]) {
  order: 1;
}

.dashboard-grid.is-tabbed .payment-card:not(.is-before-discrowns):not([hidden]) {
  order: 2;
}

.parent-action-dock .dock-action.is-active {
  outline: 3px solid rgba(255, 255, 255, .9);
  transform: translateY(-2px);
}

.mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
}

.billing-history-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 3px;
}

.billing-history-dates small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.billing-history-dates small i {
  color: #1597ba;
  margin-right: 2px;
}

.billing-history-dates small b {
  color: var(--ink);
}

.billing-card-state {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e8eef2;
  color: #66727e;
}

.billing-card-state-slash {
  position: absolute;
  color: #a51f28;
  font-size: 1.05rem;
}

.billing-card-state.is-on_file {
  background: #e6f8ed;
  color: #146b3a;
}

.billing-card-state.is-missing {
  background: #ffe9ea;
  color: #a51f28;
}

#billingHistory .policy-row > div {
  grid-column: 1 / -2;
}

.mini-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
}

.status-pill,
.source-pill,
.approval-item em,
.notice-item em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #e7f8fd;
  color: #08718a;
  font-size: .75rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.source-pill {
  margin-left: 8px;
  background: #f1f5f9;
  color: #475467;
}

.source-pill.is-registered {
  gap: 5px;
  background: #dcfce7;
  color: #0f7a33;
}

.status-pill.is-warning {
  background: #fff1c4;
  color: #856000;
}

.status-pill.is-good {
  background: #dcfce7;
  color: #0f7a33;
}

.return-options {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.return-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.teacher-filter-group button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 5px 14px 5px 6px;
}

.schedule-teacher-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 2px solid rgba(84, 184, 208, .5);
  border-radius: 999px;
  background: #e8f8ff;
  color: #0f6d83;
  font-size: .78rem;
}

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

.schedule-command-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 8px;
  padding: 10px;
  border: 2px solid #d9e3ed;
  border-radius: 10px;
  background: #f8fbfd;
}

.schedule-command-row button {
  min-height: 48px;
  border: 2px solid #cbd8e4;
  border-radius: 999px;
  background: #fff;
  color: #344054;
}

.return-teacher-chip {
  overflow: hidden;
  padding: 4px 14px 4px 4px;
  border-radius: 999px;
}

.return-teacher-chip .schedule-teacher-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
}

.return-teacher-chip .schedule-teacher-avatar img {
  display: block;
  border-radius: inherit;
}

.schedule-command-row button.is-active {
  border-color: #159fc5;
  background: #159fc5;
  color: #fff;
  box-shadow: 0 4px 0 #087c9c;
}

@media (max-width: 900px) {
  .schedule-command-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .schedule-command-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-command-row button {
    padding-inline: 8px;
  }
}

.schedule-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.schedule-status-grid article {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 74px;
  border: 2px solid #e1e7ef;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.schedule-status-grid article.is-good {
  border-color: #bbf7d0;
  background: #f0fff4;
}

.schedule-status-grid article.is-warning {
  border-color: #ffe08a;
  background: #fff9df;
}

.schedule-status-grid article > span {
  display: grid;
  place-items: center;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #08718a;
  background: #e7f8fd;
}

.schedule-status-grid strong,
.schedule-status-grid small {
  display: block;
  grid-column: 2;
  min-width: 0;
}

.schedule-status-grid strong {
  align-self: end;
  line-height: 1.2;
}

.schedule-status-grid small {
  align-self: start;
  line-height: 1.35;
}

.schedule-status-grid small,
.schedule-mode-note {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.schedule-mode-note {
  margin: 0;
}

.return-options button {
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
}

.return-options button.is-active {
  color: #fff;
  border-color: var(--sky);
  background: var(--sky);
}

.schedule-command-row button[data-schedule-action="makeup"].is-active {
  border-color: #f59e0b;
  background: #f59e0b;
}

.makeup-mode-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 2px solid #f7c46a;
  border-radius: 12px;
  padding: 8px;
  background: #fff8e8;
}

.makeup-mode-switch button {
  min-height: 40px;
}

.makeup-mode-switch button.is-active {
  color: #fff;
  border-color: #f59e0b;
  background: #f59e0b;
}

.sibling-makeup-picker {
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
  border: 1px solid #b8dbea;
  border-radius: 8px;
  background: #f4fbfe;
}

.sibling-makeup-confirmation {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 12px 0 14px;
  padding: 16px;
  border: 2px solid #efbd3f;
  border-radius: 8px;
  background: #fff8d9;
  box-shadow: 0 5px 0 rgba(169, 125, 17, .15);
}

.sibling-makeup-confirmation > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #765600;
  background: #ffe59b;
  font-size: 1.35rem;
}

.sibling-makeup-confirmation > div:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.sibling-makeup-confirmation .kicker,
.sibling-makeup-confirmation p,
.sibling-makeup-confirmation em {
  margin: 0;
}

.sibling-makeup-confirmation > div > strong {
  color: #27344d;
  font-size: 1.15rem;
}

.sibling-makeup-confirmation > div > small,
.sibling-makeup-confirmation > div > em,
.sibling-makeup-confirmation > div > p {
  color: #5f6879;
  font-weight: 750;
}

.sibling-makeup-confirmation.is-waitlist {
  border-color: #9ba7b7;
  background: #f3f5f8;
}

.sibling-makeup-confirmation.is-pre-absence {
  border-color: #36b973;
  background: linear-gradient(135deg, #edfff5 0%, #eefaff 58%, #fff9dc 100%);
  box-shadow: 0 6px 0 rgba(25, 146, 88, .14);
}

.sibling-makeup-confirmation.is-pre-absence > span {
  color: #087443;
  background: #bff2d3;
}

.sibling-makeup-confirmation.is-canceled {
  border-color: #c9ced6;
  background: #f6f7f8;
  box-shadow: none;
}

.sibling-makeup-confirmation-actions {
  display: grid;
  gap: 8px;
  min-width: 190px;
}

.sibling-makeup-confirmation-actions button {
  width: 100%;
  min-height: 42px;
}

.parent-schedule-history {
  margin: 12px 0 14px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #f7f9fb;
}

.parent-schedule-history > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  cursor: pointer;
}

.parent-schedule-history > summary > span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}

.parent-schedule-history > div {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.parent-schedule-history article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #d7dde5;
  border-radius: 6px;
  background: #fff;
}

.parent-schedule-history article > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #7b8796;
  background: #edf1f5;
}

.parent-schedule-history article > div {
  display: grid;
  gap: 2px;
}

.parent-schedule-history article small,
.parent-schedule-history article em {
  color: #667183;
  font-size: .82rem;
  font-weight: 700;
}

.parent-makeup-success-modal {
  width: min(620px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: #27344d;
  box-shadow: 0 18px 55px rgba(39, 52, 77, .28);
}

.parent-makeup-success-modal > section {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px;
  text-align: center;
}

.parent-makeup-success-modal h2,
.parent-makeup-success-modal p {
  margin: 0;
}

.parent-makeup-success-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  color: #087c9f;
  background: #e7f8fd;
  font-size: 1.65rem;
}

.parent-makeup-success-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  text-align: left;
}

.parent-makeup-success-grid > div {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #cfe0eb;
  border-radius: 8px;
  background: #f7fafc;
}

.parent-makeup-success-grid small {
  color: #697487;
  font-weight: 800;
  text-transform: uppercase;
}

.parent-makeup-success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.parent-makeup-success-actions form,
.parent-makeup-success-actions button {
  width: 100%;
}

.parent-action-dock button,
.schedule-command-row button,
.return-class-card button,
.schedule-primary-action,
.parent-makeup-success-actions button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(8, 124, 159, .16);
}

.parent-absence-makeup-modal .parent-makeup-success-icon {
  color: #146c43;
  background: #e7f7ee;
}

[data-report-parent-absence] {
  margin-top: 14px;
}

.parent-absence-makeup-modal [data-schedule-absence-makeup] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #16834f;
  font-weight: 900;
  box-shadow: 0 5px 0 #0b6138, 0 8px 18px rgba(11, 97, 56, .18);
}

.parent-absence-makeup-modal .parent-makeup-success-actions form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #dc6b24;
  font-weight: 900;
  box-shadow: 0 5px 0 #ad4816, 0 8px 18px rgba(173, 72, 22, .18);
}

#parentMakeupSuccessModal .parent-makeup-success-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 14px 20px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
}

#parentMakeupSuccessModal [data-schedule-another-makeup] {
  background: #087c9f;
  box-shadow: 0 5px 0 #075d76, 0 8px 18px rgba(8, 124, 159, .18);
}

#parentMakeupSuccessModal .parent-makeup-success-actions form button {
  background: #16834f;
  box-shadow: 0 5px 0 #0b6138, 0 8px 18px rgba(11, 97, 56, .18);
}

@media (max-width: 760px) {
  .sibling-makeup-confirmation {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .sibling-makeup-confirmation-actions {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }

  .parent-makeup-success-grid,
  .parent-makeup-success-actions {
    grid-template-columns: 1fr;
  }

  .parent-action-dock button,
  .schedule-command-row button,
  .return-class-card button,
  .schedule-primary-action,
  .parent-makeup-success-actions button {
    min-height: 48px !important;
  }
}

.sibling-makeup-picker > div:first-child,
.sibling-makeup-picker > div:first-child small {
  display: grid;
  gap: 3px;
}

.sibling-makeup-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}

.sibling-makeup-options button {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-height: 58px;
  padding: 9px 11px;
  text-align: left;
  color: #243149;
  background: #fff;
  border: 2px solid #cfdae4;
  border-radius: 8px;
}

.sibling-makeup-options button.is-active {
  color: #106c3a;
  border-color: #29bd62;
  background: #effcf3;
}

.sibling-makeup-options button:disabled {
  opacity: 1;
  cursor: default;
}

.sibling-makeup-options button span,
.sibling-makeup-options button small {
  display: block;
  min-width: 0;
}

.sibling-makeup-picker > p {
  margin: 0;
  color: #627086;
  font-weight: 700;
}

.pre-absence-fields {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(240px, 1fr);
  gap: 10px;
  border: 2px solid #f7c46a;
  border-radius: 12px;
  padding: 12px;
  background: #fffdf4;
}

.pre-absence-fields label {
  display: grid;
  gap: 7px;
  color: #765600;
  font-size: .8rem;
  font-weight: 950;
}

.pre-absence-fields input,
.pre-absence-fields textarea {
  width: 100%;
  border: 2px solid #f3d45f;
  border-radius: 10px;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 850;
}

.report-absence-panel > div > label {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  color: #46556b;
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.report-absence-panel #parentAbsenceDate {
  min-height: 54px;
  width: 100%;
  border: 2px solid #79cce6;
  border-radius: 14px;
  padding: 12px 15px;
  color: #203047;
  background: linear-gradient(135deg, #f4fcff, #fff9df);
  box-shadow: 0 4px 0 rgba(39, 153, 192, .16);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 950;
  color-scheme: light;
  cursor: pointer;
}

.report-absence-panel #parentAbsenceDate:focus {
  outline: 4px solid rgba(248, 211, 72, .35);
  border-color: #159ec9;
}

.report-absence-panel #parentAbsenceDate::-webkit-calendar-picker-indicator {
  width: 28px;
  height: 28px;
  padding: 6px;
  border-radius: 9px;
  background-color: #f8d348;
  cursor: pointer;
}

.note-field[hidden] {
  display: none !important;
}

.return-card #returnDateField,
.return-card #returnNoteField {
  display: grid;
  gap: 9px;
  border: 3px solid #8bd3ee;
  border-radius: 12px;
  padding: 14px;
  background: #eefbff;
  color: #07566b;
  font-size: 1rem;
  font-weight: 950;
}

.return-card #returnDateField input,
.return-card #returnNoteField textarea {
  width: 100%;
  border: 2px solid #9bd8eb;
  border-radius: 10px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.return-preview {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.schedule-closure-grid {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.schedule-closure-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 2px solid #d9e3ed;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.schedule-closure-card.is-teacher-closure {
  border-color: #a7d8ff;
  background: #f1f9ff;
}

.schedule-closure-card > span,
.schedule-closure-card img {
  display: grid;
  place-items: center;
  width: 76px;
  height: 58px;
  border-radius: 8px;
  color: #08718a;
  background: #e7f8fd;
  object-fit: cover;
}

.schedule-closure-card p {
  margin: 4px 0 0;
}

.schedule-closure-card em {
  display: inline-flex;
  width: fit-content;
  margin-top: 6px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #07566b;
  background: #d8f4ff;
  font-size: .74rem;
  font-style: normal;
  font-weight: 950;
}

.return-request-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 4px 0 10px;
}

.return-request-status small,
.payment-request-status small,
.field-note {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.return-class-grid {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.return-class-card {
  display: grid;
  gap: 8px;
  border: 2px solid #d9e3ed;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  overflow: hidden;
  max-height: 520px;
  transition: opacity .24s ease, max-height .3s ease, margin .3s ease, padding .3s ease, border-width .3s ease, transform .24s ease;
}

.return-class-grid.is-restart-selection-locked .return-class-card.is-restart-hidden {
  max-height: 0;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.return-class-card header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.return-class-card header span {
  color: #08718a;
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.return-class-card p {
  margin-bottom: 0;
  color: var(--ink);
}

.return-class-card .return-class-start-date {
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
  color:#176c4d;
  font-size:.84rem;
  font-weight:900;
}

.return-class-card button,
.schedule-primary-action,
.payment-method-actions button,
.payment-method-item button {
  width: fit-content;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: var(--sky);
  font-weight: 950;
  box-shadow: 0 3px 0 rgba(35, 48, 71, .14);
}

.return-class-card button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.return-class-card.is-full {
  opacity: .72;
  background: #f7f8fa;
}

.return-class-card.is-full button {
  background: #667085;
}

.return-class-card.is-selected {
  border-color: #20af62;
  background: #f0fff6;
  box-shadow: inset 0 0 0 2px rgba(32, 175, 98, .12);
}

.restart-selected-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid #bfe8cf;
}

.return-class-card .restart-selected-actions .restart-confirm-class {
  min-height: 46px;
  padding: 0 18px;
  background: #20af62;
  font-size: .95rem;
}

.return-class-card .restart-selected-actions .restart-change-class {
  background: #fff;
  color: #365166;
  border: 2px solid #b8cad8;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .return-class-card { transition: none; }
}

.return-class-card.is-regular-home {
  border-color: #79a8bc;
  background: #f2f9fc;
}

.return-class-card .regular-home-class-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #205b70;
}

.return-class-card .regular-home-class-note span {
  display: grid;
  gap: 2px;
}

.return-class-card .regular-home-class-note small {
  color: var(--muted);
  font-weight: 800;
}

.return-class-card.is-regular-home button:disabled {
  opacity: 1;
  background: #607d8b;
}

.schedule-unavailable-panel,
.schedule-choice-panel,
.schedule-choice-submit {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 2px solid #d9e3ed;
  border-radius: 8px;
  padding: 16px;
  background: #f8fbfd;
}

.schedule-unavailable-panel > span {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff3d2;
  color: #9a6500;
  font-size: 1.25rem;
}

.schedule-unavailable-panel p,
.schedule-unavailable-panel small,
.schedule-choice-panel span,
.schedule-choice-submit span {
  color: var(--muted);
}

.schedule-choice-panel {
  justify-content: space-between;
  margin-top: 12px;
}

.schedule-choice-intent {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.schedule-choice-intent button,
.schedule-choice-submit button {
  min-height: 38px;
  border: 2px solid #cbd8e5;
  border-radius: 999px;
  padding: 0 13px;
  background: #fff;
  color: var(--ink);
  font-weight: 950;
}

.schedule-choice-intent button.is-active,
.schedule-choice-submit button {
  border-color: #20af62;
  background: #20af62;
  color: #fff;
}

.schedule-choice-submit {
  justify-content: space-between;
  margin-top: 12px;
}

.schedule-choice-submit button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.return-step-list {
  align-items: center;
  margin-top: 10px;
}

.return-step-list .return-teacher-chip {
  width: fit-content;
  min-height: 70px;
  max-width: 100%;
  padding: 5px 14px 5px 6px;
  border: 2px solid #d4dee8;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 0 rgba(35, 48, 71, .12);
}

.return-step-list .return-teacher-chip .schedule-teacher-avatar {
  width: 60px;
  height: 60px;
  min-height: 0;
  padding: 0;
  border-color: rgba(84, 184, 208, .5);
  background: #e8f8ff;
}

.return-teacher-chip strong {
  min-width: 0;
  font-size: .82rem;
  line-height: 1.05;
}

.return-step-list .return-class-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
}

.return-step-list .return-class-fact > i {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  background: #eaf8fc;
  color: #087895;
  font-size: 1.25rem;
}

.return-step-list .return-class-fact.is-full > i {
  background: #fff1d1;
  color: #9a6500;
}

.return-step-list .return-class-fact.is-waitlist > i {
  background: #f0eaff;
  color: #6846b7;
}

.schedule-policy-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.schedule-policy-strip article {
  display: grid;
  gap: 5px;
  border: 2px solid #e1e7ef;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.schedule-policy-strip i {
  color: #0f6d83;
}

.schedule-policy-strip strong,
.schedule-policy-strip span {
  display: block;
}

.schedule-policy-strip span {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 850;
}

.note-field {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.payment-method-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.payment-method-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.payment-method-item > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e8f8ff;
  color: #0f6d83;
}

.payment-method-item strong,
.payment-method-item small {
  display: block;
}

.payment-method-item small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.payment-method-item.is-empty {
  grid-template-columns: auto minmax(0, 1fr);
}

.payment-method-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.payment-method-actions button:first-child {
  background: var(--green);
}

.payment-method-item button {
  background: var(--rose);
}

.payment-request-status {
  display: grid;
  gap: 4px;
  padding: 10px;
  border-color: rgba(47, 189, 87, .35);
  background: #f0fff5;
}

.payment-discrown-slot,
.payment-card-file-slot {
  display: grid;
  gap: 10px;
}

.payment-card-file-slot {
  border: 2px solid #d9e3ed;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.discrown-apply-card {
  display: grid;
  gap: 10px;
  border: 3px solid var(--gold);
  border-radius: 12px;
  padding: 14px;
  background: #fff9dc;
  box-shadow: 0 5px 0 rgba(245, 197, 66, .22);
}

.discrown-apply-card.is-locked {
  background: #fffdf0;
}

.discrown-apply-card header {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.discrown-apply-card header > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #fff;
  color: #b07800;
  font-size: 1.25rem;
}

.discrown-apply-card h3,
.discrown-apply-card p {
  margin: 0;
}

.discrown-apply-card p,
.discrown-apply-card li {
  color: #765600;
  font-size: .82rem;
  font-weight: 850;
}

.discrown-lock-note {
  display: flex;
  gap: 8px;
  align-items: center;
  border: 2px solid #f3d45f;
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
  color: #765600;
  font-size: .82rem;
  font-weight: 950;
}

.discrown-lock-note.is-exception {
  border-color: rgba(36, 190, 91, .42);
  background: #f1fff5;
  color: #167344;
}

.discrown-apply-card.has-owner-exception {
  border-color: #79d889;
  background: #f8fff4;
}

.no-card-exception-panel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 2px dashed #cbd7e4;
  border-radius: 12px;
  padding: 10px;
  background: #f8fbfd;
}

.no-card-exception-panel.is-active {
  border-style: solid;
  border-color: rgba(36, 190, 91, .48);
  background: #f1fff5;
}

.no-card-exception-panel > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e8f8ff;
  color: #0f6d83;
}

.no-card-exception-panel.is-active > span {
  background: #dff9e8;
  color: #167344;
}

.no-card-exception-panel strong,
.no-card-exception-panel small {
  display: block;
}

.no-card-exception-panel small {
  color: #647086;
  font-size: .76rem;
  font-weight: 850;
}

.no-card-exception-panel button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: #0f6d83;
  font-weight: 950;
  box-shadow: 0 4px 0 rgba(35, 48, 71, .14);
}

.no-card-exception-panel.is-active button {
  background: #6b7280;
}

.payment-follow-up-note {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 2px solid #d9e3ed;
  border-radius: 12px;
  padding: 10px;
  background: #f8fbfd;
}

.payment-follow-up-note > i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #e8f8ff;
  color: #0f6d83;
}

.payment-follow-up-note strong,
.payment-follow-up-note small {
  display: block;
}

.payment-follow-up-note small {
  color: #647086;
  font-size: .78rem;
  font-weight: 850;
}

.payment-follow-up-note.status-replacement_grace {
  border-color: rgba(84, 184, 208, .46);
  background: #f0fbff;
}

.payment-follow-up-note.status-not_continuing {
  border-color: rgba(255, 39, 51, .42);
  background: #fff1f2;
}

.payment-follow-up-note.status-not_continuing > i {
  background: #ffe4e6;
  color: #be123c;
}

.discrown-stepper {
  display: grid;
  grid-template-columns: 38px 56px 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.discrown-stepper button,
.discrown-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--sky);
  font-weight: 950;
  box-shadow: 0 3px 0 rgba(35, 48, 71, .14);
}

.discrown-stepper button:disabled,
.discrown-actions > button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.discrown-stepper strong {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 2px solid #f3d45f;
  border-radius: 999px;
  background: #fff;
  font-size: 1.1rem;
}

.discrown-stepper span {
  color: #765600;
  font-size: .8rem;
  font-weight: 950;
}

.discrown-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.discrown-actions > button {
  padding: 0 16px;
  white-space: nowrap;
  background: var(--green);
}

.discrown-actions details {
  border: 2px solid #f3d45f;
  border-radius: 10px;
  background: #fff;
  padding: 9px 10px;
}

.discrown-actions summary {
  cursor: pointer;
  color: #765600;
  font-weight: 950;
  list-style: none;
}

.discrown-actions summary::-webkit-details-marker {
  display: none;
}

.discrown-actions ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

textarea {
  width: 100%;
  resize: vertical;
  border: 2px solid #cfd8e3;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 750;
}

.approval-item,
.notice-item {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.approval-item header,
.notice-item header {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.student-overview-schedule-chip {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 42px;
  gap: 12px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border: 2px solid #b9d9ee;
  border-radius: 8px;
  background: #f4fbff;
}

.student-overview-schedule-chip.is-absence {
  border-color: #ffd19c;
  background: #fff8ef;
}

.student-overview-schedule-chip > i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: #0784ad;
  font-size: 20px;
}

.student-overview-schedule-chip.is-absence > i {
  background: #df6a20;
}

.student-overview-schedule-chip span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.student-overview-schedule-chip em {
  color: #087aa0;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.student-overview-schedule-chip.is-absence em {
  color: #bd4d11;
}

.student-overview-schedule-chip strong,
.student-overview-schedule-chip small {
  overflow-wrap: anywhere;
}

.student-overview-schedule-chip button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #d94232;
  font-size: 18px;
  cursor: pointer;
}

.student-overview-schedule-chip.is-makeup {
  grid-template-columns: 44px minmax(0, 1fr);
}

.approval-item button {
  width: fit-content;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: var(--green);
  font-weight: 950;
}

.approval-item button.is-previewed {
  background: var(--muted);
}

.parent-market-order-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.parent-market-order-strip span {
  display: grid;
  gap: 2px;
  min-width: 130px;
  border: 2px solid #d7e2ec;
  border-radius: 8px;
  padding: 8px 10px;
  background: #f7fbff;
}

.parent-market-order-strip strong,
.parent-market-order-strip small {
  display: block;
}

.parent-market-order-timeline { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.parent-market-order-timeline span { border: 1px solid #d7dee6; border-radius: 999px; padding: 3px 7px; background: #f4f6f8; color: #667085; font-size: .65rem; font-style: normal; font-weight: 900; }
.parent-market-order-timeline span.is-done { border-color: #8bd5a2; background: #e8f8ed; color: #16783a; }
.parent-market-order-timeline span.is-refunded { border-color: #f0c45b; background: #fff6d9; color: #7a5700; }

.parent-market-order-strip small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.parent-market-history {
  display: grid;
  gap: 12px;
}

.parent-market-approval-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 2px solid #cfe0ea;
  border-radius: 10px;
  padding: 12px;
  background: #f7fbff;
  cursor: pointer;
}

.parent-market-approval-toggle > span,
.parent-market-approval-toggle strong,
.parent-market-approval-toggle small {
  display: block;
}

.parent-market-approval-toggle small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 800;
}

.parent-market-approval-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.parent-market-approval-toggle i {
  position: relative;
  width: 52px;
  height: 30px;
  border: 2px solid #bac6d3;
  border-radius: 999px;
  background: #dce3ea;
  transition: background .18s ease, border-color .18s ease;
}

.parent-market-approval-toggle i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(18, 25, 42, .24);
  transition: transform .18s ease;
}

.parent-market-approval-toggle input:checked + i {
  border-color: #1cae55;
  background: #24bf61;
}

.parent-market-approval-toggle input:checked + i::after {
  transform: translateX(22px);
}

.parent-current-plan-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(190px, .8fr) minmax(320px, 1.2fr);
  gap: 14px 20px;
  align-items: center;
  border: 3px solid #35afd0;
  border-radius: 10px;
  padding: 16px;
  background: #f2fbfe;
}

.student-overview-makeup-chip {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 2px solid #efc84b;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff8d8;
  color: #745400;
}

.student-overview-makeup-chip > i {
  font-size: 1.25rem;
}

.student-overview-makeup-chip span,
.student-overview-makeup-chip strong,
.student-overview-makeup-chip small {
  display: block;
}

.student-overview-class-chip .class-with-teacher em {
  display: block;
  width: fit-content;
  margin-bottom: 3px;
  border-radius: 999px;
  padding: 3px 7px;
  background: #e7f7fc;
  color: #087087;
  font-size: .65rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.student-overview-state-chip {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 2px solid #a9cbed;
  border-radius: 8px;
  padding: 10px 12px;
  background: #edf6ff;
  color: #245981;
}

.student-overview-state-chip span,
.student-overview-state-chip strong,
.student-overview-state-chip small {
  display: block;
}

.student-overview-state-chip small {
  margin-top: 2px;
  font-weight: 800;
}

.student-overview-state-chip.is-next-level {
  border-color: #e0b331;
  background: #fff8dc;
  color: #6f5100;
}

.next-level-cancel-icon { margin-left: auto; width: 42px; height: 42px; padding: 0; border-radius: 50%; }
.next-level-modal { width: min(820px, calc(100vw - 24px)); border: 0; padding: 0; background: #fff; }
.next-level-modal > section { padding: 24px; display: grid; gap: 18px; }
.next-level-modal > section > header { display: flex; gap: 14px; align-items: center; }
.next-level-modal > section > header > span { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff2bc; color: #805d00; }
.next-level-modal h2, .next-level-modal p { margin: 0; }
.next-level-current { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.next-level-current > div { padding: 12px; border: 1px solid #d7e0e9; background: #f6f8fa; }
.next-level-current small, .next-level-current strong { display: block; }
.next-level-class-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.next-level-class-grid > button { min-height: 88px; display: grid; grid-template-columns: 46px 1fr 28px; gap: 10px; align-items: center; text-align: left; background: #fff; color: #233047; border: 2px solid #cfe0e8; }
.next-level-class-grid > button:hover { border-color: #15a66a; }
.next-level-class-grid > button.is-selected { border-color: #15a66a; background: #edf9f2; box-shadow: 0 0 0 3px rgba(21, 166, 106, .13); }
.next-level-class-grid strong, .next-level-class-grid small { display: block; }
.next-level-empty { grid-column: 1 / -1; padding: 18px; border: 1px solid #d7e0e9; }
.next-level-empty strong, .next-level-empty span { display: block; }
.next-level-modal-status { min-height: 24px; color: #526174; font-weight: 750; }
.next-level-confirmation { display: grid; gap: 14px; border: 2px solid #efbd39; padding: 16px; background: #fff9df; }
.next-level-confirmation[hidden] { display: none; }
.next-level-confirmation > header { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; align-items: center; }
.next-level-confirmation > header > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #8a6200; background: #ffeaa8; }
.next-level-confirmation h3 { margin: 0; color: #243247; }
.next-level-change-grid { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 10px; align-items: stretch; }
.next-level-change-grid article { min-width: 0; display: grid; gap: 4px; align-content: center; border: 1px solid #d7e0e9; padding: 12px; background: #fff; }
.next-level-change-grid > i { align-self: center; justify-self: center; color: #159dbf; }
.next-level-change-grid small { color: #68778a; font-weight: 900; text-transform: uppercase; }
.next-level-change-grid strong { color: #243247; overflow-wrap: anywhere; }
.next-level-change-grid span { color: #5d6b7c; font-weight: 750; }
.next-level-confirmation-facts { display: grid; gap: 8px; }
.next-level-confirmation-facts p { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start; border-top: 1px solid #edd99a; padding-top: 8px; color: #536172; }
.next-level-confirmation-facts i { margin-top: 3px; color: #1689a8; text-align: center; }
.next-level-confirmation-facts strong { display: block; color: #243247; }
.next-level-confirmation-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.next-level-confirmation-actions button { min-height: 44px; border: 2px solid #20a957; border-radius: 7px; padding: 0 16px; color: #fff; background: #24b95f; font-weight: 950; box-shadow: 0 3px 0 rgba(35, 48, 71, .15); }
.next-level-confirmation-actions .is-secondary { color: #243247; border-color: #cbd7e1; background: #fff; }
@media (max-width: 640px) {
  .next-level-class-grid, .next-level-current { grid-template-columns: 1fr; }
  .next-level-modal > section { padding: 18px 14px; }
  .next-level-change-grid { grid-template-columns: 1fr; }
  .next-level-change-grid > i { transform: rotate(90deg); }
  .next-level-confirmation-actions { display: grid; grid-template-columns: 1fr; }
  .next-level-confirmation-actions button { width: 100%; }
}

.student-overview-makeup-chip small {
  margin-top: 2px;
  color: #806b2b;
  font-weight: 800;
}

.parent-current-plan-card h3,
.parent-current-plan-card p {
  margin: 0;
}

.parent-current-plan-card h3 {
  font-size: 1.55rem;
}

.parent-current-plan-card > small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 800;
}

.parent-plan-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.parent-plan-choice button {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: center;
  gap: 1px 7px;
  min-height: 62px;
  border: 2px solid #b9dce6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 950;
}

.parent-plan-choice button span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .7rem;
  text-transform: uppercase;
}

.parent-plan-choice button.is-active {
  border-color: #21ae56;
  background: #e9faef;
  color: #14783b;
}

.parent-plan-rule-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.parent-billing-request-card.is-secondary {
  grid-column: 1 / -1;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
}

.parent-plan-rule-chips > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  border: 2px solid #d4e3eb;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.parent-plan-rule-chips > span strong,
.parent-plan-rule-chips > span small {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.parent-plan-rule-chips i {
  grid-row: 1 / 3;
  color: #1594b3;
  font-size: 1.15rem;
}

.parent-plan-rule-chips strong,
.parent-plan-rule-chips small {
  display: block;
}

.parent-plan-rule-chips small {
  color: var(--muted);
  font-weight: 800;
}

.square-card-entry {
  display: grid;
  gap: 10px;
  border-top: 2px solid #d8e4eb;
  margin-top: 12px;
  padding-top: 12px;
}

.square-card-entry[hidden] {
  display: none;
}

.square-card-entry > button {
  width: fit-content;
}

.square-card-modal {
  width: min(620px, calc(100vw - 28px));
  border: 0;
  border-radius: 12px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(20, 31, 49, .35);
}

.square-card-modal::backdrop {
  background: rgba(20, 31, 49, .68);
}

.square-card-modal-body {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 28px;
  background: #fff;
}

.square-card-modal-body h2,
.square-card-modal-body p {
  margin: 0;
}

.square-card-modal .modal-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
}

.square-card-modal .square-card-entry {
  margin: 0;
  border-top: 0;
  padding: 0;
}

@media (max-width: 760px) {
  .parent-current-plan-card {
    grid-template-columns: 1fr;
  }

  .parent-plan-choice {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .parent-plan-rule-chips {
    grid-template-columns: 1fr;
  }
}

.parent-market-history-empty {
  display: grid;
  gap: 10px;
  border: 2px dashed #cfe0ea;
  border-radius: 12px;
  padding: 14px;
  background: #f7fbff;
}

.parent-market-history-empty p {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.parent-market-history-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.parent-market-history-summary span {
  display: grid;
  gap: 2px;
  border: 2px solid #d7e2ec;
  border-radius: 10px;
  padding: 10px;
  background: #f7fbff;
}

.parent-market-history-summary strong {
  font-size: 1.25rem;
}

.parent-market-history-summary small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.parent-market-history-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.parent-market-history-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  border: 2px solid #d7e2ec;
  border-left-width: 7px;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.parent-market-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.parent-market-order-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  padding: 9px 12px;
  background: #2dbd58;
  color: #fff;
  font: inherit;
  font-size: .82rem;
  font-weight: 900;
  cursor: pointer;
}

.parent-market-order-actions button.is-cancel {
  background: #fff;
  color: #9f1f2d;
  box-shadow: inset 0 0 0 2px #9f1f2d;
}

.parent-market-order-actions button:disabled {
  cursor: wait;
  opacity: .6;
}

.parent-market-history-item.is-pending {
  border-left-color: #f2b84b;
}

.parent-market-history-item.is-bought {
  border-left-color: #35b7d4;
}

.parent-market-history-item.is-ready {
  border-left-color: #31bf59;
}

.parent-market-history-item.is-handed-off {
  border-left-color: #2b7bbb;
}

.parent-market-history-item.is-refunded {
  border-left-color: #8f1f28;
}

.parent-market-history-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #e8f8ff;
  color: #0f6d83;
}

.parent-market-history-item strong,
.parent-market-history-item small,
.parent-market-history-item p {
  display: block;
}

.parent-market-history-item small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 900;
}

.parent-market-history-item p {
  margin: 6px 0 0;
  color: #475467;
  font-size: .82rem;
  font-weight: 850;
}

.parent-market-history-item em {
  align-self: center;
  border-radius: 999px;
  padding: 7px 10px;
  background: #edf6fb;
  color: #0f6d83;
  font-size: .72rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
  white-space: nowrap;
}

.quest-progress-card {
  display: grid;
  gap: 12px;
}

.quest-progress-hero {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 2px solid #dbe6ef;
  border-radius: 10px;
  padding: 12px;
  background: linear-gradient(135deg, #f7fbff, #fffaf0);
}

.quest-progress-hero img,
.quest-progress-hero > span {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  background: #eef8fb;
}

.quest-progress-hero h3,
.homework-battle-panel h4 {
  margin: 0;
}

.quest-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.quest-progress-grid article,
.homework-task-list article {
  display: grid;
  gap: 6px;
  border: 2px solid #e0e8ef;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.quest-progress-grid article > span:first-child {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #08718a;
  background: #e7f8fd;
}

.reward-mini-row,
.homework-task-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.reward-mini-chip {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 8px;
  background: #f1f5f9;
  color: #344054;
  font-size: .75rem;
  font-weight: 900;
}

.parent-proof-strip {
  display: grid;
  gap: 10px;
  border: 2px solid rgba(245, 197, 66, .54);
  border-radius: 10px;
  padding: 12px;
  background: #fff8dd;
}

.parent-attendance-history {
  display: grid;
  gap: 10px;
  border: 2px solid #bfe4ef;
  border-radius: 10px;
  padding: 12px;
  background: #f3fbfd;
}

.parent-attendance-card {
  padding: 0;
  overflow: hidden;
}

.parent-attendance-card > summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}

.parent-attendance-card > summary::-webkit-details-marker,
.parent-attendance-year > summary::-webkit-details-marker,
.parent-attendance-month > summary::-webkit-details-marker,
.parent-attendance-day > summary::-webkit-details-marker {
  display: none;
}

.parent-attendance-card > summary > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #08718a;
  background: #e7f8fd;
}

.parent-attendance-card > summary h2,
.parent-attendance-card > summary p {
  margin: 0;
}

.parent-attendance-card[open] > summary .parent-attendance-chevron,
.parent-attendance-year[open] > summary i,
.parent-attendance-month[open] > summary i,
.parent-attendance-day[open] > summary i {
  transform: rotate(180deg);
}

#parentAttendancePanel {
  padding: 0 16px 16px;
}

.parent-attendance-count {
  margin: 0;
  color: var(--muted);
  font-weight: 850;
}

.parent-attendance-groups,
.parent-attendance-year > div,
.parent-attendance-month > div {
  display: grid;
  gap: 8px;
}

.parent-attendance-year,
.parent-attendance-month,
.parent-attendance-day {
  border: 2px solid #d8edf3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.parent-attendance-year > summary,
.parent-attendance-month > summary,
.parent-attendance-day > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.parent-attendance-year > summary { background: #eaf8fc; }
.parent-attendance-month > summary { background: #f5fbfd; }
.parent-attendance-day > summary { background: #fff; }

.parent-attendance-year > summary small,
.parent-attendance-month > summary small,
.parent-attendance-day > summary small {
  color: var(--muted);
  font-weight: 850;
}

.parent-attendance-year > div,
.parent-attendance-month > div,
.parent-attendance-day > .parent-attendance-list {
  padding: 8px;
}

.parent-attendance-thumb {
  width: 40px;
  height: 40px;
  overflow: hidden;
  border: 2px solid #bfe4ef;
  border-radius: 8px;
  padding: 0;
  background: #fff;
}

.parent-attendance-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.parent-attendance-lightbox {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.parent-attendance-lightbox > form {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 12px;
}

.parent-attendance-lightbox::backdrop { background: rgba(11, 18, 32, .78); }
.parent-attendance-lightbox figure { display: grid; gap: 8px; margin: 0; }
.parent-attendance-lightbox img { width: 100%; max-height: calc(100vh - 110px); object-fit: contain; border-radius: 8px; }
.parent-attendance-lightbox figcaption { color: var(--ink); font-weight: 900; text-align: center; }

.parent-class-result-modal {
  width: min(820px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}

.parent-class-result-modal::backdrop { background: rgba(11, 18, 32, .72); }
.parent-class-result-modal header h2,
.parent-class-result-modal header p { margin: 0; }
.parent-class-result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.parent-class-result-grid article { display: grid; gap: 4px; border: 2px solid #d8edf3; border-radius: 8px; padding: 12px; background: #f7fcfe; }
.parent-class-result-grid span,
.parent-class-result-grid small { color: var(--muted); font-size: .76rem; font-weight: 900; }
.parent-class-result-photos { margin-top: 16px; }
.parent-class-result-photos h3 { margin: 0 0 8px; }
.parent-class-result-photos > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.parent-class-result-photos button { display: grid; gap: 6px; border: 2px solid #d8edf3; border-radius: 8px; padding: 6px; color: var(--ink); background: #fff; text-align: left; }
.parent-class-result-photos img { width: 100%; aspect-ratio: 4 / 3; border-radius: 6px; object-fit: cover; }
.parent-class-result-photos span { font-weight: 900; }
.parent-class-result-empty { border: 2px dashed #d8edf3; border-radius: 8px; padding: 14px; color: var(--muted); font-weight: 850; }

@media (max-width: 620px) {
  .parent-class-result-grid { grid-template-columns: 1fr; }
}

.parent-attendance-history.is-empty {
  border-style: dashed;
  background: #fbfdff;
}

.parent-attendance-history > header,
.parent-attendance-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.parent-attendance-history > header > span,
.parent-attendance-list article > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #08718a;
  background: #fff;
}

.parent-attendance-list {
  display: grid;
  gap: 8px;
}

.parent-attendance-list article {
  border: 2px solid #d8edf3;
  border-radius: 8px;
  padding: 9px;
  background: #fff;
}

.parent-attendance-list article.is-absence {
  border-color: #ffd3aa;
  background: #fff8ef;
}

.parent-attendance-list article.is-class_summary {
  cursor: pointer;
}

.parent-attendance-list article[data-attendance-photo] {
  cursor: pointer;
}

.parent-attendance-list article.is-class_summary:hover,
.parent-attendance-list article.is-class_summary:focus-visible,
.parent-attendance-list article[data-attendance-photo]:hover,
.parent-attendance-list article[data-attendance-photo]:focus-visible {
  border-color: #38afd0;
  background: #f1fbfe;
  outline: none;
}

.parent-attendance-list strong,
.parent-attendance-list small,
.parent-attendance-list p {
  display: block;
  margin: 0;
}

.parent-attendance-list small,
.parent-attendance-list p {
  color: var(--muted);
  font-weight: 800;
}

.parent-attendance-list p {
  margin-top: 3px;
  font-size: .84rem;
  line-height: 1.3;
}

.parent-attendance-list em {
  border-radius: 999px;
  padding: 5px 8px;
  color: #08718a;
  background: #e2f7fc;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 620px) {
  .parent-attendance-history > header,
  .parent-attendance-list article {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .parent-attendance-list em {
    grid-column: 2;
    justify-self: start;
  }
}

.parent-proof-strip.is-empty {
  border-style: dashed;
  background: #fbfdff;
}

.parent-proof-strip > header,
.parent-proof-list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.parent-proof-strip > header > span,
.parent-proof-list article > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #7a5200;
  background: #fff;
}

.parent-proof-list article > .parent-proof-thumb {
  padding: 0;
  overflow: hidden;
}

.parent-proof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.parent-proof-strip strong,
.parent-proof-strip small {
  display: block;
}

.parent-proof-strip small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 850;
}

.parent-proof-list {
  display: grid;
  gap: 8px;
}

.parent-proof-list article {
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, .72);
}

.parent-proof-list article.is-comment {
  border-color: rgba(99, 184, 130, .28);
  background: #f4fff7;
}

.parent-proof-list article.is-comment > span {
  color: #146c38;
  background: #dffbe8;
}

.parent-proof-list article.is-comment p {
  display: -webkit-box;
  max-width: 100%;
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.homework-battle-panel {
  display: grid;
  gap: 10px;
  border: 2px solid #ffd6a8;
  border-radius: 10px;
  padding: 12px;
  background: #fff8ed;
}

.homework-battle-panel header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.homework-battle-panel button,
.progress-action-row button {
  width: fit-content;
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: var(--green);
  font-weight: 950;
}

.progress-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.progress-action-row button:last-child {
  background: var(--sky);
}

.parent-policy-checklist {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.policy-check-item {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 2px solid #e1e7ef;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.policy-check-item input {
  width: 18px;
  height: 18px;
}

.policy-check-item span {
  color: var(--sky);
}

.policy-check-item.is-checked {
  border-color: rgba(47, 189, 87, .45);
  background: #f0fff5;
}

.policy-check-item.is-locked {
  color: #246b3c;
}

.policy-check-item.is-locked span {
  color: #15803d;
}

.policy-check-item.is-locked input {
  cursor: not-allowed;
  opacity: .45;
}

.message-bubble {
  padding: 12px;
}

.message-bubble.parent {
  background: #fff7fb;
  border-color: #ffd3e6;
}

.message-bubble.is-saved {
  border-color: rgba(84, 184, 208, .38);
  background: #f1fbff;
}

.parent-message-center {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.parent-message-subjects {
  display: grid;
  gap: 8px;
  max-height: 62vh;
  overflow: auto;
  border: 2px solid #dbe4ee;
  border-radius: 10px;
  padding: 8px;
  background: #f8fbfd;
}

.parent-message-subjects button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  width: 100%;
  border: 2px solid #e1e7ef;
  border-radius: 8px;
  padding: 8px;
  color: var(--ink);
  background: #fff;
  text-align: left;
}

.parent-message-subjects button > span {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 50%;
  color: #08718a;
  background: #e7f8fd;
}

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

.parent-message-subjects strong,
.parent-message-subjects small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.parent-message-subjects small {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
}

.parent-message-subjects button.is-active {
  border-color: var(--sky);
  background: #eefaff;
}

.parent-message-subjects button.is-unread strong::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.parent-message-reader {
  min-width: 0;
}

.parent-message-reader .parent-thread-card {
  margin: 0;
}

.parent-policy-gate {
  max-width: min(720px, calc(100vw - 32px));
  border: 0;
  border-radius: 14px;
  padding: 0;
  background: transparent;
}

.parent-policy-gate::backdrop {
  background: rgba(11, 18, 32, .58);
}

.parent-policy-gate-body {
  display: grid;
  gap: 14px;
  border: 3px solid var(--gold);
  border-radius: 14px;
  padding: 18px;
  background: #fffdf3;
  box-shadow: 0 18px 60px rgba(11, 18, 32, .28);
}

.parent-policy-gate-body header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.parent-policy-gate-body header > span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #8a5600;
  background: #fff1c4;
}

.parent-thread-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.parent-thread-tabs button,
.parent-thread-card footer button {
  min-height: 36px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  font-weight: 950;
  box-shadow: 0 3px 0 rgba(35, 48, 71, .12);
}

.parent-thread-tabs button.is-active {
  color: #fff;
  border-color: var(--rose);
  background: var(--rose);
}

.parent-thread-list {
  display: grid;
  gap: 10px;
}

.parent-thread-card {
  display: grid;
  gap: 10px;
  border: 2px solid #d9e3ed;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.parent-thread-card.is-open {
  border-color: rgba(84, 184, 208, .55);
  background: #f5fcff;
}

.parent-thread-card.is-resolved {
  opacity: .82;
  background: #f7f8fa;
}

.parent-thread-card header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.parent-thread-card header strong,
.parent-thread-card header span {
  display: block;
}

.parent-thread-card header span,
.parent-thread-entry strong {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.parent-thread-card em {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  color: #08718a;
  background: #e7f8fd;
  font-size: .75rem;
  font-style: normal;
  font-weight: 950;
  text-transform: uppercase;
}

.parent-thread-card details {
  border: 2px solid #e1e7ef;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.parent-thread-card summary {
  cursor: pointer;
  font-weight: 950;
  text-transform: uppercase;
}

.parent-thread-entry {
  margin-top: 8px;
  border-top: 1px solid #e1e7ef;
  padding-top: 8px;
}

.parent-thread-entry p,
.parent-thread-card p {
  margin-bottom: 0;
}

.parent-chat-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 2px solid #e1e7ef;
  border-radius: 10px;
  padding: 10px;
  background: #f8fbfd;
}

.parent-chat-log.is-scrollable {
  max-height: 280px;
  overflow: auto;
}

.parent-chat-bubble {
  max-width: min(72ch, 88%);
  border: 2px solid #d9e3ed;
  border-radius: 12px;
  padding: 9px 10px;
  background: #fff;
}

.parent-chat-bubble.from-parent {
  align-self: flex-end;
  border-color: rgba(84, 184, 208, .42);
  background: #eefaff;
}

.parent-chat-bubble.from-studio {
  align-self: flex-start;
}

.parent-chat-bubble strong {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
}

.parent-chat-bubble p {
  margin: 0;
  white-space: pre-wrap;
}

.parent-message-attachment {
  display: block;
  width: min(100%, 560px);
  max-height: 420px;
  margin-top: 9px;
  border-radius: 8px;
  object-fit: contain;
  background: #101827;
}

.parent-thread-card footer button {
  color: #fff;
  border: 0;
  background: var(--green);
}

.parent-thread-card.is-resolved footer button {
  background: var(--sky);
}

.empty-thread-note {
  border: 2px dashed #f1b6c8;
  border-radius: 8px;
  padding: 12px;
  background: #fff7fb;
}

.message-bubble strong {
  display: block;
  margin-bottom: 4px;
}

.primary-action {
  margin-top: 12px;
  background: var(--rose);
}

.parent-modal {
  width: min(920px, calc(100% - 28px));
  max-height: min(82vh, 760px);
  border: 0;
  border-radius: 14px;
  padding: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 22px 80px rgba(35, 48, 71, .28);
}

.parent-modal::backdrop {
  background: rgba(20, 26, 38, .48);
}

.parent-modal > form {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  padding: 10px;
  background: #fff;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
}

.parent-modal-body {
  display: grid;
  gap: 14px;
  padding: 0 18px 18px;
}

.parent-modal .dashboard-card {
  border: 0;
  box-shadow: none;
  padding: 0;
}

@media (max-width: 900px) {
  .parent-hero,
  .student-overview,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card,
  .billing-card,
  .message-card,
  .return-card,
  .billing-side-column,
  .payment-card,
  .market-orders-card,
  .approvals-card,
  .notices-card {
    grid-column: span 1;
  }

  .dashboard-grid.is-tabbed .billing-card:not([hidden]),
  .dashboard-grid.is-tabbed .billing-side-column:not([hidden]),
  .dashboard-grid.is-tabbed .payment-card:not([hidden]),
  .dashboard-grid.is-tabbed .discrown-card:not([hidden]),
  .dashboard-grid.is-tabbed .market-orders-card:not([hidden]) {
    grid-column: 1 / -1;
  }

  .parent-message-center {
    grid-template-columns: 1fr;
  }

  .parent-message-subjects {
    max-height: 260px;
  }
}

@media (max-width: 620px) {
  #billingHistory .mini-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  #billingHistory .mini-row > div:first-child {
    grid-column: 1 / -1;
  }

  #billingHistory .policy-row > div {
    grid-column: 1 / -1;
  }

  .billing-summary,
  .student-overview-grid,
  .parent-action-dock,
  .parent-workflow-strip,
  .parent-billing-lifecycle-steps,
  .schedule-policy-strip {
    grid-template-columns: 1fr;
  }

  .parent-market-history-summary,
  .parent-market-history-item {
    grid-template-columns: 1fr;
  }

  .parent-market-history-item em {
    justify-self: start;
  }

  .family-identity {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .teacher-filter-group button {
    min-height: 56px;
  }

  .teacher-filter-group .schedule-teacher-avatar {
    width: 46px;
    height: 46px;
  }

  .return-step-list .return-teacher-chip {
    max-width: 100%;
  }

  .parent-avatar-panel .parent-avatar-tip,
  .parent-avatar-panel small {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: stretch;
  }

  .student-profile-card header {
    align-items: flex-start;
  }

  .parent-hero {
    min-height: 0;
  }

  .payment-method-item {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .payment-method-item button,
  .no-card-exception-panel button {
    grid-column: 1 / -1;
  }

  .no-card-exception-panel {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  h1 {
    font-size: 2.55rem;
  }
}

.parent-comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.parent-comment-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  background: #20b86b;
  color: #fff;
  cursor: pointer;
  font: 800 .78rem/1 var(--font, inherit);
  padding: 9px 12px;
  text-transform: uppercase;
}

.parent-comment-actions .is-hide {
  background: #8f1f28;
}

.message-read-receipt {
  align-items: center;
  display: inline-flex;
  font-size: .76rem;
  gap: .3rem;
  margin-top: .35rem;
  opacity: .76;
}
.missed-trial-modal {
  width: min(520px, calc(100vw - 28px));
  border: 3px solid #202b3c;
  border-radius: 8px;
  padding: 0;
}

.missed-trial-modal::backdrop { background: rgba(25, 33, 47, .68); }
.missed-trial-modal > section { display: grid; gap: 14px; padding: 24px; text-align: center; }
.missed-trial-modal > section > span { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; color: #fff; background: #31a9d2; font-size: 1.45rem; }
.missed-trial-modal h2, .missed-trial-modal p { margin: 0; }
.missed-trial-modal button { min-height: 44px; }
.schedule-closure-card footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.schedule-closure-card footer button {
  min-height: 38px;
  border: 1px solid #cbd8e5;
  border-radius: 7px;
  background: #fff;
  color: #243247;
  font-weight: 800;
  padding: 8px 12px;
}

.parent-cancellation-alert {
  width: min(520px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 18px 48px rgba(20, 32, 48, .28);
}

.parent-cancellation-alert::backdrop {
  background: rgba(22, 30, 42, .7);
}

.parent-cancellation-alert > section {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  border-top: 7px solid #ff3347;
}

.parent-cancellation-alert-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #ffe8ec;
  color: #d71935;
  font-size: 26px;
}

.parent-cancellation-alert h2,
.parent-cancellation-alert p {
  margin: 0;
}

.parent-cancellation-alert button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: #20a86b;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 5px 0 #14784b;
}
.schedule-request-receipt {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 2px solid #8ed8b0;
  border-radius: 8px;
  background: #effcf5;
}

.schedule-request-receipt > i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #24b96b;
}

.schedule-request-receipt > div { display: grid; gap: 4px; }
.makeup-opening-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e4b846;
  border-radius: 6px;
  background: #fff8dc;
  color: #273449;
}

.makeup-opening-note > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #f5c84c;
  color: #273449;
}

.makeup-opening-note span,
.makeup-opening-note strong,
.makeup-opening-note small {
  display: block;
  min-width: 0;
}

.makeup-opening-note small {
  margin-top: 2px;
  line-height: 1.35;
  color: #596579;
}
.parent-events-card{grid-column:1/-1}.parent-event-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}.parent-event-card{border:1px solid #d7e1eb;background:#fff;display:grid;grid-template-columns:68px 1fr;gap:12px;padding:12px}.parent-event-card>img,.parent-event-card>span{width:68px;height:68px;object-fit:cover;display:grid;place-items:center;background:#e9f8fc;color:#087ca7}.parent-event-card>div{display:flex;flex-direction:column;min-width:0}.parent-event-card small{text-transform:uppercase;color:#ff2d3d;font-weight:800}.parent-event-card strong{font-size:19px}.parent-event-card b,.parent-event-card em{font-style:normal;color:#697487}.parent-event-card p{grid-column:1/-1;margin:6px 0}.parent-event-card>a{grid-column:1/-1;justify-self:end}

.private-family-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.private-family-summary article{display:grid;gap:4px;padding:14px;border:1px solid #cddae7;border-radius:6px;background:#fff}.private-family-summary small{color:#68758a;font-weight:800;text-transform:uppercase}.private-family-summary strong{font-size:18px}.private-family-summary .has-roc{border-color:#e3a51a;background:#fff8df}.private-family-schedule{display:grid;gap:14px}.private-family-schedule>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.private-family-schedule h3,.private-family-schedule p{margin:0}.private-family-schedule>header>span{padding:8px 10px;border:1px solid #9dd7e8;border-radius:6px;background:#edfaff;color:#086d8d;font-weight:900}.private-family-session-list{display:grid;gap:8px}.private-family-session{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border:1px solid #cddae7;border-left:4px solid #20a86b;border-radius:6px;background:#fff}.private-family-session>span{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#e8f9f0;color:#158752}.private-family-session>div{display:grid;gap:3px;min-width:0}.private-family-session small{color:#68758a}.private-family-session>b{color:#16784d;text-align:right}.private-family-session.is-complete{border-left-color:#168fb5}.private-family-session.is-canceled{border-left-color:#d94a4a;background:#fff7f7}.private-family-session.is-canceled>span{background:#ffe9e9;color:#bc2929}.private-family-session.is-canceled>b{color:#a62d2d}.private-family-empty{padding:18px;border:1px dashed #b8c7d5;border-radius:6px;color:#68758a}.private-family-policy{border-top:1px solid #d7e1eb;padding-top:12px}.private-family-policy summary{cursor:pointer;font-weight:900;color:#243249}.private-family-policy p{margin-top:10px;line-height:1.55;color:#526078;white-space:pre-line}@media(max-width:720px){.private-family-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.private-family-session{grid-template-columns:38px minmax(0,1fr)}.private-family-session>b{grid-column:2;text-align:left}.private-family-schedule>header{display:grid}.private-family-schedule>header>span{justify-self:start}}
.private-family-session.is-payment-hold{border-left-color:#e0a11b;background:#fff9e8}.private-family-session.is-payment-hold>span{background:#fff0be;color:#916100}.private-family-session.is-payment-hold>b{color:#805800}
