/* Shared screen typography. Keep code, marketplace previews, and print layouts
   on their purpose-specific fonts; changing a weight does not make a heading. */
:root {
    --throne-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --throne-font-heading: var(--throne-font);
}

body {
    font-family: var(--throne-font);
}

button, input, select, textarea {
    font-family: inherit;
}

body :is(h1, h2, h3, h4, h5, h6, [role="heading"], .throne-heading,
    .throne-page-title, .tr-page-title, .tr-panel-title, .tr-dialog-title,
    .section-title, .chart-title, .modal-title, .limits-panel-title,
    .advanced-pricing-title, .create-step-title, .create-card-heading,
    .create-section-heading, .export-dialog-section-title, .list-edit-extra-title,
    .matching-rule-title, .matching-settings-title, .cs-results-title,
    .cs-empty-title, .inventory-catalog-rail-title, .list-edit-photo-heading,
    .lot-description-heading, .lot-image-title, .top-cards-title,
    .quick-card-title) {
    font-family: var(--throne-font-heading);
}

/* Wordmarks share the same family as the rest of Room. */
.sidebar-brand, .brand-wordmark {
    font-family: var(--throne-font-heading);
}

/* Heading containers include helper copy and actions, which remain body text. */
body :is(h1, h2, h3, h4, h5, h6, [role="heading"], .throne-heading,
    .throne-page-title, .tr-page-title, .tr-panel-title, .tr-dialog-title)
    :is(button, input, select, textarea, small) {
    font-family: var(--throne-font);
}

/* Seller-authored listing HTML is a preview of the marketplace, not Room UI. */
body :is(.description-preview-frame, .lot-final-description-frame)
    :is(h1, h2, h3, h4, h5, h6) {
    font-family: inherit;
}
