/**
 * Platform suggestions — warm ivory editorial (matches --hw-fe-* / Arena).
 * Reuses .hw-community markup; scoped under .hw-suggestions.
 */
.hw-community.hw-suggestions {
  --hw-sug-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --hw-sug-ease-snap: cubic-bezier(0.34, 1.35, 0.64, 1);
  --hw-sug-surface: var(--hw-fe-elevated, var(--hw-fe-panel-solid, #fcfaf7));
  --hw-sug-border: var(--hw-fe-border, #e4ded4);
  --hw-sug-accent: var(--hw-fe-accent, #b85c3a);
  --hw-sug-accent-strong: var(--hw-fe-accent-light, #c9724f);
  --hw-sug-ink: var(--hw-fe-text, #211b16);
  --hw-sug-muted: var(--hw-fe-muted, #8a8379);
  --hw-sug-accent-rgb: var(--hw-fe-accent-rgb, 184, 92, 58);
  --hw-sug-text-rgb: var(--hw-fe-text-rgb, 33, 27, 22);
  --hw-sug-soft: var(--hw-fe-text-soft, #5c564e);
  --hw-sug-cream: #fcfaf7;
  font-family: var(--hw-fe-font-ui, "DM Sans", "Segoe UI", system-ui, sans-serif);
}

body.hw-suggestions-page {
  overflow-x: clip;
  background: var(--hw-fe-bg, #f7f3ed);
  background-color: var(--hw-fe-bg, #f7f3ed);
  background-attachment: fixed;
  color: var(--hw-fe-text, #211b16);
}

body.hw-suggestions-page .site,
body.hw-suggestions-page #wrapper,
body.hw-suggestions-page #inner-wrap,
body.hw-suggestions-page .content-wrap,
body.hw-suggestions-page .content-bg,
body.hw-suggestions-page .entry-content-wrap,
body.hw-suggestions-page .entry-content,
body.hw-suggestions-page .site-content,
body.hw-suggestions-page .content-area,
body.hw-suggestions-page .site-main,
body.hw-suggestions-page main,
body.hw-suggestions-page article.page,
body.hw-suggestions-page .inside-article,
body.hw-suggestions-page .site-container,
body.hw-suggestions-page .content-container,
body.hw-suggestions-page .container {
  background: transparent !important;
  max-width: none !important;
  width: 100% !important;
}

body.hw-suggestions-page .entry-content-wrap,
body.hw-suggestions-page .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hw-suggestions.hw-suggestions--page {
  max-width: min(var(--hw-stage-content, 1600px), 100%);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.35rem) var(--hw-stage-pad, clamp(1rem, 3.5vw, 3.5rem)) 3.25rem;
  background: transparent;
  color: var(--hw-fe-text, #211b16);
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.hw-suggestions__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */
.hw-suggestions .hw-community__hero--mast {
  position: relative;
  min-height: 0;
  margin: 0 0 1.35rem;
  padding: 0.2rem 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hw-suggestions .hw-community__hero--mast .hw-community__hero-media,
.hw-suggestions .hw-community__hero--mast .hw-community__hero-veil {
  display: none;
}

.hw-suggestions .hw-community__hero--mast .hw-community__hero-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0;
}

.hw-suggestions .hw-community__hero-copy .hw-community__title {
  margin: 0 0 0.65rem;
  font-family: var(--hw-fe-font-display, "Playfair Display", Georgia, serif);
  font-size: clamp(1.95rem, 4.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--hw-sug-ink, var(--hw-fe-text, #211b16));
  opacity: 0;
}

.hw-suggestions.is-mounted .hw-community__hero-copy .hw-community__title {
  animation: hw-sug-fade-up 0.62s var(--hw-sug-ease-out) 0.06s both;
}

.hw-suggestions .hw-community__lede {
  margin: 0;
  max-width: 40rem;
  color: var(--hw-sug-muted, var(--hw-fe-muted, #8a8379));
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0;
}

.hw-suggestions.is-mounted .hw-community__lede {
  animation: hw-sug-fade-up 0.62s var(--hw-sug-ease-out) 0.12s both;
}

.hw-suggestions .hw-community__stage {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Composer */
.hw-suggestions .hw-suggestions__composer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.05rem 1.1rem 1rem;
  border-radius: var(--hw-fe-radius-lg, 16px);
  border: 1px solid var(--hw-sug-border);
  background: var(--hw-sug-surface);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
  transition: border-color 0.25s ease, box-shadow 0.3s var(--hw-sug-ease-out);
}

.hw-suggestions .hw-suggestions__composer.is-focused {
  border-color: rgba(var(--hw-sug-accent-rgb), 0.42);
  box-shadow:
    0 0 0 1px rgba(var(--hw-sug-accent-rgb), 0.12),
    var(--hw-fe-shadow-md, 0 12px 32px rgba(36, 33, 29, 0.08));
}

.hw-suggestions .hw-suggestions__title-input,
.hw-suggestions .hw-suggestions__composer textarea {
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.95rem;
  border-radius: var(--hw-fe-radius-md, 12px);
  border: 1px solid var(--hw-sug-border);
  background: var(--hw-fe-bg-soft, #f1ebe2);
  color: var(--hw-sug-ink);
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hw-suggestions .hw-suggestions__composer textarea {
  min-height: 7.5rem;
  resize: none;
}

.hw-suggestions .hw-suggestions__title-input::placeholder,
.hw-suggestions .hw-suggestions__composer textarea::placeholder {
  color: var(--hw-sug-muted);
  opacity: 0.9;
}

.hw-suggestions .hw-suggestions__title-input:focus,
.hw-suggestions .hw-suggestions__composer textarea:focus {
  outline: none;
  border-color: rgba(var(--hw-sug-accent-rgb), 0.5);
  box-shadow: 0 0 0 2px rgba(var(--hw-sug-accent-rgb), 0.16);
  background: var(--hw-sug-surface);
}

.hw-suggestions__composer-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.hw-suggestions__cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex: 1 1 auto;
  min-width: 0;
}

.hw-suggestions.hw-community .hw-community__new-topic button.hw-suggestions__cat-pill {
  margin: 0;
  min-height: 34px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--hw-sug-border) !important;
  background: transparent !important;
  color: var(--hw-sug-soft) !important;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.22s var(--hw-sug-ease-snap);
}

.hw-suggestions.hw-community .hw-community__new-topic button.hw-suggestions__cat-pill:hover {
  border-color: rgba(var(--hw-sug-accent-rgb), 0.4) !important;
  color: var(--hw-sug-ink) !important;
  background: rgba(var(--hw-sug-accent-rgb), 0.08) !important;
}

.hw-suggestions.hw-community .hw-community__new-topic button.hw-suggestions__cat-pill.is-active {
  border-color: transparent !important;
  background: linear-gradient(180deg, var(--hw-sug-accent-strong), var(--hw-sug-accent)) !important;
  color: var(--hw-sug-cream) !important;
}

.hw-suggestions.hw-community .hw-community__new-topic button.hw-suggestions__submit {
  margin: 0;
  margin-left: auto;
  min-height: 42px;
  padding: 0 1.25rem;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(180deg, var(--hw-fe-accent-light, #c9724f), var(--hw-fe-accent, #b85c3a)) !important;
  color: var(--hw-sug-cream) !important;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: var(--hw-fe-shadow-fire, 0 8px 24px rgba(184, 92, 58, 0.18)) !important;
  transition: filter 0.22s ease, transform 0.28s var(--hw-sug-ease-snap);
}

.hw-suggestions__submit:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.hw-suggestions__login-hint {
  margin: 0;
  padding: 0.95rem 1.05rem;
  border-radius: 14px;
  border: 1px dashed rgba(var(--hw-sug-accent-rgb), 0.28);
  background: var(--hw-fe-surface, #efe8dc);
  color: var(--hw-sug-soft);
}

/* Toolbar */
.hw-suggestions__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hw-suggestions__status-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.28rem;
  border-radius: 999px;
  border: 1px solid var(--hw-sug-border);
  background: var(--hw-sug-surface);
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.04));
}

.hw-suggestions__status-tab {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--hw-sug-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.hw-suggestions__status-tab:hover {
  color: var(--hw-sug-ink);
  background: rgba(var(--hw-sug-accent-rgb), 0.08);
}

.hw-suggestions__status-tab.is-active {
  background: rgba(var(--hw-sug-accent-rgb), 0.12);
  border-color: rgba(var(--hw-sug-accent-rgb), 0.28);
  color: var(--hw-sug-accent);
}

.hw-suggestions__search {
  position: relative;
  flex: 1 1 14rem;
  min-width: min(100%, 12rem);
  max-width: 22rem;
  margin: 0;
  /* Ensure embedded nav-search inherits light ivory vars outside header */
  --hw-search-text: var(--hw-fe-text, #211b16);
  --hw-search-text-soft: var(--hw-fe-text-soft, #5c564e);
  --hw-search-placeholder: color-mix(in srgb, var(--hw-fe-muted, #8a8379) 88%, transparent);
  --hw-search-border: var(--hw-fe-border, #e4ded4);
  --hw-search-border-hover: color-mix(in srgb, var(--hw-fe-accent, #b85c3a) 35%, var(--hw-fe-border, #e4ded4));
  --hw-search-border-focus: color-mix(in srgb, var(--hw-fe-accent, #b85c3a) 55%, var(--hw-fe-border, #e4ded4));
  --hw-search-surface: var(--hw-fe-elevated, #fcfaf7);
  --hw-search-elevate: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06));
  --hw-search-focus-glow: 0 0 0 3px color-mix(in srgb, var(--hw-fe-accent, #b85c3a) 22%, transparent);
  --hw-nav-text: var(--hw-fe-text, #211b16);
  --hw-text-rgb: var(--hw-fe-text-rgb, 33, 27, 22);
}

.hw-suggestions__search.hw-nav-search--embedded {
  width: auto;
}

.hw-suggestions__search.hw-nav-search--embedded .hw-nav-search__shell {
  border: 1px solid var(--hw-search-border);
  background: var(--hw-search-surface);
  box-shadow: var(--hw-search-elevate);
}

.hw-suggestions__search.hw-nav-search--embedded .hw-nav-search__input,
.hw-suggestions__search.hw-nav-search--embedded input.hw-nav-search__input[type="search"],
.hw-suggestions__search.hw-nav-search--embedded input.hw-nav-search__input[type="text"] {
  color: var(--hw-search-text);
  background: transparent;
}

.hw-suggestions__sort {
  margin: 0;
  margin-left: 0;
  flex: 0 0 auto;
}

.hw-suggestions__sort select {
  min-height: 38px;
  padding: 0.4rem 2rem 0.4rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--hw-sug-border);
  background-color: var(--hw-sug-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b85c3a' d='M1 1.5L6 6l5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  color: var(--hw-sug-ink);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.04));
}

.hw-suggestions__sort select:focus {
  outline: none;
  border-color: rgba(var(--hw-sug-accent-rgb), 0.5);
  box-shadow: 0 0 0 2px rgba(var(--hw-sug-accent-rgb), 0.16);
}

.hw-suggestions__filter-empty {
  padding: 1.2rem 1rem;
  border-radius: 14px;
  border: 1px dashed rgba(var(--hw-sug-accent-rgb), 0.28);
  background: var(--hw-fe-surface, #efe8dc);
  color: var(--hw-sug-soft);
  text-align: center;
}

.hw-suggestions__filter-empty[hidden],
.hw-suggestions.hw-community .hw-community__topic-row.hw-suggestions__card.is-filtered-out,
.hw-suggestions.hw-community .hw-community__topic-row.hw-suggestions__card[hidden],
.hw-suggestions.hw-community--space:not(.hw-community--thread) .hw-community__topic-row.hw-suggestions__card.is-filtered-out,
.hw-suggestions.hw-community--space:not(.hw-community--thread) .hw-community__topic-row.hw-suggestions__card[hidden],
.hw-suggestions__list[hidden] {
  display: none !important;
}

/* Board shell */
.hw-suggestions .hw-suggestions__board {
  padding: 0.15rem 0 0;
}

.hw-suggestions.hw-community--space .hw-suggestions__board .hw-community__list-toolbar {
  margin-bottom: 1rem;
  padding-bottom: 0.95rem;
  border-bottom-color: var(--hw-fe-border-soft, rgba(33, 27, 22, 0.07));
}

/* Cards — beat Community 2-col !important so status column stays inside */
.hw-suggestions.hw-community .hw-community__topics.hw-suggestions__list,
.hw-suggestions.hw-community--space .hw-community__topics.hw-suggestions__list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hw-suggestions.hw-community .hw-community__topic-row.hw-suggestions__card,
.hw-suggestions.hw-community--space:not(.hw-community--thread) .hw-community__topic-row.hw-suggestions__card {
  display: grid !important;
  grid-template-columns: 3.85rem minmax(0, 1fr) auto !important;
  grid-template-areas: "vote main aside" !important;
  gap: 0.9rem 1.85rem !important;
  align-items: start !important;
  padding: 1.2rem 1.35rem !important;
  margin: 0 !important;
  border-radius: var(--hw-fe-radius-lg, 16px) !important;
  border: 1px solid var(--hw-sug-border) !important;
  border-bottom: 1px solid var(--hw-sug-border) !important;
  background: var(--hw-sug-surface) !important;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06)) !important;
  overflow: visible !important;
  opacity: 0;
  animation: hw-sug-row-in 0.52s var(--hw-sug-ease-out) forwards;
  animation-delay: calc(0.05s + var(--hw-sug-i, 0) * 45ms);
  transition:
    border-color 0.22s ease,
    transform 0.28s var(--hw-sug-ease-out),
    box-shadow 0.28s var(--hw-sug-ease-out),
    background 0.22s ease !important;
}

.hw-suggestions.hw-community .hw-community__topic-row.hw-suggestions__card:hover,
.hw-suggestions.hw-community--space:not(.hw-community--thread) .hw-community__topic-row.hw-suggestions__card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--hw-sug-accent-rgb), 0.32) !important;
  border-bottom-color: rgba(var(--hw-sug-accent-rgb), 0.32) !important;
  background: var(--hw-fe-panel-solid, #fcfaf7) !important;
  box-shadow: var(--hw-fe-shadow-md, 0 12px 32px rgba(36, 33, 29, 0.08)) !important;
}

.hw-suggestions__card.is-rising {
  border-color: rgba(var(--hw-sug-accent-rgb), 0.38) !important;
  box-shadow:
    inset 3px 0 0 var(--hw-sug-accent),
    var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06)) !important;
}

.hw-suggestions__card > .hw-community-votes {
  grid-area: vote;
}

.hw-suggestions__card > .hw-suggestions__card-main {
  grid-area: main;
}

.hw-suggestions__card > .hw-suggestions__card-aside {
  grid-area: aside;
}

/* Vote box — upvote-forward */
.hw-suggestions__card .hw-community-votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 3.75rem;
  min-width: 3.75rem;
  min-height: 4.1rem;
  padding: 0.65rem 0.35rem;
  border-radius: 14px;
  border: 1px solid var(--hw-sug-border);
  background: var(--hw-fe-bg-soft, #f1ebe2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--hw-sug-ease-snap);
}

.hw-suggestions__card:hover .hw-community-votes {
  border-color: rgba(var(--hw-sug-accent-rgb), 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 0 0 1px rgba(var(--hw-sug-accent-rgb), 0.08);
}

.hw-suggestions__card .hw-community-votes__btn[data-vote="-1"] {
  display: none !important;
}

.hw-suggestions__card .hw-community-votes__btn[data-vote="1"] {
  position: relative;
  margin: 0;
  padding: 0.2rem;
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: transparent !important;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s var(--hw-sug-ease-snap);
}

.hw-suggestions__card .hw-community-votes__btn[data-vote="1"]::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.72rem;
  height: 0.72rem;
  background: var(--hw-sug-accent);
  clip-path: polygon(50% 8%, 100% 78%, 0 78%);
  transition: background 0.18s ease, transform 0.18s var(--hw-sug-ease-snap);
}

.hw-suggestions__card .hw-community-votes__btn[data-vote="1"]:hover {
  background: rgba(var(--hw-sug-accent-rgb), 0.12);
}

.hw-suggestions__card .hw-community-votes__btn[data-vote="1"].is-active::before,
.hw-suggestions__card .hw-community-votes__btn[data-vote="1"]:hover::before {
  background: var(--hw-sug-accent-strong);
}

.hw-suggestions__card .hw-community-votes__btn[data-vote="1"].is-active {
  background: rgba(var(--hw-sug-accent-rgb), 0.18);
}

.hw-suggestions__card .hw-community-votes__btn[data-vote="1"].is-active::before {
  transform: translateY(-1px) scale(1.08);
}

.hw-suggestions__card .hw-community-votes__score {
  font-size: 1.12rem;
  font-weight: 750;
  color: var(--hw-sug-accent) !important;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hw-suggestions__card-main {
  min-width: 0;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  padding-top: 0.05rem;
}

.hw-suggestions__card .hw-community__topic-title {
  text-decoration: none !important;
  color: inherit;
}

.hw-suggestions__card .hw-community__topic-title strong {
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  line-height: 1.28 !important;
  color: var(--hw-sug-ink) !important;
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}

.hw-suggestions__card .hw-community__topic-title:hover strong {
  color: var(--hw-sug-accent) !important;
}

.hw-suggestions__card .hw-community__topic-preview {
  margin: 0 !important;
  color: var(--hw-sug-soft) !important;
  font-size: 0.93rem !important;
  line-height: 1.55 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hw-suggestions__card-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.4rem 0.85rem !important;
  margin-top: 0.28rem !important;
  color: var(--hw-sug-muted) !important;
  font-size: 0.78rem !important;
  overflow: visible !important;
}

.hw-suggestions__submitter {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  overflow: visible;
  vertical-align: middle;
}

.hw-suggestions__submitter .hw-community__author-cluster {
  display: inline-flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4rem;
  overflow: visible;
}

.hw-suggestions__submitter:has(.hw-flair-avatar.hw-cosmetic-pack) {
  padding-block: 0.35rem;
}

.hw-suggestions__card-meta a {
  color: var(--hw-sug-accent) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.hw-suggestions__card-meta a:hover {
  color: var(--hw-fe-accent-strong, #8f4027) !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.hw-suggestions__comments {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 0.15rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--hw-sug-border);
  color: var(--hw-sug-muted);
}

.hw-suggestions__comments .hw-icon,
.hw-suggestions__comments-icon {
  display: inline-flex !important;
  flex-shrink: 0;
  width: 1.05rem !important;
  height: 1.05rem !important;
  color: var(--hw-sug-muted);
  opacity: 1;
}

.hw-suggestions__comments .hw-icon svg,
.hw-suggestions__comments-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2;
}

.hw-suggestions__comments-count {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  font-size: 0.8rem;
}

.hw-suggestions__card-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.4rem;
  flex-shrink: 0;
  min-width: 7rem;
  max-width: 9.5rem;
  padding-top: 0.05rem;
}

.hw-suggestions__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--hw-sug-border);
  background: var(--hw-fe-bg-soft, #f1ebe2);
  color: var(--hw-sug-soft);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: none;
}

.hw-suggestions__status--under_review {
  border-color: rgba(var(--hw-sug-text-rgb), 0.14);
  color: var(--hw-sug-soft);
  background: var(--hw-fe-surface, #efe8dc);
}

.hw-suggestions__status--planned {
  border-color: rgba(var(--hw-sug-accent-rgb), 0.35);
  color: var(--hw-sug-accent);
  background: rgba(var(--hw-sug-accent-rgb), 0.08);
}

.hw-suggestions__status--in_progress {
  border-color: rgba(var(--hw-sug-accent-rgb), 0.5);
  color: var(--hw-fe-accent-strong, #8f4027);
  background: rgba(var(--hw-sug-accent-rgb), 0.12);
}

.hw-suggestions__status--shipped {
  border-color: rgba(46, 125, 74, 0.35);
  color: #2e7d4a;
  background: rgba(46, 125, 74, 0.08);
}

.hw-suggestions__cat-label {
  display: inline-flex;
  align-items: center;
  margin: 0;
  min-height: 22px;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--hw-sug-border);
  background: var(--hw-fe-bg-soft, #f1ebe2);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hw-sug-muted);
  text-align: center;
  width: fit-content;
  max-width: 100%;
}

/* Category color coding (board cards, thread hero, OP tag) */
.hw-suggestions .hw-suggestions__cat-label--bug {
  border-color: rgba(176, 58, 58, 0.35);
  background: rgba(176, 58, 58, 0.1);
  color: #9a3030;
}

.hw-suggestions .hw-suggestions__cat-label--feature {
  border-color: rgba(var(--hw-sug-accent-rgb), 0.4);
  background: rgba(var(--hw-sug-accent-rgb), 0.12);
  color: var(--hw-fe-accent-strong, #8f4027);
}

.hw-suggestions .hw-suggestions__cat-label--performance {
  border-color: rgba(46, 112, 150, 0.35);
  background: rgba(46, 112, 150, 0.1);
  color: #1f6a8f;
}

.hw-suggestions .hw-suggestions__cat-label--moderation {
  border-color: rgba(122, 84, 150, 0.35);
  background: rgba(122, 84, 150, 0.1);
  color: #6a4588;
}

.hw-suggestions .hw-suggestions__cat-label--ui {
  border-color: rgba(168, 112, 48, 0.35);
  background: rgba(168, 112, 48, 0.1);
  color: #8a5a20;
}

.hw-suggestions .hw-suggestions__cat-label--discovery {
  border-color: rgba(56, 128, 96, 0.35);
  background: rgba(56, 128, 96, 0.1);
  color: #2d6b4e;
}

.hw-suggestions .hw-suggestions__cat-label--general {
  border-color: rgba(var(--hw-sug-text-rgb), 0.14);
  background: var(--hw-fe-surface, #efe8dc);
  color: var(--hw-sug-soft);
}

/* Composer category pills — tint by category when active */
.hw-suggestions.hw-community .hw-community__new-topic button.hw-suggestions__cat-pill[data-hw-suggestions-cat="bug"].is-active {
  border-color: rgba(176, 58, 58, 0.55) !important;
  background: linear-gradient(180deg, #c45a4a, #9a3030) !important;
  color: #fcfaf7 !important;
}

.hw-suggestions.hw-community .hw-community__new-topic button.hw-suggestions__cat-pill[data-hw-suggestions-cat="feature"].is-active {
  border-color: rgba(var(--hw-sug-accent-rgb), 0.55) !important;
  background: linear-gradient(180deg, var(--hw-fe-accent-light, #c9724f), var(--hw-fe-accent, #b85c3a)) !important;
  color: #fcfaf7 !important;
}

.hw-suggestions.hw-community .hw-community__new-topic button.hw-suggestions__cat-pill[data-hw-suggestions-cat="performance"].is-active {
  border-color: rgba(46, 112, 150, 0.55) !important;
  background: linear-gradient(180deg, #4a9abb, #1f6a8f) !important;
  color: #fcfaf7 !important;
}

.hw-suggestions.hw-community .hw-community__new-topic button.hw-suggestions__cat-pill[data-hw-suggestions-cat="moderation"].is-active {
  border-color: rgba(122, 84, 150, 0.55) !important;
  background: linear-gradient(180deg, #9570b0, #6a4588) !important;
  color: #fcfaf7 !important;
}

/* Empty */
.hw-suggestions .hw-community__empty-state {
  padding: 1.35rem 1.15rem;
  border-radius: 14px;
  border: 1px dashed rgba(var(--hw-sug-accent-rgb), 0.28);
  background: var(--hw-fe-surface, #efe8dc);
  color: var(--hw-sug-soft);
  text-align: center;
}

.hw-suggestions__empty-cta {
  margin-top: 0.85rem;
  min-height: 40px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--hw-fe-accent-light, #c9724f), var(--hw-fe-accent, #b85c3a));
  color: var(--hw-sug-cream);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--hw-fe-shadow-fire, 0 8px 24px rgba(184, 92, 58, 0.18));
  transition: filter 0.22s ease, transform 0.28s var(--hw-sug-ease-snap);
}

.hw-suggestions__empty-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

/* Thread view polish */
.hw-suggestions.hw-community--thread .hw-community__hero--mast {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hw-fe-border-soft, rgba(33, 27, 22, 0.07));
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__crumb,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__crumb a {
  color: var(--hw-sug-muted, #8a8379) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__crumb a:hover {
  color: var(--hw-sug-accent, #b85c3a) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__lede--meta,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__lede--meta a {
  color: var(--hw-sug-soft, #5c564e) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__topic-view {
  display: grid;
  gap: 1.25rem;
  max-width: min(52rem, 100%);
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__post,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__post--op {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  gap: 1rem 1.15rem !important;
  align-items: start !important;
  padding: 1.15rem 1.25rem !important;
  border-radius: var(--hw-fe-radius-lg, 16px) !important;
  border: 1px solid var(--hw-sug-border, #e4ded4) !important;
  border-left: 3px solid var(--hw-sug-accent, #b85c3a) !important;
  background: var(--hw-sug-surface, #fcfaf7) !important;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06)) !important;
  color: var(--hw-sug-ink, #211b16) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__thread-label {
  margin: 0 0 0.45rem !important;
  font-size: 0.68rem !important;
  font-weight: 750 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--hw-sug-accent, #b85c3a) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__author,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__author a,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__author time {
  color: var(--hw-sug-muted, #8a8379) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__copy {
  margin: 0.65rem 0 0.85rem !important;
  color: var(--hw-sug-ink, #211b16) !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community-votes {
  padding: 0.35rem 0.25rem !important;
  border-radius: 12px !important;
  background: var(--hw-fe-bg-soft, #f1ebe2) !important;
  border: 1px solid var(--hw-sug-border, #e4ded4) !important;
  box-shadow: none !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community-votes__btn {
  color: var(--hw-sug-muted, #8a8379) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community-votes__btn.is-active,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community-votes__btn:hover {
  color: var(--hw-sug-accent, #b85c3a) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community-votes__score {
  color: var(--hw-sug-ink, #211b16) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__section-title {
  margin: 0 0 0.65rem !important;
  font-family: var(--hw-fe-font-display, "Playfair Display", Georgia, serif) !important;
  font-size: 1.35rem !important;
  color: var(--hw-sug-ink, #211b16) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__hint,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__replies-empty .hw-community__hint {
  color: var(--hw-sug-muted, #8a8379) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__reply,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__replies > li:not(.hw-community__replies-empty) {
  background: var(--hw-sug-surface, #fcfaf7) !important;
  border: 1px solid var(--hw-sug-border, #e4ded4) !important;
  border-radius: var(--hw-fe-radius-md, 12px) !important;
  color: var(--hw-sug-ink, #211b16) !important;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.05)) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__reply-form,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__composer--reply {
  display: grid !important;
  gap: 0.65rem !important;
  margin-top: 0.35rem !important;
  padding: 1.05rem 1.15rem !important;
  border-radius: var(--hw-fe-radius-lg, 16px) !important;
  border: 1px solid var(--hw-sug-border, #e4ded4) !important;
  background: var(--hw-sug-surface, #fcfaf7) !important;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06)) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__composer-label,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__reply-form label {
  color: var(--hw-sug-soft, #5c564e) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__reply-form textarea,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__composer--reply textarea {
  background: var(--hw-fe-bg-soft, #f1ebe2) !important;
  border: 1px solid var(--hw-sug-border, #e4ded4) !important;
  color: var(--hw-sug-ink, #211b16) !important;
  caret-color: var(--hw-sug-ink, #211b16) !important;
  border-radius: 12px !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__reply-form textarea::placeholder,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__composer--reply textarea::placeholder {
  color: var(--hw-sug-muted, #8a8379) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__reply-actions button[type="submit"],
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__composer--reply button[type="submit"] {
  border: 0 !important;
  border-radius: 12px !important;
  min-height: 40px !important;
  padding: 0 1.15rem !important;
  background: linear-gradient(180deg, var(--hw-fe-accent-light, #c9724f), var(--hw-fe-accent, #b85c3a)) !important;
  color: #fcfaf7 !important;
  font-weight: 700 !important;
  box-shadow: var(--hw-fe-shadow-fire, 0 8px 24px rgba(184, 92, 58, 0.18)) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__back,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__links a,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__reply-to,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__reply-cancel {
  color: var(--hw-sug-accent, #b85c3a) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__reply-target {
  color: var(--hw-sug-soft, #5c564e) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community-react__btn {
  border: 1px solid var(--hw-sug-border, #e4ded4) !important;
  background: var(--hw-fe-bg-soft, #f1ebe2) !important;
  color: var(--hw-sug-soft, #5c564e) !important;
  border-radius: 999px !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community-react__btn.is-active,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community-react__btn:hover {
  border-color: rgba(var(--hw-sug-accent-rgb), 0.4) !important;
  background: rgba(var(--hw-sug-accent-rgb), 0.1) !important;
  color: var(--hw-sug-accent, #b85c3a) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community-react__btn em {
  color: var(--hw-sug-muted, #8a8379) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__mod a,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__mod button,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__mod-actions a,
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__mod-actions button {
  color: var(--hw-sug-accent, #b85c3a) !important;
}

/* OP left accent follows category when present */
body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__post--op:has(.hw-suggestions__cat-label--bug) {
  border-left-color: #9a3030 !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__post--op:has(.hw-suggestions__cat-label--feature) {
  border-left-color: var(--hw-sug-accent, #b85c3a) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__post--op:has(.hw-suggestions__cat-label--performance) {
  border-left-color: #1f6a8f !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community--thread .hw-community__post--op:has(.hw-suggestions__cat-label--moderation) {
  border-left-color: #6a4588 !important;
}

@keyframes hw-sug-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hw-sug-row-in {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .hw-suggestions.hw-community .hw-community__topic-row.hw-suggestions__card,
  .hw-suggestions.hw-community--space:not(.hw-community--thread) .hw-community__topic-row.hw-suggestions__card {
    grid-template-columns: 3.4rem minmax(0, 1fr) !important;
    grid-template-areas:
      "vote main"
      "aside aside" !important;
    gap: 0.75rem 1.1rem !important;
    padding: 1rem 1rem !important;
  }

  .hw-suggestions__card > .hw-suggestions__card-aside,
  .hw-suggestions__card-aside {
    grid-area: aside;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    min-width: 0;
    max-width: none;
    padding-top: 0;
    padding-left: calc(3.4rem + 1.1rem);
  }

  .hw-suggestions__cat-label {
    text-align: left;
  }

  .hw-suggestions__composer-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .hw-suggestions__submit {
    margin-left: 0;
    width: 100%;
  }

  .hw-suggestions__sort {
    margin-left: 0;
    width: 100%;
  }

  .hw-suggestions__sort select {
    width: 100%;
  }

  .hw-suggestions__search {
    flex: 1 1 100%;
    max-width: none;
    order: 2;
  }

  .hw-suggestions__status-tabs {
    order: 1;
    width: 100%;
  }

  .hw-suggestions__sort {
    order: 3;
  }
}

@media (max-width: 640px) {
  .hw-suggestions__card > .hw-suggestions__card-aside,
  .hw-suggestions__card-aside {
    padding-left: 0;
  }

  .hw-suggestions__toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .hw-suggestions__status-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .hw-suggestions__status-tabs button,
  .hw-suggestions__status-tabs a {
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hw-suggestions.is-mounted .hw-community__hero-copy .hw-community__title,
  .hw-suggestions.is-mounted .hw-community__lede,
  .hw-suggestions__card {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .hw-suggestions__card:hover,
  .hw-suggestions__submit:hover,
  .hw-suggestions__empty-cta:hover {
    transform: none;
  }
}

/* Beat Community dark !important chrome on the Suggestions page only */
body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__hero-copy .hw-community__title,
body.hw-suggestions-page .hw-suggestions .hw-community__title {
  color: var(--hw-sug-ink, var(--hw-fe-text, #211b16)) !important;
  text-shadow: none !important;
  font-size: clamp(1.95rem, 4.2vw, 2.75rem) !important;
  max-width: none !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__lede,
body.hw-suggestions-page .hw-suggestions .hw-community__lede {
  color: var(--hw-sug-muted, var(--hw-fe-muted, #8a8379)) !important;
  max-width: 42rem !important;
  font-size: 1rem !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__new-topic,
body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__composer,
body.hw-suggestions-page .hw-suggestions .hw-suggestions__composer {
  background: var(--hw-sug-surface, var(--hw-fe-elevated, #fcfaf7)) !important;
  border: 1px solid var(--hw-sug-border, var(--hw-fe-border, #e4ded4)) !important;
  box-shadow: var(--hw-fe-shadow-sm, 0 4px 14px rgba(36, 33, 29, 0.06)) !important;
  color: var(--hw-sug-ink, #211b16) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__new-topic label,
body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__composer label {
  color: var(--hw-sug-soft, var(--hw-fe-text-soft, #5c564e)) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__new-topic input,
body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__new-topic textarea,
body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__new-topic select,
body.hw-suggestions-page .hw-suggestions .hw-suggestions__title-input,
body.hw-suggestions-page .hw-suggestions .hw-suggestions__composer textarea {
  background: var(--hw-fe-bg-soft, #f1ebe2) !important;
  border: 1px solid var(--hw-sug-border, #e4ded4) !important;
  color: var(--hw-sug-ink, #211b16) !important;
  caret-color: var(--hw-sug-ink, #211b16) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__new-topic input::placeholder,
body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__new-topic textarea::placeholder,
body.hw-suggestions-page .hw-suggestions .hw-suggestions__title-input::placeholder,
body.hw-suggestions-page .hw-suggestions .hw-suggestions__composer textarea::placeholder {
  color: var(--hw-sug-muted, #8a8379) !important;
}

body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__new-topic input:focus,
body.hw-suggestions-page .hw-suggestions.hw-community .hw-community__new-topic textarea:focus,
body.hw-suggestions-page .hw-suggestions .hw-suggestions__title-input:focus,
body.hw-suggestions-page .hw-suggestions .hw-suggestions__composer textarea:focus {
  border-color: rgba(var(--hw-sug-accent-rgb, 184, 92, 58), 0.5) !important;
  box-shadow: 0 0 0 2px rgba(var(--hw-sug-accent-rgb, 184, 92, 58), 0.16) !important;
  background: var(--hw-sug-surface, #fcfaf7) !important;
}
