.groups-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,31%);gap:20px;align-items:start}
.groups-layout>*{min-width:0}
.groups-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin:0 0 18px}
.groups-filters label:first-child{flex:1 1 210px}
.groups-filters label:nth-child(2){flex:0 1 170px}
.groups-filters label{margin:0}
.groups-header,.groups-panel{padding:14px 16px;border:1px solid #d8e5ed;border-radius:8px;background:#fff;overflow-wrap:anywhere}
.groups-header{margin:8px 0 14px;background:#f3f8fb}
.groups-panel{margin:0 0 14px}
.groups-panel>.section-title:first-child{margin:0 0 12px}
.groups-back{display:inline-block;padding:4px 0}
.groups-card{display:grid;grid-template-columns:46px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid #dce7ee;overflow-wrap:anywhere}
.groups-emblem{display:grid;place-items:center;width:46px;height:46px;border-radius:8px;background:#e4eff6;color:#385972;font-weight:700}
.groups-name{font-size:17px;font-weight:700}
.groups-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0 7px}
.groups-meta{display:flex;flex-wrap:wrap;gap:5px 12px;color:#4c626f;font-size:13px}
.groups-meta span{padding:2px 6px;border-radius:4px;background:#e8f1f7}
.groups-description{white-space:pre-wrap;margin:10px 0}
.groups-panel .social-gallery img{max-width:100%;object-fit:contain}
.groups-panel .social-gallery figure{margin:0;min-width:0}
.groups-panel .social-member{overflow-wrap:anywhere}
.groups-panel>a:last-child{display:inline-block;margin-top:9px}
@media(max-width:680px){
 .groups-layout{grid-template-columns:minmax(0,1fr);gap:12px}
 .groups-header,.groups-panel{padding:12px}
 .groups-filters label:first-child{flex-basis:100%}
 .groups-filters button,.groups-header button,.groups-panel button{min-height:44px}
}
.groups-panel input[type=url]{display:block;width:100%;margin:0 0 8px;padding:8px}
.groups-activity{padding:8px 0;margin:0;border-bottom:1px solid #dce7ee}
.groups-activity small{display:block;color:#536976;margin-top:4px}
.groups-member-preview .social-member{display:inline-grid;grid-template-columns:minmax(0,1fr);width:33.33%;justify-items:center;vertical-align:top;font-size:12px;border:0;gap:3px;text-align:center}
.groups-member-preview .social-avatar{width:42px;height:48px}
.groups-list-link441{display:block;padding:7px 0;border-bottom:1px solid #e3edf3}
.group-poll-list441{display:grid;gap:3px;padding:9px 0;border-bottom:1px solid #dce8ef}
.group-poll-list441>a{font-weight:700}
.group-poll-list441 small{color:#516575}
.group-poll-question441{margin:12px 0;color:#355970;overflow-wrap:anywhere}
@media(max-width:680px){
 #content .groups-layout,.groups-directory-grid448{grid-template-columns:minmax(0,1fr);gap:8px}
 .groups-directory-grid448 .groups-card{grid-template-columns:66px minmax(0,1fr)}
}
.wrap main:has(>#content[class*="group-archive-"])>.section-heading{margin-bottom:14px}
.wrap main:has(>#content[class*="group-archive-"]) #notice:empty{display:none}
.section-heading:has(.group-status448)>div{width:100%}
#groupsHeading:has(.group-status448){display:grid;grid-template-columns:minmax(0,1fr) 24%;gap:20px}
.group-status448{text-align:center;color:#27714d;font-size:.8em;align-self:center}
.group-status448.admission-private{color:#72551f}
#content.group-archive-directory448 .groups-layout,#content.group-archive-detail448 .groups-layout{grid-template-columns:minmax(0,3fr) minmax(0,1fr)}
#content .groups-panel>.section-title,#content .groups-list>.section-title{border-bottom:1px solid #f5b6be;font-size:clamp(18px,2.2vw,25px);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.groups-count448,.groups-more448{font-size:12px;padding:3px 5px;background:#fce7e9;color:#a9364f;font-weight:normal}
.groups-more448{background:#e8eff5;color:#2f6589;text-decoration:underline}
.groups-list>.section-title>:last-child:not(.groups-count448){margin-left:auto}
.groups-directory-grid448{border:0;gap:22px 12px;margin:24px 0 14px}
.groups-directory-grid448 .groups-card{padding:0;background:transparent;border:0;gap:7px}
.groups-directory-grid448 .groups-name{display:block;font-size:clamp(15px,1.65vw,21px);line-height:1.1}
.groups-directory-grid448 .groups-meta{display:block;font-size:12px;margin:4px 0}
.groups-directory-grid448 .groups-meta span{display:inline-block;background:none;padding:0;border-radius:0;margin-right:5px;color:#26754a}
.groups-directory-grid448 .groups-meta .admission-open{background:#297b4e;color:#fff;padding:0 4px}
.groups-directory-grid448 .groups-meta .admission-private{background:#eee8d5;color:#685529;padding:0 4px}
.groups-directory-grid448 .groups-excerpt{color:#625f60;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.groups-emblem img{max-height:none;display:block}
#content .groups-panel>a.groups-recent448{display:grid;gap:6px;justify-items:center;text-align:center;margin:14px 0 25px}
.groups-recent448 img{display:block;width:min(118px,100%);aspect-ratio:1;object-fit:contain;background:#eaf2f8}
.groups-recent448 strong{max-width:145px;overflow-wrap:anywhere}
.groups-tools448{margin-top:18px;border-top:1px solid #cbdce8;padding-top:10px}
.groups-tools448 summary{color:#316f92;cursor:pointer}
.groups-tools448 #groupComposer{margin-top:18px;max-width:480px}
#content .groups-activity{background:#eaf1f6;padding:4px 7px;border-bottom:1px solid white}
#content .groups-activity small{display:inline;margin-left:6px}
.groups-intro448{background:#fcfaeb;padding:14px 18px}
.group-archive-detail448 .groups-header{background:transparent;border:0;padding:0;text-align:center}
.group-archive-detail448 .groups-header .groups-meta{justify-content:center}
.groups-cover-name448{display:block;background:#eaf2f8;border:1px solid #b3cfe3;padding:6px;margin:8px auto;max-width:90%}
#content .groups-share448{background:#eaf2f8;padding:10px;margin-top:12px}
#content .groups-share448>.section-title{font-size:15px;color:#39566c;border:0;padding:0}
.groups-share448 p{margin:6px 0}
.groups-member-preview .social-member{width:14.28%;min-width:0;padding:5px;box-sizing:border-box}
.groups-member-preview .social-avatar{width:100%;max-width:110px;height:auto;aspect-ratio:4/5;object-fit:cover}
.group-archive-detail448 .social-topic{position:relative;padding:9px 32% 9px 8px;border-bottom:1px solid #c7deed}
.group-archive-detail448 .social-topic>aside{position:absolute;right:0;top:9px;width:30%;font-size:12px}
@media(max-width:680px){
 #content.group-archive-directory448 .groups-layout,#content.group-archive-detail448 .groups-layout{grid-template-columns:minmax(0,1fr);gap:14px}
 #groupsHeading:has(.group-status448){grid-template-columns:1fr;gap:3px}
 .group-status448{text-align:left;font-size:.65em}
 .groups-directory-grid448 .groups-card{grid-template-columns:80px minmax(0,1fr)}
 .groups-member-preview .social-member{width:25%}
 .group-archive-detail448 .social-topic{padding-right:8px}
 .group-archive-detail448 .social-topic>aside{position:static;width:auto;margin-top:4px}
}

/* Only the open or closed poll detail uses this layout. */
body>.wrap:has(#content.group-archive-poll448){
 width:100%!important;max-width:min(100%,980px)!important;box-sizing:border-box
}
.wrap main:has(>#content.group-archive-poll448)>.section-heading[hidden]{display:none}
#content.group-archive-poll448{container-type:inline-size}
#content .group-poll-board448{
 position:relative;text-align:center;padding:0;margin:0 0 18px
}
.group-archive-poll448 .groups-header{display:none}
.group-poll-title448{
 color:#ff4e70;font:400 clamp(21px,3.7cqw,34px)/1.14 Arial,Helvetica,sans-serif;
 max-width:76%;margin:0 auto 15px;text-align:center;overflow-wrap:anywhere
}
.group-poll-back448{
 position:absolute;top:0;right:0;padding:6px 11px;border-radius:8px;
 background:#d4e2ed;text-decoration:underline
}
.group-poll-status448{
 display:inline-block;margin:0 0 16px;padding:1px 4px;color:#fff;
 background:#268b51;font-weight:700
}
.group-poll-status448.closed{background:#596a76}
.group-poll-grid448{
 display:grid;grid-template-columns:repeat(var(--poll-columns),minmax(0,1fr));
 gap:8px;align-items:start;justify-items:stretch;
 --portrait-height:clamp(96px,16cqw,152px)
}
.group-poll-grid448>.group-poll-card448{
 display:flex;flex-direction:column;align-items:stretch;min-width:0;
 width:100%;box-sizing:border-box;gap:clamp(7px,.85cqw,13px)
}
.group-poll-card448>.group-poll-name448{
 display:block;box-sizing:border-box;width:100%;min-width:0;margin:0;
 background:#e7f0f7;color:#414141;padding:clamp(5px,.55cqw,9px);
 font-size:clamp(15px,2.55cqw,24px);line-height:1.14;overflow-wrap:anywhere
}
.group-poll-card448>.group-poll-portrait448{
 display:flex;align-items:flex-start;justify-content:center;
 box-sizing:border-box;width:100%;height:var(--portrait-height)
}
.group-poll-portrait448>.group-poll-avatar448{
 display:block;width:auto;max-width:100%;height:100%;object-fit:contain
}
.group-poll-card448>.group-poll-message448{
 box-sizing:border-box;width:100%;min-height:clamp(60px,9.3cqw,88px);
 background:#fff3a5;border:1px solid #ecda79;text-align:left;color:#303030;
 padding:clamp(6px,1cqw,15px) 8px;overflow-wrap:anywhere
}
.group-poll-candidate448:not(:has(.group-poll-portrait448))>.group-poll-message448{margin-top:var(--portrait-height)}
.group-poll-message448 p{margin:0;white-space:pre-wrap;font-size:clamp(12px,1.23cqw,14px);line-height:1.15}
.group-poll-message448 textarea{box-sizing:border-box;width:100%;min-height:70px;margin:0 0 4px}
.group-poll-message448 button{margin:4px 5px 0 0}
.group-poll-card448>.group-poll-percent448{
 color:#737373;font-size:clamp(25px,4.15cqw,40px);font-weight:800;line-height:1.05
}
.group-poll-vote448{
 align-self:center;width:62px;height:62px;padding:0;border-radius:50%;font-weight:700
}
#content.group-archive-poll448 .groups-layout{
 grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(15px,3cqw,44px)
}
#content.group-archive-poll448 .groups-panel{border:0;border-radius:0;background:transparent;padding:0}
#content.group-archive-poll448 .groups-panel>.section-title{
 border-bottom:1px solid #f5b6be;color:#ff4e70;font-size:clamp(16px,1.9cqw,19px)
}
.group-poll-comment448{margin:3px 0;padding:5px;background:#e7f0f7;white-space:pre-wrap}
.group-archive-poll448 .group-poll-list441{display:block;border:0;padding:4px 0}
.group-archive-poll448 .group-poll-list441 small{margin-inline-start:7px}
@media(max-width:680px){
 .group-poll-title448{max-width:none}
 .group-poll-back448{position:static;display:table;margin:0 auto 8px}
 .group-poll-grid448{grid-template-columns:repeat(min(var(--poll-columns),2),minmax(0,1fr))}
 #content.group-archive-poll448 .groups-layout{grid-template-columns:1fr}
}
