@import url('/workbench/theme.css');

.task-center-page{background:linear-gradient(180deg,#eaf5ee 72px,#f5f8f6 380px);--task-green:#187653;--task-soft:#e5f4eb;--accent:#187653;--soft:#eaf5ee;--ink:#21352e;--muted:#61766a;--line:#dfe9e2}
.task-center .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.app-page>.task-center{max-width:1800px;margin:0 auto;padding:30px 28px 48px}
.task-center .page-heading{align-items:center;margin-bottom:26px}
.task-center h1{font-size:32px;color:#172e24}
.task-center p{color:var(--muted);line-height:1.7}
.task-center svg{width:21px;height:21px;display:block;flex-shrink:0}
.task-center [data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.task-center #add-tasks{display:inline-flex;align-items:center;gap:8px;padding:12px 20px;border-radius:9px;background:var(--task-green);border:1px solid var(--task-green);color:#fff;box-shadow:0 4px 12px #18765319;white-space:nowrap}
.task-center #add-tasks:hover{background:#11613f}
.task-center [hidden]{display:none!important}
.queue-overview,.queue-work{background:#ffffffed;border:1px solid #dfe9e2;border-radius:14px;box-shadow:0 3px 14px #234f3203;margin-bottom:22px}
.queue-overview{padding:20px 16px}
.queue-overview-heading,.queue-progress-track{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.queue-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.queue-count{--stat-color:#28885d;--stat-soft:#e6f4eb;display:flex;align-items:flex-start;gap:18px;min-width:0;padding:8px 12px;text-align:left;border:1px solid transparent;border-radius:10px;box-shadow:none;background:transparent;color:var(--ink)}
.queue-count[data-state=review]{--stat-color:#b98432;--stat-soft:#fff3e1}
.queue-count[data-state=returned]{--stat-color:#c36b64;--stat-soft:#fceeea}
.queue-count[data-state=completed]{--stat-color:#149b79;--stat-soft:#e1f7ef}
.queue-count[data-state=waiting]{--stat-color:#81905b;--stat-soft:#f0f3e4}
.queue-count[aria-pressed=true]{border-color:#bed8c6;background:#f6fbf7}
.count-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;color:var(--stat-color);background:var(--stat-soft);flex-shrink:0}
.count-icon svg{width:28px;height:28px}
.count-copy{display:flex;flex-direction:column;flex:1;min-width:0}
.count-copy strong{font-size:30px;line-height:1.25;font-weight:650;font-variant-numeric:tabular-nums;color:#1e3429}
.count-copy>span:not(.count-track){font-size:14px;color:#62756a;margin-top:4px;white-space:nowrap}
.count-track{display:block;height:4px;margin-top:15px;background:var(--stat-soft);border-radius:4px;overflow:hidden}
.count-track>span{display:block;height:100%;background:var(--stat-color);border-radius:4px}
.queue-work{padding:0 24px 18px;overflow:hidden}
.queue-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e6eee8;margin:0 -24px;padding:0 24px}
.queue-filters{display:flex;gap:8px;overflow-x:auto;min-width:0}
.queue-filters button{border:0;border-bottom:3px solid transparent;background:none;box-shadow:none;border-radius:0;padding:19px 13px 16px;color:#728278;white-space:nowrap;font-size:15px;margin:0}
.queue-filters button[aria-pressed=true]{border-bottom-color:var(--task-green);color:var(--task-green);font-weight:650}
.task-center #queue-refresh{display:flex;align-items:center;gap:7px;flex-shrink:0;white-space:nowrap;background:#f1f9f3;color:var(--task-green);border-color:#dfede3;border-radius:7px;padding:8px 12px;font-size:14px}
#queue-refresh svg{width:17px;height:17px}
.queue-search-row{display:flex;align-items:flex-end;gap:16px;margin:20px 0 18px}
.queue-search-row label{display:flex;flex-direction:column;gap:5px;margin:0;font-size:14px;color:#435c4d}
.queue-search-row select{min-width:180px;background-color:#fff;height:40px;font-size:14px}
.queue-search-row :is(input,select){margin-top:0;border-color:#dce7df}
.queue-search-row .queue-search{position:relative;flex:1;margin-right:auto}
.queue-search input{width:100%;max-width:520px;padding-left:40px!important;font-size:14px;background:#fff}
.queue-search>[data-icon]{position:absolute;left:13px;bottom:11px;color:#7a9484}
.queue-search svg{width:18px;height:18px}
.queue-table-scroll{overflow-x:auto;max-width:100%;border-radius:8px}
.queue-table{width:100%;border-collapse:collapse;text-align:left;table-layout:fixed;min-width:970px}
.task-center .queue-table th{background:#f3f7f4;color:#6b8073;font-weight:500;font-size:14px;padding:13px 12px;border:0;white-space:nowrap}
.task-center .queue-table td{padding:15px 12px;border:0;border-bottom:1px solid #edf1ee;font-size:14px;vertical-align:middle;line-height:1.6}
.queue-table th:nth-child(1){width:42px}
.queue-table th:nth-child(2){width:25%}
.queue-table th:nth-child(3){width:18%}
.queue-table th:nth-child(4){width:13%}
.queue-table th:nth-child(5){width:95px}
.queue-table th:nth-child(6){width:90px}
.queue-table th:nth-child(7){width:150px}
.queue-table th:nth-child(8){width:100px}
.queue-item:hover{background:#f8fcf9}
.queue-task-title{color:#253d30;font-weight:550;overflow-wrap:anywhere}
.queue-task-title:hover{color:var(--task-green);text-decoration:underline}
.queue-task-meta{display:block;margin-top:4px;color:#7a8e80;font-size:12px;overflow-wrap:anywhere}
.queue-workflow{color:#667e6e;overflow-wrap:anywhere}
.queue-workflow small{display:block;font-size:12px;color:#8a9b90;margin-top:2px}
.queue-person{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}
.queue-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8efe9;color:#6a8171;flex-shrink:0}
.queue-index,.queue-date,.queue-scope-cell{color:#728478;font-variant-numeric:tabular-nums}
.queue-date time{font-size:13px}
.task-center .queue-item .status-badge{padding:3px 10px;border-radius:20px;font-size:13px;line-height:1.6}
.queue-item .status-badge[data-state=pending]{color:#24754c;background:#e5f4e9}
.queue-item .status-badge[data-state=review]{color:#966820;background:#fcf0d9}
.queue-item .status-badge[data-state=returned]{color:#ae554e;background:#fcebe7}
.queue-item .status-badge[data-state=completed]{color:#118063;background:#dff5eb}
.queue-item .status-badge[data-state=waiting]{color:#737e45;background:#eef2e0}
.queue-item .button-link{padding:5px 0;border:0;background:none;box-shadow:none;color:var(--task-green);font-size:14px;white-space:nowrap}
.queue-item .button-link:hover{text-decoration:underline}
.queue-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;color:#819086;font-size:13px}
.queue-empty{text-align:center;padding:48px 20px!important;color:var(--muted)}
.queue-empty h3{font-size:18px;color:var(--ink);margin:0 0 10px}
.queue-empty p{white-space:normal;margin:0;font-size:14px}
.queue-error{color:#a34c3b!important}
.task-center :is(a,button,input,select,[tabindex]):focus-visible{outline:2px solid #258659;outline-offset:3px}
@media(min-width:1800px){.queue-table th:nth-child(2){width:28%}}
@media(max-width:1250px){.queue-count{gap:10px;padding:8px 6px}.count-icon{width:42px;height:42px;border-radius:13px}.count-icon svg{width:24px;height:24px}.queue-filters{gap:0}.queue-filters button{padding-left:10px;padding-right:10px}.queue-search-row select{min-width:150px}}
@media(max-width:850px){.app-page>.task-center{padding:24px 18px 36px}.task-center .page-heading{display:flex;align-items:center}.task-center h1{font-size:28px}.queue-overview{padding:14px 10px}.queue-counts{gap:5px}.queue-count{flex-direction:column;gap:8px}.count-copy{width:100%}.count-copy strong{font-size:26px}.queue-work{padding:0 16px 16px}.queue-toolbar{margin:0 -16px;padding:0 16px}.queue-search-row{flex-wrap:wrap}.queue-search-row .queue-search{flex-basis:100%}.queue-search input{max-width:none}.queue-search-row>label:not(.queue-search){flex:1}.queue-search-row select{width:100%;min-width:0}}
@media(max-width:520px){.app-page>.task-center{padding:20px 14px 32px}.task-center .page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:20px}.task-center .page-heading p{font-size:14px}.task-center #add-tasks{padding:9px 14px;font-size:14px}.queue-counts{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.queue-count{padding:10px}.queue-overview{margin-bottom:16px}.count-icon{width:36px;height:36px}.count-icon svg{width:21px;height:21px}.count-copy strong{font-size:25px}.count-track{margin-top:9px}.queue-filters button{font-size:14px;padding-top:16px;padding-bottom:13px}.task-center #queue-refresh{padding:7px 9px}.queue-toolbar{gap:8px}.queue-search-row{gap:12px;margin:16px 0}.queue-search-row select{font-size:14px}.queue-pagination{align-items:flex-start}.queue-table{min-width:1000px}}
