:root {
  color-scheme: light dark;
  font: 16px/1.5 system-ui, sans-serif;
}
body {
  margin: 0;
  background: #f3f5f7;
  color: #18212b;
}
.shell {
  box-sizing: border-box;
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}
h1, h2 { line-height: 1.2; }
h1 { margin-bottom: .25rem; }
.lead { margin-top: 0; color: #4e5b68; }
.card {
  margin-top: 2rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #d7dde3;
  border-radius: .5rem;
  box-shadow: 0 2px 10px #18212b12;
}
form, #share-result { display: grid; gap: .6rem; }
label { font-weight: 600; margin-top: .5rem; }
input, textarea, select, button, .button {
  box-sizing: border-box;
  width: 100%;
  padding: .65rem .75rem;
  font: inherit;
  border: 1px solid #aab5c0;
  border-radius: .35rem;
}
textarea { resize: vertical; }
button, .button {
  margin-top: .75rem;
  background: #1259a5;
  color: white;
  border-color: #1259a5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
button:hover, .button:hover { background: #0d4785; }
.status { min-height: 1.5em; }
.muted, footer { color: #5d6975; }
pre {
  max-height: 30rem;
  overflow: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 1rem;
  background: #f3f5f7;
  border-radius: .35rem;
}
footer { margin-top: 2rem; font-size: .9rem; }
@media (prefers-color-scheme: dark) {
  body { background: #18212b; color: #edf2f7; }
  .lead, .muted, footer { color: #b7c2cc; }
  .card { background: #24313d; border-color: #41505e; }
  input, textarea, select, pre { background: #18212b; color: #edf2f7; border-color: #617181; }
  pre { background: #18212b; }
}
