/* Tasks follow the shared paper register, compact controls and clear action colours. */
.app-body .app-main:has(.ak-task-register) { max-width:none; }
.ak-task-register .ak-dashboard-heading { gap:10px;margin-bottom:12px; }
.ak-task-register .ak-ledger-icon { width:48px;min-width:48px;height:50px;font-size:1.6rem; }
.ak-task-register .ak-dashboard-heading h1 { font-size:1.5rem;line-height:1.35; }
.ak-task-register .ak-dashboard-heading p { font-size:.82rem;color:#63776c;margin:3px 0 0; }
.ak-task-grid-panel { padding:10px;border:1px solid #dfcdbb; }
.ak-task-filter-title { display:flex;align-items:center;gap:7px;color:#315b4c;font-size:.85rem;font-weight:600;padding:2px 4px 8px; }
.ak-task-register .task-filter-bar { display:grid;grid-template-columns:minmax(140px,1fr) minmax(130px,.85fr) minmax(200px,1.6fr) auto;gap:9px;align-items:end;padding:0 4px 12px;margin-bottom:8px;border-bottom:1px solid #e8e1d5; }
.ak-task-register .task-filter-bar .form-label { font-size:.76rem;margin-bottom:4px; }
.ak-task-filter-actions { display:flex;gap:5px; }
.ak-task-register .ak-grid-toolbar { padding:2px 4px 8px; }
.app-body .ak-task-register table.ak-fit-grid th { background:#faf0e7!important;color:#355d50; }
.app-body .ak-task-register table.ak-fit-grid td { padding-block:9px!important; }
.ak-task-register [data-task-table] tbody tr:nth-child(even) { background:#fcfbf7; }
.ak-task-register [data-task-table] td:first-child { font-weight:600;color:#294d3c;line-height:1.6; }
.ak-task-register [data-task-table] td:nth-child(2),.ak-task-register [data-task-table] td:nth-child(7) { color:#718174;font-size:.73rem; }
.ak-task-register [data-task-table] td:nth-child(6) { color:#315f4b;font-weight:600; }
.ak-task-register .priority-urgent { color:#a72f3e;background:#fce9ed; }
.ak-task-register .priority-high { color:#97570e;background:#fff1d8; }
.ak-task-register .priority-medium { color:#6c641e;background:#f4f2db; }
.ak-task-register .priority-low { color:#516b59;background:#edf3ed; }
.ak-task-register .status-todo { color:#586b61;background:#edf1ed; }
.ak-task-register .status-in_progress { color:#266285;background:#e6f2fa; }
.ak-task-register .status-completed { color:#286b49;background:#e4f4e8; }
.ak-task-register .status-cancelled { color:#7a7370;background:#f1eeea; }
.ak-task-register .dt-empty { padding:28px 12px!important;background:#f9fbf6;color:#6c7b6d;font-size:.82rem; }
.ak-task-register .dt-info,.ak-task-register .dt-paging { font-size:.76rem; }
@media(max-width:767px) {
 .ak-task-register .task-filter-bar { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .ak-task-register .task-filter-bar > div:nth-child(3) { min-width:0; }
 .ak-task-filter-actions { justify-content:flex-end; }
 .ak-task-filter-actions .btn { min-height:44px; }
 .ak-task-register .ak-dashboard-heading > .btn { margin-left:0!important; }
}
@media(max-width:399px) { .ak-task-register .task-filter-bar { grid-template-columns:minmax(0,1fr); }.ak-task-filter-actions { justify-content:flex-start; } }
