:root{--bg:#f7f7f5;--surface:#fff;--text-primary:#1d1d1f;--text-secondary:#86868b;--text-tertiary:#aeaeb2;--accent:#7c6aef;--accent-light:#f0eeff;--accent-hover:#6b59de;--border:#e5e5ea;--danger:#e5484d;--danger-light:#fff0f0;--cat-milk:#5b8fb9;--cat-milk-bg:#eef4f8;--cat-food:#d4915e;--cat-food-bg:#fbf3ec;--cat-diaper:#5ea88a;--cat-diaper-bg:#edf6f1;--cat-sleep:#8b7bb8;--cat-sleep-bg:#f1eff8;--cat-other:#8e8e93;--cat-other-bg:#f2f2f7;--shadow-sm:0 1px 2px #0000000a;--shadow:0 2px 8px #0000000f;--radius:16px;--radius-sm:12px;--radius-xs:8px}[data-theme=classic]{--bg:#fff5f7;--surface:#fff;--text-primary:#1a1a2e;--text-secondary:#555;--text-tertiary:#999;--accent:#ff6b9d;--accent-light:#ffe4ec;--accent-hover:#e8558a;--border:#f0e0e4;--danger:#f44336;--danger-light:#ffebee;--cat-milk:#2196f3;--cat-milk-bg:#e3f2fd;--cat-food:#ff9800;--cat-food-bg:#fff3e0;--cat-diaper:#4caf50;--cat-diaper-bg:#e8f5e9;--cat-sleep:#9c27b0;--cat-sleep-bg:#f3e5f5;--cat-other:#607d8b;--cat-other-bg:#eceff1;--shadow:0 2px 12px #00000014}[data-theme=classic] .card{box-shadow:var(--shadow);border-color:#0000}[data-theme=classic] .bottom-nav{border-top-color:#0000;box-shadow:0 -2px 12px #00000014}[data-theme=cozy]{--bg:#fff8f0;--surface:#fff;--text-primary:#1a1a1a;--text-secondary:#444;--text-tertiary:#777;--accent:#e67e22;--accent-light:#fff0dd;--accent-hover:#d35400;--border:#e0d5c8;--danger:#c0392b;--danger-light:#fdedec;--cat-milk:#2980b9;--cat-milk-bg:#d6eaf8;--cat-food:#e67e22;--cat-food-bg:#fdebd0;--cat-diaper:#27ae60;--cat-diaper-bg:#d5f5e3;--cat-sleep:#8e44ad;--cat-sleep-bg:#e8daef;--cat-other:#7f8c8d;--cat-other-bg:#eaeded;--shadow:0 3px 14px #0000001a;--radius:20px;--radius-sm:16px;--radius-xs:12px}[data-theme=cozy] html,html[data-theme=cozy]{font-size:20px}[data-theme=cozy] body{letter-spacing:.02em;font-weight:500;line-height:1.7}[data-theme=cozy] .page{padding:24px 18px 130px}[data-theme=cozy] .page-title{gap:10px;margin-bottom:24px;font-size:1.5rem;font-weight:700}[data-theme=cozy] .card{box-shadow:var(--shadow);border-radius:var(--radius);border-color:#0000;margin-bottom:16px;padding:24px}[data-theme=cozy] .btn{border-radius:var(--radius-xs);gap:10px;padding:16px 28px;font-size:1.0625rem;font-weight:600}[data-theme=cozy] .btn-lg{padding:20px 32px;font-size:1.125rem}[data-theme=cozy] input,[data-theme=cozy] select,[data-theme=cozy] textarea{border-radius:var(--radius-xs);border-width:2px;padding:16px 18px;font-size:1.0625rem}[data-theme=cozy] .bottom-nav{padding:10px 0;padding-bottom:max(10px, env(safe-area-inset-bottom));border-top:none;box-shadow:0 -3px 16px #0000001a}[data-theme=cozy] .nav-item{gap:4px;min-width:72px;padding:8px 18px}[data-theme=cozy] .nav-item .nav-icon{height:36px;font-size:1.5rem}[data-theme=cozy] .nav-item .nav-label{font-size:.8125rem;font-weight:600}[data-theme=cozy] .section-title{margin-bottom:16px;font-size:.9375rem;font-weight:700}[data-theme=cozy] .event-tag{border-radius:24px;gap:6px;padding:6px 16px;font-size:.9375rem;font-weight:600}[data-theme=cozy] .toast{border-radius:var(--radius);padding:18px 32px;font-size:1.0625rem}[data-theme=cozy] .dialog-box{border-radius:var(--radius);padding:32px 28px}[data-theme=cozy] .dialog-box h3{font-size:1.25rem;font-weight:700}[data-theme=cozy] .dialog-box p{font-size:1.0625rem}[data-theme=cozy] .dialog-actions{gap:16px}[data-theme=cozy] .empty-state{padding:56px 24px}[data-theme=cozy] .empty-state .empty-icon{margin-bottom:16px;font-size:3.5rem}[data-theme=cozy] .empty-state .empty-text{font-size:1.125rem;font-weight:600}[data-theme=cozy] .step-dots span{width:6px;height:6px;margin:0 3px}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;margin:0;padding:0}html{font-size:16px}body{background-color:var(--bg);color:var(--text-primary);letter-spacing:.01em;-webkit-font-smoothing:antialiased;min-height:100dvh;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;line-height:1.5;overflow-x:hidden}#root{flex-direction:column;min-height:100dvh;display:flex}button{cursor:pointer;-webkit-appearance:none;border:none;outline:none;font-family:inherit;font-size:.9375rem}input,select,textarea{border:1px solid var(--border);border-radius:var(--radius-xs);background:var(--surface);width:100%;color:var(--text-primary);outline:none;padding:12px 14px;font-family:inherit;font-size:1rem;transition:border-color .2s}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-light)}.page{flex:1;width:100%;max-width:600px;margin:0 auto;padding:20px 16px 100px}.page-title{color:var(--text-primary);align-items:center;gap:8px;margin-bottom:20px;font-size:1.375rem;font-weight:600;display:flex}.card{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);margin-bottom:12px;padding:20px}.btn{border-radius:var(--radius-xs);color:#fff;justify-content:center;align-items:center;gap:8px;padding:12px 24px;font-size:.9375rem;font-weight:500;transition:all .15s;display:inline-flex}.btn:active{opacity:.9;transform:scale(.97)}.btn-accent{background:var(--accent)}.btn-accent:hover{background:var(--accent-hover)}.btn-danger{background:var(--danger)}.btn-ghost{color:var(--text-secondary);background:0 0}.btn-ghost:hover{background:var(--bg)}.btn-outline{border:1px solid var(--border);color:var(--text-primary);background:0 0}.btn-outline:hover{border-color:var(--accent);color:var(--accent)}.btn-full{width:100%}.btn-lg{border-radius:var(--radius-sm);padding:16px 28px;font-size:1rem}.bottom-nav{background:var(--surface);padding:6px 0;padding-bottom:max(6px, env(safe-area-inset-bottom));border-top:1px solid var(--border);z-index:100;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0}.nav-item{color:var(--text-tertiary);background:0 0;flex-direction:column;align-items:center;gap:2px;min-width:64px;padding:6px 16px;font-size:.6875rem;font-weight:500;transition:color .2s;display:flex}.nav-item.active{color:var(--accent)}.nav-item .nav-icon{justify-content:center;align-items:center;height:28px;font-size:1.25rem;line-height:1;display:flex}.nav-item .nav-label{font-size:.6875rem}.voice-btn{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-ms-touch-action:none}@keyframes recordPulse{0%{box-shadow:0 0 #e5484d66}70%{box-shadow:0 0 0 20px #e5484d00}to{box-shadow:0 0 #e5484d00}}.recording-pulse{animation:1.5s ease-in-out infinite recordPulse}@keyframes breathe{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(.97)}}.transcribing-pulse{animation:1.5s ease-in-out infinite breathe}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.fade-in{animation:.25s ease-out fadeIn}@keyframes dotPulse{0%,80%,to{opacity:.3}40%{opacity:1}}.step-dots span{background:var(--accent);border-radius:50%;width:4px;height:4px;margin:0 2px;animation:1.4s ease-in-out infinite dotPulse;display:inline-block}.step-dots span:nth-child(2){animation-delay:.2s}.step-dots span:nth-child(3){animation-delay:.4s}.toast{color:#fff;border-radius:var(--radius-sm);z-index:1000;-webkit-backdrop-filter:blur(20px);background:#1d1d1fe0;padding:14px 28px;font-size:.9375rem;animation:.2s ease-out fadeIn;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%)}.empty-state{text-align:center;color:var(--text-secondary);padding:48px 20px}.empty-state .empty-icon{justify-content:center;align-items:center;margin-bottom:12px;font-size:2.5rem;display:flex}.empty-state .empty-text{font-size:1rem;font-weight:500}.event-tag{border-radius:20px;align-items:center;gap:4px;padding:4px 12px;font-size:.8125rem;font-weight:500;display:inline-flex}.dialog-overlay{z-index:999;-webkit-backdrop-filter:blur(4px);background:#0000004d;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.dialog-box{background:var(--surface);border-radius:var(--radius);text-align:center;width:100%;max-width:360px;padding:28px 24px;animation:.2s ease-out fadeIn}.dialog-box h3{margin-bottom:8px;font-size:1.125rem;font-weight:600}.dialog-box p{color:var(--text-secondary);margin-bottom:24px;font-size:.9375rem}.dialog-actions{gap:12px;display:flex}.dialog-actions .btn{flex:1}.section-title{color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;margin-bottom:12px;font-size:.8125rem;font-weight:600}::-webkit-scrollbar{width:4px}::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}
