/* IRA HER demo -- the shell's own styles.
 *
 * Tailwind (CDN) does the layout; this file holds the theme and the handful of
 * compound pieces the sidebar needs. Palette follows Substation: a dark
 * sidebar against a light content area, not a dark app.
 */

:root {
  --bg: #f5f7fc;
  --ink: #0d1330;
  --primary: #0052ff;
  --magenta: #ff2d87;
  --yellow: #ffd60a;
  --lime: #a3e635;

  --side: #0d1330;
  --side-ink: #e8ebf6;
  --side-muted: #8b93b8;
  --side-line: rgba(255, 255, 255, 0.09);

  --card: #ffffff;
  --line: #e2e7f2;
  --muted: #5d6688;

  --sidebar-w: 13.5rem;
}

html, body { font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif; }
.serif { font-family: "Fraunces", Georgia, serif; }
.mono  { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* ------------------------------- sidebar ------------------------------- */

.sidebar {
  width: var(--sidebar-w);
  background: var(--side);
  color: var(--side-ink);
  border-right: 1px solid var(--side-line);
}

.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.sub {
  font-size: 0.6875rem;
  color: var(--side-muted);
  letter-spacing: 0.01em;
}

.rail-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--side-muted);
  padding: 0.25rem 0.5rem 0.4rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  line-height: 1.25rem;
  color: var(--side-muted);
  text-decoration: none;
}

.nav-item:hover { background: rgba(255, 255, 255, 0.05); color: var(--side-ink); }

.nav-item-on,
.nav-item-on:hover {
  background: rgba(0, 82, 255, 0.18);
  color: #fff;
  font-weight: 500;
}

.nav-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.nav-item-on .nav-dot { background: var(--primary); opacity: 1; }

/* --------------------------- sign-in slot ------------------------------ */

/* Dashed on purpose: this is a marked-out hole, and it should not be mistaken
 * for a sign-in control that is merely broken. */
.login-slot {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 0.5rem;
  padding: 0.5rem 0.625rem 0.625rem;
}

.slot-tag {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow);
}

.slot-title { font-size: 0.8125rem; font-weight: 500; color: var(--side-ink); }

.slot-note {
  font-size: 0.6875rem;
  line-height: 1.15rem;
  color: var(--side-muted);
  margin-top: 0.125rem;
}

.build-line {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.25rem 0.125rem;
  font-size: 0.625rem;
  color: var(--side-muted);
}

.slot-pill {
  border: 1px solid var(--side-line);
  border-radius: 999px;
  padding: 0.0625rem 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* ------------------------------- content ------------------------------- */

.content-head {
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 0.5rem 1rem;
}

.burger {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.page-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.page-lede { font-size: 0.9375rem; line-height: 1.6rem; color: var(--muted); max-width: 46rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.25rem 1.375rem;
}

.card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.125rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip-open { border-color: rgba(255, 214, 10, 0.55); background: #fffbe8; color: #7a5c00; }

.scope-list { font-size: 0.875rem; line-height: 1.55rem; color: var(--ink); }
.scope-list li { padding-left: 1rem; position: relative; }
.scope-list li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.72rem;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--primary);
}
