@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;600;700&family=Rubik:wght@500;600&display=swap');
:root { --ink:#26312d; --muted:#78817d; --paper:#f5f1eb; --surface:#fffdf9; --line:#e8e1d8; --sage:#3f6858; --sage-soft:#e1ebe5; --coral:#df826d; --coral-soft:#f8e3dc; --blue-soft:#e0eaf0; --gold:#d59f4b; --shadow:0 18px 50px rgba(66,58,48,.08); }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:"Heebo",sans-serif; min-height:100vh; }
button,input { font:inherit; } button { color:inherit; }
.shell { max-width:1180px; margin:auto; padding:0 28px; }
.topbar { height:92px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); }
.brand { color:inherit; display:flex; gap:12px; align-items:center; text-decoration:none; direction:ltr; }
.brand-mark { width:43px; height:43px; border-radius:14px 14px 14px 5px; background:var(--sage); color:white; display:grid; place-items:center; font:600 22px "Rubik"; box-shadow:0 8px 20px rgba(63,104,88,.2); }
.brand span:last-child { display:flex; flex-direction:column; }.brand b { font:600 19px "Rubik"; letter-spacing:-.3px; }.brand small { color:var(--muted); font-size:11px; margin-top:2px; }
.header-actions { display:flex; align-items:center; gap:10px; }.icon-button,.auth-button,.add-baby,.close { border:0; cursor:pointer; }.icon-button { width:42px; height:42px; border-radius:50%; background:transparent; font-size:27px; }.auth-button { min-height:42px; border-radius:22px; padding:0 16px; color:#fff; background:var(--coral); font-size:13px; font-weight:700; }
main { padding:58px 0 64px; }.hero { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:42px; }
.eyebrow { margin:0 0 7px; color:var(--coral); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
h1,h2 { font-family:"Rubik",sans-serif; letter-spacing:-.04em; margin:0; } h1 { font-size:clamp(34px,5vw,54px); line-height:1.05; } h1 span { color:var(--gold); }.hero>div>p:last-child { color:var(--muted); font-size:17px; margin:12px 0 0; }
.primary { border:0; border-radius:15px; background:var(--sage); color:white; padding:13px 21px; font-weight:700; cursor:pointer; box-shadow:0 9px 23px rgba(63,104,88,.19); transition:.2s ease; }.primary:hover { transform:translateY(-2px); background:#34594b; }
.baby-tabs { display:flex; gap:12px; align-items:stretch; margin-bottom:48px; }.baby-tab { min-width:210px; display:flex; align-items:center; gap:12px; padding:11px 13px; border:1px solid transparent; border-radius:17px; background:transparent; cursor:pointer; text-align:right; }.baby-tab.active { background:var(--surface); border-color:var(--line); box-shadow:0 8px 25px rgba(66,58,48,.05); }.baby-tab>span:last-child { display:flex; flex-direction:column; font-weight:700; }.baby-tab small { color:var(--muted); font-weight:400; }.baby-dot { width:44px; height:44px; flex:0 0 44px; border-radius:50%; display:grid; place-items:center; font-weight:700; }.baby-dot.coral { background:var(--coral-soft); color:#a45242; }.baby-dot.blue { background:var(--blue-soft); color:#456b80; }.add-baby { width:44px; margin:11px 0; border-radius:50%; color:var(--muted); background:transparent; border:1px dashed #bcb5ab; font-size:20px; }
.summary,.history { background:var(--surface); border:1px solid var(--line); border-radius:28px; padding:30px; box-shadow:var(--shadow); }.section-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom:24px; }h2 { font-size:25px; }.last-sync { color:var(--muted); margin:0; font-size:13px; }.last-sync span { display:inline-block; width:7px; height:7px; border-radius:50%; background:#71a086; margin-left:6px; }
.summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }.metric { position:relative; min-height:170px; border-radius:21px; padding:22px; overflow:hidden; }.metric.feed { background:var(--coral-soft); }.metric.bottle { background:var(--blue-soft); }.metric.diaper { background:var(--sage-soft); }.metric-icon { position:absolute; top:19px; left:19px; font-size:28px; opacity:.6; }.metric span,.metric small { display:block; color:#59625e; }.metric strong { font:600 42px "Rubik"; display:inline-block; margin:7px 0 0; }.metric small { display:inline-block; margin-right:7px; }.metric p { position:absolute; bottom:16px; margin:0; padding-top:10px; border-top:1px solid rgba(40,50,46,.12); left:22px; right:22px; color:#59625e; font-size:13px; }
.history { margin-top:20px; }.filters { display:flex; padding:4px; gap:3px; background:var(--paper); border-radius:12px; }.filter { border:0; background:transparent; padding:7px 13px; border-radius:9px; color:var(--muted); cursor:pointer; font-size:13px; }.filter.active { background:white; color:var(--ink); box-shadow:0 2px 8px rgba(0,0,0,.05); font-weight:600; }
.timeline { display:grid; }.event { display:grid; grid-template-columns:65px 46px 1fr auto; gap:14px; align-items:center; padding:17px 4px; border-top:1px solid var(--line); animation:rise .35s ease both; }.event-time { font:500 14px "Rubik"; direction:ltr; text-align:right; }.event-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:14px; font-size:19px; }.event.feed .event-icon { background:var(--coral-soft); color:#a45242; }.event.diaper .event-icon { background:var(--sage-soft); color:var(--sage); }.event h3 { margin:0; font-size:15px; }.event p { margin:3px 0 0; color:var(--muted); font-size:13px; }.event-author { font-size:12px; color:#9a9f9c; }.empty { color:var(--muted); text-align:center; padding:44px; }
footer { border-top:1px solid var(--line); padding:25px 0 40px; display:flex; justify-content:space-between; color:var(--muted); font-size:12px; }
dialog { width:min(520px,calc(100% - 28px)); border:1px solid var(--line); border-radius:26px; padding:0; color:var(--ink); background:var(--surface); box-shadow:0 30px 90px rgba(30,35,32,.25); }dialog::backdrop { background:rgba(38,49,45,.42); backdrop-filter:blur(3px); }dialog form { padding:28px; }.dialog-header { display:flex; align-items:start; justify-content:space-between; }.close { background:var(--paper); width:36px; height:36px; border-radius:50%; font-size:24px; }.activity-picker { display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin:26px 0 20px; }.activity-picker input { position:absolute; opacity:0; }.activity-picker label { display:flex; flex-direction:column; align-items:center; gap:5px; border:1px solid var(--line); padding:13px 5px; border-radius:15px; cursor:pointer; }.activity-picker label:has(input:checked) { border-color:var(--sage); background:var(--sage-soft); }.activity-picker span { font-size:21px; }.field { display:block; font-weight:600; margin-top:15px; }.field input { width:100%; margin-top:6px; border:1px solid var(--line); background:white; border-radius:12px; padding:11px 13px; color:var(--ink); }.field input:focus { outline:2px solid rgba(63,104,88,.2); border-color:var(--sage); }.form-note { color:var(--muted); font-size:12px; }.full { width:100%; margin-top:7px; }.toast { position:fixed; bottom:24px; left:50%; transform:translate(-50%,25px); opacity:0; pointer-events:none; background:var(--ink); color:white; padding:11px 18px; border-radius:12px; transition:.25s; }.toast.show { opacity:1; transform:translate(-50%,0); }
@keyframes rise { from { opacity:0; transform:translateY(7px); } }
.hidden { display: none !important; }
.welcome-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 48px 32px; box-shadow: var(--shadow); text-align: center; max-width: 600px; margin: 40px auto; animation: rise .35s ease both; }
.welcome-icon { font-size: 56px; margin-bottom: 16px; }
.welcome-card h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; }
.welcome-subtitle { color: var(--muted); font-size: 17px; margin: 0 0 32px; line-height: 1.5; }
.welcome-features { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; color: var(--ink); background: var(--paper); padding: 8px 16px; border-radius: 12px; }
.feature-icon { font-size: 18px; }
.welcome-login-btn { font-size: 16px; padding: 14px 28px; border-radius: 16px; margin-bottom: 14px; }
.welcome-note { color: var(--muted); font-size: 13px; margin: 0; }
@media (max-width:720px) { .shell { padding:0 17px; }.topbar { height:75px; } main { padding-top:35px; }.hero { display:block; margin-bottom:29px; }.hero .primary { margin-top:22px; }.baby-tabs { overflow:auto; margin-inline:-17px; padding:0 17px 8px; margin-bottom:28px; }.baby-tab { min-width:185px; }.summary,.history,.welcome-card { padding:21px; border-radius:22px; }.summary-grid { grid-template-columns:1fr; }.metric { min-height:140px; }.history-heading { display:block; }.filters { margin-top:18px; width:max-content; }.event { grid-template-columns:50px 40px 1fr; gap:9px; }.event-author { display:none; } footer { display:block; } footer span { display:block; margin-bottom:4px; } }
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }
