:root{--blue-50: #eff6ff;--blue-100: #dbeafe;--blue-200: #bfdbfe;--blue-400: #60a5fa;--blue-500: #3b82f6;--blue-600: #2563eb;--blue-700: #1d4ed8;--blue-900: #1e3a5f;--blue-950: #0f1d33;--bg: #0c1222;--surface: #131c30;--surface-hover: #1a2540;--border: rgba(96, 165, 250, .12);--text: #e2e8f0;--text-muted: #8899b4;color-scheme:dark;font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.5}*{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;align-items:center;padding:2rem 1rem}.app-header{text-align:center;margin-bottom:2rem}.app-header h1{font-size:1.75rem;font-weight:700;letter-spacing:-.03em;color:var(--blue-400);display:flex;align-items:center;gap:.5rem;justify-content:center}.app-header p{color:var(--text-muted);font-size:.875rem;margin-top:.25rem}.main{width:100%;max-width:26rem;display:flex;flex-direction:column;gap:1.25rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:.75rem;padding:1.5rem}.progress-section{display:flex;flex-direction:column;align-items:center;gap:1rem}.ring-container{position:relative;width:180px;height:180px}.ring-container svg{transform:rotate(-90deg);width:100%;height:100%}.ring-bg{fill:none;stroke:var(--blue-950);stroke-width:10}.ring-fill{fill:none;stroke:var(--blue-500);stroke-width:10;stroke-linecap:round;transition:stroke-dashoffset .6s cubic-bezier(.4,0,.2,1)}.ring-text{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.ring-amount{font-size:2rem;font-weight:700;color:var(--text);line-height:1}.ring-goal{font-size:.8rem;color:var(--text-muted);margin-top:.15rem}.goal-label{font-size:.85rem;color:var(--text-muted)}.btn-row{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;font-size:.875rem;font-weight:600;padding:.6rem 1.2rem;border-radius:.5rem;border:1px solid var(--border);background:var(--surface-hover);color:var(--text);cursor:pointer;transition:all .15s;font-family:inherit}.btn:hover{background:var(--blue-900);border-color:var(--blue-500)}.btn-primary{background:var(--blue-600);border-color:var(--blue-600);color:#fff}.btn-primary:hover{background:var(--blue-700);border-color:var(--blue-700)}.btn-sm{padding:.4rem .8rem;font-size:.8rem}.btn-icon{width:2rem;height:2rem;padding:0;font-size:1rem;border-radius:50%}.log-list{list-style:none;display:flex;flex-direction:column;gap:.35rem;max-height:200px;overflow-y:auto}.log-item{display:flex;justify-content:space-between;align-items:center;padding:.45rem .6rem;border-radius:.375rem;font-size:.82rem;background:#60a5fa0a}.log-item span:first-child{color:var(--blue-200);font-weight:500}.log-item span:last-child{color:var(--text-muted);font-size:.75rem}.log-empty{text-align:center;color:var(--text-muted);font-size:.82rem;padding:1rem 0}.reminder-row{display:flex;align-items:center;gap:.75rem;justify-content:space-between}.reminder-info{display:flex;flex-direction:column;gap:.1rem}.reminder-title{font-size:.875rem;font-weight:600}.reminder-sub{font-size:.78rem;color:var(--text-muted)}.interval-btns{display:flex;gap:.35rem}.interval-btns .btn{min-width:3rem}.interval-btns .btn.active{background:var(--blue-600);border-color:var(--blue-600);color:#fff}.notif-banner{display:flex;align-items:center;gap:.6rem;padding:.75rem 1rem;border-radius:.5rem;background:#60a5fa14;border:1px solid rgba(96,165,250,.15);font-size:.82rem;color:var(--blue-200)}.notif-banner button{margin-left:auto}.section-title{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:var(--text-muted);margin-bottom:.75rem;font-weight:600}.stats-row{display:flex;gap:.75rem}.stat{flex:1;text-align:center;padding:.75rem;background:#60a5fa0a;border-radius:.5rem;border:1px solid var(--border)}.stat-value{font-size:1.25rem;font-weight:700;color:var(--blue-400)}.stat-label{font-size:.7rem;color:var(--text-muted);margin-top:.1rem;text-transform:uppercase;letter-spacing:.05em}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}.pulse{animation:pulse .3s ease}.toast{position:fixed;bottom:2rem;left:50%;transform:translate(-50%);background:var(--blue-600);color:#fff;padding:.65rem 1.25rem;border-radius:.5rem;font-size:.85rem;font-weight:500;box-shadow:0 8px 24px #0006;z-index:100;animation:fadeInUp .3s ease}@keyframes fadeInUp{0%{opacity:0;transform:translate(-50%) translateY(.5rem)}to{opacity:1;transform:translate(-50%) translateY(0)}}
