/* /cli/: the command registry as tables, on top of /api/api.css (header, sub-bar, type, code blocks). */
.install { margin-top: 36px; max-width: 760px; }
.install .fine { margin-top: 10px; }
.tally { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-size: 15px; }
.tally p { margin: 0; color: var(--ink-soft); }
.tally b { color: var(--ink); }
.only { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; cursor: pointer; }
.only input { width: 16px; height: 16px; accent-color: var(--orange); }

.grammar { margin-top: 24px; }
.grammar b { font-weight: 600; }
.grammar .n { color: var(--aqua); }
.grammar .v { color: var(--code-key); }
.rules { margin: 24px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; font-size: 15.5px; color: var(--ink-soft); }
.rules b { color: var(--ink); }
.verbs { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.verbs { align-items: start; }
.verbs > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.verbs .eyebrow { margin: 0 0 8px; }
.verbs p:last-child { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.verbs code { font: 500 13px/1 var(--mono); padding: 5px 7px; border-radius: 6px; background: var(--paper-deep); cursor: help; }

.prod { margin-top: 8px; }
.prod-head .lede a { color: var(--orange-text); text-decoration: none; font-weight: 600; white-space: nowrap; }
.cmds-wrap { margin-top: 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.cmds { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmds th { text-align: left; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper-deep); }
.cmds td { padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); line-height: 1.5; }
.cmds tr:last-child td { border-bottom: 0; }
.cmds td:first-child { width: 46%; }
.cmds td:last-child { width: 1%; white-space: nowrap; }
.cmds td:first-child code { background: none; border: 0; padding: 0; font: 13.5px/1.5 var(--mono); color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.cmds td:first-child .p { color: var(--ink-soft); }
.cmds td:first-child b { font-weight: 600; }
.cmds .same { display: block; font-size: 13px; }
.cmds .same code { font: 12.5px var(--mono); }
.cmds tr[data-status="planned"] td:first-child code { color: var(--ink-soft); }
.only-now .cmds tr:not([data-status="now"]) { display: none; }

.st { display: inline-flex; align-items: center; gap: 6px; font: 600 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-now { color: #16735b; background: rgba(22, 115, 91, .1); }
.st-next { color: #8a5f00; background: rgba(231, 171, 39, .16); }
.st-planned { color: var(--ink-soft); background: transparent; border: 1px dashed var(--line); }
.st-planned::before { background: transparent; border: 1px solid currentColor; }

@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } .verbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .verbs { grid-template-columns: 1fr; }
  .cmds thead { display: none; }
  .cmds tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .cmds td { padding: 0; border: 0; width: auto !important; }
  .cmds td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
}

/* /cli/releases/: one section per release, newest first. */
.release { margin-top: 48px; max-width: 760px; }
.release h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.release time { font: 500 15px/1 var(--sans); color: var(--ink-soft); }
.notes h3 { margin: 24px 0 8px; font-size: 17px; }
.notes p, .notes li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; }
.notes ul { margin: 0; padding-left: 20px; }
.notes li + li { margin-top: 6px; }
.notes code { font: 500 13.5px/1 var(--mono); padding: 2px 5px; border-radius: 5px; background: var(--paper-deep); overflow-wrap: anywhere; }
