:root{--bg:#f6f8fc;--card:#fff;--ink:#182642;--muted:#8791a4;--line:#e8edf4;--blue:#335de4;--blue-dark:#2249d1;--teal:#14a78d;--red:#d34963;--shadow:0 8px 30px rgba(30,52,99,.048);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #abc3ff;outline-offset:2px}.app-shell{width:min(100%,1000px);margin:0 auto;min-height:100vh;background:var(--bg)}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:500;letter-spacing:-.8px}.brand-bold{font-weight:800}.brand-mark{display:grid;place-items:center;background:var(--blue);width:36px;height:36px;border-radius:11px;color:#fff}.brand-mark svg{width:24px;height:24px}.header-right{display:flex;align-items:center;gap:18px}.local-tag{font-size:12px;color:#78879d}.tag-dot{display:inline-block;width:7px;height:7px;background:#14b98b;border-radius:50%;margin-right:7px}.icon-button{display:grid;place-items:center;border:0;background:#f0f4fc;color:#3a518b;border-radius:11px;width:38px;height:38px}.main-content{padding:27px 28px 112px;max-width:760px;margin:auto}.eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-size:10px;font-weight:800;color:#8b9bb4}.page-title{font-size:32px;line-height:1.17;letter-spacing:-1.2px;margin:5px 0 7px;font-weight:750}.subtitle{color:var(--muted);font-size:13px;margin:0}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 12px}.section-heading h2{margin:0;font-size:16px;letter-spacing:-.3px}.plain-link{background:none;border:0;color:var(--blue);font-size:12px;font-weight:750;padding:7px 0}.card{background:var(--card);border-radius:19px;padding:20px;box-shadow:var(--shadow);border:1px solid #eff2f8}.month-control{display:flex;gap:7px;align-items:center}.month-control button{border:1px solid #e9eef9;background:white;border-radius:9px;color:#405e96;width:32px;height:32px;display:grid;place-items:center}.month-control button svg{width:15px}.month-name{font-size:13px;font-weight:750;min-width:114px;text-align:center}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:19px}.metric{padding:19px;min-height:124px;position:relative;overflow:hidden}.metric::after{content:"";position:absolute;right:-16px;bottom:-34px;width:94px;height:94px;border-radius:50%;background:rgba(56,97,218,.06)}.metric-icon{width:31px;height:31px;display:grid;place-items:center;background:#eef2ff;color:var(--blue);border-radius:10px;margin-bottom:12px}.metric-icon svg{width:16px;height:16px}.metric-icon.green{background:#e6f8f1;color:#119a78}.metric-label{color:#8895a8;font-size:11px;font-weight:600}.metric-value{font-size:27px;font-weight:800;letter-spacing:-1.2px;margin:4px 0 2px;font-variant-numeric:tabular-nums;white-space:nowrap}.metric-foot{color:#92a0b2;font-size:10px}.timer-card{background:linear-gradient(125deg,#172c68 0%,#284fca 100%);color:#fff;padding:23px 23px 20px;box-shadow:0 16px 32px rgba(36,73,176,.2)}.timer-top{display:flex;justify-content:space-between;align-items:center}.timer-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:750}.live-status{border-radius:30px;background:rgba(255,255,255,.16);font-size:10px;padding:7px 12px;font-weight:700}.live-status.running::before{content:"";display:inline-block;height:6px;width:6px;background:#70f3a0;border-radius:50%;margin-right:7px}.timer-display{font-size:50px;letter-spacing:1px;font-weight:750;text-align:center;margin:19px 0 4px;font-variant-numeric:tabular-nums;line-height:1.16}.timer-hint{color:#bacbf5;text-align:center;font-size:12px;margin:0 0 23px}.timer-project{border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.09);height:39px;border-radius:10px;color:#fff;padding:0 12px;width:100%;outline:0;margin-bottom:13px;font-size:12px}.timer-project::placeholder{color:#c0cceb}.timer-actions{display:flex;gap:10px}.button{border:0;border-radius:12px;padding:13px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;font-size:13px}.button svg{width:16px;height:16px}.button-light{background:#fff;color:#2450c8}.button-frost{background:rgba(255,255,255,.17);color:white}.button-danger-frost{background:rgba(255,255,255,.13);color:#fff}.button-primary{background:var(--blue);color:#fff}.button-secondary{background:#f0f4fc;color:#2d4ba5}.button-danger{background:#fee8ed;color:#ba3554}.button.wide{width:100%}.pill{font-size:11px;font-weight:750;padding:6px 9px;border-radius:8px;background:#eaf9f3;color:#15946e}.row-list{display:flex;flex-direction:column;gap:10px}.entry-card{display:flex;align-items:center;gap:12px;padding:13px 15px;min-height:80px}.date-block{background:#f1f4fb;border-radius:12px;min-width:49px;height:50px;display:flex;align-items:center;justify-content:center;flex-direction:column;line-height:1.1}.date-block strong{font-size:19px}.date-block span{font-size:9px;color:#8696ae;text-transform:uppercase;margin-top:3px}.entry-info{min-width:0;flex:1}.entry-title{font-weight:750;font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.entry-sub{font-size:11px;color:#91a0b0;margin-top:6px}.entry-total{text-align:right;margin-left:auto;white-space:nowrap}.entry-hours{font-size:13px;font-weight:850}.entry-pay{font-size:10px;color:#a4acb9;margin-top:5px}.small-edit{display:grid;place-items:center;background:transparent;border:0;color:#a2aec0;padding:6px}.small-edit svg{width:17px;height:17px}.empty{text-align:center;padding:34px 15px;color:#8b9aab;font-size:13px}.empty-icon{height:44px;width:44px;display:grid;place-items:center;margin:0 auto 12px;background:#edf2fc;border-radius:14px;color:#6581c9}.progress-track{height:7px;width:100%;background:#edf1f8;border-radius:20px;overflow:hidden;margin-top:10px}.progress-track>div{height:100%;border-radius:20px;background:var(--blue)}.stat-flex{display:grid;grid-template-columns:1fr 1fr;gap:12px}.stat-tile{border:1px solid var(--line);border-radius:14px;padding:16px;background:white}.stat-tile b{display:block;font-size:21px;margin-top:10px}.stat-tile span{font-size:11px;color:#8695a8}.bars{height:155px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:13px;align-items:end;padding:12px 0 6px}.bar-wrap{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;min-width:0}.bar{width:min(27px,100%);min-height:3px;background:#dbe4fd;border-radius:6px 6px 2px 2px}.bar.focus{background:linear-gradient(0deg,#315be0,#6e94f2)}.bar-label{font-size:10px;color:#9aa6b6}.chart-foot{font-size:11px;color:#99a5b5;text-align:center}.settings-group{margin-top:18px}.settings-item{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:15px}.settings-title{font-weight:750;font-size:13px}.settings-help{color:#9aa6b5;font-size:11px;margin-top:4px;line-height:1.4}.settings-item input{width:115px;border:1px solid var(--line);border-radius:10px;padding:10px;text-align:right}.settings-action{width:100%;display:flex;gap:12px;align-items:center;border:1px solid var(--line);background:white;text-align:left;border-radius:13px;padding:15px;color:var(--ink);margin-top:9px}.settings-action>svg{color:var(--blue);width:19px}.settings-action>div{flex:1}.settings-action strong{display:block;font-size:12px}.settings-action small{display:block;color:#96a5b3;font-size:10px;margin-top:4px}.note-box{background:#edf3ff;color:#4a6399;border-radius:12px;padding:14px;font-size:11px;line-height:1.6;margin-top:15px}.alert-box{background:#fff6e7;color:#90601b;border-radius:12px;padding:13px;font-size:11px;line-height:1.5;margin:15px 0}.danger-link{border:0;background:none;color:var(--red);font-size:12px;font-weight:750;margin:18px 0;padding:10px 0}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:1000px;width:100%;height:76px;padding-bottom:env(safe-area-inset-bottom);background:#fff;display:flex;justify-content:space-around;border-top:1px solid var(--line);z-index:5}.nav-link{width:25%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:none;background:transparent;color:#a2b0c6;font-size:10px;font-weight:700}.nav-link svg{height:22px;width:22px}.nav-link.active{color:var(--blue)}.modal-backdrop{position:fixed;inset:0;background:rgba(17,30,60,.48);z-index:30;display:flex;align-items:flex-end;justify-content:center}.modal-backdrop[hidden]{display:none}.modal-card{background:#fff;border-radius:24px 24px 0 0;padding:22px;width:min(100%,500px);max-height:90dvh;overflow:auto;box-shadow:0 -14px 70px rgba(0,0,0,.2);padding-bottom:max(24px,env(safe-area-inset-bottom))}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.modal-head h2{margin:0;font-size:20px}.entry-form{display:flex;flex-direction:column;gap:13px}.entry-form label{font-size:11px;font-weight:750;color:#6d7d95;display:flex;flex-direction:column;gap:7px}.entry-form input,.entry-form textarea{width:100%;border:1px solid #e2e8f2;border-radius:11px;padding:12px;background:#fbfcff;min-height:42px;color:#213150;font-size:14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-error{color:#b83a53;background:#feeff2;border-radius:9px;padding:12px;font-size:12px;margin:0}.toast{position:fixed;left:50%;transform:translateX(-50%) translateY(30px);bottom:96px;z-index:60;background:#1a2950;color:#fff;padding:12px 20px;border-radius:12px;box-shadow:0 10px 35px rgba(0,0,0,.2);font-size:12px;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}@media(max-width:500px){.topbar{height:66px;padding:0 19px}.main-content{padding:25px 18px 112px}.brand{font-size:19px}.local-tag{font-size:10px}.header-right{gap:8px}.metric{padding:15px}.metric-value{font-size:24px}.page-title{font-size:29px}.timer-display{font-size:44px}.timer-card{padding:20px}.section-heading{margin-top:23px}}@media(min-width:700px){.main-content{padding-top:38px}.bottom-nav{height:82px}.modal-backdrop{align-items:center}.modal-card{border-radius:22px;padding:26px}.timer-card{padding:28px}}
