/* Property websites (idea_property_microsites) -- see property-sites.js.
   Own file because styles.css is written by several sessions at once. The
   workspace around the dialog is dark, so colours are set explicitly. */
.ps-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; overflow-y: auto; }
.ps-modal-backdrop { position: fixed; inset: 0; background: rgba(5, 12, 16, 0.6); }
.ps-dialog { position: relative; width: min(680px, 100%); padding: 18px; border-radius: 10px; background: #fff; color: #17211d; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.ps-dialog h3, .ps-dialog strong, .ps-dialog label { color: #17211d; }
.ps-dialog a { color: #0b5c6b; }
.ps-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ps-head h3 { margin: 0; }
.ps-muted { color: #455350; margin: 6px 0 12px; }
.ps-link-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
/* The global input rule makes every input full width; this one should share
   its row with the buttons. */
.ps-link-row input.ps-link { flex: 1 1 260px; width: auto; min-width: 0; padding: 8px 10px; font-family: inherit; }
.ps-stats { display: flex; flex-wrap: wrap; gap: 16px; margin: 6px 0 14px; font-size: 0.92rem; color: #455350; }
.ps-leads { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ps-lead { border: 1px solid #dce3df; border-radius: 8px; padding: 10px 12px; display: grid; gap: 4px; }
.ps-lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ps-lead-message { white-space: pre-line; margin: 4px 0; }
.ps-flag { font-size: 0.85rem; color: #6b4b00; background: #fff4d6; border-radius: 6px; padding: 4px 8px; justify-self: start; }
.ps-badge { font-size: 0.8rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #dff3e6; color: #11592c; }
.ps-ok { color: #11592c; }
.ps-error { color: #8a1c1c; }
.ps-foot { display: flex; justify-content: flex-end; margin-top: 14px; padding-top: 12px; border-top: 1px solid #dce3df; }
/* "Brokerage notices" on the listing page's side panel (2026-10-27). TREC asks
   for at least 10pt; these render at the panel's body size. */
.ps-notices .ps-notice { margin: 0 0 8px; font-size: 0.92rem; line-height: 1.35; }
.ps-notices .ps-notice a { color: var(--sv-heading); text-decoration: underline; text-underline-offset: 2px; }
.ps-notices .ps-notice:empty { display: none; }
.ps-notices .ps-notice-who { display: block; margin-top: 2px; color: var(--sv-text-muted); font-size: 0.78rem; }
/* "Sign in to talk to ..." pop-up (app.js showAskSignInPrompt, 2026-10-27).
   Kept here with the other listing-page additions; styles.css is shared. */
.ask-signin-prompt { border: 0; padding: 0; background: transparent; max-width: min(440px, calc(100vw - 32px)); }
.ask-signin-prompt::backdrop { background: rgba(5, 12, 16, 0.6); }
.ask-signin-card { position: relative; padding: 22px 22px 18px; border-radius: 12px; background: var(--sv-surface, #16293a); color: var(--sv-text, #ece5d5); border: 1px solid var(--sv-line, #2a4257); }
.ask-signin-card h3 { margin: 0 28px 8px 0; color: var(--sv-heading, #e6cf8f); font-size: 1.15rem; }
.ask-signin-card p { margin: 0 0 16px; color: var(--sv-text-muted, #b0c3d2); line-height: 1.45; }
.ask-signin-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-signin-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--sv-text-muted, #b0c3d2); font-size: 1.3rem; cursor: pointer; }
.ask-signin-x:hover, .ask-signin-x:focus-visible { background: var(--sv-surface-2, #1d3346); }
