@import url(https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap);body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);color:#333;font-family:Space Grotesk,Helvetica Neue,Arial,sans-serif;margin:0;min-height:100vh}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}*,.App{box-sizing:border-box}.App{--shell-padding:1.5rem;--content-max:1200px;align-items:center;color:#fff;display:flex;flex-direction:column;min-height:100vh;padding:var(--shell-padding);text-align:center;transition:background .5s ease;width:100%}.App,.App.work{background:linear-gradient(135deg,#667eea,#764ba2)}.App.break{background:linear-gradient(135deg,#4ecdc4,#44a08d)}.App.longBreak{background:linear-gradient(135deg,#45b7d1,#2980b9)}.App-header{align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:column;gap:.35rem;max-width:none;padding:1.25rem var(--shell-padding) .75rem;position:relative;width:100%}.App-header h1{font-size:2rem;font-weight:700;margin:0;text-align:left;text-shadow:2px 2px 4px #0000004d}.main-content{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;margin:0 auto;max-width:100%;width:calc(100% - var(--shell-padding)*2)}.subtitle{font-size:.95rem;font-weight:400;margin:0;opacity:.9;text-align:left}.settings-btn-corner{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:2px solid #ffffff4d;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.2rem;height:50px;justify-content:center;position:fixed;right:2rem;top:2rem;transition:all .3s ease;width:50px;z-index:1000}.settings-btn-corner:hover{background:#ffffff4d;border-color:#ffffff80;box-shadow:0 4px 12px #0003;transform:translateY(-2px) rotate(90deg)}.app-content{align-items:center;flex:1 1;gap:1rem;justify-content:center;max-width:none;padding:1.5rem;width:100%}.app-content,.app-layout{display:flex;flex-direction:column}.app-layout{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff14;border:1px solid #ffffff26;border-radius:20px;box-shadow:0 24px 60px #00000040;box-sizing:border-box;gap:1.25rem;margin:0 auto;max-width:100%;padding:1.25rem;width:calc(100% - var(--shell-padding)*2)}.main-timer-section{align-items:stretch;display:flex;gap:1.5rem;justify-content:center;min-height:350px;width:100%}.left-panel{box-shadow:0 20px 40px #00000040;flex:3 1;flex-direction:column;gap:1rem;max-width:550px;padding:1.25rem}.center-panel,.left-panel{align-items:center;background:#ffffff0f;border:1px solid #ffffff26;border-radius:18px;display:flex;justify-content:center}.center-panel{box-shadow:0 16px 32px #00000040;flex:2 1;flex-direction:column;gap:.75rem;max-width:350px;padding:1rem}.right-panel{background:#ffffff0f;border:1px solid #ffffff26;border-radius:18px;box-shadow:0 14px 28px #0003;flex:0.8 1;justify-content:center;max-width:140px;padding:.75rem}.control-buttons,.right-panel{align-items:center;display:flex;flex-direction:column;gap:.75rem}.control-buttons{width:100%}.control-buttons .play-pause-btn,.control-buttons .reset-btn{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:2px solid #ffffff4d;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.3rem;height:50px;justify-content:center;transition:all .3s ease;width:50px}.control-buttons .play-pause-btn:hover,.control-buttons .reset-btn:hover{background:#ffffff4d;border-color:#ffffff80;transform:translateY(-2px)}.control-buttons .play-pause-btn.pause{background:#ff6b6b4d;border-color:#ff6b6b80}.control-buttons .play-pause-btn.play{background:#4caf504d;border-color:#4caf5080}.session-tabs{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin-bottom:1rem;width:100%}.session-tab{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:2px solid #ffffff4d;border-radius:25px;color:#fff;cursor:pointer;font-size:.9rem;font-weight:500;padding:.5rem 1.5rem;transition:all .3s ease}.session-tab:hover:not(:disabled){background:#ffffff4d;border-color:#ffffff80;transform:translateY(-2px)}.session-tab.active{background:#ffffffe6;border-color:#ffffffe6;color:#667eea;font-weight:700}.session-tab:disabled{cursor:not-allowed;opacity:.6}.task-section{width:100%}.task-input{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1a;border:2px solid #ffffff4d;border-radius:15px;box-sizing:border-box;color:#fff;font-size:1.1rem;padding:1.2rem 1.5rem;text-align:center;transition:all .3s ease;width:100%}.task-input::placeholder{color:#ffffffb3}.task-input:focus{background:#ffffff26;border-color:#fff9;outline:none}.task-input:disabled{cursor:not-allowed;opacity:.6}.timer-section{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center}.done-btn{background:#28a745;border:2px solid #1e7e34;border-radius:25px;box-shadow:0 4px 12px #28a7454d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:all .3s ease}.done-btn:hover{background:#218838;border-color:#1e7e34;box-shadow:0 6px 16px #28a74566;transform:translateY(-2px)}.task-history{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff14;border:1px solid #ffffff2e;border-radius:18px;box-shadow:0 18px 36px #00000040;margin:1.5rem auto 0;max-width:none;padding:1.75rem;width:100%}.history-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:1rem}.view-mode-tabs{display:flex;gap:.5rem}.view-tab{background:#fff3;border:none;border-radius:6px;color:#000;cursor:pointer;font-size:.95rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.view-tab:hover{background:#ffffff4d}.view-tab.active{background:#fff;color:#667eea}.history-subtext{color:#000;font-size:.9rem;opacity:.85}.task-history h3{color:#000;font-size:1.3rem;font-weight:600;margin:0}.daily-stats{align-items:center;display:flex;gap:1rem}.today-time{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:1px solid #ffffff4d;border-radius:20px;color:#000;font-size:.9rem;font-weight:600;padding:.5rem 1rem}.task-list{display:flex;flex-direction:column;gap:.75rem}.older-note{background:#ffffff14;border:1px dashed #ffffff40;border-radius:10px;color:#000;font-size:.9rem;opacity:.8;padding:.5rem .75rem;text-align:center}.history-pagination{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin-top:.75rem}.history-page-btn{background:#fff3;border:1px solid #ffffff4d;border-radius:12px;color:#000;cursor:pointer;font-size:.9rem;font-weight:600;padding:.45rem .9rem;transition:all .2s ease}.history-page-btn:hover:not(:disabled){background:#ffffff4d;transform:translateY(-1px)}.history-page-btn:disabled{cursor:not-allowed;opacity:.5}.page-indicator{color:#000;font-size:.95rem;font-weight:600;padding:.25rem .5rem}.task-day-group{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#ffffff14;border:1px solid #ffffff40;border-radius:12px;display:flex;flex-direction:column;gap:.5rem;padding:.75rem .75rem .5rem}.task-day-header{align-items:center;border-bottom:1px solid #ffffff26;display:flex;gap:.5rem;justify-content:space-between;padding:.25rem .35rem .35rem}.task-day-header h4{color:#000;font-size:1rem;font-weight:700;margin:0}.task-count{background:#fff3;border:1px solid #ffffff40;border-radius:12px;color:#000;font-size:.85rem;padding:.25rem .6rem}.task-item{align-items:center;background:#ffffff1a;border:1px solid #fff3;border-radius:10px;display:flex;gap:1rem;justify-content:space-between;padding:1rem;transition:all .3s ease}.task-item:hover{background:#ffffff26;transform:translateY(-1px)}.task-info{flex:1 1;text-align:center}.task-name{color:#000;font-size:1rem;font-weight:500;margin-bottom:.25rem}.task-type{background:#fff3;border-radius:12px;color:#000;display:inline-block;font-size:.8rem;padding:.2rem .6rem}.task-times{color:#000;font-size:.9rem;gap:1rem}.task-actions,.task-times{align-items:center;display:flex}.task-actions{gap:.5rem}.delete-btn,.duplicate-btn{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:1px solid #ffffff4d;border-radius:20px;color:#000;cursor:pointer;font-size:.85rem;font-weight:500;padding:.5rem 1rem;transition:all .3s ease;white-space:nowrap}.duplicate-btn:hover:not(:disabled){background:#ffffff4d;border-color:#ffffff80;transform:translateY(-1px)}.duplicate-btn:disabled{cursor:not-allowed;opacity:.5}.delete-btn{align-items:center;color:#000;display:flex;justify-content:center;min-width:36px;padding:.5rem}.delete-btn:hover{background:#dc3545cc;border-color:#dc3545e6;color:#fff;transform:translateY(-1px)}.duration{color:#000;font-weight:600}.session-info{text-align:center;width:100%}.session-info h2{font-size:2rem;font-weight:600;margin:0 0 1rem}.session-info p{font-size:1.1rem;margin:0;opacity:.9}@media (max-width:768px){.App-header h1{font-size:2.5rem}.session-info h2{font-size:1.5rem}.main-content{gap:1rem;padding:1rem}.main-timer-section{align-items:center;flex-direction:column;gap:2rem;min-height:auto}.center-panel,.left-panel,.right-panel{max-width:100%;width:100%}.center-panel,.right-panel{align-items:center}.session-tabs{flex-direction:row;flex-wrap:wrap;justify-content:center}.task-input{text-align:left}.session-tab{font-size:.8rem;padding:.4rem 1rem}.task-input{font-size:.9rem;padding:.8rem 1rem}.done-btn{font-size:.9rem;padding:.6rem 1.5rem}.task-history{margin-top:1.5rem;padding:1rem}.task-item{align-items:flex-start;flex-direction:column;gap:.5rem;padding:.8rem}.task-times{align-self:stretch;font-size:.8rem;gap:.5rem;justify-content:space-between}.task-actions{align-self:stretch;gap:.25rem;justify-content:flex-end}.duplicate-btn{font-size:.8rem;padding:.4rem .8rem}.delete-btn{min-width:32px;padding:.4rem}.history-header{align-items:flex-start;flex-direction:column;gap:.5rem}.today-time{font-size:.8rem;padding:.4rem .8rem}.task-name{font-size:.9rem}.settings-btn-corner{font-size:1.1rem;height:45px;right:1rem;top:1rem;width:45px}}@media (min-width:768px) and (max-width:1024px){.app-layout{max-width:100%;padding:1rem}.main-timer-section{flex-wrap:wrap;gap:1rem}.center-panel,.left-panel,.right-panel{flex:1 1;max-width:100%}.timer-circle svg{height:280px;width:280px}.progress-ring-background,.progress-ring-progress{r:112;cx:140;cy:140}.progress-ring-progress{stroke-dasharray:704;transform-origin:140px 140px}.time{font-size:2.5rem}.App-header h1{font-size:1.6rem}}@media (min-width:600px) and (max-width:767px){.App,.app-content,.app-layout{padding:1rem}.app-layout{border-radius:16px;gap:1rem}.main-timer-section{flex-direction:column;gap:1rem}.center-panel,.left-panel,.right-panel{border-radius:14px;max-width:100%;padding:1rem}.timer-circle svg{height:240px;width:240px}.progress-ring-background,.progress-ring-progress{r:96;cx:120;cy:120}.progress-ring-progress{stroke-dasharray:603;transform-origin:120px 120px}.time{font-size:2rem}.App-header h1{font-size:1.4rem}.App-header{padding:1rem}.task-history{border-radius:14px;padding:1rem}}@media (max-width:599px){.App{padding:.75rem}.app-content,.app-layout{gap:.75rem;padding:.75rem}.app-layout{border-radius:12px;margin:0}.App-header{gap:.25rem;margin-bottom:.5rem;padding:.75rem}.App-header h1{font-size:1.2rem;margin:0}.subtitle{font-size:.8rem}.main-timer-section{flex-direction:column;gap:.75rem;min-height:auto}.center-panel,.left-panel,.right-panel{border-radius:12px;flex:1 1;max-width:100%;padding:.75rem;width:100%}.timer-circle svg{height:200px;width:200px}.progress-ring-background,.progress-ring-progress{r:80;cx:100;cy:100}.progress-ring-progress{stroke-dasharray:503;transform-origin:100px 100px}.time{font-size:1.6rem}.current-task{font-size:.8rem;max-width:150px}.timer-controls{gap:.5rem}.play-pause-btn,.reset-btn{font-size:1.2rem;height:50px;width:50px}.control-buttons .play-pause-btn,.control-buttons .reset-btn{font-size:1rem;height:45px;width:45px}.session-tabs{flex-wrap:wrap;gap:.3rem}.session-tab{border-radius:20px;font-size:.75rem;padding:.35rem .75rem}.task-input{border-radius:10px;font-size:.95rem;padding:.75rem}.done-btn{font-size:.9rem;padding:.6rem 1.5rem}.task-history{border-radius:12px;margin-top:1rem;padding:1rem}.history-header{align-items:flex-start;flex-direction:column;gap:.5rem}.task-history h3{font-size:1.1rem;margin:0}.history-subtext{font-size:.8rem}.daily-stats{flex-wrap:wrap;gap:.5rem}.today-time{font-size:.75rem;padding:.35rem .7rem}.task-item{border-radius:8px;flex-direction:column;gap:.5rem;padding:.75rem}.task-name{font-size:.9rem}.task-times{font-size:.75rem;gap:.3rem}.task-actions{gap:.25rem}.delete-btn,.duplicate-btn{font-size:.75rem;padding:.3rem .6rem}.history-pagination{gap:.3rem}.history-page-btn{font-size:.8rem;padding:.35rem .7rem}.page-indicator{font-size:.8rem}.settings-btn-corner{font-size:1rem;height:42px;right:.75rem;top:.75rem;width:42px}}@media (max-width:359px){.App-header h1{font-size:1rem}.subtitle{font-size:.75rem}.time{font-size:1.4rem}.timer-circle svg{height:160px;width:160px}.progress-ring-background,.progress-ring-progress{r:64;cx:80;cy:80}.progress-ring-progress{stroke-dasharray:402;transform-origin:80px 80px}.play-pause-btn,.reset-btn{font-size:1rem;height:44px;width:44px}.session-tab{font-size:.7rem;padding:.3rem .6rem}.task-input{font-size:.9rem;padding:.6rem}}.server-status{font-size:.8rem;position:absolute;right:4rem;top:1rem}.status-indicator{border-radius:15px;font-weight:500;padding:.3rem .6rem;text-shadow:none}.status-indicator.online{background-color:#4caf5033;border:1px solid #4caf5080}.status-indicator.offline{background-color:#f4433633;border:1px solid #f4433680}.loading-container{align-items:center;display:flex;flex-direction:column;gap:1rem;height:50vh;justify-content:center}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #ffffff4d;border-radius:50%;border-top-color:#fff;height:40px;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loading-container p{font-size:1.1rem;margin:0;opacity:.9}.timer{flex-direction:column;gap:2rem}.timer,.timer-circle{align-items:center;display:flex}.timer-circle{justify-content:center;position:relative}.progress-ring{transform:rotate(-90deg)}.progress-ring-background{stroke:#fff3}.progress-ring-progress{stroke:#fff;stroke-linecap:round;transition:stroke-dashoffset .3s ease}.timer.work .progress-ring-progress{stroke:#ff6b6b}.timer.break .progress-ring-progress{stroke:#4ecdc4}.timer.longBreak .progress-ring-progress{stroke:#45b7d1}.timer-display{align-items:center;display:flex;flex-direction:column;justify-content:center;position:absolute}.time{color:#fff;font-family:Monaco,Consolas,monospace;font-size:2.8rem;font-weight:700;text-shadow:2px 2px 4px #0000004d}.current-task{word-wrap:break-word;color:#ffffffe6;font-size:.9rem;line-height:1.3;margin-top:.5rem;max-width:200px;text-align:center}.timer-controls{align-items:center;display:flex;gap:1rem}.play-pause-btn,.reset-btn{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:2px solid #ffffff4d;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;height:60px;justify-content:center;transition:all .3s ease;width:60px}.play-pause-btn:hover,.reset-btn:hover{background:#ffffff4d;border-color:#ffffff80;transform:scale(1.1)}.play-pause-btn.play{background:#4caf504d;border-color:#4caf5080}.play-pause-btn.pause{background:#ff98004d;border-color:#ff980080}@media (max-width:768px){.timer-circle svg{height:240px;width:240px}.progress-ring-background,.progress-ring-progress{r:96;cx:120;cy:120}.progress-ring-progress{stroke-dasharray:603;transform-origin:120px 120px}.time{font-size:2.2rem}.current-task{font-size:.85rem;max-width:180px}.play-pause-btn,.reset-btn{font-size:1.3rem;height:55px;width:55px}}@media (max-width:600px){.timer-circle svg{height:200px;width:200px}.progress-ring-background,.progress-ring-progress{r:80;cx:100;cy:100}.progress-ring-progress{stroke-dasharray:503;transform-origin:100px 100px}.time{font-size:1.8rem}.current-task{font-size:.8rem;max-width:140px}.play-pause-btn,.reset-btn{font-size:1.1rem;height:48px;width:48px}.timer-gap{gap:1.25rem}}@media (max-width:480px){.timer-circle svg{height:170px;width:170px}.progress-ring-background,.progress-ring-progress{r:68;cx:85;cy:85}.progress-ring-progress{stroke-dasharray:427;transform-origin:85px 85px}.time{font-size:1.5rem}.current-task{font-size:.75rem;max-width:120px}.play-pause-btn,.reset-btn{font-size:1rem;height:44px;width:44px}}@media (max-width:360px){.timer-circle svg{height:150px;width:150px}.progress-ring-background,.progress-ring-progress{r:60;cx:75;cy:75}.progress-ring-progress{stroke-dasharray:377;transform-origin:75px 75px}.time{font-size:1.3rem}.current-task{font-size:.7rem;max-width:100px}.play-pause-btn,.reset-btn{font-size:.9rem;height:40px;width:40px}}.timer-bar{background:#fff;border-bottom:1px solid #e0e0e0;box-shadow:0 2px 8px #00000014;box-sizing:border-box;padding:12px 0;position:-webkit-sticky;position:sticky;top:0;transition:box-shadow .2s ease;width:100%;z-index:100}.timer-bar.running{box-shadow:0 2px 12px #0000001f}.timer-bar-container{align-items:center;box-sizing:border-box;display:flex;gap:12px;margin:0 auto;max-width:100%;padding:0 20px;padding:0 var(--shell-padding,20px);width:calc(100% - 40px);width:calc(100% - var(--shell-padding, 20px)*2)}.timer-bar-play-btn{align-items:center;background:#4caf50;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:20px;height:48px;justify-content:center;transition:all .2s ease;width:48px}.timer-bar-play-btn:hover{background:#45a049;transform:scale(1.05)}.timer-bar-play-btn.pause{background:#ff9800}.timer-bar-play-btn.pause:hover{background:#e68900}.timer-bar-play-btn:active{transform:scale(.95)}.timer-bar-done-btn{background:#4caf50;border:none;border-radius:24px;color:#fff;cursor:pointer;flex-shrink:0;font-size:14px;font-weight:600;height:48px;padding:0 24px;transition:all .2s ease}.timer-bar-done-btn:hover{background:#45a049;box-shadow:0 2px 8px #4caf504d;transform:translateY(-1px)}.timer-bar-done-btn:active{transform:translateY(0)}.timer-bar-task-input{background:#fafafa;border:1px solid #e0e0e0;border-radius:8px;flex:1 1;font-size:16px;height:48px;min-width:200px;outline:none;padding:0 16px;transition:all .2s ease}.timer-bar-task-input:focus{background:#fff;border-color:#4caf50;box-shadow:0 0 0 3px #4caf501a}.timer-bar-task-input::placeholder{color:#999}.timer-bar-project{flex-shrink:0;max-width:200px;min-width:150px}.timer-bar-tags{flex-shrink:0;max-width:250px;min-width:180px}.timer-bar-time{color:#333;flex-shrink:0;font-family:Courier New,monospace;font-size:24px;font-weight:600;min-width:80px;text-align:center}.timer-bar.work .timer-bar-time{color:#4caf50}.timer-bar.break .timer-bar-time{color:#2196f3}.timer-bar.longBreak .timer-bar-time{color:#9c27b0}.timer-bar-dots{align-items:center;display:flex;flex-shrink:0;gap:6px}.session-dot{font-size:16px;line-height:1;transition:all .2s ease}.session-dot.filled{color:#4caf50}.session-dot.empty{color:#e0e0e0}.timer-bar-settings-btn{background:#fff;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer;flex-shrink:0;font-size:20px;height:40px;transition:all .2s ease;width:40px}.timer-bar-settings-btn:hover{background:#f5f5f5;border-color:#ccc}.timer-bar-settings-btn:active{transform:scale(.95)}.timer-bar.work{border-bottom-color:#4caf50}.timer-bar.break{border-bottom-color:#2196f3}.timer-bar.longBreak{border-bottom-color:#9c27b0}@media (max-width:768px){.timer-bar-container{gap:12px;padding:10px 16px}.timer-bar-play-btn{font-size:18px;height:44px;width:44px}.timer-bar-task-input{font-size:14px;height:44px}.timer-bar-time{font-size:20px;min-width:70px}.timer-bar-dots{display:none}.timer-bar-settings-btn{font-size:18px;height:36px;width:36px}}@media (max-width:480px){.timer-bar-time{font-size:18px;min-width:60px}}.project-selector-container{position:relative;width:100%}.project-selector-button{align-items:center;background:#fff;border:2px solid #ddd;border-radius:6px;cursor:pointer;display:flex;font-family:inherit;font-size:14px;gap:8px;padding:10px 12px;text-align:left;transition:all .2s ease;width:100%}.project-selector-button:hover{border-color:#999}.project-selector-button:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a;outline:none}.project-color-dot{border-radius:50%;flex-shrink:0;height:12px;width:12px}.project-name{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-arrow{flex-shrink:0;font-size:12px;transition:transform .2s ease}.project-selector-button:disabled{cursor:not-allowed;opacity:.6}.project-dropdown{background:#fff;border:1px solid #ddd;border-radius:0 0 6px 6px;border-top:none;box-shadow:0 4px 12px #00000026;left:0;max-height:300px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:100}.project-list{max-height:200px;overflow-y:auto}.project-item{align-items:center;border-bottom:1px solid #f5f5f5;cursor:pointer;display:flex;font-size:14px;gap:10px;padding:10px 12px;transition:background .15s ease}.project-item:last-child{border-bottom:none}.project-item:hover{background:#f9f9f9}.project-item.selected{background:#e3f2fd;font-weight:500}.project-item-dot{border-radius:50%;flex-shrink:0;height:10px;width:10px}.create-project-btn{background:#f5f5f5;border:none;border-top:1px solid #e0e0e0;color:#2196f3;cursor:pointer;font-family:inherit;font-size:13px;font-weight:500;padding:10px 12px;transition:background .2s ease;width:100%}.create-project-btn:hover{background:#eee}.create-project-form{background:#fafafa;border-top:1px solid #e0e0e0;padding:12px}.project-name-input{border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;margin-bottom:10px;padding:8px 10px;width:100%}.project-name-input:focus{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a;outline:none}.color-picker{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(4,1fr);margin-bottom:10px}.color-option{aspect-ratio:1;border:3px solid #0000;border-radius:4px;cursor:pointer;transition:all .2s ease;width:100%}.color-option:hover{transform:scale(.9)}.color-option.selected{border-color:#333;box-shadow:0 0 0 2px #fff,0 0 0 4px #333}.form-actions{display:flex;gap:8px}.cancel-btn,.create-btn{border:none;border-radius:4px;cursor:pointer;flex:1 1;font-family:inherit;font-size:13px;font-weight:600;padding:8px 12px;transition:all .2s ease}.create-btn{background:#2196f3;color:#fff}.create-btn:hover:not(:disabled){background:#1976d2}.create-btn:disabled{background:#ccc;cursor:not-allowed}.cancel-btn{background:#e0e0e0;color:#333}.cancel-btn:hover{background:#d0d0d0}.project-dropdown::-webkit-scrollbar,.project-list::-webkit-scrollbar{width:6px}.project-dropdown::-webkit-scrollbar-track,.project-list::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.project-dropdown::-webkit-scrollbar-thumb,.project-list::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.project-dropdown::-webkit-scrollbar-thumb:hover,.project-list::-webkit-scrollbar-thumb:hover{background:#555}.tag-input-container{position:relative;width:100%}.tag-input-field{background:#fff;border:1px solid #ddd;border-radius:6px;cursor:text;display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px;transition:all .2s ease}.tag-input-field:focus-within{border-color:#2196f3;box-shadow:0 0 0 2px #2196f31a}.tags-display{display:flex;flex-wrap:wrap}.tag-chip,.tags-display{align-items:center;gap:6px}.tag-chip{background:#e3f2fd;border-radius:16px;color:#1976d2;display:inline-flex;font-size:13px;font-weight:500;padding:4px 10px;white-space:nowrap}.tag-remove{align-items:center;background:none;border:none;color:#1976d2;cursor:pointer;display:flex;font-size:18px;line-height:1;padding:0;transition:color .2s ease}.tag-remove:hover{color:#0d47a1}.tag-input{border:none;color:#333;flex:1 1;font-family:inherit;font-size:14px;min-width:100px;outline:none;padding:0}.tag-input::placeholder{color:#999}.tag-suggestions{background:#fff;border:1px solid #ddd;border-radius:0 0 6px 6px;border-top:none;box-shadow:0 2px 8px #0000001a;left:0;max-height:200px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:100}.tag-suggestion{align-items:center;border-bottom:1px solid #f0f0f0;color:#333;cursor:pointer;display:flex;font-size:14px;gap:8px;padding:10px 12px;transition:background .15s ease}.tag-suggestion:last-child{border-bottom:none}.tag-suggestion:hover{background:#f5f5f5}.tag-suggestion.new-tag{background:#f0f7ff;color:#2196f3;font-weight:500}.tag-suggestion.new-tag:hover{background:#e3f2fd}.tag-icon{font-size:16px;font-weight:700}.tag-suggestions::-webkit-scrollbar{width:6px}.tag-suggestions::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.tag-suggestions::-webkit-scrollbar-thumb{background:#888;border-radius:3px}.tag-suggestions::-webkit-scrollbar-thumb:hover{background:#555}.timesheet-view{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.timesheet-header{grid-gap:12px;background:#f5f5f5;border-bottom:2px solid #e0e0e0;color:#666;display:grid;font-size:13px;font-weight:600;gap:12px;grid-template-columns:100px 100px 100px 1fr 120px 100px;letter-spacing:.5px;padding:12px 16px;position:-webkit-sticky;position:sticky;text-transform:uppercase;top:0;z-index:10}.timesheet-col{align-items:center;display:flex}.duration-col,.time-col,.type-col{justify-content:center}.actions-col{gap:8px;justify-content:flex-end}.timesheet-empty{color:#999;padding:60px 20px;text-align:center}.timesheet-empty p{font-size:16px;margin:0}.timesheet-date-group{border-bottom:1px solid #f0f0f0}.timesheet-date-header{align-items:center;background:#fafafa;border-bottom:1px solid #e8e8e8;display:flex;justify-content:space-between;padding:16px 16px 12px;position:-webkit-sticky;position:sticky;top:45px;z-index:5}.date-label{color:#333;font-size:15px;font-weight:600}.date-total{background:#fff;border:1px solid #e0e0e0;border-radius:12px;color:#666;font-size:14px;font-weight:500;padding:4px 12px}.timesheet-row{grid-gap:12px;align-items:center;border-bottom:1px solid #f5f5f5;display:grid;gap:12px;grid-template-columns:100px 100px 100px 1fr 120px 100px;padding:12px 16px;transition:background-color .15s ease}.timesheet-row.editing{grid-template-columns:180px 180px 80px 1fr 120px 100px}.timesheet-row:hover{background-color:#f9f9f9}.timesheet-row .time-col{color:#555;font-size:14px}.timesheet-row .duration-col{color:#333;font-size:14px;font-weight:500}.timesheet-row .task-col{color:#333;font-size:14px;overflow:visible}.task-content{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.project-dot{border-radius:50%;flex-shrink:0;height:10px;width:10px}.project-label{color:#555;font-weight:600;margin-right:6px}.task-name{flex:1 1;min-width:0}.task-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.task-tag{background:#e3f2fd;color:#1976d2;font-size:11px;padding:2px 8px;white-space:nowrap}.session-badge,.task-tag{border-radius:12px;font-weight:500}.session-badge{color:#fff;display:inline-block;font-size:12px;padding:4px 12px;text-align:center}.action-btn{background:none;border:1px solid #ddd;border-radius:4px;color:#666;cursor:pointer;font-size:14px;padding:6px 10px;transition:all .2s ease}.action-btn:hover{background:#f5f5f5;border-color:#999}.edit-btn:hover{background:#e3f2fd;border-color:#2196f3;color:#2196f3}.delete-btn:hover{background:#ffebee;border-color:#f44336;color:#f44336}.save-btn{background:#4caf50;border-color:#4caf50}.save-btn:hover{background:#45a049}.cancel-btn{background:#f44336;border-color:#f44336;color:#fff}.cancel-btn:hover{background:#da190b}.edit-input{border:1px solid #2196f3;border-radius:4px;font-family:inherit;font-size:14px;padding:6px 8px;width:100%}.edit-input:focus{border-color:#1976d2;box-shadow:0 0 0 2px #2196f31a;outline:none}.time-input{font-size:13px;min-width:160px}.task-input{min-width:200px}.load-more-trigger{padding:20px;text-align:center}.loading-spinner{color:#999;font-size:14px;padding:20px}.end-of-list{color:#999;font-size:14px;font-style:italic;padding:40px 20px;text-align:center}.end-of-list p{margin:0}@media (max-width:1024px){.timesheet-header,.timesheet-row{font-size:13px;gap:8px;grid-template-columns:80px 80px 80px 1fr 100px 80px}.timesheet-header{font-size:11px}}@media (max-width:768px){.timesheet-header{display:none}.timesheet-row{display:flex;flex-direction:column;gap:8px;padding:16px}.timesheet-col{justify-content:flex-start;width:100%}.timesheet-col:before{color:#666;content:attr(data-label);font-weight:600;margin-right:8px;min-width:80px}.actions-col{justify-content:flex-start;margin-top:8px}.session-badge{margin-left:auto}.timesheet-date-header{top:0}}.settings-overlay{align-items:center;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.settings-modal{background:#fff;border-radius:16px;box-shadow:0 20px 40px #0003;color:#333;max-width:90vw;min-width:400px;padding:2rem}.settings-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.settings-header h3{color:#333;font-size:1.5rem;margin:0}.close-btn{background:none;border:none;color:#666;cursor:pointer;font-size:2rem;line-height:1;padding:0;transition:color .3s ease}.close-btn:hover{color:#333}.settings-content{gap:1.5rem;margin-bottom:2rem}.setting-item,.settings-content{display:flex;flex-direction:column}.setting-item{gap:.5rem}.setting-item label{color:#333;font-size:1rem;font-weight:600}.setting-item input{border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;padding:.75rem;transition:border-color .3s ease}.setting-item input:focus{border-color:#667eea;outline:none}.settings-footer{display:flex;gap:1rem;justify-content:flex-end}.cancel-btn,.save-btn{border:none;border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.cancel-btn{background:#f5f5f5;color:#666}.cancel-btn:hover{background:#e0e0e0;color:#333}.save-btn{background:#667eea;color:#fff}.save-btn:hover{background:#5a6fd8;transform:translateY(-1px)}.data-management{border-top:1px solid #e0e0e0;margin-top:1rem;padding-top:1.5rem}.data-management h4{color:#333;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.data-stats{background:#f8f9fa;border-radius:8px;margin-bottom:1rem;padding:1rem}.data-stats p{color:#555;font-size:.9rem;margin:.5rem 0}.data-actions{display:flex;flex-wrap:wrap;gap:1rem}.clear-btn,.export-btn{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:500;min-width:120px;padding:.75rem 1rem;transition:all .3s ease}.export-btn{background:#28a745;color:#fff}.export-btn:hover{background:#218838;transform:translateY(-1px)}.clear-btn{background:#dc3545;color:#fff}.clear-btn:hover{background:#c82333;transform:translateY(-1px)}@media (max-width:768px){.settings-modal{border-radius:12px;min-width:0;padding:1.25rem;width:90vw}.settings-header h3{font-size:1.3rem}.setting-item label{font-size:.95rem}.setting-item input{font-size:.95rem;padding:.65rem}.settings-footer{flex-direction:column;gap:.75rem}.cancel-btn,.save-btn{padding:.7rem 1.25rem;width:100%}.data-stats{padding:.75rem}.data-stats p{font-size:.85rem}.data-actions{flex-direction:column}.clear-btn,.export-btn{padding:.65rem;width:100%}.data-management{padding-top:1rem}.data-management h4{font-size:1rem}}@media (max-width:480px){.settings-modal{padding:1rem;width:95vw}.settings-header h3{font-size:1.1rem}.close-btn{font-size:1.5rem}.settings-content{gap:1rem}.setting-item label{font-size:.9rem}.setting-item input{font-size:.9rem;padding:.6rem}.cancel-btn,.save-btn{font-size:.9rem;padding:.6rem 1rem}.data-stats p{font-size:.8rem;margin:.35rem 0}.clear-btn,.export-btn{font-size:.85rem;padding:.6rem}.data-management h4{font-size:.95rem}}.analytics-view{background:#fafbfc;display:flex;flex-direction:column;gap:2rem;min-height:100vh;padding:2rem}.analytics-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.analytics-header h2{color:#2c3e50;font-size:2rem;margin:0}.timeframe-tabs{display:flex;gap:.5rem}.timeframe-tabs .tab{background:#fff;border:1px solid #ddd;border-radius:6px;color:#666;cursor:pointer;font-size:.95rem;padding:.6rem 1.2rem;transition:all .2s}.timeframe-tabs .tab:hover{background:#f0f0f0}.timeframe-tabs .tab.active{background:#4a90e2;border-color:#4a90e2;color:#fff}.analytics-summary{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.summary-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000000d;padding:1.5rem;text-align:center}.summary-label{color:#999;font-size:.85rem;letter-spacing:.5px;margin-bottom:.5rem;text-transform:uppercase}.summary-value{color:#4a90e2;font-size:1.8rem;font-weight:600}.analytics-charts{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}.chart-container{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000014;padding:2rem}.chart-container h3{color:#2c3e50;font-size:1.1rem;margin-bottom:1.5rem;margin-top:0}.top-tasks{background:#fff;border-radius:8px;box-shadow:0 2px 8px #00000014;padding:2rem}.top-tasks h3{color:#2c3e50;font-size:1.1rem;margin-bottom:1.5rem;margin-top:0}.top-tasks-list{list-style:none;margin:0;padding:0}.top-task-item{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;gap:1rem;padding:1rem;transition:background .2s}.top-task-item:hover{background:#f9f9f9}.top-task-item:last-child{border-bottom:none}.top-task-rank{align-items:center;background:#4a90e2;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-weight:600;height:32px;justify-content:center;width:32px}.top-task-info{flex:1 1}.top-task-name{color:#2c3e50;font-weight:500;margin-bottom:.3rem}.top-task-project{color:#999;font-size:.85rem}.top-task-time{color:#4a90e2;flex-shrink:0;font-weight:600;text-align:right}@media (max-width:768px){.analytics-view{gap:1.5rem;padding:1rem}.analytics-header{align-items:flex-start;flex-direction:column;gap:1rem}.analytics-charts{grid-template-columns:1fr}.chart-container{padding:1rem}.analytics-summary{grid-template-columns:repeat(2,1fr)}}