.activity-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin:20px 0 8px}
.activity-head small{color:#9c001f;font-weight:900;text-transform:uppercase}
.activity-head h2{margin:4px 0;color:#26030a}
.activity-head p{margin:0;color:#6b5960;max-width:780px;line-height:1.5}
.activity-actions{display:flex;gap:8px;flex-wrap:wrap}
.activity-actions button,.activity-filter button{min-height:40px;border:1px solid #d9b8ae;border-radius:8px;background:#8f001b;color:#fff;font-weight:800;padding:9px 13px}
.activity-filter{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr)) auto;gap:10px;align-items:end}
.activity-filter label{display:grid;gap:6px;color:#51333a;font-weight:800}
.activity-filter input,.activity-filter select{width:100%;min-height:38px;border:1px solid #e1c9c0;border-radius:8px;background:#fff;padding:8px}
.activity-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
.activity-card{border:1px solid #ead7cf;border-radius:8px;background:#fffaf6;padding:14px}
.activity-card small{display:block;color:#7b5a52;text-transform:uppercase;font-size:11px;font-weight:900}
.activity-card b{display:block;margin:8px 0 5px;font-size:28px;color:#8f001b}
.activity-card span{color:#7a6870;font-size:12px}
.activity-chart-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
.activity-chart h3{margin:0 0 12px;color:#402228}
.activity-chart article{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;align-items:center;margin:8px 0}
.activity-chart article b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#3d2930}
.activity-chart article span{text-align:right;color:#8f001b;font-weight:900}
.activity-chart article p{grid-column:1/-1;height:8px;margin:0;border-radius:99px;background:#f2dfd8;overflow:hidden}
.activity-chart article i{display:block;height:100%;background:linear-gradient(90deg,#8f001b,#0f766e)}
.activity-log-panel{padding:0;margin-top:14px}
.activity-log-tabs{padding:0;margin-top:14px;overflow:hidden}
.activity-tabs{display:flex;gap:6px;padding:12px 12px 0;background:#fffaf6;border-bottom:1px solid #ead7cf}
.activity-tabs button{border:1px solid #e1c9c0;border-bottom:0;border-radius:8px 8px 0 0;background:#fff;color:#51333a;font-weight:900;padding:10px 14px;cursor:pointer}
.activity-tabs button.active{background:#8f001b;border-color:#8f001b;color:#fff}
.activity-tabs span{display:inline-flex;min-width:24px;height:22px;align-items:center;justify-content:center;margin-left:6px;border-radius:999px;background:#f4e4dd;color:inherit;font-size:12px}
.activity-tab-body>.activity-log-panel{margin-top:0}
.activity-table-tools{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;border-bottom:1px solid #ead7cf;background:#fffaf6}
.activity-table-tools>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.activity-table-tools label{display:flex;gap:6px;align-items:center;font-weight:800;color:#51333a}
.activity-table-tools select{min-height:34px;border:1px solid #e1c9c0;border-radius:7px;background:#fff;padding:6px}
.activity-table-tools button,.activity-pager button{min-height:34px;border:1px solid #d9b8ae;border-radius:7px;background:#fff;color:#51333a;font-weight:800;padding:7px 10px}
.activity-table-tools button:disabled,.activity-pager button:disabled{opacity:.45;cursor:not-allowed}
.activity-table{min-width:1320px}
.activity-table td{vertical-align:middle}
.activity-table th:first-child,.activity-table td:first-child{width:44px;text-align:center}
.activity-table th:nth-child(2),.activity-table td:nth-child(2){width:58px;text-align:center;font-weight:800;color:#8f001b}
.activity-table small{display:block;color:#7b8da5;margin-top:3px}
.activity-pager{display:flex;justify-content:center;gap:12px;align-items:center;padding:12px;border-top:1px solid #ead7cf;background:#fffdfb}
@media(max-width:1200px){.activity-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.activity-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.activity-head{flex-direction:column}.activity-actions,.activity-actions button{width:100%}.activity-filter,.activity-cards,.activity-chart-grid{grid-template-columns:1fr}.activity-filter button{width:100%}.activity-tabs{flex-direction:column;padding:10px}.activity-tabs button{border:1px solid #e1c9c0;border-radius:8px}.activity-table-tools{align-items:stretch;flex-direction:column}.activity-table-tools>div,.activity-table-tools button{width:100%}.activity-table-tools label{justify-content:space-between}.activity-pager{justify-content:space-between}}
