/* Home-life concept and connector library. Solid tints only: the landing
   accessibility check measures text against flat backgrounds. */
.life-section {
  background: #efebf5;
  padding: 96px 0 92px;
}
.connectors-section {
  padding: 96px 0 92px;
}
.life-section .section-intro > p:last-of-type,
.connectors-section .section-intro > p:last-of-type {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin-top: 22px;
}
.life-app {
  max-width: 1180px;
  margin: 44px auto 0;
  border: 1px solid #dcd5e6;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 60px -36px #3d2a5a55;
}
.life-app {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  overflow: hidden;
  background: #f6f5f1;
  color: #292d40;
  /* Long unbroken titles or drafts wrap inside their card. */
  overflow-wrap: anywhere;
}
.life-day,
.life-event,
.life-detail,
.life-draft {
  min-width: 0;
}
/* Tablet app chrome after apps/web/marketing/dashboard-preview.html: a white
   sidebar with brand, household, grouped views, agents and the viewer. */
.life-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 14px 18px;
  border-right: 1px solid #e5e5e9;
  background: #fff;
}
.life-brand {
  display: flex;
  align-items: center;
  padding: 0 6px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1;
}
.life-brand > span:last-child {
  font-weight: 400;
}
.life-brand .brand-house {
  width: 19px;
  height: 22px;
}
.life-home {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eeedf7;
  font-size: 14px;
  font-weight: 700;
}
.life-home > span,
.life-me > span {
  display: grid;
  line-height: 1.3;
}
.life-home small,
.life-me small {
  color: #5d5b6e;
  font-size: 12px;
  font-weight: 400;
}
.life-nav {
  display: flex;
  flex-direction: column;
}
.life-nav button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #4d4a5c;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.life-nav svg {
  flex: none;
  width: 18px;
  height: 18px;
}
.life-count {
  margin-left: auto;
  color: #5d5b6e;
  font-size: 12px;
  font-style: normal;
}
.life-agents {
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.life-agents .life-nav-label {
  padding: 0 12px;
}
.life-agents span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
}
.life-online {
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-radius: 50%;
  background: #50785f;
}
.life-me {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 10px 12px 0;
  border-top: 1px solid #efeef2;
  font-size: 14px;
}
.life-me > i,
.life-ask > i {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e8d9cf;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.life-nav button:hover {
  background: #f1eef6;
}
.life-nav button[aria-pressed="true"] {
  background: #eae6f8;
  color: #4b3770;
}
/* Selected view: the same left bar as the real app's sidebar. */
.life-nav button[aria-pressed="true"]::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: currentColor;
}
.life-screen {
  container: life / inline-size;
  min-width: 0;
}
/* Slim top bar: Willow House / current view, and the members. */
.life-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 26px;
  border-bottom: 1px solid #e5e5e9;
  background: #fff;
  color: #5d5b6e;
  font-size: 14px;
}
.life-crumb b {
  margin: 0 8px;
  color: #a8a6b5;
  font-weight: 400;
}
.life-crumb [data-life-title] {
  color: #292d40;
}
.life-top .life-people {
  margin-left: auto;
}
.life-body {
  padding: 24px 26px 28px;
}
.life-view-title {
  margin: 0 0 18px;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.life-people {
  display: flex;
}
.life-people i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: -6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e8d9cf;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}
.life-people i + i {
  background: #dde1ec;
}
.life-panel h4 {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.35;
}
.life-subhead {
  margin-top: 22px !important;
}
.life-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid #ebe7f0;
  border-radius: 16px;
  background: #fff;
}
.life-split {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.life-panel > .life-split:first-child {
  margin-top: 0;
}
@container life (min-width: 620px) {
  .life-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }
}
.life-hint {
  margin-top: 14px;
  color: #5d5b6e;
  font-size: 13px;
  line-height: 1.6;
}
.life-pick {
  font: inherit;
  color: #2c2c42;
  cursor: pointer;
}
.life-picks {
  display: grid;
  gap: 8px;
}
.life-row {
  display: grid;
  gap: 6px;
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid #e6e2ec;
  border-radius: 12px;
  background: #fff;
  text-align: left;
}
.life-row small,
.life-tile small,
.life-event small,
.life-list small {
  color: #5d5b6e;
  font-size: 13px;
}
.life-pick-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
}
.life-row[aria-pressed="true"],
.life-tile[aria-pressed="true"],
.life-chip[aria-pressed="true"] {
  border-color: #57427d;
  background: #f4f0fa;
  box-shadow: inset 0 0 0 1px #57427d;
}
.life-meter {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #ece8f2;
  overflow: hidden;
}
.life-meter i {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: #8a74ad;
}
.life-total {
  margin: -4px 0 14px;
  color: #5d5b6e;
  font-size: 14px;
}
.life-total b {
  color: #2c2c42;
  font-size: 20px;
}
.life-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.life-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0edf3;
  font-size: 15px;
}
.life-list li > span:first-child {
  display: grid;
  min-width: 0;
}
.life-list li > span:last-child {
  font-weight: 600;
  white-space: nowrap;
}
.life-facts {
  display: grid;
  gap: 0;
  margin: 0;
}
.life-facts > div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0edf3;
  font-size: 15px;
}
.life-facts dt {
  color: #5d5b6e;
}
.life-facts dd {
  margin: 0;
  font-weight: 600;
}
.life-detail p {
  color: #4d4a5c;
}
.life-project-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.life-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f0edf3;
  color: #4d4a5c;
  font-size: 12px;
  font-weight: 600;
}
.life-project-next {
  margin: -4px 0 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f7f4fb;
  color: #3d3552;
  font-size: 13.5px;
  font-weight: 600;
}

/* Calendar: a week grid on wide screens, a day list on phones. */
.life-week {
  display: grid;
  gap: 10px;
}
@container life (min-width: 620px) {
  .life-week {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }
  .life-day {
    min-height: 170px;
  }
}
.life-day {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 10px;
  border: 1px solid #ece9f0;
  border-radius: 14px;
  background: #faf9f6;
}
.life-day-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #5d5b6e;
  font-size: 13px;
  font-weight: 600;
}
.life-day-name b {
  color: #2c2c42;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}
.life-event {
  display: grid;
  gap: 2px;
  min-height: 52px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}
.life-event.lilac {
  background: #e6def2;
}
.life-event.sage {
  background: #e1e8d8;
}
.life-event.sand {
  background: #f4edce;
}
.life-event.peach {
  background: #f2e1d5;
}
.life-event small {
  color: #4d4a5c;
  font-weight: 400;
}
.life-event[aria-pressed="true"] {
  border-color: #2c2c42;
  box-shadow: inset 0 0 0 1px #2c2c42;
}
.life-add label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
.life-inline {
  display: flex;
  gap: 8px;
}
.life-inline input,
.life-draft textarea {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #6f6a80;
  border-radius: 12px;
  background: #fff;
  color: #2c2c42;
  font: inherit;
  font-size: 16px;
}
.life-action {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #2c2c42;
  border-radius: 12px;
  background: #2c2c42;
  color: #fff;
  font-weight: 600;
}
.life-action:hover {
  background: #45385f;
}

/* Utilities: four bill tiles, then usage bars for the selected one. */
.life-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
@container life (min-width: 620px) {
  .life-tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.life-tile {
  display: grid;
  gap: 2px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid #e6e2ec;
  border-radius: 14px;
  background: #fff;
  text-align: left;
}
.life-tile > span {
  font-size: 14px;
  font-weight: 600;
}
.life-tile b {
  font-size: 22px;
}
.life-bars {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 10px;
  height: 180px;
}
.life-bars span {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  height: 100%;
}
.life-bars i {
  display: block;
  min-height: 6px;
  border-radius: 8px 8px 4px 4px;
  background: #a593c3;
}
.life-bars small {
  padding-top: 6px;
  color: #5d5b6e;
  font-size: 13px;
  text-align: center;
}

/* Providers: a message thread and an editable, unsent draft. */
.life-thread {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.life-thread li,
.life-bubble {
  display: grid;
  gap: 2px;
  max-width: 92%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
}
.life-thread small,
.life-bubble small,
.life-draft small {
  color: #5d5b6e;
  font-size: 13px;
  font-weight: 600;
}
.life-thread .them,
.life-bubble.them {
  background: #f3f1ee;
}
.life-thread .us,
.life-bubble.us {
  justify-self: end;
  background: #ebe5f4;
}
.life-draft {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px dashed #8a7fa0;
  border-radius: 14px;
}
.life-draft p {
  font-size: 15px;
  line-height: 1.55;
}
.life-draft textarea {
  min-height: 110px;
  resize: vertical;
}
.life-draft .life-action {
  justify-self: start;
  border-color: #6f6a80;
  background: #fff;
  color: #2c2c42;
}

/* Home agent: suggested prompts, a grounded answer and a reviewable plan. */
.life-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.life-chip {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #d7cfe3;
  border-radius: 22px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.life-chat {
  display: grid;
  gap: 10px;
}
.life-chat .life-detail {
  display: grid;
  gap: 10px;
}
.life-chat .life-detail[hidden] {
  display: none;
}
.life-plan {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.life-plan li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #ebe7f0;
  border-radius: 12px;
  font-size: 15px;
}
.life-approve {
  flex: none;
  min-height: 44px;
  min-width: 96px;
  padding: 0 14px;
  border: 1px solid #6f6a80;
  border-radius: 12px;
  background: #fff;
  color: #2c2c42;
  font-weight: 600;
}
.life-approve[aria-pressed="true"] {
  border-color: #3d5a43;
  background: #e1e8d8;
  color: #2f4734;
}

/* Reminders: who, when and repeat, the record each belongs to, and a done toggle. */
.life-reminders {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.life-reminder {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e6e2ec;
  border-radius: 12px;
}
.life-reminder > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.life-reminder b {
  font-size: 15px;
}
.life-reminder small {
  color: #5d5b6e;
  font-size: 13px;
}
.life-linked {
  color: #4b3770 !important;
}
.life-done {
  flex: none;
  min-width: 64px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #6f6a80;
  border-radius: 12px;
  background: #fff;
  color: #2c2c42;
  font-weight: 600;
}
.life-done[aria-pressed="true"] {
  border-color: #3d5a43;
  background: #e1e8d8;
  color: #2f4734;
}
.life-reminder:has([aria-pressed="true"]) b {
  color: #5d5b6e;
  text-decoration: line-through;
}
.life-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
}
.life-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}
.life-field input,
.life-field select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #6f6a80;
  border-radius: 12px;
  background: #fff;
  color: #2c2c42;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
}

/* Navigation: two labelled groups. A side list on wide screens, two rows on
   tablets and a native chooser on phones, so eleven views never crowd. */
.life-nav-group {
  display: grid;
  gap: 4px;
}
.life-nav-group + .life-nav-group {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #ebe7f0;
}
.life-nav-label {
  padding: 0 14px 4px;
  color: #5d5b6e;
  font-size: 12px;
  font-weight: 600;
}
.life-choose {
  display: none;
}

/* Today: greeting, the "with a little help" banner, the four-tile board and
   a compact strip of concept areas. */
.life-hello {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.life-hello small {
  color: #5d5b6e;
  font-size: 12px;
  font-weight: 600;
}
.life-hello h3 {
  margin: 6px 0 4px;
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.life-hello p {
  color: #5d5b6e;
  font-size: 15px;
}
.life-weather {
  flex: none;
  color: #a77a2c;
  font-size: 28px;
}
.life-weather b {
  color: #55596b;
  font-size: 26px;
  font-weight: 400;
}
.life-brief {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  padding: 14px 18px;
  border: 1px solid #e1daef;
  border-radius: 12px;
  background: #e9e5f5;
}
.life-brief-icon {
  display: flex;
  flex: none;
  color: #745d9c;
}
.life-brief-icon svg {
  width: 24px;
  height: 24px;
}
.life-brief > div {
  flex: 1 1 220px;
  min-width: 0;
}
.life-brief b {
  font-size: 15px;
}
.life-brief p {
  color: #57536a;
  font-size: 14px;
}
.life-brief-marks {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.life-brief-marks img {
  width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 7px;
  background: #fff;
}
.life-board {
  display: grid;
  gap: 14px;
}
@container life (min-width: 620px) {
  .life-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.life-box {
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid #e4e3e7;
  border-radius: 12px;
  background: #fff;
}
.life-tile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.life-panel .life-tile-head h4 {
  margin: 0;
  font-size: 15px;
}
.life-tile-head h4 span {
  margin-right: 6px;
  color: #6d6487;
}
.life-tile-head small {
  color: #5d5b6e;
  font-size: 13px;
}
.life-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #57536a;
  font-size: 13px;
}
.life-link {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #57427d;
  font-size: 14px;
  font-weight: 600;
}
.life-link::after {
  content: " ↗" / "";
}
.life-link[hidden] {
  display: none;
}
.life-project {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #292d40;
  font: inherit;
  text-align: left;
}
.life-project.peach {
  background: #f7e9df;
}
.life-project.lavender {
  background: #efedf7;
}
.life-project:hover {
  border-color: #8a74ad;
}
.life-project-glyph {
  font-size: 20px;
  line-height: 1.2;
}
.life-project-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.life-project b {
  font-size: 14px;
}
.life-project small {
  color: #5f5560;
  font-size: 13px;
}
.life-project .life-meter {
  height: 6px;
  margin-top: 4px;
  background: #fff;
}
.life-project.peach .life-meter i {
  background: #b07a5a;
}
.life-project-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.life-ask {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  margin-top: 6px;
}
.life-ask > i {
  background: #dce1ee;
}
.life-ask p {
  margin: 4px 0 6px;
  font-size: 14px;
}
.life-ask-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.life-ask .life-swatches {
  margin: 0;
}
.life-ask .life-swatches span {
  width: 26px;
  height: 26px;
  border-width: 2px;
  border-radius: 6px;
}
.life-activity {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.life-activity li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}
.life-activity li > span:last-child {
  display: grid;
  min-width: 0;
}
.life-activity small {
  color: #5d5b6e;
  font-size: 13px;
}
.life-dot {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #c3d1bd;
}
.life-upcoming {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
@container life (min-width: 620px) {
  .life-upcoming {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.life-glance-card {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid #e4e3e7;
  border-radius: 12px;
  background: #fff;
  color: #292d40;
  font: inherit;
  text-align: left;
}
.life-glance-card:hover {
  border-color: #8a74ad;
}
.life-glance-card small {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #5d5b6e;
  font-size: 13px;
  font-weight: 700;
}
.life-glance-card b {
  font-size: 14px;
  line-height: 1.4;
}

/* Lists and checklists: a round tick and the item, both 44px tall. */
.life-checks {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.life-check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid #f0edf3;
}
.life-check > span {
  display: grid;
  min-width: 0;
  font-size: 15px;
}
.life-check small {
  color: #5d5b6e;
  font-size: 13px;
}
.life-tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}
.life-tick span {
  width: 24px;
  height: 24px;
  border: 2px solid #6f6a80;
  border-radius: 7px;
  background: #fff;
}
.life-tick[aria-pressed="true"] span {
  border-color: #57427d;
  background: #57427d;
  box-shadow: inset 0 0 0 4px #fff;
}
.life-check:has([aria-pressed="true"]) b {
  color: #5d5b6e;
  font-weight: 400;
  text-decoration: line-through;
}
.life-private {
  margin-bottom: 8px;
  color: #4b3770;
  font-size: 13px;
  font-weight: 700;
}
.life-swatches {
  display: flex;
  gap: 10px;
  margin: 14px 0;
}
.life-swatches span {
  width: 64px;
  height: 64px;
  border: 3px solid #fff;
  border-radius: 12px;
  box-shadow: 0 0 0 1px #e2e1e6;
}
.life-swatches .sage {
  background: #b7c0ab;
}
.life-swatches .oat {
  background: #e5d4bf;
}
.life-swatches .grey {
  background: #c2c8cd;
}

/* Connection concepts: a light wall of real app marks around one Home. */
.app-wall {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 980px;
  margin: 40px auto 0;
}
.app-wall-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.app-wall-grid li {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  width: 112px;
  min-height: 96px;
  padding: 12px 8px;
  border: 1px solid #e6e2ec;
  border-radius: 18px;
  background: #fff;
  text-align: center;
}
.app-wall-grid img {
  width: 32px;
  height: 32px;
}
.app-wall-grid span {
  color: #4d4a5c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.connector-generic {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #2c2c42;
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
}
@media (max-width: 1080px) {
  .life-app {
    grid-template-columns: 190px minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .life-section,
  .connectors-section {
    padding: 64px 0 60px;
  }
  .life-app {
    grid-template-columns: 1fr;
  }
  /* Tablet portrait: brand and the two view groups as rows above the screen;
     household, agents and viewer stay in the top bar and banner. */
  .life-side {
    gap: 10px;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid #e5e5e9;
  }
  .life-home,
  .life-agents,
  .life-me {
    display: none;
  }
  .life-nav-group {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .life-nav-group + .life-nav-group {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    margin-top: 8px;
    padding-top: 8px;
  }
  .life-nav-label {
    grid-column: 1 / -1;
    padding: 0 4px;
  }
  .life-nav button {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 60px;
    padding: 6px 4px;
    font-size: 13px;
    text-align: center;
  }
  .life-nav button[aria-pressed="true"]::before {
    top: 0;
    right: 30%;
    bottom: auto;
    left: 30%;
    width: auto;
    height: 3px;
  }
  .life-count {
    display: none;
  }
}
@media (max-width: 600px) {
  .life-section .section-intro > p:last-of-type,
  .connectors-section .section-intro > p:last-of-type {
    font-size: 14px;
  }
  .life-app {
    margin: 32px -8px 0;
    border-radius: 20px;
  }
  .life-side {
    display: none;
  }
  .life-choose {
    display: grid;
    gap: 6px;
    padding: 14px 14px 0;
    font-size: 13px;
    font-weight: 700;
  }
  .life-choose select {
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid #6f6a80;
    border-radius: 12px;
    background: #fff;
    color: #2c2c42;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
  }
  .life-top {
    flex-wrap: wrap;
    padding: 10px 14px;
  }
  .life-body {
    padding: 18px 14px 22px;
  }
  .life-hello h3,
  .life-view-title {
    font-size: 28px;
  }
  .life-weather {
    align-self: flex-start;
    font-size: 22px;
  }
  .life-weather b {
    font-size: 20px;
  }
  .life-brief {
    flex-wrap: wrap;
    padding: 14px;
  }
  .life-brief-marks {
    margin-left: 40px;
  }
  .life-box {
    padding: 14px;
  }
  .life-card {
    padding: 14px;
  }
  .life-facts > div {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .life-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .life-inline {
    flex-wrap: wrap;
  }
  .life-inline .life-action {
    flex: 1 1 auto;
  }
  .app-wall-grid {
    gap: 8px;
  }
  .app-wall-grid li {
    width: calc((100% - 24px) / 4);
    min-height: 84px;
    padding: 10px 4px;
  }
  .app-wall-grid img,
  .connector-generic {
    width: 28px;
    height: 28px;
  }
  .app-wall-grid span {
    font-size: 12px;
  }
}
