.sga-command-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 12px;
    color: #3a1467;
    background: #f6f3fa;
    border: 1px solid #e4dced;
    border-radius: 12px;
    cursor: pointer;
}
.sga-command-menu {
    width: min(640px, calc(100vw - 32px));
    max-height: min(680px, calc(100dvh - 48px));
    margin: auto;
    padding: 0;
    overflow: auto;
    color: #292136;
    background: #fff;
    border: 1px solid #e4dced;
    border-radius: 20px;
    box-shadow: 0 24px 80px #160c3340;
}
.sga-command-menu::backdrop { background: #180d32a6; backdrop-filter: blur(5px); }
body.sga-command-open { overflow: hidden; }
.sga-command-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; }
.sga-command-header h2 { margin: 0 0 5px; color: #3a1467; font-size: 1.2rem; font-weight: 700; }
.sga-command-header p { margin: 0; color: #71687d; font-size: .88rem; }
.sga-command-close { flex-shrink: 0; width: 36px; height: 36px; color: #71687d; background: #f6f3fa; border: 0; border-radius: 10px; font-size: 24px; cursor: pointer; }
.sga-command-search { display: flex; align-items: center; gap: 12px; margin: 0 24px; padding: 0 14px; color: #3a1467; background: #f6f3fa; border: 1px solid #e4dced; border-radius: 12px; }
.sga-command-search:focus-within { outline: 2px solid #7955a6; outline-offset: 2px; }
.sga-command-search input { width: 100%; min-width: 0; padding: 14px 0; color: #292136; background: transparent; border: 0; outline: none; font: inherit; }
.sga-command-status { margin: 16px 24px 8px; color: #71687d; font-size: .8rem; }
.sga-command-results { max-height: 380px; max-height: min(380px, 45dvh); overflow-y: auto; padding: 0 12px 12px; }
.sga-command-result { display: flex; align-items: center; gap: 12px; padding: 12px; color: inherit; border: 1px solid transparent; border-radius: 12px; cursor: pointer; }
.sga-command-result:hover, .sga-command-result[aria-selected="true"] { color: #3a1467; background: #f2ecf9; border-color: #e4dced; }
.sga-command-result-icon { display: grid; flex: 0 0 40px; height: 40px; place-items: center; background: #fff; border-radius: 10px; color: #7955a6; }
.sga-command-result-copy { flex: 1; min-width: 0; }
.sga-command-result-copy strong, .sga-command-result-copy small, .sga-command-result-copy em { display: block; overflow-wrap: anywhere; }
.sga-command-result-copy strong { font-size: .94rem; }
.sga-command-result-copy small { margin-top: 3px; color: #71687d; font-size: .82rem; }
.sga-command-result-copy em { margin-top: 4px; color: #7955a6; font-size: .74rem; font-style: normal; }
.sga-command-empty { padding: 24px; color: #71687d; text-align: center; }
.sga-command-empty[hidden] { display: none; }
.sga-command-footer { display: flex; flex-wrap: wrap; gap: 16px; padding: 14px 24px; color: #71687d; background: #faf8fc; border-top: 1px solid #e4dced; font-size: .75rem; }
.sga-command-menu kbd, .sga-command-trigger kbd { padding: 2px 5px; color: #71687d; background: #fff; border: 1px solid #e4dced; border-radius: 4px; font-size: .72rem; }
.sga-command-trigger:focus-visible, .sga-command-close:focus-visible { outline: 2px solid #7955a6; outline-offset: 2px; }
@media (max-width: 767.98px) {
    .sga-command-trigger { width: 40px; height: 40px; justify-content: center; padding: 0; }
    .sga-command-trigger span, .sga-command-trigger kbd { display: none; }
    .sga-command-header { padding: 18px 16px 14px; }
    .sga-command-search { margin: 0 16px; }
    .sga-command-status { margin-left: 16px; }
    .sga-command-footer { padding: 12px 16px; gap: 10px; }
}
