.app-shell{display:flex;flex-direction:column;height:100vh;overflow:hidden}.app-header{background:linear-gradient(135deg,var(--color-primary) 0%,var(--color-primary-dark) 100%);color:#fff;padding:var(--space-lg);text-align:center;box-shadow:var(--shadow-md);padding-top:max(var(--space-lg),env(safe-area-inset-top))}.app-header h1{font-size:1.875rem;font-weight:700;margin:0}.app-header p{font-size:.875rem;opacity:.9;margin:var(--space-sm) 0 0 0}.app-dev-hint{font-size:.875rem;opacity:.85;margin-top:var(--space-xs)}.app-main{flex:1;overflow-y:auto;padding:var(--space-lg);background-color:var(--color-surface-alt)}.app-footer{background-color:var(--color-surface);border-top:1px solid var(--color-border);padding:var(--space-md);text-align:center;padding-bottom:max(var(--space-md),env(safe-area-inset-bottom));font-size:.875rem;color:var(--color-text-secondary)}@media (min-width: 768px){.app-main{padding:var(--space-xl)}}.screen{display:flex;flex-direction:column;min-height:100%;width:100%;background:linear-gradient(to bottom,var(--color-primary-light) 0%,var(--color-surface) 30%,var(--color-surface) 70%,var(--color-primary-light) 100%)}.chat-screen{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:16px 0;background:radial-gradient(circle at top,#020617,#020617 40%,#020617);color:#f9fafb;--color-text: #f9fafb;--color-text-secondary: rgba(249, 250, 251, .6)}.chat-phoneFrame{width:100%;max-width:480px;padding:0 16px}.chat-card{display:flex;flex-direction:column;min-height:calc(100vh - 32px);border-radius:28px;background:#020617;box-shadow:0 18px 40px #0000008c;overflow:hidden}.chat-header{padding:20px 16px 12px;display:flex;flex-direction:column;align-items:center;position:relative;border-bottom:1px solid rgba(148,163,184,.1)}.chat-headerAvatar{width:68px;height:68px;border-radius:999px;overflow:hidden;box-shadow:0 0 0 3px #6366f14d,0 4px 12px #00000040}.chat-headerAvatar img{width:100%;height:100%;object-fit:cover}.chat-headerName{margin-top:10px;font-size:18px;font-weight:600;color:#f9fafb;letter-spacing:.3px}.chat-headerSubtitle{margin-top:4px;font-size:13px;color:#f9fafb99}.chat-debugButton{position:absolute;top:16px;right:16px;width:32px;height:32px;border-radius:999px;background:#0f172acc;border:1px solid rgba(148,163,184,.25);color:#e5e7eb;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.chat-debugButton:hover{background:#0f172a;border-color:#94a3b866}.chat-conversationPanel{flex:1;display:flex;flex-direction:column;padding:0 12px;min-height:0}.chat-messagesArea{flex:1;overflow-y:auto;overflow-x:hidden;padding:12px 4px;min-height:0;-webkit-overflow-scrolling:touch}.chat-messagesArea :global(.message--assistant){align-self:flex-start;max-width:80%;margin-bottom:8px;padding:10px 12px;border-radius:18px 18px 18px 6px;background:#1f2937f2;color:#f9fafb;font-size:15px;line-height:1.5}.chat-messagesArea :global(.message--user){align-self:flex-end;max-width:80%;margin-bottom:8px;padding:10px 12px;border-radius:18px 18px 6px;background:#6366f1;color:#fff;font-size:15px;line-height:1.5}.chat-warningBanner{margin:8px 0 12px;padding:10px 12px;border-radius:12px;background:#fbbf2426;border-left:3px solid rgba(251,191,36,.5);color:#fef3c7f2;font-size:13px;line-height:1.4}.chat-errorBanner{margin:0 0 10px;padding:10px 12px;border-radius:12px;background:#f8717126;border-left:3px solid rgba(248,113,113,.5);color:#fecaca;font-size:13px;line-height:1.4}.chat-shortcutsRow{display:flex;justify-content:space-between;gap:10px;padding:10px 0;flex-shrink:0}.chat-shortcut{width:52px;height:52px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#0f172ae6;color:#e5e7eb;border:1px solid rgba(148,163,184,.35);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);font-size:20px;cursor:pointer;transition:all .2s ease;flex-shrink:0}.chat-shortcut:hover:not(:disabled){background:#0f172a;border-color:#94a3b880;transform:scale(1.05)}.chat-shortcut:active:not(:disabled){transform:scale(.95)}.chat-shortcut:disabled{opacity:.4;cursor:not-allowed}.chat-inputDock{padding:10px 12px;padding-bottom:max(10px,env(safe-area-inset-bottom));background:#020817;display:flex;align-items:center;gap:8px;border-top:1px solid rgba(148,163,184,.35);flex-shrink:0}.chat-textarea{flex:1;min-height:40px;max-height:100px;resize:none;border-radius:999px;padding:10px 16px;background:#fff;color:#111827;border:none;font-family:inherit;font-size:15px;line-height:1.5;outline:none;transition:box-shadow .2s ease}.chat-textarea:focus{box-shadow:0 0 0 2px #6366f166}.chat-textarea::placeholder{color:#6b7280}.chat-textarea:disabled{opacity:.6;cursor:not-allowed}.chat-sendButton{min-width:44px;height:44px;border-radius:999px;padding:0 18px;background:#6366f1;color:#fff;border:none;font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.chat-sendButton:hover:not(:disabled){background:#4f46e5;transform:scale(1.05)}.chat-sendButton:active:not(:disabled){transform:scale(.95)}.chat-sendButton:disabled{opacity:.4;cursor:not-allowed}.chat-settingsButton{min-width:44px;height:44px;border-radius:999px;padding:0;background:#0f172ae6;color:#e5e7eb;border:1px solid rgba(148,163,184,.35);font-size:18px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;flex-shrink:0}.chat-settingsButton:hover:not(:disabled){background:#0f172a;border-color:#94a3b880;transform:scale(1.05)}.chat-settingsButton:active:not(:disabled){transform:scale(.95)}.chat-settingsButton:disabled{opacity:.4;cursor:not-allowed}@media (max-width: 480px){.chat-phoneFrame{padding:0 8px}.chat-card{border-radius:20px;min-height:calc(100vh - 16px)}.chat-screen{padding:8px 0}}@media (max-height: 600px){.chat-header{padding:12px 16px 8px}.chat-headerAvatar{width:56px;height:56px}.chat-headerName{font-size:16px}.chat-headerSubtitle{font-size:12px}}.stack{display:flex}.stack-vertical{flex-direction:column}.stack-horizontal{flex-direction:row}.stack-gap-xs{gap:var(--space-xs)}.stack-gap-sm{gap:var(--space-sm)}.stack-gap-md{gap:var(--space-md)}.stack-gap-lg{gap:var(--space-lg)}.stack-gap-xl{gap:var(--space-xl)}.stack-align-start{align-items:flex-start}.stack-align-center{align-items:center}.stack-align-end{align-items:flex-end}.stack-align-stretch{align-items:stretch}.stack-justify-start{justify-content:flex-start}.stack-justify-center{justify-content:center}.stack-justify-end{justify-content:flex-end}.stack-justify-between{justify-content:space-between}.glass-card{background:#fffc;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);border-radius:var(--radius-lg);padding:var(--space-lg);box-shadow:var(--shadow-md);transition:all .3s ease}.glass-card:hover{background:#ffffffe6;box-shadow:var(--shadow-lg)}.glass-card.dark{background:#111827bf;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid rgba(148,163,184,.45);box-shadow:0 4px 12px #0000004d}.glass-card.dark:hover{background:#111827d9;box-shadow:0 8px 16px #0006}@supports not (backdrop-filter: blur(10px)){.glass-card{background:var(--color-surface);box-shadow:var(--shadow-md)}.glass-card.dark{background:#111827f2}}.debug-console{position:fixed;bottom:20px;right:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;z-index:9999;font-size:13px}.debug-console-toggle{background:#2d3748;color:#fff;border:none;padding:8px 12px;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500;transition:all .2s ease;box-shadow:0 2px 8px #00000026}.debug-console-toggle:hover{background:#1a202c;box-shadow:0 4px 12px #00000040}.debug-console-panel{position:fixed;bottom:70px;right:20px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 20px #00000026;width:600px;max-height:70vh;display:flex;flex-direction:column;overflow:hidden;animation:slideUp .3s ease}@keyframes slideUp{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.debug-console-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e2e8f0;background:#f7fafc}.debug-console-header h3{margin:0;font-size:14px;font-weight:600;color:#1a202c}.close-btn{background:none;border:none;color:#718096;cursor:pointer;font-size:16px;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:2px;transition:all .2s ease}.close-btn:hover{background:#e2e8f0;color:#1a202c}.debug-console-tabs{display:flex;border-bottom:1px solid #e2e8f0;background:#f7fafc}.tab-btn{flex:1;padding:8px 12px;border:none;background:transparent;color:#718096;cursor:pointer;font-size:13px;font-weight:500;transition:all .2s ease;border-bottom:2px solid transparent}.tab-btn:hover{color:#4a5568;background:#edf2f7}.tab-btn.active{color:#3182ce;border-bottom-color:#3182ce;background:#fff}.debug-console-content{flex:1;overflow-y:auto;padding:12px}.tab-controls{display:flex;gap:12px;margin-bottom:12px}.tab-controls label{display:flex;align-items:center;gap:6px;font-size:12px;color:#4a5568}.tab-controls select{padding:4px 6px;border:1px solid #cbd5e0;border-radius:3px;font-size:12px;background:#fff;color:#2d3748;cursor:pointer}.metrics-row{display:flex;gap:12px;margin-bottom:12px}.metric-card{flex:1;background:#f7fafc;border:1px solid #e2e8f0;border-radius:4px;padding:10px 12px;text-align:center}.metric-label{font-size:11px;color:#718096;text-transform:uppercase;font-weight:600;margin-bottom:4px}.metric-value{font-size:18px;font-weight:700;color:#1a202c}.traces-container{display:flex;gap:12px;height:400px}.traces-list{flex:1;border:1px solid #e2e8f0;border-radius:4px;overflow-y:auto;background:#fff}.trace-item{padding:8px 10px;border-bottom:1px solid #edf2f7;cursor:pointer;transition:background .2s ease}.trace-item:hover{background:#f7fafc}.trace-item.selected{background:#ebf8ff;border-left:3px solid #3182ce;padding-left:7px}.trace-header{display:flex;gap:8px;margin-bottom:4px;font-size:11px}.trace-level{font-weight:600;padding:2px 4px;border-radius:2px;text-transform:uppercase}.trace-level.debug{color:#2b6cb0;background:#bee3f8}.trace-level.info{color:#22543d;background:#c6f6d5}.trace-level.warning{color:#7c2d12;background:#fed7aa}.trace-level.error{color:#742a2a;background:#fed7d7}.trace-context{color:#4a5568;font-weight:500}.trace-timestamp{color:#a0aec0;margin-left:auto}.trace-message{font-size:11px;color:#718096;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.trace-detail{flex:1;border:1px solid #e2e8f0;border-radius:4px;background:#f7fafc;display:flex;flex-direction:column;overflow:hidden}.trace-detail-header{display:flex;justify-content:space-between;align-items:center;padding:8px 10px;border-bottom:1px solid #e2e8f0;background:#fff}.trace-detail-header h4{margin:0;font-size:12px;font-weight:600}.trace-detail-header button{background:none;border:none;cursor:pointer;color:#718096;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center}.trace-detail-header button:hover{color:#1a202c}.detail-content{flex:1;overflow-y:auto;padding:10px;font-size:11px}.detail-row{display:flex;gap:8px;margin-bottom:8px;align-items:flex-start}.detail-row .label{font-weight:600;color:#4a5568;min-width:80px;flex-shrink:0}.detail-row code{font-family:Monaco,Courier New,monospace;background:#edf2f7;padding:2px 4px;border-radius:2px;color:#2d3748;word-break:break-all}.detail-row pre{background:#edf2f7;padding:8px;border-radius:2px;overflow-x:auto;margin:0;font-size:10px;white-space:pre-wrap;word-wrap:break-word}.errors-section{margin-top:12px}.errors-section h4{margin:0 0 8px;font-size:12px;font-weight:600;color:#1a202c}.errors-table{width:100%;border-collapse:collapse;border:1px solid #e2e8f0;border-radius:4px;overflow:hidden}.errors-table thead{background:#f7fafc}.errors-table th{padding:6px 8px;text-align:left;font-weight:600;font-size:11px;color:#4a5568;border-bottom:1px solid #e2e8f0}.errors-table td{padding:6px 8px;border-bottom:1px solid #edf2f7;font-size:11px;color:#2d3748}.errors-table tbody tr:hover{background:#f7fafc}.llm-section{margin-top:12px;padding:10px;background:#f7fafc;border:1px solid #e2e8f0;border-radius:4px}.llm-section h4{margin:0 0 6px;font-size:12px;font-weight:600;color:#1a202c}.llm-section p{margin:4px 0;font-size:11px;color:#4a5568}.requests-tab{padding:20px;text-align:center}.placeholder{color:#718096;margin:0}.loading{padding:20px;text-align:center;color:#718096;font-style:italic}.error{padding:12px;background:#fed7d7;color:#742a2a;border:1px solid #fc8181;border-radius:4px;font-size:12px}.empty{padding:20px;text-align:center;color:#a0aec0;font-size:12px}.metrics-sparkline{margin-bottom:16px;padding:12px;background:#f7fafc;border-radius:6px}.metrics-sparkline h4{margin:0 0 8px;font-size:13px;font-weight:600;color:#2d3748}.sparkline-container{display:flex;flex-direction:column;gap:8px}.sparkline-svg{width:100%;height:60px;border:1px solid #e2e8f0;border-radius:4px;background:#fff}.sparkline-legend{display:flex;justify-content:center;gap:16px;font-size:11px}.legend-item{font-weight:600}.debug-console-content::-webkit-scrollbar,.traces-list::-webkit-scrollbar,.trace-detail::-webkit-scrollbar,.detail-content::-webkit-scrollbar{width:6px}.debug-console-content::-webkit-scrollbar-track,.traces-list::-webkit-scrollbar-track,.trace-detail::-webkit-scrollbar-track,.detail-content::-webkit-scrollbar-track{background:#f7fafc}.debug-console-content::-webkit-scrollbar-thumb,.traces-list::-webkit-scrollbar-thumb,.trace-detail::-webkit-scrollbar-thumb,.detail-content::-webkit-scrollbar-thumb{background:#cbd5e0;border-radius:3px}.debug-console-content::-webkit-scrollbar-thumb:hover,.traces-list::-webkit-scrollbar-thumb:hover,.trace-detail::-webkit-scrollbar-thumb:hover,.detail-content::-webkit-scrollbar-thumb:hover{background:#a0aec0}@media (max-width: 1024px){.debug-console-panel{width:calc(100vw - 40px);max-height:60vh}}.today-card{width:100%}.today-card-content{display:flex;flex-direction:column;gap:.75rem}.today-card-header{display:flex;justify-content:space-between;align-items:center}.today-card-title{margin:0;font-size:1.25rem;font-weight:600;color:var(--text-primary, #1a1a1a)}.today-card-daily-text{margin:0;font-size:.95rem;line-height:1.5;color:var(--text-secondary, #4a4a4a)}.today-card-meta{display:flex;justify-content:space-between;align-items:center;gap:.5rem;flex-wrap:wrap}.today-card-time-label{font-size:.875rem;color:var(--text-tertiary, #6a6a6a)}.today-card-status-pill{padding:.25rem .75rem;border-radius:1rem;font-size:.75rem;font-weight:500;text-transform:uppercase;letter-spacing:.05em}.today-card-status-pill--stable{background:#22c55e26;color:#15803d}.today-card-status-pill--needs-attention{background:#eab30826;color:#78350f}.today-card-status-pill--unknown{background:#9ca3af26;color:#4b5563}.today-card-status-pill--connection-issue{background:#ef444426;color:#b91c1c}.today-card-next-action{margin-top:.25rem}.next-action-chip{display:inline-block;padding:.5rem 1rem;background:#3b82f61a;border:1px solid rgba(59,130,246,.3);border-radius:.5rem;font-size:.875rem;color:#1d4ed8}.today-card--loading{min-height:150px}.today-card-skeleton{display:flex;flex-direction:column;gap:.75rem}.skeleton-line{height:1rem;background:linear-gradient(90deg,#c8c8c833 25%,#c8c8c84d,#c8c8c833 75%);background-size:200% 100%;animation:shimmer 2s infinite;border-radius:.25rem}.skeleton-line--title{width:40%;height:1.5rem}.skeleton-line--text{width:100%}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.today-card--error{background:#ef44441a;border:1px solid rgba(239,68,68,.3);display:flex;flex-direction:column;gap:.75rem}.today-card-error-message{margin:0;color:#b91c1c;font-size:.875rem}.today-card-retry-button{padding:.5rem 1rem;background:#3b82f61a;border:1px solid rgba(59,130,246,.3);border-radius:.5rem;font-size:.875rem;color:#1d4ed8;cursor:pointer;transition:all .2s ease}.today-card-retry-button:hover{background:#3b82f633;border-color:#3b82f680}.today-card-retry-button:focus{outline:2px solid rgb(59,130,246);outline-offset:2px}.today-card-retry-button:active{transform:scale(.98)}.zen-home-container{display:flex;flex-direction:column;height:100%;gap:1rem;padding:env(safe-area-inset-top,1rem) 1rem env(safe-area-inset-bottom,1rem)}.zen-home-today{flex-shrink:0;margin-bottom:var(--space-lg, 1.25rem)}.zen-home-actions{margin-top:var(--space-sm, .5rem)}.zen-home-action-btn{background:transparent;border:none;color:var(--brand, #2f80ed);font-size:.9rem;cursor:pointer;padding:0;transition:opacity .2s ease}.zen-home-action-btn:hover{opacity:.8}.zen-home-action-btn:focus{outline:2px solid var(--brand, #2f80ed);outline-offset:2px;border-radius:2px}.zen-home-action-btn:active{opacity:.6}.zen-home-chat{flex:1;display:flex;flex-direction:column;min-height:0}.chat-panel{display:flex;flex-direction:column;gap:.75rem;height:100%}.chat-empty-state{text-align:center;font-size:.875rem;color:var(--text-tertiary, #6a6a6a)}.chat-list{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:.75rem;padding:0 .25rem}.chat-msg{display:flex}.chat-msg--assistant{justify-content:flex-start}.chat-msg--user{justify-content:flex-end}.chat-bubble{max-width:85%;padding:.5rem .75rem;border-radius:.75rem;line-height:1.5}.chat-msg--assistant .chat-bubble{background:#3b82f614;border:1px solid rgba(59,130,246,.25);color:var(--text-primary, #1a1a1a)}.chat-msg--user .chat-bubble{background:#22c55e1f;border:1px solid rgba(34,197,94,.25);color:var(--text-primary, #1a1a1a)}.chat-msg--system{justify-content:center}.chat-msg-system-text{font-size:.8rem;line-height:1.4;color:var(--text-tertiary, #6a6a6a)}.chat-input-row{display:flex;align-items:flex-end;gap:.5rem;padding-bottom:env(safe-area-inset-bottom,0px)}.chat-input{flex:1;min-height:2.5rem;max-height:8rem;resize:none;padding:.5rem .75rem;border-radius:.5rem;border:1px solid rgba(0,0,0,.1)}.chat-send-btn{padding:.5rem .75rem;border-radius:.5rem;border:1px solid rgba(0,0,0,.1);background:#0000000a}.edit-logs-sheet{position:fixed;left:0;right:0;bottom:0;background:var(--glass-bg, rgba(255, 255, 255, .75));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top-left-radius:16px;border-top-right-radius:16px;box-shadow:0 -6px 20px #0000001a;padding:var(--space-lg, 1rem);max-height:70vh;overflow-y:auto}.sheet-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-md, .75rem)}.sheet-title{margin:0;font-size:1.125rem}.close-btn{border:none;background:transparent;font-size:1.25rem;cursor:pointer}.sheet-error{color:var(--error, #b00020);margin-bottom:var(--space-md, .75rem)}.timeline .item{display:grid;grid-template-columns:80px 1fr;gap:var(--space-sm, .5rem);padding:var(--space-sm, .5rem) 0;border-bottom:1px solid rgba(0,0,0,.06)}.timeline .time{color:#0009}.timeline .title{font-weight:600}.timeline .subtitle,.timeline .severity{color:#000000b3;font-size:.9rem}.actions{margin-top:var(--space-md, .75rem)}.action-row{display:grid;grid-template-columns:1fr;gap:var(--space-sm, .5rem);margin-bottom:var(--space-md, .75rem)}.input,.textarea{width:100%;border:1px solid rgba(0,0,0,.12);border-radius:8px;padding:.5rem}.textarea{min-height:64px}.btn{border:none;border-radius:8px;padding:.5rem .75rem;background:var(--brand, #2f80ed);color:#fff;cursor:pointer}.btn.secondary{background:#00000014;color:#000}.today-screen{background:linear-gradient(135deg,#667eea,#764ba2)}.today-screen-container{padding:1rem 1rem 2rem;max-width:800px;margin:0 auto}.today-screen-header{margin-bottom:1.5rem;text-align:center}.today-screen-title{font-size:2rem;font-weight:700;color:#fff;margin:0 0 .5rem;text-shadow:0 2px 4px rgba(0,0,0,.2)}.today-screen-date{font-size:1rem;color:#ffffffe6;margin:0}.today-screen-loading,.today-screen-error{text-align:center;padding:2rem 1rem}.today-screen-error h3{margin-top:0;color:#d32f2f}.today-screen-retry-btn{margin-top:1rem;padding:.75rem 1.5rem;background:#667eea;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;min-height:44px;min-width:44px}.today-screen-retry-btn:hover{background:#5568d3}.today-screen-retry-btn:active{transform:scale(.98)}.today-section{margin-bottom:1rem}.today-section-title{font-size:1.25rem;font-weight:600;margin:0 0 1rem;color:#1a202c}.today-summary-section{background:linear-gradient(135deg,#fffffff2,#ffffffe6)}.today-summary-content{display:flex;flex-direction:column;gap:.75rem}.today-summary-text{font-size:1rem;line-height:1.6;color:#2d3748;margin:0}.today-summary-meta{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center}.today-status{padding:.25rem .75rem;border-radius:12px;font-size:.875rem;font-weight:600;text-transform:capitalize}.today-status-stable{background:#d4edda;color:#155724}.today-status-needs-attention{background:#fff3cd;color:#856404}.today-status-unknown,.today-status-connection-issue{background:#e2e8f0;color:#4a5568}.today-time-label{font-size:.875rem;color:#718096}.today-next-action{font-size:.875rem;color:#4a5568;font-style:italic;margin:0}.today-fasting-content{display:flex;flex-direction:column;gap:.5rem}.fasting-status-label{font-weight:600;font-size:1rem;color:#2d3748;margin:0 0 .5rem}.fasting-time{font-size:1.5rem;font-weight:700;color:#667eea;margin:0}.fasting-progress-bar{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden;margin:.5rem 0}.fasting-progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s ease}.fasting-started{font-size:.875rem;color:#718096;margin:0}.fasting-target{font-size:.95rem;color:#4a5568;margin:.5rem 0;font-weight:500}.fasting-presets{margin:1rem 0}.fasting-preset-label{font-size:.95rem;font-weight:600;color:#2d3748;display:block;margin-bottom:.5rem}.fasting-preset-options{display:flex;gap:.5rem;flex-wrap:wrap}.fasting-preset-btn{padding:.625rem 1.25rem;border:2px solid #cbd5e0;background:#fff;color:#4a5568;border-radius:10px;font-weight:600;cursor:pointer;min-height:44px;min-width:70px;transition:all .2s ease}.fasting-preset-btn:hover{border-color:#667eea;background:#f7fafc}.fasting-preset-btn.active{border-color:#667eea;background:#667eea;color:#fff}.fasting-start-btn,.fasting-end-btn{margin-top:1rem;padding:.75rem 1.5rem;border:none;border-radius:10px;font-weight:700;cursor:pointer;min-height:44px;transition:all .2s ease;width:100%}.fasting-start-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.fasting-start-btn:hover{box-shadow:0 6px 16px #667eea66;transform:translateY(-1px)}.fasting-start-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.fasting-end-btn{background:#e53e3e;color:#fff;box-shadow:0 4px 12px #e53e3e4d}.fasting-end-btn:hover{background:#c53030;box-shadow:0 6px 16px #e53e3e66}.fasting-end-btn:disabled{opacity:.7;cursor:not-allowed}.fasting-error{color:#d32f2f;margin:.5rem 0;font-weight:600}.today-meals-list,.today-symptoms-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}.today-meal-item,.today-symptom-item{padding:.75rem;background:#667eea0d;border-radius:8px;border-left:3px solid #667eea}.meal-header,.symptom-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.meal-time,.symptom-time{font-weight:600;color:#2d3748;font-size:.875rem}.meal-type{font-size:.75rem;color:#718096;text-transform:capitalize;background:#e2e8f0;padding:.125rem .5rem;border-radius:8px}.meal-foods,.symptom-tags{margin:0 0 .25rem;color:#2d3748;font-size:.875rem}.meal-notes,.symptom-notes{margin:0;font-size:.75rem;color:#718096;font-style:italic}.today-section-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.today-add-btn{padding:.5rem 1rem;border:2px solid #667eea;background:#ffffffe6;color:#667eea;border-radius:10px;font-weight:700;cursor:pointer;min-height:44px;transition:all .2s ease}.today-add-btn:hover{background:#f7fafc}.today-add-btn:active{transform:scale(.98)}.today-symptom-form,.today-meal-form{margin-bottom:1rem}.journal-form{display:flex;flex-direction:column;gap:.75rem;background:#ffffffeb;border-radius:12px;padding:1rem;box-shadow:0 8px 20px #0000000f}.journal-form-row{display:flex;flex-direction:column;gap:.35rem}.journal-label{font-size:.95rem;font-weight:600;color:#2d3748}.journal-input,.journal-textarea,.journal-range{width:100%;border:1px solid #e2e8f0;border-radius:10px;padding:.65rem .75rem;font-size:1rem;background:#fff;color:#1a202c}.journal-textarea{resize:vertical;min-height:96px}.journal-range{padding:.25rem 0;accent-color:#667eea}.journal-severity-value{font-size:.9rem;color:#4a5568;margin-top:.25rem}.journal-actions{display:flex;gap:.75rem;flex-wrap:wrap}.journal-primary-btn,.journal-secondary-btn{min-height:44px;border-radius:10px;padding:.75rem 1.25rem;font-weight:700;cursor:pointer;border:none;transition:all .2s ease}.journal-primary-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.journal-primary-btn:disabled{opacity:.7;cursor:not-allowed;box-shadow:none}.journal-secondary-btn{background:#fff;color:#667eea;border:2px solid #667eea}.journal-secondary-btn:hover{background:#f7fafc}.journal-error{color:#d32f2f;margin:0;font-weight:600}.symptom-severity{font-size:.75rem;padding:.125rem .5rem;border-radius:8px;font-weight:600}.symptom-severity-1,.symptom-severity-2,.symptom-severity-3{background:#d4edda;color:#155724}.symptom-severity-4,.symptom-severity-5,.symptom-severity-6{background:#fff3cd;color:#856404}.symptom-severity-7,.symptom-severity-8,.symptom-severity-9,.symptom-severity-10{background:#f8d7da;color:#721c24}.today-empty-state{color:#718096;font-style:italic;margin:0;text-align:center;padding:1rem 0}.today-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem}.today-action-btn{padding:.875rem 1.5rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;min-height:44px;transition:all .2s ease}.today-action-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px #667eea4d}.today-action-primary:hover{box-shadow:0 6px 16px #667eea66;transform:translateY(-1px)}.today-action-primary:active{transform:translateY(0)}.today-action-secondary{background:#fff;color:#667eea;border:2px solid #667eea}.today-action-secondary:hover{background:#f7fafc}.today-action-secondary:active{transform:scale(.98)}@media (min-width: 768px){.today-screen-container{padding:2rem}.today-actions{flex-direction:row}.today-action-btn{flex:1}}.memory-screen{background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh}.memory-screen-container{padding:1rem 1rem 2rem;max-width:800px;margin:0 auto}.memory-screen-header{margin-bottom:1.5rem;text-align:center}.memory-screen-title{font-size:2rem;font-weight:700;color:#fff;margin:0 0 .5rem;text-shadow:0 2px 4px rgba(0,0,0,.2)}.memory-screen-subtitle{font-size:1rem;color:#ffffffe6;margin:0}.memory-screen-loading,.memory-screen-error{text-align:center;padding:2rem 1rem}.memory-screen-error h3{margin-top:0;color:#d32f2f}.memory-screen-error p{margin:.5rem 0;color:#666}.memory-screen-retry-btn{margin-top:1rem;padding:.75rem 1.5rem;background:#667eea;color:#fff;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;min-height:44px;min-width:44px}.memory-screen-retry-btn:hover{background:#5568d3}.memory-screen-retry-btn:active{transform:scale(.98)}.memory-section{margin-bottom:1rem}.memory-section-title{font-size:1.25rem;font-weight:600;margin:0 0 1rem;color:#1a202c}.memory-profile-section{background:linear-gradient(135deg,#fffffff2,#ffffffe6)}.memory-profile-content{display:flex;flex-direction:column;gap:.75rem}.memory-profile-name{font-size:1.5rem;font-weight:700;color:#1a202c;margin:0}.memory-profile-goals{font-size:1rem;color:#4a5568;margin:0;line-height:1.5}.memory-profile-goals-placeholder{font-size:1rem;color:#a0aec0;margin:0;font-style:italic}.memory-weekly-section{background:#ffffffeb}.memory-weekly-content{display:flex;flex-direction:column;gap:1.5rem}.memory-week-range,.memory-month-range{font-size:.875rem;color:#718096;margin:0 0 1rem}.memory-weekly-subsection,.memory-monthly-subsection{padding:1rem;background:#ffffff80;border-radius:8px}.memory-subsection-title{font-size:1.1rem;font-weight:600;color:#2d3748;margin:0 0 .75rem}.memory-weekly-stats{display:flex;gap:1rem;flex-wrap:wrap}.memory-stat{display:flex;flex-direction:column;align-items:center;flex:1;min-width:80px}.memory-stat-value{font-size:1.75rem;font-weight:700;color:#667eea}.memory-stat-label{font-size:.75rem;color:#718096;text-align:center}.memory-weekly-stat-line{margin:0 0 .5rem;color:#4a5568}.memory-label{font-size:.875rem;font-weight:600;color:#4a5568;margin:.5rem 0 .25rem}.memory-common-foods{margin-top:.75rem}.memory-food-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}.memory-food-tag{padding:.25rem .75rem;background:#e6fffa;color:#234e52;border-radius:12px;font-size:.875rem;font-weight:500}.memory-timing-note{margin:.75rem 0 0;color:#718096;font-size:.875rem;font-style:italic}.memory-common-symptoms{margin-top:.75rem}.memory-symptom-list{margin:.25rem 0 0 1.25rem;padding:0;color:#4a5568}.memory-symptom-list li{margin-bottom:.25rem}.memory-severity-trend{margin:.75rem 0 0;color:#4a5568}.memory-trend{font-weight:600;text-transform:capitalize}.memory-trend-improving{color:#38a169}.memory-trend-stable{color:#667eea}.memory-trend-worsening{color:#e53e3e}.memory-trend-insufficient_data{color:#a0aec0}.memory-weekly-insights,.memory-weekly-recommendations{margin-top:.5rem}.memory-insights-list,.memory-recommendations-list{margin:.5rem 0 0 1.25rem;padding:0;color:#2d3748}.memory-insights-list li,.memory-recommendations-list li{margin-bottom:.5rem;line-height:1.5}.memory-recommendations-list li{color:#667eea;font-weight:500}.memory-monthly-section{background:#ffffffeb}.memory-monthly-content{display:flex;flex-direction:column;gap:1.5rem}.memory-monthly-assessment{padding:1rem;background:#667eea1a;border-left:4px solid #667eea;border-radius:4px}.memory-monthly-assessment p{margin:0;color:#2d3748;line-height:1.6}.memory-issues-list{display:flex;flex-direction:column;gap:1rem}.memory-issue-card{padding:1rem;background:#ffffffb3;border-radius:8px;border:1px solid rgba(102,126,234,.2)}.memory-issue-name{font-size:1rem;font-weight:600;color:#2d3748;margin:0 0 .5rem}.memory-issue-frequency{font-size:.875rem;color:#718096;margin:0 0 .75rem}.memory-issue-triggers{margin-top:.75rem}.memory-issue-triggers ul{margin:.25rem 0 0 1.25rem;padding:0;color:#4a5568;font-size:.875rem}.memory-issue-triggers li{margin-bottom:.25rem}.memory-issue-notes{margin:.75rem 0 0;color:#4a5568;font-size:.875rem;font-style:italic;border-top:1px solid rgba(0,0,0,.1);padding-top:.75rem}.memory-positive-list{margin:.5rem 0 0 1.25rem;padding:0;color:#38a169}.memory-positive-list li{margin-bottom:.5rem;line-height:1.5}.memory-concerns-list{margin:.5rem 0 0 1.25rem;padding:0;color:#e53e3e}.memory-concerns-list li{margin-bottom:.5rem;line-height:1.5}.memory-screen-actions{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem}.memory-ask-ava-btn{padding:1rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:12px;font-size:1.125rem;font-weight:600;cursor:pointer;min-height:44px;box-shadow:0 4px 6px #667eea4d;transition:all .2s ease}.memory-ask-ava-btn:hover{background:linear-gradient(135deg,#5568d3,#6a3f8a);box-shadow:0 6px 8px #667eea66;transform:translateY(-2px)}.memory-ask-ava-btn:active{transform:translateY(0) scale(.98);box-shadow:0 2px 4px #667eea4d}@media (min-width: 640px){.memory-screen-container{padding:1.5rem}.memory-weekly-stats{gap:1.5rem}.memory-stat{min-width:100px}}@media (min-width: 768px){.memory-screen-container{padding:2rem}.memory-screen-title{font-size:2.5rem}.memory-section-title{font-size:1.5rem}.memory-weekly-content,.memory-monthly-content{gap:2rem}}:root{--color-primary: #6366f1;--color-primary-light: #e0e7ff;--color-primary-dark: #4f46e5;--color-surface: #ffffff;--color-surface-alt: #f9fafb;--color-surface-dim: #f3f4f6;--color-text: #111827;--color-text-secondary: #6b7280;--color-text-tertiary: #9ca3af;--color-border: #e5e7eb;--color-border-light: #f3f4f6;--color-success: #10b981;--color-warning: #f59e0b;--color-error: #ef4444;--color-info: #3b82f6;--radius-sm: .375rem;--radius-md: .5rem;--radius-lg: .75rem;--radius-xl: 1rem;--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, .05);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1);--space-xs: .25rem;--space-sm: .5rem;--space-md: 1rem;--space-lg: 1.5rem;--space-xl: 2rem;--space-2xl: 3rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{color:var(--color-text);background-color:var(--color-surface);line-height:1.5}html,body,#root{height:100%}@supports (padding: max(0px)){body{padding-left:max(var(--space-md),env(safe-area-inset-left));padding-right:max(var(--space-md),env(safe-area-inset-right))}}
