:root {
  --ink: #20332e;
  --muted: #6e7b76;
  --cream: #f5f2ea;
  --paper: #fffefa;
  --sage: #dce9df;
  --green: #315f50;
  --line: #e5e3db;
  --peach: #f4e1d6;
  --shadow: 0 16px 45px rgba(32, 51, 46, 0.08);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: #fbfaf6;
  border-right: 1px solid var(--line);
  padding: 30px 20px 22px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font:
    600 24px Newsreader,
    serif;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 45% 55%;
  background: var(--green);
  color: white;
  font:
    600 18px Newsreader,
    serif;
}
.sidebar nav {
  margin-top: 52px;
  display: grid;
  gap: 7px;
}
.nav-item {
  border: 0;
  background: transparent;
  color: #53635e;
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  font: 500 14px inherit;
  display: flex;
  gap: 13px;
  align-items: center;
  cursor: pointer;
}
.nav-item span {
  font-size: 19px;
  width: 20px;
  text-align: center;
}
.nav-item.active,
.nav-item:hover {
  background: #e7eee8;
  color: #24483d;
}
.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 20px;
}
.need-button {
  border: 0;
  background: #e3eee6;
  color: var(--ink);
  padding: 14px;
  border-radius: 14px;
  text-align: left;
  display: flex;
  gap: 11px;
  align-items: center;
  cursor: pointer;
}
.need-button > span:first-child {
  background: var(--green);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.need-button strong,
.need-button small,
.profile strong,
.profile small {
  display: block;
}
.need-button small,
.profile small {
  color: var(--muted);
  margin-top: 3px;
}
.profile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0;
  gap: 10px;
  color: var(--ink);
}
main {
  margin-left: 244px;
  min-height: 100vh;
  padding: 45px clamp(30px, 5vw, 76px) 70px;
  max-width: 1500px;
}
.topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 700;
  color: #718079;
  margin: 0 0 8px;
}
h1,
h2,
h3,
blockquote {
  font-family: Newsreader, serif;
}
h1 {
  font-size: 42px;
  line-height: 1;
  margin: 0 0 11px;
  font-weight: 600;
}
h2 {
  font-size: 26px;
  margin: 0 0 7px;
}
.lead {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.icon-button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  color: var(--ink);
  font-size: 19px;
}
.notification {
  position: relative;
}
.notification i {
  position: absolute;
  right: 7px;
  top: 5px;
  width: 7px;
  height: 7px;
  background: #d97d65;
  border: 2px solid var(--paper);
  border-radius: 50%;
}
.checkin-card {
  background: var(--green);
  color: white;
  border-radius: 22px;
  padding: 26px 30px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.35fr;
  align-items: center;
  gap: 25px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.checkin-card:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  right: -150px;
  top: -120px;
}
.checkin-card .eyebrow {
  color: #bdd0c7;
}
.checkin-card h2 {
  font-size: 29px;
}
.checkin-card p {
  color: #dbe6e1;
  margin: 0;
  font-size: 13px;
}
.soft-icon {
  font-size: 21px;
  float: left;
  margin-right: 10px;
}
.mood-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  position: relative;
  z-index: 1;
}
.mood-row button {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-radius: 13px;
  padding: 13px 6px;
  font: 500 12px inherit;
  cursor: pointer;
}
.mood-row button span {
  display: block;
  font-size: 24px;
  margin-bottom: 5px;
}
.mood-row button:hover,
.mood-row button.selected {
  background: white;
  color: var(--green);
}
.share-line {
  position: absolute;
  right: 30px;
  bottom: 10px;
  font-size: 10px;
  color: #cedbd5;
  display: flex;
  gap: 6px;
}
.share-line button {
  border: 0;
  background: transparent;
  color: white;
  text-decoration: underline;
  font: inherit;
  cursor: pointer;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 40px 0 16px;
}
.text-button,
.why,
.privacy-note button {
  border: 0;
  background: transparent;
  color: var(--green);
  font: 600 12px inherit;
  cursor: pointer;
}
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}
.person-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  min-height: 226px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(32, 51, 46, 0.035);
}
.person-card.warm {
  background: #fbf2eb;
}
.person-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.avatar-you {
  background: #dbe8dc;
}
.rose {
  background: #ebd2cb;
}
.blue {
  background: #d9e4e8;
}
.gold {
  background: #eee1bd;
}
.green {
  background: #d8e7db;
}
.tag {
  background: white;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  color: #9d634f;
}
.tag.quiet {
  color: #65736d;
}
.more {
  border: 0;
  background: transparent;
  color: #89928e;
}
.person-card h3 {
  font-size: 21px;
  margin: 0 0 7px;
}
.person-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 18px;
}
.primary-action,
.secondary-action,
.dark-button {
  border: 0;
  border-radius: 10px;
  padding: 11px 13px;
  font: 600 12px inherit;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}
.primary-action {
  background: #d88266;
  color: white;
}
.secondary-action {
  background: #edf1ed;
  color: var(--ink);
}
.why {
  text-align: left;
  padding: 11px 0 0;
  font-size: 10px;
  color: #7b8782;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 15px;
  margin-top: 15px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel h2 {
  font-size: 23px;
}
.stacked {
  display: flex;
}
.avatar.small {
  width: 30px;
  height: 30px;
  margin-left: -7px;
  border: 2px solid var(--paper);
  font-size: 9px;
}
.status-row {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.status-row p {
  margin: 4px 0 0;
  color: var(--muted);
}
.status-row button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
}
.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #64a47e;
}
.moment {
  background: #ebe6d8;
}
.moment blockquote {
  font-size: 24px;
  margin: 10px 0;
}
.moment > p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
}
.dark-button {
  display: inline-flex;
  background: var(--ink);
  color: white;
  margin-top: 11px;
}
.privacy-note {
  text-align: center;
  color: #7a8581;
  font-size: 11px;
  margin-top: 25px;
}
.view {
  display: none;
}
.view.active {
  display: block;
}
.placeholder-view {
  max-width: 940px;
}
.placeholder-view > h1 {
  margin-top: 10px;
}
.circle-list,
.big-checkin,
.suggestion-list,
.care-suggestion-list,
.memory-list,
.care-list {
  margin-top: 35px;
  display: grid;
  gap: 12px;
}
.demo-row {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.demo-row div {
  flex: 1;
}
.demo-row strong,
.demo-row small {
  display: block;
}
.demo-row small {
  color: var(--muted);
  margin-top: 5px;
}
.demo-row button {
  border: 0;
  border-radius: 9px;
  background: #edf1ed;
  padding: 9px 12px;
  color: var(--ink);
  font-weight: 600;
}
.mobile-header,
.mobile-nav {
  display: none;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 35, 30, 0.42);
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop[hidden] {
  display: none;
}
.modal {
  background: var(--paper);
  width: min(480px, 100%);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  position: relative;
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: var(--muted);
  cursor: pointer;
}
.modal h2 {
  font-size: 30px;
}
.modal p {
  color: var(--muted);
  line-height: 1.55;
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 20px 0;
}
.choice-grid button {
  border: 1px solid var(--line);
  background: #faf9f5;
  padding: 13px;
  border-radius: 11px;
  text-align: left;
  color: var(--ink);
  font: 500 13px inherit;
}
.choice-grid button.selected {
  border-color: var(--green);
  background: #e8f0ea;
}
.modal .send {
  width: 100%;
  border: 0;
  background: var(--green);
  color: white;
  border-radius: 11px;
  padding: 13px;
  font-weight: 700;
}
.draft {
  background: #f1efe8;
  padding: 16px;
  border-radius: 12px;
  color: var(--ink) !important;
}
.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  main {
    margin: 0;
    padding: 82px 18px 95px;
  }
  .mobile-header {
    display: flex;
    position: fixed;
    z-index: 10;
    inset: 0 0 auto;
    background: rgba(245, 242, 234, 0.93);
    backdrop-filter: blur(14px);
    padding: 15px 18px;
    justify-content: space-between;
  }
  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    z-index: 10;
    inset: auto 0 0;
    background: #fbfaf6;
    border-top: 1px solid var(--line);
    padding: 8px 4px max(8px, env(safe-area-inset-bottom));
  }
  .mobile-nav button {
    border: 0;
    background: transparent;
    color: #6f7c77;
    font-size: 18px;
  }
  .mobile-nav small {
    display: block;
    font-size: 9px;
    margin-top: 3px;
  }
  .mobile-nav button.active {
    color: var(--green);
  }
  .checkin-card {
    grid-template-columns: 1fr;
    padding: 23px 20px 35px;
  }
  .share-line {
    left: 20px;
    right: auto;
  }
  .people-grid {
    grid-template-columns: 1fr 1fr;
  }
  .lower-grid {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 36px;
  }
}
@media (max-width: 620px) {
  .topline {
    margin-bottom: 22px;
  }
  .topline .notification {
    display: none;
  }
  h1 {
    font-size: 33px;
  }
  .lead {
    font-size: 14px;
  }
  .checkin-card h2 {
    font-size: 25px;
  }
  .mood-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .person-card {
    min-height: 205px;
  }
  .section-title {
    margin-top: 30px;
  }
  .section-title .text-button {
    display: none;
  }
  .lower-grid {
    margin-top: 12px;
  }
  .status-row {
    grid-template-columns: auto 1fr;
  }
  .status-row button {
    grid-column: 2;
    text-align: left;
    padding: 0;
  }
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 25px 20px;
  }
  .moment blockquote {
    font-size: 22px;
  }
}
.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.auth-screen.ready {
  display: none;
}
.auth-story {
  padding: 55px clamp(35px, 7vw, 100px);
  background: var(--green);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
}
.auth-story .brand {
  color: white;
}
.auth-story .brand-mark {
  background: white;
  color: var(--green);
}
.auth-story .eyebrow {
  color: #bad0c6;
}
.auth-story h1 {
  font-size: clamp(46px, 6vw, 78px);
  max-width: 690px;
  line-height: 0.98;
}
.auth-story p {
  max-width: 560px;
  line-height: 1.7;
  color: #dce7e2;
}
.auth-story small {
  color: #c5d6cf;
}
.auth-card {
  width: min(430px, calc(100% - 40px));
  margin: auto;
  background: var(--paper);
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.auth-card h2 {
  font-size: 32px;
}
.auth-card > p:not(.eyebrow) {
  color: var(--muted);
}
.auth-card label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 18px 0;
}
.auth-card input {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d8d9d3;
  border-radius: 11px;
  padding: 13px;
  font: inherit;
  background: white;
}
.auth-card .send {
  width: 100%;
  border: 0;
  background: var(--green);
  color: white;
  border-radius: 11px;
  padding: 13px;
  font-weight: 700;
}
.auth-switch {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  margin: 14px 0 20px;
  cursor: pointer;
}
.auth-card > small {
  display: block;
  text-align: center;
  color: var(--muted);
}
.form-error {
  color: #a54131 !important;
  font-size: 12px;
  min-height: 18px;
}
.danger-button {
  width: 100%;
  border: 1px solid #d8a89e;
  background: #fff8f6;
  color: #9b3c2b;
  border-radius: 10px;
  padding: 11px;
  font-weight: 700;
  margin-top: 10px;
}
@media (max-width: 760px) {
  .auth-screen {
    grid-template-columns: 1fr;
    overflow: auto;
  }
  .auth-story {
    min-height: 300px;
    padding: 28px 24px;
  }
  .auth-story h1 {
    font-size: 42px;
  }
  .auth-story > small {
    display: none;
  }
  .auth-card {
    margin: 28px auto;
  }
}
.google-button {
  width: 100%;
  border: 1px solid #d6d9d7;
  background: white;
  color: #25332f;
  border-radius: 11px;
  padding: 12px 14px;
  font: 600 14px inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin: 20px 0 14px;
}
.google-button:hover {
  background: #f8faf8;
  border-color: #b8c2bd;
}
.google-button svg {
  width: 19px;
  height: 19px;
}
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a9490;
  font-size: 11px;
  margin: 12px 0;
}
.auth-divider:before,
.auth-divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.view-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.view-heading .dark-button {
  margin: 4px 0 0;
}
.circle-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 21px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
}
.circle-card h3 {
  font-size: 21px;
  margin: 0 0 4px;
}
.circle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.circle-card-actions {
  display: flex;
  gap: 8px;
}
.circle-card-actions button {
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  font-weight: 700;
  color: var(--ink);
  background: #edf1ed;
}
.circle-card-actions .invite-action {
  background: var(--green);
  color: white;
}
.empty-state {
  padding: 38px;
  border: 1px dashed #cbd2cc;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.38);
}
.empty-state .avatar {
  margin: 0 auto 14px;
}
.empty-state h2 {
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--muted);
  max-width: 460px;
  margin: 0 auto 20px;
}
.guided-checkin {
  margin-top: 35px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.progress-line,
.onboarding-progress {
  display: flex;
  gap: 7px;
  margin-bottom: 26px;
}
.progress-line span,
.onboarding-progress span {
  height: 4px;
  flex: 1;
  background: #e4e8e4;
  border-radius: 9px;
}
.progress-line span.active,
.onboarding-progress span.active {
  background: var(--green);
}
.guided-checkin h2 {
  font-size: 30px;
}
.guided-checkin > div > p {
  color: var(--muted);
}
.guided-moods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}
.guided-moods button {
  border: 1px solid var(--line);
  background: #fafaf6;
  border-radius: 14px;
  padding: 18px 8px;
  color: var(--ink);
  font: 600 13px inherit;
}
.guided-moods button span {
  display: block;
  font-size: 27px;
  margin-bottom: 8px;
}
.guided-moods button:hover,
.guided-moods button.selected {
  border-color: var(--green);
  background: #e8f0ea;
}
.checkin-note {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 14px;
  font: inherit;
  margin: 16px 0;
}
.checkin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.checkin-actions button {
  border: 0;
  border-radius: 10px;
  padding: 12px 17px;
  font-weight: 700;
}
.checkin-actions .next {
  background: var(--green);
  color: #fff;
  margin-left: auto;
}
.checkin-actions .back {
  background: #edf1ed;
  color: var(--ink);
}
.smart-nudge {
  background: #e8f0ea;
  border-radius: 14px;
  padding: 17px;
  margin-top: 18px;
}
.smart-nudge strong {
  display: block;
  margin-bottom: 5px;
}
.smart-nudge p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.history-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.history-row small {
  color: var(--muted);
}
.onboarding {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: linear-gradient(135deg, #e8eee7, #f7f0e8);
  display: grid;
  place-items: center;
  padding: 24px;
}
.onboarding[hidden] {
  display: none;
}
.onboarding-card {
  width: min(690px, 100%);
  background: var(--paper);
  padding: 34px 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(32, 51, 46, 0.17);
}
.onboarding-card > .brand {
  margin-bottom: 35px;
}
.onboarding-card h1 {
  font-size: 40px;
}
.onboarding-card > div > p {
  color: var(--muted);
  line-height: 1.6;
}
.goal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 24px 0;
}
.goal-grid button {
  border: 1px solid var(--line);
  background: #faf9f5;
  border-radius: 13px;
  padding: 16px;
  text-align: left;
  color: var(--ink);
  font: 600 14px inherit;
}
.goal-grid button small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  margin-top: 5px;
}
.goal-grid button.selected {
  border-color: var(--green);
  background: #e8f0ea;
}
.onboarding-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
}
.onboarding-actions button {
  border: 0;
  border-radius: 11px;
  padding: 13px 20px;
  font-weight: 700;
}
.onboarding-actions .continue {
  background: var(--green);
  color: #fff;
  margin-left: auto;
}
.onboarding-actions .skip {
  background: transparent;
  color: var(--muted);
}
.modal label,
.onboarding-card label,
.guided-checkin label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 18px 0;
}
.modal input,
.modal select,
.onboarding-card input,
.guided-checkin select {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #d8d9d3;
  border-radius: 11px;
  padding: 13px;
  font: inherit;
  background: white;
  color: var(--ink);
}
.modal .check-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}
.modal .check-option input[type="checkbox"] {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}
.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}
.capability-grid .check-option {
  margin: 0;
  padding: 10px;
  border-radius: 10px;
  background: #f3f2ec;
}
.goal-grid button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
.heading-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.heading-actions .secondary-action,
.heading-actions .dark-button,
.view-heading > .secondary-action {
  margin: 4px 0 0;
  display: block;
}
.subsection {
  margin-top: 35px;
}
.contact-list,
.insight-list,
.life-event-list,
.schedule-list {
  display: grid;
  gap: 11px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.contact-card h3 {
  font-size: 20px;
  margin: 0 0 4px;
}
.contact-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.contact-meta {
  text-align: right;
}
.contact-meta strong,
.contact-meta small {
  display: block;
}
.contact-meta strong {
  font-size: 12px;
}
.contact-meta small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.indicator {
  display: inline-flex;
  border-radius: 20px;
  background: #e8f0ea;
  padding: 5px 9px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
}
.indicator.quiet {
  background: #f6eadf;
  color: #9a614f;
}
.capacity-banner {
  margin: 28px 0 5px;
  background: #e8eee7;
  border: 1px solid #d6e0d7;
  border-radius: 16px;
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.capacity-banner button {
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
}
.overload-guidance,
.meaning-moment {
  margin-bottom: 32px;
}
.overload-card,
.meaning-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.overload-card p,
.meaning-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 5px 0;
}
.overload-card small,
.meaning-card small {
  color: var(--muted);
}
.meaning-card button {
  border: 0;
  background: #edf1ed;
  border-radius: 9px;
  color: var(--ink);
  font-weight: 700;
  padding: 9px 12px;
}
.care-preferences {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 16px 0;
  padding: 14px;
}
.communication-boundaries {
  border: 1px solid #dbcdbf;
  border-radius: 14px;
  margin: 16px 0;
  padding: 14px;
}
.communication-boundaries legend {
  font-weight: 700;
  padding: 0 6px;
}
.boundary-notice {
  background: #f8f1e8;
  border: 1px solid #e5d3bf;
  border-radius: 12px;
  margin: 14px 0;
  padding: 13px;
}
.boundary-notice p {
  margin: 5px 0;
}
.boundary-notice small {
  color: var(--muted);
}
.care-preferences legend {
  font-weight: 700;
  padding: 0 6px;
}
.preference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}
.preference-grid label {
  align-items: center;
  background: #f4f6f3;
  border-radius: 10px;
  display: flex;
  font-size: 12px;
  gap: 8px;
  padding: 10px;
}
.insight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.care-suggestion-card {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 17px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  padding: 18px;
}
.care-suggestion-card p {
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0;
}
.care-suggestion-card small {
  color: var(--muted);
}
.care-suggestion-card button {
  background: #edf1ed;
  border: 0;
  border-radius: 9px;
  color: var(--ink);
  font-weight: 700;
  padding: 9px 12px;
}
.insight-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.insight-card button {
  border: 0;
  background: #edf1ed;
  color: var(--ink);
  border-radius: 9px;
  padding: 9px 12px;
  font-weight: 700;
}
.care-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.metric-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.metric-card strong {
  font:
    600 29px Newsreader,
    serif;
  display: block;
}
.metric-card small {
  color: var(--muted);
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 35px;
}
.settings-grid > button {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 21px;
  text-align: left;
  color: var(--ink);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 13px;
}
.settings-grid > button > span {
  grid-row: 1/3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4ede5;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.settings-grid strong {
  font-size: 15px;
}
.settings-grid small {
  color: var(--muted);
}
.reflection-card {
  background: #ebe6d8;
  border-radius: 18px;
  padding: 23px;
}
.reflection-card h3 {
  font-size: 23px;
  margin: 0 0 8px;
}
.reflection-stats {
  display: flex;
  gap: 24px;
  margin: 18px 0;
}
.reflection-stats strong {
  display: block;
  font-size: 20px;
}
.reflection-stats small {
  color: var(--muted);
}
.modal textarea {
  display: block;
  width: 100%;
  min-height: 100px;
  margin-top: 7px;
  border: 1px solid #d8d9d3;
  border-radius: 11px;
  padding: 13px;
  font: inherit;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.permission-list {
  display: grid;
  gap: 9px;
  margin: 18px 0;
}
.permission-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f3f2ec;
  border-radius: 11px;
  padding: 12px;
}
.permission-row small {
  color: var(--muted);
}
.toggle {
  width: 42px;
  height: 24px;
  border: 0 !important;
  border-radius: 20px !important;
  background: #cdd4cf !important;
  padding: 3px !important;
}
.toggle:after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  transition: 0.2s;
}
.toggle.on {
  background: var(--green) !important;
}
.toggle.on:after {
  transform: translateX(18px);
}
body.large-text {
  font-size: 118%;
}
body.high-contrast {
  --ink: #10251f;
  --muted: #46534f;
  --line: #afb8b3;
  --green: #174c3b;
}
body.reduce-motion * {
  scroll-behavior: auto !important;
  transition: none !important;
  animation: none !important;
}
body.simple-mode .eyebrow,
body.simple-mode [data-why] {
  display: none;
}
body.simple-mode button,
body.simple-mode .text-button {
  min-height: 48px;
  padding: 11px 16px;
}
body.simple-mode .demo-row,
body.simple-mode .permission-row,
body.simple-mode .insight-card {
  padding: 18px;
  gap: 15px;
}
body.simple-mode .lead,
body.simple-mode .demo-row small,
body.simple-mode .permission-row small {
  font-size: 1rem;
  line-height: 1.55;
}
.notification i {
  display: none;
}
.notification.has-alerts i {
  display: block;
}
@media (max-width: 620px) {
  .view-heading {
    display: block;
  }
  .view-heading .dark-button,
  .view-heading > .secondary-action {
    margin-top: 18px;
  }
  .heading-actions {
    margin-top: 18px;
    flex-wrap: wrap;
  }
  .circle-card,
  .contact-card,
  .insight-card {
    grid-template-columns: auto 1fr;
  }
  .circle-card-actions,
  .contact-meta,
  .insight-card > button {
    grid-column: 1/-1;
    text-align: left;
  }
  .guided-moods {
    grid-template-columns: 1fr 1fr;
  }
  .guided-checkin {
    padding: 22px 17px;
  }
  .onboarding-card {
    padding: 26px 20px;
  }
  .onboarding-card h1 {
    font-size: 33px;
  }
  .goal-grid,
  .settings-grid,
  .care-summary {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
.kindness-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.kindness-card p {
  margin: 0.35rem 0;
}
.kindness-card small {
  color: var(--muted);
}
.kindness-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.time-zone-list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.timezone-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.timezone-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}
.people-calendar {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
}
.calendar-entry {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.calendar-entry div {
  display: grid;
  gap: 0.2rem;
}
.calendar-entry small {
  color: var(--muted);
}
.workload-bars {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}
.workload-bars > div {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 2fr;
  align-items: center;
  gap: 1rem;
}
.workload-bars span {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}
.workload-bars progress {
  width: 100%;
  accent-color: var(--green);
}
.shared-moment-list {
  display: grid;
  gap: 1rem;
}
.shared-moment-card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.shared-moment-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.shared-moment-card p {
  font-size: 1rem;
  line-height: 1.55;
}
.moment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.message-draft-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.draft-library-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.draft-library-card > div {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}
.draft-library-card p {
  white-space: pre-wrap;
  line-height: 1.5;
}
.grief-timeline-list {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.timeline-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.timeline-row div {
  display: grid;
  gap: 0.2rem;
}
.timeline-row small {
  color: var(--muted);
}
.reconnection-path-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.reconnection-card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.reconnection-card > div:first-child {
  display: flex;
  gap: 0.9rem;
}
.reconnection-card h3 {
  margin: 0.35rem 0;
}
.reconnection-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.connection-patterns {
  margin-bottom: 2rem;
}
.pattern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.7rem;
  margin: 1rem 0;
}
.pattern-grid > div {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  border-radius: 14px;
  background: var(--soft);
}
.pattern-grid span {
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 700px) {
  .workload-bars > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
@media (max-width: 700px) {
  .timezone-card {
    grid-template-columns: auto 1fr;
  }
  .timezone-card > button {
    grid-column: 1 / -1;
  }
}
@media (max-width: 700px) {
  .kindness-card {
    grid-template-columns: auto 1fr;
  }
  .kindness-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }
  .kindness-actions button {
    flex: 1;
  }
}
