/* Atlas product surfaces: one type scale, one blue, and room for the property. */
body.is-v2 {
  --ui-ink:#17263f; --ui-muted:#66758b; --ui-blue:#2449dc;
  --ui-line:#dfe5ef; --ui-tint:#f1f5fc;
  --ui-shadow:0 4px 18px #172b4a12,0 1px 3px #172b4a08;
  font-family:"IBM Plex Sans",system-ui,sans-serif; -webkit-font-smoothing:antialiased;
}
body.is-v2 #app { letter-spacing:0; color:var(--ui-ink); }
body.is-v2 :is(button,a,input,summary) { -webkit-tap-highlight-color:transparent; }
body.is-v2 :is(button,[role=button]) { box-shadow:none; }
body.is-v2 :is(button,a,summary):focus-visible { outline:2px solid var(--ui-blue); outline-offset:3px; }
body.is-v2 :is(.v2-topbar,.v2-mbar,.v2-rail,.v2-navctl,.atlas-collection-actions) {
  background:#fffffff5; border:1px solid #ffffffb8; box-shadow:var(--ui-shadow);
  color:var(--ui-ink); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
}
body.is-v2 .v2-topbar { left:16px;right:16px;top:16px;height:60px;min-height:60px;border-radius:16px;padding:0 12px;gap:12px; }
body.is-v2 .v2-brand { width:84px;padding:0;height:44px; }
body.is-v2 .v2-brand-logo { width:80px;height:38px;object-fit:contain; }
body.is-v2 .v2-topbar-sep { display:none; }
body.is-v2 .v2-search { flex:1 1 300px;max-width:440px;min-width:100px; }
body.is-v2 .v2-search-field { height:40px;border:1px solid transparent;border-radius:10px;background:#f0f3f9;box-shadow:none;padding:0 12px; }
body.is-v2 .v2-search-field:focus-within { border-color:#7895ee;background:#fff;box-shadow:0 0 0 3px #2449dc10; }
body.is-v2 #v2SearchInput { font-size:14px;letter-spacing:0;color:var(--ui-ink); }
body.is-v2 .v2-topbar :is(.v2-btn-secondary,.v2-btn-primary,.v2-burger,.v2-dd-toggle) { min-height:40px;border-radius:10px;font-size:13px;font-weight:500;letter-spacing:0;border:0;box-shadow:none; }
body.is-v2 .v2-topbar .v2-btn-secondary { color:var(--ui-muted);background:transparent;padding:0 12px; }
body.is-v2 .v2-topbar #v2UploadBtn { background:var(--ui-blue);color:#fff;padding:0 16px; }
body.is-v2 .v2-topbar .v2-burger { width:40px;min-width:40px;background:transparent; }
body.is-v2 .v2-topbar :is(.v2-btn-secondary,.v2-burger):hover { background:var(--ui-tint);color:var(--ui-blue); }
body.is-v2 :is(.v2-dd-menu,.v2-layers-menu,.v2-search-menu) { border:1px solid var(--ui-line);border-radius:14px;background:#fff;box-shadow:0 12px 40px #172b4a20;padding:8px; }
body.is-v2 :is(.v2-menu-opt,.v2-layers-menu button) { border-radius:8px;min-height:40px;padding:10px 12px;font-size:13px; }

/* Group related actions instead of scattering floating buttons. */
body.is-v2 .atlas-collection-actions { position:absolute;left:104px;top:88px;z-index:27;display:flex;gap:0;padding:4px;border-radius:14px; }
.atlas-collection-actions:not(:has(button:not([hidden]))) { display:none!important; }
body.is-v2.is-opportunity-tour .atlas-collection-actions { opacity:0;pointer-events:none; }
body.is-v2 .atlas-collection-actions :is(#hospitalityInventoryButton,#hospitalityMessageButton) {
  position:static;inset:auto;min-height:40px;padding:0 15px;border:0;border-radius:10px;
  background:transparent;color:var(--ui-ink);font:500 13px/1.4 "IBM Plex Sans",system-ui,sans-serif;
  letter-spacing:0;box-shadow:none;white-space:nowrap;
}
body.is-v2 .atlas-collection-actions #hospitalityMessageButton { color:var(--ui-blue); }
body.is-v2 .atlas-collection-actions button:hover { background:var(--ui-tint); }
body.is-v2 .atlas-collection-actions button[aria-expanded=true] { background:var(--ui-tint);color:var(--ui-blue); }
body.is-v2 .hp-message-status { left:104px;top:142px;font-size:13px; }

/* Familiar app navigation: quiet labels and one clear selected state. */
body.is-v2 #v2Rail { left:16px;width:72px;border-radius:16px;padding:6px;gap:2px; }
body.is-v2 #v2Rail .v2-rail-btn { width:58px;height:52px;border-radius:10px;gap:4px;color:var(--ui-muted); }
body.is-v2 #v2Rail .v2-rail-label { font-size:10px;line-height:1.2;font-weight:500;letter-spacing:0;text-transform:none; }
body.is-v2 #v2Rail .v2-rail-on { border:0;border-radius:10px;box-shadow:none;background:var(--ui-tint); }
body.is-v2 #v2Rail .v2-rail-btn:has(.v2-rail-on:not([hidden])) { color:var(--ui-blue);box-shadow:none; }
body.is-v2 #v2Rail .v2-rail-btn:hover { background:var(--ui-tint);color:var(--ui-blue); }

/* Essential map controls stay visible; additional camera tools are one tap away. */
body.is-v2 #navControls { position:absolute;right:16px;bottom:16px;left:auto;z-index:55;gap:2px;padding:4px;border-radius:14px; }
body.is-v2 #navControls .v2-nav-btn,body.is-v2 .atlas-map-more > summary {
  display:flex;align-items:center;justify-content:center;flex:none;width:40px;min-width:40px;height:40px;
  border:0;border-radius:10px;background:transparent;color:var(--ui-muted);box-shadow:none;font-size:17px;cursor:pointer;
}
body.is-v2 #navControls .v2-nav-btn:hover,body.is-v2 .atlas-map-more > summary:hover { background:var(--ui-tint);color:var(--ui-blue); }
body.is-v2 #navControls .v2-nav-n { color:var(--ui-blue);font-size:13px;font-weight:600; }
.atlas-map-more { position:relative;border:0;padding:0;margin:0; }
.atlas-map-more > summary { list-style:none; }
.atlas-map-more > summary::-webkit-details-marker { display:none; }
.atlas-map-extra { position:absolute;right:0;bottom:54px;display:grid;grid-template-columns:repeat(3,44px);gap:4px;padding:12px;border:1px solid var(--ui-line);border-radius:14px;background:#fff;box-shadow:0 12px 40px #172b4a20; }
.atlas-map-extra-title { grid-column:1/-1;font-size:11px;font-weight:500;color:var(--ui-muted);padding:0 2px 4px;white-space:nowrap; }
body.is-v2 #navControls .atlas-map-extra .v2-nav-btn { width:44px;height:44px; }
body.is-v2 #lgLayersMenu { bottom:74px;right:16px;z-index:56; }

/* A single investment tray replaces the split title card and financial card. */
body.is-almaro-collection.has-investment-hud:not(.is-investment-details-open) .hp-almaro-card { display:none!important; }
body.is-almaro-collection.has-investment-hud:not(.is-investment-details-open) #atlasInvestmentHUD {
  position:fixed;left:50%;right:auto;bottom:82px;transform:translateX(-50%);
  width:min(680px,calc(100vw - 208px));max-width:none;padding:16px 20px 14px;border-radius:18px;
  border:1px solid #ffffffcc;background:#fffffff5;box-shadow:0 8px 36px #172b4a20;
  color:var(--ui-ink);font-family:"IBM Plex Sans",system-ui,sans-serif;
}
body.is-almaro-collection #atlasInvestmentHUD .ih-mobile-head { display:flex;align-items:center;gap:16px;margin-bottom:12px; }
body.is-almaro-collection #atlasInvestmentHUD .ih-property { font:500 17px/1.3 "IBM Plex Sans",system-ui,sans-serif;color:var(--ui-ink);letter-spacing:-.025em; }
body.is-almaro-collection #atlasInvestmentHUD .ih-details { min-height:36px;padding:8px 12px;border:1px solid var(--ui-line);border-radius:9px;background:#fff;color:var(--ui-blue);font:500 12px/1.4 "IBM Plex Sans",system-ui,sans-serif; }
body.is-almaro-collection #atlasInvestmentHUD .ih-top { margin:0 0 14px;gap:12px; }
body.is-almaro-collection #atlasInvestmentHUD .ih-title { text-transform:none;letter-spacing:0;font-size:12px;font-weight:400;color:var(--ui-muted); }
body.is-almaro-collection #atlasInvestmentHUD .ih-scenarios { border:0;border-radius:9px;padding:3px;background:var(--ui-tint);gap:2px; }
body.is-almaro-collection #atlasInvestmentHUD .ih-scenarios button { min-height:28px;padding:4px 9px;border-radius:6px;box-shadow:none;font:500 11px/1.4 "IBM Plex Sans",system-ui,sans-serif;color:var(--ui-muted); }
body.is-almaro-collection #atlasInvestmentHUD .ih-scenarios button[aria-pressed=true] { background:#fff;color:var(--ui-blue);box-shadow:0 1px 4px #172b4a14; }
body.is-almaro-collection #atlasInvestmentHUD .ih-numbers { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px; }
body.is-almaro-collection #atlasInvestmentHUD .ih-metric { gap:5px; }
body.is-almaro-collection #atlasInvestmentHUD .ih-label { text-transform:none;letter-spacing:0;font-size:11px;font-weight:400;color:var(--ui-muted); }
body.is-almaro-collection #atlasInvestmentHUD .ih-metric strong { font:500 clamp(20px,2.2vw,28px)/1.15 "IBM Plex Sans",system-ui,sans-serif;letter-spacing:-.045em;color:var(--ui-ink); }
body.is-almaro-collection #atlasInvestmentHUD .ih-total strong { color:var(--ui-blue); }
body.is-almaro-collection #atlasInvestmentHUD .ih-metric small { font-size:10px;line-height:1.35;color:var(--ui-muted); }
body.is-almaro-collection #atlasInvestmentHUD .ih-note { font-size:11px;line-height:1.4;color:var(--ui-muted);margin-top:14px; }
body.is-almaro-collection #atlasInvestmentHUD .ih-model-note { color:var(--ui-muted);font-size:11px; }
body.is-almaro-collection.is-investment-details-open #atlasInvestmentHUD .ih-top,
body.is-almaro-collection.is-investment-details-open #atlasInvestmentHUD .ih-numbers,
body.is-almaro-collection.is-investment-details-open #atlasInvestmentHUD .ih-note { display:none; }

/* Read the letter, then choose one action. */
body.is-v2 .br-review { border-radius:18px;border-color:var(--ui-line);box-shadow:0 20px 80px #172b4a30;color:var(--ui-ink); }
body.is-v2 .br-review::backdrop { background:#15264312;backdrop-filter:blur(4px); }
.br-review .br-eyebrow { display:none; }
.br-review .br-header { padding:24px 72px 18px 24px; }
.br-review .br-header h2 { font-size:23px;line-height:1.25;letter-spacing:-.035em;margin:0 0 5px; }
.br-review .br-close { background:var(--ui-tint);font-weight:300; }
.br-review .br-navigation { justify-content:space-between;gap:12px;padding:8px 0; }
.br-review :is(.br-next,.br-prev) { background:transparent;border-color:var(--ui-line);box-shadow:none; }
.br-review .br-counter { font-size:12px;color:var(--ui-muted); }
.br-review .br-content { padding-bottom:18px; }
.br-review .hp-outreach-body { line-height:1.7;font-size:15px; }
.br-review .br-footer { display:block;padding:16px 24px;background:#fff;max-height:none;overflow:visible; }
.br-primary-action { display:flex;align-items:center;gap:12px; }
.br-primary-action .hp-button-primary { min-height:44px;border-radius:10px;background:var(--ui-blue);font-size:13px;padding:10px 16px; }
.br-primary-action .hp-muted { color:var(--ui-muted);font-size:11px; }
.br-property-actions { display:flex;flex-wrap:wrap;column-gap:16px;margin-top:6px; }
.br-review .br-property-actions .br-view-property { min-height:36px;font-size:11px;padding:8px 0; }

@media(max-width:1040px) and (min-width:769px) {
  body.is-v2 .v2-topbar-flex { display:none; }
  body.is-v2 .v2-topbar-actions { margin-left:auto; }
}
body.is-almaro-collection.is-investment-details-open #atlasInvestmentHUD { display:none; }
body.is-almaro-collection.is-investment-details-open #v2DealCard .hp-details-toggle { display:flex; }

/* Required provider text belongs at the map edge, without another UI box. */
body.is-local-design-preview .am-attribution { display:none!important; }
body.is-v2 .v2-map .am-attribution--plain {
  display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 6px;padding:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  color:#25354a;text-shadow:0 1px 2px #fff,0 -1px 2px #fff,1px 0 2px #fff,-1px 0 2px #fff;
}
body.is-v2 .am-attribution--plain .am-brand { display:inline;font-size:13px;font-weight:500;line-height:1.4; }
body.is-v2 .am-attribution--plain .cesium-credit-textContainer { text-shadow:inherit!important; }
body.is-v2 .v2-map .am-attribution--plain .map-credits {
  position:static!important;inset:auto!important;width:auto!important;max-width:100%!important;
  padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
  line-height:1.4;overflow-wrap:anywhere;
}
@media(max-width:768px) {
  body.is-v2 #app { --mbar-h:calc(60px + env(safe-area-inset-top,0px));--mtab-h:calc(64px + env(safe-area-inset-bottom,0px)); }
  body.is-v2 .v2-topbar { display:none; }
  body.is-v2 #v2Mbar { height:var(--mbar-h);left:0;right:0;top:0;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;padding:env(safe-area-inset-top,0px) 14px 0;gap:8px;box-shadow:0 2px 10px #172b4a08; }
  body.is-v2 .v2-mbrand { width:80px;min-width:80px; }
  body.is-v2 .v2-mbrand-logo { width:78px;height:36px;object-fit:contain; }
  body.is-v2 .v2-mfilter { min-width:0;flex:1;border:0;background:var(--ui-tint);border-radius:10px;height:38px;font-size:11px;padding:0 10px; }
  body.is-v2 .v2-micon { width:44px;min-width:44px;height:44px;border:0;background:transparent;border-radius:10px; }
  body.is-v2 .atlas-collection-actions { position:fixed;left:12px;right:auto;top:calc(72px + env(safe-area-inset-top,0px));border-radius:13px;padding:3px; }
  body.is-v2 .atlas-collection-actions :is(#hospitalityInventoryButton,#hospitalityMessageButton) { min-height:44px;font-size:12px;padding:0 13px; }
  body.is-almaro-collection #hospitalityInventoryButton:not([hidden]) { display:block!important; }
  body.is-v2 .hp-message-status { left:12px;right:12px;top:121px; }
  body.is-v2 #v2Rail { left:0;right:0;top:auto;bottom:0;width:auto;height:calc(64px + env(safe-area-inset-bottom,0px));padding:4px 8px calc(4px + env(safe-area-inset-bottom,0px));border-radius:0;border:0;border-top:1px solid var(--ui-line);box-shadow:0 -2px 12px #172b4a08; }
  body.is-v2 #v2Rail .v2-rail-btn { width:auto;flex:1;height:52px;min-height:52px;gap:4px; }
  body.is-v2 #v2Rail .v2-rail-label { font-size:10px; }
  body.is-v2 #v2Rail .v2-rail-btn:has(.v2-rail-on:not([hidden])) { background:var(--ui-tint); }
  body.is-v2 #navControls { display:none; }
  body.is-almaro-collection.has-investment-hud:not(.is-investment-details-open) #atlasInvestmentHUD { left:12px;right:12px;bottom:110px;transform:none;width:auto;padding:14px 16px 12px;border-radius:16px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-mobile-head { gap:8px;margin-bottom:10px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-property { font-size:15px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-details { min-height:36px;font-size:11px;padding:7px 10px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-top { gap:6px;margin-bottom:12px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-title { font-size:11px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-scenarios button { min-height:28px;font-size:10px;padding:4px 7px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-numbers { gap:9px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-label { font-size:10px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-metric strong { font-size:clamp(18px,5.2vw,24px); }
  body.is-almaro-collection #atlasInvestmentHUD .ih-metric small { font-size:10px; }
  body.is-almaro-collection #atlasInvestmentHUD .ih-note { font-size:11px;margin-top:12px; }
  body.is-v2 .v2-map .am-attribution { bottom:72px;border-radius:7px; }
  .br-review .br-header { padding:20px 64px 16px 20px; }
  .br-review .br-footer { padding:12px 20px; }
  .br-primary-action { gap:10px; }
  .br-primary-action .hp-muted { max-width:100px;line-height:1.4; }
}
@media(max-height:540px) {
  .br-review .br-header { padding:10px 64px 8px 20px; }
  .br-review .br-header h2 { font-size:20px;margin:0; }
  .br-review .br-navigation { padding:4px 0; }
  .br-review .br-footer { padding:8px 20px;display:flex;align-items:center;gap:16px; }
  .br-primary-action { flex:none; }
  .br-primary-action .hp-muted { display:none; }
  .br-property-actions { margin:0; }
}
@media(prefers-reduced-motion:no-preference) {
  body.is-v2 :is(.v2-rail-btn,.hp-button,.v2-nav-btn,.ih-details,.ih-scenarios button) { transition:background-color .15s ease,color .15s ease; }
}
