/* The console. One screen, two panes: what they said, and what does not add up.
   Nothing to operate — no tabs, no grid, no pickers. */

body.console { font-size: 16px; }

.room {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100vh;
}
@media (max-width: 62rem) {
  .room { grid-template-columns: 1fr; height: auto; }
}

.pane { padding: 2.5rem 2.5rem 4rem; overflow-y: auto; }
.pane.found { border-left: 1px solid var(--rule); }
@media (max-width: 62rem) { .pane.found { border-left: none; border-top: 1px solid var(--rule); } }

.pane-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  font-size: .82rem; color: var(--ink-faint); margin-bottom: 1.75rem;
}
.pane-head b { font-weight: 400; color: var(--ink); font-variant-numeric: tabular-nums; }
.pane-head a { color: var(--ink-faint); cursor: pointer; text-decoration: none; border-bottom: 1px solid var(--rule); }
.pane-head a:hover { color: var(--ink); border-bottom-color: var(--ink-faint); }
.pane-head #who { color: var(--ink); }

.panels { display: flex; gap: 1.1rem; }
.panels a { border-bottom: 1px solid transparent; }
.panels a.on { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- what they said ---------- */

#answer {
  min-height: 14rem; font-size: 1.05rem; line-height: 1.6;
  width: 100%; padding: 1.1rem 1.2rem; font-family: inherit;
  color: var(--ink); background: var(--field);
  border: 1px solid var(--rule); border-radius: 2px; resize: vertical;
}
#answer:focus { outline: none; border-color: var(--ink-soft); }

.actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.hint { font-size: .84rem; color: var(--ink-faint); }

/* ---------- what just landed ---------- */

#just-in { margin-top: 2.5rem; }
#just-in .head { font-size: .82rem; color: var(--ink-faint); margin: 0 0 .9rem; }
#just-in .new { color: var(--red); }

.claim {
  font-size: .92rem; line-height: 1.45; color: var(--ink-soft);
  padding: .3rem 0 .3rem .8rem; border-left: 2px solid var(--rule);
  margin-bottom: .5rem;
}
.claim.absence { border-left-color: var(--red); color: var(--ink); }

/* ---------- what does not add up ---------- */

.found .item { margin: 0 0 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.found .item:last-child { border-bottom: none; }

.said { margin: 0; font-size: 1.06rem; line-height: 1.5; }
.but {
  margin: .55rem 0; font-size: .76rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red);
}
.why { margin: .9rem 0 0; font-size: .9rem; line-height: 1.5; color: var(--ink-faint); }
.q { margin: 0; font-size: 1.02rem; line-height: 1.45; white-space: pre-wrap; }

.empty { color: var(--ink-faint); font-size: .95rem; }

/* ---------- the logo ---------- */

/* The artwork is navy on a knocked-out background. That reads on paper and disappears
   into the dark theme, so dark mode lifts it rather than shipping a second file — one
   asset that cannot drift out of step with the other. */
.lockup { display: block; height: 150px; width: auto; margin: 0 0 1.25rem; }
.mark-img { display: block; height: 40px; width: auto; margin: 0 0 .6rem; }

@media (prefers-color-scheme: dark) {
  .lockup, .mark-img { filter: brightness(1.35) saturate(1.05); }
}

/* ---------- lobby ---------- */

#lobby .wrap { padding-top: 15vh; max-width: 30rem; }
.lobby-title { font-size: 1.55rem; font-weight: 400; margin: .6rem 0 2rem; }
#new-session { display: flex; gap: .6rem; margin-bottom: 3rem; }
#new-session input {
  flex: 1; padding: .65rem .8rem; font: inherit; background: var(--field);
  color: var(--ink); border: 1px solid var(--rule); border-radius: 2px;
}
#new-session input:focus { outline: none; border-color: var(--ink-soft); }
.session-row {
  display: flex; gap: 1rem; align-items: baseline;
  padding: .8rem 0; border-top: 1px solid var(--rule); cursor: pointer;
}
.session-row:hover .n { text-decoration: underline; }
.session-row .n { flex: 1; }
.session-row .m { font-size: .82rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

/* ---------- the canvases ---------- */

.sheet {
  font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  white-space: pre-wrap; margin: .8rem 0 .6rem;
  padding: 1rem 1.1rem; background: var(--field);
  border: 1px solid var(--rule); border-radius: 2px;
  color: var(--ink-soft); max-height: 26rem; overflow-y: auto;
}
.dl { font-size: .82rem; color: var(--ink-faint); cursor: pointer; border-bottom: 1px solid var(--rule); }
.dl:hover { color: var(--ink); }

/* ---------- who is talking ---------- */

.speakers { display: flex; gap: .4rem; margin-bottom: .9rem; }
.speakers a {
  font-size: .84rem; padding: .3rem .75rem; cursor: pointer;
  color: var(--ink-faint); border: 1px solid var(--rule); border-radius: 2px;
}
.speakers a:hover { color: var(--ink); border-color: var(--ink-faint); }
.speakers a.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.who { color: var(--ink-faint); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; margin-right: .4rem; }

.kind {
  margin: 0 0 .8rem; font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red);
}
.kind.agree { color: var(--ink-soft); }
.but.agree { color: var(--ink-faint); }

/* ---------- the rules the client's AI runs on ---------- */

#rules .head { font-size: .82rem; color: var(--ink-faint); margin: 0 0 1.5rem; }
#rules .head a { color: var(--ink); cursor: pointer; border-bottom: 1px solid var(--rule); }

.rule {
  margin: 0 0 1.4rem; padding-left: .9rem;
  border-left: 2px solid var(--rule);
}
/* A rule in force looks settled; one waiting on a signature does not. The difference has
   to be visible at a glance, because an unapproved rule is silently doing nothing. */
.rule.on { border-left-color: var(--ink-soft); }
.rule .q { font-size: .96rem; }
.rule .why { margin-top: .35rem; }
.rule .ok { color: var(--red); cursor: pointer; border-bottom: 1px solid var(--rule); }
.rule .ok:hover { color: var(--ink); }
