/* Semantic recipes. Component CSS owns layout and visual treatment only. */
.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: var(--weight-regular);
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
}

.consumer-app * {
  text-transform: none !important;
}

.consumer-app :where(h1, h2, h3, h4, h5, h6) {
  font-size: var(--type-400);
}

.type-display,
.home-copy h1,
.brand-discovery-hero h1 {
  font-size: var(--type-900);
}

.type-page-title,
.consumer-page > h1,
.consumer-page > [data-bookmark-heading] > h1,
.collection-header h1,
.brand-directory-header h1 {
  font-size: var(--type-800);
}

.type-section-title,
.identity-details h2,
.relationship-drawer h2,
.global-search-dialog h2,
.brand-overview-copy h2,
.brand-utility-intro h2,
.brand-neighbourhood h2,
.brand-year-group h2,
.identity-details-inline h2,
.brand-section-heading h1,
.brand-section-heading h2,
.known-fragrance-copy h2,
.brand-directory-header h2,
.brand-letter-group h2,
.brand-letter-group h3,
.preference-profile h2,
.collection-section-heading h2 {
  font-size: var(--type-700);
}

.current-fragrance-card h1 {
  font-size: var(--type-700);
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.type-subheading,
.consumer-empty h2,
.unplaced-message h2,
.bookmark-card strong,
.collection-card strong,
.personalized-card strong,
.search-result-group > header h2,
.search-brand-result strong,
.brand-family-primary strong,
.brand-discovery-card > a > strong,
.scent-territory-panel h3,
.brand-seed-results h3,
.characteristic-groups h3 {
  font-size: var(--type-600);
}

/* The introductory brand set is the primary decision point on the directory. */
.brand-intro-grid .brand-discovery-card > a > strong {
  font-size: var(--type-700);
}

.type-lead,
.brand-fragrance-card strong,
.search-result-group strong,
.brand-map-tooltip strong,
.brand-discovery-hero-copy > p:last-child,
.brand-seed-loading {
  font-size: var(--type-500);
}

.type-body,
.consumer-wordmark,
.home-intro,
.neighbour-link strong,
.search-field-wrap input,
.search-field-wrap button,
.search-suggestions > span,
.page-intro,
.consumer-empty,
.relationship-sections > section > p,
.brand-overview-copy > p:not(.consumer-eyebrow),
.known-fragrance-copy > p:last-child,
.scent-territory-panel > header > p:last-child,
.brand-seed-results > header > p:last-child,
.brand-discovery-card > a > p {
  font-size: var(--type-400);
}

.type-metadata,
.consumer-header nav a,
.consumer-footer,
.consumer-search label,
.search-suggestions small,
.entry-points,
.search-result-list > p,
.search-result-list > a > span:last-child,
.bookmark-card small,
.bookmark-card button,
.collection-card small,
.collection-card label,
.collection-card button,
.personalized-card small,
.personalized-card p,
.personalized-card-action,
.profile-explanation,
.profile-signals,
.profile-signals-empty,
.profile-status,
.profile-caveat,
.collection-total,
.collection-add,
.recommendations-explanation,
.unplaced-message > p,
.compact-search-toggle,
.lens-switcher a,
.exploration-stage-controls,
.exploration-stage-switcher,
.exploration-trail,
.neighbourhood-intro,
.current-brand,
.identity-facts,
.current-actions button,
.neighbour-link small,
.relationship-trigger,
.neighbour-comparison,
.spatial-note,
.note-pyramid :is(span,.fragrance-tag),
.relationship-tags span,
.relationship-caveat,
.relationship-sections h4,
.relationship-sections ul,
.difference-columns p,
.relationship-recenter,
.technical-disclosure,
.alternative-grid span,
.consumer-toast,
.brand-fragrance-card small,
.brand-fragrance-card span,
.overall-view,
.lens-disclosure > summary,
.lens-controls .lens-switcher a strong,
.lens-controls .lens-switcher a small,
.brand-view-switcher a,
.brand-map-tooltip,
.brand-map-legend,
.brand-neighbourhood > header p:not(.consumer-eyebrow),
.neighbourhood-count,
.neighbourhood-count small,
.neighbourhood-view-toggle button,
.brand-family-primary small,
.brand-family-primary > span,
.family-variants,
.neighbourhood-remainder > summary,
.brand-year-group > header span,
.brand-letter-nav a,
.brand-letter-group li small,
.neighbour-link .neighbour-brand,
.neighbour-link .neighbour-details,
.identity-details-intro,
.identity-details-inline .note-pyramid :is(span,.fragrance-tag),
.search-results-summary,
.search-result-group > header span,
.search-result-group small,
.search-result-group > a > span:last-child,
.brand-directory-shortcut,
.brand-directory-shortcut span,
.brand-card-footer small,
.brand-card-footer b,
.scent-territory-tabs button,
.brand-seed-search label,
.brand-seed-search .search-suggestions small,
.brand-section-heading > p,
.characteristic-groups > section > header p {
  font-size: var(--type-300);
}

/* Exceptional micro control: keeps repeated orbit actions subordinate to scent names. */
.neighbour-node .relationship-trigger {
  font-family: var(--font-micro);
  font-size: var(--type-100);
}

.type-micro,
.bookmark-count:not(:empty),
.collection-count:not(:empty),
.consumer-eyebrow,
.note-section-link,
.lens-switcher > span,
.identity-facts small,
.came-from-label,
.note-pyramid h3,
.relationship-sections h3,
.technical-disclosure dt,
.brand-view-switcher > span,
.brand-center-note span,
.search-result-group .search-result-type,
.search-suggestions .search-suggestion-heading,
.brand-card-topline em,
.brand-card-topline small,
.brand-neighbourhood-pills > span,
.seed-brand-example,
.neighbourhood::after {
  font-family: var(--font-micro);
  font-size: var(--type-200);
}

/* Existing consumer exceptions that render at 14px or use a micro token in
   component CSS still participate in the same two-font rule. */
.brand-neighbourhood-tooltip,
.supplemental-evidence-provenance {
  font-family: var(--font-micro);
}

.home-copy > .consumer-eyebrow {
  font-family: var(--font-consumer);
  font-size: var(--type-300);
}

.consumer-app :where(h1, h2, h3, h4, h5, h6),
.home-copy h1,
.current-fragrance-card h1,
.neighbour-link strong,
.bookmark-card strong,
.collection-card strong,
.personalized-card strong,
.brand-fragrance-card strong,
.brand-family-primary strong,
.brand-discovery-card > a > strong,
.search-result-group strong,
.brand-map-tooltip strong {
  font-weight: var(--weight-regular);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}

.type-display,
.type-page-title,
.type-section-title,
.type-subheading {
  font-weight: var(--weight-regular);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
}

.consumer-app :where(strong, b),
.consumer-wordmark,
.search-field-wrap button,
.consumer-header [aria-current="page"],
.lens-switcher [aria-current="page"],
.exploration-stage-switcher [aria-current="page"],
.brand-view-switcher [aria-current="page"],
.scent-territory-tabs [aria-selected="true"],
.current-actions [aria-pressed="true"] {
  font-weight: var(--weight-medium);
}

.panel-close,
.global-search-close,
.preference-dialog-close {
  font-size: var(--type-600);
  font-weight: var(--weight-regular);
  line-height: var(--leading-heading);
}

@media (max-width: 900px) {
  .type-display,
  .home-copy h1,
  .brand-discovery-hero h1 {
    font-size: var(--type-800);
  }
}

@media (max-width: 680px) {
  .consumer-wordmark {
    font-size: var(--type-300);
  }

  .consumer-header nav a {
    font-family: var(--font-micro);
    font-size: var(--type-200);
  }

  .consumer-header .primary-nav-icon {
    font-size: var(--type-500);
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  }

  .type-display,
  .home-copy h1,
  .brand-discovery-hero h1,
  .type-page-title,
  .consumer-page > h1,
  .consumer-page > [data-bookmark-heading] > h1,
  .collection-header h1,
  .brand-directory-header h1 {
    font-size: var(--type-700);
  }

  .type-section-title,
  .identity-details h2,
  .relationship-drawer h2,
  .global-search-dialog h2,
  .brand-overview-copy h2,
  .brand-utility-intro h2,
  .brand-neighbourhood h2,
  .brand-year-group h2,
  .identity-details-inline h2,
  .brand-section-heading h1,
  .brand-section-heading h2,
  .known-fragrance-copy h2,
  .brand-directory-header h2,
  .brand-letter-group h2,
  .brand-letter-group h3,
  .preference-profile h2,
  .collection-section-heading h2 {
    font-size: var(--type-600);
  }

  .current-fragrance-card h1 {
    font-size: var(--type-600);
  }

  .brand-discovery-card > a > strong,
  .brand-family-primary strong,
  .characteristic-groups h3 {
    font-size: var(--type-500);
  }

  .brand-intro-grid .brand-discovery-card > a > strong {
    font-size: var(--type-600);
  }
}

.note-tag-count {
  display: inline-block;
  margin-left: 6px;
  padding-left: 6px;
  border-left: 1px solid var(--separator);
  color: var(--muted);
  font-family: var(--font-micro);
  font-size: var(--type-200);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
