/* ==========================================================================
   Mapiole brand alignment (19 Nov 2026), loaded last.
   Source: mapiole_site_web_design.pptx
   Ink #17101C · text #4A4150 · muted #7A7180 · line #E2DDE6 · surface #F3F1F5
   Primary #9300B8 · accent #C800F5 · soft #F9ECFE / #E7A3FF
   Type: Urbanist (UI), Playfair Display italic (accent words), Geist Mono (labels)
   ========================================================================== */

/* Geist Mono, self-hosted (SIL OFL 1.1, @fontsource/geist-mono 5.3.0) */
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/geist-mono-latin-400-normal.woff2') format('woff2')}
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/geist-mono-latin-500-normal.woff2') format('woff2')}
@font-face{font-family:"Geist Mono";font-style:normal;font-weight:600 700;font-display:swap;src:url('../fonts/geist-mono-latin-600-normal.woff2') format('woff2')}

/* "Plus Jakarta Sans" is referenced by older rules but never loaded: render it as Urbanist */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/urbanist-latin.woff2') format('woff2')}

:root,[data-mapiole-theme="light"]{
  --mb-ink:#17101C;--mb-text:#4A4150;--mb-muted:#6B6270;--mb-line:#E2DDE6;--mb-surface:#F3F1F5;
  --mb-primary:#9300B8;--mb-accent:#C800F5;--mb-accent-text:#9300B8;--mb-soft:#F9ECFE;
}
[data-mapiole-theme="dark"]{
  --mb-ink:#F5EFF8;--mb-text:#C9BFD0;--mb-muted:#B3A9B9;--mb-line:#3A2F42;--mb-surface:#211A29;
  --mb-primary:#9300B8;--mb-accent:#C800F5;--mb-accent-text:#E7A3FF;--mb-soft:#2B2233;
}

/* Small mono labels: design letter-spacing */
body.mp-public-ui .fg-detail-kicker,body.mp-public-ui .ab-keyfact-label,body.mp-public-ui .fg-footer-label,
body.mp-public-ui .sn-section-label,body.mp-public-ui .mp-eyebrow{font-family:"Geist Mono",ui-monospace,monospace;letter-spacing:.06em}

/* ---- Accent text follows --ed-accent: #9300B8 in light (AA on white and #F3F1F5), #E7A3FF in dark ---- */
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .mp-ticker-item,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .mp-ticker-item span,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .hx-step-top,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .hx-step-link,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .hx-faq a:not([class*="btn"]),
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] a.mp-link:not([class*="btn"]),
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .prop-card__market-price,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .prop-card__market-price span,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .pd-process a,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .pd-agent-meta a,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .ab-map-link,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .fg-detail-documents a,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .pd-agency-box a,
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] .ab-section-title em{color:var(--ed-accent)!important}

/* Accent label on dark cards keeps the light accent in both themes */
body.mp-public-ui .section-badge.mp-eyebrow{color:#E7A3FF!important}

/* ---- Dark mode: no light bands or panels left behind ---- */
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme="dark"] #navbar .mp-ticker-band{background:#211A29!important;border-color:#3A2F42!important}
body.mp-public-ui[data-mapiole-theme="dark"] .mp-plan-badge{background:#3A1A4A!important;color:#F3D9FF!important}
body.mp-public-ui[data-mapiole-theme="dark"] .sn-card{background:#211A29!important}
body.mp-public-ui[data-mapiole-theme="dark"] .sn-card-name{color:#F5EFF8!important}
body.mp-public-ui[data-mapiole-theme="dark"] .sn-flat{color:#E9E1EE!important}

/* SEO landing pages, guides, barometer and contextual links */
.mp-seo,.mp-seo-footer-links{color:var(--mb-ink)}
.mp-seo p,.mp-seo li,.mp-seo td{color:var(--mb-text)}
.mp-seo-crumb{color:var(--mb-muted)!important;opacity:1!important}
.mp-seo-fact,.mp-seo-links a,.mp-seo-footer-links .ctx a{border-color:var(--mb-line)!important}
.mp-seo-links a:hover,.mp-seo-footer-links .ctx a:hover{border-color:var(--mb-primary)!important;color:var(--mb-accent-text)!important;text-decoration:none}
.mp-seo-faq details{border-bottom-color:var(--mb-line)!important}
.mp-seo-cta{background:var(--mb-primary)!important;transition:background .2s ease}
.mp-seo-cta:hover{background:#7A0099!important}
.mp-seo-footer-links{border-top-color:var(--mb-line)!important}
.mp-seo-footer-links a{color:var(--mb-text)!important;opacity:1!important}
.mp-seo-footer-links a:hover{color:var(--mb-accent-text)!important}
.mp-seo-footer-links h2,.mp-seo-footer-links h3{font-family:"Geist Mono",ui-monospace,monospace;font-size:11px!important;font-weight:500!important;letter-spacing:.08em;text-transform:uppercase;color:var(--mb-muted)!important}
body[data-mapiole-theme="dark"] .mp-seo-footer-links{background:#17121D}
body[data-mapiole-theme="dark"] .mp-seo table th,body[data-mapiole-theme="dark"] .mp-seo table td{border-color:var(--mb-line)!important}

/* ---- Accent variable: the design uses #9300B8 for text and fills in light; #E7A3FF for text in dark ---- */
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme="light"]{--ed-accent:#9300B8;--ed-accent-strong:#7A0099;--ed-action-bg:#9300B8;--ed-action-hover:#7A0099}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme="dark"]{--ed-accent:#E7A3FF;--ed-accent-strong:#F3D9FF;--ed-action-bg:#9300B8;--ed-action-hover:#A21AC6}

/* ---- Filled buttons (white text): #9300B8 in both themes, as in the design. One rule per selector so an unsupported selector cannot drop the others ---- */
.hx-panorama-caption a{background-color:#9300B8!important;background-image:none!important}
.hx-person-arrow{background-color:#9300B8!important;background-image:none!important}
.list-group-item-action.active{background-color:#9300B8!important;background-image:none!important}
.list-group-item.active{background-color:#9300B8!important;background-image:none!important}
body#content#content.mp-public-ui:not([data-mapiole-theme="dark"]) #navbar #nav-btn::after{background-color:#9300B8!important;background-image:none!important}
body#content#content.mp-public-ui:not([data-mapiole-theme="dark"]) #navbar #nav-btn:hover::after{background-color:#7A0099!important;background-image:none!important}
body#content.mp-public-ui #footer .ed-footer-intro a{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui #footer .orangeBtn{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui #navbar #nav-btn:after{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui .fg-services-cta a{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui .mp-hero-discover{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui .mp-search-submit{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page="home"] #mp-public-content #home-search .mp-search-submit{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page="home"] #mp-public-content #home-title ~ .fg-home-hero-actions .mp-hero-discover{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page="home"][data-mapiole-theme][data-mapiole-theme] #mp-public-content .fg-home-team-intro .mp-link{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page="home"][data-mapiole-theme][data-mapiole-theme] #mp-public-content :is(.mp-hero-discover,.mp-search-submit){background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page] #mp-public-content .mp-hero-discover{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page] #mp-public-content .page-item.active .page-link{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme] #mp-public-content .agent-card-btn{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme] #mp-public-content .mp-pl-popular{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme] #mp-public-content .pagination .active>.page-link{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme] #mp-public-content .pros-pagination .pg-cur{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme] #mp-public-content .pros-pagination a.active{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme] #navbar #nav-btn::after{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #chatPopup .fg-chat-composer button{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #chatPopup .fg-chat-query{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .fg-listing-transactions a{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-side-card:last-child .mp-pl-alert-btn{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #navbar .fg-mega-cta{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme][data-mapiole-theme] #mp-public-content .fg-profile-disclosure-action{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme][data-mapiole-theme] #navbar .fg-account-avatar{background-color:#9300B8!important;background-image:none!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme] #mySidenav .sn-card-tag{background-color:#9300B8!important;background-image:none!important}

/* ---- Dark bands and dark cards inside light pages keep a light accent ---- */
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content :is(.mp-band,.mp-plan.is-popular){--ed-accent:#E7A3FF}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-band .section-badge{color:#E7A3FF!important;-webkit-text-fill-color:#E7A3FF}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-plan.is-popular :is(.mp-plan-tagline,.mp-plan-price span){color:#B3A9B9!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-plan .mp-plan-badge{background:#F9ECFE!important;color:#9300B8!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme][data-mapiole-theme="dark"] #mp-public-content .mp-plan .mp-plan-badge{background:#3A1A4A!important;color:#F3D9FF!important}
body#content.mp-public-ui .sn-section-label{color:#6B6270!important}
body#content.mp-public-ui[data-mapiole-theme="dark"] .sn-section-label{color:#B3A9B9!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #navbar #nav-btn::after{color:#FFFFFF!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme="dark"] #mp-public-content .mp-search-filter{background:#2B2233!important;color:#E7A3FF!important;border-color:#3A2F42!important}

/* ---- Listing page: alert/plans card is a dark premium card in both themes; benefits row readable ---- */
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-pricing{--ed-accent:#E7A3FF}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-plans .mp-pl-plan{background:transparent!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-sidebar .mp-pl-side-card:last-child{--ed-accent:#E7A3FF}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-sidebar .mp-pl-side-card:last-child :is(h3,p,label){color:#F5EFF8!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-plans{background:#211A29!important;color:#F5EFF8!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-plan+.mp-pl-plan{border-left-color:#3A2F42!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-plan small{color:#C9BFD0!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-plan strong{color:#E7A3FF!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-plan span{color:#B3A9B9!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-listing-page .mp-pl-plan .mp-pl-popular{background:#3A1A4A!important;color:#F3D9FF!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-pl-benefit strong{color:var(--mb-ink)!important}
body#content.mp-public-ui[data-public-page][data-mapiole-theme][data-mapiole-theme] #mp-public-content .mp-pl-benefit span{color:var(--mb-muted)!important}
