/* Harels task workspace. Scoped to coexist with the other admin modules. */
.tasks-workspace{--task-steel:#425967;--task-muted:#697c88;--task-border:#dfe6ea;min-width:0}
.task-workspace-header,.task-section-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}
.task-workspace-header h2,.task-section-head h2{font-size:30px;line-height:1.2;letter-spacing:-.8px;margin:5px 0 10px;font-weight:650;color:#253944}
.task-workspace-header p:not(.task-eyebrow),.task-section-head p:not(.task-eyebrow){font-size:13px;color:var(--task-muted);margin:0}
.task-workspace-header>.btn{flex-shrink:0;gap:10px}
.task-eyebrow{font-size:10px;font-weight:750;letter-spacing:.14em;text-transform:uppercase;color:#a5142c;margin:0}
.task-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--task-border);border-radius:10px;background:#fff;margin-bottom:23px;overflow:hidden}
.task-stat{padding:20px 24px;border-right:1px solid var(--task-border);display:flex;align-items:center;justify-content:space-between;gap:15px}
.task-stat:last-child{border-right:0}.task-stat>span{font-size:12px;color:var(--task-steel)}
.task-stat>strong{font-size:28px;line-height:1;font-weight:650;letter-spacing:-1px;color:#2d4351}
.task-stat-overdue{background:#fdf5f6}.task-stat-overdue>strong{color:#b61430}
.task-filters{padding:22px;background:#fff;border:1px solid var(--task-border);border-radius:10px;margin-bottom:25px}
.task-search{margin-bottom:18px;max-width:720px}.task-search label,.tasks-workspace .field>label{display:block;font-size:11px;letter-spacing:0;text-transform:none;font-weight:600;color:#455c69;margin-bottom:7px}
.tasks-workspace input,.tasks-workspace select,.tasks-workspace textarea{min-width:0;width:100%;font-size:12px;border:1px solid #d9e1e6;border-radius:6px;background:#fff;color:#263c49;padding:10px 11px;box-sizing:border-box}
.tasks-workspace input:focus,.tasks-workspace select:focus,.tasks-workspace textarea:focus{outline:2px solid #c8102e;outline-offset:2px;box-shadow:none}
.task-filter-fields{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.task-filter-fields .field{min-width:0;margin:0}
.task-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;border-top:1px solid #edf0f2;padding-top:16px}
.task-filter-footer p{margin:0;font-size:11px;color:var(--task-muted)}.task-filter-footer>div{display:flex;align-items:center;gap:18px}
.task-text-action{font-size:11px;font-weight:600;color:#425d6b;text-decoration:underline;text-underline-offset:3px}
.task-text-action:hover{color:#c8102e}
.task-results-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 15px}
.task-results-head h2{font-size:16px;font-weight:650;margin:0;color:#2b424f}.task-results-head h2>span{font-weight:400;font-size:11px;color:var(--task-muted)}
.task-view-toggle{display:flex;padding:3px;gap:2px;border:1px solid var(--task-border);border-radius:7px;background:#e9eef1}
.task-view-toggle a{font-size:11px;font-weight:600;display:block;padding:7px 14px;color:#536b79;border-radius:4px}
.task-view-toggle a[aria-current=page]{color:#273e4b;background:#fff;box-shadow:0 1px 2px #233a4910}
.tasks-workspace .task-card{padding:20px;margin:0;border:1px solid var(--task-border);border-radius:8px;background:#fff;box-shadow:none;min-width:0;overflow-wrap:anywhere}
.tasks-workspace .task-card-overdue{border-left:3px solid #c8102e}
.task-card-labels{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:9px}
.task-priority,.task-status{font-size:9px;line-height:1.4;font-weight:650;border-radius:4px;padding:3px 6px;display:inline-flex;align-items:center;gap:5px}
.task-priority{color:#627582;background:#f1f4f6}.task-priority-high{background:#fcebed;color:#ac1230}.task-priority-high:before{content:'↑';font-size:12px;line-height:1}
.task-status-todo{color:#596c79;background:#edf1f4}.task-status-doing{color:#3f6679;background:#eaf3f8}.task-status-done{color:#3a7156;background:#edf6f0}
.task-project{margin:0 0 5px;font-size:10px;color:#758894;line-height:1.4}.task-project a{color:#667f8d}.task-project a:hover{text-decoration:underline}
.tasks-workspace .task-title{font-size:14px;line-height:1.45;font-weight:650;color:#263d4b;margin:0}
.task-description{margin-top:8px;font-size:11px;color:#57707f}.task-description summary{cursor:pointer;width:fit-content;font-weight:500;min-height:24px;padding:3px 0}
.task-description>div{font-size:12px;line-height:1.75;margin-top:9px;color:#405967;white-space:normal}
.task-card-meta{display:flex;flex-wrap:wrap;gap:16px 28px;margin-top:17px;font-size:11px;color:#425c6c}
.task-card-meta>div{display:flex;flex-direction:column;gap:4px}.task-meta-label{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#83919a;font-weight:600}
.task-card-meta .task-late,.task-late .task-meta-label{color:#b41933}
.tasks-workspace .task-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:18px 0 0;padding:14px 0 0;border-top:1px solid #edf0f2}
.task-actions form{margin:0}.tasks-workspace .task-actions .btn{font-size:10px;padding:8px 11px;min-height:34px;border-radius:5px;white-space:normal}
.tasks-workspace .task-complete{background:#eaf3ef;color:#346b50;border:1px solid #d7e7de}.tasks-workspace .task-complete:hover{background:#dfede5}
.tasks-workspace .task-actions .task-text-action{font-size:10px;margin-left:2px}
.task-delete{font-size:10px;margin-left:auto;position:relative}.task-delete>summary{cursor:pointer;color:#81909a;list-style:none;padding:8px 0}
.task-delete>div{position:absolute;bottom:calc(100% + 7px);right:0;width:225px;max-width:65vw;padding:15px;background:#fff;border:1px solid #e3c9cf;border-radius:7px;z-index:2;box-shadow:0 7px 25px #24374318}
.task-delete p{margin:0 0 12px;font-size:12px;color:#783245}.tasks-workspace .task-delete-confirm{background:#c8102e;color:#fff;border-color:#c8102e}
.task-list{display:grid;gap:10px}.task-list .task-card{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);column-gap:30px;align-items:start}
.task-list .task-card-meta{margin:0;justify-content:flex-end;padding-top:4px}.task-list .task-actions{grid-column:1/-1;padding-top:12px;margin-top:14px}
.tasks-workspace .task-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start;padding:0}
.tasks-workspace .task-col{padding:13px;background:#edf1f3;border:1px solid #dfe6ea;border-top:3px solid #99aab6;border-radius:8px;min-width:0;min-height:180px}
.tasks-workspace .task-col-doing{border-top-color:#658ea3}.tasks-workspace .task-col-done{border-top-color:#699a7f}
.tasks-workspace .task-col-head{font-size:11px;letter-spacing:0;text-transform:none;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px;padding:0 1px;color:#3f5765;font-weight:650}
.tasks-workspace .task-col-head>span{font-size:10px;min-width:22px;text-align:center;background:#fff;border-color:#dbe3e8}
.tasks-workspace .task-col .task-card{padding:16px;margin-bottom:12px}.tasks-workspace .task-col .task-card:last-child{margin-bottom:0}
.task-board .task-status{display:none}.task-board .task-card-meta{gap:13px 20px}.task-board .task-delete{margin-left:0}.task-board .task-actions{gap:7px}
.tasks-workspace .task-empty{font-size:11px;color:#84949e;padding:22px 8px;text-align:center;margin:0}
.task-empty-state{padding:52px 22px;text-align:center;background:#fff;border:1px dashed #cfdae0;border-radius:10px;color:#617887}.task-empty-mark{font-size:24px;color:#78968a;display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:50%;background:#eff5f2}.task-empty-state h3{font-size:17px;font-weight:600;color:#3b5462;margin:16px 0 5px}.task-empty-state p{font-size:12px;margin:0}
.tasks-embedded .task-section-head{margin:0 0 18px}.tasks-embedded .task-section-head h2{font-size:22px;letter-spacing:-.4px}
.tasks-embedded .task-progress{height:5px;border-radius:10px;background:#e4ebe8;overflow:hidden;margin:0 0 25px}.tasks-embedded .task-progress-bar{height:100%;background:#669278;border-radius:10px}
.task-editor{max-width:1000px;margin:0 auto}.task-back{display:inline-block;font-size:12px;color:#6a808d;margin-bottom:24px}.task-back:hover{color:#c8102e}.task-edit-form .panel-body{padding:28px}.task-required{color:#c8102e}.task-edit-form .hint{font-size:10px;margin-top:5px}
.tasks-workspace :is(a,button,summary):focus-visible{outline:2px solid #c8102e;outline-offset:3px}
.tasks-workspace .task-priority,.tasks-workspace .task-status,.tasks-workspace .task-project,.tasks-workspace .task-meta-label,.tasks-workspace .task-filter-footer p,.tasks-workspace .task-results-head h2>span{font-size:12px}
.tasks-workspace .field>label,.tasks-workspace .task-stat>span,.tasks-workspace .task-card-meta,.tasks-workspace .task-view-toggle a,.tasks-workspace .task-col-head,.tasks-workspace .task-description,.tasks-workspace .task-description>div{font-size:14px}
.tasks-workspace .task-title{font-size:16px}.tasks-workspace .task-actions .btn,.tasks-workspace .task-actions .task-text-action,.tasks-workspace .task-delete{font-size:13px;min-height:40px}.tasks-workspace .task-filters{margin-bottom:18px}
@media(min-width:1550px){.task-list .task-card{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr) minmax(200px,.9fr);align-items:center}.task-list .task-actions{grid-column:auto;justify-content:flex-end;border-top:0;margin:0;padding:0}.task-list .task-delete{margin-left:0}.task-list .task-card-meta{justify-content:flex-start}}
@media(max-width:1200px){.task-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.task-stat{padding:17px}.tasks-workspace .task-board{gap:10px}.tasks-workspace .task-col{padding:10px}.tasks-workspace .task-col .task-card{padding:13px}}
@media(max-width:950px){.task-workspace-header h2{font-size:27px}.tasks-workspace .task-board{grid-template-columns:1fr}.tasks-workspace .task-col{min-height:0}.tasks-workspace .task-col .task-card{padding:18px}.task-board .task-card-meta{gap:18px 30px}.task-board .task-delete{margin-left:auto}.task-stat{flex-direction:column;align-items:flex-start;gap:10px}.task-filter-footer p{max-width:220px}}
@media(max-width:600px){.task-workspace-header,.task-section-head{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:21px}.task-workspace-header h2{font-size:27px;letter-spacing:-.6px}.task-workspace-header p:not(.task-eyebrow),.task-section-head p:not(.task-eyebrow){font-size:12px}.task-workspace-header>.btn{width:100%;justify-content:center}.task-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:17px}.task-stat{padding:17px;flex-direction:row;align-items:center}.task-stat:nth-child(2){border-right:0}.task-stat:nth-child(-n+2){border-bottom:1px solid var(--task-border)}.task-stat>strong{font-size:25px}.task-stat>span{font-size:11px}.task-filters{padding:17px;margin-bottom:20px}.task-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px}.tasks-workspace input,.tasks-workspace select,.tasks-workspace textarea{font-size:16px;min-height:42px}.task-filter-fields .field:first-child{grid-column:1/-1}.task-filter-footer{align-items:stretch;flex-direction:column;gap:14px;margin-top:15px;padding-top:14px}.task-filter-footer p{max-width:none;font-size:10px}.task-filter-footer>div{justify-content:space-between;gap:10px}.task-results-head h2{font-size:15px}.task-results-head h2>span{display:block;font-size:10px;margin-top:3px}.task-view-toggle a{padding:8px 11px}.task-list .task-card{display:block;padding:17px}.task-list .task-card-meta{justify-content:flex-start;margin-top:17px;padding:0}.tasks-workspace .task-title{font-size:15px}.tasks-workspace .task-actions .btn{min-height:40px;font-size:11px}.task-description summary{min-height:30px;padding:6px 0}.task-card-meta{font-size:12px}.task-meta-label{font-size:9px}.task-actions .task-text-action{padding:8px 0}.task-delete>summary{padding:10px 0}.task-edit-form .panel-body{padding:20px}.task-editor .form-actions{flex-direction:column-reverse}.task-editor .form-actions .btn{justify-content:center}.tasks-embedded .task-section-head h2{font-size:22px}.tasks-embedded .task-section-head>.btn{width:100%;justify-content:center}}
