:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #20332e;
  background: #f3f5ef;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  padding: 26px 32px;
  border-bottom: 1px solid #ccd5c8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fbfcf8;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #53745b;
  font-weight: 700;
}
h1 {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  margin: 8px 0 0;
}
main {
  padding: 22px 30px;
}
#login {
  max-width: 640px;
  margin: 9vh auto;
  background: white;
  border: 1px solid #d3dccd;
  border-radius: 18px;
  padding: 42px;
}
#login h2 {
  font:
    32px Georgia,
    serif;
}
#login p {
  line-height: 1.7;
  margin-bottom: 28px;
}
button,
.button {
  font: inherit;
  background: #254f3c;
  color: white;
  padding: 10px 15px;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
#status {
  margin-right: auto;
}
.panes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pane {
  border: 1px solid #c9d1c5;
  border-radius: 10px;
  background: white;
  overflow: hidden;
  min-width: 0;
}
.pane h2 {
  font-size: 14px;
  padding: 14px 18px;
  margin: 0;
  border-bottom: 1px solid #d5dbd0;
  display: flex;
  justify-content: space-between;
}
.pane h2 span {
  color: #74836c;
  font-size: 12px;
  font-weight: 400;
}
#terminal {
  background: #141b19;
  height: 65vh;
  padding: 10px;
}
iframe {
  width: 100%;
  height: 59vh;
  border: 0;
}
#preview-note {
  font-size: 12px;
  padding: 0 18px;
  color: #6b7767;
}
footer {
  padding: 16px 30px;
  color: #71816d;
  font-size: 12px;
}
#teacher {
  padding: 16px;
  border: 1px solid #c9d1c5;
  border-radius: 8px;
  margin-bottom: 18px;
}
#teacher h2 {
  font-size: 15px;
  margin-top: 0;
}
.student {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
}
#error {
  color: #a42b22;
}
a {
  color: #285f43;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  .panes {
    grid-template-columns: 1fr;
  }
  header,
  main {
    padding: 18px;
  }
  h1 {
    font-size: 27px;
  }
}
