* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: #f5f7fa;
  color: #18202a;
  font-family: Inter, system-ui, sans-serif;
  display: flex;
}
.sidebar {
  width: 230px;
  padding: 28px 18px;
  border-right: 1px solid #e1e6eb;
  background: white;
}
.logo { font-weight: 900; letter-spacing: .08em; font-size: 13px; }
.server { margin: 18px 0 36px; color: #5d6874; font-size: 13px; }
.server span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #21a366; margin-right: 7px; }
.sidebar h3 { font-size: 12px; color: #7b8590; text-transform: uppercase; }
.project { width: 100%; border: 0; background: #eef2f6; padding: 11px; text-align: left; border-radius: 9px; }
.main { flex: 1; max-width: 1100px; padding: 42px; }
header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 7px; color: #7a8591; font-size: 13px; }
h1 { margin: 0; font-size: 34px; }
.command-card, .panel, .stats > div { background: white; border: 1px solid #e0e5ea; border-radius: 16px; }
.command-card { padding: 20px; }
label { display: block; font-weight: 750; margin-bottom: 10px; }
textarea { width: 100%; min-height: 130px; resize: vertical; border: 1px solid #d7dde4; border-radius: 12px; padding: 14px; font: inherit; outline: none; }
textarea:focus { border-color: #8795a5; }
.hint { margin-top: 10px; color: #7a8591; font-size: 12px; }
.primary { border: 0; background: #18202a; color: white; padding: 13px 19px; border-radius: 10px; font-weight: 750; cursor: pointer; }
.secondary { border: 1px solid #d7dde4; background: white; color: #18202a; padding: 13px 19px; border-radius: 10px; font-weight: 750; cursor: pointer; }
.secondary:disabled { opacity: .5; cursor: not-allowed; }
.actions { display: flex; gap: 10px; }
.history-item { padding: 10px 11px; border-radius: 9px; margin-bottom: 6px; background: #f6f8fa; font-size: 12px; cursor: pointer; border: 1px solid transparent; }
.history-item:hover, .history-item.active { border-color: #c5ced8; background: #eef2f6; }
.history-item strong { display: block; font-size: 12px; }
.history-item span { color: #7b8590; }
.stats > div { padding: 17px; }
.stats span { display: block; color: #7b8590; font-size: 12px; margin-bottom: 8px; }
.stats strong { font-size: 16px; word-break: break-word; }
.panel { margin-top: 14px; overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid #e7ebef; }
.panel-head h2 { margin: 0; font-size: 14px; }
.panel-head span { color: #8a949e; font-size: 12px; }
.timeline { padding: 18px; }
.timeline .event { padding: 8px 0; border-left: 2px solid #dfe4e9; padding-left: 14px; margin-left: 4px; }
.timeline .time { color: #8b949e; font-size: 11px; margin-right: 8px; }
.empty { color: #89939d; font-size: 13px; }
pre { margin: 0; padding: 18px; min-height: 160px; max-height: 360px; overflow: auto; background: #101419; color: #dce3ea; font-size: 12px; line-height: 1.7; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
@media (min-width: 901px) {
  .stats { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 800px) {
  .sidebar { display: none; }
  .main { padding: 20px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  header { align-items: start; flex-direction: column; }
}
