/* Local comparison workspace; production styles remain in buzz-library.css. */
.filter-comparison { background: #f3f3f3; color: #171717; }
.comparison-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 28px; border-bottom: 1px solid #ddd; background: #fff; }
.comparison-header span { color: #777; font-size: 11px; }
.comparison-header h1 { margin: 0; font-size: 20px; }
.comparison-header a, .comparison-toolbar a { font-size: 12px; color: #333; white-space: nowrap; }
.filter-comparison main { max-width: 1400px; margin: auto; padding: 18px 24px 24px; }
.comparison-choices { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.comparison-choices button { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 12px; border: 1px solid #d5d5d5; background: #fff; color: #222; border-radius: 12px; text-align: left; cursor: pointer; font: inherit; }
.comparison-choices button[aria-pressed="true"] { border-color: #171717; box-shadow: inset 0 0 0 1px #171717; }
.comparison-choices strong { display: block; font-size: 12px; }
.comparison-choices small { display: block; font-size: 10px; color: #777; margin-top: 4px; }
.comparison-diagram { flex: 0 0 38px; height: 45px; border: 1px solid #d8d8d8; background: #fafafa; border-radius: 4px; position: relative; overflow: hidden; }
.comparison-diagram b { display: block; height: 8px; margin: 7px 4px 0; border: 1px solid #ddd; border-radius: 1px; }
.comparison-diagram i { display: block; height: 10px; background: #333; margin: 3px; border-radius: 1px; }
.diagram-b i { height: 5px; }
.diagram-c i { position: absolute; left: 0; top: 0; width: 9px; height: 37px; }
.diagram-c b { margin-left: 16px; }
.diagram-d i { position: absolute; right: 0; top: 0; width: 12px; height: 39px; margin: 2px; }
.diagram-d b { margin-right: 18px; }
.diagram-e i { position: absolute; bottom: 0; left: 0; right: 0; height: 15px; }
.comparison-toolbar { min-height: 48px; display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: #fff; border: 1px solid #ddd; border-radius: 12px 12px 0 0; }
.comparison-toolbar p { flex: 1; margin: 0; font-size: 12px; font-weight: 650; }
.comparison-sizes { display: flex; border: 1px solid #ddd; border-radius: 7px; overflow: hidden; }
.comparison-sizes button { border: 0; background: #fff; color: #555; font: inherit; font-size: 11px; padding: 5px 10px; cursor: pointer; }
.comparison-sizes button[aria-pressed="true"] { color: #fff; background: #222; }
.comparison-stage { display: flex; justify-content: center; padding: 12px; background: #e8e8e8; border: 1px solid #ddd; border-top: 0; border-radius: 0 0 12px 12px; }
.comparison-stage iframe { display: block; width: 100%; height: max(650px, calc(100dvh - 300px)); border: 1px solid #ddd; border-radius: 10px; background: #fafafa; }
.comparison-stage.mobile-size iframe { max-width: 390px; height: 780px; }
.filter-comparison :is(button,a):focus-visible { outline: 2px solid #555; outline-offset: 3px; }

/* Five placements share the real catalog, post renderer and filters. */
.buzz-filter-preview .buzz-workspace { display: flex; flex-direction: column; gap: 0; }
.buzz-feed-area { min-width: 0; }
.buzz-prototype-form { padding: 18px; }
.buzz-category-picker { margin-bottom: 16px; }
.buzz-field-title { display: block; font-size: 11px; font-weight: 600; color: #777; margin-bottom: 8px; }
.buzz-category-options { display: flex; flex-wrap: wrap; gap: 7px; }
.buzz-category-button { border: 1px solid #e2e2e2; border-radius: 22px; padding: 7px 12px; background: #fff; color: #444; font: inherit; font-size: 12px; line-height: 1.4; cursor: pointer; }
.buzz-category-button[aria-pressed="true"] { background: #171717; border-color: #171717; color: #fff; }
.buzz-filter-preview .buzz-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.buzz-text-search { border-top: 1px solid #eee; margin-top: 14px; }
.buzz-text-search summary { padding: 12px 0 2px; font-size: 11px; color: #666; cursor: pointer; }
.buzz-text-search .buzz-filter-grid { padding-top: 12px; }
.buzz-filter-preview .buzz-filter-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.buzz-filter-preview .buzz-filter-footer .btn-primary { font-size: 12px; padding: 8px 16px; }
.buzz-applied-filters { font-size: 11px; color: #555; margin: 14px 2px 0; overflow-wrap: anywhere; }
.buzz-filter-preview .buzz-source-note { font-size: 10px; margin-top: 6px; }
.buzz-filter-preview .buzz-result-line { margin-top: 10px; }
.buzz-layout-a .buzz-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.buzz-layout-a .buzz-text-search .buzz-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.buzz-layout-b .buzz-prototype-form { padding: 16px; }
.buzz-layout-b .buzz-category-picker { margin-bottom: 12px; }
.buzz-layout-b .buzz-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 12px; border-top: 1px solid #eee; }
.buzz-layout-c { max-width: 1060px; }
.buzz-layout-c .buzz-workspace { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
.buzz-layout-c .buzz-filter-area { position: sticky; top: 16px; max-height: calc(100dvh - 32px); overflow-y: auto; }
.buzz-layout-c .buzz-category-options { flex-direction: column; gap: 4px; }
.buzz-layout-c .buzz-category-button { text-align: left; border-color: transparent; border-radius: 8px; }
.buzz-layout-c .buzz-category-button[aria-pressed="true"] { border-color: #171717; }
.buzz-layout-c .buzz-filter-grid { grid-template-columns: 1fr; }
.buzz-layout-c .buzz-prototype-form { padding: 14px; }
.buzz-layout-c .buzz-applied-filters { margin-top: 0; }
.buzz-filter-launcher { display: flex; justify-content: flex-end; margin-bottom: 4px; }
.buzz-open-panel { min-height: 42px; padding: 8px 16px; font-size: 13px; cursor: pointer; }
.buzz-filter-dialog { box-sizing: border-box; padding: 0; border: 1px solid #ddd; color: #171717; background: #fff; overscroll-behavior: contain; }
.buzz-filter-dialog::backdrop { background: rgb(0 0 0 / 28%); }
.buzz-dialog-heading { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 8px; }
.buzz-dialog-heading h3 { margin: 0; font-size: 17px; }
.buzz-close-panel { font: inherit; font-size: 25px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f5f5f5; cursor: pointer; }
.buzz-filter-dialog .buzz-prototype-form { border: 0; border-radius: 0; }
.buzz-layout-d .buzz-filter-dialog { margin: 0 0 0 auto; width: 390px; max-width: 100%; height: 100dvh; max-height: 100dvh; border-right: 0; border-top: 0; border-bottom: 0; border-radius: 18px 0 0 18px; }
.buzz-layout-e { padding-bottom: 95px; }
.buzz-layout-e .buzz-filter-launcher { position: fixed; z-index: 20; bottom: 18px; left: 50%; transform: translateX(-50%); width: min(310px, calc(100% - 32px)); margin: 0; }
.buzz-layout-e .buzz-open-panel { width: 100%; min-height: 48px; border-radius: 30px; box-shadow: 0 3px 18px #0002; }
.buzz-layout-e .buzz-filter-dialog { margin: auto auto 0; width: 650px; max-width: 100%; max-height: 85dvh; border-radius: 22px 22px 0 0; border-bottom: 0; }
@media (max-width: 1100px) {
  .comparison-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .buzz-layout-c .buzz-workspace { grid-template-columns: 1fr; gap: 0; }
  .buzz-layout-c .buzz-filter-area { position: static; max-height: none; overflow: visible; }
  .buzz-layout-c .buzz-category-options { flex-direction: row; flex-wrap: wrap; }
  .buzz-layout-c .buzz-filter-grid, .buzz-layout-a .buzz-filter-grid, .buzz-layout-b .buzz-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buzz-layout-c .buzz-applied-filters { margin-top: 14px; }
}
@media (max-width: 540px) {
  .comparison-header { padding: 12px 16px; }
  .comparison-header h1 { font-size: 18px; }
  .filter-comparison main { padding: 12px 10px; }
  .comparison-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-choices button { padding: 10px 8px; gap: 7px; }
  .comparison-choices strong { font-size: 11px; }
  .comparison-choices small { font-size: 10px; }
  .comparison-diagram { flex-basis: 29px; height: 39px; }
  .comparison-toolbar { padding: 10px; gap: 8px; flex-wrap: wrap; }
  .comparison-toolbar p { flex-basis: 100%; }
  .comparison-toolbar a { margin-left: auto; font-size: 11px; }
  .comparison-stage { padding: 5px; }
  .buzz-prototype-form { padding: 14px; }
  .buzz-category-button { min-height: 38px; padding: 8px 11px; }
  .buzz-filter-preview input, .buzz-filter-preview select { font-size: 16px; }
}

/* B: category browsing from Dribbble, quiet controls from Linear.
   All selectors are scoped to the comparison so other layouts stay independent. */
.research-design-b {
  --research-sidebar-width: 212px;
  background: #f7f8fa;
  color: #202126;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.research-design-b .research-sidebar { padding: 32px 14px 22px; background: #fff; border-color: #e9ebee; }
.research-design-b .research-sidebar-heading { margin: 0 9px 43px; }
.research-design-b .research-brand-caption { font-size: 8px; color: #858892; letter-spacing: .025em; }
.research-design-b .research-sidebar .research-brand strong { font-size: 27px; letter-spacing: -.075em; line-height: 1.6; }
.research-design-b .research-nav { gap: 8px; }
.research-design-b .research-nav-item { min-height: 46px; gap: 11px; padding: 11px 13px; font-size: 12px; border-radius: 8px; color: #72757d; }
.research-design-b .research-nav-item svg { width: 18px; height: 18px; stroke-width: 1.65; }
.research-design-b .research-nav-item[aria-current="page"] { color: #fff; background: #25272d; box-shadow: 0 2px 4px #20212612; }
.research-design-b .research-nav-status { font-size: 9px; color: #999ca4; }
.research-design-b .research-sidebar-footer .research-nav-item { border-radius: 0; border-color: #eff0f2; font-size: 11px; }
.research-design-b .research-content .research-main { padding: 42px 36px; }
.buzz-layout-b { --text-muted: #7f828b; --border: #e7e9ee; max-width: 1110px; padding: 0 0 40px; }
.buzz-layout-b .buzz-heading { gap: 20px; margin: 0 0 26px; }
.buzz-layout-b .buzz-heading h2 { display: flex; align-items: center; gap: 12px; font-size: 30px; font-weight: 750; letter-spacing: -.055em; white-space: nowrap; }
.buzz-catalog-size { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid #e0e3e8; border-radius: 7px; background: #eef0f3; font-size: 11px; font-weight: 550; letter-spacing: .01em; font-variant-numeric: tabular-nums; color: #666c76; }
.buzz-catalog-size:empty { display: none; }
.buzz-discovery-actions { display: flex; align-items: center; gap: 10px; }
.buzz-discovery-search { display: flex; align-items: center; gap: 9px; width: 252px; min-width: 0; height: 40px; padding: 0 12px; background: #fff; border: 1px solid #e5e7ec; border-radius: 8px; box-shadow: 0 1px 2px #20212603; }
.buzz-layout-b svg { flex-shrink: 0; width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.buzz-discovery-search svg { width: 16px; height: 16px; color: #858995; }
.buzz-discovery-search input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 12px; color: #292c33; }
.buzz-discovery-search input::placeholder { color: #9a9da6; }
.buzz-discovery-search:focus-within { outline: 2px solid #8b90a0; outline-offset: 2px; }
.buzz-layout-b .buzz-reload { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid #e5e7ec; border-radius: 8px; background: #fff; color: #787e8b; }
.buzz-layout-b .buzz-reload:hover { color: #202126; background: #f1f2f5; }
.buzz-discovery-categories { padding-bottom: 0; margin-bottom: 27px; border-bottom: 1px solid #e1e4e9; }
.buzz-layout-b .buzz-category-options { display: flex; flex-wrap: wrap; gap: 0 21px; }
.buzz-layout-b .buzz-category-button { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 46px; padding: 0 0 13px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #8a8e98; font-size: 11px; font-weight: 550; white-space: nowrap; transition: color .15s ease; }
.buzz-layout-b .buzz-category-button:hover { color: #30343d; }
.buzz-layout-b .buzz-category-button[aria-pressed="true"] { color: #22252c; border-bottom-color: #22252c; background: transparent; }
.buzz-layout-b .buzz-category-button svg { width: 16px; height: 16px; }
.buzz-layout-b .buzz-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 248px; align-items: start; column-gap: 25px; }
.buzz-layout-b .buzz-filter-area { position: sticky; top: 24px; padding-top: 0; }
.buzz-layout-b .buzz-discovery-form { display: flex; flex-direction: column; gap: 22px; padding: 21px 18px 16px; border: 1px solid #e5e7ec; border-radius: 12px; background: #fff; box-shadow: 0 2px 5px #1e223304; }
.buzz-discovery-filter-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buzz-discovery-filter-heading h3 { display: inline-flex; gap: 8px; align-items: center; margin: 0; font-size: 13px; font-weight: 650; color: #343842; }
.buzz-layout-b .buzz-discovery-filter-heading .buzz-reset { color: #9a9da6; font-size: 10px; }
.buzz-layout-b .buzz-discovery-filter-heading .buzz-reset:hover { color: #323743; }
.buzz-layout-b .buzz-discovery-form label, .buzz-layout-b .buzz-field-title, .buzz-discovery-dates legend { color: #818590; font-size: 10px; font-weight: 500; letter-spacing: .01em; }
.buzz-layout-b .buzz-discovery-form label { gap: 8px; }
.buzz-layout-b .buzz-field-title { margin-bottom: 8px; }
.buzz-layout-b .buzz-platform-picker { width: 100%; max-width: none; gap: 0; padding: 0; margin: 0; border: 1px solid #e5e7ec; border-radius: 7px; overflow: hidden; background: #fff; }
.buzz-layout-b .buzz-platform-button { display: block; flex: 1; min-width: 0; min-height: 33px; padding: 6px 8px; border: 0; border-radius: 0; box-shadow: none; font-size: 11px; color: #9397a0; }
.buzz-layout-b .buzz-platform-button + .buzz-platform-button { border-left: 1px solid #eef0f3; }
.buzz-layout-b .buzz-platform-button[aria-pressed="true"] { background: #f0f1f4; color: #30343e; font-weight: 650; box-shadow: none; }
.buzz-layout-b .buzz-platform-button:hover { background: #f6f7f9; color: #30343e; }
.buzz-layout-b .buzz-discovery-form :is(input,select) { height: 36px; min-width: 0; padding: 0 10px; border: 1px solid #e3e6eb; border-radius: 6px; background-color: #fcfcfd; color: #444a55; font-size: 11px; box-shadow: 0 1px 2px #20212602; }
.buzz-layout-b .buzz-discovery-form input::placeholder { color: #a2a6af; }
.buzz-discovery-dates { min-width: 0; padding: 0; border: 0; margin: 0; }
.buzz-discovery-dates legend { padding: 0; margin-bottom: 8px; }
.buzz-discovery-dates > div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.buzz-discovery-dates > div > label { width: 100%; }
.buzz-discovery-dates > div > span { display: none; }
.buzz-layout-b .buzz-discovery-dates input { font-size: 11px; letter-spacing: -.015em; }
.buzz-discovery-info { padding-top: 15px; border-top: 1px solid #eef0f3; }
.buzz-layout-b #buzz-collected-date { display: block; font-size: 9px; color: #858b96; line-height: 1.8; }
.buzz-layout-b .buzz-source-note { color: #a0a4ae; font-size: 9px; line-height: 1.8; margin: 7px 0 0; }
.buzz-layout-b .buzz-result-line { margin: 0 0 16px; min-height: 28px; gap: 12px; }
.buzz-discovery-feed-heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
.buzz-discovery-feed-heading h3 { margin: 0; font-size: 13px; font-weight: 650; color: #343842; }
.buzz-layout-b #buzz-result-count { font-size: 10px; font-weight: 400; color: #9196a0; white-space: nowrap; }
.buzz-discovery-sort { position: relative; flex-shrink: 0; }
.buzz-discovery-sort svg { width: 15px; height: 15px; flex-shrink: 0; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.buzz-sort-trigger { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #59616e; font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap; }
.buzz-sort-trigger:hover, .buzz-sort-trigger[aria-expanded="true"] { border-color: #e2e5ea; background: #fff; color: #272c34; }
.buzz-sort-menu { position: absolute; z-index: 20; right: 0; top: calc(100% + 7px); width: 220px; max-width: calc(100vw - 32px); padding: 6px; border: 1px solid #e2e5eb; border-radius: 12px; background: #fff; box-shadow: 0 8px 30px #20253318, 0 2px 6px #20253308; }
.buzz-sort-menu[hidden] { display: none; }
.buzz-sort-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 11px 10px; border: 0; border-radius: 7px; background: transparent; color: #58606c; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.buzz-sort-option svg { visibility: hidden; }
.buzz-sort-option[aria-selected="true"] { color: #252a32; font-weight: 600; background: #f3f4f6; }
.buzz-sort-option[aria-selected="true"] svg { visibility: visible; }
.buzz-sort-option:hover, .buzz-sort-option:focus-visible { background: #e9ecf0; color: #252a32; }
.buzz-sort-trigger:focus-visible, .buzz-sort-option:focus-visible { outline: 2px solid #a3abb8; outline-offset: 2px; }
.buzz-layout-b .buzz-grid { border: 0; background: transparent; border-radius: 0; overflow: visible; gap: 14px; }
.buzz-layout-b .buzz-card { grid-template-columns: 37px minmax(0, 1fr); gap: 12px; padding: 23px 24px 18px; border: 1px solid #e4e7ec; border-radius: 12px; box-shadow: 0 2px 4px #20253303; }
.buzz-layout-b .buzz-avatar { width: 37px; height: 37px; border-color: #eceef2; background: #f1f2f5; }
.buzz-layout-b .buzz-avatar svg { width: 31px; height: 31px; fill: #c9cdd6; stroke: #c9cdd6; }
.buzz-layout-b .buzz-author { font-size: 13px; font-weight: 650; color: #2b3039; }
.buzz-layout-b .buzz-post-meta { margin: 4px 0 13px; font-size: 9px; color: #9da3ae; gap: 2px 8px; }
.buzz-layout-b .buzz-posted-date { color: #888f9b; }
.buzz-layout-b .buzz-post-text { font-size: 14px; line-height: 1.85; color: #333842; letter-spacing: .012em; }
.buzz-layout-b .buzz-expand { color: #858c97; margin-top: 4px; font-size: 11px; }
.buzz-layout-b .buzz-text-provenance { font-size: 9px; color: #a2a8b2; margin-top: 13px; }
.buzz-layout-b .buzz-card-footer { margin-top: 15px; }
.buzz-layout-b .buzz-likes { font-size: 11px; font-weight: 550; color: #777f8d; gap: 6px; }
.buzz-layout-b .buzz-likes svg { width: 17px; height: 17px; stroke: #8b939f; }
.buzz-layout-b .buzz-card-footer a { min-height: 28px; }
.buzz-layout-b .buzz-card-footer a svg { width: 14px; height: 14px; }
.buzz-layout-b .buzz-feed-loader { margin-top: 12px; }
.buzz-layout-b .buzz-empty { border-color: #e4e7ec; border-radius: 12px; }
@media (min-width: 1450px) {
  .research-design-b .research-content .research-main { padding-right: 50px; padding-left: 50px; }
}
@media (max-width: 1180px) and (min-width: 901px) {
  .research-design-b { --research-sidebar-width: 192px; }
  .research-design-b .research-content .research-main { padding: 34px 24px; }
  .buzz-layout-b .buzz-workspace { grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; }
  .buzz-layout-b .buzz-category-options { gap: 0 16px; }
  .buzz-discovery-search { width: 220px; }
  .research-design-b .research-nav-item { padding: 11px 9px; gap: 8px; }
  .research-design-b .research-nav-status { font-size: 8px; }
}
@media (max-width: 900px) {
  .research-design-b .research-content .research-main { padding: 28px 24px; }
  .research-design-b .research-mobile-header { background: #fff; border-color: #e9ebee; }
  .buzz-layout-b .buzz-filter-area { top: 96px; }
}
@media (max-width: 760px) {
  .buzz-layout-b .buzz-workspace { display: flex; flex-direction: column; gap: 24px; }
  .buzz-layout-b .buzz-filter-area { order: -1; position: static; width: 100%; }
  .buzz-layout-b .buzz-discovery-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 16px; padding: 18px; }
  .buzz-discovery-filter-heading, .buzz-discovery-platform, .buzz-discovery-dates, .buzz-discovery-info, .buzz-layout-b #buzz-filter-error { grid-column: 1 / -1; }
  .buzz-discovery-platform { display: flex; align-items: center; gap: 12px; }
  .buzz-layout-b .buzz-discovery-platform .buzz-field-title { margin: 0; white-space: nowrap; }
  .buzz-layout-b .buzz-platform-picker { max-width: 252px; }
  .buzz-discovery-dates { grid-row: 4; }
  .buzz-discovery-dates > div { flex-wrap: nowrap; gap: 8px; }
  .buzz-discovery-dates > div > label { width: auto; min-width: 0; flex: 1; }
  .buzz-discovery-dates > div > span { display: block; color: #a2a6af; font-size: 11px; }
  .buzz-layout-b .buzz-discovery-info { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 12px; }
  .buzz-layout-b .buzz-source-note { margin: 0; }
  .buzz-layout-b .buzz-feed-area { width: 100%; }
  .buzz-layout-b .buzz-result-line { display: flex; }
  .buzz-layout-b .buzz-grid { margin: 0; }
}
@media (max-width: 540px) {
  .research-design-b .research-content .research-main { padding: 22px 16px; }
  .buzz-layout-b .buzz-heading { flex-wrap: wrap; gap: 17px; margin-bottom: 20px; }
  .buzz-layout-b .buzz-heading h2 { font-size: 27px; gap: 10px; }
  .buzz-discovery-actions { width: 100%; }
  .buzz-discovery-search { flex: 1; width: auto; height: 42px; }
  .buzz-discovery-search input { font-size: 16px; }
  .buzz-layout-b .buzz-category-options { gap: 6px 18px; }
  .buzz-layout-b .buzz-category-button { min-height: 36px; padding-bottom: 8px; font-size: 11px; }
  .buzz-discovery-categories { margin-bottom: 22px; }
  .buzz-layout-b .buzz-discovery-form { padding: 15px; gap: 15px 12px; }
  .buzz-layout-b .buzz-discovery-form :is(input,select) { font-size: 16px; height: 39px; padding: 0 7px; }
  .buzz-layout-b .buzz-platform-button { min-height: 36px; }
  .buzz-layout-b .buzz-discovery-dates input { font-size: 12px; }
  .buzz-layout-b .buzz-result-line { align-items: flex-start; }
  .buzz-discovery-feed-heading { display: block; }
  .buzz-layout-b #buzz-result-count { margin-top: 4px; }
  .buzz-sort-trigger { gap: 5px; padding: 7px 5px; font-size: 11px; }
  .buzz-layout-b .buzz-card { padding: 19px 15px 15px; grid-template-columns: 32px minmax(0,1fr); gap: 10px; }
  .buzz-layout-b .buzz-avatar { width: 32px; height: 32px; }
  .buzz-layout-b .buzz-avatar svg { width: 27px; height: 27px; }
  .buzz-layout-b .buzz-post-text { font-size: 14px; line-height: 1.85; }
  .buzz-layout-b .buzz-post-meta { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .buzz-layout-b .buzz-category-button { transition: none; }
}
/* Keep metadata readable without giving it the weight of the post itself. */
.research-page.research-design-b { --research-sidebar-width: 212px; }
.buzz-layout-b .buzz-category-button { color: #727986; font-size: 12px; }
.buzz-layout-b .buzz-category-button[aria-pressed="true"] { color: #22252c; }
.buzz-layout-b .buzz-discovery-form label, .buzz-layout-b .buzz-field-title, .buzz-discovery-dates legend { color: #747c88; font-size: 11px; }
.buzz-layout-b .buzz-discovery-form :is(input,select) { font-size: 12px; }
.buzz-layout-b .buzz-post-text { font-size: 15px; line-height: 1.8; }
.buzz-layout-b .buzz-post-meta { font-size: 10px; color: #858c97; }
.buzz-layout-b .buzz-posted-date { color: #7b8390; }
.buzz-layout-b .buzz-text-provenance { color: #7c8491; font-size: 10px; }
.buzz-layout-b #buzz-collected-date, .buzz-layout-b .buzz-source-note { font-size: 10px; color: #7b8390; }
.buzz-layout-b .buzz-discovery-filter-heading .buzz-reset { color: #7b8390; font-size: 11px; }
.buzz-layout-b #buzz-result-count { font-size: 11px; color: #727b88; }
.buzz-layout-b .buzz-author { font-size: 14px; }
@media (max-width: 1180px) and (min-width: 901px) {
  .research-page.research-design-b { --research-sidebar-width: 192px; }
}
@media (max-width: 540px) {
  .buzz-layout-b .buzz-category-button { font-size: 11px; }
  .buzz-layout-b .buzz-discovery-form :is(input,select) { font-size: 16px; }
  .buzz-layout-b .buzz-discovery-dates input { font-size: 12px; }
  .buzz-layout-b .buzz-post-text { font-size: 14px; }
}
/* Media choices use plain navigation, not a pill-shaped switch. */
.buzz-layout-b .buzz-platform-picker { border: 0; border-bottom: 1px solid #eceef2; border-radius: 0; overflow: visible; }
.buzz-layout-b .buzz-platform-button { padding: 5px 8px 9px; color: #848c98; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.buzz-layout-b .buzz-platform-button + .buzz-platform-button { border-left: 0; }
.buzz-layout-b .buzz-platform-button[aria-pressed="true"] { background: transparent; border-bottom-color: #343943; color: #343943; }
.buzz-layout-b .buzz-platform-button:hover { background: transparent; color: #343943; }
@media (max-width: 540px) {
  .buzz-layout-b .buzz-category-options { flex-wrap: nowrap; gap: 20px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .buzz-layout-b .buzz-category-button { flex-shrink: 0; min-height: 41px; padding-bottom: 12px; }
  .buzz-layout-b .buzz-discovery-form { gap: 13px 12px; }
  .buzz-layout-b .buzz-discovery-info { gap: 3px; }
}

@media (max-width: 540px) {
  .buzz-layout-b .buzz-category-options::-webkit-scrollbar { display: none; }
}
/* In a narrow app panel, filters become a short inline toolbar. */
@media (max-width: 760px) {
  .buzz-layout-b .buzz-filter-area { padding-bottom: 0; }
  .buzz-layout-b .buzz-discovery-form { position: relative; padding: 0 0 19px; gap: 14px 16px; border: 0; border-bottom: 1px solid #e1e4e9; border-radius: 0; box-shadow: none; background: transparent; }
  .buzz-discovery-filter-heading { position: absolute; top: 7px; right: 0; }
  .buzz-discovery-filter-heading h3 { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .buzz-layout-b .buzz-discovery-platform { grid-row: 1; padding-right: 65px; }
  .buzz-layout-b .buzz-platform-picker { max-width: 240px; background: transparent; }
  .buzz-layout-b .buzz-post-type-field { grid-row: 2; grid-column: 1; }
  .buzz-layout-b .buzz-discovery-likes { grid-row: 2; grid-column: 2; }
  .buzz-layout-b .buzz-discovery-author { grid-row: 3; grid-column: 1 / -1; }
  .buzz-layout-b .buzz-discovery-dates { grid-row: 4; }
  .buzz-layout-b .buzz-discovery-info { border: 0; padding: 0; gap: 0 8px; }
  .buzz-layout-b .buzz-discovery-info :is(#buzz-collected-date,.buzz-source-note) { font-size: 9px; }
  .buzz-layout-b .buzz-discovery-form :is(input,select) { background-color: #fff; }
}
