/* Compact feed; boards and filters stay accessible at every width. */
main,.shell>*{min-width:0}a,button,.body-text,.comment-text,.reply-quote,.comment-content{overflow-wrap:anywhere}button,a.button{min-height:42px}nav{min-width:0}
.feed-hero{padding:14px 20px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:16px}.feed-hero h1{font-size:22px;margin:2px 0}.feed-hero .overline{font-size:9px}.feed-hero:after{display:none}.feed-hero .button{position:relative;font-size:13px;white-space:nowrap}
.search-panel{padding:16px;margin-bottom:10px}.search-panel label{margin:0;font-size:12px;color:var(--text-secondary)}.search-panel input,.search-panel select{padding:8px 10px;min-height:42px;font-size:14px}.search-filters{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:10px}.search-filters select,.search-filters input{display:block;margin-top:4px}.filter-summary{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:12px;font-size:12px}.filter-summary span{color:#66766b}.filter-summary strong{font-size:13px}.filter-summary a{margin-left:auto;min-height:32px;display:inline-flex;align-items:center}
.board-nav{margin:0 0 12px;display:flex;gap:6px;flex-wrap:wrap}.board-nav a{padding:7px 12px;border:1px solid var(--border);border-radius:8px;background:white;font-size:12px;min-height:38px;display:flex;align-items:center}.board-nav a[aria-current=page]{background:var(--surface-soft);border-color:var(--primary);color:var(--primary-dark);font-weight:650}
.feed-tabs{margin:0 0 12px;padding:0 0 8px;gap:22px}.feed-tabs a{padding:8px 2px;min-height:40px}.feed-tabs a:first-child{font-weight:normal;color:inherit}.feed-tabs a[aria-current=page]{font-weight:700;color:var(--primary-dark);border-bottom:2px solid var(--primary)}.feed-tabs>span{margin-left:auto;font-size:12px}.category[aria-current=page]{background:var(--surface-soft);color:var(--primary-dark);font-weight:700}.category[aria-current=page]{padding-left:8px;border-radius:7px}.hot-rule{font-size:12px;background:var(--surface-soft);padding:10px 14px;border-radius:9px;margin:0 0 12px}.hot-rule a{font-weight:600}
.feed-post{padding:16px 20px;margin-bottom:12px}.feed-post .meta{font-size:12px}.feed-post .avatar{width:30px;height:30px;font-size:13px;border-radius:50%;flex:none}.feed-post .post-author{font-weight:600}.feed-post h2{font-size:19px;line-height:1.5;margin:9px 0 6px;overflow-wrap:anywhere}.feed-post .excerpt{-webkit-line-clamp:2;margin:6px 0 10px;line-height:1.65;font-size:13px}.post-bottom{display:flex;gap:8px 16px;align-items:center;justify-content:space-between;flex-wrap:wrap}.post-bottom>.actions{margin:0;gap:8px;font-size:12px}.post-bottom button{min-height:38px;padding:5px 10px;font-size:12px}.reply-summary{font-size:12px;color:#627567}.reply-summary strong{font-size:14px;color:var(--primary-dark)}.reply-summary span{font-size:11px}.feed-post mark{background:#fff0b3;color:inherit;padding:0 1px;border-radius:2px}.feed-pagination{margin:0;gap:14px;font-size:13px}.feed-pagination a,.feed-pagination [aria-disabled]{padding:9px 13px;border-radius:8px;border:1px solid var(--border);background:white;min-height:42px}.feed-pagination [aria-disabled]{opacity:.45}
.comment-content{min-width:0}.reply-quote a{color:var(--primary-dark);text-decoration:underline;text-underline-offset:3px}.comment-tools button,.reply-pagination button,#comment-pagination button{min-height:42px}.comment-text,.reply-quote p{overflow-wrap:anywhere;word-break:break-word}.thread-replies{min-width:0}.comment-entry{scroll-margin-top:24px}.comment-entry:target{background:#eaf2df;outline:2px solid #c6d8c1;border-radius:8px}
@media(max-width:720px){header{gap:10px;max-width:100%;white-space:normal}header>.brand{margin-right:auto}header nav{gap:6px;flex-wrap:wrap;justify-content:space-between;margin:0}header nav a{padding:7px 4px;min-height:40px;font-size:13px}.shell{margin-top:14px}.feed-hero{padding:13px 15px;gap:10px}.feed-hero h1{font-size:18px}.feed-hero .button{padding:7px 10px;font-size:12px}.search-panel{padding:13px}.search-filters{grid-template-columns:1fr 1fr;gap:9px}.search-filters label:first-child{grid-column:1 / -1}.search input{min-width:0}.board-nav{gap:6px;max-height:144px;overflow-y:auto;overscroll-behavior:contain}.board-nav a{min-height:40px;padding:7px 11px}.filter-summary{font-size:11px;gap:4px 9px}.feed-tabs{gap:18px;flex-wrap:wrap}.feed-tabs>span{font-size:11px}.feed-post{padding:14px}.feed-post h2{font-size:18px}.feed-post .meta{flex-wrap:wrap;gap:7px}.feed-post .pill{margin-left:auto}.post-bottom{align-items:flex-start;gap:6px}.post-bottom>.actions{width:100%;justify-content:flex-start}.post-bottom button{min-height:42px;padding:7px 12px}.feed-pagination{gap:8px;padding:16px 0;flex-wrap:wrap}.feed-pagination>span:not([aria-disabled]){font-size:11px}.comment-entry{gap:9px}.comment-entry>.avatar{width:30px;height:30px;min-width:30px}.comment-composer textarea{font-size:16px}.reply-pagination{flex-wrap:wrap}.thread-replies:not(:empty){margin-left:4px}.reply-list:not(:empty){padding:9px}.comment-toolbar{flex-wrap:wrap;gap:8px}.comment-toolbar button{min-height:42px}.comment-tools{flex-wrap:wrap;gap:8px}dialog{max-width:calc(100vw - 28px)}.comment-composer,.profile-card,.card{max-width:100%}}
@media(max-width:370px){.feed-hero{align-items:flex-start;flex-direction:column}.feed-tabs>span{margin-left:0}.feed-post .meta time{font-size:10px}.feed-post .pill{margin-left:0}.composer-footer{flex-wrap:wrap}.composer-footer button{width:100%}}

.comment-tools button{min-width:48px;min-height:44px;padding:6px 10px}.search-filters>div:first-child{min-width:0}@media(max-width:720px){.search-filters>div:first-child{grid-column:1 / -1}}

.reply-preview{min-width:0;flex-wrap:wrap}.reply-preview span{min-width:0;overflow-wrap:anywhere;flex:1 1 150px}.reply-preview button{flex:none;min-width:80px}
/* Make each discussion title and its actions easier to scan. */
.feed-post {
  border-radius: 12px;
  padding-block: 18px;
}
.feed-post h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.feed-post .post-bottom {
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.feed-post .actions button[aria-pressed="true"] {
  background: var(--surface-soft);
  border-color: var(--primary);
  font-weight: 650;
}

.search-options { margin-top: 8px; }
.search-options summary {
  display: flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 44px;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.search-options summary::-webkit-details-marker { display: none; }
.search-options summary:hover { background: var(--surface-soft); }
.search-options summary:focus-visible { outline: 2px solid var(--primary); }
.search-chevron {
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.search-options[open] .search-chevron { transform: translateY(2px) rotate(225deg); }
