:root {
  font-family: system-ui, sans-serif;
  color: #e9eef5;
  background: #101722;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}
header {
  border-bottom: 1px solid #334154;
}
h1 {
  font-size: 24px;
  margin: 0;
}
h2 {
  font-size: 19px;
}
p {
  overflow-wrap: anywhere;
}
section {
  background: #182230;
  border: 1px solid #334154;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
  min-width: 0;
}
label {
  display: block;
  margin: 10px 0;
}
textarea,
select,
input,
button {
  font: inherit;
  border: 1px solid #607189;
  border-radius: 6px;
  padding: 10px;
  max-width: 100%;
}
textarea,
select,
input {
  width: 100%;
  background: #101722;
}
button {
  background: #356da5;
  color: white;
  cursor: pointer;
  margin: 5px 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
textarea:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #9bd9ff;
  outline-offset: 2px;
}
.columns {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
}
#tasks button {
  width: 100%;
  text-align: left;
  background: #233449;
  overflow-wrap: anywhere;
}
#error {
  color: #ffb7b7;
  white-space: pre-wrap;
}
#sync,
.muted {
  color: #a9b8c9;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}
svg {
  width: 100%;
  min-height: 160px;
}
svg text {
  fill: #e9eef5;
  font: 12px system-ui;
}
svg rect {
  fill: #273e57;
  stroke: #6f92b6;
}
svg line,
svg polyline {
  fill: none;
  stroke: #96b3cd;
  stroke-width: 2;
}
.graph {
  overflow: auto;
}
ol {
  padding-left: 22px;
}
li {
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .columns {
    display: block;
  }
  header,
  main {
    padding: 14px;
  }
  section {
    padding: 14px;
  }
  button {
    min-height: 44px;
  }
}
