/* Terminal widget */
.terminal {
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: 8px;
}

.term-line {
  white-space: pre-wrap;
  line-height: 1.55;
  margin: 0.2rem 0;
}

.term-muted { opacity: 0.75; }
.term-accent { color: var(--accent-color); }

.term-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  margin-top: 0.75rem;
}

.term-prompt {
  color: var(--accent-color);
  white-space: nowrap;
}

.term-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
  font: inherit;
  padding: 0;
}

.term-cursor {
  display: inline-block;
  width: 0.6ch;
  animation: blink 1s step-end infinite;
  opacity: 0.9;
}

@keyframes blink {
  50% { opacity: 0; }
}
