/* shadcn docs dark (ui.shadcn.com) — zinc near-black, not umber/brass. */
:root {
  color-scheme: dark;
  --mast: 3.5rem;
  --ground: #0a0a0a;
  --ground-2: #171717;
  --ink: #fafafa;
  --muted: #a1a1a1;
  --faint: #737373;
  --brass: #e5e5e5;
  --brass-dim: #a1a1a1;
  --olive: #d4d4d4;
  --warn: #f5a524;
  --danger: #ff6568;
  --glass: rgba(23, 23, 23, 0.62);
  --glass-strong: rgba(10, 10, 10, 0.82);
  --edge: #ffffff1a;
  --edge-strong: #ffffff2e;
  --highlight: rgba(255, 255, 255, 0.08);
  --radius: 8px;
  --font-ui: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  --font-display: "Atkinson Hyperlegible", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.55 var(--font-ui);
}

body.iterview-shell {
  min-height: 100vh;
  background: var(--ground);
}

body.iterview-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

body.iterview-shell > * { position: relative; z-index: 1; }

a { color: var(--ink); }
a:hover { color: #fff; }

body.iterview-shell button,
body.iterview-shell input,
body.iterview-shell textarea,
body.iterview-shell select {
  font: inherit;
  color: inherit;
  border-radius: 6px;
}

body.iterview-shell button {
  cursor: pointer;
  background: #262626;
  color: var(--ink);
  border: 1px solid var(--edge);
  padding: 0.45rem 0.95rem;
}
body.iterview-shell button:hover:not(:disabled) {
  background: #404040;
  border-color: var(--edge-strong);
}
body.iterview-shell button:disabled { color: var(--faint); cursor: default; }
body.iterview-shell button.primary {
  background: #fafafa;
  border-color: #fafafa;
  color: #171717;
}

body.iterview-shell input[type="text"],
body.iterview-shell input[type="password"],
body.iterview-shell textarea,
body.iterview-shell select {
  background: #171717;
  border: 1px solid var(--edge);
  padding: 0.5rem 0.65rem;
}
body.iterview-shell input:focus,
body.iterview-shell textarea:focus,
body.iterview-shell select:focus {
  outline: 2px solid #737373;
  outline-offset: 1px;
}

.glass {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.1);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 var(--highlight);
}

.pill {
  font-size: 0.72rem;
  padding: 0.08rem 0.45rem;
  border-radius: 6px;
  border: 1px solid var(--edge);
}
.pill.completed { color: #d4d4d4; border-color: #ffffff2e; }
.pill.planned { color: var(--warn); border-color: rgba(245, 165, 36, 0.35); }
