:root {
  --text-body: 15px;
  --ink: #16352e;
  --ink-soft: #49625b;
  --paper: #f5f1e8;
  --paper-deep: #ebe5d8;
  --card: #fffdf8;
  --white: #ffffff;
  --line: #dcd7cb;
  --green: #1e5749;
  --green-mid: #3a7565;
  --mint: #cfe2d6;
  --mint-pale: #e8f0ea;
  --coral: #df704b;
  --coral-dark: #b8492c;
  --sun: #f3c765;
  --blue: #8ab7ce;
  --shadow: 0 20px 55px rgba(38, 54, 45, 0.09);
  --shadow-soft: 0 8px 24px rgba(38, 54, 45, 0.07);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --sidebar: 272px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% -5%, rgba(243, 199, 101, 0.16), transparent 31rem),
    var(--paper);
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-size: var(--text-body);
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(223, 112, 75, 0.28);
  outline-offset: 2px;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  padding: 28px 18px 18px;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #f9f4e9;
  z-index: 30;
  overflow-y: auto;
  scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.brand-block {
  padding: 0 10px 24px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand {
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fffdf7;
  font-family: "Alegreya", serif;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
}

.brand-dot {
  color: var(--sun);
}

.brand-mark {
  position: relative;
  width: 29px;
  height: 31px;
  display: inline-block;
  transform: rotate(-5deg);
}

.brand-mark i {
  position: absolute;
  width: 18px;
  height: 24px;
  border-radius: 70% 30% 65% 35%;
  background: var(--sun);
  transform: rotate(28deg);
}

.brand-mark i:last-child {
  right: 0;
  bottom: 0;
  background: var(--coral);
  transform: rotate(118deg) scale(0.8);
}

.prototype-label {
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.facility-switcher {
  min-height: 66px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
}

.facility-avatar,
.user-avatar,
.parent-preview-icon {
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 700;
}

.facility-avatar {
  width: 38px;
  height: 38px;
  background: var(--mint);
  color: var(--ink);
  font-family: "Alegreya", serif;
}

.facility-switcher strong,
.facility-switcher small,
.user-card strong,
.user-card small,
.parent-preview strong,
.parent-preview small {
  display: block;
}

.facility-switcher strong,
.user-card strong {
  font-size: 14px;
}

.facility-switcher small,
.user-card small,
.parent-preview small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 13px;
}

.chevron {
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
}

.main-nav {
  padding: 24px 0;
}

.nav-caption {
  margin: 0 12px 9px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-caption-spaced {
  margin-top: 25px;
}

.nav-item {
  position: relative;
  width: 100%;
  min-height: 45px;
  margin: 3px 0;
  padding: 0 12px;
  border: 0;
  border-radius: 13px;
  display: grid;
  grid-template-columns: 25px 1fr auto;
  gap: 7px;
  align-items: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 180ms ease;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.nav-item.is-active {
  background: #f7f1e5;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
}

.nav-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 16px;
}

.nav-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 4px rgba(243, 199, 101, 0.1);
}

.sidebar-footer {
  margin-top: auto;
}

.parent-preview {
  width: 100%;
  padding: 11px;
  border: 1px solid rgba(243, 199, 101, 0.24);
  border-radius: 15px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  background: rgba(243, 199, 101, 0.07);
  color: white;
  text-align: left;
  cursor: pointer;
}

.parent-preview:hover {
  background: rgba(243, 199, 101, 0.12);
}

.staff-preview {
  margin-bottom: 8px;
  border-color: rgba(207, 226, 214, 0.2);
  background: rgba(207, 226, 214, 0.055);
}

.staff-preview .parent-preview-icon {
  background: var(--mint);
}

.parent-preview-icon {
  width: 34px;
  height: 34px;
  background: var(--sun);
  color: var(--ink);
  font-family: "Alegreya", serif;
}

.parent-preview strong {
  font-size: 14px;
}

.user-card {
  margin-top: 13px;
  padding: 12px 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
}

.user-avatar {
  width: 34px;
  height: 34px;
  background: var(--coral);
  color: white;
  font-size: 13px;
}

.icon-button {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.main-column {
  min-height: 100vh;
  margin-left: var(--sidebar);
}

.topbar {
  position: sticky;
  top: 0;
  height: 68px;
  padding: 0 38px;
  border-bottom: 1px solid rgba(73, 98, 91, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(16px);
  z-index: 20;
}

.topbar-context,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.topbar-context {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #55a26f;
  box-shadow: 0 0 0 5px rgba(85, 162, 111, 0.12);
}

.topbar-divider {
  width: 1px;
  height: 15px;
  background: var(--line);
}

.quiet-button,
.notification-button,
.menu-button {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
  cursor: pointer;
}

.quiet-button {
  padding: 9px 13px;
  border-radius: 11px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.quiet-button:hover {
  border-color: var(--green-mid);
  background: white;
}

.notification-button,
.menu-button {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.notification-button span {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--coral);
}

.menu-button {
  display: none;
}

.page-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 38px;
}

.page-enter {
  animation: page-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-heading {
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1,
h2,
.display-font {
  font-family: "Alegreya", serif;
}

h1 {
  max-width: 720px;
  margin-bottom: 3px;
  font-size: clamp(32px, 4vw, 49px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  margin-bottom: 5px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 14px;
}

.subtitle {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.primary-button,
.secondary-button,
.text-button,
.small-button,
.danger-button {
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: 170ms ease;
}

.primary-button {
  padding: 12px 17px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: 0 8px 17px rgba(22, 53, 46, 0.16);
}

.primary-button:hover {
  transform: translateY(-1px);
  background: #0c2a23;
}

.secondary-button {
  padding: 11px 15px;
  border: 1px solid var(--line);
  background: var(--card);
}

.secondary-button:hover {
  border-color: var(--green-mid);
}

.danger-button {
  padding: 11px 15px;
  border: 1px solid #e7c1b5;
  background: #fff5f1;
  color: var(--coral-dark);
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--coral-dark);
  font-size: 14px;
}

.small-button {
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: white;
  font-size: 13px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 19px;
}

.day-hero {
  position: relative;
  min-height: 254px;
  padding: 31px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--green);
  color: white;
  box-shadow: var(--shadow);
}

.day-hero::before,
.day-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.day-hero::before {
  width: 290px;
  height: 290px;
  right: -90px;
  top: -120px;
  border: 58px solid rgba(243, 199, 101, 0.16);
}

.day-hero::after {
  width: 150px;
  height: 150px;
  right: 120px;
  bottom: -100px;
  background: var(--coral);
  opacity: 0.8;
}

.day-hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.day-hero .eyebrow {
  color: var(--sun);
}

.day-hero h2 {
  max-width: 530px;
  margin: 10px 0 13px;
  font-size: clamp(26px, 3vw, 37px);
}

.day-hero p {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.hero-actions {
  margin-top: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.day-hero .primary-button {
  border-color: var(--sun);
  background: var(--sun);
  color: var(--ink);
}

.day-hero .secondary-button {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.attention-card {
  padding: 24px;
  border: 1px solid rgba(223, 112, 75, 0.18);
  border-radius: var(--radius-lg);
  background: #fff8f1;
  box-shadow: var(--shadow-soft);
}

.attention-card-header {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.attention-count {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: white;
  font-size: 14px;
  font-weight: 800;
}

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

.attention-item {
  width: 100%;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid rgba(223, 112, 75, 0.15);
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.attention-item:last-child {
  border-bottom: 0;
}

.attention-symbol {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: white;
  color: var(--coral-dark);
  font-weight: 800;
}

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

.attention-item strong {
  font-size: 14px;
}

.attention-item small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 13px;
}

.metrics-grid {
  margin: 19px 0 31px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.metric-card {
  min-height: 114px;
  padding: 19px;
  border: 1px solid rgba(73, 98, 91, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 248, 0.72);
}

.metric-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.metric-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--mint-pale);
}

.metric-value {
  margin: 10px 0 1px;
  font-family: "Alegreya", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.metric-note {
  color: var(--ink-soft);
  font-size: 13px;
}

.section-header {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-header h2 {
  font-size: 23px;
}

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

.group-card {
  position: relative;
  min-height: 246px;
  padding: 23px;
  border: 1px solid rgba(73, 98, 91, 0.13);
  border-radius: 23px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.group-card::before {
  content: "";
  position: absolute;
  width: 95px;
  height: 95px;
  right: -42px;
  top: -45px;
  border-radius: 50%;
  background: var(--group-color, var(--mint));
  opacity: 0.65;
}

.group-header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.group-name {
  display: flex;
  align-items: center;
  gap: 11px;
}

.group-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px 14px 14px 4px;
  display: grid;
  place-items: center;
  background: var(--group-color, var(--mint));
  font-size: 19px;
}

.group-name h3 {
  margin: 0;
  font-family: "Alegreya", serif;
  font-size: 18px;
}

.group-name small {
  color: var(--ink-soft);
  font-size: 13px;
}

.progress-label {
  color: var(--ink-soft);
  font-size: 13px;
  text-align: right;
}

.progress-label strong {
  display: block;
  color: var(--ink);
  font-family: "Alegreya", serif;
  font-size: 18px;
}

.mini-progress {
  height: 6px;
  margin: 19px 0 16px;
  border-radius: 999px;
  background: var(--paper-deep);
  overflow: hidden;
}

.mini-progress span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--green-mid);
}

.avatar-row {
  display: flex;
  align-items: center;
}

.child-avatar {
  width: 34px;
  height: 34px;
  margin-right: -6px;
  border: 3px solid var(--card);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--avatar, var(--sun));
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.group-footer {
  margin-top: 19px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.group-footer-note {
  color: var(--ink-soft);
  font-size: 13px;
}

.group-footer-note strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.content-card {
  padding: 24px;
  border: 1px solid rgba(73, 98, 91, 0.13);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.filter-chip:hover:not(.is-active) {
  border-color: var(--green-mid);
  background: var(--mint-pale);
  color: var(--ink);
}

[role="button"]:focus-visible {
  outline: 3px solid rgba(223, 112, 75, 0.28);
  outline-offset: 3px;
}

.children-list,
.pickup-grid,
.thread-list,
.quality-list {
  display: grid;
  gap: 11px;
}

.children-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.child-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  cursor: pointer;
  transition: 160ms ease;
}

.child-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-mid);
  box-shadow: var(--shadow-soft);
}

.child-card-top {
  display: flex;
  gap: 11px;
  align-items: center;
}

.child-card .child-avatar {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  margin: 0;
  border: 0;
}

.child-card h3 {
  margin: 0;
}

.child-card small {
  color: var(--ink-soft);
  font-size: 13px;
}

.child-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag,
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.tag {
  padding: 5px 8px;
  background: var(--paper);
  color: var(--ink-soft);
}

.status-tag {
  padding: 6px 9px;
  background: var(--mint-pale);
  color: var(--green);
}

.status-tag.picked {
  background: var(--paper-deep);
  color: var(--ink-soft);
}

.pickup-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pickup-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 19px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  background: white;
}

.pickup-card.is-picked {
  opacity: 0.62;
  background: rgba(255, 255, 255, 0.55);
}

.pickup-card .child-avatar {
  width: 44px;
  height: 44px;
  margin: 0;
  border: 0;
}

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

.pickup-card p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

.quality-layout,
.messages-layout,
.billing-layout,
.parent-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.7fr);
  gap: 18px;
}

.quality-progress-card {
  padding: 27px;
  border-radius: 24px;
  background: var(--ink);
  color: white;
}

.quality-ring {
  position: relative;
  width: 122px;
  height: 122px;
  margin: 8px auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--sun) calc(var(--progress) * 1%), rgba(255,255,255,.1) 0);
}

.quality-ring::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--ink);
}

.quality-ring span {
  position: relative;
  z-index: 1;
  font-family: "Alegreya", serif;
  font-size: 27px;
  font-weight: 700;
}

.quality-progress-card p {
  color: rgba(255,255,255,.64);
  font-size: 13px;
  text-align: center;
}

.quality-progress-card .primary-button {
  width: 100%;
  margin-top: 12px;
  border-color: var(--sun);
  background: var(--sun);
  color: var(--ink);
}

.quality-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  background: white;
}

.quality-check {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--card);
  color: transparent;
  cursor: pointer;
}

.quality-item.is-done .quality-check {
  border-color: var(--green-mid);
  background: var(--green-mid);
  color: white;
}

.quality-item h3,
.quality-item p {
  margin: 0;
}

.quality-item p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

.due-date {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
}

.thread-list {
  gap: 0;
}

.thread-item {
  padding: 16px 5px;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 41px 1fr auto;
  gap: 11px;
  align-items: center;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.thread-item:last-child {
  border-bottom: 0;
}

.thread-avatar {
  width: 41px;
  height: 41px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--mint-pale);
  font-weight: 800;
  font-size: 13px;
}

.thread-item h3,
.thread-item p {
  margin: 0;
}

.thread-item p {
  max-width: 520px;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.thread-item time {
  color: var(--ink-soft);
  font-size: 12px;
}

.notice-preview {
  position: sticky;
  top: 90px;
}

.notice-preview-block {
  padding: 21px;
  border-radius: 18px;
  background: var(--mint-pale);
}

.notice-preview-block .eyebrow {
  color: var(--green-mid);
}

.notice-preview-block h3 {
  font-family: "Alegreya", serif;
  font-size: 19px;
}

.notice-preview-block p {
  color: var(--ink-soft);
  font-size: 13px;
}

.billing-number {
  margin: 8px 0;
  font-family: "Alegreya", serif;
  font-size: 42px;
  font-weight: 700;
}

.billing-bars {
  height: 150px;
  margin-top: 25px;
  display: flex;
  align-items: flex-end;
  gap: 13px;
}

.billing-bar {
  flex: 1;
  min-width: 20px;
  border-radius: 8px 8px 3px 3px;
  background: var(--mint);
}

.billing-bar:nth-child(5),
.billing-bar:nth-child(6) {
  background: var(--coral);
}

.parent-page {
  max-width: 1040px;
  margin: 0 auto;
}

.parent-hero {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  background: #f2c76c;
  overflow: hidden;
}

.parent-hero::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -60px;
  bottom: -105px;
  border: 45px solid rgba(255,255,255,.32);
  border-radius: 50%;
}

.parent-hero h1 {
  max-width: 540px;
  font-size: 39px;
}

.parent-hero-status {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.56);
  font-size: 13px;
  font-weight: 800;
}

.timeline {
  position: relative;
  padding-left: 25px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 21px 12px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 4px;
  width: 10px;
  height: 10px;
  border: 3px solid var(--card);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 1px var(--coral);
}

.timeline-item time {
  color: var(--coral-dark);
  font-size: 13px;
  font-weight: 800;
}

.timeline-item h3 {
  margin: 2px 0;
}

.timeline-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.parent-side-stack {
  display: grid;
  gap: 14px;
}

.mini-card {
  padding: 20px;
  border-radius: 19px;
  background: var(--card);
  border: 1px solid var(--line);
}

.mini-card.accent {
  border: 0;
  background: var(--green);
  color: white;
}

.mini-card h3 {
  margin-bottom: 8px;
}

.mini-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.mini-card.accent p {
  color: rgba(255,255,255,.68);
}

.modal {
  width: min(740px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 25px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(11, 31, 25, 0.3);
  overflow: hidden;
}

.modal::backdrop {
  background: rgba(10, 29, 24, 0.54);
  backdrop-filter: blur(5px);
}

.modal[open] {
  animation: modal-in 220ms ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
  padding: 24px 25px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.modal-header h2 {
  margin: 0;
}

.modal-header p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.close-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
}

.modal-body {
  max-height: calc(100vh - 210px);
  padding: 20px 25px;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 25px 21px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  background: rgba(245, 241, 232, 0.5);
}

.bulk-actions {
  margin-bottom: 13px;
  padding: 11px 13px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--mint-pale);
  font-size: 13px;
  font-weight: 700;
}

.daily-child-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.1fr;
  gap: 15px;
  align-items: center;
}

.daily-child-row:last-child {
  border-bottom: 0;
}

.daily-child-name {
  display: flex;
  align-items: center;
  gap: 9px;
}

.daily-child-name .child-avatar {
  width: 34px;
  height: 34px;
  margin: 0;
  border: 0;
}

.daily-child-name strong,
.daily-child-name small {
  display: block;
}

.daily-child-name strong {
  font-size: 13px;
}

.daily-child-name small {
  color: var(--ink-soft);
  font-size: 12px;
}

.option-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.segmented {
  display: flex;
  gap: 4px;
}

.segment {
  flex: 1;
  min-height: 32px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font-size: 13px;
  cursor: pointer;
}

.segment.is-selected {
  border-color: var(--green);
  background: var(--green);
  color: white;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  color: var(--ink);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.pickup-code {
  margin: 18px auto;
  display: grid;
  grid-template-columns: repeat(4, 52px);
  justify-content: center;
  gap: 8px;
}

.pickup-code span {
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--paper);
  font-family: "Alegreya", serif;
  font-size: 25px;
  font-weight: 700;
}

.person-choice {
  width: 100%;
  margin: 7px 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  text-align: left;
  cursor: pointer;
}

.person-choice.is-selected {
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.person-choice strong,
.person-choice small {
  display: block;
}

.person-choice small {
  color: var(--ink-soft);
  font-size: 12px;
}

.empty-illustration {
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;
  border-radius: 50% 50% 45% 55%;
  display: grid;
  place-items: center;
  background: var(--mint-pale);
  color: var(--green);
  font-family: "Alegreya", serif;
  font-size: 35px;
  transform: rotate(-5deg);
}

.centered-modal {
  padding: 20px;
  text-align: center;
}

.toast {
  position: fixed;
  right: 26px;
  bottom: 26px;
  min-width: 220px;
  padding: 13px 16px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: white;
  box-shadow: 0 18px 50px rgba(14, 38, 31, .28);
  transform: translateY(25px);
  opacity: 0;
  pointer-events: none;
  z-index: 80;
  transition: 220ms ease;
  font-size: 14px;
  font-weight: 700;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-check {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sun);
  color: var(--ink);
}

.mobile-overlay {
  display: none;
}

.close-day-strip {
  margin-top: 19px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 253, 248, .66);
}

.close-day-strip > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.close-day-strip strong,
.close-day-strip small {
  display: block;
}

.close-day-strip small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 13px;
}

.close-day-strip.is-closed {
  border-color: rgba(58, 117, 101, .25);
  background: var(--mint-pale);
}

.close-day-symbol {
  width: 37px;
  height: 37px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--sun);
  font-family: "Alegreya", serif;
  font-size: 18px;
}

.arrival-summary,
.meal-summary,
.staff-overview {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.arrival-summary article {
  min-height: 88px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--card);
}

.arrival-summary strong,
.arrival-summary small {
  display: block;
}

.arrival-summary small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 13px;
}

.summary-orb {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50% 50% 44% 56%;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  font-family: "Alegreya", serif;
  font-size: 20px;
  font-weight: 700;
}

.summary-orb.green { background: var(--mint); }
.summary-orb.coral { background: #f4c8b9; }
.summary-orb.sun { background: #f8dfaa; }

.data-table {
  width: 100%;
  display: grid;
}

.data-row {
  min-height: 62px;
  padding: 9px 4px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(210px, 1.6fr) minmax(90px, .7fr) minmax(120px, .8fr) minmax(100px, .7fr) auto;
  gap: 13px;
  align-items: center;
  font-size: 13px;
}

.data-row:last-child {
  border-bottom: 0;
}

.data-head {
  min-height: 38px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.table-person {
  display: flex;
  align-items: center;
  gap: 9px;
}

.table-person .child-avatar {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  margin: 0;
  border: 0;
}

.table-person strong,
.table-person small {
  display: block;
}

.table-person small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
}

.status-tag.alert {
  background: #fff0e9;
  color: var(--coral-dark);
}

.status-tag.waiting {
  background: #fbf0cf;
  color: #775b19;
}

.caregiver-page {
  max-width: 1040px;
  margin: 0 auto;
}

.caregiver-layout {
  display: grid;
  grid-template-columns: minmax(350px, 470px) minmax(290px, 1fr);
  gap: 28px;
  align-items: start;
}

.care-phone {
  padding: 15px 18px 24px;
  border: 8px solid var(--ink);
  border-radius: 42px;
  background: var(--card);
  box-shadow: 0 30px 70px rgba(22, 53, 46, .16);
}

.phone-top {
  padding: 2px 5px 13px;
  display: flex;
  justify-content: space-between;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.care-greeting {
  padding: 17px 3px 11px;
}

.care-greeting h2 {
  font-size: 29px;
}

.care-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.care-quick-grid button {
  min-height: 105px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 17px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: space-between;
  background: var(--paper);
  text-align: left;
  cursor: pointer;
}

.care-quick-grid button:nth-child(4) {
  border-color: #efc4b6;
  background: #fff4ee;
}

.care-quick-grid button > span {
  width: 29px;
  height: 29px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: white;
  font-weight: 800;
}

.care-quick-grid strong,
.care-quick-grid small {
  display: block;
  grid-column: 1 / -1;
}

.care-quick-grid small {
  color: var(--ink-soft);
  font-size: 12px;
}

.care-list {
  margin-top: 22px;
}

.care-list-head {
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.care-child {
  width: 100%;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 9px;
  align-items: center;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.care-child .child-avatar {
  width: 36px;
  height: 36px;
  margin: 0;
  border: 0;
}

.care-child strong,
.care-child small {
  display: block;
}

.care-child small {
  color: var(--ink-soft);
  font-size: 12px;
}

.caregiver-tips {
  display: grid;
  gap: 13px;
}

.activity-mini {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  font-size: 13px;
}

.activity-mini span {
  color: var(--coral-dark);
  font-weight: 800;
}

.activity-mini small { grid-column: 2; color: var(--ink-soft); font-size: 12px; }

.journal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, .65fr);
  gap: 18px;
}

.journal-side {
  display: grid;
  align-content: start;
  gap: 13px;
}

.schedule-list {
  display: grid;
  gap: 9px;
}

.schedule-item {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  background: white;
  text-align: left;
  cursor: pointer;
}

.schedule-item time {
  color: var(--coral-dark);
  font-family: "Alegreya", serif;
  font-size: 17px;
  font-weight: 700;
}

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

.schedule-item small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 12px;
}

.schedule-item.done > span:last-child {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mint-pale);
  color: var(--green);
}

.schedule-item.pending {
  border-style: dashed;
  background: #fffbf3;
}

.program-card h2 {
  margin: 6px 0;
  font-size: 42px;
}

.meal-summary .content-card,
.staff-overview .content-card {
  min-height: 128px;
}

.meal-summary h2,
.staff-overview h2 {
  margin-top: 7px;
  font-size: 27px;
}

.meal-publishing-card .section-header { align-items: flex-end; }
.meal-publishing-card .section-copy { max-width: 620px; margin: 5px 0 0; color: var(--ink-soft); font-size: 13px; }

.menu-list {
  display: grid;
  gap: 9px;
}

.menu-item {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: grid;
  grid-template-columns: 58px 1fr auto auto;
  gap: 14px;
  align-items: center;
  background: white;
}

.menu-item.meal-publish-row { grid-template-columns: 58px 62px minmax(0, 1fr) auto auto; }
.meal-row-photo {
  width: 58px;
  height: 48px;
  border: 1px dashed #b9c4bf;
  border-radius: 12px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--mint-pale);
  color: var(--green-mid);
  font-size: 18px;
  font-weight: 700;
}
.meal-row-photo.has-photo { border-style: solid; }
.meal-row-photo img { width: 100%; height: 100%; object-fit: cover; }
.meal-publish-status { display: inline-flex; margin-top: 7px; padding: 4px 7px; border-radius: 99px; background: var(--paper); color: var(--ink-soft); font-size: 12px; font-style: normal; font-weight: 700; }
.meal-publish-status.is-published { background: var(--mint-pale); color: var(--green); }

.menu-item time {
  color: var(--coral-dark);
  font-family: "Alegreya", serif;
  font-size: 16px;
  font-weight: 700;
}

.menu-item strong,
.menu-item small,
.portion-count strong,
.portion-count small {
  display: block;
}

.menu-item small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
}

.portion-count {
  min-width: 46px;
  text-align: center;
}

.portion-count strong {
  font-family: "Alegreya", serif;
  font-size: 19px;
}

.recruitment-stats {
  margin-bottom: 18px;
  padding: 18px 22px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  color: white;
}

.recruitment-stats span {
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.13);
}

.recruitment-stats span:first-child { padding-left: 0; }
.recruitment-stats span:last-child { border-right: 0; }
.recruitment-stats strong,
.recruitment-stats small { display: block; }
.recruitment-stats strong { font-family: "Alegreya", serif; font-size: 24px; }
.recruitment-stats small { color: rgba(255,255,255,.58); font-size: 12px; }

.kanban {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 13px;
  overflow-x: auto;
}

.kanban-column {
  min-height: 380px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, .58);
}

.kanban-head {
  padding: 4px 4px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.kanban-head span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  font-size: 12px;
}

.candidate-card {
  width: 100%;
  margin-bottom: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 9px;
  align-items: center;
  background: white;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(22, 53, 46, .04);
}

.candidate-avatar,
.staff-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mint-pale);
  font-size: 13px;
  font-weight: 800;
}

.candidate-card strong,
.candidate-card small {
  display: block;
}

.candidate-card small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
}

.kanban-add {
  width: 100%;
  padding: 11px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.staff-table .data-row {
  grid-template-columns: minmax(190px, 1.3fr) minmax(150px, 1fr) minmax(100px, .7fr) minmax(110px, .7fr) auto;
}

.notice-inline {
  margin-top: 16px;
  padding: 13px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--mint-pale);
}

.notice-inline.important {
  background: #fff0e9;
}

.notice-inline > span:first-child {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: white;
  font-weight: 800;
}

.notice-inline strong,
.notice-inline small {
  display: block;
}

.notice-inline small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
}

.kiosk-preview {
  max-width: 390px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 25px;
  background: var(--ink);
  color: white;
}

.kiosk-preview .brand-mark {
  margin-bottom: 16px;
}

.kiosk-preview .eyebrow { color: var(--sun); }
.kiosk-preview small { display: block; margin-top: 19px; color: rgba(255,255,255,.55); font-size: 12px; }

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

.closing-item {
  padding: 14px;
  border: 1px solid #efc4b6;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 11px;
  background: #fff7f3;
}

.closing-item > span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--coral);
  color: white;
  font-weight: 800;
}

.closing-item.done {
  border-color: #c9ded2;
  background: var(--mint-pale);
}

.closing-item.done > span { background: var(--green-mid); }
.closing-item strong,
.closing-item small { display: block; }
.closing-item small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }

.primary-button:disabled {
  border-color: var(--line);
  background: var(--paper-deep);
  color: #8a918d;
  box-shadow: none;
  cursor: not-allowed;
}

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

.selection-child {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: grid;
  grid-template-columns: 33px 1fr auto;
  gap: 7px;
  align-items: center;
  background: white;
  text-align: left;
  cursor: pointer;
}

.selection-child .child-avatar { width: 32px; height: 32px; margin: 0; border: 0; }
.selection-child > span:last-child { color: transparent; }
.selection-child.is-selected { border-color: var(--green-mid); background: var(--mint-pale); }
.selection-child.is-selected > span:last-child { color: var(--green); }

.process-steps {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.process-steps span {
  padding: 8px 5px;
  border-radius: 9px;
  background: var(--paper-deep);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.process-steps .done { background: var(--mint-pale); color: var(--green); }
.process-steps .active { background: var(--sun); color: var(--ink); }

.consent-list {
  display: grid;
  gap: 9px;
}

.consent-list article {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
}

.consent-list article.pending { border-color: #efc4b6; background: #fff8f4; }
.consent-list strong,
.consent-list small { display: block; }
.consent-list small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }

.parent-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.parent-actions button {
  min-height: 94px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 30px 1fr;
  align-content: center;
  gap: 2px 8px;
  background: var(--card);
  text-align: left;
  cursor: pointer;
}

.parent-actions button > span {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--mint-pale);
  font-weight: 800;
}

.parent-actions strong,
.parent-actions small { display: block; }
.parent-actions strong { font-size: 13px; }
.parent-actions small { color: var(--ink-soft); font-size: 12px; }

.parent-meal-gallery {
  position: relative;
  margin-top: 18px;
  padding: 23px;
  border: 1px solid rgba(58, 117, 101, .18);
  border-radius: 21px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(243, 199, 101, .28), transparent 19rem),
    #edf4ee;
}
.parent-meal-gallery::after { content: ""; position: absolute; right: -35px; bottom: -55px; width: 130px; height: 130px; border: 23px solid rgba(255,255,255,.42); border-radius: 50%; pointer-events: none; }
.parent-meal-heading { position: relative; z-index: 1; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.parent-meal-heading h2 { margin-bottom: 3px; }
.parent-meal-heading p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--ink-soft); font-size: 13px; }
.meal-trust-chip { flex: 0 0 auto; padding: 7px 10px; border-radius: 99px; background: rgba(255,255,255,.75); color: var(--green); font-size: 12px; font-weight: 800; }
.parent-meal-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.parent-meal-grid:has(.parent-meal-card:only-child) { grid-template-columns: minmax(0, 680px); }
.parent-meal-card {
  min-height: 164px;
  padding: 0;
  border: 0;
  border-radius: 17px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 30px;
  align-items: center;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-soft);
  text-align: left;
  cursor: pointer;
  transition: transform 170ms ease, box-shadow 170ms ease;
}
.parent-meal-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(38,54,45,.12); }
.parent-meal-card > b { font-size: 17px; transition: transform 170ms ease; }
.parent-meal-card:hover > b { transform: translateX(3px); }
.parent-meal-photo { position: relative; align-self: stretch; min-height: 164px; overflow: hidden; }
.parent-meal-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18,38,32,.36)); }
.parent-meal-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.parent-meal-photo i { position: absolute; z-index: 1; left: 11px; bottom: 10px; padding: 5px 8px; border-radius: 99px; background: rgba(22,53,46,.82); color: white; font-size: 12px; font-style: normal; font-weight: 800; backdrop-filter: blur(6px); }
.parent-meal-copy { padding: 18px; }
.parent-meal-copy small,
.parent-meal-copy strong,
.parent-meal-copy span,
.parent-meal-copy em { display: block; }
.parent-meal-copy small { color: var(--coral-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.parent-meal-copy strong { margin-top: 5px; font-family: "Alegreya", serif; font-size: 20px; line-height: 1.12; }
.parent-meal-copy span { margin-top: 10px; color: var(--ink); font-size: 13px; font-weight: 800; }
.parent-meal-copy em { margin-top: 5px; color: var(--green-mid); font-size: 12px; font-style: normal; }
.parent-meal-empty { position: relative; z-index: 1; min-height: 110px; padding: 19px; border: 1px dashed rgba(58,117,101,.35); border-radius: 16px; display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.48); }
.parent-meal-empty > span { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center; background: var(--green); color: var(--sun); font-size: 19px; }
.parent-meal-empty p { margin: 3px 0 0; color: var(--ink-soft); font-size: 13px; }

.pilot-nav-badge {
  background: var(--sun);
  color: var(--ink);
}

.pilot-hero {
  position: relative;
  min-height: 220px;
  margin-bottom: 18px;
  padding: 30px 32px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 110px minmax(250px, .8fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 110%, rgba(243, 199, 101, .25), transparent 18rem),
    var(--green);
  color: white;
}

.pilot-hero::after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -180px;
  top: -170px;
  border: 58px solid rgba(207, 226, 214, .12);
  border-radius: 50%;
}

.pilot-progress-copy,
.pilot-day-marker,
.pilot-next {
  position: relative;
  z-index: 1;
}

.pilot-progress-copy .eyebrow { color: var(--sun); }
.pilot-progress-copy h2 { max-width: 560px; margin-bottom: 9px; font-size: 31px; }
.pilot-progress-copy p:not(.eyebrow) { max-width: 610px; margin-bottom: 20px; color: rgba(255,255,255,.72); font-size: 14px; }

.pilot-progress-track {
  width: min(520px, 100%);
  height: 7px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255,255,255,.13);
}

.pilot-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sun);
}

.pilot-day-marker {
  min-height: 116px;
  border-left: 1px solid rgba(255,255,255,.16);
  border-right: 1px solid rgba(255,255,255,.16);
  display: grid;
  place-items: center;
  align-content: center;
}

.pilot-day-marker span,
.pilot-day-marker small { color: rgba(255,255,255,.58); font-size: 13px; font-weight: 700; }
.pilot-day-marker strong { font-family: "Alegreya", serif; font-size: 53px; line-height: .95; }

.pilot-next {
  min-height: 124px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 15px;
  display: block;
  background: rgba(255,255,255,.08);
  color: white;
  text-align: left;
  cursor: pointer;
  transition: 180ms ease;
}

.pilot-next:hover { background: rgba(255,255,255,.13); transform: translateY(-2px); }
.pilot-next span,
.pilot-next strong,
.pilot-next small { display: block; }
.pilot-next span { margin-bottom: 9px; color: var(--sun); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pilot-next strong { line-height: 1.35; }
.pilot-next small { margin-top: 9px; color: rgba(255,255,255,.62); font-size: 12px; }

.pilot-kpis {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(73, 98, 91, .13);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
}

.pilot-kpis article {
  min-height: 94px;
  padding: 18px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pilot-kpis article:last-child { border-right: 0; }
.pilot-kpis strong,
.pilot-kpis small { display: block; }
.pilot-kpis strong { font-family: "Alegreya", serif; font-size: 22px; }
.pilot-kpis small { max-width: 150px; color: var(--ink-soft); font-size: 12px; }

.kpi-signal {
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.kpi-signal.good { background: var(--mint-pale); color: var(--green); }
.kpi-signal.neutral { background: #fff2d3; color: #8a6517; }

.pilot-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .65fr);
  gap: 18px;
}

.pilot-checklist {
  display: grid;
}

.pilot-task {
  min-height: 76px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 37px 1fr auto;
  gap: 13px;
  align-items: center;
}

.pilot-task:last-child { border-bottom: 0; }
.pilot-task-check {
  width: 37px;
  height: 37px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.pilot-task.is-done .pilot-task-check { border-color: var(--green-mid); background: var(--green-mid); color: white; }
.pilot-task h3,
.pilot-task p { margin: 0; }
.pilot-task p { margin-top: 4px; color: var(--ink-soft); font-size: 12px; }
.pilot-task > span { color: var(--coral-dark); font-size: 12px; font-weight: 800; }
.pilot-task.is-done h3 { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(73,98,91,.3); }
.pilot-task.is-done > span { color: var(--green-mid); }

.pilot-side { display: grid; gap: 12px; align-content: start; }
.pilot-rules { background: #fff8ed; }
.pilot-rules h3 { margin-bottom: 14px; font-family: "Alegreya", serif; font-size: 19px; }
.pilot-rules ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 13px; }
.pilot-rules li + li { margin-top: 8px; }
.pilot-feedback-card blockquote { margin: 12px 0 8px; font-family: "Alegreya", serif; font-size: 18px; line-height: 1.45; }
.pilot-feedback-card > p { color: var(--ink-soft); font-size: 12px; }
.pilot-feedback-card .secondary-button { width: 100%; margin-top: 12px; }
.feedback-count { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); font-size: 13px; font-weight: 800; }
.pilot-empty { padding: 24px 0; text-align: center; }
.pilot-empty p { margin: 5px 0 0; color: var(--ink-soft); font-size: 13px; }

.empty-list-state {
  grid-column: 1 / -1;
  min-height: 210px;
  padding: 28px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
}
.empty-list-state > span { width: 42px; height: 42px; margin-bottom: 12px; border-radius: 13px; display: grid; place-items: center; background: var(--mint-pale); color: var(--green); font-weight: 800; }
.empty-list-state p { margin: 5px 0 0; color: var(--ink-soft); font-size: 13px; }

.modal.is-sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(440px, 100vw);
  height: 100vh;
  max-height: 100vh;
  margin: 0;
  border-radius: 22px 0 0 22px;
}

.modal.is-sheet[open] { animation: sheet-in 240ms cubic-bezier(.2,.8,.2,1); }
@keyframes sheet-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }

.notification-list,
.settings-list { display: grid; padding: 8px 16px 18px; }
.notification-item,
.settings-list button {
  width: 100%;
  min-height: 76px;
  padding: 13px 9px;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 11px;
  align-items: center;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.notification-item:hover,
.settings-list button:hover { background: var(--mint-pale); }
.notification-item.is-read { opacity: .55; }
.notification-item strong,
.notification-item small,
.settings-list strong,
.settings-list small { display: block; }
.notification-item small,
.settings-list small { margin-top: 3px; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.notification-symbol,
.settings-symbol { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; }
.notification-symbol.coral { background: #fff0e9; color: var(--coral-dark); }
.notification-symbol.sun { background: #fff2d3; color: #8a6517; }
.notification-symbol.mint,
.settings-symbol { background: var(--mint-pale); color: var(--green); }
.settings-list .danger-setting:hover { background: #fff0e9; }
.settings-list .danger-setting .settings-symbol { background: #fff0e9; color: var(--coral-dark); }
.danger-button { border-color: var(--coral-dark); background: var(--coral-dark); }

.field-hint { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 12px; }
[aria-invalid="true"] { border-color: var(--coral-dark) !important; background: #fff8f4 !important; }

.session-brief { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: start; }
.session-number { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--sun); font-family: "Alegreya", serif; font-size: 26px; font-weight: 700; }
.session-brief h3 { margin-bottom: 4px; }
.session-brief p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.session-steps { margin: 20px 0 0; padding: 18px 18px 18px 37px; border-radius: 14px; background: var(--paper); color: var(--ink-soft); font-size: 13px; }
.session-steps li + li { margin-top: 8px; }

.schedule-controls {
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.schedule-workbench {
  min-height: 70px;
  margin-bottom: 16px;
  padding: 10px 12px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(255,253,248,.76);
}

.schedule-workbench > div,
.workbench-actions { display: flex; align-items: center; gap: 10px; }
.schedule-workbench strong,
.schedule-workbench small { display: block; }
.schedule-workbench strong { font-size: 13px; }
.schedule-workbench small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
.workbench-mark { width: 47px; height: 47px; border-radius: 12px; display: grid; place-items: center; background: var(--sun); color: var(--ink); font-family: "Alegreya", serif; font-size: 18px; font-weight: 800; }
.workbench-actions .secondary-button { min-height: 42px; background: white; }

.week-switcher {
  display: grid;
  grid-template-columns: repeat(5, minmax(72px, 1fr));
  gap: 6px;
}

.day-tab {
  min-height: 54px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px;
  place-content: center;
  background: rgba(255,253,248,.7);
  color: var(--ink-soft);
  cursor: pointer;
}

.day-tab span { font-size: 13px; font-weight: 700; }
.day-tab strong { font-size: 13px; }
.day-tab:hover { border-color: var(--green-mid); background: white; }
.day-tab.is-active { border-color: var(--green); background: var(--green); color: white; }

.group-switcher {
  padding: 4px;
  border-radius: 14px;
  display: flex;
  gap: 3px;
  background: var(--paper-deep);
}

.group-switcher button {
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.group-switcher button.is-active { background: white; color: var(--ink); box-shadow: 0 5px 14px rgba(22,53,46,.08); }

.schedule-now {
  position: relative;
  min-height: 190px;
  margin-bottom: 18px;
  padding: 27px 30px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(220px, .55fr);
  gap: 28px;
  align-items: center;
  overflow: hidden;
  background: var(--green);
  color: white;
}

.schedule-now::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -130px;
  bottom: -180px;
  border: 48px solid rgba(243,199,101,.14);
  border-radius: 50%;
}

.schedule-now.is-planned { background: #355c53; }
.now-clock,
.now-copy,
.now-actions { position: relative; z-index: 1; }

.now-clock {
  min-height: 112px;
  border-right: 1px solid rgba(255,255,255,.18);
  display: grid;
  align-content: center;
}

.now-clock span,
.now-clock small { color: rgba(255,255,255,.58); font-size: 12px; font-weight: 700; }
.now-clock strong { margin: 3px 0; font-family: "Alegreya", serif; font-size: 43px; line-height: 1; }
.now-copy .eyebrow { color: var(--sun); }
.now-copy h2 { margin-bottom: 8px; font-size: 30px; }
.now-copy p:not(.eyebrow) { max-width: 600px; margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.now-actions { display: grid; gap: 12px; justify-items: stretch; }
.now-actions > span { color: rgba(255,255,255,.67); font-size: 12px; text-align: center; }
.now-actions .primary-button { border-color: var(--sun); background: var(--sun); color: var(--ink); }

.schedule-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, .62fr);
  gap: 18px;
  align-items: start;
}

.schedule-board {
  border: 1px solid rgba(73,98,91,.14);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
}

.schedule-board-head {
  padding: 23px 24px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.schedule-board-head h2 { margin: 0; }
.schedule-summary { display: flex; gap: 16px; }
.schedule-summary span { color: var(--ink-soft); font-size: 12px; }
.schedule-summary strong { display: block; color: var(--ink); font-size: 13px; }

.schedule-timeline { padding: 4px 20px 8px; }

.schedule-entry {
  position: relative;
  width: 100%;
  min-height: 76px;
  padding: 12px 5px;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 54px 18px minmax(0, 1fr) 100px;
  gap: 11px;
  align-items: center;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.schedule-entry:last-child { border-bottom: 0; }
.schedule-entry:hover { background: rgba(232,240,234,.52); }
.schedule-time strong,
.schedule-time small,
.schedule-entry-copy strong,
.schedule-entry-copy small,
.schedule-entry-state strong,
.schedule-entry-state small { display: block; }
.schedule-time strong { font-family: "Alegreya", serif; font-size: 16px; }
.schedule-time small { color: var(--ink-soft); font-size: 12px; }

.schedule-node {
  width: 13px;
  height: 13px;
  border: 2px solid #b8c2bd;
  border-radius: 50%;
  background: var(--card);
}

.schedule-entry.done .schedule-node { border-color: var(--green-mid); background: var(--green-mid); box-shadow: inset 0 0 0 3px var(--card); }
.schedule-entry.current .schedule-node { border-color: var(--sun); background: var(--sun); box-shadow: 0 0 0 5px rgba(243,199,101,.18); }
.schedule-entry.cancelled { background: #fff7f2; }
.schedule-entry.cancelled .schedule-node { border-color: var(--coral-dark); background: var(--coral-dark); box-shadow: inset 0 0 0 3px var(--card); }
.schedule-entry.cancelled .schedule-entry-copy strong { color: var(--coral-dark); text-decoration: line-through; text-decoration-thickness: 1px; }
.schedule-entry-copy strong { font-size: 13px; }
.schedule-entry-copy small { max-width: 520px; margin-top: 3px; color: var(--ink-soft); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.schedule-entry-state { text-align: right; }
.schedule-entry-state strong { color: var(--ink-soft); font-size: 12px; }
.schedule-entry.current .schedule-entry-state strong { color: #8a6517; }
.schedule-entry.done .schedule-entry-state strong { color: var(--green-mid); }
.schedule-entry.cancelled .schedule-entry-state strong,
.schedule-summary .is-cancelled strong { color: var(--coral-dark); }
.schedule-entry-state small { margin-top: 2px; color: #7b8984; font-size: 12px; }

.parent-schedule-preview {
  position: sticky;
  top: 88px;
  padding: 18px;
  border-radius: 22px;
  background: var(--ink);
  color: white;
  box-shadow: 0 18px 45px rgba(22,53,46,.16);
}

.preview-phone-head { padding: 1px 3px 15px; border-bottom: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: rgba(255,255,255,.55); font-size: 12px; }
.preview-phone-head strong { color: white; }
.preview-day { padding: 17px 3px 13px; }
.preview-day span,
.preview-day strong,
.preview-day small { display: block; }
.preview-day span { color: var(--sun); font-size: 12px; font-weight: 700; }
.preview-day strong { margin-top: 4px; font-family: "Alegreya", serif; font-size: 22px; }
.preview-day small { color: rgba(255,255,255,.5); font-size: 12px; }

.preview-plan-list { display: grid; }
.preview-plan-item { min-height: 48px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 37px 1fr auto; gap: 8px; align-items: center; }
.preview-plan-item time { color: rgba(255,255,255,.54); font-size: 12px; }
.preview-plan-item strong,
.preview-plan-item small { display: block; }
.preview-plan-item strong { font-size: 12px; line-height: 1.3; }
.preview-plan-item small { margin-top: 2px; color: rgba(255,255,255,.43); font-size: 12px; }
.preview-plan-item.current strong { color: var(--sun); }
.preview-plan-item.cancelled strong { color: #ffb39a; text-decoration: line-through; }
.preview-plan-item b { color: var(--sun); font-size: 13px; }
.parent-schedule-preview .secondary-button { width: 100%; margin-top: 14px; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: white; }

.care-schedule-link { width: 100%; margin-top: 12px; text-align: center; }

.activity-status-picker {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.activity-status-picker button {
  min-height: 96px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 2px 8px;
  align-content: center;
  background: white;
  text-align: left;
  cursor: pointer;
}

.activity-status-picker button > span { grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--paper); }
.activity-status-picker strong,
.activity-status-picker small { display: block; }
.activity-status-picker strong { font-size: 13px; }
.activity-status-picker small { color: var(--ink-soft); font-size: 12px; }
.activity-status-picker button.is-selected { border-color: var(--green-mid); background: var(--mint-pale); }
.activity-status-picker button.is-selected > span { background: var(--green-mid); color: white; }
.activity-status-picker button.is-cancelled.is-selected { border-color: var(--coral-dark); background: #fff3ed; }
.activity-status-picker button.is-cancelled.is-selected > span { background: var(--coral-dark); }

.activity-cancel-panel { margin-bottom: 15px; padding: 14px; border-radius: 14px; background: #fff3ed; }

.activity-plan-editor { margin-bottom: 19px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: white; }
.activity-plan-editor summary { min-height: 66px; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 15px; cursor: pointer; list-style: none; }
.activity-plan-editor summary::-webkit-details-marker { display: none; }
.activity-plan-editor summary span,
.activity-plan-editor summary strong,
.activity-plan-editor summary small { display: block; }
.activity-plan-editor summary small { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }
.activity-plan-editor summary b { color: var(--coral-dark); font-size: 12px; }
.activity-plan-editor[open] summary { border-bottom: 1px solid var(--line); background: var(--paper); }
.activity-edit-grid { padding: 16px; }

.activity-update-section { padding-top: 19px; border-top: 1px solid var(--line); }
.activity-update-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.activity-update-heading h3 { margin: 2px 0 0; }
.activity-update-heading > span { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-pale); color: var(--green); font-size: 13px; font-weight: 800; }
.activity-update-list { margin-top: 13px; border-top: 1px solid var(--line); }
.activity-update-list article { padding: 12px 2px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 31px 1fr; gap: 10px; }
.activity-update-list article > span { width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-pale); color: var(--green); font-weight: 800; }
.activity-update-list strong,
.activity-update-list small { display: block; }
.activity-update-list p { margin: 3px 0; color: var(--ink-soft); font-size: 12px; }
.activity-update-list small { color: #7b8984; font-size: 12px; }
.activity-update-empty { margin-top: 13px; padding: 14px; border-radius: 13px; display: flex; align-items: center; gap: 10px; background: var(--paper); color: var(--ink-soft); font-size: 12px; }
.activity-update-empty > span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: white; color: var(--coral-dark); }
.activity-update-empty p { margin: 0; }
.update-composer { margin-top: 15px; padding: 17px; border-radius: 15px; background: var(--paper); }
.audience-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.audience-picker button { min-height: 70px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; display: grid; grid-template-columns: 28px 1fr; gap: 2px 8px; align-content: center; background: white; text-align: left; cursor: pointer; }
.audience-picker button > span { grid-row: 1 / 3; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--paper-deep); }
.audience-picker strong,
.audience-picker small { display: block; }
.audience-picker small { color: var(--ink-soft); font-size: 12px; }
.audience-picker button.is-selected { border-color: var(--green-mid); background: var(--mint-pale); }
.audience-picker button.is-selected > span { background: var(--green-mid); color: white; }
.child-recipient-field { margin-top: 13px; }

.copy-day-flow { margin-bottom: 18px; padding: 16px; border-radius: 15px; display: grid; grid-template-columns: 1fr auto 1.2fr; gap: 15px; align-items: center; background: var(--paper); }
.copy-day-source { display: flex; align-items: center; gap: 11px; }
.copy-day-source > span { width: 45px; height: 45px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: white; font-family: "Alegreya", serif; font-size: 17px; font-weight: 800; }
.copy-day-source strong,
.copy-day-source small { display: block; }
.copy-day-source small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
.copy-arrow { color: var(--coral-dark); font-size: 22px; }
.copy-mode-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.copy-mode-picker label { min-height: 72px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; cursor: pointer; }
.copy-mode-picker label:has(input:checked) { border-color: var(--green-mid); background: var(--mint-pale); }
.copy-mode-picker input { accent-color: var(--green); }
.copy-mode-picker strong,
.copy-mode-picker small { display: block; }
.copy-mode-picker small { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }

.activity-plan-note { margin-bottom: 16px; padding: 14px; border-radius: 13px; background: var(--paper); }
.activity-plan-note span { color: var(--coral-dark); font-size: 12px; font-weight: 800; }
.activity-plan-note p { margin: 5px 0 0; color: var(--ink-soft); font-size: 13px; }

.publish-choice { margin-top: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; cursor: pointer; }
.publish-choice input { width: 18px; height: 18px; accent-color: var(--green); }
.publish-choice strong,
.publish-choice small { display: block; }
.publish-choice small { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }

.parent-full-plan {
  margin-top: 18px;
  padding: 22px 24px 18px;
  border-radius: 17px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.parent-plan-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; }
.parent-plan-head h2 { margin-bottom: 4px; }
.parent-plan-head p:not(.eyebrow) { margin: 0; color: var(--ink-soft); font-size: 13px; }
.parent-plan-legend { display: flex; gap: 10px; color: var(--ink-soft); font-size: 12px; white-space: nowrap; }
.parent-plan-legend span { display: flex; align-items: center; gap: 4px; }
.parent-plan-legend i { width: 8px; height: 8px; border: 1px solid #aeb9b4; border-radius: 50%; }
.parent-plan-legend i.done { border-color: var(--green-mid); background: var(--green-mid); }
.parent-plan-legend i.current { border-color: var(--sun); background: var(--sun); }
.parent-plan-legend i.cancelled { border-color: var(--coral-dark); background: var(--coral-dark); }

.parent-plan-track {
  margin-top: 19px;
  padding: 2px 0 8px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(145px, 1fr);
  overflow-x: auto;
  scrollbar-width: thin;
}

.parent-plan-step {
  position: relative;
  min-height: 108px;
  padding: 0 13px 8px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.parent-plan-step::before { content: ""; position: absolute; left: 9px; right: 0; top: 33px; height: 1px; background: var(--line); }
.parent-plan-step:last-child::before { right: 70%; }
.parent-plan-step time { display: block; color: var(--ink-soft); font-size: 12px; }
.parent-plan-dot { position: relative; z-index: 1; width: 15px; height: 15px; margin: 8px 0 9px; border: 2px solid #b7c0bc; border-radius: 50%; display: block; background: var(--card); }
.parent-plan-step.done .parent-plan-dot { border-color: var(--green-mid); background: var(--green-mid); box-shadow: inset 0 0 0 3px var(--card); }
.parent-plan-step.current .parent-plan-dot { border-color: var(--sun); background: var(--sun); box-shadow: 0 0 0 4px rgba(243,199,101,.18); }
.parent-plan-step.cancelled .parent-plan-dot { border-color: var(--coral-dark); background: var(--coral-dark); box-shadow: inset 0 0 0 3px var(--card); }
.parent-plan-step.cancelled strong { color: var(--coral-dark); text-decoration: line-through; }
.parent-plan-step strong,
.parent-plan-step small { display: block; }
.parent-plan-step strong { max-width: 140px; font-size: 12px; line-height: 1.4; }
.parent-plan-step small { margin-top: 4px; color: var(--ink-soft); font-size: 12px; }
.parent-plan-step:hover strong { color: var(--coral-dark); }
.parent-plan-step .parent-plan-meal-badge { display: inline-flex; margin-top: 7px; padding: 4px 7px; border-radius: 99px; background: #fff1cd; color: #7b5711; font-size: 12px; font-weight: 800; }

.timeline-item > small { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 12px; }
.timeline-item.is-current { padding: 14px 15px; border-radius: 13px; background: #fff7e4; }
.timeline-update-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.timeline-update-head h3 { margin: 0; }
.timeline-update-head span { padding: 5px 8px; border-radius: 99px; background: var(--mint-pale); color: var(--green); font-size: 12px; font-weight: 800; white-space: nowrap; }

.parent-activity-detail { padding: 15px; border-radius: 14px; display: grid; grid-template-columns: 38px 1fr; gap: 12px; background: var(--paper); }
.parent-activity-status { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: white; font-weight: 800; }
.parent-activity-detail h3 { margin-bottom: 4px; }
.parent-activity-detail p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.parent-activity-detail.current .parent-activity-status { background: var(--sun); }
.parent-activity-detail.done .parent-activity-status { background: var(--green-mid); color: white; }
.parent-activity-detail.cancelled { background: #fff3ed; }
.parent-activity-detail.cancelled .parent-activity-status { background: var(--coral-dark); color: white; }
.published-parent-note { margin-top: 14px; padding: 17px; border-radius: 14px; background: var(--mint-pale); }
.published-parent-note.is-personal { background: #fff3d8; }
.published-parent-note blockquote { margin: 8px 0; font-family: "Alegreya", serif; font-size: 19px; line-height: 1.4; }
.published-parent-note small { color: var(--ink-soft); font-size: 12px; }

.activity-meal-photo,
.menu-photo-highlight {
  width: 100%;
  min-height: 112px;
  margin-top: 14px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 15px;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  overflow: hidden;
  background: var(--card);
  text-align: left;
  cursor: pointer;
}
.activity-meal-photo img,
.menu-photo-highlight img { width: 145px; height: 112px; object-fit: cover; }
.activity-meal-photo small,
.activity-meal-photo strong,
.activity-meal-photo em,
.menu-photo-highlight small,
.menu-photo-highlight strong,
.menu-photo-highlight em { display: block; }
.activity-meal-photo small,
.menu-photo-highlight small { color: var(--coral-dark); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.activity-meal-photo strong,
.menu-photo-highlight strong { margin-top: 4px; font-family: "Alegreya", serif; font-size: 18px; line-height: 1.15; }
.activity-meal-photo em,
.menu-photo-highlight em { margin-top: 7px; color: var(--green-mid); font-size: 12px; font-style: normal; font-weight: 700; }
.activity-meal-photo > b,
.menu-photo-highlight > b { font-size: 16px; }
.menu-photo-highlight { margin: 0 0 15px; }
.parent-menu-list .menu-item { grid-template-columns: 58px minmax(0, 1fr) auto; }

.meal-photo-modal-body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr); gap: 20px; align-items: start; }
.meal-photo-editor { display: grid; gap: 11px; }
.meal-photo-capture { position: relative; min-height: 310px; border: 2px dashed rgba(58,117,101,.35); border-radius: 19px; display: grid; place-items: center; overflow: hidden; background: var(--mint-pale); }
.meal-photo-capture.has-photo { border-style: solid; border-color: var(--line); }
.meal-photo-capture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.meal-photo-capture::after { content: ""; position: absolute; inset: auto 0 0; height: 32%; background: linear-gradient(180deg, transparent, rgba(14,34,28,.45)); pointer-events: none; }
.meal-photo-placeholder { max-width: 270px; padding: 32px; display: grid; justify-items: center; text-align: center; }
.meal-photo-placeholder > span { width: 53px; height: 53px; margin-bottom: 11px; border-radius: 17px; display: grid; place-items: center; background: var(--green); color: var(--sun); font-size: 23px; }
.meal-photo-placeholder strong,
.meal-photo-placeholder small { display: block; }
.meal-photo-placeholder small { margin-top: 5px; color: var(--ink-soft); font-size: 12px; }
.meal-photo-label { position: absolute; z-index: 1; left: 12px; bottom: 12px; padding: 6px 9px; border-radius: 99px; background: rgba(22,53,46,.86); color: white; font-size: 12px; font-weight: 800; backdrop-filter: blur(6px); }
.meal-photo-file-button { display: flex; justify-content: center; cursor: pointer; }
.meal-photo-guidance { margin: 0; padding: 12px; border-radius: 13px; display: grid; grid-template-columns: 27px 1fr; gap: 10px; align-items: center; background: var(--paper); }
.meal-photo-guidance > span:first-child { width: 27px; height: 27px; border-radius: 9px; display: grid; place-items: center; background: var(--green); color: var(--sun); }
.meal-photo-guidance strong,
.meal-photo-guidance small { display: block; }
.meal-photo-guidance strong { font-size: 12px; }
.meal-photo-guidance small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
.meal-photo-fields { display: grid; gap: 12px; }
.meal-safety-check { padding: 13px; border: 1px solid rgba(58,117,101,.25); border-radius: 13px; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; background: var(--mint-pale); cursor: pointer; }
.meal-safety-check input { width: 18px; height: 18px; accent-color: var(--green); }
.meal-safety-check strong,
.meal-safety-check small { display: block; }
.meal-safety-check strong { font-size: 12px; }
.meal-safety-check small { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }
.parent-meal-detail { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(260px, .82fr); gap: 20px; align-items: stretch; }
.parent-meal-detail > img { width: 100%; min-height: 330px; height: 100%; border-radius: 18px; object-fit: cover; }
.parent-meal-detail-copy { padding: 23px; border-radius: 18px; background: var(--paper); }
.parent-meal-detail-copy h3 { margin: 15px 0 18px; font-size: 25px; }
.parent-meal-detail-copy > p { margin: 15px 0 0; color: var(--ink-soft); font-size: 12px; }
.meal-fact { padding: 13px 0; border-top: 1px solid var(--line); }
.meal-fact small,
.meal-fact strong { display: block; }
.meal-fact small { color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.meal-fact strong { margin-top: 3px; font-size: 13px; }
.meal-fact.safe strong { color: var(--green-mid); }

.pilot-scope-card { margin-bottom: 18px; }
.pilot-scope-list { border-top: 1px solid var(--line); }
.pilot-scope-list button {
  width: 100%;
  min-height: 62px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.pilot-scope-list button:last-child { border-bottom: 0; }
.pilot-scope-list button:hover { background: var(--mint-pale); }
.pilot-scope-list button > span:first-child { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--green); color: white; font-weight: 800; }
.pilot-scope-list strong,
.pilot-scope-list small { display: block; }
.pilot-scope-list small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
.pilot-scope-list b { color: var(--coral-dark); font-size: 12px; }

.security-summary {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.security-summary article { min-height: 90px; padding: 18px; border-right: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.security-summary article:last-child { border-right: 0; }
.security-summary strong,
.security-summary small { display: block; }
.security-summary small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
.security-signal { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center; background: var(--sun); font-weight: 800; }
.security-signal.is-good { background: var(--green-mid); color: white; }
.security-signal.is-alert { background: #fff0e9; color: var(--coral-dark); }
.security-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); gap: 18px; align-items: start; }
.security-side { display: grid; gap: 18px; }
.access-list { border-top: 1px solid var(--line); }
.access-row { width: 100%; min-height: 68px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px minmax(120px, 1.1fr) minmax(100px, .85fr) auto 40px; gap: 10px; align-items: center; background: transparent; text-align: left; cursor: pointer; }
.access-row:hover { background: var(--mint-pale); }
.access-row strong,
.access-row small { display: block; }
.access-row small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
.access-row time { color: var(--ink-soft); font-size: 12px; text-align: right; }
.consent-readiness .secondary-button { width: 100%; margin-top: 13px; }
.consent-child { min-height: 58px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 38px 1fr auto; gap: 10px; align-items: center; }
.consent-child strong,
.consent-child small { display: block; }
.consent-child small { color: var(--ink-soft); font-size: 12px; }
.consent-child b { color: var(--green-mid); }
.consent-child b.is-blocked { color: var(--coral-dark); }
.data-rights-card p:not(.eyebrow) { color: var(--ink-soft); font-size: 13px; }
.data-rights-card > div { margin-top: 15px; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.audit-log-card { margin-top: 18px; }
.audit-log-list { border-top: 1px solid var(--line); }
.audit-log-list > button { width: 100%; min-height: 58px; padding: 9px 2px; border: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 45px minmax(150px, .9fr) minmax(180px, 1.2fr) auto; gap: 14px; align-items: center; background: transparent; text-align: left; cursor: pointer; }
.audit-log-list > button:hover { background: var(--mint-pale); }
.audit-log-list time,
.audit-log-list small { color: var(--ink-soft); font-size: 12px; }
.audit-log-list strong,
.audit-log-list small { display: block; }
.audit-log-list b { color: var(--coral-dark); }
.security-session { min-height: 68px; padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; }
.security-session > span:first-child { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--mint-pale); color: var(--green); font-weight: 800; }
.security-session strong,
.security-session small { display: block; }
.security-session small { color: var(--ink-soft); font-size: 12px; }
.photo-consent-preview { min-height: 154px; padding: 22px; border-radius: 15px; display: flex; flex-direction: column; justify-content: space-between; background: var(--green); color: white; }
.photo-consent-preview > span { color: rgba(255,255,255,.7); font-size: 12px; }
.photo-consent-preview > div { display: flex; gap: 10px; }
.photo-consent-preview i { width: 44px; height: 44px; border: 2px solid white; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); font-style: normal; font-weight: 800; }
.photo-consent-preview i.is-blocked { border-color: #ffb29a; background: var(--coral-dark); color: white; text-decoration: line-through; }
.consent-check-list { margin: 14px 0; }
.consent-check-list > div { min-height: 58px; padding: 8px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; }
.consent-check-list strong,
.consent-check-list small { display: block; }
.consent-check-list small { color: var(--ink-soft); font-size: 12px; }
.check-good,
.check-blocked { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; }
.check-good { background: var(--mint-pale); color: var(--green); }
.check-blocked { background: #fff0e9; color: var(--coral-dark); }
.audit-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.audit-detail-grid span { padding: 14px; border-radius: 12px; background: var(--paper); }
.audit-detail-grid small,
.audit-detail-grid strong { display: block; }
.audit-detail-grid small { color: var(--ink-soft); font-size: 12px; }

.handoff-intro {
  position: relative;
  margin-bottom: 18px;
  padding: 22px 24px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  background: var(--green);
  color: white;
  box-shadow: 0 16px 34px rgba(22, 53, 46, .16);
}
.handoff-intro::after { content: ""; position: absolute; right: 12%; top: -90px; width: 170px; height: 170px; border: 34px solid rgba(243,199,101,.12); border-radius: 50%; pointer-events: none; }
.handoff-intro-time { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--ink); font-family: "Alegreya", serif; font-size: 23px; font-weight: 800; transform: rotate(-4deg); }
.handoff-intro h2 { margin: 1px 0 3px; font-size: 24px; }
.handoff-intro p:not(.eyebrow) { max-width: 620px; margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
.handoff-intro .eyebrow { color: var(--sun); }
.handoff-intro-flow { position: relative; z-index: 1; display: flex; align-items: center; gap: 7px; }
.handoff-intro-flow i { padding: 6px 8px; border-radius: 8px; background: rgba(255,255,255,.1); font-size: 12px; font-style: normal; font-weight: 800; }
.handoff-intro-flow b { color: var(--sun); }

.handoff-modal-body { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 17px; align-items: start; }
.handoff-ticket { padding: 18px; border-radius: 15px; background: var(--green); color: white; box-shadow: 0 14px 28px rgba(22,53,46,.16); }
.handoff-ticket-top { padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.17); display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; }
.handoff-ticket-top .child-avatar { width: 42px; height: 42px; margin: 0; border: 2px solid rgba(255,255,255,.78); }
.handoff-ticket-top small,
.handoff-ticket-top strong { display: block; }
.handoff-ticket-top small { color: rgba(255,255,255,.62); font-size: 12px; }
.handoff-ticket-top time { color: var(--sun); font-size: 13px; font-weight: 800; }
.handoff-facts { padding: 6px 0; }
.handoff-facts label { min-height: 69px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.13); display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: center; cursor: pointer; }
.handoff-facts input { width: 18px; height: 18px; accent-color: var(--sun); }
.handoff-facts label > span { display: grid; grid-template-columns: 24px 1fr; gap: 1px 8px; align-items: center; }
.handoff-facts i { grid-row: 1 / 3; width: 23px; height: 23px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.11); color: var(--sun); font-size: 12px; font-style: normal; font-weight: 800; }
.handoff-facts strong,
.handoff-facts small { display: block; }
.handoff-facts small { color: rgba(255,255,255,.67); font-size: 12px; }
.handoff-facts label:has(input:not(:checked)) > span { opacity: .45; text-decoration: line-through; }
.handoff-source { padding-top: 13px; display: grid; grid-template-columns: 28px 1fr; gap: 9px; align-items: center; }
.handoff-source > span:first-child { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--sun); color: var(--ink); font-weight: 800; }
.handoff-source strong,
.handoff-source small { display: block; }
.handoff-source strong { font-size: 12px; }
.handoff-source small { color: rgba(255,255,255,.62); font-size: 12px; }
.handoff-essentials { padding: 3px 0; }
.handoff-essential-head { margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.handoff-essential-head h3 { margin: 2px 0 0; }
.handoff-must { min-height: 78px; padding: 14px; border-radius: 13px; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; background: #fff3d8; cursor: pointer; }
.handoff-must input { width: 18px; height: 18px; accent-color: var(--green); }
.handoff-must strong,
.handoff-must small { display: block; }
.handoff-must small { margin-top: 3px; color: var(--ink-soft); font-size: 12px; }
.handoff-from-day { margin: 12px 0; padding: 13px 14px; border-radius: 13px; background: var(--mint-pale); }
.handoff-from-day > span { color: var(--green-mid); font-size: 12px; font-weight: 800; }
.handoff-from-day blockquote { margin: 6px 0 0; font-family: "Alegreya", serif; font-size: 16px; line-height: 1.35; }
.handoff-send { margin-top: 12px; }
.parent-handoff { margin-bottom: 10px; padding: 15px; border-radius: 14px; background: var(--mint-pale); }
.parent-handoff ul { margin: 10px 0 7px; padding-left: 17px; color: var(--ink-soft); font-size: 12px; }
.parent-handoff li + li { margin-top: 5px; }

.parent-actions { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.parent-actions .camera-action { grid-column: span 2; position: relative; overflow: hidden; }
.parent-actions .camera-action.is-live { border-color: transparent; background: var(--green); color: white; }
.parent-actions .camera-action.is-live::after { content: ""; position: absolute; right: -24px; top: -24px; width: 80px; height: 80px; border: 17px solid rgba(243,199,101,.13); border-radius: 50%; }
.parent-actions .camera-action.is-live > span { background: var(--sun); color: var(--ink); }
.parent-actions .camera-action.is-live small { color: rgba(255,255,255,.68); }
.parent-actions .camera-action.is-live strong,
.parent-actions .camera-action.is-live small,
.parent-actions .camera-action.is-live > span { position: relative; z-index: 1; }
.parent-actions .camera-action.is-unavailable { background: var(--paper-deep); color: var(--ink-soft); }

.camera-modal-body { padding: 18px 25px; }
.camera-gate { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(250px, .82fr); gap: 21px; align-items: center; }
.camera-gate-preview { position: relative; min-width: 0; overflow: hidden; border-radius: 16px; background: var(--ink); }
.camera-gate-preview .camera-room-scene { filter: saturate(.7) brightness(.68); }
.camera-gate-lock { position: absolute; inset: 50% auto auto 50%; width: 58px; height: 58px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; background: rgba(16,48,39,.82); color: var(--sun); font-size: 25px; transform: translate(-50%,-50%); box-shadow: 0 10px 30px rgba(9,31,24,.32); }
.camera-gate-copy h3 { margin: 13px 0 7px; font-size: 21px; }
.camera-gate-copy > p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.camera-gate-copy ul { margin: 14px 0; padding-left: 17px; color: var(--ink-soft); font-size: 12px; line-height: 1.75; }
.camera-live-pill { width: fit-content; display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; background: #e4f0e9; color: var(--green); font-size: 12px; font-weight: 800; }
.camera-live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #db6545; box-shadow: 0 0 0 4px rgba(219,101,69,.13); animation: camera-pulse 1.8s ease-out infinite; }
@keyframes camera-pulse { 50% { box-shadow: 0 0 0 7px rgba(219,101,69,0); } }

.camera-confirm { padding: 12px; border: 1px solid var(--line); border-radius: 14px; display: flex; gap: 10px; align-items: flex-start; background: white; cursor: pointer; }
.camera-confirm input { margin-top: 2px; accent-color: var(--green); }
.camera-confirm strong,
.camera-confirm small { display: block; }
.camera-confirm strong { font-size: 12px; }
.camera-confirm small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }

.camera-live-body { padding: 0; }
.camera-live-stage { overflow: hidden; background: #102f27; }
.camera-live-bar { min-height: 46px; padding: 9px 14px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; color: rgba(255,255,255,.66); font-size: 12px; }
.camera-live-bar .camera-live-pill { background: rgba(255,255,255,.11); color: white; }
.camera-live-bar > span:nth-child(2) { text-align: center; }
.camera-live-bar time { color: white; font-weight: 800; font-variant-numeric: tabular-nums; }

.camera-room-scene { position: relative; height: 300px; overflow: hidden; background: #d6e4dc; isolation: isolate; }
.camera-room-scene::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: #c3a579; clip-path: polygon(0 15%,100% 0,100% 100%,0 100%); }
.camera-window { position: absolute; left: 8%; top: 9%; width: 27%; height: 35%; border: 7px solid #f9f3e5; display: grid; grid-template-columns: 1fr 1fr; background: #a9cbd5; box-shadow: 0 10px 25px rgba(34,75,65,.1); }
.camera-window i + i { border-left: 3px solid #f9f3e5; }
.camera-window i::after { content: ""; position: absolute; left: -15%; right: -15%; bottom: 0; height: 34%; background: #7eaa81; clip-path: polygon(0 100%,28% 22%,47% 72%,75% 0,100% 100%); }
.camera-shelf { position: absolute; right: 7%; top: 14%; width: 30%; height: 31%; padding: 9px; display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; border: 7px solid #e8d1a5; background: #fff8e9; }
.camera-shelf i { border-radius: 5px 5px 2px 2px; background: #f2c76c; }
.camera-shelf i:nth-child(2) { background: #e9a58e; }
.camera-shelf i:nth-child(3) { background: #9dc7b7; }
.camera-shelf i:nth-child(4) { background: #9ebfd0; }
.camera-rug { position: absolute; left: 19%; bottom: 5%; width: 57%; height: 31%; border-radius: 50%; background: #f0c766; box-shadow: inset 0 0 0 15px rgba(255,255,255,.22); transform: rotate(-3deg); }
.camera-table { position: absolute; left: 49%; top: 49%; width: 20%; height: 13%; border-radius: 50%; background: #f3eee1; box-shadow: 0 12px 0 -6px #aa8a64; }
.camera-figure { position: absolute; bottom: 18%; width: 24px; height: 47px; border-radius: 13px 13px 9px 9px; background: #db7457; box-shadow: 0 6px 11px rgba(49,74,65,.16); z-index: 2; }
.camera-figure::before { content: ""; position: absolute; left: 3px; top: -17px; width: 18px; height: 18px; border-radius: 50%; background: #c89469; }
.camera-figure.figure-one { left: 23%; background: #5f8f81; transform: rotate(5deg); }
.camera-figure.figure-two { left: 37%; bottom: 11%; background: #d47f6a; transform: rotate(-7deg) scale(.88); }
.camera-figure.figure-three { left: 62%; bottom: 14%; background: #7da5b6; transform: rotate(4deg) scale(.92); }
.camera-figure.figure-four { left: 74%; bottom: 23%; background: #9377a3; transform: rotate(-3deg) scale(.82); }
.camera-activity { position: absolute; left: 14px; top: 14px; z-index: 4; padding: 9px 11px; border-radius: 10px; background: rgba(16,47,39,.86); color: white; }
.camera-activity small,
.camera-activity strong { display: block; }
.camera-activity small { color: rgba(255,255,255,.62); font-size: 12px; }
.camera-activity strong { margin-top: 2px; font-size: 12px; }
.camera-watermark { position: absolute; left: 50%; top: 55%; z-index: 5; width: 130%; color: rgba(255,255,255,.34); font-size: 15px; font-weight: 800; letter-spacing: .18em; text-align: center; transform: translate(-50%,-50%) rotate(-18deg); pointer-events: none; }
.camera-demo-label { position: absolute; right: 10px; bottom: 10px; z-index: 5; padding: 6px 8px; border-radius: 8px; background: rgba(16,47,39,.78); color: rgba(255,255,255,.82); font-size: 12px; font-weight: 700; }
.camera-session-strip { padding: 12px 15px; display: grid; grid-template-columns: repeat(3,1fr); background: #102f27; color: white; }
.camera-session-strip span { padding: 2px 12px; border-right: 1px solid rgba(255,255,255,.13); }
.camera-session-strip span:last-child { border-right: 0; }
.camera-session-strip strong,
.camera-session-strip small { display: block; }
.camera-session-strip strong { font-size: 12px; }
.camera-session-strip small { margin-top: 2px; color: rgba(255,255,255,.55); font-size: 12px; }
.camera-session-strip span:nth-child(2) { text-align: center; }
.camera-session-strip span:last-child { text-align: right; }
.camera-privacy-note { margin: 15px 25px 20px; padding: 13px; border-radius: 14px; display: flex; gap: 11px; background: var(--mint-pale); }
.camera-privacy-note > span:first-child { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; background: var(--green); color: var(--sun); }
.camera-privacy-note strong,
.camera-privacy-note small { display: block; }
.camera-privacy-note strong { font-size: 12px; }
.camera-privacy-note small { margin-top: 2px; color: var(--ink-soft); font-size: 12px; }
.camera-unavailable { min-height: 170px; padding: 22px; border-radius: 18px; display: flex; align-items: center; gap: 18px; background: var(--paper-deep); }
.camera-unavailable > span { width: 60px; height: 60px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--sun); font-size: 24px; }
.camera-unavailable strong { font-family: "Alegreya", serif; font-size: 21px; }
.camera-unavailable p { max-width: 55ch; margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }

@media (max-width: 1100px) {
  .schedule-layout { grid-template-columns: 1fr; }
  .parent-schedule-preview { position: static; display: grid; grid-template-columns: 1fr 1.4fr; gap: 15px; }
  .parent-schedule-preview .secondary-button { grid-column: 1 / -1; }
  .pilot-hero { grid-template-columns: minmax(0, 1fr) 90px; }
  .pilot-next { grid-column: 1 / -1; min-height: 94px; }
  .pilot-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pilot-kpis article:nth-child(2) { border-right: 0; }
  .pilot-kpis article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .children-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .security-layout { grid-template-columns: 1fr; }
  .data-row { grid-template-columns: minmax(180px, 1.3fr) minmax(80px, .6fr) minmax(110px, .7fr) auto; }
  .data-row > span:nth-child(4) { display: none; }
  .staff-table .data-row { grid-template-columns: minmax(170px, 1.2fr) minmax(130px, 1fr) minmax(100px, .7fr) auto; }
  .staff-table .data-row > span:nth-child(3) { display: none; }
}

@media (max-width: 820px) {
  .parent-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .parent-actions .camera-action { grid-column: span 2; }
  .parent-meal-grid { grid-template-columns: 1fr; }
  .meal-photo-modal-body,
  .parent-meal-detail { grid-template-columns: 1fr; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 220ms ease;
  }

  .sidebar.is-open { transform: translateX(0); }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    display: block;
    background: rgba(10, 29, 24, .45);
    opacity: 0;
    pointer-events: none;
    z-index: 25;
    transition: opacity 220ms ease;
  }

  .mobile-overlay.is-visible { opacity: 1; pointer-events: auto; }
  .main-column { margin-left: 0; }
  .menu-button { display: block; }
  .topbar { height: 62px; padding: 0 18px; }
  .topbar-context .topbar-divider,
  .topbar-context span:last-child { display: none; }
  .quiet-button { display: none; }
  .page-content { padding: 24px 18px 38px; }
  .quality-layout,
  .messages-layout,
  .billing-layout,
  .parent-layout,
  .journal-layout,
  .caregiver-layout,
  .pilot-layout { grid-template-columns: 1fr; }
  .notice-preview { position: static; }
  .care-phone { max-width: 500px; margin: 0 auto; }
  .meal-summary,
  .staff-overview { grid-template-columns: 1fr; }
  .schedule-now { grid-template-columns: 120px minmax(0, 1fr); }
  .schedule-now .now-actions { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); }
}

@media (max-width: 620px) {
  .page-heading { align-items: flex-start; }
  .page-heading .primary-button { padding: 10px 12px; font-size: 13px; }
  h1 { font-size: 33px; }
  .day-hero { min-height: 310px; padding: 25px 22px; }
  .day-hero::before { right: -150px; }
  .metrics-grid,
  .groups-grid,
  .children-list,
  .pickup-grid,
  .arrival-summary { grid-template-columns: 1fr; }
  .metrics-grid { gap: 9px; }
  .metric-card { min-height: 91px; }
  .daily-child-row { grid-template-columns: 1fr; gap: 9px; }
  .modal-body { max-height: calc(100vh - 185px); padding: 17px; }
  .modal-header { padding: 20px 17px 15px; }
  .modal-footer { padding: 13px 17px 17px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .parent-hero { padding: 25px 21px; }
  .parent-hero h1 { font-size: 33px; }
  .toast { left: 18px; right: 18px; bottom: 18px; }
  .close-day-strip { align-items: stretch; flex-direction: column; }
  .close-day-strip .secondary-button { width: 100%; }
  .data-table { overflow-x: auto; }
  .data-row { min-width: 620px; }
  .staff-table .data-row { min-width: 650px; }
  .parent-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .parent-actions .camera-action { grid-column: 1 / -1; }
  .parent-meal-gallery { padding: 19px 17px; }
  .parent-meal-heading { align-items: flex-start; flex-direction: column; }
  .parent-meal-card { grid-template-columns: 118px minmax(0, 1fr) 22px; min-height: 142px; }
  .parent-meal-photo { min-height: 142px; }
  .parent-meal-copy { padding: 13px; }
  .parent-meal-copy strong { font-size: 17px; }
  .meal-photo-capture { min-height: 245px; }
  .parent-meal-detail > img { min-height: 235px; }
  .activity-meal-photo,
  .menu-photo-highlight { grid-template-columns: 105px minmax(0, 1fr) 25px; gap: 10px; }
  .activity-meal-photo img,
  .menu-photo-highlight img { width: 105px; }
  .camera-gate { grid-template-columns: 1fr; }
  .camera-room-scene { height: 238px; }
  .camera-gate-copy h3 { font-size: 19px; }
  .camera-live-bar { grid-template-columns: auto 1fr; }
  .camera-live-bar > span:nth-child(2) { display: none; }
  .camera-live-bar time { text-align: right; }
  .camera-session-strip { grid-template-columns: 1fr 1fr; }
  .camera-session-strip span:nth-child(2) { border-right: 0; text-align: right; }
  .camera-session-strip span:last-child { grid-column: 1 / -1; margin-top: 9px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.13); text-align: left; }
  .camera-privacy-note { margin: 13px 17px 17px; }
  .menu-item { grid-template-columns: 50px 1fr auto; }
  .menu-item .portion-count { display: none; }
  .menu-item.meal-publish-row { grid-template-columns: 48px 54px minmax(0, 1fr); }
  .meal-publish-row .small-button { grid-column: 2 / -1; width: 100%; }
  .meal-row-photo { width: 52px; height: 47px; }
  .kanban { grid-template-columns: repeat(3, 270px); }
  .recruitment-stats { grid-template-columns: 1fr; gap: 13px; }
  .recruitment-stats span { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .recruitment-stats span:last-child { padding-bottom: 0; border-bottom: 0; }
  .selection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .consent-list article { grid-template-columns: 1fr; }
  .pilot-hero { padding: 24px 21px; grid-template-columns: 1fr; gap: 20px; }
  .pilot-progress-copy h2 { font-size: 27px; }
  .pilot-day-marker { min-height: 75px; border: 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); grid-template-columns: auto auto auto; gap: 6px; }
  .pilot-day-marker strong { font-size: 35px; }
  .pilot-next { grid-column: auto; }
  .pilot-kpis { grid-template-columns: 1fr; }
  .pilot-kpis article { border-right: 0; border-bottom: 1px solid var(--line); }
  .pilot-kpis article:last-child { border-bottom: 0; }
  .pilot-task { grid-template-columns: 37px 1fr; }
  .pilot-task > span { grid-column: 2; }
  .pilot-scope-list button { grid-template-columns: 34px minmax(0, 1fr); }
  .pilot-scope-list b { grid-column: 2; }
  .security-summary { grid-template-columns: 1fr; }
  .security-summary article { min-height: 72px; border-right: 0; border-bottom: 1px solid var(--line); }
  .security-summary article:last-child { border-bottom: 0; }
  .access-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .access-row > span:nth-child(3),
  .access-row time { display: none; }
  .audit-log-list > button { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .audit-log-list > button > span:nth-child(3) { grid-column: 2; color: var(--ink-soft); font-size: 12px; }
  .audit-log-list > button > b { grid-column: 3; grid-row: 1 / 3; }
  .data-rights-card > div { align-items: stretch; flex-direction: column; }
  .audit-detail-grid { grid-template-columns: 1fr; }
  .handoff-intro { padding: 19px; grid-template-columns: 62px minmax(0, 1fr); gap: 14px; }
  .handoff-intro-time { width: 60px; height: 60px; font-size: 20px; }
  .handoff-intro h2 { font-size: 21px; }
  .handoff-intro-flow { grid-column: 1 / -1; flex-wrap: wrap; }
  .handoff-modal-body { grid-template-columns: 1fr; }
  .handoff-ticket { padding: 15px; }
  .handoff-essential-head { align-items: flex-start; flex-direction: column; }
  .modal.is-sheet { width: 100vw; border-radius: 0; }
  .schedule-controls { align-items: stretch; flex-direction: column; }
  .week-switcher { grid-template-columns: repeat(5, minmax(66px, 1fr)); overflow-x: auto; }
  .group-switcher { width: 100%; }
  .group-switcher button { flex: 1; }
  .schedule-workbench { align-items: stretch; flex-direction: column; }
  .workbench-actions { width: 100%; }
  .workbench-actions .secondary-button { flex: 1; }
  .schedule-now { padding: 21px; grid-template-columns: 1fr; gap: 17px; }
  .now-clock { padding: 0 0 15px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); grid-template-columns: auto auto 1fr; gap: 8px; align-items: baseline; }
  .now-clock span,
  .now-clock strong,
  .now-clock small { display: inline; }
  .now-clock strong { font-size: 32px; }
  .schedule-now .now-actions { grid-column: auto; }
  .schedule-board-head { align-items: flex-start; flex-direction: column; gap: 11px; }
  .schedule-summary { width: 100%; }
  .schedule-entry { min-height: 72px; grid-template-columns: 46px 16px minmax(0, 1fr); gap: 9px; }
  .schedule-entry-state { display: none; }
  .schedule-entry-copy small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .parent-schedule-preview { grid-template-columns: 1fr; }
  .parent-schedule-preview .secondary-button { grid-column: auto; }
  .activity-status-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-status-picker button { min-height: 68px; }
  .activity-edit-grid { padding: 13px; }
  .update-composer { padding: 14px; }
  .audience-picker,
  .copy-mode-picker { grid-template-columns: 1fr; }
  .copy-day-flow { grid-template-columns: 1fr; }
  .copy-arrow { transform: rotate(90deg); justify-self: center; }
  .timeline-update-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .parent-full-plan { padding: 20px 18px 14px; }
  .parent-plan-head { align-items: flex-start; flex-direction: column; gap: 12px; }
  .parent-plan-legend { flex-wrap: wrap; white-space: normal; }
  .parent-plan-track { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; }
  .parent-plan-step { min-height: 72px; padding: 10px 0 10px 40px; }
  .parent-plan-step::before { left: 8px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .parent-plan-step:last-child::before { right: auto; bottom: 50%; }
  .parent-plan-step time { margin-bottom: 3px; }
  .parent-plan-dot { position: absolute; left: 1px; top: 20px; margin: 0; }
  .parent-plan-step strong { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page-enter,
  .modal[open],
  .modal.is-sheet[open] { animation: none; }
  .nav-item,
  .primary-button,
  .secondary-button,
  .text-button,
  .small-button,
  .danger-button,
  .child-card,
  .toast,
  .pilot-next,
  .sidebar,
  .mobile-overlay { transition: none; }
}
