.hub{--hub-purple:#6a1b9a;--hub-ink:#292333;--hub-muted:#6e6578;--hub-line:#e4d9ec;--hub-wash:#f7f3fa;--hub-yellow:#f4d263;color:var(--hub-ink)}.hub [hidden]{display:none!important}.hub-section{padding-top:44px;background:#fbf9fc}.hub h2{font-size:clamp(26px,3.1vw,38px);line-height:1.15;letter-spacing:-.7px}.hub h3{font-size:22px;line-height:1.25;letter-spacing:-.3px}.hub p{line-height:1.65}.hub-message{min-height:24px;font-size:15px;white-space:pre-line}.hub-message:empty{display:none}.hub-message.error,.hub .error{color:#a52235}.hub-kicker{font-size:11px;font-weight:750;letter-spacing:2px;color:var(--hub-yellow)}.hub-small{font-size:13px!important;line-height:1.6;color:var(--hub-muted)}.hub-welcome{display:grid;grid-template-columns:1.12fr 1fr;gap:42px;align-items:start}.hub-welcome-story{background:var(--hub-purple);border-radius:28px;padding:36px;color:white;overflow:hidden}.hub-welcome-story h2{font-size:clamp(36px,4.4vw,59px);line-height:1.05;color:white;margin:16px 0}.hub-welcome-story>p{color:#f0e7f6;max-width:420px;font-size:17px}.hub-photo{position:relative;margin:28px 0;border-radius:16px;overflow:hidden;aspect-ratio:1.75;background:#4c1b6c}.hub-photo img{width:100%;height:100%;object-fit:cover}.hub-photo span{position:absolute;bottom:12px;left:12px;right:12px;background:#fffdf5eF;color:#372640;padding:9px 12px;border-radius:7px;font-size:12px;font-weight:600}.hub-perks{display:grid;gap:18px}.hub-perks>div{display:grid;grid-template-columns:34px 1fr;column-gap:10px}.hub-perks b{grid-row:span 2;color:var(--hub-yellow);font-size:15px}.hub-perks strong{font-size:15px}.hub-perks span{font-size:13px;color:#ebddf2;line-height:1.5}.hub-guest-link{display:block;color:white!important;font-size:13px;text-decoration:underline;margin-top:28px;line-height:1.6}.hub-auth-card{padding:30px 10px 30px 4px;position:sticky;top:20px}.hub-auth-card h2{margin:14px 0 20px}.hub-auth-switch,.hub-segment{display:flex;padding:5px;border-radius:12px;background:#ede5f3;gap:5px;margin:20px 0}.hub-auth-switch button,.hub-segment button{flex:1;border:0;background:transparent;border-radius:8px;padding:12px 14px;color:#67566f;font:inherit;font-weight:600;font-size:14px;cursor:pointer}.hub-auth-switch button[aria-pressed=true],.hub-segment button[aria-pressed=true]{background:white;color:var(--hub-purple);box-shadow:0 2px 8px #30153612}.hub form label{display:block;font-size:14px;font-weight:600;margin:18px 0 7px}.hub input:not([type=radio]),.hub textarea,.hub select{display:block;width:100%;border:1px solid #c9b9d4;border-radius:9px;background:white;padding:13px 14px;font:inherit;font-size:16px;color:var(--hub-ink);min-height:48px}.hub textarea{resize:vertical;line-height:1.6}.hub input:read-only{background:#f6f2f9;color:#6d6575}.hub form>.button{margin-top:20px}.hub form .button{min-height:48px}.hub-auth-card form>.button{width:100%}.hub-reset{margin-top:20px;font-size:14px}.hub-reset summary{cursor:pointer;font-weight:600;color:var(--hub-purple)}.hub-reset form{padding:0 0 15px}.hub-auth-foot{margin-top:30px;padding-top:24px;border-top:1px solid var(--hub-line);display:flex;gap:16px}.hub-auth-foot p{font-size:13px;color:var(--hub-muted);margin:0}.hub-spark{font-size:38px;line-height:1;color:var(--hub-purple)}.hub-finish{max-width:650px;margin:auto;background:white;border:1px solid var(--hub-line);border-radius:22px;padding:30px}.hub-hello{display:grid;gap:18px;scroll-margin-block-start:16px;background:var(--hub-purple);color:white;padding:36px;border-radius:24px}.hub-hello h2{color:white;font-size:clamp(30px,4vw,47px);margin:14px 0}.hub-hello p{color:#eee4f4}.hub-member-stamp{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #ffffff32;padding-top:14px;font-size:13px}.hub-avatar{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:white;font-weight:700;background:var(--hub-purple);flex:0 0 auto}.hub-avatar.big{width:70px;height:70px;font-size:28px;border:3px solid #ffffff8c}.hub-signout{background:none;border:0;color:white;text-decoration:underline;cursor:pointer;font:inherit;font-size:13px;padding:8px}.hub-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0 28px}.hub-stats article{background:white;padding:22px 24px;border:1px solid var(--hub-line);border-radius:15px}.hub-stats span{font-size:10px;font-weight:700;letter-spacing:1.4px;color:var(--hub-purple)}.hub-stats strong{display:block;font-size:38px;line-height:1.2;margin:8px 0;color:var(--hub-purple)}.hub-stats p{font-size:13px;color:var(--hub-muted);margin:0}.hub-tabs{display:flex;overflow-x:auto;gap:6px;border-bottom:1px solid var(--hub-line);margin-bottom:32px;padding-bottom:8px}.hub-tabs button{white-space:nowrap;border:0;background:transparent;color:#6f637a;padding:12px 16px;border-radius:8px;font:inherit;font-size:14px;font-weight:600;cursor:pointer}.hub-tabs button[aria-selected=true]{background:var(--hub-purple);color:white}.hub-columns{display:grid;grid-template-columns:1.35fr 1fr;gap:28px;align-items:start}.hub-section-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:28px 0 22px}.hub-section-title h2{margin:10px 0}.hub-section-title p{font-size:14px;color:var(--hub-muted);max-width:680px}.hub-section-title .text-link{flex-shrink:0;font-size:14px}.hub-text-button{border:0;background:none;color:var(--hub-purple);text-decoration:underline;font:inherit;font-size:13px;cursor:pointer}.hub-card{padding:26px;border:1px solid var(--hub-line);background:white;border-radius:18px}.hub-impact h2{font-size:28px;margin-top:12px}.hub-impact>p{font-size:14px}.hub-impact progress{width:100%;height:9px;accent-color:var(--hub-purple);margin-bottom:20px;border-radius:20px}.hub-badges{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hub-badge{border:1px solid #e6dfeb;border-radius:12px;padding:16px 12px;background:#faf8fc}.hub-badge.earned{background:#fff9e8;border-color:#eed58a}.hub-badge-mark{width:30px;height:30px;border:2px solid #c7bdd1;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;color:#93869e;margin-bottom:10px}.hub-badge.earned .hub-badge-mark{background:var(--hub-yellow);border-color:var(--hub-yellow);color:#603c16}.hub-badge strong{display:block;font-size:13px}.hub-badge p{font-size:11px;line-height:1.5;margin:6px 0 0;color:var(--hub-muted)}.hub-board-invite{background:#7e23b2;color:white;padding:26px;border-radius:18px;margin-top:24px}.hub-board-invite h3{color:white;margin:12px 0}.hub-board-invite p{font-size:14px;color:#f0e4f7}.hub-project-list{display:grid;gap:14px}.hub-project-card{display:grid;grid-template-columns:84px 1fr;gap:18px;background:white;border:1px solid var(--hub-line);border-radius:14px;padding:20px}.hub-project-date{background:#f1e7f7;border-radius:10px;padding:14px 8px;text-align:center;color:var(--hub-purple);font-size:12px;font-weight:700;line-height:1.5;align-self:start}.hub-project-card h3{font-size:20px;margin:0 0 9px}.hub-project-card p{font-size:13px;color:var(--hub-muted);margin:5px 0}.hub-project-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:15px}.hub-project-actions a,.hub-project-actions button{font-size:13px}.hub-project-actions .button{padding:10px 14px}.hub-status{display:inline-block;padding:5px 9px;border-radius:6px;background:#edf5ef;color:#38604b;font-size:11px;font-weight:600}.hub-status.neutral{background:#f3eef7;color:#6a5879}.hub-empty{border:1px dashed #cbb8d8;background:#faf7fc;border-radius:14px;padding:30px 24px;text-align:center}.hub-empty h3{font-size:23px;margin:0 0 10px}.hub-empty p{font-size:14px;color:var(--hub-muted)}.hub-empty .button{margin-top:8px}.hub-discover{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.hub-discover-card{background:white;border:1px solid var(--hub-line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.hub-discover-card img{aspect-ratio:1.65;width:100%;object-fit:contain;background:var(--hub-wash)}.hub-discover-card>div{padding:20px;display:flex;flex-direction:column;flex:1}.hub-discover-card h3{font-size:21px;margin:10px 0}.hub-discover-card p{font-size:13px;color:var(--hub-muted);margin:5px 0}.hub-discover-card .hub-project-actions{margin-top:auto;padding-top:16px}.hub-discover-card .tag{align-self:flex-start}.hub-segment{max-width:370px;margin-bottom:24px}.hub-board-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:26px;align-items:start}.hub-composer{padding:22px}.hub-composer>label{margin-top:0;font-size:19px}.hub-composer-selects{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.hub-composer-selects select{font-size:13px}.hub-composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}.hub-board-filters{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0}.hub-board-filters button{padding:8px 11px;border:1px solid #d6c8df;border-radius:20px;background:white;color:#66546f;font:inherit;font-size:12px;cursor:pointer}.hub-board-filters button[aria-pressed=true]{background:var(--hub-purple);border-color:var(--hub-purple);color:white}.hub-board-aside{background:#fff9e8;border-color:#ead99f}.hub-board-aside h3{margin:12px 0}.hub-board-aside p,.hub-board-aside li{font-size:13px;color:#685a45;line-height:1.7}.hub-board-aside ul{padding-left:18px}.hub-post{background:white;border:1px solid var(--hub-line);border-radius:16px;padding:22px;margin:16px 0}.hub-post-header{display:flex;align-items:center;gap:12px}.hub-post-byline{flex:1}.hub-post-byline strong{display:block;font-size:14px}.hub-post-byline time{font-size:11px;color:var(--hub-muted)}.hub-post-category{font-size:10px;font-weight:650;color:var(--hub-purple);background:#f3ebf8;border-radius:5px;padding:5px 8px}.hub-post-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0!important;font-size:15px}.hub-post-event{font-size:11px;color:var(--hub-muted)}.hub-post-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;border-top:1px solid #eee7f3;padding-top:12px}.hub-post-actions button{border:0;background:none;font:inherit;font-size:12px;color:var(--hub-purple);padding:8px 6px;cursor:pointer}.hub-post-actions button[aria-pressed=true]{background:#f1e6f7;border-radius:7px;font-weight:700}.hub-report-form{margin-top:12px;border-top:1px solid var(--hub-line);padding-top:10px}.hub-report-form select{font-size:13px}.hub-report-form button{font-size:12px;margin-top:10px}.hub-profile-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;align-items:start}.hub-profile-layout h2{margin:12px 0}.hub-color-field{border:0;padding:0;margin:24px 0}.hub-color-field legend{font-size:14px;font-weight:600;margin-bottom:12px}.hub-color-options{display:flex;flex-wrap:wrap;gap:10px}.hub-color-options label{margin:0!important;cursor:pointer}.hub-color-options input{position:absolute;opacity:0;pointer-events:none}.hub-color-options span{display:block;border:2px solid transparent;padding:8px 10px;border-radius:8px;font-size:12px;background:#f7f2fa}.hub-color-options span:before{content:'';display:inline-block;width:13px;height:13px;background:var(--swatch);border-radius:50%;margin-right:6px;vertical-align:middle}.hub-color-options input:checked+span{border-color:var(--hub-purple)}.hub-color-options input:focus-visible+span{outline:3px solid var(--hub-yellow)}.hub-thread{width:min(720px,calc(100vw - 28px));max-height:88vh;overflow:auto;border:0;border-radius:20px;padding:26px;color:var(--hub-ink);background:#faf7fc}.hub-thread::backdrop{background:#251331aa}.hub-thread-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.hub-thread h2{font-size:25px;margin:5px 0}.hub-thread #hub-reply-form{background:white;border:1px solid var(--hub-line);border-radius:12px;padding:18px}.hub button:focus-visible,.hub a:focus-visible,.hub input:focus-visible,.hub select:focus-visible,.hub textarea:focus-visible{outline:3px solid var(--hub-yellow);outline-offset:3px}.hub button:disabled{opacity:.6;cursor:wait}.hub-thread .hub-post{margin:12px 0}.hub-thread .hub-post-category{display:none}.hub #hub-board-more{margin:16px 0}.hub-auth-foot .hub-spark{color:var(--hub-purple)}
@media(max-width:950px){.hub-welcome{gap:24px;grid-template-columns:1fr 1fr}.hub-welcome-story{padding:28px}.hub-columns{grid-template-columns:1fr 1fr;gap:20px}.hub-board-layout{grid-template-columns:minmax(0,1fr) 230px}.hub-discover{grid-template-columns:repeat(2,1fr)}.hub-auth-card{padding:20px 0}}
@media(max-width:700px){.hub-section{padding-top:24px}.hub-welcome{display:flex;flex-direction:column-reverse;gap:20px}.hub-auth-card{position:static;width:100%;padding:8px 0 20px}.hub-auth-card h2{font-size:32px}.hub-welcome-story{width:100%;border-radius:18px;padding:26px}.hub-welcome-story h2{font-size:40px}.hub-photo{aspect-ratio:1.9}.hub-hello{gap:14px;padding:26px;border-radius:18px}.hub-member-stamp{font-size:12px}.hub-avatar.big{width:48px;height:48px;font-size:20px}.hub-stats{gap:8px;margin:14px 0 20px}.hub-stats article{padding:14px 12px}.hub-stats span{font-size:8px;letter-spacing:.5px}.hub-stats strong{font-size:31px}.hub-stats p{font-size:11px;line-height:1.4}.hub-tabs{gap:3px;margin-bottom:20px}.hub-tabs button{padding:11px 13px;font-size:13px}.hub-columns,.hub-board-layout,.hub-profile-layout{grid-template-columns:1fr}.hub-section-title{align-items:flex-start;margin:22px 0 17px}.hub-section-title h2{font-size:28px}.hub-section-title .button{padding:10px 12px;font-size:12px}.hub-section-title .text-link{font-size:12px}.hub-card{padding:22px}.hub-discover{grid-template-columns:1fr}.hub-discover-card{display:grid;grid-template-columns:110px 1fr}.hub-discover-card img{height:100%;aspect-ratio:auto}.hub-discover-card>div{padding:16px}.hub-discover-card h3{font-size:19px}.hub-project-card{grid-template-columns:62px 1fr;padding:16px;gap:13px}.hub-project-date{font-size:11px;padding:12px 5px}.hub-project-card h3{font-size:19px}.hub-project-actions{gap:9px}.hub-board-aside{order:-1;padding:18px}.hub-board-aside ul,.hub-board-aside>p:not(.hub-small){display:none}.hub-board-aside h3{font-size:20px}.hub-board-aside .hub-small{margin-bottom:0}.hub-composer-selects{grid-template-columns:1fr}.hub-post{padding:18px}.hub-post-header{flex-wrap:wrap}.hub-post-category{margin-left:54px}.hub-thread{padding:18px}.hub-thread-header h2{font-size:22px}.hub-hello h2{font-size:34px}.hub-finish{padding:24px}.hub-project-actions .button{padding:9px 11px}}

.hub-request-card{border:1px solid var(--hub-line);border-radius:18px;background:white;margin:16px 0;overflow:hidden}.hub-request-card summary{display:flex;gap:20px;align-items:center;padding:24px;cursor:pointer;list-style:none}.hub-request-card summary>div{flex:1;min-width:0}.hub-request-card h3{margin:0 0 7px;overflow-wrap:anywhere}.hub-request-card summary p{margin:0;font-size:13px;color:var(--hub-muted)}.hub-request-status{background:#f2e8f8;border-radius:30px;padding:7px 13px;font-size:12px;font-weight:700;color:#6a1b9a}.hub-request-details{padding:0 24px 24px;border-top:1px solid var(--hub-line)}.hub-request-details .button{margin:12px 14px 12px 0}.hub-request-count{font-size:24px;font-weight:700;color:var(--hub-purple)}.hub-request-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px}.hub-request-details li{margin:10px 0}.hub-request-details progress{width:100%;accent-color:var(--hub-purple)}@media(max-width:600px){.hub-request-card summary{padding:18px;flex-wrap:wrap;gap:12px}.hub-request-card summary>div{flex-basis:100%}.hub-request-details{padding:0 18px 18px}.hub-request-toolbar{align-items:flex-start}}
.community-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;margin:24px 0}.community-person{display:flex;flex-direction:column;align-items:flex-start;gap:14px}.community-person h3,.community-person p{margin:0}.community-person p{white-space:pre-wrap;overflow-wrap:anywhere}.hub-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.community-person .hub-avatar{width:76px;height:76px}.community-messages{max-height:430px;overflow:auto;margin:20px 0}.community-bubble{background:#f4eef9;border-radius:18px;padding:16px;margin:12px 30px 12px 0;overflow-wrap:anywhere}.community-bubble p{white-space:pre-wrap}.community-bubble.mine{margin:12px 0 12px 30px;background:#efe3f8}.community-suggestions{display:flex;flex-wrap:wrap;gap:8px}.community-mention{color:#6A1B9A;font-weight:700}#community-member-tools{display:grid;gap:22px;margin:24px 0}#community-member-tools form label{display:block;margin:14px 0}#community-member-tools textarea,#community-search{width:100%;padding:14px;border:1px solid #d9cce5;border-radius:12px}#community-conversation form textarea{width:100%}#community-inbox{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}

/* Community profiles, discovery and conversation */
.community-profile-hero{border:1px solid #e1d5ed;border-radius:22px;background:linear-gradient(125deg,#6a1b9a 0%,#7e23b2 100%) top/100% 100px no-repeat,#fff;overflow:hidden}.community-profile-content{padding:45px 30px 28px}.community-profile-content>.hub-avatar{display:flex;width:104px;height:104px;font-size:38px;border:5px solid white;box-shadow:0 3px 12px #34144e18;margin-bottom:20px;background:#eee0f8;color:#6a1b9a}.community-profile-content>.eyebrow{display:block;font-size:11px;letter-spacing:1.5px}.community-profile-content h2{margin:8px 0;font-size:32px}.community-profile-bio{max-width:620px;white-space:pre-wrap;overflow-wrap:anywhere}.community-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}.community-actions .button{padding:10px 16px;font-size:13px}.community-edit summary{font-size:17px;font-weight:700;cursor:pointer;list-style:revert}.community-edit summary span{float:right;font-weight:400;color:#76617e;font-size:13px}.community-edit-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:38px;margin-top:22px}.community-edit-grid form+form{border-left:1px solid #e1d5ed;padding-left:30px}.hub .community-check,#community-member-tools form label.community-check{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5;margin:18px 0}.hub .community-check input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:2px 0 0;padding:0;accent-color:#6a1b9a}.community-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:24px;align-items:start}.community-layout>.hub-card{min-width:0}.community-inbox-card{position:sticky;top:24px}.community-inbox-card>h3,.community-discover>h3{margin:10px 0 20px}.community-layout .community-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.community-person{padding:22px;min-width:0;border:1px solid #e8dff0;box-shadow:none}.community-person h3{font-size:22px}.community-person p{font-size:14px;line-height:1.6;flex:1}.community-person .community-actions{margin-top:auto}.community-person .community-actions .button{font-size:12px;padding:9px 12px}.community-profile-dialog{padding:0;background:linear-gradient(125deg,#6a1b9a,#7e23b2) top/100% 100px no-repeat,#fff}.community-profile-dialog .community-close{position:absolute;right:16px;top:16px;background:#fff;color:#6a1b9a;border:0;font-size:12px;padding:8px 14px}.community-profile-dialog .community-profile-content{padding-top:55px}.community-suggestions{flex-direction:column;gap:4px;max-height:290px;overflow:auto;margin-top:6px}.community-suggestions:empty{display:none}.community-suggestion{display:grid;grid-template-columns:34px 1fr;gap:2px 10px;text-align:left;padding:10px 12px;background:#fff;border:1px solid #dfd1e9;border-radius:10px;color:#41135f;font:inherit;cursor:pointer}.community-suggestion .hub-avatar{grid-row:span 2;width:32px;height:32px;font-size:14px}.community-suggestion small{font-size:12px;font-weight:400;color:#73617e}.community-suggestion:hover,.community-suggestion:focus-visible{background:#f3eaf9;border-color:#7e23b2}.community-inbox-card #community-inbox{flex-direction:column}.community-inbox-card #community-inbox .button{text-align:left;font-size:13px;padding:10px 12px}.community-inbox-card #community-conversation h3{font-size:21px}.community-inbox-card #community-conversation>.button{margin:4px;font-size:11px;padding:8px}.community-inbox-card textarea{min-height:100px}.community-inbox-card .community-bubble{margin-left:0;margin-right:12px;padding:12px;font-size:14px}.community-inbox-card .community-bubble.mine{margin-left:12px;margin-right:0}.community-inbox-card small{font-size:11px}.community-edit .hub-small{font-size:13px}
@media(max-width:1050px){.community-layout{grid-template-columns:1fr}.community-inbox-card{position:static}.community-edit-grid{grid-template-columns:1fr}.community-edit-grid form+form{padding:22px 0 0;border-left:0;border-top:1px solid #e1d5ed}}@media(max-width:600px){.community-profile-content{padding-left:22px;padding-right:22px}.community-edit summary span{display:none}.community-layout .community-grid{grid-template-columns:1fr}.community-profile-content h2{font-size:28px}.community-profile-dialog{width:calc(100vw - 24px)}}

.hub-segment{max-width:760px;flex-wrap:wrap}.hub-segment button{flex:1 1 150px;min-height:44px}@media(max-width:500px){.hub-segment button{flex-basis:calc(50% - 5px);padding:11px 8px;font-size:13px}}

/* Project filters form one full row, or two complete rows on smaller screens. */
.hub-segment.hub-project-switch {
 display: grid;
 grid-template-columns: repeat(5, minmax(0, 1fr));
 max-width: none;
 gap: 6px;
 padding: 6px;
 border: 1px solid var(--hub-line);
 background: #f0eaf5;
}
.hub-project-switch button {
 min-width: 0;
 min-height: 48px;
 padding: 8px;
 line-height: 1.3;
 text-wrap: balance;
 overflow-wrap: anywhere;
}
.hub-project-switch button[aria-pressed=true] {
 box-shadow: inset 0 0 0 1px var(--hub-line), 0 2px 5px #30153612;
}
.hub-project-switch button:not([aria-pressed=true]):hover { background: #e8def0; }
.hub-project-switch button:focus-visible { outline: 2px solid var(--hub-purple); outline-offset: -2px; }
@media (max-width: 760px) {
 .hub-segment.hub-project-switch { grid-template-columns: repeat(6, minmax(0, 1fr)); }
 .hub-project-switch button { grid-column: span 2; }
 .hub-project-switch button:nth-last-child(-n+2) { grid-column: span 3; }
}

.hub-nosey-promo{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px 28px;margin:0 0 28px;border:1px solid #e2d1ef;border-left:5px solid #7e23b2;border-radius:18px;background:#faf6fd}.hub-nosey-copy{max-width:720px}.hub-nosey-copy img{display:block;width:198px;height:auto;margin-bottom:12px}.hub-nosey-promo h2{font-size:23px;line-height:1.25;margin:0 0 8px;color:#6a1b9a}.hub-nosey-promo p{font-size:15px;line-height:1.55;margin:0;color:#51445d}.hub-nosey-promo p.hub-nosey-share{font-size:13px;margin-top:6px;color:#6b5879}.hub-nosey-promo>.button{flex-shrink:0;white-space:nowrap;background:#6a1b9a;color:#fff}.hub-nosey-promo>.button:hover{background:#7e23b2}.hub-nosey-promo>.button:focus-visible{outline:3px solid #6a1b9a;outline-offset:4px}@media(max-width:650px){.hub-nosey-promo{align-items:stretch;flex-direction:column;gap:18px;padding:20px}.hub-nosey-promo h2{font-size:21px}.hub-nosey-promo>.button{text-align:center;white-space:normal}}

.hub-leaderboards { margin-bottom: 34px; }
.hub-leaderboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hub-ranking { margin: 0; padding-inline-start: 1.6rem; }
.hub-ranking li { padding: 0.6rem 0.15rem; border-bottom: 1px solid var(--hub-line); }
.hub-ranking li:last-child { border-bottom: 0; }
.hub-ranking li::marker { color: var(--hub-muted); font-variant-numeric: tabular-nums; }
.hub-ranking-row { display: flex; align-items: center; gap: .65rem; }
.hub-ranking-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.hub-ranking-row strong { color: var(--hub-purple); font-variant-numeric: tabular-nums; }
.hub-ranking li.hub-ranking-winner {
 padding: .7rem .85rem;
 border: 1px solid #d8aa4d;
 border-radius: 12px;
 background: linear-gradient(115deg, #fff4c9, #fffaf0 48%, #f9dda0);
 box-shadow: 0 3px 12px #a5721626;
 color: #513505;
 font-weight: 700;
}
.hub-ranking-winner::marker { color: #825200; }
.hub-ranking .hub-ranking-winner strong { color: #684200; }
.hub-ranking-award {
 display: flex;
 align-items: center;
 gap: .4rem;
 margin-top: .25rem;
 color: #724800;
 font-size: .78rem;
 line-height: 1.3;
}
.hub-ranking-stars { display: inline-flex; align-items: center; gap: 2px; }
.hub-ranking-stars span {
 width: 9px;
 height: 9px;
 background: #a66b08;
 clip-path: polygon(50% 0, 63% 36%, 100% 38%, 72% 62%, 81% 100%, 50% 78%, 19% 100%, 28% 62%, 0 38%, 37% 36%);
}
.hub-ranking-stars span:nth-child(2) { width: 14px; height: 14px; }
@media (prefers-reduced-motion: no-preference) {
 .hub-ranking-stars span { animation: hub-star-shine 1.8s ease-in-out 2; }
 .hub-ranking-stars span:nth-child(2) { animation-delay: .22s; }
 .hub-ranking-stars span:nth-child(3) { animation-delay: .44s; }
}
@keyframes hub-star-shine {
 0%, 100% { transform: scale(1); }
 45% { transform: scale(1.25); background: #dd9e16; }
}
.newsletter-updates-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.hub-communication-switch { margin-bottom: 22px; }
@media (max-width: 650px) {
 .hub-leaderboard-grid { grid-template-columns: 1fr; }
}

.hub-exit-survey { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.hub-exit-survey > div { min-width: 0; max-width: 720px; }
.hub-exit-survey h2 { margin: 8px 0; font-size: 25px; }
.hub-exit-survey p { margin: 0; font-size: 15px; color: var(--hub-muted); }
.hub-exit-survey > .button { flex-shrink: 0; }
@media (max-width: 650px) {
 .hub-exit-survey { align-items: stretch; flex-direction: column; gap: 18px; }
 .hub-exit-survey > .button { text-align: center; }
}

.newsletter-updates-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:18px}.newsletter-updates-toolbar label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.newsletter-update-head{display:flex;justify-content:space-between;align-items:start;gap:18px}.newsletter-update-head h3{margin:0}.newsletter-update-body{white-space:pre-wrap;overflow-wrap:anywhere}.newsletter-update-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px}.newsletter-update-controls label{flex-basis:100%;margin:10px 0 0!important}.newsletter-update-controls select{width:auto;min-width:170px}.newsletter-update-controls .button{margin:0!important}#newsletter-update-owner{margin:20px 0}#newsletter-update-owner summary{cursor:pointer;font-weight:600;color:var(--hub-purple)}#newsletter-update-form fieldset{border:0;padding:0}#newsletter-update-form .button{margin-top:20px}@media(max-width:600px){.newsletter-updates-toolbar{grid-template-columns:1fr;gap:18px}.newsletter-update-head{flex-direction:column;gap:10px}}

.hub-banner-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hub-hello .hub-messages-button { color: #fff; border-color: #fff; }
.hub-messages-button, #hub-event-messages-list .button { gap: .5rem; }
.hub-unread-badge {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-width: 1.45rem;
 min-height: 1.45rem;
 padding: .15rem .4rem;
 border-radius: 2rem;
 background: #b9233c;
 color: #fff;
 font-size: .75rem;
 line-height: 1;
 font-weight: 700;
 white-space: nowrap;
}
.hub-event-message { margin-block: 1rem; }
.hub-event-message h5 { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: 0 0 .55rem; }
.hub-event-message time { color: var(--hub-muted); font-size: .875rem; }
.hub-event-message-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.hub-event-reply-thread { border-inline-start: 2px solid var(--hub-line); padding-inline-start: clamp(.6rem, 2vw, 1.25rem); margin-block-start: 1rem; }
.hub-event-reply-thread > .hub-card { padding: clamp(.7rem, 2vw, 1.25rem); box-shadow: none; }
.hub-event-reply > summary { display: inline-flex; list-style: none; cursor: pointer; }
.hub-event-reply > summary::-webkit-details-marker { display: none; }
.hub-event-reply .hub-composer { margin-top: .65rem; }
#hub-communication-unread { margin-inline-start: .45rem; vertical-align: middle; }

.hub-message-inbox {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 1rem;
 margin-bottom: 1.25rem;
}
.hub-message-group, .hub-conversation {
 background: #faf6fe;
 border: 1px solid #d9bfe9;
 border-radius: 18px;
 padding: clamp(.85rem, 3vw, 1.5rem);
 min-width: 0;
}
.hub-message-group-head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 flex-wrap: wrap;
 gap: .5rem;
 margin-bottom: .65rem;
}
.hub-message-group-head h4, #hub-event-messages-status:empty { margin: 0; }
.hub-message-group-head .hub-text-button { margin: 0; }
#hub-messages .hub-message-list { display: grid; gap: .55rem; margin: 0; }
.hub-conversation-button {
 display: flex;
 align-items: center;
 justify-content: start;
 flex-wrap: wrap;
 gap: .35rem .6rem;
 width: 100%;
 min-height: 46px;
 padding: .65rem .8rem;
 border: 1px solid #dec8ee;
 border-radius: 11px;
 background: white;
 color: #391453;
 text-align: start;
 overflow-wrap: anywhere;
 font: inherit;
 cursor: pointer;
}
.hub-conversation-button small { color: #644f72; }
.hub-conversation-button:hover, .hub-conversation-button:focus-visible,
#hub-messages[data-conversation="event"] .hub-conversation-button[aria-pressed="true"] {
 background: #f2e6fa;
 border-color: #8653a5;
}
.hub-message-type {
 display: inline-block;
 width: fit-content;
 padding: .2rem .6rem;
 border-radius: 7px;
 font-size: .75rem;
 font-weight: 700;
 line-height: 1.55;
}
.hub-message-type.event { background: #612080; color: white; }
.hub-message-type.personal { background: #e9d7f8; color: #4b166c; }
.hub-conversation { scroll-margin-block-start: 5rem; overflow-wrap: anywhere; }
.hub-conversation .hub-section-title h3, #community-conversation h3 { margin-top: .55rem; }
.hub-conversation .hub-event-message, #hub-messages .community-bubble {
 border: 1px solid #dec9ee;
 background: #fff;
 box-shadow: none;
}
#hub-messages .community-bubble.mine { background: #f1e6f9; }
#hub-messages .community-messages { max-height: none; overflow: visible; }
#community-conversation > .button { margin: .15rem .4rem .4rem 0; padding: .55rem .8rem; }
.hub-message-byline { display: flex; gap: .65rem; align-items: center; }
.hub-message-byline h5 { margin: 0; }
.hub-message-byline time { display: block; font-size: .8rem; color: var(--hub-muted); }
.hub-message-avatar {
 position: relative;
 display: grid;
 place-items: center;
 flex: 0 0 2.65rem;
 width: 2.65rem;
 height: 2.65rem;
 overflow: hidden;
 border-radius: 50%;
 background: radial-gradient(circle at 92% 15%, #ffffff50 0 23%, transparent 24%), linear-gradient(140deg, var(--avatar-light, #864eb0), var(--avatar-dark, #4b186a));
 color: white;
 font-weight: 700;
 font-size: 1rem;
}
.hub-message-avatar[data-tone="1"] { --avatar-light: #a34b91; --avatar-dark: #611754; }
.hub-message-avatar[data-tone="2"] { --avatar-light: #6956b3; --avatar-dark: #342070; }
.hub-message-avatar[data-tone="3"] { --avatar-light: #8a559f; --avatar-dark: #542043; }
.hub-message-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 670px) {
 .hub-message-inbox { grid-template-columns: 1fr; }
 #hub-messages .community-bubble, #hub-messages .community-bubble.mine { margin-inline: 0; }
}

.hub-count-button {
 display: block;
 min-width: 44px;
 padding: 0;
 border: 0;
 border-radius: 4px;
 background: transparent;
 color: var(--hub-purple);
 font: inherit;
 text-align: start;
 text-decoration: underline;
 text-decoration-color: var(--hub-line);
 text-decoration-thickness: 2px;
 text-underline-offset: .13em;
 cursor: pointer;
}
.hub-count-button:hover, .hub-count-button:focus-visible { text-decoration-color: currentColor; }
.hub-count-button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.hub-greeting-row { display: flex; align-items: center; gap: clamp(12px, 2vw, 20px); margin: 14px 0; }
.hub-greeting-row h2 { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.hub-greeting-row h2:focus { outline: none; }
.hub-member-stamp #hub-joined { display: block; }
.hub-member-stamp .hub-signout { flex: none; }

#hub-profile-photo-prompt { width: min(550px, calc(100% - 28px)); }
#hub-profile-photo-prompt h2 { margin: 8px 0 16px; }
#hub-profile-photo-prompt .hub-photo-actions { margin-top: 20px; align-items: center; }
#hub-profile-photo-prompt-dismiss { padding: 12px; }
.hub-attendance-policy{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:18px 0}.hub-attendance-policy h2{font-size:1.12rem;margin:0 0 4px}.hub-attendance-policy p{margin:4px 0}.hub-attendance-policy strong{color:var(--hub-purple)}

/* Keep the overview within the phone viewport, even for nonnumeric milestones. */
#hub-summary-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#hub-summary-stats > article,
#hub-summary-stats .hub-count-button,
#hub-overview .hub-donations > div {
  min-width: 0;
}
#hub-summary-stats .hub-count-button {
  max-width: 100%;
  min-height: 44px;
}
#hub-summary-stats strong,
#hub-summary-stats p,
#hub-summary-stats .hub-text-button {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  #member-dashboard > .hub-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--hub-line);
    border-radius: 14px;
    background: var(--hub-wash);
    margin-bottom: 16px;
  }
  #member-dashboard > .hub-tabs button {
    min-width: 0;
    padding: 8px;
    white-space: normal;
    font-size: .875rem;
    line-height: 1.25;
  }
  #member-dashboard > .hub-tabs #hub-tab-newsletter {
    grid-column: span 2;
  }
  #hub-summary-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 16px;
  }
  #hub-summary-stats > article {
    padding: 12px 14px;
  }
  #hub-summary-stats > article:last-child {
    grid-column: 1 / -1;
  }
  #hub-summary-stats span {
    display: block;
    font-size: .75rem;
    line-height: 1.35;
    letter-spacing: .04em;
  }
  #hub-summary-stats strong {
    margin: 0;
    font-size: clamp(1.625rem, 6.2vw, 2rem);
  }
  #hub-summary-stats p {
    font-size: .875rem;
    line-height: 1.35;
  }
  #hub-summary-stats .hub-text-button {
    min-height: 44px;
    max-width: 100%;
    text-align: start;
    padding-inline: 0;
  }
  #hub-overview .hub-donations {
    gap: 12px;
    margin-top: 16px;
    padding: 16px;
  }
  #hub-overview .hub-donations p + p {
    margin-top: 6px;
  }
}

/* Keep the main destinations visible without horizontal scrolling. */
.hub-tabs { flex-wrap: wrap; overflow: visible; }
.hub-tabs button { min-height: 44px; }
.hub-tabs button:focus-visible,
.hub-event-views button:focus-visible { outline: 2px solid var(--hub-purple); outline-offset: 2px; }
.hub-event-views { margin-bottom: 24px; }
#hub-overview .hub-columns,
#hub-overview .hub-leaderboards,
#hub-overview .hub-exit-survey { margin-top: 24px; }
@media (max-width: 480px) {
  .hub-tabs button { flex: 1 0 auto; padding-inline: 9px; }
}

/* Keep the giving shortcut compact and easy to tap in the Hub overview. */
.hub-donations > div { flex: 1; }
.hub-donations #hub-donation-total {
  color: var(--hub-ink);
  font-weight: 700;
  font-size: clamp(1rem, 2.75vw, 1.25rem);
}
.hub-donation-growth { margin-top: 10px; }
.hub-donation-growth progress {
  display: block;
  appearance: none;
  width: 100%;
  height: 12px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: #eadcf0;
  accent-color: #6a1b9a;
  margin-bottom: 8px;
}
.hub-donation-growth progress::-webkit-progress-bar { background: #eadcf0; }
.hub-donation-growth progress::-webkit-progress-value { background: #6a1b9a; border-radius: 999px; }
.hub-donation-growth progress::-moz-progress-bar { background: #6a1b9a; border-radius: 999px; }
.hub-donation-growth #hub-donation-milestone { font-weight: 600; color: var(--hub-ink); }
.hub-donations{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px}
.hub-donations h2{margin:6px 0;font-size:22px}
.hub-donations p{margin:0;color:var(--hub-muted)}
.hub-donations>.button{flex-shrink:0;text-align:center}
@media(max-width:560px){.hub-donations{flex-direction:column;align-items:stretch}}

/* Keep the most useful actions close to the top of the Hub. VOV Chat retains
   the Newsletter helper’s existing access checks and is hidden by default. */
.hub-banner-top { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 12px; }
.hub-hello .hub-vov-chat {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  border:1px solid #fff;
  border-radius:999px;
  background:#fff;
  color:var(--deep);
  padding:6px 14px;
  font:inherit;
  font-size:.875rem;
  font-weight:700;
  line-height:1.25;
  cursor:pointer;
}
.hub-hello .hub-vov-chat[hidden] { display:none; }
.hub-hello .hub-vov-chat:focus-visible { outline:3px solid #f6d577; outline-offset:3px; }
#vov-helper { scroll-margin-block-start:14px; }

@media (max-width:700px) {
  .hub-section { padding-block-start:14px; }
  .hub-hello { padding:14px 16px 10px; gap:8px; }
  .hub-hello .hub-kicker { font-size:.7rem; }
  .hub-greeting-row { margin:4px 0 10px; }
  .hub-greeting-row h2 { font-size:clamp(1.3rem,5.4vw,1.85rem); line-height:1.2; }
  .hub-greeting-row .hub-avatar.big { width:39px; height:39px; flex:0 0 39px; font-size:1.1rem; }
  .hub-banner-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
  .hub-banner-actions .button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    min-height:44px;
    padding:5px 6px;
    text-align:center;
    font-size:.8rem;
    line-height:1.2;
  }
  .hub-banner-actions .button[hidden] { display:none; }
  .hub-member-stamp { padding-block-start:0; }
  .hub-member-stamp .hub-signout { min-height:44px; }
}

/* Volunteer Hub inbox: compact rows on the left; one focused chat on phones. */
#hub-messages .hub-chat-layout { display:grid; gap:1rem; align-items:start; }
#hub-messages[data-conversation="event"] .hub-chat-layout,
#hub-messages[data-conversation="personal"] .hub-chat-layout { grid-template-columns:minmax(15rem, .72fr) minmax(0, 1.45fr); }
#hub-messages .hub-message-inbox { display:block; min-width:0; margin:0; padding:1rem; border:1px solid var(--hub-line); border-radius:1rem; background:#fff; }
.hub-inbox-heading { display:flex; justify-content:space-between; align-items:center; gap:.5rem; margin-bottom:.45rem; }
.hub-inbox-heading h3 { margin:0; color:#391453; }
#hub-messages .hub-message-group { padding:0; background:none; border:0; border-radius:0; }
#hub-messages .hub-message-group + .hub-message-group { margin-top:.9rem; }
#hub-messages .hub-message-group-head { margin:0 0 .35rem; }
.hub-message-group-head h4 { font-size:.9rem; color:#624776; }
.hub-inbox-filters { display:flex; flex-wrap:wrap; gap:.35rem; margin:.25rem 0 .8rem; }
.hub-inbox-filters button, .hub-chat-back { min-height:44px; padding:.35rem .65rem; border:1px solid transparent; border-radius:.6rem; background:transparent; color:#552176; font:inherit; font-size:.875rem; font-weight:650; cursor:pointer; }
.hub-inbox-filters button[aria-pressed="true"] { border-color:#dec8ee; background:#f1e7f9; color:#42145f; }
#hub-inbox-refresh { min-height:44px; padding-inline:.4rem; }
#hub-inbox-status:empty, #hub-event-messages-status:empty, .hub-chat-note:empty, .hub-chat-composer p:empty { display:none; }
#hub-messages .hub-conversation-button { display:grid; grid-template-columns:2.35rem minmax(0,1fr) auto; gap:.65rem; min-height:3.5rem; border-color:#e8dff0; padding:.45rem .6rem; align-items:center; }
#hub-messages .hub-conversation-button[aria-pressed="true"] { background:#f2e6fa; border-color:#8653a5; }
#hub-messages .hub-conversation-button strong { display:block; color:#341345; line-height:1.25; }
.hub-chat-row-copy small { display:block; margin-top:.12rem; font-size:.82rem; }
.hub-chat-row-icon { display:grid; place-items:center; width:2.35rem; height:2.35rem; border-radius:.65rem; color:#642889; background:#f3e9fa; font-weight:750; }
.hub-message-list .hub-message-avatar { width:2.35rem; height:2.35rem; }
.hub-chat-panel { min-width:0; scroll-margin-block-start:5rem; }
.hub-chat-back { margin:0 0 .35rem; padding-inline:.8rem; border-color:#dec8ee; background:#f5eefb; }
#hub-messages .hub-conversation { padding:0; background:#fbf8ff; border-radius:1rem; border-color:var(--hub-line); }
#hub-messages .hub-chat-header { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.65rem; align-items:start; background:#fff; padding:1rem; border-bottom:1px solid var(--hub-line); border-radius:1rem 1rem 0 0; }
#hub-messages .hub-chat-header h3 { margin:.3rem 0 0; color:#391453; font-size:clamp(1.15rem,3.4vw,1.45rem); }
.hub-chat-header p { margin:.2rem 0 0; color:#644f72; font-size:.875rem; }
.hub-chat-tools { position:relative; }
.hub-chat-tools > summary, .hub-chat-action > summary, .hub-chat-quiet { display:flex; align-items:center; min-height:44px; color:#59247b; font-size:.875rem; cursor:pointer; }
.hub-chat-tools > summary { padding-inline:.3rem; font-weight:650; }
.hub-chat-tools[open] { min-width:min(8.5rem,36vw); }
.hub-chat-tools > :is(a,button) { display:block; min-height:44px; padding:.5rem .35rem; text-align:start; background:none; border:0; margin:0; color:#59247b; font:inherit; font-size:.875rem; text-decoration:underline; }
.hub-chat-action { padding:0 .85rem; border-bottom:1px solid var(--hub-line); background:#fff; }
.hub-chat-action > summary { font-weight:650; }
.hub-chat-tools .hub-chat-action { padding-inline:.35rem; border:0; }
.hub-chat-action ul { padding-inline-start:1.15rem; font-size:.875rem; }
.hub-chat-timeline { display:grid; align-content:start; gap:.65rem; max-height:32rem; max-height:min(32rem,58dvh); min-height:9rem; padding:.75rem; overflow:auto; }
.hub-chat-thread, .hub-event-reply-thread { display:grid; gap:.45rem; min-width:0; }
#hub-messages .hub-event-reply-thread { margin:.15rem 0 0 .35rem; padding-inline-start:.5rem; }
.hub-chat-branch-title { margin:0; color:#644f72; font-size:.8rem; }
#hub-messages .hub-chat-bubble { justify-self:start; min-width:0; width:fit-content; max-width:min(92%,36rem); margin:0; padding:.65rem .8rem; border:1px solid #e6dbef; border-radius:1rem 1rem 1rem .3rem; background:#fff; }
#hub-messages .hub-chat-bubble.mine { justify-self:end; border-radius:1rem 1rem .3rem 1rem; border-color:#e0c9ef; background:#efe2f8; }
#hub-messages .hub-chat-bubble .hub-message-avatar { flex-basis:1.85rem; width:1.85rem; height:1.85rem; font-size:.8rem; }
#hub-messages .hub-chat-bubble h4, #hub-messages .hub-chat-bubble strong { font-size:.9rem; line-height:1.2; color:#38134f; margin:0; }
#hub-messages .hub-chat-bubble p { white-space:pre-wrap; overflow-wrap:anywhere; margin:.35rem 0 0; font-size:1rem; line-height:1.45; }
.hub-chat-category { display:inline-block; margin-top:.4rem; padding:.15rem .45rem; border-radius:.35rem; background:#f1e6f8; color:#541879; font-size:.78rem; font-weight:650; }
#hub-messages .hub-chat-bubble .hub-chat-decision { font-size:.84rem; color:#57247b; font-weight:650; }
.hub-chat-quiet { text-decoration:underline; }
.hub-chat-note { margin:0; padding:.55rem .75rem; color:#695477; font-size:.875rem; }
.hub-chat-composer { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.4rem .55rem; align-items:end; padding:.5rem 0; }
.hub-chat-composer.hub-chat-footer { background:#fff; border-top:1px solid var(--hub-line); padding:.6rem .8rem .8rem; border-radius:0 0 1rem 1rem; }
.hub-chat-composer > :is(label,p) { grid-column:1/-1; }
#hub-messages .hub-chat-composer label { margin:0; }
#hub-messages .hub-chat-composer textarea { min-width:0; padding:.55rem .65rem; }
#hub-messages .hub-chat-composer > .button { margin:0; padding-inline:.85rem; }
@media (max-width:760px) {
 #hub-messages[data-conversation="event"] .hub-chat-layout,
 #hub-messages[data-conversation="personal"] .hub-chat-layout { display:block; }
 #hub-messages[data-conversation="event"] .hub-message-inbox,
 #hub-messages[data-conversation="personal"] .hub-message-inbox { display:none; }
 #hub-communication:has(#hub-messages[data-conversation="event"]:not([hidden])) > .hub-section-title,
 #hub-communication:has(#hub-messages[data-conversation="personal"]:not([hidden])) > .hub-section-title { display:none; }
 #hub-messages .hub-message-inbox { padding:.7rem; }
 #hub-messages .hub-chat-bubble { max-width:96%; }
}
@media (max-width:430px) {
 #hub-messages .hub-chat-composer { grid-template-columns:minmax(0,1fr); }
 #hub-messages .hub-chat-composer > .button { justify-self:end; min-width:4rem; }
}

@media (max-width:700px) {
  #member-dashboard > .hub-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); }
  #member-dashboard > .hub-tabs button { padding-inline:4px; }
  #member-dashboard > .hub-tabs[aria-label] > button:nth-last-child(2):has(+ button[hidden]) { grid-column:1/-1; }
}
@media (max-width:760px) {
  #hub-communication:has(#hub-messages:is([data-conversation="event"],[data-conversation="personal"]):not([hidden])) > .hub-communication-switch { display:none; }
  #hub-messages .hub-chat-panel { scroll-margin-block-start:0; }
}
