#tasks-section.factory-only{display:block;max-width:none}.task-page-tabs{display:flex;gap:10px;margin-bottom:20px}.task-page-tabs button{padding:10px 20px;border:1px solid #d5e3e8;border-radius:7px;background:#fff;color:#75909b;font:inherit;cursor:pointer}.task-page-tabs button.selected{background:#193f4b;color:white;border-color:#193f4b}.task-people{display:flex;gap:40px;flex-wrap:wrap;margin:12px 0}.task-people>div{display:grid;gap:7px;min-width:145px;font-size:12px;color:#839aa4}.task-people small{margin:0}.task-person{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#375b68}.task-person img{border-radius:50%;object-fit:cover}.task-note-label{display:flex;align-items:start;gap:10px;font-size:12px;color:#8aa0aa}.task-note-label textarea{flex:1;min-width:0;border:1px solid transparent;border-radius:5px;padding:6px 8px;background:#f7fafb;font:inherit;color:#406471;resize:vertical}.task-note-label textarea:focus{border-color:#c7dce5;background:white;outline:0}.task-note-state{font-size:10px;color:#8ba398;display:block;margin:4px 0 0 38px;min-height:12px}.task-note-conflict{padding:10px;background:#fff8e7;font-size:12px}.task-note-conflict pre{white-space:pre-wrap;font:inherit}#task-dialog select{padding:10px;border:1px solid #d6e1e5;border-radius:5px;font:inherit;color:#284c59}@media(max-width:700px){.task-people{gap:14px}.task-people>div{min-width:120px}}
#tasks-section .task-page-tabs{align-items:center;gap:12px;margin:0 0 20px}#tasks-section .task-page-tabs h2{font-size:24px;color:#153b48;margin:0 16px 0 0}#tasks-section .task-page-tabs button{padding:7px 16px;font-size:13px;color:#315d6a;background:#fff;border:1px solid #d6e3e9}#tasks-section .task-page-tabs button span{margin-left:12px;color:#8ea5af;font-size:11px}#tasks-section .task-column{margin-bottom:22px;border-radius:11px;box-shadow:0 3px 12px #12323d05}#tasks-section .task-column>header{padding:12px 18px;background:linear-gradient(105deg,#153b47,#24565a);color:white;border:0}#tasks-section .task-column h2{color:white;font-size:16px;margin:0}#tasks-section .task-column header>div{display:flex;align-items:center;gap:18px}#tasks-section .task-column header span{color:#b6d0d7}#tasks-section .task-column header button{padding:6px 12px;min-height:30px}#tasks-section .task-list{padding:0}#tasks-section .task-card,.task-grid-head{display:grid;grid-template-columns:24px minmax(200px,1.5fr) 125px 145px 140px minmax(150px,1.8fr) 40px;gap:14px;align-items:center;padding:10px 18px;margin:0;border-bottom:1px solid #e5edf1;min-width:900px}#tasks-section .task-card{min-height:36px}#tasks-section .task-card:nth-child(even){background:#f8fafb}.task-grid-head{font-size:11px;color:#89a2ad;background:#f0f6f8;padding-top:9px;padding-bottom:9px}.task-content-details summary{display:block;font-size:13px;font-weight:600;color:#244753;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.task-content-details summary::-webkit-details-marker{display:none}.task-content-details p{white-space:pre-wrap;font-size:12px;margin:6px 0}.task-content-details[open] summary{white-space:normal}#tasks-section .task-person img{width:24px;height:24px}#tasks-section .task-person{font-size:12px;gap:6px}#tasks-section .task-time{font-size:11px;color:#8ba1ab;font-variant-numeric:tabular-nums}#tasks-section .task-note-cell{position:relative}#tasks-section .task-note-cell textarea{height:32px;min-height:32px;max-height:160px;box-sizing:border-box;width:100%;border:1px solid transparent;border-radius:5px;background:#f3f7f9;padding:7px 9px;font:inherit;font-size:12px;color:#466b79;resize:vertical}#tasks-section .task-note-cell textarea:focus{border-color:#bfd6df;background:#fff;outline:none}#tasks-section .task-note-state{margin:0;min-height:0;font-size:9px}.task-assignee-picker>label{margin-bottom:8px!important}.task-assignee-picker details{border:1px solid #d6e1e5;border-radius:6px}.task-assignee-picker summary{display:flex;align-items:center;justify-content:space-between;padding:10px;cursor:pointer}.task-assignee-menu{max-height:220px;overflow:auto;border-top:1px solid #e1eaee;padding:8px}.task-assignee-menu>button{display:flex;align-items:center;width:100%;padding:6px 8px;border:0;background:#fff;color:#4e7382;text-align:left;cursor:pointer}.task-assignee-menu>button:hover{background:#f0f5f7}.task-assignee-menu>button[hidden]{display:none}.task-assignee-menu>input{box-sizing:border-box;width:100%;padding:7px!important;margin-bottom:6px}.task-assignee-menu .task-person img{width:24px;height:24px}#task-dialog label[hidden]{display:none}#tasks-section .task-column{overflow:auto}@media(max-width:600px){#tasks-section .task-page-tabs{flex-wrap:wrap}#tasks-section .task-page-tabs h2{font-size:20px}#tasks-section .task-column>header{min-width:864px}}

#tasks-section .task-card,.task-grid-head{grid-template-columns:42px minmax(160px,220px) 105px 88px 105px minmax(160px,1fr) 185px;gap:10px;min-width:1020px}#tasks-section .task-row-actions{display:flex;gap:5px;align-items:center;justify-content:flex-end}.task-leading{display:flex;align-items:center;gap:5px}.task-drag-handle{border:0;background:transparent;color:#9eb2bc;font-size:21px;padding:0;cursor:grab;touch-action:none}.task-action{font:inherit;font-size:11px;padding:6px 7px;border:1px solid #d8e5ea;background:#fff;border-radius:5px;color:#688996;white-space:nowrap;cursor:pointer}.task-action.complete-active,.task-action.close-ready{color:#6a863f;background:#f2f7e9;border-color:#cbdca9;font-weight:700}.task-action.close:disabled{cursor:default;color:#a5b4ba;background:#f5f7f8}.task-action.close-ready{animation:taskClosePulse 1.2s ease-in-out infinite}.task-action.urgent-active{color:#be5059;border-color:#ecc7cc}.task-status{font-size:10px;line-height:1.3;color:#7e949d}.task-status.pending{color:#9a7a31}.task-status.closed{padding:5px 7px;border-radius:5px;background:#eef2f3;color:#607881}.task-card.closed{opacity:.82}.task-completed>summary,.task-closed>summary,.task-deleted>summary{padding:11px 18px;background:#f2f6f8;color:#829ca7;font-size:12px;cursor:pointer;border-top:1px solid #dce7eb}.task-completed>summary span,.task-closed>summary span,.task-deleted>summary span{margin-left:8px}.task-closed>summary{background:#eef3f2;color:#718b82}.task-deleted>summary{background:#f6f7f8;color:#a0abb0}.task-urgent{position:relative;animation:taskUrgentPulse 1.7s ease-in-out infinite;box-shadow:inset 0 0 0 2px #d56470}.task-dragging{opacity:.45}.task-drop-before{border-top:3px solid #94b960!important}.task-context-menu{position:fixed;z-index:10000;background:#fff;border:1px solid #d3e2e9;border-radius:8px;box-shadow:0 8px 25px #163c4926;padding:6px;min-width:160px}.task-context-menu[hidden]{display:none}.task-context-menu button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:9px 12px;font:inherit;font-size:13px;color:#456977;cursor:pointer}.task-context-menu button:hover{background:#f1f6f8}.task-context-menu button.danger{color:#b45660}@keyframes taskUrgentPulse{50%{box-shadow:inset 0 0 0 2px #ebadb4;background:#fff4f5}}@keyframes taskClosePulse{50%{background:#bdda70;border-color:#99b657;box-shadow:0 0 0 3px #bdda7040}}@media(prefers-reduced-motion:reduce){.task-action.close-ready{animation:none}}@media(pointer:coarse){.task-action{min-height:36px;padding:7px 10px}.task-row-actions{gap:6px}#tasks-section .task-card{min-height:44px}}#metrics .metric:nth-child(5) .metric-number{color:#be5059}

.task-pointer-dragging,.task-pointer-dragging *{user-select:none!important;cursor:grabbing!important}#tasks-section .task-drag-ghost{position:fixed;z-index:10001;pointer-events:none!important;box-sizing:border-box;opacity:.94!important;box-shadow:0 10px 30px #12374330;background:#fff!important;border:1px solid #bfd6df;border-radius:7px;margin:0;animation:none!important}.task-insertion-line{position:fixed;height:3px;z-index:10002;background:#a6c757;pointer-events:none;box-shadow:0 0 0 1px #fff}#tasks-section .task-card:not(.task-drag-ghost) .task-text{cursor:grab}.task-drag-handle{min-width:20px;min-height:28px;touch-action:none;-webkit-touch-callout:none}.task-leading{touch-action:none}

#tasks-section .task-card,.task-grid-head{grid-template-columns:42px minmax(160px,220px) 105px 88px 125px minmax(160px,1fr) 150px}.task-receiver-button{display:flex;align-items:center;gap:6px;border:0;padding:4px 0;background:transparent;color:#688592;font:inherit;font-size:11px;cursor:pointer;max-width:125px}.task-receiver-button:disabled{cursor:default;opacity:1}.task-avatar-stack{display:flex;flex-shrink:0;padding-left:0}.task-avatar-stack img{border-radius:50%;object-fit:cover;border:2px solid #fff;width:24px;height:24px;box-sizing:border-box}.task-avatar-stack img+img{margin-left:-9px}.task-receiver-names{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.task-extra-receivers{font-size:10px;color:#8da1aa}.task-receiver-dialog{width:420px;max-width:90vw;max-height:80vh;overflow:auto;padding:22px;border:1px solid #d5e3e9;border-radius:12px}.task-receiver-dialog h2{font-size:20px}.task-receiver-choices{max-height:50vh;overflow:auto}.task-receiver-choice{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;padding:7px 9px;margin:0!important;cursor:pointer}.task-receiver-choice[hidden]{display:none!important}.task-receiver-choice input{width:16px!important;padding:0!important;accent-color:#99b657}.task-receiver-choice .task-person img{width:24px;height:24px}.task-receiver-search{width:100%;box-sizing:border-box;border:1px solid #d5e3e9;border-radius:6px;padding:9px;margin:8px 0;font:inherit}.task-receiver-dialog .dialog-bottom{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid #e1eaef;padding-top:16px;margin-top:14px}

#metrics .header-alert .metric-number{color:#c34855!important}#metrics .header-alert-active .metric-number,#metrics .header-alert-active .metric-label{color:#c34855!important;display:inline-block;transform-origin:center;animation:headerAlertPulse 2s ease-in-out infinite}@keyframes headerAlertPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.045)}}@media(prefers-reduced-motion:reduce){#metrics .header-alert-active .metric-number,#metrics .header-alert-active .metric-label{animation:none}}

#tasks-section .task-card,.task-grid-head{grid-template-columns:38px minmax(130px,180px) 92px 83px 110px minmax(150px,1fr) minmax(150px,1fr) 145px;gap:8px;min-width:1070px}#tasks-section .task-card{padding:5px 14px;min-height:46px}#tasks-section .task-note-cell textarea{height:46px;min-height:46px;padding:5px 7px;line-height:17px;font-size:12px}#tasks-section .task-note-cell textarea[readonly]{background:#f2f5f7;color:#8ba0aa;cursor:default}.sidebar-sync-status{display:flex;align-items:center;gap:8px;margin-top:auto;padding:10px 8px;border-top:1px solid #ffffff12;font-size:11px;color:#aac2c9}.sidebar-sync-status[hidden]{display:none}.sidebar-sync-status:not([hidden])+.user{margin-top:10px}.sidebar-sync-status i{width:7px;height:7px;border-radius:50%;background:#a6c968}.sidebar-sync-status[data-state=synced]{color:#bdd989}.sidebar-sync-status[data-state=syncing]{color:#e4ca7f}.sidebar-sync-status[data-state=syncing] i{background:#e4ca7f;animation:syncStatusPulse 1.3s ease-in-out infinite}.sidebar-sync-status[data-state=error]{color:#e49ca3}.sidebar-sync-status[data-state=error] i{background:#e49ca3}@keyframes syncStatusPulse{50%{opacity:.35}}@media(max-width:800px){.sidebar-sync-status{margin:0;border:0;padding:4px}}
#tasks-section .task-note-cell textarea{height:32px;min-height:32px;padding:7px 9px;line-height:16px}#tasks-section .task-card{min-height:36px;padding:5px 14px}

.task-title-limit{font-size:11px;color:#8fa5ae;font-weight:400}#task-dialog label{margin:12px 0}#task-dialog .task-assignee-picker{margin:12px 0}

#tasks-section .task-card,.task-grid-head{grid-template-columns:38px minmax(130px,180px) 92px 83px 110px minmax(150px,1fr) minmax(150px,1fr) 168px}#tasks-section .task-row-actions{justify-content:flex-start;gap:5px}#tasks-section .task-page-tabs h2{margin-right:0}@media(pointer:coarse){#tasks-section .task-card,.task-grid-head{grid-template-columns:38px minmax(130px,180px) 92px 83px 110px minmax(150px,1fr) minmax(150px,1fr) 145px}}
.header-metrics .header-metric-link{cursor:pointer;border-radius:5px;transition:background .15s}.header-metrics .header-metric-link:hover,.header-metrics .header-metric-selected{background:#f1f6ed}.header-metrics .header-metric-link:focus-visible{outline:2px solid #91ae5b;outline-offset:3px}.header-filter-chip{display:inline-flex;align-items:center;gap:8px;padding:5px 9px;border-radius:5px;background:#edf4e0;color:#67873c;font-size:12px}.header-filter-chip button{border:0;background:transparent;color:inherit;font-size:16px;line-height:1;cursor:pointer}.task-page-tabs{display:flex;align-items:center;gap:12px}
#tasks-section .task-view-filter{display:inline-flex;align-items:center;margin-left:auto;padding:3px;background:#e8eff2;border:1px solid #d7e3e7;border-radius:9px;box-shadow:inset 0 1px 2px #173f4b0a}#tasks-section .task-view-filter button{min-width:96px;padding:7px 14px;border:0;border-radius:6px;background:transparent;color:#68828d;font-size:12px;line-height:1.25;white-space:nowrap}#tasks-section .task-view-filter button:hover{background:#f5f8f9;color:#254f5c}#tasks-section .task-view-filter button.selected{background:#fff;color:#173f4b;border-color:transparent;box-shadow:0 1px 4px #173f4b1c;font-weight:600}#tasks-section .task-view-filter button:focus-visible{outline:2px solid #91ae5b;outline-offset:1px}@media(max-width:700px){#tasks-section .task-page-tabs{align-items:flex-start}#tasks-section .task-view-filter{order:3;width:100%;margin-left:0}#tasks-section .task-view-filter button{flex:1;min-width:0;padding-inline:8px;font-size:11px}}
html[lang=en] #tasks-section .task-card,html[lang=en] .task-grid-head{grid-template-columns:38px minmax(130px,180px) 92px 90px 115px minmax(150px,1fr) minmax(150px,1fr) 205px;min-width:1120px}
.task-search{display:flex;align-items:center;gap:6px;width:230px;height:34px;box-sizing:border-box;padding:0 10px;border:1px solid #d6e3e8;border-radius:7px;background:#fff;color:#8aa0a9}.task-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#315d6a;font:inherit;font-size:12px}.task-search input::placeholder{color:#9aaeb6}.task-language-switch{border:0;background:#edf4da;color:#678238;border-radius:9px;padding:2px 6px;font:inherit;font-size:9px;line-height:1.35;white-space:nowrap;cursor:pointer}.task-text>.task-language-switch{display:block;width:max-content;margin-top:4px}.task-note-cell>.task-language-switch{position:absolute;right:4px;bottom:3px;max-width:92px;overflow:hidden;text-overflow:ellipsis}.task-note-cell:has(>textarea[readonly]+.task-language-switch) textarea{padding-right:88px!important}.task-translation-preview{position:absolute;right:4px;bottom:3px;z-index:12}.task-translation-preview summary{list-style:none;border:0;background:#edf4da;color:#678238;border-radius:9px;padding:2px 6px;font-size:9px;cursor:pointer}.task-translation-preview summary::-webkit-details-marker{display:none}.task-translation-preview p{position:absolute;right:0;top:18px;width:260px;max-width:40vw;margin:0!important;padding:9px 11px;border:1px solid #cddda8;border-radius:7px;background:#fff;color:#365864!important;box-shadow:0 8px 22px #153b4726;white-space:pre-wrap;font-size:11px!important;line-height:1.45;z-index:13}.task-card:has(.task-translation-preview[open]){position:relative;z-index:15}@media(max-width:900px){.task-search{width:190px}.task-translation-preview p{max-width:320px}}@media(max-width:700px){#tasks-section .task-search{order:2;width:calc(100% - 110px);min-width:180px}}
.task-leading{display:grid;grid-template-columns:18px 16px;gap:4px;align-items:center;width:38px}.task-drag-handle,.task-drag-slot{display:block;box-sizing:border-box;width:18px;min-width:18px;height:28px;min-height:28px}.task-drag-handle{line-height:28px}.task-check{display:grid;place-items:center;width:16px;height:28px;margin:0}.task-check input{margin:0}

#tasks-section .task-card{font-family:var(--ui-font);font-size:12px;color:#365864}#tasks-section .task-content-details summary,#tasks-section .task-content-details p,#tasks-section .task-person,#tasks-section .task-receiver-button,#tasks-section .task-time,#tasks-section .task-note-cell textarea{font-family:var(--ui-font);color:#365864}#tasks-section .task-content-details summary{font-size:12px;font-weight:600}#tasks-section .task-content-details p,#tasks-section .task-person,#tasks-section .task-receiver-button,#tasks-section .task-time,#tasks-section .task-note-cell textarea{font-size:12px;font-weight:400}#tasks-section .task-note-cell textarea[readonly]{color:#365864}#tasks-section .task-note-cell textarea::placeholder{color:#8ba0aa;opacity:1}

/* Long task text grows with the row instead of being clipped. */
#tasks-section .task-card{align-items:center;height:auto}
#tasks-section .task-content-details summary,#tasks-section .task-receiver-names{white-space:normal!important;overflow-wrap:anywhere;overflow:visible;text-overflow:clip}
#tasks-section .task-note-cell textarea{height:auto;min-height:32px;max-height:none;overflow:hidden;resize:none;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}
#tasks-section .task-row-actions{flex-wrap:wrap}
/* Keep the fixed canvas width while giving task titles more room. */
#tasks-section .task-card,.task-grid-head{grid-template-columns:38px minmax(200px,250px) 92px 83px 110px minmax(135px,1fr) minmax(135px,1fr) 168px}
html[lang=en] #tasks-section .task-card,html[lang=en] .task-grid-head{grid-template-columns:38px minmax(220px,270px) 92px 90px 115px minmax(135px,1fr) minmax(135px,1fr) 205px;min-width:1120px}
@media(pointer:coarse){#tasks-section .task-card,.task-grid-head{grid-template-columns:38px minmax(200px,250px) 92px 83px 110px minmax(135px,1fr) minmax(135px,1fr) 145px}html[lang=en] #tasks-section .task-card,html[lang=en] .task-grid-head{grid-template-columns:38px minmax(220px,270px) 92px 90px 115px minmax(135px,1fr) minmax(135px,1fr) 175px}}
