#activityLogPanel { padding: 0; border: 1px solid #cbd7e4; border-radius: 18px; overflow: hidden; background: #fff; color: #193750; min-width: 0; }
#activityLogPanel .activity-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; background: #1e4163; color: #fff; }
#activityLogPanel .activity-head h2 { font-size: 24px; margin: 4px 0; }
#activityLogPanel .activity-head p { margin: 0; color: #dae7f3; }
#activityLogPanel .activity-head .eyebrow { color: #c5daeb; }
#activityLogPanel .button { min-height: 44px; width: auto; max-width: 100%; white-space: normal; line-height: 1.3; padding: 11px 16px; flex-shrink: 0; }
#activityLogPanel .button.secondary { background: #fff; color: #244763; border: 1px solid #bacbdb; }
#activityLogPanel .activity-body { padding: 20px; }
#activityLogPanel .activity-note { color: #50647a; font-size: 13px; line-height: 1.55; margin: 0 0 18px; }
#activityLogPanel .activity-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; padding: 16px; background: #f2f6fa; border: 1px solid #d2dfeb; border-radius: 14px; }
#activityLogPanel label { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 13px; font-weight: 600; color: #334e68; }
#activityLogPanel .activity-hint { display: inline; font-size: 11px; color: #53677d; }
#activityLogPanel input, #activityLogPanel select { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; height: 46px; margin-top: auto; border: 1px solid #b5c5d6; border-radius: 9px; background: white; color: #193750; padding: 9px 10px; font-size: 16px; box-shadow: none; }
#activityLogPanel input:focus-visible, #activityLogPanel select:focus-visible, #activityLogPanel summary:focus-visible { outline: 2px solid #2369d8; outline-offset: 2px; }
#activityLogPanel .activity-filter-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
#activityLogPanel .activity-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
#activityLogPanel .activity-toolbar p { margin: 0; color: #50647a; font-size: 13px; }
#activityLogPanel [data-activity-error] { padding: 12px; border: 1px solid #e5a2ae; background: #fff1f3; color: #8a1830; border-radius: 10px; }
#activityLogPanel [hidden] { display: none !important; }
#activityLogPanel .activity-events { display: grid; gap: 12px; }
#activityLogPanel .activity-event { padding: 16px; border: 1px solid #cdd9e5; border-radius: 12px; min-width: 0; overflow-wrap: anywhere; }
#activityLogPanel .activity-event-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #52667c; font-size: 12px; }
#activityLogPanel .activity-result { display: inline-flex; align-items: center; border-radius: 20px; padding: 5px 9px; font-weight: 700; flex-shrink: 0; }
#activityLogPanel .activity-result.success { color: #0d684f; background: #e4f5ed; }
#activityLogPanel .activity-result.failure { color: #951d38; background: #ffe8ee; }
#activityLogPanel h3 { font-size: 17px; margin: 9px 0; }
#activityLogPanel .activity-actor { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; margin: 6px 0; }
#activityLogPanel .activity-record { font-size: 13px; color: #50647a; margin: 8px 0; }
#activityLogPanel summary { cursor: pointer; min-height: 44px; padding: 12px 0; color: #225fc5; font-weight: 600; font-size: 13px; }
#activityLogPanel dl { display: grid; grid-template-columns: minmax(100px,140px) minmax(0,1fr); gap: 10px 14px; margin: 0; padding: 12px; border-radius: 8px; background: #f2f6fa; font-size: 13px; }
#activityLogPanel dt { font-weight: 600; }
#activityLogPanel dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
#activityLogPanel .activity-paging { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 0; font-size: 13px; }
#activityLogPanel .activity-empty { text-align: center; padding: 34px 16px; border: 1px dashed #bcccdc; border-radius: 12px; }
@media(max-width:1100px) { #activityLogPanel .activity-filters { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:560px) {
 #activityLogPanel .activity-head { align-items: flex-start; flex-direction: column; padding: 16px; }
 #activityLogPanel .activity-body { padding: 12px; }
 #activityLogPanel .activity-filters { grid-template-columns: minmax(0,1fr); padding: 12px; }
 #activityLogPanel .activity-filter-actions { display: grid; grid-template-columns: 1fr 1fr; }
 #activityLogPanel .activity-event { padding: 12px; }
 #activityLogPanel dl { grid-template-columns: minmax(0,1fr); gap: 6px; }
 #activityLogPanel dd { margin-bottom: 8px; }
 #activityLogPanel .activity-paging .button { padding-inline: 10px; }
}
