/* One searchable doorway to the existing tools. */
#commandMenuBtn { gap: 7px; }
#commandMenuBtn kbd { font: 9px var(--font-mono); border: 1px solid var(--border); border-radius: 4px; padding: 3px 4px; color: var(--text-dim); }
.command-modal { z-index: 10020; }
.command-modal .command-dialog { width: min(640px, calc(100vw - 32px)); max-width: 640px; max-height: min(760px, calc(100dvh - 40px)); padding: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--abyss); color: var(--text); border: 1px solid var(--border-light); border-radius: 20px; box-shadow: 0 24px 100px #0006; }
.command-heading { display: flex; align-items: flex-start; justify-content: space-between; padding: 24px 25px 18px; gap: 16px; }
.command-heading .eyebrow { color: var(--life); font: 9px var(--font-mono); letter-spacing: .12em; }
.command-heading h2 { font: 400 29px/1.2 var(--font-editorial); margin: 8px 0 0; letter-spacing: -.025em; }
.command-close { color: var(--text); width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; font-size: 24px; flex: 0 0 auto; }
.command-close:hover { background: var(--elevated); }
.command-search-wrap { display: flex; align-items: center; gap: 10px; margin: 0 22px 12px; border: 1px solid var(--border-light); border-radius: 10px; padding: 0 14px; background: var(--surface); flex-shrink: 0; }
.command-search-wrap:focus-within { border-color: var(--life); box-shadow: 0 0 0 2px var(--life-glow); }
.command-search-wrap > span { font-size: 25px; color: var(--life); }
#commandSearch { flex: 1; min-width: 0; height: 50px; padding: 0; background: transparent; border: 0; color: var(--text); font: 14px var(--font-display); outline: none; }
#commandSearch::placeholder { color: var(--text-muted); }
.command-results { overflow: auto; overscroll-behavior: contain; min-height: 80px; padding: 0 12px 12px; scrollbar-width: thin; scrollbar-color: var(--border-light) transparent; }
.command-category { padding: 15px 12px 8px; color: var(--text-muted); font: 9px var(--font-mono); text-transform: uppercase; letter-spacing: .12em; }
.command-option { display: flex; gap: 14px; align-items: center; justify-content: space-between; min-height: 61px; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.command-option[aria-selected="true"] { border-color: var(--border-light); background: var(--elevated); }
.command-option strong { display: block; color: var(--text); font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.command-option small { display: block; color: var(--text-dim); font-size: 11px; line-height: 1.5; }
.command-enter { font: 17px var(--font-mono); color: var(--life); visibility: hidden; }
.command-option[aria-selected="true"] .command-enter { visibility: visible; }
.command-empty { padding: 28px 16px; color: var(--text-dim); font-size: 13px; line-height: 1.6; }
.command-footer { display: flex; justify-content: space-between; gap: 10px; padding: 13px 24px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 10px; flex-shrink: 0; }
.command-footer kbd { font: 9px var(--font-mono); margin-right: 3px; padding: 2px 4px; border: 1px solid var(--border); border-radius: 4px; }
.command-close:focus-visible { outline: 2px solid var(--life); outline-offset: 3px; }
[data-world="techno"] .command-modal .command-dialog, [data-world="techno"] .command-option { border-radius: 7px; }
[data-world="techno"] .command-heading h2 { font-family: var(--font-display); font-size: 25px; }
@media (max-width: 700px) {
  #commandMenuBtn kbd { display: none; }
  .command-modal .command-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .command-heading { padding: 20px 18px 16px; }
  .command-heading h2 { font-size: 26px; }
  .command-search-wrap { margin: 0 16px 8px; }
  #commandSearch { font-size: 16px; }
  .command-results { padding: 0 8px 8px; }
  .command-footer { padding: 12px 18px; }
}
@media (max-height: 500px) {
  .command-heading { padding: 12px 18px 8px; }
  .command-heading h2 { font-size: 22px; }
  .command-heading .eyebrow { display: none; }
  #commandSearch { height: 42px; }
  .command-footer { padding-top: 8px; padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) { .command-modal, .command-dialog { transition: none !important; animation: none !important; } }
