/* Terminal — thm-sh */

.term {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--term-bg);
  color: var(--term-fg);
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.55;
  cursor: text;
}

.term-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px 4px;
}

.term .line { white-space: pre-wrap; word-break: break-all; min-height: 1.55em; }
.term pre {
  margin: 0;
  font: inherit;
  white-space: pre;
  overflow-x: auto;
}

.term-prompt-row {
  display: flex;
  align-items: baseline;
}
.term-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--term-fg);
  font: inherit;
  caret-color: var(--accent);
  min-width: 40px;
}

/* tango-ish palette */
.t-r { color: #ef2929; }
.t-g { color: #8ae234; }
.t-y { color: #fce94f; }
.t-b { color: #729fcf; }
.t-p { color: #ad7fa8; }
.t-c { color: #34e2e2; }
.t-w { color: #ffffff; }
.t-dim { color: #888a85; }
.t-accent { color: var(--accent); }
.t-bold { font-weight: 700; }
