/* Element defaults. Components style themselves in their own files. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/inter-latin-wght-normal-5e6b0c47.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/inter-latin-ext-wght-normal-a4181629.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-variant-numeric: tabular-nums;
}

body > header,
body > main,
body > footer {
  width: min(100% - 2 * var(--page-gutter), var(--content-width));
  margin-inline: auto;
}

body > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-m);
  padding-block: var(--space-m);
  border-bottom: var(--border-width) solid var(--color-border);
}

body > header a {
  color: var(--color-text);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
}

body > header .header-links {
  display: flex;
  align-items: baseline;
  gap: var(--space-m);
}

body > header .header-links a {
  color: var(--color-accent);
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-small);
}

body > main {
  padding-block: var(--space-l);
}

body > footer {
  padding-block: var(--space-l);
  color: var(--color-text-muted);
  font-size: var(--font-size-small);
}

h1,
h2,
h3 {
  line-height: var(--line-height-tight);
  margin-block: var(--space-l) var(--space-s);
}

h1 {
  font-size: var(--font-size-xlarge);
}

h2 {
  font-size: var(--font-size-large);
}

h3 {
  font-size: var(--font-size-base);
}

p,
ul,
ol {
  margin-block: 0 var(--space-m);
}

a {
  color: var(--color-accent);
}

table {
  width: 100%;
  border-collapse: collapse;
}

caption {
  text-align: start;
  font-weight: var(--font-weight-bold);
  padding-block-end: var(--space-xs);
}

th,
td {
  padding: var(--space-xs) var(--space-s);
  border-bottom: var(--border-width) solid var(--color-border);
  text-align: start;
}

abbr[title] {
  text-decoration: none;
  cursor: help;
}

pre,
code {
  font-family: var(--font-family-mono);
}

button,
input,
select {
  font: inherit;
}

/* Pages that are mostly a form or a short message keep the narrow width. */
.picker,
.email-form,
.status,
.notice,
.personal-link {
  max-width: var(--narrow-width);
}

/* "(yesterday)" after a date next to today: a hint, so muted and smaller. */
.relative-day {
  color: var(--color-text-muted);
  font-size: 0.85em;
  font-weight: var(--font-weight-normal);
}
