@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  background: #000;
  color: #c8c8c8;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.6;
}

#shell {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

#output {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
}

#output::-webkit-scrollbar {
  width: 4px;
}

#output::-webkit-scrollbar-track {
  background: transparent;
}

#output::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 2px;
}

.line {
  white-space: pre-wrap;
  word-break: break-word;
  min-height: 1.6em;
}

.g {
  color: #3a3;
}
.d {
  color: #555;
}
.b {
  color: #fff;
  font-weight: 500;
}
.r {
  color: #c44;
}

#input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #1a1a1a;
  padding-top: 0.75rem;
  flex-shrink: 0;
}

#prompt {
  color: #3a3;
  white-space: nowrap;
  font-family: inherit;
  font-size: 13px;
}

#cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #c8c8c8;
  font-family: inherit;
  font-size: 13px;
  caret-color: #3a3;
}

#cmd-input::placeholder {
  color: #333;
}
