.activity-explorer { max-width: 1500px; margin: 0 auto; padding: 2.5rem clamp(1rem, 4vw, 3rem); background: #fff; min-height: 75vh; }
.activity-eyebrow { font-size: .72rem; color: var(--slate-deep); letter-spacing: .1em; font-weight: 700; margin-bottom: .8rem; }
.activity-explorer h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); text-transform: none; }
.activity-explorer > p { max-width: 65rem; }.activity-note { font-size: .8rem; color: var(--slate-deep); }
.activity-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 2rem 0; }
.activity-topic-group { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; font-size: .82rem; }
.activity-topic-group button { padding: .45rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--sand); color: var(--slate); font: inherit; cursor: pointer; }
.activity-topic-group button[aria-pressed="true"] { background: rgba(32,216,209,.17); border-color: var(--slate-deep); }
.activity-search { display: grid; gap: .3rem; font-size: .75rem; }
.activity-search input { font: inherit; font-size: .85rem; padding: .5rem .7rem; border: 1px solid var(--border); border-radius: 4px; width: 230px; max-width: 100%; }
.activity-reset { background: none; border: 0; color: var(--slate-deep); cursor: pointer; font: 600 .82rem "DM Sans", sans-serif; padding: .5rem; }
.activity-explorer button:focus-visible, .activity-explorer input:focus-visible, .activity-table-scroll:focus-visible { outline: 2px solid var(--slate-deep); outline-offset: 3px; }
.activity-chart { padding: 1rem 0 1.5rem; }
.activity-chart-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: 1.5rem; }
.activity-chart-heading h2, .activity-table-toolbar h2 { font-size: 1rem; margin: 0; }.activity-chart-heading span { font-size: .75rem; color: var(--slate-deep); }
.activity-bars { display: flex; gap: 1.5rem; overflow-x: auto; min-height: 205px; border-bottom: 1px solid var(--border); background: repeating-linear-gradient(to top, transparent 0 49px, var(--border) 49px 50px); padding: 0 1rem; }
.activity-column { flex: 1 0 90px; min-width: 90px; display: flex; flex-direction: column; align-items: center; justify-content: end; }
.activity-bars[hidden] { display: none; }
.activity-stack { width: min(100%, 140px); display: flex; flex-direction: column; justify-content: end; }
.activity-segment { min-height: 1px; border-bottom: 1px solid #fff; }
.activity-column time { display: block; width: 100%; padding: .6rem 0; text-align: center; font-size: .72rem; background: #fff; }
.activity-total { font-size: .75rem; margin-bottom: .3rem; }
[data-category="Entra"] { --category-color: var(--slate-deep); }
[data-category="Purview"] { --category-color: var(--rust); }
[data-category="Copilot"] { --category-color: var(--amber); }
[data-category="Defender"] { --category-color: var(--sage-text); }
.activity-segment { background: var(--category-color, var(--slate)); }
.activity-legend { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; font-size: .75rem; }
.activity-legend span::before { content: ''; display: inline-block; width: .7rem; height: .7rem; background: var(--category-color); margin-right: .4rem; }
.activity-table-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.activity-table-toolbar > span { font-size: .8rem; }
.activity-table-scroll { overflow-x: auto; }.activity-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .82rem; }
.activity-table th { font-weight: 600; color: var(--slate-deep); background: var(--sand); white-space: nowrap; }
.activity-table th, .activity-table td { padding: 1rem .85rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.activity-table td:first-child { white-space: nowrap; }.activity-table td:nth-child(3) { min-width: 220px; }.activity-table td:nth-child(4) { min-width: 240px; max-width: 450px; }
.activity-table tbody tr:hover { background: var(--sand); }.activity-table .badge { font-size: .7rem; }
.activity-empty { padding: 2rem 0; font-size: .9rem; }
.activity-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 600px) { .activity-filters { gap: 1rem; }.activity-search { flex: 1; }.activity-search input { width: 100%; }.activity-explorer { padding-top: 1.5rem; } }
