:root {
  color-scheme: light;
  font-family:
    ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  background: #f7e5eb;
  color: #171218;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow-x: hidden;
  overscroll-behavior: none;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

button,
input {
  font: inherit;
}

textarea {
  font: inherit;
}

select {
  font: inherit;
}

button {
  cursor: pointer;
}

.babywell-app {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  display: grid;
  justify-items: center;
  align-items: stretch;
  padding: clamp(12px, 2.2vw, 34px);
  overflow: hidden;
  overscroll-behavior: none;
  background:
    radial-gradient(circle at 13% 12%, rgba(255, 108, 145, 0.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(198, 179, 255, 0.4), transparent 32%),
    linear-gradient(135deg, #fff6f9 0%, #f1d8e4 45%, #dbcdf8 100%);
}

.page-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    radial-gradient(rgba(108, 71, 94, 0.15) 0.7px, transparent 0.7px);
  background-size: auto, 18px 18px;
}

.page-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(54px);
  pointer-events: none;
}

.page-glow-left {
  width: 460px;
  height: 460px;
  left: -160px;
  bottom: -150px;
  background: rgba(255, 92, 129, 0.28);
}

.page-glow-right {
  width: 540px;
  height: 540px;
  right: -190px;
  top: -150px;
  background: rgba(185, 160, 255, 0.5);
}

.desktop-app-shell,
.phone-stage {
  position: relative;
  z-index: 1;
}

.settings-corner {
  position: fixed;
  z-index: 30;
  top: clamp(14px, 2vw, 26px);
  right: clamp(14px, 2vw, 26px);
}

.settings-button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #171016;
  background: rgba(255, 255, 255, 0.66);
  box-shadow:
    0 16px 30px rgba(82, 45, 67, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.settings-avatar-button {
  overflow: hidden;
  padding: 0;
  background: transparent;
}

.settings-avatar-button .avatar {
  width: 52px;
  height: 52px;
  box-shadow:
    0 16px 30px rgba(82, 45, 67, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.chat-clear-corner {
  position: absolute;
  top: 62px;
  right: 0;
}

.chat-clear-icon-button {
  color: rgba(23, 18, 24, 0.72);
}

.chat-clear-confirm {
  position: absolute;
  top: 0;
  right: 62px;
  width: 188px;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 235, 245, 0.7)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 18px 36px rgba(82, 45, 67, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.chat-clear-confirm p {
  margin: 0;
  color: rgba(23, 18, 24, 0.78);
  font-size: 13px;
  font-weight: 760;
}

.chat-clear-confirm div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.chat-clear-confirm button {
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 18, 24, 0.08);
  color: rgba(23, 18, 24, 0.7);
  font-size: 12px;
  font-weight: 780;
}

.chat-clear-confirm button:first-child {
  background: #171016;
  color: #fff;
}

.settings-panel {
  position: absolute;
  top: 62px;
  right: 0;
  width: 248px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 235, 245, 0.64)),
    rgba(255, 255, 255, 0.78);
  box-shadow:
    0 24px 50px rgba(82, 45, 67, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.settings-panel h2 {
  margin: 0;
  line-height: 1.1;
}

.language-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.language-toggle button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(23, 18, 24, 0.62);
  font-weight: 820;
}

.language-toggle button.active {
  background: #171016;
  color: #fff;
}

.logout-button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: rgba(23, 18, 24, 0.68);
  font-weight: 820;
}

.login-mode {
  min-height: 100dvh;
  display: grid;
  place-items: center;
}

.login-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
}

.login-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 237, 246, 0.6)),
    rgba(255, 255, 255, 0.66);
  box-shadow:
    0 28px 80px rgba(134, 80, 116, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.login-logo {
  width: 122px;
  height: 122px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(31, 99, 242, 0.12));
}

.login-card h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 0.96;
  letter-spacing: 0;
}

.login-card p {
  margin: 0;
  max-width: 38ch;
  color: rgba(23, 18, 24, 0.6);
  line-height: 1.5;
}

.login-card label {
  display: grid;
  gap: 8px;
  color: rgba(23, 18, 24, 0.58);
  font-size: 13px;
  font-weight: 840;
}

.login-card input {
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  padding: 0 20px;
  outline: 0;
  background: rgba(255, 255, 255, 0.7);
  color: #171218;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.login-card input:focus {
  border-color: rgba(255, 92, 139, 0.64);
  box-shadow:
    0 0 0 4px rgba(255, 92, 139, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.login-error {
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 92, 139, 0.12);
  color: #b82f5e;
  font-weight: 760;
}

.login-submit {
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: #171016;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 20px 34px rgba(31, 16, 25, 0.18);
}

.login-submit:disabled {
  opacity: 0.68;
}

.login-language {
  margin-top: 2px;
}

.phone-stage {
  display: none;
}

.desktop-app-shell {
  width: min(100%, 1360px);
  max-width: calc(100vw - clamp(48px, 7vw, 112px));
  height: calc(100dvh - clamp(12px, 2.2vw, 34px) * 2);
  min-height: 0;
  display: grid;
  grid-template-columns: clamp(220px, 18vw, 264px) minmax(0, 1fr);
  gap: 18px;
  margin: 0 auto;
  justify-self: center;
}

.eyebrow {
  display: inline-flex;
  color: #f15c8b;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-title p {
  margin: 0;
  color: rgba(29, 21, 30, 0.64);
  line-height: 1.55;
}

.desktop-sidebar,
.desktop-workspace {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 239, 247, 0.38)),
    rgba(255, 255, 255, 0.3);
  box-shadow:
    0 24px 70px rgba(134, 80, 116, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.desktop-sidebar {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  padding: 18px;
  border-radius: 34px;
}

.desktop-brand {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
}

.brand-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(31, 99, 242, 0.1));
}

.brand-dot {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ff79a5, #b596ff);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 28px rgba(255, 97, 139, 0.24);
}

.desktop-brand strong,
.desktop-brand small {
  display: block;
}

.desktop-brand strong {
  font-size: 18px;
}

.desktop-brand small {
  margin-top: 4px;
  color: rgba(23, 18, 24, 0.48);
}

.desktop-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.desktop-nav button {
  min-height: 50px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(23, 18, 24, 0.62);
  text-align: left;
  font-weight: 820;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.desktop-nav button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav .app-icon {
  justify-self: center;
  width: 21px;
  height: 21px;
}

.desktop-nav button.active {
  background: #171016;
  color: #fff;
  box-shadow: 0 16px 30px rgba(23, 16, 22, 0.16);
}

.sidebar-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 26px;
  background: linear-gradient(150deg, rgba(255, 246, 250, 0.72), rgba(222, 206, 255, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.sidebar-card strong {
  font-size: 34px;
  line-height: 1;
}

.sidebar-card small {
  color: rgba(23, 18, 24, 0.52);
}

.desktop-workspace {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border-radius: 38px;
  overflow: hidden;
}

.desktop-workspace.content-only {
  grid-template-rows: minmax(0, 1fr);
}

.desktop-workspace *,
.phone-screen * {
  min-width: 0;
}

.desktop-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
}

.desktop-app-topbar h1 {
  margin: 4px 0 0;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

.desktop-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.desktop-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.summary-card {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.summary-card span {
  color: rgba(23, 18, 24, 0.52);
  font-size: 13px;
  font-weight: 760;
}

.summary-card strong {
  font-size: 22px;
}

.desktop-route {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.desktop-workspace.content-only .desktop-route {
  height: 100%;
}

.desktop-route > div {
  min-height: 100%;
}

.desktop-route::-webkit-scrollbar {
  display: none;
}

.app-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.app-icon::before,
.app-icon::after {
  position: absolute;
  content: none !important;
  display: none !important;
}

.app-icon-home::before {
  inset: 5px 4px 3px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px;
}

.app-icon-home::after {
  left: 4px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.app-icon-calendar::before {
  inset: 4px 3px 3px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.app-icon-calendar::after {
  left: 6px;
  right: 6px;
  top: 9px;
  height: 2px;
  background: currentColor;
}

.app-icon-chart::before {
  left: 4px;
  bottom: 3px;
  width: 3px;
  height: 9px;
  background: currentColor;
  box-shadow: 6px -5px 0 currentColor, 12px -2px 0 currentColor;
  border-radius: 2px;
}

.app-icon-chat::before {
  inset: 4px 3px 6px;
  border: 2px solid currentColor;
  border-radius: 7px;
}

.app-icon-chat::after {
  left: 7px;
  bottom: 3px;
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: skewX(-20deg);
}

.app-icon-shield::before {
  left: 4px;
  top: 2px;
  width: 14px;
  height: 17px;
  border: 2px solid currentColor;
  border-radius: 7px 7px 10px 10px;
  clip-path: polygon(50% 0, 100% 18%, 100% 62%, 50% 100%, 0 62%, 0 18%);
}

.app-icon-send::before {
  left: 3px;
  top: 5px;
  width: 15px;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%, 20% 54%);
}

.app-icon-arrow::before {
  right: 4px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
}

.app-icon-arrow::after {
  right: 5px;
  top: 12px;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: rotate(-45deg);
  transform-origin: right center;
}

.app-icon-spark::before {
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 999px;
  opacity: 0.56;
}

.app-icon-spark::after {
  left: 9px;
  top: 4px;
  width: 4px;
  height: 14px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  clip-path: polygon(50% 0, 100% 42%, 58% 50%, 50% 100%, 42% 50%, 0 42%);
}

.app-icon-note::before {
  inset: 3px 5px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.app-icon-note::after {
  left: 8px;
  right: 8px;
  top: 9px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.app-icon-plus::before {
  left: 10px;
  top: 4px;
  width: 2px;
  height: 14px;
  background: currentColor;
  border-radius: 2px;
}

.app-icon-plus::after {
  left: 4px;
  top: 10px;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.app-icon-bell::before {
  left: 5px;
  top: 4px;
  width: 12px;
  height: 13px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 4px 4px;
}

.app-icon-bell::after {
  left: 8px;
  bottom: 3px;
  width: 6px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  box-shadow: -4px -3px 0 0 currentColor, 4px -3px 0 0 currentColor;
}

.phone-stage {
  display: none;
  justify-items: center;
}

.phone-shell {
  position: relative;
  width: min(100%, 430px);
  height: min(900px, calc(100dvh - 44px));
  min-height: 740px;
  padding: 14px;
  border-radius: 58px;
  background: linear-gradient(135deg, #101010, #2d2d31 48%, #050505);
  box-shadow:
    0 36px 92px rgba(42, 14, 30, 0.34),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.phone-speaker {
  position: absolute;
  z-index: 5;
  top: 24px;
  left: 50%;
  width: 142px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow: inset -18px 0 24px rgba(255, 255, 255, 0.03);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 46px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.82), transparent 20%),
    linear-gradient(180deg, #f1e5ee 0%, #f8cdda 54%, #f2d2df 100%);
}

.phone-screen > div {
  position: relative;
  min-height: 100%;
}

.tab-page {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  padding: 74px 22px 148px;
  scrollbar-width: none;
}

.tab-page::-webkit-scrollbar {
  display: none;
}

.compact-page {
  padding-top: 86px;
}

.mobile-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
}

.home-brand-mark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border-radius: 999px;
  padding: 5px 13px 5px 6px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(23, 18, 24, 0.82);
  font-weight: 840;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 24px rgba(82, 45, 67, 0.07);
}

.home-brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.avatar,
.round-btn,
.month-pill {
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 12px 30px rgba(82, 45, 67, 0.08);
}

.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  padding: 0;
  color: #f15c8b;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #ffe6ef, #decfff);
}

.avatar svg {
  width: 27px;
  height: 27px;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.round-btn {
  position: relative;
  width: 52px;
  height: 52px;
  color: #fff;
  background: linear-gradient(135deg, #ff78a0, #ff5e85);
}

.badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #171016;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}

.month-pill {
  justify-self: center;
  min-width: 142px;
  height: 54px;
  color: #171218;
  font-weight: 760;
}

.calendar-arc {
  position: relative;
  margin: 20px -22px 0;
  min-height: 100px;
  overflow: hidden;
}

.arc-line {
  position: absolute;
  left: -12%;
  right: -12%;
  top: 30px;
  height: 118px;
  border-top: 2px solid rgba(255, 255, 255, 0.74);
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.08));
}

.day-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  padding: 0 22px;
}

.day-chip {
  min-width: 0;
  height: 82px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(23, 18, 24, 0.42);
  display: grid;
  align-content: center;
  gap: 9px;
}

.day-chip span {
  font-size: 13px;
  font-weight: 730;
}

.day-chip strong {
  font-size: 18px;
}

.day-chip.active {
  color: #fff;
  background: radial-gradient(circle at 50% 36%, #ffb04f, #ff7e45 72%);
  box-shadow: 0 12px 30px rgba(255, 113, 64, 0.38);
}

.hero-card {
  position: relative;
  --baby-card-bg-top: rgba(255, 255, 255, 0.48);
  --baby-card-bg-bottom: rgba(255, 255, 255, 0.22);
  min-height: 286px;
  display: grid;
  align-content: end;
  justify-items: center;
  margin-top: -4px;
  padding: 22px 18px 24px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.54), transparent 30%),
    linear-gradient(180deg, var(--baby-card-bg-top), var(--baby-card-bg-bottom));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.week-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
}

.week-copy span {
  color: rgba(23, 18, 24, 0.5);
  font-size: 13px;
  font-weight: 740;
}

.week-copy h1 {
  margin: 6px 0 0;
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: 0;
}

.week-copy button,
.wide-cta {
  min-width: 132px;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: #ff5f83;
  color: #fff;
  font-weight: 850;
  box-shadow: 0 18px 30px rgba(255, 83, 124, 0.28);
}

.pregnancy-week-control {
  display: grid;
  gap: 16px;
  margin: 4px 0 0;
  padding: 18px 18px 20px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 242, 249, 0.42)),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    0 18px 34px rgba(82, 45, 67, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  overflow: visible;
}

.pregnancy-week-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.pregnancy-week-copy span {
  color: #ff5f83;
  font-size: 14px;
  font-weight: 880;
  text-transform: uppercase;
  letter-spacing: 0;
}

.pregnancy-week-copy strong {
  color: #171218;
  font-size: 20px;
  font-weight: 900;
}

.pregnancy-week-strip {
  --week-chip-gap: 8px;
  display: flex;
  gap: var(--week-chip-gap);
  overflow-x: auto;
  margin: -10px 0;
  padding: 12px 2px 14px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
}

.pregnancy-week-strip::-webkit-scrollbar {
  display: none;
}

.pregnancy-week-chip {
  flex: 0 0 64px;
  height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(23, 18, 24, 0.54);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.pregnancy-week-chip small {
  font-size: 13px;
  font-weight: 800;
}

.pregnancy-week-chip span {
  font-size: 26px;
  font-weight: 900;
}

.pregnancy-week-chip.active {
  border-color: rgba(255, 255, 255, 0.88);
  background: #ff5f83;
  color: #fff;
  box-shadow: 0 18px 30px rgba(255, 83, 124, 0.28);
}

.baby-visual {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 150px;
  height: 150px;
  transform: translateX(-50%);
}

.baby-glow {
  position: absolute;
  inset: 30px;
  border-radius: 999px;
  background: rgba(255, 211, 188, 0.62);
  filter: blur(28px);
}

.baby-asset {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.baby-orbit {
  position: absolute;
  z-index: 1;
  inset: 38px 6px 20px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-left: 0;
  border-bottom: 0;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.insight-notice {
  display: grid;
  gap: 8px;
  margin: 16px 0 22px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.insight-notice span {
  color: #f15c8b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.insight-notice p {
  margin: 0;
  line-height: 1.46;
  color: rgba(26, 19, 26, 0.72);
}

.weekly-tip-notice {
  position: relative;
  overflow: hidden;
  gap: 18px;
  margin: 0;
  padding: 24px 26px 28px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 126, 169, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.54);
}

.weekly-tip-notice::after {
  position: absolute;
  right: -18px;
  top: -24px;
  width: 136px;
  height: 136px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 100, 145, 0.1);
  pointer-events: none;
}

.weekly-tip-notice span {
  font-size: 16px;
}

.weekly-tip-notice p {
  position: relative;
  z-index: 1;
  color: rgba(23, 18, 24, 0.68);
  font-size: 22px;
  line-height: 1.52;
}

.section-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 16px;
}

.section-row h2,
.page-title h1 {
  margin: 4px 0 0;
  line-height: 1.04;
  letter-spacing: 0;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.body-week-card {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 28px;
  overflow: hidden;
  color: #231720;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.66), rgba(255, 238, 247, 0.44)),
    radial-gradient(circle at 88% 10%, rgba(217, 201, 255, 0.36), transparent 34%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 34px rgba(82, 45, 67, 0.07);
}

.body-week-card::after {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  content: "";
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 38%, #fff, rgba(255, 255, 255, 0.25) 46%, transparent 48%),
    linear-gradient(135deg, rgba(255, 100, 145, 0.24), rgba(205, 180, 255, 0.34));
  box-shadow: 0 12px 28px rgba(255, 92, 139, 0.12);
}

.body-week-card span,
.body-week-card strong,
.body-week-card p {
  position: relative;
  z-index: 1;
}

.body-week-card span {
  max-width: calc(100% - 56px);
  color: #f15c8b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.body-week-card strong {
  max-width: calc(100% - 56px);
  font-size: 20px;
  line-height: 1.08;
}

.body-week-card p {
  max-width: 920px;
  margin: 0;
  color: rgba(26, 19, 26, 0.68);
  line-height: 1.5;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.module-card {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 0;
  border-radius: 26px;
  padding: 14px;
  text-align: left;
  color: #231720;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 16px 30px rgba(82, 45, 67, 0.06);
}

.module-card .app-icon {
  color: #f15c8b;
}

.module-card strong {
  font-size: 16px;
}

.module-card span {
  color: rgba(23, 18, 24, 0.55);
  font-size: 13px;
}

.mini-card {
  position: relative;
  min-width: 0;
  min-height: 134px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 14px;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  text-align: left;
  color: #231720;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.mini-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 24%, rgba(255, 255, 255, 0.18) 100%);
}

.mini-card span,
.mini-card strong,
.mini-card small {
  position: relative;
  z-index: 2;
}

.mini-card span {
  font-size: 13px;
  color: rgba(23, 18, 24, 0.56);
}

.mini-card.has-object {
  align-content: start;
  padding: 16px;
}

.mini-card.has-object span,
.mini-card.has-object strong,
.mini-card.has-object small {
  max-width: 54%;
}

.mini-card-object {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 54%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  border-radius: 24px;
  opacity: 0.96;
  filter: drop-shadow(0 18px 18px rgba(157, 84, 93, 0.16));
}

.mini-card strong {
  font-size: 18px;
}

.mini-card small {
  color: rgba(23, 18, 24, 0.52);
}

.mini-card.peach {
  background: linear-gradient(150deg, #fff5ed, #ffd4c2);
}

.mini-card.rose {
  background: linear-gradient(150deg, #fff0f6, #ffc3d4);
}

.mini-card.lilac {
  background: linear-gradient(150deg, #fbf6ff, #d9c9ff);
}

.vital-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 18px 38px rgba(82, 45, 67, 0.08);
}

.home-feed-page {
  display: grid;
  gap: 18px;
  align-content: start;
  touch-action: pan-y;
}

.week-feed-stage {
  position: relative;
  --week-feed-bg-image: url("/assets/bw-glass-feed-bg.jpg?v=20260629-final");
  display: grid;
  gap: 0;
  overflow: hidden;
  margin: 4px -18px 0;
  padding: 24px 18px 28px;
  border-radius: 34px 34px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 246, 250, 0.14), rgba(255, 246, 250, 0.24)),
    var(--week-feed-bg-image) center / cover no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.week-feed-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%, rgba(255, 244, 250, 0.14)),
    radial-gradient(circle at 78% 8%, rgba(255, 255, 255, 0.42), transparent 30%);
  pointer-events: none;
}

.week-feed-stage > .section-row {
  position: relative;
  z-index: 1;
}

.buddy-focus-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 235, 245, 0.46)),
    rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 18px 36px rgba(82, 45, 67, 0.1);
}

.buddy-focus-card h2,
.buddy-focus-card p {
  margin: 0;
}

.buddy-focus-card h2 {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.16;
}

.buddy-focus-card p {
  margin-top: 5px;
  color: rgba(23, 18, 24, 0.62);
  font-size: 14px;
  line-height: 1.38;
}

.buddy-focus-card button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #171016;
  color: #fff;
  box-shadow: 0 16px 30px rgba(23, 16, 22, 0.16);
}

.week-feed-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  grid-auto-rows: minmax(82px, auto);
}

.week-content-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 0;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  padding: 18px 64px 42px 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(24px) saturate(180%) contrast(1.04);
  -webkit-backdrop-filter: blur(24px) saturate(180%) contrast(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(255, 255, 255, 0.14),
    0 18px 44px rgba(111, 54, 82, 0.12);
  text-align: left;
}

.week-content-card:hover {
  transform: translateY(-1px);
}

.week-content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 48%, rgba(255, 255, 255, 0.12));
  pointer-events: none;
}

.week-content-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.week-feed-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  align-content: start;
  align-self: start;
  gap: 8px;
}

.week-feed-copy span {
  justify-self: start;
  margin-left: -8px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.36);
  color: #e8517f;
  font-size: 10px;
  font-weight: 860;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.week-content-card.lilac .week-feed-copy span {
  background: rgba(255, 255, 255, 0.34);
  color: #8b69df;
}

.week-content-card.peach .week-feed-copy span {
  background: rgba(255, 255, 255, 0.34);
  color: #d36a52;
}

.week-feed-copy strong {
  color: rgba(19, 17, 24, 0.9);
  font-size: 15px;
  line-height: 1.32;
}

.week-feed-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(23, 18, 24, 0.66);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.week-feed-action {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #171016;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 22px rgba(23, 16, 22, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.expectancy-panel {
  padding-right: min(34%, 230px);
}

.baby-growth-panel {
  display: grid;
  gap: 14px;
}

.expectancy-heading {
  z-index: 2;
  min-height: 46px;
  display: flex;
  align-items: center;
}

.expectancy-heading h2 {
  max-width: 520px;
}

.expectancy-heading img {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 0;
  width: clamp(120px, 12vw, 150px);
  height: clamp(150px, 15vw, 188px);
  object-fit: cover;
  object-position: center;
  border-radius: 32px;
  opacity: 0.9;
  filter: drop-shadow(0 20px 22px rgba(91, 67, 98, 0.12));
}

.expectancy-heading h2 {
  position: relative;
  z-index: 2;
}

.baby-growth-lead {
  max-width: 720px;
  font-size: 16px;
}

.weekly-detail-block {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
  max-width: 760px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.weekly-detail-block > span {
  color: #f15c8b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.expectancy-panel .segmented,
.expectancy-panel p {
  position: relative;
  z-index: 3;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin: 16px 0;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
}

.segmented button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  color: rgba(23, 18, 24, 0.54);
}

.segmented button.active {
  background: #171016;
  color: #fff;
}

.page-title {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.page-title h1 {
  font-size: clamp(30px, 2.8vw, 38px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.page-title p {
  max-width: 980px;
  font-size: 15px;
}

.vitals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  padding: 2px;
  overflow: visible;
}

.vital-card {
  position: relative;
  min-height: 148px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 2px solid transparent;
  text-align: left;
  color: #171218;
}

.medm-type-card.active {
  border-color: rgba(255, 95, 131, 0.66);
  background: rgba(255, 255, 255, 0.72);
}

.medm-card-top,
.medm-card-value,
.medm-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.medm-card-top span {
  display: block;
  color: rgba(23, 18, 24, 0.6);
  font-size: 18px;
  line-height: 1.18;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vital-card strong {
  display: block;
  font-size: clamp(30px, 2.4vw, 40px);
  line-height: 1.02;
}

.vital-card small {
  color: rgba(23, 18, 24, 0.52);
  font-size: 14px;
  white-space: nowrap;
}

.vital-card b {
  flex: 0 1 auto;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1;
  color: #fff;
  background: #72b98e;
  max-width: min(58%, 172px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vital-card b.watch {
  background: #ff8f50;
}

.medm-card-value {
  justify-content: flex-start;
  align-items: baseline;
  gap: 9px;
}

.medm-card-bottom {
  color: rgba(23, 18, 24, 0.52);
  font-size: 13px;
  font-weight: 780;
}

.medm-card-bottom span {
  color: #f15c8b;
}

.vital-card em {
  color: rgba(23, 18, 24, 0.42);
  font-style: normal;
  font-weight: 820;
}

.profile-page {
  display: grid;
  gap: 16px;
}

.profile-section {
  display: grid;
  gap: 12px;
}

.profile-avatar-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 238, 246, 0.5)),
    rgba(255, 255, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 14px 28px rgba(82, 45, 67, 0.08);
}

.profile-avatar-preview {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(135deg, #ffe6ef, #decfff);
  color: #f15c8b;
}

.profile-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-preview svg {
  width: 34px;
  height: 34px;
}

.profile-avatar-copy h2 {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.08;
}

.profile-avatar-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.avatar-upload-button,
.avatar-clear-button {
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  background: #ff5f83;
  color: #fff;
  font-size: 12px;
  font-weight: 860;
}

.avatar-clear-button {
  background: rgba(23, 18, 24, 0.08);
  color: rgba(23, 18, 24, 0.72);
}

.avatar-upload-button input {
  display: none;
}

.profile-vitals-grid .vital-card {
  aspect-ratio: 1 / 1;
  min-height: 0;
  align-content: space-between;
  border-radius: 24px;
  padding: 16px;
}

.profile-vitals-grid .medm-card-top span {
  font-size: 14px;
  white-space: normal;
}

.profile-vitals-grid .medm-card-value strong {
  font-size: clamp(22px, 4vw, 30px);
}

.profile-vitals-grid .medm-card-top b {
  display: none;
}

.profile-vitals-grid .medm-card-value {
  display: grid;
  justify-items: start;
  align-items: end;
  gap: 4px;
}

.profile-vitals-grid .medm-card-value small {
  white-space: normal;
}

.profile-history-list {
  display: grid;
  gap: 10px;
}

.profile-history-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.84),
    0 12px 26px rgba(82, 45, 67, 0.06);
}

.profile-history-card > span {
  color: #f15c8b;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.profile-history-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.profile-history-card b,
.profile-history-card small {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 0 11px;
  background: rgba(23, 18, 24, 0.07);
  color: rgba(23, 18, 24, 0.72);
  font-size: 13px;
}

.profile-history-card.empty {
  color: rgba(23, 18, 24, 0.56);
}

.notification-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.notification-summary div {
  min-width: 0;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 16px 32px rgba(82, 45, 67, 0.07);
}

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

.notification-summary strong {
  color: #171218;
  font-size: 28px;
  line-height: 1;
}

.notification-summary span {
  margin-top: 6px;
  color: rgba(23, 18, 24, 0.56);
  font-size: 12px;
  font-weight: 820;
}

.notification-actions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
  scrollbar-width: none;
}

.notification-actions::-webkit-scrollbar {
  display: none;
}

.notification-actions button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(23, 18, 24, 0.74);
  font-weight: 850;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 26px rgba(82, 45, 67, 0.07);
}

.notification-list {
  display: grid;
  gap: 12px;
}

.notification-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  padding: 16px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.5);
  color: #231720;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 38px rgba(82, 45, 67, 0.08);
}

.notification-card.device {
  background:
    linear-gradient(135deg, rgba(232, 255, 241, 0.78), rgba(255, 255, 255, 0.44)),
    rgba(255, 255, 255, 0.52);
}

.notification-card.weekly {
  background:
    linear-gradient(135deg, rgba(240, 232, 255, 0.82), rgba(255, 255, 255, 0.44)),
    rgba(255, 255, 255, 0.52);
}

.notification-card.is-read {
  opacity: 0.66;
}

.notification-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff7aa8, #bda4ff);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 92, 139, 0.16);
}

.notification-card.device .notification-icon {
  background: linear-gradient(135deg, #66c998, #a6ddbe);
}

.notification-card.weekly .notification-icon {
  background: linear-gradient(135deg, #a98bff, #ffc0dc);
}

.notification-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}

.notification-meta span,
.notification-meta small,
.notification-meta time,
.notification-meta b {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.notification-meta span {
  background: rgba(255, 95, 131, 0.13);
  color: #f15c8b;
}

.notification-meta small,
.notification-meta time {
  background: rgba(255, 255, 255, 0.62);
  color: rgba(23, 18, 24, 0.52);
}

.notification-meta b {
  background: rgba(93, 184, 128, 0.16);
  color: #4aa06c;
}

.notification-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.18;
}

.notification-card p {
  margin: 0;
  color: rgba(23, 18, 24, 0.62);
  line-height: 1.42;
}

.notification-card i {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 9px;
  background: #171016;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.chat-page {
  position: relative;
  --composer-height: 66px;
  display: grid;
  grid-template-areas:
    "messages"
    "composer";
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.86), transparent 28%),
    radial-gradient(circle at 18% 28%, rgba(255, 148, 181, 0.2), transparent 34%),
    linear-gradient(180deg, #f4e5ee 0%, #f9cfdd 58%, #efd1e2 100%);
  color: #171218;
}

.chat-hero {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100% - 28px);
  min-height: 46px;
  padding: 6px 14px 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.22)),
    rgba(255, 244, 250, 0.28);
  box-shadow:
    0 14px 36px rgba(82, 45, 67, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
  transform: translateX(-50%);
  pointer-events: none;
  isolation: isolate;
  overflow: hidden;
}

.chat-back {
  display: none;
}

.chat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(178%);
  -webkit-backdrop-filter: blur(18px) saturate(178%);
}

.ai-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7aa8, #a98bff);
  color: #fff;
  font-weight: 950;
  overflow: hidden;
  box-shadow:
    0 14px 24px rgba(255, 92, 139, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ai-avatar {
  background:
    radial-gradient(circle at 35% 16%, rgba(255, 255, 255, 0.88), transparent 38%),
    linear-gradient(135deg, #ffe3ed, #d8c7ff);
}

.ai-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.chat-hero h1 {
  margin: 0;
  color: rgba(23, 18, 24, 0.82);
  font-size: 14px;
  line-height: 1;
  font-weight: 890;
  white-space: nowrap;
}

.quick-prompts {
  grid-area: prompts;
  position: relative;
  z-index: 7;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 2px 2px;
  scrollbar-width: none;
  pointer-events: auto;
}

.quick-prompts::-webkit-scrollbar {
  display: none;
}

.quick-prompts button {
  position: relative;
  flex: 0 0 auto;
  max-width: 260px;
  height: auto;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 9px 13px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.2)),
    rgba(255, 244, 250, 0.28);
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  color: rgba(23, 18, 24, 0.68);
  font-size: 12px;
  box-shadow:
    0 12px 28px rgba(82, 45, 67, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.messages {
  grid-area: messages;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 66px 0 2px;
  scrollbar-width: none;
}

.messages::-webkit-scrollbar {
  display: none;
}

.bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 22px;
  line-height: 1.42;
  font-size: 14px;
  white-space: pre-wrap;
}

.bubble.assistant {
  align-self: flex-start;
  border-top-left-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  color: rgba(23, 18, 24, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.bubble.user {
  align-self: flex-end;
  border-top-right-radius: 8px;
  background: #ff6f97;
  color: #fff;
}

.user-message-content {
  display: grid;
  gap: 9px;
}

.chat-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.chat-attachment {
  overflow: hidden;
  border-radius: 18px;
}

.chat-attachment.image {
  max-width: min(330px, 62vw);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.chat-attachment-image {
  width: 100%;
  max-height: 320px;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.chat-attachment-file {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  text-decoration: none;
  font-weight: 760;
}

.chat-attachment-file .app-icon {
  width: 20px;
  height: 20px;
}

.message-markdown {
  white-space: normal;
}

.message-markdown p {
  margin: 0;
}

.message-markdown h1,
.message-markdown h2,
.message-markdown h3,
.message-markdown h4 {
  margin: 10px 0 6px;
  color: rgba(23, 18, 24, 0.92);
  font-size: 1.05em;
  font-weight: 850;
  line-height: 1.2;
}

.message-markdown h1:first-child,
.message-markdown h2:first-child,
.message-markdown h3:first-child,
.message-markdown h4:first-child {
  margin-top: 0;
}

.message-markdown p + p,
.message-markdown p + ul,
.message-markdown p + ol,
.message-markdown h1 + p,
.message-markdown h2 + p,
.message-markdown h3 + p,
.message-markdown h4 + p,
.message-markdown ul + p,
.message-markdown ol + p {
  margin-top: 9px;
}

.message-markdown ul,
.message-markdown ol {
  margin: 8px 0 0;
  padding-left: 20px;
}

.message-markdown li {
  margin: 4px 0;
  padding-left: 2px;
}

.message-markdown strong {
  color: rgba(23, 18, 24, 0.92);
  font-weight: 800;
}

.message-markdown code {
  padding: 1px 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.64);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

.typing {
  opacity: 0.72;
}

.chat-composer {
  grid-area: composer;
  position: relative;
  z-index: 9;
  display: grid;
  grid-template-columns: 46px 1fr 50px;
  align-items: end;
  gap: 10px;
  padding: 8px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 18px 34px rgba(82, 45, 67, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.chat-file-input {
  display: none;
}

.chat-attach-button {
  background: rgba(255, 255, 255, 0.72) !important;
  color: rgba(23, 18, 24, 0.62) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.chat-composer-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.pending-attachments {
  min-width: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 0 2px;
  scrollbar-width: none;
}

.pending-attachments::-webkit-scrollbar {
  display: none;
}

.pending-attachment {
  max-width: 170px;
  min-height: 38px;
  flex: 0 0 auto;
  display: inline-grid;
  grid-template-columns: 30px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 7px;
  border-radius: 20px;
  padding: 4px 5px 4px 6px;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(23, 18, 24, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pending-attachment img,
.pending-attachment .app-icon {
  width: 30px;
  height: 30px;
  border-radius: 14px;
  object-fit: cover;
}

.pending-attachment .app-icon {
  padding: 6px;
  background: rgba(255, 111, 151, 0.14);
  color: #ff6f97;
}

.pending-attachment span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 720;
}

.chat-composer .pending-attachment button {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(23, 18, 24, 0.08);
  color: rgba(23, 18, 24, 0.64);
  font-size: 0.82rem;
  line-height: 1;
}

.chat-composer textarea {
  width: 100%;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  max-height: 132px;
  border: 0;
  outline: 0;
  resize: none;
  overflow-y: auto;
  border-radius: 26px;
  padding: 14px 12px;
  background: transparent;
  color: #171218;
  font: inherit;
  line-height: 1.42;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  scrollbar-width: none;
}

.chat-composer textarea::-webkit-scrollbar {
  display: none;
}

.chat-composer textarea::placeholder {
  color: rgba(23, 18, 24, 0.42);
}

.chat-composer button {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #171016;
  color: #fff;
}

.chat-composer button svg {
  width: 24px;
  height: 24px;
  display: block;
}

.bottom-nav {
  position: absolute;
  z-index: 8;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow:
    0 18px 32px rgba(68, 36, 56, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.bottom-nav button {
  min-width: 0;
  min-height: 54px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(23, 18, 24, 0.72);
}

.bottom-nav .app-icon {
  width: 21px;
  height: 21px;
}

.bottom-nav button.active {
  background: linear-gradient(135deg, #ff6f97, #c19dff);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 92, 139, 0.26);
}

.bottom-nav span {
  font-size: 11px;
  font-weight: 760;
}

.desktop-app-shell .tab-page {
  position: relative;
  inset: auto;
  min-height: 100%;
  overflow: visible;
  padding: 0;
}

.desktop-app-shell .compact-page {
  padding-top: 0;
}

.desktop-app-shell .page-title h1 {
  max-width: 1120px;
  font-size: clamp(32px, 2.6vw, 42px);
}

.desktop-app-shell .mobile-top {
  display: none;
}

.desktop-app-shell .week-feed-stage {
  margin: 0;
  border-radius: 32px;
}

.desktop-app-shell .week-feed-list {
  grid-auto-rows: minmax(122px, auto);
}

.desktop-app-shell .calendar-arc {
  margin: 0 0 10px;
  min-height: 112px;
}

.desktop-app-shell .day-strip {
  gap: 8px;
  padding: 0;
}

.desktop-app-shell .day-chip {
  min-height: 86px;
  background: rgba(255, 255, 255, 0.28);
}

.desktop-app-shell .day-chip.active {
  background: radial-gradient(circle at 50% 36%, #ffb04f, #ff7e45 72%);
}

.desktop-app-shell .hero-card {
  min-height: 380px;
  margin-top: 0;
  padding-top: 34px;
  padding-bottom: 34px;
}

.desktop-app-shell .baby-visual {
  top: 28px;
  width: 188px;
  height: 188px;
  transform: translateX(-50%);
}

.desktop-app-shell .insight-notice {
  margin-top: 14px;
}

.desktop-app-shell .mini-card {
  min-height: 150px;
}

.desktop-app-shell .vitals-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.desktop-app-shell .notification-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.desktop-app-shell .notification-card {
  min-height: 190px;
  align-items: start;
}

.desktop-app-shell .chat-page {
  height: 100%;
  min-height: 0;
  border-radius: 32px;
  padding: 22px 26px 26px;
}

.desktop-app-shell .chat-hero h1 {
  font-size: 14px;
}

.desktop-app-shell .messages {
  min-height: 0;
  padding-left: 12px;
  padding-right: 12px;
}

.desktop-app-shell .bubble {
  max-width: 68%;
  font-size: 15px;
}

@media (max-width: 1180px) {
  .babywell-app {
    padding: 18px 22px;
  }

  .desktop-app-shell {
    max-width: calc(100vw - 44px);
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 14px;
  }

  .desktop-sidebar,
  .desktop-workspace {
    border-radius: 28px;
  }

  .desktop-sidebar {
    padding: 16px;
  }

  .desktop-nav button {
    min-height: 48px;
    padding: 0 14px;
  }

  .desktop-summary-grid,
  .desktop-app-shell .notification-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-app-shell .vitals-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  }

  .desktop-app-shell .chat-page {
    height: 100%;
    min-height: 0;
  }
}

@media (max-width: 820px) {
  html,
  body,
  #root,
  .babywell-app,
  .phone-stage,
  .phone-shell,
  .phone-screen,
  .tab-page {
    max-width: 100vw;
    overflow-x: hidden;
  }

  html,
  body,
  #root {
    height: 100%;
    min-height: 100%;
    overflow: hidden;
  }

  .babywell-app {
    display: block;
    height: 100dvh;
    min-height: 100dvh;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    background: linear-gradient(180deg, #f1e5ee 0%, #f8cdda 54%, #f2d2df 100%);
  }

  .babywell-app.login-mode {
    display: grid;
    place-items: center;
    padding: 18px;
  }

  .login-card {
    border-radius: 30px;
    padding: 24px;
  }

  .login-logo {
    width: 82px;
    height: 82px;
  }

  .desktop-app-shell {
    display: none;
  }

  .phone-stage {
    display: grid;
    width: 100vw;
    height: 100dvh;
    min-width: 0;
    justify-items: stretch;
    overflow: hidden;
  }

  .phone-shell {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }

  .phone-stage {
    width: 100vw;
    min-height: 100dvh;
  }

  .phone-speaker {
    display: none;
  }

  .phone-screen {
    border-radius: 0;
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    min-width: 0;
    overflow: hidden;
  }

  .phone-screen > div {
    min-width: 0;
  }

  .mobile-route {
    position: relative;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-route.chat-route {
    overflow: hidden;
  }

  .tab-page {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 100%;
    width: 100%;
    min-width: 0;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: max(212px, calc(188px + env(safe-area-inset-bottom)));
    overflow: visible;
  }

  .hero-card,
  .pregnancy-week-control,
  .insight-notice,
  .week-content-card,
  .body-week-card {
    max-width: 100%;
  }

  .hero-card {
    min-height: 220px;
    padding-bottom: 16px;
  }

  .baby-visual {
    top: 10px;
    width: 132px;
    height: 132px;
  }

  .home-feed-page {
    gap: 12px;
    padding-top: max(14px, env(safe-area-inset-top));
    padding-bottom: 0;
  }

  .home-feed-page .mobile-top {
    position: relative;
    top: auto;
    left: auto;
    z-index: 12;
    align-self: start;
  }

  .pregnancy-week-control {
    margin-top: 2px;
    gap: 10px;
    padding: 12px 14px 14px;
    border-radius: 24px;
  }

  .pregnancy-week-copy span {
    font-size: 12px;
  }

  .pregnancy-week-copy strong {
    font-size: 18px;
  }

  .pregnancy-week-strip {
    --week-chip-gap: 6px;
    margin: -9px 0;
    padding: 11px 0 13px;
    scroll-padding-inline: 0;
  }

  .pregnancy-week-chip {
    flex-basis: calc((100% - (var(--week-chip-gap) * 6)) / 7);
    height: 56px;
  }

  .pregnancy-week-chip.active {
    flex-basis: calc((100% - (var(--week-chip-gap) * 6)) / 7);
  }

  .pregnancy-week-chip small {
    font-size: 10px;
  }

  .pregnancy-week-chip span {
    font-size: 19px;
  }

  .weekly-tip-notice {
    margin: 0;
    gap: 10px;
    padding: 16px 18px 18px;
    border-radius: 24px;
  }

  .weekly-tip-notice::after {
    width: 98px;
    height: 98px;
  }

  .weekly-tip-notice span {
    font-size: 12px;
  }

  .weekly-tip-notice p {
    font-size: 16px;
    line-height: 1.38;
  }

  .week-feed-stage {
    margin-top: 2px;
    padding-bottom: max(112px, calc(92px + env(safe-area-inset-bottom)));
    touch-action: pan-y;
  }

  .week-content-card {
    min-height: 92px;
    padding: 16px 58px 40px 18px;
    touch-action: pan-y;
  }

  .week-feed-action {
    right: 16px;
    bottom: 16px;
  }

  .bottom-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .pregnancy-week-control {
    contain: none;
  }

  .pregnancy-week-copy {
    min-width: 0;
  }

  .pregnancy-week-copy strong {
    min-width: 0;
    text-align: right;
  }

  .pregnancy-week-strip {
    max-width: 100%;
    min-width: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
  }

  .chat-page {
    --composer-height: 64px;
    height: 100dvh;
    min-height: 100dvh;
    padding:
      max(12px, env(safe-area-inset-top))
      12px
      max(12px, env(safe-area-inset-bottom));
    border-radius: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 8px;
    overflow: hidden;
  }

  .chat-hero {
    top: max(10px, env(safe-area-inset-top));
    min-height: 40px;
    padding: 5px 12px 5px 6px;
    max-width: calc(100% - 24px);
  }

  .chat-back {
    position: absolute;
    top: max(10px, env(safe-area-inset-top));
    left: 12px;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.26)),
      rgba(255, 244, 250, 0.36);
    color: rgba(23, 18, 24, 0.76);
    box-shadow:
      0 14px 30px rgba(82, 45, 67, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(170%);
    -webkit-backdrop-filter: blur(16px) saturate(170%);
  }

  .chat-back svg {
    width: 24px;
    height: 24px;
  }

  .chat-hero .ai-mark {
    width: 30px;
    height: 30px;
  }

  .chat-hero h1 {
    font-size: 13px;
  }

  .messages {
    gap: 8px;
    padding: 58px 2px 6px;
    overscroll-behavior: contain;
  }

  .bubble {
    max-width: min(88%, 620px);
    padding: 11px 13px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.38;
  }

  .bubble.assistant {
    border-top-left-radius: 7px;
  }

  .bubble.user {
    border-top-right-radius: 7px;
  }

  .chat-attachment.image {
    max-width: min(280px, 72vw);
  }

  .chat-attachment-image {
    max-height: 250px;
  }

  .message-markdown ul,
  .message-markdown ol {
    padding-left: 18px;
  }

  .quick-prompts {
    margin: 0 -2px;
    padding: 2px 2px 4px;
    gap: 6px;
    flex-wrap: nowrap;
    scroll-padding: 12px;
  }

  .quick-prompts button {
    max-width: min(64vw, 238px);
    min-height: 34px;
    padding: 7px 11px;
    font-size: 11.5px;
    line-height: 1.18;
    white-space: normal;
  }

  .chat-composer {
    grid-template-columns: 42px minmax(0, 1fr) 46px;
    gap: 7px;
    padding: 6px;
    border-radius: 28px;
  }

  .chat-composer textarea {
    height: 46px;
    min-height: 46px;
    max-height: 112px;
    padding: 12px 10px;
    border-radius: 23px;
    line-height: 1.34;
  }

  .chat-composer button {
    width: 46px;
    height: 46px;
  }

  .chat-attach-button {
    width: 42px !important;
    height: 46px !important;
  }

  .chat-composer button svg {
    width: 22px;
    height: 22px;
  }

  .compact-page .page-title h1 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .calendar-arc {
    margin-left: -18px;
    margin-right: -18px;
  }

  .day-strip {
    padding: 0 18px;
  }

  .vitals-grid,
  .notification-summary {
    grid-template-columns: 1fr;
  }

  .vitals-grid {
    gap: 14px;
  }

  .profile-vitals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .vital-card {
    min-height: 146px;
    padding: 18px 16px;
    border-radius: 26px;
  }

  .profile-vitals-grid .vital-card {
    min-height: 0;
    padding: 14px;
  }

  .notification-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 14px;
  }

  .notification-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notification-icon {
    width: 38px;
    height: 38px;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-card.has-object {
    min-height: 142px;
  }

  .mini-card.has-object span,
  .mini-card.has-object strong,
  .mini-card.has-object small {
    max-width: 64%;
  }

  .mini-card-object {
    right: 0;
    bottom: 0;
    width: 54%;
    height: 100%;
  }

  .expectancy-panel {
    padding-right: 18px;
    padding-bottom: 118px;
  }

  .baby-growth-panel {
    padding-bottom: 138px;
  }

  .expectancy-heading img {
    right: 0;
    top: auto;
    bottom: 0;
    width: 132px;
    height: 165px;
  }
}

@media (max-width: 390px) {
  .week-copy h1 {
    font-size: 26px;
  }

  .insight-grid {
    gap: 8px;
  }

  .mini-card {
    min-height: 126px;
    padding: 12px;
  }

  .mini-card strong {
    font-size: 16px;
  }

  .bottom-nav {
    left: 12px;
    right: 12px;
  }
}
