/* Search uses the shared card, input, button and Tabs components. */
.gallery-ui .search-page .unified-search-form{margin:var(--ac-space-6) 0 var(--ac-space-6);max-width:760px}
.search-tabs{min-width:0}
.search-source-bar{position:sticky;top:var(--search-header-height,var(--ac-header-height));z-index:calc(var(--ac-z-sticky) - 1);display:flex;justify-content:space-between;align-items:center;gap:var(--ac-space-3);padding:var(--ac-space-3) 0;margin-bottom:var(--ac-space-6);background:var(--ac-bg);border-bottom:1px solid var(--ac-border)}
.search-source-bar .ac-tabs{max-width:100%;overflow-x:auto;flex:none}
.search-source-bar .ac-tab{min-height:44px;flex:none}
.search-source-count{font-size:var(--ac-text-sm);color:var(--ac-fg-muted);font-variant-numeric:tabular-nums}
.search-source-panel[data-hidden]{display:none}
.search-source-panel{min-width:0}
.search-card-source{display:block;order:3;color:var(--ac-fg-muted);font-size:var(--ac-text-xs);line-height:1.4;margin-top:var(--ac-space-2)}
.search-loading{text-align:center;padding:var(--ac-space-8) 0;color:var(--ac-fg-muted)}
.search-loading-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:var(--ac-space-3)}
.search-loading-actions:empty,.search-note:empty{display:none}
.search-note{color:var(--ac-fg-muted);margin-bottom:var(--ac-space-4)}
.search-sentinel{height:1px}
.search-source-bar .gallery-layout{margin:0;flex:none}
@media(max-width:760px){.search-source-bar{gap:var(--ac-space-2);flex-wrap:wrap}.search-source-bar .ac-tab{padding-inline:var(--ac-space-3)}}
.gallery-ui .search-page .unified-search-form{display:flex;flex-wrap:nowrap;align-items:stretch}
.gallery-ui .search-page .unified-search-form .list-search-input{min-width:0;width:0;flex:1}
.gallery-ui .search-page .unified-search-form{flex-direction:row}
