.command-directory { border-top:var(--line); background:#edf7ec; }
.command-directory .section-label { font-size:.875rem; }
.command-guide-link { margin:12px 22px 0; font-size:1rem; }
.command-guide-link a,.command-guide-link-inline a { text-decoration:underline; text-underline-offset:4px; font-weight:700; }
.command-guide-link-inline { margin:16px 0; }
.commands-heading { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:end; margin-bottom:28px; }
.commands-heading h2 { font-size:clamp(36px,4vw,56px); line-height:1.08; letter-spacing:-.04em; }
.commands-intro { max-width:52ch; font-size:1rem; }
.commands-intro p+p { margin-top:12px; color:#474b41; }
.command-tools { display:grid; grid-template-columns:minmax(0,1fr) minmax(180px,250px) auto; gap:14px; align-items:end; }
.command-tools label { display:block; margin-bottom:6px; font-weight:700; font-size:.875rem; }
.command-tools input,.command-tools select { width:100%; min-height:48px; padding:11px 14px; font:inherit; color:var(--ink); border:var(--line); border-radius:8px; background:var(--white); }
.command-tools input::placeholder { color:#64695c; opacity:1; }
.command-select { position:relative; }
.command-select select { appearance:none; padding-right:38px; }
.command-select:after,.command-chevron { display:block; width:8px; height:8px; border-right:2px solid currentColor; border-bottom:2px solid currentColor; transform:rotate(45deg); }
.command-select:after { content:""; position:absolute; right:17px; top:18px; pointer-events:none; }
.command-reset { min-height:48px; border:var(--line); border-radius:8px; padding:10px 15px; background:transparent; font-size:.875rem; font-weight:700; }
.command-reset:hover { background:var(--white); }
.command-results { margin:16px 0; color:#474b41; font-size:.875rem; }
.command-groups { display:grid; grid-template-columns:1fr 1fr; align-items:start; gap:12px; }
.command-group { min-width:0; border:var(--line); border-radius:12px; background:var(--white); overflow:hidden; }
.command-group[open] { grid-column:1 / -1; }
.command-group summary { display:flex; align-items:center; gap:16px; list-style:none; padding:19px 21px; cursor:pointer; min-height:96px; }
.command-group summary::-webkit-details-marker { display:none; }
.command-group summary:hover { background:#f8f1de; }
.command-topic { display:block; font:750 1.25rem/1.2 var(--display); }
.command-topic-description { display:block; margin-top:6px; color:#474b41; font-size:.875rem; }
.command-group-count { margin-left:auto; flex:none; display:grid; place-items:center; min-width:32px; height:32px; padding:0 7px; border-radius:50%; background:var(--mint); font-size:.875rem; font-weight:750; }
.command-chevron { flex:none; margin:0 3px 4px; }
.command-group[open] .command-chevron { transform:rotate(225deg); margin-top:7px; }
.command-group[open] summary { border-bottom:var(--line); background:var(--yellow); }
.command-rows { margin:0; padding:0 22px; list-style:none; }
.command-group-note { margin:18px 22px 0; padding:12px 15px; border-radius:6px; background:#fff6df; font-size:1rem; }
.command-row { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:22px 0; }
.command-row+.command-row { border-top:1px solid #d9dacb; }
.command-copy { min-width:0; }
.command-copy h3 { font:750 1rem/1.4 "DM Sans",Arial,sans-serif; margin:0 0 7px; }
.command-text { display:block; white-space:pre-wrap; overflow-wrap:anywhere; font:500 1rem/1.6 "DM Sans",Arial,sans-serif; background:#edf7ec; border-left:3px solid #4b7952; border-radius:0 5px 5px 0; padding:8px 12px; }
.command-copy p { margin-top:8px; color:#474b41; font-size:.875rem; max-width:76ch; }
.command-actions { display:flex; align-items:center; gap:8px; flex:none; }
.command-actions button,.command-actions a { display:inline-flex; justify-content:center; align-items:center; min-height:44px; border:var(--line); border-radius:7px; padding:9px 12px; font-size:.875rem; font-weight:700; white-space:nowrap; }
.command-actions button { background:var(--white); min-width:72px; }
.command-actions a { background:var(--mint); }
.command-actions a:hover,.command-actions button:hover { background:var(--yellow); }
.command-empty { padding:30px; border:var(--line); border-radius:10px; background:var(--white); }
.command-empty h3 { margin:0 0 8px; font-size:1.25rem; }
.command-copy-status { min-height:24px; margin-top:8px; font-size:.875rem; }
.command-help { display:flex; align-items:center; justify-content:space-between; gap:24px; border-top:1px solid #bacbb7; padding-top:16px; }
.command-help p { max-width:76ch; font-size:1rem; }
.command-help a { text-decoration:underline; text-underline-offset:4px; font-weight:700; }
.command-help>a { flex:none; padding-block:12px; font-size:.875rem; }
.command-directory [hidden] { display:none!important; }
@media(max-width:800px) {
 .commands-heading { grid-template-columns:1fr; gap:18px; }
 .command-tools { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
 .command-search-field { grid-column:1 / -1; }
 .command-reset { justify-self:end; }
 .command-groups { grid-template-columns:1fr; }
 .command-row { align-items:stretch; flex-direction:column; gap:12px; }
 .command-actions { align-self:flex-start; flex-wrap:wrap; }
 .command-group summary { padding:17px; }
 .command-rows { padding:0 17px; }
 .command-help { align-items:flex-start; flex-direction:column; gap:6px; }
}
