:root {
  --mesto-aqua:#87ced2;
  --mesto-ink:#192b39;
  --mesto-paper:#fbfaf7;
  --mesto-rule:#d9e3e2;
}
html body:has(#platform.active), html body:has(#dashboard.active), body.agent-paper {
  background:var(--mesto-paper)!important;color:var(--mesto-ink)!important;
}
html body:has(#platform.active,#dashboard.active,#platform) header.top {
  background:var(--mesto-paper)!important;border-radius:0!important;
  border-bottom:1px solid var(--mesto-rule)!important;box-shadow:none!important;
}
html body:has(#platform.active,#dashboard.active,#platform) header.top .logo,
html body #platform .growth-home :is(h1,h2),
html body #dashboard .page-head h2,.agent-paper h1,.agent-paper h2 {
  font-family:Georgia,'Times New Roman',serif!important;font-weight:500!important;
  color:var(--mesto-ink)!important;letter-spacing:-.035em!important;
}
html body:has(#platform.active,#dashboard.active,#platform) header.top .logo {font-size:28px!important;gap:8px}
html body:has(#platform.active,#dashboard.active,#platform) header.top .mark {
  background:var(--mesto-aqua)!important;color:var(--mesto-ink)!important;border-radius:7px!important
}
html body:has(#platform.active,#dashboard.active,#platform) header.top nav.modes :is(a,button),
html body:has(#platform.active,#dashboard.active,#platform) header.top .actions :is(a,button) {
  background:transparent!important;color:var(--mesto-ink)!important;box-shadow:none!important;
  border-radius:0!important;text-decoration:none!important;
}
html body:has(#platform.active,#dashboard.active,#platform) header.top nav.modes [data-screen].active,
html body:has(#platform.active,#dashboard.active,#platform) header.top nav.modes :is(a,button):hover {
  background:transparent!important;color:#163744!important;box-shadow:inset 0 -3px var(--mesto-aqua)!important
}
html body:has(#platform.active,#dashboard.active,#platform) header.top nav.modes #mestoAgentLink {
  background:#e3f2f1!important;color:var(--mesto-ink)!important;border-radius:9px!important;box-shadow:none!important
}
#mestoAgentLink::before {background:#377078}
html body #platform .growth-actions .btn.lime,html body #dashboard .btn.lime,
.agent-paper button:not(.secondary):not(:disabled) {
  color:var(--mesto-ink)!important;background:var(--mesto-aqua)!important;
  border:0!important;box-shadow:0 2px 4px #18374120,inset 0 1px #ffffff55!important
}
html body #platform .growth-switch a {border-color:var(--mesto-aqua)!important}
html body #platform .growth-actions .btn.light,.agent-paper .secondary {
  background:#fff!important;color:var(--mesto-ink)!important;box-shadow:0 2px 5px #16344318!important
}
.agent-paper .status,.agent-paper .file {background:#e2f2f2;color:#22444d}
.agent-paper .card {border-color:var(--mesto-rule);box-shadow:0 3px 15px #223f4508}
@media(max-width:650px){
 html body:has(#platform.active,#dashboard.active,#platform) header.top nav.modes.modes {gap:2px 8px!important;border-top:1px solid var(--mesto-rule);padding-top:6px!important}
}

#agentConcierge {margin:0 0 28px;color:#192b39}
.concierge-hero {padding:clamp(22px,4vw,48px);border-radius:22px;background:linear-gradient(115deg,#e5f5f3,#f5f8f5 80%);box-shadow:0 4px 18px #2749480b}
.concierge-label {color:#275d63;font:650 14px/1.4 system-ui}
#agentConcierge .concierge-hero h2 {font:500 clamp(26px,4vw,46px)/1.12 Georgia,serif;letter-spacing:-.035em;margin:16px 0 22px;color:#192b39}
.concierge-hero a {display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border-radius:10px;background:#87ced2;color:#182d38;text-decoration:none;font-weight:650;box-shadow:0 2px 5px #1e444622}
.concierge-bar {display:flex;align-items:center;justify-content:space-between;margin:16px 0 8px}
.concierge-bar h3 {margin:0}.concierge-bar button {background:transparent;color:#225860;border:0;min-height:44px;cursor:pointer}
.concierge-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.concierge-grid figure {margin:0;min-width:0}.concierge-grid img {display:block;width:100%;height:clamp(78px,12vw,145px);object-fit:cover;border-radius:10px}
.concierge-grid figcaption {font-size:13px;margin-top:6px;overflow-wrap:anywhere}
@media(max-width:480px){.concierge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* The public landing has one destination in its masthead. */
.public-cabinet-entry {display:none}
html body:has(#platform.active) header.top.top {
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  padding:14px clamp(16px,4vw,64px)!important;gap:12px!important;
}
html body:has(#platform.active) header.top.top :is(.modes,.actions) {display:none!important}
html body:has(#platform.active) header.top.top .logo {order:0!important;margin:0!important}
html body:has(#platform.active) header.top.top .public-cabinet-entry {
  display:inline-flex!important;order:1;align-items:center;min-height:44px;
  padding:0 8px;font:600 14px/1.25 system-ui;color:#233b44;text-decoration:none;
}
.public-cabinet-entry:hover {text-decoration:underline!important;text-underline-offset:4px}
html body #platform .growth-hero .growth-switch,
html body #platform .growth-hero .growth-actions a.light {display:none!important}
html body #platform .growth-hero {gap:clamp(22px,5vw,76px);padding-block:clamp(32px,7vw,100px)}
html body #platform .growth-hero h1 {font-size:clamp(40px,5.6vw,78px);line-height:1.02}
html body #platform .growth-hero .growth-preview {border:0;background:#e4f2f1!important;border-radius:20px;padding:clamp(10px,2vw,24px);box-shadow:none!important}
html body #platform .growth-terms {margin-bottom:24px}
html body:has(#platform.active) header.top.top .actions {display:flex!important;order:1;margin-inline-start:auto!important}
html body:has(#platform.active) header.top.top .actions > :not(:has(.language-select)):not(.header-language):not([class*="language"]):not([id*="anguage"]) {display:none!important}
html body:has(#platform.active) header.top.top .public-cabinet-entry {order:2}
html body:has(#platform) header.top .logo .mark {display:grid!important;place-items:center!important;box-sizing:border-box!important;width:32px!important;height:32px!important;flex:0 0 32px!important;padding:0!important;font:700 21px/1 Arial,sans-serif!important;letter-spacing:0!important;text-indent:0!important}
#platform .story-preview {display:block;text-decoration:none;color:#192b39}
html body #platform :is(.story-preview,.story-panel) :is(.buyer,.reply) {width:fit-content;max-width:85%;padding:9px 15px;border-radius:14px;background:white;color:#203542;margin:12px 0;font-size:16px}
html body #platform :is(.story-preview,.story-panel) .reply {background:#bce4e4;margin-left:auto}
.story-tabs {display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.story-tabs button,.story-next {min-height:44px;padding:8px 16px;background:#eef4f3;color:#163640;border:0;border-radius:10px;cursor:pointer}
.story-tabs button[aria-pressed=true],.story-next {background:#87ced2}
.story-panel {background:#f1f7f6;padding:clamp(16px,3vw,32px);border-radius:16px}
.story-profit {font:500 34px Georgia,serif}
