:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;color-scheme:light;--bg: #f3f5f7;--surface: #ffffff;--surface-soft: #edf1f5;--surface-hover: #f7f9fb;--text: #18222d;--muted: #5f6d7d;--line: #dde3e9;--input-line: #8995a4;--control-outline: #7f8d9e;--accent: #1467d6;--accent-fill: #1467d6;--accent-hover: #1059bd;--accent-text: #125fca;--accent-soft: #eaf2ff;--danger: #b63545;--danger-soft: #fff0f1;--orange: #94510c;--blue: #1467d6;--success: #226c4d;--success-soft: #edf6f1;--toggle-off: #7d8b9b;--nav-background: #ffffffef;--safe-top: max(env(safe-area-inset-top), var(--tg-content-safe-area-inset-top, 0px));--safe-bottom: max(env(safe-area-inset-bottom), var(--tg-content-safe-area-inset-bottom, 0px));background:var(--bg);color:var(--text)}:root[data-theme=dark]{color-scheme:dark;--bg: #11151b;--surface: #1b242f;--surface-soft: #25313f;--surface-hover: #222e3b;--text: #edf2f8;--muted: #a9b5c5;--line: #354251;--input-line: #708198;--control-outline: #8d9eb2;--accent: #75acff;--accent-text: #8abaff;--accent-soft: #243952;--danger: #ff9aa7;--danger-soft: #412b35;--orange: #efb571;--blue: #8abaff;--success: #87d4ac;--success-soft: #233b34;--toggle-off: #68778b;--nav-background: #1b242ff2}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit;touch-action:manipulation}button{border:0;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.55}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent);outline-offset:2px}input,textarea,select{min-width:0;max-width:100%}input:not([type=checkbox]),textarea,select{width:100%;min-height:48px;padding:11px 13px;border:1px solid var(--input-line);border-radius:10px;background:var(--surface);color:var(--text);line-height:1.5}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}input[type=date],input[type=datetime-local]{min-width:0;font-variant-numeric:tabular-nums}input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent-fill);flex-shrink:0}textarea{resize:vertical;line-height:1.6}select{appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2368788c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}h1,h2,h3,p{margin:0}fieldset{min-width:0;margin:0;padding:0;border:0}legend{margin:0 0 10px;padding:0;font-size:.875rem;font-weight:600}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 17px;border-radius:10px;font-size:.9375rem;font-weight:600;line-height:1.45;transition:background-color .14s,border-color .14s}.primary-button{background:var(--accent-fill);color:#fff}.secondary-button{border:1px solid var(--input-line);background:var(--surface);color:var(--text)}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 0;background:transparent;color:var(--accent-text);font-size:.875rem;font-weight:600;line-height:1.45;text-align:left}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;padding:8px;border-radius:9px;background:transparent;color:var(--muted)}.danger{color:var(--danger)}.full-width{width:100%}.eyebrow{display:block;margin-bottom:7px;color:var(--muted);font-size:.875rem;font-weight:500;line-height:1.45}.app-shell{max-width:1280px;min-height:100vh;margin:0 auto}.desktop-sidebar{position:fixed;top:0;bottom:0;display:flex;flex-direction:column;width:220px;padding:34px 18px 24px;border-right:1px solid var(--line);background:var(--surface)}.brand{display:flex;align-items:center;gap:11px;padding:0 10px}.brand-symbol{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;background:var(--accent-fill);color:#fff}.brand-wordmark,.brand>span:last-child{font-size:1.5rem;font-weight:650;line-height:1.25;letter-spacing:-.055em}.brand-caption,.sidebar-caption{margin:12px 10px 33px;color:var(--muted);font-size:.875rem;line-height:1.5}.brand-dot,.heading-dot{display:none}.desktop-sidebar nav{display:grid;gap:4px}.desktop-sidebar nav button{display:flex;align-items:center;gap:11px;min-height:46px;padding:10px 12px;border-radius:9px;background:transparent;color:var(--muted);font-size:.9375rem;font-weight:500;text-align:left}.desktop-sidebar nav .nav-active{background:var(--accent-soft);color:var(--accent-text);font-weight:600}.sidebar-footer{display:flex;align-items:center;gap:10px;margin-top:auto;padding:18px 8px 0;border-top:1px solid var(--line)}.avatar{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--surface-soft);color:var(--text);font-size:.875rem;font-weight:600}.sidebar-footer strong{display:block;font-size:.875rem;font-weight:600}.sidebar-footer div>span{display:block;margin-top:3px;color:var(--muted);font-size:.875rem;line-height:1.4}.main-content{position:relative;width:calc(100% - 220px);max-width:920px;margin-left:220px;padding:44px 46px 135px}.page-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.page-header>div{min-width:0}.page-header h1{font-size:2rem;font-weight:650;line-height:1.2;letter-spacing:-.04em}.page-header .eyebrow{text-transform:capitalize}.page-subtitle{margin-top:8px;color:var(--muted);font-size:.9375rem;line-height:1.5}.mobile-avatar,.bottom-nav{display:none}.today-summary{display:grid;grid-template-columns:1fr auto;align-items:center;gap:13px 20px;margin-bottom:27px;padding:20px 22px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.today-summary-primary{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;min-width:0}.today-summary-count{color:var(--text);font-size:1.875rem;font-weight:600;line-height:1;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.today-summary-label{color:var(--muted);font-size:.9375rem;line-height:1.45}.today-summary-label strong{display:block;color:var(--text);font-weight:550}.today-summary-completed{display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:.875rem;line-height:1.5}.today-summary-completed svg,.today-summary-completed strong{color:var(--accent-text)}.today-summary-completed strong{font-weight:600}.today-summary-note{display:block;margin-top:3px;color:var(--muted);font-size:.875rem;line-height:1.5}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:9px}.list-toolbar>span{display:flex;align-items:center;gap:8px}.list-total,.pill{display:inline-flex;align-items:center;justify-content:center;min-width:23px;padding:1px 6px;border-radius:5px;background:var(--surface-soft);color:var(--muted);font-size:.875rem;font-weight:500;font-variant-numeric:tabular-nums}.sort-control select{min-height:44px;border:0;padding:9px 25px 9px 0;background-color:transparent;background-position:right 0 center;color:var(--muted);font-size:.875rem}.task-group{margin-top:22px}.group-heading{display:flex;align-items:center;gap:8px;margin:0 0 9px 2px}.group-heading h2{color:var(--muted);font-size:.875rem;font-weight:600;line-height:1.45}.group-heading>span{color:var(--muted);font-size:.875rem;line-height:1.45}.group-heading h2.overdue,.overdue{color:var(--danger)}.task-list{overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.task-card{display:flex;align-items:flex-start;gap:7px;min-width:0;padding:9px 13px 9px 8px;border-bottom:1px solid var(--line);background:var(--surface);transition:background-color .14s}.task-card:last-child{border-bottom:0}.task-check{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px;padding:0;border-radius:50%;background:transparent;color:#fff}.task-check-indicator{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:1.6px solid var(--control-outline);border-radius:50%;color:#fff;transition:border-color .14s,background-color .14s}.task-check[data-priority=P1] .task-check-indicator{border-color:var(--danger)}.task-check[data-priority=P2] .task-check-indicator{border-color:var(--orange)}.task-check.checked .task-check-indicator{border-color:var(--accent-fill);background:var(--accent-fill)}.task-check-spinner{width:18px;height:18px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.task-content{display:block;flex:1;min-width:0;min-height:44px;padding:8px 0 9px;background:transparent;text-align:left}.task-title{display:block;margin-bottom:6px;overflow-wrap:anywhere;color:var(--text);font-size:1rem;font-weight:550;line-height:1.45}.is-completed .task-title{color:var(--muted);text-decoration:line-through;text-decoration-thickness:1px}.task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;color:var(--muted);font-size:.875rem;line-height:1.5}.task-meta>span,.metadata-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%}.task-meta svg{flex-shrink:0}.priority{font-weight:500}.priority-P1{color:var(--danger)}.priority-P2{color:var(--orange)}.priority-P3{color:var(--blue)}.priority-P4{color:var(--muted)}.task-progress{display:block;width:72px;height:3px;margin-top:10px;overflow:hidden;border-radius:2px;background:var(--line)}.task-progress>span{display:block;height:100%;border-radius:inherit;background:var(--accent-fill)}.add-task-button{position:fixed;right:max(30px,calc((100vw - 1280px)/2 + 34px));bottom:28px;z-index:10;display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:12px 20px;border-radius:12px;background:var(--accent-fill);color:#fff;font-size:.9375rem;font-weight:600}.empty-state{display:flex;flex-direction:column;align-items:center;padding:48px 18px 52px;text-align:center}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;margin-bottom:17px;border-radius:16px;background:var(--surface-soft);color:var(--muted)}.empty-state h2{margin-bottom:8px;font-size:1.125rem;font-weight:600;line-height:1.4;letter-spacing:-.02em}.empty-state p{max-width:300px;margin-bottom:20px;color:var(--muted);font-size:.9375rem;line-height:1.6}.view-tabs{display:flex;gap:22px;margin-bottom:18px;border-bottom:1px solid var(--line)}.view-tabs button{min-height:46px;margin-bottom:-1px;padding:9px 0 12px;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:.9375rem;font-weight:500}.view-tabs .selected{border-bottom-color:var(--accent);color:var(--accent-text);font-weight:600}.search-row{display:flex;align-items:center;gap:10px;margin-bottom:18px}.search-box{display:flex;align-items:center;flex:1;gap:10px;min-width:0;padding:0 13px;border:1px solid var(--input-line);border-radius:10px;background:var(--surface);color:var(--muted)}.search-box input{min-width:0;min-height:46px;padding:10px 0;border:0;background:transparent;font-size:.9375rem}.filter-toggle{flex-shrink:0}.filter-toggle.selected{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-text)}.filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.filter-grid .field{margin-bottom:0}.filter-grid .text-button{justify-content:flex-start}.date-controls{display:flex;align-items:center;gap:8px}.date-picker{display:flex;align-items:center;flex:1;gap:8px;min-width:0;padding:0 11px;border:1px solid var(--input-line);border-radius:10px;background:var(--surface);color:var(--muted)}.date-picker input{min-height:46px;padding:9px 0;border:0;background:transparent;font-size:.875rem}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));gap:7px;margin:20px 0 12px;padding-bottom:2px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.week-strip button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:74px;padding:10px 0 12px;border:1px solid var(--input-line);border-radius:11px;background:var(--surface)}.week-strip button>span{color:var(--muted);font-size:.875rem;line-height:1.2;text-transform:capitalize}.week-strip button strong{font-size:1.0625rem;font-weight:600;line-height:1.2;font-variant-numeric:tabular-nums}.week-strip .selected{border-color:var(--accent-fill);background:var(--accent-fill);color:#fff}.week-strip .selected>span{color:#fff}.week-strip i{position:absolute;bottom:5px;width:4px;height:4px;border-radius:50%;background:var(--accent)}.week-strip .selected i{background:#fff}.plan-completed{margin-bottom:14px;color:var(--muted)}.pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding:24px 0;color:var(--muted);font-size:.875rem}.field{display:flex;flex-direction:column;gap:8px;min-width:0;margin-bottom:18px;font-size:.875rem;font-weight:600;line-height:1.4}.field>label{display:flex;flex-direction:column;gap:8px}.field-hint{color:var(--muted);font-size:.875rem;font-weight:400;line-height:1.5}.field-error,.error-message{color:var(--danger);font-size:.875rem;font-weight:500;line-height:1.55}.error-message{margin:14px 0;padding:12px 14px;border-radius:9px;background:var(--danger-soft)}.counter{margin-top:-3px;text-align:right;font-variant-numeric:tabular-nums}.section-heading{display:flex;align-items:center;gap:9px;margin-bottom:17px}.section-heading>svg{flex-shrink:0;color:var(--muted)}.section-heading h2,.section-heading h3{font-size:1rem;font-weight:600;line-height:1.45}.section-heading>.field-hint,.section-heading>.pill{margin-left:auto}.checkbox-label{display:flex;align-items:center;gap:9px;min-height:44px;font-size:.875rem;font-weight:500;line-height:1.5}.checkbox-target{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:44px;min-height:44px}.settings-card{margin-bottom:16px;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.settings-card>h2{margin-bottom:12px;font-size:1rem;font-weight:600;line-height:1.45}.settings-card>p{margin-bottom:13px;color:var(--muted);font-size:.875rem;line-height:1.6}.settings-card>.field:last-child{margin-bottom:0}.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:10px;background:var(--surface-soft)}.segmented button{min-height:44px;padding:9px 5px;border-radius:7px;background:transparent;color:var(--muted);font-size:.875rem;font-weight:500}.segmented .selected{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 4px #13213510}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;margin-bottom:12px}.switch-row strong{display:block;font-size:1rem;font-weight:550;line-height:1.4}.switch-row .field-hint{display:block;margin-top:4px}.switch-row input{position:relative;flex-shrink:0;appearance:none;width:46px;height:28px;margin:0;border:0;border-radius:14px;background:var(--toggle-off);cursor:pointer;transition:background-color .14s}.switch-row input:after{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;content:"";transition:transform .14s}.switch-row input:checked{background:var(--accent-fill)}.switch-row input:checked:after{transform:translate(18px)}.switch-row input:disabled{cursor:default;opacity:.65}.settings-save{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 30px}.notification-status{margin:15px 0;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--text);font-size:.875rem;line-height:1.55;overflow-wrap:anywhere}.notification-status[data-tone=success]{border-color:transparent;background:var(--success-soft);color:var(--success)}.notification-status[data-tone=warning]{border-color:var(--orange);color:var(--orange)}.notification-status[data-tone=error]{border-color:transparent;background:var(--danger-soft);color:var(--danger)}.notification-status-title{display:flex;align-items:center;gap:8px;margin-bottom:5px;font-weight:600}.notification-status-title svg{flex-shrink:0}.notification-feedback{margin:12px 0;color:var(--accent-text);font-size:.875rem;line-height:1.55;overflow-wrap:anywhere}.notification-feedback[data-tone=success]{color:var(--success)}.notification-feedback[data-tone=warning]{color:var(--orange)}.notification-feedback[data-tone=error]{color:var(--danger)}.inline-notice{margin-bottom:16px;padding:12px 14px;border-left:3px solid var(--accent);border-radius:0 8px 8px 0;background:var(--accent-soft);color:var(--accent-text)!important;font-size:.875rem;font-weight:400;line-height:1.55;overflow-wrap:anywhere}.app-version{padding:14px 0 5px;color:var(--muted);font-size:.875rem;line-height:1.5;text-align:center}.danger-zone{margin-top:24px}.modal-backdrop{position:fixed;inset:0 0 auto;z-index:50;display:flex;align-items:center;justify-content:center;height:var(--app-viewport-height, var(--tg-viewport-stable-height, 100dvh));padding:24px 20px;overflow:hidden;overscroll-behavior:contain;background:#0b142866}.task-editor{display:flex;flex-direction:column;width:100%;max-width:600px;height:100%;max-height:900px;min-height:0;overflow:hidden;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 24px 80px #07132638}.editor-header{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:15px;padding:21px 24px 18px;border-bottom:1px solid var(--line)}.editor-header .eyebrow{margin-bottom:4px;font-size:.875rem}.editor-header h2{font-size:1.3125rem;font-weight:600;line-height:1.3;letter-spacing:-.025em}.editor-form{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden}.editor-scroll{flex:1 1 auto;min-height:0;padding:23px 24px;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y pinch-zoom}.editor-form .title-input{font-size:1.0625rem;font-weight:500}.description-toggle{justify-content:flex-start;margin:-3px 0 17px}.description-field{margin-bottom:22px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.priority-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:22px}.priority-field>legend{margin-bottom:9px;font-size:.875rem;font-weight:600;line-height:1.4}.priority-option{display:flex;align-items:center;gap:8px;min-height:44px;padding:10px 12px;border:1px solid var(--input-line);border-radius:9px;background:var(--surface);font-size:.875rem;font-weight:500;line-height:1.45}.priority-option svg{flex-shrink:0}.priority-option.selected{border-color:currentColor;background:var(--surface-soft);font-weight:600}.form-section{margin-top:3px;padding:21px 0 8px;border-top:1px solid var(--line)}.subtask-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-bottom:9px}.subtask-row>input:not([type=checkbox]){flex:1;min-width:100px;font-size:.9375rem}.subtask-actions{display:flex;align-items:center}.subtask-actions .icon-button{min-width:44px}.reminder-editor{margin-bottom:13px;padding:14px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}.reminder-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:-5px -5px 7px 0}.reminder-editor .field{margin-bottom:13px}.schedule-preview{margin:9px 0 4px;color:var(--accent-text);font-size:.875rem;font-weight:500;line-height:1.55;overflow-wrap:anywhere}.task-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:19px 0 2px;border-top:1px solid var(--line)}.task-actions>.text-button{text-align:center}.editor-footer{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:16px;padding:16px 24px calc(16px + var(--safe-bottom));border-top:1px solid var(--line);background:var(--surface)}.editor-footer>span{max-width:180px}.editor-footer .primary-button{flex-shrink:0}.task-editor.reminder-time-dialog{max-height:min(560px,100%)}.reminder-task-title{margin-bottom:9px;color:var(--text);font-size:1rem;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.reminder-time-description{margin-bottom:22px}.conflict-panel{margin:14px 0;padding:15px;border:1px solid var(--accent);border-radius:10px;background:var(--accent-soft)}.conflict-panel strong{font-size:.9375rem;font-weight:600}.conflict-panel p{margin:8px 0 13px;color:var(--muted);font-size:.875rem;line-height:1.55}.access-page,.welcome-page{width:100%;max-width:460px;min-height:100vh;margin:0 auto;padding:calc(54px + var(--safe-top)) 24px calc(35px + var(--safe-bottom))}.access-page{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center}.access-page>.brand-symbol,.welcome-page>.brand-symbol{width:52px;height:52px;margin-bottom:20px;border-radius:15px}.access-page .eyebrow{margin-bottom:-7px;color:var(--text);font-weight:600;letter-spacing:.09em}.access-page h1,.welcome-page h1{font-size:1.875rem;font-weight:600;line-height:1.2;letter-spacing:-.035em}.access-page>p{max-width:340px;color:var(--muted);font-size:1rem;line-height:1.6}.welcome-page .eyebrow{margin-bottom:12px;color:var(--text);font-weight:600;letter-spacing:.09em}.welcome-description{margin:16px 0 27px;color:var(--muted);font-size:1rem;line-height:1.6}.welcome-page .settings-card{margin-bottom:23px}.welcome-skip{width:100%;margin:8px 0 2px}.welcome-page>.field-hint{text-align:center}.loader{width:24px;height:24px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.loading-label{color:var(--muted)}.network-error{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:14px 0;padding:17px;border-radius:10px;background:var(--danger-soft);color:var(--danger)}.network-error p{flex:1;min-width:150px;font-size:.875rem;line-height:1.55}.offline-banner,.dev-banner{margin-bottom:18px;padding:10px 12px;border-radius:8px;background:var(--accent-soft);color:var(--accent-text);font-size:.875rem;line-height:1.5}.offline-banner{display:flex;align-items:center;gap:9px;background:var(--danger-soft);color:var(--danger)}.skeleton-list{overflow:hidden;margin-top:15px;border:1px solid var(--line);border-radius:14px}.skeleton-card{padding:21px 23px;border-bottom:1px solid var(--line);background:var(--surface)}.skeleton-card:last-child{border-bottom:0}.skeleton-card span{display:block;width:65%;height:12px;margin-bottom:12px;border-radius:3px;background:var(--surface-soft);animation:pulse 1.6s infinite}.skeleton-card span+span{width:40%;margin-bottom:0}.toast{position:fixed;bottom:28px;left:50%;z-index:45;display:flex;align-items:center;justify-content:space-between;gap:14px;width:max-content;max-width:min(480px,calc(100% - 32px));padding:10px 15px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--text);box-shadow:0 6px 24px #0b1a2924;font-size:.875rem;line-height:1.5;transform:translate(-50%)}.toast>span{min-width:0;overflow-wrap:anywhere}.toast button{flex-shrink:0;min-height:44px;padding:5px 3px;background:transparent;color:var(--accent-text);font-size:.875rem;font-weight:600}@media(hover:hover){.primary-button:not(:disabled):hover,.add-task-button:hover{background:var(--accent-hover)}.secondary-button:not(:disabled):hover{border-color:var(--accent);background:var(--surface-hover)}.icon-button:not(:disabled):hover,.task-card:hover{background:var(--surface-hover)}.desktop-sidebar nav button:not(.nav-active):hover{background:var(--surface-soft);color:var(--text)}.text-button:not(:disabled):hover{text-decoration:underline;text-underline-offset:3px}}@media(max-width:800px){.desktop-sidebar{display:none}.main-content{width:100%;max-width:640px;margin:0 auto;padding:calc(28px + var(--safe-top)) 22px calc(190px + var(--safe-bottom))}.page-header{margin-bottom:23px}.mobile-avatar{display:inline-flex;width:44px;height:44px}.bottom-nav{position:fixed;right:0;bottom:0;left:0;z-index:20;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:7px max(10px,calc((100vw - 640px)/2)) calc(8px + var(--safe-bottom));border-top:1px solid var(--line);background:var(--nav-background);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:52px;padding:4px 0;border-radius:8px;background:transparent;color:var(--muted)}.bottom-nav button span{font-size:.875rem;font-weight:500;line-height:1.3;white-space:nowrap}.bottom-nav .nav-active{color:var(--accent-text)}.bottom-nav .nav-active span{font-weight:600}.add-task-button{right:max(22px,calc((100vw - 640px)/2 + 22px));bottom:calc(82px + var(--safe-bottom));left:max(22px,calc((100vw - 640px)/2 + 22px));min-height:50px;border-radius:11px}.toast{bottom:calc(146px + var(--safe-bottom))}.modal-backdrop{padding:16px}}@media(max-width:480px){.main-content{padding:calc(24px + var(--safe-top)) 16px calc(185px + var(--safe-bottom))}.page-header h1{font-size:1.875rem}.today-summary{gap:13px 10px;margin-bottom:24px;padding:18px;border-radius:12px}.today-summary-count{font-size:1.75rem}.today-summary-completed{flex-wrap:wrap;justify-content:flex-end;max-width:132px;gap:4px 6px;text-align:right}.task-list{border-radius:12px}.task-card{gap:3px;padding:7px 13px 7px 4px}.task-content{padding-top:9px}.task-meta{gap:5px 10px}.view-tabs{gap:20px}.search-row{gap:8px}.filter-toggle{padding:11px}.filter-toggle span{display:none}.filter-grid{gap:14px 12px;padding:15px}.date-controls{flex-wrap:wrap;gap:7px}.date-controls .secondary-button{padding-right:12px;padding-left:12px}.date-picker{flex:1 1 135px}.week-strip{gap:5px;margin-top:18px}.week-strip button{min-height:70px;border-radius:9px}.week-strip button>span{font-size:.875rem}.settings-card{padding:20px 18px;border-radius:12px}.settings-save{flex-direction:column;align-items:stretch;gap:9px;margin:20px 0 26px}.settings-save .primary-button{width:100%}.add-task-button{right:16px;left:16px}.modal-backdrop{padding:0}.task-editor{max-width:none;max-height:100%;min-height:0;border:0;border-radius:0}.editor-header{padding:calc(17px + var(--safe-top)) 18px 15px}.editor-scroll{padding:20px 18px}.editor-footer{gap:12px;padding:14px 18px calc(14px + var(--safe-bottom))}.editor-footer>span{max-width:135px}.editor-footer .primary-button{padding-right:14px;padding-left:14px}.form-grid{grid-template-columns:1fr;gap:0}.subtask-row>input:not([type=checkbox]){min-width:150px}.subtask-actions{margin-left:auto}.welcome-page{padding-top:calc(36px + var(--safe-top))}}@media(max-width:350px){.main-content{padding-right:13px;padding-left:13px}.today-summary{grid-template-columns:1fr}.today-summary-completed{justify-content:flex-start;max-width:none;text-align:left}.view-tabs{gap:15px}.view-tabs button{font-size:.875rem}.bottom-nav{gap:0;padding-right:2px;padding-left:2px}.bottom-nav button span{font-size:.875rem;letter-spacing:-.035em}.editor-footer{flex-wrap:wrap}.editor-footer>span{flex:1 1 100%;max-width:none}.editor-footer .primary-button{width:100%}.priority-option{gap:6px;padding-right:8px;padding-left:8px}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.45}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.time-tracker{padding-bottom:23px}.time-tracker-hint{margin:0}.time-tracker-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}.time-tracker-panel.is-running{border-color:var(--accent);background:var(--accent-soft)}.time-tracker-reading{display:flex;flex-direction:column;min-width:0;gap:6px}.time-tracker-label{color:var(--muted);font-size:.875rem;line-height:1.45}.time-tracker-total{font-size:1.375rem;font-weight:600;line-height:1.35;font-variant-numeric:tabular-nums}.time-tracker-clock{color:var(--accent-text);font-size:1.875rem;font-weight:600;line-height:1.25;letter-spacing:-.02em;font-variant-numeric:tabular-nums}.time-tracker-panel>button{flex-shrink:0}.time-tracker-stop{border-color:var(--accent);color:var(--accent-text)}.time-tracker-confirmation{display:flex;align-items:flex-start;gap:7px;margin:12px 0 0;color:var(--success);font-size:.875rem;line-height:1.5}.time-tracker-confirmation>svg{flex-shrink:0;margin-top:2px}.time-history-heading{display:flex;align-items:center;gap:8px;margin:20px 0 4px}.time-history-heading h4{margin:0;font-size:.875rem;font-weight:600;line-height:1.5}.time-history{margin:0;padding:0;list-style:none}.time-history li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:.875rem;line-height:1.5}.time-history li:last-child{border-bottom:0}.time-history-details{display:flex;flex-direction:column;min-width:0;gap:3px}.time-history-details time{color:var(--muted)}.time-history li>strong{max-width:15ch;font-weight:600;text-align:right;font-variant-numeric:tabular-nums}.time-history-toggle{justify-content:flex-start;margin-top:4px}.active-timer-bar{display:flex;align-items:center;gap:12px;margin:0 0 24px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--accent-soft)}.active-timer-bar>svg{flex-shrink:0;color:var(--accent-text)}.active-timer-open{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;min-width:0;min-height:44px;gap:3px;padding:0;background:transparent;text-align:left}.active-timer-open>span{color:var(--muted);font-size:.875rem;line-height:1.4}.active-timer-open>strong{display:block;overflow:hidden;width:100%;font-size:1rem;font-weight:600;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.active-timer-clock{flex-shrink:0;color:var(--accent-text);font-size:1rem;font-weight:600;font-variant-numeric:tabular-nums}.active-timer-stop{flex-shrink:0;min-height:44px;color:var(--accent-text)}.task-tracked-time{color:var(--muted);font-variant-numeric:tabular-nums}.task-tracked-time.is-running{color:var(--accent-text);font-weight:500}@media(max-width:480px){.time-tracker-panel{flex-wrap:wrap;gap:16px}.time-tracker-panel>button{width:100%}.active-timer-bar{flex-wrap:wrap;gap:10px}.active-timer-stop{flex-basis:100%;width:100%}}
