#nav-3 .activity-section {
    width: 100% !important; min-width: 0; display: block; text-align: left !important;
    margin: 0 0 24px !important; padding: 20px; border: 1px solid #e2e7ee;
    border-radius: 14px; background: #fff; box-sizing: border-box;
}
#nav-3 .activity-section h2 {
    display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700;
    margin: 0 0 16px; padding: 0; border: 0; color: #202b3c;
}
#nav-3 .activity-count { font-size: 12px; font-weight: 600; color: #486486; background: #eef3fa; padding: 4px 9px; border-radius: 20px; }
#nav-3 .activity-section > div:first-child:has(.vote-filter) { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
#nav-3 .activity-section > div:first-child > div:has(h2) { width: auto !important; float: none !important; }
#nav-3 .activity-section > div:first-child h2 { margin: 0; }
#nav-3 .vote-filter { display: flex; flex-wrap: wrap; gap: 8px; float: none !important; }
#nav-3 .vote-filter label { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; margin: 0; border: 1px solid #dce3ec; border-radius: 8px; font-size: 13px; cursor: pointer; }
#nav-3 .vote-filter label:has(input:checked) { background: #eef4fc; border-color: #bfd1eb; color: #315d94; }
#nav-3 .vote-filter input { margin: 0; accent-color: #315d94; }
#nav-3 .tbl-wrap { width: 100%; height: auto; max-height: none; overflow-x: auto; }
#nav-3 .c-table { width: 100%; min-width: 700px; table-layout: fixed; }
#nav-3 .c-table th { background: #f5f7fa; font-size: 12px; color: #68758a; font-weight: 600; white-space: nowrap; }
#nav-3 .c-table .c-table__cell { padding: 14px 12px; vertical-align: middle; text-align: left; font-size: 13px; overflow-wrap: anywhere; }
#nav-3 .c-table td:first-child { font-weight: 600; color: #25344a; }
#nav-3 .c-table .short, #nav-3 .c-table .short2 { display: inline; width: auto !important; white-space: normal; overflow: visible; text-overflow: clip; }
#nav-3 .c-table a:hover { text-decoration: underline; }
#nav-3 .c-table tr[hidden], #nav-3 [hidden] { display: none !important; }
#nav-3 .mobileCardList { max-height: none; overflow: visible; margin: 0; padding: 0; }
#nav-3 .mobile-card { border: 1px solid #e2e7ee; border-radius: 12px; padding: 16px; margin: 0 0 12px; background: #fff; }
#nav-3 .mobile-card:last-child { margin-bottom: 0; }
#nav-3 .activity-card-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
#nav-3 .activity-date { font-size: 12px; color: #788396; }
#nav-3 .activity-status { font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: #f0f2f5; color: #536174; }
#nav-3 .activity-status--positive { background: #e9f5f0; color: #25745b; }
#nav-3 .activity-status--negative { background: #fceeed; color: #aa4e49; }
#nav-3 .mobile-card-title { display: block; text-align: left; margin: 0 0 14px; font-size: 16px; line-height: 1.6; font-weight: 600; }
#nav-3 .mobile-card-title a, #nav-3 .mobile-card-title span { display: inline; color: #25344a; white-space: normal; overflow: visible; overflow-wrap: anywhere; text-overflow: clip; }
#nav-3 .mobile-card-meta { display: grid; gap: 8px; margin: 0; font-size: 13px; line-height: 1.6; }
#nav-3 .activity-meta-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
#nav-3 .activity-meta-item dt { font-weight: 400; color: #8791a0; }
#nav-3 .activity-meta-item dd { margin: 0; color: #526174; overflow-wrap: anywhere; }
#nav-3 .activity-vote-action { margin-top: 14px; min-height: 40px; padding: 8px 12px; border: 1px solid #dce3ec; border-radius: 8px; background: #f7f9fc; color: #315d94; font-size: 13px; cursor: pointer; }
#nav-3 .activity-empty { padding: 28px 12px; text-align: center; font-size: 14px; color: #788396; background: #f7f9fc; border-radius: 10px; }
#nav-3 .activity-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid #edf0f4; font-size: 12px; color: #788396; }
#nav-3 .activity-pagination button { min-width: 56px; min-height: 40px; padding: 8px 12px; border: 1px solid #dce3ec; border-radius: 8px; background: #fff; color: #315d94; cursor: pointer; }
#nav-3 .activity-pagination button:disabled { opacity: .4; cursor: default; }
#nav-3 a:focus-visible, #nav-3 button:focus-visible, #nav-3 input:focus-visible { outline: 2px solid #315d94; outline-offset: 3px; }
@media (max-width: 768px) {
    #nav-3 .activity-section { padding: 14px; margin-bottom: 20px !important; background: #f8fafc; }
    #nav-3 .activity-section h2 { font-size: 17px; }
    #nav-3 .vote-filter { gap: 6px; }
    #nav-3 .vote-filter label { min-height: 40px; padding: 8px; box-sizing: border-box; background: #fff; }
    #nav-3 .activity-section > div:first-child:has(.vote-filter) { display: grid; }
    #nav-3 .activity-pagination { gap: 10px; }
}

/* Table actions should not make plenary rows taller than proposal rows. */
#nav-3 .c-table .activity-vote-action{margin:0;min-height:0;padding:3px 8px;line-height:20px}
