.community-tools {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
  align-items: center;
  min-width: 0;
  font-family: var(--sans);
}
.community-icons { display: inline-flex; align-items: center; gap: 2px; }
.community-tools button, .community-thread-status button, [data-older-comments] {
  appearance: none;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.community-tools .community-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 35px;
  min-height: 36px;
  gap: 5px;
  padding: 4px 6px;
  font-size: .8rem;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.community-icon svg { flex: none; }
.community-icon [data-action-count]:empty { display: none; }
.community-icon[aria-pressed="true"] svg { fill: currentColor; }
.community-tools .community-icon:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.community-tools :is(button,a,input,textarea):focus-visible,
.community-discussion :is(button,a,textarea):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.community-feedback, .community-share { font-size: .85rem; line-height: 1.4; }
.community-feedback:empty, .community-tools [hidden], .community-discussion [hidden] { display: none; }
.community-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 15px;
  flex-basis: 100%;
  padding: 4px 0 8px;
}
.community-tools :is(.community-feedback a,.community-share button),
.community-discussion [data-composer] > a,
.community-thread-status button, .community-discussion [data-older-comments] {
  text-decoration: underline;
  text-underline-offset: .2em;
  font-weight: 600;
  padding: 0;
}
.community-share :is(input,textarea) { width: min(100%,32rem); font: inherit; padding: 6px; color: var(--ink); background: white; }
.community-discussion {
  max-width: var(--reading-width, 46rem);
  margin: clamp(38px, 5vw, 72px) auto 0;
  border-top: 2px solid var(--ink);
  padding-top: 13px;
  color: var(--ink);
}
.community-discussion h2 {
  display: flex;
  align-items: baseline;
  gap: .4em;
  font-size: clamp(1.65rem,2.45vw,2.2rem);
  line-height: 1.1;
  letter-spacing: -.04em;
  scroll-margin-top: 16px;
}
.community-discussion h2 span { font-size: .55em; font-weight: 500; color: var(--muted); letter-spacing: normal; }
.community-discussion [data-composer] { margin: 20px 0 16px; }
.community-discussion [data-composer] > a, .community-discussion [data-older-comments] { color: var(--navy); font-size: .95rem; }
.community-form { display: grid; gap: 8px; }
.community-form label { font-size: .9rem; font-weight: 650; }
.community-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 84px;
  padding: 10px 12px;
  border: 1px solid #969aa2;
  background: white;
  border-radius: 0;
  color: var(--ink);
  font: 1rem/1.4 var(--sans);
}
.community-form-end { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.community-form-end span, .community-thread-status, .community-comments time { font-size: .85rem; color: var(--muted); }
.community-form button { padding: 8px 15px; border: 1px solid var(--navy); background: var(--navy); color: white; font-size: .9rem; font-weight: 650; }
.community-form button:hover { background: #063389; }
.community-form button:disabled, .community-discussion [data-older-comments]:disabled { opacity: .65; cursor: progress; }
.community-comments { margin: 0; padding: 0; list-style: none; }
.community-comments li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; border-top: 1px solid var(--hair); padding-block: 15px; }
.community-comments li:first-child { margin-top: 14px; }
.community-comments strong { font-size: .95rem; overflow-wrap: anywhere; }
.community-comments p { flex-basis: 100%; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
@media (pointer: coarse) {
  .community-tools .community-icon { min-width: 44px; min-height: 44px; }
}
