/* Library book "Commands" (pages/library/commands.php) - only the book's own bits; the rest is library.css */

/* one small panel per command */
.lib-frame .lib-commands-grid{gap:10px 14px}
.lib-frame .lib-commands-card{padding:10px 14px 8px;scroll-margin-top:90px}
.lib-frame .lib-commands-card > p{margin:6px 0 4px}
.lib-frame .lib-commands-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}

/* the command itself: dark ink on a pale strip, the part to replace in brass */
.lib-frame .lib-commands-code{
  display:inline-block;padding:2px 8px;border-radius:4px;
  font-family:Consolas,"Courier New",monospace;font-size:15px;font-weight:700;line-height:1.35;color:#3a240c;
  background:rgba(255,246,220,.55);box-shadow:inset 0 0 0 1px rgba(122,84,40,.35);overflow-wrap:anywhere;
}
.lib-frame .lib-commands-code.is-small{padding:0 5px;font-size:13.5px;font-weight:600}
.lib-frame .lib-commands-arg{color:#9a5a12;font-weight:600}
.lib-frame .lib-oak .lib-commands-code{color:#f1e2bd;background:rgba(0,0,0,.28);box-shadow:inset 0 0 0 1px rgba(214,168,96,.3)}
.lib-frame .lib-oak .lib-commands-arg{color:var(--brass-light)}

.lib-frame .lib-commands-spells{min-width:520px}
.lib-frame .lib-commands-spells td:first-child{white-space:nowrap}
