/* Fireteam vignette unit test — minimal styles matching the live UI. */

:root {
  --bg: #fafafa;
  --fg: #1a1a1a;
  --muted: #666;
  --border: #e0e0e0;
  --kern: #6b4eff;
  --lattice: #2d8f4e;
  --veer: #d97706;
  --draft-bg: #f0f0ff;
  --critique-bg: #fff4f0;
  --revise-bg: #f0fff4;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

header {
  padding: 2rem;
  border-bottom: 1px solid var(--border);
  background: white;
}

header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 1.6rem;
}

.tagline {
  margin: 0 0 0.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.banner {
  margin: 0;
  padding: 0.6rem 1rem;
  background: #fff4e0;
  border: 1px solid #ffd591;
  border-radius: 4px;
  font-size: 0.85rem;
  display: inline-block;
}

main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 2rem;
}

section {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

section h2 {
  margin-top: 0;
}

dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
  font-size: 0.95rem;
}

dt {
  color: var(--muted);
  font-weight: 500;
}

dd {
  margin: 0;
}

.input-text {
  font-family: ui-monospace, "SF Mono", monospace;
  background: var(--bg);
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

.persona {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.85rem;
  font-weight: 500;
}

.persona.kern { background: rgba(107, 78, 255, 0.1); color: var(--kern); }
.persona.lattice { background: rgba(45, 143, 78, 0.1); color: var(--lattice); }
.persona.veer { background: rgba(217, 119, 6, 0.1); color: var(--veer); }

#synthesis {
  border-left: 4px solid var(--veer);
}

.synthesis-text {
  font-size: 1rem;
  line-height: 1.65;
}

.synthesis-text ol { padding-left: 1.5rem; }
.synthesis-text li { margin-bottom: 0.5rem; }

.round-marker {
  margin: 2rem 0 1rem 0;
  padding: 0.5rem 1rem;
  background: var(--fg);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  display: inline-block;
}

.round-marker:first-of-type {
  margin-top: 1rem;
}

.message {
  border-left: 4px solid;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0 4px 4px 0;
}

.message.kern { border-color: var(--kern); background: rgba(107, 78, 255, 0.05); }
.message.lattice { border-color: var(--lattice); background: rgba(45, 143, 78, 0.05); }
.message.veer { border-color: var(--veer); background: rgba(217, 119, 6, 0.05); }

.message.draft { background: var(--draft-bg); }
.message.critique { background: var(--critique-bg); }
.message.revise { background: var(--revise-bg); }

.message-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.message-persona {
  font-family: ui-monospace, "SF Mono", monospace;
}

.message-persona.kern { color: var(--kern); }
.message-persona.lattice { color: var(--lattice); }
.message-persona.veer { color: var(--veer); }

.message-content {
  white-space: pre-wrap;
  font-size: 0.95rem;
  line-height: 1.6;
}

a {
  color: var(--kern);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

code {
  font-family: ui-monospace, "SF Mono", monospace;
  background: var(--bg);
  padding: 0.05rem 0.3rem;
  border-radius: 3px;
  font-size: 0.9em;
}