:root{--background:0 0% 100%;--foreground:222.2 47% 11%;--card:0 0% 100%;--card-foreground:222.2 47% 11%;--primary:221.2 83.2% 53.3%;--primary-foreground:210 40% 98%;--secondary:210 40% 96%;--secondary-foreground:222.2 47% 11%;--muted:210 40% 96%;--muted-foreground:215.4 16.3% 46.9%;--accent:210 40% 96%;--accent-foreground:222.2 47% 11%;--destructive:0 84.2% 60.2%;--destructive-foreground:210 40% 98%;--border:214.3 31.8% 91.4%;--input:214.3 31.8% 91.4%;--ring:221.2 83.2% 53.3%}.dark{--background:222 47% 11%;--foreground:213 31% 91%;--card:217 33% 17%;--card-foreground:213 31% 91%;--primary:217 91% 60%;--primary-foreground:210 40% 98%;--secondary:217 33% 22%;--secondary-foreground:210 40% 98%;--muted:217 33% 22%;--muted-foreground:215 20% 65%;--accent:217 33% 24%;--accent-foreground:210 40% 98%;--destructive:0 63% 50%;--destructive-foreground:210 40% 98%;--border:217 33% 24%;--input:217 33% 24%;--ring:212 100% 45%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;transition:background-color .3s,color .3s}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.task-comments{border-top:1px solid hsl(var(--border));margin-top:12px;padding-top:12px;transition:border-color .3s}.comments-header{align-items:center;gap:6px;margin-bottom:8px;display:flex}.comments-header.clickable{cursor:pointer;border-radius:4px;padding:4px 8px;transition:background-color .2s}.comments-header.clickable:hover{background-color:hsl(var(--muted))}.comments-icon{color:hsl(var(--muted-foreground));flex:none}.comments-count{color:hsl(var(--muted-foreground));font-size:.85rem;font-weight:500}.comments-list{flex-direction:column;gap:8px;display:flex}.comment-item{background:hsl(var(--muted));border-left:3px solid hsl(var(--border));border-radius:6px;padding:10px;transition:background-color .3s}.comment-content{color:hsl(var(--foreground));word-wrap:break-word;white-space:pre-line;margin-bottom:6px;font-size:.9rem;line-height:1.4}.comment-link{color:hsl(var(--primary));border-bottom:1px solid #0000;font-weight:500;text-decoration:none;transition:border-bottom-color .2s}.comment-link:hover{border-bottom-color:hsl(var(--primary));text-decoration:none}.comment-attachment{margin:6px 0}.attachment-link{color:hsl(var(--muted-foreground));background:hsl(var(--accent));border-radius:4px;align-items:center;gap:4px;padding:4px 8px;font-size:.85rem;text-decoration:none;transition:background-color .2s;display:inline-flex}.attachment-link:hover{background:hsl(var(--muted));color:hsl(var(--foreground));text-decoration:none}.comment-meta{justify-content:flex-end;margin-top:6px;display:flex}.comment-date{color:hsl(var(--muted-foreground));font-size:.75rem;font-style:italic}@media (width<=768px){.comment-item{padding:8px}.comment-content{font-size:.85rem}.comment-link{word-break:break-all}}.task-event{border-top:1px solid hsl(var(--border));margin-top:12px;padding-top:12px;transition:border-color .3s}.event-header{align-items:center;gap:6px;margin-bottom:8px;display:flex}.event-header.clickable{cursor:pointer;border-radius:4px;padding:4px 8px;transition:background-color .2s}.event-header.clickable:hover{background-color:hsl(var(--muted))}.event-icon{color:hsl(var(--muted-foreground));flex:none}.event-title{color:hsl(var(--muted-foreground));font-size:.85rem;font-weight:500}.expand-icon{color:hsl(var(--muted-foreground));margin-left:auto;transition:transform .2s;display:inline-flex}.event-content{background:#2196f31a;border-left:3px solid #2196f3;border-radius:6px;padding:10px;transition:background-color .3s}.dark .event-content{background:#2196f326}.event-summary{color:#1976d2;margin-bottom:6px;font-size:.95rem;font-weight:600;line-height:1.3}.dark .event-summary{color:#42a5f5}.event-details{flex-direction:column;gap:4px;display:flex}.event-time{color:hsl(var(--foreground));align-items:center;gap:8px;font-size:.85rem;display:flex}.event-date{font-weight:500}.event-duration{color:hsl(var(--muted-foreground));font-size:.8rem}.event-location{color:hsl(var(--foreground));align-items:center;gap:4px;font-size:.85rem;display:flex}.event-description{color:hsl(var(--muted-foreground));text-overflow:ellipsis;-webkit-line-clamp:3;white-space:pre-line;-webkit-box-orient:vertical;max-height:60px;margin-top:4px;font-size:.8rem;line-height:1.4;display:-webkit-box;overflow:hidden}@media (width<=768px){.event-content{padding:8px}.event-summary{font-size:.9rem}.event-time{flex-direction:column;align-items:flex-start;gap:2px}}.theme-card{background:hsl(var(--card));border-left:4px solid hsl(var(--border));border-radius:12px;margin-bottom:24px;transition:transform .2s,box-shadow .2s,background-color .3s;overflow:hidden;box-shadow:0 2px 8px #0000001a}.dark .theme-card{box-shadow:0 2px 8px #0000004d}.theme-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.dark .theme-card:hover{box-shadow:0 4px 16px #0006}.theme-header{background:hsl(var(--secondary));border-bottom:1px solid hsl(var(--border));padding:20px;transition:background-color .3s}.theme-title{color:hsl(var(--foreground));margin:0 0 8px;font-size:1.5rem;font-weight:600}.theme-description{color:hsl(var(--muted-foreground));margin:0 0 16px;font-size:.95rem;line-height:1.4}.theme-actions{justify-content:space-between;align-items:center;display:flex}.close-all-btn{color:#fff;cursor:pointer;background:#dc3545;border:none;border-radius:6px;padding:8px 16px;font-size:.9rem;font-weight:500;transition:background-color .2s}.tasks-list{padding:0}.task-item{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:flex-start;padding:16px 20px;transition:background-color .2s;display:flex}.task-item:last-child{border-bottom:none}.task-item:hover{background-color:hsl(var(--muted))}.task-header{flex-wrap:wrap;align-items:center;margin-bottom:8px;display:flex}.task-meta{flex-wrap:wrap;align-items:center;gap:12px;margin-left:auto;display:flex}.priority-section{flex-shrink:0;align-items:center;gap:8px;margin-right:12px;display:flex}.priority-dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.priority-select{color:#495057;cursor:pointer;background:#fff;border:1px solid #dee2e6;border-radius:4px;min-width:80px;padding:2px 6px;font-size:.75rem;transition:border-color .2s}.priority-select:hover{border-color:#007bff}.priority-select:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 2px #007bff40}.priority-select:disabled{cursor:not-allowed;opacity:.6;background:#f8f9fa}.task-text{color:hsl(var(--foreground));flex:1;font-size:1rem;font-weight:500;line-height:1.4}.task-link{color:hsl(var(--primary));text-decoration:none;transition:color .2s}.task-link:hover{color:hsl(var(--primary));opacity:.8;text-decoration:underline}.due-date-section{flex-direction:column;gap:4px;margin-left:12px;display:flex}.due-date{color:#1976d2;background:#e3f2fd;border-radius:4px;padding:4px 8px;font-size:.8rem;font-weight:500}.due-string-selector{position:relative}.due-string-input{border:2px solid hsl(var(--ring));background:hsl(var(--background));width:120px;min-width:120px;color:hsl(var(--foreground));border-radius:4px;margin-top:4px;margin-left:10px;padding:4px 8px;font-size:.75rem;transition:all .2s;display:block}.due-string-input:focus{border-color:hsl(var(--ring));background:hsl(var(--card));box-shadow:0 0 0 2px hsla(var(--ring) / .25);outline:none}.due-string-input:disabled{background:hsl(var(--muted));color:hsl(var(--muted-foreground));cursor:not-allowed;opacity:.6}.due-string-input::placeholder{color:hsl(var(--muted-foreground));font-style:italic}.task-assignee{font-size:.8rem;font-weight:500}.assignee-none{color:#6c757d;background:#f8f9fa;border:1px solid #dee2e6;border-radius:12px;padding:2px 8px}.dark .assignee-none{color:hsl(var(--muted-foreground));background:hsl(var(--muted));border-color:hsl(var(--border))}.assignee-name{color:#28a745;background:#d4edda;border:1px solid #c3e6cb;border-radius:12px;padding:2px 8px}.dark .assignee-name{color:#81c784;background:#4caf5026;border-color:#4caf504d}.assignee-me{color:#007bff;background:#cce7ff;border:1px solid #99d3ff;border-radius:12px;padding:2px 8px;font-weight:600}.dark .assignee-me{color:#64b5f6;background:#2196f326;border-color:#2196f34d}.assignee-id{color:#6c757d;background:#f8f9fa;border:1px solid #dee2e6;border-radius:12px;padding:2px 8px;font-family:monospace}.dark .assignee-id{color:hsl(var(--muted-foreground));background:hsl(var(--muted));border-color:hsl(var(--border))}.recurring-indicator{align-items:center;gap:4px;display:inline-flex}.task-description{color:hsl(var(--muted-foreground));margin:8px 0;font-size:.9rem;line-height:1.4}.task-labels{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.label{background:hsl(var(--muted));color:hsl(var(--muted-foreground));border:1px solid hsl(var(--border));border-radius:12px;padding:2px 8px;font-size:.75rem;font-weight:500}.close-task-btn{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:1rem;font-weight:700;transition:all .2s;display:flex}.close-task-btn:hover:not(:disabled){background:#218838;transform:scale(1.1)}.close-task-btn:disabled{cursor:not-allowed;background:#6c757d;transform:none}@media (width<=768px){.close-task-btn{width:48px;min-width:48px;height:48px;min-height:48px;font-size:1.2rem}.theme-card{margin-bottom:16px}.theme-header{padding:16px}.theme-title{font-size:1.3rem}.task-item{padding:12px 16px}.task-header{flex-direction:column;align-items:flex-start}.due-date-section{margin-top:4px;margin-left:0}.due-string-input{width:100px}}.duplicate-card{background:hsl(var(--card));border-left:4px solid #ffc107;border-radius:12px;margin-bottom:24px;transition:transform .2s,box-shadow .2s,background-color .3s;overflow:hidden;box-shadow:0 2px 8px #0000001a}.dark .duplicate-card{border-left-color:#ff9800;box-shadow:0 2px 8px #0000004d}.duplicate-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.dark .duplicate-card:hover{box-shadow:0 4px 16px #0006}.duplicate-header{border-bottom:1px solid hsl(var(--border));background:#ffc1071a;padding:20px;transition:background-color .3s}.dark .duplicate-header{background:#ff980026}.duplicate-title{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.duplicate-title h3{color:hsl(var(--foreground));align-items:center;gap:8px;margin:0;font-size:1.4rem;font-weight:600;display:inline-flex}.similarity-score{color:#fff;background:#856404;border-radius:20px;padding:4px 12px;font-size:.85rem;font-weight:600}.duplicate-reason{margin-bottom:16px}.reason-badge{color:#fff;background:#856404;border-radius:16px;padding:6px 12px;font-size:.9rem;font-weight:500}.duplicate-actions{justify-content:space-between;align-items:center;display:flex}.task-count{color:hsl(var(--muted-foreground));font-size:.9rem;font-weight:500}.close-all-btn{color:#fff;cursor:pointer;background:#dc3545;border:none;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:8px 16px;font-size:.9rem;font-weight:500;transition:background-color .2s;display:inline-flex}.close-all-btn:hover:not(:disabled){background:#c82333}.close-all-btn:disabled{cursor:not-allowed;background:#6c757d}.duplicate-tasks{padding:0 20px 20px}.duplicate-task-item{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:8px;align-items:center;margin-bottom:8px;padding:12px;transition:background-color .2s;display:flex}.duplicate-task-item:hover{background:hsl(var(--muted))}.duplicate-task-item:last-child{margin-bottom:0}.task-content{flex:1;margin-right:16px}.task-text{color:hsl(var(--foreground));margin-bottom:6px;font-size:1rem;font-weight:500;line-height:1.4}.task-actions{align-items:center;gap:12px;display:flex}.suggested-action{background:#0000000d;border-radius:12px;align-items:center;gap:5px;padding:2px 8px;font-size:.85rem;font-weight:600;display:inline-flex}.close-task-btn{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;font-size:1rem;font-weight:700;transition:background-color .2s;display:flex}.close-task-btn:hover:not(:disabled){background:#218838}.close-task-btn:disabled{cursor:not-allowed;background:#6c757d}@media (width<=768px){.duplicate-header{padding:16px}.duplicate-title{flex-direction:column;align-items:flex-start;gap:8px}.duplicate-title h3{font-size:1.2rem}.duplicate-actions{flex-direction:column;align-items:flex-start;gap:12px}.duplicate-tasks{padding:0 16px 16px}.duplicate-task-item{flex-direction:column;align-items:flex-start;gap:12px}.task-content{margin-right:0}.close-task-btn{align-self:flex-end;width:48px;min-width:48px;height:48px;min-height:48px;font-size:1.2rem}}.swipeable-task-wrapper{touch-action:pan-y;border-radius:12px;position:relative;overflow:hidden}.swipeable-task-backgrounds{pointer-events:none;z-index:0;display:flex;position:absolute;inset:0}.swipe-bg{color:#fff;flex:1;justify-content:center;align-items:center;gap:8px;font-size:1rem;font-weight:600;transition:opacity .1s;display:flex}.swipe-bg-done{background:#28a745}.swipe-bg-tomorrow{background:#007bff}.swipeable-task-content{z-index:1;background:hsl(var(--card));transition:transform 50ms ease-out;position:relative}.loading-container{text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;display:flex}.spinner{border:4px solid #f3f3f3;border-top-color:#007bff;border-radius:50%;width:50px;height:50px;margin-bottom:20px;animation:1s linear infinite spin}.loading-text{color:#6c757d;margin:0;font-size:1.1rem;font-weight:500}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.theme-toggle{background:hsl(var(--secondary));border:1px solid hsl(var(--border));cursor:pointer;color:hsl(var(--foreground));border-radius:8px;justify-content:center;align-items:center;min-width:40px;min-height:40px;padding:8px;transition:all .2s;display:inline-flex}.theme-toggle:hover:not(:disabled){background:hsl(var(--accent));border-color:hsl(var(--ring));transform:translateY(-1px)}.theme-toggle:disabled{opacity:.5;cursor:not-allowed}.theme-icon{transition:transform .3s}.theme-toggle:hover:not(:disabled) .theme-icon{transform:rotate(20deg)}.theme-icon-placeholder{width:20px;height:20px;display:block}.login-container{background:hsl(var(--background));justify-content:center;align-items:center;min-height:100vh;padding:20px;transition:background-color .3s;display:flex;position:relative}.theme-toggle-wrapper{z-index:10;position:absolute;top:20px;right:20px}.login-card{background:hsl(var(--card));border:1px solid hsl(var(--border));text-align:center;border-radius:12px;width:100%;max-width:400px;padding:40px;transition:background-color .3s,box-shadow .3s;box-shadow:0 4px 12px #0000001a}.dark .login-card{box-shadow:0 4px 12px #0000004d}.login-card h2{color:hsl(var(--foreground));justify-content:center;align-items:center;gap:10px;margin:0 0 10px;font-size:28px;display:inline-flex}.login-description{color:hsl(var(--muted-foreground));margin-bottom:30px;font-size:16px}.login-form{text-align:left}.form-group{margin-bottom:20px}.form-group label{color:hsl(var(--foreground));margin-bottom:8px;font-size:14px;font-weight:500;display:block}.form-group input{border:2px solid hsl(var(--border));box-sizing:border-box;background-color:hsl(var(--background));width:100%;color:hsl(var(--foreground));border-radius:8px;padding:12px 16px;font-size:16px;transition:border-color .3s,background-color .3s}.form-group input:focus{border-color:hsl(var(--ring));outline:none}.form-group input:disabled{background-color:hsl(var(--muted));cursor:not-allowed}.error-message{color:#c33;background-color:#fee;border:1px solid #fcc;border-radius:6px;align-items:center;gap:8px;margin-bottom:20px;padding:12px;font-size:14px;display:flex}.login-button{background:hsl(var(--primary));width:100%;color:hsl(var(--primary-foreground));cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:14px 20px;font-size:16px;font-weight:600;transition:all .2s;display:inline-flex}.login-button:hover:not(:disabled){opacity:.9;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.dark .login-button:hover:not(:disabled){box-shadow:0 4px 8px #0000004d}.login-button:disabled{color:#9ca3af;cursor:not-allowed;box-shadow:none;background:#4b5563;transform:none}.dark .login-button:disabled{color:#6b7280;background:#1f2937}.login-button:active:not(:disabled){transform:translateY(0)}*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:hsl(var(--background));color:hsl(var(--foreground));font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.6;transition:background-color .3s,color .3s}.App{background-color:hsl(var(--background));min-height:100vh}.container{max-width:1200px;margin:0 auto;padding:0 20px}.app-header{background:hsl(var(--card));color:hsl(var(--foreground));border-bottom:1px solid hsl(var(--border));padding:12px 0;transition:background-color .3s,box-shadow .3s,border-color .3s;box-shadow:0 2px 4px #0000001a}.dark .app-header{box-shadow:0 2px 4px #0006}.header-content{text-align:left;justify-content:space-between;align-items:center;display:flex}.header-actions{align-items:center;gap:12px;display:flex}.header-text{flex:1}.logout-button{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground));border:1px solid hsl(var(--border));cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:7px;padding:8px 16px;font-size:14px;transition:background-color .3s,border-color .3s;display:inline-flex}.logout-button:hover{background:hsl(var(--accent));border-color:hsl(var(--ring))}.app-header h1{color:hsl(var(--foreground));margin-bottom:4px;font-size:1.5rem;font-weight:700;line-height:1.2}.app-header p{color:hsl(var(--muted-foreground));margin:0;font-size:.875rem;font-weight:300;line-height:1.3}.user-info{background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:8px;margin-top:16px;padding:12px 20px}.user-name{color:hsl(var(--foreground));font-size:1rem;font-weight:500}.app-main{padding:40px 0 132px}.mobile-command-bar{z-index:50;border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:min(100% - 32px,1120px);padding:10px;display:grid;position:fixed;bottom:16px;right:50%;transform:translate(50%);box-shadow:0 16px 42px #0f172a33}.mobile-command-bar.tabs-only{display:none}.mobile-command-task{min-width:0;padding:0 8px}.mobile-command-task span{color:hsl(var(--muted-foreground));letter-spacing:0;text-transform:uppercase;margin-bottom:2px;font-size:.72rem;font-weight:800;display:block}.mobile-command-task strong{color:hsl(var(--foreground));text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;font-weight:800;line-height:1.2;display:block;overflow:hidden}.mobile-command-actions{grid-template-columns:repeat(6,minmax(64px,82px));gap:7px;display:grid}.mobile-command-tabs{display:none}.mobile-command-bar button{border:1px solid hsl(var(--border));background:hsl(var(--secondary));min-width:0;min-height:46px;color:hsl(var(--secondary-foreground));cursor:pointer;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:7px 5px;font-size:.72rem;font-weight:800;line-height:1.05;transition:background-color .2s,border-color .2s,color .2s,transform .2s;display:inline-flex}.mobile-command-bar button span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.mobile-command-bar button.active,.mobile-command-bar button:hover:not(:disabled){background:hsl(var(--accent));border-color:hsl(var(--ring));color:hsl(var(--foreground));transform:translateY(-1px)}.mobile-command-bar button:disabled{opacity:.5;cursor:not-allowed;transform:none}.mobile-command-primary{color:#fff!important;background:#15803d!important;border-color:#15803d!important}.controls-section{background:hsl(var(--card));border-radius:12px;margin-bottom:32px;padding:24px;transition:background-color .3s;box-shadow:0 2px 8px #0000001a}.dark .controls-section{box-shadow:0 2px 8px #0000004d}.work-queue-panel{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;grid-template-columns:1fr;gap:10px;margin-bottom:12px;padding:10px;display:grid}.work-queue-panel.is-collapsed{padding:6px}.work-queue-content{grid-template-columns:minmax(0,1fr) minmax(320px,420px);align-items:stretch;gap:16px;display:grid}@media (width<=980px){.work-queue-content{grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:14px}}.section-collapse-toggle{background:hsl(var(--background));width:100%;min-height:34px;color:hsl(var(--foreground));cursor:pointer;text-align:left;border:1px solid #0000;border-radius:6px;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:6px 8px;display:grid}.section-collapse-toggle:hover{border-color:hsl(var(--ring));background:hsl(var(--accent))}.section-toggle-label{color:hsl(var(--muted-foreground));text-transform:uppercase;white-space:nowrap;align-items:center;gap:6px;font-size:.76rem;font-weight:800;line-height:1;display:inline-flex}.section-toggle-summary{min-width:0;color:hsl(var(--foreground));text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;font-weight:800;line-height:1.2;overflow:hidden}.section-toggle-meta{border:1px solid hsl(var(--border));background:hsl(var(--muted));min-height:22px;color:hsl(var(--muted-foreground));white-space:nowrap;border-radius:999px;justify-content:center;align-items:center;padding:2px 7px;font-size:.72rem;font-weight:800;display:inline-flex}.work-queue-main{grid-template-columns:minmax(0,1fr);gap:14px;min-width:0;display:grid}.work-queue-heading{min-width:0}.queue-eyebrow{color:hsl(var(--muted-foreground));text-transform:uppercase;align-items:center;gap:6px;margin-bottom:8px;font-size:.78rem;font-weight:700;display:inline-flex}.work-queue-heading h2{color:hsl(var(--foreground));word-break:break-word;margin:0;font-size:1.45rem;font-weight:800;line-height:1.2}.queue-meta-line{color:hsl(var(--muted-foreground));flex-wrap:wrap;gap:8px;margin-top:10px;font-size:.85rem;display:flex}.queue-meta-line span{background:hsl(var(--muted));border:1px solid hsl(var(--border));border-radius:999px;align-items:center;min-height:24px;padding:2px 8px;display:inline-flex}.queue-focus-task,.queue-empty-focus{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:8px;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:10px;display:flex}.queue-empty-focus{color:hsl(var(--muted-foreground));justify-content:flex-start}.queue-focus-meta{min-width:0;color:hsl(var(--muted-foreground));flex-wrap:wrap;gap:8px;font-size:.85rem;font-weight:600;display:flex}.queue-focus-meta span{background:hsl(var(--secondary));border-radius:999px;align-items:center;min-height:24px;padding:2px 8px;display:inline-flex}.queue-focus-meta .queue-reason{color:#0f766e;background:#ccfbf1}.dark .queue-focus-meta .queue-reason{color:#99f6e4;background:#14b8a629}.queue-focus-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;gap:8px;display:flex}.queue-action{background:hsl(var(--secondary));min-height:36px;color:hsl(var(--secondary-foreground));border:1px solid hsl(var(--border));cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:.85rem;font-weight:700;display:inline-flex}.queue-action:hover:not(:disabled){background:hsl(var(--accent));border-color:hsl(var(--ring))}.queue-action-primary{color:#fff;background:#15803d;border-color:#15803d}.queue-action-primary:hover:not(:disabled){background:#166534;border-color:#166534}.queue-action:disabled{opacity:.6;cursor:not-allowed}.triage-progress-panel{background:hsl(var(--background));border:1px solid hsl(var(--border));border-radius:8px;gap:10px;padding:12px;display:grid}.triage-progress-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.triage-progress-head>div{gap:2px;min-width:0;display:grid}.triage-kicker{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:.72rem;font-weight:800;line-height:1}.triage-progress-head strong{color:hsl(var(--foreground));font-size:.98rem;line-height:1.2}.triage-count{color:#0f766e;white-space:nowrap;background:#ccfbf1;border:1px solid #0f766e42;border-radius:999px;justify-content:center;align-items:center;min-height:26px;padding:3px 8px;font-size:.78rem;font-weight:800;display:inline-flex}.dark .triage-count{color:#99f6e4;background:#14b8a629;border-color:#5eead447}.triage-progress-track{background:hsl(var(--muted));border-radius:999px;height:8px;overflow:hidden}.triage-progress-track span{border-radius:inherit;background:#0f766e;max-width:100%;height:100%;transition:width .25s;display:block}.triage-next-row{min-width:0;color:hsl(var(--muted-foreground));font-size:.82rem;font-weight:650;line-height:1.3}.triage-next-row span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.triage-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.triage-actions button{border:1px solid hsl(var(--border));background:hsl(var(--secondary));min-width:0;min-height:34px;color:hsl(var(--secondary-foreground));cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:6px 8px;font-size:.76rem;font-weight:800;display:inline-flex}.triage-actions button:hover,.triage-actions button.active{background:hsl(var(--accent));border-color:hsl(var(--ring));color:hsl(var(--foreground))}.queue-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.queue-stat{background:hsl(var(--background));min-width:0;min-height:74px;color:hsl(var(--foreground));border:1px solid hsl(var(--border));cursor:pointer;text-align:left;border-radius:8px;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:12px;display:flex}.queue-stat:hover{border-color:hsl(var(--ring));background:hsl(var(--accent))}.queue-stat-label{max-width:100%;color:hsl(var(--muted-foreground));align-items:center;gap:6px;font-size:.78rem;font-weight:700;line-height:1.15;display:inline-flex}.queue-stat strong{color:hsl(var(--foreground));font-size:1.55rem;line-height:1}.stat-item{text-align:center}.stat-number{color:#667eea;font-size:2rem;font-weight:700;line-height:1;display:block}.dark .stat-number{color:hsl(var(--primary))}.stat-label{color:#6c757d;text-transform:uppercase;letter-spacing:.5px;font-size:.9rem;font-weight:500}.dark .stat-label{color:hsl(var(--muted-foreground))}.controls-row{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:20px;display:flex}.view-mode-and-checkbox{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:20px;display:flex}.action-buttons{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:12px;margin-left:auto;display:flex}.btn{border:1px solid hsl(var(--border));cursor:pointer;background:hsl(var(--card));color:hsl(var(--card-foreground));border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:auto;padding:12px 24px;font-size:1rem;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.btn:has(>:only-child:not(span):not(div)){min-width:44px;padding:12px}.btn:hover:not(:disabled){background:hsl(var(--accent));color:hsl(var(--accent-foreground));border-color:hsl(var(--ring));transform:translateY(-1px)}.btn-primary{background:hsl(var(--card));color:hsl(var(--card-foreground));border-color:hsl(var(--border))}.btn-primary:hover:not(:disabled){background:hsl(var(--accent));color:hsl(var(--accent-foreground));border-color:hsl(var(--ring));transform:translateY(-1px)}.btn-secondary{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground));border-color:hsl(var(--border))}.btn-secondary:hover:not(:disabled){background:hsl(var(--accent));color:hsl(var(--accent-foreground));border-color:hsl(var(--ring));transform:translateY(-1px)}.btn-success{background:hsl(var(--card));color:hsl(var(--card-foreground));border-color:hsl(var(--border))}.btn-success:hover:not(:disabled){background:hsl(var(--accent));color:hsl(var(--accent-foreground));border-color:hsl(var(--ring));transform:translateY(-1px)}.review-run-button{background:hsl(var(--secondary));min-width:178px;color:hsl(var(--secondary-foreground));border-color:hsl(var(--border))}.review-run-button svg{color:hsl(var(--muted-foreground))}.review-run-button:hover:not(:disabled) svg{color:hsl(var(--foreground))}.view-mode-selector{flex-shrink:0;align-items:center;display:flex}.view-tabs{flex-shrink:0;gap:8px;display:flex}.view-tab{background:hsl(var(--card));border:1px solid hsl(var(--border));color:hsl(var(--card-foreground));cursor:pointer;border-radius:8px;justify-content:center;align-items:center;gap:8px;padding:12px 20px;font-size:.9rem;font-weight:600;transition:all .2s;display:inline-flex}.view-tab:hover{background:hsl(var(--accent));border-color:hsl(var(--ring));color:hsl(var(--accent-foreground))}.view-tab.active{background:hsl(var(--accent));border-color:hsl(var(--ring));color:hsl(var(--foreground));border-width:2px}.auto-refresh-control{white-space:nowrap;flex-shrink:0;align-items:center;gap:8px;display:flex}.auto-refresh-label{color:#6c757d;cursor:pointer;align-items:center;gap:8px;font-size:.9rem;display:flex}.dark .auto-refresh-label{color:hsl(var(--muted-foreground))}.auto-refresh-label input[type=checkbox]{margin:0}.chronological-section{max-width:1200px;margin-top:32px;margin-left:auto;margin-right:auto}.chronological-tasks{flex-direction:column;gap:16px;display:flex}.chronological-task-item{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;align-items:stretch;padding:0;transition:transform .2s,box-shadow .2s,background-color .3s;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 8px #0000001a}.chronological-task-item.active-task{background:linear-gradient(90deg, #14b8a61f, transparent 32%), hsl(var(--card));border-color:#0f766ee6;box-shadow:0 0 0 4px #0f766e38,0 12px 30px #0f766e29,0 4px 16px #0000001f}.chronological-task-item.active-task:after{content:"";z-index:2;pointer-events:none;border:2px solid #14b8a6f2;border-radius:8px;position:absolute;inset:0}.dark .chronological-task-item.active-task{background:linear-gradient(90deg, #2dd4bf26, transparent 34%), hsl(var(--card));border-color:#5eead4e6;box-shadow:0 0 0 4px #5eead43d,0 12px 30px #2dd4bf1f,0 4px 16px #00000052}.dark .chronological-task-item.active-task:after{border-color:#5eead4f2}.dark .chronological-task-item{box-shadow:0 2px 8px #0000004d}.chronological-task-item:hover{transform:translateY(-2px);box-shadow:0 4px 16px #00000026}.dark .chronological-task-item:hover{box-shadow:0 4px 16px #0006}.task-priority-rail{flex:0 0 6px;width:6px}.task-card-body{flex-direction:column;gap:12px;width:100%;min-width:0;padding:14px;display:flex}.task-card-topline{grid-template-columns:minmax(0,1fr);align-items:start;gap:8px;display:grid}.task-title-block{min-width:0}.task-status-row{flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:8px;display:flex}.task-text{color:hsl(var(--foreground));overflow-wrap:anywhere;word-break:break-word;font-size:1.05rem;font-weight:750;line-height:1.32;text-decoration:none;display:block}.task-link:hover{color:hsl(var(--primary));text-decoration:underline}.task-state-pill,.task-due-pill,.task-context-chip,.task-retained-pill,.task-select-pill{border:1px solid hsl(var(--border));background:hsl(var(--muted));min-height:24px;color:hsl(var(--muted-foreground));border-radius:999px;align-items:center;gap:5px;max-width:100%;padding:3px 8px;font-size:.74rem;font-weight:700;line-height:1;display:inline-flex}.task-select-pill{cursor:pointer}.task-select-pill input{accent-color:#0f766e;width:14px;height:14px;margin:0}.task-state-pill.processed{color:#166534;background:#dcfce7;border-color:#bbf7d0}.task-state-pill.unprocessed{color:#92400e;background:#fef3c7;border-color:#fde68a}.task-retained-pill{color:#0f766e;background:#14b8a624;border-color:#14b8a661}.task-due-pill.overdue{color:#991b1b;background:#fee2e2;border-color:#fecaca}.task-due-pill.today{color:#9a3412;background:#ffedd5;border-color:#fed7aa}.task-due-pill.scheduled{color:#1d4ed8;background:#dbeafe;border-color:#bfdbfe}.dark .task-state-pill.processed{color:#86efac;background:#22c55e29;border-color:#86efac42}.dark .task-state-pill.unprocessed{color:#fde68a;background:#f59e0b29;border-color:#fde68a42}.dark .task-retained-pill{color:#99f6e4;background:#14b8a62e;border-color:#5eead457}.dark .task-due-pill.overdue{color:#fca5a5;background:#ef444429;border-color:#fca5a542}.dark .task-due-pill.today{color:#fdba74;background:#f9731629;border-color:#fdba7442}.dark .task-due-pill.scheduled{color:#93c5fd;background:#3b82f629;border-color:#93c5fd42}.task-context-chip{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chronological-task-item .task-description{color:hsl(var(--muted-foreground));overflow-wrap:anywhere;max-height:3.1em;margin:0;font-size:.9rem;line-height:1.5;overflow:hidden}.chronological-task-item .task-labels{flex-wrap:wrap;gap:6px;display:flex}.chronological-task-item .label{background:hsl(var(--muted));color:hsl(var(--muted-foreground));border:1px solid hsl(var(--border));border-radius:12px;padding:4px 8px;font-size:.75rem;font-weight:500}.task-control-grid{grid-template-columns:minmax(150px,1.05fr) minmax(128px,.85fr) minmax(150px,1fr);gap:10px;min-width:0;display:grid}.task-control{flex-direction:column;gap:5px;min-width:0;display:flex}.task-control>span{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:.72rem;font-weight:800}.task-save-state{color:hsl(var(--muted-foreground));font-size:.8rem;font-weight:700}.task-detail-panel{border-top:1px solid hsl(var(--border));flex-direction:column;gap:10px;padding-top:10px;display:flex}.project-selector{align-items:center;gap:8px;display:flex;position:relative}.project-select{background:hsl(var(--secondary));border:1px solid hsl(var(--border));color:hsl(var(--foreground));cursor:pointer;border-radius:6px;width:100%;min-width:0;padding:8px 10px;font-size:.86rem;transition:all .2s}.project-select:hover:not(:disabled){background:hsl(var(--accent));border-color:hsl(var(--ring))}.project-select:disabled{opacity:.6;cursor:not-allowed}.priority-selector{align-items:center;gap:8px;display:flex;position:relative}.priority-select{background:hsl(var(--secondary));border:1px solid hsl(var(--border));color:hsl(var(--foreground));cursor:pointer;border-radius:6px;width:100%;min-width:0;padding:8px 10px;font-size:.86rem;transition:all .2s}.priority-select:hover:not(:disabled){background:hsl(var(--accent));border-color:hsl(var(--ring))}.priority-select:disabled{opacity:.6;cursor:not-allowed}.due-string-input{border:1px solid hsl(var(--border));background:hsl(var(--secondary));width:100%;min-width:0;color:hsl(var(--foreground));border-radius:6px;padding:8px 10px;font-size:.86rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,background-color .2s}.due-string-input:hover:not(:disabled){background:hsl(var(--accent));border-color:hsl(var(--ring))}.due-string-input:focus,.project-select:focus,.priority-select:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsla(var(--ring) / .22);outline:none}.due-string-input:disabled{opacity:.6;cursor:not-allowed}.updating-indicator{color:#6c757d;font-size:.8rem;font-weight:600;animation:1.5s ease-in-out infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.error-message{color:#721c24;background:#f8d7da;border:1px solid #f5c6cb;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:24px;padding:16px 20px;display:flex}.error-message span,.success-message span{align-items:center;gap:8px;min-width:0;display:inline-flex}.error-message button{color:#721c24;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:24px;height:24px;padding:0;font-size:1.2rem;display:flex}.success-message{color:#155724;background:#d4edda;border:1px solid #c3e6cb;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:24px;padding:16px 20px;display:flex}.success-message button{color:#155724;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;width:24px;height:24px;padding:0;font-size:1.2rem;display:flex}.duplicates-section{max-width:1200px;margin-top:32px;margin-left:auto;margin-right:auto}.duplicates-section h2{color:#856404;text-align:center;margin-bottom:16px;font-size:1.8rem;font-weight:600}.section-description{color:#6c757d;text-align:center;margin-bottom:24px;font-size:1rem;line-height:1.5}.dark .section-description{color:hsl(var(--muted-foreground))}.themes-section{margin-top:32px}.themes-section h2{color:#2c3e50;text-align:center;margin-bottom:24px;font-size:1.8rem;font-weight:600}.themes-grid{flex-direction:column;gap:24px;max-width:1200px;margin-left:auto;margin-right:auto;display:flex}.empty-state{text-align:center;background:hsl(var(--card));border-radius:12px;padding:60px 20px;transition:background-color .3s;box-shadow:0 2px 8px #0000001a}.dark .empty-state{box-shadow:0 2px 8px #0000004d}.empty-state h3{color:hsl(var(--muted-foreground));margin-bottom:12px;font-size:1.5rem}.section-title,.empty-state-title{justify-content:center;align-items:center;gap:10px;display:inline-flex}.section-title{width:100%}.empty-state p{color:hsl(var(--muted-foreground));max-width:500px;margin:0 auto;font-size:1.1rem}@media (width<=768px){.app-header{padding:10px 0}.app-header h1{font-size:1.25rem}.app-header p{font-size:.8rem}.app-main{padding:20px 0 228px}.mobile-command-bar{grid-template-columns:1fr;gap:8px;width:auto;padding:10px;bottom:10px;left:10px;right:10px;transform:none;box-shadow:0 12px 34px #0f172a38}.mobile-command-bar.tabs-only{display:grid}.mobile-command-task{padding:0 2px}.mobile-command-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.mobile-command-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.mobile-command-bar button{min-height:44px;padding:6px 4px}.controls-section{padding:16px}.work-queue-panel{grid-template-columns:1fr;padding:14px}.work-queue-content{grid-template-columns:1fr}.work-queue-heading h2{font-size:1.2rem}.queue-focus-task{flex-direction:column;align-items:stretch}.queue-focus-actions{justify-content:stretch}.queue-action{flex:112px;min-height:44px}.controls-row{gap:12px}.view-mode-and-checkbox{flex:1;justify-content:center;gap:12px;min-width:100%}.action-buttons{flex:1;justify-content:center;min-width:100%;margin-left:0}.view-tab-text{display:none}.view-tab{min-width:44px;padding:12px}.auto-refresh-text{display:none}.auto-refresh-control{white-space:normal}.stats{justify-content:center;gap:24px}.themes-grid{gap:16px;max-width:100%}.duplicates-section{max-width:100%}.container{padding:0 16px}.chronological-task-item{padding:0}.task-card-topline{grid-template-columns:1fr;gap:10px}.task-control-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.task-control-due{grid-column:1/-1}}@media (width<=480px){.app-header{padding:8px 0}.app-header h1{font-size:1.1rem}.app-header p{font-size:.75rem}.controls-section{padding:12px}.mobile-command-bar{padding:8px;bottom:6px;left:6px;right:6px}.mobile-command-actions,.mobile-command-tabs{gap:5px}.work-queue-panel{gap:12px;padding:12px}.queue-meta-line{gap:6px}.queue-stat-grid{gap:8px}.queue-stat{min-height:68px;padding:10px}.queue-stat strong{font-size:1.35rem}.controls-row{gap:8px}.view-mode-and-checkbox{justify-content:center;gap:8px}.action-buttons{gap:8px}.view-tab{min-width:40px;padding:10px}.stat-number{font-size:1.5rem}.btn{min-width:40px;padding:10px;font-size:.9rem}.chronological-task-item{padding:0}.task-priority-rail{flex-basis:4px;width:4px}.task-card-body{gap:10px;padding:12px}.task-status-row{gap:5px}.task-state-pill,.task-due-pill,.task-context-chip,.task-retained-pill{min-height:22px;padding:3px 7px;font-size:.7rem}.task-text{font-size:.98rem}.project-select,.priority-select,.due-string-input{min-height:40px;padding:7px 9px;font-size:.82rem}}@media (width<=380px){.container{padding:0 10px}.task-card-body{padding:10px}.task-control-grid{grid-template-columns:1fr}.task-control-due{grid-column:auto}}.analysis-progress{color:#6c757d;margin:16px 0 0;font-size:1rem;font-weight:500}.filters-section{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:8px;gap:10px;margin-bottom:12px;padding:10px;transition:background-color .3s;display:grid}.filters-section.is-collapsed{padding:6px}.filters-toolbar{justify-content:space-between;align-items:center;gap:12px;display:flex}.filters-collapse-toggle{flex:auto;grid-template-columns:auto auto minmax(0,1fr) auto auto}.filters-content{gap:12px;display:grid}.filters-title-block{flex:auto;gap:4px;min-width:0;display:grid}.filters-kicker{color:hsl(var(--muted-foreground));text-transform:uppercase;align-items:center;gap:6px;font-size:.78rem;font-weight:800;line-height:1;display:inline-flex}.filters-title-block strong{color:hsl(var(--foreground));white-space:nowrap;font-size:1.15rem;line-height:1.15}.filters-retained-task{color:#0f766e;background:#14b8a61f;border:1px solid #14b8a657;border-radius:999px;align-items:center;width:fit-content;padding:3px 8px;font-size:.72rem;font-weight:800;line-height:1;display:inline-flex}.dark .filters-retained-task{color:#99f6e4;background:#14b8a629;border-color:#5eead44d}.filter-toolbar-actions{flex-wrap:wrap;flex:none;justify-content:flex-end;gap:7px;display:flex}.filter-reset-button{border:1px solid hsl(var(--border));background:hsl(var(--secondary));min-height:34px;color:hsl(var(--secondary-foreground));cursor:pointer;border-radius:6px;flex:none;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:.82rem;font-weight:800;display:inline-flex}.filter-reset-button:hover:not(:disabled){background:hsl(var(--accent));border-color:hsl(var(--ring))}.filter-reset-button:disabled{opacity:.55;cursor:not-allowed}.btn-small{padding:6px 12px;font-size:.875rem}.filter-presets{flex-wrap:wrap;gap:7px;display:flex}.filter-preset{border:1px solid hsl(var(--border));background:hsl(var(--background));min-height:32px;color:hsl(var(--muted-foreground));cursor:pointer;border-radius:999px;padding:6px 10px;font-size:.8rem;font-weight:800}.filter-preset:hover{background:hsl(var(--accent));color:hsl(var(--accent-foreground))}.filter-preset.active{color:#0f766e;background:#ccfbf1;border-color:#0f766e59}.dark .filter-preset.active{color:#99f6e4;background:#14b8a629;border-color:#5eead447}.filters-grid{grid-template-columns:minmax(220px,1.4fr) repeat(4,minmax(130px,1fr));align-items:end;gap:10px;display:grid}.filter-group-search{grid-column:span 2}.filter-group{flex-direction:column;gap:6px;min-width:0;display:flex}.filter-group label{color:hsl(var(--muted-foreground));text-transform:uppercase;align-items:center;gap:6px;font-size:.74rem;font-weight:800;line-height:1;display:inline-flex}.filter-select,.filter-input{border:1px solid hsl(var(--border));background-color:hsl(var(--secondary));width:100%;min-width:0;min-height:40px;color:hsl(var(--foreground));border-radius:6px;padding:8px 10px;font-size:.86rem;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,background-color .2s}.filter-select:hover,.filter-input:hover{background-color:hsl(var(--accent));border-color:hsl(var(--ring))}.filter-select:focus,.filter-input:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsla(var(--ring) / .25);outline:none}.filter-input::placeholder{color:hsl(var(--muted-foreground));opacity:1}.saved-filter-row{flex-wrap:wrap;align-items:center;gap:7px;min-width:0;display:flex}.saved-filter-label{border:1px solid hsl(var(--border));background:hsl(var(--muted));min-height:24px;color:hsl(var(--muted-foreground));border-radius:999px;align-items:center;padding:3px 8px;font-size:.72rem;font-weight:800;display:inline-flex}.saved-filter-chip{color:#0f766e;background:#ccfbf1;border:1px solid #0f766e42;border-radius:999px;max-width:100%;display:inline-flex;overflow:hidden}.dark .saved-filter-chip{color:#99f6e4;background:#14b8a629;border-color:#5eead447}.saved-filter-chip button{min-width:0;min-height:28px;color:inherit;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:4px 8px;font-size:.75rem;font-weight:800;display:inline-flex}.saved-filter-chip button:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.saved-filter-remove{flex:none;border-left:1px solid #0f766e33!important}.active-filters{border-top:1px solid hsl(var(--border));flex-wrap:wrap;align-items:center;gap:7px;min-width:0;padding-top:10px;display:flex}.active-filters-label{border:1px solid hsl(var(--border));background:hsl(var(--muted));min-height:24px;color:hsl(var(--muted-foreground));border-radius:999px;align-items:center;padding:3px 8px;font-size:.72rem;font-weight:800;display:inline-flex}.filter-tag{color:#1d4ed8;background-color:#dbeafe;border:1px solid #2563eb47;border-radius:999px;align-items:center;gap:6px;min-width:0;max-width:100%;padding:4px 7px 4px 9px;font-size:.75rem;font-weight:800;line-height:1.1;display:inline-flex}.dark .filter-tag{color:#93c5fd;background-color:#3b82f629;border-color:#93c5fd3d}.filter-tag button{width:18px;height:18px;color:inherit;cursor:pointer;background:#ffffff73;border:1px solid #0000;border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0;transition:background-color .15s ease-in-out;display:inline-flex}.filter-tag button:hover{background-color:#ffffffbf}.bulk-action-bar{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:8px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;padding:12px;display:flex}.bulk-action-summary{gap:2px;min-width:0;display:grid}.bulk-action-summary strong{color:hsl(var(--foreground));font-size:.95rem;line-height:1.2}.bulk-action-summary span{color:hsl(var(--muted-foreground));font-size:.78rem;font-weight:700}.bulk-action-buttons{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.bulk-action-buttons button,.bulk-preview-actions button,.bulk-preview-header button,.automation-status-header button{border:1px solid hsl(var(--border));background:hsl(var(--secondary));min-height:36px;color:hsl(var(--secondary-foreground));cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:7px 10px;font-size:.82rem;font-weight:800;display:inline-flex}.bulk-action-buttons button:hover:not(:disabled),.bulk-preview-actions button:hover:not(:disabled),.bulk-preview-header button:hover:not(:disabled),.automation-status-header button:hover:not(:disabled){background:hsl(var(--accent));border-color:hsl(var(--ring))}.bulk-action-buttons .bulk-danger,.bulk-confirm{color:#fff!important;background:#15803d!important;border-color:#15803d!important}.bulk-preview-backdrop{z-index:80;background:#0f172a7a;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.bulk-preview-dialog{border:1px solid hsl(var(--border));background:hsl(var(--card));width:min(640px,100%);max-height:min(720px,100vh - 36px);color:hsl(var(--foreground));border-radius:8px;gap:14px;padding:16px;display:grid;overflow:hidden;box-shadow:0 24px 80px #0f172a52}.bulk-preview-header,.automation-status-header{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.bulk-preview-header>div,.automation-status-header>div{gap:3px;min-width:0;display:grid}.bulk-preview-header span,.automation-status-header span{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:.74rem;font-weight:800}.bulk-preview-header h2{margin:0;font-size:1.25rem;line-height:1.2}.bulk-preview-summary{color:hsl(var(--muted-foreground));flex-wrap:wrap;gap:8px;font-size:.88rem;display:flex}.merge-primary-picker{border:1px solid hsl(var(--ring) / .35);background:hsl(var(--accent) / .45);border-radius:8px;gap:7px;padding:12px;display:grid}.merge-primary-picker label{color:hsl(var(--foreground));letter-spacing:0;font-size:.82rem;font-weight:850}.merge-primary-picker select{border:1px solid hsl(var(--border));background:hsl(var(--background));width:100%;min-height:42px;color:hsl(var(--foreground));font:inherit;border-radius:8px;padding:0 12px;font-size:.9rem;font-weight:750}.merge-primary-picker p{color:hsl(var(--muted-foreground));margin:0;font-size:.78rem;font-weight:700;line-height:1.35}.bulk-preview-list{gap:8px;max-height:340px;padding-right:2px;display:grid;overflow:auto}.bulk-preview-task{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:8px;gap:3px;padding:10px;display:grid}.bulk-preview-task.merge-primary{border-color:hsl(var(--ring));box-shadow:inset 4px 0 0 hsl(var(--ring));background:hsl(var(--ring) / .12)}.calendar-slot-dialog{width:min(720px,100%)}.calendar-slot-list{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:8px;max-height:360px;padding-right:2px;display:grid;overflow:auto}.calendar-slot-warning{border:1px solid hsl(var(--ring) / .35);background:hsl(var(--ring) / .08);color:hsl(var(--foreground));border-radius:8px;gap:6px;padding:12px;display:grid}.calendar-slot-warning.blocking{border-color:hsl(var(--destructive) / .55);background:hsl(var(--destructive) / .1)}.calendar-slot-warning strong{font-size:.9rem;line-height:1.25}.calendar-slot-warning span{color:hsl(var(--muted-foreground));font-size:.82rem;font-weight:750;line-height:1.4}.calendar-slot-option{border:1px solid hsl(var(--border));background:hsl(var(--background));min-height:82px;color:hsl(var(--foreground));text-align:left;cursor:pointer;border-radius:8px;gap:4px;padding:10px;transition:border-color .2s,background-color .2s,transform .2s;display:grid}.calendar-slot-option:hover:not(:disabled){border-color:hsl(var(--ring));background:hsl(var(--ring) / .12);transform:translateY(-1px)}.calendar-slot-option.is-today{border-color:hsl(var(--ring));background:linear-gradient(180deg, hsl(var(--ring) / .12), hsl(var(--background)) 60%);box-shadow:inset 0 0 0 1px hsl(var(--ring) / .75), 0 0 0 2px hsl(var(--ring) / .08)}.calendar-slot-option.is-today span{color:hsl(var(--ring))}.calendar-slot-option:disabled{cursor:wait;opacity:.65}.calendar-slot-option span,.calendar-slot-option small{color:hsl(var(--muted-foreground));letter-spacing:0;text-transform:uppercase;font-size:.74rem;font-weight:800}.calendar-slot-option strong{font-size:1.05rem;line-height:1.15}.calendar-slot-empty{border:1px solid hsl(var(--border));background:hsl(var(--muted) / .35);border-radius:8px;gap:5px;padding:14px;display:grid}.calendar-slot-empty span{color:hsl(var(--muted-foreground));font-size:.84rem;font-weight:700;line-height:1.4}.bulk-preview-task span{color:hsl(var(--foreground));overflow-wrap:anywhere;font-size:.92rem;font-weight:800;line-height:1.25}.bulk-preview-task small{color:hsl(var(--muted-foreground));font-size:.78rem;font-weight:700}.bulk-preview-actions{justify-content:flex-end;gap:8px;display:flex}.suggestion-evidence{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:8px;gap:7px;padding:10px;display:grid}.suggestion-evidence span{color:hsl(var(--muted-foreground));text-transform:uppercase;font-size:.72rem;font-weight:800}.suggestion-evidence ul{color:hsl(var(--foreground));gap:4px;margin:0;padding-left:18px;font-size:.82rem;line-height:1.35;display:grid}.automation-status-panel{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:8px;gap:12px;max-width:1200px;margin:0 auto 18px;padding:14px;display:grid}.automation-status-header strong{color:hsl(var(--foreground));font-size:1.05rem;line-height:1.2}.automation-status-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.automation-status-grid span,.automation-history{border:1px solid hsl(var(--border));background:hsl(var(--background));min-width:0;color:hsl(var(--muted-foreground));border-radius:8px;gap:4px;padding:10px;font-size:.76rem;font-weight:800;display:grid}.automation-status-grid strong,.automation-history strong{color:hsl(var(--foreground));overflow-wrap:anywhere;font-size:.9rem}.automation-history span{color:hsl(var(--muted-foreground));font-size:.86rem;font-weight:700}@media (width<=1100px){.filters-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-group-search{grid-column:span 2}}@media (width<=768px){.filters-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-group-search{grid-column:1/-1}.filter-presets{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.filter-preset{width:100%}.bulk-action-bar{flex-direction:column;align-items:stretch}.bulk-action-buttons{grid-template-columns:repeat(3,minmax(0,1fr));width:100%;display:grid}.bulk-action-buttons button{min-width:0;min-height:44px;padding:7px 6px}.automation-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=480px){.filters-section{padding:12px}.filters-toolbar{flex-direction:column;align-items:stretch}.filter-toolbar-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.filter-reset-button{width:100%}.filters-grid{grid-template-columns:1fr}.filter-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-group-search{grid-column:auto}.active-filters{align-items:flex-start}.bulk-action-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-preview-backdrop{align-items:flex-end;padding:8px}.bulk-preview-dialog{max-height:calc(100vh - 16px)}.bulk-preview-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.automation-status-grid{grid-template-columns:1fr}}@media (width<=340px){.filter-presets{grid-template-columns:1fr}}.task-name-suggestion{background-color:hsl(var(--card));border:1px solid hsl(var(--border));color:hsl(var(--card-foreground));border-radius:8px;margin-top:16px;padding:16px;transition:all .2s}.suggestion-content{flex-direction:column;gap:12px;display:flex}.suggestion-content label{color:hsl(var(--foreground));font-size:14px;font-weight:600}.suggestion-textarea{border:1px solid hsl(var(--border));resize:vertical;background-color:hsl(var(--background));width:100%;min-height:60px;color:hsl(var(--foreground));border-radius:6px;padding:12px;font-family:inherit;font-size:14px;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.suggestion-textarea:focus{border-color:hsl(var(--ring));box-shadow:0 0 0 2px hsla(var(--ring) / .25);outline:none}.suggestion-actions{flex-wrap:wrap;gap:8px;display:flex}.btn-small{cursor:pointer;border:none;border-radius:4px;padding:6px 12px;font-size:12px;font-weight:500;transition:all .2s}.btn-small:disabled{opacity:.6;cursor:not-allowed}.btn-small.btn-success{color:#fff;background-color:#28a745}.btn-small.btn-success:hover:not(:disabled){background-color:#218838}.btn-small.btn-secondary{color:#fff;background-color:#6c757d}.btn-small.btn-secondary:hover:not(:disabled){background-color:#5a6268}@media (width<=768px){.suggestion-actions{flex-direction:column}.suggestion-actions .btn-small{width:100%}}
