/* Parent-facing accessibility layer. Child-facing response screens stay denser. */
.screen[data-screen="home"] { padding-top: 26px; }
.screen[data-screen="home"] h1 { font-size: 38px; line-height: 1.16; margin-top: 8px; }
.screen[data-screen="home"] h2 { font-size: 20px; margin-top: 24px; }
.welcome small { font-size: 17px; color: #53615b; font-weight: 700; }
.welcome p { font-size: 16px; color: #636d68; line-height: 1.6; }

.input-grid { display: flex; flex-direction: column; gap: 10px; }
.input-method {
  width: 100%; min-height: 82px; padding: 13px 15px;
  display: flex; flex-direction: row; align-items: center; gap: 13px;
  text-align: left; border-radius: 18px;
}
.input-method.voice { min-height: 94px; }
.input-method > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.input-method em { font-size: 30px; font-style: normal; color: #5e6964; }
.method-icon {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 17px;
  display: grid; place-items: center; font-size: 20px;
}
.input-method b { font-size: 20px; }
.input-method small { font-size: 15px; color: #6f7873; }

.voice-box { padding: 18px; gap: 14px; }
.voice-box .mic { flex: 0 0 50px; width: 50px; height: 50px; font-size: 23px; }
.voice-box small { font-size: 14px; }
.voice-box b { font-size: 18px; }
.screen[data-screen="home"] .primary { min-height: 68px; font-size: 18px; }

.screen[data-screen="home"] .connection { margin-top: 20px; padding: 14px; }
.connection b { font-size: 15px; }
.connection span { font-size: 13px; }
.connection button { padding: 10px 12px; font-size: 13px; }
.faces i { width: 35px; height: 35px; font-size: 12px; }

.more-help { margin-top: 18px; border-top: 1px solid #dfdcd4; padding-top: 14px; }
.more-help summary { font-size: 15px; color: #53615a; font-weight: 800; line-height: 1.5; cursor: pointer; }
.more-help .category-row { grid-template-columns: repeat(2, 1fr); margin-top: 12px; }
.more-help .category-row span { padding: 13px 5px; font-size: 14px; }

/* Confirmation is also read by the parent, so keep it comfortably legible. */
.issue-card h2 { font-size: 22px; }
.issue-card dt { font-size: 14px; }
.issue-card dd { font-size: 16px; }
.original { font-size: 14px; }
.notice { font-size: 13px; }
.notification-preview > b { font-size: 14px; }
.notification-preview div { font-size: 13px; }
.notification-preview span { font-size: 11px; }

/* Mode switch and child-facing schedule dashboard. */
.mode-switch {
  min-width: 90px; height: 38px; padding: 0 10px;
  border: 1px solid #d9d6cd; border-radius: 19px; background: #fff;
  color: #68716c; font-size: 11px; font-weight: 800;
}
.mode-switch span { color: #245f4e; font-size: 12px; }
.family-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.family-heading small { color: #63706a; font-size: 12px; }
.family-heading h1 { margin: 4px 0 0; }
.family-heading button { border: 0; border-radius: 11px; padding: 10px 12px; background: #296451; color: #fff; font-size: 12px; font-weight: 800; }
.family-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 25px; }
.family-summary div { display: flex; flex-direction: column; gap: 5px; padding: 12px 8px; border: 1px solid #e0ddd4; border-radius: 13px; background: #fff; }
.family-summary b { font-size: 10px; color: #78807c; }
.family-summary strong { font-size: 18px; color: #285f50; }
.date-title { display: flex; align-items: baseline; gap: 7px; margin: 12px 0 9px; }
.date-title.next { margin-top: 24px; }
.date-title b { font-size: 15px; }
.date-title span { font-size: 11px; color: #7d8580; }
.schedule-card { display: grid; grid-template-columns: 43px 38px 1fr auto; align-items: center; gap: 9px; padding: 13px 11px; margin-bottom: 9px; border: 1px solid #dfdcd3; border-radius: 16px; background: #fff; }
.schedule-time { font-size: 9px; line-height: 1.45; color: #7c847f; }
.schedule-time b { font-size: 11px; color: #35413c; }
.schedule-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: #eaf3ef; font-size: 18px; }
.schedule-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.schedule-main > span { font-size: 9px; font-weight: 900; color: #2b705a; }
.schedule-main > b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.schedule-main small,.schedule-main em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: #79817d; font-style: normal; }
.schedule-main em { color: #2f785f; }
.check-button,.schedule-edit { min-width: 42px; min-height: 36px; border: 0; border-radius: 10px; background: #e8f1ed; color: #296650; font-size: 10px; font-weight: 900; }
.schedule-card.bank .schedule-icon { background: #edf0f8; }
.schedule-card.call .schedule-icon { background: #fff1e9; }
.family-notice { width: 100%; min-height: 48px; margin-top: 20px; border: 0; border-radius: 13px; background: #ece9e1; color: #4d5953; font-size: 13px; font-weight: 800; }
.field select { width: 100%; min-height: 50px; border: 1px solid #ddd9cf; border-radius: 13px; background: #fff; padding: 0 14px; font: 16px inherit; color: #29332e; }
.notify-check { display: flex; align-items: center; gap: 9px; padding: 13px; margin-top: 16px; border-radius: 13px; background: #edf4f1; font-size: 13px; color: #43534c; }
.notify-check input { width: 20px; height: 20px; accent-color: #296451; }
