/* Brief pass (agents-profile). Loaded last on public pages: the agent profile (/agent/:id) with its
   property map + coordinated cards (agent-portfolio) and its tokens, and the landing page's "Need to sell a home?"
   start inside Local expertise. The profile layout itself (identity, contact, facts, About, license, sales) is in trust-profile.css. */

/* ---------- Landing: Need to sell a home? ---------- */
html[data-aw-theme] body.pm-public main .aw-hf-sell{display:grid;gap:12px;margin:calc(22 * var(--r,1px)) 0 0;padding:16px 18px 14px;border:1px solid var(--ref-line,#e3e7ec);border-radius:8px;background:var(--ref-surface,#fff);box-shadow:0 1px 2px rgba(16,24,40,.04)}
html[data-aw-theme] body.pm-public main .aw-hf-sell-copy{display:flex;align-items:flex-start;gap:12px}
html[data-aw-theme] body.pm-public main .aw-hf-sell-icon{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--ref-soft,#eef4fd);color:var(--ref-blue,#0b5cf2)}
html[data-aw-theme] body.pm-public main .aw-hf-sell h3{margin:0!important;font-size:18px!important;font-weight:700!important;line-height:1.25!important;color:var(--ref-ink,#141a24)!important;letter-spacing:-.01em}
html[data-aw-theme] body.pm-public main .aw-hf-sell-copy p{margin:3px 0 0!important;font-size:14.5px!important;line-height:1.45!important;color:var(--ref-text,#3f4754)!important;max-width:58ch}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row{display:grid;grid-template-columns:minmax(0,170px) auto;grid-template-areas:"label label" "input button";gap:6px 10px;align-items:center}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row label{grid-area:label;margin:0!important;font-size:14px!important;font-weight:600!important;color:var(--ref-ink,#141a24)!important}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row label span{font-weight:400;color:var(--ref-muted,#687180)}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row input{grid-area:input;width:100%!important;height:44px!important;min-height:0!important;margin:0!important;padding:0 12px!important;border:1px solid var(--ref-line-strong,#cfd5dd)!important;border-radius:6px!important;background:var(--ref-surface,#fff)!important;color:var(--ref-ink,#141a24)!important;font:600 17px/1 'Source Sans 3',system-ui,sans-serif!important;letter-spacing:.02em;box-shadow:none!important}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row input::placeholder{font-weight:400;color:var(--ref-muted,#687180)}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row input:focus{border-color:var(--ref-blue,#0b5cf2)!important;outline:none!important;box-shadow:0 0 0 3px rgba(11,92,242,.25)!important}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row input[aria-invalid=true]{border-color:#c53a32!important}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row button{grid-area:button;justify-self:start;display:inline-flex!important;align-items:center;justify-content:center;height:44px!important;min-height:0!important;margin:0!important;padding:0 20px!important;border:0!important;border-radius:6px!important;background:var(--ref-blue,#0b5cf2)!important;color:#fff!important;font:600 15px/1 'Source Sans 3',system-ui,sans-serif!important;white-space:nowrap;cursor:pointer}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row button:hover{background:var(--ref-blue-hover,#0a4fd1)!important}
html[data-aw-theme] body.pm-public main .aw-hf-sell-row button:disabled{opacity:.75;cursor:progress}
html[data-aw-theme] body.pm-public main .aw-hf-sell>small{margin-top:-4px;font-size:13px;line-height:1.4;color:var(--ref-muted,#687180)}
html[data-aw-theme] body.pm-public main .aw-hf-sell>small[data-error]{color:#c53a32;font-weight:600}
html[data-aw-theme=dark] body.pm-public main .aw-hf-sell>small[data-error]{color:#ff8a80}
html[data-aw-theme=dark] body.pm-public main .aw-hf-sell-icon{background:#1b2c47;color:#98baff}
@media (max-width:520px){
 html[data-aw-theme] body.pm-public main .aw-hf-sell{padding:14px}
 html[data-aw-theme] body.pm-public main .aw-hf-sell-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"label" "input" "button"}
 html[data-aw-theme] body.pm-public main .aw-hf-sell-row button{justify-self:stretch}
}

/* ---------- Agent profile: tokens shared with the property map + cards below (the profile layout itself is in trust-profile.css) ---------- */
html[data-aw-theme] body.pm-public main .aw-ap{--ap-ink:var(--discover-ink,#191d24);--ap-muted:var(--discover-muted,#666f7b);--ap-line:var(--discover-line,#e2e5ea);--ap-surface:var(--discover-surface,#fff);--ap-soft:var(--discover-soft,#f3f5f7);--ap-blue:var(--ref-blue,#0b5cf2);--ap-link:var(--ref-link,#1a5fd6);--ap-tint:#eef4fd;--ap-tint-line:#d5e3f8}
html[data-aw-theme=dark] body.pm-public main .aw-ap{--ap-tint:#132239;--ap-tint-line:#24406a}

/* ---------- Profile map + coordinated cards ---------- */
html[data-aw-theme] body.pm-public main .aw-pf{display:grid;gap:14px;min-width:0}
html[data-aw-theme] body.pm-public main .aw-pf-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}
html[data-aw-theme] body.pm-public main .aw-pf-views{display:inline-flex;flex-wrap:wrap;padding:3px;border:1px solid var(--ap-line);border-radius:8px;background:var(--ap-surface)}
html[data-aw-theme] body.pm-public main .aw-pf-views button{display:inline-flex!important;align-items:center;gap:7px;min-height:38px!important;margin:0!important;padding:0 14px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:var(--ap-ink)!important;font:600 15px/1 'Source Sans 3',system-ui,sans-serif!important;box-shadow:none!important;cursor:pointer}
html[data-aw-theme] body.pm-public main .aw-pf-views button:hover{background:var(--ap-soft)!important}
html[data-aw-theme] body.pm-public main .aw-pf-views button[aria-pressed=true]{background:var(--ap-blue)!important;color:#fff!important}
html[data-aw-theme] body.pm-public main .aw-pf-views button:focus-visible{outline:2px solid var(--ap-blue)!important;outline-offset:2px}
html[data-aw-theme] body.pm-public main .aw-pf-count{display:inline-grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:var(--ap-soft);color:var(--ap-muted);font-size:12.5px;font-weight:700;font-variant-numeric:tabular-nums}
html[data-aw-theme] body.pm-public main .aw-pf-views button[aria-pressed=true] .aw-pf-count{background:rgba(255,255,255,.22);color:#fff}
html[data-aw-theme] body.pm-public main .aw-pf-legend{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none;margin:0;padding:0;font-size:14px;color:var(--ap-ink)}
html[data-aw-theme] body.pm-public main .aw-pf-legend li{display:inline-flex;align-items:center;gap:7px;margin:0}
html[data-aw-theme] body.pm-public main .aw-pf-swatch{flex:none}
html[data-aw-theme] body.pm-public main .aw-pf-stage{display:grid;gap:8px}
html[data-aw-theme] body.pm-public main .aw-pf-map{position:relative;height:clamp(300px,34vw,420px);border:1px solid var(--ap-line);border-radius:10px;overflow:hidden;background:var(--ap-soft)}
html[data-aw-theme] body.pm-public main .aw-pf-map-canvas{position:absolute;inset:0}
html[data-aw-theme] body.pm-public main .aw-pf-map-fallback{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:min(90%,420px);margin:0!important;padding:10px 14px;border-radius:8px;background:var(--ap-surface);box-shadow:0 1px 4px rgba(16,24,40,.12);font-size:14px;line-height:1.45;text-align:center;color:var(--ap-ink)}
html[data-aw-theme] body.pm-public main .aw-pf-map-note{margin:0!important;font-size:13.5px;line-height:1.45;color:var(--ap-muted)}
/* The card grid, cards, selection ring, Sold fact lines and Show more are in profile-cards.css (trust pass). */
@media (max-width:620px){
 html[data-aw-theme] body.pm-public main .aw-pf-tools{flex-direction:column;align-items:stretch}
 html[data-aw-theme] body.pm-public main .aw-pf-views{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-aw-theme] body.pm-public main .aw-pf-views button{justify-content:center}
}
