.history-panel>header{display:flex;align-items:center;justify-content:space-between;padding:18px;gap:15px}.history-panel h2{margin:0;color:#caf0ff}.history-panel header p,.history-note{color:#90b7cc;font-size:13px}.history-filters{display:flex;gap:12px;padding:16px;flex-wrap:wrap}.history-filters label{display:flex;flex:1;flex-direction:column;gap:6px;min-width:150px}.history-panel input,.history-panel select{background:#051f31;color:#d7edf9;border:1px solid #245169;padding:10px;border-radius:5px;font:inherit;width:100%}.history-panel button{background:#082a40;border:1px solid #225573;color:#c8edff;padding:9px 13px;border-radius:5px}.history-panel button:disabled{opacity:.4}.history-status{margin:0 16px;padding:12px;background:#072a40;border-left:3px solid #00aeef;color:#bde8ff}.history-status.warning{border-color:#ffa720}.history-status small{display:block;margin-top:7px;color:#9bbccc}.history-table{width:100%;border-collapse:collapse;font-size:15px}.history-table td,.history-table th{padding:12px;text-align:left;border-bottom:1px solid #173e53}.history-table th{color:#86bad8}.history-table td:first-child{white-space:nowrap}.history-table .history-detail{white-space:pre-wrap;overflow-wrap:anywhere;max-width:600px}.history-table .history-critical{background:#39172477;border-left:4px solid #ff536b}.history-table .history-warning{background:#47341455;border-left:4px solid #ffa920}.history-table .history-info{border-left:4px solid #13a9ed}.history-table .history-recovery{background:#093c3155;border-left:4px solid #00d69a}.history-pagination{padding:15px;display:flex;justify-content:space-between;align-items:center;gap:10px}.history-note{padding:0 16px 12px}@media(max-width:760px){.history-panel>header{align-items:flex-start;flex-direction:column}.history-filters{padding:10px;gap:10px}.history-table thead{display:none}.history-table,.history-table tbody{display:block}.history-table tr{display:grid;grid-template-columns:1fr 1fr;margin:10px;border-radius:5px;padding:10px;gap:7px}.history-table td{border:0;padding:0}.history-table td:first-child{font-size:12px}.history-table td:nth-child(4),.history-table td:nth-child(5){grid-column:1/-1}.history-table .history-detail{font-size:13px}.history-pagination{font-size:12px;padding:10px}.history-pagination button{padding:8px}}

.dd-page .history-panel>header{height:auto;min-height:72px;padding:16px}.dd-page .history-panel>header h2{font-size:19px;line-height:1.4}.dd-page .history-filters label{font-size:14px}.dd-page .history-panel input,.dd-page .history-panel select{font-size:14px}.dd-page .history-table td{font-size:14px}.dd-page .history-table th{font-size:14px}

/* Compact journal rows; full messages remain available in the detail dialog. */
.dd-page .history-table{table-layout:fixed}.dd-page .history-table th,.dd-page .history-table td{padding:5px 10px;font-size:13px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-table th:first-child{width:140px}.history-table th:nth-child(2){width:158px}.history-table th:nth-child(3){width:180px}.history-table [data-history-event]{cursor:pointer}.history-table [data-history-event]:hover{background:#123e55}.history-table [data-history-event]:focus-visible{outline:2px solid #00b8f0;outline-offset:-2px}.history-event-title{font-weight:500}.history-event-modal{max-width:680px}.history-event-modal header{display:flex;align-items:center;gap:10px;color:#82dcff}.history-event-modal h2{font-size:20px;margin:0 28px 18px 0}.history-event-modal h3{font-size:17px;color:#e3f5ff}.history-event-modal dl{display:grid;grid-template-columns:130px 1fr;gap:10px;font-size:14px}.history-event-modal dt{color:#8cb4cc}.history-event-modal dd{margin:0;color:#d9ecf7}.history-event-message{white-space:pre-wrap;overflow-wrap:anywhere;max-height:45vh;overflow:auto;background:#061e2d;border:1px solid #20495f;border-radius:7px;padding:14px;line-height:1.5;color:#d0e4ef;font-size:14px}@media(max-width:760px){.dd-page .history-table tr{margin:0;border-radius:0;padding:4px 8px;gap:0 6px;grid-template-columns:1fr 1fr}.dd-page .history-table td{padding:1px 3px;font-size:12px;line-height:18px}.dd-page .history-table td:nth-child(4){grid-column:auto}.history-event-modal dl{grid-template-columns:100px 1fr}}

.history-master-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,32%);gap:12px;padding:0 12px 12px;align-items:start}.history-master-detail #historyRows{min-width:0}.history-master-detail #historyRows>.dd-table-scroll{max-height:62vh;overflow:auto}.history-master-detail .history-table thead th{position:sticky;top:0;background:#092a3d;z-index:1}.history-detail-panel{background:linear-gradient(145deg,#0a2a3e,#051b29);border:1px solid #24506a;border-radius:8px;padding:18px;min-width:0;min-height:240px;max-height:62vh;overflow:auto;position:sticky;top:0}.history-detail-empty{color:#90b7cc;font-size:14px;line-height:1.6;margin:45px 8px;text-align:center}.history-table [data-history-event].selected{background:#104666;box-shadow:inset 3px 0 #00b8f0}.history-detail-panel .history-event-modal h2{font-size:17px;margin:0}.history-detail-panel .history-event-modal header{margin-bottom:18px}.history-detail-panel .history-event-modal h3{line-height:1.4;overflow-wrap:anywhere}.history-detail-panel .history-event-modal dl{grid-template-columns:1fr;gap:4px}.history-detail-panel .history-event-modal dd{margin-bottom:10px;overflow-wrap:anywhere}.history-detail-panel .history-event-message{max-height:none}.history-master-detail .history-table th:first-child{width:112px}.history-master-detail .history-table th:nth-child(2){width:135px}.history-master-detail .history-table th:nth-child(3){width:125px}@media(max-width:900px){.history-master-detail{grid-template-columns:1fr}.history-detail-panel{position:static;max-height:50vh;min-height:120px}.history-master-detail #historyRows>.dd-table-scroll{max-height:45vh}}
