@layer components {
.community-notification-link{position:relative;display:inline-flex;align-items:center;min-height:46px;padding:9px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:.78rem;font-weight:800;text-decoration:none}.community-notification-link strong{display:grid;place-items:center;min-width:22px;height:22px;margin-left:7px;padding:0 6px;border-radius:999px;background:var(--brand);color:#fff;font-size:.68rem}.community-global-search{display:grid;grid-template-columns:minmax(0,1fr) auto;max-width:680px;margin:0 auto 28px;padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 8px 24px rgba(53,30,43,.05)}.community-global-search input{min-height:44px;border:0;background:transparent}.community-global-search button{padding:9px 18px;border:0;border-radius:9px;background:var(--wine);color:#fff;font-weight:800;cursor:pointer}.community-composer__header{display:flex;align-items:end;justify-content:space-between;gap:12px}.community-composer__header small{color:var(--muted);font-size:.68rem}.community-poll-builder{margin-top:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.community-poll-builder summary{color:var(--brand-dark);font-size:.78rem;font-weight:850;cursor:pointer}.community-poll-builder label{margin:10px 0 4px;font-size:.7rem}.community-poll-builder>div{display:inline-block;width:calc(50% - 6px)}.community-poll-builder>div+div{margin-left:8px}.community-poll-builder input{min-height:40px}.community-post__actions{grid-template-columns:repeat(3,1fr)}.community-mention{color:var(--brand-dark);font-weight:800;text-decoration:none}.community-poll{margin:16px 0;padding:16px;border:1px solid #e1c6d2;border-radius:12px;background:#fff8fb}.community-poll h3{margin-bottom:12px;font-size:1.2rem}.community-poll form{margin:7px 0}.community-poll form button{width:100%;padding:10px 12px;border:1px solid #d8b5c5;border-radius:9px;background:#fff;color:var(--wine);font-weight:800;text-align:left;cursor:pointer}.community-poll-result{display:grid;grid-template-columns:1fr auto;gap:4px 12px;margin:9px 0;font-size:.78rem}.community-poll-result progress{grid-column:1/-1;height:6px}.community-event-mini{display:grid;padding:9px 0;border-top:1px solid var(--line);color:var(--ink);text-decoration:none}.community-event-mini small{color:var(--muted)}.community-subpage-heading{max-width:820px;margin-bottom:28px}.community-subpage-heading h1{margin-bottom:10px}.community-subpage-heading p{font-size:1.02rem}.community-notification-list,.community-saved-list,.community-event-list{display:grid;gap:14px;max-width:900px}.community-notification-list>article,.community-saved-list>article,.community-event-list>article{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px;border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:0 7px 22px rgba(53,30,43,.04)}.community-notification-list>article.is-unread{border-left:5px solid var(--brand);background:#fff8fb}.community-notification-list p{margin:3px 0}.community-notification-list form,.community-saved-list form{margin:0}.community-notification-list .btn,.community-saved-list .btn{min-height:40px}.community-saved-list>article{display:block}.community-saved-list h2{margin:4px 0;font-size:1.45rem}.community-saved-list form{margin-top:16px}.community-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.community-member-grid>a{display:grid;justify-items:start;padding:22px;border:1px solid var(--line);border-radius:15px;background:var(--surface);color:var(--ink);text-decoration:none;box-shadow:0 7px 22px rgba(53,30,43,.04)}.community-member-grid>a strong{margin-top:12px}.community-member-grid>a small{color:var(--brand)}.community-member-grid>a p{margin:7px 0 0;font-size:.78rem}.community-search-results{display:grid;grid-template-columns:1.4fr .8fr .8fr;gap:18px}.community-search-results>section{padding:22px;border:1px solid var(--line);border-radius:15px;background:var(--surface)}.community-search-results h2{font-size:1.6rem}.community-search-results article{padding:14px 0;border-top:1px solid var(--line)}.community-search-results article p{margin:5px 0}.community-search-link{display:block;padding:11px 0;border-top:1px solid var(--line);color:var(--ink);font-weight:800;text-decoration:none}.community-search-link small{display:block;color:var(--muted);font-weight:500}.community-event-list{max-width:none}.community-event-list>article{display:grid;grid-template-columns:74px minmax(0,1fr) auto}.community-event-list time{display:grid;place-items:center;align-content:center;width:70px;height:76px;border-radius:12px;background:var(--wine);color:#fff}.community-event-list time strong{font:800 1.8rem/1 ui-serif,Georgia,serif}.community-event-list time span{font-size:.62rem;font-weight:800}.community-event-list h2{margin:3px 0 7px;font-size:1.55rem}.community-event-list p{margin-bottom:8px}.community-event-list article>div>small,.community-event-list article>div>strong{display:block}.admin-event-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.admin-event-form label{font-size:.74rem}.admin-event-form textarea,.admin-event-form .btn{grid-column:1/-1}.admin-event-form .btn{margin-top:16px}.admin-event-list{display:grid;gap:8px;margin-top:22px}.admin-event-list article{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:13px;border-top:1px solid var(--line)}.admin-event-list article>div{display:grid}.admin-event-list small{color:var(--muted)}.admin-event-list form{margin:0}.admin-event-list details{min-width:132px}.admin-event-list details[open]{width:min(680px,100%)}.admin-event-list details summary{list-style:none;text-align:center;cursor:pointer}.admin-event-list details summary::-webkit-details-marker{display:none}.admin-event-form--edit{margin-top:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}
}
@layer responsive {
@media(max-width:900px){.community-heading__actions{flex-wrap:wrap}.community-search-results{grid-template-columns:1fr 1fr}.community-search-results>section:first-child{grid-column:1/-1}.community-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.community-heading__actions{grid-template-columns:1fr 1fr}.community-notification-link{grid-column:1/-1;justify-content:center;order:3}.community-global-search{grid-template-columns:1fr;margin-bottom:20px}.community-global-search button{min-height:42px}.community-composer__header{display:block}.community-composer__header small{display:block;margin-top:7px}.community-poll-builder>div{display:block;width:100%}.community-poll-builder>div+div{margin-left:0}.community-member-grid,.community-search-results{grid-template-columns:1fr}.community-search-results>section:first-child{grid-column:auto}.community-notification-list>article{align-items:stretch;flex-direction:column}.community-event-list>article{grid-template-columns:58px minmax(0,1fr)}.community-event-list time{width:56px;height:64px}.community-event-list article>form{grid-column:1/-1}.community-event-list .btn{width:100%}.admin-event-form{grid-template-columns:1fr}.admin-event-form textarea,.admin-event-form .btn{grid-column:auto}.admin-event-list article{align-items:stretch;flex-direction:column}.admin-event-list .btn{width:100%}}
}
@layer components {
.community-subpage-heading--actions{display:flex;max-width:900px;align-items:end;justify-content:space-between;gap:20px}.community-subpage-heading--actions form{margin:0}.community-notification-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.community-image-preview{position:relative;margin-top:12px}.community-image-preview[hidden]{display:none}.community-image-preview img{display:block;width:100%;max-height:340px;border-radius:12px;object-fit:contain;background:#efe8eb}.community-image-preview button{position:absolute;top:10px;right:10px;min-height:38px;padding:7px 12px;border:0;border-radius:8px;background:rgba(44,22,34,.9);color:#fff;font-weight:800;cursor:pointer}.community-poll-status{margin:-4px 0 10px;color:var(--muted);font-size:.7rem;font-weight:800}
.community-event-state{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px;border-radius:999px;background:var(--surface-soft);color:var(--muted);font-size:.72rem;font-weight:850}.community-event-state--cancelled{background:#f3e4e4;color:#8c2734}.community-event-list>article.is-cancelled{opacity:.82}
.community-event-list h2 a{color:var(--ink);text-decoration:none}.community-event-list h2 a:hover{color:var(--brand)}.community-saved-actions{display:flex;align-items:center;gap:10px;margin-top:16px}.community-saved-actions form{margin:0}.community-detail{max-width:760px;margin:0 auto}.community-post--detail{padding:24px}.community-comments--all{margin-top:14px}.community-comments--all>h2{margin:0 0 8px;font-size:1.4rem}.community-event-detail{max-width:820px;margin:0 auto}.community-event-detail>article{display:grid;grid-template-columns:96px minmax(0,1fr);gap:22px;padding:30px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 9px 28px rgba(53,30,43,.06)}.community-event-detail time{display:grid;place-items:center;align-content:center;width:90px;height:96px;border-radius:16px;background:var(--wine);color:#fff}.community-event-detail time strong{font:800 2.2rem/1 ui-serif,Georgia,serif}.community-event-detail time span{font-size:.7rem;font-weight:850}.community-event-detail h1{margin:5px 0 12px}.community-event-detail p{font-size:1rem}.community-event-detail article>div>strong,.community-event-detail article>div>small{display:block;margin-top:6px}.community-event-detail form,.community-event-detail .community-event-state{grid-column:2;margin-top:10px;justify-self:start}
}
@layer responsive {
@media(max-width:900px){.community-heading{display:block}.community-heading__actions{margin-top:18px}.community-spaces nav{scrollbar-width:none}.community-spaces nav::-webkit-scrollbar{display:none}.community-spaces nav a{flex-basis:165px}}
@media(max-width:640px){.community-subpage-heading--actions{display:block}.community-subpage-heading--actions form{margin-top:14px}.community-subpage-heading--actions .btn{width:100%}.community-notification-actions{align-items:stretch;flex-direction:column}.community-notification-actions .btn{width:100%}.community-saved-actions{align-items:stretch;flex-direction:column}.community-saved-actions .btn{width:100%}.community-post--detail{padding:16px}.community-event-detail>article{grid-template-columns:64px minmax(0,1fr);gap:14px;padding:18px}.community-event-detail time{width:62px;height:72px;border-radius:12px}.community-event-detail time strong{font-size:1.8rem}.community-event-detail form,.community-event-detail .community-event-state{grid-column:1/-1;justify-self:stretch}.community-event-detail .btn{width:100%}}
}
@layer components {
.community-main{width:min(1440px,calc(100% - 64px))}
.community-main .community-layout{grid-template-columns:240px minmax(620px,1fr) 280px;gap:28px}
.community-hub-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:56px;align-items:end;margin:6px 0 44px;padding:54px 58px;border-radius:28px;background:linear-gradient(125deg,#351e2b 0%,#5d173d 64%,#8b1553 100%);box-shadow:0 24px 64px rgba(53,30,43,.2);color:#fff}.community-hub-hero::after{position:absolute;right:-100px;top:-160px;width:410px;height:410px;border:1px solid rgba(255,255,255,.16);border-radius:50%;content:"";box-shadow:0 0 0 62px rgba(255,255,255,.04),0 0 0 124px rgba(255,255,255,.025)}.community-hub-hero__copy{position:relative;z-index:1;max-width:820px}.community-hub-hero .eyebrow{color:#f6a9c9}.community-hub-hero h1{max-width:800px;margin:8px 0 18px;color:#fff;font-size:clamp(3rem,4.8vw,5rem);line-height:.98;letter-spacing:-.05em;text-wrap:balance}.community-hub-hero p{max-width:720px;margin:0;color:#eadbe2;font-size:1.05rem}.community-hub-hero__actions{position:relative;z-index:1;display:grid;gap:10px;min-width:210px}.community-hub-hero__actions .community-notification-link,.community-hub-hero__actions .community-profile-link{justify-content:center;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff;backdrop-filter:blur(10px)}.community-hub-trust{display:flex;gap:24px;flex-wrap:wrap;margin-top:30px;color:#f7dce8;font-size:.75rem;font-weight:800}.community-hub__heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,420px);gap:48px;align-items:end;margin-bottom:28px}.community-hub__heading h2{margin:3px 0 0;font-size:clamp(2.4rem,3.3vw,3.7rem);line-height:1}.community-hub__heading>p{margin:0 0 5px;font-size:.98rem}.community-space-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.community-space-card{display:flex;overflow:hidden;min-width:0;flex-direction:column;border:1px solid var(--line);border-radius:22px;background:var(--surface);box-shadow:0 14px 38px rgba(53,30,43,.08);color:var(--ink);text-decoration:none;transition:transform .22s ease,box-shadow .22s ease}.community-space-card:hover{transform:translateY(-7px);box-shadow:0 24px 56px rgba(53,30,43,.16)}.community-space-card .course-cover{aspect-ratio:16/9;margin:0;border:0;border-radius:0}.community-space-card__body{display:flex;flex:1;align-items:flex-start;flex-direction:column;padding:24px}.community-space-card__privacy{display:inline-flex;margin-bottom:13px;padding:6px 9px;border-radius:999px;background:#e9f2ed;color:#296447;font-size:.64rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.community-space-card h3{margin:0 0 10px;font-size:1.7rem;line-height:1.08}.community-space-card p{display:-webkit-box;min-height:3.2em;margin:0 0 20px;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:.82rem}.community-space-card__meta{display:flex;gap:14px;flex-wrap:wrap;margin:auto 0 18px;color:var(--muted);font-size:.68rem}.community-space-card__meta strong{color:var(--ink)}.community-space-card .btn{width:100%;justify-content:center}.community-hub-empty{grid-column:1/-1;display:grid;justify-items:center;padding:60px 30px;border:1px dashed #d9c8d0;border-radius:22px;background:var(--surface);text-align:center}.community-hub-empty>span{font-size:2rem}.community-hub-empty h2{margin:14px 0 8px}.community-hub-empty p{max-width:560px}.community-search-results--private{grid-template-columns:1.5fr 1fr}.community-search-results--private>section:first-child{grid-column:auto}
}
@layer responsive {
@media(max-width:1240px){.community-main .community-layout{grid-template-columns:220px minmax(0,1fr)}.community-main .community-about{position:static;grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.community-space-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.community-main{width:min(100% - 32px,1440px)}.community-main .community-layout{grid-template-columns:1fr}.community-main .community-about{grid-column:auto;grid-template-columns:1fr 1fr}.community-hub-hero{grid-template-columns:1fr;padding:42px 34px}.community-hub-hero__actions{grid-template-columns:1fr 1fr}.community-hub__heading{grid-template-columns:1fr;gap:14px}.community-space-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.community-main{width:calc(100% - 32px)}.community-hub-hero{margin-top:0;padding:32px 23px;border-radius:20px}.community-hub-hero h1{font-size:2.75rem}.community-hub-hero p{font-size:.92rem}.community-hub-trust{display:grid;gap:8px}.community-hub-hero__actions{grid-template-columns:1fr}.community-space-grid{grid-template-columns:1fr}.community-space-card__body{padding:20px}.community-main .community-about{grid-template-columns:1fr}.community-search-results--private{grid-template-columns:1fr}}
}
