
.command-intro {max-width:900px;line-height:1.5;color:var(--text-muted,#aeb9cf);font-size:.88rem}
.command-toolbar {display:grid;grid-template-columns:minmax(180px,2fr) minmax(140px,1fr) minmax(140px,1fr) auto;gap:10px;align-items:end;padding:12px;margin:14px 0 8px}
.command-toolbar label {display:grid;gap:5px;font-size:.78rem;min-width:0}
.command-toolbar input,.command-toolbar select {width:100%;min-width:0;min-height:40px;padding:8px 10px;border:1px solid var(--border,#334155);border-radius:7px;background:var(--bg,#111827);color:var(--text,#f1f5f9)}
.command-toolbar button {min-height:40px}
.command-group {margin:18px 0}
.command-group h2 {font-size:.95rem;margin-bottom:7px}
.command-grid {border:1px solid var(--border,#334155);border-radius:9px;overflow:hidden;background:var(--bg-card,#182131)}
.command-card {min-width:0;border-bottom:1px solid var(--border,#334155)}
.command-card:last-child {border-bottom:0}
.command-card>summary {display:grid;grid-template-columns:minmax(160px,235px) minmax(0,1fr) 140px 14px;gap:12px;align-items:center;padding:10px 12px;min-height:48px;cursor:pointer;list-style:none}
.command-card>summary::-webkit-details-marker {display:none}
.command-card>summary:hover {background:rgba(150,150,200,.055)}
.command-card>summary:focus-visible {outline:2px solid var(--accent,#b7abff);outline-offset:-3px}
.command-name {min-width:0}
.command-card h3 {margin:0;font-size:.85rem;line-height:1.5;font-weight:600}
.command-card code {white-space:normal;overflow-wrap:anywhere;color:var(--accent,#b7abff)}
.command-description {font-size:.82rem;line-height:1.45}
.command-role {font-size:.7rem;color:var(--text-muted,#aeb9cf);text-align:right}
.command-alias {display:block;font-size:.7rem;line-height:1.4;color:var(--text-muted,#aeb9cf)}
.command-expand {font-size:1.1rem;line-height:1;text-align:center;transition:transform .15s}
.command-card[open] .command-expand {transform:rotate(45deg)}
.command-details {padding:2px 14px 12px;border-top:1px dashed var(--border,#334155)}
.command-details p {margin:8px 0;font-size:.82rem;line-height:1.55;color:var(--text-muted,#aeb9cf)}
.command-card footer {display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding-top:3px}
.command-card footer div {flex:1;min-width:110px;display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;font-size:.82rem}
.command-card footer span {font-size:.68rem;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted,#aeb9cf)}
.command-card footer button,.command-card footer a {min-height:40px;display:inline-flex;align-items:center;font-size:.8rem}
.command-retired,.command-footnotes {padding:10px 12px;margin:14px 0;font-size:.82rem;line-height:1.6}
.command-retired summary,.command-footnotes summary {cursor:pointer;font-weight:600;min-height:32px;align-content:center}
#commands-retired-list {display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
#commands-retired-list code {padding:2px 5px;border:1px solid var(--border,#334155);border-radius:4px}
.command-footnotes h2 {font-size:.9rem}
#commands-count {font-size:.78rem;color:var(--text-muted,#aeb9cf);margin:6px 0}
#commands-copy-status {font-size:.78rem;margin:0}
#commands-copy-status:empty {height:0;overflow:hidden}
@media(max-width:700px){
 .command-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px;gap:8px}
 .command-toolbar label:first-child{grid-column:1/-1}
 .command-toolbar button{grid-column:1/-1}
 .command-toolbar input,.command-toolbar select,.command-toolbar button{min-height:44px}
 .command-card>summary{grid-template-columns:minmax(0,1fr) auto 12px;gap:4px 8px;padding:10px}
 .command-description{grid-column:1/3;grid-row:2;font-size:.79rem}
 .command-role{grid-column:2;grid-row:1;max-width:100px;font-size:.65rem}
 .command-expand{grid-column:3;grid-row:1/3}
 .command-card h3{font-size:.8rem}
 .command-card footer button,.command-card footer a{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.command-expand{transition:none}}
