/* SPACE Experience · Search V3. App-only surface; legacy external overlays retain hub.css. */
.seh-app-page[data-seh-page-view="search"]{overflow-y:auto;overflow-x:hidden}
.seh-social-app .seh-search-panel{position:relative!important;inset:auto!important;z-index:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:100%!important;max-height:none!important;margin:0!important;padding:0 0 28px!important;border:0!important;border-radius:0!important;background:#0b0b0b!important;box-shadow:none!important;overflow:visible!important;backdrop-filter:none!important}
.seh-social-app .seh-search-panel[hidden],.seh-social-app .seh-search-panel [hidden]{display:none!important}
.seh-social-app .seh-search-panel-head{position:sticky!important;top:0!important;z-index:4;width:100%;max-width:1180px;margin:0 auto;padding:16px var(--seh-page-pad-x,18px) 10px!important;display:flex}
.seh-social-app .seh-search-panel-head>[data-seh-search-close]{display:none!important}
.seh-social-app .seh-search-field{display:flex;align-items:center;gap:10px;width:100%!important;min-width:0;height:52px!important;min-height:52px!important;max-height:none!important;padding:0 12px!important;border:0!important;border-radius:999px!important;background:var(--seh-ui-surface)!important;box-shadow:none!important;backdrop-filter:none!important}
.seh-social-app .seh-search-field:focus-within{outline:2px solid var(--seh-ui-accent);outline-offset:-2px}
.seh-social-app .seh-search-field>svg{flex:none;width:20px;height:20px;color:var(--seh-ui-muted)}
.seh-social-app .seh-search-field input{flex:1;min-width:0;width:100%;height:100%;font-size:16px!important;line-height:normal;background:transparent;color:var(--seh-ui-text);border:0;outline:none;appearance:none}
.seh-social-app .seh-search-field input::-webkit-search-cancel-button{display:none}
.seh-search-clear{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;background:transparent;color:var(--seh-ui-muted);cursor:pointer}
.seh-search-clear svg{width:20px;height:20px;fill:none;stroke:currentColor}
.seh-social-app :is(.seh-search-panel-copy,.seh-search-ideas,.seh-search-results,.seh-search-explore){width:100%!important;max-width:1180px!important;min-width:0;margin:0 auto!important;padding:12px var(--seh-page-pad-x,18px)!important}
.seh-social-app .seh-search-panel-copy{display:grid;gap:7px}
.seh-social-app .seh-search-panel-copy strong,.seh-social-app .seh-search-panel-copy .seh-decision-search-note{color:var(--seh-ui-muted)!important;font-size:.85rem!important;line-height:1.5;display:block}
.seh-social-app .seh-search-ideas>p,.seh-search-explore-head small{margin:0 0 9px;color:var(--seh-ui-accent);font:750 .68rem/1.3 'Space Grotesk',sans-serif;letter-spacing:.1em;text-transform:uppercase}
.seh-social-app .seh-search-ideas>div{display:flex!important;flex-wrap:wrap!important;gap:8px;padding:0!important;overflow:visible!important}
.seh-social-app .seh-search-ideas button{display:inline-flex;align-items:center;gap:8px;min-height:44px!important;padding:0 14px!important;border:0!important;border-radius:999px!important;background:var(--seh-ui-surface)!important;color:var(--seh-ui-text)!important;font-size:.84rem!important;font-weight:650}
.seh-social-app .seh-search-ideas button svg{width:21px;height:21px;flex:none}
.seh-social-app .seh-search-ideas>small{display:block!important;margin-top:10px;color:var(--seh-ui-muted);font-size:.78rem;line-height:1.5}
.seh-search-explore-head{display:grid;gap:7px;margin:0 0 15px}
.seh-search-explore-head h2{margin:0;color:var(--seh-ui-text);font:600 clamp(1.55rem,5vw,2.35rem)/1.13 'Space Grotesk',sans-serif;letter-spacing:-.04em}
.seh-search-explore-head span{color:var(--seh-ui-muted);font-size:.84rem}
.seh-search-explore-grid{--seh-explore-cols:4;--seh-explore-gap:12px;display:flex;flex-direction:column;gap:var(--seh-explore-gap);overflow-anchor:none}
 .seh-search-explore-chunk{flex:0 0 auto;display:grid;grid-template-columns:repeat(var(--seh-explore-cols),minmax(0,1fr));gap:var(--seh-explore-gap);min-width:0}
.seh-search-explore-chunk.is-virtual{display:block;pointer-events:none}
.seh-search-explore-tile{position:relative;min-width:0;display:flex;flex-direction:column;overflow:hidden;padding:0;border:0;border-radius:var(--seh-ui-radius);background:var(--seh-ui-elevated);color:var(--seh-ui-text);text-align:left;text-decoration:none;cursor:pointer;font-family:inherit}
.seh-search-explore-media{display:block;width:100%;aspect-ratio:4/3;background:var(--seh-ui-surface) center/cover no-repeat}
.seh-search-explore-copy{display:grid;gap:5px;padding:13px;min-width:0}
.seh-search-explore-copy small,.seh-search-explore-copy em{font-size:.75rem;line-height:1.4;color:var(--seh-ui-muted);font-style:normal;overflow-wrap:anywhere}
.seh-search-explore-copy strong{font:600 1.08rem/1.22 'Space Grotesk',sans-serif;overflow-wrap:anywhere}
.seh-search-explore-copy em{color:var(--seh-ui-accent)}
.seh-search-explore-badge{position:absolute;top:9px;left:9px;padding:5px 8px;border-radius:999px;background:#171c17;color:var(--seh-ui-text);font-size:.66rem;font-weight:750}
.seh-search-explore-tile.is-query{justify-content:center;gap:12px;padding:16px;background:var(--seh-ui-surface)}
.seh-search-explore-tile.is-query>i{color:var(--seh-ui-accent);display:grid;place-items:center;width:36px;height:36px}
.seh-search-explore-tile.is-query svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6}
.seh-search-explore-tile.is-now-icon svg{fill:currentColor;stroke:none}
.seh-search-explore-tile.is-query>div{display:grid;gap:6px}
.seh-search-explore-tile.is-query small{font-size:.65rem;color:var(--seh-ui-muted)}
.seh-search-explore-tile.is-query strong{font:600 1.15rem/1.2 'Space Grotesk',sans-serif}
@keyframes sehSearchSkeleton{from{opacity:.45}to{opacity:1}}
.seh-social-app .seh-search-results.is-search-explore-hidden{display:none!important}
.seh-social-app .seh-search-results{display:grid;gap:18px!important}
.seh-social-app .seh-search-group{display:grid;gap:9px!important;margin:0!important}
.seh-social-app .seh-search-group-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 3px!important;padding:0!important}
.seh-social-app .seh-search-group-head strong{font:600 1.2rem/1.2 'Space Grotesk',sans-serif;color:var(--seh-ui-text)}
.seh-social-app .seh-search-group-head span{color:var(--seh-ui-muted);font-size:.8rem}
.seh-social-app .seh-global-result{display:grid!important;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:12px!important;min-height:100px;padding:10px!important;margin:0!important;border:0!important;border-radius:20px!important;background:var(--seh-ui-elevated)!important;box-shadow:none!important;text-decoration:none}
.seh-social-app .seh-global-result-media{width:76px!important;height:76px!important;min-height:0!important;border-radius:14px!important;background-color:var(--seh-ui-surface)}
.seh-social-app .seh-global-result-copy{min-width:0;display:grid;gap:5px}
.seh-social-app .seh-global-result-copy:before{content:none!important;display:none!important}
.seh-social-app .seh-global-result-copy strong{font:650 1.05rem/1.2 'Space Grotesk',sans-serif!important;color:var(--seh-ui-text);white-space:normal!important;overflow-wrap:anywhere}
.seh-social-app .seh-global-result-copy :is(small,.seh-global-result-distance,.seh-result-decision,.seh-result-budget){font-size:.76rem!important;line-height:1.4!important;white-space:normal!important;color:var(--seh-ui-muted);overflow-wrap:anywhere}
.seh-social-app .seh-global-result-copy .seh-result-decision{color:#c4d9b3}
.seh-social-app .seh-global-result-meta{display:grid;justify-items:end;gap:5px;padding:0!important;min-width:0}
.seh-social-app .seh-global-result-meta>span{font-size:.85rem!important;color:var(--seh-ui-accent);white-space:nowrap}
.seh-global-result-meta svg{width:20px;height:20px}
.seh-social-app .seh-global-result-meta em{font-size:.68rem!important}
.seh-social-app .seh-search-loading{display:grid;gap:9px;padding:0}
.seh-search-loading>div{display:flex;gap:12px;align-items:center;padding:10px;min-height:100px;border-radius:20px;background:var(--seh-ui-surface)}
.seh-social-app .seh-search-loading i{display:block;width:76px;height:76px;flex:none;border-radius:14px;background:var(--seh-ui-soft);animation:sehSearchSkeleton 1.5s ease-in-out infinite alternate}
.seh-search-loading>div>span{flex:1;display:grid;gap:10px}.seh-search-loading b{display:block;width:80%;height:13px;border-radius:99px;background:var(--seh-ui-soft)}.seh-search-loading b:last-child{width:55%}
.seh-social-app :is(.seh-search-zero,.seh-search-location-hint,.seh-search-explore-empty){display:grid;gap:9px;justify-items:start;align-content:center;min-height:120px;padding:18px!important;background:var(--seh-ui-surface);border:0!important;border-radius:var(--seh-ui-radius)}
.seh-search-explore-empty{grid-column:1/-1}.seh-search-explore-empty>div{display:grid;gap:8px}
.seh-social-app :is(.seh-search-zero,.seh-search-explore-empty) strong{font-size:1rem;color:var(--seh-ui-text)}
.seh-social-app :is(.seh-search-zero,.seh-search-location-hint,.seh-search-explore-empty) span{font-size:.84rem;color:var(--seh-ui-muted);line-height:1.5}
.seh-social-app :is(.seh-search-zero,.seh-search-location-hint,.seh-search-explore-empty) button{min-height:44px;padding:0 15px;border:0;border-radius:999px;background:var(--seh-ui-accent);color:#10140c;font-size:.83rem;font-weight:750}
.seh-search-panel :is(button,a):focus-visible{outline:2px solid var(--seh-ui-accent);outline-offset:2px}
@media(max-width:950px){.seh-search-explore-grid{--seh-explore-cols:3}}
@media(max-width:700px){.seh-search-explore-grid{--seh-explore-cols:2;--seh-explore-gap:10px}.seh-search-explore-tile{border-radius:20px}.seh-search-explore-copy{padding:11px}.seh-social-app .seh-global-result{grid-template-columns:64px minmax(0,1fr) auto;gap:10px!important}.seh-social-app .seh-global-result-media{width:64px!important;height:64px!important}.seh-social-app .seh-global-result-meta>span{font-size:.8rem!important}}
@media(prefers-reduced-motion:reduce){.seh-social-app .seh-search-loading i{animation:none!important}}

/* Continuous discovery: one stable append target, accessible manual fallback. */
.seh-search-explore-tail{display:grid;justify-items:center;gap:9px;padding:18px 0 10px;color:var(--seh-ui-muted);font-size:.82rem;text-align:center}
.seh-search-explore-tail [data-xps-status]:empty{display:none}
.seh-search-explore-tail button{min-height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--seh-ui-surface);color:var(--seh-ui-text);font:inherit;font-weight:650;cursor:pointer}
 .seh-search-explore-tail{min-height:80px;align-content:center;overflow-anchor:none}
.seh-search-explore-tail button:disabled{cursor:wait;opacity:.75}
