/* Shared compact application typography. Keep rem geometry and print documents intact.
 * Both application entrypoints import this sheet after the component styles. */
@media screen {
  /* Quiet stylesheet adoption also cleans generated covers in older open bundles. */
  .reading-preview:has(.reading-title-preview),
  .catalogue-cover:has(.reading-title-preview) {
    display: none;
  }
  :root {
    --type-body: .875rem;
    --type-label: .8125rem;
    --type-meta: .75rem;
    --type-page: 1.125rem;
    --type-section: 1rem;
    --type-record: .9375rem;
  }
  body { font-size: var(--type-body); line-height: 1.5; font-weight: 400; }

  /* body */
  html p,
  html .intro,
  html .subtitle,
  html .wordmark span,
  html nav a,
  html nav button,
  html .studio-link,
  html .event-label,
  html .button,
  html .event-band p,
  html .date-poster span,
  html .link-row p,
  html .session-time,
  html .session-time span,
  html .session-copy p,
  html .save-session,
  html .notice,
  html .access-form p,
  html .studio-header p,
  html .revision-list p,
  html .topbar .event-label,
  html .button.compact,
  html .appearance,
  html .portal-title,
  html .toolbar-actions .event-label,
  html .program-submenu a,
  html .history-controls button,
  html .category-navigation a,
  html .return-link,
  html .session-step-controls a,
  html .session-step-controls > span,
  html .block-detail-link,
  html .topbar .share-action .button,
  html .community-section button:not(.button):not([role="tab"]),
  html .library-service-links a,
  html .catalogue-suggestions .button,
  html .storage-notice,
  html .provider-notice,
  html .conference-copy p,
  html .home-agenda > .muted,
  html .result-summary .text-button,
  html .auth-brand,
  html .auth-description,
  html .auth-tabs a,
  html .auth-card .notice,
  html .studio-security,
  html .registration-identity,
  html .auth-role-face,
  html .announcement-heading>span,
  html .announcement-help,
  html .media-text-button,
  html .media-selected-file button,
  html .media-review-note,
  html .profile-heading > span,
  html .profile-later,
  html .profile-connected-status,
  html .network-auth .auth-card .profile-connect,
  html .profile-text-button,
  html .profile-import-actions .button,
  html .profile-status,
  html .studio .studio-sidebar .wordmark span,
  html .studio .studio-sidebar nav button,
  html .studio .studio-header .actions :is(button, a),
  html .venue-location-list button,
  html body,
  html h4,
  html h5,
  html h6,
  html summary,
  html input,
  html select,
  html textarea,
  html button {
    font-size: var(--type-body);
  }

  /* meta */
  html small,
  html .small,
  html .wordmark small,
  html footer p,
  html footer a,
  html .localbar,
  html .topic,
  html .edit-status,
  html .metrics span,
  html .reader-announcement,
  html .breadcrumbs li,
  html .community-message time,
  html .community-fingerprint,
  html .conference-dashboard h2 small,
  html .home-session time,
  html .home-save,
  html .result-summary,
  html .active-filters,
  html .auth-password-guide,
  html .auth-role-note,
  html .auth-help,
  html .auth-footer,
  html .registration-link,
  html .announcement-meta,
  html .media-uploader,
  html .media-help,
  html .media-status,
  html .media-publication-hold,
  html .media-progress,
  html .media-credits,
  html .profile-privacy-link,
  html .profile-activation,
  html .profile-privacy,
  html .profile-link-hint,
  html .profile-conflict-value,
  html .profile-linkedin p,
  html .profile-import-option,
  html .profile-leave p,
  html .studio .studio-sidebar .wordmark small {
    font-size: var(--type-meta);
  }

  /* label */
  html .field,
  html legend,
  html .studio-label,
  html .share-action label,
  html .auth-roles legend,
  html .media-source legend,
  html .media-field,
  html .profile-import-label,
  html label,
  html th {
    font-size: var(--type-label);
  }

  /* record */
  html h3,
  html .link-row h3,
  html .revision-list h3,
  html .feedback-record h3,
  html .document-link h2,
  html .program-block,
  html .resource-link h3,
  html .reading-collection .reading-item h2,
  html .reading-collection .reading-item h3,
  html .library-suggestions h3,
  html .home-session-title,
  html .announcement-item h3,
  html .media-card h2,
  html .media-card h3,
  html .profile-conflict h3,
  html .studio .studio-main h3,
  html .studio .studio-main .media-card :is(h2, h3),
  html .studio .studio-main .reading-item :is(h2, h3) {
    font-size: var(--type-record);
  }

  /* section */
  html h2,
  html .event-band h2,
  html .session-copy h2,
  html .empty h2,
  html .material h2,
  html .access-form h2,
  html .feedback-form h2,
  html .editor h2,
  html .live-preview h2,
  html .two-columns h2,
  html .program-group summary,
  html .public-library h2,
  html .library-resources h2,
  html .conference-copy h2,
  html .conference-dashboard h2,
  html .announcement-heading h2,
  html .announcement-studio h2,
  html .media-intake h2,
  html .profile-conflicts h2,
  html .profile-import h2,
  html .profile-leave h2,
  html .studio .studio-main :is(h1, h2),
  html .studio .studio-main .live-preview > h2,
  html .arrival-map h2 {
    font-size: var(--type-section);
  }

  /* page */
  html h1,
  html .date-poster strong,
  html .initials,
  html .studio-header h1,
  html .metrics strong,
  html .reading-pane h1,
  html .studio-auth h1,
  html .conference-copy h1,
  html .auth-card h1,
  html .profile-heading h1,
  html .studio .studio-header h1 {
    font-size: var(--type-page);
  }

  html .event-label,
  html .button,
  html .actions > a:not(.button),
  html .session-time,
  html .session-time span,
  html .field,
  html .field input,
  html .field textarea,
  html .field select,
  html .program-group summary small,
  html .calendar-options small,
  html .conference-dashboard h2 small,
  html .network-auth .auth-card .profile-connect,
  html .studio .studio-sidebar .wordmark small,
  html .studio .studio-label,
  html .studio .studio-sidebar nav button,
  html .studio .studio-header .actions :is(button, a),
  html .floor-pin,
  html body,
  html p,
  html label,
  html input,
  html select,
  html textarea,
  html button {
    font-weight: 400;
  }

  html .wordmark span,
  html nav .active,
  html .date-poster strong,
  html legend,
  html .portal-title,
  html .program-submenu .current-category,
  html .program-group summary,
  html .community-sections a.active,
  html nav.category-navigation a.active,
  html nav.category-navigation a.active:hover,
  html nav.category-navigation a.active:active,
  html .home-session-title,
  html .auth-brand,
  html .announcement-read h3,
  html .speaker-submissions legend,
  html .speaker-submissions summary,
  html .studio .studio-sidebar .wordmark span,
  html .studio .studio-sidebar nav button.active,
  html .studio .studio-main :is(h1, h2),
  html .studio .studio-main h3,
  html .studio .studio-header h1,
  html .studio .studio-main .live-preview > h2,
  html .studio .studio-main .media-card :is(h2, h3),
  html .studio .studio-main .reading-item :is(h2, h3),
  html h1,
  html h2,
  html h3,
  html h4,
  html h5,
  html h6,
  html strong,
  html b,
  html th,
  html summary {
    font-weight: 500;
  }

  html h1, html h2, html h3, html h4, html h5, html h6,
  html .wordmark span, html .auth-brand, html .studio-label,
  html .conference-copy h1, html .auth-card h1,
  html .date-poster strong, html .metrics strong {
    letter-spacing: normal;
    line-height: 1.35;
  }
  html p, html .intro, html .subtitle, html .conference-copy p, html .event-band p {
    line-height: 1.5;
  }
  @media (max-width: 800px) {
    html input:not([type=checkbox]):not([type=radio]):not([type=range]),
    html select, html textarea, html .profile-card textarea { font-size: 1rem; }
  }
}
