.tasks-tag-priority-high{background:var(--theme-error-alpha);color:var(--theme-error);}.tasks-tag-priority-medium{background:var(--theme-warning-alpha);color:var(--theme-warning);}.tasks-tag-priority-low{background:var(--theme-success-alpha);color:var(--theme-success);}.tasks-tag-status-todo{background:var(--theme-info-alpha);color:var(--theme-info);}.tasks-tag-status-inprogress{background:var(--theme-warning-alpha);color:var(--theme-warning);}.tasks-tag-status-done{background:var(--theme-success-alpha);color:var(--theme-success);}.tasks-form-notes-list{display:flex;flex-direction:column;gap:4px;}.tasks-form-note-item{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--theme-shape-sm);cursor:pointer;transition:background 0.2s ease;}.tasks-form-note-item:hover{background:var(--theme-accent-cyan-alpha);}.tasks-form-note-item i{color:var(--theme-primary);font-size:var(--theme-type-body);}.tasks-form-note-title{flex:1;font-size:var(--theme-type-body);color:var(--theme-text-main);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.tasks-form-note-item:hover .tasks-form-note-title{color:var(--theme-primary);}.tasks-form-note-link{color:var(--theme-text-dim);font-size:var(--theme-type-label-md);margin-left:auto;}.tasks-animate-shake{animation:tasksShake 0.5s ease-in-out;}@keyframes tasksShake{0%, 100%{transform:translateX(0);}25%{transform:translateX(-5px);}75%{transform:translateX(5px);}}.task-chart-empty{display:flex;align-items:center;justify-content:center;height:280px;color:var(--theme-text-muted);font-size:var(--theme-type-body);text-align:center;}.tasks-workspace-panel{position:fixed;top:116px;left:var(--ws-panel-left, 20px);width:var(--ws-panel-width, calc(100vw - var(--ws-panel-left, 20px) - var(--right-safe-zone, 400px) - var(--ws-panel-gap, 20px)));right:auto;bottom:130px;min-width:var(--ws-panel-min-width, 360px);z-index:700;display:flex;border-radius:var(--theme-shape-xl);background:var(--theme-bg-card);backdrop-filter:blur(20px);border:1px solid var(--theme-border);overflow:hidden;container-type:inline-size;--theme-type-label-sm:11px;--theme-type-label-md:12px;--theme-type-body:14px;--theme-type-body-lg:16px;--theme-type-title:16px;--theme-type-title-lg:clamp(1.125rem, calc(1rem + 0.3333cqw), 1.25rem);--theme-type-headline:clamp(1.25rem, calc(1rem + 0.6667cqw), 1.5rem);}.tasks-workspace-panel--width-anim{transition:width 0.3s cubic-bezier(0.4, 0, 0.2, 1);}.tasks-workspace-panel--hidden{display:none;}.tw-close-btn{margin-left:auto;flex-shrink:0;font-family:inherit;box-sizing:border-box;padding:0.625rem 1.25rem;border-radius:var(--theme-shape-md);font-size:var(--theme-type-body);font-weight:500;cursor:pointer;border:1px solid var(--theme-border);background:transparent;transition:border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;align-items:center;gap:0.4rem;color:var(--theme-text-muted);}.tw-close-btn:not(:disabled):hover{border-color:var(--theme-accent-cyan);}.tw-close-btn--float{display:none;}.tw-form-header{display:none;align-items:center;gap:8px;height:48px;flex-shrink:0;padding:0 48px 0 12px;background:var(--theme-bg-card);border-bottom:1px solid var(--theme-border);}.tw-form-header-title{flex:1;font-size:var(--theme-type-title);font-weight:700;color:var(--theme-text-main);text-align:center;}.tw-form-back{width:32px;height:32px;border-radius:50%;border:1px solid var(--theme-border);background:var(--theme-bg-card);color:var(--theme-text-dim);font-size:var(--theme-type-body-lg);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease;flex-shrink:0;}.tw-form-back:hover{color:var(--theme-accent-purple);border-color:var(--theme-accent-purple);}.tw-left{width:40%;flex-shrink:0;display:flex;flex-direction:column;border-right:1px solid var(--theme-border);padding:1rem 0.75rem;gap:0.75rem;min-height:0;}.tw-left-header{display:flex;align-items:center;justify-content:space-between;padding:0 0.25rem;}.tw-title{font-size:var(--theme-type-title);font-weight:700;color:var(--theme-text-main);display:flex;align-items:baseline;gap:0.35rem;}.tw-count{font-size:var(--theme-type-label-md);font-weight:500;color:var(--theme-text-muted);}.tw-left-actions{display:flex;align-items:center;gap:0.4rem;}.tw-add-btn{width:34px;height:34px;border-radius:var(--theme-shape-md);border:1px solid var(--theme-border);background:var(--theme-accent-cyan-alpha);color:var(--theme-accent-cyan);font-size:var(--theme-type-body-lg);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.2s ease;}.tw-add-btn:hover{background:var(--theme-accent-cyan-alpha-hover);}.tw-filters{display:flex;flex-wrap:wrap;gap:0.4rem;padding:0 0.25rem;}.tw-search-box{position:relative;display:flex;align-items:center;flex:1 1 100%;min-width:0;}.tw-search-box .tw-search-icon{position:absolute;left:0.625rem;top:0;bottom:0;display:flex;align-items:center;z-index:1;pointer-events:none;color:var(--theme-text-muted);font-size:var(--theme-type-body);}.tw-search{flex:1;min-width:0;padding:0.5rem 0.75rem 0.5rem 1.75rem;border-radius:var(--theme-shape-md);border:1px solid var(--theme-border);background:var(--theme-bg-card);color:var(--theme-text-main);font-size:var(--theme-type-body);outline:none;transition:border-color 0.2s ease;}.tw-search:focus{border-color:var(--theme-accent-cyan);outline:2px solid var(--theme-accent-cyan-alpha);}.tw-search::placeholder{color:var(--theme-text-muted);}.tw-select{padding:0.5rem 0.5rem;border-radius:var(--theme-shape-md);border:1px solid var(--theme-border);background:var(--theme-bg-card);color:var(--theme-text-main);font-size:var(--theme-type-body);outline:none;flex-shrink:0;}.tw-list{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:0.4rem;padding:0 0.25rem;}.tw-task-item{padding:0.65rem 0.75rem;border-radius:var(--theme-shape-md);border:1px solid transparent;background:transparent;cursor:pointer;transition:all 0.15s ease;}.tw-task-item:hover{background:var(--theme-accent-cyan-alpha);}.tw-task-item--active{background:var(--theme-accent-cyan-alpha);border-color:var(--theme-accent-cyan);}.tw-task-item-title{font-size:var(--theme-type-body);font-weight:600;color:var(--theme-text-main);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.tw-task-item-meta{display:flex;align-items:center;gap:0.5rem;margin-top:0.3rem;font-size:var(--theme-type-label-md);}.tw-task-priority, .tw-task-status{padding:1px 8px;border-radius:var(--theme-shape-sm);font-size:var(--theme-type-label-md);font-weight:500;white-space:nowrap;}.tw-task-status{cursor:pointer;transition:all 0.15s ease;}.tw-task-status:hover{filter:brightness(1.2);}.tw-task-due{color:var(--theme-text-muted);font-size:var(--theme-type-label-sm);margin-left:auto;white-space:nowrap;}.tw-task-note{display:inline-flex;align-items:center;gap:0.2rem;color:var(--theme-text-muted);font-size:var(--theme-type-label-sm);white-space:nowrap;}.tw-task-note--hidden{display:none;}.tw-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.5rem;padding:2rem 1rem;color:var(--theme-text-muted);text-align:center;}.tw-empty i{font-size:2rem;opacity:0.5;}.tw-empty-sub{font-size:var(--theme-type-label-md);}.tw-right{flex:1;min-width:0;display:flex;flex-direction:column;position:relative;}.tw-form{flex:1;min-height:0;display:flex;flex-direction:column;padding:1.25rem;}.tw-form-inner{flex:1;min-height:0;display:flex;flex-direction:column;gap:0.75rem;overflow-y:auto;}.tw-name-input{border:none;border-bottom:1px solid var(--theme-border);background:transparent;color:var(--theme-text-main);font-size:var(--theme-type-title-lg);font-weight:700;padding:0.4rem 0;outline:none;transition:border-color 0.2s ease;}.tw-name-input:focus{border-bottom-color:var(--theme-accent-cyan);}.tw-name-input::placeholder{color:var(--theme-text-muted);font-weight:500;}.tw-desc-input{flex:none;min-height:120px;display:block;width:100%;border:1px solid var(--theme-border);border-radius:var(--theme-shape-md);background:var(--theme-bg-card);color:var(--theme-text-main);font-size:var(--theme-type-body-lg);line-height:var(--theme-lh-body);padding:0.5rem 0.75rem;resize:vertical;outline:none;}.tw-desc-input:focus{border-color:var(--theme-accent-cyan);outline:2px solid var(--theme-accent-cyan-alpha);}.tw-desc-input::placeholder{color:var(--theme-text-muted);}.tw-desc-input::placeholder{color:var(--theme-text-muted);}.tw-form-grid{display:flex;gap:0.75rem;}.tw-form-grid .tw-select{flex:1;min-width:0;}.tw-time-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(min(160px, 100%), 1fr));gap:0.6rem;}.tw-time-field{display:flex;flex-direction:column;gap:0.25rem;min-width:0;}.tw-time-label{font-size:var(--theme-type-label-md);color:var(--theme-text-muted);}.tw-time-input{width:100%;min-width:0;box-sizing:border-box;padding:0.5rem;border-radius:var(--theme-shape-md);border:1px solid var(--theme-border);background:var(--theme-bg-card);color:var(--theme-text-main);font-size:var(--theme-type-label-md);outline:none;}body[data-mode="dark"] .tw-time-input{color-scheme:dark;}.tw-time-input::-webkit-calendar-picker-indicator{width:16px;height:16px;cursor:pointer;background-image:none;background-color:var(--theme-text-muted);-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain;transition:background-color 0.15s;}.tw-time-input::-webkit-calendar-picker-indicator:hover{background-color:var(--theme-primary);}.tw-notes-section{display:flex;flex-direction:column;gap:0.4rem;}.tw-notes-label{font-size:var(--theme-type-label-md);color:var(--theme-text-muted);}.tw-notes-list{display:flex;flex-direction:column;gap:0.4rem;}.tw-form-actions{display:flex;align-items:center;gap:0.5rem;margin-top:0.75rem;padding-top:0.75rem;border-top:1px solid var(--theme-border);}.tw-delete-btn, .tw-save-btn{font-family:inherit;box-sizing:border-box;padding:0.625rem 1.25rem;border-radius:var(--theme-shape-md);font-size:var(--theme-type-body);font-weight:500;cursor:pointer;border:1px solid var(--theme-border);background:transparent;transition:border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;align-items:center;gap:0.4rem;}.tw-delete-btn{color:var(--theme-error);}.tw-delete-btn:not(:disabled):hover{border-color:var(--theme-error);}.tw-delete-btn--hidden{display:none;}.tw-save-btn{color:var(--theme-accent-cyan);}.tw-save-btn:not(:disabled):hover{border-color:var(--theme-accent-cyan);}.tw-save-btn:disabled, .tw-delete-btn:disabled, .tw-close-btn:disabled{opacity:0.5;cursor:not-allowed;}@media (max-width:1024px){.tasks-workspace-panel{top:0;left:0;right:0;bottom:0;width:auto;min-width:0;flex-direction:column;border-radius:0;border:none;}.tw-left{width:100%;flex:1;min-height:0;padding-top:0;border-right:none;border-bottom:1px solid var(--theme-border);}.tw-left-header{height:48px;padding-right:48px;}.tw-form{flex:1;min-height:0;padding:0;}.tw-form-inner{padding:0.75rem;}.tw-form-actions{margin-top:0;padding:0.75rem;}.tw-time-grid{grid-template-columns:1fr;}.tasks-workspace-panel .tw-right{display:none;min-height:0;}.tasks-workspace-panel--form-open .tw-left{display:none;}.tasks-workspace-panel--form-open .tw-right{display:flex;min-height:0;}.tw-form-header{display:flex;}.tw-desc-input{flex:1;min-height:240px;resize:none;}.tw-close-btn--float{display:flex;position:absolute;top:10px;right:16px;z-index:10;width:auto;height:auto;margin:0;padding:6px;border:none;border-radius:var(--theme-shape-sm);background:transparent;color:var(--theme-text-dim);align-items:center;justify-content:center;transition:none;}.tw-close-btn--float i{display:block;width:16px;height:16px;font-size:var(--theme-type-body-lg);}.tw-close-btn--float:hover{background:var(--theme-accent-cyan-alpha);color:var(--theme-primary);}.tw-close-btn:not(.tw-close-btn--float){display:none;}.tw-save-btn{margin-left:auto;}}.ws-resize-handle{position:absolute;top:0;right:0;width:12px;height:100%;cursor:col-resize;z-index:10;touch-action:none;}.ws-resize-handle::before{content:'';position:absolute;top:50%;right:2px;transform:translateY(-50%);width:3px;height:32px;border-radius:2px;background:var(--theme-border);transition:background 0.15s;}.ws-resize-handle:hover::before, .ws-resize-handle:active::before{background:var(--theme-primary);}@media (max-width:1024px){.ws-resize-handle{display:none;}}@media (min-width:1025px){body[data-dock-pos="left"] .tasks-workspace-panel{left:100px;width:calc(100vw - 100px - var(--right-safe-zone, 400px) - var(--ws-panel-gap, 20px));}}@media (min-width:1440px){.tasks-workspace-panel{top:128px;bottom:140px;left:28px;}}