.activity-heading { align-items:flex-start; gap:20px; }
.activity-heading h2 { margin-bottom:8px; }
.activity-heading p,.activity-note { color:#9caec5; font-size:13px; line-height:1.6; }
.activity-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.activity-live { display:inline-flex; align-items:center; gap:7px; color:#9fddbe; font-size:12px; white-space:nowrap; }
.activity-live::before { content:''; width:7px; height:7px; border-radius:50%; background:#78cf9f; }
.activity-live.is-paused { color:#e0bf80; }
.activity-live.is-paused::before { background:#e0bf80; }
.activity-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:24px 0; }
.activity-stats>div { display:flex; align-items:baseline; gap:12px; padding:14px 18px; border:1px solid #344155; border-radius:6px; background:#192334; }
.activity-stats strong { font-size:24px; color:#e5edf6; }
.activity-stats span { color:#acbbcf; font-size:13px; }
.activity-stats>div:last-child strong { color:#f59caa; }
.activity-filters { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin-bottom:16px; }
.activity-filters .search-wrap { flex:1; min-width:200px; max-width:460px; }
.activity-filters input { width:100%; }
.activity-filters>label:not(.search-wrap) { display:flex; align-items:center; gap:10px; color:#acbbcf; font-size:13px; }
.activity-filters select { min-height:36px; border:1px solid #44536a; border-radius:4px; background:#182232; color:#e5edf6; padding:6px 10px; }
.activity-status { margin-left:auto; font-size:12px; color:#9fddbe; }
.activity-status.is-error { color:#ffadb6; }
.activity-table-wrap { overflow-x:auto; border:1px solid #344155; border-radius:6px; }
.activity-table { width:100%; border-collapse:collapse; font-size:13px; text-align:left; }
.activity-table th { padding:12px; background:#202c3e; color:#c5d2e4; font-size:11px; letter-spacing:.04em; text-transform:uppercase; }
.activity-table td { padding:14px 12px; border-top:1px solid #2d3b50; vertical-align:top; color:#c5d2e4; }
.activity-table tbody tr:nth-child(even) { background:#162031; }
.activity-time { white-space:nowrap; font-variant-numeric:tabular-nums; font-size:12px; }
.activity-level { display:inline-block; padding:3px 7px; border:1px solid #49637d; border-radius:4px; font-size:11px; white-space:nowrap; color:#accced; background:#1b3044; }
.activity-level.level-warning { color:#efd195; background:#3a301f; border-color:#7e653c; }
.activity-level.level-error { color:#ffb2be; background:#3a202c; border-color:#824154; }
.activity-message { min-width:240px; max-width:520px; overflow-wrap:anywhere; }
.activity-message strong { display:block; font-weight:500; color:#e3ebf6; line-height:1.5; }
.activity-message>span,.activity-message small { display:block; margin-top:5px; }
.activity-message small { color:#7e94ae; font-size:10px; }
.activity-source { font-size:11px; color:#9caec5; }
.activity-table summary { color:#e6c88f; cursor:pointer; white-space:nowrap; }
.activity-table dl { min-width:180px; max-width:300px; margin:10px 0 0; font-size:11px; overflow-wrap:anywhere; }
.activity-table dt { color:#8096b1; margin-top:8px; }
.activity-table dd { margin:3px 0 0; color:#d8e2f0; }
.activity-table .activity-empty { text-align:center; padding:36px 20px; color:#9caec5; }
.activity-bottom { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:16px; color:#8da3be; font-size:12px; }
.sidebar-access>button+button { margin-top:4px; }
.activity-undo-button { padding:6px 9px; white-space:nowrap; font-size:12px; }
.activity-undone { color:#9fddbe; font-size:12px; }
.activity-no-undo { color:#7e94ae; }
.activity-undo-dialog { box-sizing:border-box; width:min(880px,calc(100vw - 32px)); max-height:88vh; overflow:auto; padding:24px; border:1px solid #53627a; border-radius:8px; background:#141d2b; color:#dce7f5; }
.activity-undo-dialog::backdrop { background:#080c15c9; }
.activity-undo-heading,.activity-undo-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.activity-undo-heading h2 { margin:0; }
.activity-undo-dialog h3 { font:600 14px 'DM Sans',sans-serif; }
.activity-undo-dialog p { font:13px/1.6 'DM Sans',sans-serif; }
.activity-undo-comparison { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:20px 0; }
.activity-undo-comparison>section,.activity-undo-groups>section { padding:14px; border:1px solid #344155; border-radius:5px; background:#192334; }
.activity-undo-comparison dl { font-size:13px; }
.activity-undo-comparison dt { color:#94a9c4; margin-top:12px; }
.activity-undo-comparison dd { margin:4px 0 0; overflow-wrap:anywhere; }
.activity-undo-notice { padding:12px 16px; border-left:3px solid #c6a568; background:#b8995b16; color:#f0d5a6; }
.activity-undo-groups { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.activity-undo-groups strong { color:#e5c992; font-size:12px; }
.activity-undo-actions { justify-content:flex-end; margin-top:20px; }
@media(max-width:650px){.activity-undo-comparison{grid-template-columns:1fr}.activity-undo-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.activity-undo-actions{flex-wrap:wrap}}
@media(max-width:760px) {
  .activity-heading { flex-direction:column; }
  .activity-stats { gap:6px; }
  .activity-stats>div { flex-direction:column; gap:5px; padding:12px; }
  .activity-status { margin-left:0; width:100%; }
}
