html { scrollbar-gutter:stable; }
.topbar {
  position:sticky; top:0; z-index:10; display:grid;
  grid-template-columns:auto auto minmax(0,1fr); align-items:center; gap:24px;
  padding:12px 22px; border-bottom:1px solid #d9deea;
  background:#fff; box-shadow:0 4px 18px rgba(16,24,40,.06);
  font:16px/1.25 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
.topbar a { color:inherit; text-decoration:none; white-space:nowrap; }
.topbar .brand { font-size:20px; font-weight:800; color:#111827; }
.marketplace-tabs, .section-links { display:flex; align-items:center; flex-wrap:nowrap; }
.marketplace-tabs { gap:4px; }
.marketplace-tabs a { padding:8px 12px; border-radius:9px; color:#243047; font-weight:600; }
.marketplace-tabs a.active { background:#e9efff; color:#174df5; }
.section-links { gap:14px; justify-self:end; max-width:100%; overflow-x:auto; color:#667085; }
.section-links a:hover, .section-links [aria-current] { color:#1d4ed8; }
@media(max-width:1150px) {
  .topbar { grid-template-columns:auto 1fr; gap:6px 18px; }
  .section-links { grid-column:1/-1; justify-self:stretch; padding:5px 0; }
}
@media(max-width:650px) {
  .topbar { padding:8px 12px; }
  .section-links { font-size:14px; }
}
