:root{color:#f8fafc;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#0f172a;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}body{min-width:320px;min-height:100dvh;margin:0}button{font:inherit}#root{min-height:100dvh}.app-shell{min-height:100dvh;padding:calc(24px + env(safe-area-inset-top)) 24px calc(110px + env(safe-area-inset-bottom));color:#f8fafc;background:radial-gradient(circle at 15% 10%,#14b8a638,#0000 32%),linear-gradient(135deg,#0f172a 0%,#1d4ed8 100%);flex-direction:column;gap:18px;display:flex}.app-shell--auth{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.app-shell--tasks,.app-shell--tabs{padding-bottom:calc(92px + env(safe-area-inset-bottom))}button:disabled{cursor:not-allowed;opacity:.7}.fab-add-habit{z-index:30;color:#083344;cursor:pointer;background:linear-gradient(135deg,#22d3ee,#06b6d4);border:none;border-radius:50%;place-items:center;width:58px;height:58px;padding:0;transition:transform .2s,box-shadow .2s;display:grid;position:fixed;bottom:104px;right:20px;box-shadow:0 14px 34px #22d3ee66}.fab-add-habit svg{width:24px;height:24px}.fab-add-habit:hover{transform:translateY(-2px)scale(1.04);box-shadow:0 18px 40px #22d3ee80}.fab-add-habit:active{transform:translateY(0)scale(.98)}.hero-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffff1f;border-radius:24px;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.topbar-date{color:#cbd5e1;white-space:nowrap;background:#ffffff14;border:1px solid #ffffff24;border-radius:999px;padding:7px 14px;font-size:.85rem;font-weight:700}.eyebrow{text-transform:uppercase;letter-spacing:.18em;opacity:.8;margin-bottom:6px;font-size:.75rem}.subtitle{opacity:.9;max-width:520px;margin-top:8px}.hero-badge{color:#111827;background:#f59e0b;border-radius:999px;padding:10px 14px;font-weight:700}.footer-note{text-align:center;opacity:.8;font-size:.95rem}.page-card{background:#ffffff1a;border:1px solid #ffffff24;border-radius:18px;padding:22px 24px}.page-card h2{margin:0 0 4px;font-size:1.6rem}.page-card .subtitle{margin-top:4px}.page-card .auth-form{background:0 0;margin-top:20px;padding:0}.targets-page{flex-direction:column;gap:18px;display:flex}.habit-progress-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr));gap:12px;display:grid}.habit-progress-card{background:#0f172a61;border:1px solid #ffffff1f;border-radius:8px;align-content:start;gap:12px;min-width:0;padding:16px;display:grid}.habit-progress-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.habit-progress-card-copy{gap:4px;min-width:0;display:grid}.habit-progress-card-copy h2{color:#f8fafc;overflow-wrap:anywhere;margin:0;font-size:1.05rem;line-height:1.3}.habit-progress-frequency{color:#94a3b8;font-size:.78rem}.habit-progress-track{background:#ffffff1f;border-radius:999px;height:8px;overflow:hidden}.habit-progress-track span{border-radius:inherit;background:#34d399;height:100%;transition:width .25s;display:block}.habit-progress-counts{color:#cbd5e1;justify-content:space-between;gap:12px;font-size:.84rem;display:flex}.habit-progress-counts strong{color:#f8fafc}.habit-progress-meta{flex-wrap:wrap;gap:6px;display:flex}.habit-progress-chip{color:#cbd5e1;background:#ffffff0f;border:1px solid #ffffff24;border-radius:999px;padding:3px 9px;font-size:.72rem;font-weight:700}.habit-progress-chip.is-done{color:#a7f3d0;background:#34d39924;border-color:#34d39973}.habit-progress-chip.is-warning{color:#fecaca;background:#f8717124;border-color:#f8717173}.habit-progress-eta{color:#94a3b8;margin:0;font-size:.76rem}.habit-progress-card.is-formed{background:linear-gradient(150deg,#34d39924,#22d3ee0f),#0f172a61;border-color:#34d39973}.habit-progress-card.is-formed .habit-progress-track span{background:linear-gradient(90deg,#34d399,#22d3ee)}.habit-progress-empty{color:#cbd5e1;margin:0;padding:20px 0}.tasks-page{width:min(100%,900px);height:calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));flex-direction:column;align-self:center;gap:20px;min-height:0;display:flex;overflow:hidden}.tasks-head{justify-content:space-between;align-items:center;gap:20px;display:flex}.tasks-head .eyebrow,.targets-head .eyebrow{color:#67e8f9;white-space:nowrap;flex:none;margin:0}.tasks-date{box-sizing:border-box;color:#cbd5e1;white-space:nowrap;text-align:center;flex:0 0 164px;justify-content:center;align-items:center;width:164px;font-size:.9rem;font-weight:700;display:inline-flex;overflow:hidden}.tasks-date span{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;display:block;overflow:hidden}.date-picker-field{flex:0 0 164px;width:164px;height:34px;position:relative}.date-picker-trigger{appearance:none;font:inherit;cursor:pointer}.date-picker-trigger:focus-visible{border-color:#67e8f9bf;outline:none}.date-picker-trigger.is-open{border-color:#67e8f9bf}.date-picker-popover{z-index:20;color:#e2e8f0;background:#10233a;border:1px solid #ffffff24;border-radius:10px;width:min(288px,100vw - 32px);padding:12px;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 30px #00000059}.date-picker-month{justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;display:flex}.date-picker-month strong{font-size:.9rem}.date-picker-month button{width:32px;height:32px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;padding:0;font-size:1.4rem;display:grid}.date-picker-month button:hover,.date-picker-day:hover{background:#ffffff1f}.date-picker-weekdays,.date-picker-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;display:grid}.date-picker-weekdays{color:#94a3b8;text-align:center;margin-bottom:4px;font-size:.72rem}.date-picker-weekdays span{padding:4px 0}.date-picker-day{aspect-ratio:1;color:#e2e8f0;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;padding:0;font-size:.82rem}.date-picker-day.is-other-month{color:#64748b}.date-picker-day.is-today{border-color:#67e8f98c}.date-picker-day.is-selected{color:#082f49;background:#22d3ee;font-weight:800}.tasks-progress{gap:9px;display:grid}.tasks-progress-label{color:#cbd5e1;justify-content:space-between;gap:12px;font-size:.9rem;display:flex}.tasks-progress-label strong{color:#f8fafc}.tasks-progress-value{color:#f8fafc;align-items:center;gap:6px;font-weight:800;display:inline-flex}.tasks-progress-emoji{font-size:1.05rem;line-height:1}.tasks-progress-track{background:#ffffff1f;border-radius:999px;height:8px;overflow:hidden}.tasks-progress-track span{border-radius:inherit;height:100%;transition:width .2s,background-color .25s;display:block}.tasks-transfer-notice{color:#fde68a;background:#facc1514;border:1px solid #facc1559;border-radius:10px;gap:10px;padding:12px 14px;display:grid}.tasks-transfer-message{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.9rem;font-weight:700;overflow:hidden}.tasks-transfer-list{gap:6px;max-height:220px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.tasks-transfer-list li{color:#fef3c7;background:#0f172a59;border-radius:6px;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 10px;font-size:.88rem;display:flex}.tasks-transfer-list li span{overflow-wrap:anywhere;min-width:0}.tasks-transfer-list time{color:#d6c48a;flex:none;font-size:.78rem}.tasks-transfer-actions{justify-content:flex-end;gap:10px;display:flex}.tasks-transfer-actions button{min-height:36px;font:inherit;cursor:pointer;border-radius:8px;padding:0 12px;font-size:.84rem;font-weight:700}.tasks-transfer-ignore{color:#cbd5e1;background:0 0;border:1px solid #cbd5e14d;order:1}.tasks-transfer-move{color:#fef3c7;background:#facc1524;border:1px solid #facc1573;order:2}.tasks-transfer-actions button:disabled{cursor:wait;opacity:.7}.tasks-head-actions{align-items:center;gap:12px;display:flex}.tasks-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.tasks-list-scroll,.tab-scroll-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#94a3b88c transparent;flex:auto;width:calc(100% + 12px);min-height:0;margin-right:-12px;padding-right:12px;overflow-y:auto}.tasks-list-scroll::-webkit-scrollbar{width:8px}.tab-scroll-content::-webkit-scrollbar{width:8px}.tasks-list-scroll::-webkit-scrollbar-thumb{background:#94a3b88c;border-radius:999px}.tab-scroll-content::-webkit-scrollbar-thumb{background:#94a3b88c;border-radius:999px}.dashboard-page>.tab-scroll-content{gap:18px;display:grid}.profile-page>.tab-scroll-content{flex-direction:column;gap:14px;display:flex}.tasks-item{background:#0f172a52;border:1px solid #ffffff1f;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:56px;padding:7px 6px 7px 8px;transition:border-color .16s,background-color .16s;display:grid;position:relative;overflow:hidden}.tasks-item:hover{background:#0f172a7a;border-color:#6ee7b74d}.tasks-item-copy{gap:2px;min-width:0;display:grid}.tasks-item-title{overflow-wrap:anywhere;color:#f8fafc;min-width:0}.tasks-item-frequency{color:#a5f3fc;letter-spacing:.02em;background:#22d3ee1f;border-radius:999px;width:fit-content;padding:1px 8px;font-size:.7rem;font-weight:700}.tasks-transfer-emoji{margin-right:6px;font-size:.95em;display:inline-block}.expandable-description{align-items:flex-end;gap:4px;min-width:0;display:flex}.expandable-description-text{color:#94a3b8;overflow-wrap:anywhere;flex:1;min-width:0;max-height:2.72em;font-size:.84rem;line-height:1.36;overflow:hidden}.expandable-description-text.is-expanded{max-height:none}.expandable-description-toggle{color:#cbd5e1;font:inherit;cursor:pointer;background:0 0;border:0;flex:none;padding:0 2px;font-size:.84rem;font-weight:700}.tasks-item.is-complete .tasks-item-title{color:#94a3b8;text-decoration:line-through}.tasks-item-actions{align-items:center;gap:6px;display:flex}.tasks-card-celebration{z-index:1;pointer-events:none;position:absolute;inset:0;overflow:hidden}.tasks-card-celebration span{background:#fef08a;border-radius:3px;width:7px;height:13px;animation:1.25s cubic-bezier(.2,.8,.35,1) infinite tasks-confetti-fall;position:absolute;top:-12px}.tasks-card-celebration span:first-child{background:#f472b6;animation-delay:-.08s;left:8%}.tasks-card-celebration span:nth-child(2){background:#67e8f9;animation-delay:-.48s;left:19%}.tasks-card-celebration span:nth-child(3){background:#a7f3d0;animation-delay:-.82s;left:31%}.tasks-card-celebration span:nth-child(4){background:#fbbf24;animation-delay:-.28s;left:43%}.tasks-card-celebration span:nth-child(5){background:#c4b5fd;animation-delay:-.65s;left:54%}.tasks-card-celebration span:nth-child(6){background:#fb7185;animation-delay:-.18s;left:65%}.tasks-card-celebration span:nth-child(7){background:#67e8f9;animation-delay:-.95s;left:74%}.tasks-card-celebration span:nth-child(8){background:#fef08a;animation-delay:-.38s;left:83%}.tasks-card-celebration span:nth-child(9){background:#86efac;animation-delay:-.7s;left:91%}.tasks-card-celebration span:nth-child(10){background:#f9a8d4;animation-delay:-1.1s;left:37%}.tasks-item.is-counting-down .tasks-completion-toggle{z-index:2;position:relative;box-shadow:0 0 0 3px #34d39924,0 0 18px #34d39959}@keyframes tasks-confetti-fall{0%{opacity:0;transform:translateY(-8px)rotate(0)scale(.7)}14%{opacity:1}to{opacity:0;transform:translate(18px,88px)rotate(300deg)scale(1)}}.tasks-reorder-handle{color:#94a3b8;cursor:grab;touch-action:none;background:0 0;border:0;border-radius:6px;flex:0 0 30px;place-items:center;width:30px;height:36px;padding:0;display:grid}.tasks-reorder-handle:hover:not(:disabled){color:#e2e8f0;background:#ffffff14}.tasks-reorder-handle:active:not(:disabled){cursor:grabbing}.tasks-reorder-handle:disabled{cursor:default;opacity:.3}.tasks-completion-toggle{color:#6ee7b7;min-width:82px;min-height:36px;font:inherit;cursor:pointer;background:#34d3991f;border:1px solid #34d39973;border-radius:8px;padding:0 10px;font-size:.82rem;font-weight:800}.tasks-completion-toggle.is-complete{color:#cbd5e1;background:#94a3b81f;border-color:#94a3b84d}.tasks-delete{color:#94a3b8;cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;width:36px;height:36px;padding:0;display:grid}.tasks-delete:hover{color:#fca5a5;background:#f871711f}.tasks-empty{color:#cbd5e1;text-align:center;border:1px dashed #ffffff2e;border-radius:10px;margin:0;padding:28px 16px}.tasks-loading{border:1px solid #ffffff1f;border-radius:10px;align-content:center;gap:16px;min-height:220px;padding:24px;display:grid}.tasks-loading-spinner{z-index:40;box-sizing:border-box;border:3px solid #6ee7b733;border-top-color:#6ee7b7;border-radius:50%;width:34px;height:34px;margin:-17px 0 0 -17px;animation:.8s linear infinite tasks-loading-spin;position:fixed;top:50%;left:50%}.tasks-loading-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.tasks-loading-row{background:#0f172a52;border:1px solid #ffffff1f;border-radius:10px;justify-content:space-between;align-items:center;gap:16px;min-height:68px;padding:10px 16px;display:flex;position:relative;overflow:hidden}.tasks-loading-row:after{content:"";background:linear-gradient(100deg,#0000 20%,#ffffff17 50%,#0000 80%);animation:1.5s ease-in-out infinite tasks-loading-shimmer;position:absolute;inset:0;transform:translate(-100%)}.tasks-loading-line,.tasks-loading-action{background:#cbd5e124;border-radius:6px;height:12px}.tasks-loading-line{width:min(48%,260px)}.tasks-loading-action{width:58px;height:30px}@keyframes tasks-loading-spin{to{transform:rotate(360deg)}}@keyframes tasks-loading-shimmer{to{transform:translate(100%)}}@media (prefers-reduced-motion:reduce){.tasks-loading-spinner,.tasks-loading-row:after,.tasks-card-celebration span{animation:none}}.todo-modal-card{gap:12px;max-height:calc(100dvh - 40px);display:grid;overflow-y:auto}.todo-modal-card h3,.todo-modal-card label{margin:0}.todo-modal-card input[type=text],.todo-modal-card textarea{box-sizing:border-box;color:#fff;width:100%;font:inherit;background:#0f172a99;border:1px solid #ffffff24;border-radius:10px;outline:none;font-size:16px}.todo-modal-card input[type=text]{min-height:44px;padding:10px 12px}.todo-modal-card textarea{resize:vertical;min-height:84px;padding:10px 12px}.todo-modal-card input[type=text]:focus,.todo-modal-card textarea:focus{border-color:#22d3ee99}.todo-modal-card .todo-habit-option{cursor:pointer;flex-direction:row;align-items:center;gap:10px;min-height:28px;display:flex}.todo-habit-option input{accent-color:#34d399;width:18px;height:18px;margin:0}.todo-habit-note{color:#94a3b8;margin:-4px 0 0;font-size:.8rem;line-height:1.4}.todo-modal-card .freq-field{background:#22d3ee0d;border:1px solid #22d3ee38;border-radius:12px;margin-bottom:4px;padding:12px}.todo-modal-card .actions{justify-content:flex-end;margin-top:2px}.todo-confirm-card p{color:#cbd5e1;overflow-wrap:anywhere;margin:0 0 12px}.todo-confirm-card .actions{justify-content:flex-end}.todo-confirm-card .todo-confirm-note{color:#fca5a5;margin-top:-4px;font-size:.82rem;line-height:1.45}.targets-head{flex-direction:column;gap:8px;display:flex}.targets-head-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.date-nav{align-items:center;gap:8px;display:flex}.date-nav-btn{color:#cbd5e1;cursor:pointer;background:#ffffff14;border:1px solid #ffffff24;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;transition:background .2s,color .2s;display:grid}.date-nav-btn svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.date-nav-btn:hover:not(:disabled){color:#f8fafc;background:#ffffff29}.date-nav-btn:disabled{opacity:.4;cursor:not-allowed}.targets-head .subtitle{max-width:100%;margin-top:0}.targets-form{flex-direction:column;gap:20px;display:flex}.target-group-title{text-transform:uppercase;letter-spacing:.12em;color:#f8fafcb3;align-items:center;gap:10px;margin:0 0 10px;font-size:.82rem;font-weight:800;display:flex}.target-group-title:after{content:"";background:#ffffff1f;flex:1;height:1px}.target-group{flex-direction:column;gap:10px;display:flex}.empty-due{text-align:center;background:#ffffff0a;border:1px dashed #ffffff24;border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:36px 20px;display:flex}.empty-due-icon{margin-bottom:6px;font-size:2rem}.empty-due p{margin:0;font-weight:800}.empty-due-sub{color:#f8fafc99;font-size:.82rem;font-weight:600}.target-row{border:1px solid color-mix(in srgb, var(--bar-color,#ffffff1a) 45%, transparent);background:#ffffff12;border-radius:14px;flex-direction:column;gap:12px;padding:14px;transition:border-color .2s,background .2s;display:flex;position:relative;overflow:hidden}.target-row.is-done{background:#34d39917}.target-row.celebrating{animation:.5s done-pop}@keyframes done-pop{0%{transform:scale(.96)}50%{transform:scale(1.03)}to{transform:scale(1)}}.confetti-overlay{z-index:999;pointer-events:none;position:fixed;inset:0;overflow:hidden}.confetti-overlay span{opacity:0;width:10px;height:18px;animation:2s linear forwards confetti-screen;animation-delay:var(--delay);border-radius:3px;position:absolute}@keyframes confetti-screen{0%{opacity:1;transform:translate(0)rotate(0)}to{opacity:0;transform:translate(calc(var(--dx) * 1px), 150vh) rotate(var(--rot))}}.grand-celebration{z-index:900;pointer-events:none;position:fixed;inset:0}.grand-confetti{position:absolute;inset:0;overflow:hidden}.grand-confetti span{opacity:0;width:11px;height:19px;animation:3.4s linear forwards confetti-screen;animation-delay:var(--delay);border-radius:3px;position:absolute}.grand-banner{text-align:center;background:linear-gradient(140deg,#22d3ee3d,#a78bfa2e),#0f172ae0;border:1px solid #ffffff38;border-radius:24px;flex-direction:column;align-items:center;gap:4px;padding:26px 40px;animation:4.2s forwards grand-pop;display:flex;position:absolute;top:26%;left:50%;transform:translate(-50%,-50%)scale(.4);box-shadow:0 30px 80px #020617a6}.grand-banner-emoji{margin-bottom:4px;font-size:2.6rem}.grand-banner h2{margin:0;font-size:1.7rem}.grand-banner p{color:#f8fafcd9;margin:0;font-weight:700}@keyframes grand-pop{0%{opacity:0;transform:translate(-50%,-50%)scale(.4)}10%{opacity:1;transform:translate(-50%,-50%)scale(1.08)}18%{transform:translate(-50%,-50%)scale(1)}82%{opacity:1}to{opacity:0;transform:translate(-50%,-50%)scale(1)}}.target-row-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.target-info{flex:1;align-items:center;gap:12px;min-width:0;display:flex}.target-icon{color:#7dd3fc;background:#ffffff1a;border-radius:12px;flex-shrink:0;place-items:center;width:40px;height:40px;transition:background .2s,color .2s;display:grid}.target-row.is-done .target-icon{color:#6ee7b7;background:#34d3992e}.target-name{white-space:nowrap;text-overflow:ellipsis;font-weight:800;display:block;overflow:hidden}.target-hint{color:#f8fafc99;font-size:.78rem;display:block}.target-edit{flex-shrink:0}.target-value{background:#0f172a99;border:1px solid #ffffff24;border-radius:10px;align-items:center;display:flex;overflow:hidden}.target-value input[type=number]{color:#fff;background:0 0;border:none;outline:none;width:74px;padding:8px 4px 8px 10px;font-size:.95rem}.target-value .target-unit{color:#a5f3fc;padding-right:10px;font-size:.78rem;font-weight:700}.target-progress-block{flex-direction:column;gap:6px;display:flex}.target-progress{--fill:0%}.target-progress input[type=range]{appearance:none;background:linear-gradient(90deg, var(--bar-color) var(--fill), #ffffff1f var(--fill));border-radius:999px;outline:none;width:100%;height:10px;transition:background .2s}.target-progress input[type=range]::-webkit-slider-thumb{appearance:none;background:var(--bar-color);cursor:pointer;border:3px solid #0f172a;border-radius:50%;width:22px;height:22px;box-shadow:0 2px 8px #02061766}.target-progress input[type=range]::-moz-range-thumb{background:var(--bar-color);cursor:pointer;border:3px solid #0f172a;border-radius:50%;width:16px;height:16px}.target-progress-meta{color:#f8fafca6;justify-content:space-between;gap:10px;font-size:.8rem;font-weight:700;display:flex}.target-progress-meta .status-done{color:#34d399}.targets-summary{background:linear-gradient(140deg,#22d3ee1f,#34d39914),#0f172a66;border:1px solid #ffffff1a;border-radius:16px;align-items:center;gap:18px;padding:18px 20px;display:flex}.targets-ring .ring-bg{fill:none;stroke:#ffffff1f;stroke-width:7px}.targets-ring .ring-fg{fill:none;stroke:#22d3ee;stroke-width:7px;stroke-linecap:round;transform-origin:50%;transition:stroke-dashoffset .4s;transform:rotate(-90deg)}.targets-ring .ring-text{fill:#f8fafc;font-size:13px;font-weight:800}.targets-summary-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.targets-summary-text strong{font-size:1.1rem}.targets-summary-text>span{color:#f8fafca6;font-size:.82rem}.targets-bar{background:#ffffff1a;border-radius:999px;height:10px;margin-top:10px;overflow:hidden}.targets-bar>div{background:linear-gradient(90deg,#22d3ee,#34d399);border-radius:999px;height:100%;transition:width .3s}.targets-footer{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.habit-streaks-card{background:linear-gradient(150deg,#22d3ee1f,#34d39912),#0f172a66;border-color:#22d3ee4d;flex-direction:column;gap:12px;display:flex}.habit-streaks-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.habit-streaks-head h3{margin:0;font-size:1.2rem}.habit-streaks-goal{color:#a5f3fc;background:#22d3ee1a;border:1px solid #22d3ee66;border-radius:999px;align-items:center;gap:6px;padding:6px 12px;font-size:.8rem;font-weight:700;display:inline-flex}.habit-streaks-goal strong{font-size:1rem}.habit-streaks-card .subtitle{margin-top:0}.habit-streaks-list{flex-direction:column;gap:8px;display:flex}.habit-streak-row{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:14px;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.habit-streak-icon{color:#7dd3fc;background:#ffffff1a;border-radius:12px;place-items:center;width:40px;height:40px;display:grid}.habit-streak-info{flex-direction:column;gap:5px;min-width:0;display:flex}.habit-streak-name{white-space:nowrap;text-overflow:ellipsis;font-weight:800;overflow:hidden}.habit-streak-bar{background:#ffffff1f;border-radius:999px;height:7px;overflow:hidden}.habit-streak-bar>div{border-radius:999px;height:100%;transition:width .35s}.habit-streak-meta{justify-content:space-between;align-items:baseline;gap:10px;font-size:.78rem;font-weight:800;display:flex}.habit-streak-sub{color:#f8fafc99;font-weight:600}.habit-streak-days{flex-direction:column;align-items:flex-end;line-height:1.1;display:flex}.habit-streak-days strong{font-size:1.3rem}.habit-streak-days span{color:#f8fafc8c;font-size:.68rem;font-weight:700}.add-habit-btn{color:#a5f3fc;cursor:pointer;background:#22d3ee0f;border:1px dashed #a5f3fc66;border-radius:12px;align-items:center;gap:8px;padding:11px 16px;font-weight:800;transition:background .2s,border-color .2s;display:inline-flex}.add-habit-btn:hover{background:#22d3ee24;border-color:#a5f3fcb3}.delete-habit-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:10px;flex-shrink:0;place-items:center;width:34px;height:34px;transition:background .2s,color .2s;display:grid}.delete-habit-btn:hover{color:#fca5a5;background:#f8717129}.delete-habit-btn svg{width:17px;height:17px}.habit-delete-card{border-color:#f8717161;width:min(100%,440px);box-shadow:0 0 0 1px #f8717124,0 24px 70px #02061799}.habit-delete-head{align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.habit-delete-head h3{overflow-wrap:anywhere;margin:0;font-size:1.1rem;line-height:1.35}.habit-delete-icon{color:#fca5a5;background:#f871712e;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:1.05rem;font-weight:900;display:grid}.habit-delete-lead{color:#fecaca;margin:0 0 12px;font-size:.92rem;font-weight:700;line-height:1.5}.habit-delete-warning{color:#fecaca;background:#f8717114;border:1px solid #f871714d;border-radius:12px;margin:0 0 14px;padding:10px 12px 10px 28px;font-size:.84rem;line-height:1.5}.habit-delete-warning li+li{margin-top:4px}.habit-delete-card .actions{justify-content:flex-end}.habit-delete-keep{min-width:124px}.habit-delete-error{margin:0 0 12px;font-size:.82rem}.modal-overlay{z-index:500;background:#020617c7;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal-card{background:#0f172af7;border:1px solid #ffffff24;border-radius:16px;width:min(100%,400px);padding:22px;box-shadow:0 24px 70px #02061780}.modal-card h3{margin:0 0 16px;font-size:1.15rem}.modal-card label{color:#dbeafe;flex-direction:column;gap:6px;margin-bottom:14px;font-size:.9rem;font-weight:700;display:flex}.modal-card input[type=text],.modal-card input[type=number]{color:#fff;background:#0f172a99;border:1px solid #ffffff24;border-radius:10px;outline:none;min-height:44px;padding:10px 12px;font-size:16px}.modal-card input:focus{border-color:#22d3ee99}.modal-card .actions{margin-top:6px}.freq-field{border:none;margin:0 0 16px;padding:0}.freq-field legend{color:#dbeafe;margin-bottom:8px;font-size:.9rem;font-weight:700}.freq-options{flex-wrap:wrap;gap:8px;display:flex}.freq-option{color:#cbd5e1;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:999px;padding:9px 14px;font-size:.85rem;font-weight:700;transition:background .2s,border-color .2s,color .2s}.freq-option:hover{color:#f8fafc;border-color:#a5f3fc66}.freq-option.active{color:#083344;background:#22d3ee;border-color:#0000}.freq-interval{color:#cbd5e1;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;font-size:.9rem;font-weight:700;display:flex}.freq-interval input[type=number]{color:#fff;text-align:center;appearance:textfield;background:#0f172a99;border:1px solid #ffffff24;border-radius:10px;outline:none;width:46px;min-height:38px;padding:8px 4px;font-size:16px}.freq-interval input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.freq-interval input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.freq-interval input:focus{border-color:#22d3ee99}.freq-stepper{align-items:center;gap:3px;display:inline-flex}.freq-step{color:#e2e8f0;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:10px;width:30px;height:38px;padding:0;font-size:1.05rem;font-weight:800;line-height:1;transition:background .2s,border-color .2s,color .2s}.freq-step:hover:not(:disabled){color:#f8fafc;background:#a5f3fc14;border-color:#a5f3fc66}.freq-step:disabled{opacity:.35;cursor:default}.freq-interval .freq-hint{color:#f8fafc8c;font-size:.75rem;font-weight:600}.day-pills{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:12px;display:grid}.day-pills .freq-note{grid-column:1/-1}.day-pill{color:#cbd5e1;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff29;border-radius:12px;width:100%;min-width:0;height:40px;padding:0 2px;font-size:.75rem;font-weight:800;transition:background .2s,border-color .2s,color .2s}@media (width<=420px){.day-pills{gap:4px}.day-pill{border-radius:10px;height:36px;font-size:.66rem}}.day-pill:hover{color:#f8fafc;border-color:#a5f3fc66}.day-pill.selected{color:#083344;background:#22d3ee;border-color:#0000}.freq-note{color:#fca5a5;margin:2px 0 0;font-size:.78rem;font-weight:600}.app-shell--profile{height:100dvh;overflow:hidden}.profile-page{height:calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));scrollbar-width:thin;scrollbar-color:#94a3b866 transparent;flex-direction:column;flex:auto;gap:14px;min-height:0;display:flex;overflow:hidden}@media (height<=640px){.profile-page{overscroll-behavior:contain;overflow-y:auto}}.profile-page::-webkit-scrollbar{width:8px}.profile-page::-webkit-scrollbar-thumb{background:#94a3b866;border-radius:999px}.profile-head{background:linear-gradient(140deg,#a78bfa29,#22d3ee1a),#0f172a66;border:1px solid #ffffff1f;border-radius:18px;align-items:center;gap:14px;padding:16px 18px;display:flex}.profile-avatar{color:#0f172a;background:linear-gradient(135deg,#22d3ee,#a78bfa);border-radius:50%;flex-shrink:0;place-items:center;width:64px;height:64px;font-size:1.4rem;font-weight:900;display:grid;box-shadow:0 10px 30px #22d3ee4d}.profile-identity h2{margin:0;font-size:1.35rem}.profile-identity p{opacity:.8;margin:2px 0}.profile-member{color:#67e8f9;text-transform:uppercase;letter-spacing:.08em;background:#22d3ee29;border-radius:999px;margin-top:6px;padding:4px 10px;font-size:.75rem;font-weight:800;display:inline-block}.profile-stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.profile-stat{background:#ffffff12;border:1px solid #ffffff1a;border-radius:14px;flex-direction:column;gap:2px;padding:14px 16px;display:flex}.profile-stat span{text-transform:uppercase;letter-spacing:.12em;color:#f8fafc99;font-size:.72rem;font-weight:800}.profile-stat strong{font-size:1.35rem}.profile-stat strong.profile-stat-text{font-size:1.05rem}.profile-stat em{font-size:.8rem;font-style:normal;font-weight:800}.checkin-card{background:linear-gradient(140deg,#fb71852e,#f9731614),#0f172a66;border:1px solid #fb718559;border-radius:16px;align-items:center;gap:14px;padding:16px 18px;display:flex}.checkin-icon{flex-shrink:0;font-size:1.7rem}.checkin-info{flex-direction:column;gap:1px;min-width:0;display:flex}.checkin-label{text-transform:uppercase;letter-spacing:.12em;color:#f8fafc99;font-size:.7rem;font-weight:800}.checkin-streak{color:#fda4af;font-size:1.15rem}.checkin-status{opacity:.85;font-size:.8rem}.checkin-status.is-checked{color:#34d399}.checkin-week{align-items:center;gap:5px;margin-left:auto;display:flex}.checkin-dot{background:#ffffff24;border-radius:50%;width:12px;height:12px}.checkin-dot.hit{background:#34d399;box-shadow:0 0 8px #34d39980}.checkin-dot.today{outline-offset:2px;outline:2px solid #f8fafc99}.profile-form-title{text-transform:uppercase;letter-spacing:.12em;color:#f8fafcb3;margin:0;font-size:.82rem;font-weight:800}.profile-details{flex-direction:column;gap:8px;display:flex}.profile-detail-grid{grid-template-columns:1fr;gap:10px;display:grid}.profile-field{background:linear-gradient(150deg,#22d3ee14,#a78bfa0d),#0f172a66;border:1px solid #ffffff1a;border-radius:14px;align-items:flex-start;gap:10px;padding:12px 14px;transition:border-color .2s,transform .2s,background .2s;display:flex}.profile-field:hover{background:linear-gradient(150deg,#22d3ee21,#a78bfa14),#0f172a80;border-color:#67e8f959;transform:translateY(-1px)}.profile-field-icon{color:#67e8f9;background:#22d3ee24;border-radius:9px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.profile-field-icon svg{width:16px;height:16px}.profile-field-text{flex-direction:column;gap:2px;min-width:0;display:flex}.profile-field-label{text-transform:uppercase;letter-spacing:.12em;color:#f8fafc8c;font-size:.7rem;font-weight:800}.profile-field-value{color:#f8fafc;overflow-wrap:anywhere;font-size:1rem;font-weight:700}.profile-field-value.is-empty{color:#f8fafc73;font-weight:600}.profile-logout{justify-content:flex-end;display:flex}.logout-btn{color:#fca5a5;cursor:pointer;background:#f871711f;border:1px solid #f8717166;border-radius:12px;min-height:46px;padding:11px 18px;font-weight:800;transition:background .2s,border-color .2s,transform .2s}.logout-btn:hover{background:#f8717138;border-color:#f87171a6;transform:translateY(-1px)}.save-note{color:#34d399;font-weight:700}.challenges-page{width:min(100%,900px);height:calc(100dvh - 116px - env(safe-area-inset-top) - env(safe-area-inset-bottom));flex-direction:column;align-self:center;gap:18px;min-height:0;display:flex;overflow:hidden}.challenges-head h2{margin:0 0 4px;font-size:1.6rem}.challenges-head .subtitle{max-width:100%;margin-top:4px}.challenges-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;display:grid}.challenge-card{background:linear-gradient(150deg, var(--challenge-color,#22d3ee) 0%, transparent 42%), #0f172a73;border:1px solid #ffffff1f;border-radius:16px;flex-direction:column;gap:10px;padding:16px 18px;transition:border-color .2s,transform .2s;display:flex}.challenge-card.is-joined{border-color:#22d3ee8c}.challenge-card.is-complete{border-color:var(--challenge-color,#34d399)}.challenge-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.challenge-icon{width:42px;height:42px;color:var(--challenge-color,#22d3ee);background:#ffffff1a;border-radius:12px;place-items:center;display:grid}.challenge-status{text-transform:uppercase;letter-spacing:.08em;color:#f8fafcbf;font-size:.72rem;font-weight:800}.challenge-card.is-complete .challenge-status{color:var(--challenge-color,#34d399)}.challenge-card h3{margin:2px 0 0;font-size:1.05rem}.challenge-desc{opacity:.82;margin:0;font-size:.88rem;line-height:1.4}.challenge-progress{flex-direction:column;gap:6px;display:flex}.challenge-bar{background:#ffffff1f;border-radius:999px;height:8px;overflow:hidden}.challenge-bar>div{border-radius:999px;height:100%;transition:width .35s}.challenge-meta{justify-content:space-between;align-items:center;font-size:.8rem;display:flex}.challenge-meta span{opacity:.75}.challenge-streak{color:#f8fafca6;margin:0;font-size:.78rem;font-weight:700}.challenge-btn{color:#f8fafc;cursor:pointer;background:#ffffff14;border:1px solid #ffffff29;border-radius:999px;margin-top:2px;padding:9px 12px;font-size:.82rem;font-weight:800;transition:background .2s,border-color .2s,color .2s}.challenge-btn:hover{background:#ffffff29}.challenge-btn.is-done{color:#67e8f9;border-color:#22d3ee8c}.chart-card{background:linear-gradient(160deg,#22d3ee1a,#a78bfa0f 55%,#ffffff14),#ffffff0f;border:1px solid #ffffff2e;flex-direction:column;flex:1;gap:18px;min-height:0;padding:26px 28px;display:flex;box-shadow:0 20px 60px #02061773}.chart-card.tasks-page{flex:initial;gap:20px;min-height:auto;padding:22px 24px}.chart-controls{flex-wrap:nowrap;align-items:center;gap:10px;display:flex}.range-toggle{background:#ffffff14;border-radius:999px;gap:4px;padding:4px;display:flex}.range-toggle button{color:#cbd5e1;cursor:pointer;background:0 0;border:none;border-radius:999px;padding:7px 14px;font-size:.85rem;font-weight:700}.range-toggle button.active{color:#083344;background:#22d3ee}.dropdown{position:relative}.dropdown-trigger{color:#cbd5e1;cursor:pointer;background:#ffffff14;border:none;border-radius:999px;align-items:center;gap:8px;padding:11px 14px;font-size:.85rem;font-weight:700;transition:background .2s,color .2s;display:flex}.dropdown-trigger:hover{color:#f8fafc}.dropdown-trigger[aria-expanded=true]{color:#083344;background:#22d3ee}.dropdown-label{white-space:nowrap;text-overflow:ellipsis;max-width:132px;overflow:hidden}.dropdown-chevron{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s}.dropdown-trigger[aria-expanded=true] .dropdown-chevron{transform:rotate(180deg)}.dropdown-menu{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172af5;border:1px solid #ffffff24;border-radius:14px;width:max-content;min-width:100%;max-width:calc(100vw - 24px);max-height:300px;margin:0;padding:8px;list-style:none;position:absolute;top:calc(100% + 6px);left:auto;right:0;overflow-y:auto;box-shadow:0 18px 40px #02061780}.dropdown-menu:before{content:"";background:#0f172af5;border-top:1px solid #ffffff24;border-left:1px solid #ffffff24;border-top-left-radius:3px;width:12px;height:12px;position:absolute;top:-7px;right:18px;transform:rotate(45deg)}.dropdown-option{color:#e2e8f0;text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:none;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:10px 14px;font-size:.9rem;font-weight:600;display:flex}.dropdown-option:hover,.dropdown-option:focus-visible{color:#fff;background:#67e8f91f;outline:none}.dropdown-option.selected{color:#67e8f9;font-weight:800}.dropdown-option-label{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.dropdown-option-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.dropdown-option-sub{color:#f8fafc8c;font-size:.72rem;font-weight:600}.dropdown-option.selected .dropdown-option-sub{color:#67e8f9bf}.dropdown-check{color:#0000;border-radius:5px;flex-shrink:0;place-items:center;width:16px;height:16px;display:grid}.dropdown-check svg{fill:none;stroke:currentColor;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;width:12px;height:12px}.dropdown-check.checkbox{border:1.5px solid #ffffff4d}.dropdown-option.selected .dropdown-check:not(.checkbox){color:#67e8f9}.dropdown-option.selected .dropdown-check.checkbox{color:#083344;background:#22d3ee;border-color:#22d3ee}.dropdown-divider{background:#ffffff1a;height:1px;margin:6px 4px}.dropdown-reset{color:#fca5a5;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:10px;width:100%;padding:10px 14px;font-size:.9rem;font-weight:700;transition:background .2s;display:flex}.dropdown-reset:hover,.dropdown-reset:focus-visible{background:#f8717124;outline:none}.dropdown-reset-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;width:15px;height:15px}.chart-wrap{flex:1;width:100%;min-height:240px;display:flex}.chart{width:100%;height:100%;display:block}.chart-gridline{stroke:#ffffff1a;stroke-width:1px}.chart-y,.chart-x{fill:#f8fafc99;font-size:12px}.chart-target{stroke:#f59e0b;stroke-width:2px;stroke-dasharray:6 4}.chart-target-label{fill:#f59e0b;font-size:12px;font-weight:700}.chart-glow{animation:2.2s ease-in-out infinite chart-pulse}@keyframes chart-pulse{0%,to{opacity:.2;r:9}50%{opacity:.5;r:13}}.chart-summary{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;display:grid}.summary-chip{background:#0f172a73;border:1px solid #ffffff1a;border-radius:16px;flex-direction:column;gap:2px;padding:14px 16px;display:flex}.summary-chip-label{text-transform:uppercase;letter-spacing:.12em;color:#f8fafca6;font-size:.72rem;font-weight:700}.summary-chip strong{font-size:1.35rem;line-height:1.2}.dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.stat-chip{background:#0f172a73;border:1px solid #ffffff1a;border-radius:14px;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.stat-chip-label{text-transform:uppercase;letter-spacing:.12em;color:#f8fafca6;font-size:.72rem;font-weight:700}.stat-chip strong{font-size:1.25rem;line-height:1.2}.dashboard-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.dashboard-metric{border:1px solid #ffffff1a;border-left:3px solid var(--metric-accent);background:#0f172a59;border-radius:8px;align-content:start;gap:7px;min-width:0;padding:14px;display:grid}.dashboard-metric-label{color:#cbd5e1;text-transform:uppercase;font-size:.68rem;font-weight:700}.dashboard-metric-value{min-width:0;color:var(--metric-accent);overflow-wrap:anywhere;font-size:1.35rem;line-height:1.15}.dashboard-metric-detail{color:#94a3b8;overflow-wrap:anywhere;min-width:0;font-size:.78rem;line-height:1.4}.dashboard-panel{border-top:1px solid #ffffff1f;gap:12px;min-width:0;padding-top:16px;display:grid}.dashboard-panel-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.dashboard-panel-head h2{color:#f8fafc;margin:0;font-size:1rem}.dashboard-panel-head p{color:#94a3b8;margin:4px 0 0;font-size:.8rem}.dashboard-trend-summary{color:#94a3b8;flex-wrap:wrap;gap:8px 20px;font-size:.82rem;display:flex}.dashboard-trend-summary strong{color:#f8fafc;margin-left:4px}.activity-panel{gap:14px}.activity-streak{white-space:nowrap;flex:none;align-items:baseline;gap:4px;display:flex}.activity-streak strong{color:#6ee7b7;font-size:1.25rem;line-height:1}.activity-streak span{color:#94a3b8;font-size:.72rem}.activity-calendar-scroll{scrollbar-color:#94a3b880 transparent;max-width:100%;padding:2px 0 8px;overflow-x:auto}.activity-calendar{--activity-cell-size:13px;--activity-cell-gap:4px;gap:4px;width:max-content;display:grid}.activity-calendar-months,.activity-calendar-grid{grid-template-columns:30px repeat(var(--calendar-weeks), var(--activity-cell-size));column-gap:var(--activity-cell-gap);display:grid}.activity-calendar-months{color:#94a3b8;min-height:14px;font-size:.68rem}.activity-calendar-months>span:not(:first-child){white-space:nowrap}.activity-calendar-grid{grid-template-rows:repeat(7, var(--activity-cell-size));row-gap:var(--activity-cell-gap)}.activity-calendar-weekday{z-index:2;color:#cbd5e1;white-space:nowrap;background:linear-gradient(90deg,#0f172afa 0%,#0f172aeb 72%,#0f172a00 100%);align-self:center;align-items:center;font-size:.68rem;font-weight:600;line-height:1;display:flex;position:sticky;left:0}.activity-calendar-day{width:var(--activity-cell-size,13px);height:var(--activity-cell-size,13px);background:#94a3b81f;border:1px solid #94a3b82e;border-radius:3px;transition:transform .12s,border-color .12s;display:block}.activity-calendar-day[title]:hover{z-index:3;border-color:#e2e8f0;transform:scale(1.18)}.activity-calendar-day[data-level="1"]{background:#065f46}.activity-calendar-day[data-level="2"]{background:#059669}.activity-calendar-day[data-level="3"]{background:#34d399}.activity-calendar-day[data-level="4"]{background:#a7f3d0}.activity-calendar-day[data-current=true]{z-index:1;border:2px solid #facc15;box-shadow:0 0 0 1px #facc1559}.activity-calendar-legend{color:#94a3b8;justify-content:flex-end;align-items:center;gap:5px;font-size:.68rem;display:flex}.activity-calendar-legend .activity-calendar-day{flex:none}.dashboard-attention-list,.dashboard-postponed-list,.dashboard-today-list{gap:0;margin:0;padding:0;list-style:none;display:grid}.dashboard-attention-list li,.dashboard-postponed-list li,.dashboard-today-list li{border-bottom:1px solid #ffffff14;justify-content:space-between;align-items:baseline;gap:12px;min-width:0;padding:10px 0;display:flex}.dashboard-attention-list li>span,.dashboard-postponed-list li>span,.dashboard-today-list li>span{color:#e2e8f0;overflow-wrap:anywhere;min-width:0}.dashboard-attention-list small{color:#fca5a5;text-align:right;flex:none;font-size:.76rem}.dashboard-postponed-list small{color:#fcd34d;text-align:right;flex:none;font-size:.76rem}.dashboard-today-list strong{color:#fca5a5;flex:none;font-size:.78rem}.dashboard-today-list li.is-complete strong{color:#6ee7b7}.dashboard-clear-state,.dashboard-attention-more{color:#94a3b8;margin:0;font-size:.82rem}@media (width<=800px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=420px){.dashboard-panel-head{flex-direction:column}.activity-panel-head{flex-direction:row;align-items:center}.dashboard-panel-head .range-toggle{align-self:flex-end}.dashboard-attention-list li,.dashboard-postponed-list li,.dashboard-today-list li{align-items:flex-start}.dashboard-attention-list small{max-width:42%}.dashboard-postponed-list small{max-width:48%}}.today-view{flex-direction:column;flex:1;justify-content:center;gap:18px;display:flex}.today-gauge-wrap{flex-direction:column;align-items:center;gap:6px;display:flex}.today-gauge .gauge-bg{fill:none;stroke:#ffffff1f;stroke-width:12px}.today-gauge .gauge-fg{fill:none;stroke:#22d3ee;stroke-width:12px;stroke-linecap:round;transform-origin:50%;transition:stroke-dashoffset .5s;transform:rotate(-90deg)}.today-gauge .gauge-text{fill:#f8fafc;font-size:26px;font-weight:800}.today-gauge-label{text-transform:uppercase;letter-spacing:.12em;color:#f8fafc99;font-size:.78rem;font-weight:800}.today-rows{flex-direction:column;gap:10px;display:flex}.today-row{background:#ffffff0f;border:1px solid #ffffff1a;border-radius:14px;grid-template-columns:minmax(0,1fr) 1.4fr auto;align-items:center;gap:14px;padding:12px 14px;display:grid}.today-row.is-done{background:#34d3991a}.today-row.not-due{opacity:.6}.today-row-info{flex-direction:column;min-width:0;display:flex}.today-row-name{white-space:nowrap;text-overflow:ellipsis;font-weight:800;overflow:hidden}.today-row-meta{color:#f8fafc99;font-size:.75rem;font-weight:600}.today-row-bar{background:#ffffff1a;border-radius:999px;height:10px;overflow:hidden}.today-row-bar>div{border-radius:999px;height:100%;transition:width .4s}.today-row-pct{text-align:right;min-width:64px;font-weight:800}@media (width<=600px){.today-row{grid-template-columns:1fr auto}.today-row-bar{grid-area:2/1/auto/-1}}.chart-legend{color:#f8fafccc;justify-content:flex-end;align-items:center;gap:18px;font-size:.82rem;font-weight:700;display:flex}.legend-item{align-items:center;gap:7px;display:flex}.legend-line{border-radius:999px;width:18px;height:4px}.legend-dash{border-top:3px dashed #f59e0b;width:18px;height:0}.app-footer{z-index:10;padding:8px 12px calc(10px + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#0f172ae6;border-top:1px solid #ffffff29;justify-content:center;gap:4px;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -8px 30px #02061759}.footer-item{color:#cbd5e1;cursor:pointer;background:0 0;border:none;border-radius:999px;flex-direction:column;flex:1 1 0;align-items:center;gap:2px;min-width:0;padding:8px 4px;font-size:.72rem;font-weight:700;transition:background .2s,color .2s;display:flex}.footer-item:hover{color:#f8fafc}.footer-item.active{color:#083344;background:#22d3ee}.auth-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0f172ab8;border:1px solid #ffffff29;border-radius:20px;grid-template-columns:.95fr 1.05fr;width:min(100%,960px);min-height:min(720px,100vh - 48px);margin:auto;display:grid;overflow:hidden;box-shadow:0 24px 70px #0206176b}.auth-panel{background:linear-gradient(150deg,#14b8a657,#38bdf814),#ffffff0f;flex-direction:column;justify-content:space-between;gap:28px;min-height:100%;padding:30px;display:flex}.app-mark{color:#0f172a;letter-spacing:0;background:#f8fafc;border-radius:14px;place-items:center;width:48px;height:48px;margin-bottom:28px;font-weight:900;display:inline-grid}.auth-card .brand h2{margin:0 0 10px;font-size:3.4rem;line-height:1}.auth-card .brand p{opacity:.9;max-width:340px;margin:0}.auth-card .brand .eyebrow{margin-bottom:10px}.auth-panel--register{background:radial-gradient(circle at 85% 0,#22d3ee42,#0000 46%),linear-gradient(155deg,#14b8a652,#38bdf814),#ffffff0d;position:relative}.auth-register .brand h2{font-size:clamp(1.9rem,3vw,2.6rem)}.auth-register .brand .brand-text{opacity:.85;max-width:100%}.auth-register{grid-template-columns:minmax(0,1fr);align-content:center;width:min(100%,560px);min-height:0}.auth-form{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#ffffff0f;flex-direction:column;justify-content:center;gap:16px;padding:30px;display:flex}.auth-form label{color:#dbeafe;flex-direction:column;gap:8px;font-size:.9rem;font-weight:700;display:flex}.auth-register .auth-form{gap:14px;padding:30px}.register-form-title h2{color:#f8fafc;margin:0;font-size:1.8rem;line-height:1.2}.register-form-title .register-app-mark{border-radius:12px;width:40px;height:40px;margin:0 0 8px;font-size:.8rem}.auth-register .register-actions{flex-direction:column;align-items:stretch;margin-top:8px}.auth-register .register-login{align-self:center;margin:0}.auth-register .auth-field,.auth-register .auth-field>.input-shell,.auth-register .auth-field>select{box-sizing:border-box;width:100%}.auth-register .auth-form input:not([type=checkbox]),.auth-register .auth-form select{box-sizing:border-box;height:48px}.auth-register .input-shell input{flex:1 1 0;width:0;min-width:0}.auth-register .input-shell input[type=date]{appearance:none;align-self:stretch;display:block}.auth-register .input-shell input[type=date].is-empty{color:#0000}.auth-register .input-shell .input-placeholder{color:#e2e8f08a;pointer-events:none;font-size:1rem;font-weight:400;position:absolute;left:42px}.auth-form input:not([type=checkbox]),.auth-form select{color:#f8fafc;background-color:#0f172a94;border:1px solid #ffffff29;border-radius:12px;outline:none;width:100%;min-height:48px;padding:12px 14px;font-family:inherit;font-size:1rem;transition:border-color .2s,box-shadow .2s,background-color .2s}.auth-form input:hover:not(:focus),.auth-form select:hover:not(:focus){border-color:#ffffff47}.auth-form select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2367e8f9' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px;padding-right:40px}.auth-form select option{color:#f8fafc;background-color:#0f172a}.auth-form input::placeholder{color:#e2e8f08a}.auth-form input:-webkit-autofill{caret-color:#f8fafc;-webkit-text-fill-color:#f8fafc;border-color:#67e8f959;transition:background-color 9999s ease-out;-webkit-box-shadow:inset 0 0 0 1000px #16213f}.auth-form input:-webkit-autofill:hover{caret-color:#f8fafc;-webkit-text-fill-color:#f8fafc;border-color:#67e8f959;transition:background-color 9999s ease-out;-webkit-box-shadow:inset 0 0 0 1000px #16213f}.auth-form input:-webkit-autofill:focus{caret-color:#f8fafc;-webkit-text-fill-color:#f8fafc;border-color:#67e8f959;transition:background-color 9999s ease-out;-webkit-box-shadow:inset 0 0 0 1000px #16213f}.auth-form input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.75;filter:invert()}.auth-form input:focus,.auth-form select:focus{background-color:#0f172ac7;border-color:#67e8f9;box-shadow:0 0 0 4px #67e8f924}.field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.measurement-note{color:#cbd5e1;gap:10px;font-size:.82rem;font-weight:700;display:flex}.measurement-note span{background:#ffffff12;border-radius:999px;padding:6px 9px}.actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:2px;display:flex}.primary{color:#083344;cursor:pointer;background:#22d3ee;border:none;border-radius:12px;min-height:48px;padding:12px 18px;font-weight:800;transition:transform .2s,box-shadow .2s,background .2s;box-shadow:0 12px 28px #22d3ee3d}.primary:hover:not(:disabled){background:#06b6d4;transform:translateY(-1px);box-shadow:0 16px 34px #22d3ee52}.link{color:#a5f3fc;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;padding:11px 12px;font-weight:800}.link:hover{background:#a5f3fc14;border-color:#a5f3fc38}.danger-ghost{color:#fca5a5;box-shadow:none;background:0 0;border-color:#f8717152}.danger-ghost:hover:not(:disabled){color:#fecaca;background:#f8717114;border-color:#f871718c}.danger-ghost:disabled{color:#fca5a58c;opacity:.7;cursor:not-allowed;box-shadow:none;background:0 0;border-color:#f871712e}.form-error{color:#fee2e2;background:#f871711f;border:1px solid #f8717133;border-radius:12px;padding:10px 12px;font-weight:700}.checkbox-row{align-items:center;gap:10px;display:flex;color:#e2e8f0!important;flex-direction:row!important;font-weight:600!important}.checkbox-row input{accent-color:#22d3ee;width:18px;height:18px}.auth-form--register{gap:14px}.register-form-head{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:baseline;gap:12px;padding-bottom:12px;display:flex}.register-form-head h3{margin:0;font-size:1.05rem}.register-form-head span{color:#94a3b8;white-space:nowrap;font-size:.76rem;font-weight:600}.auth-form .auth-field{color:#dbeafe;border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;font-size:.9rem;font-weight:700;display:flex}.auth-form .auth-field>label,.auth-form .auth-field>legend{color:#dbeafe;padding:0;font-size:.9rem;font-weight:700}.input-shell{align-items:center;display:flex;position:relative}.input-shell .input-icon{color:#94a3b8d9;pointer-events:none;place-items:center;transition:color .2s;display:grid;position:absolute;left:14px}.input-shell .input-icon svg{width:18px;height:18px}.input-shell:focus-within .input-icon{color:#67e8f9}.auth-form .input-shell input{padding-left:42px}.auth-form .input-shell input.has-action,.auth-form .input-shell input[type=password]{padding-right:48px}.input-shell .input-action{color:#a5f3fc;cursor:pointer;background:0 0;border:0;border-radius:10px;place-items:center;width:38px;height:38px;padding:0;transition:background .2s,color .2s;display:grid;position:absolute;right:6px}.input-shell .input-action:hover{color:#e0f2fe;background:#67e8f91f}.input-shell .input-action svg{width:19px;height:19px}.gender-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.auth-form .gender-chip{color:#cbd5e1;cursor:pointer;background:#0f172a7a;border:1px solid #ffffff29;border-radius:12px;flex-direction:row;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:8px 10px;font-size:.8rem;font-weight:700;transition:border-color .2s,background .2s,color .2s,box-shadow .2s;display:flex;position:relative}.auth-form .gender-chip:hover{color:#e0f2fe;border-color:#67e8f966}.auth-form .gender-chip.is-selected{color:#ecfeff;background:#22d3ee29;border-color:#67e8f9;box-shadow:inset 0 0 0 1px #67e8f959}.auth-form .gender-chip:focus-within{outline-offset:2px;outline:2px solid #67e8f9b3}.auth-form .gender-chip input{opacity:0;border:0;width:1px;height:1px;min-height:0;padding:0;position:absolute}.auth-field.has-error input:not([type=radio]){border-color:#f871718c}.field-hint{color:#94a3b8;font-size:.76rem;font-weight:600}.field-hint.is-error{color:#fca5a5}.register-note{color:#94a3b8;align-items:center;gap:8px;font-size:.78rem;font-weight:600;display:flex}.register-note svg{color:#34d399;flex:none;width:16px;height:16px}.register-submit{flex:1;justify-content:center;align-items:center;gap:8px;display:inline-flex}.register-submit .btn-arrow svg{width:18px;height:18px;transition:transform .2s;display:block}.register-submit .btn-arrow{flex:none;justify-content:center;align-items:center;line-height:0;display:inline-flex}.register-submit:hover:not(:disabled) .btn-arrow svg{transform:translate(3px)}.btn-spinner{border:2px solid #0833444d;border-top-color:#083344;border-radius:50%;width:16px;height:16px;animation:.7s linear infinite register-spin}@keyframes register-spin{to{transform:rotate(360deg)}}@media (width<=800px){.auth-card{grid-template-columns:1fr;min-height:auto}.auth-panel{min-height:280px}.app-shell--auth .auth-panel{min-height:0;padding:22px}.app-shell--auth .auth-form{gap:12px}.field-row{grid-template-columns:1fr}}@media (width<=600px){.tasks-page{height:calc(100dvh - 92px - env(safe-area-inset-top) - env(safe-area-inset-bottom));gap:16px;padding:18px 16px}.tasks-head{align-items:center;gap:10px}.tasks-date{flex-basis:112px;width:112px;font-size:.78rem}.date-picker-field{flex-basis:112px;width:112px}.tasks-add-form{gap:8px}.tasks-add-form button{width:44px;min-width:44px;padding:0;font-size:0}.tasks-add-form button svg{width:20px;height:20px}.auth-panel--register{gap:18px}.register-brand-top{margin-bottom:14px}.register-brand-top .app-mark{border-radius:12px;width:40px;height:40px;font-size:.9rem}.register-avatar{width:40px;height:40px;font-size:.8rem}.auth-register .brand h2{margin-bottom:6px;font-size:1.6rem}.auth-register .brand .brand-text{font-size:.84rem;line-height:1.45}.register-progress{padding:14px}.register-form-head span{display:none}.app-shell--auth .auth-panel,.app-shell--auth .auth-form{padding:18px 20px}.app-shell--auth .auth-form{gap:10px}.app-shell--auth .auth-form label{gap:6px;font-size:.8rem}.app-shell--auth .auth-form input,.app-shell--auth .auth-form select{min-height:44px;padding:10px 12px;font-size:.95rem}.app-shell--auth .auth-form .input-shell input{padding-left:38px}.app-shell--auth .auth-form .input-shell input.has-action,.app-shell--auth .auth-form .input-shell input[type=password]{padding-right:44px}.app-shell--auth .auth-form select{background-position:right 11px center;background-size:14px;padding-right:34px}.app-shell--auth .actions{gap:8px}.app-shell--auth .actions .primary,.app-shell--auth .actions .link{text-align:center;flex:1 1 0;width:auto;min-height:44px;padding:10px 12px}}@media (width<=400px){.tasks-head{flex-direction:column;align-items:stretch;gap:12px}.tasks-head .date-nav{align-self:flex-end}}@media (width<=600px){.app-shell{padding:calc(12px + env(safe-area-inset-top)) 12px calc(110px + env(safe-area-inset-bottom))}.app-shell--auth{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.app-shell--tasks,.app-shell--tabs{padding-bottom:calc(80px + env(safe-area-inset-bottom))}.profile-page,.challenges-page{height:calc(100dvh - 92px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.fab-add-habit{bottom:104px;right:14px}.chart-controls{flex-wrap:wrap;justify-content:flex-end;gap:6px}.chart-card.tasks-page{gap:16px;padding:18px 16px}.range-toggle button{padding:6px 10px;font-size:.78rem}.dropdown-trigger{padding:9px 10px;font-size:.78rem}.dropdown-label{max-width:92px}.hero-card{flex-direction:column;align-items:flex-start;gap:12px}.auth-card{border-radius:16px}.auth-panel,.auth-form{padding:22px}.auth-card .brand h2{font-size:2rem}.actions,.actions .primary,.actions .link{width:100%}.target-row{flex-wrap:wrap}.target-value{flex:1;max-width:140px}}
