/* Supplier identities use the same quiet surfaces, red actions and gold scores
   as the public catalogue. All evidence remains typographically secondary. */
.supplier-hub {
  --supplier-radius: 15px;
  --supplier-inset: var(--explore-theme-inset, var(--background));
  --supplier-score: var(--reputation-gold, #ead3a1);
  --supplier-score-caption: var(--reputation-caption, #b8aa8d);
  min-width: 0;
  color: var(--foreground);
}
.supplier-hub :is(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--focus, var(--accent-text));
  outline-offset: 4px;
}
.supplier-hub-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 26px;
}
.supplier-hub-heading h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -.035em;
}
.supplier-hub-heading p {
  max-width: 66em;
  margin: 0;
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.8;
}
.supplier-hub-heading > .button { flex-shrink: 0; }
.supplier-hub-tools, .supplier-hub-product-tools {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.supplier-hub-tools { align-items: center; gap: 12px; padding: 14px 18px; }
.supplier-hub-tools .supplier-hub-count { align-self: center; }
.supplier-hub-search { flex: 1 1 260px; min-width: 0; max-width: 560px; }
.supplier-hub-platform { flex: 0 1 180px; min-width: 146px; }
.supplier-hub-label {
  display: block;
  margin: 0 0 8px;
  color: var(--secondary-foreground);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.5;
}
.supplier-hub .search-box { position: relative; display: block; min-width: 0; }
.supplier-hub :is(.supplier-hub-tools, .supplier-hub-product-tools) :is(input, select) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--foreground);
  background: var(--supplier-inset);
  font: inherit;
  font-size: 13px;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.supplier-hub .search-box input { padding-left: 40px; }
.supplier-hub .search-box input:focus {
  outline: 2px solid var(--accent-border);
  outline-offset: 1px;
  border-color: var(--accent-text);
  color: var(--foreground);
  background: var(--supplier-inset);
}
.supplier-hub .search-box > :is(svg, .icon) {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 17px;
  height: 17px;
  color: var(--muted-foreground);
  transform: translateY(-50%);
  pointer-events: none;
}
.supplier-hub :is(input, select):hover { border-color: var(--border-strong); }
.supplier-hub input::placeholder { color: var(--muted-foreground); }
.supplier-hub-count {
  align-self: flex-end;
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-left: auto;
  color: var(--muted-foreground);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.supplier-hub-tools > .button { min-height: 44px; }
.supplier-hub-grid, .supplier-hub-store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}
.supplier-brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--supplier-radius);
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.supplier-brand-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 64px;
}
.supplier-brand-avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--secondary-foreground);
  background: var(--supplier-inset);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
}
.supplier-brand-avatar img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.supplier-brand-identity { min-width: 0; }
.supplier-brand-identity :is(h2, h3) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 0;
  color: var(--foreground);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.supplier-brand-identity :is(h2, h3) a { color: inherit; text-decoration: none; }
.supplier-brand-identity :is(h2, h3) a:hover { color: var(--accent-text); }
.supplier-brand-id {
  display: block;
  overflow: hidden;
  max-width: 100%;
  margin-top: 6px;
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.supplier-brand-certification {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -2px;
  width: 14px;
  height: 14px;
  margin-left: 6px;
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  color: var(--accent-text);
  background: var(--accent-soft);
}
.supplier-brand-certification .icon { width: 9px; height: 9px; }
.supplier-brand-score, .supplier-profile-score {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 75px;
  padding-left: 13px;
  border-left: 1px solid var(--reputation-rule, var(--border));
  text-align: right;
  white-space: nowrap;
}
.supplier-brand-score :is(span, label), .supplier-profile-score :is(span, label) {
  color: var(--supplier-score-caption);
  font-size: 10px;
  font-weight: 450;
  line-height: 1.4;
}
.supplier-brand-score strong, .supplier-profile-score strong {
  display: block;
  color: var(--supplier-score);
  font-family: "Racing Sans One Score", "Avenir Next", sans-serif;
  font-size: 33px;
  font-weight: 400;
  font-style: normal;
  font-synthesis: none;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  letter-spacing: -.025em;
}
.supplier-brand-score small, .supplier-profile-score small {
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
}
.supplier-brand-score > small, .supplier-profile-score > small { display: inline-flex; align-items: center; gap: 3px; }
.supplier-brand-score > small .icon, .supplier-profile-score > small .icon { width: 11px; height: 11px; }
.supplier-brand-score-link { color: inherit; text-decoration: none; }
.supplier-brand-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 12px 0 0;
  color: var(--secondary-foreground);
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.supplier-brand-categories {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  max-height: 25px;
  overflow: hidden;
  margin-top: 10px;
}
.supplier-brand-categories > span {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--muted-foreground);
  font-size: 10px;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.supplier-brand-platforms, .supplier-profile-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
}
.explore :is(.supplier-brand-platforms, .supplier-profile-platforms) .platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 23px;
  margin: 0;
  padding: 3px 6px;
  border: 0;
  border-radius: 5px;
  color: var(--secondary-foreground);
  background: var(--supplier-inset);
  font-size: 10px;
  font-weight: 450;
  line-height: 1.4;
  white-space: nowrap;
}
.explore :is(.supplier-brand-platforms, .supplier-profile-platforms) .platform-pill img {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.supplier-brand-stats, .supplier-profile-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
}
.supplier-brand-stats > div, .supplier-profile-stats > div { min-width: 0; }
.supplier-brand-stats dt, .supplier-profile-stats dt {
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
}
.supplier-brand-stats dd, .supplier-profile-stats dd {
  margin: 4px 0 0;
  color: var(--foreground);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.supplier-brand-stats dd small, .supplier-profile-stats dd small {
  margin-left: 3px;
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}
.supplier-brand-sample { margin: 10px 0 0; color: var(--muted-foreground); font-size: 10px; line-height: 1.5; }
.supplier-brand-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 14px;
}
.supplier-hub .supplier-brand-footer :is(a, button),
.supplier-hub .supplier-profile-actions :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--secondary-foreground);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.supplier-hub .supplier-brand-footer > a:first-child,
.supplier-hub .supplier-profile-actions .primary {
  flex: 1 1 auto;
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}
.supplier-hub .supplier-brand-footer > a:first-child:hover,
.supplier-hub .supplier-profile-actions .primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}
.supplier-brand-footer .icon, .supplier-profile-actions .icon { width: 15px; height: 15px; }
.supplier-hub .supplier-brand-footer button:hover,
.supplier-hub .supplier-profile-actions button:hover { color: var(--foreground); background: var(--surface-hover); }
.supplier-hub :is(.supplier-brand-footer, .supplier-profile-actions) button:disabled { opacity: .55; cursor: default; }
.supplier-brand-card:focus-within { z-index: 2; border-color: var(--border-strong); }
.supplier-hub-empty {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
  padding: 36px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  color: var(--muted-foreground);
  background: var(--surface);
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
}
.supplier-hub-empty :is(h2, h3, strong) { color: var(--foreground); font-size: 15px; font-weight: 600; }
.supplier-hub-empty p { max-width: 44em; margin: 7px auto 0; }
.supplier-hub-empty-icon { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 13px; border-radius: 10px; background: var(--supplier-inset); }
.supplier-hub-empty-icon .icon { width: 20px; height: 20px; }

/* The profile is an identity header followed by three working tabs. */
.supplier-profile-hero {
  display: block;
  margin: 0 0 26px;
  padding: 27px 28px;
  border: 1px solid var(--border);
  border-radius: var(--supplier-radius);
  background: var(--surface);
}
.supplier-profile-brand { display: flex; align-items: center; gap: 19px; min-width: 0; }
.supplier-profile-brand .supplier-brand-avatar { width: 72px; height: 72px; border-radius: 16px; font-size: 28px; }
.supplier-profile-brand > .supplier-brand-identity { flex: 1; }
.supplier-profile-joined { margin-left: 14px; }
.supplier-profile-summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; min-width: 0; margin-top: 21px; }
.supplier-profile-summary > div { flex: 1; min-width: 0; }
.supplier-profile-brand h1 {
  margin: 0;
  color: var(--foreground);
  font-size: 26px;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
.supplier-profile-summary .supplier-brand-description {
  display: block;
  -webkit-line-clamp: unset;
  max-width: 68em;
  margin: 0;
  color: var(--secondary-foreground);
  font-size: 13px;
  line-height: 1.85;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.supplier-profile-summary .supplier-brand-categories { flex-wrap: wrap; max-height: none; }
.supplier-profile-score { align-self: flex-start; min-width: 120px; padding: 4px 0 4px 25px; border: 0; border-left: 1px solid var(--reputation-rule, var(--border)); border-radius: 0; background: transparent; font: inherit; cursor: pointer; }
.supplier-profile-score :is(span, label) { font-size: 11px; }
.supplier-profile-score strong { margin: 3px 0; font-size: 45px; }
.supplier-profile-score small { font-size: 11px; }
.supplier-profile-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 22px 0 0;
  padding-top: 20px;
}
.supplier-profile-stats dd { font-size: 23px; }
.supplier-profile-stats dt { font-size: 11px; }
.supplier-profile-actions { display: flex; flex-shrink: 0; align-items: center; gap: 9px; margin-left: auto; }
@media (min-width: 768px) {
  .supplier-profile-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 30px; padding: 23px 27px 20px; }
  .supplier-profile-brand { grid-column: 1; grid-row: 1; }
  .supplier-profile-summary { display: contents; }
  .supplier-profile-summary > div { display: grid; grid-column: 1; grid-row: 2; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 17px; }
  .supplier-profile-summary .supplier-brand-description { grid-column: 1 / -1; font-size: 12px; line-height: 1.75; }
  .supplier-profile-summary .supplier-brand-categories { margin: 0; }
  .supplier-profile-summary .supplier-profile-platforms { justify-content: flex-end; margin: 0; }
  .supplier-profile-score { grid-column: 2; grid-row: 1 / 3; align-self: center; min-width: 143px; padding: 11px 0 11px 28px; }
  .supplier-profile-stats { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: baseline; gap: 42px; margin: 1px 0 0; padding-top: 14px; }
  .supplier-profile-stats > div { display: flex; align-items: baseline; gap: 12px; }
  .supplier-profile-stats dd { margin: 0; font-size: 21px; }
}
@media (min-width: 768px) and (max-width: 1050px) {
  .supplier-profile-hero { gap: 14px 23px; }
  .supplier-profile-summary > div { grid-template-columns: minmax(0, 1fr); }
  .supplier-profile-summary .supplier-profile-platforms { justify-content: flex-start; }
}
.supplier-hub-tabs {
  display: flex;
  align-items: stretch;
  gap: 24px;
  min-width: 0;
  margin: 0 0 25px;
  padding: 0 2px;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  scrollbar-width: thin;
  scroll-padding-inline: 12px;
}
.supplier-hub-tabs [role="tab"] {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 51px;
  margin: 0;
  padding: 10px 4px 13px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted-foreground);
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
}
.supplier-hub-tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--accent); color: var(--foreground); font-weight: 650; }
.supplier-hub-tabs [role="tab"]:hover { color: var(--foreground); }
.supplier-hub-tabs [role="tab"] :is(small, span) { color: var(--muted-foreground); font-size: 11px; font-variant-numeric: tabular-nums; }
.supplier-hub-panel { min-width: 0; }
.supplier-hub-panel[hidden] { display: none; }
.supplier-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 18px; }
.supplier-panel-heading :is(h2, h3) { margin: 0; color: var(--foreground); font-size: 18px; font-weight: 600; line-height: 1.5; }
.supplier-panel-heading :is(p, small, span) { margin: 5px 0 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.7; }
.supplier-store-entry { display: flex; flex-direction: column; min-width: 0; }
.supplier-store-entry > .shop-gallery-card { flex: 1; }
.supplier-store-products {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin: 8px 0 0;
  padding: 7px 2px;
  border: 0;
  color: var(--accent-text);
  background: transparent;
  font: inherit;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}
.supplier-store-products .icon { width: 14px; height: 14px; }
.supplier-store-products:hover { text-decoration: underline; text-underline-offset: 4px; }
.supplier-hub-product-tools > label { flex: 0 1 220px; min-width: 150px; }
.supplier-hub-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.supplier-quote-note { margin: 12px 0 0; color: var(--muted-foreground); font-size: 11px; line-height: 1.8; }
.supplier-hub .supplier-hub-product-grid .offer-card { min-width: 0; }

/* Evidence is grouped into compact, readable panels rather than a score billboard. */
.supplier-score-layout { display: grid; grid-template-columns: minmax(210px, .8fr) minmax(0, 2fr); align-items: start; gap: 20px; }
.supplier-score-layout > :is(.supplier-score-dimensions, .supplier-score-notes, .supplier-review-list) { grid-column: 1 / -1; }
.supplier-score-overview, .supplier-score-components, .supplier-score-dimensions, .supplier-score-notes {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.supplier-score-layout :is(h2, h3) { margin: 0 0 14px; color: var(--foreground); font-size: 15px; font-weight: 600; line-height: 1.5; }
.supplier-score-overview > strong { display: block; color: var(--supplier-score); font-family: "Racing Sans One Score", "Avenir Next", sans-serif; font-size: 48px; font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; }
.supplier-score-overview :is(p, small) { display: block; margin: 12px 0 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.85; overflow-wrap: anywhere; }
.supplier-score-overview > .supplier-brand-score { align-items: flex-start; gap: 5px; padding: 0; border: 0; text-align: left; }
.supplier-score-overview > .supplier-brand-score > strong { font-size: 48px; }
.supplier-score-overview > .supplier-brand-score small { margin: 0; font-size: 10px; line-height: 1.6; }
.supplier-score-overview > .supplier-brand-score strong small { display: inline; margin-left: 4px; }
.supplier-score-components { display: grid; gap: 0; margin-top: 19px; padding: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; }
.supplier-score-component { display: block; min-width: 0; padding: 13px 0; }
.supplier-score-component > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.supplier-score-component + .supplier-score-component { border-top: 1px solid var(--border); }
.supplier-score-component :is(span, p, dt) { color: var(--secondary-foreground); font-size: 12px; line-height: 1.7; }
.supplier-score-component strong { flex-shrink: 0; color: var(--foreground); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.supplier-score-component small { display: block; margin-top: 4px; color: var(--muted-foreground); font-size: 10px; line-height: 1.6; }
.supplier-score-component strong small { display: inline; margin-left: 3px; }
.supplier-score-overview .supplier-score-component strong small { display: inline; margin: 0 0 0 3px; }
.supplier-score-overview .supplier-score-component > small { margin-top: 4px; }
.supplier-score-detail { min-width: 0; }
.supplier-score-dimensions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.supplier-score-dimensions > :is(h2, h3, p) { grid-column: 1 / -1; }
.supplier-score-dimensions > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-width: 0; padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--secondary-foreground); font-size: 12px; line-height: 1.7; }
.supplier-score-dimensions strong { flex-shrink: 0; color: var(--foreground); font-size: 16px; font-variant-numeric: tabular-nums; }
.supplier-score-dimensions small { color: var(--muted-foreground); font-size: 10px; }
.supplier-score-dimensions dd { flex-shrink: 0; margin: 0; text-align: right; }
.supplier-score-dimensions dd > small { display: block; margin-top: 3px; }
.supplier-score-dimensions strong small { margin-left: 3px; }
.supplier-score-notes { margin-top: 16px; color: var(--muted-foreground); font-size: 12px; line-height: 1.9; }
.supplier-score-notes ul { margin: 0; padding-left: 18px; }
.supplier-score-notes li + li { margin-top: 7px; }
.supplier-score-notes :is(p, details) + :is(p, details) { margin-top: 10px; }
.supplier-score-notes summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--secondary-foreground); cursor: pointer; list-style: none; }
.supplier-score-notes summary::-webkit-details-marker { display: none; }
.supplier-score-notes summary .icon { width: 14px; height: 14px; }
.supplier-score-notes[open] summary { margin-bottom: 14px; }
.supplier-score-notes[open] summary .icon { transform: rotate(90deg); }
.supplier-review-heading { margin-top: 29px; }
.supplier-review-list { margin-top: 26px; }
.supplier-review-list > :is(h2, h3) { margin: 0 0 15px; font-size: 17px; font-weight: 600; }
.supplier-review { min-width: 0; padding: 20px 0; border-top: 1px solid var(--border); }
.supplier-review-head { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--secondary-foreground); font-size: 12px; line-height: 1.7; }
.supplier-review-head img { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.supplier-review-head .supplier-brand-avatar { width: 32px; height: 32px; border-radius: 9px; font-size: 13px; }
.supplier-review-head .supplier-brand-avatar img { width: 100%; height: 100%; border-radius: 0; }
.supplier-review-head > div { min-width: 0; }
.supplier-review-head > div > span { display: block; color: var(--muted-foreground); font-size: 10px; }
.supplier-review-score { margin-left: auto; color: var(--supplier-score); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.supplier-review-score small { margin-left: 3px; font-size: 10px; font-weight: 400; }
.supplier-review-context { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 10px 0 0; color: var(--muted-foreground); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.supplier-review-head strong { color: var(--foreground); font-size: 12px; font-weight: 600; }
.supplier-review-head :is(time, small) { color: var(--muted-foreground); font-size: 10px; }
.supplier-review-head time { margin-left: auto; }
.supplier-review-body { max-width: 88em; margin: 11px 0 0; color: var(--secondary-foreground); font-size: 13px; line-height: 1.9; white-space: pre-line; overflow-wrap: anywhere; }
.supplier-review-history { color: var(--muted-foreground); }
.supplier-review-reply { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: var(--supplier-inset); }
.supplier-review-reply-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--muted-foreground); font-size: 11px; line-height: 1.7; }
.supplier-review-reply-heading .supplier-brand-avatar { width: 26px; height: 26px; border-radius: 7px; font-size: 11px; }
.supplier-review-reply-heading strong { color: var(--foreground); font-weight: 600; }
.supplier-review-reply-heading time { margin-left: auto; font-size: 10px; }
.supplier-review-reply > p { margin: 9px 0 0; color: var(--secondary-foreground); font-size: 12px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.supplier-review > p:last-child:not(.supplier-review-body) { margin-top: 8px; color: var(--muted-foreground); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .supplier-brand-card:hover { z-index: 2; transform: translateY(-2px); border-color: var(--border-strong); box-shadow: 0 9px 24px rgb(0 0 0 / 7%); }
}
@media (max-width: 1179px) {
  .supplier-hub-grid, .supplier-hub-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .supplier-hub-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .supplier-profile-brand { flex-basis: 380px; }
}
@media (max-width: 767px) {
  .supplier-hub-heading { align-items: flex-start; gap: 14px; margin-bottom: 21px; }
  .supplier-hub-heading h1 { font-size: 24px; }
  .supplier-hub-heading p { font-size: 12px; }
  .supplier-hub-heading > .button { min-width: 0; padding-inline: 11px; font-size: 11px; }
  .supplier-hub-tools, .supplier-hub-product-tools { gap: 12px; padding: 15px; }
  .supplier-hub-search { flex-basis: 100%; max-width: none; }
  .supplier-hub-platform { flex: 1; }
  .supplier-hub-count { font-size: 11px; }
  .supplier-hub-grid, .supplier-hub-store-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .supplier-brand-card { padding: 20px; }
  .supplier-brand-head { gap: 12px; }
  .supplier-brand-identity :is(h2, h3) { font-size: 16px; }
  .supplier-brand-score { min-width: 73px; padding-left: 11px; }
  .supplier-brand-score strong { font-size: 31px; }
  .supplier-profile-hero { padding: 21px 20px; margin-bottom: 19px; }
  .supplier-profile-brand { flex-wrap: wrap; gap: 14px; }
  .supplier-profile-brand > .supplier-brand-identity { flex: 1 1 140px; }
  .supplier-profile-brand h1 { font-size: 21px; }
  .supplier-profile-actions { margin-left: 0; }
  .supplier-profile-joined { display: block; margin-left: 0; margin-top: 4px; }
  .supplier-profile-summary { flex-direction: column; align-items: stretch; gap: 18px; margin-top: 18px; }
  .supplier-profile-summary .supplier-brand-description { font-size: 12px; }
  .supplier-profile-score { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-self: stretch; align-items: center; justify-items: start; min-width: 0; gap: 3px 12px; padding: 16px 0 0; border-top: 1px solid var(--reputation-rule, var(--border)); border-right: 0; border-left: 0; text-align: left; }
  .supplier-profile-score > strong { grid-column: 2; grid-row: 1 / 3; margin: 0; font-size: 38px; }
  .supplier-profile-score > small { grid-column: 1; grid-row: 2; }
  .supplier-profile-stats { gap: 12px; padding-top: 17px; }
  .supplier-profile-stats dd { font-size: 20px; }
  .supplier-profile-stats dt { font-size: 10px; }
  .supplier-hub-tabs { gap: 22px; margin-bottom: 21px; }
  .supplier-hub-tabs [role="tab"] { min-height: 48px; font-size: 13px; }
  .supplier-panel-heading { align-items: flex-start; gap: 12px; }
  .supplier-panel-heading :is(h2, h3) { font-size: 16px; }
  .supplier-hub-product-tools > label { flex: 1 1 140px; min-width: 0; }
  .supplier-hub-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .supplier-score-layout { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .supplier-score-overview, .supplier-score-components, .supplier-score-dimensions, .supplier-score-notes { padding: 19px; }
  .supplier-score-dimensions { gap: 12px 18px; }
}
@media (max-width: 359px) {
  .supplier-brand-card { padding: 17px; }
  .supplier-brand-head { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; }
  .supplier-brand-avatar { width: 56px; height: 56px; }
  .supplier-brand-score { min-width: 67px; padding-left: 9px; }
  .supplier-brand-score strong { font-size: 28px; }
  .supplier-profile-brand .supplier-brand-avatar { width: 60px; height: 60px; }
  .supplier-score-dimensions { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .supplier-hub *, .supplier-hub *::before, .supplier-hub *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .supplier-hub :is(.supplier-brand-card, .offer-card):hover { transform: none; }
}

/* Compact, personalized supplier cards. The background carries identity; text stays quiet. */
#supplierHubGrid > .supplier-brand-card[data-card-surface] { box-sizing: border-box; display: grid; grid-template-rows: 64px 20px 24px minmax(18px, 1fr) 45px; row-gap: 8px; block-size: 280px; min-block-size: 280px; padding: 20px; border-color: var(--border); border-radius: 16px; }
.supplier-brand-card .supplier-brand-head { grid-template-columns: 48px minmax(0,1fr) auto; min-height: 0; gap: 12px; }
.supplier-brand-card .supplier-brand-avatar { width: 48px; height: 48px; border-radius: 12px; font-size: 20px; }
.supplier-brand-card .supplier-brand-identity h2 { font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em; }
.supplier-brand-card .supplier-brand-title-row { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; min-width: 0; }
.supplier-brand-card .supplier-brand-title-row h2 { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.supplier-brand-card .supplier-brand-id { margin: 4px 0 0; color: var(--muted-foreground); font-size: 10px; }
.supplier-brand-card .supplier-brand-description { -webkit-line-clamp: 1; min-width: 0; margin: 0; font-size: 12px; line-height: 20px; }
.supplier-brand-card .supplier-brand-platforms { flex-wrap: nowrap; min-height: 0; margin: 0; gap: 5px; }
.supplier-brand-card .supplier-brand-platforms > .platform-pill { flex-shrink: 0; }
.supplier-brand-card .supplier-brand-score { min-width: 66px; min-height: 44px; justify-content: center; padding: 0 0 0 11px; border: 0; }
.supplier-brand-card .supplier-brand-score strong { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -.055em; }
.supplier-brand-card .supplier-brand-score strong small { margin-left: 2px; color: var(--supplier-score-caption); font-size: 10px; }
.supplier-brand-score[data-score-hint] { position: relative; overflow: visible; }
.supplier-brand-score[data-score-hint]::after { position: absolute; z-index: 20; right: 0; top: calc(100% + 9px); padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: 6px; color: var(--foreground); background: var(--surface); box-shadow: 0 6px 18px rgb(0 0 0 / 14%); content: attr(data-score-hint); font-family: inherit; font-size: 11px; line-height: 1.5; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-2px); transition: opacity 100ms ease, transform 100ms ease; }
.supplier-brand-score[data-score-hint]:is(:hover,:focus-visible)::after { opacity: 1; visibility: visible; transform: none; }
.supplier-card-meta { min-width: 0; margin: 0; align-self: start; }
.supplier-card-business-counts { color: var(--muted-foreground); font-size: 10px; line-height: 1.6; white-space: nowrap; }
.supplier-social-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 6px 8px; min-width: 0; }
.supplier-social-count { display: inline-flex; align-items: center; justify-content: flex-start; gap: 4px; min-width: 0; min-height: 24px; border-radius: 5px; color: var(--secondary-foreground); font-size: 11px; text-decoration: none; white-space: nowrap; }
.supplier-social-count .icon { width: 12px; height: 12px; flex: 0 0 auto; color: var(--muted-foreground); }
.supplier-social-count b { min-width: 0; overflow: hidden; color: var(--foreground); font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; text-overflow: ellipsis; }
.supplier-social-count small { flex: 0 0 auto; color: var(--muted-foreground); font-size: 10px; }
.supplier-brand-card .supplier-brand-footer { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 0 8px; min-width: 0; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.supplier-brand-card .supplier-brand-footer > .supplier-social-counts { width: max-content; max-width: 100%; grid-template-columns: repeat(4, minmax(0, max-content)); gap: 0 4px; margin: 0; }
.supplier-brand-card .supplier-brand-footer .supplier-social-count { gap: 2px; min-height: 44px; margin: 0; padding: 0; border: 0; color: var(--secondary-foreground); background: transparent; font-size: 11px; }
.supplier-brand-card .supplier-brand-footer .supplier-social-count b { max-width: 3ch; font-size: 11px; }
.supplier-brand-card .supplier-brand-footer .supplier-social-count small { font-size: 9px; }
.supplier-brand-card > .supplier-card-entry {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
}
.supplier-brand-card :is(.supplier-identity-action, .supplier-brand-score-link, .supplier-social-counts) {
  position: relative;
  z-index: 2;
}
.supplier-brand-card .supplier-social-counts { cursor: default; }
/* The primary card link explains its destination on hover or keyboard focus. */
.supplier-card-entry::after {
  position: absolute;
  right: 18px;
  bottom: 68px;
  max-width: calc(100% - 36px);
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--foreground);
  background: var(--surface);
  box-shadow: 0 3px 10px rgb(0 0 0 / 10%);
  content: attr(data-entry-hint);
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2px);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
}
.supplier-card-entry:focus-visible::after { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) {
  .supplier-card-entry:hover::after { opacity: 1; visibility: visible; transform: none; }
}
.supplier-hub .supplier-brand-card .supplier-brand-footer .icon { width: 13px; height: 13px; }
.supplier-profile-hero[data-card-surface] { display: block; padding: 26px; border-color: var(--border); }
.supplier-profile-hero .supplier-profile-brand { display: flex; flex-wrap: nowrap; gap: 15px; }
.supplier-profile-hero .supplier-profile-brand > .supplier-brand-identity { flex: 1 1 auto; min-width: 0; }
.supplier-profile-hero .supplier-profile-brand h1 { font-size: 24px; }
.supplier-profile-hero .supplier-profile-brand .supplier-brand-avatar { width: 60px; height: 60px; border-radius: 14px; font-size: 24px; }
.supplier-profile-hero .supplier-profile-summary { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; }
.supplier-profile-hero .supplier-profile-summary .supplier-brand-description { flex: 1 1 320px; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; font-size: 12px; line-height: 1.8; }
.supplier-profile-hero .supplier-profile-platforms { flex: 0 0 auto; display: flex; justify-content: flex-start; margin: 0; }
.supplier-profile-hero .supplier-profile-score { display: flex; align-self: center; align-items: flex-end; justify-content: center; min-width: 100px; margin: 0 0 0 8px; padding: 3px 0 3px 21px; border: 0; border-left: 1px solid var(--reputation-rule); text-align: right; }
.supplier-profile-hero .supplier-profile-score strong { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; font-size: 43px; font-weight: 600; letter-spacing: -.055em; }
.supplier-profile-hero .supplier-profile-score strong small { margin-left: 2px; color: var(--supplier-score-caption); font-size: 11px; }
.supplier-profile-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px 24px; margin-top: 19px; padding-top: 16px; border-top: 1px solid var(--border); }
.supplier-profile-meta > .supplier-social-counts { flex: 1 1 290px; max-width: 440px; }
.supplier-profile-hero .supplier-profile-actions { flex: 0 0 auto; margin-left: auto; }
.supplier-profile-hero .supplier-profile-actions :is(a,button) { min-height: 44px; padding: 10px 12px; border-color: var(--border); border-radius: 10px; color: var(--secondary-foreground); background: transparent; font-size: 11px; }
.supplier-hub [data-follow] { position: relative; isolation: isolate; min-width: 106px; --follow-confirm: #9adbbb; --follow-confirm-wash: rgb(130 210 170 / 10%); }
.supplier-hub [data-card-surface] [data-follow] { --follow-confirm: #17472f; --follow-confirm-wash: rgb(23 71 47 / 8%); }
.supplier-hub [data-follow]::after { position: absolute; z-index: -1; inset: -1px; border: 1px solid var(--follow-confirm); border-radius: inherit; content: ""; opacity: 0; pointer-events: none; }
.supplier-hub [data-card-surface] button[data-follow].is-follow-success { border-color: color-mix(in srgb, var(--follow-confirm) 45%, transparent); color: var(--follow-confirm); background: var(--follow-confirm-wash); }
.supplier-hub [data-follow].is-follow-success::after { animation: supplier-follow-ring 650ms cubic-bezier(.2, .7, .3, 1) both; }
.supplier-hub [data-follow].is-follow-success > .icon { transform-origin: center; animation: supplier-follow-check 620ms cubic-bezier(.2, .75, .25, 1) both; }
.supplier-hub [data-follow].is-follow-success > .icon path { stroke-dasharray: 28; stroke-dashoffset: 28; animation: supplier-follow-draw 260ms 100ms ease-out both; }
/* Identity actions stay visually quiet while retaining a full touch target. */
.supplier-hub .supplier-brand-card .supplier-identity-action {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--muted-foreground);
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  --follow-confirm: var(--supplier-score);
  --follow-confirm-wash: transparent;
}
.supplier-hub .supplier-brand-card .supplier-identity-action:is(:hover, :focus-visible) { color: var(--foreground); background: color-mix(in srgb, var(--foreground) 6%, transparent); }
.supplier-hub .supplier-brand-card .supplier-identity-action[aria-pressed="true"] { color: var(--supplier-score); }
.supplier-hub .supplier-brand-card .supplier-identity-action > .icon { display: block; flex: 0 0 auto; width: 16px; height: 16px; }
.supplier-hub .supplier-brand-card .supplier-identity-action [data-follow-label] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0,0,0,0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.supplier-hub .supplier-brand-card .supplier-identity-action[data-action-hint]::before { position: absolute; z-index: 30; top: calc(100% - 2px); left: 50%; width: max-content; max-width: min(180px, 70vw); padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: 6px; color: var(--foreground); background: var(--surface); box-shadow: 0 6px 18px rgb(0 0 0 / 12%); content: attr(data-action-hint); font-size: 11px; line-height: 1.5; white-space: nowrap; pointer-events: none; opacity: 0; visibility: hidden; transform: translate(-50%, -2px); transition: opacity 80ms ease, transform 80ms ease; }
.supplier-hub .supplier-brand-card .supplier-identity-action[data-action-hint]:is(:hover, :focus-visible)::before { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.supplier-hub .supplier-brand-card .supplier-identity-action[aria-busy="true"] > .icon { animation: supplier-identity-busy 850ms linear infinite; }
.supplier-hub .supplier-brand-card .supplier-identity-action::after { inset: 5px; }
.supplier-hub [data-card-surface] button.supplier-identity-action.is-follow-success { color: var(--supplier-score); background: transparent; }
@keyframes supplier-identity-busy { to { transform: rotate(360deg); } }
@keyframes supplier-follow-ring { 0% { opacity: .45; transform: scale(.98); } 70% { opacity: 0; transform: scale(1.12, 1.2); } 100% { opacity: 0; transform: scale(1.12, 1.2); } }
@keyframes supplier-follow-check { 0% { opacity: .65; transform: scale(.65) rotate(-10deg); } 45% { opacity: 1; transform: scale(1.22) rotate(2deg); } 75% { transform: scale(.96); } 100% { opacity: 1; transform: scale(1); } }
@keyframes supplier-follow-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 767px) {
  .supplier-brand-card[data-card-surface] { padding: 20px; }
  .supplier-brand-card .supplier-brand-footer > .supplier-social-counts { gap: 0 4px; }
  .supplier-profile-hero[data-card-surface] { padding: 21px 20px; }
  .supplier-profile-hero .supplier-profile-brand { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 12px; }
  .supplier-profile-hero .supplier-profile-brand .supplier-brand-avatar { width: 48px; height: 48px; border-radius: 12px; }
  .supplier-profile-hero .supplier-profile-brand h1 { font-size: 19px; }
  .supplier-profile-hero .supplier-profile-score { min-width: 66px; margin: 0; padding: 0; border: 0; }
  .supplier-profile-hero .supplier-profile-score strong { font-size: 35px; }
  .supplier-profile-hero .supplier-profile-actions { grid-column: 2; grid-row: 2; justify-self: start; margin: -3px 0 0; }
  .supplier-profile-hero .supplier-profile-score { grid-column: 3; grid-row: 1 / 3; }
  .supplier-profile-hero .supplier-profile-summary { margin-top: 17px; }
  .supplier-profile-hero .supplier-profile-summary .supplier-brand-description { flex-basis: 100%; font-size: 11px; }
  .supplier-profile-hero .supplier-profile-meta { margin-top: 16px; padding-top: 15px; }
  .supplier-social-counts { gap: 6px 8px; }
  .supplier-social-count { min-height: 44px; }
}
@media (max-width: 359px) {
  .supplier-brand-card[data-card-surface] { padding: 17px; }
  .supplier-brand-card .supplier-brand-head { grid-template-columns: 42px minmax(0,1fr) auto; gap: 10px; }
  .supplier-brand-card .supplier-brand-avatar { width: 42px; height: 42px; }
  .supplier-brand-card .supplier-brand-score { min-width: 58px; padding-left: 5px; }
  .supplier-brand-card .supplier-brand-score strong { font-size: 31px; }
  .supplier-social-counts { gap: 6px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .supplier-card-entry::after, .supplier-hub [data-follow].is-follow-success > .icon, .supplier-hub [data-follow].is-follow-success::after { animation: none !important; transition: none !important; transform: none !important; }
  .supplier-hub [data-follow].is-follow-success > .icon path { animation: none !important; stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* Readonly counts retain a single footer row on narrow cards. */
@media (max-width: 420px) {
  #supplierHubGrid > .supplier-brand-card[data-card-surface] { block-size: 280px; min-block-size: 280px; grid-template-rows: 64px 20px 24px minmax(18px, 1fr) 45px; padding: 18px; }
  .supplier-brand-card .supplier-brand-head { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 8px; }
  .supplier-brand-card .supplier-brand-avatar { width: 40px; height: 40px; border-radius: 10px; }
  .supplier-brand-card .supplier-brand-score { min-width: 58px; padding-left: 4px; }
  .supplier-brand-card .supplier-brand-score strong { font-size: 31px; }
  .supplier-brand-card .supplier-brand-footer { grid-template-columns: minmax(0, 1fr); grid-template-rows: 44px; gap: 0 8px; }
  .supplier-brand-card .supplier-brand-footer > .supplier-social-counts { max-width: 100%; }
}

/* Compact, independent supplier relationships; comments remain read-only counts. */
.supplier-hub .supplier-social-counts .supplier-social-action { position: relative; justify-content: flex-start; gap: 3px; min-height: 44px; margin: 0; padding: 0 3px; border: 0; border-radius: 6px; background: transparent; font-family: inherit; cursor: pointer; transition: color 150ms ease, background-color 150ms ease; }
.supplier-hub .supplier-social-counts .supplier-social-action:is(:hover, .is-active) { color: var(--supplier-score, var(--accent-text)); background: color-mix(in srgb, var(--foreground) 5%, transparent); }
.supplier-hub .supplier-social-counts .supplier-social-action.is-active :is(.icon,b,small) { color: inherit; }
.supplier-hub .supplier-social-counts .supplier-social-action.is-active .icon { fill: color-mix(in srgb, currentColor 12%, transparent); }
.supplier-hub .supplier-social-counts .supplier-social-action:focus-visible { outline: 2px solid var(--supplier-score, var(--accent-text)); outline-offset: 2px; }
.supplier-hub .supplier-social-counts .supplier-social-action:disabled { opacity: .6; cursor: default; }
.supplier-hub .supplier-social-counts .supplier-social-action[aria-busy="true"] { cursor: progress; }
.supplier-hub .supplier-social-action[data-action-hint]::before { position: absolute; z-index: 30; bottom: calc(100% - 2px); left: 0; width: max-content; max-width: 180px; padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: 6px; color: var(--foreground); background: var(--surface); box-shadow: 0 5px 16px rgb(0 0 0 / 12%); content: attr(data-action-hint); font-size: 11px; line-height: 1.5; font-weight: 400; pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(2px); transition: opacity 80ms ease, transform 80ms ease; }
.supplier-hub .supplier-social-action[data-action-hint]:is(:hover, :focus-visible)::before { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .supplier-hub .supplier-social-action, .supplier-hub .supplier-social-action[data-action-hint]::before { transition: none; } }

/* Protect detail counts from artwork contrast without changing directory cards. */
.supplier-hub .supplier-profile-hero[data-card-surface] > .supplier-profile-meta > .supplier-social-counts {
  box-sizing: border-box;
  gap: 4px;
  padding: 0 6px;
  border: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: 0 1px 4px rgb(0 0 0 / 6%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.supplier-hub .supplier-profile-hero[data-card-surface] .supplier-social-count {
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  color: var(--foreground);
}
.supplier-hub .supplier-profile-hero[data-card-surface] .supplier-social-count :is(.icon, b, small) { color: inherit; }
.supplier-hub .supplier-profile-hero[data-card-surface] .supplier-social-action:is(:hover, .is-active) {
  color: var(--supplier-score);
  background: color-mix(in srgb, var(--foreground) 6%, transparent);
}
