:root {
  color-scheme: dark;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  color: #e4e8ee;
  background: #11151c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
header,
main,
footer {
  max-width: 1180px;
  margin: auto;
  padding: 12px 24px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #303642;
}
.brand {
  font-weight: 750;
  font-size: 24px;
  text-decoration: none;
}
.brand span {
  display: inline;
  font-size: 12px;
  color: #9daaba;
  font-weight: 400;
  margin-left: 12px;
}
nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 8px;
  margin: 0 0 12px;
}
nav a {
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border: 1px solid #333c4b;
  border-radius: 6px;
  background: #1a202a;
  font-size: 14px;
}
nav a:hover,
nav a[aria-current='page'] {
  border-color: #8de3b6;
}
nav span {
  display: block;
  font-size: 12px;
  color: #a9b5c5;
  margin-top: 4px;
  line-height: 1.4;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.toolbar-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #a9b5c5;
}
.renderer-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.renderer-label {
  margin-right: 2px;
}
.renderer-group a {
  text-decoration: none;
  padding: 3px 8px;
  border: 1px solid #333c4b;
  border-radius: 4px;
  background: #1a202a;
  font-size: 12px;
  color: #e4e8ee;
}
.renderer-group a:hover,
.renderer-group a[aria-current='true'] {
  border-color: #8de3b6;
  color: #8de3b6;
}
.sep {
  color: #566376;
}
h1 {
  font-size: 17px;
  margin: 0;
}
.terminal-frame {
  position: relative;
  height: clamp(360px, 62vh, 700px);
  border: 1px solid #333c4b;
  border-radius: 10px;
  overflow: hidden;
  background: #0d1117;
  padding: 8px;
}
#terminal {
  height: 100%;
  width: 100%;
}
#status,
#help,
footer {
  color: #a9b5c5;
  font-size: 13px;
  line-height: 1.8;
}
#status[data-error] {
  color: #ffaaa1;
}
footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid #303642;
  margin-top: 24px;
}
a:focus-visible {
  outline: 2px solid #8de3b6;
  outline-offset: 4px;
}
@media (max-width: 650px) {
  header,
  main,
  footer {
    padding: 10px 14px;
  }
  .brand span {
    display: none;
  }
}
