.tb-unified-task-modal{z-index:12000;background:rgba(20,57,61,.42);backdrop-filter:blur(4px)}
.tb-unified-task-card{width:min(760px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #cfe2e0;border-radius:12px;background:#fff;box-shadow:0 24px 70px rgba(25,73,76,.2);padding:24px;color:#173d42}
.tb-unified-task-card header{margin:0 42px 20px 0}.tb-unified-task-card h2{margin:4px 0 5px;font-size:25px}.tb-unified-task-card header p{margin:0;color:#6b8588}
.tb-unified-task-card form{display:grid;gap:8px}.tb-unified-task-card label,.tb-unified-task-card label>span{font-weight:700;color:#294f54}.tb-unified-task-card input,.tb-unified-task-card textarea,.tb-unified-task-card select{width:100%;box-sizing:border-box;border:1px solid #cfe2e0;border-radius:6px;background:#fff;color:#173d42;padding:10px 12px;min-height:42px;font:inherit;box-shadow:none!important;outline:none}.tb-unified-task-card textarea{resize:vertical;min-height:100px}
.tb-unified-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tb-unified-task-grid label{display:grid;gap:6px}.tb-unified-task-card footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:14px}.tb-unified-task-card footer button{height:40px;min-width:112px;padding:0 18px;border-radius:6px;border:1px solid #b9d6d3;background:#f4f9f8;color:#28565a;font-family:inherit;font-size:14px;font-weight:700;line-height:1;cursor:pointer}.tb-unified-task-card footer .page-primary{background:#338c91;color:#fff;border-color:#338c91}.tb-unified-task-card footer button:disabled{opacity:.65;cursor:wait}
.tb-unified-task-error{margin:0 0 14px;padding:10px 12px;border:1px solid #e8bdb9;border-radius:6px;background:#fff4f2;color:#8c312b}
.tb-task-row-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;flex-wrap:wrap!important}.tb-task-row-actions .quick-status-form{display:grid!important;grid-template-columns:150px 104px!important;align-items:stretch!important;gap:9px!important;margin:0!important}.tb-task-row-actions .quick-status-form select,.tb-task-row-actions .quick-status-form button,.tb-task-row-actions .wd-task-action{width:104px!important;height:40px!important;min-width:104px!important;min-height:40px!important;box-sizing:border-box!important;margin:0!important;border-radius:6px!important;padding:0 14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font:700 14px/1 Arial,sans-serif!important;text-decoration:none!important;white-space:nowrap!important}.tb-task-row-actions .quick-status-form select{width:150px!important;min-width:150px!important;background:#fff!important;color:#244f54!important;border:1px solid #c7dedc!important}.tb-task-row-actions .quick-status-form button,.tb-task-row-actions .wd-task-action{border:1px solid #338c91!important;background:#338c91!important;color:#fff!important}.tb-task-row-actions .wd-task-action:hover,.tb-task-row-actions .quick-status-form button:hover{background:#28797e!important;border-color:#28797e!important}
.project-member-preview{margin:12px 0;padding:10px 11px;border:1px solid #d8e8e6;border-radius:8px;background:#f6faf9}.project-member-preview>span{display:block;margin-bottom:6px;color:#6b8588;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.project-member-preview>div{display:flex;gap:6px;flex-wrap:wrap}.project-member-preview small{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:20px;background:#fff;color:#31585c;border:1px solid #d8e8e6}.project-member-preview b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dcefed;color:#26777c;font-size:9px}
@media(max-width:700px){.tb-unified-task-card{padding:19px}.tb-unified-task-grid{grid-template-columns:1fr}.tb-unified-task-card footer{justify-content:stretch}.tb-unified-task-card footer button{flex:1}.tb-task-row-actions{width:100%!important;display:grid!important;grid-template-columns:1fr!important}.tb-task-row-actions .quick-status-form{width:100%!important;grid-template-columns:minmax(0,1fr) 104px!important}.tb-task-row-actions .quick-status-form select{width:100%!important;min-width:0!important}.tb-task-row-actions .wd-task-action{width:100%!important}}

/* Task details inherit Connect's shell, font and theme. */
.tb-task-details-page{padding:24px;min-width:0;font:inherit}.tb-task-details-page .tc-directory-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.tb-task-details-page .tb-review-columns,.tb-task-details-page summary{display:grid;grid-template-columns:minmax(140px,2fr) minmax(100px,3fr) 70px 40px;align-items:center;gap:16px;padding:16px 20px}.tb-task-details-page .tb-review-columns{font-weight:700;background:var(--surface,#f5f9f9);border-bottom:1px solid #d7e8e6}.tb-task-details-page details{border-bottom:1px solid #d7e8e6}.tb-task-details-page summary{list-style:none;cursor:pointer}.tb-task-details-page summary::-webkit-details-marker{display:none}.tb-task-details-page summary>span{overflow-wrap:anywhere}.tb-task-details-page .tb-review-toggle{display:grid;place-items:center;width:32px;height:32px;border:1px solid #cfe2e0;border-radius:5px;color:inherit}.tb-task-details-page .tb-review-minus,.tb-task-details-page details[open] .tb-review-plus{display:none}.tb-task-details-page details[open] .tb-review-minus{display:inline}.tb-task-details-page .tb-review-notes{padding:4px 24px 20px}.tb-task-details-page li{white-space:pre-wrap;overflow-wrap:anywhere;padding:8px 0}.tb-task-row-actions .tb-task-details-link{width:auto!important;min-width:120px!important;font-family:inherit!important}.tb-task-details-page .tb-review-back{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 16px;text-decoration:none;font:inherit}
@media(max-width:650px){.tb-task-details-page{padding:16px}.tb-task-details-page .tb-review-columns,.tb-task-details-page summary{grid-template-columns:minmax(90px,2fr) minmax(70px,2fr) 45px 32px;gap:8px;padding:12px;font-size:12px}}

.tb-task-row-actions .tb-delete-task{width:auto!important;min-width:120px!important;font-family:inherit!important;cursor:pointer}.tb-task-row-actions .tb-delete-task:disabled{opacity:.65;cursor:wait}.tb-task-delete-error{flex-basis:100%;color:#a13535;padding-top:8px}.tb-task-delete-error[hidden]{display:none!important}
