:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,SF Pro Text,sans-serif;line-height:1.5;font-weight:400;color:#e5e7eb;background-color:#020617;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top left,#1e293b 0,#020617 55%);color:inherit}a{color:inherit;text-decoration:none}button{font-family:inherit}.app-root{min-height:100vh;display:flex;flex-direction:column}.app-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid rgba(148,163,184,.3);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:linear-gradient(135deg,#0f172ae6,#0f172ab3,#0f172ae6);position:sticky;top:0;z-index:10}.app-title{font-weight:600;letter-spacing:.06em;text-transform:uppercase;font-size:.9rem;color:#a5b4fc}.app-nav{display:inline-flex;background-color:#0f172acc;border-radius:999px;padding:.15rem;border:1px solid rgba(148,163,184,.4)}.nav-btn{border:none;background:transparent;color:#cbd5f5;padding:.4rem .9rem;border-radius:999px;font-size:.85rem;cursor:pointer;transition:all .18s ease-out}.nav-btn.active{background:linear-gradient(135deg,#4f46e5,#6366f1);color:#e5e7eb;box-shadow:0 8px 30px #4f46e58c}.nav-btn:not(.active):hover{background-color:#1e40af80}.app-main{flex:1;display:flex;justify-content:center;padding:2rem}.card{width:100%;max-width:1280px;border-radius:1.5rem;border:1px solid rgba(148,163,184,.4);background:radial-gradient(circle at top left,#334155bf,#020617);padding:1.8rem 1.6rem 1.6rem;box-shadow:0 18px 60px #0f172ad9,0 0 0 1px #0f172ae6}.timer-card{display:flex;flex-direction:column;gap:1.6rem}.timer-display{font-variant-numeric:tabular-nums;font-size:clamp(4rem,10vw,9rem);letter-spacing:.08em;text-align:center;padding:.75rem 1rem;border-radius:1.2rem;background:radial-gradient(circle at top,#0f172ae6,#0f172a80);border:1px solid rgba(148,163,184,.4);box-shadow:0 0 40px #3b82f647}.timer-target{font-size:1.1rem;color:#9ca3af;text-align:center}.progress-bar{width:100%;height:.6rem;background:#0f172ae6;border-radius:999px;overflow:hidden;border:1px solid rgba(148,163,184,.5)}.progress-bar-fill{height:100%;background:linear-gradient(90deg,#22c55e,#16a34a,#22c55e);width:0;transition:width .3s ease-out}.preset-row{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.chip-btn{border-radius:999px;border:1px solid rgba(148,163,184,.5);padding:.25rem .8rem;font-size:.8rem;background-color:#0f172ae6;color:#e5e7eb;cursor:pointer;transition:all .15s ease-out}.chip-btn:hover{border-color:#a5b4fc;background-color:#1e40afcc}.chip-btn-active{background:radial-gradient(circle at top left,#6366f1,#4f46e5);border-color:transparent;box-shadow:0 10px 30px #4f46e5a6}.timer-actions{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;align-items:center}.primary-btn,.secondary-btn,.ghost-btn,.success-btn{border-radius:999px;border:1px solid transparent;padding:.6rem 1.6rem;font-size:1rem;font-weight:500;cursor:pointer;transition:all .18s ease-out;display:inline-flex;align-items:center;justify-content:center;min-width:90px}.primary-btn{background:linear-gradient(135deg,#2563eb,#4f46e5);color:#e5e7eb;box-shadow:0 12px 40px #2563ebb3}.primary-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.secondary-btn{background-color:#0f172ae6;border-color:#94a3b8cc;color:#e5e7eb}.secondary-btn:hover{background-color:#1e40afe6}.ghost-btn{background-color:transparent;border-color:#94a3b866;color:#9ca3af}.ghost-btn:hover{border-color:#94a3b8e6;color:#e5e7eb}.success-btn{background:linear-gradient(135deg,#22c55e,#16a34a);color:#022c22}.success-btn:hover{filter:brightness(1.06);transform:translateY(-1px)}.success-btn:disabled{opacity:.6;cursor:default;box-shadow:none}.hint-text{font-size:1rem;color:#9ca3af;text-align:center;margin-top:.5rem}.stats-card{display:flex;flex-direction:column;gap:1.4rem}.stats-header{display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.stats-label{font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:#9ca3af}.stats-value{font-size:1.6rem;font-weight:600}.chart-controls{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.chart-range-switch{display:flex;gap:.4rem;flex-wrap:wrap}.chart-nav{display:inline-flex;align-items:center;gap:.5rem}.chart-window-label{font-size:.82rem;color:#9ca3af}.ghost-btn.small{padding:.2rem .7rem;min-width:auto;font-size:.8rem}.timer-main-btn{min-width:240px;padding:1rem 2.8rem;font-size:1.8rem;font-weight:700}.reset-btn{min-width:70px;padding:.3rem .85rem;font-size:.78rem;opacity:.9}.chart-wrapper{margin-top:.4rem}.chart-area{display:flex;gap:.75rem;align-items:stretch;width:100%}.chart-inner{display:flex;flex-direction:column;gap:.25rem;flex:1;min-width:0}.chart-bars{position:relative;display:flex;align-items:flex-end;gap:.5rem;height:clamp(420px,80vh,840px);padding:.2rem 0;width:100%}.chart-y-axis{flex:0 0 auto;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;padding:.2rem 0;font-size:.7rem;color:#9ca3af;font-variant-numeric:tabular-nums}.chart-y-label{position:relative}.chart-y-label:after{content:"";position:absolute;left:110%;top:50%;width:6px;height:1px;background-color:#94a3b8b3;transform:translateY(-50%)}.chart-bar{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;align-items:stretch;gap:.2rem}.chart-bar-fill{width:100%;border-radius:999px;background:linear-gradient(180deg,#22c55e8c,#10b98166);transition:height .25s ease-out,background .2s ease-out}.chart-bar-fill.active{background:linear-gradient(180deg,#22c55e,#16a34a);box-shadow:0 10px 24px #16a34a73}.chart-line{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none}.chart-line-path{fill:none;stroke:#facc15;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}.chart-x-labels{display:flex;justify-content:space-between;gap:.5rem}.chart-x-label{flex:1;min-width:0;font-size:.7rem;color:#9ca3af;text-align:center;font-variant-numeric:tabular-nums}.chart-legend{margin-top:.3rem;font-size:.8rem;color:#9ca3af}.pie-wrapper{margin-top:.8rem;display:flex;gap:1.4rem;align-items:center;flex-wrap:wrap}.pie-circle{position:relative;width:150px;height:150px;border-radius:50%;background:conic-gradient(#111827 0deg 360deg);box-shadow:0 14px 40px #0f172ae6;border:1px solid rgba(148,163,184,.5);display:flex;align-items:center;justify-content:center}.pie-center{width:85px;height:85px;border-radius:50%;background:radial-gradient(circle at top left,#020617,#020617);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:inset 0 0 30px #0f172ae6}.pie-center-main{font-size:1rem;font-weight:600}.pie-center-sub{font-size:.72rem;color:#9ca3af}.pie-legend{flex:1;min-width:180px;display:flex;flex-direction:column;gap:.25rem;font-size:.8rem}.pie-legend-item{display:flex;align-items:center;gap:.4rem}.pie-dot{width:10px;height:10px;border-radius:999px;flex-shrink:0}.pie-dot-0{background-color:#6366f1}.pie-dot-1{background-color:#22c55e}.pie-dot-2{background-color:#f97316}.pie-dot-3{background-color:#ec4899}.pie-dot-4{background-color:#06b6d4}.pie-dot-5{background-color:#a855f7}.pie-dot-6{background-color:#facc15}.pie-label{width:24px;color:#e5e7eb}.pie-value,.pie-empty{color:#9ca3af}.sessions-list{margin-top:.6rem}.sessions-list h2{margin:0 0 .5rem;font-size:1rem}.sessions-list ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.3rem;max-height:220px;overflow-y:auto}.session-item{padding:.4rem .6rem;border-radius:.6rem;background-color:#0f172ae6;border:1px solid rgba(148,163,184,.4)}.session-main{display:flex;justify-content:space-between;font-size:.86rem}.session-sub{font-size:.78rem;color:#9ca3af;margin-top:.1rem}.session-date{font-variant-numeric:tabular-nums}.session-duration{font-weight:500}.error-text{color:#fecaca;font-size:.85rem}@media(max-width:640px){.app-header{flex-direction:column;align-items:stretch;gap:.6rem}.app-nav{align-self:center}.card{padding:1.4rem 1.1rem 1.2rem}.timer-main-btn{min-width:180px;font-size:1.3rem;padding:.8rem 2rem}.stats-header{flex-direction:column}}.lock-screen-root{align-items:center;justify-content:center}.lock-card{max-width:460px;margin:0 auto;display:flex;flex-direction:column;gap:.8rem}.lock-card h1{margin:0;font-size:1.5rem}.lock-label{font-size:.82rem;color:#9ca3af}.lock-input{width:100%;border-radius:.8rem;border:1px solid rgba(148,163,184,.6);background-color:#0f172ad9;color:#e5e7eb;padding:.65rem .8rem;font-size:1rem}.lock-input:focus{outline:2px solid rgba(99,102,241,.65);outline-offset:1px}.calendar-panel{margin-top:.8rem;display:flex;flex-direction:column;gap:.6rem}.calendar-header-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}.calendar-header-row h2{margin:0;font-size:1.05rem}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.45rem}.calendar-grid-weekdays{gap:.3rem}.calendar-weekday{text-align:center;font-size:.75rem;color:#9ca3af;letter-spacing:.04em}.calendar-cell{min-height:88px;border-radius:.8rem;border:1px solid rgba(148,163,184,.35);background:#0f172ab3;padding:.45rem;display:flex;flex-direction:column;justify-content:space-between}.calendar-cell.empty{background:transparent;border-color:transparent}.calendar-cell-date{font-size:.74rem;color:#9ca3af}.calendar-cell-value{font-size:1.05rem;font-weight:700;font-variant-numeric:tabular-nums;color:#e0e7ff}.calendar-cell-sub{font-size:.74rem;color:#93c5fd}.pie-circle{width:220px;height:220px}.pie-center{width:124px;height:124px}.pie-center-main{font-size:1.45rem}
