/* Runtime payload tables and settings scopes reuse the shared semantic tokens. */
.runtime-records-panel { min-width:0; }
.runtime-records-panel .runtime-status-strip { padding:0; border:0; background:none; margin:0 0 16px; }
.runtime-records-panel .runtime-mode-tabs { margin-bottom:16px; }
.runtime-records-panel .runtime-filter-toolbar { display:flex; flex-wrap:wrap; gap:8px; padding:0; border:0; background:none; margin:0; }
.runtime-filter-toolbar label { width:180px; margin:0; }
.runtime-filter-toolbar .runtime-query-field { width:260px; }
.runtime-records-scope { font-size:12px; color:var(--muted); margin:10px 0 16px; }
.runtime-records-panel .events-list, .runtime-records-panel .message-events-list, .runtime-records-panel .records-list, .runtime-records-panel .conversation-session-list { display:block; padding:0; max-height:none; border:0; border-radius:0; min-width:0; }
.runtime-records-panel .runtime-records-table { width:100%; min-width:840px; table-layout:auto; }
.runtime-records-table th, .runtime-records-table td { padding:12px; text-align:left; vertical-align:middle; }
.runtime-records-table td:first-child { width:155px; white-space:nowrap; font-variant-numeric:tabular-nums; }
.runtime-records-table th:last-child, .runtime-records-table td:last-child { width:48px; min-width:48px; padding-inline:8px; }
.runtime-records-table td small { display:block; color:var(--muted); font-size:12px; margin-top:3px; }
.runtime-records-table td strong { font-weight:500; }
.runtime-record-excerpt { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; min-width:180px; max-width:480px; white-space:normal; line-height:1.55; }
.runtime-kind { display:inline-flex; color:var(--muted); font-size:12px; white-space:nowrap; }
.runtime-records-panel .runtime-reply-head { display:none; }
.runtime-records-panel .runtime-group-summary { margin:12px 0 20px; border-bottom:1px solid var(--line); padding:0 0 14px; }
.runtime-group-summary > summary { font-size:13px; color:var(--muted); cursor:pointer; }
.runtime-group-summary > summary span { margin-left:8px; }
.runtime-group-summary[open] .reply-group-overview { margin-top:12px; }
.runtime-records-panel .runtime-reply-filters { margin-bottom:16px; }
.runtime-records-panel .runtime-conversation-toolbar { background:none; border:0; padding:0; }
.runtime-records-panel .summary-list { background:none; border:0; padding:0; color:var(--muted); font-size:13px; }
#runtimeRecordDetailBody .record-row { border:0; padding:0; }
.runtime-detail-meta { display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px 20px; font-size:13px; margin:0 0 24px; }
.runtime-detail-meta dt { color:var(--muted); }
.runtime-detail-meta dd { margin:0; overflow-wrap:anywhere; }
.runtime-detail-text { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; line-height:1.7; }
.global-control-panel .settings-scope-block { display:grid; grid-template-columns:minmax(160px,1fr) minmax(0,2fr); gap:36px; margin:0; padding:28px 0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; }
.global-control-panel .settings-scope-block:first-of-type { border-top:0; padding-top:0; }
.settings-scope-heading h3 { font-size:15px; font-weight:500; margin:0 0 6px; }
.settings-scope-heading p, .retention-cleanup-row p { font-size:13px; color:var(--muted); line-height:1.6; margin:0; }
.settings-scope-content { display:grid; gap:20px; min-width:0; }
.settings-scope-content > label { display:grid; gap:8px; }
.settings-scope-content label > span { display:flex; align-items:center; gap:6px; }
.settings-save-row { display:flex; align-items:center; justify-content:flex-end; gap:12px; min-width:0; }
.settings-save-row [role="status"] { font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
.settings-save-row [role="status"].warning { color:var(--danger); }
.retention-cleanup-row { display:flex; justify-content:space-between; align-items:center; gap:20px; border-top:1px solid var(--line); padding-top:20px; }
.retention-cleanup-row strong { display:block; font-size:13px; font-weight:500; margin-bottom:5px; }
.retention-cleanup-row button { flex:none; }
@media (max-width:767px) {
  .runtime-filter-toolbar label, .runtime-filter-toolbar .runtime-query-field { flex:1 1 130px; width:auto; min-width:0; }
  .runtime-filter-toolbar .runtime-query-field { flex-basis:100%; }
  .global-control-panel .settings-scope-block { grid-template-columns:minmax(0,1fr); gap:18px; padding:24px 0; }
  .settings-scope-content .form-grid { grid-template-columns:minmax(0,1fr); }
  .retention-cleanup-row { align-items:flex-start; flex-direction:column; gap:12px; }
}

/* The page composer moves the sole refresh action and help to the page heading. */
.runtime-records-panel > .panel-head:has(h2[hidden]) { display:none; }
