/* Community and Exchange use the selected forest-and-lime card layout. */
.co {
  --co-forest: #124b39;
  --co-deep: #173e30;
  --co-paper: #f6f6ed;
  --co-card: #fffef8;
  --co-line: #ced6c5;
  --co-muted: #4c6152;
  --co-light: #e7eddc;
  --co-lime: #c9e77b;
  color: var(--co-deep);
  max-width: 980px;
  width: 100%;
  margin-inline: auto;
  min-width: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
}
.co *,
.co *::before,
.co *::after {
  box-sizing: border-box;
}
.co :where(h1, h2, h3, h4, p, ul) {
  margin: 0;
}
.co h1,
.co h2,
.co h3 {
  font-family: 'Bricolage Grotesque', 'DM Sans', system-ui, sans-serif;
  letter-spacing: -0.043em;
}
.co h1 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.05;
  margin: 0;
  color: #173d2e;
}
.co h1 em {
  font-style: normal;
  color: #6b8a4d;
}
.co h2 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.18;
}
.co h3 {
  font-size: 1.15rem;
}
.co-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1rem;
}
.co-head p {
  color: var(--co-muted);
  margin-top: 0.45rem;
  max-width: 56ch;
  font-size: 0.97rem;
}
.co .co-btn,
.co .co-chip,
.co .co-iconbtn,
.co .co-person-button {
  appearance: none;
  cursor: pointer;
  text-decoration: none;
  font: inherit;
  line-height: 1.25;
  letter-spacing: 0;
  min-height: 44px;
  border: 1px solid var(--co-line);
  border-radius: 10px;
  background: var(--co-card);
  color: var(--co-deep);
  padding: 0.53rem 0.78rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-align: center;
  max-width: 100%;
}
.co .co-btn.primary {
  background: var(--co-lime);
  border-color: #b1cd69;
  color: #173a28;
}
.co .co-btn.forest,
.co .co-chip.on {
  color: white;
  background: var(--co-forest);
  border-color: var(--co-forest);
}
.co .co-btn.quiet {
  color: #35553d;
  background: var(--co-light);
}
.co .co-btn.icon,
.co .co-iconbtn {
  width: 44px;
  min-width: 44px;
  padding: 0.5rem;
}
.co .co-btn[disabled],
.co button[disabled] {
  cursor: wait;
  opacity: 0.64;
}
.co :is(button, input, textarea, select, summary, a):focus-visible {
  outline: 3px solid #397a60;
  outline-offset: 2px;
}
.co .co-find {
  width: 100%;
  justify-content: flex-start;
  border-color: #a2b39d;
  font-weight: 520;
  text-align: left;
}
.co .co-find svg:last-child {
  margin-left: auto;
}
.co .co-chips,
.co-actions,
.co-nav,
.co-pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.co-chips {
  margin: 0.63rem 0 1rem;
}
.co .co-chip {
  min-height: 38px;
  border-radius: 99px;
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0.48rem 0.85rem;
}
.co .co-chip:focus-visible {
  outline-offset: 1px;
}
.co-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(210px, 0.8fr);
  align-items: start;
  gap: 1.1rem;
}
.co-stack {
  display: grid;
  align-content: start;
  gap: 0.85rem;
  min-width: 0;
}
.co-card,
.co-aside,
.co-form {
  background: var(--co-card);
  border: 1px solid var(--co-line);
  border-radius: 15px;
  min-width: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.co-pad,
.co-form {
  padding: clamp(0.8rem, 2vw, 1.2rem);
}
.co-card > .co-pad + .co-pad {
  border-top: 1px solid var(--co-line);
}
.co-card > header.co-pad,
.co-aside > header.co-pad {
  padding-bottom: 0.5rem;
}
.co-card .co-body {
  white-space: pre-line;
  line-height: 1.48;
  font-size: 1rem;
}
.co-card p + .co-actions,
.co-aside p + .co-actions,
.co-form p + .co-actions,
.co-card h2 + .co-actions {
  margin-top: 0.75rem;
}
.co-card .co-content + .co-actions,
.co-actions + .co-content {
  margin-top: 0.7rem;
}
.co-person {
  display: flex;
  align-items: center;
  gap: 0.63rem;
  min-width: 0;
}
.co .co-person-button {
  justify-content: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}
.co-av {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--co-forest);
  color: #e4f0ba;
  font-size: 0.78rem;
  font-weight: 740;
  flex: none;
}
.co-person > span:last-child {
  display: grid;
  min-width: 0;
}
.co-person b {
  line-height: 1.3;
}
.co small,
.co-note,
.co-meta {
  font-size: 0.82rem;
  color: var(--co-muted);
  line-height: 1.4;
}
.co .co-muted {
  color: var(--co-muted);
}
.co-kicker,
.co-badge {
  font:
    680 0.72rem/1.3 'DM Sans',
    system-ui,
    sans-serif;
  letter-spacing: 0.035em;
  color: #335a3c;
}
.co-badge {
  background: #e9efdf;
  border: 1px solid #cad7ba;
  border-radius: 99px;
  padding: 0.21rem 0.55rem;
  display: inline-block;
}
.co-hero-img {
  display: block;
  width: 100%;
  height: clamp(165px, 24vw, 265px);
  object-fit: cover;
  object-position: 50% 16%;
  opacity: 1;
}
.co-hero + .co-pad h2 {
  margin: 0.32rem 0;
}
.co-card .co-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(46%, 150px), 1fr));
  gap: 3px;
  background: var(--co-card);
}
.co-media a,
.co-media video {
  display: block;
  min-width: 0;
}
.co-media img,
.co-media video {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  background: #e9eddf;
  display: block;
}
.co-media img {
  mask-image: linear-gradient(to bottom, #000 95%, transparent);
}
.co-media.hero > :first-child img {
  mask-image: none;
}
.co-search,
.co-inlineform {
  display: flex;
  gap: 0.5rem;
  align-items: end;
  flex-wrap: wrap;
}
.co-search > label,
.co-inlineform > label {
  flex: 1 1 135px;
  min-width: 0;
}
.co label {
  display: grid;
  gap: 0.32rem;
  line-height: 1.35;
  font-size: 0.94rem;
  font-weight: 650;
}
.co label .co-local {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--co-muted);
}
.co input:not([type='checkbox']),
.co textarea,
.co select {
  display: block;
  width: 100%;
  min-width: 0;
  color: #193f2f;
  background: #fffffc;
  border: 1px solid #a3b49b;
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 450;
  padding: 0.64rem 0.68rem;
  min-height: 44px;
}
.co textarea {
  resize: vertical;
}
.co input[type='file'] {
  max-width: 100%;
  font-size: 0.9rem;
}
.co .co-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.co .co-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--co-forest);
}
.co .co-check span {
  flex: 1;
}
.co-fields {
  display: grid;
  gap: 0.8rem;
}
.co-fields.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.co-fields + .co-actions,
.co-form > .co-actions,
.co-fields + .co-fields {
  margin-top: 0.85rem;
}
.co-form > h2,
.co-form > h3,
.co-form > p {
  margin: 0 0 0.7rem;
}
.co-list {
  display: grid;
  gap: 0.55rem;
}
.co-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}
.co-row > div {
  min-width: 0;
}
.co-row p {
  margin-top: 0.22rem;
}
.co .co-tree {
  display: grid;
  gap: 0.55rem;
  border-left: 3px solid #b6c7a7;
  padding-left: 0.7rem;
}
.co-tree div {
  display: grid;
  gap: 0.2rem;
}
.co-tree strong {
  font-size: 0.92rem;
}
.co-tree span {
  white-space: pre-wrap;
}
.co .co-ad {
  background: #fbf2da;
  border-color: #dfcea0;
}
.co-ad .co-kicker {
  color: #70521c;
}
.co-ad h3 {
  margin: 0.25rem 0;
}
.co .co-drawn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.co-history {
  display: grid;
  gap: 0.55rem;
}
.co-message {
  border: 1px solid var(--co-line);
  background: var(--co-card);
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  max-width: 86%;
  width: fit-content;
  min-width: 110px;
}
.co-message.mine {
  margin-left: auto;
  background: #e3eed9;
  border-color: #c5d6b9;
}
.co-message .co-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.co-message time {
  display: block;
  font-size: 0.75rem;
  color: var(--co-muted);
  margin: 0.28rem 0 0;
}
.co-form details {
  margin: 0.7rem 0;
}
.co details > summary {
  cursor: pointer;
  min-height: 38px;
  line-height: 1.4;
  font-weight: 650;
  padding: 0.48rem 0;
}
.co details[open] > summary {
  margin-bottom: 0.4rem;
}
.co-image-credit {
  color: var(--co-muted);
  font-size: 0.68rem;
  line-height: 1.4;
}
.co-image-credit a {
  color: #31583e;
}
.co-pager {
  justify-content: space-between;
  margin: 0.65rem 0;
}
.co-hint {
  padding: 0.5rem 0.65rem;
  background: #eef3e5;
  border-radius: 7px;
  font-size: 0.83rem;
}
.co .co-loader {
  padding: 1rem;
  color: var(--co-muted);
}
.co .co-attach-preview {
  font-size: 0.79rem;
  color: var(--co-muted);
  margin-top: 0.2rem;
}
.co .co-iconbtn[aria-pressed='true'] {
  background: #dae8c7;
}
@media (max-width: 740px) {
  .co-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .co-search {
    align-items: stretch;
  }
  .co h1 {
    font-size: 2.25rem;
  }
  .co-head {
    margin-bottom: 0.8rem;
  }
  .co .co-chips {
    gap: 0.32rem;
  }
  .co-chip {
    font-size: 0.8rem;
  }
  .co-hero-img {
    height: 190px;
  }
  .co-row {
    align-items: flex-start;
  }
  .co-slim {
    display: none;
  }
  .co-stack {
    gap: 0.7rem;
  }
}
@media (max-width: 410px) {
  .co-fields.two {
    grid-template-columns: 1fr;
  }
  .co-actions {
    gap: 0.32rem;
  }
  .co .co-btn {
    padding: 0.55rem 0.66rem;
  }
  .co-head {
    flex-wrap: wrap;
  }
  .co .co-chip {
    padding: 0.45rem 0.68rem;
  }
  .co-message {
    max-width: 94%;
  }
}

.co .co-row > .co-btn:not(.co-person-button) {
  flex-shrink: 0;
  overflow-wrap: normal;
}
.co .co-row > .co-person-button {
  flex: 1;
  text-align: left;
  min-width: 0;
  justify-content: flex-start;
}
.co-filter-box {
  background: var(--co-card);
  border: 1px solid var(--co-line);
  border-radius: 12px;
}
.co .co-filter-box > summary {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  min-height: 44px;
  margin: 0;
}
.co .co-filter-box > summary::after {
  content: '+';
  margin-left: auto;
}
.co .co-filter-box[open] > summary::after {
  content: '−';
}
.co .co-filter-box > .co-form {
  border: 0;
  border-radius: 0 0 12px 12px;
  border-top: 1px solid var(--co-line);
}
.co-report-dialog {
  width: min(420px, calc(100vw - 24px));
  max-height: 82dvh;
  overflow: auto;
  padding: 12px;
  border: 1px solid #9bb292;
  border-radius: 14px;
  background: #fffef8;
  color: #173e30;
}
.co-report-dialog::backdrop {
  background: rgba(14, 40, 29, 0.55);
}
.co-report-dialog [data-close] {
  margin-top: 0.5rem;
}
@media (max-width: 740px) {
  .co-filter-grid > .co-stack:first-child {
    order: 2;
  }
  .co-filter-grid > aside {
    order: 1;
  }
  .co .co-chip {
    min-height: 44px;
  }
}

.co-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 0.6rem;
  margin: 0.8rem 0 0;
}
.co-totals div {
  display: flex;
  flex-direction: column;
  gap: 0.24rem;
  border-left: 2px solid #bed19f;
  padding-left: 0.52rem;
}
.co-totals dt {
  font-size: 0.78rem;
  color: var(--co-muted);
}
.co-totals dd {
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

.co-clip {
  min-height: 80px;
  background: #e6edde;
  padding: 0.6rem;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 0.35rem;
}
.co-clip video {
  width: 100%;
  max-height: 350px;
  display: block;
}
.co-clip [hidden] {
  display: none !important;
}
.co-clip small:empty {
  display: none;
}
.co [data-chat-pages]:empty {
  display: none;
}
