/* /commands and /es/commands: the command list inside the legal page shell (legal.css). Only layout here; colors are tokens. */

.cmd-list { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; }

.cmd {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--color-outline);
  scroll-margin-top: 110px;
}
.cmd:last-child { padding-bottom: 0; border-bottom: 0; }

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

.cmd__path {
  display: inline-block;
  padding: 6px 10px;
  border: 2px solid var(--color-outline);
  border-radius: var(--radius-button);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.chip.cmd__admin {
  padding: 4px 8px;
  border: 2px solid var(--color-outline);
  border-radius: var(--radius-button);
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.legal .cmd__copy {
  margin-left: auto;
  min-height: 0;
  padding: 6px 12px;
  font-size: 0.75rem;
}
html.js .cmd__copy[hidden] { display: inline-flex; }

.cmd__desc { margin: 0; }

.cmd__opts { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0 0 0 16px; list-style: none; }
.legal .card .cmd__opts li { padding-left: 0; font-size: 0.9375rem; line-height: 1.6; }
.legal .card .cmd__opts li::before { content: none; }

.cmd__opt { font-family: var(--font-mono); font-weight: 700; color: var(--color-text); }
.cmd__meta { color: var(--color-muted-2); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }

@media (max-width: 600px) {
  .cmd__head { gap: 8px; }
  .legal .cmd__copy { margin-left: 0; }
}
