/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #f7f7f5;
  --panel: #fff;
  --ink: #1d1f23;
  --muted: #6a6f78;
  --line: #dcdde0;
  --accent: #2457c5;
  --warn: #b45309;
  --bad: #b42318;
  --good: #1a7f4b;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --panel: #1c1f25;
    --ink: #e8e9ec;
    --muted: #9aa0aa;
    --line: #2d313a;
    --accent: #7aa2ff;
    --warn: #f0a04b;
    --bad: #ff7b72;
    --good: #5fd08f;
    --lightningcss-light: ;
    --lightningcss-dark: initial;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  height: 100%;
  color: var(--ink);
  margin: 0;
  font: 14px / 1.45 ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
}

button, input, select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.error {
  color: var(--bad);
}

.login {
  place-items: center;
  min-height: 100%;
  padding: 16px;
  display: grid;
}

.login form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  padding: 24px;
  display: grid;
}

.login h1 {
  margin: 0;
  font-size: 20px;
}

.login label {
  color: var(--muted);
  gap: 4px;
  font-size: 12px;
  display: grid;
}

.login input {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 6px;
  padding: 9px 10px;
  font-size: 15px;
}

.login button {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  padding: 10px;
  font-weight: 600;
}

.app {
  grid-template-rows: auto 1fr;
  height: 100%;
  display: grid;
}

.top {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  display: flex;
}

.top h1 {
  margin: 0;
  font-size: 15px;
}

.top .grow {
  flex: 1;
}

.top form {
  margin: 0;
}

.link {
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.cols {
  grid-template-columns: 250px 1fr 400px;
  min-height: 0;
  display: grid;
}

.side, .detail {
  background: var(--panel);
  padding: 12px;
  overflow: auto;
}

.side {
  border-right: 1px solid var(--line);
}

.detail {
  border-left: 1px solid var(--line);
}

.stage {
  background: var(--bg);
  min-width: 0;
  min-height: 0;
  position: relative;
}

.stage .hint {
  color: var(--muted);
  pointer-events: none;
  font-size: 12px;
  position: absolute;
  bottom: 8px;
  left: 10px;
}

.side h3, .detail h3 {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 14px 0 6px;
  font-size: 12px;
}

.side h3:first-child {
  margin-top: 0;
}

.side select, .side input[type="text"], .side input[type="search"], .side input[type="date"] {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 6px;
  width: 100%;
  padding: 6px 8px;
}

.chk {
  align-items: center;
  gap: 6px;
  padding: 1px 0;
  font-size: 13px;
  display: flex;
}

.chk span.n {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.results {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.results li button {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  width: 100%;
  padding: 6px 8px;
}

.results li button:hover {
  background: var(--bg);
}

.pill {
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 9px;
  margin-right: 4px;
  padding: 0 6px;
  font-size: 11px;
  display: inline-block;
}

.pill.allegation, .pill.attributed_assertion {
  color: var(--warn);
  border-color: var(--warn);
}

.pill.good {
  color: var(--good);
  border-color: var(--good);
}

.pill.bad {
  color: var(--bad);
  border-color: var(--bad);
}

.claim {
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--bg);
  border-radius: 8px;
  margin: 8px 0;
  padding: 8px 10px;
}

.claim:hover {
  border-color: var(--accent);
}

.claim .rel {
  color: var(--muted);
  font-size: 12px;
}

blockquote {
  border-left: 3px solid var(--accent);
  background: var(--bg);
  margin: 8px 0;
  padding: 6px 10px;
  font-size: 13px;
}

.crumb {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .cols {
    grid-template-rows: auto 60vh auto;
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .detail {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .app {
    height: auto;
    min-height: 100%;
  }
}

.avatar {
  background: #fff;
  border: 3px solid;
  border-radius: 50%;
  flex: none;
}

.head {
  align-items: center;
  gap: 10px;
  display: flex;
}

.credit {
  margin: 2px 0 6px;
  font-size: 11px;
}

.dot {
  vertical-align: middle;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  display: inline-block;
}

.results li button {
  align-items: center;
  gap: 6px;
  display: flex;
}

.results li button .avatar {
  border-width: 2px;
}

button.btn, .toolbar button, .actions button, .go button, .modal button, .chip, .tabs button {
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  border-radius: 6px;
  padding: 4px 10px;
}

button.primary, .actions button.primary, .go button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

button:disabled {
  opacity: .5;
  cursor: default;
}

.toolbar {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
  position: absolute;
  top: 8px;
  left: 8px;
}

.toolbar button {
  padding: 3px 8px;
  font-size: 12px;
}

.toolbar button.on, .tabs button.on {
  border-color: var(--accent);
  color: var(--accent);
}

.legend {
  background: var(--panel);
  border: 1px solid var(--line);
  opacity: .96;
  border-radius: 8px;
  max-height: 70%;
  padding: 4px 8px;
  font-size: 12px;
  position: absolute;
  bottom: 30px;
  left: 8px;
  overflow: auto;
}

.legend-h {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 2px 0;
  font-weight: 600;
}

.legend-t {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 8px 0 3px;
  font-size: 11px;
}

.legend-row {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 1px 0;
  display: flex;
}

.legend-row.static {
  cursor: default;
}

.legend-row.off {
  opacity: .4;
  text-decoration: line-through;
}

.legend-row .n {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.mk {
  text-align: center;
  width: 14px;
  font-size: 10px;
  display: inline-block;
}

.mk.ring {
  background: #fff;
  border: 3px solid #3b82f6;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.mk.size {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px #94a3b8;
  background: #94a3b8;
  border-radius: 50%;
}

.mk.ghost {
  border: 1.5px dashed #3b82f6;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.mk.pulse {
  border: 2px solid #f59e0b;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.stage .hint {
  bottom: 6px;
  left: 8px;
  right: 8px;
}

.toast {
  background: var(--ink);
  max-width: 340px;
  color: var(--bg);
  cursor: pointer;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  position: absolute;
  top: 12px;
  right: 12px;
  box-shadow: 0 4px 16px #00000040;
}

.empty {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  place-content: center;
  justify-items: center;
  gap: 4px;
  padding: 24px;
  display: grid;
  position: absolute;
  inset: 0;
  overflow: auto;
}

.empty .composer {
  text-align: left;
  width: min(520px, 90vw);
}

.tabs {
  gap: 6px;
  margin-bottom: 10px;
  display: flex;
}

.actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  display: flex;
}

.linkpill {
  cursor: pointer;
  background: none;
}

.neigh {
  border: 1px dashed var(--line);
  border-radius: 8px;
  margin: 10px 0;
  padding: 8px 10px;
  font-size: 13px;
}

.neigh .actions {
  margin: 6px 0 0;
}

.composer {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  gap: 8px;
  margin: 8px 0 14px;
  padding: 10px;
  display: grid;
}

.composer textarea, .modal textarea, .modal input:not([type="range"]), .opts select, .opts textarea {
  border: 1px solid var(--line);
  background: var(--panel);
  resize: vertical;
  border-radius: 6px;
  width: 100%;
  padding: 7px 9px;
}

.chips {
  flex-wrap: wrap;
  gap: 5px;
  display: flex;
}

.chip {
  border-radius: 12px;
  padding: 2px 8px;
  font-size: 12px;
}

.chip:hover {
  border-color: var(--accent);
}

.opts {
  gap: 8px;
  font-size: 13px;
  display: grid;
}

.opts label, .modal label {
  color: var(--muted);
  gap: 3px;
  font-size: 12px;
  display: grid;
}

.opts label.chk {
  color: var(--ink);
  font-size: 13px;
  display: flex;
}

.go {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.req {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  margin: 8px 0;
}

.req-h {
  cursor: pointer;
  padding: 8px 10px;
}

.req-t {
  margin-bottom: 3px;
  font-weight: 600;
}

.req-b {
  padding: 0 10px 10px;
}

.req-b pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  max-height: 260px;
  margin: 6px 0;
  padding: 8px;
  font: 12px / 1.45 ui-monospace, monospace;
  overflow: auto;
}

.req-b h4 {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 10px 0 2px;
  font-size: 12px;
}

.pill.st-running, .pill.st-approved {
  color: var(--accent);
  border-color: var(--accent);
}

.pill.st-pending {
  color: var(--warn);
  border-color: var(--warn);
}

.pill.st-done {
  color: var(--good);
  border-color: var(--good);
}

.pill.st-rejected {
  color: var(--bad);
  border-color: var(--bad);
}

.modal-bg {
  z-index: 20;
  background: #00000073;
  place-items: center;
  padding: 16px;
  display: grid;
  position: fixed;
  inset: 0;
}

.modal {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  gap: 10px;
  width: min(520px, 100%);
  max-height: 92vh;
  padding: 20px;
  display: grid;
  overflow: auto;
}

.modal h2 {
  margin: 0;
  font-size: 18px;
}

.dossier ul {
  margin: 4px 0;
  padding-left: 18px;
}

.dossier li {
  margin: 4px 0;
}

.cite {
  color: var(--accent, #2563eb);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0 1px;
  font-size: 11px;
}

.note {
  margin: 4px 0;
  font-size: 11px;
}

.sub {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin: 10px 0 4px;
  font-size: 11px;
}

.facts {
  grid-template-columns: max-content 1fr;
  gap: 2px 10px;
  margin: 6px 0;
  display: grid;
}

.facts > div {
  display: contents;
}

.facts dt {
  color: var(--muted);
  font-size: 12px;
}

.facts dd {
  margin: 0;
  font-size: 13px;
}

.positions {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
}

.lead {
  white-space: pre-line;
  margin: 8px 0;
  font-size: 13px;
}

.langs {
  margin-top: 4px;
}

.langs .link.on {
  font-weight: 700;
}

.rel-item {
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  display: flex;
}

.rel-item .who {
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  flex: 1;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 2px;
  display: flex;
}

.rel-item .who .muted {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.rel-item .acts {
  flex: none;
  gap: 4px;
  display: flex;
}

.rel-item .acts button {
  padding: 1px 6px;
  font-size: 11px;
}

.expand {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 6px 0;
  display: flex;
}

.expand input {
  flex: 180px;
  min-width: 0;
}

.toolbar .seg {
  display: inline-flex;
}

.toolbar .seg button {
  border-radius: 0;
  margin-left: -1px;
}

.toolbar .seg button:first-child {
  border-radius: 6px 0 0 6px;
  margin-left: 0;
}

.toolbar .seg button:last-child {
  border-radius: 0 6px 6px 0;
}

.toolbar .tb-select {
  width: auto;
  padding: 2px 4px;
  font-size: 12px;
}

.nodecard {
  z-index: 5;
  background: var(--panel);
  border: 1px solid var(--line);
  will-change: transform;
  border-left-width: 4px;
  border-radius: 8px;
  min-width: 180px;
  max-width: 260px;
  padding: 6px 8px;
  font-size: 12px;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 4px 16px #0000002e;
}

.nodecard .nc-h {
  align-items: center;
  gap: 6px;
  display: flex;
}

.nodecard .nc-h b {
  flex: 1;
  font-size: 13px;
}

.nodecard .nc-x {
  cursor: pointer;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0 2px;
  font-size: 15px;
  line-height: 1;
}

.nodecard .nc-s {
  margin: 2px 0 6px;
}

.nodecard .nc-a {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.nodecard .nc-a button {
  padding: 2px 7px;
  font-size: 11px;
}

.edgetip {
  z-index: 6;
  pointer-events: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 300px;
  padding: 6px 8px;
  font-size: 12px;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 4px 16px #0000002e;
}

/*# sourceMappingURL=src_app_globals_162hn9oqc8uss.css.map*/