.msc-estate-search{color:var(--msc-card-ink,#15324a);font-family:var(--msc-font-family,Lato,sans-serif);max-width:1100px;margin-inline:auto;padding:clamp(20px,4vw,40px);border-radius:var(--msc-radius-lg,24px);background:var(--msc-card-surface,#fff)}.msc-estate-search form>label{display:block;font-weight:700;margin:24px 0 8px}.msc-estate-search__bar{display:flex;gap:10px}.msc-estate-search input,.msc-estate-search select{box-sizing:border-box;min-height:48px;border:1px solid var(--msc-card-line,#cfdae4);border-radius:var(--msc-radius-md,12px);padding:12px;color:inherit;background:var(--msc-card-surface,#fff);font:inherit}.msc-estate-search input{width:100%;min-width:0;font-size:1.05rem}.msc-estate-search button,.msc-estate-search-trigger{border:0;border-radius:var(--msc-radius-md,12px);padding:12px 20px;font:inherit;font-weight:700;color:#fff;background:var(--msc-card-ink,#176b9b);cursor:pointer;min-height:44px}.msc-estate-search :focus-visible,.msc-estate-search-trigger:focus-visible{outline:3px solid var(--msc-card-blue,#edba45);outline-offset:3px}.msc-estate-search__status{min-height:1.5em;margin:24px 0;color:var(--msc-card-muted,#4e6274)}.msc-estate-search__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}.msc-estate-search__results>section{margin-block:28px}.msc-estate-search__results>section>h3{font-size:1.15rem;margin:0 0 16px}.msc-estate-search .msc-entity-card{min-width:0;overflow-wrap:anywhere}.msc-estate-search__excerpt{font-size:.9rem;line-height:1.55;margin:12px 0}.msc-estate-search__meta{font-size:.75rem;color:var(--msc-card-muted,#4e6274);margin:10px 0}.msc-estate-search mark{color:inherit;background:var(--msc-search-highlight,#fff0b7);border-radius:3px;padding:0 .08em}.msc-estate-search [hidden],.msc-modal[data-msc-search-modal][hidden]{display:none!important}.msc-modal[data-msc-search-modal] .msc-modal__dialog{max-height:90dvh;overflow:auto}.msc-modal[data-msc-search-modal] .msc-modal__body{padding:0}.msc-modal[data-msc-search-modal] .msc-estate-search{border-radius:0}@media(max-width:540px){.msc-estate-search__bar{flex-wrap:wrap}.msc-estate-search__bar button{width:100%}}@media(prefers-reduced-motion:reduce){.msc-estate-search *{scroll-behavior:auto;transition:none;animation:none}}

/* All result types share Foundation's search-density row and segmented control. */
.msc-estate-search form>label{margin-top:0}.msc-estate-search__status{margin:14px 0}.msc-estate-search__results>section{margin-block:18px}.msc-estate-search[data-view=list] .msc-estate-search__grid{grid-template-columns:minmax(0,1fr);gap:10px}.msc-estate-search .msc-estate-search__excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.msc-estate-search .msc-estate-search__meta{font-size:.75rem;line-height:1.3;color:var(--msc-card-muted,#4e6274);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.msc-estate-search .msc-segmented-control button{border-radius:999px;padding:8px 13px;min-height:36px;background:transparent;color:var(--msc-card-ink,#232c39);font-size:.84rem}.msc-estate-search .msc-segmented-control button[aria-pressed=true],.msc-estate-search .msc-segmented-control button:is(:hover,:focus-visible){background:var(--msc-card-surface,#fff);color:var(--msc-card-blue,#0099ff)}

/* Search uses the central popup shell outside the header's stacking context. */
.msc-modal[data-msc-search-modal]{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:18px;box-sizing:border-box}
.msc-modal[data-msc-search-modal] .msc-modal__backdrop{position:absolute;inset:0}
.msc-modal[data-msc-search-modal] .msc-modal__dialog{z-index:1;box-sizing:border-box;width:min(var(--msc-modal-dialog-width-wide,980px),100%);max-height:calc(100dvh - 36px)}
@media(max-width:540px){.msc-modal[data-msc-search-modal]{padding:8px}.msc-modal[data-msc-search-modal] .msc-modal__dialog{max-height:calc(100dvh - 16px)}}
.msc-modal[data-msc-search-modal]{--msc-modal-close-overhang:8px}
.msc-modal[data-msc-search-modal] .msc-modal__header{padding:16px 64px 16px 16px}
.msc-modal[data-msc-search-modal] .msc-modal__header h2{margin:0;font-size:clamp(1.1rem,2vw,1.5rem);line-height:1.3;overflow-wrap:anywhere}
