/* Search complements the Bracketbridge controls without storing a second index. */
.workspace-search-toggle{display:flex;align-items:center;gap:8px;height:36px;border:1px solid var(--line);border-radius:999px;padding:0 12px;background:var(--white);color:var(--muted);font-size:12px;white-space:nowrap}
.workspace-search-toggle:hover{border-color:var(--ink);color:var(--ink)}
.workspace-search-toggle svg{width:16px;height:16px}
.workspace-search-toggle kbd{font:10px inherit;color:var(--muted);margin-left:6px}
.workspace-search-body{padding-top:20px}
.workspace-search-body input{width:100%;font-size:16px;min-height:48px;border:1px solid var(--line);border-radius:8px;background:var(--white);padding:12px 14px;color:var(--ink)}
.search-options{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0}
.search-options select{border:1px solid var(--line);border-radius:7px;padding:8px 10px;max-width:70%;font-size:12px;color:var(--ink);background:var(--white)}
.search-options [role=status]{font-size:11px;color:var(--muted);white-space:nowrap}
.search-results{max-height:min(48vh,440px);overflow:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.search-result{display:flex;width:100%;align-items:center;gap:12px;text-align:left;background:transparent;border:0;border-bottom:1px solid var(--line);padding:13px 4px;color:var(--ink);border-radius:0}
.search-result:last-child{border-bottom:0}
.search-result:hover,.search-result:focus-visible{background:var(--paper)}
.search-result:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.search-result svg{width:17px;height:17px;flex-shrink:0;color:var(--muted)}
.search-result-icon{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0}
.search-result-copy{flex:1;min-width:0}
.search-result-copy strong{display:block;font-size:13px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
.search-result-copy small{display:block;color:var(--muted);font-size:11px;line-height:1.6;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-top:3px}
.search-help{font-size:11px;color:var(--muted);line-height:1.6;margin:14px 0 0}
.search-empty{padding:32px 12px;text-align:center;font-size:14px}
.search-empty p{font-size:12px;color:var(--muted);line-height:1.6}
@media(max-width:1100px){.workspace-search-toggle kbd{display:none}.topbar-actions{gap:10px}}
@media(max-width:720px){.workspace-search-toggle{padding:0 10px}.topbar .sync-control{display:none}.topbar-actions{gap:8px}.topbar .breadcrumb{min-width:0;flex:1}.topbar .breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:390px){.workspace-search-toggle span{display:none}.workspace-search-toggle{width:34px;padding:0;justify-content:center}.search-result{gap:6px}.search-result-icon{width:24px}}
/* Keyboard hints remain useful on desktop without crowding a touch toolbar. */
@media(pointer:coarse),(max-width:720px){.workspace-search-toggle kbd{display:none}}
