:root{color-scheme:dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5;--accent: #6ee7b7;--accent-dim: rgba(110, 231, 183, .15);--surface: rgba(255, 255, 255, .04);--surface-hover: rgba(255, 255, 255, .07);--border: rgba(255, 255, 255, .1);--text: #fafafa;--text-dim: rgba(255, 255, 255, .6);--radius: .75rem;--radius-sm: .5rem}*{box-sizing:border-box;margin:0}html,body,#root{min-height:100vh;background:#0a0a0a;color:var(--text)}.app{max-width:480px;margin:0 auto;padding:1rem 1rem 4rem}.header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 0 1rem}.header-left{display:flex;align-items:center;gap:.75rem}.app-title{font-size:1.35rem;font-weight:700;letter-spacing:-.02em}.age-badge{font-size:.75rem;background:var(--accent-dim);color:var(--accent);padding:.2rem .6rem;border-radius:999px;font-weight:600}.btn-icon{background:none;border:none;font-size:1.25rem;cursor:pointer;padding:.25rem;border-radius:var(--radius-sm);transition:background .15s}.btn-icon:hover{background:var(--surface-hover)}.tabs{display:flex;gap:.25rem;background:var(--surface);border-radius:var(--radius);padding:.25rem;margin-bottom:1.25rem}.tab{flex:1;background:none;border:none;color:var(--text-dim);font-size:.75rem;font-weight:600;padding:.5rem .25rem;border-radius:var(--radius-sm);cursor:pointer;transition:all .15s;white-space:nowrap}.tab:hover{color:var(--text);background:#ffffff0a}.tab.active{background:#ffffff1a;color:var(--text)}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;margin-bottom:1rem}.card h2{font-size:1.1rem;font-weight:700;margin-bottom:1rem}.card h3{font-size:.95rem;font-weight:600;margin-bottom:.75rem;color:var(--text-dim)}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:1rem}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;display:flex;flex-direction:column;gap:.25rem}.stat-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim);font-weight:600}.stat-value{font-size:1.5rem;font-weight:700;letter-spacing:-.02em}.feed-list{display:flex;flex-direction:column;gap:.5rem}.feed-item,.history-item{display:flex;align-items:center;gap:.75rem;padding:.5rem 0}.history-item{padding:.75rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm)}.feed-icon{font-size:1.35rem;flex-shrink:0;width:2rem;text-align:center}.feed-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:.1rem}.feed-type{font-weight:600;font-size:.85rem}.feed-detail{font-size:.8rem;color:var(--text-dim)}.feed-time{font-size:.8rem;color:var(--text-dim);font-variant-numeric:tabular-nums;flex-shrink:0}.growth-summary{text-align:center}.measurement-row{display:flex;justify-content:center;gap:1.5rem;margin-bottom:.5rem}.measurement{display:flex;flex-direction:column;align-items:center}.measurement-val{font-size:1.25rem;font-weight:700}.measurement-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-dim)}.measurement-date{font-size:.75rem;color:var(--text-dim)}.growth-list{display:flex;flex-direction:column;gap:.5rem}.growth-item{display:flex;align-items:center;justify-content:space-between;padding:.5rem 0;border-bottom:1px solid var(--border)}.growth-item:last-child{border-bottom:none}.growth-date{font-weight:600;font-size:.85rem}.growth-values{display:flex;gap:.75rem;margin-top:.15rem}.gv{font-size:.8rem;color:var(--text-dim)}.charts-card{overflow:hidden}.chart-svg{width:100%;height:auto;display:block;margin-bottom:1rem}.chart-svg:last-child{margin-bottom:0}.chart-title{font-size:11px;fill:var(--text-dim);font-weight:600}.chart-axis{stroke:#ffffff14;stroke-width:1}.chart-label{font-size:9px;fill:#ffffff59}.chart-empty{text-align:center;padding:1.5rem;color:var(--text-dim);font-size:.85rem}.quick-actions{display:flex;gap:.75rem;margin-bottom:1rem}.btn{border:none;border-radius:var(--radius-sm);font-weight:600;font-size:.85rem;padding:.65rem 1.25rem;cursor:pointer;transition:all .15s}.btn-primary{background:var(--accent);color:#0a0a0a}.btn-primary:hover{filter:brightness(1.1)}.btn-secondary{background:var(--surface-hover);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover{background:#ffffff1a}.btn-lg{flex:1;padding:.85rem;font-size:.9rem}.btn-full{width:100%;margin-top:.5rem}.btn-delete{background:none;border:none;color:#ffffff40;cursor:pointer;font-size:.85rem;padding:.25rem .5rem;border-radius:var(--radius-sm);flex-shrink:0;transition:all .15s}.btn-delete:hover{color:#f87171;background:#f871711a}.history-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.form-row{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.85rem}.form-row label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-dim)}.form-row input,.form-row select{background:#ffffff0f;border:1px solid var(--border);border-radius:var(--radius-sm);padding:.6rem .75rem;color:var(--text);font-size:.9rem;font-family:inherit;outline:none;transition:border-color .15s}.form-row input:focus,.form-row select:focus{border-color:var(--accent)}.form-row input::placeholder{color:#ffffff40}.feed-type-selector{display:flex;gap:.5rem;margin-bottom:1rem}.type-btn{flex:1;background:var(--surface-hover);border:2px solid transparent;border-radius:var(--radius-sm);padding:.75rem .5rem;color:var(--text-dim);font-size:.8rem;font-weight:600;cursor:pointer;transition:all .15s;text-align:center}.type-btn:hover{background:#ffffff14;color:var(--text)}.type-btn.active{border-color:var(--accent);background:var(--accent-dim);color:var(--accent)}.btn-group{display:flex;gap:.5rem}.btn-sm{flex:1;background:var(--surface-hover);border:1px solid var(--border);border-radius:var(--radius-sm);padding:.5rem;color:var(--text-dim);font-size:.8rem;font-weight:600;cursor:pointer;transition:all .15s}.btn-sm:hover{background:#ffffff14}.btn-sm.active{background:var(--accent-dim);border-color:var(--accent);color:var(--accent)}.profile-editor{animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.history-day{margin-bottom:1.25rem}.day-header{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-dim);margin-bottom:.5rem;padding-left:.25rem}.empty-state{text-align:center;padding:3rem 1.5rem}.empty-state p{color:var(--text-dim);font-size:.95rem}@media(max-width:360px){.tab{font-size:.65rem;padding:.4rem .15rem}.stats-grid{grid-template-columns:1fr 1fr;gap:.5rem}.stat-value{font-size:1.2rem}}
