/* 第七层 - 终端样式（浅色办公版） */

.terminal-window {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.terminal-titlebar {
  background: #ebebed;
  padding: 0.4rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.terminal-dots, .browser-dots {
  display: flex;
  gap: 0.4rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.terminal-title {
  color: #999;
  font-size: 0.75rem;
  font-family: var(--font-sans);
}

.terminal-body {
  flex: 1;
  padding: 0.75rem;
  overflow-y: auto;
  font-size: 0.82rem;
  line-height: 1.6;
  font-family: var(--font-mono);
  color: #333;
}

.terminal-line {
  margin-bottom: 0.2rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.terminal-line.dim { color: #aaa; }
.terminal-line.error { color: #dc2626; }
.terminal-line.success { color: #16a34a; }
.terminal-line.warn { color: #ca8a04; }
.terminal-line.dir { color: #2563eb; }
.terminal-line.file { color: #555; }
.terminal-line .clue { color: #ea580c; font-weight: 600; }

.terminal-input-line {
  display: flex;
  align-items: center;
  margin-top: 0.4rem;
}

.prompt {
  color: #16a34a;
  margin-right: 0.4rem;
  white-space: nowrap;
  font-size: 0.82rem;
}

.terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #333;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
}

.terminal-input::placeholder {
  color: #ccc;
}

.terminal-input:focus {
  caret-color: #2563eb;
}
