:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-soft: #0d1b2f;
  --card: rgba(13, 27, 47, 0.88);
  --line: rgba(88, 166, 255, 0.22);
  --text: #e6edf3;
  --muted: #93a4ba;
  --accent: #58a6ff;
  --accent-2: #7ee787;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #10233c, var(--bg));
  color: var(--text);
}

.app-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.eyebrow, .label, .hint {
  color: var(--muted);
}
.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.subtitle { margin-top: -4px; color: var(--muted); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  margin-top: 16px;
  backdrop-filter: blur(12px);
}
.status-card {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
textarea, input, button {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 14px;
  font: inherit;
}
textarea, input {
  margin-top: 8px;
  background: var(--bg-soft);
  color: var(--text);
}
button {
  background: transparent;
  color: var(--text);
}
button.primary {
  background: linear-gradient(135deg, var(--accent), #4dd0e1);
  color: #04111f;
  font-weight: 700;
}
.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.response-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.response-head button {
  width: auto;
  min-width: 110px;
}
.reply-box {
  margin-top: 10px;
  min-height: 120px;
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  white-space: pre-wrap;
}
summary { cursor: pointer; }

@media (max-width: 640px) {
  .status-card, .actions {
    grid-template-columns: 1fr;
  }
}
