/* WingTot — a little less to remember. */
:root {
  --paper:#faf8f3;
  --surface:#fffefa;
  --ink:#2e423e;
  --muted:#647269;
  --line:#e7e9df;
  --accent:#4d7467;
  --accent-dark:#34594e;
  --accent-light:#e8f0e8;
  --sky:#e9f0f4;
  --sky-ink:#536d7c;
  --peach:#faeee2;
  --peach-ink:#926038;
  --lilac:#efebf4;
  --lilac-ink:#78618b;
  --rose:#f8e8e7;
  --rose-ink:#915961;
  --shadow:0 5px 24px #47554704;
  --radius:23px;
  --sans:"Avenir Next",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --round:"Avenir Next",ui-rounded,var(--sans)
}
[data-theme="rose_garden"] {
  --paper:#fbf7f4;
  --ink:#59454a;
  --muted:#7d6870;
  --line:#eee2df;
  --accent:#a46575;
  --accent-dark:#874957;
  --accent-light:#f5e7e9;
  --sky:#f5e5e9;
  --sky-ink:#91566c;
  --surface:#fffdfb;
  --peach:#fbecdf;
  --lilac:#f0e9f0
}
* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:15px/1.6 var(--sans);
  -webkit-font-smoothing:antialiased
}
a {
  color:inherit;
  text-decoration:none
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.6
}
a,button,input,select,textarea {
  outline-offset:5px
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid var(--accent)
}
h1,h2,h3,h4,p {
  margin:0
}
h1,h2,h3,h4 {
  font-family:var(--round);
  line-height:1.25
}
h1 {
  font-size:38px;
  letter-spacing:-1.1px;
  font-weight:850
}
h2 {
  font-size:23px;
  font-weight:800;
  letter-spacing:-.4px
}
h3 {
  font-size:18px;
  font-weight:800
}
small {
  font-size:12px
}
svg {
  display:block;
  flex-shrink:0
}
.icon {
  width:22px;
  height:22px;
  stroke:currentColor;
  stroke-width:1.7;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round
}
.muted {
  color:var(--muted)
}
.eyebrow {
  font-size:11px;
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:1.8px;
  color:var(--muted)
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  padding:12px 20px;
  background:var(--ink);
  color:white;
  z-index:100
}
.skip-link:focus {
  top:15px
}
.app-shell {
  display:grid;
  grid-template-columns:244px minmax(0,1fr);
  min-height:100vh
}
.sidebar {
  position:fixed;
  width:244px;
  height:100vh;
  border-right:1px solid var(--line);
  padding:35px 23px 24px;
  display:flex;
  flex-direction:column;
  background:var(--surface);
  z-index:15
}
.brand {
  display:flex;
  align-items:center;
  gap:9px;
  font-family:var(--round);
  font-size:30px;
  font-weight:850;
  letter-spacing:-1.3px
}
.brand-mark {
  width:150px;
  height:auto;
  color:var(--accent)
}
.brand-tag {
  margin:3px 0 0 0;
  color:var(--muted);
  font-size:10px;
  letter-spacing:.3px
}
.baby-switch {
  margin:38px 0 29px;
  padding:14px 12px;
  display:flex;
  gap:11px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper)
}
.baby-switch strong {
  font-family:var(--round);
  display:block;
  font-size:16px;
  font-weight:800
}
.baby-switch small {
  display:block;
  color:var(--muted);
  line-height:1.4
}
.baby-avatar {
  width:43px;
  height:43px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--sky);
  color:var(--sky-ink);
  font-size:24px;
  font-family:var(--round);
  font-weight:800;
  flex-shrink:0
}
.navigation {
  display:grid;
  gap:7px
}
.nav-link {
  display:flex;
  align-items:center;
  gap:13px;
  padding:12px 15px;
  border-radius:12px;
  color:var(--muted);
  font-size:14px;
  font-weight:550;
  transition:background .15s,color .15s
}
.nav-link:hover {
  background:var(--paper);
  color:var(--ink)
}
.nav-link.active {
  background:var(--accent-light);
  color:var(--accent);
  font-weight:700
}
.nav-link .icon {
  width:20px;
  height:20px
}
.nav-divider {
  height:1px;
  background:var(--line);
  margin:16px 12px
}
.sidebar-footer {
  margin-top:auto
}
.sidebar-note {
  padding:20px 13px 25px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6
}
.sidebar-note .icon {
  margin-bottom:10px;
  color:var(--accent)
}
.account {
  padding:17px 8px 0;
  border-top:1px solid var(--line);
  display:flex;
  gap:10px;
  align-items:center
}
.account-avatar {
  width:34px;
  height:34px;
  background:var(--peach);
  color:var(--peach-ink);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:700
}
.account-name {
  font-size:12px;
  font-weight:650
}
.account-role {
  font-size:10px;
  color:var(--muted)
}
.account .button_to {
  margin-left:auto
}
.icon-button {
  border:0;
  padding:7px;
  background:transparent;
  color:var(--muted);
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center
}
.icon-button:hover {
  background:var(--accent-light);
  color:var(--accent)
}
.workspace {
  grid-column:2;
  min-width:0
}
.topbar {
  height:77px;
  border-bottom:1px solid var(--line);
  padding:0 44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:color-mix(in srgb,var(--surface) 65%,transparent)
}
.breadcrumb {
  display:flex;
  gap:10px;
  align-items:center;
  font-size:12px;
  color:var(--muted)
}
.breadcrumb strong {
  font-weight:550;
  color:var(--ink)
}
.topbar-right {
  display:flex;
  align-items:center;
  gap:17px
}
.demo-tag {
  font-size:10px;
  letter-spacing:.5px;
  background:var(--peach);
  color:var(--peach-ink);
  padding:4px 9px;
  border-radius:6px;
  white-space:nowrap
}
.status-dot {
  width:6px;
  height:6px;
  border-radius:100%;
  background:#759782;
  display:inline-block;
  margin-right:6px
}
.local-label {
  font-size:11px;
  color:var(--muted)
}
.mobile-brand {
  display:none
}
.page {
  max-width:1430px;
  margin:0 auto;
  padding:39px 44px 50px
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:27px;
  gap:15px
}
.page-heading .eyebrow {
  margin-bottom:7px
}
.page-heading p {
  color:var(--muted);
  margin-top:7px;
  font-size:13px
}
.date-chip {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:12px
}
.date-chip .icon {
  width:16px;
  height:16px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 19px;
  min-height:44px;
  border:1px solid transparent;
  border-radius:12px;
  background:var(--accent);
  color:white;
  font-size:13px;
  font-weight:650;
  line-height:1.4;
  transition:background .15s,transform .15s;
  white-space:nowrap
}
.button:hover {
  background:var(--accent-dark);
  transform:translateY(-1px)
}
.button .icon {
  width:18px;
  height:18px
}
.button.secondary {
  border-color:var(--line);
  background:var(--surface);
  color:var(--ink)
}
.button.secondary:hover {
  background:var(--accent-light)
}
.button.soft {
  background:var(--accent-light);
  color:var(--accent)
}
.button.soft:hover {
  background:var(--line)
}
.button.small {
  padding:8px 13px;
  min-height:36px;
  font-size:12px;
  border-radius:10px
}
.button.full {
  width:100%
}
.text-link {
  font-size:12px;
  color:var(--accent);
  font-weight:650;
  display:inline-flex;
  align-items:center;
  gap:5px
}
.text-link .icon {
  width:15px;
  height:15px
}
.text-link:hover {
  text-decoration:underline
}
.hero {
  background:var(--accent-light);
  border-radius:var(--radius);
  position:relative;
  overflow:hidden;
  padding:25px 28px;
  min-height:138px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:25px;
  border:1px solid color-mix(in srgb,var(--accent) 5%,transparent)
}
.hero h2 {
  font-size:25px;
  font-weight:850;
  letter-spacing:-.7px
}
.hero p {
  font-size:12px;
  color:var(--accent);
  margin-top:8px;
  max-width:430px;
  line-height:1.8
}
.hero-copy {
  position:relative;
  z-index:2
}
.hero-label {
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:10px;
  font-weight:600;
  color:var(--accent);
  letter-spacing:.3px;
  margin-bottom:8px
}
.hero-label .icon {
  width:14px;
  height:14px
}
.nursery-art {
  height:146px;
  width:230px;
  margin:-15px 0 -15px 15px;
  flex-shrink:0;
  color:var(--accent)
}
.summary-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px;
  margin-bottom:31px
}
.summary-card {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  padding:19px 21px;
  box-shadow:var(--shadow);
  display:flex;
  gap:14px;
  align-items:flex-start
}
.medallion {
  display:grid;
  place-items:center;
  border-radius:14px;
  width:44px;
  height:44px;
  flex-shrink:0;
  color:var(--sky-ink);
  background:var(--sky)
}
.medallion.feeding {
  background:var(--peach);
  color:var(--peach-ink)
}
.medallion.diaper {
  background:var(--sky);
  color:var(--sky-ink)
}
.medallion.sleep {
  background:var(--lilac);
  color:var(--lilac-ink)
}
.medallion.growth {
  background:var(--accent-light);
  color:var(--accent)
}
.medallion.health {
  background:var(--rose);
  color:var(--rose-ink)
}
.medallion.pumping {
  background:var(--rose);
  color:var(--rose-ink)
}
.medallion.note,.medallion.custom {
  background:var(--accent-light);
  color:var(--accent)
}
.summary-label {
  font-size:11px;
  color:var(--muted);
  margin-bottom:5px
}
.summary-value {
  font-family:var(--round);
  font-size:24px;
  font-weight:850;
  letter-spacing:-.7px;
  line-height:1.2
}
.summary-detail {
  font-size:11px;
  color:var(--muted);
  margin-top:6px
}
.content-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 292px;
  gap:25px;
  align-items:start
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:17px
}
.section-heading h2 {
  font-size:21px
}
.section-heading p {
  font-size:12px;
  color:var(--muted);
  margin-top:4px
}
.section-heading .text-link {
  white-space:nowrap
}
.panel {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}
.timeline-panel {
  overflow:hidden
}
.timeline-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:17px 21px;
  border-bottom:1px solid var(--line);
  flex-wrap:wrap
}
.filter-tabs {
  display:flex;
  gap:5px;
  flex-wrap:wrap
}
.filter-tab {
  padding:5px 10px;
  border:1px solid transparent;
  border-radius:8px;
  font-size:11px;
  color:var(--muted);
  background:transparent;
  min-height:31px
}
.filter-tab:hover {
  background:var(--paper)
}
.filter-tab.active {
  color:var(--accent);
  background:var(--accent-light);
  font-weight:650
}
.timeline-date {
  padding:16px 24px 7px;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:10px;
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:600
}
.timeline-date::after {
  height:1px;
  content:"";
  background:var(--line);
  flex:1
}
.timeline-event {
  display:flex;
  gap:15px;
  position:relative;
  padding:16px 24px
}
.timeline-event:not(:last-child)::after {
  content:"";
  position:absolute;
  left:44px;
  top:62px;
  bottom:-12px;
  width:1px;
  background:var(--line)
}
.timeline-event .medallion {
  width:41px;
  height:41px;
  border-radius:50%;
  z-index:1
}
.timeline-event .medallion .icon {
  width:20px;
  height:20px
}
.event-main {
  flex:1;
  min-width:0
}
.event-title-row {
  display:flex;
  justify-content:space-between;
  gap:15px;
  align-items:start
}
.event-title {
  font-weight:650;
  font-size:13px
}
.event-time {
  font-size:11px;
  color:var(--muted);
  white-space:nowrap;
  padding-top:2px
}
.event-details {
  color:var(--muted);
  font-size:12px;
  margin-top:3px
}
.event-note {
  margin-top:8px;
  padding:9px 12px;
  background:var(--paper);
  border-radius:9px;
  font-size:12px;
  color:var(--muted)
}
.event-meta {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:10px;
  margin-top:8px;
  color:var(--muted);
  flex-wrap:wrap
}
.tiny-avatar {
  width:18px;
  height:18px;
  display:inline-grid;
  place-items:center;
  border-radius:50%;
  background:var(--peach);
  color:var(--peach-ink);
  font-size:7px;
  font-weight:700
}
.event-meta .edit-link {
  margin-left:auto;
  color:var(--accent);
  padding:3px
}
.ongoing-badge {
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:9px;
  color:var(--lilac-ink);
  background:var(--lilac);
  padding:2px 7px;
  border-radius:5px;
  margin-left:6px;
  vertical-align:middle
}
.timeline-footer {
  padding:15px;
  text-align:center;
  border-top:1px solid var(--line);
  font-size:10px;
  color:var(--muted)
}
.sidebar-stack {
  display:grid;
  gap:20px
}
.quick-panel {
  padding:20px
}
.quick-panel h3 {
  font-size:18px
}
.quick-panel>p {
  font-size:11px;
  color:var(--muted);
  margin-top:4px;
  margin-bottom:16px
}
.quick-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}
.quick-action {
  min-height:88px;
  border:1px solid var(--line);
  border-radius:14px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  transition:transform .16s,background .16s;
  background:var(--surface)
}
.quick-action:hover {
  transform:translateY(-2px);
  background:var(--paper)
}
.quick-action .icon {
  width:24px;
  height:24px
}
.quick-action.feeding {
  color:var(--peach-ink);
  background:color-mix(in srgb,var(--peach) 60%,var(--surface));
  border-color:color-mix(in srgb,var(--peach-ink) 12%,transparent)
}
.quick-action.diaper {
  color:var(--sky-ink);
  background:color-mix(in srgb,var(--sky) 65%,var(--surface));
  border-color:color-mix(in srgb,var(--sky-ink) 12%,transparent)
}
.quick-action.sleep {
  color:var(--lilac-ink);
  background:color-mix(in srgb,var(--lilac) 65%,var(--surface));
  border-color:color-mix(in srgb,var(--lilac-ink) 12%,transparent)
}
.quick-action.growth {
  color:var(--accent);
  background:color-mix(in srgb,var(--accent-light) 65%,var(--surface));
  border-color:color-mix(in srgb,var(--accent) 12%,transparent)
}
.quick-panel .all-trackers {
  display:flex;
  justify-content:center;
  margin-top:15px;
  padding-top:13px;
  border-top:1px solid var(--line)
}
.gentle-card {
  padding:23px;
  background:var(--peach);
  border:1px solid color-mix(in srgb,var(--peach-ink) 9%,transparent);
  border-radius:20px
}
.gentle-card .icon {
  color:var(--peach-ink);
  margin-bottom:12px
}
.gentle-card h3 {
  font-size:16px;
  color:var(--peach-ink);
  margin-bottom:7px
}
.gentle-card p {
  font-size:12px;
  color:color-mix(in srgb,var(--peach-ink) 85%,var(--ink));
  line-height:1.8
}
.team-mini {
  padding:20px
}
.team-mini h3 {
  font-size:15px;
  margin-bottom:10px
}
.avatar-stack {
  display:flex;
  padding:3px 0 11px
}
.avatar-stack .account-avatar {
  margin-right:-5px;
  border:3px solid var(--surface);
  width:36px;
  height:36px
}
.team-mini p {
  font-size:11px;
  color:var(--muted);
  line-height:1.7
}
.team-mini .text-link {
  margin-top:11px
}
.page-footer {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:var(--muted);
  font-size:10px;
  padding-top:35px
}
.page-footer .icon {
  width:13px;
  height:13px
}
.flash {
  margin:0 0 22px;
  padding:13px 17px;
  border-radius:12px;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--accent-light);
  border:1px solid color-mix(in srgb,var(--accent) 15%,transparent);
  color:var(--accent)
}
.flash.alert {
  background:#fff0ed;
  border-color:#e8c4bb;
  color:#9d5145
}
.flash .icon {
  width:18px;
  height:18px
}
.empty-state {
  padding:50px 25px;
  text-align:center
}
.empty-state .medallion {
  margin:0 auto 16px;
  width:55px;
  height:55px
}
.empty-state h3 {
  margin-bottom:8px
}
.empty-state p {
  font-size:13px;
  color:var(--muted);
  max-width:320px;
  margin:0 auto 20px
}
.narrow-page {
  max-width:850px
}
.form-panel {
  padding:28px
}
.back-link {
  margin-bottom:19px
}
.form-intro {
  margin-bottom:25px
}
.form-intro h2 {
  margin-bottom:7px
}
.form-intro p {
  font-size:13px;
  color:var(--muted)
}
.field {
  margin-bottom:20px
}
.field label,.field-label {
  display:block;
  font-size:12px;
  font-weight:650;
  margin-bottom:7px
}
.field .hint {
  font-size:11px;
  color:var(--muted);
  margin-top:6px
}
.field input:not([type="checkbox"]):not([type="radio"]),.field select,.field textarea {
  display:block;
  width:100%;
  min-height:45px;
  padding:10px 13px;
  border:1px solid var(--line);
  border-radius:10px;
  color:var(--ink);
  background:var(--surface);
  box-shadow:0 2px 2px #00000001
}
.field textarea {
  resize:vertical;
  min-height:90px
}
.field input::placeholder,.field textarea::placeholder {
  color:color-mix(in srgb,var(--muted) 70%,white)
}
.field input:focus,.field select:focus,.field textarea:focus {
  border-color:var(--accent)
}
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px
}
.form-section {
  padding-top:22px;
  margin-top:5px;
  border-top:1px solid var(--line)
}
.form-section h3 {
  font-size:16px;
  margin-bottom:17px
}
.form-actions {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:10px;
  margin-top:25px;
  padding-top:23px;
  border-top:1px solid var(--line)
}
.form-actions .form-save-note {
  margin-right:auto;
  font-size:11px;
  color:var(--muted);
  max-width:250px
}
.field-error {
  color:#9d5145;
  font-size:12px;
  margin-top:5px
}
.error-box {
  background:#fff0ed;
  border:1px solid #e8c4bb;
  border-radius:12px;
  padding:15px 19px;
  color:#9d5145;
  font-size:13px;
  margin-bottom:20px
}
.error-box ul {
  margin:8px 0 0;
  padding-left:18px
}
.checkbox-row {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:13px;
  color:var(--muted);
  margin-bottom:20px
}
.checkbox-row input {
  width:18px;
  height:18px;
  accent-color:var(--accent)
}
.tracker-select-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px
}
.tracker-choice {
  padding:18px 12px;
  border:1px solid var(--line);
  border-radius:16px;
  display:flex;
  align-items:center;
  gap:10px;
  background:var(--surface);
  transition:background .15s
}
.tracker-choice:hover,.tracker-choice.selected {
  background:var(--accent-light);
  border-color:var(--accent)
}
.tracker-choice .medallion {
  width:37px;
  height:37px;
  border-radius:10px
}
.tracker-choice strong {
  font-size:12px;
  font-weight:600
}
.tracker-choice small {
  display:block;
  font-size:10px;
  color:var(--muted)
}
.settings-grid {
  display:grid;
  align-items:start;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px
}
.settings-section {
  padding:25px;
  margin-bottom:22px
}
.settings-section .section-heading {
  margin-bottom:22px
}
.settings-section h2 {
  font-size:20px
}
.theme-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px
}
.theme-choice {
  border:2px solid var(--line);
  border-radius:16px;
  padding:17px;
  background:var(--surface);
  text-align:left;
  display:block;
  width:100%;
  color:var(--ink)
}
.theme-choice[aria-pressed="true"] {
  border-color:var(--accent);
  background:var(--paper)
}
.theme-choice:hover {
  border-color:var(--accent)
}
.theme-swatches {
  display:flex;
  gap:7px;
  margin-bottom:12px
}
.theme-swatches span {
  height:31px;
  width:31px;
  border-radius:50%;
  border:1px solid #00000006
}
.theme-choice strong {
  font-family:var(--round);
  font-size:16px
}
.theme-choice small {
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:3px
}
.theme-selected {
  float:right;
  font-size:10px;
  color:var(--accent);
  margin-top:3px
}
.tracker-list {
  display:grid;
  gap:0
}
.tracker-list-row {
  padding:14px 0;
  display:flex;
  align-items:center;
  gap:13px;
  border-bottom:1px solid var(--line)
}
.tracker-list-row:last-child {
  border:0
}
.tracker-list-row .medallion {
  width:37px;
  height:37px;
  border-radius:11px
}
.tracker-list-row strong {
  font-size:13px;
  font-weight:600
}
.tracker-list-row p {
  font-size:11px;
  color:var(--muted)
}
.pill {
  padding:3px 8px;
  border-radius:6px;
  font-size:10px;
  color:var(--muted);
  background:var(--paper);
  margin-left:auto
}
.member-card {
  padding:23px;
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:13px
}
.member-card .account-avatar {
  width:48px;
  height:48px;
  font-size:15px
}
.member-card h3 {
  font-size:17px
}
.member-card p {
  font-size:12px;
  color:var(--muted)
}
.member-card .pill {
  background:var(--accent-light);
  color:var(--accent)
}
.info-banner {
  padding:18px 20px;
  display:flex;
  align-items:flex-start;
  gap:13px;
  background:var(--sky);
  color:var(--sky-ink);
  border-radius:15px;
  font-size:12px;
  line-height:1.8;
  margin-bottom:22px
}
.info-banner .icon {
  margin-top:3px;
  width:19px;
  height:19px
}
.data-table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:13px
}
.data-table th {
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.8px;
  color:var(--muted);
  font-weight:600;
  padding:14px 21px;
  border-bottom:1px solid var(--line)
}
.data-table td {
  padding:17px 21px;
  border-bottom:1px solid var(--line)
}
.data-table tbody tr:last-child td {
  border:0
}
.data-table td strong {
  font-family:var(--round);
  font-size:19px
}
.data-table small {
  color:var(--muted);
  display:block;
  font-size:10px
}
.table-wrap {
  overflow:auto
}
.measurement-cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:17px;
  margin-bottom:25px
}
.measurement-card {
  padding:23px
}
.measurement-card .eyebrow {
  margin:13px 0 7px
}
.measurement-value {
  font-family:var(--round);
  font-size:31px;
  font-weight:850;
  letter-spacing:-1px
}
.measurement-value small {
  font-family:var(--sans);
  font-size:13px;
  font-weight:500;
  letter-spacing:0;
  color:var(--muted)
}
.measurement-card p {
  font-size:11px;
  color:var(--muted);
  margin-top:7px
}
.audit-list {
  margin-top:25px;
  padding-top:20px;
  border-top:1px solid var(--line)
}
.audit-list summary {
  font-size:12px;
  font-weight:600;
  cursor:pointer
}
.audit-item {
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:12px;
  color:var(--muted)
}
.auth-page {
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr
}
.auth-story {
  background:var(--accent-light);
  padding:55px 65px;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden
}
.auth-story .brand {
  font-size:32px
}
.auth-copy {
  margin:auto 0;
  max-width:430px;
  padding:70px 0
}
.auth-copy .eyebrow {
  margin-bottom:18px;
  color:var(--accent)
}
.auth-copy h1 {
  font-size:52px;
  line-height:1.12;
  letter-spacing:-1.6px
}
.auth-copy>p {
  margin-top:24px;
  color:var(--accent);
  font-size:16px;
  line-height:1.9;
  max-width:375px
}
.auth-copy .welcome-logo {
  display:block;
  width:min(100%, 360px);
  height:auto;
  margin:30px 0 -10px
}
.auth-story-footer {
  font-size:11px;
  color:var(--accent)
}
.auth-content {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:50px
}
.auth-box {
  width:100%;
  max-width:365px
}
.auth-box h2 {
  font-size:29px;
  margin-bottom:8px
}
.auth-box>p {
  font-size:13px;
  color:var(--muted);
  margin-bottom:27px
}
.auth-box .button {
  width:100%;
  margin-top:6px
}
.auth-divider {
  display:flex;
  align-items:center;
  gap:13px;
  margin:23px 0;
  font-size:10px;
  color:var(--muted)
}
.auth-divider:before,.auth-divider:after {
  content:"";
  height:1px;
  background:var(--line);
  flex:1
}
.demo-info {
  font-size:11px;
  color:var(--muted);
  line-height:1.8;
  text-align:center;
  margin-top:12px
}
.auth-footer-link {
  font-size:11px;
  color:var(--muted);
  display:block;
  text-align:center;
  margin-top:17px
}
.timezone-note {
  font-size:10px;
  color:var(--muted);
  margin-top:10px
}
.mobile-nav {
  display:none
}
[hidden] {
  display:none!important
}
@media(min-width:1600px) {
  .page {
    padding-left:65px;
    padding-right:65px
  }
  .topbar {
    padding-left:65px;
    padding-right:65px
  }
  .content-grid {
    grid-template-columns:minmax(0,1fr) 320px
  }
}
@media(max-width:1200px) {
  .app-shell {
    grid-template-columns:210px minmax(0,1fr)
  }
  .sidebar {
    width:210px;
    padding:28px 16px 20px
  }
  .page {
    padding:32px 28px
  }
  .topbar {
    padding:0 28px
  }
  .content-grid {
    grid-template-columns:minmax(0,1fr) 250px;
    gap:18px
  }
  .summary-card {
    padding:16px 14px;
    gap:10px
  }
  .summary-value {
    font-size:21px
  }
  .summary-card .medallion {
    width:38px;
    height:38px;
    border-radius:11px
  }
  .summary-detail {
    font-size:10px
  }
  .hero {
    padding:23px
  }
  .hero h2 {
    font-size:23px
  }
  .nursery-art {
    width:185px
  }
  .settings-grid {
    grid-template-columns:1fr
  }
  .quick-panel {
    padding:17px
  }
  .timeline-event {
    padding-left:19px;
    padding-right:19px
  }
  .timeline-event:not(:last-child)::after {
    left:39px
  }
  .auth-story {
    padding:45px
  }
}
@media(max-width:1000px) {
  .content-grid {
    grid-template-columns:1fr
  }
  .sidebar-stack {
    grid-template-columns:1fr 1fr;
    align-items:start
  }
  .quick-panel {
    grid-row:1/3
  }
  .summary-grid {
    gap:11px
  }
  .page-heading h1 {
    font-size:32px
  }
  .date-chip {
    display:none
  }
  .hero p {
    max-width:310px
  }
  .nursery-art {
    width:160px
  }
  .tracker-select-grid {
    grid-template-columns:1fr 1fr
  }
  .auth-copy h1 {
    font-size:44px
  }
  .auth-content {
    padding:35px
  }
  .auth-story {
    padding:35px
  }
  .measurement-cards {
    gap:12px
  }
  .measurement-card {
    padding:17px
  }
  .measurement-value {
    font-size:25px
  }
}
@media(max-width:760px) {
  .app-shell {
    display:block
  }
  .sidebar {
    display:none
  }
  .workspace {
    display:block
  }
  .topbar {
    height:66px;
    padding:0 21px;
    background:var(--surface)
  }
  .breadcrumb {
    display:none
  }
  .mobile-brand {
    display:flex
  }
  .mobile-brand .brand {
    font-size:25px;
    gap:6px
  }
  .mobile-brand .brand-mark {
    width:32px;
    height:32px
  }
  .local-label {
    display:none
  }
  .topbar-right {
    gap:8px
  }
  .page {
    padding:27px 20px 104px
  }
  .page-heading {
    margin-bottom:22px
  }
  .page-heading h1 {
    font-size:31px
  }
  .page-heading p {
    font-size:12px
  }
  .page-heading .eyebrow {
    font-size:9px
  }
  .page-heading>.button {
    font-size:11px;
    padding:10px 12px
  }
  .hero {
    padding:20px;
    min-height:137px;
    margin-bottom:20px
  }
  .hero h2 {
    font-size:22px;
    max-width:230px
  }
  .hero p {
    max-width:245px;
    font-size:11px;
    line-height:1.7
  }
  .hero-label {
    font-size:9px
  }
  .nursery-art {
    position:absolute;
    right:-17px;
    bottom:3px;
    width:150px;
    height:130px;
    opacity:.38;
    z-index:0
  }
  .summary-grid {
    gap:9px;
    margin-bottom:25px
  }
  .summary-card {
    padding:13px 10px;
    display:block;
    border-radius:15px
  }
  .summary-card .medallion {
    height:31px;
    width:31px;
    border-radius:9px;
    margin-bottom:10px
  }
  .summary-card .icon {
    width:18px;
    height:18px
  }
  .summary-label {
    font-size:10px;
    margin-bottom:4px
  }
  .summary-value {
    font-size:20px;
    letter-spacing:-.5px
  }
  .summary-detail {
    font-size:9px;
    line-height:1.5;
    min-height:27px
  }
  .content-grid {
    gap:23px
  }
  .section-heading h2 {
    font-size:21px
  }
  .section-heading .text-link {
    font-size:11px
  }
  .timeline-toolbar {
    padding:13px 12px
  }
  .filter-tabs {
    gap:2px
  }
  .filter-tab {
    font-size:10px;
    padding:5px 8px
  }
  .timeline-date {
    padding:15px 17px 7px
  }
  .timeline-event {
    padding:15px 16px;
    gap:12px
  }
  .timeline-event .medallion {
    width:35px;
    height:35px
  }
  .timeline-event:not(:last-child)::after {
    left:33px;
    top:54px
  }
  .event-title {
    font-size:12px
  }
  .event-time {
    font-size:10px
  }
  .event-details {
    font-size:11px
  }
  .event-meta {
    font-size:9px
  }
  .sidebar-stack {
    grid-template-columns:1fr
  }
  .quick-panel {
    grid-row:auto
  }
  .quick-grid {
    grid-template-columns:repeat(4,1fr);
    gap:8px
  }
  .quick-action {
    min-height:76px;
    font-size:10px;
    gap:7px
  }
  .quick-action .icon {
    width:21px;
    height:21px
  }
  .gentle-card {
    display:none
  }
  .team-mini {
    padding:19px
  }
  .team-mini .avatar-stack {
    float:right;
    padding:0
  }
  .team-mini p {
    max-width:250px
  }
  .mobile-nav {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    position:fixed;
    left:0;
    bottom:0;
    right:0;
    padding:9px 12px max(10px,env(safe-area-inset-bottom));
    border-top:1px solid var(--line);
    background:var(--surface);
    z-index:20;
    box-shadow:0 -3px 20px #35453b04
  }
  .mobile-nav a {
    display:flex;
    align-items:center;
    flex-direction:column;
    gap:3px;
    padding:5px;
    border-radius:10px;
    font-size:9px;
    color:var(--muted)
  }
  .mobile-nav a.active {
    color:var(--accent);
    background:var(--accent-light)
  }
  .mobile-nav .icon {
    width:22px;
    height:22px
  }
  .page-footer {
    padding-top:24px
  }
  .form-panel {
    padding:22px 18px
  }
  .form-row {
    gap:12px
  }
  .form-actions {
    flex-wrap:wrap
  }
  .form-actions .form-save-note {
    flex-basis:100%;
    max-width:none;
    order:3;
    margin-top:9px;
    text-align:center
  }
  .tracker-select-grid {
    gap:9px
  }
  .tracker-choice {
    padding:12px 10px;
    gap:8px
  }
  .tracker-choice .medallion {
    width:32px;
    height:32px
  }
  .tracker-choice .icon {
    width:18px;
    height:18px
  }
  .tracker-choice strong {
    font-size:11px
  }
  .settings-section {
    padding:20px 17px
  }
  .theme-grid {
    gap:10px
  }
  .theme-choice {
    padding:12px
  }
  .theme-choice strong {
    font-size:14px
  }
  .theme-choice small {
    font-size:10px
  }
  .theme-swatches span {
    width:25px;
    height:25px
  }
  .theme-swatches {
    gap:5px
  }
  .theme-selected {
    float:none;
    display:block
  }
  .measurement-cards {
    grid-template-columns:1fr
  }
  .measurement-card {
    display:flex;
    align-items:center;
    gap:15px
  }
  .measurement-card .eyebrow {
    margin:0 0 3px
  }
  .measurement-card .measurement-value {
    font-size:25px
  }
  .measurement-card>p {
    margin-left:auto;
    font-size:10px
  }
  .data-table th,.data-table td {
    padding:13px 16px
  }
  .data-table {
    font-size:11px
  }
  .member-card {
    padding:19px 16px;
    gap:12px
  }
  .member-card h3 {
    font-size:15px
  }
  .member-card p {
    font-size:11px
  }
  .auth-page {
    grid-template-columns:1fr
  }
  .auth-story {
    padding:27px 27px 32px
  }
  .auth-copy {
    padding:33px 0 5px;
    max-width:none
  }
  .auth-copy .eyebrow {
    font-size:9px;
    margin-bottom:12px
  }
  .auth-copy h1 {
    font-size:35px;
    max-width:300px
  }
  .auth-copy>p {
    font-size:12px;
    line-height:1.8;
    margin-top:15px;
    max-width:280px
  }
  .auth-copy .nursery-art {
    width:155px;
    height:125px;
    right:2px;
    bottom:8px;
    opacity:.35
  }
  .auth-story-footer {
    display:none
  }
  .auth-content {
    padding:33px 27px 50px
  }
  .auth-box {
    max-width:420px
  }
  .auth-box h2 {
    font-size:25px
  }
  .auth-box>p {
    font-size:12px
  }
  .info-banner {
    font-size:11px;
    padding:15px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    scroll-behavior:auto!important;
    transition:none!important
  }
}
.accent-text {
  color:var(--accent)
}
.ink-text {
  color:var(--ink)
}
.compact-eyebrow {
  font-size:9px;
  letter-spacing:.7px
}
.sleep-card {
  background:var(--lilac)
}
.sleep-card h3,.sleep-card p,.sleep-card>.icon {
  color:var(--lilac-ink)
}
.sleep-card .button_to {
  margin-top:15px
}
.tiny-status {
  background:currentColor;
  width:4px;
  height:4px;
  margin:0
}
.sky-swatches span:nth-child(1) {
  background:#dbe7ec
}
.sky-swatches span:nth-child(2) {
  background:#cfddcf
}
.sky-swatches span:nth-child(3) {
  background:#f6e3ce
}
.sky-swatches span:nth-child(4) {
  background:#f6f3e9
}
.rose-swatches span:nth-child(1) {
  background:#eac6ce
}
.rose-swatches span:nth-child(2) {
  background:#f4d8c1
}
.rose-swatches span:nth-child(3) {
  background:#ded3e3
}
.rose-swatches span:nth-child(4) {
  background:#f9eee6
}
.small-copy {
  font-size:12px;
  margin-bottom:15px
}
.detail-builder-rows {
  display:grid;
  gap:12px;
  margin-bottom:14px
}
.detail-builder-row {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:13px;
  padding:15px
}
.detail-builder-row .field {
  margin-bottom:10px
}
.detail-builder-row label>input,.detail-builder-row label>select {
  margin-top:7px
}
.remove-detail {
  border:0;
  background:none;
  padding:2px 0;
  font-size:11px
}
.detail-builder-row .form-row {
  gap:12px
}
.mobile-quick {
  display:none
}
@media(max-width:760px) {
  .mobile-quick {
    display:grid;
    margin:-5px 0 27px
  }
  .desktop-quick-panel {
    display:none
  }
  .summary-grid {
    margin-bottom:23px
  }
}
/* Secondary information stays comfortably readable, including on a phone. */
.summary-label,.summary-detail,.event-meta,.event-time,.timeline-footer,.filter-tab,.team-mini p,.quick-panel>p,.tracker-list-row p,.theme-choice small,.account-name,.account-role,.form-save-note,.field .hint,.timezone-note,.demo-info,.auth-footer-link {
  font-size:12px
}
.event-details,.event-note {
  font-size:13px
}
.event-meta {
  gap:7px
}
.event-meta .tiny-avatar {
  font-size:8px
}
.timeline-date {
  font-size:11px
}
.summary-detail {
  line-height:1.65
}
.summary-card {
  min-height:126px
}
.tone-peach {
  background:var(--peach);
  color:var(--peach-ink)
}
.tone-blue {
  background:var(--sky);
  color:var(--sky-ink)
}
.tone-lavender {
  background:var(--lilac);
  color:var(--lilac-ink)
}
.tone-rose {
  background:var(--rose);
  color:var(--rose-ink)
}
.tone-sage {
  background:var(--accent-light);
  color:var(--accent)
}
@media(max-width:760px) {
  .summary-label,.summary-detail {
    font-size:11px
  }
  .event-meta,.event-time,.event-details,.filter-tab,.tracker-choice strong,.theme-choice small {
    font-size:12px
  }
  .event-title {
    font-size:13px
  }
  .quick-action {
    font-size:12px
  }
  .summary-card {
    padding:13px 9px;
    min-height:153px
  }
  .summary-value {
    font-size:19px
  }
  .event-meta {
    gap:5px
  }
  .team-mini p,.member-card p,.info-banner {
    font-size:12px
  }
}
.account-signout {
  margin-top:15px
}
.mobile-quick .button_to,
.mobile-quick .button_to .quick-action {
  width: 100%;
  height: 100%;
}

.assistant-connection { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 0; border-bottom:1px solid var(--line); }
.assistant-connection:last-child { border-bottom:0; }
.assistant-connection h3 { font-size:17px; }
.assistant-connection p { margin-top:5px; font-size:12px; }
.assistant-connection .button_to { flex-shrink:0; }
@media(max-width:600px) { .assistant-connection { align-items:flex-start; flex-direction:column; } }

.export-downloads { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; }
.export-downloads .text-link { white-space: nowrap; }
.team-mini .export-downloads { flex-direction: column; align-items: flex-start; }

.pocket-pilot-art { display:flex; align-items:center; justify-content:center; position:static; opacity:1; }
.pocket-pilot-art img { width:100%; height:auto; }

@media(max-width:760px) { .mobile-brand .brand-mark { width:100px; height:auto; } .auth-copy .welcome-logo { width:240px; } }
@media(max-width:760px) { .hero { flex-direction:column; align-items:flex-start; } .hero .pocket-pilot-art { align-self:flex-end; width:150px; height:100px; margin:0; } }

.child-switcher { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-bottom:24px; }
.child-switcher [aria-current="page"] { outline:2px solid currentColor; outline-offset:2px; }

.signup-child { min-width:0; margin:16px 0; padding:16px; border:1px solid var(--line); border-radius:16px; }
.signup-child legend { padding:0 6px; font-weight:600; }
