.command-trigger { align-items:center; gap:8px; min-height:36px; padding:0 9px 0 11px; border:1px solid rgb(var(--c-line)); border-radius:10px; background:rgb(var(--c-card)); color:rgb(var(--c-slate-600)); font:600 12px Inter,system-ui,sans-serif; transition:border-color .18s,box-shadow .18s,transform .18s; }
.command-trigger:hover { border-color:rgb(var(--c-accent-2)); box-shadow:0 8px 18px -15px rgb(var(--c-ink) / .7); transform:translateY(-1px); }
.command-trigger svg,.command-search svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; }
.command-trigger kbd,.command-search kbd,.command-foot kbd { border:1px solid rgb(var(--c-line)); border-bottom-width:2px; border-radius:5px; padding:1px 4px; background:rgb(var(--c-paper)); color:rgb(var(--c-slate-500)); font:600 10px/1.2 "JetBrains Mono",monospace; }
.command-palette { width:min(620px,calc(100vw - 28px)); max-height:min(680px,calc(100dvh - 28px)); margin:auto; padding:0; border:1px solid rgb(var(--c-line)); border-radius:22px; background:rgb(var(--c-card)); color:rgb(var(--c-ink)); box-shadow:0 30px 90px -28px rgb(15 23 42 / .6); }
.command-palette::backdrop { background:rgb(15 23 42 / .38); backdrop-filter:blur(3px); }
.command-palette:popover-open { display:block; animation:command-in .2s cubic-bezier(.2,.8,.2,1); }
.command-shell { padding:16px; }
.command-head { display:flex; align-items:center; gap:10px; margin:0 2px 14px; }
.command-head > div { display:grid; gap:1px; flex:1; }
.command-head b { font:700 16px/1.2 Manrope,Inter,sans-serif; }.command-head small { color:rgb(var(--c-slate-500)); font-size:12px; }
.command-mark { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; background:rgb(var(--c-accent-2-tint)); color:rgb(var(--c-accent-2)); font:700 19px/1 Manrope,sans-serif; }
.command-close { display:grid; place-items:center; width:32px; height:32px; border:0; border-radius:9px; background:transparent; color:rgb(var(--c-slate-500)); font-size:24px; cursor:pointer; }.command-close:hover { background:rgb(var(--c-ink) / .06); color:rgb(var(--c-ink)); }
.command-search { display:flex; align-items:center; gap:10px; padding:0 11px; min-height:48px; border:1px solid rgb(var(--c-line)); border-radius:12px; background:rgb(var(--c-paper)); color:rgb(var(--c-slate-500)); }.command-search:focus-within { border-color:rgb(var(--c-accent-2)); box-shadow:0 0 0 3px rgb(var(--c-accent-2) / .13); }.command-search input { min-width:0; flex:1; border:0; outline:0; background:transparent; color:rgb(var(--c-ink)); font:500 14px Inter,system-ui,sans-serif; }
.command-results { display:grid; gap:3px; max-height:min(420px,56dvh); margin:12px 0; overflow:auto; }.command-results a { display:grid; grid-template-columns:32px 1fr; grid-template-areas:"icon title" "icon text"; column-gap:10px; padding:9px 10px; border-radius:11px; color:inherit; text-decoration:none; }.command-results a > span { grid-area:icon; display:grid; place-items:center; width:30px; height:30px; border-radius:8px; background:rgb(var(--c-ink) / .055); color:rgb(var(--c-accent-2)); font-size:15px; }.command-results b { grid-area:title; align-self:end; font-size:13px; }.command-results small { grid-area:text; color:rgb(var(--c-slate-500)); font-size:12px; }.command-results a:hover,.command-results a.is-active { background:rgb(var(--c-accent-2-tint)); }.command-results a.is-active > span { background:rgb(var(--c-card)); }
.command-empty { margin:18px 6px; color:rgb(var(--c-slate-500)); font-size:13px; text-align:center; }.command-foot { display:flex; gap:14px; padding:10px 4px 0; border-top:1px solid rgb(var(--c-line)); color:rgb(var(--c-slate-500)); font-size:11px; }.command-foot span { display:inline-flex; align-items:center; gap:3px; }
@keyframes command-in { from { opacity:0; transform:translateY(8px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
@media (max-width:700px) { .command-shell { padding:13px; }.command-foot { justify-content:space-between; gap:6px; }.command-foot span:last-child { display:none; } }
@media (prefers-reduced-motion:reduce) { .command-palette:popover-open { animation:none; }.command-trigger { transition:none; } }
html.no-motion .command-palette:popover-open { animation:none; } html.no-motion .command-trigger { transition:none; }
