* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1b1f24;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #e6e6e6;
}
.card {
  background: #262b32;
  padding: 32px 36px;
  border-radius: 12px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
h1 { font-size: 1.3rem; margin-bottom: 20px; }
.hidden { display: none; }
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #9aa4b2;
}
.link { color: #7cb0ff; text-decoration: none; }
.status-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #383e47;
  font-size: 0.95rem;
}
.actions {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.btn {
  flex: 1;
  display: inline-block;
  text-align: center;
  background: #4caf7d;
  color: #0b1210;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary { background: #e05555; color: #200b0b; }
.message { margin-top: 14px; font-size: 0.85rem; color: #9aa4b2; min-height: 1em; }
.console { margin-top: 24px; border-top: 1px solid #383e47; padding-top: 16px; }
.console h2 { font-size: 1rem; margin: 0 0 10px; }
.console pre {
  background: #14171b;
  color: #b6f7c1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  padding: 10px;
  border-radius: 6px;
  height: 180px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 10px;
}
.console-form { display: flex; gap: 8px; }
.console-form input {
  flex: 1;
  background: #1b1f24;
  border: 1px solid #383e47;
  border-radius: 6px;
  color: #e6e6e6;
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
}
.console-form .btn { flex: 0 0 auto; padding: 8px 16px; }
