.community-dialog{width:min(960px,calc(100vw - 32px));max-height:90dvh;padding:0;background:#f0e9db;color:#3f372b;border:1px solid #ac946e;border-radius:10px;box-shadow:0 22px 80px #0007}.community-dialog::backdrop{background:#0008}.community-dialog>header{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:inherit;border-bottom:1px solid #c6b89f;z-index:1}.community-dialog h2{margin:0;font-size:21px}.community-dialog button,.community-dialog input,.community-dialog select,.community-dialog textarea,#sharedSocial button,#sharedDiscussion button,#sharedDiscussion textarea,#browseCombos{font:inherit;border:1px solid #bbaa8b;background:#faf5eb;color:inherit;padding:9px 12px;border-radius:5px}.community-dialog button,#sharedSocial button,#sharedDiscussion button{cursor:pointer}.community-dialog button:disabled{opacity:.5}.community-dialog>header button{font-size:24px;padding:0 9px;border:0;background:none}.community-body{padding:24px}.community-dialog label{display:flex;flex-direction:column;gap:7px;font-size:13px}.community-dialog form{display:grid;gap:17px}.community-dialog fieldset{display:flex;gap:20px;padding:15px;border:1px solid #c6b89f}.community-dialog fieldset label{flex-direction:row;align-items:center}.community-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.community-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}.community-dialog .community-primary,#sharedDiscussion .community-primary{background:#715632;color:#fff6e6;border-color:#715632}.community-dialog a.community-primary{display:inline-block;padding:10px 16px;text-decoration:none;border-radius:4px}.community-error{color:#bd382f;margin:0;padding:0 24px 16px}.community-error:empty{padding:0}.community-dialog input[readonly]{width:100%}.community-scopes{display:flex;gap:8px;margin-bottom:18px;align-items:center}.community-scopes>span{margin-left:auto;font-size:12px}.community-scopes button.active{background:#715632;color:#fff}.community-dialog #communityFilters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:22px}.community-dialog #communityFilters input{flex:1;min-width:180px}.community-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.community-dialog .community-card{text-align:left;padding:20px;min-width:0}.community-card:hover{border-color:#927044;box-shadow:0 2px 12px #624b1920}.community-card h3{font-size:17px;margin:14px 0 9px;overflow-wrap:anywhere}.community-card p{font-size:13px;color:#7a6b57;line-height:1.5;min-height:35px}.community-card footer{font-size:11px;color:#7a6b57}.community-meta{font-size:12px;color:#87704f}.community-meta b{float:right}.community-empty{grid-column:1/-1;padding:60px 15px;text-align:center;color:#8b785d}#communityMore{display:block;margin:20px auto 0}#communityMore[hidden]{display:none}#sharedSocial{padding:15px 0;border-top:1px solid #a9997f;border-bottom:1px solid #a9997f;margin:10px 0 18px}#sharedSocial>div:first-child{display:flex;flex-direction:column;gap:8px}#sharedSocial b{font-size:16px}.community-social-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}#sharedSocial button{font-size:11px;padding:7px 10px}#sharedSocial button[aria-pressed=true]{color:#986f2b;border-color:#986f2b;background:#f4e4c7}#sharedDiscussion{margin-top:25px;border-top:1px solid #b3a387;padding-top:16px}#sharedDiscussion h3{font-size:16px}.community-comments article{padding:15px 0;border-bottom:1px solid #b3a38766}.community-comments header{display:flex;gap:12px;align-items:center;font-size:12px}.community-comments header time{color:#968574}.community-comments header button{margin-left:auto}.community-comments p{white-space:pre-wrap;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.comment-form{display:flex;align-items:flex-end;gap:8px;margin-top:18px}.comment-form textarea{flex:1;min-width:0;min-height:72px}.class-toolbar #browseCombos{font-size:12px;white-space:nowrap}.class-toolbar #themeToggle{margin-left:8px}.community-success{font-size:19px;font-weight:700}
:root[data-theme=dark] .community-dialog{background:#27272b;color:#e2d9c8;border-color:#696052}:root[data-theme=dark] .community-dialog button,:root[data-theme=dark] .community-dialog input,:root[data-theme=dark] .community-dialog textarea,:root[data-theme=dark] .community-dialog select,:root[data-theme=dark] #sharedSocial button,:root[data-theme=dark] #sharedDiscussion textarea,:root[data-theme=dark] #browseCombos{background:#353237;color:#e1d8c8;border-color:#6c6151}:root[data-theme=dark] .community-dialog .community-primary,:root[data-theme=dark] .community-scopes button.active{background:#a27b43;color:#15120c}:root[data-theme=dark] .community-card p,:root[data-theme=dark] .community-card footer{color:#b5a590}:root[data-theme=dark] #sharedSocial button[aria-pressed=true]{color:#e0b967;background:#4a3b25}
@media(max-width:600px){.community-grid,.community-form-row{grid-template-columns:1fr}.community-body{padding:16px}.community-scopes{flex-wrap:wrap}.community-dialog #communityFilters select{flex:1}.community-dialog footer{flex-wrap:wrap}.comment-form{flex-direction:column;align-items:stretch}.community-dialog fieldset{flex-wrap:wrap}}
.community-dialog a.community-primary:link,.community-dialog a.community-primary:visited{color:#fff6e6}
