html {
  height: 100%;
  font-family: 'IBM Plex Sans', Arial, sans-serif;
  font-size: 18px;

  --small: 14px;
  --medium: 18px;
  --large: 22px;
  --xlarge: 28px;

  --shadow: #10101090;
  
  --gray-1: #1c2028;
  --gray-2: #48505c;
  --gray-3: #a0a4b0;
  --gray-4: #d0d8e0;
  --gray-5: #e4e8f0;
  --off-white: #f8fafe;

  --gray-blue: #b0c0e0;

  --blue-1: #08244c;
  --blue-2: #203084;
  --blue-3: #3048dc;
  --blue-5: #3c64f4;
  --blue-6: #5498ff;
  --blue-bg: #d0e0ff;

  --red-1: #501014;
  --red-2: #ac283c;
  --red-3: #d02840;
  --red-4: #f43c4c;
  --red-5: #ff7484;
  --red-bg: #ffd4d8;
  --red-text: #6c102c;

  --green-1: #003c20;
  --green-2: #206848;
  --green-3: #3c9868;
  --green-4: #60d0a0;
  --green-5: #c0f0cc;
  --green-bg: #e4ffe6;

  --yellow-1: #dcac7c;
  --yellow-2: #f4c080;
  --yellow-3: #ffd484;
  --yellow-4: #ffec8c;
  --yellow-bg: #fff0c0;
  --yellow-text: #885010;
}

body {
  height: 100%;
  margin: 0;
  padding: 0;
}

a, a:visited {
  color: var(--blue-3);
  font-weight: 500;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: .2em 0;
}

button {
  border: .5px solid black;
  border-radius: 4px;
  padding: 2px 4px;
  background-color: white;
  cursor: pointer;
  outline: none;
  box-shadow: 1.5px 2px 4px var(--shadow);
}
button:active {
  box-shadow: 0 0 1px black;
}
button.large {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: var(--large);
  font-weight: 500;
}
button.icon {
  width: 20px;
  height: 20px;
  border-radius: 2px;
  padding: 2px;
  vertical-align: middle;
}
button.icon.large {
  width: 32px;
  height: 32px;
}
button.icon img {
  display: block;
  width: 100%;
  height: 100%;
}

table {
  margin: 0;
  border-collapse: collapse;
}
th {
  padding: 0 8px;
  font-size: var(--large);
  font-weight: 500;
  text-align: left;
}
tr:not(:last-of-type) {
  border-bottom: 1.5px solid var(--gray-1);
}
td {
  padding: 6px 8px;
}

code {
  background: var(--blue-bg);
  padding: 1px 4px 2px;
}

code.block {
  display: block;
  max-width: 800px;
  border: 1px solid black;
  padding: 4px 8px;
  white-space: nowrap;
  overflow-x: auto;
}

.card {
  display: inline-block;
  border-radius: 6px;
  padding: 4px 6px;
  background-color: var(--off-white);
  box-shadow: 1.5px 2px 6px var(--shadow);
}

.badge {
  display: inline-block;
  border: 3px solid var(--gray-1);
  border-radius: 5px;
  padding: 0 6px 2px;
  font-size: var(--small);
  font-weight: 500;
  white-space: nowrap;
}

.status {
  display: inline-block;
  border-radius: 4px;
  padding: 1px 6px 4px;
  font-weight: 500;
}
.status.pending { background: var(--gray-blue); }
.status.canceled { background: var(--gray-4); }
.status.in-progress { background: var(--yellow-3); }
.status.complete { background: var(--green-4); }
.status.error { background: var(--red-5); }

/*
 * Hide elements that can't be `display: none` or `visibility: hidden` for functionality or
 * accessibility reasons.
 */
.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
