/* V61.10.762 standalone topic discovery */
.pb-topic-layout{max-width:1180px;margin:24px auto 0;padding-bottom:40px}.pb-topic-panel{padding:24px}.pb-topic-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:22px}.pb-topic-toolbar .pb-community-search{max-width:420px;flex:1;min-width:220px}.pb-topic-sort-label{display:flex;align-items:center;gap:8px;color:#54718d;font-size:14px}.pb-topic-sort-label select{border:1px solid #dce7f3;border-radius:8px;background:white;padding:9px 12px;color:#264765}.pb-topic-groups{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.pb-topic-groups button,.pb-topic-tabs button{border:1px solid #dae6f1;border-radius:8px;background:#fff;color:#435d79;padding:10px 14px;min-height:44px}.pb-topic-groups button.is-active,.pb-topic-tabs button.is-active{color:#0879e6;background:#eef6ff;border-color:#8ec4f6}.pb-topic-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.pb-topic-heading h2{margin:0;font-size:20px}.pb-topic-heading span,.pb-topic-summary{color:#7a8da1;font-size:13px}.pb-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pb-topic-card{display:flex;flex-direction:column;gap:10px;border:1px solid #e1eaf4;padding:18px;border-radius:12px;background:#fff;color:#234565;text-decoration:none;min-height:152px}.pb-topic-card:hover{border-color:#85baf1;box-shadow:0 5px 18px #1b6ab012}.pb-topic-card strong{font-size:17px}.pb-topic-hash{color:#0879e6;font-weight:800}.pb-topic-card-meta{font-size:13px;color:#7990a8}.pb-topic-card-end{margin-top:auto;color:#0879e6;font-size:13px}.pb-topic-back{display:inline-block;color:#0879e6;text-decoration:none;margin-bottom:8px}.pb-topic-summary{margin-bottom:18px}.pb-topic-tabs{display:flex;gap:8px;flex-wrap:wrap}.pb-topic-posts{display:grid;gap:12px}.pb-topic-post{border:1px solid #e3eaf2;border-radius:12px;padding:18px;background:#fff}.pb-topic-post-top,.pb-topic-post-bottom{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:12px;color:#7b8ba1}.pb-topic-post h3{font-size:17px;margin:12px 0 8px}.pb-topic-post h3 a{color:#234565;text-decoration:none}.pb-topic-post h3 a:hover{color:#0879e6}.pb-topic-post p{font-size:14px;line-height:1.7;color:#536a82;margin:0 0 14px;overflow-wrap:anywhere}.pb-topic-pager{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:20px}.pb-topic-pager button{padding:9px 16px;background:#fff;border:1px solid #d8e7f4;border-radius:8px;min-height:44px}.pb-topic-pager button:disabled{opacity:.4;cursor:not-allowed}@media(max-width:900px){.pb-topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pb-topic-panel{padding:16px}}@media(max-width:560px){.pb-topic-grid{grid-template-columns:1fr}.pb-topic-card{min-height:115px}.pb-topic-toolbar .pb-community-search{min-width:100%;max-width:100%}.pb-topic-panel{padding:13px}}

/* V61.10.763: topic activity, empty states and narrow-screen polish */
.pb-topic-card-recency{color:#71869c;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.pb-topic-empty{padding:34px 20px;text-align:center;line-height:1.7}
.pb-topic-empty strong{display:block;margin-bottom:8px}
.pb-topic-empty p{margin:0 0 8px;color:#697f96}
.pb-topic-empty a{display:inline-flex;margin-top:8px;color:#0879e6;min-height:44px;align-items:center}
.pb-topic-post h3 a,.pb-topic-card{overflow-wrap:anywhere}
@media(max-width:560px){.pb-topic-groups{gap:7px}.pb-topic-groups button{padding:9px 11px;font-size:13px}.pb-topic-toolbar{gap:12px}.pb-topic-sort-label{width:100%;justify-content:space-between}.pb-topic-sort-label select{max-width:70%}.pb-topic-tabs{width:100%}.pb-topic-tabs button{flex:1 1 auto;padding:9px 11px}.pb-topic-post{padding:14px}.pb-topic-post-top,.pb-topic-post-bottom{gap:6px}.pb-topic-pager{flex-wrap:wrap}}

/* V61.10.766: scoped topic search */
.pb-topic-detail-search{display:flex;align-items:center;gap:14px;margin:-2px 0 18px;color:#54718d;font-size:14px}.pb-topic-detail-search input{width:100%;min-width:0;flex:1;border:1px solid #dce7f3;border-radius:8px;padding:11px 13px;font:inherit;color:#264765;background:#fff}.pb-topic-detail-search input:focus{outline:2px solid #9dc8f6;outline-offset:1px}@media(max-width:560px){.pb-topic-detail-search{align-items:stretch;flex-direction:column;gap:7px}.pb-topic-detail-search input{min-height:44px}}

/* V61.10.769: topic -> standalone question directory cross-link */
.pb-topic-question-link:not([hidden]){display:block;margin:0 0 16px}.pb-topic-question-link a{display:inline-flex;align-items:center;min-height:40px;color:#0879e6;text-decoration:none;font-size:14px;font-weight:600}.pb-topic-question-link a:hover{text-decoration:underline}

/* V61.10.779 — topic cards share the same metadata hierarchy as question cards. */
.pb-topic-post-top{justify-content:flex-start}
.pb-topic-post-bottom{align-items:center;gap:8px 16px}
.pb-topic-post .pb-list-row-main>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:10px}
.pb-topic-post h3{margin:8px 0}
@media(max-width:560px){.pb-topic-post-bottom{align-items:flex-start}}

/* V61.10.796: topic categories precede the search/sort bar, matching Questions. */
.pb-topic-panel .pb-topic-groups{margin-bottom:18px}
.pb-topic-panel .pb-topic-toolbar{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}
.pb-topic-panel .pb-topic-toolbar .pb-community-search{flex:1 1 auto;min-width:0;max-width:none;width:auto;height:44px}
.pb-topic-panel .pb-topic-sort-label{flex:0 0 auto;white-space:nowrap;gap:8px;color:#607389}
.pb-topic-panel .pb-topic-sort-label select{min-height:44px;padding:0 10px;border-radius:8px}
@media(max-width:600px){
 .pb-topic-panel .pb-topic-toolbar{flex-wrap:wrap;gap:10px}
 .pb-topic-panel .pb-topic-toolbar .pb-community-search{flex:1 1 100%;max-width:100%;min-width:0;width:100%}
 .pb-topic-panel .pb-topic-sort-label{width:100%;justify-content:flex-end}
}


/* V61.10.820 — topic controls remain readable in narrow viewports. */
@media (max-width: 480px){
 .pb-topic-page .pb-topic-panel{min-width:0;padding:14px}
 .pb-topic-page .pb-topic-groups{gap:7px;margin-bottom:14px}
 .pb-topic-page .pb-topic-groups button{min-height:44px;max-width:100%;overflow-wrap:anywhere}
 .pb-topic-page .pb-topic-toolbar{min-width:0;gap:10px;margin-bottom:18px}
 .pb-topic-page .pb-topic-toolbar .pb-community-search{flex:1 1 100%;min-width:0;width:100%;max-width:100%}
 .pb-topic-page .pb-topic-sort-label{width:auto;max-width:100%;margin-left:auto;justify-content:flex-end}
 .pb-topic-page .pb-topic-sort-label select{max-width:100%;min-height:44px}
 .pb-topic-page .pb-topic-grid{grid-template-columns:minmax(0,1fr)}
 .pb-topic-page .pb-topic-card{min-width:0;overflow-wrap:anywhere}
}

/* V61.10.959: remove only topic-plaza category filter borders. */
.pb-topic-page .pb-topic-groups button{
  border:0;
  background:transparent;
  cursor:pointer;
}
.pb-topic-page .pb-topic-groups button.is-active{
  border:0;
  background:#eef6ff;
  color:#0879e6;
}
.pb-topic-page .pb-topic-groups button:not(.is-active):hover{background:#f5f8fc}
.pb-topic-page .pb-topic-groups button:focus-visible{outline:2px solid #0879e6;outline-offset:2px}

/* V61.10.973: flatten only topic-detail filters and article list; keep accessible focus. */
.pb-topic-page .pb-topic-tabs button{
  border:0;
  cursor:pointer;
}
.pb-topic-page .pb-topic-tabs button.is-active{border:0}
.pb-topic-page .pb-topic-tabs button:not(.is-active):hover{background:#f5f8fc}
.pb-topic-page .pb-topic-tabs button:focus-visible{outline:2px solid #0879e6;outline-offset:2px}
.pb-topic-page .pb-topic-posts{gap:12px}
.pb-topic-page .pb-topic-post{
  border:0;
  border-radius:0;
  padding:18px 0;
  background:transparent;
  box-shadow:none;
}
@media(max-width:560px){.pb-topic-page .pb-topic-post{padding:14px 0}}
