/* Shared editorial list layout, including the bulk selection column. */
.forum-workspace .topic-list:has(>.topic-row){display:block;background:var(--color-surface);border:1px solid var(--color-border);border-radius:8px;overflow:hidden;padding:0;box-shadow:none}
.forum-workspace .topic-list>.topic-row,.forum-workspace .topic-list>.topic-row:has(>.topic-select){display:grid;grid-template-columns:minmax(0,1fr) 100px 220px 24px;align-items:center;gap:16px;padding:14px 20px;margin:0;min-height:80px;border:0;border-bottom:1px solid var(--color-border);border-radius:0;box-shadow:none;background:transparent}
.forum-workspace .topic-list>.topic-row:last-child{border-bottom:0}
.forum-workspace .topic-list>.topic-row.is-selected{outline:0;box-shadow:inset 3px 0 var(--gold,#b99757);background:color-mix(in srgb,var(--gold,#b99757) 12%,transparent)}
.forum-workspace .topic-row-main{grid-column:1;grid-row:1;min-width:0}
.forum-workspace .topic-row-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0}
.forum-workspace .topic-row-main h2{font-size:16px;margin:0;line-height:1.4;overflow-wrap:anywhere}
.forum-workspace .topic-row-main p{margin:5px 0 0;font-size:13px;line-height:1.4}
.forum-workspace .topic-row-views{grid-column:2;grid-row:1;font-size:13px;text-align:center}
.forum-workspace .topic-row-meta,.forum-workspace .topic-row:has(>.topic-select)>.topic-row-meta{grid-column:3;grid-row:1;display:grid;grid-template-columns:32px minmax(0,1fr);gap:3px 8px;align-items:center;text-align:left;font-size:13px}
.forum-workspace .topic-row-meta>img,.forum-workspace .topic-row-meta>.forum-index-avatar-fallback{grid-column:1;grid-row:1/3;width:32px;height:32px;border-radius:50%}
.forum-workspace .topic-row-stamp{grid-column:2;line-height:1.4;font-size:12px;color:var(--color-text-muted)}
.forum-workspace .topic-row-meta>b,.forum-workspace .topic-row-meta>small,.forum-workspace .topic-row-meta>time{grid-column:2}
.forum-workspace .topic-row>.topic-select{grid-column:4;grid-row:1;justify-self:end;margin:0;min-width:20px;min-height:20px;cursor:pointer}
.forum-workspace .topic-row>.bulk-item-result{grid-column:1/-1}
.forum-workspace .topic-row-statuses{display:flex;gap:5px;flex-wrap:wrap;margin:0;align-items:center}
.forum-workspace .topic-row-statuses .status-badge{font-size:11px;line-height:1.4;padding:2px 6px;margin:0;white-space:normal}
.forum-workspace .topic-row-category{display:inline;margin:0}
.forum-workspace .category-bulk{justify-content:flex-end}
.forum-workspace .category-bulk>div{justify-content:flex-end}
.forum-quick-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0}
.forum-quick-filters button[aria-pressed=true]{outline:2px solid var(--gold,#b99757);font-weight:bold}
.forum-timezone{display:block;margin:10px 0;opacity:.8}
.draft-choices{border:1px solid var(--line,#8a795b);border-radius:8px;padding:16px;margin:16px 0}
.draft-choices button{margin:4px 8px 4px 0}
.draft-archive{margin:12px 0}
.forum-workspace [hidden]{display:none!important}
@media(max-width:700px){
 .forum-workspace .topic-list>.topic-row,.forum-workspace .topic-list>.topic-row:has(>.topic-select){grid-template-columns:minmax(0,1fr) 24px;gap:8px;padding:12px 16px;min-height:0}
 .forum-workspace .topic-row>.topic-select{grid-column:2;grid-row:1;align-self:start}
 .forum-workspace .topic-row-views{grid-column:1;grid-row:2;text-align:left}
 .forum-workspace .topic-row-meta,.forum-workspace .topic-row:has(>.topic-select)>.topic-row-meta{grid-column:1;grid-row:3}
 .forum-workspace .topic-row>.bulk-item-result{grid-row:4}
}

.forum-workspace .subforum-meta small{display:block;margin-top:4px}
/* Tighter introduction on the forum index, keeping controls at their usable size. */
html.forum-workspace body>main:has(#forum-shell){margin-top:20px}
.forum-workspace #forum-shell .forum-header{margin-bottom:12px}
.forum-workspace #forum-shell .forum-header h1{margin-bottom:6px}
.forum-workspace #forum-shell .forum-quick-filters{margin:8px 0}
.forum-workspace #forum-shell .forum-timezone{margin:6px 0}
.forum-workspace #forum-categories{margin-top:10px}
.forum-workspace #forum-shell .forum-index-head{margin-bottom:8px}
.forum-workspace #forum-index{margin:8px 0}

.forum-workspace .search-filters button[aria-pressed="true"]{background:var(--color-accent-soft);outline:2px solid var(--forum-focus);font-weight:bold}
