/* ============================================================
   QUELLE: 03_desktop_format_overflow_260521.css
   ============================================================ */

/* VERO DESKTOP FORMAT FIX 260521 START */
@media (min-width: 821px) {
  body.veroCalm .content {
    max-width: 1180px;
    padding: 28px 52px 88px;
  }

  body.veroCalm .topbar {
    margin-bottom: 28px;
  }

  body.veroCalm .topbar h1 {
    font-size: clamp(42px, 4.4vw, 64px);
    line-height: .92;
    letter-spacing: -.055em;
  }

  body.veroCalm .topStats > div {
    min-width: 154px;
    padding: 14px 18px;
    border-radius: 22px;
  }

  body.veroCalm .card {
    border-radius: 28px;
  }

  body.veroCalm .cardHead {
    margin-bottom: 20px;
  }

  body.veroCalm .cardHead h2 {
    font-size: clamp(26px, 2.45vw, 36px);
    line-height: 1.04;
    letter-spacing: -.045em;
  }

  body.veroCalm .cardLabel {
    letter-spacing: .14em;
    font-size: 10px;
  }

  body.veroCalm .bigValue {
    font-size: clamp(46px, 5vw, 72px);
    line-height: .92;
  }

  body.veroCalm #view-tresor > .heroGrid {
    display: none;
  }

  body.veroCalm #view-tresor > .card {
    padding: 34px;
    margin-top: 0;
  }

  body.veroCalm #deckungGrid {
    width: 100%;
    display: block;
  }

  body.veroCalm #deckungGrid .valuePaper {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(520px, 1.25fr);
    grid-template-areas:
      "label label"
      "value band"
      "groups details";
    gap: 20px 34px;
    align-items: start;
    padding: 32px;
  }

  body.veroCalm #deckungGrid .valuePaper > span {
    grid-area: label;
  }

  body.veroCalm #deckungGrid .valuePaper > strong {
    grid-area: value;
    font-size: clamp(54px, 5vw, 78px);
    line-height: .9;
    letter-spacing: -.075em;
    margin: 0;
    align-self: center;
  }

  body.veroCalm #deckungGrid .valuePaper > .substanceBand {
    grid-area: band;
    height: 24px;
    margin: 0;
    align-self: center;
  }

  body.veroCalm #deckungGrid .valuePaper > .substanceGrid {
    grid-area: groups;
  }

  body.veroCalm #deckungGrid .valuePaper > .basketDetails {
    grid-area: details;
  }

  body.veroCalm #deckungGrid .substanceGrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.veroCalm #deckungGrid .substanceTile {
    padding: 18px 20px;
    border-radius: 22px;
  }

  body.veroCalm #deckungGrid .substanceTile strong {
    font-size: 26px;
    line-height: 1.04;
    letter-spacing: -.04em;
  }

  body.veroCalm #deckungGrid .substanceTile .muted {
    font-size: 14px;
    line-height: 1.35;
  }

  body.veroCalm #deckungGrid .basketDetails {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  body.veroCalm #deckungGrid .basketDetails summary {
    margin-bottom: 14px;
  }

  body.veroCalm #deckungGrid .basketGridCalm {
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 12px;
  }

  body.veroCalm #deckungGrid .basketMini {
    min-height: 118px;
    padding: 16px;
    border-radius: 20px;
    overflow: hidden;
  }

  body.veroCalm #deckungGrid .basketMini span {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .12em;
  }

  body.veroCalm #deckungGrid .basketMini strong {
    font-size: 22px !important;
    line-height: 1.05;
    letter-spacing: -.035em;
    margin-top: 8px;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }

  body.veroCalm #deckungGrid .basketMini .muted {
    font-size: 14px;
    line-height: 1.25;
    margin-top: 8px;
  }

  body.veroCalm #ledgerTimeline .timeCard {
    padding: 18px 22px;
    border-radius: 20px;
  }

  body.veroCalm #ledgerTimeline .timeCard strong {
    font-size: 18px;
    line-height: 1.2;
  }

  body.veroCalm .chartCard,
  body.veroCalm .tradePanel {
    max-width: none;
  }

  body.veroCalm .previewFocus strong,
  body.veroCalm .valuePaper strong {
    max-width: 100%;
  }
}
/* VERO DESKTOP FORMAT FIX 260521 ENDE */


/* VERO DESKTOP OVERFLOW UND EINZELWERTE 260521 START */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.appShell,
.content,
.view,
.card,
.valuePaper,
#deckungGrid,
#deckungGrid * {
  box-sizing: border-box;
}

.appShell {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.content {
  min-width: 0;
}

.view {
  min-width: 0;
}

.card {
  min-width: 0;
  max-width: 100%;
}

#deckungGrid {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

#deckungGrid .valuePaper {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.einzelwerteMap {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.einzelwertRow {
  min-width: 0;
  border-radius: 18px;
  padding: 13px 14px;
  background: rgba(255,255,255,.50);
  border: 1px solid rgba(37, 29, 19, .075);
}

.einzelwertTop {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
}

.einzelwertTop span {
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(23, 19, 13, .48);
}

.einzelwertTop strong {
  min-width: 0;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.einzelwertTop em {
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.einzelwertTrack {
  height: 13px;
  border-radius: 999px;
  margin-top: 9px;
  overflow: hidden;
  background: rgba(37, 29, 19, .065);
}

.einzelwertTrack i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.einzelwertRow.food .einzelwertTrack i {
  background: var(--food);
}

.einzelwertRow.metal .einzelwertTrack i {
  background: var(--metal);
}

.einzelwertRow.energy .einzelwertTrack i {
  background: var(--energy);
}

.einzelwertMeta {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
  color: var(--muted);
}

@media (min-width: 821px) {
  body.veroCalm .appShell {
    grid-template-columns: 250px minmax(0, 1fr);
  }

  body.veroCalm .content {
    width: 100%;
    max-width: 1180px;
    min-width: 0;
    padding-left: clamp(24px, 3vw, 42px);
    padding-right: clamp(24px, 3vw, 42px);
    margin-left: auto;
    margin-right: auto;
  }

  body.veroCalm #view-tresor > .card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: clamp(24px, 2.5vw, 34px);
  }

  body.veroCalm #deckungGrid .valuePaper {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    grid-template-areas:
      "label label"
      "value band"
      "groups details";
    gap: 18px 26px;
    padding: clamp(22px, 2.4vw, 32px);
  }

  body.veroCalm #deckungGrid .valuePaper > strong {
    font-size: clamp(46px, 4.6vw, 72px);
    word-break: keep-all;
  }

  body.veroCalm #deckungGrid .substanceGrid {
    min-width: 0;
  }

  body.veroCalm #deckungGrid .substanceTile {
    min-width: 0;
  }

  body.veroCalm #deckungGrid .substanceTile strong {
    font-size: clamp(22px, 2vw, 28px);
  }

  body.veroCalm #deckungGrid .basketDetails {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  body.veroCalm #deckungGrid .einzelwerteMap {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 821px) and (max-width: 1120px) {
  body.veroCalm #deckungGrid .valuePaper {
    grid-template-columns: 1fr;
    grid-template-areas:
      "label"
      "value"
      "band"
      "groups"
      "details";
  }

  body.veroCalm #deckungGrid .substanceGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .einzelwertTop {
    grid-template-columns: 1fr auto;
  }

  .einzelwertTop span {
    grid-column: 1 / 3;
  }

  .einzelwertTop strong {
    white-space: normal;
  }
}
/* VERO DESKTOP OVERFLOW UND EINZELWERTE 260521 ENDE */
