/* Community feature: Member Chat Board and Co-development Projects. Light surfaces only. */

/* ---- chat board ---- */
.community-channels .list-row { text-decoration: none; }
.community-channels .list-row:hover { border-color: var(--teal); text-decoration: none; }
.community-group { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 2px 6px; }
.community-meta { display: block; margin-top: 2px; }
.community-thread { text-decoration: none; }
.community-thread:hover { border-color: var(--teal); text-decoration: none; }
.community-thread b { color: var(--navy); }
.community-gone { color: var(--muted); font-style: italic; }
.community-post-main { flex: 1; min-width: 0; }
.community-post .body p { margin: 0 0 .6em; overflow-wrap: anywhere; }
.community-post .pill { margin-left: 6px; }
.community-actions { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.community-actions form { margin: 0; }
.community-actions .btn-ghost { padding: 2px 4px; }
.community-focus { background: #f2fafa; border-radius: 8px; padding-left: 12px; padding-right: 12px; box-shadow: inset 3px 0 0 var(--teal); }
.community-hint { display: block; font-weight: 400; }
.community-narrow { max-width: 760px; }
.community-wide { max-width: 900px; }
.community-off { padding: 40px 24px; max-width: 640px; }
.community-off .btn { margin-top: 8px; }

/* ---- moderation ---- */
.community-quote { background: var(--g3); border: 1px solid var(--g1); border-radius: 8px; padding: 10px 14px; overflow-wrap: anywhere; }
.community-quote p:last-child { margin-bottom: 0; }
.community-flags { margin: 6px 0 10px; padding-left: 18px; font-size: 13.5px; }
.community-flags li { margin-bottom: 6px; }
.community-moderate { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.community-moderate form { margin: 0; }
.community-reason { max-width: 340px; }
.community-channel-form { min-width: 260px; }

/* ---- projects ---- */
.community-intro { padding: 36px 40px; }
.community-intro h1 { font-size: 34px; }
.community-intro p { max-width: 820px; font-size: 16px; }
.community-project { display: flex; flex-direction: column; gap: 4px; }
.community-project .card-h { margin-bottom: 4px; }
.community-project .btn { align-self: flex-start; margin-top: 10px; }
.community-byline { margin-bottom: 6px; }
.community-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 4px 0 0; }
.community-facts dt { margin-top: 4px; }
.community-progress { margin: 8px 0 4px; }
.community-bar { position: relative; height: 12px; border-radius: 6px; overflow: visible; }
.community-bar i { position: absolute; left: 0; top: 0; border-radius: 6px; }
.community-bar i.community-bar-committed { background: #bfe1e2; }
.community-bar-paid { background: var(--teal); }
.community-bar-min { position: absolute; top: -4px; bottom: -4px; width: 0; border-left: 2px solid var(--slate); }
.community-progress-text { font-size: 13px; margin: 8px 0 0; }
.community-richtext h2 { font-size: 17px; margin-top: 16px; }
.community-richtext h3 { font-size: 15px; margin-top: 12px; }
.community-richtext ul, .community-richtext ol { padding-left: 20px; }
.community-updates li { padding-bottom: 12px; }
.community-update-body { margin-top: 6px; font-size: 14px; }
.community-update-body p { margin: 0 0 .5em; }
.community-updates form { margin: 0; }
.community-fieldset { border: 1px solid var(--g1); border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; }
.community-fieldset legend { font-size: 13px; font-weight: 600; color: var(--navy); padding: 0 6px; }
.community-fieldset .check { margin: 4px 0; }
.community-check { align-self: center; }
.community-commitment { padding: 10px 0; border-top: 1px solid var(--g1); }
.community-commitment:first-of-type { border-top: 0; }
.community-commitment-actions { margin-top: 8px; }
.community-pad { padding: 0 18px; }

@media (max-width: 900px) {
  .community-facts { grid-template-columns: repeat(2, 1fr); }
  .community-intro { padding: 24px 20px; }
}

/* The Needs Board (DR-635). */
.community-need .card-h h2 { margin: 0; }
.community-excerpt { margin: 6px 0 0; }
