/* -------------------------------------------------------------
   QUIET LUXURY MARKET INTELLIGENCE & VALUATION DOSSIER
   Route: /chi-so-thi-truong
   ------------------------------------------------------------- */

#content.mkt-page {
  padding-bottom: 96px;
  background-color: #ffffff !important;
  color: #0e2a26;
}

#content.mkt-page .mkt {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 36px 16px 0;
}

@media (min-width: 1024px) {
  #content.mkt-page .mkt {
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 32px;
  }
}

/* ---------- Breadcrumb & Eyebrow ---------- */

/* ---------- 1. Full-Viewport Hero Header & Launch Button ---------- */

.mkt-hero {
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 80rem;
  min-height: calc(100vh - var(--header-height, 68px));
  margin: calc(var(--header-height, 68px) - var(--page-offset, 104px)) auto 0;
  padding: 40px 16px;
  background: #ffffff;
}

@media (min-width: 768px) {
  .mkt-hero {
    padding: 26px 32px;
  }
}

@media (min-width: 1024px) {
  #content.mkt-page .mkt {
    padding-top: 0;
  }

  .mkt-hero {
    height: auto;
    max-width: none;
    min-height: calc(100vh - var(--header-height, 68px));
    margin-top: calc(var(--header-height, 68px) - var(--page-offset, 104px));
    margin-left: auto;
    margin-right: auto;
    padding: 26px 0;
    overflow: visible;
    align-items: stretch;
  }

  .mkt-hero__grid {
    flex: 1 1 auto;
    width: 100%;
  }
}

.mkt-hero__grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .mkt-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 32fr) minmax(0, 68fr);
    column-gap: 48px;
    row-gap: 24px;
    align-items: stretch;
  }
}

.mkt-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mkt-hero__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

@media (min-width: 1024px) {
  .mkt-hero__grid {
    height: auto;
    align-items: stretch;
  }

  .mkt-hero__left,
  .mkt-hero__right {
    padding: 0;
    min-height: 0;
  }

  .mkt-hero__left {
    justify-content: flex-start;
    height: 100%;
  }

  #content.mkt-page .mkt-hero__left .mkt-lead {
    margin-bottom: 0 !important;
  }

  #content.mkt-page .mkt-hero__left .mkt-macro {
    margin-top: auto;
    margin-bottom: 18px;
  }

  #content.mkt-page .mkt-hero__left .mkt-hero__cta {
    margin-top: 0;
  }

  .mkt-hero__right {
    margin: 0;
    align-self: stretch;
    justify-content: stretch;
  }

  .mkt-hero__right .mkt-showcase {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
  }
}

#content.mkt-page .kd-breadcrumb {
  margin: 0 0 20px !important;
  color: #78716c !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  letter-spacing: 0.18em !important;
  line-height: 1.6 !important;
  text-align: left;
  text-transform: uppercase !important;
  -webkit-font-smoothing: antialiased;
}

#content.mkt-page .kd-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  justify-content: flex-start;
  list-style: none !important;
}

#content.mkt-page .kd-breadcrumb__item {
  list-style: none !important;
  display: inline-flex;
  align-items: center;
}

#content.mkt-page .kd-breadcrumb a,
#content.mkt-page .kd-breadcrumb a:visited {
  color: #78716c !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

#content.mkt-page .kd-breadcrumb a:hover {
  color: #0e2a26 !important;
}

#content.mkt-page .kd-breadcrumb [aria-current="page"] {
  color: #9e8a78 !important;
}

#content.mkt-page .kd-breadcrumb .kd-breadcrumb__item + .kd-breadcrumb__item::before {
  content: "/";
  margin: 0 10px;
  color: rgba(120, 113, 108, 0.45);
}

#content.mkt-page .mkt-eyebrow {
  margin: 0 0 18px !important;
  color: #bfa37c !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.24em !important;
  line-height: 1.4 !important;
  text-align: left;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}

.mkt-hero h1 {
  max-width: 100%;
  margin: 0 0 28px;
  color: #0e2a26;
  font-family: "Playfair Display", "DM Serif Text", Georgia, serif;
  font-size: clamp(32px, 2.7vw, 48px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.16;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.mkt-hero__br {
  display: none;
}

@media (min-width: 640px) {
  .mkt-hero__br {
    display: inline;
  }
}

.mkt-hero .mkt-lead {
  max-width: 38rem;
  margin: 0 0 22px !important;
  color: #57534e;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.85 !important;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

/* Macro benchmark tickers sit above the map CTA */
#content.mkt-page .mkt-macro {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  width: 100%;
  margin: 0 0 8px;
}

#content.mkt-page .mkt-macro__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px !important;
  color: #a8a29e !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

#content.mkt-page .mkt-macro__pulse {
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #059669;
  box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.45);
  animation: mkt-macro-pulse 1.8s ease-in-out infinite;
}

#content.mkt-page .mkt-macro__live {
  color: #059669;
  letter-spacing: 0.14em;
}

#content.mkt-page .mkt-macro__row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#content.mkt-page .mkt-macro__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e7e5e4;
  border-radius: 0;
  box-shadow: none;
}

#content.mkt-page .mkt-macro__item:last-child {
  border-bottom: 0;
}

#content.mkt-page .mkt-macro__id {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  min-width: min-content;
  gap: 2px;
}

#content.mkt-page .mkt-macro__symbol {
  color: #1c1917;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

#content.mkt-page .mkt-macro__sub {
  color: #a8a29e;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
  white-space: nowrap;
}

#content.mkt-page .mkt-macro__spark {
  display: block;
  flex: 0 0 96px;
  width: 96px;
  max-width: 96px;
  height: 24px;
  min-width: 0;
  margin-left: auto;
  overflow: visible;
}

#content.mkt-page .mkt-macro__spark-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#content.mkt-page .mkt-macro__quote {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  min-width: min-content;
  gap: 2px;
  text-align: right;
}

#content.mkt-page .mkt-macro__value {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

#content.mkt-page .mkt-macro__trend {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#content.mkt-page .mkt-macro__item[data-tone="gold"] .mkt-macro__trend,
#content.mkt-page .mkt-macro__item[data-tone="up"] .mkt-macro__trend {
  color: #047857;
}

#content.mkt-page .mkt-macro__item[data-tone="gold"] .mkt-macro__spark-line {
  stroke: #b45309;
}

#content.mkt-page .mkt-macro__item[data-tone="up"] .mkt-macro__spark-line {
  stroke: #047857;
}

#content.mkt-page .mkt-macro__item[data-tone="flat"] .mkt-macro__trend {
  color: #78716c;
}

#content.mkt-page .mkt-macro__item[data-tone="flat"] .mkt-macro__spark-line {
  stroke: #57534e;
}

@keyframes mkt-macro-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.35);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.82);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0);
  }
}

@media (max-width: 640px) {
  #content.mkt-page .mkt-macro__item {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #content.mkt-page .mkt-macro__pulse {
    animation: none;
  }

  #content.mkt-page .mkt-macro__item {
    transition: none;
  }
}

/* Hero Primary Launch Button */
.mkt-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 0;
  padding: 16px 32px;
  background-color: #003d45;
  color: #ffffff !important;
  border: 1px solid #003d45;
  border-radius: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 61, 69, 0.12);
  transition: all 0.3s ease-in-out;
}

.mkt-hero__cta:hover,
.mkt-hero__cta:focus-visible {
  background-color: #0c4346;
  border-color: #0c4346;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 61, 69, 0.18);
}

.mkt-hero__cta svg {
  transition: transform 0.3s ease-in-out;
}

.mkt-hero__cta:hover svg,
.mkt-hero__cta:focus-visible svg {
  transform: translate(2px, -2px);
}

/* ---------- Hero Practical Market Benchmarks ---------- */

.mkt-benchmarks {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .mkt-benchmarks {
    max-width: none;
    padding-left: 32px;
    border-left: 1px solid rgba(231, 229, 228, 0.6);
  }
}

.mkt-benchmark-block {
  border-bottom: 1px solid rgba(231, 229, 228, 0.6);
  padding-bottom: 22px;
  margin-bottom: 22px;
}

.mkt-benchmark-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.mkt-benchmark-kicker {
  margin: 0 0 12px !important;
  padding: 0;
  border: 0;
  background: none;
  color: #c5a880 !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-synthesis: none;
  letter-spacing: 0.15em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
  -webkit-font-smoothing: antialiased;
}

.mkt-benchmark-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mkt-benchmark-row {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(8.5rem, auto) 172px;
  align-items: center;
  column-gap: 14px;
}

.mkt-benchmark-name {
  color: #44403c;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.mkt-benchmark-name small {
  display: block;
  font-size: 11.5px;
  color: #8c827a;
  margin-top: 1px;
}

.mkt-benchmark-val {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  color: #083333;
  font-family: "Be Vietnam Pro", sans-serif;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  justify-self: end;
}

.mkt-benchmark-val strong {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #083333;
  letter-spacing: 0.02em;
}

.mkt-benchmark-val strong.mkt-benchmark-val--gold {
  color: #083333;
}

.mkt-benchmark-val small {
  font-size: 12px;
  color: #78716c;
  font-weight: 400;
}

.mkt-benchmark-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-radius: 2px;
  background-color: #faf8f5;
  color: #57534e;
  font-style: normal;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  font-synthesis: none;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 4px 10px;
}

@media (max-width: 720px) {
  .mkt-benchmark-row {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 8px;
  }

  .mkt-benchmark-name {
    grid-column: 1 / -1;
  }

  .mkt-benchmark-tag {
    width: auto;
    justify-self: end;
  }
}

.mkt-benchmark-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13.5px;
  color: #57534e;
  line-height: 1.5;
}

.mkt-benchmark-meta__highlight {
  font-family: "Montserrat", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0e2a26;
}

.mkt-benchmark-meta__sep {
  color: #bfa37c;
  font-size: 14px;
  line-height: 1;
}

.mkt-benchmark-meta__text {
  color: #78716c;
  font-size: 13px;
  font-weight: 300;
}

/* ---------- 1. Full-Width Bleed Satellite Map Stage (h: 640px) ---------- */

.mkt-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 640px;
  background: #0f1c1a;
  border: 1px solid #EDEAE5;
  box-shadow: 0 8px 32px rgba(14, 42, 38, 0.07);
  overflow: hidden;
}

.mkt-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 400;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.25);
}

.mkt-map {
  width: 100%;
  height: 100%;
  background: #0f1c1a;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mkt-map .leaflet-pane,
.mkt-map .leaflet-top,
.mkt-map .leaflet-bottom {
  z-index: 2;
}

.mkt-map .leaflet-tile-pane {
  filter: brightness(0.92) contrast(1.06) saturate(1.05);
}

.mkt-map .leaflet-control-zoom {
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  border-radius: 0 !important;
  overflow: hidden;
  margin-right: 20px !important;
  margin-bottom: 20px !important;
  z-index: 500 !important;
}

.mkt-map .leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0e2a26 !important;
  border-bottom: 1px solid #EDEAE5 !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 15px;
  transition: background 0.2s ease;
}

.mkt-map .leaflet-control-zoom a:hover {
  background: #ffffff !important;
  color: #000000 !important;
}

.mkt-map .leaflet-control-attribution {
  background: rgba(14, 42, 38, 0.85) !important;
  color: #d6d3d1 !important;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 10px;
  padding: 2px 8px !important;
}

.mkt-map .leaflet-control-attribution a {
  color: #bfa37c !important;
}

/* ---------- Floating Frosted Bar (Top-Left) ---------- */

.mkt-toolbar {
  position: absolute;
  z-index: 500;
  top: 20px;
  left: 24px;
  right: auto;
  max-width: calc(100% - 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(231, 229, 228, 0.85);
  border-radius: 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18), 0 1px 3px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.mkt-toolbar > * {
  pointer-events: auto;
}

.mkt-toolbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Category Filter Tabs: strictly aligned with /san-pham */
.mkt-seg {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
}

.mkt-seg button {
  position: relative;
  margin: 0;
  padding: 6px 0 8px;
  border: 0;
  border-radius: 0;
  background: none;
  color: #a3a3a3;
  font-family: "Montserrat", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease;
  min-height: auto;
}

.mkt-seg button:hover {
  color: #0e2a26;
}

.mkt-seg button.is-active {
  color: #0e2a26;
  background: none;
  font-weight: 600;
}

.mkt-seg button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: #0e2a26;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.mkt-seg button.is-active::after {
  transform: scaleX(1);
}

/* Search input & District Select inside toolbar */
.mkt-search-wrap,
.mkt-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mkt-search-wrap svg.mkt-search-icon {
  position: absolute;
  left: 10px;
  width: 14px;
  height: 14px;
  color: #a8a29e;
  pointer-events: none;
}

.mkt-select-wrap svg.mkt-select-chevron {
  position: absolute;
  right: 12px;
  width: 10px;
  height: 6px;
  color: #78716c;
  pointer-events: none;
}

.mkt-toolbar input[type="search"] {
  height: 36px;
  width: 190px;
  padding: 0 12px 0 32px;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #0e2a26;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mkt-toolbar input[type="search"]:focus {
  outline: none;
  border-color: #bfa37c;
  box-shadow: 0 0 0 2px rgba(191, 163, 124, 0.2);
}

.mkt-toolbar input[type="search"]::placeholder {
  color: #a8a29e;
  font-weight: 300;
}

.mkt-toolbar select {
  height: 36px;
  min-width: 155px;
  padding: 0 28px 0 12px;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #0e2a26;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mkt-toolbar select:focus {
  outline: none;
  border-color: #bfa37c;
  box-shadow: 0 0 0 2px rgba(191, 163, 124, 0.2);
}

.mkt-empty {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid #EDEAE5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  color: #78716c;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 300;
}

/* ---------- 2. Quiet Luxury Radar Pins ---------- */

.mkt-pin {
  background: transparent !important;
  border: none !important;
}

.mkt-pin-marker {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), z-index 0.2s ease;
  z-index: 10;
}

.mkt-pin-marker:hover,
.mkt-pin.is-active .mkt-pin-marker {
  transform: translate(-50%, -50%) scale(1.25);
  z-index: 999;
}

/* Inner Core: Crisp 7px circular dot in warm champagne gold */
.mkt-pin-dot {
  position: relative;
  z-index: 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #C5A880;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 12px rgba(197, 168, 128, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mkt-pin.is-active .mkt-pin-dot,
.mkt-pin-marker:hover .mkt-pin-dot {
  background-color: #D4AF37;
  box-shadow: 0 0 0 1.5px #FFFFFF, 0 0 14px rgba(212, 175, 55, 0.9);
}

/* Outer ring: Delicate hairline halo */
.mkt-pin-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.55);
  animation: mkt-pulse 2.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes mkt-pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.85;
  }
  60% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Leaflet Popup: typographic inspection card */
.leaflet-popup.mkt-leaflet-popup .leaflet-popup-content-wrapper {
  background: #fff !important;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden;
}

.leaflet-popup.mkt-leaflet-popup .leaflet-popup-content {
  margin: 0 !important;
  width: 280px !important;
  line-height: normal;
}

.leaflet-popup.mkt-leaflet-popup .leaflet-popup-tip-container {
  display: none;
}

.leaflet-popup.mkt-leaflet-popup .leaflet-popup-close-button {
  top: 12px !important;
  right: 12px !important;
  width: 22px !important;
  height: 22px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #a8a29e !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  z-index: 10;
  transition: color 0.2s ease;
}

.leaflet-popup.mkt-leaflet-popup .leaflet-popup-close-button:hover {
  color: #44403c !important;
  background: transparent !important;
}

.mkt-card-pop {
  display: flex;
  flex-direction: column;
}

.mkt-card-pop__body {
  padding: 16px;
  text-align: left;
}

.mkt-card-pop__district {
  display: block;
  margin: 0 22px 4px 0;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  color: #BFA37C;
}

#content .mkt-card-pop__title,
.leaflet-popup.mkt-leaflet-popup .mkt-card-pop__title {
  display: block;
  margin: 0 18px 8px 0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.125rem !important;
  font-weight: 300 !important;
  font-synthesis: none;
  color: #003D45 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  cursor: pointer;
  transition: color 0.2s ease;
}

@media (min-width: 768px) {
  #content .mkt-card-pop__title,
  .leaflet-popup.mkt-leaflet-popup .mkt-card-pop__title {
    font-size: 1.25rem !important;
  }
}

#content .mkt-card-pop__title:hover,
.leaflet-popup.mkt-leaflet-popup .mkt-card-pop__title:hover {
  color: #B38E5D !important;
}

.mkt-card-pop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 12px 0 2px;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
}

.mkt-card-pop__item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mkt-card-pop__item:first-child {
  padding-right: 14px;
  border-right: 1px solid rgba(231, 229, 228, 0.8);
}

.mkt-card-pop__item:last-child {
  padding-left: 14px;
}

.mkt-card-pop__label {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #a8a29e;
}

.leaflet-popup.mkt-leaflet-popup .mkt-card-pop__val {
  display: block;
  margin-top: 4px;
  color: #083333;
  font-weight: 400;
  line-height: 1.25;
}

.leaflet-popup.mkt-leaflet-popup .mkt-card-pop__btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  color: #003D45 !important;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.mkt-card-pop__arrow {
  display: inline-block;
}

.leaflet-popup.mkt-leaflet-popup .mkt-card-pop__btn:hover {
  background: transparent !important;
  color: #003D45 !important;
  filter: none;
  text-decoration: underline;
}

/* Floating Fullscreen Map Button inside Map */
.mkt-fs-btn {
  position: absolute;
  z-index: 500;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #083333;
  color: #ffffff;
  border: none;
  outline: none;
  border-radius: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(8, 51, 51, 0.18);
  transition: all 0.3s ease-in-out;
}

.mkt-fs-btn:hover,
.mkt-fs-btn:focus-visible {
  background: #0c4346;
  border: none;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(8, 51, 51, 0.22);
}

/* Fullscreen Close Button: Editorial Action Style */
.mkt-fs-close {
  display: none;
  position: absolute;
  z-index: 9999;
  top: 24px;
  right: 28px;
  padding: 10px 20px;
  background: rgba(14, 42, 38, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
}

.mkt-fs-close:hover {
  background: #000000;
  border-color: #C5A880;
  color: #C5A880;
}

/* Fullscreen Map Stage Overlay */
body.mkt-locked {
  overflow: hidden !important;
}

.mkt-stage.is-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.mkt-stage.is-fullscreen .mkt-fs-btn {
  display: none;
}

.mkt-stage.is-fullscreen .mkt-fs-close {
  display: inline-flex;
}

/* ---------- Slide-over Detail Panel (Split 4:6 with Draggable Resizer) ---------- */

.mkt-drawer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40%;
  min-width: 320px;
  max-width: 55%;
  background: #ffffff;
  z-index: 600;
  box-shadow: 12px 0 32px rgba(0, 0, 0, 0.25);
  border-right: 1px solid #EDEAE5;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
  pointer-events: auto;
}

.mkt-stage.has-drawer-open .mkt-drawer {
  transform: translateX(0);
}

.mkt-stage.has-drawer-open .mkt-toolbar {
  left: auto;
  right: 24px;
}

.mkt-resizer {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40%;
  width: 10px;
  margin-left: -5px;
  z-index: 610;
  cursor: col-resize;
  align-items: center;
  justify-content: center;
}

.mkt-stage.has-drawer-open .mkt-resizer {
  display: flex;
}

.mkt-resizer__bar {
  width: 2px;
  height: 48px;
  background: #d6d3d1;
  border-radius: 2px;
  transition: background 0.2s ease, height 0.2s ease;
}

.mkt-resizer:hover .mkt-resizer__bar,
body.is-resizing .mkt-resizer__bar {
  background: #BFA37C;
  height: 72px;
  width: 3px;
}

body.is-resizing {
  cursor: col-resize !important;
  user-select: none !important;
}

/* Drawer Content Styling */
.mkt-drawer__inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #ffffff;
}

.mkt-drawer__top {
  position: relative;
  background: #0f1c1a;
}

.mkt-drawer__banner {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
}

.mkt-drawer__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.mkt-drawer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 42, 38, 0.7);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mkt-drawer__close:hover {
  background: #0e2a26;
  color: #D4AF37;
}

.mkt-drawer__heading {
  padding: 18px 24px 16px;
  background: #ffffff;
  border-bottom: 1px solid #EDEAE5;
}

.mkt-drawer__meta {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9e8a78;
  margin-bottom: 4px;
}

.mkt-drawer__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: #0e2a26;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.mkt-drawer__content {
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Core Metrics in Drawer: Borderless High-Contrast Editorial Typography */
.mkt-drawer__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(231, 229, 228, 0.5); /* border-stone-200/50 */
}

.mkt-dcard {
  padding: 0;
  background: transparent;
  border: none;
  text-align: left;
}

.mkt-dcard__label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8a29e; /* text-stone-400 */
  margin-bottom: 6px;
}

.mkt-dcard__val {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px; /* text-2xl */
  font-weight: 400; /* font-normal */
  color: #1c1917; /* text-stone-900 */
  line-height: 1.15;
}

.mkt-dcard__val--green {
  color: #15803d;
}

.mkt-dcard__val--gold {
  color: #C5A880;
}

/* Compact Line Chart in Drawer */
.mkt-drawer__chart-wrap {
  padding: 0 0 20px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(231, 229, 228, 0.5); /* border-stone-200/50 */
}

.mkt-drawer__chart-hdr {
  margin-bottom: 12px;
}

.mkt-drawer__chart-hdr span {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a8a29e;
}

.mkt-drawer__chart-box {
  height: 140px;
  width: 100%;
}

/* Simplified Investment Simulation (Clean alignment with generous row spacing) */
.mkt-drawer__sim {
  padding: 0 0 20px 0;
  border: none;
  border-bottom: 1px solid rgba(231, 229, 228, 0.5);
  background: transparent;
}

.mkt-drawer__sim-title {
  margin: 0 0 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0e2a26;
}

.mkt-drawer__sim-desc {
  margin: 0 0 16px;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #78716c;
}

.mkt-drawer__sim-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mkt-sim-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(231, 229, 228, 0.6);
}

.mkt-sim-row span {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  color: #57534e;
}

.mkt-sim-row strong {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0e2a26;
  font-variant-numeric: tabular-nums;
}

.mkt-sim-row--highlight {
  border-bottom: none;
  padding-top: 12px;
}

.mkt-sim-row--highlight span {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e2a26;
}

.mkt-sim-row--highlight strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #C5A880;
}

/* Drawer Bottom CTA */
.mkt-drawer__cta {
  margin-top: 8px;
}

.mkt-drawer__btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  background: #0e2a26;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(14, 42, 38, 0.2);
}

.mkt-drawer__btn-cta:hover {
  background: #000000;
  color: #f5d76e !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .mkt-hero {
    height: auto;
    min-height: calc(100vh - var(--header-height, 68px));
    margin-top: calc(var(--header-height, 68px) - var(--page-offset, 104px));
    padding: 26px 16px;
    overflow: visible;
    align-items: center;
    justify-content: center;
  }
  .mkt-drawer {
    width: 100% !important;
    max-width: 100% !important;
  }
  .mkt-resizer {
    display: none !important;
  }
}

/* ---------- 3. Pure White Background & Minimalist Financial Styling ---------- */

.mkt-trend__lower,
.mkt-dossier__lower {
  display: contents;
}

.mkt-analytics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 36px;
  max-width: 1360px;
  margin: 48px auto 0;
  padding: 0 24px;
  background-color: #ffffff !important;
}

.mkt-card {
  background: #ffffff !important;
  border: 1px solid #EDEAE5; /* Delicate hairline border-stone-150 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border-radius: 0;
  padding: 32px 32px 28px;
}

.mkt-card.mkt-yield,
.mkt-card.mkt-dossier {
  background: #ffffff !important;
  border: 1px solid #EDEAE5;
}

.mkt-card h2 {
  margin: 0 0 6px;
  color: #0e2a26;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.mkt-kicker {
  margin: 0 0 8px;
  color: #bfa37c;
  font-family: "Montserrat", sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.mkt-focus {
  margin: 0;
  color: #78716c;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
}

/* Trend Card Header */
.mkt-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 24px;
}

.mkt-pick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 200px;
  color: #78716c;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mkt-pick select {
  height: 34px;
  border: 0;
  border-bottom: 1px solid rgba(191, 163, 124, 0.5);
  border-radius: 0;
  background: transparent;
  color: #0e2a26;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  padding: 0 4px;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.mkt-pick select:focus {
  outline: none;
  border-bottom-color: #0e2a26;
}

/* Key Metrics 3-Col Bar */
.mkt-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #EDEAE5;
}

.mkt-metrics p,
.mkt-yield p,
.mkt-flow p {
  margin: 0;
}

.mkt-metrics span,
.mkt-stat span,
.mkt-flow span {
  display: block;
  margin-bottom: 6px;
  color: #78716c;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mkt-metrics strong {
  color: #0e2a26;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Time range inline text tabs: minimal, no boxed border */
.mkt-range {
  display: inline-flex;
  gap: 22px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 0 12px;
  align-items: center;
}

.mkt-range button {
  position: relative;
  border: 0;
  border-radius: 0;
  background: none;
  color: #a8a29e;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 0 6px;
  cursor: pointer;
  min-height: auto;
  transition: color 0.2s ease;
}

.mkt-range button:hover {
  color: #0e2a26;
}

.mkt-range button.is-active {
  color: #0e2a26;
  background: none;
  font-weight: 600;
}

.mkt-range button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: #0e2a26;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.mkt-range button.is-active::after {
  transform: scaleX(1);
}

/* Financial Editorial Chart Area */
.mkt-chart {
  height: 280px;
  margin-top: 14px;
}

.mkt-legend {
  display: flex;
  gap: 24px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  color: #78716c;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mkt-legend li {
  display: inline-flex;
  align-items: center;
}

.mkt-legend i {
  display: inline-block;
  width: 16px;
  height: 1.5px;
  margin-right: 8px;
  vertical-align: middle;
  background: #0e2a26;
}

.mkt-legend i.is-band {
  height: 0;
  border-top: 1.5px dashed rgba(191, 163, 124, 0.8);
  background: none;
}

/* ---------- Private Wealth Dossier (Yield & Cash Flow Panel) ---------- */

.mkt-dossier-nav {
  margin-bottom: 12px;
}

.mkt-back-to-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0e2a26 !important;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none !important;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
}

.mkt-back-to-map:hover {
  color: #bfa37c !important;
  transform: translateX(-3px);
}

.mkt-back-to-map svg {
  transition: transform 0.25s ease;
}

.mkt-back-to-map:hover svg {
  transform: translateX(-2px);
}

.mkt-dossier-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #EDEAE5;
}

.mkt-dossier-header h2 {
  margin: 0 0 6px;
  color: #0e2a26;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.mkt-dossier-meta {
  margin: 0;
  color: #78716c;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
}

.mkt-yield-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 20px 0 28px;
}

.mkt-stat {
  display: flex;
  flex-direction: column;
}

.mkt-stat span {
  color: #a8a29e;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.mkt-stat strong {
  color: #0e2a26;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mkt-val-gold {
  color: #9e8a78 !important;
}

.mkt-stat em {
  display: block;
  margin-top: 6px;
  color: #a8a29e;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.45;
}

/* Kịch bản đầu tư & Đòn bẩy Block */
.mkt-scenario-block {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #EDEAE5;
}

.mkt-scenario-header {
  margin-bottom: 18px;
}

.mkt-scenario-title {
  margin: 0 0 6px;
  color: #0e2a26;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mkt-scenario-subtitle {
  margin: 0;
  color: #78716c;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
}

/* 3-Tab Segmented Switcher */
.mkt-scenario-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}

.mkt-scenario-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border: 1px solid #e7e5e4;
  border-radius: 0;
  background: #ffffff;
  color: #57534e;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.mkt-scenario-tab:hover {
  border-color: #0e2a26;
  color: #0e2a26;
}

.mkt-scenario-tab.is-active {
  background: #0e2a26 !important;
  border-color: #0e2a26 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(14, 42, 38, 0.18);
}

.mkt-scenario-tab__name {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.mkt-scenario-tab__desc {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  opacity: 0.85;
}

.mkt-scenario-tab.is-active .mkt-scenario-tab__desc {
  color: #e5e5e5;
}

/* Output Cards Grid (Pure White, No heavy borders, Minimal muted labels) */
.mkt-scenario-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 28px;
}

.mkt-scenario-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: transparent;
  border: none;
}

.mkt-scenario-card__label {
  color: #a8a29e;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mkt-scenario-card__val {
  color: #0e2a26;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mkt-scenario-card__val--gold {
  color: #9e8a78;
}

.mkt-scenario-card__val--green {
  color: #2e5d4e;
}

.mkt-scenario-card__note {
  display: block;
  margin-top: 6px;
  color: #78716c;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
  line-height: 1.45;
}

/* Bottom CTA Button: Elegant Wide Quiet Luxury */
.mkt-dossier-action {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #EDEAE5;
}

.mkt-dossier-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 28px;
  background: #0e2a26;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(191, 163, 124, 0.4);
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(14, 42, 38, 0.16);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mkt-dossier-cta-btn:hover {
  background: #000000;
  border-color: #D4AF37;
  color: #D4AF37 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
}

.mkt-dossier-note {
  margin: 14px 0 0;
  color: #a8a29e;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 11px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

/* ---------- Responsive Adjustments ---------- */

@media (max-width: 1040px) {
  #content.mkt-page .mkt {
    padding: 24px 16px 0;
  }

  .mkt-analytics {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .mkt-stage {
    height: 520px;
  }
}

@media (max-width: 768px) {
  #content.mkt-page .mkt {
    padding: 20px 12px 0;
  }

  .mkt-stage {
    height: 480px;
  }

  .mkt-toolbar {
    left: 12px;
    right: 12px;
    max-width: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 14px;
  }

  .mkt-toolbar__right {
    flex-direction: column;
    align-items: stretch;
  }

  .mkt-toolbar input[type="search"],
  .mkt-toolbar select {
    width: 100%;
    min-width: 0;
  }

  .mkt-metrics,
  .mkt-yield-grid,
  .mkt-scenario-tabs,
  .mkt-scenario-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mkt-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .mkt-card {
    padding: 24px 20px;
  }
}

/* ---------- Valuation dossier: full-viewport panel, aligned rows ---------- */

body.mkt-detail-open .mkt-hero,
body.mkt-detail-open .mkt-stage,
body.mkt-detail-open .mkt-stage.is-fullscreen {
  display: none !important;
}

body.mkt-detail-open #content.mkt-page {
  padding-top: var(--header-height, 68px) !important;
  padding-bottom: 24px;
  color: #003d45;
}

body.mkt-detail-open #content.mkt-page .mkt {
  padding-top: 18px !important;
  padding-bottom: 0 !important;
}

body.mkt-detail-open .mkt-analytics {
  align-content: start;
  margin-top: 0 !important;
}

#content.mkt-page .mkt-analytics {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  align-content: start;
  gap: 8px 28px;
  margin-top: 20px;
  color: #003d45;
}

#content.mkt-page .mkt-analytics__bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0;
}

#content.mkt-page .mkt-analytics .mkt-back-to-map {
  gap: 0;
  margin: 0;
  padding: 0;
  color: #003d45;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.4;
}

#content.mkt-page .mkt-analytics .mkt-back-to-map svg {
  display: none;
}

#content.mkt-page .mkt-analytics .mkt-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#content.mkt-page .mkt-analytics .mkt-head,
#content.mkt-page .mkt-analytics .mkt-dossier-header {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
}

#content.mkt-page .mkt-analytics .mkt-kicker {
  margin: 0 0 10px !important;
  padding: 0;
  color: #a8a29e;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

#content.mkt-page .mkt-analytics .mkt-head h2,
#content.mkt-page .mkt-analytics .mkt-dossier-header h2 {
  margin: 0 0 12px !important;
  padding: 0;
  color: #003d45 !important;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

#content.mkt-page .mkt-analytics .mkt-subline,
#content.mkt-page .mkt-analytics .mkt-dossier-meta {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 20px !important;
  padding: 0;
  color: #78716c;
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

#content.mkt-page .mkt-analytics .mkt-subline {
  justify-content: space-between;
  gap: 12px 16px;
}

#content.mkt-page .mkt-analytics .mkt-focus {
  margin: 0 !important;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
  flex: 0 1 auto;
}

#content.mkt-page .mkt-analytics .mkt-pick {
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
}

#content.mkt-page .mkt-analytics .mkt-pick select {
  width: min(240px, 100%);
  min-width: 0;
  height: 32px;
  color: #003d45;
  border-color: #e7e5e4;
}

#content.mkt-page .mkt-analytics .mkt-pick select:focus {
  border-color: #003d45;
}

#content.mkt-page .mkt-analytics .mkt-metrics,
#content.mkt-page .mkt-analytics .mkt-yield-grid {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  gap: 8px 16px;
  align-items: start;
}

#content.mkt-page .mkt-analytics .mkt-metrics p,
#content.mkt-page .mkt-analytics .mkt-stat {
  margin: 0;
  min-height: 76px;
}

#content.mkt-page .mkt-analytics .mkt-metrics span,
#content.mkt-page .mkt-analytics .mkt-stat span {
  display: block;
  margin: 0 0 6px !important;
  color: #a8a29e !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 10px !important;
  font-weight: 300 !important;
  letter-spacing: 0.2em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

#content.mkt-page .mkt-analytics .mkt-metrics strong,
#content.mkt-page .mkt-analytics .mkt-stat strong,
#content.mkt-page .mkt-analytics .mkt-scenario-card__val,
#content.mkt-page .mkt-analytics .mkt-stat .mkt-val-gold,
#content.mkt-page .mkt-analytics .mkt-scenario-card__val--gold,
#content.mkt-page .mkt-analytics .mkt-scenario-card__val--green {
  color: #003d45 !important;
  font-family: "Playfair Display", serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

#content.mkt-page .mkt-analytics .mkt-metrics strong:hover,
#content.mkt-page .mkt-analytics .mkt-stat strong:hover,
#content.mkt-page .mkt-analytics .mkt-scenario-card__val:hover,
#content.mkt-page .mkt-analytics .mkt-stat .mkt-val-gold:hover,
#content.mkt-page .mkt-analytics .mkt-scenario-card__val--gold:hover,
#content.mkt-page .mkt-analytics .mkt-scenario-card__val--green:hover {
  color: #c5a880 !important;
}

#content.mkt-page .mkt-analytics .mkt-range {
  display: flex;
  align-items: flex-start;
  margin: 0 0 16px;
}

#content.mkt-page .mkt-analytics .mkt-range button {
  padding: 0 0 5px;
  line-height: 16px;
}

#content.mkt-page .mkt-analytics .mkt-range button:hover,
#content.mkt-page .mkt-analytics .mkt-range button.is-active {
  color: #003d45;
}

#content.mkt-page .mkt-analytics .mkt-range button.is-active::after {
  background: #003d45;
}

#content.mkt-page .mkt-analytics .mkt-chart {
  height: 168px;
  margin-top: 14px;
}

#content.mkt-page .mkt-analytics .mkt-legend {
  margin: 6px 0 0;
}

#content.mkt-page .mkt-analytics .mkt-legend i {
  background: #003d45;
}

#content.mkt-page .mkt-analytics .mkt-scenario-block {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: 4px;
  padding: 32px 24px;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-top: 1px solid rgba(231, 229, 228, 0.9);
  background: #fafaf9;
}

#content.mkt-page .mkt-analytics .mkt-scenario-header {
  margin: 0 0 14px;
}

#content.mkt-page .mkt-analytics .mkt-scenario-title {
  margin: 0 0 8px;
  padding: 0 0 5px;
  color: #003d45;
  font-size: 11px;
  line-height: 16px;
}

#content.mkt-page .mkt-analytics .mkt-scenario-tabs {
  margin: 0;
}

#content.mkt-page .mkt-analytics .mkt-scenario-tab {
  min-height: 78px;
  padding: 16px 12px;
  border: 1px solid #d6d3d1;
  background: #ffffff;
}

#content.mkt-page .mkt-analytics .mkt-scenario-tab:hover {
  border-color: #003d45;
}

#content.mkt-page .mkt-analytics .mkt-scenario-tab.is-active {
  background: #003d45 !important;
  border-color: #003d45 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 61, 69, 0.15);
}

#content.mkt-page .mkt-analytics .mkt-scenario-cards {
  margin: 24px 0 28px;
}

#content.mkt-page .mkt-analytics .mkt-scenario-card__label {
  white-space: nowrap;
}

#content.mkt-page .mkt-analytics .mkt-dossier {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

#content.mkt-page .mkt-analytics .mkt-dossier-action {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

#content.mkt-page .mkt-analytics .mkt-dossier-cta-btn {
  padding: 16px 24px;
  background: #003d45;
  border-color: #003d45;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.35;
  box-shadow: 0 4px 14px rgba(0, 61, 69, 0.15);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#content.mkt-page .mkt-analytics .mkt-dossier-cta-btn:hover {
  background: #0c5560;
  border-color: #0c5560;
  color: #ffffff !important;
  transform: scale(1.015);
  box-shadow: 0 6px 18px rgba(0, 61, 69, 0.22);
}

#content.mkt-page .mkt-analytics .mkt-dossier-note {
  margin: 14px 0 0 !important;
  padding-top: 0;
}

#content.mkt-page .mkt-analytics {
  position: relative;
  align-items: stretch;
}

#content.mkt-page .mkt-analytics .mkt-trend {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

#content.mkt-page .mkt-analytics .mkt-rule {
  height: 0;
  margin: 0 16px 16px;
  border: 0;
  border-top: 1px solid rgba(231, 229, 228, 0.6);
  pointer-events: none;
}

#content.mkt-page .mkt-analytics .mkt-yield-grid {
  position: relative;
}

#content.mkt-page .mkt-analytics .mkt-yield-grid::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: -12px;
  border-top: 1px solid rgba(231, 229, 228, 0.6);
  pointer-events: none;
}

#content.mkt-page .mkt-analytics .mkt-chart {
  flex: 1 1 auto;
  height: auto;
  min-height: 340px;
  margin-top: 14px;
}

#content.mkt-page .mkt-analytics .mkt-legend {
  margin: 12px 0 0;
}

@media (min-width: 1024px) {
  #content.mkt-page .mkt-analytics::before {
    content: "";
    position: absolute;
    top: 72px;
    bottom: 64px;
    left: calc(50% - 0.5px);
    width: 1px;
    background: rgba(231, 229, 228, 0.5);
    pointer-events: none;
  }
}

.mkt-showcase {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 16px 0;
  border: 1px solid rgba(231, 229, 228, 0.8);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.05);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .mkt-showcase {
    max-width: none;
    height: 100%;
    margin: 0;
  }

  .mkt-hero__right .mkt-showcase {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
  }

  .mkt-hero__right .mkt-showcase__media {
    flex: 1 1 auto;
    height: auto;
    min-height: 320px;
  }
}

.mkt-showcase__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: 240px;
  min-height: 240px;
  max-height: none;
  overflow: hidden;
  border-radius: 2px 2px 0 0;
  background: #1c1917;
}

@media (min-width: 768px) {
  .mkt-showcase__media {
    height: 320px;
    min-height: 320px;
    max-height: none;
  }
}

.mkt-showcase__slides {
  position: absolute;
  inset: 0;
}

.mkt-showcase__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  pointer-events: none;
}

.mkt-showcase__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.mkt-showcase__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 2px 2px 0 0;
}

.mkt-showcase__slide img[data-focus="upper"] {
  object-position: center 22%;
}

.mkt-showcase__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
  pointer-events: none;
}

.mkt-showcase__slide figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 36px;
  z-index: 2;
  margin: 0;
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mkt-showcase__dots {
  position: absolute;
  left: 22px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
}

#content.mkt-page .mkt-showcase__dots button {
  width: 10px;
  min-width: 0;
  height: 2px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: none;
  cursor: pointer;
  line-height: 0;
  transition: width 700ms ease, background-color 700ms ease;
}

#content.mkt-page .mkt-showcase__dots button.is-active,
#content.mkt-page .mkt-showcase__dots button[aria-selected="true"] {
  width: 28px;
  background: #ffffff;
}

.mkt-showcase__body {
  flex: 0 0 auto;
  width: 100%;
  padding: 0;
}

.mkt-matrix {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.mkt-matrix thead th:nth-child(1),
.mkt-matrix tbody th {
  width: 22%;
  text-align: left;
}

.mkt-matrix thead th:nth-child(n + 2),
.mkt-matrix tbody td {
  width: 26%;
  text-align: right;
}

.mkt-matrix tbody td .mkt-matrix__val {
  justify-content: flex-end;
  width: 100%;
}

.mkt-matrix__break {
  display: none;
}

.mkt-matrix th,
.mkt-matrix td {
  box-sizing: border-box;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(231, 229, 228, 0.6);
  vertical-align: middle;
  font-weight: 400;
}

.mkt-matrix thead th {
  padding: 14px 8px 10px;
  vertical-align: middle !important;
  color: #a8a29e;
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

#content.mkt-page .mkt-matrix tbody th {
  color: #44403c;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-transform: none;
}

#content.mkt-page .mkt-matrix__val small,
#content.mkt-page .mkt-fig__unit,
.leaflet-popup.mkt-leaflet-popup .mkt-fig__unit {
  margin-left: 2px;
  color: #78716c;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}

.mkt-matrix tbody tr:last-child th,
.mkt-matrix tbody tr:last-child td {
  border-bottom: 0;
}

.mkt-matrix__val,
.mkt-fig {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0;
}

#content.mkt-page .mkt-matrix__val strong,
#content.mkt-page .mkt-fig__num,
.leaflet-popup.mkt-leaflet-popup .mkt-fig__num {
  color: #083333;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.mkt-showcase__body,
.mkt-showcase__note {
  flex: 0 0 auto;
}

.mkt-showcase__note {
  margin: 0 !important;
  padding: 8px 16px;
  border-top: 1px solid rgba(231, 229, 228, 0.6);
  background: #fafaf9;
  color: #78716c;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .mkt-showcase__media {
    height: 240px;
    min-height: 240px;
    max-height: none;
  }

  .mkt-showcase__slide figcaption {
    left: 16px;
    right: 16px;
    bottom: 28px;
    font-size: 16px;
  }

  .mkt-matrix__break {
    display: inline;
  }

  .mkt-matrix thead th:nth-child(1),
  .mkt-matrix tbody th {
    width: 24%;
  }

  .mkt-matrix thead th:nth-child(n + 2),
  .mkt-matrix tbody td {
    width: 25.333%;
  }

  .mkt-matrix th,
  .mkt-matrix td {
    padding: 8px 4px;
  }

  .mkt-matrix thead th {
    padding: 14px 4px 10px;
    font-size: 9px;
    letter-spacing: 0.05em;
  }

  .mkt-matrix tbody th {
    font-size: 12px;
  }

  .mkt-showcase__note {
    letter-spacing: 0.04em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-showcase__slide,
  .mkt-showcase__dots button {
    transition: none;
  }
}

/* ---------- Valuation view: one-screen immersive panel ---------- */

.mkt-topbar {
  display: none;
}

body.mkt-detail-open {
  overflow: hidden;
}

body.mkt-detail-open .mkt-topbar {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 16px;
  z-index: 40;
}

body.mkt-detail-open .header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  pointer-events: none;
}

body.mkt-detail-open:has(.mkt-topbar:hover) .header,
body.mkt-detail-open .header:hover {
  transform: translateY(0);
  pointer-events: auto;
}

body.mkt-detail-open #inner-page-wrapper {
  height: 100vh;
  max-height: 100vh;
  padding-top: 0 !important;
  overflow: hidden;
}

body.mkt-detail-open #content.mkt-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
}

body.mkt-detail-open #content.mkt-page > :not(.mkt),
body.mkt-detail-open #global-git,
body.mkt-detail-open .lead-dossier,
body.mkt-detail-open footer,
body.mkt-detail-open .site-footer {
  display: none !important;
}

body.mkt-detail-open #content.mkt-page .mkt {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  margin: 0;
  padding: 8px 48px 12px !important;
  overflow: hidden;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto minmax(0, 1fr);
  align-items: start;
  align-content: stretch;
  column-gap: 48px;
  row-gap: 0;
  gap: 0 48px;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  margin: 0 !important;
  padding: 0;
  overflow: hidden;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics__bar {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 12px !important;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-trend,
body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-dossier,
body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-head,
body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-dossier-header {
  display: contents;
}

body.mkt-detail-open .mkt-head > .mkt-kicker {
  grid-column: 1;
  grid-row: 2;
}

body.mkt-detail-open .mkt-dossier-header > .mkt-kicker {
  grid-column: 2;
  grid-row: 2;
}

body.mkt-detail-open .mkt-head > h2 {
  grid-column: 1;
  grid-row: 3;
}

body.mkt-detail-open .mkt-dossier-header > h2 {
  grid-column: 2;
  grid-row: 3;
}

body.mkt-detail-open .mkt-subline {
  grid-column: 1;
  grid-row: 4;
}

body.mkt-detail-open .mkt-dossier-meta {
  grid-column: 2;
  grid-row: 4;
}

body.mkt-detail-open .mkt-metrics {
  grid-column: 1;
  grid-row: 5;
}

body.mkt-detail-open .mkt-yield-grid {
  grid-column: 2;
  grid-row: 5;
}

body.mkt-detail-open .mkt-trend__lower,
body.mkt-detail-open .mkt-dossier__lower {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-height: 0;
  height: 100%;
}

body.mkt-detail-open .mkt-trend__lower {
  grid-column: 1;
  grid-row: 6;
}

body.mkt-detail-open .mkt-dossier__lower {
  grid-column: 2;
  grid-row: 6;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-kicker {
  margin: 0 0 16px !important;
  padding: 0 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  line-height: 1.4 !important;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-head h2,
body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-dossier-header h2 {
  margin: 0 0 4px !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-subline,
body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-dossier-meta {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
  margin: 0 0 16px !important;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-metrics,
body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-yield-grid {
  align-items: stretch;
  margin: 0 !important;
  padding-top: 14px !important;
  border-top: 1px solid #e7e5e4 !important;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-metrics p,
body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-stat {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-metrics p::after {
  content: "";
  display: block;
  height: 16px;
  margin-top: 6px;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-stat em {
  display: block;
  height: 16px;
  margin: 6px 0 0 !important;
  line-height: 16px !important;
  overflow: hidden;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-yield-grid::before,
body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-rule {
  display: none;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-range {
  flex: 0 0 auto;
  margin: auto 0 8px;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-chart {
  flex: 0 0 auto;
  height: 340px;
  max-height: 340px;
  min-height: 0;
  margin: 0;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-legend {
  flex: 0 0 auto;
  margin: 14px 0 0;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-scenario-block {
  flex: 0 0 auto;
  margin: auto 0 0;
  padding: 16px 24px;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-scenario-cards {
  margin: 16px 0 0;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-dossier-action {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  min-height: 0;
  margin-top: 12px;
}

body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-dossier-note {
  margin: 12px 0 0 !important;
}

@media (max-width: 1023px) {
  body.mkt-detail-open #content.mkt-page .mkt {
    padding: 8px 32px 12px !important;
  }

  body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-head h2,
  body.mkt-detail-open #content.mkt-page .mkt-analytics .mkt-dossier-header h2 {
    font-size: 24px !important;
  }
}

@media (min-width: 1024px) {
  body.mkt-detail-open #content.mkt-page .mkt-analytics::before {
    top: 40px;
    bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.mkt-detail-open .header {
    transition: none;
  }
}
