:root{--command-height:min(28rem,56svh);--command-blue:#78e3ff;--command-dim:#8cbdc9;--command-dark:#070e12;--command-rule:#35515a}
body>.app{translate:none;transition:translate .28s cubic-bezier(.2,.7,.25,1)}
body.command-open{position:fixed;top:var(--command-scroll-top,0px);width:100%;overflow:hidden}
body.command-open>.app{translate:0 var(--command-height)}
:is(.rail>.command-trigger,.command-trigger-standalone){appearance:none;align-self:flex-start;display:inline-flex;align-items:center;gap:.3rem;justify-content:center;min-width:2.25rem;min-height:1.5rem;margin:0 0 .8rem;padding:.1rem .4rem;border:1px solid color-mix(in srgb,var(--marketing-rail-surface,var(--paper)) 42%,transparent);border-radius:.22rem;background:color-mix(in srgb,var(--marketing-rail-surface,var(--paper)) 34%,transparent);backdrop-filter:blur(8px) saturate(110%);-webkit-backdrop-filter:blur(8px) saturate(110%);box-shadow:none;color:#080807;opacity:.88;cursor:pointer}
:is(.rail>.command-trigger,.command-trigger-standalone):hover,:is(.rail>.command-trigger,.command-trigger-standalone):focus-visible{opacity:1;background:color-mix(in srgb,var(--marketing-rail-surface,var(--paper)) 54%,transparent)}
.command-trigger.command-trigger-standalone{position:fixed;z-index:80;top:1.25rem;right:1.25rem;margin:0;padding:.32rem .48rem;border-color:rgba(236,231,216,.8);background:rgba(236,231,216,.9);box-shadow:0 8px 28px rgba(0,0,0,.16);color:#080807}
.marketing-rail:is(.is-over-map,.is-over-dark)>.command-trigger{border-color:rgba(236,231,216,.8);background:rgba(236,231,216,.76);backdrop-filter:blur(16px) saturate(75%);-webkit-backdrop-filter:blur(16px) saturate(75%);box-shadow:0 8px 28px rgba(0,0,0,.18);opacity:1}
.marketing-rail:is(.is-over-map,.is-over-dark)>.command-trigger:hover,.marketing-rail:is(.is-over-map,.is-over-dark)>.command-trigger:focus-visible{background:rgba(247,241,226,.9)}
.command-trigger:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.command-trigger-icon{flex:none;width:.8rem;height:.8rem;fill:none;stroke:currentColor}
.command-trigger kbd{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:500 .66rem/1 var(--mono);letter-spacing:.08em;white-space:nowrap;text-transform:uppercase}
.command-trigger.is-prefixed kbd{font-size:0}
.command-trigger.is-prefixed kbd::after{content:"G …";font-size:.66rem}
.pane-expanded .command-trigger{color:#080807}
.command-shortcut-target{position:relative}
.command-shortcut-hint{position:absolute;z-index:12;top:-.55rem;right:-.45rem;display:inline-flex;align-items:center;justify-content:center;min-width:2.45rem;margin:0;padding:.18rem .32rem;border:1px solid #ece7d8;border-radius:.16rem;background:#080807;box-shadow:0 5px 14px rgba(0,0,0,.24);color:#ece7d8;font:650 .58rem/1.1 var(--mono);letter-spacing:.02em;white-space:nowrap;pointer-events:none;visibility:hidden;opacity:0;transform:translateY(.2rem);transition:opacity .1s ease,transform .1s ease,visibility 0s linear .1s}
:root[data-shortcuts="visible"] .command-shortcut-hint{visibility:visible;opacity:1;transform:translateY(0);transition-delay:0s}
.command-drawer{position:fixed;inset:0 0 auto;box-sizing:border-box;width:100%;max-width:none;height:var(--command-height);max-height:none;margin:0;padding:0;border:0;border-bottom:1px solid #020504;border-radius:0;color:var(--command-blue);background:linear-gradient(90deg,#070c10,#101d24 45%,#0a1319);box-shadow:none;font:400 .9rem/1.5 var(--mono);overflow:hidden;color-scheme:dark;text-transform:uppercase}
.command-drawer::backdrop{background:rgba(0,0,0,.44);backdrop-filter:none;-webkit-backdrop-filter:none}
.command-drawer::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.16;background:repeating-linear-gradient(0deg,transparent 0 3px,#000 3px 4px),var(--gage-distress-image);background-size:auto,760px 520px}
.command-drawer[open]{animation:command-reveal .28s cubic-bezier(.2,.7,.25,1)}
.command-drawer[open]::backdrop{animation:command-dim .2s ease-out}
.command-inner{position:relative;display:flex;flex-direction:column;box-sizing:border-box;height:100%;max-width:70rem;margin:0 auto;padding:1.5rem clamp(1.2rem,4vw,4rem) 1rem}
.command-close{appearance:none;border:0;padding:0;background:none;color:var(--command-dim);font:inherit;text-transform:inherit;cursor:pointer}
.command-prompt{display:flex;align-items:center;gap:1rem;padding:.7rem 0;font-size:clamp(1.3rem,2.2vw,2rem);text-shadow:0 0 .55rem #278fff60}
.command-prompt input{appearance:none;box-sizing:border-box;min-width:0;width:100%;padding:.3rem 0;border:0;border-radius:0;outline:none;background:transparent;color:var(--command-blue);caret-color:var(--command-blue);font:inherit;text-shadow:inherit;text-transform:inherit}
.command-drawer .command-prompt input:focus-visible{outline:none}
.command-prompt input::placeholder{color:var(--command-dim);opacity:.8}
.command-prompt:focus-within{box-shadow:0 1px var(--command-blue)}
.command-results{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--command-rule) transparent;margin:.65rem 0}
.command-option{display:grid;grid-template-columns:2.5rem 1fr auto;align-items:baseline;gap:.75rem;padding:.46rem .65rem;color:var(--command-blue);text-decoration:none;border-bottom:1px solid #35515a66;text-shadow:0 0 .45rem #278fff35}
.command-option[aria-selected="true"]{background:var(--command-blue);color:var(--command-dark);text-shadow:none}
.command-number{font-size:.73rem;opacity:.8}
.command-chord{justify-self:end;min-width:3.9rem;margin:0;padding:.12rem .35rem;border:1px solid currentColor;border-radius:0;background:transparent;box-shadow:none;color:inherit;font:600 .64rem/1.1 var(--mono);letter-spacing:.04em;text-align:center}
.command-empty{flex:1;padding:1.1rem 0;color:var(--command-dim)}
.command-drawer [hidden]{display:none}
.command-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-top:.7rem;border-top:1px solid var(--command-rule);color:var(--command-dim);font-size:.68rem;letter-spacing:.04em}
.command-footer p{display:flex;align-items:center;gap:1.5rem;margin:0}
.command-close:focus-visible{outline:2px solid var(--command-blue);outline-offset:3px}
.command-reduced>.app{transition:none}
.command-reduced .command-drawer{animation:none}
@keyframes command-reveal{from{clip-path:inset(0 0 100% 0)}to{clip-path:inset(0)}}
@keyframes command-dim{from{background:transparent}to{background:rgba(0,0,0,.44)}}
@media(max-width:40rem){
  :root{--command-height:min(30rem,76svh)}
  .command-inner{padding:1rem}
  .command-option{grid-template-columns:1.7rem minmax(0,1fr) auto;gap:.5rem;padding:.6rem .4rem}
  .command-footer p{gap:.7rem}
  .command-footer{letter-spacing:0;font-size:.6rem}
  .command-trigger-standalone{top:.75rem;right:.75rem}
}
@media(prefers-reduced-motion:reduce){body>.app{transition:none}.command-shortcut-hint{transition:none}.command-drawer[open],.command-drawer[open]::backdrop{animation:none}}
@media print{.command-trigger,.command-shortcut-hint,.command-drawer{display:none!important}}
