:root {
  --paper: #f8f4ea;
  --paper-deep: #eee7d8;
  --ink: #273b31;
  --ink-soft: #5d6a61;
  --green: #61745f;
  --green-dark: #273f34;
  --green-black: #193027;
  --peach: #e9a276;
  --peach-light: #f1c2a1;
  --ochre: #d9a33b;
  --white: #fffdf7;
  --rule: rgba(39, 59, 49, 0.16);
  --shadow: 0 24px 70px rgba(52, 50, 40, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.reading-progress { position: fixed; inset: 0 0 auto; height: 3px; background: transparent; z-index: 100; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--peach); }

.site-header {
  width: min(1360px, calc(100% - 72px));
  height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: .08em; }
.brand small { display: block; margin-top: 2px; color: var(--ink-soft); font-size: 9px; letter-spacing: .2em; font-weight: 500; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; }
.brand-mark svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.desktop-nav { display: flex; gap: 26px; font-size: 13px; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--peach); transition: right .25s; }
.desktop-nav a:hover::after { right: 0; }
.header-action { border: 1px solid var(--rule); background: transparent; border-radius: 99px; padding: 10px 16px; display: flex; align-items: center; gap: 8px; cursor: pointer; transition: .2s; }
.header-action:hover { background: var(--white); transform: translateY(-2px); }
.header-action svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
[data-view-section]:not(.is-view-active) { display: none !important; }
[data-view-section], .assistant-panel, .daily-tool-panel, .allergy-panel, .health-panel { scroll-margin-top: 72px; }
.view-nav { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--rule); background: rgba(248,244,234,.95); backdrop-filter: blur(14px); }
.view-nav > div { width: min(1360px, calc(100% - 72px)); min-height: 54px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.view-nav > div::-webkit-scrollbar { display: none; }
.view-nav a { flex: 0 0 auto; padding: 9px 14px; border-radius: 99px; color: var(--ink-soft); font-size: 11px; transition: .2s; }
.view-nav a:hover { background: rgba(255,255,255,.65); color: var(--ink); }
.view-nav a.is-active { background: var(--green-dark); color: var(--white); }

.hero {
  min-height: 730px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  overflow: hidden;
  position: relative;
}
.hero::before { content: ""; position: absolute; width: 250px; height: 250px; border: 1px solid rgba(97,116,95,.14); border-radius: 50%; left: -160px; top: 240px; }
.hero-copy { padding: 112px 24px 70px max(52px, calc((100vw - 1360px) / 2)); position: relative; z-index: 2; }
.eyebrow, .section-kicker { font-size: 11px; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--green); }
.eyebrow span { width: 28px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 24px 0 26px; font-family: "Noto Sans SC", sans-serif; font-size: clamp(54px, 5.4vw, 82px); line-height: 1.12; letter-spacing: -.055em; font-weight: 800; }
.hero h1 span { color: var(--peach); position: relative; }
.hero h1 span::after { content: ""; position: absolute; left: 2px; right: -4px; bottom: -3px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8' viewBox='0 0 200 8'%3E%3Cpath d='M2 5c52-6 115 2 196-3' fill='none' stroke='%23e9a276' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.hero-lede { max-width: 510px; color: var(--ink-soft); line-height: 1.9; font-size: 16px; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 52px; padding: 0 24px; border-radius: 3px; font-weight: 600; font-size: 14px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green-dark); color: var(--white); }
.button-primary:hover { background: var(--green-black); }
.text-link { font-size: 13px; border-bottom: 1px solid var(--ink); padding-bottom: 5px; }
.hero-note { display: flex; align-items: center; gap: 16px; margin-top: 65px; }
.mini-avatars { display: flex; }
.mini-avatars i { width: 31px; height: 31px; margin-left: -7px; display: grid; place-items: center; border-radius: 50%; background: var(--peach-light); border: 2px solid var(--paper); color: var(--ink); font-size: 9px; font-style: normal; font-weight: 700; }
.mini-avatars i:nth-child(2) { background: #cbd1b5; }
.mini-avatars i:nth-child(3) { background: #e2b95f; }
.mini-avatars i:nth-child(4) { background: #b8c6c3; }
.hero-note p { margin: 0; line-height: 1.55; font-size: 11px; color: var(--ink-soft); }
.hero-note strong { color: var(--ink); font-size: 12px; }
.hero-visual { position: relative; align-self: stretch; overflow: hidden; margin: 35px 0 35px; border-radius: 180px 0 0 0; }
.hero-visual::after { content: ""; position: absolute; inset: 0; box-shadow: inset 30px 0 50px rgba(248,244,234,.22); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-sticker { position: absolute; z-index: 2; background: rgba(255,253,247,.9); backdrop-filter: blur(10px); box-shadow: 0 12px 38px rgba(54,49,37,.12); }
.sticker-top { right: 7%; top: 7%; border-radius: 50%; width: 116px; height: 116px; display: flex; flex-direction: column; justify-content: center; align-items: center; transform: rotate(6deg); font-size: 10px; }
.sticker-top::before { content: "✦"; color: var(--ochre); margin-bottom: 5px; }
.sticker-top strong { margin-top: 3px; font-size: 13px; }
.sticker-bottom { left: 7%; bottom: 7%; padding: 13px 17px; border-radius: 99px; display: flex; align-items: center; gap: 11px; }
.sticker-bottom span:last-child { display: grid; }
.sticker-bottom strong { font-size: 12px; }
.sticker-bottom small { color: var(--ink-soft); font-size: 9px; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 6px rgba(233,162,118,.22); }

.birth-counter-section { max-width: 1360px; min-height: 245px; margin: 0 auto; padding: 38px 54px; background: var(--green-dark); color: var(--white); display: grid; grid-template-columns: 1fr .85fr 150px; align-items: center; gap: 55px; position: relative; overflow: hidden; }
.birth-counter-section::before { content: ""; position: absolute; width: 420px; height: 420px; right: -190px; top: -210px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.birth-counter-kicker { color: var(--peach-light); font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.birth-counter-copy h2 { margin: 11px 0 22px; font-size: 27px; line-height: 1.35; letter-spacing: -.035em; }
.birth-date-control { width: fit-content; display: flex; align-items: center; gap: 13px; }
.birth-date-control > span { color: rgba(255,255,255,.58); font-size: 9px; }
.birth-date-control input { height: 36px; padding: 0 11px; border: 1px solid rgba(255,255,255,.3); border-radius: 0; background: rgba(255,255,255,.08); color: var(--white); color-scheme: dark; font: inherit; font-size: 10px; outline: none; }
.birth-date-control input:focus { border-color: var(--peach-light); }
.birth-counter-value { padding-left: 42px; border-left: 1px solid rgba(255,255,255,.18); }
.birth-counter-value > div { display: flex; align-items: baseline; gap: 7px; }
.birth-counter-value > div span { margin-right: 8px; color: rgba(255,255,255,.58); font-size: 9px; }
.birth-counter-value > div strong { color: var(--peach-light); font-size: clamp(52px, 5vw, 76px); line-height: 1; letter-spacing: -.07em; }
.birth-counter-value > div b { color: var(--peach-light); font-size: 13px; }
.birth-counter-value p { margin: 15px 0 0; color: rgba(255,255,255,.6); font-size: 9px; line-height: 1.8; }
.birth-counter-value p strong { color: var(--white); }
.birth-counter-orbit { width: 124px; height: 124px; position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(5deg); }
.birth-counter-orbit span { color: var(--peach-light); font-size: 8px; letter-spacing: .18em; }
.birth-counter-orbit i { width: 32px; height: 1px; margin: 9px 0; background: rgba(255,255,255,.35); }
.birth-counter-orbit small { color: rgba(255,255,255,.65); font-size: 8px; }

.intro-strip { max-width: 1360px; margin: 0 auto 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 30px 0; display: flex; justify-content: space-between; align-items: center; }
.intro-strip p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.intro-points { display: flex; gap: 45px; font-size: 12px; }
.intro-points a { display: flex; gap: 10px; align-items: center; }
.intro-points b { color: var(--peach); font-size: 10px; }

.assistant-section { max-width: 1260px; margin: 0 auto; padding: 130px 0 150px; }
.assistant-heading { margin-bottom: 48px; }
.profile-dashboard { display: grid; grid-template-columns: 1.05fr .95fr; border: 1px solid var(--rule); background: var(--white); box-shadow: var(--shadow); }
.profile-form { padding: 43px; background: #f2e7d4; }
.profile-form-heading h3 { margin: 9px 0 8px; font-size: 25px; }
.profile-form-heading p { margin: 0; color: var(--ink-soft); font-size: 10px; }
.profile-fields { margin: 29px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 13px; }
.save-profile { width: 100%; border: 0; background: var(--green-dark); color: var(--white); cursor: pointer; }
.profile-note { margin: 15px 0 0; color: var(--ink-soft); font-size: 8px; line-height: 1.65; }
.profile-summary { padding: 43px; display: flex; flex-direction: column; }
.profile-greeting { display: flex; align-items: center; gap: 16px; }
.profile-greeting > span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #e6eadf; color: var(--green); font-weight: 800; }
.profile-greeting small { color: var(--ink-soft); font-size: 8px; }
.profile-greeting h3 { margin: 4px 0 0; font-size: 20px; }
.profile-metrics { margin-top: 29px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.profile-metrics > div { min-height: 83px; padding: 17px 13px; border-right: 1px solid var(--rule); display: grid; align-content: center; gap: 8px; }
.profile-metrics > div:last-child { border-right: 0; }
.profile-metrics span, .profile-next span { color: var(--ink-soft); font-size: 8px; }
.profile-metrics strong { font-size: 14px; }
.profile-next { padding: 20px 0; }
.profile-next p { margin: 7px 0 0; color: var(--ink); font-size: 10px; line-height: 1.7; }
.profile-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.profile-links a { padding: 7px 10px; border: 1px solid var(--rule); border-radius: 99px; color: var(--ink-soft); font-size: 8px; }
.assistant-tabs { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-bottom: 0; }
.assistant-tab { min-height: 100px; padding: 22px; border: 0; border-right: 1px solid var(--rule); background: transparent; text-align: left; cursor: pointer; display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; align-content: center; position: relative; }
.assistant-tab:last-child { border-right: 0; }
.assistant-tab::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 4px; background: var(--peach); transition: right .25s; }
.assistant-tab:hover, .assistant-tab.is-active { background: var(--white); }
.assistant-tab.is-active::after { right: 0; }
.assistant-tab > span { grid-row: 1 / 3; padding-top: 4px; color: var(--peach); font-size: 8px; }
.assistant-tab strong { font-size: 14px; }
.assistant-tab small { margin-top: 5px; color: var(--ink-soft); font-size: 8px; }
.assistant-panel { border: 1px solid var(--rule); background: var(--white); box-shadow: var(--shadow); }
.assistant-panel[hidden] { display: none; }
.assistant-panel-layout { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 540px; }
.compact-record-form { padding: 42px; background: #f2e7d4; }
.compact-record-form h3 { margin: 9px 0 8px; font-size: 23px; }
.compact-record-form > div:first-child > p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.7; }
.record-form-grid { margin: 27px 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 13px; }
.field-wide { grid-column: 1 / -1; }
.field textarea { width: 100%; min-height: 76px; resize: vertical; border: 1px solid rgba(39,59,49,.22); background: rgba(255,253,247,.72); padding: 11px 13px; color: var(--ink); font: inherit; font-size: 11px; outline: none; }
.field textarea:focus { border-color: var(--green-dark); box-shadow: 0 0 0 2px rgba(39,63,52,.09); }
.record-submit { width: 100%; border: 0; background: var(--green-dark); color: var(--white); cursor: pointer; }
.record-history { padding: 42px; min-width: 0; }
.record-stats { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.record-stats > div { min-height: 78px; padding: 15px; border-right: 1px solid var(--rule); display: grid; align-content: center; gap: 7px; }
.record-stats > div:first-child { padding-left: 0; }
.record-stats > div:last-child { border-right: 0; }
.record-stats span { color: var(--ink-soft); font-size: 8px; }
.record-stats strong { font-size: 16px; }
.simple-record-list, .calendar-list, .medical-list { list-style: none; padding: 0; margin: 24px 0 0; max-height: 300px; overflow-y: auto; }
.simple-record-item, .calendar-item, .medical-item { padding: 15px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: start; }
.simple-record-item time, .calendar-item time, .medical-item time { color: var(--ink-soft); font-size: 8px; }
.simple-record-main { display: grid; gap: 5px; }
.simple-record-main strong { font-size: 11px; }
.simple-record-main small { color: var(--ink-soft); font-size: 8px; line-height: 1.55; }
.record-delete { width: 25px; height: 25px; border: 0; border-radius: 50%; background: transparent; color: #9c6b55; cursor: pointer; }
.record-empty { min-height: 150px; display: grid; place-items: center; color: var(--ink-soft); text-align: center; font-size: 9px; line-height: 1.7; }
.record-empty[hidden] { display: none; }
.inline-action { display: inline-block; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 9px; }
.suggested-checkpoints { margin-top: 25px; padding: 18px; background: rgba(255,253,247,.55); display: grid; gap: 8px; }
.suggested-checkpoints strong { font-size: 9px; }
.suggested-checkpoints span { color: var(--ink-soft); font-size: 8px; }
.calendar-item { grid-template-columns: 76px 1fr auto; }
.calendar-item.is-past { opacity: .55; }
.calendar-type { display: inline-block; width: fit-content; padding: 4px 7px; border-radius: 99px; background: #e6eadf; color: var(--green); font-size: 7px; }
.export-records { padding: 7px 10px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 8px; }
.photo-field input { height: auto; padding: 10px; }
.photo-field > small { color: var(--ink-soft); font-size: 7px; }
.medical-item { grid-template-columns: 92px 1fr auto; }
.medical-item img { width: 64px; height: 48px; margin-top: 8px; object-fit: cover; border-radius: 3px; }
.emergency-layout { grid-template-columns: 1fr 1fr; }
.emergency-card-wrap { padding: 42px; background: #ece6d8; display: flex; flex-direction: column; justify-content: center; }
.emergency-card { background: var(--white); border: 1px solid var(--ink); box-shadow: 0 18px 45px rgba(39,59,49,.12); }
.emergency-card header { padding: 17px 20px; background: var(--green-dark); color: var(--white); display: flex; justify-content: space-between; gap: 15px; font-size: 8px; }
.emergency-card header strong { color: var(--peach-light); }
.emergency-card-name { padding: 24px 22px 19px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; align-items: end; }
.emergency-card-name small { grid-column: 1 / -1; color: var(--ink-soft); font-size: 7px; }
.emergency-card-name h3 { margin: 5px 0 0; font-size: 24px; }
.emergency-card-name span { font-size: 10px; }
.emergency-card dl { margin: 0; padding: 8px 22px 18px; }
.emergency-card dl > div { padding: 11px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 95px 1fr; gap: 10px; }
.emergency-card dl > div:last-child { border-bottom: 0; }
.emergency-card dt { color: var(--ink-soft); font-size: 8px; }
.emergency-card dd { margin: 0; font-size: 9px; line-height: 1.5; }
.emergency-card footer { padding: 12px 20px; background: #f2e7d4; color: var(--ink-soft); font-size: 7px; text-align: center; }
.print-card { margin-top: 18px; border: 0; background: var(--green-dark); color: var(--white); cursor: pointer; }

.stage-section { max-width: 1260px; margin: 0 auto; padding: 130px 0 150px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 62px; }
.section-kicker { color: var(--peach); margin-bottom: 18px; }
.section-heading h2, .questions-intro h2, .safety-title-wrap h2, .principles-copy h2 { margin-bottom: 0; font-size: clamp(38px, 4vw, 58px); line-height: 1.18; letter-spacing: -.045em; }
.section-heading > p { width: 390px; margin: 0; color: var(--ink-soft); line-height: 1.8; font-size: 13px; }
.age-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--rule); border-bottom: 0; }
.age-tab { position: relative; min-height: 112px; padding: 24px 20px; text-align: left; border: 0; border-right: 1px solid var(--rule); background: transparent; cursor: pointer; transition: .25s; }
.age-tab:last-child { border-right: 0; }
.age-tab strong { font-size: 23px; letter-spacing: -.04em; }
.age-tab > span { margin-left: 5px; font-size: 11px; color: var(--ink-soft); }
.age-tab small { display: block; margin-top: 16px; color: var(--ink-soft); }
.age-tab::after { content: ""; position: absolute; left: 20px; right: calc(100% - 20px); bottom: 0; height: 4px; background: var(--peach); transition: .3s; }
.age-tab:hover { background: rgba(255,255,255,.35); }
.age-tab.is-active { background: var(--white); }
.age-tab.is-active::after { right: 20px; }
.stage-panel { background: var(--white); border: 1px solid var(--rule); padding: 66px; box-shadow: var(--shadow); }
.stage-panel.is-changing { animation: panelChange .38s ease; }
@keyframes panelChange { from { opacity: .35; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
.stage-summary { display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: center; }
.stage-number { display: block; font-size: 10px; color: var(--peach); letter-spacing: .18em; font-weight: 700; }
.stage-label { margin: 25px 0 14px; color: var(--green); font-size: 12px; font-weight: 700; }
.stage-summary h3 { margin-bottom: 22px; font-size: clamp(34px, 3.5vw, 52px); letter-spacing: -.045em; line-height: 1.2; }
.stage-summary > div:first-child > p:last-child { max-width: 650px; margin: 0; color: var(--ink-soft); line-height: 1.9; font-size: 14px; }
.today-card { min-height: 240px; padding: 32px 130px 30px 30px; background: #f2e7d4; position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.today-card > span { color: var(--peach); font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.today-card strong { margin: 14px 0 8px; line-height: 1.6; font-size: 16px; }
.today-card p { margin: 0; color: var(--ink-soft); line-height: 1.6; font-size: 11px; }
.today-card svg { position: absolute; width: 105px; right: 18px; bottom: 8px; fill: none; stroke: var(--peach); stroke-width: 1; stroke-linecap: round; }
.advice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; }
.advice-card { min-height: 260px; border: 1px solid var(--rule); padding: 27px; position: relative; transition: transform .25s, background .25s; }
.advice-card:hover { transform: translateY(-5px); background: #fcf8ef; }
.advice-card .advice-icon { width: 42px; height: 42px; display: grid; place-items: center; background: #edf0e7; border-radius: 50%; font-size: 18px; }
.advice-card .advice-index { position: absolute; right: 22px; top: 24px; color: #b6b9b1; font-size: 10px; }
.advice-card h4 { margin: 30px 0 12px; font-size: 16px; }
.advice-card p { margin: 0; color: var(--ink-soft); line-height: 1.8; font-size: 12px; }
.gentle-watch { margin-top: 14px; padding: 26px 30px; background: var(--green-dark); color: var(--white); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.watch-icon { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; display: grid; place-items: center; font-weight: 700; }
.gentle-watch strong { font-size: 13px; }
.gentle-watch p { max-width: 720px; margin: 5px 0 0; color: rgba(255,255,255,.68); font-size: 11px; line-height: 1.7; }
.gentle-watch .watch-rule { margin: 0; padding-left: 25px; border-left: 1px solid rgba(255,255,255,.2); text-align: right; white-space: nowrap; }
.watch-rule b { color: var(--peach-light); }

.tools-section { max-width: 1260px; margin: 0 auto; padding: 130px 0 150px; }
.tools-heading { margin-bottom: 54px; }
.tool-switcher { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-bottom: 0; }
.tool-tab { min-height: 104px; padding: 24px 30px; border: 0; border-right: 1px solid var(--rule); background: transparent; text-align: left; cursor: pointer; display: grid; grid-template-columns: 40px auto; grid-template-rows: auto auto; align-content: center; transition: background .25s; position: relative; }
.tool-tab:last-child { border-right: 0; }
.tool-tab::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 4px; background: var(--peach); transition: right .3s; }
.tool-tab:hover, .tool-tab.is-active { background: var(--white); }
.tool-tab.is-active::after { right: 0; }
.tool-tab > span { grid-row: 1 / 3; color: var(--peach); font-size: 10px; padding-top: 4px; }
.tool-tab strong { font-size: 17px; }
.tool-tab small { margin-top: 6px; color: var(--ink-soft); font-size: 10px; }
.daily-tool-panel { border: 1px solid var(--rule); background: var(--white); box-shadow: var(--shadow); }
.daily-tool-panel[hidden] { display: none; }
.recipe-toolbar { min-height: 114px; padding: 26px 34px; border-bottom: 1px solid var(--rule); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.tool-overline { display: block; color: var(--ink-soft); letter-spacing: .12em; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.recipe-age-options { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.recipe-age { padding: 8px 13px; border: 1px solid var(--rule); border-radius: 99px; background: transparent; color: var(--ink-soft); font-size: 10px; cursor: pointer; transition: .2s; }
.recipe-age:hover, .recipe-age.is-active { color: var(--white); background: var(--green-dark); border-color: var(--green-dark); }
.shuffle-button { min-height: 42px; padding: 0 17px; border: 1px solid var(--ink); background: transparent; cursor: pointer; font-size: 11px; transition: .2s; }
.shuffle-button:hover { color: var(--white); background: var(--green-dark); }
.shuffle-button span { display: inline-block; margin-right: 6px; font-size: 15px; }
.shuffle-button:active span { transform: rotate(180deg); }
.recipe-context { padding: 40px 34px 26px; display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.recipe-context > div { display: grid; gap: 7px; }
.recipe-context span { color: var(--peach); font-size: 10px; letter-spacing: .14em; }
.recipe-context strong { font-size: 24px; letter-spacing: -.03em; }
.recipe-context p { max-width: 430px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.8; text-align: right; }
.recipe-grid { padding: 0 34px 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.recipe-card { min-height: 292px; padding: 25px; border: 1px solid var(--rule); position: relative; overflow: hidden; transition: .25s; }
.recipe-card:hover { transform: translateY(-4px); background: #fcf8ef; }
.recipe-card::before { content: ""; position: absolute; width: 110px; height: 110px; right: -48px; top: -48px; border-radius: 50%; background: var(--meal-color, #edf0e7); }
.meal-meta { display: flex; justify-content: space-between; align-items: center; }
.meal-meta span:first-child { color: var(--peach); letter-spacing: .12em; font-size: 9px; font-weight: 700; }
.meal-symbol { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(39,59,49,.25); border-radius: 50%; font-size: 12px; }
.recipe-card h3 { margin: 38px 0 12px; font-size: 18px; line-height: 1.45; }
.recipe-card > p { min-height: 62px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }
.recipe-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.recipe-tags span { padding: 5px 7px; background: var(--paper); color: var(--ink-soft); font-size: 9px; }
.recipe-safety { margin: 0 34px 34px; padding: 19px 22px; background: #f3eadc; display: flex; align-items: flex-start; gap: 14px; }
.recipe-safety > span { color: var(--ochre); }
.recipe-safety p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.8; }
.recipe-safety strong { color: var(--ink); }

.tracker-layout { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 600px; }
.feeding-form { padding: 50px 42px; background: #f2e7d4; }
.tracker-heading h3, .history-header h3 { margin: 10px 0 8px; font-size: 25px; letter-spacing: -.035em; }
.tracker-heading p { margin: 0; color: var(--ink-soft); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 14px; margin: 35px 0 30px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 10px; font-weight: 700; }
.field small { color: var(--ink-soft); font-weight: 400; }
.field input, .field select { width: 100%; height: 46px; border: 1px solid rgba(39,59,49,.22); border-radius: 0; background: rgba(255,253,247,.72); padding: 0 13px; color: var(--ink); font: inherit; font-size: 12px; outline: none; }
.field input:focus, .field select:focus { border-color: var(--green-dark); box-shadow: 0 0 0 2px rgba(39,63,52,.09); }
.amount-input { display: grid; grid-template-columns: 1fr 82px; }
.amount-input input { border-right: 0; }
.amount-input select { background: var(--white); }
.add-feeding { width: 100%; border: 0; background: var(--green-dark); color: var(--white); cursor: pointer; }
.add-feeding:hover { background: var(--green-black); }
.feeding-history { padding: 50px 42px 35px; }
.history-header { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.clear-records { padding: 6px 0; border: 0; border-bottom: 1px solid var(--ink-soft); background: transparent; color: var(--ink-soft); font-size: 9px; cursor: pointer; }
.clear-records:disabled { opacity: .35; cursor: default; }
.tracker-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin-top: 30px; }
.tracker-stats > div { min-height: 92px; padding: 18px; border-right: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-content: center; align-items: baseline; gap: 4px; }
.tracker-stats > div:first-child { padding-left: 0; }
.tracker-stats > div:last-child { border-right: 0; }
.tracker-stats span { width: 100%; color: var(--ink-soft); font-size: 9px; }
.tracker-stats strong { margin-top: 7px; font-size: 22px; letter-spacing: -.03em; }
.tracker-stats small { color: var(--ink-soft); font-size: 9px; }
.feeding-chart { padding: 19px 0 2px; border-bottom: 1px solid var(--rule); }
.mini-chart-heading { display: flex; justify-content: space-between; align-items: center; }
.mini-chart-heading span { font-size: 9px; font-weight: 700; }
.mini-chart-heading small { color: var(--ink-soft); font-size: 8px; }
.feeding-bars { height: 70px; margin-top: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; align-items: end; }
.feeding-bar { min-height: 24px; height: var(--bar-height); padding: 5px 7px; background: #e7d5bc; border-top: 3px solid var(--peach); display: flex; justify-content: space-between; align-items: flex-end; transition: height .3s ease; }
.feeding-bar span { color: var(--ink-soft); font-size: 7px; }
.feeding-bar strong { font-size: 10px; }
.feeding-list { list-style: none; padding: 0; margin: 27px 0 0; max-height: 285px; overflow-y: auto; }
.feeding-entry { display: grid; grid-template-columns: 58px 13px 1fr auto; align-items: center; gap: 10px; min-height: 64px; position: relative; }
.feeding-entry:not(:last-child)::after { content: ""; position: absolute; left: 63px; top: 38px; bottom: -26px; width: 1px; background: var(--rule); }
.entry-time { font-size: 12px; font-weight: 700; }
.entry-dot { width: 9px; height: 9px; border: 2px solid var(--white); border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 1px var(--peach); position: relative; z-index: 1; }
.entry-main { display: grid; gap: 4px; }
.entry-main strong { font-size: 12px; }
.entry-main small { color: var(--ink-soft); font-size: 9px; }
.delete-entry { width: 27px; height: 27px; border: 0; border-radius: 50%; background: transparent; color: #9c6b55; cursor: pointer; font-size: 15px; }
.delete-entry:hover { background: #f4e4dc; }
.empty-records { min-height: 185px; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--ink-soft); }
.empty-records[hidden] { display: none; }
.empty-records > span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; color: var(--peach); }
.empty-records p { margin: 0; font-size: 10px; line-height: 1.7; }
.empty-records strong { color: var(--ink); font-size: 11px; }
.privacy-note { margin: 0; padding: 18px 42px; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: 9px; text-align: center; }
.privacy-note span { margin-right: 7px; color: var(--peach); }

.clothing-tool-layout { display: grid; grid-template-columns: .78fr 1.22fr; border-bottom: 1px solid var(--rule); }
.clothing-size-form { padding: 43px; background: #f2e7d4; }
.clothing-size-form h3 { margin: 10px 0 8px; font-size: 24px; }
.clothing-size-form > div:first-child p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.7; }
.clothing-age-control { margin-top: 28px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.clothing-age-control > span { grid-column: 1 / -1; font-size: 9px; font-weight: 700; }
.clothing-age-control input { width: 100%; accent-color: var(--green-dark); }
.clothing-age-control strong { min-width: 55px; text-align: right; font-size: 10px; }
.clothing-inputs { margin: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.clothing-submit { width: 100%; border: 0; background: var(--green-dark); color: var(--white); cursor: pointer; }
.measure-tips { margin-top: 23px; display: grid; gap: 10px; }
.measure-tips span { color: var(--ink-soft); font-size: 8px; line-height: 1.65; display: grid; grid-template-columns: 25px 1fr; gap: 9px; align-items: start; }
.measure-tips i { width: 24px; height: 24px; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; color: var(--green); font-size: 8px; font-style: normal; font-weight: 700; }
.clothing-result { padding: 43px; }
.fit-badge { padding: 6px 9px; border-radius: 99px; background: #e6eadf; color: var(--green); font-size: 8px; }
.size-result-grid { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.size-result-grid article { min-height: 135px; padding: 21px 18px; border-right: 1px solid var(--rule); display: grid; align-content: center; }
.size-result-grid article:last-child { border-right: 0; }
.size-result-grid span { color: var(--ink-soft); font-size: 8px; }
.size-result-grid strong { margin: 11px 0 8px; font-size: 14px; line-height: 1.4; }
.size-result-grid small { color: var(--ink-soft); font-size: 8px; line-height: 1.6; }
.shoe-rule { margin-top: 25px; padding: 19px; background: #f2e7d4; display: flex; align-items: flex-start; gap: 13px; }
.shoe-rule > span { width: 28px; height: 28px; flex: 0 0 auto; border: 1px solid var(--peach); border-radius: 50%; display: grid; place-items: center; color: #a45e38; }
.shoe-rule p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.75; }
.shoe-rule strong { color: var(--ink); }
.size-reference-wrap { padding: 34px; border-bottom: 1px solid var(--rule); background: #fbf8f0; }
.size-table-scroll { overflow-x: auto; }
.size-reference-table { width: 100%; min-width: 700px; border-collapse: collapse; }
.size-reference-table th, .size-reference-table td { padding: 12px 15px; border: 1px solid var(--rule); text-align: left; font-size: 9px; }
.size-reference-table th { background: var(--green-dark); color: var(--white); font-weight: 600; }
.size-reference-table td { color: var(--ink-soft); }
.size-reference-table td:nth-child(3) { color: var(--ink); font-weight: 700; }
.fabric-guide { padding: 36px 34px 30px; }
.fabric-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.fabric-grid article { min-height: 170px; padding: 24px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.fabric-grid article > span { font-size: 8px; font-weight: 700; letter-spacing: .09em; }
.fabric-good > span { color: var(--green); }
.fabric-caution > span { color: #a45e38; }
.fabric-grid h5 { margin: 29px 0 10px; font-size: 13px; line-height: 1.45; }
.fabric-grid p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.7; }
.fabric-good { background: #f0f3e9; }
.clothing-safety-row { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.clothing-safety-row span { min-height: 42px; padding: 10px; background: #f2e7d4; color: var(--ink-soft); display: grid; place-items: center; text-align: center; font-size: 8px; }

.allergy-section { max-width: 1260px; margin: 0 auto; padding: 130px 0 150px; }
.allergy-heading { margin-bottom: 44px; }
.allergy-alert-banner { min-height: 76px; margin-bottom: 20px; padding: 20px 28px; background: #8c4337; color: var(--white); display: flex; align-items: center; gap: 18px; }
.allergy-alert-banner p { margin: 0; color: rgba(255,255,255,.83); font-size: 10px; line-height: 1.75; }
.allergy-alert-banner strong { color: var(--white); }
.alert-pulse { width: 13px; height: 13px; flex: 0 0 auto; border-radius: 50%; background: #ffd6b9; box-shadow: 0 0 0 7px rgba(255,214,185,.16); }
.allergy-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-bottom: 0; }
.allergy-tab { min-height: 106px; padding: 23px 22px; border: 0; border-right: 1px solid var(--rule); background: transparent; text-align: left; cursor: pointer; display: grid; grid-template-columns: 35px auto; grid-template-rows: auto auto; align-content: center; position: relative; transition: background .25s; }
.allergy-tab:last-child { border-right: 0; }
.allergy-tab::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 4px; background: #b65d49; transition: right .3s; }
.allergy-tab:hover, .allergy-tab.is-active { background: var(--white); }
.allergy-tab.is-active::after { right: 0; }
.allergy-tab > span { grid-row: 1 / 3; padding-top: 4px; color: #b65d49; font-size: 9px; }
.allergy-tab strong { font-size: 15px; }
.allergy-tab small { margin-top: 6px; color: var(--ink-soft); font-size: 9px; }
.allergy-panel { border: 1px solid var(--rule); background: var(--white); box-shadow: var(--shadow); }
.allergy-panel[hidden] { display: none; }
.allergy-panel-lede { min-height: 245px; padding: 48px 46px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 65px; border-bottom: 1px solid var(--rule); }
.panel-number { display: inline-block; margin-bottom: 18px; color: #b65d49; font-size: 10px; font-weight: 700; }
.allergy-panel-lede h3 { margin: 11px 0 0; font-size: 31px; line-height: 1.35; letter-spacing: -.04em; }
.allergy-panel-lede > p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.9; }
.allergen-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.allergen-grid article { min-height: 145px; padding: 25px 27px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 43px 1fr; gap: 17px; align-items: start; }
.allergen-grid article:nth-child(3n) { border-right: 0; }
.food-symbol { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 50%; background: #edf0e7; color: var(--green-dark); font-size: 10px; font-weight: 700; }
.allergen-grid .high-caution { background: #f4e8dc; }
.high-caution .food-symbol { background: #b65d49; color: var(--white); }
.allergen-grid h4 { margin: 3px 0 10px; font-size: 14px; }
.allergen-grid p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.72; }
.intro-protocol { padding: 36px 34px 30px; border-bottom: 1px solid var(--rule); background: #fbf8f0; }
.protocol-line { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.protocol-line article { min-height: 188px; padding: 25px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.protocol-line article > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--green-dark); color: var(--white); font-size: 9px; }
.protocol-line h5 { margin: 30px 0 10px; font-size: 13px; }
.protocol-line p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.72; }
.protocol-donts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.protocol-donts span { padding: 8px 11px; border: 1px solid #c97d65; border-radius: 99px; color: #914d3c; font-size: 8px; }
.peanut-decision { display: grid; grid-template-columns: .78fr repeat(3, 1fr); }
.peanut-decision > div, .peanut-decision article { min-height: 190px; padding: 29px; border-right: 1px solid var(--rule); }
.peanut-decision > :last-child { border-right: 0; }
.peanut-decision > div { background: var(--green-dark); color: var(--white); display: flex; flex-direction: column; justify-content: center; }
.peanut-decision > div strong { font-size: 15px; }
.peanut-decision > div p { margin: 8px 0 0; color: rgba(255,255,255,.6); font-size: 9px; line-height: 1.6; }
.peanut-decision article > span { color: #a35643; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.peanut-decision h4 { margin: 35px 0 10px; font-size: 13px; line-height: 1.5; }
.peanut-decision article p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.7; }
.risk-high { background: #f4dfd8; }
.risk-mid { background: #f3eadc; }
.risk-low { background: #edf0e7; }
.panel-source-line { padding: 18px 28px; border-top: 1px solid var(--rule); display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 16px 28px; }
.panel-source-line a { padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 8px; }
.reaction-timeline { padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; background: #fbf8f0; border-bottom: 1px solid var(--rule); }
.reaction-axis { grid-column: 1 / -1; min-height: 66px; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 14px; color: var(--ink-soft); font-size: 9px; }
.reaction-axis i { height: 2px; background: linear-gradient(90deg, var(--peach), var(--green)); }
.reaction-axis b { color: var(--ink); font-size: 9px; }
.reaction-timeline article { min-height: 190px; padding: 28px; border: 1px solid var(--rule); background: var(--white); }
.reaction-timeline article > span { color: #a35643; font-size: 9px; font-weight: 700; }
.reaction-timeline ul { margin: 24px 0 0; padding-left: 17px; color: var(--ink-soft); font-size: 10px; line-height: 1.9; }
.reaction-delayed { border-left-color: var(--green) !important; }
.reaction-levels { display: grid; grid-template-columns: repeat(3, 1fr); }
.reaction-levels article { min-height: 230px; padding: 30px; border-right: 1px solid var(--rule); display: grid; grid-template-columns: 18px 1fr; gap: 14px; }
.reaction-levels article:last-child { border-right: 0; }
.level-dot { width: 12px; height: 12px; margin-top: 2px; border-radius: 50%; box-shadow: 0 0 0 5px rgba(97,116,95,.12); }
.level-dot.mild { background: var(--ochre); }
.level-dot.urgent { background: #a3483c; box-shadow: 0 0 0 5px rgba(163,72,60,.12); }
.reaction-levels small { color: var(--peach); font-size: 8px; }
.reaction-levels h4 { margin: 12px 0 13px; font-size: 13px; line-height: 1.55; }
.reaction-levels p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.75; }
.anaphylaxis-actions { padding: 32px 35px; background: #8c4337; color: var(--white); display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 40px; }
.anaphylaxis-actions > div { display: flex; align-items: center; gap: 15px; }
.anaphylaxis-actions > div span { width: 34px; height: 34px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; display: grid; place-items: center; }
.anaphylaxis-actions h4 { margin: 0; font-size: 15px; }
.anaphylaxis-actions ol { margin: 0; padding-left: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; color: rgba(255,255,255,.75); font-size: 9px; line-height: 1.65; }
.anaphylaxis-actions b { color: var(--white); }
.illness-age-rail { margin: 34px 34px 0; display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 9px; color: var(--ink-soft); font-size: 8px; }
.illness-age-rail i { height: 2px; background: #d7d8ce; }
.illness-map-grid { padding: 26px 34px 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.illness-map-grid article { min-height: 265px; padding: 27px; border: 1px solid var(--rule); position: relative; overflow: hidden; }
.illness-map-grid article::before { content: ""; position: absolute; left: var(--start); top: 0; width: var(--span); height: 5px; background: linear-gradient(90deg, var(--peach), var(--green)); }
.illness-range { color: #a35643; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.illness-map-grid h4 { margin: 34px 0 18px; font-size: 16px; }
.illness-map-grid p { margin: 0 0 11px; color: var(--ink-soft); font-size: 9px; line-height: 1.75; }
.illness-map-grid p b { color: var(--ink); }
.illness-map-note { padding: 20px 34px; background: #f2e7d4; color: var(--ink-soft); font-size: 9px; line-height: 1.75; }
.illness-map-note strong { color: var(--ink); }
.first-aid-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.first-aid-grid article { min-height: 260px; padding: 30px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.first-aid-grid article:nth-child(3n) { border-right: 0; }
.first-aid-grid article > span { color: #a35643; font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.first-aid-grid h4 { margin: 37px 0 14px; font-size: 16px; }
.first-aid-grid p { margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.75; }
.first-aid-grid strong { display: block; margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--rule); color: #914d3c; font-size: 8px; line-height: 1.65; }
.must-go-strip { padding: 31px 34px; background: var(--green-dark); color: var(--white); display: grid; grid-template-columns: 250px 1fr; gap: 35px; align-items: center; }
.must-go-strip > div { display: grid; gap: 8px; }
.must-go-strip > div span { color: var(--peach-light); font-size: 8px; letter-spacing: .1em; }
.must-go-strip > div strong { font-size: 15px; }
.must-go-strip ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 25px; color: rgba(255,255,255,.7); font-size: 9px; }
.must-go-strip li::before { content: "✦"; margin-right: 8px; color: var(--peach-light); }
.often-missed { padding: 36px 34px; background: #fbf8f0; }
.missed-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.missed-grid span { min-height: 100px; padding: 18px; border: 1px solid var(--rule); color: var(--ink-soft); font-size: 9px; line-height: 1.65; }
.missed-grid i { width: 25px; height: 25px; margin-bottom: 12px; border-radius: 50%; background: #e6eadf; display: grid; place-items: center; color: var(--green); font-size: 8px; font-style: normal; font-weight: 700; }

.health-section { max-width: 1260px; margin: 0 auto; padding: 130px 0 150px; }
.health-heading { margin-bottom: 48px; }
.minute-check { min-height: 112px; margin-bottom: 22px; padding: 26px 34px; background: var(--green-dark); color: var(--white); display: grid; grid-template-columns: 230px 1fr; align-items: center; gap: 35px; }
.minute-check > div { display: grid; gap: 7px; }
.minute-check > div span { color: var(--peach-light); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.minute-check > div strong { font-size: 18px; }
.minute-check ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 13px 28px; }
.minute-check li { color: rgba(255,255,255,.72); font-size: 10px; line-height: 1.5; }
.minute-check i { color: var(--peach-light); margin-right: 8px; font-size: 8px; font-style: normal; }
.health-tabs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--rule); border-bottom: 0; }
.health-tab { min-height: 105px; padding: 24px 22px; border: 0; border-right: 1px solid var(--rule); background: transparent; text-align: left; cursor: pointer; display: grid; grid-template-columns: 34px auto; grid-template-rows: auto auto; align-content: center; position: relative; transition: background .25s; }
.health-tab:last-child { border-right: 0; }
.health-tab::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 4px; background: var(--peach); transition: right .3s; }
.health-tab:hover, .health-tab.is-active { background: var(--white); }
.health-tab.is-active::after { right: 0; }
.health-tab > span { grid-row: 1 / 3; color: var(--peach); font-size: 9px; padding-top: 4px; }
.health-tab strong { font-size: 15px; }
.health-tab small { margin-top: 6px; color: var(--ink-soft); font-size: 9px; }
.health-panel { border: 1px solid var(--rule); background: var(--white); box-shadow: var(--shadow); }
.health-panel[hidden] { display: none; }
.health-panel-intro { min-height: 245px; padding: 52px 46px; display: grid; grid-template-columns: 72px 1fr .8fr; align-items: center; gap: 26px; border-bottom: 1px solid var(--rule); }
.health-symbol { width: 60px; height: 60px; border: 1px solid var(--green); border-radius: 50%; display: grid; place-items: center; color: var(--peach); font-size: 23px; }
.health-panel-intro h3 { margin: 12px 0 0; font-size: 30px; line-height: 1.35; letter-spacing: -.04em; }
.health-panel-intro > p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.9; }
.growth-chart-lab { background: #fbf8f0; border-bottom: 1px solid var(--rule); }
.chart-controls { padding: 24px 30px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 28px; }
.chart-control-group, .month-control { display: grid; gap: 10px; }
.chart-control-group > span, .month-control > span { color: var(--ink-soft); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.segmented { display: flex; }
.segmented button { min-width: 72px; height: 34px; border: 1px solid var(--rule); background: var(--white); color: var(--ink-soft); cursor: pointer; font-size: 9px; }
.segmented button + button { border-left: 0; }
.segmented button.is-active { color: var(--white); background: var(--green-dark); border-color: var(--green-dark); }
.month-control { grid-template-columns: 1fr auto; align-items: center; }
.month-control > span { grid-column: 1 / -1; }
.month-control input { width: 100%; accent-color: var(--peach); }
.month-control strong { min-width: 54px; text-align: right; font-size: 10px; }
.growth-chart-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--rule); }
.growth-chart-summary > div { min-height: 76px; padding: 16px 28px; border-right: 1px solid var(--rule); display: grid; align-content: center; gap: 7px; }
.growth-chart-summary > div:last-child { border-right: 0; }
.growth-chart-summary span { color: var(--ink-soft); font-size: 8px; }
.growth-chart-summary strong { font-size: 15px; }
.chart-canvas-wrap { padding: 24px 28px 14px; }
.growth-chart { width: 100%; height: auto; overflow: visible; }
.growth-chart .grid-line { stroke: rgba(39,59,49,.12); stroke-width: 1; }
.growth-chart .axis-text { fill: #7c847d; font-size: 9px; font-family: inherit; }
.growth-chart .range-area { fill: rgba(233,162,118,.25); }
.growth-chart .median-path { fill: none; stroke: var(--green-dark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.growth-chart .selected-line { stroke: var(--peach); stroke-width: 1.5; stroke-dasharray: 4 5; }
.growth-chart .selected-dot { fill: var(--peach); stroke: var(--white); stroke-width: 4; }
.growth-chart .selected-label { fill: var(--green-dark); font-size: 10px; font-weight: 700; font-family: inherit; }
.growth-chart .user-growth-path { fill: none; stroke: #3e79a5; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 3 4; }
.growth-chart .user-growth-dot { fill: #3e79a5; stroke: var(--white); stroke-width: 3; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-top: 2px; color: var(--ink-soft); font-size: 8px; }
.chart-legend span { display: flex; align-items: center; gap: 7px; }
.chart-legend i { display: inline-block; width: 22px; }
.legend-band { height: 9px; background: rgba(233,162,118,.28); }
.legend-line { height: 2px; background: var(--green-dark); }
.legend-point { width: 8px !important; height: 8px; border-radius: 50%; background: var(--peach); }
.legend-user { width: 9px !important; height: 9px; border-radius: 50%; background: #3e79a5; }
.growth-table-wrap { padding: 15px 28px 24px; overflow-x: auto; }
.growth-quick-table { width: 100%; border-collapse: collapse; min-width: 570px; }
.growth-quick-table caption { padding: 13px 16px; text-align: left; background: var(--green-dark); color: var(--white); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.growth-quick-table th, .growth-quick-table td { padding: 12px 15px; border: 1px solid var(--rule); text-align: center; font-size: 9px; }
.growth-quick-table th:first-child, .growth-quick-table td:first-child { text-align: left; font-weight: 700; }
.growth-quick-table thead th { color: var(--ink-soft); background: var(--white); }
.chart-medical-note { margin: 0; padding: 17px 28px; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: 9px; line-height: 1.75; }
.observation-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.observation-grid article { min-height: 245px; padding: 34px; border-right: 1px solid var(--rule); }
.observation-grid article:last-child { border-right: 0; }
.observation-grid article > span, .preventive-grid article > span { color: var(--peach); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.observation-grid h4, .preventive-grid h4 { margin: 45px 0 13px; font-size: 18px; }
.observation-grid p, .preventive-grid p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.85; }
.observation-grid .watch-card { background: #f2e7d4; }
.evidence-line { padding: 21px 34px; border-top: 1px solid var(--rule); color: var(--ink-soft); font-size: 10px; line-height: 1.75; }
.evidence-line strong { color: var(--ink); }
.evidence-line a { float: right; margin-left: 24px; color: var(--ink); border-bottom: 1px solid var(--ink); }
.stool-palette { display: grid; grid-template-columns: 1fr 1fr; }
.stool-palette article { min-height: 170px; padding: 29px 32px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 18px; }
.stool-palette article:nth-child(even) { border-right: 0; }
.stool-palette small { color: var(--peach); font-size: 8px; letter-spacing: .1em; }
.stool-palette h4 { margin: 7px 0 9px; font-size: 17px; }
.stool-palette p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.color-dots { width: 62px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.color-dots i, .color-dot { width: 29px; height: 29px; border: 4px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--rule); }
.color-dots i:first-child { background: #d7a733; }
.color-dots i:nth-child(2) { background: #865b36; }
.color-dots i:nth-child(3) { background: #63784c; }
.stool-red .color-dot { background: #a34d3d; justify-self: center; }
.stool-black .color-dot { background: #252721; justify-self: center; }
.stool-white .color-dot { background: #ede7d9; justify-self: center; }
.stool-action-chart { padding: 24px 32px 28px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 15px; }
.stool-action-chart > span { color: var(--ink-soft); font-size: 8px; }
.action-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, #6f845e 0 35%, #d9a33b 55% 72%, #a34d3d 100%); position: relative; }
.action-track i, .action-track b { position: absolute; width: 13px; height: 13px; top: 50%; border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 1px var(--rule); transform: translate(-50%,-50%); }
.action-track i:first-child { left: 12%; background: #6f845e; }
.action-track i:nth-child(2) { left: 52%; background: var(--ochre); }
.action-track i:nth-child(3) { left: 76%; background: #ba7651; }
.action-track b { left: 97%; background: #8f3f36; }
.action-labels { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.action-labels small { color: var(--ink-soft); font-size: 8px; line-height: 1.5; }
.action-labels small:nth-child(2) { text-align: center; }
.action-labels small:last-child { text-align: right; }
.diaper-note { padding: 25px 32px; display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.diaper-note strong { font-size: 12px; }
.diaper-note p { max-width: 770px; margin: 6px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.75; }
.diaper-note a, .sleep-alert a { flex: 0 0 auto; border-bottom: 1px solid var(--ink); padding-bottom: 3px; font-size: 9px; }
.sleep-path { display: grid; grid-template-columns: 1fr 1fr; }
.sleep-duration-chart { padding: 32px; border-bottom: 1px solid var(--rule); background: #fbf8f0; }
.visual-chart-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 27px; }
.visual-chart-heading h4 { margin: 8px 0 0; font-size: 19px; }
.visual-chart-heading p { max-width: 360px; margin: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.65; text-align: right; }
.sleep-axis { margin: 0 0 8px 110px; display: grid; grid-template-columns: repeat(6, 1fr); color: var(--ink-soft); font-size: 7px; }
.sleep-axis span:last-child { text-align: right; }
.sleep-range-row { min-height: 52px; display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 10px; }
.sleep-range-row > strong { font-size: 10px; }
.sleep-range, .sleep-newborn { height: 34px; position: relative; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(39,59,49,.09) calc(10% - 1px) 10%); }
.sleep-range i { position: absolute; left: var(--start); width: var(--width); top: 6px; height: 22px; border-radius: 99px; background: linear-gradient(90deg, #cbd5bd, #7f9878); }
.sleep-range span { position: absolute; left: calc(var(--left) + 8px); top: 10px; color: var(--green-black); font-size: 8px; font-weight: 700; }
.sleep-newborn span { position: absolute; left: 48%; right: 0; top: 6px; min-height: 22px; padding: 6px 10px; background: #e9ddc9; color: var(--ink-soft); font-size: 8px; text-align: center; border-radius: 99px; }
.chart-source { display: block; width: fit-content; margin: 16px 0 0 auto; padding-bottom: 3px; border-bottom: 1px solid var(--ink); font-size: 8px; }
.sleep-path article { min-height: 185px; padding: 32px; display: grid; grid-template-columns: 48px 1fr; gap: 15px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sleep-path article:nth-child(even) { border-right: 0; }
.sleep-path article > span { width: 39px; height: 39px; border-radius: 50%; display: grid; place-items: center; background: #edf0e7; color: var(--green); font-size: 9px; }
.sleep-path h4 { margin: 3px 0 11px; font-size: 16px; }
.sleep-path p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.8; }
.sleep-alert { padding: 24px 31px; background: #f2e7d4; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 17px; }
.sleep-alert > span { width: 32px; height: 32px; border: 1px solid var(--peach); border-radius: 50%; display: grid; place-items: center; color: #9e603e; }
.sleep-alert p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.75; }
.sleep-alert strong { color: var(--ink); }
.preventive-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.milestone-timeline { padding: 33px 32px 30px; border-bottom: 1px solid var(--rule); background: #fbf8f0; }
.milestone-line { height: 98px; margin: 15px 10px 0; border-top: 2px solid #c7cdbf; position: relative; }
.milestone-line > span { position: absolute; left: var(--x); top: -15px; transform: translateX(-50%); display: grid; justify-items: center; gap: 5px; }
.milestone-line i { width: 29px; height: 29px; border: 3px solid #fbf8f0; border-radius: 50%; background: var(--peach); box-shadow: 0 0 0 1px var(--peach); display: grid; place-items: center; color: var(--white); font-size: 8px; font-style: normal; font-weight: 700; }
.milestone-line small { margin-top: 10px; color: var(--ink-soft); font-size: 7px; white-space: nowrap; }
.milestone-line span:nth-child(even) i { background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.milestone-line span::after { content: ""; width: 1px; height: 23px; background: var(--rule); }
.milestone-line span i + small { white-space: normal; text-align: center; line-height: 1.35; }
.milestone-domains { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.milestone-domains span { padding: 9px; background: #e9eade; color: var(--ink-soft); font-size: 8px; text-align: center; }
.preventive-grid article { min-height: 260px; padding: 31px; border-right: 1px solid var(--rule); }
.preventive-grid article:last-child { border-right: 0; }
.preventive-grid h4 { margin-top: 52px; font-size: 17px; }
.care-levels { margin-top: 24px; background: var(--green-dark); color: var(--white); padding: 56px 48px 36px; }
.care-level-heading { display: grid; grid-template-columns: 1fr .7fr; gap: 30px; align-items: end; margin-bottom: 34px; }
.care-level-heading .section-kicker { grid-column: 1 / -1; margin-bottom: -10px; }
.care-level-heading h3 { margin: 0; font-size: 35px; line-height: 1.3; letter-spacing: -.04em; }
.care-level-heading > p:last-child { margin: 0; color: rgba(255,255,255,.6); font-size: 10px; line-height: 1.8; }
.care-level-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.care-level-list article { min-height: 305px; padding: 31px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.care-level-list article > span { display: inline-block; padding: 6px 9px; border: 1px solid currentColor; border-radius: 99px; color: var(--peach-light); font-size: 9px; }
.care-level-list h4 { margin: 29px 0 19px; font-size: 17px; }
.care-level-list ul { margin: 0; padding-left: 17px; color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.8; }
.care-level-list strong { display: block; margin-top: 24px; color: var(--peach-light); font-size: 9px; line-height: 1.7; }
.care-now { background: rgba(126,52,44,.22); }
.care-today { background: rgba(217,163,59,.08); }
.care-disclaimer { margin: 25px 0 0; color: rgba(255,255,255,.52); font-size: 9px; line-height: 1.75; text-align: center; }

.support-section { max-width: 1260px; margin: 0 auto; padding: 130px 0 150px; }
.support-heading { margin-bottom: 46px; }
.topic-guide-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.topic-guide-grid details { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--white); }
.topic-guide-grid summary { min-height: 105px; padding: 20px 24px; list-style: none; display: grid; grid-template-columns: 42px 1fr 20px; gap: 15px; align-items: center; cursor: pointer; }
.topic-guide-grid summary::-webkit-details-marker { display: none; }
.topic-guide-grid summary > span { width: 38px; height: 38px; border-radius: 50%; background: #e6eadf; display: grid; place-items: center; color: var(--green); font-size: 10px; font-weight: 700; }
.topic-guide-grid summary div { display: grid; gap: 6px; }
.topic-guide-grid summary strong { font-size: 14px; }
.topic-guide-grid summary small { color: var(--ink-soft); font-size: 8px; }
.topic-guide-grid summary i { width: 14px; height: 14px; position: relative; }
.topic-guide-grid summary i::before, .topic-guide-grid summary i::after { content: ""; position: absolute; background: var(--ink); }
.topic-guide-grid summary i::before { left: 0; right: 0; top: 7px; height: 1px; }
.topic-guide-grid summary i::after { top: 0; bottom: 0; left: 7px; width: 1px; transition: transform .2s; }
.topic-guide-grid details[open] summary i::after { transform: rotate(90deg); }
.topic-guide-grid details > p { margin: 0; padding: 0 28px 28px 81px; color: var(--ink-soft); font-size: 10px; line-height: 1.85; }
.caregiver-checkin { margin-top: 26px; background: var(--green-dark); color: var(--white); display: grid; grid-template-columns: .8fr 1fr; }
.caregiver-copy { padding: 45px; }
.caregiver-copy h3 { margin: 12px 0 18px; font-size: 27px; line-height: 1.4; }
.caregiver-copy > p:last-child { margin: 0; color: rgba(255,255,255,.62); font-size: 10px; line-height: 1.8; }
.caregiver-form { padding: 45px; border-left: 1px solid rgba(255,255,255,.16); }
.caregiver-form fieldset { margin: 0; padding: 0; border: 0; display: grid; gap: 9px; }
.caregiver-form legend { margin-bottom: 14px; font-size: 10px; font-weight: 700; }
.caregiver-form label { min-height: 40px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; gap: 10px; cursor: pointer; }
.caregiver-form input { accent-color: var(--peach); }
.caregiver-form label span { color: rgba(255,255,255,.72); font-size: 9px; }
.caregiver-button { width: 100%; margin-top: 15px; border: 0; background: var(--peach); color: var(--green-black); cursor: pointer; }
.caregiver-result { margin-top: 13px; padding: 14px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); font-size: 9px; line-height: 1.7; }
.caregiver-emergency { grid-column: 1 / -1; padding: 20px 45px; background: #8c4337; display: grid; grid-template-columns: 95px 1fr; gap: 20px; align-items: center; }
.caregiver-emergency strong { color: #ffd6b9; font-size: 10px; }
.caregiver-emergency p { margin: 0; color: rgba(255,255,255,.75); font-size: 9px; line-height: 1.7; }

.principles-section { background: var(--green-dark); color: var(--white); padding: 140px max(40px, calc((100vw - 1260px) / 2)); display: grid; grid-template-columns: .62fr 1.38fr; gap: 90px; align-items: center; }
.section-kicker.light { color: var(--peach-light); }
.principles-copy > p:not(.section-kicker) { max-width: 360px; margin: 25px 0 34px; line-height: 1.8; color: rgba(255,255,255,.65); font-size: 13px; }
.button-light { color: var(--green-dark); background: var(--white); }
.principle-cards { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.principle-cards article { min-height: 260px; padding: 36px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); position: relative; }
.card-index { color: var(--peach-light); font-size: 10px; }
.line-icon { position: absolute; right: 33px; top: 29px; font-size: 32px; color: var(--peach-light); font-weight: 300; }
.principle-cards h3 { margin: 70px 0 14px; font-size: 20px; }
.principle-cards p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.8; font-size: 12px; }

.safety-section { max-width: 1260px; margin: 0 auto; padding: 140px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; border-bottom: 1px solid var(--rule); }
.safety-content > p:first-child { font-size: 20px; line-height: 1.8; letter-spacing: -.02em; }
.safety-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 35px; }
.safety-tags span { padding: 9px 13px; border: 1px solid var(--peach); color: #a45e38; border-radius: 99px; font-size: 11px; }
.medical-note { padding: 22px; border-left: 3px solid var(--ochre); background: rgba(217,163,59,.08); color: var(--ink-soft); line-height: 1.8; font-size: 12px; }

.questions-section { max-width: 1260px; margin: 0 auto; padding: 140px 0; display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.questions-intro > p:last-child { margin-top: 24px; color: var(--ink-soft); font-size: 13px; }
.accordion { border-top: 1px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--rule); }
.accordion summary { min-height: 86px; list-style: none; display: grid; grid-template-columns: 46px 1fr 24px; align-items: center; gap: 10px; cursor: pointer; font-size: 16px; font-weight: 600; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { color: var(--peach); font-size: 10px; }
.accordion summary i { width: 15px; height: 15px; position: relative; }
.accordion summary i::before, .accordion summary i::after { content: ""; position: absolute; background: var(--ink); transition: transform .25s; }
.accordion summary i::before { left: 0; right: 0; top: 7px; height: 1px; }
.accordion summary i::after { top: 0; bottom: 0; left: 7px; width: 1px; }
.accordion details[open] summary i::after { transform: rotate(90deg); }
.answer { padding: 0 40px 28px 56px; color: var(--ink-soft); line-height: 1.9; font-size: 13px; }

.source-banner { max-width: 1260px; margin: 0 auto 120px; padding: 38px 42px; background: #ecd9c4; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.source-banner > div:first-child { display: flex; align-items: center; gap: 24px; }
.source-orbit { width: 54px; height: 54px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(39,59,49,.3); border-radius: 50%; color: var(--peach); }
.source-banner p { margin: 0; line-height: 1.7; color: var(--ink-soft); font-size: 11px; }
.source-banner p strong { color: var(--ink); font-size: 14px; }
.source-links { max-width: 520px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 14px 25px; white-space: nowrap; font-size: 11px; }
.source-links a { border-bottom: 1px solid var(--ink); padding-bottom: 4px; }

/* Compact view mode: one task at a time. */
main { min-height: 70vh; }
[data-view-section].is-view-active { animation: viewEnter .22s ease; }
@keyframes viewEnter { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.hero { min-height: 620px; }
.hero::before, .sticker-top, .birth-counter-orbit { display: none; }
.hero-copy { padding-top: 78px; padding-bottom: 54px; }
.hero-note { margin-top: 38px; }
.birth-counter-section { min-height: 205px; grid-template-columns: 1fr 1fr; }
.assistant-section, .stage-section, .tools-section, .allergy-section, .health-section, .support-section { padding-top: 76px; padding-bottom: 90px; }
.section-heading, .assistant-heading, .allergy-heading, .health-heading, .support-heading { margin-bottom: 38px; }
.principles-section { padding-top: 82px; padding-bottom: 82px; }
.safety-section, .questions-section { padding-top: 82px; padding-bottom: 82px; }
.source-banner { margin-bottom: 70px; }
.stage-panel, .daily-tool-panel, .assistant-panel, .allergy-panel, .health-panel, .profile-dashboard { box-shadow: 0 10px 34px rgba(52,50,40,.07); }

footer { max-width: 1360px; margin: 0 auto; border-top: 1px solid var(--rule); padding: 42px 0 50px; display: flex; justify-content: space-between; align-items: center; }
footer p, .back-top { margin: 0; color: var(--ink-soft); font-size: 10px; }
.footer-brand { font-size: 17px; }
.back-top { border-bottom: 1px solid var(--ink-soft); padding-bottom: 3px; }

@media (max-width: 1100px) {
  .site-header, .intro-strip, footer { width: calc(100% - 48px); }
  .hero { grid-template-columns: 1fr 1fr; min-height: 650px; }
  .hero-copy { padding-left: 42px; padding-top: 85px; }
  .hero h1 { font-size: 54px; }
  .birth-counter-section { width: calc(100% - 48px); grid-template-columns: 1fr 1fr; }
  .birth-counter-orbit { display: none; }
  .assistant-section, .stage-section, .tools-section, .allergy-section, .health-section, .support-section, .safety-section, .questions-section, .source-banner { width: calc(100% - 64px); }
  .stage-panel { padding: 45px; }
  .stage-summary { gap: 35px; }
  .advice-grid { grid-template-columns: 1fr 1fr; }
  .recipe-grid { grid-template-columns: 1fr 1fr; }
  .tracker-layout { grid-template-columns: 1fr; }
  .clothing-tool-layout { grid-template-columns: 1fr; }
  .fabric-grid { grid-template-columns: 1fr 1fr; }
  .assistant-panel-layout { grid-template-columns: 1fr; }
  .emergency-layout { grid-template-columns: 1fr 1fr; }
  .allergen-grid, .illness-map-grid, .first-aid-grid { grid-template-columns: 1fr 1fr; }
  .allergen-grid article:nth-child(3n), .first-aid-grid article:nth-child(3n) { border-right: 1px solid var(--rule); }
  .allergen-grid article:nth-child(even), .first-aid-grid article:nth-child(even) { border-right: 0; }
  .protocol-line { grid-template-columns: 1fr 1fr; }
  .peanut-decision { grid-template-columns: 1fr 1fr; }
  .peanut-decision > div, .peanut-decision article { border-bottom: 1px solid var(--rule); }
  .reaction-levels { grid-template-columns: 1fr; }
  .reaction-levels article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
  .missed-grid { grid-template-columns: 1fr 1fr; }
  .health-panel-intro { grid-template-columns: 62px 1fr; }
  .health-panel-intro > p { grid-column: 2; }
  .chart-controls { grid-template-columns: 1fr 1fr; }
  .month-control { grid-column: 1 / -1; }
  .preventive-grid { grid-template-columns: 1fr 1fr; }
  .preventive-grid article:nth-child(2) { border-right: 0; }
  .preventive-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .principles-section { grid-template-columns: 1fr; }
}

@media (max-width: 940px) {
  .desktop-nav { display: none; }
  .view-nav > div { width: 100%; justify-content: flex-start; padding: 0 24px; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 32px); height: 72px; }
  .desktop-nav { display: none; }
  .header-action { padding: 9px 12px; font-size: 0; }
  .header-action svg { width: 18px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { padding: 65px 24px 50px; }
  .hero h1 { font-size: 47px; }
  .hero-lede { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-note { margin-top: 42px; }
  .hero-visual { height: 480px; margin: 0 0 24px 24px; border-radius: 90px 0 0 0; }
  .hero-visual img { object-position: 66% center; }
  .sticker-top { width: 92px; height: 92px; }
  .birth-counter-section { width: 100%; padding: 38px 24px; grid-template-columns: 1fr; gap: 30px; }
  .birth-counter-value { padding: 27px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .birth-date-control { align-items: flex-start; flex-direction: column; }
  .intro-strip { width: calc(100% - 48px); flex-direction: column; align-items: flex-start; gap: 25px; }
  .intro-points { width: 100%; gap: 16px; justify-content: space-between; }
  .intro-points a { flex-direction: column; align-items: flex-start; gap: 4px; }
  .view-nav > div { padding: 0 14px; }
  .view-nav a { padding: 8px 12px; }
  .assistant-section, .stage-section, .tools-section, .allergy-section, .health-section, .support-section { width: calc(100% - 32px); padding: 90px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 42px; }
  .section-heading > p { width: auto; }
  .age-tabs { overflow-x: auto; grid-template-columns: repeat(5, 126px); scrollbar-width: none; }
  .age-tabs::-webkit-scrollbar { display: none; }
  .age-tab { min-height: 100px; padding: 20px 16px; }
  .stage-panel { padding: 30px 20px 20px; }
  .stage-summary { grid-template-columns: 1fr; gap: 35px; }
  .stage-summary h3 { font-size: 36px; }
  .today-card { padding-right: 110px; }
  .advice-grid { grid-template-columns: 1fr; margin-top: 35px; }
  .advice-card { min-height: 220px; }
  .gentle-watch { grid-template-columns: auto 1fr; padding: 23px 18px; }
  .gentle-watch .watch-rule { display: none; }
  .tools-heading { margin-bottom: 38px; }
  .tool-switcher { grid-template-columns: 1fr; }
  .tool-tab { border-right: 0; border-bottom: 1px solid var(--rule); }
  .tool-tab:last-child { border-bottom: 0; }
  .recipe-toolbar, .recipe-context { align-items: flex-start; flex-direction: column; }
  .recipe-context p { text-align: left; }
  .shuffle-button { width: 100%; }
  .recipe-grid { grid-template-columns: 1fr; padding: 0 20px 20px; }
  .recipe-toolbar, .recipe-context { padding-left: 20px; padding-right: 20px; }
  .recipe-safety { margin: 0 20px 20px; }
  .recipe-card { min-height: 245px; }
  .feeding-form, .feeding-history { padding: 36px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .tracker-stats > div { padding: 13px; }
  .tracker-stats > div:first-child { padding-left: 0; }
  .tracker-stats strong { font-size: 17px; }
  .privacy-note { padding-left: 20px; padding-right: 20px; }
  .clothing-size-form, .clothing-result { padding: 34px 20px; }
  .clothing-inputs, .size-result-grid, .fabric-grid, .clothing-safety-row { grid-template-columns: 1fr; }
  .size-result-grid article { min-height: 100px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .size-result-grid article:last-child { border-bottom: 0; }
  .size-reference-wrap, .fabric-guide { padding: 30px 20px; }
  .fabric-grid article { min-height: auto; }
  .profile-dashboard { grid-template-columns: 1fr; }
  .profile-form, .profile-summary, .compact-record-form, .record-history, .emergency-card-wrap { padding: 32px 20px; }
  .profile-fields, .record-form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: 1; }
  .profile-metrics strong { font-size: 11px; }
  .assistant-tabs { grid-template-columns: repeat(4, 156px); overflow-x: auto; scrollbar-width: none; }
  .assistant-tabs::-webkit-scrollbar { display: none; }
  .assistant-panel-layout, .emergency-layout { grid-template-columns: 1fr; }
  .simple-record-item, .calendar-item, .medical-item { grid-template-columns: 70px 1fr auto; }
  .topic-guide-grid { grid-template-columns: 1fr; }
  .topic-guide-grid details > p { padding-left: 24px; }
  .caregiver-checkin { grid-template-columns: 1fr; }
  .caregiver-copy, .caregiver-form { padding: 34px 22px; }
  .caregiver-form { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .caregiver-emergency { padding: 22px; grid-template-columns: 1fr; }
  .allergy-alert-banner { align-items: flex-start; padding: 20px; }
  .allergy-tabs { grid-template-columns: repeat(4, 166px); overflow-x: auto; scrollbar-width: none; }
  .allergy-tabs::-webkit-scrollbar { display: none; }
  .allergy-panel-lede { padding: 34px 22px; grid-template-columns: 1fr; gap: 25px; }
  .allergy-panel-lede h3 { font-size: 26px; }
  .allergen-grid, .illness-map-grid, .first-aid-grid, .reaction-timeline, .protocol-line, .peanut-decision, .missed-grid { grid-template-columns: 1fr; }
  .allergen-grid article, .first-aid-grid article, .allergen-grid article:nth-child(3n), .first-aid-grid article:nth-child(3n) { border-right: 0; }
  .intro-protocol, .often-missed { padding: 30px 20px; }
  .protocol-line article { min-height: auto; }
  .peanut-decision > div, .peanut-decision article { min-height: 155px; border-right: 0; }
  .reaction-timeline { padding: 24px 20px; }
  .reaction-axis { grid-template-columns: 1fr; gap: 8px; }
  .reaction-axis i { width: 2px; height: 18px; margin-left: 12px; }
  .reaction-timeline article { min-height: auto; }
  .anaphylaxis-actions { padding: 28px 20px; grid-template-columns: 1fr; }
  .anaphylaxis-actions ol { grid-template-columns: 1fr; }
  .illness-age-rail { width: calc(100% - 40px); margin: 24px 20px 0; display: flex; overflow-x: auto; }
  .illness-age-rail span { flex: 0 0 auto; }
  .illness-age-rail i { flex: 0 0 70px; }
  .illness-map-grid { padding: 24px 20px; }
  .illness-map-grid article { min-height: auto; }
  .must-go-strip { padding: 28px 20px; grid-template-columns: 1fr; }
  .must-go-strip ul { grid-template-columns: 1fr; }
  .minute-check { padding: 26px 22px; grid-template-columns: 1fr; gap: 22px; }
  .minute-check ul { grid-template-columns: 1fr; }
  .health-tabs { grid-template-columns: repeat(4, 154px); overflow-x: auto; scrollbar-width: none; }
  .health-tabs::-webkit-scrollbar { display: none; }
  .health-panel-intro { padding: 35px 22px; grid-template-columns: 52px 1fr; gap: 17px; }
  .health-symbol { width: 48px; height: 48px; }
  .health-panel-intro h3 { font-size: 25px; }
  .health-panel-intro > p { grid-column: 1 / -1; }
  .chart-controls { padding: 22px; grid-template-columns: 1fr; }
  .month-control { grid-column: 1; }
  .growth-chart-summary { grid-template-columns: 1fr; }
  .growth-chart-summary > div { min-height: 65px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .growth-chart-summary > div:last-child { border-bottom: 0; }
  .chart-canvas-wrap { padding: 18px 12px 10px; overflow-x: auto; }
  .growth-chart { min-width: 620px; }
  .growth-table-wrap { padding-left: 12px; padding-right: 12px; }
  .chart-medical-note { padding-left: 20px; padding-right: 20px; }
  .observation-grid, .stool-palette, .sleep-path, .preventive-grid { grid-template-columns: 1fr; }
  .observation-grid article, .stool-palette article, .sleep-path article, .preventive-grid article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
  .observation-grid article:last-child, .stool-palette article:last-child, .sleep-path article:last-child, .preventive-grid article:last-child { border-bottom: 0; }
  .observation-grid h4, .preventive-grid h4 { margin-top: 30px; }
  .evidence-line { padding: 20px 22px; }
  .evidence-line a { display: block; float: none; width: fit-content; margin: 12px 0 0; }
  .diaper-note, .sleep-alert { align-items: flex-start; flex-direction: column; }
  .stool-action-chart { padding: 22px; grid-template-columns: 1fr; }
  .action-track { grid-row: 2; }
  .action-labels { grid-column: 1; }
  .stool-action-chart > span:last-of-type { display: none; }
  .diaper-note { padding: 24px 22px; display: flex; }
  .sleep-duration-chart, .milestone-timeline { padding: 28px 20px; overflow-x: auto; }
  .visual-chart-heading { align-items: flex-start; flex-direction: column; }
  .visual-chart-heading p { text-align: left; }
  .sleep-axis, .sleep-range-row { min-width: 590px; }
  .milestone-line, .milestone-domains { min-width: 650px; }
  .sleep-alert { padding: 24px 22px; display: grid; grid-template-columns: 34px 1fr; }
  .sleep-alert a { grid-column: 2; width: fit-content; }
  .care-levels { padding: 42px 20px 28px; }
  .care-level-heading, .care-level-list { grid-template-columns: 1fr; }
  .care-level-heading .section-kicker { grid-column: 1; }
  .care-level-list article { min-height: auto; }
  .principles-section { padding: 95px 24px; gap: 55px; }
  .principle-cards { grid-template-columns: 1fr; }
  .principle-cards article { min-height: 230px; }
  .safety-section, .questions-section { width: calc(100% - 48px); padding: 95px 0; grid-template-columns: 1fr; gap: 50px; }
  .safety-content > p:first-child { font-size: 17px; }
  .accordion summary { grid-template-columns: 32px 1fr 20px; font-size: 14px; }
  .answer { padding-left: 42px; }
  .source-banner { width: calc(100% - 32px); margin-bottom: 70px; padding: 30px 24px; align-items: flex-start; flex-direction: column; }
  .source-links { flex-direction: column; gap: 14px; }
  footer { width: calc(100% - 48px); align-items: flex-start; flex-direction: column; gap: 25px; }
}

@media print {
  .reading-progress, .site-header, .hero-actions, .header-action, .back-top { display: none !important; }
  body { background: white; }
  .hero { min-height: 560px; }
  .stage-section, .allergy-section, .health-section, .principles-section, .safety-section, .questions-section { break-inside: avoid; }
  body.printing-emergency * { visibility: hidden !important; }
  body.printing-emergency #emergency-card, body.printing-emergency #emergency-card * { visibility: visible !important; }
  body.printing-emergency #emergency-card { position: absolute; inset: 0 auto auto 0; width: 100%; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
