/* Broker Page 1 sections + Broker Page 3 media proportions (28.5% column, 11:12 frame).
   Shared typography, buttons and icons come from public-marketplace.css. */
.bp-page { --bp-gap: 20px; padding-bottom: 32px; }
.bp-page h1 { font-size: clamp(32px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.04em; overflow-wrap: anywhere; }
.bp-page h2 { font-size: 28px; font-weight: 600; }
.bp-page h3 { font-size: 16px; font-weight: 550; }
.bp-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; }
.bp-topbar .mp-breadcrumbs { margin: 0; flex-wrap: wrap; }
.bp-page-actions { display: flex; gap: 10px; flex-shrink: 0; }
.bp-page-actions .mp-secondary { min-height: 38px; font-size: 13px; padding: 8px 14px; }
.bp-page-actions .mp-icon { width: 18px; height: 18px; }
.bp-page .bp-save[aria-pressed=true], .bp-page .bp-bookmark[aria-pressed=true] { color: var(--mp-coral); }
.bp-save[aria-pressed=true] .mp-icon, .bp-bookmark[aria-pressed=true] .mp-icon { fill: currentColor; }

/* Identity precedes media in the DOM; desktop grid moves the portrait to the left. */
.bp-hero { display: grid; grid-template-columns: 28.5% minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 3%; row-gap: 20px; padding-bottom: 20px; }
.bp-identity { grid-column: 2; grid-row: 1; padding-top: 14px; min-width: 0; }
.bp-verified { display: inline-flex; align-items: center; gap: 6px; color: #168056; background: #eaf8f0; border-radius: 6px; padding: 5px 9px; margin-bottom: 14px; font-size: 12px; font-weight: 500; }
.bp-verified .mp-icon { width: 17px; height: 17px; }
.bp-page .bp-headline { color: #5f6472; font-size: 19px; margin-top: 5px; max-width: 780px; overflow-wrap: anywhere; }
.bp-page .bp-organization { color: var(--mp-muted); margin-top: 8px; font-size: 14px; overflow-wrap: anywhere; }
.bp-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 10px; font-size: 14px; }
.bp-rating>a { display: inline-flex; align-items: center; gap: 9px; }
.bp-rating .mp-icon, .bp-review-rating .mp-icon { width: 19px; height: 19px; color: #ffae2e; fill: currentColor; }
.bp-demo-label { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 5px; background: #f3f3f6; color: #686b77; font-size: 11px; line-height: 1.6; font-weight: 400; letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.bp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.bp-tags>span { border-radius: 6px; background: #f5f5f7; padding: 6px 10px; color: #5f6472; font-size: 12px; font-weight: 500; line-height: 1.3; }
.bp-tags .bp-city { display: inline-flex; align-items: center; gap: 5px; }
.bp-city .mp-icon { width: 14px; height: 14px; }
.bp-tags .bp-tag-demo { background: transparent; color: var(--mp-muted); padding-inline: 2px; }
.bp-media { grid-column: 1; grid-row: 1 / 3; min-width: 0; container-type: inline-size; }
.bp-portrait { aspect-ratio: 11 / 12; position: relative; isolation: isolate; border-radius: 10px; background: #f2f2f5; overflow: hidden; }
.bp-page .bp-open-media { position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; cursor: pointer; border-radius: inherit; }
.bp-page .bp-open-media.is-video { cursor:pointer; }
.bp-cover-play { display:none; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:84px; height:84px; place-items:center; border:1px solid rgb(255 255 255 / 60%); border-radius:50%; color:white; background:rgb(28 32 40 / 28%); box-shadow:0 8px 32px rgb(0 0 0 / 16%),inset 0 1px 0 rgb(255 255 255 / 30%); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.bp-open-media.is-video .bp-cover-play { display:grid; }
.bp-cover-play .mp-icon { width:44px; height:44px; }
.bp-open-media:hover .bp-cover-play { background:rgb(28 32 40 / 40%); }
.bp-open-media:focus-visible { outline: 2px solid #fff; outline-offset: -5px; box-shadow: inset 0 0 0 7px var(--mp-coral); }
.bp-portrait>img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.bp-initials { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; width: 100%; height: 100%; color: #707582; }
.bp-initials b { font-size: 68px; font-weight: 500; letter-spacing: -.06em; }
.bp-initials span { font-size: 12px; }
.bp-photo-demo { position: absolute; top: 12px; left: 12px; right: 12px; width: fit-content; border-radius: 5px; background: rgb(255 255 255 / 94%); padding: 5px 8px; font-size: 11px; pointer-events: none; }
/* Frosted controls share one baseline, leaving the portrait unobstructed. */
.bp-media-toolbar { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; pointer-events: none; }
.bp-media-toolbar>*, .bp-gallery-controls button { pointer-events: auto; }
.bp-page .bp-intro-preview { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 4px 12px 4px 4px; border: 1px solid rgb(255 255 255 / 25%); border-radius: 24px; background: rgb(35 38 42 / 35%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; text-align: left; font-size: 12px; white-space: nowrap; }
.bp-page .bp-intro-preview:hover { background: rgb(35 38 42 / 55%); }
.bp-intro-preview .mp-icon { width: 32px; height: 32px; flex-shrink: 0; padding: 7px; border-radius: 50%; background: #fff; color: #20232a; }
.bp-intro-compact { display: none; }
.bp-gallery-controls { display: flex; flex-shrink: 0; align-items: center; gap: 4px; padding: 4px; border-radius: 24px; background: rgb(35 38 42 / 25%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bp-gallery-controls button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; background: #fff; color: #20232a; border-radius: 50%; }
.bp-gallery-controls button:hover { background: #f1f1f4; }
.bp-gallery-controls .mp-icon { width: 16px; height: 16px; }
.bp-gallery-controls [data-profile-step="-1"] .mp-icon { transform: rotate(180deg); }
.bp-gallery-controls>span { min-width: 28px; color: #fff; font-size: 12px; text-align: center; font-variant-numeric: tabular-nums; }
.bp-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.bp-page .bp-thumbnails button { position: relative; padding: 0; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: #f2f2f5; aspect-ratio: 1.05; max-height: 80px; }
.bp-page .bp-thumbnails button[aria-pressed=true] { border-color: var(--mp-coral); }
.bp-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.bp-thumb-video { position: absolute; right: 3px; bottom: 3px; display: grid; place-items: center; width: 23px; height: 19px; border-radius: 5px; background: rgb(20 24 29 / 75%); color: #fff; }
.bp-thumb-video .mp-icon { width: 15px; height: 15px; }
@container (max-width: 379px) {
  .bp-intro-label { display: none; }
  .bp-intro-compact { display: inline; }
}
@container (max-width: 260px) {
  .bp-media-toolbar { inset-inline: 8px; bottom: 8px; gap: 4px; }
  .bp-page .bp-intro-preview { min-height: 36px; padding: 3px 8px 3px 3px; gap: 5px; font-size: 11px; }
  .bp-intro-preview .mp-icon, .bp-gallery-controls button { width: 28px; height: 28px; }
  .bp-gallery-controls { gap: 2px; padding: 3px; }
  .bp-gallery-controls>span { min-width: 24px; font-size: 11px; }
}
.bp-page .bp-media-note { margin-top: 8px; font-size: 10px; line-height: 1.5; color: var(--mp-muted); }
.bp-summary { grid-column: 2; grid-row: 2; align-self: start; min-width: 0; }
.bp-metrics-heading { display: flex; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px solid var(--mp-border); color: var(--mp-muted); font-size: 12px; }
.bp-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 0; }
.bp-metrics>div+div { border-left: 1px solid var(--mp-border); padding-left: 28px; }
.bp-metrics b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.035em; }
.bp-metrics span { display: block; margin-top: 3px; color: #6d7180; font-size: 14px; font-weight: 500;}
.bp-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.bp-hero-actions>.mp-button { min-width: 190px; }
.bp-hero-actions>.mp-button, .bp-hero-actions>.mp-secondary { min-height: 48px; padding-inline: 24px; }
.bp-contact-options { position: relative; }
.bp-contact-options summary { list-style: none; cursor: pointer; padding: 12px; min-height: 48px; }
.bp-contact-options summary::-webkit-details-marker { display: none; }
.bp-contact-options>div { position: absolute; top: calc(100% + 8px); right: 0; width: max-content; max-width: 260px; padding: 6px; border: 1px solid var(--mp-border); border-radius: 10px; background: white; box-shadow: 0 8px 25px rgb(20 24 29 / 10%); z-index: 11; }
.bp-contact-options a { display: flex; gap: 10px; align-items: center; padding: 11px; border-radius: 5px; font-size: 14px; }
.bp-contact-options a:hover { background: #f5f5f7; }
.bp-page .bp-demo-explanation { max-width: 560px; margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--mp-muted); }

/* Same-page sections: no loading states, extra API requests or hidden tab panels. */
.bp-tabs { display: flex; gap: 20px; overflow-x: auto; position: sticky; top: 0; z-index: 10; background: white; border-block: 1px solid var(--mp-border); scrollbar-width: thin; }
.bp-tabs>a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 22px; border-bottom: 2px solid transparent; color: #666b78; font-size: 14px; white-space: nowrap; font-weight: 500;}
.bp-tabs>a[aria-current] { border-bottom-color: var(--mp-ink); color: var(--mp-ink); font-weight: 550; }
.bp-tabs>a>span { background: #f3f3f6; border-radius: 6px; padding: 0 5px; font-size: 12px; font-weight: 400; }
.bp-section { padding-top: 32px; scroll-margin-top: 78px; }
.bp-section h2 { margin-bottom: 14px; }
.bp-about-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.bp-biography { font-size: 16px; line-height: 1.65; color: #666b78; overflow-wrap: anywhere; }
.bp-biography.is-collapsed { max-height: 6.6em; overflow: hidden; }
.bp-text-link, .bp-page .bp-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 500; padding: 6px 0; background: transparent; cursor: pointer; }
.bp-text-link:hover, .bp-text-button:hover { text-decoration: underline; text-underline-offset: 4px; }
.bp-text-link .mp-icon, .bp-text-button .mp-icon { width: 18px; height: 18px; }
.bp-read-more { margin-top: 5px; }
.bp-read-more .mp-icon { transform: rotate(90deg); width: 14px; height: 14px; }
.bp-read-more[aria-expanded=true] .mp-icon { transform: rotate(-90deg); }
.bp-quote { margin: 0; background: var(--mp-soft); border-radius: 9px; padding: 18px 24px 22px; color: #656b7b; }
.bp-quote>span { display: block; font: 700 52px/.9 Georgia,serif; color: var(--mp-coral); }
.bp-quote p { font-size: 16px; line-height: 1.5; }
.bp-quote footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; margin-top: 14px; }
.bp-subheading { display: flex; gap: 10px; align-items: center; margin: 24px 0 12px; }
.bp-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bp-gap); }
.bp-benefits article { padding: 18px; border: 1px solid var(--mp-border); border-radius: 9px; }
.bp-benefit-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--mp-border); border-radius: 50%; margin-bottom: 12px; }
.bp-benefit-icon .mp-icon { width: 22px; height: 22px; }
.bp-benefits p { color: #6d7180; font-size: 14px; margin-top: 5px; }
.bp-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.bp-section-heading h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.bp-section-heading p { margin-top: 7px; font-size: 12px; color: var(--mp-muted); }
.bp-section-heading>.bp-text-link, .bp-section-heading>.bp-text-button { flex-shrink: 0; }
.bp-property-grid, .bp-editorial-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--bp-gap); }
.bp-property-grid.is-collapsed>.mp-property-card:nth-child(n+5) { display: none; }
.bp-property-grid .mp-property-card { border: 1px solid var(--mp-border); border-radius: 8px; padding-bottom: 14px; min-width: 0; overflow: hidden; }
.bp-property-grid .mp-card-media { aspect-ratio: 1.85; border-radius: 7px 7px 0 0; }
.bp-property-grid .mp-property-card>h3 { margin: 12px 14px 6px; }
.bp-property-grid .mp-property-card>p, .bp-property-grid .mp-property-card>small, .bp-property-grid .mp-property-card>strong { margin-inline: 14px; }
.bp-property-grid .mp-property-card>p { font-size: 12px; }
.bp-property-grid .mp-property-card>strong { font-size: 19px; font-weight: 600; }
.bp-page .bp-source-note { margin-top: 12px; font-size: 12px; color: var(--mp-muted); }
.bp-empty { display: flex; align-items: center; gap: 20px; padding: 25px; border: 1px solid var(--mp-border); border-radius: 10px; background: #fafafb; }
.bp-empty>.mp-icon { width: 36px; height: 36px; color: #777e8a; }
.bp-empty p { margin-top: 5px; font-size: 14px; color: var(--mp-muted); }
.bp-empty .mp-secondary { margin-left: auto; flex-shrink: 0; }
.bp-editorial-grid article { min-width: 0; }
.bp-editorial-grid h3 { margin-top: 10px; line-height: 1.4; }
.bp-editorial-grid p { margin-top: 8px; font-size: 12px; color: #747988; }
.bp-video-cover, .bp-article-cover { position: relative; display: block; aspect-ratio: 1.85; background: #f3f3f5; border-radius: 8px; overflow: hidden; }
.bp-video-cover>img, .bp-article-cover>img { height: 100%; width: 100%; object-fit: cover; }
.bp-video-play { position: absolute; inset: 0; display: grid; place-items: center; }
.bp-video-play .mp-icon { width: 42px; height: 42px; color: white; border-radius: 50%; background: rgb(20 24 29 / 45%); }
.bp-video-cover>small { position: absolute; bottom: 9px; right: 9px; background: rgb(20 24 29 / 78%); color: white; font-size: 10px; padding: 3px 6px; border-radius: 4px; }
.bp-articles>article { border: 1px solid var(--mp-border); border-radius: 8px; overflow: hidden; }
.bp-articles .bp-article-cover { border-radius: 7px 7px 0 0; }
.bp-article-body { padding: 12px 14px 17px; position: relative; }
.bp-article-body h3 { margin: 0; padding-right: 25px; }
.bp-page .bp-bookmark { position: absolute; right: 4px; top: 3px; display: grid; place-items: center; width: 34px; height: 40px; padding: 0; background: transparent; color: #7b8290; border-radius: 5px; }
.bp-bookmark .mp-icon { width: 18px; height: 18px; }
.bp-review-rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bp-review-rating b { font-size: 22px; font-weight: 600; }
.bp-review-rating span { font-size: 12px; color: var(--mp-muted); }
.bp-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--bp-gap); }
.bp-reviews article { display: flex; flex-direction: column; border: 1px solid var(--mp-border); border-radius: 10px; padding: 24px; }
.bp-reviews header { display: flex; align-items: center; gap: 12px; }
.bp-review-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; color: #777383; background: #f3eff4; font-size: 13px; }
.bp-reviews header div>span { color: var(--mp-muted); font-size: 12px; }
.bp-review-stars { display: flex; gap: 3px; margin-top: 18px; }
.bp-review-stars .mp-icon { width: 16px; height: 16px; color: #d3d5dc; }
.bp-review-stars .is-filled { color: #ffae2e; fill: currentColor; }
.bp-reviews article>p { margin-top: 12px; font-size: 14px; line-height: 1.65; color: #666b78; }
.bp-reviews article>small { margin-top: auto; padding-top: 18px; font-size: 11px; color: var(--mp-muted); }
.bp-contact { margin-top: 40px; border: 1px solid var(--mp-border); background: #f8f8fa; border-radius: 12px; padding: 40px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); align-items: start; gap: 56px; scroll-margin-top: 80px; }
.bp-contact-caption { color: #747988; font-size: 12px; }
.bp-contact h2 { margin-top: 6px; }
.bp-contact p { margin-top: 12px; font-size: 14px; color: #6d7180; }
.bp-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top:24px; }
.bp-contact-actions .mp-button, .bp-contact-actions .mp-secondary { min-height: 46px; }
.bp-contact-copy>p { line-height:1.7; color:var(--mp-muted); }
.bp-contact .bp-contact-broker { margin-top:28px; color:var(--mp-ink); font-weight:500; }
.bp-lead-form { gap:16px; }
.bp-lead-form .bp-lead-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.bp-lead-form label { font-size:14px; gap:8px; }
.bp-lead-form input:not([type=checkbox]),.bp-lead-form textarea,.bp-lead-form select,.bp-lead-form .mp-choice-trigger { min-height:48px; padding:12px 14px; border:1px solid var(--mp-border); border-radius:9px; background:#fff; font:inherit; }
.bp-lead-form textarea { min-height:100px; }
.bp-lead-form :is(input,textarea,select):focus-visible { outline:2px solid var(--mp-coral); outline-offset:2px; }
.bp-lead-form label.mp-check { gap:10px; color:#555862; line-height:1.5; }
.bp-lead-form input[type=checkbox] { margin:3px 0 0; flex:none; }
.bp-lead-form .mp-button { width:100%; min-height:48px; justify-content:space-between; }
.bp-lead-form [data-form-error] { margin:0; color:#b72e40; }
.bp-lead-box .mp-form-success { padding:30px 0; }
.bp-lead-success-icon { display:grid; place-items:center; width:48px; height:48px; margin-bottom:16px; border-radius:50%; color:#127a49; background:#e7f7ed; }
.bp-lead-dialog { width:min(600px,calc(100% - 32px)); padding:28px; }
.bp-lead-dialog>header { align-items:flex-start; }
.bp-lead-dialog>header p { color:var(--mp-muted); font-size:14px; margin-top:6px; }
.bp-lead-dialog .mp-icon-button { flex:none; }
html.bp-contact-open { overflow:hidden; }

/* A native dialog keeps keyboard focus inside; no player is faked for the demo. */
html.bp-viewer-open { overflow: hidden; padding-right: var(--bp-scrollbar-gap, 0px); }
.bp-viewer-open body { overflow: hidden; }
.bp-media-viewer { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 20px 32px; border: 0; background: rgb(14 16 20 / 88%); color: #fff; overflow: hidden; }
.bp-media-viewer::backdrop { background: rgb(14 16 20 / 55%); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.bp-viewer-shell { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 18px; width: min(1200px, 100%); height: 100%; margin-inline: auto; }
.bp-viewer-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.bp-viewer-header>div { min-width: 0; }
.bp-viewer-header h2 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 16px; font-weight: 500; }
.bp-viewer-header p { margin-top: 3px; font-size: 12px; color: #c4c6cd; }
.bp-media-viewer .bp-viewer-close, .bp-media-viewer [data-viewer-step] { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 50%; padding: 0; color: #fff; background: rgb(255 255 255 / 10%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bp-media-viewer .bp-viewer-close:hover, .bp-media-viewer [data-viewer-step]:hover { background: rgb(255 255 255 / 22%); }
.bp-media-viewer button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.bp-media-viewer button { touch-action: manipulation; }
.bp-media-viewer button .mp-icon { pointer-events: none; }
.bp-viewer-stage { min-height: 0; min-width: 0; position: relative; display: flex; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.bp-viewer-frame { position: relative; height: 100%; width: calc(100% - 128px); min-width: 0; border-radius: 12px; overflow: hidden; }
.bp-viewer-frame>img { width: 100%; height: 100%; object-fit: contain; user-select: none; }
.bp-viewer-initials { display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #c4c6cd; background: #24282f; }
.bp-viewer-initials b { font-size: 64px; font-weight: 500; }
.bp-viewer-initials span { font-size: 13px; }
.bp-media-viewer.is-video .bp-viewer-frame { width: auto; max-width: 100%; aspect-ratio: 9 / 16; background: #24282f; }
.bp-media-viewer.is-video .bp-viewer-frame>img { object-fit: cover; object-position: center; }
.bp-media-viewer.is-video .bp-viewer-initials { justify-content: flex-start; padding-top: 35px; }
.bp-media-viewer .bp-viewer-prev { position: absolute; left: 0; }
.bp-media-viewer .bp-viewer-next { position: absolute; right: 0; }
.bp-viewer-prev .mp-icon { transform: rotate(180deg); }
.bp-viewer-video { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 28px; background: linear-gradient(transparent 25%, rgb(8 10 14 / 88%)); pointer-events: none; }
.bp-viewer-video-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 20px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 50%; background: rgb(255 255 255 / 15%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bp-viewer-video-icon .mp-icon { width: 24px; height: 24px; }
.bp-viewer-demo { font-size: 11px; letter-spacing: .03em; color: #dddfe4; }
.bp-viewer-video h3 { font-size: clamp(17px, 2.4vh, 23px); font-weight: 500; margin-top: 5px; }
.bp-viewer-video p { font-size: 13px; line-height: 1.5; color: #dddfe4; margin-top: 8px; }
.bp-viewer-bottom { min-width: 0; }
.bp-viewer-thumbnails { display: flex; gap: 8px; width: max-content; max-width: 100%; overflow-x: auto; margin-inline: auto; padding: 4px; scrollbar-width: thin; }
.bp-media-viewer .bp-viewer-thumbnails button { position: relative; flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; background: #30343c; color: #fff; opacity: .55; }
.bp-media-viewer .bp-viewer-thumbnails button[aria-pressed=true] { border-color: #fff; opacity: 1; }
.bp-media-viewer .bp-viewer-thumbnails button:hover { opacity: 1; }
.bp-viewer-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.bp-viewer-bottom>p { font-size: 11px; color: #aaaeb8; margin-top: 8px; text-align: center; }
@media (max-width: 600px) {
  .bp-media-viewer { padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); }
  .bp-viewer-shell { gap: 14px; }
  .bp-viewer-frame { width: 100%; }
  .bp-viewer-header h2 { font-size: 14px; }
  .bp-viewer-header p { font-size: 11px; }
  .bp-media-viewer [data-viewer-step] { width: 36px; height: 36px; background: rgb(14 16 20 / 40%); }
  .bp-media-viewer .bp-viewer-prev { left: 6px; }
  .bp-media-viewer .bp-viewer-next { right: 6px; }
  .bp-viewer-bottom>p span { display: none; }
  .bp-viewer-thumbnails { gap: 6px; }
  .bp-media-viewer .bp-viewer-thumbnails button { width: 48px; height: 54px; }
  .bp-viewer-video { padding: 20px; }
}
@media (max-height: 600px) {
  .bp-media-viewer { padding-block: 8px; }
  .bp-viewer-shell { gap: 8px; }
  .bp-viewer-bottom>p, .bp-viewer-video-icon, .bp-viewer-video p { display: none; }
  .bp-media-viewer .bp-viewer-thumbnails button { width: 36px; height: 38px; }
  .bp-viewer-video { padding: 12px; }
  .bp-viewer-video h3 { font-size: 13px; overflow-wrap: anywhere; }
  .bp-viewer-demo { font-size: 9px; }
}
@media (max-width: 1050px) {
  .bp-tags { gap: 6px; }
  .bp-metrics>div+div { padding-left: 16px; }
  .bp-metrics { gap: 12px; }
  .bp-hero-actions { gap: 8px; }
  .bp-hero-actions>.mp-button { min-width: 140px; }
  .bp-hero-actions>.mp-button, .bp-hero-actions>.mp-secondary { padding-inline: 15px; }
  .bp-tabs { gap: 8px; }
  .bp-tabs>a { padding-inline: 18px; }
  .bp-benefits, .bp-property-grid, .bp-editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-about-layout { gap: 28px; }
  .bp-reviews { gap: 12px; }
  .bp-reviews article { padding: 18px; }
  .bp-contact { align-items: flex-start; }
}
@media (max-width: 720px) {
  .bp-page { --bp-gap: 14px; }
  .bp-topbar { align-items: flex-start; flex-wrap: wrap; gap: 14px; padding-block: 18px; }
  .bp-topbar .mp-breadcrumbs { font-size: 11px; gap: 6px; width: 100%; }
  .bp-page-actions { margin-left: auto; }
  .bp-page-actions .mp-secondary { font-size: 12px; padding-inline: 10px; }
  .bp-hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 24px; }
  .bp-identity, .bp-media, .bp-summary { grid-column: 1; grid-row: auto; }
  .bp-identity { padding-top: 0; }
  .bp-page h1 { font-size: 32px; }
  .bp-page .bp-headline { font-size: 17px; }
  .bp-verified { margin-bottom: 12px; }
  .bp-media { width: min(420px, 100%); justify-self: center; }
  .bp-tags { margin-top: 16px; }
  .bp-metrics-heading { padding-top: 0; border: 0; }
  .bp-metrics b { font-size: 23px; }
  .bp-metrics span { font-size: 12px; }
  .bp-metrics>div+div { padding-left: 12px; }
  .bp-hero-actions { margin-top: 24px; }
  .bp-hero-actions>.mp-button { flex: 1 0 100%; }
  .bp-hero-actions>.mp-secondary { flex: 1; }
  .bp-page .bp-demo-explanation { font-size: 11px; }
  .bp-tabs { gap: 0; }
  .bp-tabs>a { padding: 16px 14px; font-size: 13px; }
  .bp-tabs>a:first-child { padding-left: 8px; }
  .bp-section { padding-top: 28px; }
  .bp-page h2 { font-size: 25px; }
  .bp-about-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .bp-biography { font-size: 15px; }
  .bp-quote { padding: 20px; }
  .bp-quote p { font-size: 15px; }
  .bp-benefits article { padding: 14px; }
  .bp-page h3 { font-size: 15px; }
  .bp-benefits p { font-size: 13px; }
  .bp-section-heading { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .bp-section-heading>.bp-text-link { font-size: 13px; }
  .bp-section-heading h2 { gap: 8px; }
  .bp-section-heading p { font-size: 11px; }
  .bp-editorial-grid h3 { font-size: 14px; }
  .bp-article-body { padding: 10px; }
  .bp-editorial-grid p { font-size: 11px; }
  .bp-reviews { grid-template-columns: minmax(0, 1fr); }
  .bp-empty { flex-wrap: wrap; padding: 20px; }
  .bp-empty .mp-secondary { margin-left: 0; }
  .bp-contact { grid-template-columns:1fr; padding:24px; gap:28px; }
  .bp-lead-form .bp-lead-fields { grid-template-columns:1fr; }
  .bp-lead-dialog { padding:20px; }
  .bp-contact-actions { justify-content: flex-start; width: 100%; }
  .bp-contact-actions .mp-button, .bp-contact-actions .mp-secondary { width: 100%; }
}
@media (max-width: 460px) {
  .bp-property-grid, .bp-articles { grid-template-columns: minmax(0, 1fr); }
  .bp-article-body h3 { font-size: 16px; }
  .bp-video-cover { aspect-ratio: 1.5; }
  .bp-video-cover>small { font-size: 9px; right: 6px; bottom: 6px; }
  .bp-benefits h3 { font-size: 14px; }
}
/* Approved profile media; video bytes are requested only inside the viewer. */
.bp-page .bp-thumbnails {display:flex;overflow-x:auto;gap:6px;padding-bottom:3px}
.bp-page .bp-thumbnails>button {flex:0 0 calc((100% - 24px)/5)}
.bp-page .bp-thumbnails[hidden] {display:none}
.bp-page .bp-gallery-controls {margin-left:auto}
.bp-page .bp-about-layout:not(:has(.bp-quote)) {grid-template-columns:1fr}
.bp-media-viewer .bp-viewer-player {width:100%;height:100%;object-fit:contain;background:#111;display:block;border-radius:12px}
.bp-media-viewer .bp-viewer-player[hidden] {display:none}
.bp-viewer-error {position:absolute;bottom:70px;left:12px;right:12px;padding:12px;background:#191b1de6;color:white;border-radius:8px;text-align:center}
