/* 开发进度和反馈问题两页（问题反馈第二版第 4 批）. Same black, white and grey as
   the changelog: thin rules between rows, one dark button, no motion. */
.community-main { padding-block: 56px 112px; }
.community-main h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.community-lead { margin-top: 16px; max-width: 46em; color: var(--muted); }
.community-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 12px; }
.community-links a, .community-again, .community-signin { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.community-again { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
.community-notice { margin-top: 20px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; }
.community-notice[data-tone="error"] { border-color: var(--ink); }
.community-signin-line { margin-top: 20px; color: var(--muted); }
.community-signin-line a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 10px; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }

.community-section { padding-top: 64px; scroll-margin-top: calc(var(--header-height) + 16px); }
.community-section h2 { font-size: 1.5rem; font-weight: 600; }
.community-intro { margin-top: 8px; max-width: 46em; color: var(--muted); }
.community-list { margin-top: 24px; border-top: 1px solid var(--line); }
.community-empty { padding-block: 24px; color: var(--muted); }
.community-rows { list-style: none; margin: 0; padding: 0; }
.community-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 24px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.community-row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; min-width: 0; }
.community-row-head h3 { font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.community-summary { grid-column: 1; max-width: 46em; color: var(--muted); white-space: pre-line; overflow-wrap: anywhere; }
.community-tag { padding: 1px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; white-space: nowrap; }
.community-meta { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.community-actions { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.community-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: #fafafa; color: var(--ink); font: inherit; font-size: .92rem; cursor: pointer; }
.community-toggle:hover { border-color: var(--ink); }
/* Chosen reads as a ticked option, not as the page's dark main button. */
.community-toggle[aria-pressed="true"] { border-color: var(--ink); background: #e6e6e6; }
.community-toggle[aria-pressed="true"]::before { content: "✓"; font-weight: 600; }
.community-toggle:disabled { opacity: .6; cursor: default; }
.community-count { font-variant-numeric: tabular-nums; }

.community-form, .community-done { max-width: 760px; }
.community-form { display: grid; gap: 18px; margin-top: 32px; }
.community-field { display: grid; gap: 6px; }
.community-field > span { font-weight: 500; }
.community-field input:not([type="file"]), .community-field select, .community-field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fafafa; color: var(--ink); font: inherit; }
.community-field textarea { resize: vertical; }
.community-field input[type="file"] { min-height: 44px; font: inherit; color: var(--muted); }
.community-field input[type="file"]::file-selector-button { margin-right: 12px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: #fafafa; color: var(--ink); font: inherit; cursor: pointer; }
.community-field input[type="file"]::file-selector-button:hover { border-color: var(--ink); }
.community-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.community-small { color: var(--muted); font-size: .9rem; }
.community-small a { color: var(--ink); margin-left: 6px; text-underline-offset: 4px; }
.community-form .button { justify-self: start; }
.community-done { margin-top: 32px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #fafafa; }
.community-done h2 { font-size: 1.5rem; font-weight: 600; }
.community-done p { margin-top: 8px; color: var(--muted); }
[hidden] { display: none !important; }

@media (max-width: 800px) {
  .community-main { padding-block: 32px 56px; }
  .community-section { padding-top: 48px; }
  .community-row { grid-template-columns: minmax(0, 1fr); }
  .community-actions { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .community-field-row { grid-template-columns: minmax(0, 1fr); }
  .community-form .button { justify-self: stretch; }
}
