/*
 * EFDA Real Estate v11.5.30 — cross-device layout and interaction resilience.
 * Loaded after legacy component styles. Rules are scoped to EFDA UI only.
 */
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) *,
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) *::before,
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) *::after { box-sizing: border-box; }
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) :where(h1,h2,h3,h4,h5,h6,p,a,button,label,span,strong,b,small,em,li,dt,dd,th,td) {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
  min-width: 0;
}
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) img,
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) video,
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) iframe { max-width: 100%; }
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) :where(input,select,textarea,button) { max-width: 100%; font-family: inherit; }
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]),select,textarea) { min-width: 0; width: 100%; }
:where(.efda-cs-buyer-portal,.efda-v95-portal,.efda-mp-page,.efda-property-experience,.efda-proptech-app,.efda-marketplace,.efda-european-marketplace,.efda-property-dashboard,.efda-agent-dashboard,.efda-landlord-dashboard,.efda-tenant-portal,.efda-admin-panel) :where(a,button,input,select,textarea,[tabindex]):focus-visible { outline: 3px solid #2b70e4; outline-offset: 2px; }

/* Buyer Command Centre: robust desktop shell, readable navigation and stable cards. */
.efda-cs-buyer-portal { width: min(100% - 32px, 1600px) !important; margin-inline: auto !important; overflow: visible !important; }
.efda-cs-buyer-portal .efda-buyer-topbar { display:flex !important; align-items:center !important; justify-content:space-between !important; flex-wrap:wrap !important; gap:18px !important; min-width:0 !important; }
.efda-cs-buyer-portal .efda-buyer-layout { display:grid !important; grid-template-columns:minmax(220px,270px) minmax(0,1fr) !important; align-items:start !important; gap:22px !important; width:100% !important; min-width:0 !important; }
.efda-cs-buyer-portal .efda-buyer-sidebar { width:100% !important; min-width:0 !important; max-width:100% !important; height:auto !important; max-height:calc(100vh - 32px) !important; overflow-y:auto !important; overflow-x:hidden !important; position:sticky !important; top:16px !important; }
.efda-cs-buyer-portal .efda-buyer-sidebar :where(button,a) { display:grid !important; grid-template-columns:24px minmax(0,1fr) auto !important; align-items:center !important; justify-content:initial !important; gap:9px !important; width:100% !important; min-width:0 !important; max-width:100% !important; height:auto !important; min-height:42px !important; padding:10px 12px !important; text-align:left !important; white-space:normal !important; line-height:1.4 !important; writing-mode:horizontal-tb !important; text-orientation:mixed !important; }
.efda-cs-buyer-portal .efda-buyer-sidebar :where(button,a) span { display:block !important; min-width:0 !important; width:auto !important; height:auto !important; line-height:1.4 !important; overflow-wrap:anywhere !important; }
.efda-cs-buyer-portal .efda-buyer-sidebar .efda-buyer-nav-label { display:block !important; width:100% !important; padding:14px 12px 7px !important; white-space:normal !important; }
.efda-cs-buyer-portal .efda-buyer-main { width:100% !important; max-width:100% !important; min-width:0 !important; overflow-wrap:anywhere !important; }
.efda-cs-buyer-portal .efda-buyer-section,
.efda-cs-buyer-portal [data-cs-section-panel],
.efda-cs-buyer-portal [data-cs-tool-panel] { width:100% !important; max-width:100% !important; min-width:0 !important; }
.efda-cs-buyer-portal .efda-buyer-welcome,
.efda-cs-buyer-portal .efda-buyer-section-head,
.efda-cs-buyer-portal .efda-buyer-marketplace-strip-head,
.efda-cs-buyer-portal .efda-buyer-network-strip-head { display:flex !important; align-items:flex-start !important; justify-content:space-between !important; flex-wrap:wrap !important; gap:14px !important; min-width:0 !important; }
.efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid,.efda-buyer-finance-grid,.efda-buyer-market-grid) { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:16px !important; width:100% !important; min-width:0 !important; }
.efda-cs-buyer-portal :where(.efda-buyer-metric,.efda-buyer-marketplace-tile,.efda-buyer-network-tile,.efda-buyer-quick-grid>button,.efda-buyer-toolkit-grid>button,.efda-buyer-toolkit-link,.efda-tool-property-card,.efda-buyer-property,.efda-cs-dashboard-output) { min-width:0 !important; max-width:100% !important; overflow-wrap:anywhere !important; }
.efda-cs-buyer-portal :where(.efda-buyer-marketplace-tile,.efda-buyer-network-tile,.efda-buyer-quick-grid>button,.efda-buyer-toolkit-grid>button,.efda-buyer-toolkit-link) { height:auto !important; white-space:normal !important; }
.efda-cs-buyer-portal :where(.efda-buyer-marketplace-icon,.efda-buyer-feature-image,.efda-tool-property-photo) { min-width:0 !important; max-width:100% !important; overflow:hidden !important; }
.efda-cs-buyer-portal :where(.efda-buyer-marketplace-icon img,.efda-buyer-feature-image img,.efda-tool-property-photo img,.efda-buyer-property img) { display:block !important; max-width:100% !important; }
.efda-cs-buyer-portal :where(.efda-buyer-property-grid,.efda-buyer-search-list,.efda-buyer-message-list,.efda-buyer-external-results,.efda-buyer-journey-grid,.efda-buyer-feature-grid) { min-width:0 !important; width:100% !important; }
.efda-cs-buyer-portal :where(.efda-buyer-search-row,.efda-buyer-message-list article,.efda-buyer-external-results article) { min-width:0 !important; max-width:100% !important; overflow-wrap:anywhere !important; }
.efda-cs-buyer-portal :where(.efda-buyer-search-row,.efda-buyer-external-results article) { display:flex !important; flex-wrap:wrap !important; align-items:center !important; gap:10px !important; }
.efda-cs-buyer-portal :where(.efda-buyer-search-row>div,.efda-buyer-external-results article>div) { flex:1 1 180px !important; min-width:0 !important; }
.efda-cs-buyer-portal table { display:block; max-width:100%; overflow-x:auto; border-collapse:collapse; }
.efda-cs-buyer-portal [hidden] { display:none !important; }

/* Other listing, map, comparison and marketplace cards. */
:where(.efda-v95-portal,.efda-mp-page,.efda-marketplace,.efda-european-marketplace,.efda-property-experience,.efda-proptech-app) :where([class*="grid"],[class*="cards"],[class*="results"]) { min-width:0; max-width:100%; }
:where(.efda-v95-portal,.efda-mp-page,.efda-marketplace,.efda-european-marketplace,.efda-property-experience,.efda-proptech-app) :where(.efda-v95-card,.efda-property-card,.efda-mp-card,.efda-listing-card,.efda-result-card,[class*="-card"]) { min-width:0; max-width:100%; overflow-wrap:anywhere; }
:where(.efda-v95-portal,.efda-mp-page,.efda-marketplace,.efda-european-marketplace,.efda-property-experience,.efda-proptech-app) :where(img,video,iframe) { height:auto; }
:where(.efda-v95-portal,.efda-mp-page,.efda-marketplace,.efda-european-marketplace,.efda-property-experience,.efda-proptech-app) :where(table,.table-responsive,.efda-table-wrap,.efda-compare-table-wrap) { max-width:100%; overflow-x:auto; }

/* Admin screens: prevent wide fields, media previews and tables from escaping. */
body.wp-admin :where(.efda-property-admin,.efda-property-document-admin-row,.efda-floor-plan-row,.efda-property-meta-box,.efda-admin-card,.efda-admin-grid) { box-sizing:border-box; max-width:100%; min-width:0; }
body.wp-admin :where(.efda-property-document-admin-row,.efda-floor-plan-row) { display:flex; flex-wrap:wrap; align-items:flex-start; gap:12px; }
body.wp-admin :where(.efda-property-document-admin-row img,.efda-floor-plan-row img) { width:auto; max-width:100%; height:auto; }
body.wp-admin :where(.efda-admin-grid,.efda-admin-cards,.efda-property-admin-grid) { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:16px; }
body.wp-admin .wrap :where(input[type=text],input[type=number],input[type=email],input[type=url],select,textarea) { max-width:100%; }
body.wp-admin .wrap :where(.widefat,.wp-list-table) { max-width:100%; }

@media (min-width:1440px) {
 .efda-cs-buyer-portal .efda-buyer-layout { grid-template-columns:270px minmax(0,1fr) !important; gap:26px !important; }
 .efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid) { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
}
@media (min-width:901px) and (max-width:1199px) {
 .efda-cs-buyer-portal { width:calc(100% - 28px) !important; }
 .efda-cs-buyer-portal .efda-buyer-layout { grid-template-columns:210px minmax(0,1fr) !important; gap:16px !important; }
 .efda-cs-buyer-portal .efda-buyer-main { padding:18px !important; }
 .efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid) { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:900px) {
 .efda-cs-buyer-portal { width:calc(100% - 24px) !important; }
 .efda-cs-buyer-portal .efda-buyer-layout { grid-template-columns:minmax(0,1fr) !important; gap:14px !important; }
 .efda-cs-buyer-portal .efda-buyer-sidebar { position:static !important; top:auto !important; max-height:none !important; overflow:visible !important; display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:7px !important; }
 .efda-cs-buyer-portal .efda-buyer-sidebar :where(button,a) { min-height:42px !important; }
 .efda-cs-buyer-portal .efda-buyer-sidebar .efda-buyer-nav-label { grid-column:1/-1 !important; }
 .efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid) { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:600px) {
 .efda-cs-buyer-portal { width:calc(100% - 20px) !important; }
 .efda-cs-buyer-portal .efda-buyer-topbar { align-items:flex-start !important; }
 .efda-cs-buyer-portal .efda-buyer-sidebar { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
 .efda-cs-buyer-portal .efda-buyer-main { padding:14px !important; }
 .efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid,.efda-buyer-finance-grid,.efda-buyer-market-grid) { grid-template-columns:minmax(0,1fr) !important; gap:12px !important; }
 .efda-cs-buyer-portal :where(.efda-buyer-welcome,.efda-buyer-section-head,.efda-buyer-marketplace-strip-head,.efda-buyer-network-strip-head) { flex-direction:column !important; align-items:stretch !important; }
 .efda-cs-buyer-portal .efda-buyer-sidebar :where(button,a) { grid-template-columns:20px minmax(0,1fr) auto !important; padding:9px !important; font-size:12px !important; }
 .efda-cs-buyer-portal :where(.efda-buyer-marketplace-tile,.efda-buyer-network-tile,.efda-buyer-quick-grid>button,.efda-buyer-toolkit-grid>button,.efda-buyer-toolkit-link) { padding:13px !important; }
 .efda-cs-buyer-portal :where(.efda-buyer-marketplace-icon,.efda-buyer-feature-image) { height:auto !important; min-height:100px !important; aspect-ratio:16/9; }
 .efda-cs-buyer-portal :where(.efda-buyer-marketplace-icon img,.efda-buyer-feature-image img) { height:100% !important; object-fit:contain !important; }
 .efda-cs-buyer-portal .efda-buyer-user { max-width:100% !important; }
}
@media (max-width:360px) {
 .efda-cs-buyer-portal { width:calc(100% - 14px) !important; }
 .efda-cs-buyer-portal .efda-buyer-sidebar { grid-template-columns:minmax(0,1fr) !important; }
 .efda-cs-buyer-portal .efda-buyer-main { padding:10px !important; }
}
@media (prefers-reduced-motion:reduce) {
 .efda-cs-buyer-portal *, .efda-cs-buyer-portal *::before, .efda-cs-buyer-portal *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}


/* v11.5.34 — final card/text resilience pass. Keep flex children from collapsing to one-character columns. */
.efda-cs-buyer-portal :where(.efda-buyer-sidebar button,.efda-buyer-sidebar a,.efda-buyer-metric,.efda-buyer-marketplace-tile,.efda-buyer-network-tile,.efda-buyer-quick-grid>button,.efda-buyer-toolkit-grid>button,.efda-buyer-toolkit-link,.efda-tool-property-card,.efda-buyer-property,.efda-buyer-search-row,.efda-buyer-message-list article,.efda-buyer-external-results article) {
  writing-mode:horizontal-tb!important; text-orientation:mixed!important; min-inline-size:0!important; max-inline-size:100%!important;
}
.efda-cs-buyer-portal :where(.efda-buyer-marketplace-copy,.efda-buyer-network-copy,.efda-tool-property-card-copy,.efda-buyer-metric span,.efda-buyer-metric b,.efda-buyer-property-title,.efda-tool-property-title,.efda-buyer-sidebar button span,.efda-buyer-sidebar a span) {
  display:block!important; writing-mode:horizontal-tb!important; text-orientation:mixed!important; min-width:0!important; max-width:100%!important; width:auto!important; height:auto!important; white-space:normal!important; overflow-wrap:anywhere!important; word-break:normal!important; line-height:1.45!important;
}
.efda-cs-buyer-portal :where(.efda-buyer-marketplace-tile,.efda-buyer-network-tile,.efda-tool-property-card,.efda-buyer-property) {
  display:flex!important; flex-direction:column!important; align-items:stretch!important; min-width:0!important; height:auto!important;
}
.efda-cs-buyer-portal :where(.efda-buyer-marketplace-icon,.efda-buyer-feature-image,.efda-tool-property-photo) { flex:0 0 auto!important; min-width:0!important; width:100%!important; }
.efda-cs-buyer-portal :where(.efda-buyer-marketplace-icon img,.efda-buyer-feature-image img,.efda-tool-property-photo img,.efda-buyer-property img) { width:100%!important; max-width:100%!important; height:100%!important; object-fit:cover; }
.efda-cs-buyer-portal :where(button,a) { max-inline-size:100%; }
@media (min-width:1200px) and (max-width:1439px) {
 .efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid,.efda-buyer-finance-grid,.efda-buyer-market-grid) { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
}
@media (max-width:900px) {
 .efda-cs-buyer-portal .efda-buyer-sidebar :where(button,a) { display:flex!important; align-items:center!important; gap:8px!important; min-width:0!important; }
 .efda-cs-buyer-portal .efda-buyer-sidebar :where(button,a) span { flex:1 1 auto!important; }
}
@media (max-width:600px) {
 .efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid,.efda-buyer-finance-grid,.efda-buyer-market-grid) { grid-template-columns:minmax(0,1fr)!important; }
 .efda-cs-buyer-portal :where(.efda-buyer-marketplace-tile,.efda-buyer-network-tile,.efda-tool-property-card,.efda-buyer-property) { width:100%!important; }
}


/* v11.5.36 — content-aware buyer cards and deal analyzer fields/results. */
.efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid,.efda-buyer-finance-grid,.efda-buyer-market-grid) { grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)) !important; align-items:stretch !important; }
.efda-cs-buyer-portal .efda-cs-finance-inputs { display:grid !important; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)) !important; gap:12px !important; align-items:start !important; }
.efda-cs-buyer-portal .efda-cs-finance-inputs label { display:flex !important; flex-direction:column !important; gap:6px !important; min-width:0 !important; font-size:13px !important; line-height:1.4 !important; }
.efda-cs-buyer-portal .efda-cs-finance-inputs input { width:100% !important; min-width:0 !important; min-height:42px !important; }
.efda-cs-buyer-portal .efda-buyer-deal-results > div { display:flex !important; flex-direction:column !important; gap:7px !important; min-width:0 !important; padding:16px !important; border:1px solid #dce5f0 !important; border-radius:12px !important; background:#fff !important; }
.efda-cs-buyer-portal .efda-buyer-deal-results strong { font-size:clamp(17px,2vw,23px) !important; line-height:1.25 !important; overflow-wrap:anywhere !important; }
.efda-cs-buyer-portal .efda-buyer-deal-results span,.efda-cs-buyer-portal .efda-cs-finance-breakdown,.efda-cs-buyer-portal .efda-cs-finance-disclaimer { line-height:1.55 !important; overflow-wrap:anywhere !important; }
.efda-cs-buyer-portal .efda-cs-finance-disclaimer { margin-top:14px !important; font-size:12px !important; color:#526173 !important; }
@media (max-width:600px) { .efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid,.efda-buyer-finance-grid,.efda-buyer-market-grid) { grid-template-columns:minmax(0,1fr) !important; } }


/* v11.5.37 — buyer-card layout safeguards: prevent vertical word stacking and cramped dashboard tiles. */
.efda-cs-buyer-portal :where(.efda-buyer-metric,.efda-buyer-marketplace-tile,.efda-buyer-network-tile,.efda-tool-property-card,.efda-buyer-property,.efda-buyer-quick-grid>button,.efda-buyer-toolkit-grid>button,.efda-buyer-toolkit-link,.efda-buyer-finance-grid>*,.efda-buyer-market-grid>*) { box-sizing:border-box!important; min-width:0!important; max-width:100%!important; height:auto!important; }
.efda-cs-buyer-portal :where(.efda-buyer-metric span,.efda-buyer-metric b,.efda-buyer-marketplace-copy,.efda-buyer-network-copy,.efda-tool-property-card-copy,.efda-buyer-property-title,.efda-tool-property-title,.efda-buyer-sidebar button span,.efda-buyer-sidebar a span) { min-width:0!important; max-width:100%!important; white-space:normal!important; overflow-wrap:anywhere!important; word-break:normal!important; writing-mode:horizontal-tb!important; }
.efda-cs-buyer-portal :where(.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-property-grid,.efda-buyer-metrics,.efda-buyer-finance-grid,.efda-buyer-market-grid) { align-items:stretch!important; }
.efda-cs-buyer-portal :where(.efda-buyer-metric,.efda-buyer-marketplace-tile,.efda-buyer-network-tile,.efda-buyer-quick-grid>button,.efda-buyer-toolkit-grid>button,.efda-buyer-toolkit-link) :where(h2,h3,h4,p,span,strong,small) { max-width:100%; overflow-wrap:anywhere; line-height:1.45; }
.efda-cs-buyer-portal :where(.efda-buyer-topbar,.efda-buyer-welcome,.efda-buyer-section-head) { min-width:0!important; flex-wrap:wrap!important; }
@media (min-width:1200px) { .efda-cs-buyer-portal .efda-buyer-main { min-width:0!important; } .efda-cs-buyer-portal :where(.efda-buyer-metrics,.efda-buyer-marketplace-strip-grid,.efda-buyer-network-strip-grid,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid,.efda-tool-property-gallery-grid,.efda-buyer-property-grid,.efda-buyer-finance-grid,.efda-buyer-market-grid) { grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))!important; } }
@media (max-width:760px) { .efda-cs-buyer-portal :where(.efda-buyer-sidebar button,.efda-buyer-sidebar a) { white-space:normal!important; overflow-wrap:anywhere!important; } }

/* v11.5.46 — desktop-first Buyer Command Centre information hierarchy.
 * The mobile layout is intentionally left untouched; these rules apply only above 900px. */
@media (min-width:1201px) {
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] {
    width:calc(100% - 40px)!important;
    max-width:1640px!important;
    margin:24px auto!important;
    border-radius:18px!important;
    overflow:visible!important;
    box-shadow:0 14px 40px rgba(16,36,61,.09)!important;
  }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-topbar {
    padding:28px 34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:28px!important;
    background:#fff!important;
    border-bottom:1px solid #e6edf2!important;
  }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-topbar h2 {
    margin:5px 0 7px!important;font-size:clamp(27px,2vw,36px)!important;line-height:1.15!important;
  }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-layout {
    grid-template-columns:270px minmax(0,1fr)!important;
    align-items:start!important;
    min-height:760px!important;
  }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-sidebar {
    position:sticky!important;top:18px!important;
    max-height:calc(100vh - 36px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;
    padding:20px 14px!important;background:#f8fafc!important;
    border-right:1px solid #e0e8ef!important;border-bottom:0!important;
    scrollbar-width:thin!important;
  }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-sidebar button,
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-sidebar a {
    min-height:44px!important;padding:10px 12px!important;margin:0 0 4px!important;
    border-radius:9px!important;font-size:13px!important;line-height:1.4!important;
  }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-nav-label {
    margin-top:10px!important;padding:15px 10px 7px!important;
    border-top:1px solid #e4eaf0!important;font-size:10px!important;color:#64748b!important;
  }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-main {
    padding:30px clamp(24px,2.5vw,42px)!important;background:#f5f8fa!important;
    min-width:0!important;max-width:none!important;
  }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-main > * { min-width:0!important; }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-welcome {
    padding:28px 30px!important;gap:24px!important;border-radius:15px!important;
    box-shadow:0 3px 12px rgba(16,36,61,.035)!important;
  }
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-welcome h3 {font-size:clamp(25px,2vw,32px)!important;line-height:1.2!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-welcome p {max-width:660px!important;line-height:1.6!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-main :where(.efda-buyer-section-head,.efda-buyer-toolkit-head,.efda-buyer-marketplace-strip-head,.efda-buyer-network-strip-head) {margin-bottom:16px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-main :where(.efda-buyer-section-head h3,.efda-buyer-toolkit-head h4) {font-size:22px!important;line-height:1.3!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-metrics {grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:18px 0 24px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-metrics button {min-height:128px!important;padding:20px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-quick-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin-top:22px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-quick-grid>button,
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-quick-grid>.efda-buyer-quick-link {min-height:190px!important;height:100%!important;padding:20px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:9px!important;text-align:left!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-quick-grid>button strong {margin:0 0 2px!important;flex:0 0 auto!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-quick-grid>button b {font-size:15px!important;line-height:1.4!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-quick-grid>button span {font-size:13px!important;line-height:1.55!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-toolkit-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-toolkit-grid>button,
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-toolkit-grid>.efda-buyer-toolkit-link {min-height:190px!important;padding:20px!important;gap:10px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-toolkit-grid>button b,
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-toolkit-grid>.efda-buyer-toolkit-link b {font-size:15px!important;line-height:1.45!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-toolkit-grid>button span,
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-toolkit-grid>.efda-buyer-toolkit-link span {font-size:13px!important;line-height:1.55!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-marketplace-strip,
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-network-strip,
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-toolkit {margin-top:22px!important;margin-bottom:22px!important;padding:22px!important;border-radius:15px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-marketplace-strip-grid,
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-network-strip-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] :where(.efda-buyer-marketplace-tile,.efda-buyer-network-tile) {min-height:132px!important;padding:20px!important;align-items:flex-start!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] :where(.efda-buyer-marketplace-copy b,.efda-buyer-network-copy b) {font-size:15px!important;line-height:1.45!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] :where(.efda-buyer-marketplace-copy small,.efda-buyer-network-copy small) {font-size:13px!important;line-height:1.55!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] :where(.efda-buyer-journey-grid,.efda-buyer-journey-cards) {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] :where(.efda-buyer-journey-card,.efda-buyer-marketplace-tile,.efda-buyer-network-tile,.efda-buyer-quick-grid>button,.efda-buyer-toolkit-grid>button) {overflow-wrap:anywhere!important;}
}
@media (min-width:901px) and (max-width:1200px) {
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] {width:calc(100% - 28px)!important;max-width:1180px!important;margin:16px auto!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-layout {grid-template-columns:218px minmax(0,1fr)!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-main {padding:20px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-sidebar {padding:14px 10px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] :where(.efda-buyer-metrics,.efda-buyer-quick-grid,.efda-buyer-toolkit-grid) {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  .efda-cs-buyer-portal[data-efda-competitive-dashboard] .efda-buyer-metrics button {padding:14px!important;}
}
