.research-product-code{display:inline-block;margin-left:8px;color:#777;font:400 12px/1.5 Arial,"Microsoft YaHei",sans-serif;letter-spacing:0;white-space:nowrap;vertical-align:baseline;user-select:all}

/* Shared product badges. Page-specific layout and sizing stay in their own styles. */
/* Product shells share the teaching catalogue's usable width, including its gutters. */
:root {
  --product-frame: min(calc(100vw - 64px), 1480px);
  --product-gutter: clamp(22px, 2.5vw, 40px);
  --product-content-width: calc(min(100%, var(--product-frame)) - 2 * var(--product-gutter));
  --research-journal-bg: #edf3ff;
  --research-journal-border: #cad9fa;
  --research-journal-color: #204eb3;
  --research-journal-label: #46618e;
  --research-marker-bg: #fff0ce;
  --research-marker-border: #dcac5a;
  --research-marker-color: #87450c;
  --research-marker-hover: #ffdfa2;
  --research-badge-radius: 4px;
}

@media (max-width:620px) {
  :root { --product-frame:100%; --product-gutter:18px; }
}
html:has(main.b41, main[data-membership-intro], main[data-member-introduction], main.research-with-advisor) { scrollbar-gutter:stable; }
:root main[data-product-frame], :root main[data-member-introduction]:not(.b41), :root main.research-with-advisor {
  box-sizing:border-box; width:min(100%,var(--product-frame)); max-width:none;
  margin-inline:auto; padding-inline:var(--product-gutter);
}
.dataset-detail-page > .page-hero { padding-inline:0; }
.dataset-detail-page > .page-hero > div, .dataset-detail-page > .content-shell {
  box-sizing:border-box; width:var(--product-content-width); max-width:none;
  margin-inline:auto; padding-inline:0;
}
