:root {
  color-scheme: dark;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background: #10171d;
  color: #e7ecee;
  font-size: 15px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 32px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.eyebrow {
  font-size: .72rem;
  letter-spacing: .16em;
  color: #9aaeb7;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(1.7rem,4vw,2.8rem);
  letter-spacing: -.055em;
  line-height: 1.1;
  margin: 0;
  font-weight: 650;
}
h1 span {
  color: #8ad6aa;
}
.badge {
  border: 1px solid #3b6050;
  border-radius: 99px;
  padding: 7px 12px;
  color: #a3e2b9;
  font-size: .8rem;
  white-space: nowrap;
}
.intro {
  color: #a6b8c1;
  margin: 20px 0 30px;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  border: 1px solid #34444e;
  border-radius: 12px;
  overflow: hidden;
  background: #162129;
}
.editor-panel,
.output-panel {
  min-width: 0;
  padding: 22px;
}
.output-panel {
  background: #121c23;
  border-left: 1px solid #34444e;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  margin-bottom: 20px;
}
.panel-head label {
  font-size: .82rem;
  color: #a6b8c1;
}
select,
input,
textarea,
button {
  font: inherit;
  color: inherit;
}
select,
input {
  background: #101a21;
  border: 1px solid #435864;
  border-radius: 5px;
  padding: 8px 10px;
}
select {
  max-width: 60%;
}
label {
  display: block;
  font-size: .83rem;
}
input {
  width: 100%;
  margin-top: 8px;
}
textarea {
  display: block;
  width: 100%;
  min-height: 390px;
  resize: vertical;
  background: #101a21;
  border: 1px solid #34444e;
  border-radius: 0 5px 5px 5px;
  padding: 18px;
  font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size: 13px;
  line-height: 1.65;
  tab-size: 4;
  color: #e1edee;
}
.source-label {
  padding: 8px 14px;
  background: #243640;
  border: 1px solid #34444e;
  border-bottom: none;
  width: max-content;
  border-radius: 5px 5px 0 0;
  font-family: ui-monospace,monospace;
  color: #9ad9b6;
}
.hint,
.optional {
  color: #9aadb7;
  font-size: .76rem;
}
.hint {
  line-height: 1.5;
  margin: 10px 0 22px;
}
.optional {
  font-weight: 400;
  margin-left: 6px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.formatter-panel {
  margin-top: 28px;
}
button {
  border: 1px solid #4d655e;
  border-radius: 5px;
  background: transparent;
  padding: 10px 16px;
  cursor: pointer;
}
#run {
  background: #9cddb5;
  color: #10261c;
  border-color: #9cddb5;
  font-weight: 650;
}
#run span {
  margin-left: 18px;
  font-size: .7rem;
}
button:disabled {
  opacity: .45;
  cursor: default;
}
.shortcut {
  margin-left: auto;
  color: #91a5af;
  font-size: .7rem;
}
h2 {
  font-size: 1rem;
  margin: 0;
  font-weight: 550;
}
.exit {
  font-family: ui-monospace,monospace;
  font-size: .8rem;
  color: #a7bac3;
}
#exit-code {
  color: #e2eeee;
  margin-left: 8px;
}
#status {
  color: #b3c4ca;
  font-size: .85rem;
  min-height: 36px;
  line-height: 1.5;
}
h3 {
  font-size: .7rem;
  font-weight: 500;
  color: #94acb8;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 20px 0 12px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  min-height: 140px;
  margin: 0;
  padding: 15px;
  background: #0d161c;
  border: 1px solid #273b46;
  border-radius: 5px;
  font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size: 13px;
  line-height: 1.6;
}
#stdout {
  color: #b6e0c6;
}
#stderr {
  color: #f2bba8;
}
.about {
  font-size: .82rem;
  color: #9aaeb7;
  line-height: 1.6;
  max-width: 72ch;
  margin: 0 0 20px;
}
.about a {
  color: #8ad6aa;
}
footer {
  font-size: .76rem;
  color: #8ea4af;
  line-height: 1.8;
  margin-top: 24px;
}
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
pre:focus-visible {
  outline: 2px solid #b1efca;
  outline-offset: 3px;
}
@media (max-width:780px) {
  main {
    padding: 28px 16px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .output-panel {
    border-left: 0;
    border-top: 1px solid #34444e;
  }
  textarea {
    min-height: 320px;
  }
  .badge {
    display: none;
  }
  .shortcut {
    display: none;
  }
  .editor-panel,
  .output-panel {
    padding: 16px;
  }
}
