.log-history .log-tabs {display:flex;gap:12px;margin:10px 0}
.log-history .log-tabs button {background:transparent;color:var(--muted,#526176);border:0;border-bottom:2px solid transparent;border-radius:0;padding:6px}
.log-history .log-tabs button[aria-current] {color:var(--brand,#245dab);border-bottom-color:currentColor}
.log-history [data-log-filters] {display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px}
.log-history [data-log-filters] label {display:grid;gap:4px}
.log-history td:last-child {min-width:12em;max-width:40em;white-space:normal;overflow-wrap:anywhere}
.log-history td summary {cursor:pointer}

.log-history [data-log-filters] {gap:8px;padding:11px 14px}
.log-history [data-log-filters] label {font-size:11.5px;color:#526176}
.log-history [data-log-filters] :is(input,select){width:100%;min-width:0;padding:6px 8px;font-size:12px}
.log-history [data-log-filters] input[name=q]{min-width:155px}
.log-history .log-tabs {margin:6px 0 11px;gap:18px;border-bottom:1px solid #e2e8f0}
.log-history .log-tabs button {padding:7px 2px;font-size:12.5px}
.log-history [data-log-summary]{margin:8px 0;font-size:12px}
.log-history .card.table-wrap table {min-width:665px}
.log-history .card.table-wrap th {background:#f8fafc;font-size:11px}
.log-history .card.table-wrap td {padding:9px 12px;font-size:12px;white-space:normal;overflow-wrap:anywhere}
.log-history .card.table-wrap td small {display:block;color:#64748b;margin-top:2px;font-size:10.5px}
.log-history .card.table-wrap td b {font-weight:550}
.log-history .log-avatar {display:inline-grid;place-items:center;font-weight:bold;width:23px;height:23px;margin-right:7px;border-radius:50%;background:#eef4ff;color:#2856a6;vertical-align:middle}
.log-history .log-action {display:inline-block;padding:2px 7px;border-radius:5px;font-size:11px;line-height:1.5}
.log-history .log-action.business {background:#ecfdf5;color:#166534}
.log-history .log-action.session {background:#eff6ff;color:#1d4ed8}
.log-history .log-action.system {background:#fffbeb;color:#92400e}
.log-history .log-action.neutral {background:#f1f5f9;color:#475569}
.log-history .log-time {font-variant-numeric:tabular-nums}
.log-history td details {max-width:40em}
.log-history td pre {white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;font-size:11px}
#timeline .log-time {position:relative;padding-left:24px}
#timeline .log-time::before {content:"";position:absolute;left:11px;top:0;bottom:0;width:1px;background:#d6e3f8}
#timeline .log-time::after {content:"";position:absolute;left:8px;top:17px;width:7px;height:7px;border-radius:50%;background:#5177ad}
