:root {
  color-scheme: dark;
  --bg: #07111c;
  --bg-panel: rgba(10, 24, 40, 0.86);
  --bg-card: rgba(20, 39, 61, 0.82);
  --line: rgba(140, 188, 255, 0.18);
  --text: #e8f1ff;
  --muted: #9eb3d1;
  --accent: #7ce2c3;
  --accent-strong: #4cc7a1;
  --danger: #ff7474;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(76, 199, 161, 0.15), transparent 28%),
    radial-gradient(circle at bottom right, rgba(124, 226, 195, 0.12), transparent 24%),
    var(--bg);
}

.shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 100vh;
}

.sidebar,
.content {
  padding: 24px;
}

.sidebar {
  border-right: 1px solid var(--line);
  background: rgba(5, 14, 24, 0.88);
}

.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel,
.card {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.card {
  background: var(--bg-card);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.small {
  font-size: 0.92rem;
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.between {
  justify-content: space-between;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.muted,
li,
label span {
  color: var(--muted);
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

input,
button {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font: inherit;
}

input {
  color: var(--text);
  background: rgba(4, 11, 19, 0.84);
}

button {
  cursor: pointer;
  color: #052419;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

button.ghost {
  color: var(--text);
  background: rgba(10, 24, 40, 0.62);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(124, 226, 195, 0.12);
  color: var(--accent);
  border: 1px solid rgba(124, 226, 195, 0.25);
}

pre {
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  background: rgba(4, 11, 19, 0.84);
  border: 1px solid rgba(140, 188, 255, 0.12);
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

