.tp-command-palette[hidden] { display: none !important; }
.tp-command-palette { position: fixed; inset: 0; z-index: 11000; display: grid; align-items: start; justify-items: center; padding: min(15vh, 110px) 14px 24px; }
.tp-command-backdrop { position: absolute; inset: 0; background: rgba(8, 12, 17, .58); backdrop-filter: blur(3px); }
.tp-command-dialog { position: relative; width: min(680px, 100%); overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; background: #fff; color: #172b42; box-shadow: 0 24px 80px rgba(0,0,0,.35); }
.tp-command-input-row { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 13px 15px; border-bottom: 1px solid #d8e0e6; }
.tp-command-input-row input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: #172b42; font: 600 1rem/1.4 system-ui,sans-serif; }
.tp-command-input-row kbd, .tp-command-footer kbd { display: inline-block; padding: 2px 6px; border: 1px solid #cbd5dd; border-bottom-width: 2px; border-radius: 5px; background: #f5f7f8; color: #526270; font: 600 11px/1.4 system-ui,sans-serif; }
.tp-command-results { max-height: min(54vh, 470px); overflow-y: auto; padding: 7px; }
.tp-command-result { display: grid; width: 100%; grid-template-columns: 32px minmax(0,1fr); gap: 10px; align-items: center; padding: 10px 11px; border: 0; border-radius: 9px; background: transparent; color: #172b42; text-align: left; cursor: pointer; }
.tp-command-result.is-active { background: #eaf2f8; }
.tp-command-result strong, .tp-command-result small { display: block; }
.tp-command-result strong { font-size: .94rem; }
.tp-command-result small { margin-top: 2px; color: #667786; font-size: .78rem; }
.tp-command-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; background: #f2ead8; color: #8c5a15; font-weight: 900; }
.tp-command-footer { display: flex; flex-wrap: wrap; gap: 14px; padding: 9px 13px; border-top: 1px solid #e1e6ea; background: #f8fafb; color: #667786; font: 600 11px/1.4 system-ui,sans-serif; }
.tp-command-footer span { display: inline-flex; align-items: center; gap: 4px; }
body.tp-command-open { overflow: hidden; }
@media (max-width: 520px) { .tp-command-palette { padding-top: 60px; } .tp-command-footer { display: none; } }
