:root {
  --ink: #293734;
  --muted: #74807c;
  --paper: #f6f5ef;
  --white: #fffefb;
  --line: #e4e4db;
  --sage: #6e8e82;
  --sage-dark: #45685d;
  --sage-pale: #e6eeea;
  --coral: #db806f;
  --coral-pale: #f8e8e3;
  --gold: #d6a653;
  --gold-pale: #fbf1d9;
  --shadow: 0 18px 50px rgba(43, 60, 55, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.auth-page {
  min-height: 100vh;
  padding: 28px;
  background: #f3eee4;
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(460px, 100%);
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.auth-card-wide {
  width: min(660px, 100%);
}

.auth-card > img {
  width: min(310px, 100%);
  height: auto;
  margin-bottom: 30px;
}

.auth-card h1 {
  margin-bottom: 8px;
}

.auth-card > p:not(.eyebrow, .privacy-note) {
  color: var(--muted);
  font-size: 13px;
}

.auth-submit {
  width: 100%;
  min-height: 46px;
}

.auth-error {
  padding: 10px 12px;
  border-radius: 8px;
  color: #8a3429;
  background: var(--coral-pale);
  font-size: 11px;
}

.auth-message {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 11px;
  line-height: 1.5;
}

.auth-help-link {
  margin-top: 16px;
  color: var(--sage-dark);
  display: block;
  font-size: 11px;
  text-align: center;
}

.auth-divider {
  margin: 17px 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: var(--line);
  content: "";
  flex: 1;
}

.privacy-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.setup-result {
  padding-top: 10px;
}

.setup-result a:not(.button) {
  overflow-wrap: anywhere;
  color: var(--sage-dark);
  font-size: 11px;
}

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

button {
  color: inherit;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 242px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 30px 22px 24px;
  background: #30443e;
  color: #f7f4ea;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 30px;
  color: inherit;
  text-decoration: none;
  font-family: "Newsreader", serif;
  font-size: 21px;
  font-weight: 600;
}

.brand img {
  width: 184px;
  height: auto;
  display: block;
}

.brand-mark {
  width: 27px;
  height: 30px;
  position: relative;
  display: inline-block;
}

.brand-mark span {
  position: absolute;
  border: 0;
}

.brand-mark span:nth-child(1) {
  left: 2px;
  bottom: 0;
  width: 23px;
  height: 19px;
  border: 2px solid #f7f4ea;
  border-radius: 4px 4px 2px 2px;
}

.brand-mark span:nth-child(2) {
  left: 8px;
  bottom: 5px;
  width: 11px;
  height: 10px;
  border-radius: 2px;
  background: #f1a390;
  box-shadow: 0 0 10px rgba(241, 163, 144, 0.55);
}

.brand-mark span:nth-child(3) {
  left: 9px;
  top: 0;
  width: 9px;
  height: 13px;
  border-radius: 70% 30% 60% 40%;
  background: #f1a390;
  transform: rotate(12deg);
}

.main-nav {
  display: grid;
  gap: 7px;
}

.nav-item,
.quiet-button {
  border: 0;
  background: transparent;
  color: #c8d3cf;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 12px 13px;
  border-radius: 10px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
}

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

.nav-icon {
  width: 18px;
  text-align: center;
  font-size: 18px;
}

.nav-count {
  margin-left: auto;
  min-width: 24px;
  padding: 2px 7px;
  border-radius: 20px;
  color: #30443e;
  background: #f0a18d;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.recipient-nav {
  margin-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 10px 10px;
  padding-top: 17px;
}

.sidebar-family {
  margin-top: 42px;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.sidebar .eyebrow {
  padding-left: 8px;
  color: #93a69f;
}

.person-card {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

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

.person-card strong {
  font-size: 13px;
}

.person-card small {
  margin-top: 3px;
  color: #aebdb8;
  font-size: 11px;
}

.chevron {
  margin-left: auto;
}

.avatar {
  width: 38px;
  height: 38px;
  border: 3px solid var(--white);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}

.avatar-small {
  width: 27px;
  height: 27px;
  border-width: 2px;
  font-size: 9px;
}

.avatar-mary {
  color: #75534c;
  background: #efc0b3;
}

.avatar-jane {
  color: #35564c;
  background: #bfdbd0;
}

.avatar-david {
  color: #4f536e;
  background: #ccd0e8;
}

.avatar-lisa {
  color: #755e31;
  background: #ead49d;
}

.family-members {
  margin-top: 26px;
}

.avatar-row {
  display: flex;
  padding-left: 8px;
}

.avatar-row .avatar + .avatar {
  margin-left: -7px;
}

.avatar-add {
  cursor: pointer;
  border: 2px dashed #8ba098;
  color: #dbe3df;
  background: #30443e;
}

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

main {
  min-width: 0;
}

.topbar {
  height: 116px;
  padding: 26px clamp(28px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 245, 239, 0.94);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.date-label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

h1,
h2,
h3 {
  font-family: "Newsreader", serif;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 600;
}

h2 {
  margin-bottom: 7px;
  font-size: 25px;
  line-height: 1.15;
}

h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-button,
.mobile-menu {
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
}

.icon-button i {
  position: absolute;
  right: 3px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.mobile-menu {
  display: none;
  font-size: 20px;
}

.content {
  padding: 36px clamp(28px, 5vw, 72px) 70px;
  max-width: 1500px;
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.status-card {
  min-height: 190px;
  position: relative;
  overflow: hidden;
  padding: 32px 36px;
  border: 1px solid #dfe5df;
  border-radius: 18px;
  background: linear-gradient(105deg, #eef3ee, #f8f6ed);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.status-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  top: -110px;
  border: 45px solid rgba(113, 147, 134, 0.08);
  border-radius: 50%;
}

.status-copy {
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.status-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0;
  color: #64716d;
  font-size: 14px;
  line-height: 1.65;
}

.author-line {
  margin-top: 22px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}

.wellbeing {
  z-index: 1;
  min-width: 150px;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--sage-dark);
}

.wellbeing-ring {
  width: 74px;
  height: 74px;
  margin-bottom: 7px;
  border: 1px solid #a9c1b7;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.52);
  font-size: 30px;
}

.wellbeing strong {
  font-family: "Newsreader", serif;
  font-size: 17px;
}

.wellbeing span {
  color: #8b9994;
  font-size: 10px;
}

.quick-actions {
  margin: 18px 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.quick-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  border-color: #ccd5d0;
  box-shadow: 0 10px 25px rgba(45, 62, 57, 0.07);
}

.quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 600;
}

.quick-icon.coral {
  color: #a25243;
  background: var(--coral-pale);
}

.quick-icon.sage {
  color: var(--sage-dark);
  background: var(--sage-pale);
}

.quick-icon.gold {
  color: #986e24;
  background: var(--gold-pale);
}

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

.quick-card strong {
  margin-bottom: 3px;
  font-size: 13px;
}

.quick-card small {
  color: var(--muted);
  font-size: 10px;
}

.arrow {
  margin-left: auto;
  color: #9ca6a2;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.75fr);
  gap: 20px;
}

.right-column {
  display: grid;
  gap: 20px;
  align-content: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 0 rgba(34, 50, 45, 0.01);
}

.activity-panel,
.next-up {
  padding: 26px;
}

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

.panel-heading h2 {
  margin: 0;
  font-size: 22px;
}

.panel-heading.compact {
  align-items: center;
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--sage-dark);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.timeline-list {
  position: relative;
}

.timeline-entry {
  position: relative;
  padding: 0 0 25px 44px;
}

.timeline-entry:last-child {
  padding-bottom: 0;
}

.timeline-entry:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 31px;
  bottom: 3px;
  width: 1px;
  background: var(--line);
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 1px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 11px;
  font-weight: 700;
}

.timeline-dot.concern {
  color: #94661a;
  background: var(--gold-pale);
}

.timeline-dot.task {
  color: #9b574a;
  background: var(--coral-pale);
}

.entry-meta {
  margin-bottom: 5px;
  color: #919b97;
  font-size: 10px;
  font-weight: 600;
}

.timeline-entry h3 {
  margin-bottom: 6px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.timeline-entry p {
  margin-bottom: 8px;
  color: #6e7975;
  font-size: 12px;
  line-height: 1.55;
}

.entry-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 20px;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 9px;
  font-weight: 700;
}

.task-total {
  padding: 5px 8px;
  border-radius: 20px;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 9px;
  font-weight: 700;
}

.task-list {
  display: grid;
}

.task-item {
  padding: 13px 0;
  border-top: 1px solid #edede7;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  gap: 11px;
  align-items: start;
}

.task-check {
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border: 1.5px solid #b8c3bf;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.task-check:hover {
  border-color: var(--sage);
  background: var(--sage-pale);
}

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

.task-item strong {
  font-size: 12px;
  line-height: 1.4;
}

.task-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
}

.task-owner {
  width: 26px;
  height: 26px;
  border: 0;
  font-size: 9px;
}

.add-inline {
  width: 100%;
  padding: 13px 0 0;
  border: 0;
  border-top: 1px solid #edede7;
  color: var(--sage-dark);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
}

.concern-panel {
  padding: 22px;
  background: #fffaf0;
  border-color: #eddfc5;
  display: flex;
  gap: 15px;
}

.routine-panel {
  padding: 22px;
}

.schedule-panel {
  padding: 22px;
}

.schedule-panel .panel-heading {
  margin-bottom: 8px;
}

.schedule-add-button {
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  color: var(--sage-dark);
  background: var(--sage-pale);
  cursor: pointer;
  font-size: 10px;
  font-weight: 800;
}

.caregiver-agenda-list {
  display: grid;
}

.caregiver-agenda-item {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--line);
  color: inherit;
  background: transparent;
  cursor: pointer;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.caregiver-agenda-item > span:first-child {
  color: var(--sage-dark);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

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

.caregiver-agenda-item strong {
  font-size: 11px;
  line-height: 1.35;
}

.caregiver-agenda-item small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.caregiver-agenda-item > span:last-child {
  color: var(--muted);
  font-size: 18px;
}

.caregiver-agenda-item:hover strong,
.caregiver-agenda-item:focus-visible strong {
  color: var(--sage-dark);
}

.medication-manager-panel {
  padding: 22px;
}

.medication-alert-panel {
  padding: 20px;
  border-color: #e7c5a5;
  background: #fff7ed;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 13px;
}

.medication-alert-prominent {
  margin-bottom: 18px;
  padding: 22px 26px;
  border-width: 2px;
  box-shadow: 0 8px 24px rgba(145, 75, 38, 0.12);
  grid-template-columns: 42px 1fr;
}

.medication-alert-prominent .medication-alert-symbol {
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.medication-alert-prominent h2 {
  font-size: 20px;
}

.medication-alert-prominent .medication-alert-item strong {
  font-size: 13px;
}

.medication-alert-prominent .medication-alert-item span {
  font-size: 11px;
}

.medication-alert-symbol {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: #b65c2f;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.medication-alert-panel h2 {
  margin-bottom: 8px;
  font-size: 17px;
}

.medication-alert-item {
  width: 100%;
  padding: 9px 0;
  border: 0;
  border-top: 1px solid #ead6c3;
  color: inherit;
  background: transparent;
  cursor: pointer;
  display: grid;
  gap: 2px;
  text-align: left;
}

.medication-alert-item strong {
  font-size: 11px;
}

.medication-alert-item span {
  color: #98502d;
  font-size: 9px;
}

.medication-manager-panel .panel-heading {
  margin-bottom: 8px;
}

.caregiver-medication-list {
  display: grid;
}

.caregiver-medication-item {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--line);
  color: inherit;
  background: transparent;
  cursor: pointer;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.caregiver-medication-item > span:first-child {
  color: var(--sage-dark);
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

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

.caregiver-medication-item strong {
  font-size: 11px;
}

.caregiver-medication-item small {
  margin-top: 3px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.medication-state {
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 8px;
  font-weight: 800;
}

.caregiver-medication-item.paused {
  opacity: 0.68;
}

.caregiver-medication-item.paused .medication-state {
  color: var(--muted);
  background: var(--cream);
}

.medication-manager-note {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.routine-panel .panel-heading {
  margin-bottom: 14px;
}

.routine-progress {
  padding: 6px 9px;
  border-radius: 20px;
  color: var(--sage-dark);
  background: var(--sage-pale);
  font-size: 10px;
  font-weight: 700;
}

.routine-family-status {
  margin-bottom: 13px;
  display: grid;
  gap: 9px;
}

.routine-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.routine-actions .button {
  padding: 10px 13px;
}

.routine-actions .text-button {
  text-decoration: none;
  white-space: nowrap;
}

.message-status-panel {
  padding: 22px;
}

.message-status-panel .panel-heading {
  margin-bottom: 8px;
}

.family-message {
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.family-message p {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.5;
}

.family-message-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 9px;
}

.family-message strong {
  color: #a0752e;
}

.family-message strong.seen {
  color: var(--sage-dark);
}

.family-message .family-message-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.family-message-actions button {
  border: 0;
  border-radius: 999px;
  padding: 7px 11px;
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.message-recall-button {
  background: #fff0e8;
  color: #9a4121;
}

.message-status-remove-button {
  background: var(--cream);
  color: var(--muted);
}

.empty-message {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.routine-status-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
}

.routine-status-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #8d9693;
  background: #efefe9;
  font-size: 9px;
  font-weight: 700;
}

.routine-status-row.done {
  color: var(--ink);
}

.routine-status-row.done .routine-status-dot {
  color: #fff;
  background: var(--sage);
}

.routine-status-row.not-taken {
  color: #9a4121;
}

.routine-status-row.not-taken .routine-status-dot {
  color: #9a4121;
  background: #fff0e8;
}

.myday-content {
  max-width: none;
  min-height: calc(100vh - 116px);
  padding-top: 25px;
  background: #f3eee4;
}

.recipient-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 15px 0 55px;
}

.recipient-header {
  margin-bottom: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recipient-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--sage-dark);
  font-family: "Newsreader", serif;
  font-size: 18px;
  font-weight: 600;
}

.recipient-brand img {
  width: clamp(190px, 24vw, 280px);
  height: auto;
  display: block;
}

.recipient-brand .brand-mark span:nth-child(1) {
  border-color: var(--sage-dark);
}

.recipient-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.recipient-welcome {
  margin-bottom: 22px;
  padding: 30px 34px;
  border-radius: 20px;
  color: #fff;
  background: #4d7166;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 18px 45px rgba(63, 93, 84, 0.16);
}

.recipient-kicker {
  margin-bottom: 6px;
  color: #d9e8e2;
  font-size: 16px;
  font-weight: 600;
}

.recipient-welcome h2 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
}

.weather-note {
  min-width: 130px;
  display: grid;
  grid-template-columns: 37px 1fr;
  align-items: center;
}

.weather-note > span {
  grid-row: span 2;
  color: #f5d58e;
  font-size: 30px;
}

.weather-note strong {
  font-size: 23px;
}

.weather-note small {
  color: #d9e8e2;
  font-size: 10px;
}

.recipient-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.recipient-card {
  padding: 28px;
  border: 1px solid #e2ded3;
  border-radius: 18px;
  background: var(--white);
}

.recipient-card-heading {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.recipient-card-heading p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.recipient-card-heading h3 {
  margin: 0;
  font-size: 21px;
}

.recipient-card-icon {
  width: 45px;
  height: 45px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 19px;
}

.recipient-card-icon.sage {
  color: var(--sage-dark);
  background: var(--sage-pale);
}

.recipient-card-icon.coral {
  color: #aa5d4f;
  background: var(--coral-pale);
}

.agenda-list {
  display: grid;
}

.agenda-item {
  position: relative;
  display: grid;
  grid-template-columns: 76px 16px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
  padding: 4px 0 21px;
  min-height: 57px;
}

.agenda-item:last-child {
  padding-bottom: 0;
}

.agenda-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 92px;
  top: 30px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.agenda-time {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: 1px;
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.agenda-dot {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin-top: 3px;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 3px solid #dce9e4;
  border-radius: 50%;
  background: var(--sage);
}

.agenda-item strong,
.agenda-item small {
  grid-column: 3;
  display: block;
}

.agenda-item strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.agenda-item small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.medication-list {
  display: grid;
  gap: 11px;
}

.medication-item {
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px;
  transition: 160ms ease;
}

.medication-item.taken {
  border-color: #bfd2ca;
  background: #f0f6f3;
}

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

.medication-item strong {
  margin-bottom: 4px;
  font-size: 15px;
}

.medication-item small {
  color: var(--muted);
  font-size: 11px;
}

.medication-button {
  min-width: 113px;
  min-height: 45px;
  padding: 9px 13px;
  border: 1px solid var(--sage);
  border-radius: 11px;
  color: var(--sage-dark);
  background: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.medication-item.taken .medication-button {
  border-color: var(--sage);
  color: #fff;
  background: var(--sage);
}

.medication-note {
  margin: 17px 2px 0;
  color: #8a8d88;
  font-size: 9px;
  line-height: 1.5;
}

.recipient-reassurance {
  margin-top: 20px;
  padding: 18px 24px;
  border: 1px solid #dfdbcf;
  border-radius: 16px;
  background: rgba(255, 254, 251, 0.72);
  display: flex;
  align-items: center;
}

.recipient-reassurance .avatar + .avatar {
  margin-left: -9px;
}

.recipient-reassurance p {
  margin: 0 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.recipient-reassurance strong {
  color: var(--ink);
}

.tablet-page {
  min-height: 100vh;
  background: #f3eee4;
}

.tablet-shell {
  max-width: 1400px;
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 58px);
}

.tablet-header {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tablet-header .recipient-brand {
  font-size: clamp(21px, 2.3vw, 30px);
}

.refresh-button {
  min-height: 64px;
  padding: 12px 25px;
  border: 2px solid var(--sage-dark);
  border-radius: 16px;
  color: #fff;
  background: var(--sage-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(55, 84, 75, 0.18);
}

.refresh-button:disabled {
  cursor: wait;
  opacity: 0.78;
}

.refresh-button span {
  font-size: 30px;
  line-height: 1;
}

.refresh-button > span:last-child {
  display: grid;
  gap: 4px;
  text-align: left;
  font-size: inherit;
}

.refresh-button strong {
  font: inherit;
}

.refresh-button small {
  color: #d6e5df;
  font-size: 10px;
  font-weight: 500;
}

.refresh-button:hover,
.refresh-button:focus-visible {
  background: #36574d;
}

.orientation-panel {
  margin-bottom: 24px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 24px;
  color: #fff;
  background: #4d7166;
  box-shadow: 0 18px 45px rgba(63, 93, 84, 0.16);
}

.orientation-date {
  margin-bottom: 17px;
  color: #fff;
  font-size: clamp(30px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.orientation-greeting {
  margin-bottom: 5px;
  color: #d9e8e2;
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 600;
}

.orientation-panel h1 {
  margin: 0;
  font-size: clamp(28px, 3.7vw, 50px);
}

.tablet-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.day-messages {
  margin-bottom: 24px;
  padding: clamp(24px, 3vw, 38px);
  border: 3px solid #deb96e;
  border-radius: 22px;
  background: #fff8e8;
  box-shadow: 0 15px 35px rgba(117, 91, 39, 0.1);
}

.day-messages-heading {
  margin-bottom: 19px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.day-messages-heading > span {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #855f1d;
  background: #f7dfaa;
  font-size: 25px;
}

.day-messages-heading p {
  margin: 0 0 3px;
  color: #8e6b29;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.day-messages-heading h2 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 35px);
}

.day-message {
  padding: 21px 22px;
  border: 1px solid #ead5a7;
  border-radius: 15px;
  background: var(--white);
}

.day-message + .day-message {
  margin-top: 12px;
}

.day-message.acknowledged {
  border-color: #c8d9d2;
  background: #f1f7f4;
}

.day-message-from {
  margin-bottom: 8px;
  color: #866728;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 700;
}

.day-message p {
  margin-bottom: 18px;
  font-family: "Newsreader", serif;
  font-size: clamp(25px, 3.3vw, 43px);
  line-height: 1.18;
}

.day-message-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.day-message-actions > span {
  color: var(--muted);
  font-size: 13px;
}

.message-ack-button,
.message-dismiss-button {
  min-height: 58px;
  padding: 11px 24px;
  border-radius: 13px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
}

.message-ack-button {
  border: 2px solid var(--sage-dark);
  color: #fff;
  background: var(--sage-dark);
}

.message-dismiss-button {
  border: 2px solid #b7c9c2;
  color: var(--sage-dark);
  background: var(--white);
}

.tablet-grid .recipient-card {
  padding: clamp(25px, 3vw, 40px);
}

.tablet-grid .recipient-card-heading h2 {
  margin: 0;
  font-size: clamp(23px, 2.5vw, 34px);
}

.tablet-grid .agenda-item strong,
.tablet-grid .medication-item strong {
  font-size: clamp(17px, 1.7vw, 23px);
}

.tablet-grid .agenda-item small,
.tablet-grid .medication-item small {
  font-size: clamp(13px, 1.25vw, 17px);
}

.tablet-grid .agenda-time {
  font-size: clamp(13px, 1.3vw, 17px);
}

.tablet-grid .medication-item {
  min-height: 94px;
  padding: 17px 18px;
}

.tablet-grid .medication-button {
  min-width: 155px;
  min-height: 60px;
  font-size: clamp(14px, 1.3vw, 18px);
}

.tablet-page .recipient-reassurance {
  font-size: 16px;
}

.tablet-page .recipient-reassurance p {
  font-size: clamp(14px, 1.4vw, 19px);
}

.concern-symbol {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #986e24;
  background: var(--gold-pale);
  font-weight: 700;
}

.concern-panel h3 {
  font-size: 17px;
}

.concern-panel p:not(.eyebrow) {
  margin-bottom: 10px;
  color: #7d7667;
  font-size: 11px;
  line-height: 1.5;
}

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

.page-heading h2 {
  margin-bottom: 5px;
  font-size: 34px;
}

.page-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.button {
  padding: 11px 17px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.button-primary {
  border: 1px solid var(--sage-dark);
  color: #fff;
  background: var(--sage-dark);
}

.button-primary:hover {
  background: #38574e;
}

.button-secondary {
  border: 1px solid var(--line);
  background: transparent;
}

.filter-row {
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
}

.filter.active {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: var(--sage-pale);
}

.full-timeline {
  padding: 30px;
}

.full-timeline .timeline-entry {
  padding-left: 52px;
}

.full-timeline .timeline-entry:not(:last-child) {
  padding-bottom: 33px;
}

.task-summary {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.summary-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.summary-card strong,
.summary-card span {
  display: block;
}

.summary-card strong {
  margin-bottom: 3px;
  font-family: "Newsreader", serif;
  font-size: 27px;
}

.summary-card span {
  color: var(--muted);
  font-size: 10px;
}

.task-board {
  padding: 6px 26px;
}

.board-task {
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 14px;
  align-items: center;
}

.board-task:last-child {
  border-bottom: 0;
}

.board-task h3 {
  margin: 0 0 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
}

.board-task p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.due-pill {
  padding: 5px 9px;
  border-radius: 20px;
  color: #9b574a;
  background: var(--coral-pale);
  font-size: 9px;
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  padding: 24px;
  background: rgba(24, 35, 32, 0.55);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
}

.modal {
  width: min(570px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  position: relative;
  padding: 34px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  animation: modalIn 180ms ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: #f1f1eb;
  cursor: pointer;
  font-size: 21px;
}

.modal h2 {
  margin-bottom: 7px;
  font-size: 30px;
}

.modal-intro {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
}

.tablet-access-list {
  margin-bottom: 20px;
  display: grid;
  gap: 10px;
}

.security-settings-section + .security-settings-section {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

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

.security-section-heading h3 {
  font-size: 16px;
}

.security-section-heading p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

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

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

.recipient-settings-form {
  display: grid;
  gap: 14px;
}

.recipient-settings-form .form-row {
  margin: 0;
}

.system-status-item {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf5;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 11px;
  align-items: start;
}

.system-status-item strong,
.system-status-item span {
  display: block;
}

.system-status-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.system-status-indicator {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: #c3a249;
}

.system-status-indicator.healthy,
.system-status-indicator.succeeded,
.system-status-indicator.running {
  background: var(--sage);
}

.system-status-indicator.failed,
.system-status-indicator.stale {
  background: #c75b37;
}

.system-status-item .system-status-error {
  color: #9a4121;
}

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

.compact-button {
  min-height: 36px;
  padding: 8px 13px;
  flex: 0 0 auto;
}

.member-access-list {
  margin-bottom: 16px;
  display: grid;
  gap: 10px;
}

.member-access-item {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fafaf6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

.member-access-item.pending {
  border-style: dashed;
}

.member-access-item strong,
.member-access-item span {
  display: block;
}

.member-access-item strong {
  font-size: 12px;
}

.member-access-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.member-role-select {
  width: auto;
  min-width: 115px;
  height: 34px;
  font-size: 10px;
}

.member-role-label {
  font-weight: 700;
  text-transform: capitalize;
}

.member-invite-form {
  padding: 15px;
  border-radius: 12px;
  background: var(--sage-pale);
}

.danger-text-button {
  flex: 0 0 auto;
  color: #9e4638;
}

.tablet-access-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fafaf6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.tablet-access-item strong,
.tablet-access-item span {
  display: block;
}

.tablet-access-item strong {
  font-size: 12px;
}

.tablet-access-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.tablet-pairing-result {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #bfd4ca;
  border-radius: 12px;
  background: var(--sage-pale);
}

.tablet-pairing-result > strong {
  font-size: 12px;
}

.tablet-pairing-result p {
  margin: 5px 0 12px;
  color: var(--muted);
  font-size: 10px;
}

.tablet-pairing-result input {
  margin-bottom: 10px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 10px;
}

.field {
  margin-bottom: 18px;
}

.field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #d9dcd6;
  border-radius: 9px;
  outline: 0;
  color: var(--ink);
  background: #fff;
}

input,
select {
  height: 42px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(110, 142, 130, 0.12);
}

.mood-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.mood-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mood-options span {
  min-height: 69px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 19px;
}

.mood-options small {
  font-size: 9px;
  font-weight: 600;
}

.mood-options input:checked + span {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: var(--sage-pale);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.modal-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.agenda-modal-actions {
  align-items: center;
}

.modal-action-spacer {
  flex: 1;
}

.danger-button {
  color: #9a4121;
  background: #fff0e8;
}

.restore-button {
  color: var(--sage-dark);
  background: var(--sage-pale);
}

.medication-history {
  margin: 4px 0 20px;
  padding: 15px;
  border-radius: 12px;
  background: #f7f7f2;
}

.medication-notification-toggle {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f7f2;
}

.medication-history h3 {
  margin-bottom: 9px;
  font-size: 13px;
}

.medication-history-row {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  font-size: 10px;
}

.medication-history-row small {
  color: var(--muted);
}

.history-taken {
  color: var(--sage-dark);
}

.history-not-taken {
  color: #9a4121;
}

.message-preview {
  margin: -3px 0 18px;
  padding: 12px 14px;
  border: 1px solid #ead6a9;
  border-radius: 10px;
  background: #fff8e8;
}

.message-preview span {
  display: block;
  margin-bottom: 3px;
  color: #8b6828;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.message-preview p {
  margin: 0;
  color: #776c58;
  font-size: 10px;
}

.response-toggle {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid #ead6a9;
  cursor: pointer;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 11px;
}

.response-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.response-toggle-control {
  width: 38px;
  height: 22px;
  position: relative;
  border-radius: 20px;
  background: #c8c5bc;
  transition: 150ms ease;
}

.response-toggle-control::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: 150ms ease;
}

.response-toggle input:checked + .response-toggle-control {
  background: var(--sage);
}

.response-toggle input:checked + .response-toggle-control::after {
  transform: translateX(16px);
}

.response-toggle strong,
.response-toggle small {
  display: block;
}

.response-toggle strong {
  color: var(--ink);
  font-size: 11px;
}

.response-toggle small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 25px;
  bottom: 25px;
  min-width: 280px;
  padding: 14px 16px;
  border-radius: 12px;
  color: #fff;
  background: #30443e;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: 180ms ease;
}

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

.toast > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #30443e;
  background: #b9d6ca;
  font-weight: 700;
}

.toast p,
.toast strong,
.toast small {
  display: block;
  margin: 0;
}

.toast strong {
  font-size: 11px;
}

.toast small {
  margin-top: 2px;
  color: #b8c7c2;
  font-size: 9px;
}

@media (max-width: 1050px) {
  .app-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }

  .sidebar {
    padding-left: 14px;
    padding-right: 14px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .right-column {
    grid-template-columns: 1fr 1fr;
  }

  .routine-panel {
    grid-column: span 2;
  }

  .message-status-panel {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: fixed;
    z-index: 60;
    left: 0;
    top: 0;
    width: 242px;
    transform: translateX(-100%);
    transition: transform 180ms ease;
  }

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

  .mobile-menu {
    display: block;
  }

  .topbar {
    height: 95px;
    padding: 20px;
    gap: 13px;
  }

  .topbar > div:nth-child(2) {
    margin-right: auto;
  }

  h1 {
    font-size: 23px;
  }

  .content {
    padding: 24px 18px 55px;
  }

  .status-card {
    padding: 26px;
  }

  .wellbeing {
    display: none;
  }

  .right-column {
    grid-template-columns: 1fr;
  }

  .routine-panel {
    grid-column: auto;
  }

  .message-status-panel {
    grid-column: auto;
  }

  .recipient-grid {
    grid-template-columns: 1fr;
  }

  .tablet-grid {
    grid-template-columns: 1fr;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .task-summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .board-task {
    grid-template-columns: 24px 1fr auto;
  }

  .board-task .due-pill {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 470px) {
  .topbar-actions .icon-button {
    display: none;
  }

  .status-card {
    padding: 23px 21px;
  }

  .status-card h2 {
    font-size: 22px;
  }

  .activity-panel,
  .next-up,
  .full-timeline {
    padding: 21px;
  }

  .panel-heading .text-button {
    display: none;
  }

  .task-summary {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 28px 20px 22px;
  }

  .mood-options {
    grid-template-columns: 1fr;
  }

  .mood-options span {
    min-height: 48px;
    grid-template-columns: 30px 1fr;
    justify-items: start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .recipient-page {
    padding-top: 2px;
  }

  .recipient-header {
    margin-bottom: 20px;
  }

  .recipient-date {
    display: none;
  }

  .recipient-welcome {
    padding: 25px 22px;
  }

  .weather-note {
    display: none;
  }

  .recipient-card {
    padding: 22px 18px;
  }

  .medication-item {
    grid-template-columns: 1fr;
  }

  .medication-button {
    width: 100%;
  }

  .tablet-shell {
    padding: 18px;
  }

  .tablet-header {
    align-items: stretch;
    flex-direction: column;
  }

  .refresh-button {
    width: 100%;
    justify-content: center;
  }

  .routine-actions,
  .day-message-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .message-ack-button,
  .message-dismiss-button {
    width: 100%;
  }
}
