/* Readable tables and contextual column filters, within the existing identity. */
[data-column-table] th{background:#f0f2f4;color:#35414e;padding:0;border-bottom:2px solid #dce0e5;font-size:15px;font-weight:750}
.column-trigger{width:100%;display:flex;align-items:center;gap:9px;border:0;border-radius:0;background:transparent;color:inherit;padding:16px 18px;text-align:start;font:inherit;white-space:nowrap;cursor:pointer;min-height:54px}
.column-trigger>span:first-child{flex:1}.column-trigger .icon{width:16px;height:16px;opacity:.65}.column-trigger.is-filtered{color:#205b49;background:#e0e4e9;box-shadow:inset 0 -3px #187257}.column-trigger.is-filtered .icon{opacity:1}.column-trigger:hover{background:#e2e6eb}.column-sort{font-size:19px;font-weight:800}
[data-column-table] td{font-size:15px;line-height:1.8;color:#354f46;padding:17px 18px;border-bottom:1px solid var(--line)}[data-column-table] td strong{font-size:15px;color:#203e34;font-weight:700}[data-column-table] td small{font-size:12.5px;color:#526e61}[data-column-table] .badge{font-size:13px;font-weight:700;padding:5px 10px}[data-column-table] tbody tr:hover{background:#f0f6f2}[data-column-table] [hidden]{display:none!important}.column-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;flex-wrap:wrap}.column-empty{text-align:center;padding:32px!important}
.column-filter-popup{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);box-shadow:0 14px 50px #183d342b;overflow:auto}.column-filter-popup::backdrop{background:#142e2514;backdrop-filter:none}.column-filter-popup header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}.column-filter-popup header h2{font-size:17px;margin:0}.column-filter-popup section{padding:16px;border-bottom:1px solid var(--line)}.column-filter-popup h3{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin:0 0 10px}.column-sort-actions{display:flex;gap:8px}.column-sort-actions button{flex:1;border:1px solid var(--line);background:var(--tint);color:var(--brand);padding:10px 6px;border-radius:8px;font-size:13px;font-weight:700;cursor:pointer}.column-clear-sort{background:none;border:0;color:var(--brand);font:inherit;font-size:13px;margin-top:10px;cursor:pointer}.column-filter-popup input:not([type=checkbox]),.column-filter-popup select{width:100%;font:inherit;font-size:14px;padding:10px 12px;min-height:42px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}.column-filter-range{display:flex;gap:8px;margin:10px 0}.column-filter-range input{min-width:0}.column-filter-popup input:disabled{background:var(--bg);opacity:.6}.column-filter-popup input[type=checkbox]{width:17px;height:17px;accent-color:#17654e;flex-shrink:0}.column-value-list{max-height:210px;overflow:auto;border:1px solid var(--line);border-radius:8px;margin-top:12px}.column-value-list label{display:flex;gap:10px;align-items:flex-start;padding:9px 11px;font-size:14px;line-height:1.7;cursor:pointer}.column-value-list label:nth-child(even){background:var(--bg)}.column-value-list label:hover{background:var(--tint)}.column-value-list label span{overflow-wrap:anywhere;white-space:pre-line}.column-value-list .column-select-all{position:sticky;top:0;background:var(--surface);border-bottom:1px solid var(--line)}.column-value-list [hidden]{display:none!important}.column-filter-popup footer{display:flex;justify-content:flex-end;gap:10px;padding:12px 16px;position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--line)}.column-filter-error{color:#a13636;font-size:13px;margin-top:10px}.column-filter-popup [data-cf-no-values]{padding:12px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Chronological history with action types, day dividers and a clear latest event. */
.record-history.enhanced-timeline{margin:0;padding:0}.record-history.enhanced-timeline .history-day{font-size:13px;font-weight:700;color:#476456;background:#eef4f0;border-radius:7px;padding:7px 12px;margin:8px 0 20px;display:block}.record-history.enhanced-timeline .history-day::before{display:none}.record-history.enhanced-timeline .history-event{gap:15px;padding-bottom:24px}.record-history.enhanced-timeline .history-event::before{inset-inline-start:18px;top:38px;bottom:0;width:2px;background:#d4e1d9}.record-history.enhanced-timeline .record-history-icon{position:relative;inset:auto;transform:none;width:38px;height:38px;background:#e2efe8!important;color:#21614c;border:1px solid #bcd8c9;box-shadow:none!important}.record-history.enhanced-timeline .record-history-icon .icon{display:block;width:19px;height:19px}.record-history.enhanced-timeline .history-body{flex:1;min-width:0;padding:1px 0 10px}.record-history.enhanced-timeline strong{font-size:16px;font-weight:700;color:#24483b;line-height:1.85}.record-history.enhanced-timeline small{font-size:13px;color:#4f6a5e;line-height:1.85;margin-top:5px}.record-history.enhanced-timeline .history-detail{font-size:14px!important;line-height:1.9;color:#435e51;margin:7px 0 0;white-space:pre-wrap}.history-labels{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}.history-type{font-size:11px;font-weight:700;color:#3d6555;background:#eef4f0;border-radius:5px;padding:2px 7px}.history-latest{font-size:11px;background:#246a52;color:#fff;padding:2px 8px;border-radius:5px}.record-history.enhanced-timeline .history-event.is-latest .history-body{border-inline-start:3px solid #2b795b;padding:10px 14px;background:#edf6ef;border-radius:9px}.record-history.enhanced-timeline .event-information .record-history-icon,.record-history.enhanced-timeline .event-reopen .record-history-icon{background:#fff2d5!important;border-color:#e6c77f;color:#825d15}.record-history.enhanced-timeline .event-assignment .record-history-icon{background:#e6eef8!important;border-color:#b5cce3;color:#386186}.history-summary{display:flex;gap:8px;align-items:center;margin-bottom:18px;color:var(--muted);font-size:13px}
html[data-theme=dark] [data-column-table] th{background:#202a35;color:#dce3eb;border-color:#3c4857}html[data-theme=dark] .column-trigger:hover{background:#344151}html[data-theme=dark] .column-trigger.is-filtered{background:#364353;color:#b5eccb;box-shadow:inset 0 -3px #92d7b3}html[data-theme=dark] [data-column-table] td,html[data-theme=dark] [data-column-table] td strong{color:#e1eee6}html[data-theme=dark] [data-column-table] td small{color:#b8cdbf}html[data-theme=dark] [data-column-table] tbody tr:hover{background:#23372e}html[data-theme=dark] .column-filter-popup{box-shadow:0 14px 50px #0009}html[data-theme=dark] .column-sort-actions button{color:#c3ead3}html[data-theme=dark] .column-filter-error{color:#ffb3a7}
html[data-theme=dark] .record-history.enhanced-timeline strong{color:#e4f0e8}html[data-theme=dark] .record-history.enhanced-timeline small,html[data-theme=dark] .record-history.enhanced-timeline .history-detail{color:#bfd2c6}html[data-theme=dark] .record-history.enhanced-timeline .history-day,html[data-theme=dark] .history-type{background:#263b30;color:#cee5d6}html[data-theme=dark] .record-history.enhanced-timeline .history-event::before{background:#4b6856}html[data-theme=dark] .record-history.enhanced-timeline .record-history-icon{background:#254835!important;border-color:#5b8b6e;color:#c6efd4}html[data-theme=dark] .record-history.enhanced-timeline .event-information .record-history-icon,html[data-theme=dark] .record-history.enhanced-timeline .event-reopen .record-history-icon{background:#493b21!important;border-color:#a08b56;color:#f0d28e}html[data-theme=dark] .record-history.enhanced-timeline .event-assignment .record-history-icon{background:#243e53!important;border-color:#537c9b;color:#c3e1fa}html[data-theme=dark] .record-history.enhanced-timeline .history-event.is-latest .history-body{background:#203b2c;border-color:#8bcea4}html[data-theme=dark] .history-latest{background:#8bcea4;color:#132a1d}
@media(max-width:760px){.column-trigger{padding:13px 14px;font-size:14px}[data-column-table] td{font-size:14px;padding:14px}[data-column-table] td strong{font-size:14px}.record-history.enhanced-timeline strong{font-size:15px}.record-history.enhanced-timeline .history-event{gap:11px}.record-history.enhanced-timeline .record-history-icon{width:34px;height:34px}.record-history.enhanced-timeline .history-event::before{inset-inline-start:16px}.column-filter-popup{max-height:calc(100dvh - 24px)}}
[data-column-table]{width:100%;table-layout:fixed;min-width:940px}[data-column-table] th:nth-child(1){width:29%}[data-column-table] th:nth-child(2){width:15%}[data-column-table] th:nth-child(3){width:16%}[data-column-table] th:nth-child(4){width:22%}[data-column-table] th:nth-child(5){width:14%}[data-column-table] th:nth-child(6){width:4%}[data-column-table] td{white-space:normal;overflow-wrap:anywhere}[data-column-table] .column-trigger{white-space:normal}.record-history.enhanced-timeline .record-history-icon{margin:0}.incident-timeline .record-history.enhanced-timeline .history-event:not(:last-child)::before{inset-inline-start:18px;top:38px;bottom:0}@media(max-width:760px){.incident-timeline .record-history.enhanced-timeline .history-event:not(:last-child)::before{inset-inline-start:16px;top:34px}}
