/* Public primary categories; Latest is the combined recent view. */
.community-hub#community-happening .community-category-toolbar.community-update-toolbar{display:block!important;overflow:visible!important;padding:14px 0!important}
.community-hub#community-happening .community-category-toolbar.community-update-toolbar .community-latest-button{display:inline-flex!important;gap:8px;padding:8px 14px;min-height:44px;width:auto;margin-bottom:12px;border-radius:24px;border:1px solid #b5c9ba;background:#f8f5eb;color:#174d3b;font:700 13px Arial,sans-serif}
.community-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.community-hub#community-happening .community-category-toolbar .community-category-grid .community-category-button{display:grid!important;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;min-width:0;width:100%;min-height:70px;border-radius:12px;border:1px solid #bacaba;padding:12px 10px!important;background:linear-gradient(135deg,#fffef9,#f0f5ee);color:#174c39;box-shadow:0 2px 0 rgba(22,71,52,.04);position:relative;white-space:normal;text-align:left;transition:background .15s,box-shadow .15s}
.category-symbol{width:30px;height:30px;display:grid;place-items:center;background:#e6eee4;border-radius:9px;color:#174c39}
.category-symbol svg{width:23px;height:23px;display:block}
.category-name{font:700 12px/1.3 Arial,sans-serif;letter-spacing:0}
.category-count{font:700 11px/1 Arial,sans-serif;background:#e4eddf;border:1px solid #c6d6c1;min-width:23px;height:23px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;color:#174c39}
.community-hub#community-happening .community-category-toolbar.community-update-toolbar button[aria-selected=true]{background:#123f30!important;border-color:#123f30!important;color:#fff9ea!important;box-shadow:inset 0 -3px #d1ad63,0 4px 12px rgba(17,60,43,.13)}
.community-category-toolbar button[aria-selected=true] .category-symbol{background:#285946;color:#f1d394}
.community-category-toolbar button[aria-selected=true] .category-count{background:#f1d394;border-color:#f1d394;color:#173d2d}
.community-category-toolbar button:hover{border-color:#46785b!important;box-shadow:0 4px 12px rgba(17,60,43,.1)}
.community-hub#community-happening .community-category-toolbar.community-update-toolbar button:focus-visible{outline:3px solid #906b20;outline-offset:3px}
@media(max-width:1000px){.community-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.community-hub#community-happening .community-category-toolbar .community-category-grid .community-category-button{min-height:62px}}
@media(max-width:560px){.community-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.community-hub#community-happening .community-category-toolbar .community-category-grid .community-category-button{grid-template-columns:26px 1fr auto;gap:6px;padding:10px 8px!important;min-height:64px}.category-symbol{width:26px;height:28px}.category-symbol svg{width:22px;height:22px}.category-name{font-size:11px}.category-count{min-width:20px;height:20px;font-size:10px}.community-category-grid .community-category-button:last-child{grid-column:1/-1}.community-hub#community-happening .community-category-toolbar.community-update-toolbar .community-latest-button{margin-bottom:10px}}
@media(prefers-reduced-motion:reduce){.community-category-toolbar button{transition:none!important}}

.community-hub#community-happening .community-category-toolbar .category-name{display:block!important;background:none!important;border:0!important;padding:0!important;border-radius:0!important;font:700 12px/1.3 Arial,sans-serif!important;min-width:0;white-space:normal!important;color:inherit!important}
.community-hub#community-happening .community-category-toolbar .category-count{display:inline-flex!important;justify-content:center;align-items:center;border-radius:50%!important;background:#e4eddf!important;min-width:23px!important;width:23px!important;height:23px!important;padding:0!important;font:700 11px Arial,sans-serif!important;color:#174c39!important;opacity:1!important}
.community-hub#community-happening .community-category-toolbar button[aria-selected=true] .category-count{background:#f1d394!important;color:#173d2d!important}
.community-hub#community-happening .community-category-toolbar .community-latest-button>span:first-child{background:none!important;border:0!important;border-radius:0!important;padding:0!important;font:700 13px Arial,sans-serif!important;color:inherit!important}
