/* Relais desk — work board, not a form dump. Shop kit paints .rx-brand only. */
:root {
  --rx-bg: #0e0f12;
  --rx-bg2: #16181d;
  --rx-fg: #ececec;
  --rx-muted: #8b8e98;
  --rx-line: #2a2d36;
  --rx-accent: #c8d0ff;
  --brand-paper: #111;
  --brand-ink: #ececec;
  --brand-accent: #c8d0ff;
  --brand-gold: #c8d0ff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--rx-bg); color: var(--rx-fg); font: 16px/1.45 ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea {
  background: var(--rx-bg2);
  border: 1px solid var(--rx-line);
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
}
.primary, .ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
}
.primary { background: var(--rx-accent); color: #0e0f12; font-weight: 650; }
.ghost { background: transparent; border-color: var(--rx-line); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
.mark {
  background: none;
  border: 0;
  padding: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 18px;
  cursor: pointer;
}
#gate {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--rx-bg);
  z-index: 20;
}
body.rx-locked #desk { display: none !important; }
.rx-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--rx-line);
}
.rx-top .lede { margin: 0; }
.grow { flex: 1; }
.rx-page { padding: 32px 28px 96px; max-width: 720px; }
h1, h2 { font-weight: 650; letter-spacing: -0.03em; }
h1 { font-size: 28px; margin: 0 0 8px; }
h2 { font-size: 20px; margin: 0 0 8px; }
.kicker { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rx-muted); margin: 0 0 6px; }
.lede { color: var(--rx-muted); margin: 0 0 16px; }
.bad { color: #f3b0a8; }
.stack { display: grid; gap: 10px; margin: 0 0 16px; }
label { display: grid; gap: 6px; font-size: 12px; color: var(--rx-muted); }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.add-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  margin: 0 0 24px;
}
@media (max-width: 700px) {
  .add-row { grid-template-columns: 1fr; }
}
.board-list { display: grid; gap: 10px; }
.shop-card {
  display: grid;
  gap: 4px;
  text-align: left;
  width: 100%;
  background: var(--rx-bg2);
  border: 1px solid var(--rx-line);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
}
.shop-card strong { font-size: 17px; }
.shop-card span { color: var(--rx-muted); font-size: 14px; }
.stage {
  margin: 0 0 28px;
  padding: 20px 0;
  border-top: 1px solid var(--rx-line);
}
.stage.is-done h2 { color: var(--rx-muted); font-size: 16px; }
.stage.is-now {
  background: var(--rx-bg2);
  border: 1px solid var(--rx-line);
  border-radius: 12px;
  padding: 20px 18px;
  margin-bottom: 28px;
}
.stage.is-later { opacity: 0.45; pointer-events: none; }
.pipe {
  display: flex;
  gap: 6px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}
.pipe button {
  background: transparent;
  border: 1px solid var(--rx-line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--rx-muted);
  cursor: pointer;
  font-size: 13px;
}
.pipe button.on {
  background: var(--rx-accent);
  color: #0e0f12;
  border-color: transparent;
  font-weight: 650;
}
.pipe button:disabled { cursor: not-allowed; }
.job-card {
  background: var(--rx-bg);
  border: 1px solid var(--rx-line);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 12px;
}
.job-card .ask { margin: 0 0 6px; font-weight: 600; }
.stage.is-now .job-card { background: var(--rx-bg); }
.contact-list li { opacity: 0.72; }
.contact-list .kicker, .contact-list strong { color: var(--rx-muted); }
.start-card, .week-card, .fact-list li, .inbox-item, .job-card {
  background: var(--rx-bg2);
  border: 1px solid var(--rx-line);
  border-radius: 12px;
  padding: 14px 16px;
}
.start-card { max-width: 360px; }
.fact-list, .inbox-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.fact-list li.slot .slot-row { display: flex; gap: 8px; margin-top: 8px; }
.fact-list li.slot .slot-row input { flex: 1; }
.week-pack { display: grid; gap: 12px; }
.week-card pre { white-space: pre-wrap; font: inherit; margin: 8px 0; }
.rx-brand { display: flex; gap: 6px; margin: 8px 0 16px; }
.rx-brand i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--rx-line); display: block; }
.pill { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rx-muted); }
.guess { outline: 1px dashed #e6d48a; }
details { margin: 12px 0; }
summary { cursor: pointer; color: var(--rx-muted); }
