.logs-page{height:auto;min-height:100dvh;overflow:auto;padding:10px;font-size:1rem}
.logs-page h1{font-size:1.25rem;margin:0}
.logs-header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid var(--line)}
.logs-header a{margin-left:auto}.logs-page main{padding-top:8px}.logs-page a{color:var(--ink);text-decoration:underline}
.records-filters{display:flex;flex-wrap:wrap;gap:12px}.records-filters label{min-width:12rem}.records-filters label:last-child{flex:1}
.records-table-wrap{max-width:100%;overflow:auto}.logs-page table{table-layout:auto}
.records-table{width:100%}
.record-summary{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;width:clamp(9rem,14vw,16rem);max-height:2.5em;line-height:1.25;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere}
.record-user .record-summary{width:clamp(7rem,10vw,12rem)}
.logs-page th,.logs-page td{padding:5px 6px;vertical-align:middle;overflow-wrap:anywhere}
.records-table th:first-child{width:7rem}.records-table th:nth-child(5),.records-table th:nth-child(6){width:15rem}
.records-table th:nth-child(7){width:7rem}.records-table th:nth-child(8){width:1%;white-space:nowrap}
.logs-page th:last-child{width:5rem;white-space:nowrap;text-align:right}
.logs-page time{display:block;white-space:normal;font-variant-numeric:tabular-nums}
.logs-page time>span{display:inline-block;white-space:nowrap}
.record-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:6px}
.record-actions a,.logs-page td button{padding:3px 6px;min-height:30px;white-space:nowrap}
.record-events{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.record-status-row,.record-status-action{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.record-note{display:block;color:var(--muted);margin-top:2px}
.logs-page #records-notice[data-error=true]{color:var(--danger,#a52121)}
#record-log-dialog{width:min(1200px,96vw);max-height:90dvh;overflow:auto}
#record-log-dialog .dialog-title{position:sticky;top:0;z-index:1;background:var(--panel);padding-bottom:6px}
#record-log-summary time{display:inline-block}
#record-log-metadata{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1rem}
.record-log-table-wrap{overflow:auto;max-width:100%;margin-top:8px}
.logs-page .record-log-table{min-width:0;width:100%;table-layout:auto}
.logs-page .record-log-table th{width:auto;white-space:nowrap;text-align:left}
.record-log-table td:first-child,.record-log-table td:nth-child(2),.record-log-table td:nth-child(3){white-space:nowrap}
.record-event-data{min-width:12rem;white-space:pre-wrap;font-family:monospace;font-size:1rem}
@media(max-width:900px){
 .records-table th:nth-child(5),.records-table th:nth-child(6){width:8.5rem}
 .record-date time,.record-log-table time{width:8.5rem}
 .records-table th,.records-table td{padding:4px}
}
