:root{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}html,body,#root{margin:0;min-height:100vh;background:#0a0a0a;color:#fafafa}.app{max-width:28rem;margin:0 auto;padding:1.5rem;min-height:100vh}.header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.header h1{margin:0;font-size:1.25rem;font-weight:600;letter-spacing:-.02em}.btn{display:inline-flex;align-items:center;gap:.5rem;border:none;border-radius:.5rem;cursor:pointer;font-family:inherit;font-size:.9rem;font-weight:500;transition:opacity .15s,transform .1s}.btn:hover{opacity:.85}.btn:active{transform:scale(.97)}.btn-icon{background:#ffffff14;color:#ffffffb3;padding:.5rem;border-radius:.5rem}.btn-primary{background:#3b82f6;color:#fff;padding:.5rem 1rem}.btn-danger{background:#ef444426;color:#ef4444;padding:.5rem 1rem;width:100%;justify-content:center}.btn-start{background:#22c55e;color:#000;padding:.75rem 2rem;font-size:1rem;font-weight:600;width:100%;justify-content:center}.btn-stop{background:#ef4444;color:#fff;padding:.75rem 2rem;font-size:1rem;font-weight:600;width:100%;justify-content:center}.btn-alert{background:#3b82f6;color:#fff;padding:.6rem 2rem;font-weight:600}.settings-panel{background:#ffffff0a;border:1px solid rgba(255,255,255,.08);border-radius:.75rem;padding:1.25rem;margin-bottom:1.5rem;display:flex;flex-direction:column;gap:1rem}.settings-panel label{display:flex;flex-direction:column;gap:.4rem;font-size:.85rem;color:#fff9}.settings-row{display:flex;gap:.5rem}.settings-row input{flex:1;background:#ffffff0f;border:1px solid rgba(255,255,255,.12);border-radius:.5rem;padding:.5rem .75rem;color:#fafafa;font-family:inherit;font-size:1rem;outline:none}.settings-row input:focus{border-color:#3b82f6}.timer-section{display:flex;flex-direction:column;align-items:center;gap:1.5rem;margin-bottom:2rem}.timer-circle{width:200px;height:200px;border-radius:50%;border:4px solid #22c55e;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ffffff05;transition:border-color .3s}.timer-value{font-size:2rem;font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.05em}.timer-label{font-size:.75rem;color:#ffffff80;text-transform:uppercase;letter-spacing:.1em;margin-top:.25rem}.progress-container{width:100%}.progress-header{display:flex;justify-content:space-between;font-size:.8rem;color:#ffffff80;margin-bottom:.4rem}.progress-bar{width:100%;height:8px;background:#ffffff14;border-radius:999px;overflow:hidden}.progress-fill{height:100%;border-radius:999px;transition:width .3s,background-color .3s}.progress-remaining{text-align:center;font-size:.75rem;color:#fff6;margin-top:.4rem}.controls{width:100%}.history-section{margin-top:1rem}.history-section h2{font-size:1rem;font-weight:600;margin:0 0 .75rem;color:#ffffffb3}.empty-state{text-align:center;color:#ffffff59;font-size:.9rem;padding:2rem 0}.sessions-list{display:flex;flex-direction:column;gap:.5rem;max-height:20rem;overflow-y:auto}.sessions-list::-webkit-scrollbar{width:4px}.sessions-list::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:999px}.session-item{background:#ffffff08;border:1px solid rgba(255,255,255,.06);border-radius:.5rem;padding:.75rem 1rem}.session-info{display:flex;justify-content:space-between;align-items:center}.session-date{font-size:.85rem;color:#ffffff8c}.session-duration{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9rem;font-weight:600;color:#22c55e}.alert-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000b3;display:grid;place-items:center;z-index:100;animation:fadeIn .2s}.alert-box{background:#1a1a1a;border:1px solid rgba(239,68,68,.3);border-radius:1rem;padding:2rem;text-align:center;max-width:20rem;animation:scaleIn .2s}.alert-icon{width:48px;height:48px;border-radius:50%;background:#ef444426;color:#ef4444;font-size:1.5rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;margin-bottom:1rem}.alert-box h2{margin:0 0 .5rem;font-size:1.2rem;color:#ef4444}.alert-box p{margin:0 0 1.5rem;font-size:.9rem;color:#fff9}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes scaleIn{0%{transform:scale(.9);opacity:0}to{transform:scale(1);opacity:1}}
