/* Hosted controls extend the library; the original property stylesheet stays byte-identical. */
html[data-mode=hosted]:not([data-access=public]):not([data-authenticated]) body > :not(#access-gate):not(noscript){display:none!important}
html[data-mode=hosted] body{min-height:100dvh}
.access-gate{max-width:600px;margin:0 auto;padding:clamp(40px,8vh,100px) 28px;min-height:100dvh}
.access-gate .wordmark{display:inline-flex;margin-bottom:60px}.access-gate h1{font-size:clamp(38px,5vw,64px);line-height:1.05;letter-spacing:-.045em;margin:20px 0}.access-gate>p{max-width:430px;font-size:16px;color:var(--text-lighter)}
.access-gate form{margin-top:32px;max-width:400px}.access-gate input,#research-dialog input,#identity input:not([type=radio]):not([type=checkbox]),#identity textarea{display:block;width:100%;font:inherit;color:var(--text-black);border:1px solid #a8bbb0;border-radius:7px;padding:12px 14px;background:white;margin:7px 0 20px}
.access-gate label,#research-dialog label,#identity label{font-weight:600}.access-gate .button{width:100%}#access-status,#research-status{min-height:1.5em;color:#7b3330;font-size:14px}
#sign-out{margin-left:18px;font-size:12px}.library-next>.button{flex-shrink:0}
#research-dialog{inset:0;margin:auto;width:min(570px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 40px);padding:28px 32px;border:1px solid var(--line);border-radius:14px;overflow:auto;box-shadow:0 22px 90px #092d2e33}
#research-dialog::backdrop{background:#092d2e66;backdrop-filter:blur(3px)}#research-dialog>p{color:var(--text-lighter);margin:16px 0 24px}#research-dialog .picker-heading{padding:0;margin:0}#research-dialog h2{font-size:28px}#research-dialog #address-form{display:block}#research-dialog .button{width:100%;margin-top:4px}
html[data-mode=hosted] body[data-page=property] .address-area{max-width:940px;padding:24px 40px 40px}
html[data-mode=hosted] .address-area[hidden]{display:none}
html[data-mode=hosted] #status:empty{display:none}html[data-mode=hosted] #status{position:static;margin:0 0 12px;padding:0;color:var(--text-lighter);font-size:13px}
html[data-mode=hosted] .property-header #status{font-size:11px;line-height:1.6;margin:8px 0 0;max-width:55ch}
html[data-mode=hosted] .property-tools #research-actions{display:contents}
html[data-mode=hosted] .property-tools #research-actions .button{font-size:11px;padding:6px 10px}
#research-actions{display:flex;flex-wrap:wrap;gap:8px}
html[data-mode=hosted] .property-state{max-width:940px;margin:36px auto 0;padding:0 40px;border:0;background:transparent}html[data-mode=hosted] .property-state h1{font-size:36px;margin:18px 0 0}html[data-mode=hosted] .property-state:has(~ #property-view:not(:empty)){display:none}
@media(max-width:600px){#research-dialog{padding:22px 20px}.access-gate .wordmark{margin-bottom:44px}#sign-out{margin-left:10px}.navbar .prototype-label{display:none}.library-next{display:grid;grid-template-columns:40px 1fr;align-items:start}.library-next>.button{grid-column:2/3;width:max-content;max-width:100%;white-space:normal}#identity-form .button{white-space:normal;width:100%}}
@media(prefers-reduced-motion:reduce){#research-dialog{animation:none}}
@media(max-width:600px){html[data-mode=hosted] .property-state{margin-top:24px;padding:0 20px}html[data-mode=hosted] .property-state h1{font-size:30px}html[data-mode=hosted] body[data-page=property] .address-area{padding:20px 20px 32px}}

/* Live research sits in the hero; collection filtering stays in its heading. */
#hero-address-form{margin-top:34px}
.hero-search-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px}
.hero-search-heading label{font-size:12px;font-weight:500}
.hero-search-heading .text-button{font-size:11px;color:var(--green-medium)}
.hero-search-field{display:flex;align-items:center;gap:14px;min-height:66px;padding:8px 8px 8px 20px;background:white;border:1px solid #b3c5b8;border-radius:9px;box-shadow:0 4px 16px #092d2e06;transition:border-color 180ms,box-shadow 180ms}
.hero-search-field:focus-within{border-color:var(--green-medium);box-shadow:0 0 0 3px #1f7a5918}
.hero-search-field>svg{width:22px;height:22px;flex:0 0 22px;fill:none;stroke:var(--green-medium);stroke-width:1.5}
.hero-search-field input{width:100%;min-width:0;border:0;outline:none;background:transparent;color:var(--text-black);padding:10px 0;font-size:14px}
.hero-search-field input:focus-visible{outline:none}
.hero-search-field input::placeholder{color:#6e7d75}
.hero-search-field .button{flex-shrink:0;min-height:48px;padding:12px 17px;border-radius:5px}
#hero-research-status{color:#7b3330;font-size:12px;margin:10px 0 0}
#hero-research-status:empty{display:none}
@media(max-width:1000px){.hero-search-field{flex-wrap:wrap;gap:8px 12px;padding:14px}.hero-search-field input{width:calc(100% - 36px)}.hero-search-field .button{width:100%;min-height:42px;padding:9px 14px}}
@media(max-width:600px){#hero-address-form{margin-top:28px}.hero-search-field input{font-size:16px}.hero-search-field input::placeholder{font-size:12px}.hero-search-field{padding:12px}.hero-search-heading{gap:10px}}
@media(prefers-reduced-motion:reduce){.hero-search-field{transition:none}}
