.landing-chart-section {
  margin-block: 2rem;
}

.landing-chart-section > h3 {
  margin: 0 0 1rem;
  color: #103652;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.landing-chart-section h4 {
  margin: 0;
  color: #103652;
  font-size: 1.05rem;
  line-height: 1.4;
}

.landing-chart-section .landing-card-heading {
  align-items: baseline;
  flex-wrap: wrap;
}

.landing-choice {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.landing-choice legend {
  color: #476477;
  font-size: .8rem;
  padding: 0;
  margin-bottom: .45rem;
}

.landing-choice-input {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}

.landing-choice > label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .4rem 1rem;
  margin: 0 .35rem 1rem 0;
  background: #fff;
  color: #105c67;
  border: 1px solid #9cbfc4;
  border-radius: 7px;
  font-size: .85rem;
  font-weight: 650;
  cursor: pointer;
}

.landing-choice-input:checked + label {
  background: #006f74;
  border-color: #006f74;
  color: white;
}

.landing-choice-input:focus-visible + label,
.landing-chart-section [tabindex]:focus-visible {
  outline: 3px solid #087f86;
  outline-offset: 3px;
}

#landing-select-provenance:checked ~ .landing-geo-origin,
#landing-select-origin:checked ~ .landing-geo-provenance,
#share-by-units:checked ~ .landing-chart-grid [data-view-metric="fob"],
#share-by-fob:checked ~ .landing-chart-grid [data-view-metric="units"] {
  display: none;
}

.landing-metric-view {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.landing-bars {
  display: grid;
  gap: .65rem;
  padding: 0;
  margin: .35rem 0;
  list-style: none;
  color: #315974;
  font-size: .75rem;
}

.landing-bars li {
  display: grid;
  grid-template-columns: minmax(4.5rem, 1.3fr) minmax(3rem, 2.5fr) minmax(2.75rem, auto);
  align-items: center;
  gap: .7rem;
}

.landing-bar-label {
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.landing-bars strong {
  color: #25485e;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  text-align: right;
}

.landing-bar-track {
  position: relative;
  height: .85rem;
  background: #f0f5f7;
  border-radius: 2px;
  overflow: hidden;
}

.landing-bar-track i {
  position: absolute;
  inset-block: 0;
}

.landing-bar-track::after {
  content: '';
  pointer-events: none;
  position: absolute;
  left: var(--zero);
  height: 100%;
  border-left: 1px solid #8da5b3;
}

.landing-chart-tooltip {
  position:fixed;z-index:1000;pointer-events:none;display:flex;align-items:center;gap:.55rem;
  max-width:min(22rem,calc(100vw - 16px));overflow-wrap:anywhere;padding:.55rem .75rem;
  border:1px solid #335365;border-radius:8px;background:#123347;color:#fff;
  box-shadow:0 3px 12px #10344d26;font:600 .84rem/1.4 system-ui,sans-serif;
}
.landing-chart-tooltip[hidden] {display:none}
.landing-chart-tooltip::before {
  content:'';flex:0 0 .65rem;height:.65rem;border-radius:2px;background:var(--detail-color);
  box-shadow:0 0 0 1px #ffffff80;
}
.landing-chart-body [data-mark][tabindex] {cursor:pointer}
.landing-chart-body [data-mark]:focus-visible {outline:2px solid #103c51;outline-offset:1px}
.landing-chart-body .landing-mark-muted {opacity:.22}
.landing-brand-toggle {
  display:flex;align-items:center;gap:.35rem;min-height:26px;width:100%;padding:3px 5px;
  border:1px solid transparent;border-radius:5px;background:transparent;color:inherit;
  font:inherit;text-align:start;overflow-wrap:anywhere;cursor:pointer;
}
.landing-brand-toggle .market-dot {flex-shrink:0;margin:0}
.landing-brand-toggle[aria-pressed=true] {background:#dceeed;border-color:#78aaaf;color:#064e56;font-weight:700}
.landing-brand-toggle:focus-visible {outline:2px solid #00747a;outline-offset:1px}
@media(hover:hover) {.landing-brand-toggle:hover {background:#e7f2f2}}
@media(pointer:coarse) {.landing-brand-toggle {min-height:44px}}
@media print {.landing-chart-tooltip {display:none!important}.landing-chart-body .landing-mark-muted {opacity:1}}

.landing-bars + .landing-chart-legend {
  margin-top: 1.25rem;
}

.landing-card .landing-fob-ring svg .landing-ring-total {
  font-size: 1rem;
  font-weight: 700;
  fill: #103652;
}

.landing-chart-section .landing-table-scroll {
  max-width: 100%;
}

@media (max-width: 600px) {
  .landing-chart-section h4 { font-size: .95rem; }
  .landing-bars li { gap: .4rem; }
}
