/* LAR API pages: the few things the shared stylesheet has no class for. */

.lar-pre {
  margin: 0;
  padding: 10px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: "Kode Mono", monospace;
  font-size: 11.5px;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-all;
  overflow: auto;
}

textarea.input {
  font-family: "Kode Mono", monospace;
  font-size: 12px;
  resize: vertical;
  min-height: 120px;
}

select.input { cursor: pointer; }

.lar-note {
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 12px;
  background: var(--surface-2);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lar-note-ok { background: var(--success-soft); color: var(--success); font-weight: 500; }

.lar-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 0 var(--success);
  animation: lar-pulse 1.8s infinite;
}
@keyframes lar-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent); }
  70% { box-shadow: 0 0 0 6px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.lar-progress { height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.lar-progress > div { height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s; }

.lar-balance {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.1;
}

.lar-row-click { cursor: pointer; }
.lar-row-click:hover td { background: var(--surface-2); }

.lar-grid-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lar-grid-form .full { grid-column: 1 / -1; }

.lar-check { display: flex; align-items: center; gap: 8px; font-size: 12.5px; cursor: pointer; }
.lar-check input { width: 15px; height: 15px; accent-color: var(--accent); }

@media (max-width: 760px) {
  .lar-grid-form { grid-template-columns: 1fr; }
}
