/* home · area styles (Home, Notifications, Explore, Get help) */

/* Medicine checklist rows: the whole row is the checkbox. */
.dose .dose-check {
  flex: none;
  color: var(--ok-icon);
  display: grid;
  place-items: center;
  width: 30px;
}
.dose-ring {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.plan-dots {
  display: flex;
  gap: 6px;
}
.plan-dots span {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--slate-200);
}
.plan-dots span.on {
  background: var(--accent);
}

/* Search: the Figma's grey well, no border (the field iOS draws) */
.search-wrap {
  padding-bottom: var(--s2);
}
.search-field {
  position: relative;
  display: block;
}
.search-field > .ic {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-2);
  pointer-events: none;
}
.input.search {
  min-height: 48px;
  padding-left: 44px;
  border-radius: var(--r-lg);
  border-color: transparent;
  background: var(--card);
}
.hc .input.search {
  border-color: var(--slate-500);
}
.input.search::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* Quick actions: the Figma's centred tiles */
.qa-tile {
  min-height: 0;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: var(--s4) var(--s3) var(--s5);
}
.qa-tile .row-ic {
  margin-bottom: var(--s2);
}
.qa-t {
  font-size: var(--fs-head);
  font-weight: 600;
  line-height: 1.25;
}
.qa-s {
  font-size: var(--fs-sub);
  line-height: 1.3;
  color: var(--text-2);
}

/* Notifications: a blue dot for unread, at the row's end (and read aloud) */
.nt-row {
  padding-top: 12px;
  padding-bottom: 12px;
}
.nt-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-left: var(--s2);
  border-radius: 50%;
  background: var(--navy-500);
}
.hc .nt-dot {
  background: var(--navy-700);
}

/* Get help now */
.help-big {
  min-height: 60px;
  font-size: var(--fs-t3);
  border-radius: var(--r-lg);
}
.help-big .ic {
  width: 24px;
  height: 24px;
}
.flat-group {
  margin-inline: 0;
  box-shadow: none;
  border: 1px solid var(--line);
}
.msg-row .row-sub {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* At the largest sizes rows may wrap their value under the title, but a dose
   row's check is the checkbox itself, so it stays beside the medicine. */
.ts-ax .dose,
.ts-xl .dose {
  flex-wrap: nowrap;
}
