:root{--bg:#f6f8f9;--surface-1:#fff;--surface-2:#f4f6f8;--surface-3:#dfe3e8;--surface-hover:#919eab14;--border:#919eab33;--border-strong:#919eab52;--divider-dashed:#919eab3d;--text-main:#1c252e;--text-muted:#637381;--text-dim:#919eab;--accent:#00a76f;--accent-light:#5be49b;--accent-lighter:#c8fad6;--accent-dim:#00a76f14;--accent-soft:#00a76f29;--accent-soft-hover:#00a76f52;--accent-dark:#007867;--accent-darker:#004b50;--accent-shadow:0 8px 16px 0 #00a76f3d;--focus:#ffab00;--focus-dim:#ffab0029;--focus-soft:#ffab003d;--success:#22c55e;--success-dim:#22c55e24;--danger:#ff5630;--danger-dim:#ff56301f;--info:#00b8d9;--info-dim:#00b8d91f;--now-line:#ff5630;--focus-dark:#b76e00;--focus-darker:#7a4100;--danger-dark:#b71d18;--info-dark:#006c9c;--on-accent:#fff;--on-focus:#1c252e;--shadow-sm:0 1px 2px 0 #919eab29;--shadow-md:0 0 2px 0 #919eab33, 0 12px 24px -4px #919eab1f;--shadow-lg:0 24px 48px 0 #919eab29;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:20px;--gap-xs:4px;--gap-sm:8px;--gap-md:12px;--gap-lg:16px;--gap-xl:24px;--font-xs:12px;--font-sm:14px;--font-md:16px;--font-lg:18px;--font-xl:20px;--font-2xl:24px;--font-sans:"Public Sans", "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "PingFang SC", sans-serif;--font-display:Barlow, "Public Sans", "Microsoft YaHei UI", "PingFang SC", sans-serif;--layout-nav-vertical-width:300px;--layout-nav-mobile-width:288px;--layout-header-mobile-height:88px;--layout-header-desktop-height:96px;--layout-header-blur:8px;--layout-dashboard-content-pt:12px;--layout-dashboard-content-pb:16px;--layout-dashboard-content-px:20px;--layout-nav-zIndex:1101;--layout-header-zIndex:1100;--bottom-nav-zIndex:1200;--layout-nav-bg:#fff;--layout-nav-border-color:#919eab1f;--layout-transition-easing:linear;--layout-transition-duration:.12s;--nav-item-root-height:44px;--nav-item-radius:8px;--nav-icon-size:24px;--topbar-h:var(--layout-header-desktop-height);--panel-p:24px;--ease-out:cubic-bezier(.4, 0, .2, 1);--ease-spring:cubic-bezier(.4, 0, .2, 1)}*{box-sizing:border-box}html,body,#root{background:var(--bg);width:100%;min-width:100%;max-width:none;height:100%;min-height:100%;color:var(--text-main);font-size:16px;line-height:1.5;font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;padding:0;overflow:hidden}#root{flex-direction:column;flex:auto;width:100%;min-width:100%;min-height:100dvh;display:flex}button{font:inherit;color:inherit;cursor:pointer;text-transform:none;background:0 0;border:none}input,textarea,select{font:inherit;color:inherit;background:0 0;border:none;outline:none}::placeholder{color:var(--text-dim)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#919eab5c;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#919eab85}.tabular{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.task-panel{flex-direction:column;flex:auto;height:100%;min-height:0;display:flex}.task-panel-header{flex-shrink:0;align-items:flex-start}.task-progress-meta{flex-direction:column;flex-shrink:0;align-items:flex-end;gap:4px;display:flex}.task-progress-caption{white-space:nowrap}.task-progress-value{color:var(--accent);font-family:var(--font-display);font-size:24px;font-weight:800;line-height:1}.task-progress-caption{color:var(--text-muted);font-size:12px;font-weight:700}.task-panel-header .card-header-copy{flex-wrap:wrap;flex:auto;align-items:center;gap:8px 14px;min-width:0;display:flex}.task-project-filter{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.task-filter-chip{height:26px;color:var(--text-muted);background:var(--surface-2);transition:color .12s var(--ease-out), background .12s var(--ease-out), border-color .12s var(--ease-out);border:1px solid #0000;border-radius:999px;align-items:center;gap:6px;padding:0 11px;font-size:12px;font-weight:700;display:inline-flex}.task-filter-chip:not(.all):before{content:"";background:var(--chip-accent,var(--accent));border-radius:50%;width:8px;height:8px}.task-filter-chip:hover{background:var(--surface-3)}.task-filter-chip.active{color:var(--text-main);border-color:color-mix(in srgb, var(--chip-accent,var(--accent)) 55%, transparent);background:color-mix(in srgb, var(--chip-accent,var(--accent)) 14%, var(--surface-1))}.task-progress-bar{background:var(--surface-2);border-radius:4px;flex-shrink:0;height:6px;margin:0 24px 8px;overflow:hidden}.task-progress-fill{border-radius:inherit;background:var(--accent);height:100%;transition:width .25s var(--ease-out)}.task-list{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:auto}.task-list>*+* .task-row{border-top:1px dashed var(--divider-dashed)}.task-row{background:var(--surface-1);min-height:96px;transition:background .16s var(--ease-out);content-visibility:auto;contain-intrinsic-size:auto 96px;align-items:flex-start;gap:12px;padding:18px 20px 18px 12px;display:flex}.task-row:hover{background:var(--surface-hover)}.task-row.completed{opacity:.68}.task-row.completed .task-title{color:var(--text-dim);text-decoration:line-through}.task-drag-handle,.task-check,.task-action{width:36px;height:36px;color:var(--text-dim);border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.task-drag-handle{width:28px;height:36px;color:var(--text-dim);cursor:grab}.task-drag-handle:hover{color:var(--text-muted);background:var(--surface-2)}.task-drag-handle:active{cursor:grabbing}.task-check{width:36px;height:36px;color:var(--text-dim);justify-content:center;align-items:center;display:flex}.task-check:hover{color:var(--success);transform:scale(1.06)}.task-row.completed .task-check{color:var(--success)}.task-main{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.task-title-row{align-items:flex-start;gap:10px;min-width:0;display:flex}.task-title{color:var(--text-main);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:19px;font-weight:600;line-height:1.4;display:-webkit-box;overflow:hidden}.task-priority{background:var(--surface-2);border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;margin-top:1px;display:inline-flex}.task-meta{color:var(--text-muted);flex-wrap:wrap;align-items:center;gap:12px;font-size:15px;font-weight:600;display:flex}.task-project{align-items:center;gap:7px;font-weight:700;display:inline-flex}.task-project-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.task-actions{align-items:center;gap:8px;display:flex}.task-action{min-width:36px;height:36px;color:var(--text-muted);gap:6px;padding:0 8px}.task-action:hover{color:var(--text-main);background:var(--surface-2)}.task-action-focus{width:36px;color:var(--focus-darker);background:var(--focus-dim);padding:0}.task-action-focus:hover{color:var(--focus-darker);background:var(--focus-soft)}.task-empty{border:1px dashed var(--border-strong);min-height:280px;color:var(--text-dim);background:var(--surface-2);text-align:center;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;margin:12px 20px 20px;padding:32px 20px;display:flex}.task-empty p,.task-empty span{margin:0}.task-empty p{color:var(--text-main);font-size:16px;font-weight:600}.task-empty span{max-width:280px;font-size:14px;line-height:1.5}.task-due,.task-pomos{color:var(--text-main);font-family:var(--font-display);white-space:nowrap;align-items:center;gap:5px;font-size:15px;font-weight:700;display:inline-flex}.task-due.overdue{color:var(--danger)}.task-due.today{color:var(--focus-dark)}.task-due.soon,.task-due.later{color:var(--text-muted)}.task-composer{border-top:1px dashed var(--divider-dashed);background:var(--surface-1);flex-direction:column;flex-shrink:0;gap:12px;padding:14px 20px 16px;display:flex}.task-composer-title{border:1px solid var(--border);min-height:48px;color:var(--accent);background:var(--surface-2);border-radius:8px;align-items:center;gap:10px;padding:0 12px;display:flex}.task-composer-title:focus-within{border-color:var(--text-main);background:var(--surface-1)}.task-composer-title input{min-width:0;color:var(--text-main);flex:1;font-size:15px}.task-composer-fields,.task-composer-actions{display:none}.task-composer.expanded .task-composer-fields{display:grid}.task-composer.expanded .task-composer-actions{display:flex}.task-composer-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.task-composer-fields label{min-width:0;color:var(--text-muted);flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.task-composer-fields label span{align-items:center;gap:6px;display:inline-flex}.task-composer-fields select,.task-composer-fields input{border:1px solid var(--border);width:100%;min-width:0;height:42px;color:var(--text-main);background:var(--surface-2);border-radius:8px;padding:0 10px;font-size:14px;font-weight:500}.task-composer-fields select:focus,.task-composer-fields input:focus{border-color:var(--text-main);background:var(--surface-1)}.task-composer-actions{justify-content:flex-end}.task-composer.compact .task-composer-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.draggable-task-chip{max-width:280px;color:var(--text-main);background:var(--surface-1);box-shadow:var(--shadow-md);cursor:grabbing;border-radius:12px;align-items:center;gap:8px;padding:10px 12px;font-size:14px;display:inline-flex}.draggable-task-chip .chip-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.draggable-task-chip .chip-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}@media (width<=900px){.task-composer-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.task-row{contain-intrinsic-size:auto 88px;gap:10px;min-height:0;padding:16px 12px}.task-drag-handle{display:none}.task-check{width:32px;height:32px}.task-title{font-size:18px;line-height:1.35}.task-meta{gap:8px;font-size:14px}.task-due,.task-pomos{gap:4px;font-size:14px}.task-due svg,.task-pomos svg,.task-project-dot{width:14px;height:14px}.task-priority{width:22px;height:22px}.task-actions{gap:2px}.task-action{min-width:36px;padding:0}}@media (width<=380px){.task-row{padding:16px 8px}.task-meta{gap:5px}.task-due,.task-pomos{gap:3px}}@media (width<=560px){.task-project-filter{scrollbar-width:none;flex-wrap:nowrap;overflow-x:auto}.task-filter-chip{flex-shrink:0}.task-composer-fields{grid-template-columns:1fr}}.schedule-panel{flex-direction:column;flex:auto;height:100%;min-height:0;display:flex;position:relative}.schedule-header{align-items:flex-start;gap:var(--gap-md);border-bottom:1px solid var(--border);padding:16px 20px 14px}.schedule-title-nav{align-items:center;min-width:0;display:flex}.schedule-heading-row{flex-wrap:wrap;align-items:baseline;gap:10px;display:flex}.schedule-subrange{color:var(--text-muted);font-size:14px;font-weight:600}.schedule-legend{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;display:flex}.schedule-legend-item{height:24px;color:var(--text-muted);background:var(--surface-2);transition:opacity .12s var(--ease-out), background .12s var(--ease-out);border-radius:999px;align-items:center;gap:6px;padding:0 9px;font-size:12px;font-weight:700;display:inline-flex}.schedule-legend-item:before{content:"";background:var(--event-accent,var(--accent));border-radius:50%;width:8px;height:8px}.schedule-legend-item:hover{background:var(--surface-3)}.schedule-legend-item.muted{opacity:.42;text-decoration:line-through}.schedule-legend-reset{color:var(--accent-dark);padding:0 4px;font-size:12px;font-weight:700}.schedule-header-actions,.schedule-week-nav{align-items:center;gap:var(--gap-sm);display:flex}.schedule-header-actions{flex-wrap:wrap;flex-shrink:0}.schedule-tool-group{background:var(--surface-2);border-radius:8px;align-items:center;gap:4px;padding:2px;display:inline-flex}.schedule-tool-group .icon-btn{border-radius:6px;width:32px;height:32px}.schedule-add-btn{align-items:center;gap:6px;min-height:36px;margin-left:4px;padding:0 14px;font-weight:700;display:inline-flex;position:relative}.schedule-add-btn:before{content:"";background:var(--border);width:1px;position:absolute;top:6px;bottom:6px;left:-8px}.weekend-toggle{color:var(--text-dim)}.weekend-toggle.active,.schedule-tasks-btn.active{color:var(--accent);background:var(--accent-soft)}.schedule-edit-toggle.active{color:var(--focus);background:var(--focus-dim)}.schedule-layout-toggle{background:var(--surface-2);border-radius:8px;align-items:center;padding:3px;display:inline-flex}.schedule-layout-toggle button{min-width:36px;height:30px;color:var(--text-muted);background:0 0;border:0;border-radius:6px;padding:0 10px;font-size:13px;font-weight:700}.schedule-layout-toggle button.active{color:var(--text-main);background:var(--surface-1);box-shadow:var(--shadow-sm)}.schedule-body{overscroll-behavior:contain;background:var(--surface-1);flex:auto;min-height:0;padding:0;overflow:auto}.schedule-grid{--hour-height:72px;--header-height:64px;--time-col-width:64px;--grid-line:#919eab29;--grid-line-soft:#919eab33;--grid-line-strong:#919eab47;width:100%;min-width:0;display:grid;position:relative}.schedule-grid.dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.schedule-time-column{background:var(--surface-2);border-right:1px solid var(--grid-line-strong);flex-direction:column;display:flex}.schedule-time-spacer,.schedule-day-header{z-index:3;height:var(--header-height);border-bottom:1px solid var(--grid-line-strong);background:var(--surface-2);position:sticky;top:0}.schedule-grid.headless .schedule-time-spacer,.schedule-grid.headless .schedule-day-header{display:none}.schedule-day-header{background:color-mix(in srgb, var(--surface-2) 55%, var(--surface-1))}.schedule-time-cell{height:var(--hour-height);color:var(--text-dim);font-family:var(--font-display);justify-content:flex-end;align-items:flex-start;padding-right:10px;font-size:12px;font-weight:600;display:flex;transform:translateY(-7px)}.schedule-time-cell.first{transform:translateY(2px)}.schedule-day-column{border-left:1px solid var(--grid-line);flex-direction:column;min-width:0;display:flex;position:relative}.schedule-day-column:last-child{border-right:1px solid var(--grid-line)}.schedule-day-header{flex-direction:row;justify-content:center;align-items:center;gap:8px;display:flex}.schedule-day-header.compact{flex-direction:column;gap:0}.schedule-day-header.compact .schedule-day-date{width:24px;height:24px;font-size:14px}.schedule-day-name{color:var(--text-muted);letter-spacing:.02em;white-space:nowrap;font-size:13px;font-weight:700}.schedule-day-header.compact .schedule-day-name{letter-spacing:0;font-size:11px}.schedule-day-column.today .schedule-day-name{color:var(--accent-dark)}.schedule-day-date{width:32px;height:32px;color:var(--text-main);font-family:var(--font-display);border-radius:50%;justify-content:center;align-items:center;font-size:19px;font-weight:800;display:inline-flex}.schedule-day-date.today{color:var(--on-accent);background:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.schedule-day-cells{flex:1;position:relative}.schedule-day-cells.editable{cursor:cell}.schedule-day-column.today .schedule-day-cells{background:#919eab14}.schedule-day-column.today .schedule-day-header{background:color-mix(in srgb, var(--surface-2) 85%, var(--surface-1));box-shadow:inset 0 -2px 0 var(--accent)}.schedule-hour-cell{height:var(--hour-height);border-bottom:1px solid var(--grid-line);pointer-events:none;position:relative}.schedule-hour-cell:after{content:"";border-top:1px dotted var(--grid-line-soft);position:absolute;top:50%;left:0;right:0}.schedule-day-column.weekend .schedule-day-cells{background:#919eab0b}.schedule-day-column.weekend.today .schedule-day-cells{background:#919eab1a}.schedule-hour-cell:last-child{border-bottom:none}.schedule-day-cells:hover .schedule-hour-cell{border-bottom-color:var(--grid-line)}.current-time-line{pointer-events:none;z-index:2;grid-area:1/2/auto/-1;align-items:center;display:flex;position:absolute;left:0;right:0}.current-time-bar{background:var(--now-line);opacity:.7;width:100%;height:2px}.current-time-dot{background:var(--now-line);border-radius:50%;width:8px;height:8px;margin-left:-4px;position:absolute;box-shadow:0 0 0 3px #ff563029}.schedule-event{--event-accent:var(--accent);--event-ink:color-mix(in srgb, var(--event-accent) 48%, #000);box-sizing:border-box;border:1px solid color-mix(in srgb, var(--event-accent) 26%, transparent);background:color-mix(in srgb, var(--event-accent) 24%, var(--surface-1));cursor:pointer;touch-action:none;z-index:1;transition:box-shadow .12s var(--ease-out), background .12s var(--ease-out);border-radius:8px;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:6px;padding:5px 10px;display:flex;position:absolute;overflow:hidden}.schedule-event:hover{z-index:4;background:color-mix(in srgb, var(--event-accent) 34%, var(--surface-1));border-color:color-mix(in srgb, var(--event-accent) 48%, transparent);box-shadow:var(--shadow-md)}.schedule-event.editable{cursor:grab}.schedule-event.ghosted{opacity:.32}.schedule-event.completed{opacity:.5}.schedule-event.completed .schedule-event-title{color:var(--text-muted);text-decoration:line-through}.schedule-event-copy{pointer-events:none;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.schedule-event-title{min-width:0;color:var(--event-ink);letter-spacing:-.01em;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:14px;font-weight:700;line-height:1.3;display:-webkit-box;overflow:hidden}.schedule-event-time{color:var(--event-ink);opacity:.76;font-family:var(--font-display);letter-spacing:-.01em;white-space:nowrap;align-items:center;gap:5px;font-size:12px;font-weight:700;line-height:1.2;display:flex;overflow:hidden}.schedule-event-time span{opacity:.6}.schedule-event-repeat{flex-shrink:0}.schedule-event-actions{flex-shrink:0;align-items:flex-start;gap:2px;display:flex}.schedule-event-action{width:20px;height:20px;color:var(--text-muted);opacity:0;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;display:flex}.schedule-event:hover .schedule-event-action,.schedule-event-action:focus-visible{opacity:1}.schedule-event-action:hover{color:var(--text-main);background:#ffffffbf}.schedule-event-resize{cursor:ns-resize;touch-action:none;height:7px;position:absolute;bottom:0;left:0;right:0}.schedule-event-resize:after{content:"";background:var(--event-accent);opacity:0;border-radius:2px;width:24px;height:2px;position:absolute;bottom:2px;left:50%;transform:translate(-50%)}.schedule-event:hover .schedule-event-resize:after{opacity:.5}.schedule-event.compact{align-items:center;padding:4px 10px}.schedule-event.compact .schedule-event-copy{flex-direction:row;align-items:baseline;gap:8px}.schedule-event.compact .schedule-event-title{-webkit-line-clamp:1;flex:auto}.schedule-event.compact .schedule-event-time{flex:none}.schedule-event.compact .schedule-event-actions{display:none}.schedule-event.dense{padding:2px 8px}.schedule-event.dense .schedule-event-copy{gap:6px}.schedule-event.dense .schedule-event-title{font-size:12.5px;line-height:1.15}.schedule-event.dense .schedule-event-time{gap:4px;font-size:11px}.schedule-event.tiny .schedule-event-title{font-size:11.5px}.schedule-event.narrow{border-radius:5px;gap:0;padding:2px 3px}.schedule-event.narrow .schedule-event-time,.schedule-event.narrow .schedule-event-actions{display:none}.schedule-event.narrow .schedule-event-title{letter-spacing:-.02em;-webkit-line-clamp:3;font-size:11px;line-height:1.15}.schedule-event.sliver .schedule-event-title{display:none}.schedule-drag-preview{border:1px dashed var(--accent);background:var(--accent-soft);color:var(--accent-dark);font-family:var(--font-display);pointer-events:none;z-index:5;border-radius:6px;align-items:flex-start;padding:4px 8px;font-size:12px;font-weight:700;display:flex;position:absolute;left:3px;right:3px}.schedule-dialog-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1200;background:#1c252e52;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.schedule-dialog{border-radius:var(--radius-lg);background:var(--surface-1);width:min(520px,100%);max-height:100%;box-shadow:var(--shadow-lg);flex-direction:column;gap:14px;padding:20px;display:flex;overflow:auto}.schedule-dialog-head{justify-content:space-between;align-items:center;display:flex}.schedule-dialog-heading{color:var(--text-main);font-size:17px;font-weight:800}.schedule-dialog-title input{border:1px solid var(--border);width:100%;height:46px;color:var(--text-main);background:var(--surface-2);border-radius:8px;padding:0 12px;font-size:16px;font-weight:600}.schedule-dialog-title input:focus{border-color:var(--accent);background:var(--surface-1)}.schedule-dialog-projects{flex-wrap:wrap;gap:6px;display:flex}.schedule-project-chip{border:1px solid var(--border);height:30px;color:var(--text-muted);background:var(--surface-1);border-radius:999px;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}.schedule-project-chip:before{content:"";background:var(--event-accent,var(--accent));border-radius:50%;width:8px;height:8px}.schedule-project-chip.active{color:var(--text-main);border-color:var(--event-accent);background:color-mix(in srgb, var(--event-accent) 16%, var(--surface-1))}.schedule-dialog-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.schedule-dialog-fields label,.schedule-dialog-duration{min-width:0;color:var(--text-muted);flex-direction:column;gap:6px;font-size:12px;font-weight:700;display:flex}.schedule-dialog-fields input{border:1px solid var(--border);width:100%;min-width:0;height:40px;color:var(--text-main);background:var(--surface-2);border-radius:8px;padding:0 10px;font-size:14px}.schedule-dialog-fields input:focus{border-color:var(--accent);background:var(--surface-1)}.schedule-dialog-duration strong{height:40px;color:var(--text-main);font-family:var(--font-display);align-items:center;font-size:15px;font-weight:800;display:flex}.schedule-dialog-toggles{flex-wrap:wrap;gap:8px;display:flex}.schedule-repeat-toggle{border:1px solid var(--border);min-height:36px;color:var(--text-muted);background:var(--surface-2);cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:8px;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex;position:relative}.schedule-repeat-toggle input{opacity:0;pointer-events:none;position:absolute}.schedule-repeat-toggle.active{color:var(--accent-dark);background:var(--accent-soft);border-color:#0000}.schedule-dialog-hint{color:var(--text-dim);margin:-6px 0 0;font-size:12px}.schedule-dialog-actions{justify-content:space-between;align-items:center;gap:10px;margin-top:2px;display:flex}.schedule-dialog-actions-right{align-items:center;gap:8px;margin-left:auto;display:flex}.schedule-dialog-delete{height:36px;color:var(--danger);background:var(--danger-dim);border-radius:8px;align-items:center;gap:6px;padding:0 12px;font-size:13px;font-weight:700;display:inline-flex}@media (width<=1100px){.schedule-dialog-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.schedule-header{flex-direction:column;align-items:stretch}.schedule-header-actions{justify-content:space-between;width:100%}}@media (width<=760px){.schedule-header{gap:8px;padding:10px 12px}.schedule-header-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px 4px}.schedule-week-nav{gap:0}.schedule-legend-item{height:28px;padding:0 10px}.schedule-header-actions .icon-btn,.schedule-tool-group .icon-btn{width:32px;height:32px}.schedule-tool-group{gap:2px;padding:2px}.schedule-layout-toggle button{min-width:32px;height:32px;padding:0 8px}.schedule-header-actions .ghost-btn{white-space:nowrap;flex-shrink:0;min-height:32px}.schedule-add-btn{flex-shrink:0;justify-content:center;width:36px;min-height:36px;margin-left:2px;padding:0}.schedule-add-label,.schedule-add-btn:before{display:none}.schedule-week-nav,.schedule-layout-toggle,.schedule-tool-group{flex-shrink:0}.schedule-day-date{width:28px;height:28px;font-size:16px}}@media (width<=600px){.schedule-grid{--time-col-width:48px}.schedule-time-cell{padding-right:6px;font-size:11px}.schedule-dialog{padding:16px}}.schedule-summary{flex-direction:column;height:100%;min-height:0;display:flex}.schedule-summary-header{align-items:flex-start}.summary-link{color:var(--accent);white-space:nowrap;align-items:center;gap:4px;padding:6px 0;font-size:14px;font-weight:700;display:inline-flex}.summary-link:hover{color:var(--accent-dark)}.schedule-summary-body{flex:1;min-height:0;padding:16px 16px 20px;overflow:auto}.agenda-groups{flex-direction:column;gap:18px;display:flex}.agenda-group-label{color:var(--text-muted);margin:0 4px 10px;font-size:13px;font-weight:700}.agenda-list{flex-direction:column;gap:8px;display:flex}.agenda-item{background:var(--surface-2);border-radius:10px;grid-template-columns:minmax(76px,auto) minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0;padding:12px 14px;display:grid}.agenda-time{color:var(--text-muted);flex-direction:column;gap:2px;font-size:12px;font-weight:700;display:flex}.agenda-time .tabular{color:var(--text-main);font-family:var(--font-display);letter-spacing:-.04em;font-size:22px;font-weight:800;line-height:1.1}.agenda-event-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.agenda-event-title{min-width:0;color:var(--text-main);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:8px;font-size:15px;font-weight:600;line-height:1.4;display:flex;overflow:hidden}.agenda-event-repeat{color:var(--accent-dark);background:var(--accent-soft);border-radius:999px;flex-shrink:0;align-items:center;gap:3px;padding:1px 6px;font-size:11px;font-weight:700;display:inline-flex}.agenda-event-duration{color:var(--text-dim);font-size:12px;font-weight:600}.agenda-event-type,.agenda-event-action{color:var(--text-dim);background:var(--surface-1);border-radius:8px;padding:6px 10px;font-size:12px;font-weight:700}.agenda-event-type.task{color:var(--accent);background:var(--accent-dim)}.agenda-event-action{color:var(--focus-darker);background:var(--focus-dim);align-items:center;gap:5px;display:inline-flex}.agenda-event-action:hover{background:var(--focus-soft)}.schedule-summary-empty{border:1px dashed var(--border-strong);min-height:240px;color:var(--text-dim);background:var(--surface-2);text-align:center;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:28px 16px;display:flex}.schedule-summary-empty svg{color:var(--accent)}.schedule-summary-empty p{color:var(--text-main);margin:0;font-size:16px;font-weight:600}.schedule-summary-empty span{max-width:220px;font-size:14px;line-height:1.5}.timer-page{grid-template-columns:minmax(0,1fr) 320px;align-items:stretch;gap:16px;min-width:0;display:grid}.timer-page>.timer-topbar,.timer-page>.timer-settings-panel,.timer-page>.timer-transition-notice{grid-column:1/-1}.timer-topbar{justify-content:space-between;align-items:flex-start;gap:16px;padding:0 4px;display:flex}.timer-header-actions{align-items:center;gap:var(--gap-sm);display:flex}.timer-profile-select,.timer-task-select{border:1px solid var(--border);min-width:128px;height:36px;color:var(--text-main);background:var(--surface-2);cursor:pointer;border-radius:8px;outline:none;padding:0 12px;font-size:14px}.timer-profile-select:focus,.timer-task-select:focus{border-color:var(--text-main);background:var(--surface-1)}.timer-task-select{width:100%;min-width:0;height:54px;font-size:15px}.timer-settings-toggle{border:1px solid var(--border);height:36px;color:var(--text-muted);background:var(--surface-1);border-radius:8px;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:700;display:inline-flex}.timer-settings-toggle:hover,.timer-settings-toggle.active{color:var(--text-main);background:var(--surface-2)}.timer-back-button{height:36px;color:var(--on-accent);background:var(--accent);border-radius:8px;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:700;display:inline-flex}.timer-back-button:hover{background:var(--accent-dark)}.timer-settings-panel{flex-direction:column;gap:16px;padding:24px;display:flex}.timer-settings-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.timer-settings-heading>div{flex-direction:column;gap:4px;display:flex}.timer-settings-heading strong{color:var(--text-main);font-size:16px}.timer-settings-heading span,.timer-settings-hint{color:var(--text-dim);font-size:14px}.timer-settings-hint{white-space:nowrap}.timer-settings-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.timer-setting-field{color:var(--text-muted);flex-direction:column;gap:8px;font-size:14px;font-weight:700;display:flex}.timer-number-input{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;align-items:center;gap:6px;height:54px;padding:0 10px;display:flex}.timer-number-input input{width:100%;min-width:0;color:var(--text-main);font-size:15px;font-weight:700}.timer-number-input em{color:var(--text-dim);white-space:nowrap;font-size:14px;font-style:normal}.timer-alert-settings{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.timer-alert-toggle,.timer-alert-preview{border:1px solid var(--border);min-height:36px;color:var(--text-muted);background:var(--surface-1);border-radius:8px;align-items:center;gap:8px;padding:0 12px;font-size:14px;font-weight:700;display:inline-flex}.timer-alert-toggle input{accent-color:var(--accent)}.timer-alert-toggle.active,.timer-alert-preview:hover{color:var(--text-main);background:var(--surface-2)}.timer-alert-preview{margin-left:auto}.timer-transition-notice{border-radius:var(--radius-lg);color:var(--text-main);background:var(--accent-dim);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.timer-transition-notice>div{flex-direction:column;gap:4px;min-width:0;display:flex}.timer-transition-notice strong{font-size:16px}.timer-transition-notice span{color:var(--text-muted);font-size:14px}.timer-transition-notice button{color:var(--accent);flex-shrink:0;font-size:14px;font-weight:700}.timer-stage{justify-content:center;align-items:center;min-width:0;padding:clamp(24px,4vh,48px) 24px;display:flex}.timer-side{flex-direction:column;gap:16px;min-width:0;display:flex}.timer-focus-area{flex-direction:column;align-items:center;width:100%;max-width:none;display:flex}.timer-ring-wrapper{width:clamp(240px,28vw,380px);height:clamp(240px,28vw,380px);position:relative}.timer-ring{width:100%;height:100%;transform:rotate(-90deg)}.timer-ring-bg{fill:none;stroke:var(--surface-3);stroke-width:5px}.timer-ring-progress{fill:none;stroke:var(--ring-color,var(--focus));stroke-width:5px;stroke-dasharray:339.292;stroke-dashoffset:calc(339.292 * (1 - var(--ring-progress,0)));transition:stroke-dashoffset 1s linear, stroke .3s var(--ease-out)}.timer-center{flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex;position:absolute;inset:0}.timer-remaining{color:var(--ring-color,var(--focus));font-family:var(--font-display);letter-spacing:-.06em;font-size:clamp(64px,8vw,112px);font-weight:800;line-height:.95}.timer-phase{color:var(--text-muted);font-size:16px;font-weight:700}.timer-steps{gap:8px;display:flex}.timer-step{color:var(--text-dim);background:var(--surface-2);border-radius:8px;padding:5px 10px;font-size:12px;font-weight:700}.timer-step.active{color:var(--accent-dark);background:var(--accent-soft)}.timer-focus-note{max-width:520px;color:var(--text-muted);text-align:center;text-overflow:ellipsis;white-space:nowrap;margin-top:18px;font-size:14px;font-weight:600;overflow:hidden}.timer-controls{flex-wrap:wrap;justify-content:center;gap:10px;width:100%;margin-top:18px;display:flex}.timer-btn{border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:0 12px;font-size:14px;font-weight:700;display:inline-flex}.timer-btn.primary{min-width:180px}.timer-btn.primary.tone-primary{color:var(--on-accent);background:var(--accent)}.timer-btn.primary.tone-warning{color:var(--on-focus);background:var(--focus)}.timer-btn.primary.tone-primary:hover:not(:disabled){background:var(--accent-dark)}.timer-btn.primary.tone-warning:hover:not(:disabled){background:var(--focus-dark);color:var(--on-accent)}.timer-btn.ghost{border:1px solid var(--border);color:var(--text-muted);background:var(--surface-1)}.timer-btn.ghost:hover:not(:disabled){color:var(--text-main);background:var(--surface-2)}.timer-btn:disabled{opacity:.4;cursor:not-allowed}.timer-context,.timer-stats-card{flex-direction:column;gap:12px;min-height:0;padding:20px;display:flex}.timer-picker{scrollbar-width:thin;scrollbar-color:#919eab66 transparent;flex-direction:column;gap:4px;max-height:320px;margin:0;padding:0 6px 0 0;list-style:none;display:flex;overflow-y:auto}.timer-picker.scrollable{-webkit-mask-image:linear-gradient(#000 calc(100% - 28px),#0000 100%);mask-image:linear-gradient(#000 calc(100% - 28px),#0000 100%)}.timer-picker-row{width:100%;color:var(--text-main);text-align:left;background:0 0;border-radius:10px;align-items:center;gap:10px;padding:9px 10px;display:flex}.timer-picker-row:hover:not(:disabled){background:var(--surface-hover)}.timer-picker-row.selected{background:var(--accent-dim)}.timer-picker-row:disabled{cursor:not-allowed;opacity:.5}.timer-picker-mark{color:var(--text-dim);flex-shrink:0;display:inline-flex}.timer-picker-row.selected .timer-picker-mark{color:var(--accent)}.timer-picker-copy{flex-direction:column;flex:auto;gap:2px;min-width:0;display:flex}.timer-picker-title{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;line-height:1.4;overflow:hidden}.timer-picker-meta{color:var(--text-dim);align-items:center;gap:5px;font-size:12px;display:inline-flex}.timer-picker-meta em{border-radius:50%;width:6px;height:6px}.timer-picker-count{color:var(--text-dim);flex-shrink:0;font-size:12px;font-weight:700}.timer-picker-empty{color:var(--text-dim);margin:0;font-size:13px;line-height:1.5}.timer-context-block{flex-direction:column;gap:10px;display:flex}.timer-context-label{color:var(--text-dim);letter-spacing:.08em;text-transform:uppercase;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;font-weight:700;display:flex}.timer-context-label em{color:var(--text-dim);letter-spacing:0;font-size:12px;font-style:normal;font-weight:600}.timer-task-select:disabled{cursor:not-allowed;opacity:.75}.timer-task-card{color:var(--accent);background:var(--surface-2);border-radius:12px;align-items:flex-start;gap:10px;padding:14px;display:flex}.timer-task-info{flex-direction:column;gap:4px;min-width:0;display:flex}.timer-task-title{color:var(--text-main);text-overflow:ellipsis;font-size:14px;font-weight:600;line-height:1.4;overflow:hidden}.timer-task-project{font-size:13px;font-weight:700}.timer-stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.timer-stat{text-align:center;background:var(--surface-2);border-radius:12px;padding:12px 8px}.timer-stat-value{color:var(--text-main);font-family:var(--font-display);font-size:26px;font-weight:800}.timer-stat-label{color:var(--text-dim);margin-top:4px;font-size:12px;line-height:1.3}@media (width<=900px){.timer-settings-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}.timer-page{grid-template-columns:minmax(0,1fr)}.timer-side{flex-direction:row;align-items:stretch}.timer-side>.card{flex:1 1 0}}@media (width<=560px){.timer-topbar{flex-direction:column;align-items:stretch;gap:10px;padding:0}.timer-settings-panel{padding:20px 16px}.timer-side{flex-direction:column}.timer-side>.card{flex:none}.timer-settings-heading{flex-direction:column;gap:6px}.timer-settings-hint{white-space:normal}.timer-settings-grid{grid-template-columns:1fr 1fr}.timer-transition-notice{align-items:flex-start}.timer-header-actions{flex-wrap:wrap;gap:8px}.timer-profile-select{flex:84px;min-width:0}.timer-settings-toggle{flex:none;padding:0 10px}.timer-back-button{display:none}.timer-stage{padding:24px 14px}.timer-controls{grid-template-columns:1fr 1fr;display:grid}.timer-btn.primary{grid-column:1/-1;width:100%}}.overview-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:24px;display:flex}.overview-header-copy h1{color:var(--text-main);font-family:var(--font-display);margin:0;font-size:28px;font-weight:700;line-height:1.3}.overview-header-copy p{color:var(--text-muted);font-size:var(--font-sm);margin:6px 0 0;line-height:1.571}.overview-header-actions{align-items:center;gap:10px;display:flex}.overview-header-action{gap:8px}.widget-summary{align-items:flex-start;padding:20px 20px 20px 24px;display:flex;position:relative}.widget-summary-copy{flex:auto;min-width:0}.widget-summary-total{color:var(--text-main);font-family:var(--font-display);font-size:32px;font-weight:700;line-height:1.2}.widget-summary-title{color:var(--text-main);font-size:var(--font-sm);margin-top:6px;font-weight:600;line-height:1.571}.widget-summary-caption{color:var(--text-muted);font-size:var(--font-xs);line-height:1.6}.widget-summary-icon{z-index:1;width:40px;height:40px;color:var(--on-accent);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;position:relative}.widget-summary-blob{z-index:0;border-radius:var(--radius-md);opacity:.12;pointer-events:none;width:160px;height:160px;position:absolute;top:-44px;right:-104px;transform:rotate(40deg)}.widget-summary.tone-primary .widget-summary-icon{background:linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%)}.widget-summary.tone-primary .widget-summary-blob{background:linear-gradient(to right, var(--accent), transparent)}.widget-summary.tone-info .widget-summary-icon{background:linear-gradient(135deg, var(--info) 0%, var(--info-dark) 100%)}.widget-summary.tone-info .widget-summary-blob{background:linear-gradient(to right, var(--info), transparent)}.widget-summary.tone-warning .widget-summary-icon{background:linear-gradient(135deg, var(--focus) 0%, var(--focus-dark) 100%)}.widget-summary.tone-warning .widget-summary-blob{background:linear-gradient(to right, var(--focus), transparent)}.widget-summary.tone-danger .widget-summary-icon{background:linear-gradient(135deg, var(--danger) 0%, var(--danger-dark) 100%)}.widget-summary.tone-danger .widget-summary-blob{background:linear-gradient(to right, var(--danger), transparent)}.overview-progress-body{flex-direction:column;align-items:center;padding:16px 24px 24px;display:flex}.overview-donut{width:180px;height:180px;position:relative}.overview-donut svg{width:100%;height:100%;transform:rotate(-90deg)}.overview-donut circle{fill:none;stroke-linecap:butt}.overview-donut-track{stroke:var(--surface-3)}.overview-donut-center{flex-direction:column;justify-content:center;align-items:center;gap:2px;display:flex;position:absolute;inset:0}.overview-donut-center strong{color:var(--text-main);font-family:var(--font-display);font-size:28px;font-weight:700;line-height:1.2}.overview-donut-center span{color:var(--text-muted);font-size:var(--font-xs)}.overview-legend{border-top:1px dashed var(--divider-dashed);flex-direction:column;gap:10px;width:100%;margin:20px 0 0;padding:16px 0 0;list-style:none;display:flex}.overview-legend li{align-items:center;gap:8px;display:flex}.overview-legend-dot{border-radius:50%;flex-shrink:0;width:10px;height:10px}.overview-legend-label{color:var(--text-muted);font-size:var(--font-sm);flex:auto}.overview-legend-value{color:var(--text-main);font-size:var(--font-sm);font-weight:700}.overview-timeline-body{padding-top:16px}.overview-timeline-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.overview-timeline-item{grid-template-columns:52px 28px minmax(0,1fr);align-items:center;gap:8px;min-height:44px;display:grid;position:relative}.overview-timeline-item:before{content:"";background:var(--border);width:1px;height:calc(100% + 4px);position:absolute;top:50%;left:72px}.overview-timeline-item:last-child:before{display:none}.overview-timeline-time{color:var(--text-muted);font-size:var(--font-xs);font-weight:600}.overview-timeline-marker{z-index:1;width:26px;height:26px;color:var(--info);background:var(--info-dim);border-radius:50%;justify-content:center;align-items:center;display:inline-flex;position:relative}.overview-timeline-item.kind-task .overview-timeline-marker{color:var(--accent);background:var(--accent-dim)}.overview-timeline-item.overdue .overview-timeline-marker{color:var(--danger);background:var(--danger-dim)}.overview-timeline-copy{flex-direction:column;min-width:0;display:flex}.overview-timeline-title{color:var(--text-main);font-size:var(--font-sm);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.overview-timeline-detail{color:var(--text-muted);font-size:var(--font-xs)}.overview-timeline-item.overdue .overview-timeline-detail{color:var(--danger)}.overview-upcoming-body{padding-top:16px}.overview-upcoming-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.overview-upcoming-item{border-left:3px solid var(--border);justify-content:space-between;align-items:center;gap:12px;min-height:40px;padding-left:12px;display:flex}.overview-upcoming-item.urgency-today{border-left-color:var(--focus)}.overview-upcoming-item.urgency-soon{border-left-color:var(--info)}.overview-upcoming-item.urgency-overdue{border-left-color:var(--danger)}.overview-upcoming-title{color:var(--text-main);font-size:var(--font-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overview-upcoming-due{color:var(--text-muted);font-size:var(--font-xs);flex-shrink:0}.overview-focus-body{padding-top:16px}.overview-focus-list{flex-direction:column;gap:14px;margin:0;padding:0;list-style:none;display:flex}.overview-focus-head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:6px;display:flex}.overview-focus-title{color:var(--text-main);font-size:var(--font-sm);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overview-focus-value{color:var(--text-muted);font-size:var(--font-xs);flex-shrink:0;font-weight:700}.overview-focus-track{background:var(--surface-2);border-radius:4px;height:8px}.overview-focus-bar{background:linear-gradient(to right, var(--accent-light), var(--accent));border-radius:4px;min-width:4px;height:100%;display:block}.overview-focus-total{color:var(--on-accent);background:linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-darker) 100%);padding:20px 24px}.overview-focus-total-label{font-size:var(--font-sm);opacity:.72;font-weight:600}.overview-focus-total-value{font-family:var(--font-display);align-items:baseline;gap:6px;margin-top:4px;font-size:34px;font-weight:700;line-height:1.2;display:flex}.overview-focus-total-value span{font-size:var(--font-md);opacity:.72;font-weight:600}.overview-focus-total-caption{font-size:var(--font-xs);opacity:.64;margin-top:4px}.overview-empty{color:var(--text-muted);font-size:var(--font-sm);margin:0;padding:12px 0}.overview-timeline .card-header .ghost-btn,.overview-upcoming .card-header .ghost-btn,.overview-focus .card-header .ghost-btn{white-space:nowrap;flex-shrink:0}.workspace-task-card,.workspace-secondary-card{flex-direction:column;min-width:0;min-height:0;display:flex}@media (width<=900px){.overview-header-copy h1{font-size:24px}.overview-progress-body{padding:12px 20px 20px}.overview-donut{width:160px;height:160px}}@media (width<=560px){.overview-header{flex-direction:column;align-items:flex-start;gap:14px}.overview-header-actions{width:100%}.overview-header-action{flex:1 1 0}.widget-summary{padding:16px}.widget-summary-total{font-size:26px}.workspace.view-overview .card-header{padding:16px 16px 0}.workspace.view-overview .card-title{font-size:17px}.workspace.view-overview .card-subheader{font-size:var(--font-xs);margin-top:2px}.workspace.view-overview .card-content{padding:16px}.overview-timeline-item{grid-template-columns:44px 26px minmax(0,1fr)}.overview-timeline-item:before{left:64px}}.workspace{flex:1;gap:16px;width:100%;min-width:0;height:100%;min-height:0;display:grid}.workspace.view-tasks{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);overflow:hidden}.workspace.view-overview{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) 320px;align-items:start;overflow:auto}.overview-main,.overview-side{flex-direction:column;gap:16px;min-width:0;display:flex}.workspace-metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;display:grid}.workspace.view-tasks .workspace-task-card,.workspace.view-tasks .workspace-secondary-card{height:100%;min-height:0}.workspace.view-schedule{grid-template-columns:minmax(0,1fr);height:100%;min-height:0;display:grid;position:relative;overflow:hidden}.workspace.view-schedule .schedule-shell{background:var(--surface-1);flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.schedule-tasks-backdrop{z-index:5;background:#161c2447;border:0;position:absolute;inset:0}.workspace.view-schedule .workspace-task-card{z-index:6;pointer-events:none;width:min(420px,100% - 24px);height:auto;min-height:0;transition:transform .2s var(--ease-out);position:absolute;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 24px))}.workspace.view-schedule .workspace-task-card.open{pointer-events:auto;transform:translate(0)}.workspace.view-timer{min-height:0;display:block;overflow:auto}.workspace-task-card,.workspace-secondary-card{min-width:0;min-height:0}@media (width<=900px){.workspace.view-tasks{grid-template-rows:minmax(220px,1.1fr) minmax(220px,.9fr);grid-template-columns:minmax(0,1fr);overflow:hidden}@media (width<=760px){.workspace.view-tasks{grid-template-rows:minmax(0,2.2fr) minmax(150px,1fr);gap:12px}}.workspace.view-overview{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr)}.workspace.view-tasks .workspace-task-card,.workspace.view-tasks .workspace-secondary-card{height:100%;min-height:0}.workspace.view-schedule{display:grid;overflow:hidden}.workspace.view-schedule .schedule-shell{height:100%;min-height:0}.workspace.view-schedule .workspace-task-card{width:min(360px,100% - 16px);top:8px;bottom:8px;left:8px}}.timer-alert-overlay{z-index:4000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);contain:layout paint;background:#1c252eb8;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.timer-alert-flash{opacity:.18;pointer-events:none;animation:.6s ease-in-out 3 timer-alert-pulse;position:absolute;inset:0}@keyframes timer-alert-pulse{0%,to{opacity:.18}50%{opacity:.62}}.timer-alert-overlay.tone-focus .timer-alert-flash{background:var(--focus)}.timer-alert-overlay.tone-break .timer-alert-flash{background:var(--accent)}@keyframes timer-alert-card-in{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}.timer-alert-card{text-align:center;width:min(100%,440px);color:var(--text-main);background:var(--surface-1);box-shadow:var(--shadow-lg);border-radius:24px;flex-direction:column;align-items:center;gap:12px;padding:36px 32px 28px;animation:.26s cubic-bezier(.2,.9,.3,1) timer-alert-card-in;display:flex;position:relative}@media (prefers-reduced-motion:reduce){.timer-alert-flash,.timer-alert-card{animation:none}}.timer-alert-icon{border-radius:24px;justify-content:center;align-items:center;width:72px;height:72px;display:inline-flex}.timer-alert-overlay.tone-focus .timer-alert-icon{color:var(--on-focus);background:var(--focus)}.timer-alert-overlay.tone-break .timer-alert-icon{color:var(--on-accent);background:var(--accent)}.timer-alert-card h2{font-family:var(--font-display);letter-spacing:-.04em;margin:8px 0 0;font-size:32px;font-weight:800;line-height:1.15}.timer-alert-card p{max-width:28em;color:var(--text-muted);margin:0;font-size:16px;line-height:1.55}.timer-alert-actions{flex-wrap:wrap;justify-content:center;gap:10px;width:100%;margin-top:12px;display:flex}.timer-alert-primary,.timer-alert-secondary{border-radius:12px;min-width:132px;min-height:48px;padding:0 18px;font-size:15px;font-weight:700}.timer-alert-overlay.tone-focus .timer-alert-primary{color:var(--on-focus);background:var(--focus)}.timer-alert-overlay.tone-break .timer-alert-primary{color:var(--on-accent);background:var(--accent)}.timer-alert-secondary{border:1px solid var(--border);color:var(--text-muted);background:var(--surface-1)}.timer-alert-primary:hover,.timer-alert-secondary:hover{filter:brightness(.96)}@media (width<=560px){.timer-alert-card{padding:28px 20px 22px}.timer-alert-card h2{font-size:26px}.timer-alert-primary,.timer-alert-secondary{width:100%}}.sync-dot{min-height:32px;color:var(--text-muted);background:var(--surface-2);border-radius:999px;align-items:center;padding:0 10px;font-size:12px;font-weight:700;display:inline-flex}.sync-dot.syncing{color:var(--accent-dark);background:var(--accent-soft)}.sync-dot.offline,.sync-dot.local{color:var(--text-dim)}.sync-dot.error{color:var(--danger-dark);background:var(--danger-dim)}.sync-login,.sync-account{flex-direction:column;gap:10px;padding:16px;display:flex}.sync-login-title{font-size:14px;font-weight:700}.sync-login input{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;min-height:44px;padding:0 12px}.sync-server-row{gap:8px;display:flex}.sync-server-row input{flex:auto;min-width:0}.sync-test-btn{flex:none;min-height:44px;padding:0 14px;font-weight:700}.sync-login-error{color:var(--danger);margin:0;font-size:13px}.sync-login-ok{color:var(--accent-dark);margin:0;font-size:13px;font-weight:600}.sync-login-hint,.sync-account p{color:var(--text-dim);margin:0;font-size:12px}.notify-check{border-top:1px solid var(--border);flex-direction:column;gap:10px;padding:16px;display:flex}.notify-check-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.notify-check-title{align-items:center;gap:6px;font-size:14px;font-weight:700;display:inline-flex}.notify-check-spin{animation:.8s linear infinite notify-check-rotate}@keyframes notify-check-rotate{to{transform:rotate(360deg)}}.notify-check-note,.notify-check-toast,.notify-check-summary{margin:0;font-size:12px;line-height:1.5}.notify-check-note{color:var(--text-dim)}.notify-check-toast{color:var(--accent-dark);font-weight:600}.notify-check-summary{color:var(--danger);font-weight:600}.notify-check-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.notify-check-row{grid-template-columns:20px minmax(0,1fr) auto;align-items:start;gap:8px;display:grid}.notify-check-icon{color:var(--text-dim);margin-top:1px;display:inline-flex}.notify-check-row.level-ok .notify-check-icon{color:var(--accent)}.notify-check-row.level-warn .notify-check-icon{color:var(--focus)}.notify-check-row.level-bad .notify-check-icon{color:var(--danger)}.notify-check-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.notify-check-label{color:var(--text-main);align-items:baseline;gap:6px;font-size:13px;font-weight:600;display:flex}.notify-check-label em{color:var(--text-muted);font-size:12px;font-style:normal;font-weight:400}.notify-check-row.level-bad .notify-check-label em{color:var(--danger)}.notify-check-hint{color:var(--text-dim);font-size:12px;line-height:1.5}.notify-check-action{white-space:nowrap;flex-shrink:0;min-height:28px;padding:0 8px;font-size:12px}.notify-check-footer{gap:8px;display:flex}.notify-check-footer button{flex:1 1 0}.bottom-nav{display:none}@media (width<=760px){.app-shell{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.layout-header{padding-top:calc(8px + env(safe-area-inset-top))}.bottom-nav{z-index:var(--bottom-nav-zIndex);padding:6px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffeb;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{min-height:48px;color:var(--text-muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;font-size:11px;font-weight:700;display:flex}.bottom-nav button.active{color:var(--accent-dark)}}.language-switch{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-2);flex-shrink:0;gap:2px;padding:3px;display:inline-flex}.language-switch-item{min-width:32px;color:var(--text-muted);font-size:var(--font-xs);border-radius:6px;padding:4px 8px;font-weight:700;line-height:1.4;transition:color .15s,background .15s}.language-switch-item:hover{color:var(--text-main);background:var(--surface-hover)}.language-switch-item.active{color:var(--accent-dark);background:var(--accent-dim)}@media (width<=480px){.language-switch-item{min-width:28px;padding:3px 6px}}.app-shell{background:var(--bg);flex:auto;width:100%;min-width:0;max-width:none;height:100%;min-height:100dvh;display:flex;overflow:hidden}.layout-nav{z-index:var(--layout-nav-zIndex);width:min(var(--layout-nav-vertical-width), 86vw);overscroll-behavior:contain;background:var(--layout-nav-bg);border-right:1px solid var(--layout-nav-border-color);height:100%;transition:transform var(--layout-transition-duration) var(--ease-out);flex-direction:column;display:flex;position:fixed;top:0;left:0;overflow:hidden auto;transform:translate(-100%)}.layout-nav>*{flex-shrink:0}.app-shell.nav-open .layout-nav{box-shadow:var(--shadow-lg);transform:translate(0)}.layout-nav-brand{align-items:center;gap:12px;padding:20px 28px 8px;display:flex}.brand-mark{width:40px;height:40px;color:var(--on-accent);background:var(--accent);box-shadow:var(--accent-shadow);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.brand-icon{width:22px;height:22px}.brand-copy{flex-direction:column;gap:2px;min-width:0;display:flex}.brand-name{color:var(--text-main);font-family:var(--font-display);letter-spacing:-.4px;font-size:20px;font-weight:800;line-height:1.2}.brand-tag{color:var(--text-dim);letter-spacing:.02em;font-size:12px;font-weight:600}.layout-nav-section{flex-direction:column;flex:1 0 auto;gap:4px;padding:24px 16px 16px;display:flex}.nav-subheader{color:var(--text-dim);letter-spacing:.08em;text-transform:uppercase;padding:8px 12px 12px;font-size:11px;font-weight:700}.nav-item{width:100%;min-height:var(--nav-item-root-height);border-radius:var(--nav-item-radius);color:var(--text-muted);text-align:left;align-items:center;gap:12px;padding:4px 8px 4px 12px;font-size:14px;font-weight:500;line-height:22px;display:flex}.nav-item:hover{background:var(--surface-hover)}.nav-item.active{color:var(--accent);background:var(--accent-dim);font-weight:600}.nav-item.active:hover{background:var(--accent-soft)}.nav-item-icon{width:var(--nav-icon-size);height:var(--nav-icon-size);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.nav-item-title{flex:auto;min-width:0}.nav-item-info{min-width:22px;height:22px;color:var(--accent-dark);background:var(--accent-soft);border-radius:6px;justify-content:center;align-items:center;padding:0 6px;font-size:12px;font-weight:700;display:inline-flex}.layout-nav-upgrade{color:var(--on-accent);box-shadow:var(--shadow-md);background:linear-gradient(135deg,#004b50eb 0%,#007867e0 48%,#00a76fdb 100%);border-radius:16px;margin:8px 16px 24px;padding:20px 16px 16px}.layout-nav-upgrade strong{font-size:14px;font-weight:700;display:block}.layout-nav-upgrade p{color:#ffffffb8;margin:6px 0 14px;font-size:13px;line-height:1.5}.layout-nav-upgrade .primary-btn{width:100%;color:var(--accent-dark);background:#fff}.layout-nav-upgrade .primary-btn:hover{box-shadow:var(--accent-shadow);background:#fff}.layout-sidebar-container{flex-direction:column;flex:auto;width:100%;min-width:0;height:100%;min-height:0;display:flex}.layout-header{z-index:var(--layout-header-zIndex);width:100%;min-height:var(--layout-header-desktop-height);height:auto;padding:10px var(--layout-dashboard-content-px);-webkit-backdrop-filter:blur(var(--layout-header-blur));backdrop-filter:blur(var(--layout-header-blur));background:#fffc;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;display:grid;position:sticky;top:0}.layout-header-left,.layout-header-right{align-items:center;gap:12px;min-width:0;display:flex}.layout-header-left{align-items:flex-start;gap:8px}.layout-header-right{justify-content:flex-end;justify-self:end}.menu-btn{width:40px;height:40px;color:var(--text-muted);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;margin-top:2px;display:inline-flex}.menu-btn:hover{color:var(--text-main);background:var(--surface-hover)}.header-date{flex-direction:column;gap:2px;min-width:0;display:flex}.header-date-copy{-moz-column-gap:8px;min-width:0;color:var(--text-main);font-family:var(--font-display);letter-spacing:.01em;flex-wrap:wrap;align-items:baseline;gap:0 8px;margin:0;font-size:clamp(20px,2vw,24px);font-weight:800;line-height:1.2;display:flex}.header-date-dot{color:var(--text-dim);font-weight:700}.header-clock{color:var(--text-main);font-family:var(--font-display);letter-spacing:-.05em;font-size:clamp(36px,4.2vw,48px);font-weight:800;line-height:.92}.header-tabs{background:var(--surface-2);border-radius:12px;flex-shrink:0;justify-self:center;align-items:center;gap:4px;padding:4px;display:inline-flex}.header-tab{min-height:44px;color:var(--text-muted);border-radius:8px;align-items:center;gap:6px;padding:0 14px;font-size:16px;font-weight:700;display:inline-flex}.header-tab:hover{color:var(--text-main);background:var(--surface-1)}.header-tab.active{color:var(--accent-dark);background:var(--surface-1);box-shadow:var(--shadow-sm)}.timer-status{min-height:56px;color:var(--focus-darker);background:var(--focus-dim);border-radius:12px;align-items:center;gap:10px;padding:8px 14px 8px 12px;font-size:16px;font-weight:700;display:inline-flex}.timer-status-copy{flex-direction:column;align-items:flex-start;gap:1px;display:flex}.timer-status-label{color:var(--focus-dark);font-size:13px;font-weight:700}.timer-status-time{font-family:var(--font-display);letter-spacing:-.04em;font-size:28px;font-weight:800;line-height:1}.timer-status:hover{background:var(--focus-soft)}.layout-main{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex}.dashboard-content{width:100%;min-width:0;max-width:none;min-height:0;padding:var(--layout-dashboard-content-pt) var(--layout-dashboard-content-px) var(--layout-dashboard-content-pb);flex-direction:column;flex:auto;display:flex;overflow:hidden}.app-shell.view-schedule .dashboard-content{padding:8px 12px 12px}.dashboard-content>*{flex:auto;width:100%;min-width:0;min-height:0}.layout-sidebar-container,.layout-main,.dashboard-content{min-height:0;overflow:hidden}.workspace{height:100%;min-height:0}.nav-backdrop{display:none}.app-shell.nav-open .nav-backdrop{z-index:calc(var(--layout-nav-zIndex) - 1);background:#161c247a;display:block;position:fixed;inset:0}.card{z-index:0;border-radius:var(--radius-lg);background:var(--surface-1);box-shadow:var(--shadow-md);position:relative;overflow:hidden}.card-header{flex-shrink:0;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 24px 0;display:flex}.card-header-copy{min-width:0}.card-title{color:var(--text-main);font-size:22px;font-weight:700;line-height:1.35}.card-subheader{color:var(--text-muted);margin-top:6px;font-size:15px;font-weight:400;line-height:1.5}.card-content{padding:24px}.icon-btn{width:36px;height:36px;color:var(--text-muted);background:0 0;border-radius:8px;justify-content:center;align-items:center;display:inline-flex}.icon-btn:hover{color:var(--text-main);background:var(--surface-hover)}.ghost-btn{border:1px solid var(--border);min-height:36px;color:var(--text-muted);background:var(--surface-1);border-radius:8px;justify-content:center;align-items:center;padding:0 12px;font-size:14px;font-weight:700;display:inline-flex}.ghost-btn:hover{color:var(--text-main);background:var(--surface-2);border-color:currentColor;box-shadow:0 0 0 .75px}.primary-btn{min-height:36px;color:var(--on-accent);background:var(--accent);box-shadow:none;border-radius:8px;justify-content:center;align-items:center;padding:0 12px;font-size:14px;font-weight:700;display:inline-flex}.primary-btn:hover{background:var(--accent-dark);box-shadow:var(--accent-shadow)}.primary-btn:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}.soft-btn{min-height:36px;color:var(--accent-dark);background:var(--accent-soft);border-radius:8px;justify-content:center;align-items:center;padding:0 12px;font-size:14px;font-weight:700;display:inline-flex}.soft-btn:hover{background:var(--accent-soft-hover)}.label{border-radius:6px;align-items:center;height:24px;padding:0 6px;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.label-default{color:var(--text-muted);background:#919eab29}.label-primary{color:var(--accent-dark);background:var(--accent-soft)}.label-warning{color:var(--focus-dark);background:#ffab0029}.label-error{color:var(--danger-dark);background:var(--danger-dim)}.label-info{color:var(--info-dark);background:var(--info-dim)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}@media (width<=1199px){.layout-header{min-height:var(--layout-header-mobile-height);padding:10px 16px}.dashboard-content{padding:12px 12px 16px}}@media (width<=900px){.layout-header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"date tabs""date status";row-gap:8px}.layout-header-left{grid-area:date}.header-tabs{grid-area:tabs;justify-self:end}.layout-header-right{grid-area:status}.header-clock{font-size:40px}}@media (width<=760px){.app-shell.nav-open .layout-nav{z-index:calc(var(--bottom-nav-zIndex) + 2)}.app-shell.nav-open .nav-backdrop{z-index:calc(var(--bottom-nav-zIndex) + 1)}.layout-nav{padding-bottom:env(safe-area-inset-bottom)}.layout-header{grid-template-columns:1fr;grid-template-areas:"date""status"}.header-tabs{display:none}.header-date-copy{flex-wrap:wrap;font-size:18px}.header-clock{font-size:36px}}
