/* EstateFoxy Pure UI v2 — semantic, replaceable theme tokens */
:root,[data-ef-theme="light"]{
 color-scheme:light;
 --ef-bg:#fff;--ef-surface:#fff;--ef-soft:#f5f5f2;--ef-ink:#141715;--ef-muted:#626a66;
 --ef-line:#1c231e;--ef-line-soft:#d9ddd9;--ef-accent:#b7df42;--ef-accent-ink:#142012;
 --ef-danger:#b62f36;--ef-warning:#896000;--ef-success:#256c42;--ef-info:#235e89;
 --ef-focus:#4c75d9;--ef-overlay:rgba(0,0,0,.53);
 --ef-font:Inter,Arial,Helvetica,sans-serif;--ef-mono:ui-monospace,SFMono-Regular,Consolas,monospace;
 --ef-text-xs:.75rem;--ef-text-sm:.875rem;--ef-text-md:1rem;--ef-text-lg:1.25rem;
 --ef-space-1:.25rem;--ef-space-2:.5rem;--ef-space-3:.75rem;--ef-space-4:1rem;
 --ef-space-5:1.25rem;--ef-space-6:1.5rem;--ef-space-8:2rem;--ef-space-12:3rem;
 --ef-space-16:4rem;--ef-space-20:5rem;--ef-radius:0;--ef-radius-soft:3px;
 --ef-container:1100px;--ef-header-height:76px;--ef-control-height:42px;
 --ef-duration:150ms;--ef-ease:cubic-bezier(.2,.7,.3,1);
}
[data-ef-theme="dark"]{
 color-scheme:dark;--ef-bg:#141715;--ef-surface:#191e1b;--ef-soft:#232b25;--ef-ink:#f0f3ef;
 --ef-muted:#b5c0b8;--ef-line:#b3c0b5;--ef-line-soft:#465148;
 --ef-accent:#b7df42;--ef-accent-ink:#142012;--ef-danger:#ff9197;--ef-warning:#e4bb6a;
 --ef-success:#a3e1b6;--ef-info:#9fcbea;--ef-focus:#90aaff;--ef-overlay:rgba(0,0,0,.72)
}
@media(prefers-reduced-motion:reduce){:root{--ef-duration:0ms}}

:root {
  --ef-color-text: var(--ef-ink);
  --ef-color-text-muted: var(--ef-muted);
  --ef-color-surface: var(--ef-surface);
  --ef-color-surface-muted: var(--ef-soft);
  --ef-color-surface-raised: var(--ef-surface);
  --ef-color-border: var(--ef-line-soft);
  --ef-color-brand: var(--ef-ink);
  --ef-color-brand-hover: var(--ef-muted);
  --ef-color-on-brand: var(--ef-bg);
  --ef-color-accent: var(--ef-accent);
  --ef-color-focus: var(--ef-focus);
  --ef-color-success: var(--ef-success);
  --ef-color-success-surface: var(--ef-soft);
  --ef-color-warning: var(--ef-warning);
  --ef-color-warning-surface: var(--ef-soft);
  --ef-color-danger: var(--ef-danger);
  --ef-color-danger-surface: var(--ef-soft);
  --ef-color-info: var(--ef-info);
  --ef-color-info-surface: var(--ef-soft);
  --ef-font-body: var(--ef-font);
  --ef-font-display: var(--ef-font);
  --ef-font-mono: var(--ef-mono);
  --ef-space-10: 2.5rem;
  --ef-font-size-xs: 0.75rem;
  --ef-font-size-sm: 0.875rem;
  --ef-font-size-md: 1rem;
  --ef-font-size-lg: 1.25rem;
  --ef-line-height-tight: 1.2;
  --ef-line-height-body: 1.5;
  --ef-radius-sm: 0;
  --ef-radius-md: 0;
  --ef-radius-lg: 0;
  --ef-radius-pill: 0;
  --ef-shadow-sm: none;
  --ef-shadow-raised: none;
  --ef-header-height-mobile: 124px;
  --ef-toolbar-height: 2.75rem;
  --ef-control-height-compact: 2.25rem;
  --ef-control-min-size: 44px;
  --ef-icon-size: 1.25rem;
  --ef-icon-button-size: 44px;
  --ef-sidebar-width: 13.5rem;
  --ef-sidebar-width-collapsed: 3.75rem;
  --ef-panel-width: clamp(20rem, 28vw, 25rem);
  --ef-panel-width-wide: clamp(24rem, 36vw, 32rem);
  --ef-drawer-width: clamp(18.75rem, 23vw, 21.25rem);
  --ef-dialog-width-sm: 24rem;
  --ef-dialog-width-md: 32rem;
  --ef-dialog-width-lg: 48rem;
  --ef-popup-width: 22rem;
  --ef-card-padding: var(--ef-space-6);
  --ef-section-gap: var(--ef-space-6);
  --ef-form-gap: var(--ef-space-3);
  --ef-table-cell-padding: 0.7rem;
  --ef-map-control-size: 44px;
  --ef-content-max: 72rem;
  --ef-breakpoint-mobile: 42rem;
  --ef-breakpoint-tablet: 60rem;
  --ef-breakpoint-wide: 80rem;
  --ef-z-map: 1;
  --ef-z-map-control: 10;
  --ef-z-drawer: 30;
  --ef-z-header: 50;
  --ef-z-dialog: 100;
  --ef-z-skip-link: 1000;
  --ef-duration-fast: 160ms;
  --ef-duration-normal: 240ms;
  --ef-ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ef-color-brand-contrast: var(--ef-bg);
  --ef-color-brand-strong: var(--ef-ink);
  --ef-color-brand-soft: var(--ef-soft);
  --ef-color-bg: var(--ef-bg);
  --background: var(--ef-bg);
  --foreground: var(--ef-ink);
  --muted: var(--ef-soft);
  --muted-foreground: var(--ef-muted);
  --popover: var(--ef-surface);
  --card: var(--ef-surface);
  --border: var(--ef-line-soft);
  --primary: var(--ef-ink);
  --primary-foreground: var(--ef-bg);
  --secondary: var(--ef-soft);
  --accent: var(--ef-accent);
  --ring: var(--ef-focus);
  --radius: 0;
  --ef-pure-header-height: 62px;
  --ef-pure-control-height: 42px;
  --ef-pure-duration: var(--ef-duration);
  --ef-pure-ease: var(--ef-ease);
  --ef-content-gutter: clamp(1rem, 2.4vw, 2.5rem);
  --ef-content-wide: 1440px;
  --ef-header-mobile-height: 124px;
  --ef-accent-hover: #caef64;
  --ef-inverse-surface: #141715;
  --ef-inverse-text: #f0f3ef;
  --ef-inverse-muted: #b5c0b8;
  --ef-disabled-opacity: .45;
  --input: var(--ef-line-soft);
  --destructive: var(--ef-danger);
  --space-2: var(--ef-space-2);
  --space-3: var(--ef-space-3);
  --space-4: var(--ef-space-4);
  --radius-lg: 0;
  --shadow-sm: none;
}

/* Established markup aliases resolve to this one semantic palette. */
:root {
 --bg:var(--ef-bg); --bg-alt:var(--ef-soft); --surface:var(--ef-surface); --surface-2:var(--ef-surface);
 --accent-mid:var(--ef-accent); --accent-light:var(--ef-accent); --accent-dark:var(--ef-ink);
 --accent-ghost:var(--ef-soft); --accent-border:var(--ef-line-soft);
 --text-1:var(--ef-ink); --text-2:var(--ef-muted); --text-3:var(--ef-muted);
 --shadow-md:none; --shadow-lg:none; --silk:var(--ef-ease); --silk-dur:var(--ef-duration);
 --ef-border:var(--ef-line-soft); --ef-text-muted:var(--ef-muted); --ef-color-primary:var(--ef-ink);
 --ef-font-size-base:var(--ef-text-md); --ops-border:var(--ef-line-soft);
 --ef-status-surface:var(--ef-soft);
}

:root{--ef-logo-surface:#fff;--ef-inverse-danger:#ff9197}

/* Analytical series are distinct from action and evidence-state colours. */
:root,[data-ef-theme="light"]{
 --ef-series-1:#235e89;--ef-series-2:#a34815;--ef-series-3:#256c42;
 --ef-series-4:#7554a3;--ef-series-5:#a03468;--ef-series-6:#626a66;
 --ef-activity-0:#edf0ed;--ef-activity-1:#d2ead9;--ef-activity-2:#9bd1ad;--ef-activity-3:#398454;--ef-activity-4:#205b36;
 --ef-media-radius:14px;--ef-media-shadow:0 8px 24px rgba(20,23,21,.16);
}
[data-ef-theme="dark"]{
 --ef-series-1:#9fcbea;--ef-series-2:#e9ad81;--ef-series-3:#a3e1b6;
 --ef-series-4:#c8afea;--ef-series-5:#eca4c4;--ef-series-6:#b5c0b8;
 --ef-activity-0:#232b25;--ef-activity-1:#d2ead9;--ef-activity-2:#9bd1ad;--ef-activity-3:#398454;--ef-activity-4:#205b36;
}
:root{
 --ef-color-success-surface:color-mix(in srgb,var(--ef-success) 9%,var(--ef-surface));
 --ef-color-warning-surface:color-mix(in srgb,var(--ef-warning) 9%,var(--ef-surface));
 --ef-color-danger-surface:color-mix(in srgb,var(--ef-danger) 9%,var(--ef-surface));
 --ef-color-info-surface:color-mix(in srgb,var(--ef-info) 9%,var(--ef-surface));
}

:root{--ef-map-ru:#14b8a6;--ef-map-cell:#3b82f6;--ef-map-accepted:#15803d;--ef-map-pending:#d97706}

/* Fixed cartographic keys match the governed MapLibre data palettes in island.ts. */
:root{
 --ef-map-count-1:#fff7bc;
 --ef-map-count-2:#fec44f;
 --ef-map-count-3:#fe9929;
 --ef-map-count-4:#ec7014;
 --ef-map-count-5:#b10026;
 --ef-map-price-1:#dcfce7;
 --ef-map-price-2:#b1f6ca;
 --ef-map-price-3:#86efac;
 --ef-map-price-4:#4eb875;
 --ef-map-price-5:#15803d;
 --ef-map-usage-1:#e0f2fe;
 --ef-map-usage-2:#93c5fd;
 --ef-map-usage-3:#38bdf8;
 --ef-map-usage-4:#2563eb;
 --ef-map-usage-5:#172554;
 --ef-map-no-evidence:#d1d5db;--ef-map-unavailable:#64748b;
}

/* Google branding is fixed in both themes; the logo sits on white. */
:root{--ef-google-surface:#fff;--ef-google-text:#1f1f1f;--ef-google-border:#747775;--ef-google-blue:#4285f4;--ef-google-red:#ea4335;--ef-google-yellow:#fbbc05;--ef-google-green:#34a853;--ef-auth-backdrop:rgba(20,23,21,.58)}
/* Canonical shared primitives, using existing typed SSR component contracts. */
.ef-ui, .ef-ui *, .ef-ui *::before, .ef-ui *::after{box-sizing:border-box;}
.ef-ui :where(h1,h2,h3,h4){line-height:1.13;letter-spacing:-.035em;text-wrap:balance;}
.ef-ui :where(p,li,dd,td){text-wrap:pretty;}
:where(.ef-ui a){color:inherit;text-underline-offset:.2em;}
.ef-ui :where(button,input,select,textarea){font:inherit;}
.ef-ui :where(button){cursor:pointer;}
.ef-ui :where(button:disabled){cursor:not-allowed;}
.ef-ui :where(img,svg){max-width:100%;}
.ef-ui :where([hidden]){display:none!important;}
.ef-ui :where(:focus-visible){outline:3px solid var(--ef-focus);outline-offset:3px;}
.ef-ui .ef-skip-link:focus{background:var(--ef-accent);color:var(--ef-accent-ink);}
.ef-ui :where(.ef-button,.landing-account-entry,.pricing-cta,.cta-primary,.cta-secondary){border:1px solid var(--ef-line);border-radius:0;min-height:var(--ef-pure-control-height);box-shadow:none;transition:background var(--ef-pure-duration) var(--ef-pure-ease), color var(--ef-pure-duration) var(--ef-pure-ease);}
.ef-ui :where(.ef-button--primary,.pricing-cta,.cta-primary){background:var(--ef-accent);border-color:var(--ef-line);color:var(--ef-accent-ink);}
.ef-ui :where(.ef-button--neutral,.cta-secondary){background:var(--ef-surface);color:var(--ef-ink);}
.ef-ui :where(.ef-button--danger){border-color:var(--ef-danger);color:var(--ef-danger);}
.ef-ui :where(.ef-button:hover,.pricing-cta:hover,.cta-primary:hover,.cta-secondary:hover){box-shadow:none;filter:none;}
.ef-ui :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea,.ef-input,.ef-select){min-height:var(--ef-pure-control-height);border:1px solid var(--ef-line);border-radius:0;background:var(--ef-surface);color:var(--ef-ink);box-shadow:none;}
.ef-ui :where(input,select,textarea)[aria-invalid="true"]{border-color:var(--ef-danger);outline:1px solid var(--ef-danger);}
.ef-ui :where(.ef-card,.ops-card,.ops-metric,.login-card,.account-card,.profile-plan-card,.profile-download-card,.pricing-card,.landing-preview){border:1px solid var(--ef-line);border-radius:0;background:var(--ef-surface);box-shadow:none;}
.ef-ui :where(.ef-badge,.ef-status,.ops-role,.ops-viva-pill){border-radius:0;box-shadow:none;}
.ef-ui :where(.ef-table-wrap,.ops-table-wrap){border:1px solid var(--ef-line);border-radius:0;box-shadow:none;}
.ef-ui :where(.ef-table,.ops-table){border-collapse:collapse;}
.ef-ui :where(.ef-table,.ops-table) th{background:var(--ef-soft);color:var(--ef-ink);font-size:.74rem;letter-spacing:.05em;text-transform:uppercase;}
.ef-ui :where(.ef-table,.ops-table) :is(th,td){border-color:var(--ef-line-soft);}
.ef-ui :where(.ef-table,.ops-table) tbody tr:hover{background:var(--ef-soft);}
.ef-ui :where(.ef-tabs,.account-tabs){border-bottom-color:var(--ef-line);}
.ef-ui :where(.ef-tabs,.account-tabs) a[aria-current="page"], .ef-ui .ef-tabs [aria-selected="true"]{border-bottom-color:var(--ef-ink);color:var(--ef-ink);}
.ef-ui :where(.ef-empty-state,.ops-empty-state,.profile-empty){border:1px dashed var(--ef-line-soft);border-radius:0;background:var(--ef-surface);}
.ef-ui :where(dialog,.ef-dialog,.ru-assignment-popover,.ops-user-sheet){border:1px solid var(--ef-line);border-radius:0;background:var(--ef-surface);color:var(--ef-ink);box-shadow:none;}
.ef-ui :where(dialog,.ef-dialog)::backdrop{background:var(--ef-overlay);}
.ef-ui .ef-site-header{border-color:var(--ef-line);background:var(--ef-inverse-surface);font-family:var(--ef-font);}
.ef-ui .ef-site-header :where(.nav-links a,.ef-profile-entry,.ef-backoffice-entry,.landing-account-entry,.ef-login-menu>summary){border-radius:0;box-shadow:none;}
.ef-ui .ef-site-header .ef-backoffice-entry{background:var(--ef-accent);border-color:var(--ef-accent);color:var(--ef-accent-ink);}
.ef-ui .ef-site-header .ef-location-search input{border-radius:0;}
.ef-ui .ef-site-header .ef-location-search button{border-radius:0;background:var(--ef-accent);color:var(--ef-accent-ink);}
.ef-ui :where(.theme-shell,.ops-shell,.theme-auth-shell,.theme-surface,.ops-main){color:var(--ef-ink);}
.ef-ui :where(.theme-sidebar,.ops-sidebar){border-color:var(--ef-line);background:var(--ef-soft);}
.ef-ui :where(.theme-nav,.ops-sidebar-nav) a{border-radius:0;}
.ef-ui :where(.theme-nav,.ops-sidebar-nav) a[aria-current="page"]{background:var(--ef-ink);color:var(--ef-bg);}
.ef-ui .ops-heading{border-color:var(--ef-line);}
.ef-ui :where(.account-page,.theme-surface,.ops-main) > :where(header,.ops-heading) h1,
.ef-ui :where(.account-page,.theme-surface) :where(.login-card,.account-card) h1{margin-block:0 var(--ef-space-3);font-size:clamp(1.85rem, 3vw, 2.75rem);font-weight:800;}
.ef-ui .ops-main > .ops-heading h1{font-size:clamp(1.45rem, 2vw, 2rem);font-weight:800;}
.ef-ui :where(.account-page,.theme-surface,.ops-main) h2{font-weight:750;}
.ef-ui :where(.account-page,.theme-surface){width:min(100%, var(--ef-content-wide));margin-inline:auto;}
.ef-ui :where(.login-card,.account-card,.profile-plan-card){padding:clamp(1.25rem, 2.4vw, 2rem);}
.ef-ui .ops-main{padding:clamp(1rem, 1.8vw, 1.75rem);}
.ef-ui .ops-heading{padding-block-end:var(--ef-space-4);margin-block-end:var(--ef-space-4);}
html:has(> body.landing-pure-ui), .ef-ui.landing-pure-ui{overflow-x:clip;}
.ef-ui.landing-pure-ui :where(.section-label,.eyebrow,.ef-eyebrow){color:var(--ef-muted);font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;}
.ef-ui.landing-pure-ui :where(.feature-card,.proof-card,.pricing-card,.contact-card,.registration-card){border-color:var(--ef-line);border-radius:0;box-shadow:none;}
.ef-ui.landing-pure-ui :where(.feature-card,.proof-card,.pricing-card,.contact-card){background:var(--ef-surface);color:var(--ef-ink);}
.ef-ui.landing-pure-ui :where(.pricing-card.featured,.pricing-card--featured){border-top:5px solid var(--ef-accent);}
.ef-ui :where(.map-toolbar,.map-tool-panel,.map-status,.map-legend-content,.map-admin-menu,.map-zoom-tools,.map-layers-tools){border-color:var(--ef-line);border-radius:0;background:var(--ef-surface);color:var(--ef-ink);box-shadow:none;}
.ef-ui :where(.map-control,.map-workspace-tool,.map-admin-toggle){border-radius:0;}
.ef-ui .map-workspace :where(.map-workspace-tools,.map-layers-tools,.map-tool-panel,.map-zoom-tools,.map-legend){border-color:var(--ef-line);border-radius:0;box-shadow:none;}
.ef-ui .map-workspace .map-workspace-tool[aria-pressed="true"]{background:var(--ef-ink);color:var(--ef-bg);}
.ef-ui .map-workspace .map-workspace-tool[aria-pressed="true"] svg{color:var(--ef-accent);}
.ef-ui .map-workspace .map-tool-panel-header{min-height:3.5rem;padding:.5rem .75rem;}
.ef-ui .map-workspace .map-tool-panel-content{padding:.65rem;}
@media (prefers-reduced-motion: reduce){
.ef-ui *, .ef-ui *::before, .ef-ui *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;}
body.ops-body *, body.ops-body *::before, body.ops-body *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;}
}
@media (max-width: 760px){
.ef-ui :where(button,.ef-button,input:not([type="checkbox"]):not([type="radio"]),select){min-height:44px;}
.ef-ui :where(.ef-table-wrap,.ops-table-wrap){max-width:100%;overflow-x:auto;}
}
@media (max-width: 360px){
.ef-ui .ef-site-header .nav-inner,
  .ef-ui.ops-body .ops-global-header .ef-site-header .nav-inner{grid-template-columns:minmax(84px,1fr) auto auto;gap:2px;padding-inline:6px;}
.ef-ui .ef-site-header .ef-site-logo,
  .ef-ui.ops-body .ops-global-header .ef-site-header .ef-site-logo,
  .ef-ui .ef-site-header .ef-site-logo img,
  .ef-ui.ops-body .ops-global-header .ef-site-header .ef-site-logo img{width:88px;}
.ef-ui .ef-site-header :where(.nav-links,.ef-header-account,.ef-session-links){gap:2px;}
.ef-ui .ef-site-header :where(.nav-links a,.ef-profile-entry,.ef-backoffice-entry,.landing-account-entry,.ef-login-menu>summary){padding-inline:4px;font-size:9px;}
.ef-ui .ef-site-header :where(.ef-login-popover,.ef-account-popover){position:fixed!important;right:8px!important;left:8px!important;width:auto!important;max-width:none!important;}
}
@media (forced-colors: active){
.ef-ui :where(.ef-button,.ef-card,.ops-card,input,select,textarea){border-color:CanvasText;}
.ef-ui :where(:focus-visible){outline-color:Highlight;}
}

.ef-ui{min-width:0;margin:0;background:var(--ef-bg);color:var(--ef-ink);font:16px/1.5 var(--ef-font);-webkit-font-smoothing:antialiased}
.ef-ui :where(input[type="checkbox"],input[type="radio"]){accent-color:var(--ef-ink)}
.ef-ui :where(button:disabled,input:disabled,select:disabled){opacity:var(--ef-disabled-opacity);cursor:not-allowed}
.ef-ui :where(.ef-button--primary,.pricing-cta,.cta-primary):hover{background:var(--ef-accent-hover);color:var(--ef-accent-ink)}
.ef-ui :where(.ef-button--neutral):hover{background:var(--ef-soft)}
.ef-ui :where(.ef-button--danger):hover{background:var(--ef-soft);color:var(--ef-danger)}
.ef-ui :where(.ef-help,.ef-field__help){color:var(--ef-muted)}
.ef-ui :where(.ef-error,.ef-field__error){color:var(--ef-danger)}
.ef-ui :where(input,textarea)::placeholder{color:var(--ef-muted);opacity:1}
.ef-ui input[type="range"]{min-height:0;padding:0;box-shadow:none}
@media(max-width:60rem){.theme-menu-toggle{display:block;position:fixed;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.theme-menu-toggle:focus-visible+.theme-menu-button{outline:3px solid var(--ef-focus);outline-offset:3px}}

@media(max-width:767px){.ef-ui input[type="range"]{min-height:44px}}

/* Shared by the landing bundle and every SSR page. Labels stay available to assistive technology. */
.ef-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}
.social-login-divider{display:flex;align-items:center;gap:.8rem;color:var(--ef-color-text-muted);font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;}
.social-login-divider::before,.social-login-divider::after{content:"";height:1px;flex:1;background:var(--ef-soft);}
.social-login-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;}
.social-login-button{display:flex;min-height:2.8rem;align-items:center;justify-content:center;gap:.65rem;border:1px solid var(--ef-line-soft);border-radius:0;background:var(--ef-surface);color:var(--ef-ink);font-size:.86rem;font-weight:750;text-decoration:none;box-shadow:none;}
.social-login-button:hover{border-color:var(--ef-line-soft);background:var(--ef-surface);}
.social-login-button:focus-visible{outline:3px solid var(--ef-focus);outline-offset:2px;}
.social-login-button:disabled{cursor:not-allowed;opacity:.58;background:var(--ef-soft);color:var(--ef-muted);border-color:var(--ef-line-soft);box-shadow:none;}
.social-login-button svg{width:1.25rem;height:1.25rem;flex:none;}
.social-login-button--google{min-height:3.15rem;border-color:var(--ef-line-soft);font-size:.95rem;box-shadow:none;}
.social-login-button--google:hover{border-color:var(--ef-line-soft);background:var(--ef-surface);box-shadow:none;}
.google-g{display:grid;width:1.45rem;height:1.45rem;place-items:center;background:transparent;color:var(--ef-ink);font-size:1.25rem;font-weight:900;}
.landing-google-button{width:100%;}
@media(max-width:480px){.social-login-actions{grid-template-columns:1fr}}

/* Tool colours identify subjects; evidence states retain their own meaning. */
.map-workspace{--ef-tool-color:var(--ef-info)}
.map-workspace :is([data-map-tool="market"],[data-map-tool="trend"],[data-map-tool="valuation"],[data-map-tool="hedonic-prices"]){--ef-tool-color:var(--ef-success)}
.map-workspace [data-map-tool="risks"]{--ef-tool-color:var(--ef-warning)}
.map-workspace :is([data-map-tool="land-cover"],[data-map-tool="environment"]){--ef-tool-color:var(--ef-success)}
.map-workspace :is([data-map-tool="neighbourhood"],[data-map-tool="demographics"]){--ef-tool-color:var(--ef-series-4)}
.ef-ui .map-workspace-tool svg{color:var(--ef-tool-color)}
@media(hover:hover){.ef-ui .map-workspace-tool:hover:not(:disabled):not([aria-pressed="true"]) svg{color:var(--ef-tool-color)}}
.ef-ui .map-workspace .map-tool-panel-header{background:var(--ef-soft)}
.ef-ui .map-workspace .map-selection-summary{padding:.4rem .65rem;font-size:.72rem}
.ef-ui .map-workspace .map-tool-panel-footer{padding:.35rem .65rem}
.ef-ui .map-tool-panel :where(.map-tool-section,.map-workspace-search,.price-trend-shell,.amenities-shell,.market-position-shell,.listings-profile-shell,.neighbourhood-character){gap:.5rem}
.ef-ui .map-tool-panel :where(.demographics-card,.environment-metric,.environment-annual,.distance-card,.neighbourhood-character__hero){padding:.55rem}
.ef-ui .map-tool-panel .neighbourhood-character__hero{gap:.6rem}
.ef-ui .map-tool-panel .neighbourhood-character__metrics{gap:.35rem}
.ef-ui .map-tool-panel :where(.panel-values,.panel-section){margin-block:.5rem}
.ef-ui .map-tool-control-icon{color:var(--ef-info)}
.ef-ui .map-tool-controls--expanded [data-layer-icon="land-plot"],.ef-ui .map-tool-controls--expanded [data-layer-icon="environment"]{color:var(--ef-series-3)}
.ef-ui .map-tool-controls--expanded [data-layer-icon="market"]{color:var(--ef-series-2)}
.ef-ui .map-tool-controls--expanded [data-layer-icon="grid"],.ef-ui .map-tool-controls--expanded [data-layer-icon="opacity"]{color:var(--ef-series-4)}
.ef-ui .map-tool-panel-header h2{font-size:.95rem}
@media(forced-colors:active){.ef-ui .map-workspace-tool svg{color:ButtonText}.ef-ui .map-workspace .map-workspace-tool[aria-pressed="true"] svg{color:HighlightText}}

/* Shared account access; only this modal blurs the underlying page. */
.ef-ui .social-login-button--google{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 16px;border:1px solid var(--ef-google-border);border-radius:4px;background:var(--ef-google-surface);color:var(--ef-google-text);font:500 14px/20px "Google Sans",Arial,sans-serif;text-decoration:none;box-shadow:none}
.ef-ui .social-login-button--google:hover{background:var(--ef-google-surface);color:var(--ef-google-text);border-color:var(--ef-google-text)}
.ef-ui .google-g{display:inline-flex;flex:0 0 20px;width:20px;height:20px;background:var(--ef-google-surface)}
.ef-ui .google-g img{display:block;width:20px;height:20px;object-fit:contain}
.ef-auth-dialog{box-sizing:border-box;width:min(32rem,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid var(--ef-line);background:var(--ef-surface);color:var(--ef-ink);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;font:14px/1.5 var(--ef-font)}
.ef-auth-dialog::backdrop{background:var(--ef-auth-backdrop);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.ef-auth-dialog:not([open]){display:none}
.ef-auth-dialog[open]{display:block}
.ef-auth-dialog__close{position:sticky;z-index:2;top:8px;display:grid;place-items:center;width:44px;height:44px;margin:8px 8px -52px auto;padding:0;border:1px solid var(--ef-line-soft);background:var(--ef-surface);color:var(--ef-ink);font-size:24px;cursor:pointer}
.ef-auth-dialog__content{min-width:0;padding:24px}
.ef-auth-dialog .login-card{display:block;max-width:none;margin:0;padding:0;border:0;box-shadow:none;background:var(--ef-surface)}
.ef-auth-dialog :where(h1,h2){margin:0 44px 12px 0;font-size:1.65rem;line-height:1.2}
.ef-auth-dialog .login-card>header{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.ef-auth-dialog .login-card>header img{width:40px;height:40px}
.ef-auth-dialog .login-card>header h1{margin-bottom:0}
.ef-auth-dialog :where(p,.login-help){display:block;margin-block:10px;font-size:.85rem}
.ef-auth-dialog :where(form,.registration-name-row){display:grid;gap:10px}
.ef-auth-dialog .registration-name-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.ef-auth-dialog label{display:grid;min-width:0;gap:4px;font-size:.85rem;font-weight:600}
.ef-auth-dialog input:not([type="checkbox"]){width:100%;min-width:0;min-height:44px;padding:8px 10px;border:1px solid var(--ef-line-soft);background:var(--ef-surface);color:var(--ef-ink);font:inherit}
.ef-auth-dialog .registration-consent{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:8px;min-height:36px;font-weight:400}
.ef-auth-dialog input[type="checkbox"]{width:18px;height:18px;margin-top:3px}
.ef-auth-dialog a:not(.social-login-button){text-decoration:underline}
.ef-auth-dialog .ef-button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--ef-line);font:600 .9rem var(--ef-font);text-decoration:none}
.ef-auth-dialog .ef-button--primary{background:var(--ef-accent);color:var(--ef-accent-ink)}
.ef-auth-dialog .login-alert{padding:10px;border-left:3px solid var(--ef-danger);background:var(--ef-color-danger-surface);color:var(--ef-danger)}
.ef-auth-dialog :where(.ef-eyebrow,small){color:var(--ef-muted)}
.ef-auth-dialog .social-login-divider{margin-block:16px}
.ef-auth-dialog .registration-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.ef-auth-dialog :focus-visible{outline:3px solid var(--ef-focus);outline-offset:3px}
html:has(.ef-auth-dialog[open]){overflow:hidden}
@media(max-width:380px){.ef-auth-dialog__content{padding:18px}.ef-auth-dialog .registration-name-row{grid-template-columns:1fr}}
@media(forced-colors:active){.ef-auth-dialog,.ef-auth-dialog__close{border-color:CanvasText}.ef-auth-dialog::backdrop{background:Canvas;backdrop-filter:none}}

@font-face{font-family:"Google Sans";font-style:normal;font-weight:500;font-display:swap;src:url("/frontpage/GoogleSans-signin-v1.woff2") format("woff2")}
