/* Contorno do mapa: malha territorial do IBGE, UF 35 (São Paulo). */
@media screen {
  :root {
    --map-wash: #114a861f;
    min-height: 100%;
    background-color: #123c73;
    background-image:
      linear-gradient(var(--map-wash), var(--map-wash)),
      url("sp-economia-circular-3d.webp?v=mapas"),
      radial-gradient(ellipse at 85% 12%, #147cb6, #123c73 55%, #102b60);
    background-position: center, left top, center;
    background-size: cover, 680px 520px, cover;
    background-repeat: no-repeat, repeat, no-repeat;
    background-attachment: fixed;
  }

  :root[data-theme="dark"] {
    --map-wash: #07182c80;
  }

  html body,
  html:root[data-theme] body {
    min-height: 100vh;
    background: transparent !important;
  }

  #market-main #cards.indicator-panel,
  #market-main #overview > .class-explanation {
    background: var(--surface) !important;
    border: 1px solid var(--line) !important;
    border-radius: 1rem;
  }

  #market-main #overview > .class-explanation {
    padding: .55rem .85rem;
    color: var(--muted);
  }

  .institutional-page .institutional-return {
    padding: .35rem .75rem;
    border-radius: .5rem;
    background: #fff;
  }

  @media (min-width: 1280px) {
    #market-main #overview > :is(#cards, .class-explanation, #class-card-detail) {
      margin-inline-end: clamp(10rem, 19vw, 24rem);
    }
  }

  @media (max-width: 767px) {
    :root {
      background-size: cover, 442px 338px, cover;
    }
  }

  @media (forced-colors: active) {
    :root,
    :root[data-theme="dark"] {
      background-image: none;
    }
  }
}
