/*! ZhaoUI 0.1.0 · css command · generated by packages/ui/scripts/build.mjs, do not edit by hand */
/* ---- 50-navigation-cmd ---- */
dialog.zh-cmd { position: fixed; top: 12vh; left: 50%; margin: 0; padding: 0; width: min(640px, calc(100vw - 24px)); max-height: 72vh; border: 1px solid var(--zh-border); border-radius: calc(var(--zh-radius-lg) + 2px); background: var(--zh-bg-elevated); color: var(--zh-text); box-shadow: var(--zh-shadow-lg); transform: translateX(-50%); overflow: hidden; font-size: var(--zh-fs); line-height: var(--zh-line); }

dialog.zh-cmd[open] { display: flex; flex-direction: column; animation: zh-cmd-in var(--zh-dur-base) var(--zh-ease-enter); }

dialog.zh-cmd[open]::backdrop { background: var(--zh-overlay); animation: zh-cmd-fade var(--zh-dur-base) var(--zh-ease-standard); }

dialog.zh-cmd.is-closing { animation: zh-cmd-out var(--zh-dur-fast) var(--zh-ease-exit) forwards; }

dialog.zh-cmd.is-closing::backdrop { animation: zh-cmd-fade var(--zh-dur-fast) var(--zh-ease-exit) reverse forwards; }

@keyframes zh-cmd-in { from { opacity: 0; transform: translate(-50%, -8px) scale(.98); } to { opacity: 1; transform: translate(-50%, 0); } }

@keyframes zh-cmd-out { to { opacity: 0; transform: translate(-50%, -6px) scale(.98); } }

@keyframes zh-cmd-fade { from { opacity: 0; } to { opacity: 1; } }

.zh-cmd-input { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--zh-border); color: var(--zh-text-tertiary); }

.zh-cmd-input input { flex: 1; min-width: 0; height: max(52px, calc(var(--zh-control-h) + 12px)); border: 0; outline: none; background: none; color: var(--zh-text); font: inherit; font-size: 1.05em; }

.zh-cmd-input input::placeholder { color: var(--zh-text-tertiary); }

.zh-cmd-list { flex: 1; overflow: auto; padding: 8px; }

.zh-cmd-gl { padding: 10px 10px 4px; font: 600 11px var(--zh-font-mono); letter-spacing: .08em; color: var(--zh-text-tertiary); }

.zh-cmd-item { display: flex; align-items: center; gap: 12px; min-height: max(var(--zh-touch-min, 0px), calc(var(--zh-control-h) + 4px)); padding: 0 10px; border-radius: var(--zh-radius-md); cursor: pointer; }

.zh-cmd-item .ico { flex: none; color: var(--zh-text-tertiary); }

.zh-cmd-item[aria-selected="true"] { background: var(--zh-color-primary-subtle); color: var(--zh-color-primary-text); }

.zh-cmd-item[aria-selected="true"] .ico { color: inherit; }

.zh-cmd-item .zh-cmd-hint { margin-left: auto; color: var(--zh-text-tertiary); font-size: .86em; white-space: nowrap; }

.zh-cmd-item[aria-selected="true"] .zh-cmd-hint { color: inherit; opacity: .8; }

.zh-cmd-item mark { background: none; color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--zh-color-primary); }

.zh-cmd-empty { padding: 36px 16px; text-align: center; color: var(--zh-text-tertiary); }

.zh-cmd-foot { display: flex; align-items: center; gap: 16px; padding: 8px 16px; border-top: 1px solid var(--zh-border); background: var(--zh-bg-subtle); color: var(--zh-text-tertiary); font-size: .86em; }

.zh-cmd-foot span { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 767px) {
dialog.zh-cmd { top: 8px; max-height: calc(100vh - 16px); }
.zh-cmd-foot { display: none; }
}
