/* dis.css: Kosmos Discover's departures from the stylesheets it shares with
   Kosmos. Loaded after them (base.html, registration/base.html,
   errors.html), so those files stay byte-for-byte Kosmos's and can be
   re-synced.

   Type size: one size, 1rem, for all text. The exceptions are badges
   (badges.css), the uppercase column labels, and the dev banner. Kosmos
   keeps a few smaller sizes (small buttons, help text, the upload drop
   zone) and the CSS reset shrinks <small>, <pre> and <code>; here they
   take the body size. */

/* Text in <small> takes the body size; a <small> around an icon (the
   dropdown chevrons) keeps the reset's size, as Kosmos uses it. */
small:not(:has(i)),
.small {
  font-size: 1em;
}

pre,
code,
kbd,
samp {
  font-size: 1em;
}

/* Kosmos: 0.8rem (buttons.css), "the icons outgrow it". Discover's small
   buttons carry labels; they keep the smaller padding of their context. */
.btn-sm,
.btn-slim {
  font-size: 1rem;
}

/* Kosmos: 0.75rem (forms.css). (Settings pages: apps/settings.css.) */
.help-text {
  font-size: 1rem;
}

/* Kosmos: 0.9rem and 0.8rem (forms.css). */
.dropzone,
.dropzone .dz-preview .dz-filename,
.dropzone .dz-preview .dz-size,
.dropzone .dz-preview .dz-remove {
  font-size: 1rem;
}

/* Kosmos: 0.875rem (sidebar.css), the email under the name in the account
   menu. */
.sidebar .sidebar-nav .account-dropdown .account-who span {
  font-size: 1rem;
}
