
.global-search { position: relative; flex: 1; min-width: 0; }
.global-search > .search { width: 100%; }
.global-search-results { position: absolute; top: calc(100% + 8px); left: 0; width: min(680px, 80vw); max-height: min(70vh, 640px); overflow-y: auto; background: var(--surface, #fff); color: var(--ink); border: 1px solid var(--line, #d8e1dc); border-radius: 12px; box-shadow: 0 12px 32px #0002; z-index: 100; padding: 8px; }
.global-search-group h3 { margin: 8px 8px 4px; font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.global-search-results button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%; height: auto; min-height: 48px; padding: 10px; gap: 4px; border: 0; background: transparent; color: inherit; box-shadow: none; }
.global-search-results button:hover, .global-search-results button.active, .global-search-results button:focus-visible { background: var(--soft-strong, #eef3ef); }
.global-search-results strong, .global-search-results small { white-space: normal; overflow-wrap: anywhere; }
.global-search-results small { font-weight: 400; color: var(--muted); }
.global-search-results mark { background: #ffe59b; color: #493900; }
.global-search-results .search-more { min-height: 32px; font-size: 12px; color: var(--muted); }
.global-search-message { padding: 12px; margin: 0; }
@media(max-width: 600px) { .global-search-results { width: min(90vw, 680px); max-height: 60vh; } }
