/* Scoped corrections from the supplied mobile screenshots. */
.slide > .wrap,
.slide .tcol,
.slide .content,
.stats,
.stat,
.region-view {
  min-width: 0;
}

.slide .section-lead,
.opener__lede,
.value-detail p,
.explanation p:not(.src),
.global-clear > p,
.quote > p {
  text-align: justify;
  text-align-last: start;
  text-justify: inter-word;
  word-spacing: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

/* A date and its names always form one group, with no unused grid column. */
.key-players {
  margin-top: 30px;
}
.key-players h3 {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.9;
  font-weight: 500;
}
.players-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.players-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: #ffffff04;
  border-radius: 10px;
}
.players-date {
  display: block;
  color: #8ed1ff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  white-space: nowrap;
  text-align: right;
}
.players-names {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: #d0def4;
  line-height: 1.8;
  justify-content: flex-start;
  min-width: 0;
}
.players-names > span {
  white-space: nowrap;
}

/* One chart and one legend at every width: no hidden axis or clipped percentage. */
.iran-market-chart {
  margin: 0;
  width: 100%;
  min-width: 0;
}
.iran-market-chart figcaption {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 14px;
}
.chart-guide {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  background: #ffffff04;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  line-height: 1.9;
  color: #bacdeb;
}
.guide-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.guide-item strong {
  color: #e5f1ff;
  font-weight: 500;
}
.legend-symbol {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.market-symbol {
  background: #41afff;
  border-radius: 4px;
}
.share-symbol {
  color: #e5efff;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
}
.market-series {
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  max-width: 100%;
  font-size: 12px;
}
.market-series .year-col { width: 22%; }
.market-series .value-col { width: 56%; }
.market-series .share-col { width: 22%; }
.market-series th,
.market-series td {
  padding: 13px 5px;
  border-bottom: 1px solid #aab8e817;
  vertical-align: middle;
  text-align: right;
  min-width: 0;
}
.market-series thead th {
  font-size: 10px;
  font-weight: 400;
  line-height: 1.8;
  color: #95aed6;
  padding-top: 0;
}
.market-series thead small {
  display: inline;
  font-size: inherit;
  white-space: nowrap;
}
.market-series th:last-child,
.market-series td:last-child {
  text-align: left;
}
.market-series tbody th {
  font-weight: 400;
}
.market-series bdi {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.value-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
}
.value-bar-track {
  display: block;
  height: 14px;
  overflow: hidden;
  background: #ffffff06;
  border-radius: 5px;
  direction: rtl;
}
.value-bar-fill {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: 5px;
  background: linear-gradient(90deg, #008efa, #60bfff);
  transform-origin: right center;
}
.motion-ready #m-iran .play .value-bar-fill {
  animation: growx 1.5s cubic-bezier(.16, 1, .3, 1) both;
}
.chart-value,
.chart-share {
  color: #e4f1ff;
  font-weight: 500;
}
.chart-value {
  text-align: left;
}
.market-series .is-forecast .value-bar-fill {
  background: repeating-linear-gradient(135deg, #359ff4 0 5px, #1e6cb6 5px 10px);
}
.forecast-label {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  color: #82caff;
  font-weight: 400;
}
.chart-footnote {
  margin-top: 12px;
  font-size: 10px;
  color: #9fb5d8;
  line-height: 1.9;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Numeric spans inherit the value font, rather than the descriptive span font. */
.fn .fn__value {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
  white-space: nowrap;
  line-height: 1.4;
  font-size: 30px;
  font-weight: 500;
  color: inherit;
}
.fn .fn__value .n {
  font: inherit;
  font-variant-numeric: tabular-nums;
  line-height: inherit;
  color: inherit;
  opacity: 1;
}
.fn .fn__value .fn__unit {
  font-size: .6em;
  font-weight: 400;
  line-height: inherit;
  color: inherit;
  opacity: 1;
}
.fn > .fn__label {
  font-size: 12px;
  line-height: 1.9;
}
.stat .stat__v.metric-value {
  display: flex;
  flex-flow: row nowrap;
  align-items: baseline;
  column-gap: 7px;
  white-space: nowrap;
  line-height: 1.4;
  overflow-wrap: normal;
  letter-spacing: 0;
  max-width: 100%;
}
.stat .stat__v.metric-value > .n {
  font: inherit;
  font-variant-numeric: tabular-nums;
  line-height: inherit;
  white-space: nowrap;
  flex: 0 0 auto;
}
.stat .stat__v.metric-value .u {
  display: inline;
  font-size: .56em;
  font-weight: 400;
  line-height: inherit;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
.metric-context {
  display: block;
  color: inherit;
  margin-bottom: 4px;
}

@media (max-width: 680px) {
  .slide > .wrap {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  .players-row {
    grid-template-columns: 88px minmax(0, 1fr);
    padding: 13px 12px;
    gap: 12px;
  }
  .players-date,
  .players-names {
    font-size: 12px;
  }
  .key-players h3 {
    font-size: 12px;
  }
  .chart-guide {
    padding: 12px;
    font-size: 10px;
    gap: 10px;
  }
  .iran-market-chart figcaption {
    font-size: 12px;
  }
  .market-series {
    font-size: 12px;
  }
  .market-series .year-col { width: 22%; }
  .market-series .value-col { width: 55%; }
  .market-series .share-col { width: 23%; }
  .market-series th,
  .market-series td {
    padding: 13px 3px;
  }
  .market-series thead th {
    font-size: 9px;
  }
  .value-bar {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 7px;
  }
  .value-bar-track {
    height: 12px;
  }
  .stats.c2,
  .stats.c3,
  .stats.c4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    container-type: inline-size;
  }
  .stat .stat__v.metric-value,
  .stat.sm .stat__v.metric-value {
    font-size: 27px;
    font-size: clamp(24px, 21cqi, 30px);
    gap: 6px;
  }
  .stat .stat__v.metric-value .u {
    font-size: .57em;
  }
  .stat[data-wide-metric] {
    grid-column: 1 / -1;
  }
  .stats.c2 > .stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .stat .stat__v.metric-phrase {
    font-size: 23px;
  }
  .fn {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding: 17px 18px;
  }
  .fn .fn__value {
    font-size: 29px;
    gap: 8px;
  }
  .fn > .fn__label {
    font-size: 11px;
    max-width: 100%;
    opacity: 1;
  }

  /* A continuous vertical sequence replaces the clipped horizontal strip on phones. */
  #d-timeline .tl {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 100%;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }
  #d-timeline .tl__y {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    padding: 0;
    min-width: 0;
  }
  #d-timeline .tl__yr {
    font-size: 12px;
    text-align: center;
    line-height: 1.8;
    padding: 5px 8px;
    border-radius: 8px;
    white-space: nowrap;
  }
  #d-timeline .tl__ev {
    min-width: 0;
    margin: 3px 0 0;
    padding: 0 17px 6px 0;
    gap: 16px;
  }
  #d-timeline .tl__e {
    font-size: 12px;
    line-height: 1.9;
    overflow-wrap: break-word;
    text-align: start;
  }
  #d-timeline .tl__e b {
    font-size: 11px;
    line-height: 1.8;
    margin-bottom: 3px;
  }
  #d-timeline .timeline-scroll-hint {
    display: none;
  }
}

@media (max-width: 360px) {
  .players-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 10px;
  }
  .players-date,
  .players-names {
    font-size: 11px;
  }
  .stat .stat__v.metric-value,
  .stat.sm .stat__v.metric-value {
    font-size: 24px;
  }
  .fn .fn__value {
    font-size: 27px;
  }
  #d-timeline .tl__y {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
  }
  .value-bar {
    grid-template-columns: minmax(0, 1fr) 25px;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready #m-iran .play .value-bar-fill {
    animation: none;
  }
}

/* Iran is a combined online + in-store value; show it only once. */
#m-cards .combined-rate-cell {
  text-align: center;
  vertical-align: middle;
}
#m-cards .combined-rate {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  padding: 3px 0;
}
#m-cards .combined-rate-value {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
#m-cards .combined-rate > span {
  font-size: 11px;
  line-height: 1.8;
  color: #c8def8;
}

.back-to-top {
  position: fixed;
  z-index: 64;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(var(--stave-h) + env(safe-area-inset-bottom, 0px) + 14px);
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #10245c;
  color: #d6edff;
  border: 1px solid #47b1fc88;
  border-radius: 12px;
  box-shadow: 0 4px 18px #0003;
  text-align: center;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
.back-to-top > span {
  font-size: 10px;
  line-height: 1.3;
}
.back-to-top:hover {
  background: #164184;
  transform: translateY(-2px);
}
.dialog-open .back-to-top {
  visibility: hidden;
}
@media (max-width: 680px) {
  #m-cards .combined-rate {
    flex-direction: column;
    gap: 2px;
  }
  #m-cards .combined-rate-value {
    font-size: 21px;
  }
  .back-to-top {
    right: max(14px, env(safe-area-inset-right, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}
@media print {
  .back-to-top {
    display: none;
  }
}

.hero-copy h1.report-title{font-size:clamp(34px,4.3vw,54px);line-height:1.55;letter-spacing:-.025em}
.hero-copy h1.report-title>bdi{color:inherit;font:inherit}
.hero-copy h1.report-title>.report-byline{display:block;margin-top:6px;font-size:.66em;font-weight:500;color:#61bfff;letter-spacing:0}
@media(max-width:680px){.hero-copy h1.report-title{font-size:31px;line-height:1.65}.hero-copy h1.report-title>.report-byline{font-size:23px}}
@media(max-width:360px){.hero-copy h1.report-title{font-size:28px}.hero-copy h1.report-title>.report-byline{font-size:21px}}

/* Original report artwork, on the landing's existing navy surfaces. */
.report-geography {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  width: 100%;
}
.province-groups { display: grid; gap: 16px; min-width: 0; }
.tier-1 { --province-color: #24408f; --province-ink: #a9bdf9; }
.tier-2 { --province-color: #1f84c6; --province-ink: #82c9f4; }
.tier-3 { --province-color: #3cb4e7; --province-ink: #77dcff; }
.province-group {
  min-width: 0;
  padding: 16px 18px;
  background: #ffffff04;
  border-radius: 10px;
  border-inline-start: 5px solid var(--province-color);
}
.province-group h3 {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--province-ink);
  margin-bottom: 10px;
}
.province-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: 0 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.province-group.tier-3 .province-rows { grid-template-rows: repeat(6, auto); }
.province-rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 39px;
  padding-block: 5px;
  border-bottom: 1px solid #a4c3f31c;
  font-size: 10px;
  line-height: 1.8;
  color: #d1def3;
  transition: background .2s;
}
.province-rows li.is-active { background: #ffffff12; }
.province-rows li > span { min-width: 0; overflow-wrap: break-word; }
.province-rows bdi {
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--province-ink);
  white-space: nowrap;
}
.report-iran-map { min-width: 0; width: 100%; margin: 0; }
.province-map-canvas { position: relative; isolation: isolate; width: 100%; }
.province-map-canvas > svg { display: block; width: 100%; height: auto; aspect-ratio: 611 / 618; max-height: 510px; }
.report-iran-map .pr {
  cursor: pointer;
  outline: none;
  transition: filter .2s, stroke-width .2s;
}
.report-iran-map .pr.on,
.report-iran-map .pr:focus-visible { stroke: #fff; stroke-width: 3px; filter: brightness(1.3); }
.province-map-caption { margin-top: 18px; text-align: center; color: #a9c7ec; font-size: 11px; line-height: 1.9; }
.province-tooltip {
  position: absolute;
  z-index: 2;
  box-sizing: border-box;
  width: 204px;
  max-width: calc(100% - 16px);
  padding: 12px 14px;
  border: 1px solid #77c9ff9c;
  border-radius: 12px;
  background: #091334;
  color: #edf7ff;
  box-shadow: 0 8px 26px #0007;
  pointer-events: none;
  text-align: right;
}
.province-tooltip__name { display: block; font-size: 12px; font-weight: 500; line-height: 1.8; }
.province-tooltip__value { display: flex; align-items: baseline; gap: 7px; margin-top: 5px; white-space: nowrap; }
.province-tooltip__value bdi { color: #77d2ff; font-size: 23px; font-weight: 500; line-height: 1.45; font-variant-numeric: tabular-nums; }
.province-tooltip__value > span { color: #bbd4ef; font-size: 10px; }
.province-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.province-legend li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: #c5d7f4;
  line-height: 1.8;
  white-space: nowrap;
}
.province-legend li::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--province-color);
  border: 1px solid #d6eaff50;
  flex: none;
}
.players-names > .report-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 46px;
  padding: 7px 11px;
  background: #e9f6ff;
  border-radius: 8px;
}
.players-names .report-brand img { width: 100%; height: 100%; object-fit: contain; }
.players-names .report-brand--snapp img { filter: brightness(0); }
.value-detail .report-benefit-title {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 14px;
  gap: 12px;
  align-items: center;
  min-height: 76px;
}
.report-benefit-title img { width: 32px; height: 32px; object-fit: contain; }
.report-benefit-title span { min-width: 0; }
.report-benefit-title::after { justify-self: end; }
.tcol h2.report-section-title { display: flex; gap: 12px; align-items: center; }
.report-section-title img { width: 36px; height: 36px; flex: none; }
.report-country-flag { width: 22px; height: 16px; object-fit: contain; flex: none; }
.outlook-bars .hb__l { display: flex; align-items: center; gap: 8px; }
.scatter-flag { pointer-events: none; }
.bank-partners { margin-top: 6px; }
.bank-partners h3 { font-size: 12px; font-weight: 500; line-height: 1.9; margin-bottom: 14px; }
.bank-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.bank-list li { display: flex; flex-direction: column; gap: 10px; align-items: center; min-width: 0; padding: 14px 6px; background: #ffffff04; border-radius: 10px; font-size: 10px; color: #c1d2ee; text-align: center; }
.bank-mark { display: grid; place-items: center; width: 48px; height: 48px; padding: 9px; background: #e9f6ff; border-radius: 11px; }
.bank-mark img { width: 100%; height: 100%; object-fit: contain; }
.motion-ready #d-provinces .play .province-map-canvas { animation: rise 1.2s cubic-bezier(.16, 1, .3, 1) both; }
@media (max-width: 1100px) {
  .report-geography { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; }
  .province-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); }
  .province-group.tier-3 .province-rows { grid-template-rows: repeat(9, auto); }
  .province-group { padding-inline: 14px; }
}
@media (max-width: 900px) {
  .report-geography { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .report-iran-map { order: -1; max-width: 470px; justify-self: center; }
  .province-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); }
  .province-group.tier-3 .province-rows { grid-template-rows: repeat(6, auto); }
}
@media (max-width: 680px) {
  .players-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 14px; }
  .players-names { gap: 8px; }
  .players-names > .report-brand { width: calc((100% - 16px) / 3); height: 42px; padding: 8px; }
  .report-geography { gap: 26px; }
  .report-iran-map { max-width: 410px; }
  .province-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); gap: 0 16px; }
  .province-group.tier-3 .province-rows { grid-template-rows: repeat(9, auto); }
  .province-rows li { font-size: 11px; }
  .province-rows bdi { font-size: 15px; }
  .province-group { padding: 14px; }
  .province-legend { gap: 5px; }
  .province-legend li { gap: 5px; font-size: 9px; }
  .province-legend li::before { width: 10px; height: 10px; }
  .province-map-caption { margin-top: 14px; font-size: 10px; }
  .value-detail .report-benefit-title { grid-template-columns: 30px minmax(0, 1fr) 14px; min-height: 72px; gap: 10px; }
  .report-benefit-title img { width: 30px; height: 30px; }
  .tcol h2.report-section-title { gap: 10px; }
  .report-section-title img { width: 30px; height: 30px; }
}
@media (max-width: 480px) {
  .province-rows,
  .province-group.tier-3 .province-rows { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; gap: 0; }
  .province-rows li { min-height: 37px; font-size: 11px; }
  .province-group h3 { font-size: 11px; margin-bottom: 6px; }
  .bank-list { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-ready #d-provinces .play .province-map-canvas { animation: none; }
  .report-iran-map .pr,
  .province-rows li { transition: none; }
}

/* Final-report fidelity: source diagrams share one rendering across devices. */
.source-copy bdi { font: inherit; color: inherit; unicode-bidi: isolate; }
.section-excerpt { font-size: 12px; color: #b7c7e7; line-height: 2.05; text-align: justify; }
.slide .section-lead { color: #d7e5fa; font-size: 14px; font-weight: 400; line-height: 2; }
.slide .source-chart { margin: 0; width: 100%; min-width: 0; }
.source-chart__viewport { width: 100%; min-width: 0; overflow: hidden; }
.source-chart__viewport > img { display: block; width: 100%; max-width: 100%; height: auto; }
.chart-expand { display: block; margin: 10px auto 0 0; padding: 8px 12px; min-height: 44px; font: inherit; font-size: 11px; color: #9dd7ff; background: #ffffff06; border: 1px solid #96c9fa33; border-radius: 8px; cursor: pointer; }
.chart-expand:hover,.chart-expand:focus-visible { background: #1b3463; outline: 2px solid #5fc3ff; outline-offset: 2px; }
.summary-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 16px; width: 100%; min-width: 0; }
.summary-card { min-width: 0; padding: 22px; background: #111747; border: 1px solid #a6c5ff26; border-radius: 12px; color: #c8d8f0; }
.summary-card h3 { color: #eff6ff; font-weight: 500; font-size: 15px; line-height: 1.9; margin-bottom: 12px; }
.summary-card > .source-copy { font-size: 12px; line-height: 2; text-align: justify; text-align-last: start; }
.summary-metric { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 8px; color: #eff6ff; margin-bottom: 12px; }
.summary-metric bdi { font-size: 36px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.summary-metric > span { color: inherit; font-size: 17px; white-space: nowrap; }
.literal-benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.literal-benefit { border: 1px solid #a6c5ff26; border-radius: 10px; background: #111747; padding: 6px 15px; min-width: 0; }
.literal-benefit > p { color: #c8d8f0; }
.literal-benefit-title { display: flex; align-items: center; gap: 12px; }
.literal-benefit summary { color: #edf5ff; font-size: 13px; font-weight: 500; }
.source-subsection { display: grid; gap: 24px; margin-top: 30px; padding-top: 30px; border-top: 1px solid #a6c5ff20; }
.source-subsection > .section-lead { font-size: 14px; text-align: justify; }
.download-break > .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 32px; }
.download-break p,.final-download .wrap > p { color: #e4efff; font-size: 19px; font-weight: 400; line-height: 1.95; margin: 0; }
.download-break .download { white-space: nowrap; flex: none; }
.final-download .wrap { gap: 28px; }
.report-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.stave__tools { gap: 0; }
.stave__tools .stave-download { min-height: 42px; padding: 10px 15px; font-size: 12px; color: #fff; background: #008efa; border-radius: 9px; gap: 10px; white-space: nowrap; }
.chart-dialog { width: calc(100vw - 40px); max-width: 1500px; height: calc(100dvh - 40px); max-height: 100dvh; border: 1px solid #86b9ef44; border-radius: 14px; padding: 0; background: #0b1041; color: #eff6ff; overflow: hidden; }
.chart-dialog::backdrop { background: #010620db; backdrop-filter: blur(8px); }
.chart-dialog__tools { display: flex; justify-content: flex-end; gap: 8px; padding: 9px 12px; height: 62px; border-bottom: 1px solid #adcfff22; }
.chart-dialog__tools button { min-width: 44px; height: 44px; border: 1px solid #b3d7ff44; border-radius: 8px; font: inherit; font-size: 24px; color: #eaf5ff; background: #172455; cursor: pointer; }
.chart-dialog__tools button:focus-visible { outline: 2px solid #5fc3ff; outline-offset: 2px; }
.chart-dialog__viewport { direction: ltr; height: calc(100% - 62px); width: 100%; overflow: auto; touch-action: pan-x pan-y pinch-zoom; padding: 12px; }
.chart-dialog__viewport img { display: block; max-width: none; height: auto; margin: 0 auto; }
body.chart-open { overflow: hidden; }
body.chart-open .back-to-top { display: none; }
.chapter-nav .wrap { overflow-x: auto; scrollbar-width: none; }
.chapter-nav .wrap::-webkit-scrollbar { display: none; }
@media (max-width: 900px) {
  .slide .wrap { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 680px) {
  .slide .section-lead { font-size: 12px; line-height: 2; }
  .section-excerpt { font-size: 11px; line-height: 2.05; }
  .summary-cards { gap: 10px; }
  .summary-card { padding: 14px 12px; border-radius: 10px; }
  .summary-card h3 { font-size: 12px; margin-bottom: 9px; }
  .summary-card > .source-copy { font-size: 10px; line-height: 2.05; }
  .summary-metric { flex-wrap: wrap; gap: 3px 5px; }
  .summary-metric bdi { font-size: 27px; }
  .summary-metric > span { font-size: 13px; }
  .literal-benefits { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .source-subsection { gap: 18px; margin-top: 20px; padding-top: 22px; }
  .source-subsection > .section-lead { font-size: 12px; }
  .download-break > .wrap { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; justify-items: start; padding-block: 32px; }
  .download-break p,.final-download .wrap > p { font-size: 17px; line-height: 1.95; }
  .download-break .download { width: 100%; min-height: 52px; justify-content: center; font-size: 13px; }
  .stave { display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: 35px 36px; align-items: center; gap: 3px 12px; height: calc(98px + env(safe-area-inset-bottom,0px)); padding: 10px 12px calc(10px + env(safe-area-inset-bottom,0px)); }
  .stave__chap { grid-column: 1; grid-row: 1; width: auto; min-width: 0; max-width: none; overflow: hidden; }
  .stave__chap b { display: none; }
  .stave__chap > span { display: block; font-size: 10px; line-height: 1.8; color: #d0e6ff; white-space: normal; }
  .stave__scroll { grid-column: 1; grid-row: 2; width: 100%; min-width: 0; height: 36px; overflow-x: auto; overflow-y: hidden; }
  .stave__logo { display: none; }
  .stave__tools { grid-column: 2; grid-row: 1 / 3; width: auto; margin: 0; padding: 0; }
  .stave__tools .stave-download { min-height: 51px; width: 155px; padding: 10px; font-size: 10px; justify-content: center; gap: 7px; }
  .stave-download svg { width: 16px; height: 16px; }
  .site-footer { padding-bottom: 125px; }
  .back-to-top { bottom: calc(113px + env(safe-area-inset-bottom,0px)); }
  .chart-dialog { width: 100vw; height: 100dvh; max-height: 100dvh; max-width: 100vw; border: 0; border-radius: 0; }
  .chart-dialog__viewport { padding: 10px; }
}
@media (max-width: 360px) {
  .summary-card { padding: 12px 10px; }
  .summary-card > .source-copy { font-size: 10px; }
  .stave__tools .stave-download { width: 143px; font-size: 9px; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .play .source-chart__viewport > img { animation: rise 1.1s cubic-bezier(.16,1,.3,1) both; }
}
@media (max-width:680px) {
  .stave { height: calc(104px + env(safe-area-inset-bottom,0px)); grid-template-rows: 34px 40px; gap: 2px 12px; }
  .stave__chap > span { line-height: 1.65; }
  .stave__scroll { height: 40px; }
  .site-footer { padding-bottom: calc(145px + env(safe-area-inset-bottom,0px)); }
  .back-to-top { bottom: calc(119px + env(safe-area-inset-bottom,0px)); }
}

/* Restore the mobile staff's full-width row and its original vertical room. */
@media (max-width:680px) {
  :root { --stave-h:118px; }
  .stave {
    grid-template-columns:minmax(0,1fr) 145px;
    grid-template-rows:40px 60px;
    gap:2px 12px;
    height:calc(var(--stave-h) + env(safe-area-inset-bottom,0px));
    padding:6px max(12px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));
  }
  .stave__chap { grid-column:1; grid-row:1; min-width:0; max-width:none; align-self:center; }
  .stave__chap > span { font-size:10px; line-height:1.65; max-height:33px; white-space:normal; overflow:hidden; }
  .stave__tools { grid-column:2; grid-row:1; min-width:0; align-self:center; }
  .stave__tools .stave-download { width:145px; min-height:40px; padding:6px 8px; font-size:10px; gap:7px; }
  .stave__tools .stave-download svg { width:16px; height:16px; flex:none; }
  .stave__scroll { grid-column:1/-1; grid-row:2; height:60px; width:100%; min-width:0; padding:16px 0 0; }
  .stave__staff { height:44px; width:1100px; min-width:1100px; }
  .site-footer { padding-bottom:calc(var(--stave-h) + 24px + env(safe-area-inset-bottom,0px)); }
  .back-to-top { bottom:calc(var(--stave-h) + 14px + env(safe-area-inset-bottom,0px)); }
}
