/* M.Bro: shared visual system for public and partner journeys. */
:root{--navy:#102b3b;--gold:#b39a69;--bg:#f6f5f1;--paper:#fff;--text:#193240;--muted:#738087;--line:#e8e8e2}
body{background:var(--bg);-webkit-font-smoothing:antialiased}
.app-header{background:rgba(246,245,241,.97);color:var(--navy);border-bottom:1px solid #e6e5de;backdrop-filter:blur(16px)}
.header-inner{min-height:70px;padding:12px 28px}.wordmark{font:30px/1 Georgia,serif;letter-spacing:-.04em;display:flex;align-items:center;gap:16px}.wordmark .byline{font:9px/1.5 Arial,sans-serif;letter-spacing:.18em;color:#907c54;border-left:1px solid #cfc7b6;padding-left:16px}.app-header>.header-inner>.icon-button{border:1px solid #deded5;border-radius:50%;width:38px;height:38px}.app-header .icon{width:18px;height:18px}
main{padding:28px 28px calc(112px + var(--safe-bottom));max-width:1120px}
h1{font-size:clamp(34px,4vw,48px);letter-spacing:-.035em;line-height:1.12}h2,h3{letter-spacing:-.02em}.eyebrow{font-size:9px;letter-spacing:.2em;font-weight:700}.lead{font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:26px}
.home-intro{position:relative;overflow:hidden;border-radius:20px;background:#102b3b;color:#f9f7f0;min-height:220px;padding:34px 38px;display:flex;align-items:center;margin-bottom:24px}.home-intro-copy{position:relative;z-index:1}.home-intro .eyebrow{color:#d0b887;margin:0 0 18px}.home-intro h1{font-size:clamp(37px,4.4vw,55px);line-height:1.04;letter-spacing:-.035em;margin:0 0 18px;font-weight:400}.home-intro p:not(.eyebrow){font-size:13px;line-height:1.75;color:#c7d1d5;margin:0;max-width:470px}.home-intro-mark{position:absolute;right:52px;top:50%;transform:translateY(-50%);width:220px;height:220px;border:1px solid #b69a6047;border-radius:50%;display:grid;place-items:center;color:#c4aa76}.home-intro-mark span{font:144px/.9 Georgia,serif;letter-spacing:-.08em;margin-left:-10px}.home-intro-mark i{position:absolute;inset:15px;border:1px solid #b69a6026;border-radius:50%}
.direction-tabs{width:100%;border:1px solid #e3e4dd;border-radius:12px;padding:4px;background:#eceee9;margin:0 0 14px;gap:4px}.direction-tabs button{flex:1;min-height:44px;border-radius:9px;font-size:13px;font-weight:600;padding:10px 12px;color:#6f7b7e}.direction-tabs button[aria-pressed=true]{color:var(--navy);box-shadow:0 2px 5px #102b3b08;background:#fff}
.search-row{gap:10px;margin-bottom:0}.search-field input{border:1px solid #e0e4de;background:#fff;border-radius:11px;min-height:50px;font-size:13px;padding-left:43px}.search-field .icon{width:18px;height:18px;left:15px;top:16px;color:#8c9799}.filter-toggle{width:52px;min-height:50px;border-radius:11px;background:white;border-color:#e0e4de;padding:12px;justify-content:center}.filter-toggle span{display:none}.filter-toggle .icon{width:21px;height:21px}.filter-panel{margin:14px 0 0;border-radius:14px;background:#fff;border:1px solid var(--line);padding:20px;gap:18px}
.home-services{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0 34px}.service-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:23px 25px;min-height:175px;border-radius:15px;border:1px solid #e4dfd2;transition:transform .18s,box-shadow .18s}.service-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #102b3b09}.service-newbuild{background:#ebe6da;color:#293e47}.service-partner{background:#193c4d;color:#f6f2e8;border-color:#193c4d}.service-topline{display:flex;gap:9px;align-items:center;margin-bottom:18px;color:#8b754d}.service-partner .service-topline{color:#cfba8c}.service-topline .icon{width:19px;height:19px}.service-topline small{font-size:8px;letter-spacing:.16em;font-weight:700;flex:1}.service-topline>span{font-size:17px;line-height:1}.service-card>strong{font:400 29px/1.12 Georgia,serif;letter-spacing:-.025em;margin:0 0 12px}.service-caption{font:12px/1.6 Arial,sans-serif;color:#778080;max-width:260px;margin-top:auto}.service-partner .service-caption{color:#b7c8cc}
.collection-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.collection-heading .eyebrow{color:#aa9163;margin:0 0 7px}.collection-heading h2{margin:0;font-size:31px}.collection-alerts{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#826d47;min-height:44px}.collection-alerts .icon{width:16px;height:16px}.results-line{margin:14px 0 16px;padding-bottom:12px;border-bottom:1px solid #e2e4dd;font-size:11px}.text-button{font-size:11px;min-height:36px;text-decoration:none;color:#8d7a56}
.cards{gap:22px}.property-card{border:1px solid #e5e6df;border-radius:15px;background:#fff;box-shadow:none;transition:box-shadow .2s}.property-card:hover{box-shadow:0 9px 25px #102b3b08}.card-body{padding:19px 20px 0}.card-body h2{font-size:25px;line-height:1.16;margin-bottom:16px;letter-spacing:-.03em}.location{font-size:11px;line-height:1.6;color:#7a868a}.card-specs{gap:12px 20px;margin-bottom:24px}.card-specs small{font-size:9px}.card-specs strong{font-size:12px;font-weight:500}.card-price{font-size:26px;letter-spacing:-.02em;color:#80683f}.card-footer{font-size:11px;padding:15px 0;margin-top:18px;border-top:1px solid #ecece6;color:#526770}.badge{font-size:10px;left:12px;top:12px;bottom:auto;max-width:calc(100% - 68px);background:#fffffff0;color:#264554;padding:7px 10px;border-radius:6px}.favorite-button{width:36px;height:36px;background:#fffffff0}.card-photo .favorite-button{right:12px;top:12px}.card-slide{width:33px;height:33px;font-size:23px;top:calc(50% - 16px);background:#102b3bb3}.gallery-count{font-size:10px}
.bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:9px max(12px,calc((100% - 740px)/2)) calc(8px + max(env(safe-area-inset-bottom),var(--safe-bottom)));border-top:1px solid #e0e3dc;background:#fffffff5;backdrop-filter:blur(18px);box-shadow:0 -3px 18px #102b3b04}.bottom-nav a{min-height:52px;min-width:0;border-radius:12px;color:#8a9495;padding:7px 3px;gap:5px;font-size:10px;letter-spacing:0}.bottom-nav a[aria-current=page]{color:#8b7447;background:#f2eee4}.bottom-nav .icon{width:22px;height:22px;stroke-width:1.5}.bottom-nav small{font-size:8px;background:#eee8da;color:#8b7447}
.panel{border-radius:16px;border-color:#e7e7df;box-shadow:none;padding:28px}.primary,.secondary{min-height:48px;border-radius:10px;font-size:13px;font-weight:600;box-shadow:none;transition:background .18s}.primary{background:#153747;border-color:#153747}.secondary{background:#fffdf8;border-color:#ded5c2;color:#655638}.field{font-size:12px;font-weight:500;color:#65767e}.field input,.field select,.field textarea{border:1px solid #dde2dc;border-radius:9px;font-size:15px;background:#fff;min-height:48px}.newbuild-panel h2{font-size:25px}.newbuild-panel textarea{min-height:145px}.newbuild-consent{font-size:11px;color:#6f7d83;line-height:1.7}.newbuild-consent input{accent-color:#173c4e}.account-join{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 25px;border-radius:14px;margin:22px 0;background:#eae5d8}.account-join strong{font:23px/1.2 Georgia,serif;color:#283e49}.account-join p{font-size:12px;color:#7b817f;margin:8px 0 0}.account-join .secondary{white-space:nowrap;margin:0;flex:none}.account-panel{max-width:760px}.account-panel .lead{max-width:520px}.account-panel form{max-width:460px}.account-panel .actions{gap:10px}.account-panel .actions>a{margin-top:0}.account-panel>[id=accountSignedIn]>[data-partner-link]{margin-top:15px;width:100%}.account-note{font-size:11px;color:#8a9699;line-height:1.7}
.broker-row{border-radius:14px;border-color:#e4e7e0;padding:22px}.broker-row h2{font-size:25px}.broker-row p{font-size:12px;line-height:1.65}.gallery{border-radius:17px}.detail-head h1{font-size:clamp(33px,4vw,46px)}.property-characteristics{border-radius:16px}.property-benefits{background:#f1eee6;border-color:#e8e0d1;border-radius:12px}.property-benefits h2{font-size:25px!important}.partner-card{border-radius:12px;border-color:#e2e5dd;border-left:3px solid #b49a66}.partner-card h4{font-size:26px}.partner-card button{min-height:44px;border-radius:9px}.partner-card form{padding-top:14px;margin-top:16px;border-top:1px solid #e7e7df}.partner-row{font-size:13px}.portrait-dialog{border-radius:16px}
@media(min-width:850px){.search-row{max-width:none}.direction-tabs{width:350px}.home-services{margin-top:22px}.newbuild-panel .newbuild-grid{column-gap:22px}}
@media(max-width:700px){.header-inner{min-height:62px;padding:11px 20px}.wordmark{font-size:28px;gap:12px}.wordmark .byline{font-size:8px;padding-left:12px;letter-spacing:.12em}main{padding:20px 18px calc(108px + var(--safe-bottom))}.home-intro{min-height:0;padding:25px 24px;border-radius:17px;margin-bottom:20px}.home-intro .eyebrow{font-size:8px;letter-spacing:.18em;margin-bottom:14px}.home-intro h1{font-size:38px;margin-bottom:14px}.home-intro p:not(.eyebrow){font-size:11px;max-width:265px;line-height:1.75}.home-intro-mark{right:-47px;width:210px;height:210px;opacity:.12;top:52%}.home-intro-mark span{font-size:140px}.desktop-break{display:none}.home-services{gap:10px;margin:16px 0 28px}.service-card{padding:17px 16px;min-height:170px;border-radius:13px}.service-topline{gap:4px;margin-bottom:14px}.service-topline .icon{display:none}.service-topline small{font-size:7px;letter-spacing:.12em}.service-card>strong{font-size:24px;line-height:1.12;margin-bottom:12px}.service-caption{font-size:10px;line-height:1.55}.collection-heading h2{font-size:29px}.collection-alerts{font-size:10px;max-width:110px;line-height:1.4;gap:6px}.collection-alerts .icon{flex:none}.results-line{margin-top:12px}.cards{gap:19px}.card-body{padding:18px 19px 0}.card-body h2{font-size:25px}.panel{padding:22px}.account-join{padding:20px;display:block}.account-join strong{font-size:23px}.account-join .secondary{margin-top:15px;width:100%}.bottom-nav{gap:3px;padding-left:10px;padding-right:10px}.bottom-nav a{font-size:9px;min-height:51px}.bottom-nav .icon{width:22px;height:22px}.broker-row{padding:19px}.broker-row h2{font-size:23px}.filter-panel{padding:17px}.newbuild-grid{gap:0}}
@media(max-width:360px){main{padding-left:14px;padding-right:14px}.service-card{padding:16px 13px}.service-card>strong{font-size:22px}.service-topline small{font-size:6.5px}.home-intro h1{font-size:35px}.header-inner{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:reduce){.service-card,.property-card,.primary,.secondary{transition:none}.service-card:hover{transform:none}}

.partner-card button,.partner-row button,#main>button:not([class]){font:600 12px/1.4 Arial,sans-serif;min-height:44px;padding:10px 14px;background:#f8f5ed;color:#344a54;border:1px solid #d9cfbb;border-radius:9px}.partner-card select,.partner-card textarea{border-radius:9px;border-color:#dce2da}.partner-card summary{cursor:pointer;line-height:1.6}.partner-notice{padding:0;margin:16px 0}.partner-notice:empty{display:none}#main>section>h3{margin-top:28px}.newbuild-success{padding:6px 0}.newbuild-success h2{font-size:31px}.newbuild-success p{color:#738087;line-height:1.75}

.home-intro{padding:25px 34px;min-height:195px}.home-intro h1{font-size:45px;line-height:1.03;margin-bottom:14px}.home-intro .eyebrow{margin-bottom:14px}.home-intro p:not(.eyebrow){font-size:12px;max-width:530px}.home-intro-copy{max-width:calc(100% - 230px)}.home-mascot{position:absolute;bottom:-31px;right:35px;width:192px;height:288px;pointer-events:none}.home-mascot img{display:block;width:100%;height:100%;object-fit:contain}.broker-transfer{display:flex;width:100%;margin:18px 0 4px}
@media(max-width:700px){.home-intro{padding:23px 22px;min-height:190px}.home-intro-copy{max-width:calc(100% - 60px)}.home-intro .eyebrow{font-size:7px;letter-spacing:.13em;max-width:230px}.home-intro h1{font-size:32px;line-height:1.07;letter-spacing:-.035em;max-width:240px}.home-intro p:not(.eyebrow){font-size:10.5px;line-height:1.7;max-width:calc(100% - 25px)}.home-mascot{right:-5px;bottom:-14px;width:115px;height:173px}.home-intro .desktop-break{display:none}}
@media(max-width:360px){.home-intro h1{font-size:29px}.home-intro{padding:22px 18px}.home-mascot{width:98px;height:147px;right:-2px}.home-intro-copy{max-width:calc(100% - 55px)}}
@media(orientation:landscape) and (max-height:550px) and (min-width:701px){.home-intro{padding:20px 30px;min-height:175px}.home-intro h1{font-size:38px}.home-intro p:not(.eyebrow){font-size:11px}.home-mascot{height:235px;width:157px;bottom:-35px;right:45px}}

.home-mascot{top:10px;bottom:0;height:auto;width:205px;overflow:hidden}.home-mascot img{height:auto;width:100%;object-fit:initial}
@media(max-width:700px){.home-mascot{top:auto;bottom:-14px;width:115px;height:173px}}
@media(max-width:360px){.home-mascot{width:98px;height:147px;right:-2px}}
@media(orientation:landscape) and (max-height:550px) and (min-width:701px){.home-mascot{top:9px;bottom:0;height:auto;width:150px}}

/* Home: two compact services and a full-height advertising card. */
.home-services-mosaic{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr 1fr;gap:12px;margin:20px 0 26px}
.home-services-mosaic .service-partner{grid-column:1;grid-row:1}
.home-services-mosaic .service-scout{grid-column:1;grid-row:2}
.home-services-mosaic .service-card{min-height:126px;padding:19px 22px}
.home-services-mosaic .service-topline{margin-bottom:10px}
.home-services-mosaic .service-card>strong{font-size:25px;line-height:1.12;margin-bottom:8px}
.home-services-mosaic .service-caption{font-size:11px;line-height:1.4}
.home-services-mosaic .service-ad{grid-column:2;grid-row:1 / 3;background:#ede8dc;color:#173441;justify-content:flex-start;overflow:hidden;margin:0}
.home-services-mosaic .service-ad:hover{transform:none;box-shadow:none}
.home-services-mosaic .service-ad>strong{font-size:34px;max-width:270px;margin-top:auto;margin-bottom:20px}
.ad-symbol{font:54px/1 Georgia,serif;color:#b49a61;margin:15px 0 22px}
@media(max-width:700px){
.home-services-mosaic{gap:10px;margin:16px 0 24px}
.home-services-mosaic .service-card{min-height:112px;padding:14px 13px;border-radius:13px}
.home-services-mosaic .service-topline{margin-bottom:8px}
.home-services-mosaic .service-topline small{font-size:6.5px;letter-spacing:.09em}
.home-services-mosaic .service-card>strong{font-size:21px;margin-bottom:6px}
.home-services-mosaic .service-caption{font-size:9px;line-height:1.4}
.home-services-mosaic .service-ad>strong{font-size:27px;line-height:1.1;margin-bottom:16px}
.home-services-mosaic .ad-symbol{font-size:42px;margin:12px 0 18px}
}
@media(max-width:360px){
.home-services-mosaic .service-card>strong{font-size:19px}
.home-services-mosaic .service-ad>strong{font-size:24px}
}

/* A single, quiet collection header with clear controls. */
.collection-heading{margin-top:24px;padding:20px 22px 14px;background:#fff;border:1px solid #e5e4dc;border-bottom:0;border-radius:18px 18px 0 0;align-items:center;gap:12px}
.collection-heading>div{min-width:0}
.collection-heading .eyebrow{font-size:8px;letter-spacing:.18em;margin:0 0 8px;color:#9c855b}
.collection-heading h2{font:400 32px/1.12 Georgia,serif;letter-spacing:-.035em;color:#123240}
.collection-alerts{flex:none;max-width:none;min-height:38px;padding:0 12px;border:1px solid #e1d8c3;background:#f7f3e9;border-radius:10px;color:#79633c;font:11px/1.2 Arial,sans-serif;gap:6px;white-space:nowrap}
.collection-alerts:hover{background:#eee5d1}
.collection-alerts .icon{width:15px;height:15px;flex:none}
.results-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 18px;padding:12px 22px 16px;background:#fff;border:1px solid #e5e4dc;border-top:0;border-radius:0 0 18px 18px;font-size:11px}
#resultCount{display:inline-flex;align-items:center;min-height:28px;padding:4px 10px;background:#eef2f1;color:#36535d;border-radius:7px;font-size:10px;line-height:1.3}
#resetFilters{font:10px/1.3 Arial,sans-serif;color:#8a806e;min-height:32px;padding:5px 0;text-decoration:none}
#resetFilters:hover{color:#173441;text-decoration:underline}
@media(max-width:700px){
.collection-heading{margin-top:20px;padding:17px 14px 12px;gap:8px;border-radius:14px 14px 0 0}
.collection-heading .eyebrow{font-size:7px;margin-bottom:7px;letter-spacing:.13em}
.collection-heading h2{font-size:25px;line-height:1.14}
.collection-alerts{padding:0 9px;min-height:35px;font-size:9px;gap:4px;border-radius:9px}
.collection-alerts .icon{width:13px;height:13px}
.results-line{padding:10px 14px 13px;margin-bottom:16px;border-radius:0 0 14px 14px}
#resultCount{font-size:9px;min-height:26px;padding:4px 8px}
#resetFilters{font-size:9px}
}
@media(max-width:360px){.collection-heading h2{font-size:22px}.collection-alerts{padding:0 7px;font-size:8px}}

/* Scout promotional tile on the mini-app home */
.home-services-mosaic .service-scout{background:linear-gradient(145deg,#0c2739,#17394a);border:1px solid #967b4b;color:#f8f3e8;overflow:hidden}
.home-services-mosaic .service-scout:before{content:"";position:absolute;right:-55px;top:-60px;width:145px;height:145px;border:1px solid #c2a36b44;border-radius:50%;pointer-events:none}
.home-services-mosaic .service-scout .service-topline{color:#d5b780}
.home-services-mosaic .service-scout .scout-mark{color:#d5b780;font-size:18px}
.home-services-mosaic .service-scout .service-caption{color:#d2dade}
.home-services-mosaic .service-scout .scout-action{display:block;margin-top:10px;color:#e2c691;font-size:11px;font-weight:700;letter-spacing:.01em}
@media(max-width:700px){.home-services-mosaic .service-scout>strong{font-size:20px}.home-services-mosaic .service-scout .scout-action{font-size:9px;line-height:1.3}}

/* Interactive Scout preview and explanation */
.home-services-mosaic button.service-scout{width:100%;font:inherit;text-align:left;cursor:pointer;appearance:none}
.scout-info-dialog{width:min(560px,calc(100vw - 28px));max-height:min(90dvh,850px);padding:0;border:1px solid #bca06b;border-radius:20px;background:#f8f7f3;color:#102a38;box-shadow:0 22px 80px #091e30aa;overflow:auto}
.scout-info-dialog::backdrop{background:rgba(5,21,32,.76);backdrop-filter:blur(4px)}
.scout-info-inner{position:relative;padding:32px 29px 29px}
.scout-info-close{position:absolute;right:18px;top:15px;width:40px;height:40px;border:0;border-radius:50%;background:#e9e4d9;color:#102a38;font-size:27px;line-height:1;cursor:pointer}
.scout-info-kicker{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:800;letter-spacing:.13em;color:#a48756;margin:4px 38px 17px 0}
.scout-info-kicker span{font-size:9px;font-weight:500;letter-spacing:.06em;color:#7e8b8e}
.scout-info-dialog h2{font:400 clamp(27px,6vw,36px)/1.13 Georgia,serif;letter-spacing:-.025em;margin:0 0 14px;color:#102a38}
.scout-info-lead{color:#596970;font-size:14px;line-height:1.65;margin:0 0 22px}
.scout-info-features{display:grid;gap:9px;margin:0 0 16px}
.scout-info-features>div{padding:15px 17px;border:1px solid #e3dfd7;border-radius:12px;background:#fff}
.scout-info-features span{float:right;color:#ad976b;font:19px Georgia,serif}
.scout-info-features strong{display:block;font-size:14px;margin:0 0 5px}
.scout-info-features p,.scout-info-note p{margin:0;color:#65757b;font-size:12px;line-height:1.55}
.scout-info-note{padding:13px 16px;background:#ede8dc;border-left:3px solid #b49965;margin:0 0 18px;border-radius:5px}
.scout-info-note strong{font-size:12px;display:block;margin-bottom:4px}
.scout-info-cta{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 18px;background:#102a38;color:#e7d0a5;border:1px solid #b49965;border-radius:10px;font-weight:700;font-size:13px}
@media(max-width:480px){.scout-info-inner{padding:28px 19px 21px}.scout-info-kicker{font-size:10px}.scout-info-lead{font-size:13px}}

/* Short, non-blocking feedback on catalog entry. */
@media (prefers-reduced-motion: no-preference) {
  .cards > .property-card.card-arrived {
    animation: mbro-card-arrive 360ms ease-out;
  }
}
@keyframes mbro-card-arrive {
  from { opacity: .55; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* The signed-in overview keeps daily broker actions above settings. */
.account-panel.is-signed-in { padding: 16px !important; }
.workspace-shortcuts { display: grid; gap: 9px; }
.workspace-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid #dedbd1;
  border-radius: 10px;
  background: #fffdf8;
  color: #102b3c;
  text-decoration: none;
  font-weight: 600;
}
.workspace-row[hidden] { display: none; }
.workspace-row small { display: block; color: #53656e; font-size: 12px; font-weight: 400; }
.workspace-profile {
  grid-template-columns: 36px minmax(0, 1fr) auto auto;
  gap: 8px;
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: transparent;
}
.workspace-profile > span:nth-child(2) { display: contents; }
.account-panel .workspace-profile #accountName {
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
}
.workspace-profile small { color: #6b5736; white-space: nowrap; }
.workspace-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #ede9df; overflow: hidden; }
.workspace-avatar img { width: 100%; height: 100%; object-fit: cover; }
.workspace-shortcuts .workspace-add { display: flex; justify-content: center; align-items: center; min-height: 50px; margin: 0; border-radius: 10px; }
#accountNewLeads { grid-template-columns: 24px minmax(0, 1fr) auto auto; }
#accountNewLeads b { min-width: 24px; padding: 2px 6px; border-radius: 20px; background: #eee3c9; text-align: center; }
.workspace-row.workspace-scout { margin-top: 5px; background: #102b3c; color: #fff; border-color: #b99a62; }
.workspace-scout small { color: #e0d4bf; }
.workspace-scout > span:first-child { color: #dfbd7e; }
.workspace-settings { margin-top: 16px; }
.workspace-settings summary { min-height: 44px; padding: 11px 0; cursor: pointer; }

/* Mini-app home and catalogue */
.home-intro {
  min-height: 174px;
  padding: 20px 30px;
  margin-bottom: 14px;
  border: 1px solid #ae925a55;
  background: radial-gradient(ellipse at 85% 80%, #244653, #102b3b 68%);
}
.home-intro .eyebrow { margin-bottom: 8px; }
.home-intro h1 { margin-bottom: 8px; }
.home-intro p:not(.eyebrow) { color: #e2e8e8; }
.home-mascot { right: 24px; width: 175px; }

.actions[aria-label="Вид каталога"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  margin: 10px 0 16px;
  border: 1px solid #e0dacb;
  border-radius: 13px;
  background: #f0ede5;
}
.actions[aria-label="Вид каталога"] > button {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
}
.actions[aria-label="Вид каталога"] > button[aria-pressed="false"] {
  background: transparent;
  color: #564b35;
}
#cards .card-body { padding: 15px 16px 0; }
#cards .card-body h2 { margin-bottom: 10px; }
#cards .location { margin-bottom: 5px; color: #526770; }
#cards .card-footer {
  margin-top: 12px;
  padding: 12px 0;
  font-size: 13px;
  font-weight: 600;
  color: #173441;
}

@media (max-width: 700px) {
  .home-intro { min-height: 148px; padding: 15px 16px; }
  .home-intro-copy { max-width: calc(100% - 81px); }
  .home-intro .eyebrow { font-size: 8px; }
  .home-intro h1 { font-size: clamp(27px, 8vw, 35px); }
  .home-intro p:not(.eyebrow) { max-width: none; font-size: 11px; line-height: 1.5; }
  .home-mascot { top: auto; bottom: -7px; right: 5px; width: 89px; height: auto; }
  .home-services-mosaic { margin-top: 12px; margin-bottom: 17px; }
  .home-services-mosaic .service-card { min-height: 102px; }
  #cards .card-body h2 { font-size: 23px; }
}

/* Property detail controls and information */
.gallery > #fullFrame,
.gallery > #galleryCount {
  bottom: 10px;
  border-radius: 8px;
  background: #102a38ef;
  color: #fff;
  font: 600 13px/1.3 Arial, sans-serif;
}
.gallery > #fullFrame {
  left: 10px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #ffffff55;
}
.gallery > #galleryCount {
  right: 10px;
  padding: 7px 10px;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.property-characteristics .spec-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin-top: 14px;
}
.property-characteristics .spec {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid #e6e3da;
}
.property-characteristics .spec dt { color: #53656e; }
.property-characteristics .spec dd { font-weight: 600; line-height: 1.4; }

.detail-layout .broker-summary + .actions {
  gap: 8px;
  margin: 16px 0 0;
}
.detail-layout .broker-summary + .actions > .primary {
  flex: 1 0 100%;
}
.detail-layout .broker-summary + .actions > .secondary {
  flex: 1 1 76px;
}
.detail-layout .broker-summary + .actions > a {
  min-height: 44px;
  padding: 8px;
}

.home-info-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 16px}
.home-info-links a{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px;padding:8px 10px;border:1px solid #ded5c4;border-radius:11px;background:#f8f5ed;color:var(--navy);font-size:clamp(12px,3.5vw,14px);line-height:1.25;text-decoration:none}
.home-info-links a span{flex:none;color:#836b3f}
.home-info-links a:hover{background:#f0e9db}
.home-info-links a:focus-visible{outline:2px solid #836b3f;outline-offset:2px}


/* Broker cabinet */
.workspace-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e3e7e9;
}
.workspace-identity .workspace-profile {
  flex: 1 1 145px;
  grid-template-columns: 36px minmax(0, 1fr);
}
.workspace-identity .workspace-profile > span:nth-child(2) { display: block; min-width: 0; }
.workspace-identity #accountName { display: block; }
.workspace-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #dedbd1;
  border-radius: 10px;
  background: #fffdf8;
  color: #102b3c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.workspace-card-link[hidden] { display: none; }
.workspace-identity + .workspace-shortcuts,
.workspace-tools { margin-top: 16px; }
.workspace-shortcuts .workspace-label {
  margin: 0;
  font: 600 12px/1.4 system-ui, sans-serif;
  color: #6b5736;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.workspace-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.workspace-pair .workspace-row {
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 7px;
  padding-inline: 9px;
  font-size: 14px;
}
.workspace-tools .workspace-scout { margin-top: 0; }
#accountSignedIn .workspace-settings {
  margin-top: 12px;
  border-top: 1px solid #e3e7e9;
}
.account-panel #accountSignedIn #referralDashboard {
  margin-top: 0;
  padding-top: 0;
  border-radius: 0;
}
