:root{--bg: #0f1a15;--surface: #162420;--surface-hover: #1c2e27;--border: rgba(134, 197, 161, .12);--accent: #6bc9a0;--accent-dim: rgba(107, 201, 160, .15);--text: #e8f5ee;--text-muted: #8bbaa0;--danger: #e87461;--warning: #f0c050;--radius: .75rem;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5;color-scheme:dark}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{min-height:100vh;background:var(--bg);color:var(--text)}.app{min-height:100vh;display:flex;flex-direction:column}.header{text-align:center;padding:2rem 1.5rem 1rem}.header h1{font-size:1.75rem;font-weight:700;letter-spacing:-.03em;color:var(--accent)}.header p{color:var(--text-muted);font-size:.9rem;margin-top:.25rem}.nav{display:flex;justify-content:center;gap:.35rem;padding:0 1rem;margin-bottom:1.5rem;flex-wrap:wrap}.nav button{background:transparent;border:1px solid var(--border);color:var(--text-muted);padding:.45rem 1rem;border-radius:2rem;font-size:.8rem;cursor:pointer;transition:all .2s}.nav button:hover{background:var(--accent-dim);color:var(--text)}.nav button.active{background:var(--accent);color:var(--bg);border-color:var(--accent);font-weight:600}.content{flex:1;max-width:520px;width:100%;margin:0 auto;padding:0 1.25rem 3rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;margin-bottom:1rem}.card h2{font-size:1.1rem;font-weight:600;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.card h2 .icon{font-size:1.25rem}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;text-align:center;transition:background .2s}.stat-card:hover{background:var(--surface-hover)}.stat-card .stat-icon{font-size:1.75rem;margin-bottom:.5rem}.stat-card .stat-value{font-size:1.5rem;font-weight:700;color:var(--accent)}.stat-card .stat-label{font-size:.75rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.06em;margin-top:.15rem}.streak-banner{background:linear-gradient(135deg,var(--accent-dim),rgba(107,201,160,.05));border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;text-align:center;margin-bottom:1rem}.streak-banner .streak-num{font-size:2.5rem;font-weight:800;color:var(--accent)}.streak-banner .streak-label{color:var(--text-muted);font-size:.85rem}.quote-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.5rem;text-align:center;margin-bottom:1rem}.quote-card blockquote{font-style:italic;font-size:1rem;color:var(--text);line-height:1.6}.quote-card cite{display:block;margin-top:.75rem;font-size:.8rem;color:var(--text-muted);font-style:normal}.mood-options{display:flex;justify-content:space-around;margin-bottom:1.25rem}.mood-btn{background:transparent;border:2px solid var(--border);border-radius:50%;width:56px;height:56px;font-size:1.75rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.mood-btn:hover{border-color:var(--accent);transform:scale(1.1)}.mood-btn.selected{border-color:var(--accent);background:var(--accent-dim);transform:scale(1.15)}.mood-label{text-align:center;font-size:.8rem;color:var(--text-muted);margin-bottom:1rem}.mood-history{list-style:none}.mood-entry{display:flex;align-items:center;gap:.75rem;padding:.65rem 0;border-bottom:1px solid var(--border);font-size:.85rem}.mood-entry:last-child{border-bottom:none}.mood-entry .mood-emoji{font-size:1.35rem}.mood-entry .mood-date{color:var(--text-muted);font-size:.75rem;min-width:70px}.mood-entry .mood-note{color:var(--text-muted);flex:1}.mood-note-input{width:100%;background:#0003;border:1px solid var(--border);border-radius:.5rem;padding:.6rem .75rem;color:var(--text);font-size:.85rem;margin-bottom:.75rem;font-family:inherit;resize:none}.mood-note-input::placeholder{color:#8bbaa080}.mood-note-input:focus{outline:none;border-color:var(--accent)}.btn-primary{width:100%;background:var(--accent);color:var(--bg);border:none;border-radius:.5rem;padding:.65rem;font-size:.85rem;font-weight:600;cursor:pointer;transition:opacity .2s}.btn-primary:hover{opacity:.85}.btn-primary:disabled{opacity:.4;cursor:default}.breathing-container{display:flex;flex-direction:column;align-items:center;gap:1.5rem}.breath-circle{width:180px;height:180px;border-radius:50%;border:3px solid var(--accent);display:flex;align-items:center;justify-content:center;font-size:1.1rem;font-weight:600;color:var(--accent);transition:transform 4s ease-in-out,box-shadow 4s ease-in-out;box-shadow:0 0 0 0 var(--accent-dim)}.breath-circle.inhale{transform:scale(1.3);box-shadow:0 0 40px 10px var(--accent-dim)}.breath-circle.exhale{transform:scale(1);box-shadow:0 0 0 0 var(--accent-dim)}.breath-circle.hold{transform:scale(1.3);box-shadow:0 0 40px 10px var(--accent-dim)}.breath-info{text-align:center;color:var(--text-muted);font-size:.85rem}.breath-info strong{color:var(--text)}.breath-controls{display:flex;gap:.75rem}.breath-controls button{background:var(--accent-dim);border:1px solid var(--border);color:var(--text);padding:.5rem 1.25rem;border-radius:2rem;font-size:.8rem;cursor:pointer;transition:all .2s}.breath-controls button:hover{background:var(--accent);color:var(--bg)}.water-visual{display:flex;justify-content:center;gap:.5rem;margin-bottom:1rem}.water-glass{width:42px;height:60px;border:2px solid var(--border);border-radius:0 0 8px 8px;position:relative;overflow:hidden;cursor:pointer;transition:border-color .2s}.water-glass:before{content:"";position:absolute;bottom:0;left:0;right:0;background:var(--accent);transition:height .3s;opacity:.7}.water-glass.filled:before{height:100%}.water-glass.empty:before{height:0}.water-glass.filled{border-color:var(--accent)}.water-count{text-align:center;font-size:2rem;font-weight:700;color:var(--accent);margin-bottom:.25rem}.water-goal{text-align:center;font-size:.8rem;color:var(--text-muted);margin-bottom:1rem}.water-actions{display:flex;gap:.5rem;justify-content:center}.water-actions button{background:var(--accent-dim);border:1px solid var(--border);color:var(--text);padding:.4rem 1rem;border-radius:.5rem;font-size:.85rem;cursor:pointer;transition:all .2s}.water-actions button:hover{background:var(--accent);color:var(--bg)}.water-progress-bar{height:8px;background:#0000004d;border-radius:4px;overflow:hidden;margin-top:1rem}.water-progress-fill{height:100%;background:var(--accent);border-radius:4px;transition:width .4s ease}.gratitude-input-area{display:flex;gap:.5rem;margin-bottom:1rem}.gratitude-input-area input{flex:1;background:#0003;border:1px solid var(--border);border-radius:.5rem;padding:.6rem .75rem;color:var(--text);font-size:.85rem;font-family:inherit}.gratitude-input-area input::placeholder{color:#8bbaa080}.gratitude-input-area input:focus{outline:none;border-color:var(--accent)}.gratitude-input-area button{background:var(--accent);color:var(--bg);border:none;border-radius:.5rem;padding:.6rem 1rem;font-weight:600;font-size:.85rem;cursor:pointer;transition:opacity .2s;white-space:nowrap}.gratitude-input-area button:hover{opacity:.85}.gratitude-list{list-style:none}.gratitude-item{display:flex;align-items:center;gap:.75rem;padding:.7rem 0;border-bottom:1px solid var(--border);font-size:.9rem}.gratitude-item:last-child{border-bottom:none}.gratitude-item .g-icon{color:var(--accent)}.gratitude-item .g-text{flex:1}.gratitude-item .g-date{font-size:.7rem;color:var(--text-muted)}.gratitude-item button{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:.8rem;padding:.2rem;transition:color .2s}.gratitude-item button:hover{color:var(--danger)}.empty-state{text-align:center;padding:1.5rem;color:var(--text-muted);font-size:.85rem}.sleep-input-row{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}.sleep-input-row label{font-size:.85rem;color:var(--text-muted);min-width:50px}.sleep-input-row input[type=time]{background:#0003;border:1px solid var(--border);border-radius:.5rem;padding:.5rem .75rem;color:var(--text);font-family:inherit;font-size:.85rem}.sleep-input-row input[type=time]:focus{outline:none;border-color:var(--accent)}.sleep-hours{text-align:center;margin:1rem 0}.sleep-hours .hours-val{font-size:2.5rem;font-weight:800;color:var(--accent)}.sleep-hours .hours-label{font-size:.8rem;color:var(--text-muted)}.sleep-quality{display:flex;justify-content:center;gap:.5rem;margin-bottom:1rem}.sleep-quality button{background:transparent;border:2px solid var(--border);border-radius:.5rem;padding:.5rem .75rem;font-size:.8rem;color:var(--text-muted);cursor:pointer;transition:all .2s}.sleep-quality button:hover{border-color:var(--accent);color:var(--text)}.sleep-quality button.selected{border-color:var(--accent);background:var(--accent-dim);color:var(--accent)}.sleep-history{list-style:none}.sleep-entry{display:flex;align-items:center;gap:.75rem;padding:.6rem 0;border-bottom:1px solid var(--border);font-size:.85rem}.sleep-entry:last-child{border-bottom:none}.sleep-entry .s-date{color:var(--text-muted);font-size:.75rem;min-width:70px}.sleep-entry .s-hours{font-weight:600;color:var(--accent);min-width:55px}.sleep-entry .s-times{color:var(--text-muted);font-size:.8rem;flex:1}.sleep-entry .s-quality{font-size:1.1rem}@media(max-width:480px){.dashboard-grid{grid-template-columns:1fr}.mood-options{gap:.25rem}.mood-btn{width:48px;height:48px;font-size:1.4rem}.breath-circle{width:150px;height:150px}}
