body {
  margin: 0;
  background: #02070a;
  color: #7fffe0;
  font-family: "Courier New", monospace;
  font-size: 30px;
  image-rendering: pixelated;
}

.terminal-shell {
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  padding: 24px;
}

.terminal-header {
  border: 2px solid #00ffd0;
  padding: 18px;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1.6;
  background: #000;
  box-shadow: 0 0 10px rgba(0,255,208,0.15);
}

.terminal-screen {
  border: 2px solid #00ffd0;
  background: #000;
  min-height: calc(100vh - 160px);
  padding: 24px;
  box-sizing: border-box;
}

.lead-form,
.chat-box {
  width: 100%;
}

.hidden {
  display: none !important;
}

.line {
  margin-bottom: 8px;
  white-space: pre-wrap;
  word-break: break-word;
}

.system { color: #95ffe9; }
.agent { color: #7fffe0; }
.client { color: #ffffff; }

.lead-form label {
  display: block;
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 18px;
}

.lead-form input,
.message-row input {
  width: 100%;
  box-sizing: border-box;
  background: #001014;
  border: 2px solid #00ffd0;
  color: #7fffe0;
  padding: 16px;
  font-family: inherit;
  font-size: 20px;
  outline: none;
}

.lead-form button {
  margin-top: 20px;
  background: #001014;
  color: #7fffe0;
  border: 2px solid #00ffd0;
  padding: 16px 20px;
  font-family: inherit;
  font-size: 20px;
  cursor: pointer;
}

.messages {
  min-height: 65vh;
  max-height: 65vh;
  overflow-y: auto;
  margin-bottom: 20px;
  padding-right: 10px;
}

.message-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.prompt {
  font-size: 24px;
  color: #00ffd0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 20px;
}

.session-list-panel,
.session-detail-panel {
  border: 2px solid #00ffd0;
  background: #000;
  padding: 18px;
  min-height: 80vh;
}

.panel-title {
  margin-bottom: 14px;
  font-size: 20px;
}

.session-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-item {
  border: 1px solid #00ffd0;
  padding: 12px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
  background: #00070a;
}

.session-item:hover {
  background: #001014;
}

.session-detail {
  font-size: 18px;
  line-height: 1.6;
  white-space: pre-wrap;
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .messages {
    min-height: 50vh;
    max-height: 50vh;
  }

  body {
    font-size: 18px;
  }

  .terminal-header,
  .lead-form input,
  .lead-form button,
  .message-row input {
    font-size: 16px;
  }
}

.session-actions {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-btn {
  background: #001014;
  color: #7fffe0;
  border: 1px solid #00ffd0;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.mini-btn:hover {
  background: #002028;
}