/* ---------------------------------------------------------------------------
   Holodeck — shared UI tokens
   Deep graphite-indigo studio; the single signature accent is the "prism beam"
   gradient (ion cyan → violet → coral), used only for the wordmark rule and
   the AI action. Everything else stays quiet.
--------------------------------------------------------------------------- */

:root {
  --bg: #12141b;
  --bg-raised: #181b24;
  --panel: rgba(24, 27, 36, 0.88);
  --line: #262a37;
  --ink: #e8e9ee;
  --ink-muted: #9aa0b0;
  --ink-faint: #5c6272;
  --cyan: #64e2d8;
  --coral: #ff6e6e;
  --amber: #ffb454;
  --beam: linear-gradient(90deg, #64e2d8 0%, #8f8cf0 52%, #ff6e6e 100%);
  --radius: 10px;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Sora", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
}

::selection { background: rgba(100, 226, 216, 0.28); }

button {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, transform 80ms ease;
}
button:hover { border-color: var(--ink-faint); }
button:active { transform: translateY(1px); }
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

input[type="text"], textarea, select {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
}
textarea { font-family: var(--font-mono); font-size: 12.5px; line-height: 1.6; }

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  padding-bottom: 6px;
}
.wordmark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--beam);
  border-radius: 2px;
}

.btn-beam {
  background: var(--beam);
  border: none;
  color: #101218;
  font-weight: 600;
}
.btn-beam:hover { filter: brightness(1.08); }
.btn-beam:disabled { filter: grayscale(0.6) brightness(0.7); cursor: wait; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-muted);
  background: var(--bg-raised);
}
.chip .dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #101218;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
