:root{--bg: #f5f6fa;--bg-grad: radial-gradient(1200px 600px at 20% -10%, #eef1ff 0%, transparent 60%);--surface: #ffffff;--surface-2: #f7f8fc;--surface-3: #eef0f7;--text: #1b1f2a;--text-2: #4a5163;--muted: #8a93a8;--border: #e6e9f2;--border-strong: #d5dae8;--brand: #5b6cff;--brand-hover: #4a5bf0;--brand-soft: #eef0ff;--brand-ink: #3b4ad8;--amber: #ffb020;--green: #3ba55d;--green-soft: #e8f6ec;--red: #f2564d;--red-soft: #fdeceb;--shadow-1: 0 1px 2px rgba(20, 25, 45, .05), 0 10px 30px -18px rgba(20, 25, 45, .25);--shadow-2: 0 18px 50px -20px rgba(20, 25, 45, .35);--r-sm: 8px;--r-md: 10px;--r-lg: 16px;--r-xl: 22px;--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--ease: cubic-bezier(.2, .8, .2, 1);--sidebar-w: 264px;--content-max: 920px;--pad-x: 40px;--header-h: 0px}html[data-theme=dark]{--bg: #0f1117;--bg-grad: radial-gradient(1200px 600px at 20% -10%, #1a2036 0%, transparent 60%);--surface: #171a22;--surface-2: #1d212b;--surface-3: #252a36;--text: #e9ecf4;--text-2: #b7becd;--muted: #7c869b;--border: #272c38;--border-strong: #333a49;--brand: #7b88ff;--brand-hover: #8d98ff;--brand-soft: #1e2440;--brand-ink: #a9b3ff;--green-soft: #16281d;--red-soft: #2a1717;--shadow-1: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px -18px rgba(0, 0, 0, .8);--shadow-2: 0 24px 60px -20px rgba(0, 0, 0, .8)}:root{--priority-high: #f2564d;--priority-medium: #ffb020;--priority-low: #3ba55d;--priority-none: transparent;--overlay: rgba(15, 17, 23, .32)}html[data-theme=dark]{--overlay: rgba(0, 0, 0, .55)}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%}html{-webkit-text-size-adjust:100%}body{margin:0;font-family:var(--font);font-size:14px;line-height:1.5;color:var(--text);background-color:var(--bg);background-image:var(--bg-grad);background-attachment:fixed;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-numeric:tabular-nums;overflow-x:hidden}h1,h2,h3,h4,p{margin:0}a{color:inherit;text-decoration:none}button{font-family:inherit;font-size:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}input,textarea,select{font-family:inherit;font-size:inherit;color:inherit}ul,ol{margin:0;padding:0;list-style:none}svg{display:block;flex:none}::selection{background:color-mix(in srgb,var(--brand) 26%,transparent)}:focus{outline:none}:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:6px}button,[role=button]{-webkit-tap-highlight-color:transparent}*{scrollbar-width:thin;scrollbar-color:var(--border-strong) transparent}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-thumb{background:var(--border-strong);border-radius:8px;border:2px solid transparent;background-clip:padding-box}*::-webkit-scrollbar-track{background:transparent}.muted{color:var(--muted)}.text-2{color:var(--text-2)}.small{font-size:12.5px}.tiny{font-size:11.5px}.strong{font-weight:650}.nums{font-variant-numeric:tabular-nums}.row{display:flex;align-items:center}.gap-4{gap:4px}.gap-6{gap:6px}.gap-8{gap:8px}.gap-10{gap:10px}.gap-12{gap:12px}.grow{flex:1;min-width:0}.nowrap{white-space:nowrap}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hide-mobile{display:initial}.only-mobile{display:none}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes popIn{0%{opacity:0;transform:scale(.94) translateY(6px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes checkDraw{0%{stroke-dashoffset:24}to{stroke-dashoffset:0}}@keyframes floaty{0%,to{transform:translateY(0) rotate(var(--rot, 0deg))}50%{transform:translateY(-10px) rotate(var(--rot, 0deg))}}@keyframes pulseSoft{0%,to{opacity:.55}50%{opacity:1}}@keyframes slideInRight{0%{transform:translate(28px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideUpSheet{0%{transform:translateY(36px);opacity:.4}to{transform:translateY(0);opacity:1}}@keyframes shimmer{0%{background-position:-320px 0}to{background-position:320px 0}}.page-enter{animation:fadeUp .22s var(--ease) both}.app-shell{display:flex;min-height:100dvh}.app-main{flex:1;min-width:0;display:flex;flex-direction:column;min-height:100dvh}.page{width:100%;max-width:var(--content-max);margin:0 auto;padding:40px var(--pad-x) 96px;animation:fadeUp .22s var(--ease)}.page-wide{max-width:1080px}.page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.page-title{font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.25}.page-subtitle{margin-top:6px;color:var(--muted);font-size:13px}.section-title{font-size:13px;font-weight:650;color:var(--text-2);letter-spacing:.02em}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 2px 8px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-1)}.stack{display:flex;flex-direction:column;gap:14px}.divider{height:1px;background:var(--border);border:0;margin:0}.boot-screen{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:var(--bg);background-image:var(--bg-grad);z-index:100}.boot-logo{display:flex;flex-direction:column;align-items:center;gap:14px;color:var(--muted);font-size:13px}.spinner{width:18px;height:18px;border-radius:50%;border:2px solid color-mix(in srgb,var(--brand) 26%,transparent);border-top-color:var(--brand);animation:spin .8s linear infinite}@media(max-width:1199px){:root{--pad-x: 28px}}@media(max-width:1023px){:root{--pad-x: 24px}.page{padding-top:28px;padding-bottom:104px}}@media(max-width:767px){:root{--pad-x: 16px}.hide-mobile{display:none!important}.only-mobile{display:initial}.page{padding-top:8px;padding-bottom:104px}.page-title{font-size:22px}.page-header{margin-bottom:16px;align-items:center}.app-main{padding-bottom:env(safe-area-inset-bottom)}.input,.textarea,.quick-input,.select-btn,.auth-form .input,.detail-notes,.subtask-add input,.search-input .input{font-size:16px}.detail-title-input{font-size:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border-radius:var(--r-md);border:1px solid transparent;font-size:13.5px;font-weight:600;white-space:nowrap;transition:background .15s var(--ease),border-color .15s var(--ease),color .15s var(--ease),transform .1s var(--ease),box-shadow .15s var(--ease);-webkit-user-select:none;user-select:none}.btn:active:not(:disabled){transform:scale(.975)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--brand);color:#fff;box-shadow:0 1px 2px #242b5a2e,0 6px 16px -8px color-mix(in srgb,var(--brand) 60%,transparent)}.btn-primary:hover:not(:disabled){background:var(--brand-hover)}.btn-secondary{background:var(--surface);border-color:var(--border-strong);color:var(--text-2)}.btn-secondary:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.btn-ghost{background:transparent;color:var(--text-2)}.btn-ghost:hover:not(:disabled){background:var(--surface-2);color:var(--text)}.btn-danger{background:var(--red);color:#fff}.btn-danger:hover:not(:disabled){filter:brightness(.95)}.btn-danger-soft{background:var(--red-soft);color:var(--red)}.btn-danger-soft:hover:not(:disabled){background:color-mix(in srgb,var(--red) 16%,var(--surface))}.btn-soft{background:var(--brand-soft);color:var(--brand-ink)}.btn-soft:hover:not(:disabled){background:color-mix(in srgb,var(--brand) 16%,var(--surface))}.btn-sm{height:30px;padding:0 10px;font-size:12.5px;border-radius:var(--r-sm);gap:5px}.btn-lg{height:44px;padding:0 20px;font-size:14.5px;border-radius:12px}.btn-block{width:100%}.btn .spinner{width:15px;height:15px;border-width:2px;border-color:#fff6;border-top-color:#fff}.icon-btn{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:var(--r-md);color:var(--text-2);transition:background .15s var(--ease),color .15s var(--ease),transform .1s var(--ease)}.icon-btn:hover{background:var(--surface-2);color:var(--text)}.icon-btn:active{transform:scale(.94)}.icon-btn.round{border-radius:50%}.icon-btn.sm{width:28px;height:28px;border-radius:var(--r-sm)}.icon-btn.lg{width:42px;height:42px}.icon-btn.brand{color:var(--brand)}.icon-btn.danger:hover{color:var(--red);background:var(--red-soft)}.link-btn{color:var(--brand);font-size:12.5px;font-weight:600;border-radius:6px}.link-btn:hover{text-decoration:underline;text-underline-offset:3px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field-label{font-size:12.5px;font-weight:600;color:var(--muted)}.field-hint{font-size:12px;color:var(--muted)}.field-error{font-size:12.5px;color:var(--red)}.input,.textarea{width:100%;height:38px;padding:0 12px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-md);color:var(--text);font-size:14px;transition:border-color .15s var(--ease),background .15s var(--ease),box-shadow .15s var(--ease);-webkit-appearance:none;-moz-appearance:none;appearance:none}.input::placeholder,.textarea::placeholder{color:var(--muted)}.input:hover,.textarea:hover{border-color:var(--border-strong)}.input:focus,.textarea:focus{border-color:var(--brand);background:var(--surface);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 14%,transparent)}.input.error,.textarea.error{border-color:var(--red)}.input[disabled]{opacity:.6}.textarea{height:auto;min-height:84px;padding:10px 12px;line-height:1.55;resize:vertical}.input-lg{height:44px;font-size:15px;border-radius:12px}.input-bare{background:transparent;border-color:transparent;box-shadow:none}.input-bare:hover{border-color:var(--border)}.input-bare:focus{background:var(--surface-2);box-shadow:none;border-color:var(--brand)}.input-wrap{position:relative;display:flex;align-items:center;width:100%}.input-wrap .input-icon{position:absolute;left:11px;color:var(--muted);pointer-events:none;display:flex}.input-wrap .input{padding-left:36px}.input-wrap .input-suffix{position:absolute;right:8px;display:flex;align-items:center;color:var(--muted)}.select{position:relative;min-width:0}.select-btn{display:flex;align-items:center;gap:8px;width:100%;height:38px;padding:0 11px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-md);font-size:13.5px;color:var(--text);text-align:left;transition:border-color .15s var(--ease),background .15s var(--ease)}.select-btn:hover{border-color:var(--border-strong)}.select-btn.open,.select-btn:focus-visible{border-color:var(--brand);background:var(--surface);outline:none}.select-btn .select-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-btn .select-value.placeholder{color:var(--muted)}.select-btn .chev{color:var(--muted);transition:transform .16s var(--ease)}.select-btn.open .chev{transform:rotate(180deg)}.select-btn.is-bare{height:32px;background:transparent;border-color:transparent}.select-btn.is-bare:hover{background:var(--surface-2)}.select-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:100%;max-height:280px;overflow:auto;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-2);z-index:50;animation:popIn .15s var(--ease)}.select-menu.up{top:auto;bottom:calc(100% + 6px)}.select-option{display:flex;align-items:center;gap:8px;width:100%;height:34px;padding:0 10px;border-radius:var(--r-sm);font-size:13.5px;color:var(--text-2);text-align:left;white-space:nowrap}.select-option:hover,.select-option.focused{background:var(--surface-2);color:var(--text)}.select-option.active{background:var(--brand-soft);color:var(--brand-ink);font-weight:600}.select-option .check{margin-left:auto;color:var(--brand)}.checkbox{position:relative;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1.7px solid var(--border-strong);background:transparent;color:#fff;flex:none;transition:background .16s var(--ease),border-color .16s var(--ease),transform .12s var(--ease)}.checkbox:hover{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 8%,transparent)}.checkbox:active{transform:scale(.9)}.checkbox svg{opacity:0;transform:scale(.7);transition:opacity .16s var(--ease),transform .16s var(--ease)}.checkbox.checked{background:var(--brand);border-color:var(--brand)}.checkbox.checked svg{opacity:1;transform:scale(1)}.checkbox.checked svg path{stroke-dasharray:24;animation:checkDraw .22s var(--ease) both}.checkbox.square{border-radius:6px}.checkbox.green.checked{background:var(--green);border-color:var(--green)}.checkbox.lg{width:23px;height:23px}.radio-dot{width:16px;height:16px;border-radius:50%;border:1.6px solid var(--border-strong);display:grid;place-items:center;flex:none;transition:border-color .15s var(--ease)}.radio-dot.checked{border-color:var(--brand)}.radio-dot.checked:after{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:var(--overlay);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:20px;animation:fadeIn .16s var(--ease)}.modal{width:100%;max-width:440px;max-height:88dvh;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-xl);box-shadow:var(--shadow-2);animation:popIn .2s var(--ease);padding:22px}.modal.wide{max-width:520px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.modal-title{font-size:17px;font-weight:700;letter-spacing:-.01em}.modal-desc{margin-top:4px;color:var(--muted);font-size:12.5px;line-height:1.6}.modal-body{display:flex;flex-direction:column;gap:14px}.modal-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.drawer-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:var(--overlay);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);animation:fadeIn .16s var(--ease)}.drawer{position:fixed;top:0;right:0;bottom:0;z-index:61;width:480px;max-width:100vw;display:flex;flex-direction:column;background:var(--surface);border-left:1px solid var(--border);box-shadow:var(--shadow-2);animation:slideInRight .22s var(--ease)}.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 18px;border-bottom:1px solid var(--border);flex:none}.drawer-title{font-size:13px;font-weight:600;color:var(--muted)}.drawer-body{flex:1;overflow-y:auto;padding:18px}.drawer-foot{padding:12px 18px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.popover-wrap{position:relative;display:inline-flex}.popover{position:absolute;z-index:55;min-width:176px;padding:6px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-2);animation:popIn .15s var(--ease)}.popover.right{right:0;top:calc(100% + 6px)}.popover.left{left:0;top:calc(100% + 6px)}.popover.top{bottom:calc(100% + 6px);right:0}.menu-item{display:flex;align-items:center;gap:9px;width:100%;height:34px;padding:0 10px;border-radius:var(--r-sm);font-size:13.5px;color:var(--text-2);text-align:left;white-space:nowrap}.menu-item:hover{background:var(--surface-2);color:var(--text)}.menu-item.danger{color:var(--red)}.menu-item.danger:hover{background:var(--red-soft)}.menu-sep{height:1px;background:var(--border);margin:5px 4px}.toast-stack{position:fixed;top:18px;right:18px;z-index:120;display:flex;flex-direction:column;gap:8px;align-items:flex-end;pointer-events:none}.toast{pointer-events:auto;display:flex;align-items:center;gap:9px;max-width:360px;min-height:42px;padding:10px 12px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-2);font-size:13.5px;color:var(--text);animation:slideInRight .2s var(--ease)}.toast .toast-icon{display:flex;flex:none}.toast.success .toast-icon{color:var(--green)}.toast.error .toast-icon{color:var(--red)}.toast.info .toast-icon{color:var(--brand)}.toast .toast-close{margin-left:4px;color:var(--muted);display:flex}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:40px 16px 44px}.empty-art{width:156px;max-width:60vw;color:var(--brand);opacity:.92;margin-bottom:2px}.empty-title{font-size:14.5px;font-weight:600;color:var(--text-2)}.empty-desc{font-size:12.5px;color:var(--muted);line-height:1.65;max-width:300px}.skeleton{border-radius:var(--r-sm);background:linear-gradient(90deg,var(--surface-3) 25%,var(--surface-2) 37%,var(--surface-3) 63%);background-size:640px 100%;animation:shimmer 1.4s linear infinite}.sk-line{height:12px;border-radius:6px}.sk-row{display:flex;align-items:center;gap:10px;padding:12px 6px}.sk-circle{width:20px;height:20px;border-radius:50%;flex:none}.ring{position:relative;display:inline-grid;place-items:center}.ring svg{transform:rotate(-90deg)}.ring-track{stroke:var(--surface-3);fill:none}.ring-bar{stroke:var(--brand);fill:none;stroke-linecap:round;transition:stroke-dashoffset .6s var(--ease)}.ring-center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center}.ring-value{font-size:20px;font-weight:700;letter-spacing:-.03em;line-height:1}.ring-label{font-size:11px;color:var(--muted)}.progress{height:6px;border-radius:999px;background:var(--surface-3);overflow:hidden}.progress-bar{height:100%;border-radius:999px;background:var(--brand);transition:width .4s var(--ease)}.priority-dot{width:7px;height:7px;border-radius:50%;flex:none;background:var(--priority-none);border:1px solid transparent}.priority-dot.high{background:var(--priority-high)}.priority-dot.medium{background:var(--priority-medium)}.priority-dot.low{background:var(--priority-low)}.priority-dot.none{border-color:var(--border-strong)}.tag-chip{display:inline-flex;align-items:center;gap:4px;height:21px;padding:0 8px;border-radius:999px;font-size:11.5px;font-weight:500;white-space:nowrap;line-height:1}.tag-chip .tag-remove{display:inline-flex;margin-left:1px;opacity:.65}.tag-chip .tag-remove:hover{opacity:1}.swatches{display:flex;flex-wrap:wrap;gap:9px}.swatch{position:relative;width:27px;height:27px;border-radius:50%;border:2px solid transparent;transition:transform .12s var(--ease),box-shadow .15s var(--ease)}.swatch:hover{transform:scale(1.1)}.swatch.active{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--brand)}.swatch.custom{display:grid;place-items:center;border:1px dashed var(--border-strong);color:var(--muted);background:var(--surface-2);overflow:hidden}.swatch.custom input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.icon-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.icon-grid-item{display:grid;place-items:center;height:40px;border-radius:10px;border:1px solid var(--border);color:var(--text-2);background:var(--surface-2);transition:all .13s var(--ease)}.icon-grid-item:hover{border-color:var(--border-strong);color:var(--text)}.icon-grid-item.active{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}.segmented{display:inline-flex;align-items:center;gap:2px;padding:3px;background:var(--surface-2);border:1px solid var(--border);border-radius:11px;max-width:100%;overflow-x:auto;scrollbar-width:none}.segmented::-webkit-scrollbar{display:none}.segmented-btn{height:30px;padding:0 12px;border-radius:var(--r-sm);font-size:12.5px;font-weight:500;color:var(--muted);white-space:nowrap;transition:all .15s var(--ease)}.segmented-btn:hover{color:var(--text-2)}.segmented-btn.active{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #14192d14}html[data-theme=dark] .segmented-btn.active{background:var(--surface-3)}.segmented.sm .segmented-btn{height:26px;padding:0 9px;font-size:12px}.datepicker{width:272px;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-2);animation:popIn .15s var(--ease);z-index:56}.dp-head{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 8px}.dp-title{font-size:13.5px;font-weight:650}.dp-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}.dp-dow{height:26px;display:grid;place-items:center;font-size:11px;color:var(--muted)}.dp-day{height:32px;border-radius:9px;font-size:12.5px;color:var(--text-2);transition:background .12s var(--ease),color .12s var(--ease);position:relative}.dp-day:hover{background:var(--surface-2);color:var(--text)}.dp-day.out{color:var(--muted);opacity:.45}.dp-day.today{color:var(--brand);font-weight:700}.dp-day.today:after{content:"";position:absolute;bottom:4px;left:50%;transform:translate(-50%);width:3px;height:3px;border-radius:50%;background:var(--brand)}.dp-day.selected{background:var(--brand);color:#fff;font-weight:600}.dp-day.selected:after{background:#fff}.dp-shortcuts{display:flex;flex-wrap:wrap;gap:6px;padding-top:9px;margin-top:7px;border-top:1px solid var(--border)}.dp-shortcut{height:26px;padding:0 9px;border-radius:7px;background:var(--surface-2);font-size:12px;color:var(--text-2)}.dp-shortcut:hover{background:var(--brand-soft);color:var(--brand-ink)}.dp-shortcut.danger{color:var(--red)}.dp-shortcut.danger:hover{background:var(--red-soft)}.chip-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.filter-chip{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-size:12.5px;color:var(--text-2);white-space:nowrap;transition:all .14s var(--ease)}.filter-chip:hover{border-color:var(--border-strong);color:var(--text)}.filter-chip.active{background:var(--brand-soft);border-color:color-mix(in srgb,var(--brand) 32%,transparent);color:var(--brand-ink);font-weight:600}.avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--brand-soft);color:var(--brand-ink);font-size:12.5px;font-weight:650;flex:none;letter-spacing:0}.avatar.lg{width:44px;height:44px;font-size:16px}.list-dot{width:8px;height:8px;border-radius:50%;flex:none}.tooltip-wrap{position:relative;display:inline-flex}.tooltip{position:absolute;bottom:calc(100% + 7px);left:50%;transform:translate(-50%);padding:5px 8px;background:var(--text);color:var(--surface);border-radius:6px;font-size:11.5px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .12s var(--ease);z-index:70}.tooltip-wrap:hover .tooltip{opacity:1}.chart-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-1);padding:18px}.chart-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:16px}.chart-title{font-size:14px;font-weight:650}.chart-sub{font-size:12px;color:var(--muted)}.chart-svg{width:100%;height:auto;overflow:visible}.chart-tooltip{position:absolute;padding:5px 8px;background:var(--text);color:var(--surface);border-radius:6px;font-size:11.5px;white-space:nowrap;pointer-events:none;transform:translate(-50%,-100%);z-index:10}.chart-wrap{position:relative}.confirm-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--red-soft);color:var(--red);margin-bottom:2px}@media(max-width:767px){.drawer{top:auto;left:0;right:0;bottom:0;width:100%;height:92dvh;border-left:0;border-top:1px solid var(--border);border-radius:var(--r-xl) var(--r-xl) 0 0;animation:slideUpSheet .24s var(--ease)}.drawer-head{padding:10px 16px}.drawer-head:before{content:"";position:absolute;top:6px;left:50%;transform:translate(-50%);width:38px;height:4px;border-radius:999px;background:var(--border-strong)}.drawer-head{position:relative;padding-top:18px}.drawer-body{padding:16px}.modal{padding:18px;max-height:90dvh}.overlay{padding:12px;align-items:flex-end}.overlay .modal{max-width:100%;animation:slideUpSheet .22s var(--ease)}.toast-stack{top:10px;left:10px;right:10px;align-items:stretch}.toast{max-width:none;animation:fadeUp .18s var(--ease)}.datepicker{width:min(292px,calc(100vw - 40px))}.segmented-btn{height:28px;padding:0 10px;font-size:12px}}.logo{display:inline-flex;align-items:center;gap:10px;color:var(--text);-webkit-user-select:none;user-select:none}.logo-text{font-size:16px;font-weight:700;letter-spacing:.01em}.sidebar{display:flex;flex-direction:column;width:var(--sidebar-w);flex:none;height:100dvh;position:sticky;top:0;background:var(--surface);border-right:1px solid var(--border);padding:20px 12px 14px;z-index:20}.sidebar-top{padding:2px 8px 18px}.side-nav{display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;height:38px;padding:0 10px;border-radius:var(--r-md);font-size:13.5px;color:var(--text-2);text-align:left;transition:background .14s var(--ease),color .14s var(--ease)}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.active{background:var(--brand-soft);color:var(--brand);font-weight:600}.nav-count{font-size:11.5px;color:var(--muted);min-width:18px;text-align:right;font-variant-numeric:tabular-nums}.nav-item.active .nav-count{color:var(--brand)}.side-scroll{flex:1;overflow-y:auto;min-height:0;margin-top:10px;padding-bottom:8px}.side-label-row{display:flex;align-items:center;justify-content:space-between;padding:12px 10px 4px}.side-label{font-size:11.5px;font-weight:650;color:var(--muted);letter-spacing:.08em}.side-sep{height:1px;background:var(--border);margin:10px}.list-nav-wrap{position:relative;display:flex;align-items:center;border-radius:var(--r-md)}.list-nav-wrap.active{background:var(--brand-soft)}.list-nav{padding-right:6px}.list-nav-wrap .list-nav:hover{background:transparent}.list-nav-wrap:hover{background:var(--surface-2)}.list-nav-wrap.active:hover{background:var(--brand-soft)}.list-nav-more{position:absolute;right:2px;opacity:0;transition:opacity .14s var(--ease)}.list-nav-wrap:hover .list-nav-more,.list-nav-more:focus-within{opacity:1}.sidebar-foot{border-top:1px solid var(--border);padding-top:10px}.side-user{display:flex;align-items:center;gap:9px;padding:6px 6px 4px;border-radius:12px}.side-user-text{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1;text-align:left;line-height:1.3}.side-user-name{font-size:13px;font-weight:600;color:var(--text);max-width:100%}.side-user-mail{font-size:11px;color:var(--muted);max-width:100%}.side-user-actions{display:flex;gap:2px}.mobile-header{display:none}.mh-brand{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--text)}.mh-actions{display:flex;align-items:center;gap:4px}.tabbar,.fab{display:none}.auth-shell{display:flex;min-height:100dvh;background:var(--bg)}.auth-aside{position:relative;width:52%;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:34px 40px;color:#fff;background:radial-gradient(900px 480px at 18% 0%,rgba(123,136,255,.55) 0%,transparent 60%),radial-gradient(700px 520px at 100% 100%,rgba(255,176,32,.22) 0%,transparent 55%),linear-gradient(150deg,#2e3aa0,#4a5bf0 48%,#5b6cff)}.auth-deco{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.deco-orb{position:absolute;border-radius:50%;filter:blur(2px)}.orb-1{width:260px;height:260px;right:-70px;top:8%;background:radial-gradient(circle at 35% 30%,rgba(255,255,255,.16),transparent 65%);border:1px solid rgba(255,255,255,.12)}.orb-2{width:160px;height:160px;left:-40px;bottom:14%;background:#ffb02024;border:1px solid rgba(255,176,32,.28)}.orb-3{width:96px;height:96px;right:22%;bottom:8%;background:#ffffff0f;border:1px solid rgba(255,255,255,.14)}.auth-brand{position:relative;display:flex;align-items:center;gap:11px;font-size:16px;font-weight:700}.auth-hero{position:relative;max-width:520px}.auth-hero h1{font-size:clamp(34px,3.4vw,46px);line-height:1.22;font-weight:700;letter-spacing:.01em;text-shadow:0 8px 30px rgba(20,25,80,.25)}.auth-hero p{margin-top:16px;font-size:14.5px;color:#ffffffc7;letter-spacing:.04em}.auth-floaters{position:relative;height:300px;margin-top:28px}.float-card{position:absolute;border-radius:16px;background:#fffffff0;color:#1b1f2a;box-shadow:0 22px 50px -18px #080c2d80;padding:14px 16px;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:floaty 7s var(--ease) infinite}.float-task{left:0;top:6px;width:208px;animation-delay:-1.2s}.float-ring{right:2%;top:52px;width:168px;display:flex;align-items:center;gap:12px;animation-delay:-3.4s}.float-habit{left:24%;bottom:-4px;width:218px;animation-delay:-5s}.fc-head{display:flex;align-items:center;gap:7px;margin-bottom:10px}.fc-dot{width:7px;height:7px;border-radius:50%}.fc-title{font-size:12.5px;font-weight:650;color:#1b1f2a;flex:1}.fc-count{font-size:11px;color:#8a93a8;font-variant-numeric:tabular-nums}.fc-row{display:flex;align-items:center;gap:8px;padding:5px 0}.fc-check{width:13px;height:13px;border-radius:50%;border:1.6px solid #d5dae8;flex:none;position:relative}.fc-check.done{background:#5b6cff;border-color:#5b6cff}.fc-check.done:after{content:"";position:absolute;left:3.2px;top:3.6px;width:4.5px;height:2.6px;border-left:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:rotate(-45deg)}.fc-line{height:6px;border-radius:4px;background:#eef0f7;flex:1}.fc-line.done{opacity:.65}.fc-line.short{flex:0 0 56%}.fc-meta{display:flex;flex-direction:column;line-height:1.2}.fc-meta-num{font-size:21px;font-weight:700;color:#1b1f2a;letter-spacing:-.02em}.fc-meta-label{font-size:10.5px;color:#8a93a8}.fc-habit-icon{width:22px;height:22px;border-radius:7px;background:#fdeceb;display:grid;place-items:center;font-size:12px}.fc-streak{font-size:10.5px;color:#ef7a4a;font-weight:650}.fc-heat{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.fc-heat-cell{height:15px;border-radius:4px;background:#eef0f7}.fc-heat-cell.on{background:#3ba55d}.auth-foot{position:relative;font-size:11.5px;color:#fff9;letter-spacing:.03em}.auth-main{flex:1;display:flex;align-items:center;justify-content:center;padding:40px 24px;background:var(--bg);background-image:var(--bg-grad)}.auth-card{width:100%;max-width:380px}.auth-logo{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:700;color:var(--text);margin-bottom:26px}.auth-title{font-size:25px;font-weight:700;letter-spacing:-.02em}.auth-subtitle{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.6}.auth-form{display:flex;flex-direction:column;gap:16px;margin-top:26px}.auth-error{font-size:12.5px;color:var(--red);background:var(--red-soft);border-radius:8px;padding:8px 10px}.auth-divider{position:relative;text-align:center;margin:20px 0;color:var(--muted);font-size:11.5px}.auth-divider:before{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background:var(--border)}.auth-divider span{position:relative;background:var(--bg);padding:0 10px}.auth-hint{margin-top:10px;text-align:center;font-size:11.5px;color:var(--muted)}.demo-btn{color:var(--brand-ink);border-color:color-mix(in srgb,var(--brand) 24%,transparent);background:color-mix(in srgb,var(--brand) 6%,var(--surface))}.demo-btn:hover:not(:disabled){background:var(--brand-soft);color:var(--brand-ink)}.auth-switch{margin-top:24px;text-align:center;font-size:13px;color:var(--muted)}.auth-link{color:var(--brand);font-weight:600;margin-left:4px}.auth-link:hover{text-decoration:underline;text-underline-offset:3px}.today-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}.wave{display:inline-block;animation:floaty 3.2s var(--ease) infinite;transform-origin:70% 80%}.today-progress{display:flex;align-items:center;gap:26px;padding:22px 26px;background:radial-gradient(520px 200px at 0% 0%,color-mix(in srgb,var(--brand) 12%,transparent),transparent 70%),var(--surface);overflow:hidden}.tp-main{flex:1;min-width:0}.tp-nums{display:flex;gap:34px}.tp-num{display:flex;flex-direction:column;gap:2px}.tp-num-value{font-size:27px;font-weight:700;letter-spacing:-.03em;line-height:1.1}.tp-num-label{font-size:11.5px;color:var(--muted)}.tp-encourage{margin-top:14px;font-size:12.5px;color:var(--text-2);line-height:1.6}.habit-strip-section{margin-top:22px}.habit-strip-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.habit-strip-head .section-title{display:inline-flex;align-items:center;gap:6px}.habit-strip{display:flex;gap:9px;overflow-x:auto;padding:2px 2px 6px;scrollbar-width:none}.habit-strip::-webkit-scrollbar{display:none}.habit-pill{display:flex;align-items:center;gap:8px;flex:none;padding:6px 7px 6px 8px;background:var(--surface);border:1px solid var(--border);border-radius:999px;box-shadow:var(--shadow-1);transition:border-color .15s var(--ease),background .15s var(--ease)}.habit-pill.done{background:var(--green-soft);border-color:color-mix(in srgb,var(--green) 24%,transparent)}.habit-pill-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;flex:none}.habit-pill-name{font-size:12.5px;font-weight:500;color:var(--text);max-width:108px}.habit-check{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1.6px solid var(--border-strong);color:#fff;flex:none;transition:background .15s var(--ease),border-color .15s var(--ease),transform .12s var(--ease)}.habit-check:hover{border-color:var(--green);background:color-mix(in srgb,var(--green) 10%,transparent)}.habit-check.checked{background:var(--green);border-color:var(--green)}.habit-check:active{transform:scale(.9)}.quick-card{margin-top:18px;padding:4px}.today-loading{margin-top:20px}.quick-add{display:flex;flex-direction:column;gap:8px}.quick-form{display:flex;align-items:center;gap:10px;padding:5px 6px 5px 12px;min-height:44px}.quick-avatar{display:flex;color:var(--brand);flex:none}.quick-input{flex:1;min-width:0;height:34px;border:0;background:transparent;font-size:14px;color:var(--text)}.quick-input::placeholder{color:var(--muted)}.quick-input:focus{outline:none}.quick-submit{display:grid;place-items:center;width:32px;height:32px;border-radius:var(--r-sm);background:var(--brand);color:#fff;flex:none;transition:background .15s var(--ease),opacity .15s var(--ease),transform .12s var(--ease)}.quick-submit:hover:not(:disabled){background:var(--brand-hover)}.quick-submit:active:not(:disabled){transform:scale(.94)}.quick-submit:disabled{opacity:.35;cursor:default}.quick-chips{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:0 8px 8px;animation:fadeUp .16s var(--ease) both}.quick-chips .select{width:auto}.quick-chips .select-btn{height:30px;padding:0 10px;border-radius:999px;border-color:var(--border);background:var(--surface);font-size:12.5px}.quick-chips .select-btn .select-value{max-width:96px}.quick-date>span{display:inline-flex!important}.quick-hint{display:inline-flex;align-items:center;gap:4px;margin-left:auto;font-size:11.5px;color:var(--muted);white-space:nowrap}.task-group{margin-top:22px}.task-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 2px 6px}.task-group-title{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;font-weight:650;color:var(--text-2);letter-spacing:.01em}.task-group-title:hover{color:var(--text)}.group-dot{width:7px;height:7px;border-radius:50%;background:var(--border-strong)}.group-dot.tone-overdue{background:var(--red)}.group-dot.tone-today{background:var(--brand)}.group-dot.tone-done{background:var(--green)}.group-dot.tone-custom{background:var(--brand)}.task-group-head.tone-overdue svg{color:var(--red)}.task-group-head.tone-today svg{color:var(--brand)}.task-group-head.tone-done svg{color:var(--green)}.task-group-head.tone-custom svg{color:var(--brand)}.group-count{min-width:17px;height:17px;padding:0 5px;display:inline-grid;place-items:center;font-size:10.5px;font-weight:600;color:var(--muted);background:var(--surface-2);border-radius:999px;line-height:1}.group-chev{color:var(--muted);transition:transform .16s var(--ease)}.group-chev.open{transform:rotate(180deg)}.task-group-actions{display:flex;align-items:center;gap:8px}.task-group-collapsed-hint{font-size:12px;color:var(--muted);padding:4px 6px 8px}.group-empty{font-size:12.5px;color:var(--muted);padding:12px 8px 14px;line-height:1.6}.task-row{display:flex;align-items:flex-start;gap:11px;padding:10px 8px 10px 10px;border-radius:var(--r-md);position:relative;transition:background .13s var(--ease);cursor:pointer}.task-row:hover{background:var(--surface-2)}.task-row.selected{background:var(--brand-soft)}.task-row .checkbox,.task-row .radio-dot{margin-top:1px}.task-main{flex:1;min-width:0;padding-top:1px}.task-title-line{display:flex;align-items:center;gap:7px;min-width:0}.task-title{font-size:14.5px;line-height:1.42;color:var(--text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-row.done .task-title{color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px;text-underline-offset:3px}.task-row.done .task-meta{opacity:.72}.task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px 9px;margin-top:3px;font-size:11.5px;color:var(--muted);min-height:16px}.meta-item{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}.meta-item.overdue{color:var(--red)}.meta-done{color:var(--green)}.meta-list{max-width:118px;overflow:hidden;text-overflow:ellipsis}.task-actions{display:flex;align-items:center;opacity:0;transition:opacity .13s var(--ease);flex:none}.task-row:hover .task-actions,.task-row:focus-within .task-actions{opacity:1}.upcoming{display:flex;flex-direction:column;gap:4px}.upcoming-group{border-radius:var(--r-lg);padding:2px 0}.upcoming-head{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 6px;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid transparent}.upcoming-group.is-today .upcoming-head{border-bottom-color:var(--border)}.upcoming-date{display:flex;align-items:baseline;gap:8px}.up-label{font-size:13.5px;font-weight:650;color:var(--text)}.upcoming-group.is-today .up-label{color:var(--brand)}.up-sub{font-size:11.5px;color:var(--muted)}.up-count{min-width:20px;height:19px;padding:0 6px;display:inline-grid;place-items:center;border-radius:999px;background:var(--surface-2);font-size:10.5px;font-weight:600;color:var(--text-2)}.up-count.zero{background:transparent;color:var(--muted)}.upcoming-body{padding:2px 0 6px}.upcoming-empty-row{padding:3px 8px 10px 18px;font-size:12px;color:var(--muted);opacity:.75}.filters{padding:14px;display:flex;flex-direction:column;gap:11px;margin-bottom:8px}.search-input{max-width:100%}.filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.filter-label{font-size:11.5px;color:var(--muted);font-weight:600}.filter-select{width:auto;min-width:118px}.filter-select .select-btn{height:32px;font-size:12.5px;border-radius:999px;background:var(--surface)}.select-all{margin-left:auto}.all-groups{margin-top:6px}.all-groups .task-group{margin-top:16px}.selection-bar{position:fixed;left:50%;transform:translate(-50%);bottom:24px;z-index:45;display:flex;align-items:center;gap:16px;padding:9px 10px 9px 18px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-2);max-width:calc(100vw - 48px);animation:popIn .18s var(--ease)}.selection-count{font-size:13px;font-weight:600;color:var(--text);white-space:nowrap}.selection-actions{display:flex;align-items:center;gap:7px}.selection-move{width:128px}.selection-move .select-btn{height:30px;font-size:12.5px}.list-header{margin-bottom:18px}.list-title-row{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.list-title-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-1);flex:none}.list-title{font-size:25px}.list-title-input{font-size:25px;font-weight:700;letter-spacing:-.02em;color:var(--text);background:var(--surface-2);border:1px solid var(--brand);border-radius:8px;padding:2px 8px;max-width:340px;font-family:inherit}.list-count{min-width:22px;height:22px;padding:0 7px;display:inline-grid;place-items:center;border-radius:999px;background:var(--surface-2);font-size:11.5px;font-weight:600;color:var(--muted)}.list-header-actions{margin-left:auto;display:flex;align-items:center;gap:2px}.list-progress{display:flex;align-items:center;gap:12px;margin-top:14px}.list-progress .progress{flex:1;max-width:420px}.list-progress-text{font-size:11.5px;color:var(--muted);white-space:nowrap}.completed-groups .task-group{margin-top:18px}.detail{display:flex;flex-direction:column;gap:18px}.detail-loading{display:flex;flex-direction:column;gap:14px;padding-top:6px}.detail-top{display:flex;align-items:center;gap:8px}.detail-top .select{max-width:220px}.detail-top .select-btn.is-bare{padding-left:4px;font-size:12.5px;color:var(--muted);gap:6px}.detail-title-input{width:100%;font-size:19px;font-weight:650;line-height:1.45;color:var(--text);background:transparent;border:1px solid transparent;border-radius:var(--r-sm);padding:4px 6px;margin-left:-6px;font-family:inherit}.detail-title-input:hover{background:var(--surface-2)}.detail-title-input:focus{background:var(--surface-2);border-color:var(--brand);outline:none}.complete-toggle{display:flex;align-items:center;gap:9px;width:100%;padding:9px 12px;border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--border);font-size:13px;color:var(--text-2);text-align:left;transition:all .15s var(--ease)}.complete-toggle:hover{border-color:var(--green);color:var(--green)}.complete-toggle.done{background:var(--green-soft);border-color:transparent;color:var(--green)}.complete-circle{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:color-mix(in srgb,var(--green) 12%,transparent);color:var(--green);flex:none}.complete-circle.done{background:var(--green);color:#fff}.detail-section{display:flex;flex-direction:column;gap:6px}.detail-label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:650;color:var(--muted);letter-spacing:.02em}.detail-label svg{color:var(--muted)}.detail-label .muted{color:var(--muted);font-weight:500;margin-left:2px}.subtask-list{display:flex;flex-direction:column}.subtask-row{display:flex;align-items:center;gap:9px;padding:7px 6px;border-radius:var(--r-sm)}.subtask-row:hover{background:var(--surface-2)}.subtask-row:hover .subtask-del{opacity:1}.subtask-title{flex:1;min-width:0;font-size:13.5px;color:var(--text-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subtask-title.done{color:var(--muted);text-decoration:line-through}.subtask-del{opacity:0;color:var(--muted);transition:opacity .13s var(--ease)}.subtask-add{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:var(--r-sm);color:var(--muted);border:1px dashed var(--border)}.subtask-add:focus-within{border-color:var(--brand);background:var(--surface-2)}.subtask-add input{flex:1;min-width:0;border:0;background:transparent;font-size:13px;color:var(--text);height:24px}.subtask-add input:focus{outline:none}.detail-notes{min-height:88px;font-size:13.5px;background:var(--surface-2)}.detail-props{display:flex;flex-direction:column;border-top:1px solid var(--border)}.prop-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:7px 2px;border-bottom:1px solid var(--border)}.prop-row.align-start{align-items:flex-start}.prop-row.align-start .prop-label{padding-top:3px}.prop-label{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-2);flex:none}.prop-label svg{color:var(--muted)}.prop-trigger{display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:var(--r-sm);border:1px solid var(--border);background:var(--surface);font-size:12.5px;color:var(--text);cursor:pointer;transition:all .14s var(--ease)}.prop-trigger:hover{border-color:var(--brand);color:var(--brand)}.prop-trigger.empty{color:var(--muted);border-style:dashed}.prop-time-input{height:30px;padding:0 8px;border-radius:var(--r-sm);border:1px solid var(--border);background:var(--surface);font-size:12.5px;color:var(--text);font-family:inherit}.prop-time-input:focus{border-color:var(--brand);outline:none}.prop-select{width:156px}.prop-select .select-btn{height:30px;font-size:12.5px;border-radius:var(--r-sm);background:var(--surface)}.priority-chips{display:flex;gap:4px;flex-wrap:wrap}.priority-opt{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 9px;border-radius:999px;border:1px solid var(--border);background:var(--surface);font-size:12px;color:var(--text-2);transition:all .14s var(--ease)}.priority-opt:hover{border-color:var(--border-strong);color:var(--text)}.priority-opt.active{background:var(--brand-soft);border-color:color-mix(in srgb,var(--brand) 30%,transparent);color:var(--brand-ink);font-weight:600}.detail-extras{display:flex;flex-wrap:wrap;gap:4px 14px}.detail-delete{color:var(--red)}.detail-delete:hover{background:var(--red-soft);color:var(--red)}.tag-picker{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:6px;justify-content:flex-end;max-width:74%}.tag-add-btn{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border-radius:999px;border:1px dashed var(--border-strong);font-size:11.5px;color:var(--muted)}.tag-add-btn:hover{border-color:var(--brand);color:var(--brand)}.tag-picker-pop{position:absolute;top:calc(100% + 6px);right:0;width:246px;z-index:56;padding:10px;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-2);animation:popIn .15s var(--ease)}.tag-picker-list{display:flex;flex-wrap:wrap;gap:6px;max-height:150px;overflow-y:auto;margin-bottom:9px}.tag-create{display:flex;gap:6px;padding-top:9px;border-top:1px solid var(--border)}.tag-create .input{flex:1;min-width:0}.mnav-lists,.mnav-links{display:flex;flex-direction:column;gap:2px}.mnav-lists{margin-bottom:14px}.mnav-lists .side-label{padding:0 8px 6px}.mnav-item{display:flex;align-items:center;gap:10px;height:42px;padding:0 10px;border-radius:var(--r-md);font-size:13.5px;color:var(--text-2);text-align:left}.mnav-item:hover{background:var(--surface-2);color:var(--text)}.mnav-item .nav-count{margin-left:auto}.mnav-item .muted{color:var(--muted)}.mnav-links{border-top:1px solid var(--border);padding-top:10px}@media(max-width:1199px){.float-ring{right:-4%}.float-habit{left:16%}}@media(max-width:1023px){.sidebar{display:none}.auth-aside{width:46%;padding:28px}.auth-floaters{transform:scale(.86);transform-origin:left top}}@media(max-width:1023px){.mobile-header{display:flex;align-items:center;justify-content:space-between;gap:10px;position:sticky;top:0;z-index:25;padding:10px 16px;padding-top:calc(10px + env(safe-area-inset-top));background:color-mix(in srgb,var(--bg) 86%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid color-mix(in srgb,var(--border) 60%,transparent)}.tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:30;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid var(--border)}.tab-item{display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 0 3px;font-size:10.5px;color:var(--muted);border-radius:10px;transition:color .14s var(--ease)}.tab-item.active{color:var(--brand);font-weight:600}.tab-item:active{background:var(--surface-2)}.fab{display:grid;place-items:center;position:fixed;right:16px;bottom:calc(78px + env(safe-area-inset-bottom));width:50px;height:50px;border-radius:16px;background:var(--brand);color:#fff;z-index:31;box-shadow:0 14px 30px -10px color-mix(in srgb,var(--brand) 75%,transparent);transition:transform .12s var(--ease)}.fab:active{transform:scale(.94)}.today-head{margin-bottom:14px;align-items:flex-start}.today-progress{gap:16px;padding:16px}.tp-nums{gap:20px}.tp-num-value{font-size:23px}.tp-encourage{margin-top:10px;font-size:12px}.quick-hint{display:none}.task-row{padding:11px 6px 11px 8px;gap:10px}.task-row .task-actions{opacity:1}.task-meta{gap:3px 8px}.task-title{font-size:14.5px}.upcoming-head{padding:8px 4px}.filters{padding:11px}.filter-select{min-width:102px;flex:1}.selection-bar{bottom:calc(70px + env(safe-area-inset-bottom));left:10px;right:10px;transform:none;max-width:none;flex-wrap:wrap;gap:8px;padding:8px 10px}.selection-bar .selection-actions{flex:1;justify-content:flex-end;flex-wrap:wrap}.selection-count{width:100%}.list-title{font-size:22px}.list-title-input{font-size:22px;max-width:220px}.list-title-icon{width:34px;height:34px}.detail-title-input{font-size:18px}.tag-picker{max-width:66%}.prop-select{width:138px}.sidebar,.auth-aside{display:none}.auth-main{padding:140px 20px 40px;align-items:flex-start;position:relative}.auth-main:before{content:"";position:absolute;top:0;left:0;right:0;height:120px;background:radial-gradient(420px 200px at 20% 0%,rgba(255,255,255,.35),transparent 70%),linear-gradient(140deg,#2e3aa0,#4a5bf0 60%,#5b6cff);border-radius:0 0 26px 26px}.auth-card{position:relative;margin-top:0;background:transparent}.auth-logo{display:none}.auth-divider span{background:var(--bg)}}@media(max-width:400px){.tp-nums{gap:14px}.tp-num-value{font-size:21px}.task-group-head{padding:4px 0 6px}}.cal-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}.cal-main{padding:14px 14px 12px;min-width:0}.cal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.cal-month-nav{display:flex;align-items:center;gap:2px;min-width:0}.cal-title{font-size:16px;font-weight:650;letter-spacing:-.01em;white-space:nowrap;margin:0 6px}.cal-today-hint{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:11.5px;white-space:nowrap}.cal-today-dot{width:7px;height:7px;border-radius:50%;background:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 16%,transparent)}.cal-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;padding-bottom:2px}.cal-dow{text-align:center;font-size:11px;font-weight:600;color:var(--muted);padding:4px 0 6px}.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cal-cell{display:flex;flex-direction:column;gap:3px;min-width:0;min-height:62px;padding:4px 4px 5px;border-radius:10px;border:1px solid transparent;cursor:pointer;transition:background .14s var(--ease),border-color .14s var(--ease),opacity .14s var(--ease)}.cal-cell:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}@media(hover:hover){.cal-cell:hover{background:var(--surface-2)}}.cal-cell.out{opacity:.42}.cal-cell.is-today{background:color-mix(in srgb,var(--brand) 6%,transparent)}.cal-cell.selected{background:var(--brand-soft);border-color:color-mix(in srgb,var(--brand) 30%,transparent)}.cal-cell-top{display:flex;align-items:center;justify-content:space-between;gap:3px;min-height:20px}.cal-cell-date{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:50%;font-size:12px;font-weight:600;color:var(--text-2);font-variant-numeric:tabular-nums}.cal-cell.is-today .cal-cell-date{background:var(--brand);color:#fff;font-size:11.5px;font-weight:680}.cal-cell.selected:not(.is-today) .cal-cell-date{color:var(--brand-ink)}.cal-cell-count{font-size:9.5px;font-weight:600;color:var(--muted);line-height:1;padding-right:1px}.cal-cell-tasks{display:flex;flex-direction:column;gap:2px;min-width:0}.cal-chip{display:flex;align-items:center;gap:3px;width:100%;min-width:0;height:17px;padding:0 4px 0 0;border-radius:4px;background:var(--surface-2);color:var(--text-2);text-align:left;overflow:hidden;transition:background .12s var(--ease)}.cal-cell.selected .cal-chip,.cal-cell:hover .cal-chip{background:color-mix(in srgb,var(--surface) 70%,transparent)}@media(hover:hover){.cal-chip:hover{background:var(--surface-3)!important}}.cal-chip-bar{align-self:stretch;width:3px;border-radius:3px 0 0 3px;background:var(--border-strong);flex:none}.cal-chip.high .cal-chip-bar{background:var(--priority-high)}.cal-chip.medium .cal-chip-bar{background:var(--priority-medium)}.cal-chip.low .cal-chip-bar{background:var(--priority-low)}.cal-chip-title{flex:1;min-width:0;font-size:10px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cal-chip.done{opacity:.5}.cal-cell-tasks.is-dots{flex-direction:row;flex-wrap:wrap;align-items:center;gap:3px;padding:3px 2px 0}.cal-dot{display:block;width:6px;height:6px;border-radius:50%;background:var(--border-strong);flex:none}.cal-dot.high{background:var(--priority-high)}.cal-dot.medium{background:var(--priority-medium)}.cal-dot.low{background:var(--priority-low)}.cal-dot.done{opacity:.35}.cal-dot-more{font-size:8.5px;font-weight:600;line-height:1;color:var(--muted)}.cal-chip.done .cal-chip-title{text-decoration:line-through}.cal-more{padding:0 0 0 3px;font-size:10px;font-weight:600;color:var(--muted);text-align:left;line-height:1.3}.cal-more:hover{color:var(--brand)}.cal-skeleton{display:flex;flex-direction:column;gap:4px}.cal-skel-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.cal-error{display:flex;align-items:center;gap:12px;padding:22px 8px;color:var(--red)}.cal-error-title{font-size:13.5px;font-weight:600;color:var(--text)}.cal-error-desc{font-size:12px;color:var(--muted);margin-top:2px}.cal-panel{padding:16px 16px 12px;min-width:0;display:flex;flex-direction:column}.cal-panel-head{margin-bottom:12px}.cal-panel-date{display:flex;align-items:center;gap:12px;min-width:0}.cal-panel-day{font-size:30px;font-weight:700;line-height:1;letter-spacing:-.04em;color:var(--brand);font-variant-numeric:tabular-nums}.cal-panel-label{display:flex;align-items:center;font-size:13px;font-weight:650;color:var(--text)}.cal-panel-today{margin-left:6px;padding:1px 7px;border-radius:999px;background:var(--brand-soft);color:var(--brand-ink);font-size:10px;font-weight:650}.cal-panel-sub{margin-top:2px;font-size:11.5px;color:var(--muted)}.cal-panel-add{background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-md);padding:2px 4px}.cal-panel-add .quick-add{gap:0}.cal-panel-add .quick-form{min-height:38px;padding:0 4px;gap:8px}.cal-panel-add .quick-input{font-size:13px}.cal-panel-add .quick-submit{width:28px;height:28px}.cal-panel-list{margin-top:8px;min-width:0}.cal-panel-list .task-row{padding:8px 6px}.cal-panel-list .task-row .meta-list{display:none}.cal-panel-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:22px 8px 18px}.cal-panel-empty svg{width:88px;height:auto;margin-bottom:2px;opacity:.9}.cal-panel-empty-title{font-size:12.5px;font-weight:600;color:var(--text-2)}.cal-panel-empty-desc{font-size:11.5px;color:var(--muted);line-height:1.6;max-width:220px}.cal-panel-skeleton{display:flex;flex-direction:column;gap:8px;padding:8px 4px}.habits-summary{display:flex;align-items:center;gap:20px;padding:18px 20px;margin-bottom:18px;background:linear-gradient(135deg,color-mix(in srgb,var(--brand) 8%,var(--surface)),var(--surface) 62%);min-width:0}.hs-ring-value{font-size:20px;font-weight:700;letter-spacing:-.03em;line-height:1}.hs-ring-label{font-size:10.5px;color:var(--muted)}.hs-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}.hs-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}.hs-title{display:flex;align-items:center;gap:6px;min-width:0;font-size:13.5px;font-weight:650;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hs-count{font-size:11.5px;color:var(--muted);white-space:nowrap;flex:none}.hs-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-width:0}.hs-stat{display:flex;flex-direction:column;gap:1px;min-width:0}.hs-stat-value{font-size:22px;font-weight:700;letter-spacing:-.03em;line-height:1.15;font-variant-numeric:tabular-nums}.hs-stat-label{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.habits-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.habit-card{padding:16px 16px 14px;display:flex;flex-direction:column;gap:13px;min-width:0;transition:box-shadow .16s var(--ease),border-color .16s var(--ease)}@media(hover:hover){.habit-card:hover{border-color:var(--border-strong)}}.hc-head{display:flex;align-items:center;gap:12px;min-width:0}.hc-icon{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:13px;flex:none}.hc-icon.sm{width:30px;height:30px;border-radius:9px}.hc-title-wrap{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.hc-name-row{display:flex;align-items:center;gap:8px;min-width:0}.hc-name{font-size:14.5px;font-weight:650;color:var(--text);letter-spacing:-.01em}.hc-streak{display:inline-flex;align-items:center;gap:3px;flex:none;height:18px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--amber) 18%,transparent);color:#b17206;font-size:10.5px;font-weight:650}html[data-theme=dark] .hc-streak{color:#ffc857}.hc-meta{display:flex;align-items:center;gap:10px;font-size:11.5px;color:var(--muted);min-width:0}.hc-target{display:inline-flex;align-items:center;gap:3px;color:var(--brand);font-weight:600}.hc-week{display:flex;flex-direction:column;gap:6px}.hc-week-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.hc-week-label{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:600;color:var(--text-2)}.hc-week-count{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.hc-progress{height:6px;border-radius:999px;background:var(--surface-3);overflow:hidden}.hc-progress-bar{display:block;height:100%;border-radius:999px;transition:width .42s var(--ease)}.hc-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.hc-day{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:2px 0;border-radius:8px}.hc-day-week{font-size:10px;font-weight:600;color:var(--muted);line-height:1}.hc-day.is-today .hc-day-week{color:var(--brand)}.hc-day-circle{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;border:1.5px solid var(--border-strong);color:var(--muted);font-size:10.5px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums;transition:transform .12s var(--ease),background .15s var(--ease),border-color .15s var(--ease),box-shadow .15s var(--ease)}@media(hover:hover){.hc-day:hover .hc-day-circle{border-color:var(--brand);color:var(--brand);transform:scale(1.05)}}.hc-day.done .hc-day-circle{color:#fff}.hc-day.is-today .hc-day-circle{box-shadow:0 0 0 2px var(--surface),0 0 0 3.5px var(--brand-soft)}.hc-day.is-future{opacity:.35;pointer-events:none}.hc-day-date{opacity:.8}.hc-heat-wrap{display:flex;flex-direction:column;gap:6px;padding-top:2px;border-top:1px dashed var(--border)}.hc-heat-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:6px}.hc-heat-label{font-size:10.5px;color:var(--muted)}.hc-heat-count{font-size:10.5px;color:var(--muted);font-variant-numeric:tabular-nums}.hc-heat{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:30px;gap:4px}.hc-heat-cell{display:block;height:30px;border-radius:6px;background:var(--surface-3);transition:background .15s var(--ease)}.hc-heat-cell.is-today{box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--brand) 55%,transparent)}.hc-loading-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;justify-items:center}.habits-error{display:flex;align-items:center;gap:12px;padding:22px 18px;color:var(--red)}.habits-error-title{font-size:13.5px;font-weight:600;color:var(--text)}.habits-error-desc{font-size:12px;color:var(--muted);margin-top:2px}.archived-section{margin-top:22px}.archived-toggle{display:inline-flex;align-items:center;gap:6px;padding:4px 2px;font-size:12.5px;font-weight:600;color:var(--text-2)}.archived-toggle:hover{color:var(--text)}.archived-chev{transition:transform .18s var(--ease);transform:rotate(-90deg)}.archived-toggle.open .archived-chev{transform:rotate(0)}.archived-count{padding:0 6px;height:17px;display:inline-grid;place-items:center;border-radius:999px;background:var(--surface-3);color:var(--muted);font-size:10.5px}.archived-list{margin-top:8px;padding:4px 14px}.archived-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--border);min-width:0}.archived-row:last-child{border-bottom:0}.archived-name{font-size:13.5px;color:var(--text-2)}.archived-meta{font-size:11px;color:var(--muted);white-space:nowrap}.habit-form{display:flex;flex-direction:column;gap:16px}.weekday-picker{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.weekday-chip{width:34px;height:34px;border-radius:50%;border:1px solid var(--border);background:var(--surface-2);color:var(--text-2);font-size:12.5px;font-weight:600;transition:all .14s var(--ease)}.weekday-chip:hover{border-color:var(--border-strong);color:var(--text)}.weekday-chip.active{background:var(--brand);border-color:var(--brand);color:#fff;box-shadow:0 2px 8px -3px color-mix(in srgb,var(--brand) 65%,transparent)}.habits-foot-link{display:flex;align-items:center;justify-content:center;gap:5px;margin:24px auto 0;color:var(--muted);font-size:12.5px;transition:color .14s var(--ease)}.habits-foot-link:hover{color:var(--brand)}.focus-notify-on{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:var(--green);white-space:nowrap}.focus-timer-card{--focus-color: var(--brand);--focus-soft: var(--brand-soft);position:relative;max-width:640px;margin:0 auto;padding:26px 24px 20px;background:radial-gradient(120% 90% at 50% -10%,color-mix(in srgb,var(--focus-color) 10%,transparent) 0%,transparent 55%),var(--surface);display:flex;flex-direction:column;align-items:center;min-width:0}.focus-timer-card.tone-short{--focus-color: var(--green);--focus-soft: var(--green-soft)}.focus-timer-card.tone-long{--focus-color: var(--amber);--focus-soft: color-mix(in srgb, var(--amber) 16%, transparent)}.focus-modes{display:flex;justify-content:center;margin-bottom:20px;max-width:100%}.focus-ring{--focus-color: var(--brand);position:relative;display:grid;place-items:center;margin:0 auto;color:var(--focus-color)}.focus-ring.tone-short{--focus-color: var(--green)}.focus-ring.tone-long{--focus-color: var(--amber)}.focus-ring-track{stroke:var(--surface-3)}.focus-ring-bar{transition:stroke-dashoffset .48s linear}.focus-ring.is-running .focus-ring-bar{filter:drop-shadow(0 0 12px color-mix(in srgb,var(--focus-color) 45%,transparent))}.focus-ring.is-running{animation:focusBreath 4.8s ease-in-out infinite}@keyframes focusBreath{0%,to{transform:scale(1)}50%{transform:scale(1.012)}}.focus-ring-center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:0 20px;text-align:center;pointer-events:none}.focus-time{font-size:52px;font-weight:700;line-height:1;letter-spacing:-.045em;color:var(--text);font-variant-numeric:tabular-nums}.focus-mode-label{font-size:13px;font-weight:650;color:var(--focus-color);letter-spacing:.04em}.focus-mode-label.running:after{content:"";display:inline-block;width:5px;height:5px;margin-left:6px;border-radius:50%;background:var(--focus-color);vertical-align:2px;animation:pulseSoft 1.6s ease-in-out infinite}.focus-task{max-width:78%;font-size:12px;color:var(--muted)}.focus-task-select{display:flex;align-items:center;gap:8px;width:100%;max-width:360px;margin-top:20px}.focus-task-select .select{flex:1;min-width:0}.focus-clear-task{flex:none;white-space:nowrap}.focus-controls{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:18px}.focus-controls .btn-lg{height:42px;padding:0 18px}.focus-start-btn{min-width:138px}.focus-tip{margin-top:14px;font-size:11.5px;color:var(--muted);text-align:center}.focus-bottom{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-top:16px}.focus-stats{padding:18px;min-width:0}.focus-stats-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.focus-stats-head .section-title{display:inline-flex;align-items:center;gap:5px}.focus-stats-body{display:flex;align-items:center;gap:18px;min-width:0}.fs-ring-value{font-size:21px;font-weight:700;letter-spacing:-.03em;line-height:1}.fs-ring-label{font-size:10px;color:var(--muted)}.fs-nums{display:flex;flex-wrap:wrap;gap:12px 20px;min-width:0}.fs-num{display:flex;flex-direction:column;gap:1px;min-width:64px}.fs-num-value{font-size:15.5px;font-weight:650;color:var(--text);font-variant-numeric:tabular-nums}.fs-num-label{font-size:11px;color:var(--muted);white-space:nowrap}.focus-sessions{padding:18px;min-width:0;display:flex;flex-direction:column}.focus-sessions-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.focus-sessions-head .section-title{display:inline-flex;align-items:center;gap:5px}.focus-sessions-loading{display:flex;flex-direction:column;gap:8px;padding:4px 0}.session-list{display:flex;flex-direction:column;min-width:0}.session-row{display:flex;align-items:center;gap:10px;min-width:0;padding:10px 2px;border-bottom:1px solid var(--border)}.session-row:last-child{border-bottom:0}.session-icon{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;flex:none}.session-icon.focus{background:var(--brand-soft);color:var(--brand)}.session-icon.break{background:var(--green-soft);color:var(--green)}.session-main{flex:1;min-width:0}.session-title{font-size:13px;font-weight:550;color:var(--text)}.session-meta{margin-top:1px;font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.session-duration{flex:none;font-size:12px;font-weight:650;color:var(--text-2);white-space:nowrap;font-variant-numeric:tabular-nums}.session-del{flex:none;opacity:0;transition:opacity .14s var(--ease)}.session-row:hover .session-del,.session-row:focus-within .session-del{opacity:.7}.session-del:hover{opacity:1;color:var(--red);background:var(--red-soft)}.focus-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:22px 10px 18px}.focus-empty svg{width:108px;height:auto;margin-bottom:2px}.focus-empty-title{font-size:13px;font-weight:600;color:var(--text-2)}.focus-empty-desc{font-size:11.5px;color:var(--muted);line-height:1.65;max-width:260px}.stats-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.stat-card{display:flex;flex-direction:column;gap:8px;padding:15px 16px;min-width:0}.stat-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px;margin-bottom:2px}.stat-icon.green{background:var(--green-soft);color:var(--green)}.stat-icon.amber{background:color-mix(in srgb,var(--amber) 16%,transparent);color:#b17206}html[data-theme=dark] .stat-icon.amber{color:#ffc857}.stat-icon.brand{background:var(--brand-soft);color:var(--brand)}.stat-icon.violet{background:color-mix(in srgb,#9b51e0 15%,transparent);color:#9b51e0}html[data-theme=dark] .stat-icon.violet{color:#c39bf2}.stat-value{font-size:27px;font-weight:700;line-height:1.1;letter-spacing:-.035em;color:var(--text);font-variant-numeric:tabular-nums}.stat-unit{margin-left:2px;font-size:12px;font-weight:600;color:var(--muted);letter-spacing:0}.stat-label{margin-top:2px;font-size:11.5px;color:var(--muted);white-space:nowrap}.stat-extra{margin-top:auto;font-size:10.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stats-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.stats-grid .chart-card{min-width:0}.chart-pill{display:inline-flex;align-items:center;gap:4px;flex:none;height:24px;padding:0 9px;border-radius:999px;background:var(--surface-2);color:var(--text-2);font-size:11px;font-weight:600;white-space:nowrap}.chart-axis-text{fill:var(--muted);font-size:16px;font-family:var(--font);font-variant-numeric:tabular-nums}.chart-value-text{fill:var(--text-2);font-size:15px;font-weight:650;font-family:var(--font);font-variant-numeric:tabular-nums}.chart-card .bar{fill:var(--brand);opacity:.38;transition:opacity .14s var(--ease)}.chart-card .bar:hover{opacity:.72}.chart-card .bar-today{fill:var(--brand);opacity:.95}.chart-card .bar-today:hover{opacity:1}.chart-empty-hint{display:grid;place-items:center;min-height:118px;font-size:12px;color:var(--muted);border:1px dashed var(--border);border-radius:var(--r-md);background:var(--surface-2)}.stats-empty-banner{display:flex;align-items:center;gap:14px;padding:16px 18px;margin-bottom:16px}.stats-empty-banner svg{width:76px;height:auto;flex:none}.stats-empty-title{font-size:13px;font-weight:650;color:var(--text-2)}.stats-empty-desc{margin-top:2px;font-size:11.5px;color:var(--muted);line-height:1.6}.stats-error{display:flex;align-items:center;gap:12px;padding:22px 18px;color:var(--red)}.stats-error-title{font-size:13.5px;font-weight:600;color:var(--text)}.stats-error-desc{font-size:12px;color:var(--muted);margin-top:2px}.donut-wrap{display:flex;align-items:center;gap:18px;min-width:0}.donut{position:relative;flex:none}.donut-center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.donut-total{font-size:24px;font-weight:700;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}.donut-label{font-size:10.5px;color:var(--muted)}.donut-legend{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px}.legend-item{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-2);min-width:0}.legend-dot{width:8px;height:8px;border-radius:3px;flex:none}.legend-value{flex:none;font-size:11.5px;font-weight:650;color:var(--text);font-variant-numeric:tabular-nums}.list-dist{display:flex;flex-direction:column;gap:13px;padding-top:2px}.list-dist-row{display:flex;flex-direction:column;gap:6px;min-width:0}.list-dist-head{display:flex;align-items:center;gap:7px;min-width:0}.list-dist-name{font-size:12.5px;color:var(--text)}.list-dist-nums{flex:none;font-size:11px;color:var(--text-2);white-space:nowrap;font-variant-numeric:tabular-nums}.list-dist-open{font-weight:600}.list-dist-track{height:8px;border-radius:999px;background:var(--surface-3);overflow:hidden}.list-dist-fill{display:block;height:100%;border-radius:999px;opacity:.85;transition:width .5s var(--ease)}.habit-heat-grid{display:grid;grid-template-columns:repeat(var(--heat-cols, 14),minmax(0,1fr));grid-auto-rows:30px;gap:6px;max-width:820px}.habit-heat-cell{display:block;height:30px;border-radius:6px;background:var(--surface-3);transition:background .15s var(--ease),transform .12s var(--ease)}.habit-heat-cell:hover{transform:scale(1.06)}.habit-heat-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px;font-size:11.5px;color:var(--text-2)}.habit-heat-foot strong{font-weight:700;color:var(--text)}.settings-version{align-self:center;font-size:11.5px;color:var(--muted);white-space:nowrap}.settings-mobile-only{display:none}.settings-profile{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:12px}.settings-profile-name{font-size:15px;font-weight:650;color:var(--text)}.settings-profile-mail{margin-top:2px;font-size:12px;color:var(--muted)}.settings-quick-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.settings-quick-link{display:flex;flex-direction:column;align-items:center;gap:7px;padding:13px 8px 11px;border-radius:var(--r-lg);border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-1);font-size:12.5px;font-weight:600;color:var(--text-2);transition:border-color .14s var(--ease),transform .12s var(--ease)}.settings-quick-link:active{transform:scale(.98)}.settings-quick-link:hover{border-color:var(--border-strong)}.settings-quick-link>.muted{display:none}.sql-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px}.sql-icon.brand{background:var(--brand-soft);color:var(--brand)}.sql-icon.green{background:var(--green-soft);color:var(--green)}.sql-icon.amber{background:color-mix(in srgb,var(--amber) 16%,transparent);color:#b17206}html[data-theme=dark] .sql-icon.amber{color:#ffc857}.settings-card{padding:16px 18px;margin-bottom:14px;min-width:0}.settings-card-head{display:flex;align-items:flex-start;gap:12px;min-width:0}.settings-card-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--surface-2);color:var(--text-2);flex:none}.settings-card-title{font-size:14.5px;font-weight:650;letter-spacing:-.01em;color:var(--text)}.settings-card-desc{margin-top:2px;font-size:12px;color:var(--muted);line-height:1.55}.settings-card-body{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.settings-account{display:flex;align-items:flex-start;gap:16px;min-width:0}.settings-avatar{flex:none;background:linear-gradient(140deg,var(--brand),#8d98ff);color:#fff;font-weight:700}.settings-account-fields{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}.settings-account-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.theme-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.theme-option{position:relative;display:flex;flex-direction:column;gap:8px;padding:8px;border-radius:13px;border:1.5px solid var(--border);background:var(--surface-2);transition:border-color .15s var(--ease),background .15s var(--ease),transform .12s var(--ease)}@media(hover:hover){.theme-option:hover{border-color:var(--border-strong)}}.theme-option.active{border-color:var(--brand);background:var(--brand-soft)}.theme-preview{position:relative;display:flex;height:54px;border-radius:8px;overflow:hidden;border:1px solid var(--border)}.theme-preview .tp-side{width:27%;flex:none}.theme-preview .tp-main{flex:1;display:flex;flex-direction:column;gap:3px;padding:6px 5px;min-width:0}.theme-preview .tp-bar{width:42%;height:4px;border-radius:99px}.theme-preview .tp-card{width:100%;height:8px;border-radius:3px}.theme-preview .tp-card.short{width:62%}.theme-preview .tp-dot{position:absolute;right:5px;bottom:5px;width:6px;height:6px;border-radius:50%;background:#ffb020}.theme-preview-light{background:#edeff6}.theme-preview-light .tp-side{background:#fff;border-right:1px solid #e6e9f2}.theme-preview-light .tp-main{background:#f5f6fa}.theme-preview-light .tp-bar{background:#5b6cff}.theme-preview-light .tp-card{background:#fff;border:1px solid #e2e6f0;box-shadow:0 1px 2px #14192d14}.theme-preview-dark{background:#0f1117;border-color:#272c38}.theme-preview-dark .tp-side{background:#171a22;border-right:1px solid #272c38}.theme-preview-dark .tp-main{background:#0f1117}.theme-preview-dark .tp-bar{background:#7b88ff}.theme-preview-dark .tp-card{background:#1d212b}.theme-preview-system{background:linear-gradient(90deg,#f5f6fa 50%,#0f1117 50%)}.theme-preview-system .tp-side{background:linear-gradient(90deg,#fff 50%,#171a22 50%)}.theme-preview-system .tp-main{background:linear-gradient(90deg,#f5f6fa 50%,#0f1117 50%)}.theme-preview-system .tp-bar{background:linear-gradient(90deg,#5b6cff 50%,#7b88ff 50%)}.theme-preview-system .tp-card{background:#ffffff8c}.theme-option-label{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-size:12px;font-weight:600;color:var(--text-2)}.theme-option.active .theme-option-label{color:var(--brand-ink)}.theme-check{position:absolute;top:5px;right:5px;display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:var(--brand);color:#fff;box-shadow:0 1px 4px #14192d3d}.settings-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.settings-field{display:flex;flex-direction:column;gap:6px;min-width:0}.settings-field-label{font-size:11.5px;font-weight:600;color:var(--muted);white-space:nowrap}.settings-field .select-btn{padding:0 9px;font-size:12.5px;gap:4px}.settings-field .select-btn .chev{width:13px}.settings-row{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--border);min-width:0}.settings-row:first-child{padding-top:0}.settings-row:last-child{border-bottom:0;padding-bottom:0}.settings-row-icon{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--surface-2);color:var(--muted);flex:none}.settings-row-icon.on{background:var(--green-soft);color:var(--green)}.settings-row-main{flex:1;min-width:0}.settings-row-title{font-size:13px;font-weight:600;color:var(--text)}.settings-row-desc{margin-top:1px;font-size:11.5px;color:var(--muted);line-height:1.5}.settings-inline-action{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px}.settings-note{display:flex;align-items:flex-start;gap:6px;margin-top:12px;font-size:11.5px;color:var(--muted);line-height:1.55}.settings-note svg{margin-top:1px;flex:none}.settings-file-input{display:none}.switch{position:relative;flex:none;width:44px;height:26px;border-radius:999px;background:var(--surface-3);border:1px solid var(--border);transition:background .18s var(--ease),border-color .18s var(--ease)}.switch-thumb{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #14192d40;transition:transform .18s var(--ease),width .18s var(--ease)}.switch.on{background:var(--green);border-color:var(--green)}.switch.on .switch-thumb{transform:translate(18px)}.switch:active:not(:disabled) .switch-thumb{width:23px}.switch:disabled{opacity:.5;cursor:not-allowed}.settings-about{display:flex;align-items:center;gap:14px;min-width:0}.settings-about-name{font-size:14.5px;font-weight:650;color:var(--text)}.settings-about-version{margin-left:4px;font-size:11px;font-weight:500;color:var(--muted)}.settings-about-desc{margin-top:2px;font-size:12px;color:var(--muted);line-height:1.55}.settings-stack{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.settings-stack span{padding:2px 8px;border-radius:999px;border:1px solid var(--border);background:var(--surface-2);font-size:10.5px;color:var(--text-2)}.settings-logout{margin-top:6px}.settings-logout-hint{margin-top:10px;text-align:center;font-size:11.5px;color:var(--muted)}@media(min-width:768px){.cal-grid,.cal-skel-row,.cal-weekdays{gap:6px}.cal-cell{min-height:78px;padding:5px 5px 6px}.cal-chip{height:18px}.cal-chip-title{font-size:10.5px}.habits-summary{gap:24px;padding:20px 22px}.habits-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.focus-timer-card{padding:30px 30px 24px}.stats-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card{padding:16px 18px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.stats-chart-full{grid-column:1 / -1}.habit-heat-cell{aspect-ratio:2.1}}@media(min-width:1024px){.cal-layout{grid-template-columns:minmax(0,1fr) 302px;gap:18px}.cal-main{padding:16px 18px 14px}.cal-panel{position:sticky;top:20px}.cal-panel-list{max-height:460px;overflow-y:auto;padding-right:2px}.focus-bottom{grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:18px}.focus-stats-body{flex-direction:column;align-items:flex-start;gap:14px}.fs-nums{gap:10px 18px}.session-del{opacity:.35}.settings-quick-links{max-width:420px}}@media(max-width:767px){.cal-layout{gap:14px}.cal-main{padding:10px 10px 8px}.cal-title{font-size:15px;margin:0 2px}.cal-today-hint{display:none}.cal-cell{min-height:60px;padding:3px 3px 4px;border-radius:8px}.cal-cell-date{font-size:11px;min-width:18px;height:18px}.cal-cell-count{font-size:9px}.cal-chip{height:15px;gap:2px;padding-right:2px}.cal-chip-bar{width:2.5px}.cal-chip-title,.cal-more{font-size:9px}.cal-panel{padding:14px 14px 10px}.cal-panel-list{max-height:none;overflow:visible}.cal-panel-day{font-size:26px}.habits-summary{flex-direction:column;align-items:stretch;gap:14px;padding:16px}.habits-summary .ring{align-self:center}.hs-stats{justify-content:space-between;gap:10px}.hs-stat-value{font-size:20px}.hc-days{gap:4px}.hc-heat{grid-auto-rows:26px;gap:3px}.hc-heat-cell{height:26px;border-radius:5px}.stats-page .habit-heat-grid{grid-template-columns:repeat(7,minmax(0,1fr));grid-auto-rows:26px;gap:5px}.stats-page .habit-heat-cell{height:26px}.hc-day-circle{width:25px;height:25px;font-size:10px}.habit-form .field,.habit-form .input{font-size:16px}.focus-timer-card{padding:18px 14px 16px;border-radius:var(--r-xl)}.focus-time{font-size:44px}.focus-modes{margin-bottom:14px}.focus-modes .segmented{width:100%;justify-content:space-between}.focus-modes .segmented-btn{flex:1;padding:0 6px;font-size:11.5px}.focus-task-select{max-width:100%;margin-top:16px}.focus-controls{width:100%;gap:8px}.focus-controls .btn-lg{height:42px;padding:0 14px;font-size:13.5px;flex:1;min-width:0}.focus-controls .btn-lg.focus-start-btn{flex:1.4;min-width:118px}.focus-bottom{gap:14px}.focus-stats-body{gap:16px}.session-del{opacity:.55}.stat-value{font-size:23px}.stats-page .page-header{flex-wrap:wrap;row-gap:10px}.stats-page .page-subtitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.stats-metrics{gap:10px}.stat-card{padding:13px 14px}.stats-grid{gap:12px}.donut-wrap{gap:14px}.donut-legend{gap:6px}.settings-mobile-only{display:block}.settings-card{padding:14px 15px;border-radius:14px}.settings-account{gap:0}.settings-account>.settings-avatar{display:none}.settings-account-fields .input{font-size:16px}.theme-preview{height:46px}.theme-option-label{font-size:11px}.settings-focus-grid{gap:7px}.settings-field .select-btn{height:36px;font-size:12px;padding:0 8px}.settings-row{gap:10px}.settings-inline-action{align-items:flex-start;flex-direction:column}}@media(max-width:380px){.cal-grid,.cal-weekdays,.cal-skel-row{gap:2px}.cal-cell{padding:2px 2px 3px}.cal-chip-title{font-size:8.5px}.hs-stats{gap:6px}.hs-stat-value{font-size:18px}.focus-controls .btn-lg{padding:0 10px;font-size:12.5px}.stats-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-options{gap:7px}.theme-option{padding:6px}}
