:root {
  color-scheme: light;
  --canvas: #f6f8f7;
  --paper: #fff;
  --ink: #303a34;
  --muted: #687560;
  --line: #eaf0eb;
  --green: #5e7c66;
  --green-dark: #426650;
  --green-light: #edf3ee;
  --gold: #d0ac6a;
  --radius: 17px;
  font-family:
    "Avenir Next",
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-size: 14px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
a {
  transition:
    background-color 0.15s,
    color 0.15s,
    border-color 0.15s;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
svg {
  display: block;
  flex-shrink: 0;
}
button svg,
a svg {
  pointer-events: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #90ae84;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
}
h2 {
  font-size: 15px;
  letter-spacing: 0.2px;
}
h3 {
  font-size: 15px;
}
input,
select,
textarea {
  min-width: 0;
}
button {
  min-height: 32px;
}
button:has(svg),
a:has(svg) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 226px;
  background: #fcfdfb;
  border-right: 1px solid var(--line);
  padding: 37px 22px 18px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  justify-content: flex-start !important;
  gap: 12px !important;
  margin: 0 9px 49px;
}
.brand-mark {
  height: 45px;
  width: 45px;
  border-radius: 14px;
  background: #e8efe5;
  display: grid;
  place-items: center;
  color: #68855b;
}
.brand-mark .icon {
  width: 31px;
  height: 31px;
  stroke-width: 1.6;
}
.brand strong {
  font-size: 27px;
  letter-spacing: 3px;
  font-weight: 650;
  line-height: 1.2;
}
.brand-dot {
  color: #93ac83;
  letter-spacing: 0;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  color: #929a90;
  margin-top: 5px;
}
.nav-label {
  padding-left: 17px;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: #929d92;
  margin-bottom: 17px;
}
.primary-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.primary-nav a {
  height: 47px;
  padding: 0 16px;
  gap: 13px;
  justify-content: flex-start;
  border-radius: 10px;
  color: #788077;
  font-weight: 500;
  font-size: 13px;
  position: relative;
}
.primary-nav a:hover {
  background: #f0f4ed;
  color: var(--green);
}
.primary-nav a[aria-current="page"] {
  background: #eaf1e8;
  color: #56744d;
  font-weight: 600;
}
.primary-nav a[aria-current="page"]:after {
  content: "";
  width: 5px;
  height: 5px;
  background: #7e9b6b;
  border-radius: 50%;
  margin-left: auto;
}
.primary-nav .icon {
  width: 19px;
  height: 19px;
}
.sidebar-note {
  margin: 54px 10px 20px;
  padding: 23px 14px;
  border-top: 1px solid var(--line);
  position: relative;
  color: #97a28e;
}
.sidebar-note > .icon {
  width: 18px;
  height: 18px;
  color: #9cad92;
}
.sidebar-note p {
  font-size: 12px;
  line-height: 2.1;
  letter-spacing: 1px;
  margin-top: 12px;
}
.note-flower {
  position: absolute;
  right: 5px;
  bottom: 11px;
  font-size: 43px;
  color: #d9e3d2;
  font-weight: 400;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-link {
  display: flex !important;
  justify-content: flex-start !important;
  width: 100%;
  gap: 11px;
  padding: 13px 12px;
  color: #7c857b;
  font-size: 12px;
  margin-bottom: 14px;
}
.sidebar-link .icon {
  width: 17px;
  height: 17px;
}
.baby-switch {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  padding: 17px 4px 0;
  border-top: 1px solid var(--line);
  width: 100%;
  text-align: left;
}
.baby-avatar {
  height: 40px;
  width: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #f6ecd9;
  color: #ae9461;
  flex-shrink: 0;
}
.baby-avatar .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.4;
}
.baby-switch strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.baby-switch small {
  display: block;
  font-size: 10px;
  color: #92998f;
  margin-top: 1px;
}
.switch-chevron {
  margin-left: auto;
  color: #9da598;
}
.switch-chevron .icon {
  width: 15px;
  height: 15px;
}
.workspace {
  margin-left: 226px;
}
.topbar {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 39px;
  background: #ffffffd9;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: #7a847b;
}
.breadcrumb > span:last-of-type:not(.demo-badge) {
  color: #4e5c50;
}
.crumb-slash {
  color: #c9cfca;
}
.demo-badge {
  font-size: 10px !important;
  border: 1px solid #e7dcc5;
  background: #fcf8ed;
  padding: 2px 8px;
  border-radius: 5px;
  color: #9a8052 !important;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 21px;
}
.local-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #8b9489;
}
.local-label i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #96ab88;
}
.icon-button {
  width: 32px;
  min-height: 32px;
  padding: 6px;
  flex-shrink: 0;
  color: #7f897e;
  border-radius: 8px;
}
.icon-button:hover {
  background: #f1f5ef;
  color: var(--green-dark);
}
.notification-button {
  position: relative;
}
.notification-button > i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d8ae76;
  position: absolute;
  right: 5px;
  top: 5px;
}
.top-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f4ead7;
  border: 3px solid white;
  color: #ab915e;
  box-shadow: 0 0 0 1px #f0eee7;
}
.top-avatar .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.3;
}
.mobile-brand,
.mobile-nav {
  display: none;
}
.content {
  max-width: 1560px;
  padding: 32px 39px 20px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 14px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2.3px;
  font-weight: 500;
  color: #8d9b89;
  margin-bottom: 7px;
}
.page-heading h1 {
  font-size: 25px;
  letter-spacing: 1px;
  line-height: 1.6;
  outline: none;
}
.heading-spark {
  color: #d3b47a;
  font-size: 26px;
  display: inline-block;
  margin-left: 13px;
  font-weight: 400;
  vertical-align: -2px;
}
.page-description {
  color: #92998f;
  font-size: 12px;
  margin-top: 5px;
  letter-spacing: 0.5px;
}
.button {
  min-height: 39px;
  border-radius: 9px;
  padding: 9px 16px;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.button .icon {
  width: 16px;
  height: 16px;
}
.primary {
  background: var(--green);
  color: white;
  box-shadow: 0 3px 5px #41665009;
}
.primary:hover {
  background: var(--green-dark);
}
.secondary {
  background: white;
  border: 1px solid #dde6dd;
  color: #667362;
}
.secondary:hover {
  background: #f4f7f2;
}
.danger {
  background: #b36359;
  color: white;
}
.danger:hover {
  background: #9f5147;
}
.danger-quiet {
  color: #ac6b62 !important;
}
.danger-quiet:hover {
  background: #fcf1ee;
}
.text-button {
  font-size: 11px;
  color: #658060;
  gap: 5px !important;
  padding: 3px 0;
  min-height: 27px;
}
.text-button:hover {
  color: #325b38;
}
.text-button .icon {
  width: 14px;
  height: 14px;
  stroke-width: 1.6;
}
.muted {
  color: #8d9789;
}
.quiet-text {
  font-size: 10px;
  color: #98a091;
}
.demo-notice {
  background: #f7f4e9;
  color: #958264;
  border: 1px solid #eee7d4;
  padding: 9px 14px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin: -5px 0 20px;
}
.demo-notice > .icon {
  width: 15px;
  height: 15px;
}
.demo-notice button {
  margin-left: auto;
  min-height: 25px;
  color: #7c724c;
  font-size: 11px;
  padding: 0;
}
.demo-notice button .icon {
  width: 13px;
  height: 13px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 291px;
  gap: 24px;
}
.main-column,
.right-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.welcome-card {
  background: #eaf0e6;
  border: 1px solid #e2ebdd;
  border-radius: var(--radius);
  min-height: 220px;
  position: relative;
  overflow: hidden;
  padding: 25px 29px;
}
.welcome-copy {
  position: relative;
  z-index: 1;
}
.soft-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #77916c;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}
.soft-tag i {
  width: 5px;
  height: 5px;
  background: #8aab77;
  border-radius: 50%;
}
.welcome-card h2 {
  font-size: 21px;
  letter-spacing: 0.8px;
  color: #405b40;
  margin-bottom: 8px;
}
.welcome-card p {
  font-size: 11px;
  line-height: 1.95;
  color: #87957e;
  letter-spacing: 0.5px;
}
.welcome-card .text-button {
  margin-top: 12px;
  color: #647d57;
  font-size: 10px;
}
.hero-illustration {
  position: absolute;
  right: 11px;
  bottom: 2px;
  width: 223px;
  height: 192px;
  pointer-events: none;
}
.daily-section > .section-heading {
  margin: 1px 0 13px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
  min-height: 24px;
}
.section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.section-subtitle {
  font-size: 10px;
  color: #9ba295;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 5px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat-card {
  padding: 16px 15px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 143px;
  overflow: hidden;
}
.stat-label {
  font-size: 11px;
  color: #85917f;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.stat-label .icon {
  height: 15px;
  width: 15px;
}
.stat-value {
  font-size: 29px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -1px;
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}
.stat-value small {
  font-size: 10px;
  color: #9aa192;
  letter-spacing: 0;
  font-weight: 400;
}
.stat-foot {
  font-size: 9px;
  margin-top: 9px;
  color: #9ba393;
  white-space: nowrap;
}
.stat-card.milk .stat-label {
  color: #8c9d72;
}
.stat-card.milk .stat-value {
  color: #637d53;
}
.stat-card.sleep .stat-label {
  color: #9b94af;
}
.stat-card.sleep .stat-value {
  color: #877a9d;
}
.stat-card.diaper .stat-label {
  color: #bfad7f;
}
.stat-card.diaper .stat-value {
  color: #ae9666;
}
.stat-card.outdoor .stat-label {
  color: #83a2a1;
}
.stat-card.outdoor .stat-value {
  color: #6d9693;
}
.stat-split {
  height: 3px;
  background: #f3f5ee;
  border-radius: 4px;
  display: flex;
  margin-top: 11px;
  gap: 2px;
  overflow: hidden;
}
.stat-split span:first-child {
  background: #b7c99b;
}
.stat-split span:last-child {
  background: #e7d3a7;
}
.skeleton-card {
  background: #edf1ed;
  height: 143px;
  border-radius: 12px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px 23px;
}
.quick-card {
  padding-bottom: 20px;
}
.quick-card .section-heading {
  margin-bottom: 20px;
}
.quick-card .quiet-text {
  font-size: 9px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 7px;
}
.quick-button {
  display: flex !important;
  flex-direction: column;
  gap: 8px !important;
  font-size: 10px;
  white-space: nowrap;
  color: #788072;
  padding: 0;
  min-height: 68px;
}
.quick-button:hover .quick-icon {
  filter: brightness(0.97);
}
.quick-icon {
  height: 43px;
  width: 43px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.quick-icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.45;
}
.tone-feed {
  background: #eef3e7;
  color: #8c9e6e;
}
.tone-storage {
  background: #e9f1f1;
  color: #7c9ea1;
}
.tone-warm {
  background: #f9efe4;
  color: #c5a179;
}
.tone-supplement {
  background: #f8f1dd;
  color: #beaa69;
}
.tone-sleep {
  background: #f0edf5;
  color: #a295b4;
}
.tone-diaper {
  background: #f7eddf;
  color: #bba074;
}
.tone-outdoor {
  background: #edf2e6;
  color: #9aa77a;
}
.tone-training {
  background: #f8ece7;
  color: #c69d8e;
}
.tone-growth {
  background: #eaf1ee;
  color: #8ca997;
}
.timeline-card {
  padding-bottom: 10px;
}
.count-pill {
  min-width: 21px;
  height: 19px;
  background: #f1f4ee;
  border-radius: 5px;
  padding: 0 6px;
  font-size: 10px;
  color: #98a28b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}
.date-strip {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fbfcfa;
  border: 1px solid #edf0e9;
  border-radius: 11px;
  padding: 9px 4px;
  margin: 0 0 17px;
}
.date-strip > .icon-button {
  width: 24px;
  min-height: 31px;
  padding: 4px;
}
.date-strip > .icon-button .icon {
  width: 14px;
  height: 14px;
}
.week-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  flex: 1;
  gap: 4px;
}
.day-button {
  display: flex !important;
  flex-direction: column;
  gap: 3px !important;
  padding: 5px 0 7px;
  min-width: 0;
  border-radius: 9px;
  font-size: 9px;
  color: #9ca391;
  position: relative;
}
.day-button strong {
  font-size: 14px;
  font-weight: 500;
  color: #6f7d63;
  line-height: 1.6;
}
.day-button.selected {
  background: #6b8561;
  color: #dfe8d8;
}
.day-button.selected strong {
  color: white;
}
.day-button.today:not(.selected):after {
  content: "";
  height: 3px;
  width: 3px;
  border-radius: 50%;
  background: #7c9868;
  position: absolute;
  bottom: 2px;
}
.day-button:disabled {
  opacity: 0.35;
  cursor: default;
}
.filter-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 7px;
  margin-bottom: 6px;
}
.filter-chip {
  font-size: 10px;
  padding: 4px 11px;
  border-radius: 6px;
  color: #9aa08f;
  white-space: nowrap;
  min-height: 28px;
}
.filter-chip.selected {
  background: #eff3e9;
  color: #7b8f67;
}
.filter-chip:hover {
  background: #f5f7f0;
}
.timeline-list {
  min-height: 85px;
}
.event {
  display: grid;
  grid-template-columns: 43px 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  position: relative;
  padding: 17px 0 18px;
  border-bottom: 1px solid #f1f3ee;
}
.event:last-child {
  border-bottom: 0;
}
.event-time {
  font-size: 10px;
  color: #99a18f;
  letter-spacing: 0.2px;
  padding-top: 7px;
  font-variant-numeric: tabular-nums;
}
.event-icon {
  height: 32px;
  width: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.event-icon .icon {
  width: 17px;
  height: 17px;
  stroke-width: 1.5;
}
.event-content {
  padding-top: 1px;
  min-width: 0;
}
.event-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.event-title {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.event-tag {
  font-size: 8px;
  letter-spacing: 0.3px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #f4f6ee;
  color: #92a078;
}
.event-description {
  font-size: 10px;
  color: #9ca392;
  margin-top: 4px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.event-actions {
  display: flex;
  gap: 1px;
  padding-top: 1px;
}
.event-actions .icon-button {
  width: 26px;
  min-height: 28px;
  padding: 6px;
  color: #b0b7a7;
}
.event-actions .icon {
  height: 13px;
  width: 13px;
}
.full-width-link {
  width: 100%;
  border-top: 1px solid #eef1e9;
  font-size: 10px;
  color: #93a086;
  min-height: 42px;
  margin-top: 8px;
  gap: 6px !important;
}
.full-width-link:hover {
  color: var(--green-dark);
}
.full-width-link .icon {
  width: 13px;
  height: 13px;
}
.right-column {
  gap: 19px;
}
.right-column .card {
  padding: 20px 20px 9px;
}
.right-column .section-heading {
  margin-bottom: 15px;
}
.right-column h2 {
  font-size: 13px;
}
.tiny-icon .icon {
  width: 16px;
  height: 16px;
  color: #96a486;
}
.reminder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  min-height: 54px;
}
.reminder-check {
  height: 19px;
  width: 19px;
  min-height: 19px;
  border: 1.5px solid #dce4d4;
  border-radius: 6px;
  padding: 1px;
  flex-shrink: 0;
  color: white;
}
.reminder-check.done {
  border-color: #aabd91;
  background: #aabd91;
}
.reminder-check .icon {
  height: 12px;
  width: 12px;
}
.reminder-details {
  flex: 1;
}
.reminder-details strong {
  font-size: 11px;
  font-weight: 450;
}
.reminder-details small {
  display: block;
  font-size: 9px;
  color: #a2a994;
  margin-top: 1px;
}
.reminder-row.completed .reminder-details strong {
  color: #a3ac97;
  text-decoration: line-through;
}
.reminder-row time {
  font-size: 10px;
  color: #9ea78e;
  font-variant-numeric: tabular-nums;
}
.reminder-row.due time {
  color: #c0a06b;
}
.reminder-footnote {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px dashed #e9ede3;
  font-size: 9px;
  color: #b0b69e;
  margin-top: 9px;
  padding: 12px 0 4px;
}
.reminder-footnote .icon {
  width: 12px;
  height: 12px;
}
.empty-reminder {
  padding: 11px 0 16px;
}
.empty-reminder p {
  font-size: 11px;
  color: #9ba58f;
  line-height: 1.9;
  margin-bottom: 12px;
}
.reminder-preview {
  padding: 7px 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.reminder-preview span {
  width: 17px;
  height: 17px;
  border: 1px solid #dfe7d5;
  border-radius: 5px;
  display: grid;
  place-items: center;
  color: #a3b48d;
}
.reminder-preview span.checked {
  background: #b8c5a5;
  border-color: #b8c5a5;
  color: white;
}
.reminder-preview .icon {
  height: 11px;
  width: 11px;
}
.reminder-preview strong {
  font-size: 11px;
  font-weight: 400;
  color: #a2ac93;
}
.reminder-preview time {
  margin-left: auto;
  font-size: 9px;
  color: #aab39a;
}
.reminder-demo-label {
  font-size: 9px;
  color: #bdc5b0;
  margin-top: 7px;
}
.mini-chart-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 17px;
}
.mini-chart-value strong {
  font-size: 27px;
  line-height: 1.3;
  color: #6e825e;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.mini-chart-value span {
  font-size: 9px;
  color: #9da68f;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 9px;
  color: #9ba48c;
  margin-top: 12px;
}
.chart-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend-dot {
  display: inline-block;
  height: 6px;
  width: 6px;
  border-radius: 50%;
}
.breast {
  background: #a7bc8d;
}
.formula {
  background: #e2c796;
}
.mini-bars {
  height: 111px;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  margin-top: 20px;
  padding: 0 6px;
}
.bar-column {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  height: 111px;
  min-height: 0;
}
.bar-stack {
  width: 100%;
  max-width: 19px;
  min-height: 2px;
  display: flex;
  flex-direction: column-reverse;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}
.bar-stack > span {
  width: 100%;
  min-height: 0;
}
.bar-stack .breast {
  background: #afc298;
}
.bar-stack .formula {
  background: #e8d4ad;
}
.bar-column small {
  font-size: 8px;
  color: #abb39c;
  margin-top: 8px;
  line-height: 1;
}
.bar-column:last-child small {
  color: #7f9467;
}
.guide-promo {
  padding: 20px 23px 17px;
  background: #f5f1e6;
  border: 1px solid #eee9db;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-height: 210px;
}
.promo-heading {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #b4a173;
}
.promo-heading .icon {
  height: 14px;
  width: 14px;
}
.guide-promo h2 {
  font-size: 20px;
  color: #7b7959;
  line-height: 1.65;
  letter-spacing: 1px;
  margin-top: 14px;
  font-weight: 500;
  max-width: 170px;
}
.guide-promo p {
  font-size: 10px;
  line-height: 1.9;
  color: #aaa083;
  margin-top: 8px;
}
.guide-promo .text-button {
  font-size: 10px;
  color: #9a8d68;
  margin-top: 11px;
}
.promo-drawing {
  position: absolute;
  right: -15px;
  bottom: 29px;
  font-size: 132px;
  color: #e8e0c7;
  line-height: 1;
  font-family: serif;
  font-weight: 400;
  transform: rotate(12deg);
}
.feishu-promo {
  padding: 8px 3px;
  display: flex;
  align-items: center;
  gap: 11px;
}
.feishu-logo {
  width: 31px;
  height: 31px;
  background: #eaf0f2;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #8aabb4;
}
.feishu-logo .icon {
  height: 18px;
  width: 18px;
  stroke-width: 1.4;
}
.feishu-promo > div {
  flex: 1;
  min-width: 0;
}
.feishu-promo strong {
  font-size: 10px;
  font-weight: 500;
  color: #8c9684;
}
.feishu-promo p {
  font-size: 9px;
  line-height: 1.5;
  color: #aab19d;
  margin-top: 4px;
}
.feishu-promo > .icon-button {
  width: 20px;
  padding: 2px;
}
.feishu-promo > .icon-button .icon {
  width: 14px;
}
.page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #bbc3b4;
  font-size: 9px;
  letter-spacing: 0.5px;
  margin: 32px 0 8px;
}
.page-footer .icon {
  height: 13px;
  width: 13px;
}
.footer-dot {
  padding: 0 2px;
}
.records-search {
  padding: 21px 24px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e0e8dd;
  border-radius: 10px;
  background: #fbfcfa;
  padding: 0 14px;
  min-height: 46px;
  color: #9aa58e;
}
.search-field .icon {
  height: 17px;
  width: 17px;
}
.search-field input {
  border: 0;
  background: none;
  flex: 1;
  padding: 12px 0;
  outline-offset: 1px;
  color: #56664e;
  font-size: 12px;
}
.search-field input::placeholder {
  color: #a4ad99;
}
.search-shortcut {
  font-size: 10px;
  color: #b7bfad;
}
.history-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  color: #a1aa94;
  font-size: 11px;
}
.history-controls input,
.history-controls select {
  background: #fff;
  border: 1px solid #e5ebdf;
  border-radius: 7px;
  padding: 7px 9px;
  color: #7c8a70;
  min-height: 36px;
  font-size: 11px;
}
.history-controls select {
  min-width: 130px;
  margin-right: auto;
}
.history-heading {
  margin: 27px 3px 14px;
}
.history-results {
  padding: 6px 24px 12px;
}
.history-date {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 19px 0 4px;
  font-size: 12px;
  color: #7b8c6e;
  font-weight: 500;
}
.history-date span {
  font-size: 10px;
  color: #a5ae98;
  font-weight: 400;
}
.history-results .event:last-child {
  border-bottom: 1px solid #f1f3ee;
}
.empty-state {
  text-align: center;
  padding: 35px 20px 39px;
  color: #9aa68c;
}
.empty-state > .icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 12px;
  color: #bccbb0;
  stroke-width: 1.2;
}
.empty-state h3 {
  font-size: 13px;
  font-weight: 500;
  color: #889879;
  margin-bottom: 7px;
}
.empty-state p {
  font-size: 11px;
  color: #a9b29e;
  line-height: 1.9;
}
.empty-state .button {
  margin-top: 16px;
}
.trend-controls {
  margin-bottom: 20px;
}
.segment-control {
  display: flex;
  padding: 4px;
  background: #edf1e8;
  border-radius: 8px;
  gap: 3px;
}
.segment-control button {
  font-size: 11px;
  color: #8e9b7f;
  padding: 5px 13px;
  min-height: 29px;
  border-radius: 6px;
}
.segment-control button.selected {
  background: #fff;
  color: #677e54;
  box-shadow: 0 2px 5px #6d805610;
}
.trend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 23px 0;
}
.trend-card {
  padding: 22px 25px;
}
.trend-card .section-heading {
  margin-bottom: 12px;
}
.trend-card .chart-legend {
  margin: 0;
}
.trend-card .chart-description {
  font-size: 10px;
  color: #a7b097;
  margin-top: 12px;
}
.line-chart {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px;
  margin-top: 21px;
  overflow: visible;
}
.line-chart text {
  font-size: 9px;
  fill: #9caa8e;
  font-family: inherit;
}
.chart-grid-line {
  stroke: #eef2e9;
  stroke-dasharray: 4 4;
}
.chart-table-details {
  font-size: 10px;
  color: #8f9f7f;
  margin-top: 14px;
}
.chart-table-details summary {
  cursor: pointer;
  min-height: 24px;
}
.data-table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 11px;
  white-space: nowrap;
  color: #7e8c70;
}
.data-table th {
  font-weight: 500;
  color: #8d9d7d;
  background: #f8faf5;
}
.data-table th,
.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #eef2e9;
}
.growth-table-card {
  margin-top: 20px;
}
.growth-table-card .section-heading {
  margin-bottom: 12px;
}
.guide-header-card {
  background: #eaf0e4;
  border: 1px solid #dfe8d7;
  padding: 30px 29px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 27px;
}
.guide-header-card h2 {
  font-size: 23px;
  color: #5e7650;
  letter-spacing: 1px;
  position: relative;
}
.guide-header-card p:not(.eyebrow) {
  font-size: 12px;
  color: #93a084;
  margin-top: 9px;
  position: relative;
}
.guide-header-flower {
  position: absolute;
  right: 185px;
  bottom: -40px;
  font-size: 168px;
  line-height: 1;
  color: #dbe5d0;
  transform: rotate(10deg);
}
.age-select {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.age-select label {
  font-size: 10px;
  color: #9ba78c;
}
.age-select select {
  border: 1px solid #cfdcc2;
  background: #f6f9ef;
  border-radius: 8px;
  padding: 9px 12px;
  color: #6d835b;
  font-size: 12px;
  min-width: 140px;
}
.guide-intro {
  margin: 0 3px 20px;
}
.guide-intro .soft-tag {
  margin-bottom: 7px;
}
.guide-intro h2 {
  font-size: 22px;
  color: #5c7150;
  letter-spacing: 0.6px;
}
.guide-intro p {
  font-size: 12px;
  color: #99a38e;
  margin-top: 9px;
}
.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.activity-card {
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.activity-card .quick-icon {
  margin-bottom: 20px;
  height: 46px;
  width: 46px;
}
.activity-card h3 {
  font-size: 15px;
  font-weight: 500;
  color: #71845e;
  letter-spacing: 0.3px;
}
.activity-card p {
  font-size: 12px;
  line-height: 1.95;
  color: #96a388;
  margin: 12px 0 21px;
  flex: 1;
}
.activity-card .text-button {
  font-size: 11px;
}
.guide-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 19px 3px 29px;
  font-size: 10px;
  color: #9eab90;
}
.source-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #91a17e;
  font-size: 10px;
  margin-top: 14px;
}
.source-link .icon,
.source-note a .icon {
  height: 12px;
  width: 12px;
}
.storage-guide {
  margin-top: 24px;
}
.storage-tips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 3px 0 20px;
}
.storage-tips strong {
  font-size: 12px;
  font-weight: 500;
  color: #7f916e;
}
.storage-tips p {
  font-size: 11px;
  color: #9eaa91;
  margin-top: 6px;
}
.source-note {
  font-size: 10px;
  line-height: 1.9;
  color: #a7b19c;
  border-top: 1px solid #edf1e7;
  padding-top: 13px;
}
.source-note a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 8px;
  color: #8fa17c;
}
.error-banner {
  border: 1px solid #eed5c9;
  color: #aa705d;
  background: #fff4ed;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 12px;
  margin-bottom: 20px;
}
.error-banner a {
  text-decoration: underline;
}
.error-banner button {
  display: inline;
  font-size: inherit;
  text-decoration: underline;
}
dialog {
  color: var(--ink);
  background: white;
  border: 1px solid #e5ebdf;
  border-radius: 21px;
  padding: 0;
  width: min(500px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  box-shadow: 0 20px 90px #2730212b;
  overflow: auto;
}
dialog:modal {
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: #35413055;
  backdrop-filter: blur(3px);
  overflow: hidden;
  overscroll-behavior: contain;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 26px 19px;
  border-bottom: 1px solid #eef2e8;
  gap: 15px;
}
.dialog-header .eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
}
.dialog-header h2 {
  font-size: 19px;
  color: #5b7150;
  letter-spacing: 0.4px;
}
.dialog-header .icon-button {
  align-self: flex-start;
}
.dialog-body {
  padding: 23px 26px;
  max-height: 65dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 17px 26px;
  border-top: 1px solid #eef2e8;
  background: #fcfdfb;
  position: sticky;
  bottom: 0;
}
.footer-spacer {
  flex: 1;
}
.dialog-footer .button {
  font-size: 11px;
  min-height: 38px;
}
.field {
  margin-bottom: 18px;
}
.field > label {
  display: block;
  color: #758669;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 7px;
}
.field > input,
.field > select,
.field > textarea {
  width: 100%;
  border: 1px solid #dfe7d7;
  border-radius: 9px;
  background: #fcfdfb;
  padding: 10px 12px;
  color: #5e7150;
  font-size: 12px;
  min-height: 42px;
}
.field textarea {
  resize: vertical;
  line-height: 1.8;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #bac2af;
  font-size: 11px;
}
.label-optional {
  font-weight: 400;
  color: #abb59d;
  font-size: 10px;
  margin-left: 4px;
}
.field-hint {
  font-size: 10px;
  line-height: 1.9;
  color: #a0ad93;
  margin: 7px 0 13px;
}
.field > .field-hint {
  margin-bottom: 0;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-notice {
  font-size: 11px;
  line-height: 1.9;
  color: #8d9874;
  background: #f2f6e9;
  border: 1px solid #e8eedc;
  border-radius: 8px;
  padding: 10px 13px;
  margin-bottom: 20px;
}
.form-error {
  font-size: 11px;
  color: #b77865;
  line-height: 1.8;
  min-height: 0;
  margin: 8px 0;
}
.form-error:not(:empty) {
  padding: 9px 12px;
  background: #fff5ef;
  border-radius: 7px;
}
.draft-warning {
  font-size: 10px;
  color: #a08d5a;
  padding: 10px 12px;
  background: #faf5e5;
  border-radius: 7px;
  margin-top: 12px;
}
.check-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #94a181 !important;
  margin: 10px 0;
}
.check-label input {
  accent-color: #819d6d;
  height: 15px;
  width: 15px;
}
.profile-welcome {
  display: flex;
  gap: 17px;
  align-items: center;
  background: #f6f8ef;
  border-radius: 13px;
  padding: 17px;
  margin-bottom: 24px;
}
.profile-welcome p {
  font-size: 12px;
  color: #9da88d;
  line-height: 1.9;
  letter-spacing: 0.5px;
}
.baby-avatar.large {
  width: 57px;
  height: 57px;
  border-radius: 18px;
}
.baby-avatar.large .icon {
  height: 38px;
  width: 38px;
}
.wide-dialog {
  width: min(570px, calc(100% - 32px));
}
.wide-dialog > .dialog-body {
  max-height: 75dvh;
}
.settings-section + .settings-section {
  border-top: 1px solid #edf2e5;
  padding-top: 24px;
  margin-top: 25px;
}
.settings-section h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6d845b;
  font-weight: 500;
  margin-bottom: 13px;
  font-size: 14px;
}
.settings-section h3 .icon {
  width: 18px;
  height: 18px;
  color: #9aaa8b;
}
.settings-row {
  display: flex !important;
  justify-content: space-between !important;
  width: 100%;
  text-align: left;
  padding: 8px 0;
}
.settings-row strong {
  display: block;
  color: #899b77;
  font-size: 13px;
  font-weight: 500;
}
.settings-row small {
  font-size: 11px;
  color: #a3af95;
  display: block;
  margin-top: 3px;
}
.settings-row .icon {
  width: 17px;
  height: 17px;
  color: #adba9d;
}
.switch-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #8e9f7d;
  font-size: 12px;
  padding: 20px 0;
}
.switch-field input {
  appearance: none;
  -webkit-appearance: none;
  width: 37px;
  height: 22px;
  border-radius: 20px;
  background: #dce4d3;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.switch-field input:before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 3px #3a4d2f15;
}
.switch-field input:checked {
  background: #8ca678;
}
.switch-field input:checked:before {
  left: 18px;
}
.settings-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}
.settings-buttons .button {
  font-size: 11px;
}
.settings-section > .source-link {
  display: flex;
  justify-content: flex-start;
}
.settings-section > .danger-quiet {
  margin-top: 10px;
}
.manage-reminder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1e6;
}
.manage-reminder strong {
  font-size: 12px;
  color: #80926d;
  font-weight: 500;
}
.manage-reminder small {
  display: block;
  color: #a9b69b;
  font-size: 10px;
  margin-top: 3px;
}
.manage-reminder > div:last-child {
  display: flex;
  gap: 4px;
}
.manage-reminder .icon-button {
  width: 29px;
  min-height: 29px;
}
.manage-reminder .icon {
  width: 14px;
  height: 14px;
}
#manage-reminders:not(:empty) {
  padding-bottom: 23px;
}
#summary-text {
  white-space: pre-wrap;
  font-family: inherit;
  line-height: 2;
  font-size: 12px;
  color: #829371;
  margin: 0;
}
.confirm-dialog {
  width: min(390px, calc(100% - 32px));
}
.confirm-dialog .dialog-body {
  padding-top: 30px;
}
.confirm-dialog h2 {
  font-size: 18px;
  color: #6e7d5d;
  margin: 16px 0 10px;
}
.confirm-dialog p {
  font-size: 12px;
  color: #a2ad93;
  line-height: 1.9;
}
.confirm-icon {
  height: 40px;
  width: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f9ede7;
  color: #bc9180;
}
.confirm-icon .icon {
  height: 20px;
  width: 20px;
}
.toast {
  position: fixed;
  bottom: 30px;
  left: calc(50% + 113px);
  transform: translateX(-50%);
  background: #516448;
  box-shadow: 0 5px 24px #3b4f2f20;
  padding: 11px 20px;
  border-radius: 10px;
  color: white;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  max-width: calc(100vw - 32px);
  text-align: center;
  line-height: 1.7;
}
.toast.visible {
  opacity: 1;
}
.toast.error {
  background: #9e7660;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: white;
  color: var(--green-dark);
  padding: 12px 18px;
  border: 2px solid var(--green);
  border-radius: 7px;
  z-index: 1000;
}
.skip-link:focus {
  top: 12px;
}
[hidden] {
  display: none !important;
}
.date-picker {
  border: 1px solid #e4eadc;
  border-radius: 6px;
  background: #fafcf7;
  padding: 4px 6px;
  width: 121px;
  min-height: 29px;
  font-family: inherit;
  font-size: 10px;
  cursor: pointer;
}
.date-picker:focus-within {
  outline: 2px solid #819d6d;
  outline-offset: 3px;
}
.stock-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.stock-description {
  display: block;
  text-align: left;
  flex: 1;
  min-width: 0;
  padding: 0;
}
.stock-description strong {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 11px;
  font-weight: 500;
  color: #68795a;
  overflow-wrap: anywhere;
}
.stock-description small {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  color: #738367;
}
.stock-row.expiring small {
  color: #a16b4c;
}
.stock-footnote {
  color: #78846d;
  font-size: 9px;
  margin: 6px 0 8px;
}
.milk-stock-card > .section-heading {
  margin-bottom: 5px;
}
.milk-stock-card .icon-button .icon {
  width: 15px;
  height: 15px;
}
.milk-stock-card .text-button {
  margin-top: 10px;
}
.inline-status {
  font-size: 11px;
  line-height: 1.8;
  padding: 9px 12px;
  background: #f0f5e8;
  border-radius: 8px;
  color: #647b50;
  margin-bottom: 15px;
}
.page-description,
.quiet-text,
.section-subtitle,
.stat-foot,
.event-description,
.event-time,
.chart-legend,
.mini-chart-value span,
.filter-chip,
.reminder-details small,
.reminder-row time,
.reminder-footnote,
.feishu-promo p,
.feishu-promo strong,
.field-hint,
.label-optional,
.source-note,
.source-link,
.guide-source,
.chart-table-details,
.data-table,
.data-table th,
.history-date span,
.trend-card .chart-description,
.empty-state p {
  color: var(--muted);
}
.stat-card.milk .stat-label {
  color: #657c4e;
}
.stat-card.sleep .stat-label {
  color: #7e6c94;
}
.stat-card.diaper .stat-label {
  color: #887044;
}
.stat-card.outdoor .stat-label {
  color: #567775;
}
.welcome-card p {
  color: #65785a;
}
.welcome-card .soft-tag {
  color: #5c7550;
}
.event-tag {
  color: #697c52;
}
.event-actions .icon-button {
  color: #7b8c6b;
}
.filter-chip.selected {
  color: #607449;
}
.quick-button {
  color: #657459;
}
.reminder-preview strong,
.reminder-preview time,
.reminder-demo-label,
.manage-reminder small,
.reminder-row.completed .reminder-details strong {
  color: #6f7d61;
}
.guide-promo p {
  color: #85764d;
}
.guide-promo .text-button,
.promo-heading {
  color: #827047;
}
.activity-card p,
.guide-intro p,
.guide-header-card p:not(.eyebrow),
.storage-tips p,
.empty-reminder p {
  color: #697a5d;
}
.field > label {
  color: #627451;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #7f8e72;
}
@media (min-width: 1550px) {
  .content {
    padding: 40px 49px 20px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
  }
  .welcome-card {
    min-height: 239px;
    padding: 29px 33px;
  }
  .hero-illustration {
    width: 248px;
    height: 211px;
    right: 30px;
  }
  .welcome-card h2 {
    font-size: 25px;
  }
  .welcome-card p {
    font-size: 12px;
  }
  .stat-card {
    padding: 18px 19px;
    min-height: 151px;
  }
  .quick-grid {
    gap: 14px;
  }
  .quick-icon {
    height: 48px;
    width: 48px;
  }
  .main-column {
    gap: 25px;
  }
  .right-column {
    gap: 22px;
  }
}
@media (max-width: 1280px) {
  .sidebar {
    width: 198px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .workspace {
    margin-left: 198px;
  }
  .brand {
    margin-left: 7px;
    gap: 9px !important;
  }
  .brand strong {
    font-size: 25px;
  }
  .brand small {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
  .content {
    padding: 28px 26px 20px;
  }
  .topbar {
    padding: 0 26px;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 263px;
    gap: 19px;
  }
  .main-column {
    gap: 20px;
  }
  .right-column .card {
    padding-left: 17px;
    padding-right: 17px;
  }
  .welcome-card {
    padding-left: 23px;
    min-height: 214px;
  }
  .welcome-card h2 {
    font-size: 19px;
  }
  .hero-illustration {
    width: 180px;
    right: -10px;
    height: 168px;
    opacity: 0.9;
  }
  .stat-card {
    padding: 14px 11px;
    min-height: 136px;
  }
  .stats-grid {
    gap: 8px;
  }
  .stat-value {
    font-size: 26px;
  }
  .stat-label {
    font-size: 10px;
    gap: 5px;
  }
  .stat-foot {
    font-size: 8px;
  }
  .card {
    padding: 19px 19px;
  }
  .quick-grid {
    gap: 3px;
  }
  .quick-icon {
    height: 37px;
    width: 37px;
    border-radius: 11px;
  }
  .quick-icon .icon {
    height: 20px;
    width: 20px;
  }
  .quick-button {
    font-size: 9px;
  }
  .quick-card .quiet-text {
    display: none;
  }
  .event {
    grid-template-columns: 36px 29px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .event-icon {
    height: 29px;
    width: 29px;
  }
  .event-actions .icon-button {
    width: 24px;
    padding: 5px;
  }
  .event-title {
    font-size: 11px;
  }
  .guide-card-grid {
    gap: 14px;
  }
  .activity-card {
    padding: 20px;
  }
  .toast {
    left: calc(50% + 99px);
  }
}
@media (max-width: 1120px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .right-column .guide-promo {
    min-height: 235px;
  }
  .feishu-promo {
    align-self: center;
    padding: 20px 5px;
  }
  .hero-illustration {
    width: 225px;
    right: 15px;
    height: 197px;
    opacity: 1;
  }
  .welcome-card {
    padding: 25px 29px;
    min-height: 217px;
  }
  .welcome-card h2 {
    font-size: 22px;
  }
  .quick-grid {
    gap: 9px;
  }
  .quick-icon {
    width: 43px;
    height: 43px;
    border-radius: 13px;
  }
  .quick-button {
    font-size: 10px;
  }
  .stat-card {
    padding: 17px 16px;
  }
  .stats-grid {
    gap: 13px;
  }
  .stat-value {
    font-size: 29px;
  }
  .stat-label {
    font-size: 11px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .event {
    grid-template-columns: 45px 34px minmax(0, 1fr) auto;
    gap: 11px;
  }
  .event-title {
    font-size: 12px;
  }
  .event-icon {
    height: 32px;
    width: 32px;
  }
  .event-actions .icon-button {
    width: 28px;
  }
  .local-label {
    display: none;
  }
  .activity-card p {
    font-size: 11px;
  }
  .guide-header-card {
    padding: 25px;
  }
  .guide-header-card h2 {
    font-size: 20px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 180px;
    padding: 30px 12px 16px;
  }
  .workspace {
    margin-left: 180px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
  .brand-mark .icon {
    height: 26px;
    width: 26px;
  }
  .brand strong {
    font-size: 24px;
  }
  .brand small {
    font-size: 8px;
    letter-spacing: 0;
  }
  .primary-nav a {
    font-size: 12px;
    padding: 0 13px;
  }
  .sidebar-link {
    font-size: 10px;
    padding-left: 11px;
  }
  .sidebar-link .icon {
    width: 15px;
    height: 15px;
  }
  .content {
    padding: 27px 23px 17px;
  }
  .topbar {
    padding: 0 23px;
    height: 66px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .heading-spark {
    font-size: 22px;
    margin-left: 8px;
  }
  .page-description {
    font-size: 11px;
  }
  .page-heading .button {
    padding: 8px 12px;
    font-size: 11px;
  }
  .welcome-card {
    padding-left: 23px;
  }
  .welcome-card h2 {
    font-size: 19px;
  }
  .hero-illustration {
    width: 185px;
    right: -1px;
  }
  .welcome-card p {
    font-size: 10px;
  }
  .stats-grid {
    gap: 8px;
  }
  .stat-card {
    padding: 15px 12px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-value small {
    font-size: 9px;
  }
  .stat-label {
    font-size: 10px;
  }
  .stat-foot {
    font-size: 8px;
  }
  .quick-grid {
    gap: 4px;
  }
  .quick-icon {
    height: 36px;
    width: 36px;
    border-radius: 11px;
  }
  .quick-icon .icon {
    height: 19px;
    width: 19px;
  }
  .quick-button {
    font-size: 9px;
  }
  .section-heading h2 {
    font-size: 14px;
  }
  .section-subtitle {
    font-size: 9px;
  }
  .event {
    grid-template-columns: 35px 29px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .event-title {
    font-size: 11px;
  }
  .event-time {
    font-size: 9px;
  }
  .event-description {
    font-size: 9px;
  }
  .event-actions .icon-button {
    width: 24px;
  }
  .history-controls {
    gap: 7px;
    flex-wrap: wrap;
  }
  .history-controls select {
    min-width: 100px;
  }
  .history-controls input {
    max-width: 140px;
  }
  .search-shortcut {
    display: none;
  }
  .trend-grid {
    grid-template-columns: 1fr;
  }
  .guide-card-grid {
    grid-template-columns: 1fr;
  }
  .activity-card {
    display: grid;
    grid-template-columns: 47px 1fr;
    gap: 0 16px;
    padding: 21px;
  }
  .activity-card > .quick-icon {
    grid-row: 1/4;
    margin: 0;
  }
  .activity-card p {
    margin: 8px 0 12px;
    font-size: 12px;
  }
  .activity-card .text-button {
    justify-self: start;
  }
  .guide-header-card {
    flex-wrap: wrap;
  }
  .age-select {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
  .age-select select {
    min-width: 130px;
  }
  .guide-header-flower {
    right: -30px;
  }
  .storage-tips {
    gap: 15px;
  }
  .storage-tips strong {
    font-size: 11px;
  }
  .storage-tips p {
    font-size: 10px;
  }
  .guide-source {
    align-items: start;
    line-height: 1.8;
  }
  .toast {
    left: calc(50% + 90px);
  }
}
@media (max-width: 719px) {
  :root {
    font-size: 14px;
  }
  .sidebar {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 62px;
    padding: 0 21px;
    background: #fcfdfbed;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex !important;
    align-items: center;
    gap: 6px !important;
    color: #647e55;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
  }
  .mobile-brand .icon {
    height: 25px;
    width: 25px;
    stroke-width: 1.6;
  }
  .topbar-actions {
    gap: 14px;
  }
  .local-label {
    display: none;
  }
  .top-avatar {
    width: 31px;
    height: 31px;
  }
  .notification-button .icon {
    width: 19px;
    height: 19px;
  }
  .content {
    padding: 25px 19px 98px;
    max-width: 650px;
  }
  .page-heading {
    margin-bottom: 21px;
    gap: 10px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
    margin-bottom: 6px;
  }
  .page-heading h1 {
    font-size: 21px;
    letter-spacing: 0.7px;
    line-height: 1.5;
  }
  .heading-spark {
    font-size: 23px;
    margin-left: 7px;
    vertical-align: -1px;
    display: none;
  }
  .page-description {
    font-size: 11px;
    margin-top: 7px;
    letter-spacing: 0.2px;
  }
  .page-heading > .button {
    font-size: 10px;
    min-height: 35px;
    padding: 8px 11px;
    border-radius: 8px;
  }
  .page-heading > .button .icon {
    height: 14px;
    width: 14px;
  }
  .demo-notice {
    font-size: 9px;
    gap: 6px;
    padding: 9px 10px;
    margin-top: -3px;
    margin-bottom: 17px;
    flex-wrap: wrap;
  }
  .demo-notice > span:not(:first-child) {
    flex: 1;
    min-width: 200px;
  }
  .demo-notice > .icon {
    height: 13px;
    width: 13px;
  }
  .demo-notice button {
    font-size: 9px;
    margin-left: 19px;
  }
  .overview-grid {
    gap: 21px;
  }
  .main-column {
    gap: 21px;
  }
  .welcome-card {
    min-height: 205px;
    padding: 23px 20px;
    border-radius: 15px;
  }
  .welcome-card h2 {
    font-size: 17px;
    letter-spacing: 0.4px;
    max-width: 240px;
  }
  .welcome-card p {
    font-size: 10px;
    line-height: 2.05;
  }
  .welcome-card .text-button {
    font-size: 9px;
    margin-top: 10px;
  }
  .soft-tag {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .hero-illustration {
    width: 169px;
    height: 160px;
    right: -16px;
    bottom: 4px;
    opacity: 0.95;
  }
  .welcome-copy {
    max-width: 80%;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .stat-card {
    padding: 16px 17px 14px;
    min-height: 135px;
    border-radius: 12px;
  }
  .stat-label {
    font-size: 11px;
    gap: 7px;
  }
  .stat-label .icon {
    width: 16px;
    height: 16px;
  }
  .stat-value {
    font-size: 28px;
    margin-top: 10px;
  }
  .stat-value small {
    font-size: 10px;
  }
  .stat-foot {
    font-size: 9px;
    margin-top: 7px;
  }
  .stat-split {
    height: 3px;
    margin-top: 9px;
  }
  .section-heading {
    margin-bottom: 17px;
  }
  .section-heading h2 {
    font-size: 14px;
  }
  .section-subtitle {
    font-size: 9px;
    margin-left: 2px;
  }
  .daily-section > .section-heading {
    margin-top: 0;
    margin-bottom: 12px;
  }
  .daily-section > .section-heading > .text-button {
    font-size: 10px;
  }
  .card {
    padding: 19px 18px;
    border-radius: 15px;
  }
  .quick-card {
    padding-bottom: 10px;
  }
  .quick-card .section-heading {
    margin-bottom: 20px;
  }
  .quick-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px 4px;
  }
  .quick-icon {
    width: 41px;
    height: 41px;
    border-radius: 13px;
  }
  .quick-icon .icon {
    width: 22px;
    height: 22px;
  }
  .quick-button {
    font-size: 10px;
    gap: 7px !important;
    min-height: 65px;
  }
  .timeline-card {
    padding: 18px 15px 7px;
  }
  .timeline-card > .section-heading {
    padding: 0 2px;
  }
  .timeline-card > .section-heading > .text-button {
    font-size: 10px;
  }
  .date-strip {
    padding: 7px 1px;
    gap: 0;
    margin-bottom: 13px;
  }
  .week-days {
    gap: 2px;
  }
  .day-button {
    font-size: 8px;
    padding: 5px 0 7px;
    border-radius: 7px;
  }
  .day-button strong {
    font-size: 13px;
  }
  .date-strip > .icon-button {
    width: 19px;
    padding: 2px;
  }
  .date-strip > .icon-button .icon {
    height: 12px;
    width: 12px;
  }
  .event {
    grid-template-columns: 30px 28px minmax(0, 1fr) auto;
    gap: 7px;
    padding: 16px 0;
  }
  .event-icon {
    height: 28px;
    width: 28px;
    border-radius: 9px;
  }
  .event-icon .icon {
    width: 16px;
    height: 16px;
  }
  .event-time {
    font-size: 10px;
    padding-top: 7px;
  }
  .event-title {
    font-size: 12px;
  }
  .event-top {
    gap: 5px;
  }
  .event-description {
    font-size: 11px;
    line-height: 1.85;
    margin-top: 4px;
  }
  .event-tag {
    font-size: 9px;
  }
  .event-actions {
    flex-direction: column;
    gap: 0;
    margin-top: -4px;
  }
  .event-actions .icon-button {
    height: 23px;
    min-height: 23px;
    width: 23px;
    padding: 5px;
  }
  .event-actions .icon {
    width: 12px;
    height: 12px;
  }
  .filter-chip {
    font-size: 9px;
    padding: 4px 10px;
  }
  .right-column {
    gap: 17px;
    grid-template-columns: 1fr 1fr;
  }
  .right-column .card {
    padding: 17px 16px 8px;
  }
  .right-column .section-heading {
    margin-bottom: 9px;
  }
  .right-column h2 {
    font-size: 12px;
  }
  .reminders-card {
    grid-column: 1/-1;
  }
  .reminder-footnote {
    font-size: 9px;
  }
  .reminder-row {
    padding: 10px 0;
  }
  .reminder-preview {
    padding: 9px 0;
  }
  .feeding-card {
    grid-column: 1/-1;
  }
  .mini-chart-value {
    margin-top: 12px;
  }
  .mini-bars {
    height: 119px;
    gap: 18px;
    margin-top: 20px;
    padding: 0 10px;
  }
  .bar-column {
    height: 119px;
  }
  .bar-stack {
    max-width: 22px;
  }
  .bar-column small {
    font-size: 9px;
  }
  .right-column .guide-promo {
    grid-column: 1/-1;
    min-height: 203px;
    padding: 21px;
  }
  .guide-promo h2 {
    max-width: 220px;
    font-size: 20px;
    margin-top: 11px;
  }
  .guide-promo h2 br {
    display: none;
  }
  .guide-promo p {
    font-size: 10px;
  }
  .promo-drawing {
    right: 7px;
    bottom: 28px;
    font-size: 147px;
  }
  .guide-promo .text-button {
    margin-top: 8px;
  }
  .feishu-promo {
    grid-column: 1/-1;
    padding: 4px 6px;
  }
  .feishu-promo strong {
    font-size: 11px;
  }
  .feishu-promo p {
    font-size: 10px;
  }
  .page-footer {
    font-size: 8px;
    line-height: 1.9;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 29px;
    letter-spacing: 0;
  }
  .page-footer .icon {
    width: 11px;
    height: 11px;
  }
  .mobile-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fcfdfbf5;
    backdrop-filter: blur(15px);
    border-top: 1px solid #e9eee2;
    z-index: 40;
    padding: 8px 9px calc(8px + env(safe-area-inset-bottom));
    height: calc(66px + env(safe-area-inset-bottom));
  }
  .mobile-nav > a {
    display: flex !important;
    flex-direction: column;
    gap: 3px !important;
    font-size: 9px;
    color: #a1ae92;
    min-height: 45px;
    min-width: 51px;
    line-height: 1.6;
  }
  .mobile-nav > a .icon {
    width: 20px;
    height: 20px;
    stroke-width: 1.6;
  }
  .mobile-nav > a[aria-current="page"] {
    color: #6f8a5a;
  }
  .mobile-nav > a[aria-current="page"] .icon {
    stroke-width: 2;
  }
  .mobile-add {
    width: 43px;
    min-height: 43px;
    border-radius: 14px;
    background: #789466;
    color: white;
    box-shadow: 0 3px 9px #5e7d4e18;
    margin-top: -8px;
  }
  .mobile-add .icon {
    height: 24px;
    width: 24px;
  }
  .toast {
    left: 50%;
    bottom: calc(83px + env(safe-area-inset-bottom));
    font-size: 11px;
    padding: 11px 15px;
    min-width: 180px;
  }
  .records-search {
    padding: 16px;
  }
  .search-field {
    min-height: 43px;
    padding: 0 10px;
    gap: 8px;
  }
  .search-field input {
    font-size: 11px;
    width: 100%;
    padding: 11px 0;
  }
  .history-controls {
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    gap: 9px;
    margin-top: 12px;
  }
  .history-controls select {
    grid-column: 1/3;
    max-width: none;
    width: 100%;
    font-size: 11px;
    order: 0;
  }
  .history-controls input {
    max-width: none;
    width: 100%;
    font-size: 10px;
    order: 2;
    padding: 7px 6px;
  }
  .history-controls > span {
    order: 2;
    text-align: center;
  }
  .history-controls > .text-button {
    order: 1;
    justify-self: end;
  }
  .history-heading {
    margin-top: 23px;
    margin-bottom: 12px;
  }
  .history-heading h2 {
    font-size: 13px;
  }
  .history-heading > .text-button {
    font-size: 10px;
  }
  .history-results {
    padding: 3px 15px 10px;
  }
  .history-date {
    font-size: 11px;
    padding-top: 18px;
  }
  .trend-controls {
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
  }
  .trend-controls > .quiet-text {
    font-size: 9px;
  }
  .segment-control button {
    font-size: 10px;
    padding: 4px 10px;
    min-height: 28px;
  }
  .segment-control {
    padding: 3px;
  }
  .trend-grid {
    gap: 16px;
    margin-top: 20px;
  }
  .trend-card {
    padding: 20px;
  }
  .trend-card h2 {
    font-size: 14px;
  }
  .trend-card .chart-description {
    font-size: 9px;
  }
  .growth-table-card {
    padding: 19px 16px;
  }
  .growth-table-card .text-button {
    font-size: 9px;
  }
  .growth-table-card h2 {
    font-size: 13px;
  }
  .data-table {
    font-size: 10px;
  }
  .data-table th,
  .data-table td {
    padding: 9px 10px;
  }
  .guide-header-card {
    padding: 22px 20px;
    gap: 22px;
    margin-bottom: 25px;
  }
  .guide-header-card h2 {
    font-size: 19px;
    letter-spacing: 0.5px;
  }
  .guide-header-card p:not(.eyebrow) {
    font-size: 10px;
  }
  .age-select label {
    font-size: 10px;
  }
  .age-select select {
    min-width: 127px;
    font-size: 11px;
    padding: 8px 10px;
  }
  .guide-header-flower {
    right: -13px;
    bottom: 19px;
    font-size: 115px;
  }
  .guide-intro h2 {
    font-size: 20px;
  }
  .guide-intro p {
    font-size: 11px;
  }
  .guide-card-grid {
    gap: 15px;
  }
  .activity-card {
    padding: 21px 17px;
    grid-template-columns: 40px 1fr;
    gap: 0 14px;
  }
  .activity-card .quick-icon {
    height: 39px;
    width: 39px;
  }
  .activity-card h3 {
    font-size: 14px;
  }
  .activity-card p {
    font-size: 11px;
    line-height: 1.9;
  }
  .activity-card .text-button {
    font-size: 10px;
  }
  .guide-source {
    font-size: 9px;
    display: block;
    margin-top: 16px;
  }
  .guide-source .source-link {
    margin-top: 9px;
    display: flex;
    justify-content: flex-start;
  }
  .storage-guide {
    padding: 20px;
  }
  .storage-tips {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-bottom: 18px;
  }
  .storage-tips > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .storage-tips strong {
    font-size: 11px;
  }
  .storage-tips p {
    font-size: 10px;
    margin-top: 0;
    text-align: right;
  }
  .source-note {
    font-size: 9px;
  }
  .source-note a {
    margin-left: 0;
  }
  .dialog-header {
    padding: 23px 21px 16px;
  }
  .dialog-header h2 {
    font-size: 18px;
  }
  .dialog-header .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .dialog-body {
    padding: 21px;
    max-height: 65dvh;
  }
  .dialog-footer {
    padding: 15px 20px;
    gap: 8px;
  }
  .dialog-footer .button {
    padding: 8px 12px;
    font-size: 11px;
    min-height: 40px;
  }
  dialog {
    width: calc(100% - 20px);
    max-width: 510px;
    max-height: calc(100dvh - 24px);
    border-radius: 19px;
  }
  .wide-dialog {
    width: calc(100% - 20px);
  }
  .wide-dialog > .dialog-body {
    max-height: 76dvh;
  }
  .field > input,
  .field > select,
  .field > textarea {
    font-size: 16px;
    min-height: 45px;
    padding: 9px 11px;
  }
  .field > input::placeholder,
  .field > textarea::placeholder {
    font-size: 12px;
  }
  .field > label {
    font-size: 12px;
  }
  .form-columns {
    gap: 11px;
  }
  .settings-buttons {
    gap: 8px;
  }
  .settings-buttons .button {
    font-size: 10px;
    padding: 9px 12px;
  }
  .settings-section .field > input[type="password"] {
    font-size: 13px;
  }
  .settings-section .form-columns {
    grid-template-columns: 1.3fr 1fr;
  }
  .form-notice {
    font-size: 10px;
  }
  .switch-field {
    font-size: 11px;
  }
  .empty-state {
    padding: 32px 17px;
  }
  .event-actions .icon-button:focus-visible {
    outline-offset: 0;
  }
}
@media (max-width: 370px) {
  .content {
    padding-left: 14px;
    padding-right: 14px;
  }
  .page-heading h1 {
    font-size: 19px;
  }
  .heading-spark {
    font-size: 19px;
    margin-left: 4px;
  }
  .page-heading > .button {
    padding: 7px 9px;
  }
  .page-description {
    font-size: 9px;
  }
  .welcome-card h2 {
    font-size: 15px;
  }
  .hero-illustration {
    right: -22px;
    width: 153px;
    opacity: 0.8;
  }
  .stat-card {
    padding: 14px 15px;
  }
  .stat-foot {
    font-size: 8px;
  }
  .section-subtitle {
    font-size: 8px;
  }
  .quick-grid {
    gap: 14px 0;
  }
  .quick-icon {
    width: 37px;
    height: 37px;
  }
  .quick-button {
    font-size: 9px;
  }
  .timeline-card {
    padding-left: 12px;
    padding-right: 12px;
  }
  .event {
    gap: 6px;
    grid-template-columns: 28px 26px minmax(0, 1fr) 20px;
  }
  .event-title {
    font-size: 10px;
  }
  .event-icon {
    width: 26px;
    height: 26px;
  }
  .event-actions .icon-button {
    width: 20px;
    padding: 4px;
  }
  .section-heading h2 {
    font-size: 13px;
  }
}
@media (pointer: coarse) {
  .date-picker {
    min-height: 35px;
    width: 127px;
  }
  .icon-button {
    min-height: 38px;
    min-width: 35px;
  }
  .event-actions .icon-button {
    min-height: 29px;
    min-width: 27px;
  }
  .reminder-check {
    min-height: 24px;
    min-width: 24px;
  }
  .day-button {
    min-height: 49px;
  }
  .filter-chip {
    min-height: 32px;
  }
  .text-button {
    min-height: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
