.task-workspace{--task-border:#dce5f0;--task-muted:#72809b;color:#142b4c;font-size:13px}.task-view-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.task-view-tabs button{display:flex;align-items:center;gap:9px;border:1px solid var(--task-border);border-radius:24px;background:#fff;color:#233c60;padding:10px 16px;font:inherit;cursor:pointer}.task-view-tabs button.active{background:#15243a;border-color:#15243a;color:#fff}.task-view-tabs button span{font-size:11px;background:#f0f3f8;color:#5e6f87;padding:2px 6px;border-radius:10px}.task-view-tabs button.active span{background:#ffffff24;color:#fff}.task-toolbar{display:grid;grid-template-columns:minmax(220px,2fr) repeat(3,minmax(130px,1fr));gap:12px;margin:0 0 18px}.task-toolbar label,.task-form label,#task-comment-form label{display:grid;gap:7px;font-size:12px}.task-toolbar label>span{font-size:11px;color:#5f728f}.task-toolbar input,.task-toolbar select,.task-form input,.task-form select,.task-form textarea,#task-comment-form textarea{width:100%;min-width:0;border:1px solid #ced8e6;border-radius:9px;padding:11px 12px;background:#fff;color:#17304e;font:inherit;outline-offset:3px}.task-form textarea,#task-comment-form textarea{resize:vertical;line-height:1.7}.task-results{background:#fff;border:1px solid var(--task-border);border-radius:15px;overflow:hidden}.task-results-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 20px;color:#637794;border-bottom:1px solid #edf1f7;font-size:11px}.task-results-heading small{font-size:10px}.task-table-wrap{overflow:auto}.task-table{width:100%;border-collapse:collapse;min-width:900px}.task-table th{background:#f6f8fb;color:#63718a;font-size:10px;font-weight:500;text-align:left;padding:13px 18px;white-space:nowrap}.task-table td{padding:19px 18px;border-bottom:1px solid #edf1f7;vertical-align:middle;font-size:12px}.task-table tbody tr:last-child td{border-bottom:0}.task-title-cell{width:36%;min-width:250px}.task-title-cell>small{display:block;color:#7b88a0;font-size:10px;line-height:1.7}.task-title{display:block;border:0;padding:3px 0;background:none;color:#1c3760;font:inherit;font-size:13px;font-weight:700;text-align:left;cursor:pointer;overflow-wrap:anywhere}.task-title:hover{text-decoration:underline}.task-title-cell p{max-width:370px;color:#71809a;font-size:11px;margin:5px 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.task-person{display:flex;align-items:center;gap:8px}.task-person i{flex-shrink:0;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#edf3ff;font-size:11px;font-style:normal;color:#416bd1}.task-due{font-size:11px;white-space:nowrap}.task-due small{display:block;font-size:10px;margin-top:4px}.task-due.overdue{color:#d14e33}.task-status,.task-priority{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 9px;white-space:nowrap;font-size:10px;line-height:1.4}.task-status i{width:5px;height:5px;border-radius:50%;background:currentColor}.task-status-open{background:#edf3ff;color:#315fc8}.task-status-in_progress{background:#f0eaff;color:#7550b5}.task-status-waiting{background:#fff5df;color:#a37319}.task-status-done{background:#e6f7ee;color:#148458}.task-status-cancelled{background:#f0f2f5;color:#7a8595}.task-priority-urgent{background:#fff0ef;color:#c83f3f}.task-priority-high{background:#fff3e6;color:#b96b21}.task-priority-normal{background:#f0f4f9;color:#5e738b}.task-priority-low{background:#eff6f2;color:#61816d}.task-pagination{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf1f7;padding:14px 20px;font-size:11px;color:#7a89a1}.task-pagination>div{display:flex;gap:8px}.task-empty{text-align:center;padding:50px 20px}.task-empty>svg{width:34px;height:34px;stroke:#829bc4;fill:none;stroke-width:1.4;margin:0 auto 12px}.task-empty h3{font-size:16px}.task-empty p{color:#7b88a0;font-size:12px;margin:10px 0 20px}.task-error{margin:15px 20px;color:#b94437;font-size:12px}.task-form,.task-detail{font-size:13px;color:#1c3656}.task-form{display:grid;gap:18px}.task-form-intro{color:#75839a;font-size:12px;line-height:1.7;margin:0}.task-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.task-form small{color:#7a89a1;font-size:10px}.task-detail-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.task-detail-heading h3{font-size:20px;line-height:1.5;margin:0 0 10px;overflow-wrap:anywhere}.task-detail-heading>div>div{display:flex;gap:8px}.task-detail-meta{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:22px 0;border-bottom:1px solid #e2e9f2;margin-bottom:18px}.task-detail-meta>div{display:grid;gap:6px}.task-detail-meta small{font-size:10px;color:#7a88a0}.task-detail-meta strong{font-size:12px;font-weight:500}.task-linked-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;background:#f5f8fd;border:1px solid #e2eaf5;border-radius:9px;font-size:12px;margin-bottom:15px}.task-linked-note a{margin-left:auto}.task-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;background:#fafbfd;padding:16px;border-radius:10px;color:#526580;margin:18px 0 26px}.task-detail h4{font-size:13px;margin:0 0 20px}.task-timeline{list-style:none;margin:0 0 24px;padding:0}.task-timeline>li{position:relative;border-left:1px solid #e2e8f2;margin-left:5px;padding:0 0 22px 20px;font-size:11px;overflow-wrap:anywhere}.task-timeline>li:last-child{border-color:transparent}.task-timeline-dot{position:absolute;left:-5px;top:3px;width:9px;height:9px;border-radius:50%;border:2px solid #fff;background:#a3b6d2}.task-timeline-dot.comment{background:#3b78e8}.task-timeline-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#6c7e98}.task-timeline-meta strong{font-size:11px;font-weight:600;color:#324c70}.task-timeline-meta time{font-size:9px;flex-shrink:0}.task-timeline p{margin:7px 0 0;line-height:1.8}.task-timeline ul{margin:8px 0 0;padding:0;list-style:none;line-height:1.8}.task-timeline .task-comment-text{white-space:pre-wrap;color:#354f73;background:#f3f7fc;padding:10px 12px;border-radius:8px}.task-dialog-loading{padding:25px;color:#7a89a1}#task-comment-form{display:grid;gap:12px;border-top:1px solid #e2e8f2;padding-top:18px}#task-comment-form>.btn{justify-self:end}.task-form .form-error,#task-comment-form .form-error{margin:0}.task-form [name=title]{font-size:14px}.task-workspace button:focus-visible,.task-title:focus-visible{outline:2px solid #4678f0;outline-offset:3px}
@media(max-width:1100px){.task-toolbar{grid-template-columns:1fr 1fr}.task-table{min-width:800px}.task-table td,.task-table th{padding-left:12px;padding-right:12px}}
@media(max-width:600px){.task-view-tabs{gap:6px}.task-view-tabs button{font-size:11px;padding:9px 12px;gap:6px}.task-toolbar{gap:10px;grid-template-columns:1fr 1fr}.task-search{grid-column:1/-1}.task-toolbar label:last-child{grid-column:1/-1}.task-table,.task-table tbody,.task-table tr{display:block;min-width:0;width:100%}.task-table thead{display:none}.task-table tr{padding:16px;display:grid;grid-template-columns:1fr 1fr;gap:14px;border-bottom:1px solid #e2e8f2}.task-table td{display:block;padding:0;border:0;min-width:0}.task-table .task-title-cell,.task-open-cell{grid-column:1/-1;width:100%;min-width:0}.task-table [data-label]:before{display:block;content:attr(data-label);font-size:9px;color:#8190a5;margin-bottom:6px}.task-results-heading{padding:13px 16px;align-items:flex-start}.task-results-heading small{max-width:100px;text-align:right}.task-title{font-size:14px}.task-due{white-space:normal}.task-form-grid{grid-template-columns:1fr}.task-detail-heading h3{font-size:17px}.task-detail-meta{gap:15px}.task-timeline-meta{align-items:flex-start;flex-direction:column;gap:4px}.task-linked-note a{margin-left:0}.task-detail-heading>.btn{flex-shrink:0}.task-pagination{padding:12px}.task-person{overflow-wrap:anywhere}}

.task-status-in_review{background:#eaf5ff;color:#286f9f}
.task-status-controls{margin:16px 0 18px;padding:13px;border:1px solid #dce7f7;border-radius:12px;background:#f8faff}
.task-status-controls-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.task-status-controls-heading strong{font-size:11px;font-weight:650;color:#48658b}
.task-status-controls-heading>span{font-size:10px;color:#7e91ac;text-align:right}
.task-status-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}
.task-status-choices button{display:flex;justify-content:center;align-items:center;gap:7px;min-width:0;min-height:38px;padding:9px 6px;border:1px solid #dce5f3;border-radius:8px;background:#fff;color:#526b8d;font:inherit;font-size:11px;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s}
.task-status-choices button i{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:currentColor;opacity:.65}
.task-status-choices button:hover:not(:disabled){background:#eef4ff;border-color:#a6c1f5;color:#2563eb}
.task-status-choices button[aria-pressed=true]{background:#2563eb;border-color:#2563eb;color:#fff;box-shadow:0 3px 8px #2563eb1f}
.task-status-choices button:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.task-status-choices button:disabled{cursor:wait;opacity:.6}
.task-status-error{margin:10px 0 0;color:#b42318;font-size:11px;line-height:1.7;overflow-wrap:anywhere}
.task-status-error:empty{display:none}
@media(max-width:600px){.task-status-controls{padding:11px;margin:12px 0 15px}.task-status-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.task-status-choices button{font-size:10px;gap:5px}.task-status-controls-heading>span{font-size:9px;max-width:145px}}
@media(prefers-reduced-motion:reduce){.task-status-choices button{transition:none}}

.task-notes-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.task-detail .task-notes-heading h4{margin:0}
.task-notes-heading .btn{flex-shrink:0;min-height:33px;padding:7px 10px;border-radius:8px;border-color:#d7e5fb;color:#2563eb;background:#f8faff;font-size:10px}
.task-saved-notes{display:grid;gap:9px;margin-top:14px;padding-top:14px;border-top:1px solid #edf1f8}
.task-saved-note{padding:11px 12px;background:#f8faff;border:1px solid #e7edf8;border-radius:9px}
.task-saved-note header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.task-saved-note header strong{font-size:10px;color:#526d90}
.task-saved-note time{font-size:9px;color:#8a9bb2}
.task-saved-note p{margin:7px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;color:#526580}
.task-note-history-link{display:inline-flex;margin-top:12px;font-size:10px}
.task-detail .task-notes-card #task-comment-form{margin-top:15px}
.task-detail #task-comment-form[hidden]{display:none}
.task-notes-card .task-comment-footer{flex-wrap:wrap}
.task-notes-card .task-comment-footer>div{display:flex;gap:8px;margin-left:auto}
.task-notes-card .task-comment-footer .btn{min-height:35px;font-size:11px;border-radius:8px}
.task-notes-card button:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
@media(max-width:600px){.task-notes-card .task-comment-footer>span{max-width:none}.task-notes-card .task-comment-footer>div{width:100%}.task-notes-card .task-comment-footer>div .btn{flex:1}.task-saved-note{padding:10px}.task-saved-note p{font-size:11px}}

/* Compact task editor, scoped to its form so other admin dialogs keep their layout. */
.editor-dialog:has(#task-form){width:min(512px,calc(100vw - 28px));max-height:calc(100dvh - 36px);border:1px solid #e4e7f1;border-radius:17px;background:#fff;box-shadow:0 30px 85px #1a24432e;color:#172238}
.editor-dialog:has(#task-form)::backdrop{background:#20273e77;backdrop-filter:blur(4px)}
.editor-dialog:has(#task-form) .dialog-top{padding:17px 20px;background:#f8f9fc;border-bottom:1px solid #edf0f7;gap:14px}
.editor-dialog:has(#task-form) .dialog-top>div{min-width:0}
.editor-dialog:has(#task-form) .dialog-top .eyebrow{display:none}
.editor-dialog:has(#task-form) .dialog-top h2{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:700;letter-spacing:-.3px;line-height:1.5;color:#172238}
.task-form-header-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border-radius:12px;background:#e8efff;color:#2563eb}
.task-form-header-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.editor-dialog:has(#task-form) .close-button{display:grid;place-items:center;width:30px;height:30px;min-height:0;flex-shrink:0;border:0;border-radius:8px;background:transparent;color:#94a1b8;font-size:23px;line-height:1;font-weight:400;cursor:pointer}
.editor-dialog:has(#task-form) .close-button:hover{background:#edf3ff;color:#1d4ed8}
.editor-dialog:has(#task-form) #editor-content{padding:0}
.editor-dialog:has(#task-form) .task-form{display:block;font-size:13px}
.task-form-body{display:grid;gap:17px;padding:20px}
.editor-dialog:has(#task-form) label{margin:0;min-width:0;gap:6px;font-size:12px;font-weight:600;color:#6f809c}
.editor-dialog:has(#task-form) label>span,.task-priority-field legend{text-transform:uppercase;font-size:11px;font-weight:700;line-height:1.4;letter-spacing:.15px}
.task-note-field em{font-style:normal;font-weight:700}
.editor-dialog:has(#task-form) :is(input,select,textarea){margin:0;padding:10px 12px;min-height:43px;border:1px solid #dde4f2;border-radius:12px;background:#fff;font-size:12px;font-weight:500;color:#1c2434;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.editor-dialog:has(#task-form) :is(input,select,textarea):focus{outline:0;border-color:#7da5f8;box-shadow:0 0 0 2px #2563eb0a}
.editor-dialog:has(#task-form) :is(input,textarea)::placeholder{color:#a1a9b9;font-weight:500;opacity:1}
.editor-dialog:has(#task-form) input[name=title]{font-size:13px}
.editor-dialog:has(#task-form) input[type=datetime-local]{width:100%;min-width:0;padding-right:8px;font-size:11px;color-scheme:light}
.editor-dialog:has(#task-form) input::-webkit-calendar-picker-indicator{width:14px;margin-left:0;cursor:pointer;opacity:.65}
.editor-dialog:has(#task-form) .task-form-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.editor-dialog:has(#task-form) .task-note-field textarea{min-height:83px;max-height:200px;line-height:1.7;resize:vertical}
.task-priority-field{padding:0;border:0;margin:0;min-width:0}
.task-priority-field legend{display:flex;align-items:center;gap:4px;color:#6f809c;margin-bottom:8px;padding:0}
.task-priority-field legend svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.task-priority-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.editor-dialog:has(#task-form) .task-priority-choice{position:relative;display:block;cursor:pointer;isolation:isolate}
.editor-dialog:has(#task-form) .task-priority-choice input{position:absolute;inset:0;z-index:1;width:100%;height:100%;min-height:0;padding:0;opacity:0;cursor:pointer}
.editor-dialog:has(#task-form) .task-priority-choice>span{display:flex;align-items:center;justify-content:center;min-height:39px;border:1px solid #dde4f2;border-radius:11px;background:#fff;color:#6f809c;text-transform:none;font-size:12px;font-weight:700;letter-spacing:0;transition:background .15s,border-color .15s,color .15s}
.task-priority-choice:hover>span{background:#f8faff!important;border-color:#b8cef8!important}
.task-choice-normal input:checked+span{border-color:#efcc55!important;background:#fffbed!important;color:#a5570b!important}
.task-choice-high input:checked+span{border-color:#f0b491!important;background:#fff4ec!important;color:#b55d24!important}
.task-choice-low input:checked+span{border-color:#98d8ba!important;background:#edf9f3!important;color:#28805b!important}
.task-choice-urgent input:checked+span{border-color:#ee9baf!important;background:#fff0f3!important;color:#c24164!important}
.task-priority-choice input:focus-visible+span{outline:2px solid #2563eb;outline-offset:3px}
.task-form-more{border-top:1px solid #edf0f7;padding-top:11px}
.task-form-more summary{display:flex;align-items:center;gap:7px;cursor:pointer;color:#7c89a3;list-style:none;font-size:10px;font-weight:600}
.task-form-more summary::-webkit-details-marker{display:none}
.task-form-more summary:before{content:'+';color:#8e97ae;font-size:15px;font-weight:400;line-height:1}
.task-form-more[open] summary:before{content:'−'}
.task-form-more summary>span{margin-left:auto;color:#a1a9b9;font-size:9px;font-weight:400}
.task-form-more>.task-form-grid{margin-top:14px}
.task-form-more>.task-form-grid>label:last-child:nth-child(odd){grid-column:1/-1}
.task-form-more>p{margin:10px 0 0;font-size:10px;line-height:1.5;color:#93a0b4}
.task-form-order{display:flex;align-items:center;gap:7px;border-radius:8px;background:#f4f7ff;padding:9px 11px;color:#6c7f9f;font-size:11px}
.task-form-order svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}
.task-form-order strong{color:#285dc2}
.task-form-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:20px;border-top:1px solid #edf0f7;background:#fff;position:sticky;bottom:0;z-index:2}
.editor-dialog:has(#task-form) .task-form-footer .btn{width:100%;min-width:0;min-height:42px;justify-content:center;border-radius:11px;font-size:12px;font-weight:700;background:#fff;color:#586780;border:1px solid #dde4f2;box-shadow:none;padding:10px 14px}
.editor-dialog:has(#task-form) .task-form-footer .primary{background:#2563eb;border-color:#2563eb;color:#fff}
.editor-dialog:has(#task-form) .task-form-footer .primary:hover{background:#1d4ed8;border-color:#1d4ed8}
.editor-dialog:has(#task-form) .task-form-footer .btn:focus-visible{outline:2px solid #2563eb;outline-offset:3px}
.editor-dialog:has(#task-form) .task-form-footer .btn:disabled{opacity:.55;cursor:wait}
.editor-dialog:has(#task-form) .form-error{font-size:11px;line-height:1.7;color:#c2414a;overflow-wrap:anywhere}
.editor-dialog:has(#task-form) .form-error:empty{display:none}
@media(max-width:420px){.editor-dialog:has(#task-form){width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px}.editor-dialog:has(#task-form) .dialog-top{padding:16px}.task-form-body{padding:18px 16px;gap:16px}.task-form-footer{padding:16px}.editor-dialog:has(#task-form) .task-form-grid{gap:10px;grid-template-columns:1fr}.editor-dialog:has(#task-form) .task-form-more .task-form-grid{grid-template-columns:1fr 1fr}.task-form-more summary>span{font-size:8px}.task-priority-choices{gap:6px}.editor-dialog:has(#task-form) .task-priority-choice>span{font-size:11px}.editor-dialog:has(#task-form) .dialog-top h2{font-size:14px}}
@media(prefers-reduced-motion:no-preference){.editor-dialog:has(#task-form)[open]{animation:task-form-enter .16s ease-out}@keyframes task-form-enter{from{opacity:0;transform:translateY(6px) scale(.99)}to{opacity:1;transform:none}}}

/* Task detail workspace */
.editor-dialog:has(.task-detail){width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 40px);border:1px solid #dfe7f3;border-radius:18px;background:#f7f9fd;box-shadow:0 28px 90px #1c305733}
.editor-dialog:has(.task-detail)::backdrop{background:#202c4673;backdrop-filter:blur(4px)}
.editor-dialog:has(.task-detail) .dialog-top{padding:15px 22px;background:#fff;border-bottom:1px solid #e6ecf5}
.editor-dialog:has(.task-detail) .dialog-top .eyebrow{display:none}
.editor-dialog:has(.task-detail) .dialog-top h2{display:flex;align-items:center;gap:7px;font-size:14px;line-height:1.5;letter-spacing:-.2px;color:#243e64;font-weight:700}
.editor-dialog:has(.task-detail) .dialog-top h2>small{font-size:12px;font-weight:500;color:#7c8ba4}
.task-detail-header-icon{display:grid;place-items:center;width:34px;height:34px;background:#eaf1ff;color:#2563eb;border-radius:10px;margin-right:3px}
.task-detail svg,.task-detail-header-icon svg,.task-order-backbar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.task-detail-header-icon svg{width:20px;height:20px}
.editor-dialog:has(.task-detail) .close-button{width:29px;height:29px;min-height:0;background:#f2f5fa;color:#8292ab;font-size:21px}
.editor-dialog:has(.task-detail) #editor-content{padding:22px}
.task-detail{color:#1c3558}
.task-detail .task-detail-heading{gap:15px;margin-bottom:20px}
.task-detail-heading .task-detail-tags{display:flex;align-items:center;gap:6px;margin-bottom:11px;flex-wrap:wrap}
.task-detail .task-detail-heading h3{font-size:22px;font-weight:700;line-height:1.5;letter-spacing:-.55px;margin:0}
.task-detail .task-detail-heading>.btn{margin-top:1px;background:#fff;color:#365987;border:1px solid #dce6f4;border-radius:9px;font-size:11px;padding:8px 12px}
.task-detail .task-detail-heading>.btn:hover{background:#edf4ff;border-color:#b9d0f4}
.task-detail-category{padding:4px 8px;border:1px solid #e1e8f2;background:#fff;border-radius:7px;font-size:10px;color:#7b8da6}
.task-detail .task-detail-meta{display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:12px;background:#fff;border:1px solid #e1e8f4;border-radius:12px;padding:16px;margin:0 0 18px}
.task-detail .task-detail-meta>div{display:flex;align-items:flex-start;gap:9px;min-width:0}
.task-detail-meta>div>div{display:grid;gap:5px;min-width:0}
.task-detail .task-detail-meta strong{font-size:11px;font-weight:600;overflow-wrap:anywhere;line-height:1.6}
.task-detail .task-detail-meta small{font-size:9px;line-height:1.6;color:#8492aa}
.task-meta-icon{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;background:#f1f5fd;border-radius:8px;color:#7794be}
.task-meta-icon svg{width:15px;height:15px}
.task-meta-overdue .task-meta-icon{background:#fff3e9;color:#c27b43}
.task-detail .task-overdue-label{color:#bc6b3b!important}
.task-brief-card,.task-updates-card{padding:17px 18px;border:1px solid #e1e8f4;border-radius:12px;background:#fff;margin-bottom:18px;box-shadow:0 2px 4px #1b305803}
.task-detail h4{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:700;color:#345278}
.task-detail h4 svg{color:#8aa1c1;width:15px;height:15px}
.task-detail .task-description{background:none;padding:0;margin:10px 0 0;line-height:1.8;font-size:12px;color:#70819b;border-radius:0}
.task-order-card{margin-bottom:18px;border:1px solid #d7e4f7;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 3px 9px #244d8c05}
.task-order-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 17px;background:linear-gradient(110deg,#f0f5ff,#fafcff);border-bottom:1px solid #e3ebf8}
.task-order-label{display:flex;align-items:center;gap:9px;min-width:0}
.task-order-icon{width:32px;height:32px;border:1px solid #dce7fc;background:#fff;border-radius:10px;color:#5682cb;display:grid;place-items:center;flex-shrink:0}
.task-order-label>div{display:grid;gap:2px;min-width:0}
.task-order-label small{font-size:9px;color:#8799b7}
.task-order-label strong{font-size:13px;color:#28528c;overflow-wrap:anywhere}
.task-order-heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.task-order-heading-actions .badge{font-size:9px}
.task-order-heading-actions .btn{font-size:10px;min-height:32px;gap:6px;border-radius:8px;background:#fff;color:#2c60b6;border-color:#d2e1fa}
.task-order-heading-actions .btn:hover{background:#eaf2ff;border-color:#b8cdf0}
.task-order-heading-actions .btn svg{width:13px;height:13px}
.task-order-customer{display:flex;align-items:flex-start;gap:11px;padding:18px}
.task-customer-avatar{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;background:#eef4ff;border:1px solid #e2eafa;border-radius:50%;color:#4879c2;font-size:14px;font-weight:600}
.task-order-customer>div:last-child{min-width:0;flex:1}
.task-order-customer small{display:block;font-size:9px;color:#91a0b6;margin-bottom:4px}
.task-order-customer strong{display:block;font-size:14px;color:#294971;font-weight:700;overflow-wrap:anywhere}
.task-customer-contact{margin-top:7px}
.task-customer-contact a{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:#386dc1}
.task-customer-contact svg,.task-order-customer address svg{width:12px;height:12px}
.task-order-customer address{display:flex;align-items:flex-start;gap:6px;font-style:normal;line-height:1.8;color:#8293ac;font-size:11px;margin-top:6px;overflow-wrap:anywhere}
.task-order-customer address svg{margin-top:4px}
.task-order-products{padding:0 18px 4px}
.task-order-section-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 2px;border-top:1px solid #edf1f7}
.task-order-section-label strong{font-size:10px;font-weight:600;color:#7890af}
.task-order-section-label>span{font-size:9px;color:#94a2b7}
.task-order-product{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #edf1f7;min-width:0}
.task-order-product:last-child{border-bottom:0}
.task-order-photo{display:grid;place-items:center;flex-shrink:0;width:57px;height:62px;border:1px solid #e6ecf4;border-radius:9px;overflow:hidden;background:#f5f7fb;color:#a7b7cc}
.task-order-photo img{display:block;width:100%;height:100%;object-fit:cover}
.task-order-photo svg{width:23px;height:23px}
.task-order-product-copy{display:grid;gap:4px;flex:1;min-width:0}
.task-order-product-copy strong{font-size:12px;font-weight:600;line-height:1.7;color:#365479;overflow-wrap:anywhere}
.task-order-product-copy small{font-size:10px;color:#8094b0;overflow-wrap:anywhere}
.task-order-product-copy .task-order-sku{font-size:9px;color:#9ca9bb}
.task-order-product-price{font-size:12px;white-space:nowrap;font-weight:600;color:#3b587f;margin-left:auto}
.task-order-card>footer{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;background:#fbfcff;border-top:1px solid #e8eef8;padding:13px 18px}
.task-order-card>footer>div{display:grid;gap:5px;min-width:0}
.task-order-card>footer small{font-size:9px;color:#91a0b7}
.task-order-card>footer strong{font-size:13px;color:#355d97;font-weight:600}
.task-order-card>footer span{font-size:11px;color:#7b8ea9;overflow-wrap:anywhere}
.task-order-unavailable{display:flex;align-items:flex-start;gap:11px;padding:16px;color:#8294ae}
.task-order-unavailable strong{font-size:11px;color:#546d91}
.task-order-unavailable p{font-size:11px;line-height:1.8;margin:5px 0 0}
.task-order-unavailable>svg{margin-top:3px}
.task-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.task-section-heading>span{font-size:9px;white-space:nowrap;padding:3px 7px;background:#f3f6fb;border-radius:6px;color:#91a1b8}
.task-detail .task-timeline{margin:0 0 6px}
.task-detail .task-timeline>li{padding-bottom:19px;border-left-color:#e5ecf7}
.task-detail .task-timeline>li:last-child{border-color:transparent}
.task-detail .task-timeline-meta strong{font-size:10px;color:#526d90}
.task-detail .task-timeline-meta time{font-size:9px;color:#98a6ba}
.task-detail .task-timeline p,.task-detail .task-timeline ul{font-size:11px;color:#8294ad}
.task-detail .task-timeline .task-comment-text{background:#f4f7fd;border:1px solid #e7edf8;color:#607b9f;line-height:1.8}
.task-detail #task-comment-form{padding-top:16px;border-top:1px solid #e8edf6;gap:11px}
.task-detail #task-comment-form label{margin:0;font-size:11px;font-weight:600;color:#66809f}
.task-detail #task-comment-form textarea{margin:2px 0 0;border-radius:10px;min-height:83px;max-height:230px;font-size:12px;border-color:#dde7f5;background:#fcfdff;padding:11px 13px}
.task-detail #task-comment-form textarea::placeholder{color:#a2afc1;font-weight:400}
.task-detail #task-comment-form textarea:focus{outline:0;border-color:#84aaf0;box-shadow:0 0 0 2px #2563eb08;background:#fff}
.task-detail #task-comment-form .form-error:empty{display:none}
.task-comment-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}
.task-comment-footer>span{font-size:9px;color:#a0adc0}
.task-detail .task-comment-footer .primary{border-radius:9px;background:#2563eb;border-color:#2563eb;color:#fff;font-size:11px;min-height:36px;padding:9px 13px}
.task-detail .task-comment-footer .primary:hover{background:#1d4ed8;border-color:#1d4ed8}
.task-comment-footer svg{width:13px;height:13px}
.task-order-backbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;margin-bottom:18px;background:#f1f6ff;border:1px solid #dbe8fc;border-radius:10px}
.task-order-backbar .btn{border-radius:7px;background:#fff;border-color:#d7e4f9;color:#3968aa;font-size:11px;gap:6px}
.task-order-backbar span{color:#849bbb;font-size:10px}
.editor-dialog:has([data-task-order-view]) .dialog-top{background:#f8faff}
@media(max-width:600px){.editor-dialog:has(.task-detail){width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:16px}.editor-dialog:has(.task-detail) .dialog-top{padding:13px 15px}.editor-dialog:has(.task-detail) #editor-content{padding:16px}.task-detail .task-detail-heading h3{font-size:18px;letter-spacing:-.4px}.task-detail .task-detail-heading{gap:10px}.task-detail .task-detail-heading>.btn{font-size:10px;padding:7px 9px}.task-detail .task-detail-heading>.btn svg{width:13px;height:13px}.task-detail .task-detail-meta{grid-template-columns:1fr 1fr;padding:13px;gap:16px}.task-detail .task-detail-meta>div:last-child{grid-column:1/-1}.task-brief-card,.task-updates-card{padding:15px}.task-order-card>header{padding:12px}.task-order-heading-actions{gap:6px}.task-order-heading-actions .badge{font-size:8px;padding:4px 6px}.task-order-heading-actions .btn{font-size:10px;padding:7px 8px}.task-order-customer{padding:15px}.task-order-products{padding:0 15px 3px}.task-order-product{gap:9px;flex-wrap:wrap}.task-order-photo{width:49px;height:55px}.task-order-product-copy strong{font-size:11px}.task-order-product-price{font-size:11px}.task-order-card>footer{grid-template-columns:1fr 1fr;padding:13px 15px;gap:14px}.task-order-card>footer>div:last-child{grid-column:1/-1}.task-detail h4{font-size:11px}.task-section-heading{gap:6px;align-items:flex-start}.task-section-heading h4{line-height:1.7}.task-detail .task-timeline-meta{flex-direction:row;gap:8px}.task-detail .task-timeline-meta time{font-size:8px;max-width:110px;text-align:right}.task-comment-footer>span{max-width:100px;line-height:1.7}.task-order-backbar{align-items:flex-start;flex-direction:column}.task-detail .task-detail-meta>div>div{gap:3px}}

#task-form select[name=assigneeId]{min-height:126px;padding:5px}#task-form select[name=assigneeId] option{padding:9px 10px;border-radius:6px;margin:2px}.task-multi-help{display:block;font-size:10px;line-height:1.7;color:#8b9db5;margin-top:7px}

.task-assignee-checks{max-height:180px;overflow-y:auto;border:1px solid #dce6f6;border-radius:10px;padding:5px;background:#fff}.task-assignee-checks .task-assignee-check{display:flex;align-items:center;gap:10px;padding:10px;margin:0!important;cursor:pointer;border-radius:7px;min-height:40px}.task-assignee-check:has(input:checked){background:#edf4ff}.task-assignee-checks input[type=checkbox]{width:17px!important;height:17px;min-height:0!important;margin:0!important;flex-shrink:0;accent-color:#2563eb}.task-assignee-check span{font-size:12px;color:#3c567c}

.editor-dialog:has(#task-form) .task-form-grid{align-items:start}.editor-dialog:has(#task-form) .task-form-grid>label{align-content:start;grid-auto-rows:max-content}.editor-dialog:has(#task-form) input[type=datetime-local]{height:44px;min-height:44px;max-height:44px;margin:0}.task-assignee-field{min-width:0;display:grid;gap:7px}.task-field-caption{font-size:10px;font-weight:700;letter-spacing:.15px;color:#758baa;text-transform:uppercase}.task-team-picker{position:relative;min-width:0}.task-team-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:44px;border:1px solid #d7e3f6;border-radius:11px;padding:5px 10px;background:#fff;cursor:pointer;list-style:none}.task-team-picker>summary::-webkit-details-marker{display:none}.task-team-picker>summary>svg{width:17px;height:17px;fill:none;stroke:#879cbb;stroke-width:1.6;flex-shrink:0}.task-team-picker[open]>summary{border-color:#85aaff;box-shadow:0 0 0 3px #2563eb09}.task-team-summary{display:flex;gap:5px;align-items:center;min-width:0;overflow:hidden}.task-team-chip{display:inline-flex;align-items:center;gap:5px;padding:4px 7px 4px 4px;border-radius:7px;background:#eff5ff;min-width:0;color:#4065a0;max-width:130px}.task-team-chip i{display:grid;place-items:center;width:19px;height:19px;background:#dae7ff;color:#4972ba;border-radius:5px;flex-shrink:0;font-style:normal;font-size:10px}.task-team-chip>span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-team-extra{font-size:10px;color:#6d86ab;white-space:nowrap}.task-team-placeholder{font-size:12px;color:#97a7bd}.task-team-menu{position:absolute;z-index:50;top:calc(100% + 7px);left:0;width:max(100%,260px);max-width:calc(100vw - 64px);background:#fff;border:1px solid #e0e8f5;box-shadow:0 12px 32px #253f7620;border-radius:12px;padding:6px}.task-team-menu-heading{display:flex;justify-content:space-between;gap:10px;padding:9px 9px 12px;font-size:10px;font-weight:600;color:#5e7598}.task-team-menu-heading span{color:#97a7bd;font-weight:400}.task-team-menu .task-assignee-checks{border:0;padding:0;max-height:208px;border-radius:7px}.task-team-menu .task-assignee-check{min-height:40px}.task-team-menu .task-assignee-check span{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500}.task-team-menu .task-assignee-check:hover{background:#f5f8fd}.task-team-picker>summary:focus-visible{outline:2px solid #2563eb;outline-offset:2px}@media(max-width:420px){.task-team-menu{width:100%;max-width:100%}}

.task-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.task-remind-button{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #dce7fa;border-radius:9px;background:#f7faff;color:#547fc7;cursor:pointer}.task-remind-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.task-remind-button:hover{background:#eaf2ff;color:#2563eb;border-color:#aac5ff}.task-remind-button:disabled{opacity:.5;cursor:wait}

.task-linked-invoice{font-size:15px;font-weight:700;color:#2455b0;display:inline-block}.task-linked-invoice:hover{text-decoration:underline}.task-courier-link{display:block;font-size:11px;font-weight:600;color:#2563eb;margin-top:5px}.task-order-card>footer{flex-wrap:wrap}.task-order-card>footer>div{min-width:0;overflow-wrap:anywhere}

.task-list-invoice,.task-automation-links a{color:#2455b0;font-weight:600}.task-list-invoice:hover,.task-automation-links a:hover{text-decoration:underline}.task-automation-links{display:flex;gap:10px;flex-wrap:wrap;font-size:11px;color:#526176;margin:8px 0;overflow-wrap:anywhere}

.delivery-task-summary{padding:17px;border:1px solid #dce6f5;background:#fff;border-radius:13px;margin:18px 0 20px}.delivery-task-summary h3{font-size:15px;margin:0 0 5px}.delivery-task-summary header p{font-size:11px;color:#526176;margin:0 0 14px}.delivery-task-summary>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.delivery-task-summary button{padding:12px;text-align:left;border:1px solid #e0e8f5;border-radius:9px;background:#f6f9ff;color:#234678;min-width:0}.delivery-task-summary button span{display:block;font-size:11px}.delivery-task-summary button strong{display:block;font-size:23px;margin-top:4px}.delivery-task-summary .delivery-summary-done{color:#08745f;background:#effaf5}.delivery-task-summary .delivery-summary-due{color:#a14a17;background:#fff7ee}.delivery-task-summary button.selected{outline:2px solid #467deb;outline-offset:1px}.task-delivery-followup{padding:18px;border:1px solid #d9e5fa;border-radius:13px;background:#f7faff;margin:20px 0}.task-delivery-followup h4{font-size:14px;margin:0 0 7px;color:#17345a}.task-delivery-followup header p,.task-followup-saved{font-size:11px;color:#526176;line-height:1.7}.task-delivery-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.task-delivery-followup label{font-size:12px;color:#354a67}.task-delivery-followup input,.task-delivery-followup select,.task-delivery-followup textarea{font-size:12px;width:100%;min-width:0}.task-delivery-followup textarea{resize:vertical}.task-delivery-followup .form-error:empty{display:none}@media(max-width:650px){.delivery-task-summary>div{grid-template-columns:repeat(3,minmax(0,1fr))}.task-delivery-fields{grid-template-columns:minmax(0,1fr)}.task-delivery-followup{padding:14px}.delivery-task-summary{padding:13px}.delivery-task-summary button{padding:10px}.delivery-task-summary button span{font-size:10px}}

.task-delivery-resolution{padding:13px;margin-top:16px;background:#edf9f3;border:1px solid #cbe8db;border-radius:9px}.task-delivery-resolution p{white-space:pre-wrap;overflow-wrap:anywhere;color:#254a3b;font-size:12px}.task-delivery-resolution small{color:#526176;font-size:10px}#task-delivery-completion-form{border-top:1px solid #d9e5fa;margin-top:17px;padding-top:17px}#task-delivery-completion-form h4{color:#176f54}
.task-detail .task-timeline p,.task-detail .task-timeline ul{font-size:12px;color:#26384d}.task-detail .task-timeline ul strong{color:#172b4d;font-weight:650}.task-detail .task-timeline-meta strong{font-size:11px;color:#294569}.task-detail .task-timeline-meta time{font-size:10px;color:#526176}.task-detail .task-timeline .task-comment-text{color:#26384d}.task-detail .task-timeline-dot{background:#6683ad}.task-detail .task-timeline-dot.comment{background:#315fc8}
.task-workspace .task-view-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:0 0 16px}
.task-workspace .task-view-tabs button{position:relative;display:grid;grid-template-columns:1fr auto;gap:8px;padding:14px;border-radius:13px;min-width:0;text-align:left;background:#fff;color:#243b59;transition:border-color .15s,box-shadow .15s}
.task-workspace .task-view-tabs button>i{display:grid;place-items:center;grid-column:2;grid-row:1/3;width:32px;height:32px;border-radius:10px;background:#edf3ff;color:#315ed0}
.task-workspace .task-view-tabs button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6}
.task-workspace .task-view-tabs button>span{padding:0;background:none;color:inherit;border-radius:0;font-size:11px;font-weight:600;line-height:1.4}
.task-workspace .task-view-tabs button>strong{grid-column:1;grid-row:2;font-size:26px;line-height:1.1;letter-spacing:-.7px}
.task-workspace .task-view-tabs button.active{background:#eff5ff;color:#1748bd;border-color:#346df0;box-shadow:0 0 0 1px #346df0}
.task-workspace .task-view-tabs .task-overview-overdue>i{background:#fff0ee;color:#be392d}
.task-workspace .task-view-tabs .task-overview-overdue>strong{color:#b7352d}
.task-workspace .task-view-tabs .task-overview-done>i{background:#e8f8f1;color:#087a5c}
.task-workspace .task-view-tabs .task-overview-done>strong{color:#087a5c}
.task-workspace .task-view-tabs button:focus-visible,.delivery-task-summary button:focus-visible{outline:2px solid #245be0;outline-offset:3px}
.task-workspace .delivery-task-summary{margin:0 0 18px;padding:16px;border-radius:14px}
.task-workspace .delivery-task-summary>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.task-workspace .delivery-task-summary h3{margin:0 0 4px;color:#172d49}
.task-workspace .delivery-task-summary header p{margin:0;color:#526176;font-size:11px}
.task-workspace .task-followup-tabs{display:flex;padding:4px;background:#f0f4fa;border-radius:10px;gap:4px}
.task-workspace .task-followup-tabs button{display:flex;align-items:center;gap:8px;padding:8px 12px;background:transparent;border:1px solid transparent;color:#40516a;font:inherit;font-weight:600;border-radius:7px}
.task-workspace .task-followup-tabs button span{font-size:10px;font-weight:500;color:#53647b}
.task-workspace .task-followup-tabs button[aria-pressed=true]{background:#fff;border-color:#dbe4f2;color:#1f53c0;box-shadow:0 2px 4px #243b5908}
.task-workspace .task-followup-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.task-workspace .task-followup-metrics button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 12px;color:#294465;background:#f7f9fd;cursor:pointer}
.task-workspace .task-followup-metrics button span{font-size:11px;font-weight:600;line-height:1.4}
.task-workspace .task-followup-metrics button strong{font-size:23px;margin:0;font-variant-numeric:tabular-nums}
.task-workspace .task-followup-metrics .delivery-summary-done{background:#eefaf5;color:#086b51}
.task-workspace .task-followup-metrics .delivery-summary-due{background:#fff6ea;color:#994b0d}
.task-workspace .task-followup-metrics .delivery-summary-cancelled{background:#fff3f3;color:#a63d45}
.task-workspace .task-followup-metrics .delivery-summary-all{border-style:dashed;background:#fff;color:#526176}
.task-workspace .delivery-task-summary>footer{font-size:10px;color:#526176;margin-top:10px}
.task-workspace .task-toolbar{background:#fff;border:1px solid #dce5f0;padding:14px;border-radius:13px;align-items:end}
.task-workspace .task-toolbar label>span{color:#3e526e;font-weight:600}
@media(max-width:1100px){.task-workspace .task-view-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.task-workspace .task-view-tabs{gap:8px}.task-workspace .task-view-tabs button{padding:11px;gap:6px}.task-workspace .task-view-tabs button>i{display:none}.task-workspace .task-view-tabs button>span{font-size:10px}.task-workspace .task-view-tabs button>strong{font-size:23px}.task-workspace .delivery-task-summary>header{align-items:flex-start;flex-direction:column}.task-workspace .task-followup-tabs{width:100%}.task-workspace .task-followup-tabs button{flex:1;justify-content:center;padding:8px}.task-workspace .task-followup-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.task-workspace .task-followup-metrics button{flex-direction:column;align-items:flex-start;padding:10px}.task-workspace .task-toolbar{padding:12px}}
