:root {
	--azp-ink: #0a2d42;
	--azp-depth: #123f59;
	--azp-copper: #527c98;
	--azp-copper-soft: #b5cfde;
	--azp-sand: #e8eef2;
	--azp-cream: #f6f3ec;
	--azp-paper: #ffffff;
	--azp-line: #d7e1e7;
	--azp-muted: #667985;
	--azp-green: #466a51;
	--azp-red: #9b4039;
	--azp-blue: #527c98;
	--azp-shadow: 0 20px 55px rgba(8, 42, 61, 0.09);
	--azp-focus: rgba(82, 124, 152, 0.28);
}

/* One premium identity across both portals: deep blue, cream and white. */
.azp-auth-page--broker,
.azp-app--broker {
	--azp-ink: #082b40;
	--azp-depth: #10435f;
	--azp-copper: #5685a2;
	--azp-copper-soft: #b8d4e3;
	--azp-sand: #e7eef2;
	--azp-cream: #f7f4ed;
	--azp-paper: #ffffff;
	--azp-line: #d5e1e7;
	--azp-muted: #627783;
	--azp-shadow: 0 20px 55px rgba(7, 42, 62, 0.09);
	--azp-focus: rgba(73, 126, 158, 0.28);
}

html:has(body.azp-portal-document) { margin-top: 0 !important; }
body.azp-portal-document {
	margin: 0 !important;
	background: var(--azp-cream) !important;
	color: var(--azp-ink) !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
}
.azp-portal-document * { box-sizing: border-box; }
.azp-portal-document a { color: inherit; text-decoration: none; }
.azp-portal-document button,
.azp-portal-document input,
.azp-portal-document select,
.azp-portal-document textarea { font: inherit; }
.azp-portal-document h1,
.azp-portal-document h2,
.azp-portal-document h3,
.azp-portal-document p { margin-top: 0; }
.azp-portal-document h1,
.azp-portal-document h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -0.025em; }
.azp-portal-document h1 { font-size: clamp(2.35rem, 4vw, 4.65rem); line-height: 1.02; margin-bottom: 18px; }
.azp-portal-document h2 { font-size: clamp(1.55rem, 2.4vw, 2.5rem); line-height: 1.12; margin-bottom: 16px; }
.azp-portal-document h3 { font-size: 1rem; }
.azp-kicker,
.azp-heading > p { color: var(--azp-copper); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.22em; margin-bottom: 15px; text-transform: uppercase; }

.azp-button {
	align-items: center;
	background: var(--azp-ink);
	border: 1px solid var(--azp-ink);
	border-radius: 999px;
	color: #fff !important;
	cursor: pointer;
	display: inline-flex;
	font-size: 0.86rem;
	font-weight: 800;
	justify-content: center;
	min-height: 52px;
	padding: 0 27px;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.azp-button:hover { background: var(--azp-copper); border-color: var(--azp-copper); transform: translateY(-1px); }
.azp-button:focus-visible,
.azp-portal-document a:focus-visible,
.azp-portal-document button:focus-visible { outline: 3px solid var(--azp-focus); outline-offset: 3px; }
.azp-button--wide { width: 100%; }
.azp-button--light { background: #fff; border-color: var(--azp-line); color: var(--azp-ink) !important; }
.azp-button--outline { background: transparent; border-color: var(--azp-line); color: var(--azp-ink) !important; }
.azp-text-button { background: none; border: 0; color: var(--azp-copper); cursor: pointer; font-size: 0.78rem; font-weight: 800; padding: 7px 0; }
.azp-back-link { display: inline-block; font-size: 0.8rem; font-weight: 800; margin-bottom: 25px; }
.azp-count-pill { background: var(--azp-sand); border-radius: 999px; font-size: 0.72rem; font-weight: 800; padding: 8px 13px; white-space: nowrap; }
.azp-notice { border: 1px solid transparent; border-radius: 11px; margin: 0 0 22px; padding: 15px 18px; font-size: 0.9rem; }
.azp-notice--success { background: #e7f1e9; border-color: #c8ddcc; color: #31553c; }
.azp-notice--error { background: #f8e7e4; border-color: #edcbc6; color: #812d27; }
.azp-languages { align-items: center; display: flex; gap: 5px; }
.azp-languages a { border-radius: 50%; display: grid; font-size: 0.7rem; font-weight: 800; height: 36px; letter-spacing: 0.06em; place-items: center; width: 36px; }
.azp-languages a.is-active { background: var(--azp-ink); color: #fff; }

/* Access and registration */
.azp-auth-page { background: var(--azp-paper); display: grid; grid-template-columns: minmax(360px, 44%) 1fr; min-height: 100dvh; }
.azp-auth-intro {
	background: linear-gradient(150deg, rgba(7, 39, 57, 0.98), rgba(18, 68, 96, 0.96));
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100dvh;
	padding: 55px clamp(35px, 6vw, 100px);
}
.azp-auth-page--broker .azp-auth-intro { background: linear-gradient(150deg, rgba(6, 37, 55, 0.98), rgba(21, 76, 106, 0.96)); }
.azp-auth-brand,
.azp-brand { display: flex; flex-direction: column; width: max-content; }
.azp-auth-brand span,
.azp-brand-name { font-family: Georgia, "Times New Roman", serif; font-size: 2.25rem; letter-spacing: 0.37em; line-height: 1; }
.azp-auth-brand small,
.azp-brand-tagline { font-family: Georgia, "Times New Roman", serif; font-size: 0.62rem; letter-spacing: 0.36em; margin-top: 9px; }
.azp-auth-intro h1 { color: #fff; max-width: 620px; }
.azp-auth-intro > div:nth-child(2) > p:last-child { color: rgba(255, 255, 255, 0.72); font-size: 1.07rem; max-width: 520px; }
.azp-auth-intro .azp-kicker,
.azp-auth-page--broker .azp-auth-intro .azp-kicker { color: #c7ddea; }
.azp-switch-portal { border-bottom: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.09em; padding-bottom: 10px; text-transform: uppercase; width: max-content; }
.azp-auth-panel { align-items: center; display: flex; justify-content: center; min-height: 100dvh; overflow-y: auto; padding: 90px clamp(24px, 7vw, 120px); position: relative; }
.azp-auth-tools { position: absolute; right: 38px; top: 28px; }
.azp-auth-card { max-width: 620px; width: 100%; }
.azp-auth-card > p:not(.azp-kicker) { color: var(--azp-muted); margin-bottom: 28px; }
.azp-auth-card h2 { font-size: 3rem; }
.azp-auth-links { display: flex; flex-wrap: wrap; font-size: 0.82rem; gap: 14px; justify-content: space-between; margin-top: 24px; }
.azp-auth-links a { border-bottom: 1px solid var(--azp-copper); font-weight: 700; }
.azp-honeypot { left: -9999px !important; opacity: 0 !important; position: absolute !important; }

/* Forms */
.azp-form label,
.azp-property-form > section > label,
.azp-profile-form label { display: flex; flex-direction: column; font-size: 0.84rem; font-weight: 750; gap: 8px; margin-bottom: 20px; }
.azp-form input:not([type="checkbox"]):not([type="radio"]),
.azp-form select,
.azp-form textarea,
.azp-property-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.azp-property-form select,
.azp-property-form textarea {
	appearance: none;
	background: #fff;
	border: 1px solid var(--azp-line);
	border-radius: 11px;
	color: var(--azp-ink);
	min-height: 56px;
	outline: none;
	padding: 13px 15px;
	width: 100%;
}
.azp-form textarea,
.azp-property-form textarea { min-height: 125px; resize: vertical; }
.azp-form input:focus,
.azp-form select:focus,
.azp-form textarea:focus,
.azp-property-form input:focus,
.azp-property-form select:focus,
.azp-property-form textarea:focus { border-color: var(--azp-copper); box-shadow: 0 0 0 3px var(--azp-focus); }
.azp-form label small,
.azp-property-form label small { color: var(--azp-muted); font-size: 0.73rem; font-weight: 400; }
.azp-password { position: relative; }
.azp-password input { padding-right: 50px !important; }
.azp-show-password { background: none; border: 0; color: var(--azp-muted); cursor: pointer; height: 100%; position: absolute; right: 6px; top: 0; width: 42px; }
.azp-fields-2,
.azp-fields-3 { display: grid; gap: 0 20px; }
.azp-fields-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.azp-fields-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.azp-form fieldset,
.azp-property-form fieldset { border: 0; margin: 8px 0 28px; padding: 0; }
.azp-form legend,
.azp-property-form legend { font-size: 0.86rem; font-weight: 800; margin-bottom: 11px; padding: 0; }
.azp-choice-grid { display: grid; gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.azp-choice-grid label { cursor: pointer; margin: 0; }
.azp-choice-grid input { opacity: 0; position: absolute; }
.azp-choice-grid span { align-items: center; background: #fff; border: 1px solid var(--azp-line); border-radius: 12px; display: flex; min-height: 76px; padding: 19px; }
.azp-choice-grid input:checked + span { background: var(--azp-sand); border-color: var(--azp-copper); box-shadow: inset 0 0 0 1px var(--azp-copper); }
.azp-choice-grid input:focus-visible + span { outline: 3px solid var(--azp-focus); }
.azp-check { align-items: flex-start !important; cursor: pointer; display: flex !important; flex-direction: row !important; gap: 10px !important; }
.azp-check input { accent-color: var(--azp-ink); flex: 0 0 auto; height: 18px; margin: 2px 0 0; width: 18px; }
.azp-check span { font-weight: 500; }

/* Full-screen dashboard shell */
.azp-app { display: flex; min-height: 100dvh; }
.azp-sidebar { background: linear-gradient(155deg, var(--azp-ink), var(--azp-depth)); color: #fff; display: flex; flex: 0 0 282px; flex-direction: column; height: 100dvh; padding: 37px 25px 27px; position: sticky; top: 0; z-index: 50; }
.azp-app--broker .azp-sidebar,
.azp-app--owner .azp-sidebar { background: linear-gradient(155deg, #0a3047, #061f30 72%); }
.azp-brand { margin: 4px auto 24px; text-align: center; }
.azp-brand-name { font-size: 1.7rem; }
.azp-brand-tagline { font-size: 0.49rem; }
.azp-portal-kind { align-self: center; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; color: var(--azp-copper-soft); font-size: 0.6rem; font-weight: 800; letter-spacing: 0.14em; margin-bottom: 25px; padding: 7px 14px; text-transform: uppercase; }
.azp-nav { display: flex; flex-direction: column; gap: 3px; min-height: 0; overflow-y: auto; padding-right: 2px; }
.azp-nav a { --azp-nav-accent: var(--azp-copper-soft); align-items: center; border-left: 3px solid transparent; border-radius: 9px; color: rgba(255, 255, 255, 0.7); display: flex; font-size: 0.8rem; font-weight: 700; min-height: 43px; padding: 0 15px; }
.azp-nav a:hover,
.azp-nav a.is-active { background: rgba(255, 255, 255, 0.1); background: color-mix(in srgb, var(--azp-nav-accent) 18%, transparent); border-left-color: var(--azp-nav-accent); color: #fff; }
.azp-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.azp-nav-link--broker_dashboard,
.azp-nav-link--owner_dashboard { --azp-nav-accent: #9ecfe0 !important; }
.azp-nav-link--properties { --azp-nav-accent: #d8b070 !important; }
.azp-nav-link--opportunities { --azp-nav-accent: #9eb8ec !important; }
.azp-nav-link--leads,
.azp-nav-link--network { --azp-nav-accent: #8fcbb5 !important; }
.azp-nav-link--broker_page { --azp-nav-accent: #c0a9df !important; }
.azp-nav-link--resources { --azp-nav-accent: #e0a67e !important; }
.azp-nav-link--notifications { --azp-nav-accent: #e29595 !important; }
.azp-nav-link--profile { --azp-nav-accent: #b9c6cd !important; }
.azp-sidebar-foot { border-top: 1px solid rgba(255, 255, 255, 0.14); display: flex; flex-direction: column; margin-top: auto; padding: 20px 10px 0; }
.azp-open-help { background: transparent; border: 0; color: rgba(255, 255, 255, 0.72); cursor: pointer; display: block; font-size: 0.76rem; font-weight: 700; margin: -6px 0 18px; padding: 8px 0; text-align: left; }
.azp-open-help:hover { color: #fff; }
.azp-sidebar-foot strong { font-size: 0.82rem; }
.azp-sidebar-foot small { color: rgba(255, 255, 255, 0.5); font-size: 0.68rem; margin: 3px 0 12px; overflow: hidden; text-overflow: ellipsis; }
.azp-sidebar-foot a { color: var(--azp-copper-soft); font-size: 0.74rem; }
.azp-main { background: var(--azp-cream); flex: 1; min-width: 0; }
.azp-app--broker .azp-main,
.azp-app--owner .azp-main { background: radial-gradient(circle at 92% 12%, rgba(82, 124, 152, 0.13), transparent 28%), var(--azp-cream); }
.azp-topbar { align-items: center; backdrop-filter: blur(12px); background: rgba(247, 243, 236, 0.94); border-bottom: 1px solid var(--azp-line); display: flex; gap: 20px; height: 74px; justify-content: flex-end; padding: 0 clamp(22px, 4vw, 64px); position: sticky; top: 0; z-index: 40; }
.azp-app--broker .azp-topbar { background: rgba(255, 255, 255, 0.94); }
.azp-topbar-role { align-items: flex-end; border-right: 1px solid var(--azp-line); display: flex; flex-direction: column; line-height: 1.2; padding-right: 20px; }
.azp-topbar-role span { color: var(--azp-muted); font-size: 0.63rem; }
.azp-topbar-role strong { font-size: 0.74rem; }
.azp-topbar-action { align-items: center; background: var(--azp-ink); border: 1px solid var(--azp-ink); border-radius: 999px; color: #fff !important; display: inline-flex; font-size: 0.7rem; font-weight: 800; gap: 9px; min-height: 40px; padding: 0 18px; }
.azp-topbar-action:hover { background: var(--azp-depth); }
.azp-topbar-action span { font-size: 1.15rem; font-weight: 400; line-height: 1; }
.azp-back-amani { align-items: center; color: var(--azp-ink) !important; display: inline-flex; font-size: 0.66rem; font-weight: 800; gap: 7px; margin-right: auto; text-transform: uppercase; }
.azp-back-amani:hover { color: var(--azp-copper) !important; }
.azp-menu-toggle { align-items: center; background: none; border: 0; color: var(--azp-ink); cursor: pointer; display: none; flex-direction: column; gap: 4px; padding: 8px; }
.azp-menu-toggle span { background: currentColor; display: block; height: 1px; width: 21px; }
.azp-menu-toggle b { font-size: 0.54rem; letter-spacing: 0.1em; margin-top: 2px; text-transform: uppercase; }
.azp-content { margin: 0 auto; max-width: 1540px; padding: clamp(42px, 6vw, 80px) clamp(22px, 5vw, 80px) 110px; }
.azp-heading { margin-bottom: 34px; max-width: 970px; }
.azp-heading h1 { margin: 0; }

/* Dashboard and common cards */
.azp-dashboard-actions,
.azp-list-head,
.azp-section-head { align-items: center; display: flex; gap: 25px; justify-content: space-between; }
.azp-dashboard-actions { margin-bottom: 34px; }
.azp-dashboard-actions h2 { font-family: Arial, sans-serif; font-size: 1.05rem; font-weight: 800; letter-spacing: 0; margin-bottom: 6px; }
.azp-dashboard-actions p,
.azp-list-head p { color: var(--azp-muted); margin: 0; }
.azp-list-head { margin-bottom: 28px; }
.azp-section { margin-top: 55px; }
.azp-section-head { margin-bottom: 22px; }
.azp-section-head h2 { margin-bottom: 0; }
.azp-section-head > a { color: var(--azp-copper); font-size: 0.78rem; font-weight: 800; }
.azp-stats { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 20px; }
.azp-stats > div,
.azp-stats > a { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 14px; box-shadow: var(--azp-shadow); display: flex; flex-direction: column; min-height: 122px; padding: 25px; position: relative; transition: border-color 0.2s ease, transform 0.2s ease; }
.azp-stats > a:hover { border-color: var(--azp-copper); transform: translateY(-2px); }
.azp-stats b { font-family: Georgia, serif; font-size: 2.3rem; font-weight: 400; line-height: 1; margin-top: auto; }
.azp-stats span { color: var(--azp-muted); font-size: 0.75rem; margin-bottom: 12px; }
.azp-stats em { bottom: 22px; color: var(--azp-copper); font-size: 1.15rem; font-style: normal; position: absolute; right: 23px; }
.azp-broker-private-profile { background: linear-gradient(120deg, #ffffff 0%, #eef3f6 100%); border: 1px solid var(--azp-line); border-radius: 18px; box-shadow: var(--azp-shadow); display: grid; grid-template-columns: minmax(220px, 31%) 1fr; margin-bottom: 30px; min-height: 350px; overflow: hidden; }
.azp-broker-private-photo { align-items: center; background: linear-gradient(145deg, #0a3047, #185676); display: flex; justify-content: center; min-height: 350px; overflow: hidden; position: relative; }
.azp-broker-private-photo img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.azp-broker-initials { color: rgba(255, 255, 255, 0.9); font-family: Georgia, serif; font-size: 4rem; letter-spacing: 0.08em; }
.azp-broker-private-copy { align-self: center; padding: clamp(28px, 5vw, 62px); }
.azp-broker-private-copy .azp-card-meta { margin-bottom: 25px; }
.azp-broker-private-copy h2 { font-size: clamp(2rem, 3.6vw, 3.8rem); margin-bottom: 13px; }
.azp-broker-private-copy > p:not(.azp-kicker) { color: var(--azp-muted); font-size: 1rem; max-width: 720px; }
.azp-broker-private-facts { border-bottom: 1px solid var(--azp-line); border-top: 1px solid var(--azp-line); display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0; padding: 19px 0; }
.azp-broker-private-facts span { display: flex; flex-direction: column; gap: 4px; }
.azp-broker-private-facts small { color: var(--azp-copper); font-size: 0.61rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.azp-broker-private-facts b { font-size: 0.77rem; }
.azp-broker-private-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.azp-dashboard-actions--broker { margin-top: 36px; }
.azp-owner-overview { align-items: center; background: linear-gradient(122deg, #0a3047, #174e6b); border-radius: 18px; color: #fff; display: flex; gap: 35px; justify-content: space-between; margin-bottom: 28px; overflow: hidden; padding: clamp(28px, 5vw, 58px); position: relative; }
.azp-owner-overview::after { border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50%; content: ""; height: 280px; position: absolute; right: -85px; top: -125px; width: 280px; }
.azp-owner-overview > div,
.azp-owner-overview .azp-button { position: relative; z-index: 1; }
.azp-owner-overview h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3.8rem); margin-bottom: 12px; }
.azp-owner-overview p:not(.azp-kicker) { color: rgba(255, 255, 255, 0.72); margin: 0; max-width: 690px; }
.azp-owner-overview .azp-kicker { color: var(--azp-copper-soft); }
.azp-owner-overview .azp-button { background: #fff; border-color: #fff; color: var(--azp-ink) !important; flex: 0 0 auto; }
.azp-quick-grid.azp-owner-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.azp-quick-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0; }
.azp-quick-card { background: var(--azp-ink); border-radius: 14px; color: #fff !important; display: flex; flex-direction: column; min-height: 145px; padding: 24px; position: relative; }
.azp-quick-card:nth-child(2) { background: #174e6b; }
.azp-quick-card:nth-child(3) { background: #2b6888; }
.azp-app--broker .azp-quick-card,
.azp-app--owner .azp-quick-card { background: #0a3047; }
.azp-app--broker .azp-quick-card:nth-child(2),
.azp-app--owner .azp-quick-card:nth-child(2) { background: #174e6b; }
.azp-app--broker .azp-quick-card:nth-child(3),
.azp-app--owner .azp-quick-card:nth-child(3) { background: #2b6888; }
.azp-quick-card span { color: rgba(255, 255, 255, 0.62); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.azp-quick-card b { font-family: Georgia, serif; font-size: 1.28rem; font-weight: 400; margin-top: auto; max-width: 90%; }
.azp-quick-card em { font-style: normal; position: absolute; right: 22px; top: 21px; }
.azp-card { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 16px; box-shadow: var(--azp-shadow); padding: clamp(24px, 4vw, 46px); }
.azp-card h2 { font-size: 1.7rem; }
.azp-process-card { margin-top: 28px; }
.azp-process { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 28px 0 0; padding: 0; }
.azp-process li { align-items: center; display: flex; gap: 14px; }
.azp-process b,
.azp-help-grid > section > b { align-items: center; border: 1px solid var(--azp-line); border-radius: 50%; color: var(--azp-copper); display: flex; flex: 0 0 42px; font-family: Georgia, serif; height: 42px; justify-content: center; }
.azp-status-guide { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 13px; display: grid; gap: 15px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 30px; padding: 18px 22px; }
.azp-status-guide > div { align-items: center; display: grid; gap: 2px 9px; grid-template-columns: auto 1fr; }
.azp-status-guide span { color: var(--azp-muted); font-size: 0.7rem; grid-column: 2; }
.azp-dot { border-radius: 50%; grid-row: 1 / 3; height: 10px; width: 10px; }
.azp-dot--draft { background: #8c8680; }
.azp-dot--pending { background: #c48b3d; }
.azp-dot--publish { background: #4d7a58; }

/* Property rows */
.azp-property-list { display: flex; flex-direction: column; gap: 12px; }
.azp-property-row { align-items: center; background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 13px; display: grid; gap: 22px; grid-template-columns: 108px minmax(220px, 1fr) auto; padding: 13px; }
.azp-property-thumb { align-items: center; background: #e7eff3 center / cover no-repeat; border-radius: 9px; color: #66859a; display: flex; font-family: Georgia, serif; font-size: 0.6rem; height: 92px; justify-content: center; letter-spacing: 0.16em; }
.azp-property-info h2 { font-family: Arial, sans-serif; font-size: 1.03rem; font-weight: 800; letter-spacing: 0; margin: 5px 0; }
.azp-property-info p { color: var(--azp-muted); font-size: 0.65rem; margin: 0 0 3px; }
.azp-property-info small { color: var(--azp-muted); font-size: 0.71rem; }
.azp-status { border-radius: 999px; display: inline-block; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.06em; padding: 5px 9px; text-transform: uppercase; }
.azp-status--draft,
.azp-status--paused { background: #eeeae4; color: #655e57; }
.azp-status--pending,
.azp-status--new,
.azp-status--contacted { background: #f7ead8; color: #845c24; }
.azp-status--publish,
.azp-status--available,
.azp-status--won,
.azp-status--qualified { background: #e4efe6; color: #3e6748; }
.azp-status--private,
.azp-status--reserved,
.azp-status--visit { background: #e8e3ec; color: #66546f; }
.azp-status--sold,
.azp-status--lost { background: #f5e1df; color: #873c36; }
.azp-property-actions { align-items: flex-end; display: flex; flex-direction: column; gap: 5px; padding-right: 12px; }
.azp-property-actions > a,
.azp-inline-form button { background: none; border: 0; border-bottom: 1px solid transparent; color: var(--azp-copper); cursor: pointer; font-size: 0.71rem; font-weight: 750; padding: 2px 0; }
.azp-property-actions > a:hover,
.azp-inline-form button:hover { border-color: currentColor; }
.azp-property-actions .azp-property-open { font-weight: 800; }
.azp-inline-form { display: inline; }
.azp-broker-property-grid { display: grid; gap: 15px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.azp-broker-property-card { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 13px; display: flex; flex-direction: column; min-height: 300px; overflow: hidden; position: relative; transition: border-color 0.2s ease, transform 0.2s ease; }
.azp-broker-property-card:hover { border-color: var(--azp-copper); transform: translateY(-3px); }
.azp-broker-property-image { background: linear-gradient(135deg, var(--azp-sand), var(--azp-cream)) center / cover no-repeat; display: block; min-height: 185px; }
.azp-broker-property-copy { display: flex; flex-direction: column; padding: 15px 48px 17px 17px; }
.azp-broker-property-copy small { color: var(--azp-copper); font-size: 0.62rem; margin-bottom: 6px; }
.azp-broker-property-copy b { font-family: Georgia, serif; font-size: 1.02rem; font-weight: 400; line-height: 1.2; }
.azp-broker-property-copy em { color: var(--azp-copper); font-size: 0.75rem; font-style: normal; margin-top: 8px; }
.azp-broker-property-card > i { align-items: center; border: 1px solid var(--azp-line); border-radius: 50%; bottom: 16px; display: flex; font-size: 0.72rem; font-style: normal; height: 30px; justify-content: center; position: absolute; right: 14px; width: 30px; }
.azp-empty { background: var(--azp-paper); border: 1px dashed var(--azp-line); border-radius: 16px; padding: 65px 25px; text-align: center; }
.azp-empty p { color: var(--azp-muted); }
.azp-empty-mark { align-items: center; border: 1px solid var(--azp-line); border-radius: 50%; color: var(--azp-copper); display: flex; font-family: Georgia, serif; font-size: 2rem; height: 60px; justify-content: center; margin: 0 auto 20px; width: 60px; }

/* Private owner property view */
.azp-owner-property-detail { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 18px; box-shadow: var(--azp-shadow); display: grid; grid-template-columns: minmax(260px, 0.8fr) minmax(340px, 1.25fr) minmax(230px, 0.65fr); overflow: hidden; }
.azp-owner-property-cover { align-items: center; background: linear-gradient(145deg, #0a3047, #2b6888) center / cover no-repeat; color: rgba(255, 255, 255, 0.7); display: flex; font-family: Georgia, serif; justify-content: center; letter-spacing: 0.18em; min-height: 430px; }
.azp-owner-property-copy { align-self: center; padding: clamp(28px, 4vw, 52px); }
.azp-owner-property-copy h2 { font-size: clamp(2rem, 3vw, 3.3rem); margin: 17px 0 8px; }
.azp-owner-location { color: var(--azp-copper); font-size: 0.82rem; font-weight: 800; }
.azp-owner-property-copy .azp-rich-text { color: var(--azp-muted); margin: 24px 0; max-height: 170px; overflow: auto; }
.azp-owner-property-aside { background: #eef3f6; border-left: 1px solid var(--azp-line); padding: clamp(28px, 3vw, 42px); }
.azp-owner-property-aside h3 { font-family: Georgia, serif; font-size: 1.4rem; }
.azp-owner-property-aside dl { margin: 25px 0 0; }
.azp-owner-property-aside dl > div { border-top: 1px solid var(--azp-line); display: flex; flex-direction: column; gap: 5px; padding: 17px 0; }
.azp-owner-property-aside dt { color: var(--azp-muted); font-size: 0.7rem; }
.azp-owner-property-aside dd { font-size: 0.9rem; font-weight: 800; margin: 0; }
.azp-owner-project { box-shadow: none; margin-bottom: 15px; padding: 28px; }
.azp-owner-project > div:first-child { align-items: center; display: grid; gap: 7px 20px; grid-template-columns: auto 1fr; margin-bottom: 22px; }
.azp-owner-project h3 { font-family: Georgia, serif; font-size: 1.65rem; grid-column: 2; margin: 0; }
.azp-owner-project p { color: var(--azp-muted); grid-column: 2; margin: 0; }
.azp-empty--compact { min-height: auto; padding: 32px; }
.azp-section--first { margin-top: 15px; }
.azp-document-list a > b { display: flex; flex-direction: column; }
.azp-document-list a > b small { color: var(--azp-muted); font-size: 0.68rem; font-weight: 400; margin-top: 2px; }

/* Guided property form */
.azp-property-form { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 18px; box-shadow: var(--azp-shadow); margin: 0 auto; max-width: 1180px; padding: clamp(24px, 5vw, 68px); position: relative; }
.azp-stepper { align-items: center; display: flex; gap: 7px; margin-bottom: 52px; }
.azp-stepper > span { background: var(--azp-line); border-radius: 2px; display: block; flex: 1; height: 3px; }
.azp-stepper > span.is-active,
.azp-stepper > span.is-complete { background: var(--azp-copper); }
.azp-stepper > b { font-size: 0.67rem; letter-spacing: 0.08em; margin-left: 12px; white-space: nowrap; }
.azp-stepper em { font-style: normal; }
.azp-step { min-height: 470px; }
.azp-js .azp-step:not(.is-active) { display: none; }
.azp-step > p:not(.azp-kicker) { color: var(--azp-muted); font-size: 0.98rem; margin-bottom: 34px; }
.azp-step fieldset { margin-top: 30px; }
.azp-property-form .azp-choice-grid span { min-height: 92px; padding: 24px; }
.azp-choice-grid--checks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.azp-choice-grid--checks span { min-height: 72px !important; }
.azp-role-summary { align-items: center; background: var(--azp-cream); border-radius: 12px; display: flex; justify-content: space-between; margin: 26px 0; padding: 18px; }
.azp-role-summary span { background: var(--azp-ink); border-radius: 999px; color: #fff; font-size: 0.73rem; padding: 8px 13px; }
.azp-city-control { margin-bottom: 20px; }
.azp-city-control label { margin-bottom: 2px !important; }
.azp-new-city { background: var(--azp-cream); border-left: 3px solid var(--azp-copper); margin: -6px 0 22px; padding: 18px 20px 1px; }
.azp-help-text { background: var(--azp-sand); border-radius: 9px !important; color: var(--azp-muted); font-size: 0.77rem !important; padding: 13px 15px; }
.azp-writing-assistant { align-items: center; background: var(--azp-ink); border-radius: 14px; color: #fff; display: flex; gap: 25px; justify-content: space-between; margin-bottom: 28px; padding: 22px; }
.azp-writing-assistant > div { display: flex; flex-direction: column; }
.azp-writing-assistant span { color: var(--azp-copper-soft); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.azp-writing-assistant strong { font-family: Georgia, serif; font-size: 1.2rem; font-weight: 400; margin: 5px 0 2px; }
.azp-writing-assistant small { color: rgba(255, 255, 255, 0.63); }
.azp-copy-snippets { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.azp-copy-snippets > span { color: var(--azp-muted); font-size: 0.72rem; margin-right: 5px; }
.azp-copy-snippets button { background: var(--azp-sand); border: 1px solid var(--azp-line); border-radius: 999px; color: var(--azp-ink); cursor: pointer; font-size: 0.69rem; padding: 8px 11px; }
.azp-copy-checklist { background: var(--azp-cream); border-radius: 11px; display: flex; flex-wrap: wrap; gap: 11px 20px; margin-bottom: 25px; padding: 15px 17px; }
.azp-copy-checklist b { width: 100%; }
.azp-copy-checklist span { color: var(--azp-muted); font-size: 0.73rem; }
.azp-copy-checklist span.is-valid { color: var(--azp-green); font-weight: 700; }
.azp-translation-block { border: 1px solid var(--azp-line); border-radius: 12px; margin-top: 28px; overflow: hidden; }
.azp-translation-block summary { color: var(--azp-copper); cursor: pointer; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; padding: 17px 19px; text-transform: uppercase; }
.azp-translation-block > div { border-top: 1px solid var(--azp-line); padding: 22px 22px 2px; }
.azp-distance-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px 0; }
.azp-distance-grid > label { background: var(--azp-cream); border-radius: 12px; display: flex; flex-direction: column; font-weight: 800; gap: 5px; margin: 0; padding: 18px; }
.azp-distance-grid small { color: var(--azp-muted); font-size: 0.67rem; font-weight: 400; }
.azp-distance-grid input { margin-top: 7px; min-height: 48px !important; }
.azp-media-existing { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 25px; }
.azp-media-existing label { cursor: pointer; position: relative; }
.azp-media-existing img { aspect-ratio: 1; display: block; height: auto; object-fit: cover; width: 100%; }
.azp-media-existing input { position: absolute; right: 8px; top: 8px; }
.azp-media-existing span { background: rgba(7, 42, 62, 0.86); bottom: 0; color: #fff; font-size: 0.64rem; left: 0; padding: 5px; position: absolute; right: 0; text-align: center; }
.azp-docs-existing { display: flex; flex-direction: column; margin: 20px 0; }
.azp-docs-existing label { align-items: center; border-bottom: 1px solid var(--azp-line); display: flex; gap: 8px; padding: 10px; }
.azp-upload { align-items: center; background: var(--azp-cream); border: 1px dashed var(--azp-copper); border-radius: 13px; cursor: pointer; display: flex !important; justify-content: center; margin: 20px 0 !important; min-height: 115px; padding: 22px; text-align: center; }
.azp-upload span { color: var(--azp-muted); font-size: 0.72rem; }
.azp-upload input { max-width: 100%; }
.azp-confirm-box { background: var(--azp-cream); border-radius: 13px; margin-top: 35px; padding: 28px; }
.azp-confirm-box > p { font-weight: 700; }
.azp-check--large span { font-size: 0.92rem; line-height: 1.5; }
.azp-form-actions { align-items: center; backdrop-filter: blur(12px); background: rgba(255, 253, 250, 0.96); border-top: 1px solid var(--azp-line); bottom: 0; display: flex; gap: 11px; justify-content: flex-end; margin: 55px calc(clamp(24px, 5vw, 68px) * -1) calc(clamp(24px, 5vw, 68px) * -1); padding: 18px clamp(24px, 5vw, 68px); position: sticky; z-index: 10; }
.azp-form-actions .azp-prev { margin-right: auto; }
.azp-context-hidden { display: none !important; }

/* Opportunities */
.azp-opportunity-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.azp-opportunity-card { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 14px; box-shadow: var(--azp-shadow); overflow: hidden; }
.azp-opportunity-image { background: linear-gradient(135deg, #dce9ef, #f3f6f7) center / cover no-repeat; display: block; min-height: 220px; padding: 18px; }
.azp-opportunity-image > span { background: rgba(7, 42, 62, 0.88); border-radius: 999px; color: #fff; display: inline-block; font-size: 0.61rem; font-weight: 800; letter-spacing: 0.06em; padding: 7px 10px; text-transform: uppercase; }
.azp-opportunity-body { padding: 22px; }
.azp-card-meta { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; }
.azp-card-meta > span:not(.azp-status) { color: var(--azp-muted); font-size: 0.7rem; }
.azp-opportunity-body h2 { font-size: 1.45rem; margin: 15px 0 10px; }
.azp-opportunity-body > p { color: var(--azp-muted); font-size: 0.82rem; min-height: 3.7em; }
.azp-opportunity-facts { background: var(--azp-cream); border-radius: 10px; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; padding: 13px; }
.azp-opportunity-facts > span { display: flex; flex-direction: column; }
.azp-opportunity-facts small { color: var(--azp-muted); font-size: 0.62rem; }
.azp-opportunity-facts b { font-family: Georgia, serif; font-size: 1.05rem; font-weight: 400; margin-top: 3px; }
.azp-opportunity-foot { align-items: center; border-top: 1px solid var(--azp-line); display: grid; gap: 5px; grid-template-columns: 1fr auto; margin-top: 20px; padding-top: 16px; }
.azp-opportunity-foot strong { font-size: 0.84rem; }
.azp-opportunity-foot span { color: var(--azp-muted); font-size: 0.68rem; text-align: right; }
.azp-opportunity-foot a { color: var(--azp-copper); font-size: 0.72rem; font-weight: 800; grid-column: 1 / -1; margin-top: 5px; }
.azp-opportunity-detail { display: grid; gap: 25px; grid-template-columns: minmax(0, 1fr) 340px; }
.azp-detail-cover { background: center / cover no-repeat; border-radius: 16px; grid-column: 1 / -1; min-height: min(42vw, 520px); }
.azp-detail-main,
.azp-detail-aside { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 15px; padding: clamp(25px, 4vw, 44px); }
.azp-detail-main h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-top: 18px; }
.azp-rich-text { color: #455b68; }
.azp-detail-aside { align-self: start; box-shadow: var(--azp-shadow); position: sticky; top: 100px; }
.azp-detail-aside dl { margin: 20px 0 25px; }
.azp-detail-aside dl > div { border-bottom: 1px solid var(--azp-line); padding: 13px 0; }
.azp-detail-aside dt { color: var(--azp-muted); font-size: 0.66rem; text-transform: uppercase; }
.azp-detail-aside dd { font-weight: 800; margin: 3px 0 0; }
.azp-detail-aside .azp-commission-row small { color: var(--azp-muted); display: block; font-size: 0.67rem; line-height: 1.45; margin-top: 8px; }
.azp-document-list { display: grid; gap: 10px; }
.azp-document-list a { align-items: center; background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 11px; display: grid; gap: 13px; grid-template-columns: auto 1fr auto; padding: 14px 17px; }
.azp-document-list a > span { background: var(--azp-sand); border-radius: 5px; font-size: 0.58rem; font-weight: 900; padding: 7px; }
.azp-document-list a > b { font-size: 0.82rem; }
.azp-document-list a > em { color: var(--azp-copper); font-style: normal; }
.azp-opportunity-foot strong small { color: var(--azp-muted); display: block; font-size: 0.62rem; font-weight: 500; margin-top: 3px; }
.azp-save-opportunity { align-items: center; background: #fff; border: 1px solid var(--azp-line); border-radius: 999px; color: var(--azp-ink); cursor: pointer; display: inline-flex; font-size: 0.69rem; font-weight: 800; gap: 6px; margin-top: 15px; min-height: 39px; padding: 0 15px; }
.azp-save-opportunity:hover,
.azp-save-opportunity.is-saved { background: #dcebf3; border-color: var(--azp-copper); }
.azp-save-opportunity.is-saved { color: var(--azp-depth); }
.azp-save-opportunity:disabled { cursor: wait; opacity: 0.6; }
.azp-detail-aside .azp-save-opportunity { justify-content: center; margin-top: 10px; width: 100%; }
.azp-lot-table { min-width: 820px; }
.azp-lot-table td:first-child strong { color: var(--azp-ink); font-family: Georgia, serif; font-size: 1rem; }
.azp-media-gallery { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.azp-media-gallery a { background: var(--azp-sand); border: 1px solid var(--azp-line); border-radius: 13px; display: block; overflow: hidden; }
.azp-media-gallery img { aspect-ratio: 4 / 3; display: block; height: auto; object-fit: cover; transition: transform 0.25s ease; width: 100%; }
.azp-media-gallery a:hover img { transform: scale(1.025); }
.azp-video-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.azp-video-grid > div { aspect-ratio: 16 / 9; background: var(--azp-ink); border-radius: 13px; overflow: hidden; }
.azp-video-grid iframe { border: 0; height: 100%; width: 100%; }
.azp-video-grid a { align-items: center; color: #fff; display: flex; height: 100%; justify-content: center; padding: 20px; text-align: center; }

/* Dashboard messages */
.azp-notification-badge,
.azp-nav-badge { align-items: center; background: #fff; border-radius: 999px; color: var(--azp-ink); display: inline-flex; font-size: 0.61rem; height: 21px; justify-content: center; margin-left: auto; min-width: 21px; padding: 0 6px; }
.azp-notification-list { display: grid; gap: 14px; max-width: 1040px; }
.azp-notification-card { align-items: flex-start; background: #fff; border: 1px solid var(--azp-line); border-left: 5px solid var(--azp-copper); border-radius: 13px; display: flex; gap: 25px; justify-content: space-between; padding: 24px; }
.azp-notification-card--important { border-left-color: #c58b35; }
.azp-notification-card--urgent { border-left-color: var(--azp-red); }
.azp-notification-card.is-read { opacity: 0.68; }
.azp-notification-card span { color: var(--azp-muted); font-size: 0.65rem; }
.azp-notification-card h2 { font-size: 1.35rem; margin: 5px 0 8px; }
.azp-notification-card p { color: var(--azp-muted); margin: 0; }
.azp-mark-read { background: #e6f0f5; border: 0; border-radius: 999px; color: var(--azp-ink); cursor: pointer; flex: 0 0 auto; font-size: 0.68rem; font-weight: 800; padding: 10px 14px; }
.azp-status--contract_drafting,
.azp-status--signature,
.azp-status--deposit { background: #fff0d9; color: #805517; }
.azp-status--sold,
.azp-status--won { background: #dcecdf; color: #2f6740; }
.azp-status--paused,
.azp-status--lost { background: #edf0f2; color: #586a74; }

/* Leads, resources and profile */
.azp-lead-form { max-width: 1120px; }
.azp-form-intro { border-bottom: 1px solid var(--azp-line); margin-bottom: 28px; padding-bottom: 10px; }
.azp-form-intro p:last-child { color: var(--azp-muted); }
.azp-lead-step { align-items: flex-start; border-top: 1px solid var(--azp-line); display: flex; gap: 15px; margin: 38px 0 20px; padding-top: 28px; }
.azp-form-intro + .azp-lead-step { border-top: 0; margin-top: 0; padding-top: 0; }
.azp-lead-step-number { align-items: center; background: var(--azp-ink); border-radius: 50%; color: #fff; display: flex; flex: 0 0 36px; font-family: Georgia, serif; height: 36px; justify-content: center; }
.azp-lead-step h3 { font-size: 1rem; margin: 1px 0 3px; }
.azp-lead-step p { color: var(--azp-muted); font-size: 0.76rem; margin: 0; }
.azp-lead-check { align-items: center; background: var(--azp-cream); border: 1px solid var(--azp-line); border-radius: 13px; display: flex; gap: 18px; margin-top: 18px; padding: 16px; }
.azp-lead-check-result { display: flex; flex-direction: column; font-size: 0.75rem; gap: 4px; line-height: 1.45; min-height: 1.4em; }
.azp-lead-check-result span { color: var(--azp-muted); }
.azp-lead-check-result.is-checking { color: var(--azp-muted); }
.azp-lead-check-result.is-available { color: var(--azp-green); }
.azp-lead-check-result.is-duplicate,
.azp-lead-check-result.is-error { color: var(--azp-red); }
.azp-lead-sources { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.azp-lead-sources label { cursor: pointer; margin: 0; }
.azp-lead-sources input { opacity: 0; position: absolute; }
.azp-lead-sources span { background: #fff; border: 1px solid var(--azp-line); border-radius: 13px; display: flex; flex-direction: column; min-height: 105px; padding: 20px; }
.azp-lead-sources b { font-size: 0.82rem; }
.azp-lead-sources small { color: var(--azp-muted); font-size: 0.68rem; font-weight: 400; line-height: 1.4; margin-top: 8px; }
.azp-lead-sources input:checked + span { background: var(--azp-sand); border-color: var(--azp-copper); box-shadow: inset 0 0 0 1px var(--azp-copper); }
.azp-lead-sources input:focus-visible + span { outline: 3px solid var(--azp-focus); }
.azp-lead-targets { background: var(--azp-cream); border: 1px solid var(--azp-line); border-radius: 13px; margin-top: 14px; padding: 18px; }
.azp-lead-targets label { margin: 0; }
.azp-lead-form .azp-save-lead:disabled { cursor: not-allowed; opacity: 0.38; transform: none; }
.azp-submit-help { color: var(--azp-muted); display: inline-block; font-size: 0.68rem; margin: 0 0 0 12px; }
.azp-lead-stats { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; }
.azp-lead-stats > div { background: #fff; border: 1px solid var(--azp-line); border-radius: 12px; display: flex; flex-direction: column; min-height: 92px; padding: 17px; }
.azp-lead-stats span { color: var(--azp-muted); font-size: 0.68rem; }
.azp-lead-stats b { font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; margin-top: auto; }
.azp-row-link { color: var(--azp-copper) !important; font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.azp-lead-detail-head { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 24px; }
.azp-lead-detail-head h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 7px; }
.azp-lead-detail-head p:last-child { color: var(--azp-muted); margin: 0; }
.azp-lead-detail-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.azp-lead-detail-grid .azp-card { box-shadow: none; }
.azp-lead-detail-grid .azp-card > h3 { color: var(--azp-copper); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
.azp-lead-detail-grid hr { border: 0; border-top: 1px solid var(--azp-line); margin: 28px 0; }
.azp-lead-data { margin: 20px 0 32px; }
.azp-lead-data > div { border-bottom: 1px solid var(--azp-line); padding: 11px 0; }
.azp-lead-data dt { color: var(--azp-muted); font-size: 0.65rem; text-transform: uppercase; }
.azp-lead-data dd { font-weight: 750; margin: 3px 0 0; }
.azp-lead-source { color: var(--azp-muted); font-size: 0.72rem; }
.azp-lead-note { color: var(--azp-muted); line-height: 1.65; }
.azp-lead-update { margin-top: 18px; max-width: 1120px; }
.azp-table-wrap { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 14px; overflow-x: auto; }
.azp-table { border-collapse: collapse; min-width: 720px; width: 100%; }
.azp-table th { color: var(--azp-muted); font-size: 0.65rem; letter-spacing: 0.07em; padding: 14px 17px; text-align: left; text-transform: uppercase; }
.azp-table td { border-top: 1px solid var(--azp-line); font-size: 0.78rem; padding: 16px 17px; }
.azp-table td strong,
.azp-table td small { display: block; }
.azp-table td small { color: var(--azp-muted); margin-top: 3px; }
.azp-resource-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.azp-resource-card { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 14px; display: flex; flex-direction: column; min-height: 280px; padding: 28px; }
.azp-resource-card > span { color: var(--azp-copper); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.azp-resource-card h2 { font-size: 1.45rem; margin: 18px 0 10px; }
.azp-resource-card p { color: var(--azp-muted); font-size: 0.8rem; }
.azp-resource-card .azp-button { align-self: flex-start; margin-top: auto; }
.azp-profile-form { max-width: 940px; }
.azp-profile-form hr { border: 0; border-top: 1px solid var(--azp-line); margin: 35px 0; }
.azp-profile-intro { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 30px; }
.azp-profile-intro p { color: var(--azp-muted); }
.azp-profile-intro > span { background: var(--azp-ink); border-radius: 999px; color: #fff; font-size: 0.68rem; font-weight: 800; padding: 8px 12px; text-transform: uppercase; }
.azp-broker-profile-editor { scroll-margin-top: 95px; }
.azp-broker-photo-editor { align-items: center; background: var(--azp-cream); border: 1px solid var(--azp-line); border-radius: 13px; display: grid; gap: 22px; grid-template-columns: 120px 1fr; margin-bottom: 28px; padding: 18px; }
.azp-broker-photo-editor > img,
.azp-broker-photo-editor > span { align-items: center; background: var(--azp-ink); border-radius: 10px; color: #fff; display: flex; height: 120px; justify-content: center; object-fit: cover; width: 120px; }
.azp-broker-photo-editor label { margin: 0; }

/* Guided public-profile questions. */
.azp-profile-question { background: var(--azp-cream); border: 1px solid var(--azp-line) !important; border-radius: 15px; margin: 28px 0 !important; padding: 24px !important; }
.azp-profile-question > legend { background: var(--azp-paper); border: 1px solid var(--azp-line); border-radius: 999px; color: var(--azp-ink); padding: 8px 15px; }
.azp-profile-question > p { color: var(--azp-muted); font-size: 0.78rem; margin: 0 0 20px; }
.azp-zone-grid { display: grid; gap: 9px; grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 290px; overflow: auto; padding: 3px; }
.azp-zone-grid label { cursor: pointer; margin: 0; }
.azp-zone-grid input { opacity: 0; position: absolute; }
.azp-zone-grid span { align-items: center; background: #fff; border: 1px solid var(--azp-line); border-radius: 10px; display: flex; font-size: 0.74rem; min-height: 46px; padding: 10px 12px; }
.azp-zone-grid input:checked + span { background: #e0ecf2; border-color: var(--azp-copper); box-shadow: inset 0 0 0 1px var(--azp-copper); color: var(--azp-ink); }
.azp-zone-grid input:focus-visible + span { outline: 3px solid var(--azp-focus); outline-offset: 2px; }
.azp-other-zone { margin: 18px 0 0 !important; max-width: 460px; }
.azp-language-rows { display: flex; flex-direction: column; gap: 10px; }
.azp-language-row { align-items: end; background: #fff; border: 1px solid var(--azp-line); border-radius: 12px; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(180px, 0.65fr) 42px; padding: 14px; }
.azp-language-row label { margin: 0; }
.azp-language-row label > span { font-size: 0.72rem; }
.azp-language-row input,
.azp-language-row select { min-height: 48px !important; }
.azp-remove-language { align-items: center; background: #edf3f6; border: 1px solid var(--azp-line); border-radius: 50%; color: var(--azp-ink); cursor: pointer; display: flex; font-size: 1.2rem; height: 38px; justify-content: center; margin-bottom: 5px; width: 38px; }
.azp-remove-language:disabled { cursor: default; opacity: 0.35; }
.azp-add-language { background: transparent; border: 0; color: var(--azp-copper); cursor: pointer; font-size: 0.74rem; font-weight: 800; margin-top: 14px; padding: 6px 0; }
.azp-add-language:disabled { opacity: 0.4; }

/* Public broker presentation: isolated from Houzez/Divi wrappers. */
body.azp-public-broker-document { background: #f6f3ec; margin: 0 !important; min-width: 320px; }
body.azp-public-broker-document .amani-premium-bar,
body.azp-public-broker-document .amani-premium-overlay,
body.azp-public-broker-document .amani-premium-modal,
body.azp-public-broker-document .amani-fs-header,
body.azp-public-broker-document .amani-fs-menu,
body.azp-public-broker-document #amaniPremiumBar,
body.azp-public-broker-document #amaniPremiumOverlay,
body.azp-public-broker-document #amaniPremiumModal,
body.azp-public-broker-document #amaniFSHeader,
body.azp-public-broker-document #amaniFSMenu { display: none !important; }
.azp-public-topbar { align-items: center; background: rgba(255, 255, 255, 0.96); border-bottom: 1px solid #d6e1e7; display: flex; height: 78px; justify-content: space-between; padding: 0 clamp(22px, 5vw, 78px); position: sticky; top: 0; z-index: 100; }
.azp-public-brand { color: #092d43 !important; display: flex; flex-direction: column; line-height: 1; text-align: center; text-decoration: none !important; }
.azp-public-brand b { font-family: Georgia, serif; font-size: 1.35rem; font-weight: 500; letter-spacing: 0.28em; padding-left: 0.28em; }
.azp-public-brand small { font-size: 0.43rem; letter-spacing: 0.25em; margin-top: 7px; }
.azp-public-topbar nav { align-items: center; display: flex; gap: clamp(14px, 2.2vw, 34px); }
.azp-public-topbar nav > a { color: #092d43 !important; font-size: 0.68rem; font-weight: 800; text-decoration: none !important; text-transform: uppercase; }
.azp-public-topbar .azp-languages { margin-left: 8px; }
.azp-public-document-main { margin: 0; padding: 0; width: 100%; }
body.azp-public-broker-page #main-header:not(.et-fixed-header),
body.azp-public-broker-page .et-l--header .et_pb_section:first-child {
	backdrop-filter: blur(15px);
	background: linear-gradient(90deg, rgba(5, 35, 52, 0.96), rgba(16, 67, 94, 0.92)) !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 35px rgba(4, 28, 42, 0.12) !important;
}
body.azp-public-broker-page #main-header:not(.et-fixed-header) #top-menu > li > a,
body.azp-public-broker-page #main-header:not(.et-fixed-header) .mobile_menu_bar,
body.azp-public-broker-page .et-l--header .et_pb_section:first-child .et_pb_menu__menu > nav > ul > li > a,
body.azp-public-broker-page .et-l--header .et_pb_section:first-child .et_pb_menu__icon,
body.azp-public-broker-page .et-l--header .et_pb_section:first-child .mobile_menu_bar {
	color: #fff !important;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.25);
}
.azp-public-broker-page #main-content { background: #f6f3ec; }
.azp-public-broker-page #main-content .container { max-width: none; padding: 0; width: 100%; }
.azp-public-broker-page #main-content .container::before,
.azp-public-broker-page #sidebar { display: none !important; }
.azp-public-broker-page #left-area { float: none; padding: 0; width: 100%; }
.azp-public-broker-page article.page { margin: 0; padding: 0; }
.azp-public-broker-page .entry-title { display: none; }
.azp-public-broker { --azp-ink: #092d43; --azp-depth: #134d6b; --azp-copper: #527f9c; --azp-copper-soft: #b8d2e1; --azp-sand: #e8eef2; --azp-cream: #f6f3ec; --azp-paper: #fff; --azp-line: #d6e1e7; --azp-muted: #627580; color: var(--azp-ink); font-family: Inter, Arial, Helvetica, sans-serif; margin: 0; max-width: none; overflow: hidden; width: 100%; }
.azp-public-broker *,
.azp-public-broker *::before,
.azp-public-broker *::after { box-sizing: border-box; }
.azp-public-broker a { color: inherit; text-decoration: none; }
.azp-public-broker h1,
.azp-public-broker h2 { color: var(--azp-ink); font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.03em; }
.azp-public-broker h1 { font-size: clamp(2.7rem, 5.1vw, 5.65rem); line-height: 0.94; margin: 0 0 20px; }
.azp-public-broker h2 { font-size: clamp(2rem, 3.1vw, 3.5rem); line-height: 1; margin: 0; }
.azp-public-broker-hero { background: radial-gradient(circle at 88% 15%, rgba(82, 127, 156, 0.13), transparent 29%), var(--azp-paper); border-left: 1px solid var(--azp-line); border-right: 1px solid var(--azp-line); display: grid; grid-template-columns: minmax(390px, 48%) 1fr; min-height: 640px; }
.azp-public-broker-photo { align-items: center; background: linear-gradient(145deg, #cadce6, #edf2f4); display: flex; justify-content: center; min-height: 640px; overflow: hidden; position: relative; }
.azp-public-broker-photo::after { background: linear-gradient(140deg, rgba(5, 35, 52, 0.40), transparent 48%); content: ""; inset: 0; pointer-events: none; position: absolute; z-index: 1; }
.azp-public-broker-photo > img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.azp-public-broker-photo .azp-broker-initials { position: relative; z-index: 2; }
.azp-public-broker-photo blockquote { color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1rem, 1.5vw, 1.4rem); font-style: italic; left: 38px; line-height: 1.35; margin: 0; max-width: 220px; position: absolute; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); top: 55px; z-index: 2; }
.azp-public-broker-copy { align-self: center; padding: clamp(45px, 6vw, 92px); }
.azp-public-broker-location { color: var(--azp-copper); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.05rem; margin: 0 0 20px; }
.azp-public-broker-lead { color: var(--azp-muted); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.24rem; line-height: 1.42; max-width: 650px; }
.azp-public-broker-columns { border-top: 1px solid var(--azp-line); display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 30px; padding-top: 24px; }
.azp-public-broker-columns > div + div { border-left: 1px solid var(--azp-line); padding-left: 22px; }
.azp-public-broker-columns small,
.azp-public-broker-facts small { color: var(--azp-copper); display: block; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.12em; margin-bottom: 5px; text-transform: uppercase; }
.azp-public-broker-columns p { font-family: "Cormorant Garamond", Georgia, serif; font-size: 0.88rem; line-height: 1.5; margin: 0; }
.azp-public-broker-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.azp-public-broker-chips span { border: 1px solid var(--azp-line); border-radius: 999px; font-size: 0.61rem; padding: 4px 8px; }
.azp-public-broker-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.azp-public-broker-facts { background: var(--azp-paper); border: 1px solid var(--azp-line); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 25px clamp(25px, 5vw, 65px); }
.azp-public-broker-facts > div { border-right: 1px solid var(--azp-line); min-width: 0; padding: 0 22px; }
.azp-public-broker-facts > div:first-child { padding-left: 0; }
.azp-public-broker-facts > div:last-child { border: 0; padding-right: 0; }
.azp-public-broker-facts b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 0.9rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.azp-public-broker-about { background: var(--azp-paper); border-left: 1px solid var(--azp-line); border-right: 1px solid var(--azp-line); display: grid; gap: 40px; grid-template-columns: 220px 1fr; padding: 58px clamp(35px, 6vw, 90px); }
.azp-public-broker-about > div { color: var(--azp-muted); font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.13rem; line-height: 1.7; max-width: 830px; }
.azp-public-broker-properties { background: var(--azp-cream); border: 1px solid var(--azp-line); padding: 58px clamp(25px, 5vw, 72px) 72px; scroll-margin-top: 110px; }
.azp-public-broker-heading { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 28px; }
.azp-public-broker-heading .azp-kicker { margin-bottom: 10px; }
.azp-public-broker-heading > span { color: var(--azp-copper); font-size: 0.69rem; font-weight: 800; text-transform: uppercase; }
.azp-public-broker-properties .azp-broker-property-card { min-height: 375px; }
.azp-public-broker-properties .azp-broker-property-image { min-height: 235px; }
.azp-public-broker-properties .azp-broker-property-copy b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.2rem; }
.azp-public-broker-load { align-items: center; display: flex; flex-direction: column; gap: 10px; margin-top: 34px; }
.azp-load-properties { align-items: center; background: #fff; border: 1px solid var(--azp-copper); border-radius: 999px; color: var(--azp-ink); cursor: pointer; display: inline-flex; font-size: 0.74rem; font-weight: 800; gap: 10px; justify-content: center; min-height: 48px; min-width: 215px; padding: 0 24px; }
.azp-load-properties:hover { background: var(--azp-ink); border-color: var(--azp-ink); color: #fff; }
.azp-load-properties i { animation: azp-spin 0.75s linear infinite; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: none; height: 16px; width: 16px; }
.azp-load-properties.is-loading i { display: block; }
.azp-load-properties:disabled { cursor: wait; opacity: 0.72; }
.azp-load-status { color: var(--azp-muted); font-size: 0.72rem; margin: 0; min-height: 1.2em; }
.azp-public-broker-areas { align-items: center; background: linear-gradient(110deg, #082a3e, #155b7d); color: #fff; display: flex; gap: 50px; justify-content: space-between; padding: 52px clamp(25px, 6vw, 90px); }
.azp-public-broker-areas .azp-kicker { color: #bcd5e3; }
.azp-public-broker-areas h2 { color: #fff; max-width: 560px; }
.azp-public-broker-areas > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.azp-public-broker-areas > div:last-child span { border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; font-size: 0.7rem; padding: 8px 13px; }
.azp-public-broker--missing { background: var(--azp-paper); border: 1px solid var(--azp-line); margin: 60px auto; max-width: 920px; padding: 80px 40px; text-align: center; }
.azp-public-preview-notice { align-items: center; background: #e7f1f7; border-bottom: 1px solid #c7dae5; color: #092d43; display: flex; gap: 14px; justify-content: center; padding: 12px 24px; text-align: center; }
.azp-public-preview-notice strong { font-size: 0.7rem; letter-spacing: 0.09em; text-transform: uppercase; }
.azp-public-preview-notice span { color: #526d7d; font-size: 0.72rem; }
.azp-contact-modal { align-items: center; display: none; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 10010; }
.azp-contact-modal.is-open { display: flex; }
.azp-contact-backdrop { background: rgba(3, 27, 42, 0.76); border: 0; inset: 0; position: absolute; }
.azp-contact-modal > section { background: #fff; border: 1px solid #d6e1e7; border-radius: 18px; box-shadow: 0 30px 100px rgba(3, 27, 42, 0.30); max-height: calc(100dvh - 48px); max-width: 720px; overflow: auto; padding: clamp(28px, 5vw, 54px); position: relative; width: 100%; z-index: 1; }
.azp-contact-modal h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 45px 12px 0; }
.azp-contact-modal > section > p:not(.azp-kicker) { color: #627580; margin-bottom: 28px; }
.azp-contact-close { align-items: center; background: #e8eef2; border: 0; border-radius: 50%; color: #092d43; cursor: pointer; display: flex; font-size: 1.6rem; height: 42px; justify-content: center; position: absolute; right: 20px; top: 20px; width: 42px; }
.azp-contact-modal .azp-form label { color: #092d43; }
.azp-contact-result { color: #627580; font-size: 0.75rem; margin: 14px 0 0; min-height: 1.4em; }
.azp-contact-result.is-success { color: #2f6740; }
.azp-contact-result.is-error { color: #873c36; }
.azp-honeypot { height: 1px !important; left: -10000px !important; opacity: 0 !important; pointer-events: none !important; position: absolute !important; width: 1px !important; }
body.azp-contact-open { overflow: hidden; }
.azp-opportunity-leads { min-width: 850px; }
@keyframes azp-spin { to { transform: rotate(360deg); } }
.azp-help-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.azp-help-grid > section > b { margin-bottom: 25px; }
.azp-help-grid h2 { font-size: 1.4rem; }
.azp-help-grid p { color: var(--azp-muted); }
.azp-support-card { align-items: center; display: flex; justify-content: space-between; margin-top: 22px; }
.azp-support-card p { color: var(--azp-muted); margin-bottom: 0; }
.azp-overlay { display: none; }
.azp-help-modal { align-items: center; display: none; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 10000; }
.azp-help-modal.is-open { display: flex; }
.azp-help-backdrop { background: rgba(3, 27, 42, 0.72); border: 0; inset: 0; position: absolute; }
.azp-help-modal > section { background: #fff; border: 1px solid var(--azp-line); border-radius: 18px; box-shadow: 0 28px 90px rgba(4, 29, 43, 0.25); max-height: calc(100dvh - 48px); max-width: 640px; overflow: auto; padding: clamp(28px, 5vw, 52px); position: relative; width: 100%; z-index: 1; }
.azp-help-modal h2 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 45px 26px 0; }
.azp-help-close { align-items: center; background: var(--azp-sand); border: 0; border-radius: 50%; color: var(--azp-ink); cursor: pointer; display: flex; font-size: 1.6rem; height: 40px; justify-content: center; position: absolute; right: 20px; top: 20px; width: 40px; }
.azp-help-actions { display: grid; gap: 10px; }
.azp-help-actions > a { align-items: center; background: var(--azp-cream); border: 1px solid var(--azp-line); border-radius: 12px; color: var(--azp-ink); display: flex; gap: 15px; padding: 16px; }
.azp-help-actions > a:hover { border-color: var(--azp-copper); transform: translateY(-1px); }
.azp-help-actions > a > b { align-items: center; background: var(--azp-ink); border-radius: 50%; color: #fff; display: flex; flex: 0 0 34px; height: 34px; justify-content: center; }
.azp-help-actions span { display: flex; flex-direction: column; }
.azp-help-actions strong { font-size: 0.82rem; }
.azp-help-actions small { color: var(--azp-muted); font-size: 0.7rem; margin-top: 3px; }
body.azp-help-open { overflow: hidden; }

@media (max-width: 1120px) {
	.azp-sidebar { flex-basis: 238px; }
	.azp-choice-grid--checks,
	.azp-distance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.azp-fields-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.azp-auth-page { grid-template-columns: 38% 1fr; }
	.azp-auth-intro { padding: 45px 35px; }
	.azp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.azp-owner-property-detail { grid-template-columns: minmax(240px, 0.8fr) 1.2fr; }
	.azp-owner-property-aside { border-left: 0; border-top: 1px solid var(--azp-line); grid-column: 1 / -1; }
	.azp-owner-property-aside dl { display: grid; gap: 0 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.azp-opportunity-grid,
	.azp-resource-grid,
	.azp-broker-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.azp-public-broker-hero { grid-template-columns: minmax(320px, 42%) 1fr; }
	.azp-public-broker-columns { grid-template-columns: 1fr 1fr; }
	.azp-public-broker-columns > div + div { border-left: 0; padding-left: 0; }
	.azp-public-broker-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 25px; }
	.azp-public-broker-facts > div { border-right: 0; padding: 0; }
	.azp-zone-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.azp-lead-sources { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
	.azp-auth-page { display: block; }
	.azp-auth-intro { justify-content: flex-start; min-height: 310px; padding: 32px 25px; }
	.azp-auth-intro > div:nth-child(2) { margin: auto 0 25px; }
	.azp-auth-intro .azp-auth-brand { margin-bottom: 55px; }
	.azp-switch-portal { position: absolute; right: 24px; top: 35px; }
	.azp-auth-panel { align-items: flex-start; min-height: auto; padding: 75px 24px 50px; }
	.azp-auth-tools { right: 20px; top: 18px; }
	.azp-auth-card h2 { font-size: 2.35rem; }
	.azp-sidebar { box-shadow: 20px 0 50px rgba(0, 0, 0, 0.25); left: -290px; position: fixed; transition: left 0.25s ease; width: 275px; }
	.azp-menu-open .azp-sidebar { left: 0; }
	.azp-overlay { background: rgba(4, 28, 42, 0.58); border: 0; bottom: 0; left: 0; position: fixed; right: 0; top: 0; z-index: 45; }
	.azp-menu-open .azp-overlay { display: block; }
	.azp-topbar { height: 64px; justify-content: space-between; }
	.azp-menu-toggle { display: flex; }
	.azp-topbar-role { display: none; }
	.azp-content { padding-top: 38px; }
	.azp-property-row { grid-template-columns: 80px minmax(0, 1fr); }
	.azp-property-thumb { height: 76px; }
	.azp-property-actions { align-items: center; border-top: 1px solid var(--azp-line); flex-direction: row; grid-column: 1 / -1; justify-content: flex-end; padding: 10px 3px 0; }
	.azp-process,
	.azp-help-grid,
	.azp-status-guide { grid-template-columns: 1fr; }
	.azp-property-form { border-radius: 12px; padding: 24px; }
	.azp-step { min-height: 400px; }
	.azp-form-actions { margin: 45px -24px -24px; padding: 12px 15px; }
	.azp-form-actions .azp-button { font-size: 0.7rem; min-height: 45px; padding: 0 14px; }
	.azp-media-existing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.azp-quick-grid { grid-template-columns: 1fr; }
	.azp-quick-grid.azp-owner-quick-grid { grid-template-columns: 1fr; }
	.azp-owner-overview { align-items: flex-start; flex-direction: column; }
	.azp-owner-property-detail { grid-template-columns: 1fr; }
	.azp-owner-property-cover { min-height: 330px; }
	.azp-owner-property-aside { grid-column: auto; }
	.azp-owner-property-aside dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.azp-broker-private-profile { grid-template-columns: 1fr; }
	.azp-broker-private-photo { min-height: 310px; }
	.azp-opportunity-detail { grid-template-columns: 1fr; }
	.azp-detail-aside { position: static; }
	.azp-detail-cover { min-height: 340px; }
	.azp-public-broker-hero { grid-template-columns: 1fr; }
	.azp-public-broker-photo { min-height: 520px; }
	.azp-public-broker-copy { padding: 42px 28px; }
	.azp-public-broker-about { grid-template-columns: 1fr; }
	.azp-public-broker-areas { align-items: flex-start; flex-direction: column; }
	.azp-public-broker-areas > div:last-child { justify-content: flex-start; }
	.azp-zone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.azp-lead-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
	.azp-topbar { gap: 9px; padding: 0 14px; }
	.azp-topbar-action { font-size: 0; min-height: 38px; padding: 0; width: 38px; }
	.azp-topbar-action span { font-size: 1.2rem; margin: auto; }
	.azp-back-amani { border: 1px solid var(--azp-line); border-radius: 50%; font-size: 1rem; height: 38px; justify-content: center; margin-right: auto; width: 38px; }
	.azp-back-amani span { display: none; }
	.azp-public-topbar { height: 68px; padding: 0 16px; }
	.azp-public-brand b { font-size: 1rem; }
	.azp-public-brand small { display: none; }
	.azp-public-topbar nav { gap: 10px; }
	.azp-public-home-link { align-items: center; border: 1px solid #d6e1e7; border-radius: 50%; display: inline-flex !important; font-size: 1rem !important; height: 34px; justify-content: center; width: 34px; }
	.azp-public-home-link span { display: none; }
	.azp-public-topbar nav > a { font-size: 0.59rem; }
	.azp-public-topbar .azp-languages { gap: 2px; margin-left: 0; }
	.azp-public-topbar .azp-languages a { height: 34px; width: 34px; }
	.azp-auth-intro { min-height: 285px; }
	.azp-auth-intro h1 { font-size: 2.4rem; }
	.azp-switch-portal { font-size: 0.59rem; }
	.azp-fields-2,
	.azp-fields-3,
	.azp-choice-grid,
	.azp-distance-grid,
	.azp-opportunity-grid,
	.azp-resource-grid,
	.azp-broker-property-grid { grid-template-columns: 1fr; }
	.azp-stats { gap: 9px; }
	.azp-stats > div { padding: 19px; }
	.azp-stats > a { padding: 19px; }
	.azp-owner-overview { margin-left: -10px; margin-right: -10px; }
	.azp-owner-overview .azp-button { width: 100%; }
	.azp-owner-property-cover { min-height: 245px; }
	.azp-owner-property-aside dl { grid-template-columns: 1fr; }
	.azp-dashboard-actions,
	.azp-list-head,
	.azp-section-head,
	.azp-writing-assistant,
	.azp-profile-intro,
	.azp-support-card { align-items: flex-start; flex-direction: column; }
	.azp-choice-grid span,
	.azp-property-form .azp-choice-grid span { min-height: 70px; padding: 18px; }
	.azp-stepper { margin-bottom: 38px; }
	.azp-property-form { margin: 0 -10px; }
	.azp-form-actions { flex-wrap: wrap; }
	.azp-form-actions .azp-prev { order: 1; }
	.azp-form-actions .azp-save-draft { order: 2; }
	.azp-form-actions .azp-next,
	.azp-form-actions .azp-submit { order: 3; }
	.azp-media-existing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.azp-empty { padding: 45px 20px; }
	.azp-opportunity-image { min-height: 190px; }
	.azp-detail-cover { min-height: 240px; }
	.azp-broker-private-facts,
	.azp-public-broker-columns,
	.azp-public-broker-facts { grid-template-columns: 1fr; }
	.azp-broker-photo-editor { grid-template-columns: 1fr; }
	.azp-profile-question { padding: 18px !important; }
	.azp-zone-grid { grid-template-columns: 1fr; }
	.azp-language-row { align-items: stretch; grid-template-columns: 1fr 42px; }
	.azp-language-row label:first-child { grid-column: 1 / -1; }
	.azp-language-row .azp-remove-language { grid-column: 2; grid-row: 2; }
	.azp-public-broker-photo { min-height: 420px; }
	.azp-public-broker-photo blockquote { left: 22px; top: 28px; }
	.azp-public-broker-actions .azp-button { width: 100%; }
	.azp-public-broker-about,
	.azp-public-broker-properties { padding: 42px 22px; }
	.azp-public-broker-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
	.azp-public-broker-areas { padding: 42px 22px; }
	.azp-media-gallery,
	.azp-video-grid { grid-template-columns: 1fr; }
	.azp-contact-modal { padding: 12px; }
	.azp-contact-modal > section { border-radius: 14px; max-height: calc(100dvh - 24px); padding: 28px 20px; }
	.azp-contact-modal .azp-fields-2 { grid-template-columns: 1fr; }
	.azp-lead-check { align-items: stretch; flex-direction: column; }
	.azp-lead-check .azp-button { width: 100%; }
	.azp-lead-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.azp-submit-help { display: block; margin: 10px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.azp-portal-document * { scroll-behavior: auto !important; transition: none !important; }
}

/* Network and agency flows — v3.1 */
.azp-agency-cta{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:22px 24px;border:1px solid var(--azp-line,#cbdde6);border-radius:18px;color:var(--azp-blue,#08354d);text-decoration:none;background:#f4f8fa}
.azp-agency-cta span{font-size:14px}.azp-profile-role{display:grid;gap:5px;padding:20px 22px;margin:0 0 24px;border:1px solid #cbdde6;border-radius:16px;background:#f4f8fa}.azp-profile-role span{font-family:Georgia,serif;font-size:25px;color:#07344c}.azp-profile-role small{color:#627885}
.azp-copy-input{width:100%;padding:14px;border:1px solid #cbdde6;border-radius:10px;background:#f7fafb;color:#07344c}
.azp-network-table{overflow:auto;margin:20px 0}.azp-network-table table{width:100%;border-collapse:collapse;min-width:640px}.azp-network-table th,.azp-network-table td{padding:14px;border-bottom:1px solid #d7e3e9;text-align:left}.azp-network-table thead th{color:#547180;font-size:12px;text-transform:uppercase;letter-spacing:.08em}.azp-network-table tbody th small{display:block;color:#778b96;font-weight:400;margin-top:4px}.azp-network-access input[type=checkbox]{width:22px;height:22px;accent-color:#0b5272}
.azp-director-tools{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0}.azp-director-tool{box-shadow:none}.azp-director-tool>p:not(.azp-kicker){color:var(--azp-muted);min-height:46px}.azp-director-tool .azp-button{margin-top:8px}
.azp-team-sales{display:grid;gap:13px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:22px}.azp-team-sale-card{align-items:center;background:#f7fafb;border:1px solid var(--azp-line);border-radius:14px;display:grid;gap:14px;grid-template-columns:52px minmax(0,1fr) auto;padding:16px}.azp-team-initial{align-items:center;background:#123f58;border-radius:50%;color:#fff;display:flex;font-family:Georgia,serif;font-size:20px;height:52px;justify-content:center;width:52px}.azp-team-sale-card h3{font-family:Arial,sans-serif;font-size:15px;margin:0 0 3px}.azp-team-sale-card p,.azp-team-sale-card small{color:var(--azp-muted);display:block;font-size:11px;margin:0}.azp-team-sale-card dl{display:flex;gap:16px;margin:0}.azp-team-sale-card dl div{text-align:center}.azp-team-sale-card dt{color:var(--azp-muted);font-size:9px;text-transform:uppercase}.azp-team-sale-card dd{color:var(--azp-ink);font-family:Georgia,serif;font-size:23px;margin:2px 0 0}.azp-status--rejected{background:#f5e1df;color:#873c36}
@media(max-width:900px){.azp-director-tools,.azp-team-sales{grid-template-columns:1fr}}
@media(max-width:700px){.azp-agency-cta{align-items:flex-start;flex-direction:column}.azp-network-table{margin-left:-10px;margin-right:-10px}.azp-team-sale-card{grid-template-columns:44px 1fr}.azp-team-initial{height:44px;width:44px}.azp-team-sale-card dl{grid-column:1/-1;justify-content:flex-end}}
