/**
 * AgroCapital Markets public experience
 * Green = primary brand; orange = logo accent for CTAs and selection.
 * Scoped to .am-page / .am-body to avoid site-wide regressions.
 */
html.am-html {
  --am-modbar-h: 68px;
  --am-sticky-top: calc(var(--bank-topbar-h, 32px) + var(--bank-header-h, 72px));
  scroll-padding-top: calc(var(--am-sticky-top) + var(--am-modbar-h) + 12px);
}

.am-page {
  position: relative;
  z-index: 0;
  isolation: isolate;
  --am-modbar-h: 68px;
  --am-sticky-top: calc(var(--bank-topbar-h, 32px) + var(--bank-header-h, 72px));
  --am-green: #0b3d22;
  --am-green-mid: #1a6b3c;
  --am-green-soft: #e7f3eb;
  --am-orange: #e87820;
  --am-orange-dark: #c86214;
  --am-orange-soft: #fdf1e6;
  --am-text: #1c2a22;
  --am-muted: #5c6f62;
  --am-line: #dce6df;
  --am-paper: #ffffff;
  --am-wash: #f6f3ee;
  --am-shadow: 0 12px 32px rgba(11, 61, 34, 0.08);
  --am-max: 1120px;
  background:
    radial-gradient(900px 380px at 100% 0, rgba(232, 120, 32, 0.06), transparent 50%),
    var(--am-wash);
  color: var(--am-text);
  padding-bottom: 48px;
}

.am-shell {
  max-width: var(--am-max);
  margin: 0 auto;
  padding: 12px 20px 0;
}

.am-modbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 20px;
  align-items: center;
  position: sticky;
  top: var(--am-sticky-top, calc(var(--bank-topbar-h, 32px) + var(--bank-header-h, 72px)));
  z-index: 30;
  margin: 0 -20px 18px;
  padding: 10px 20px 16px;
  background: var(--am-wash);
  border-bottom: 1px solid var(--am-line);
  box-shadow: 0 12px 16px -12px rgba(11, 61, 34, 0.18);
}

.am-modbar__kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--am-orange);
}

.am-modbar__brand strong {
  display: block;
  font-size: 0.95rem;
  color: var(--am-green);
}

.am-modnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.am-modnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--am-green);
  background: #fff;
  border: 1px solid var(--am-line);
}

.am-modnav a.is-active {
  background: var(--am-orange);
  border-color: var(--am-orange);
  color: #fff;
}

.am-modnav__short { display: none; }

.am-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 0.8rem;
  color: var(--am-muted);
}

.am-crumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 6px;
  color: #b7c4bb;
}

.am-crumbs a { color: var(--am-green-mid); text-decoration: none; font-weight: 700; }

.am-countries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.am-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--am-line);
  text-decoration: none;
  color: var(--am-text);
}

.am-flag img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.am-flag span { font-weight: 800; color: var(--am-green); }
.am-flag em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--am-muted);
}
.am-flag.is-active {
  border-color: var(--am-orange);
  box-shadow: 0 0 0 2px rgba(232, 120, 32, 0.18);
}
.am-flag.is-active em { color: var(--am-orange); }

.am-hero {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  margin: 0 0 22px;
  color: #fff;
  background: #0b3d22 center/cover no-repeat;
}

.am-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% 45%;
}

.am-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(11, 61, 34, 0.92) 0%,
    rgba(11, 61, 34, 0.78) 28%,
    rgba(11, 61, 34, 0.42) 52%,
    rgba(11, 61, 34, 0.12) 74%,
    rgba(11, 61, 34, 0.02) 100%);
}

.am-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  padding: 36px 32px 32px;
}

.am-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.am-hero p {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}

.am-hero__search {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 14px;
  padding: 6px;
  margin: 0 0 14px;
}

.am-hero__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 1rem;
  color: var(--am-text);
}

.am-hero__search input:focus { outline: none; }

.am-hero__search button,
.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 11px;
  border: 0;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
}

.am-btn--primary,
.am-hero__search button {
  background: var(--am-orange);
  color: #fff;
}
.am-btn--primary:hover,
.am-hero__search button:hover { background: var(--am-orange-dark); }

.am-btn--secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.75);
}
.am-btn--secondary:hover { background: rgba(255,255,255,0.12); }

.am-btn--ghost {
  background: #fff;
  color: var(--am-green);
  border: 1px solid var(--am-line);
}
.am-btn--text {
  background: transparent;
  color: var(--am-green-mid);
  min-height: auto;
  padding: 0;
  border-radius: 0;
  font-size: 0.88rem;
}
.am-btn--text:hover { color: var(--am-orange); text-decoration: underline; }

.am-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.am-section {
  margin: 0 0 18px;
  scroll-margin-top: calc(var(--am-modbar-h, 68px) + 16px);
}
.am-section h1 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: var(--am-green);
  letter-spacing: -0.03em;
}
.am-section h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--am-green);
  letter-spacing: -0.03em;
}
.am-section > p,
.am-lede {
  margin: 0 0 10px;
  color: var(--am-muted);
  font-size: 0.84rem;
}

.am-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.am-chips a,
.am-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--am-line);
  color: var(--am-green);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
}
.am-chips a.is-active {
  background: var(--am-orange-soft);
  border-color: var(--am-orange);
  color: var(--am-orange-dark);
}

.am-cats-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
}
.am-cats-head h2 { margin: 0 0 4px; }
.am-cats-head .am-lede { margin: 0; }
.am-cats-all {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 44px;
  padding: 4px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--am-orange);
  color: #fff;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
.am-cats-all[aria-expanded="true"] {
  background: var(--am-green);
}
.am-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
.am-cats__track { display: contents; }
.am-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 14px 6px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--am-line);
  color: var(--am-green);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 1px 0 rgba(11, 61, 34, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.am-cat:hover {
  border-color: var(--am-orange);
  box-shadow: 0 0 0 2px rgba(232, 120, 32, 0.14);
  color: var(--am-green);
}
.am-cat__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--am-green-soft);
  color: var(--am-green-mid);
  font-size: 0.78rem;
}
.am-cat__name { font-size: 0.8rem; line-height: 1.2; }
.am-cat--grains .am-cat__ico { background: #fdf1e6; color: #c86214; }
.am-cat--beans .am-cat__ico { background: #efe6d8; color: #6b4a1b; }
.am-cat--veg .am-cat__ico { background: #e7f3eb; color: #1a6b3c; }
.am-cat--roots .am-cat__ico { background: #f3ead6; color: #8a5a12; }
.am-cat--dairy .am-cat__ico { background: #e8f1fb; color: #2b5f8a; }
.am-cat--meat .am-cat__ico { background: #fdecec; color: #a33b3b; }
.am-cat--cook .am-cat__ico { background: #f7efe2; color: #9a5b12; }
.am-cat--fruits .am-cat__ico { background: #fde8ef; color: #b43d6b; }
.am-cat--other .am-cat__ico { background: #eef2f0; color: #3d5346; }

.am-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.am-grid-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.am-grid-2 {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
}

.am-card {
  background: var(--am-paper);
  border: 1px solid var(--am-line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--am-shadow);
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.am-card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--am-green);
}
.am-card--product { padding: 14px; gap: 5px; }
.am-card--media {
  padding: 0;
  gap: 0;
  overflow: hidden;
}
.am-grid-markets {
  align-items: stretch;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.am-card--market {
  height: 100%;
  min-height: 0;
  border-radius: 12px;
}
.am-card--market .am-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px 8px;
}
.am-card--market h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.84rem;
  line-height: 1.22;
}
.am-card--market .am-card__meta {
  font-size: 0.68rem;
}
.am-card--market .am-card__price {
  font-size: 0.8rem;
}
.am-card--market .am-btn--text {
  margin-top: 4px;
  padding-top: 2px;
  font-size: 0.74rem;
}
.am-card--product.am-card--media {
  border-radius: 12px;
  height: 100%;
}
.am-card__photo,
.am-product-head__photo,
.am-market-hero__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--am-green-soft);
  overflow: hidden;
  display: block;
}
.am-card--product .am-card__photo {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: 148px;
  flex: 0 0 auto;
}
.am-card__photo--market {
  aspect-ratio: auto;
  flex: 0 0 108px;
  height: 108px;
  max-height: 108px;
}
.am-card--market .am-card__photo--unavailable {
  height: 108px;
  max-height: 108px;
  background: #eef3ef;
}
.am-market-hero__photo {
  aspect-ratio: 16 / 9;
  height: auto;
}
.am-card__photo img,
.am-product-head__photo img,
.am-market-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.am-card__photo--illustration img,
.am-product-head__photo.am-card__photo--illustration img,
img.am-card__img--illustration {
  object-fit: contain;
  padding: 12px;
  background: var(--am-green-soft);
}
.am-card--market .am-card__photo img,
.am-market-hero__photo img {
  object-fit: cover;
  object-position: center center;
}
a.am-card__photo { color: inherit; text-decoration: none; }
.am-card__photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  color: var(--am-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.am-card--product .am-card__photo-fallback {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--am-green-mid);
  opacity: 0.45;
}
.am-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px 16px;
  min-width: 0;
}
.am-card--product.am-card--media .am-card__body {
  flex: 1 1 auto;
  padding: 10px 12px 12px;
  gap: 4px;
}
.am-card--product h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.44em;
  font-size: 0.82rem;
  line-height: 1.22;
}
.am-card--product .am-card__price {
  font-size: 0.84rem;
  margin: 1px 0 0;
  min-height: 1.2em;
}
.am-card--product .am-card__type {
  font-size: 0.68rem;
  min-height: 1.15em;
}
.am-card--product .am-card__meta {
  font-size: 0.68rem;
  min-height: 1.15em;
}
.am-card--product .am-btn--text {
  margin-top: auto;
  padding-top: 6px;
  font-size: 0.74rem;
}
.am-card__visual {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--am-green-soft);
}
.am-card__type {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--am-orange-dark);
}
.am-card__price {
  font-size: 1.08rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--am-green);
}
.am-card__meta { margin: 0; color: var(--am-muted); font-size: 0.78rem; }

.am-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
  align-items: end;
  scroll-margin-top: calc(var(--am-modbar-h, 68px) + 16px);
}
.am-toolbar--compare {
  grid-template-columns: minmax(140px, 0.7fr) minmax(220px, 1.6fr) auto;
}
.am-toolbar label,
.am-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--am-green-mid);
}
.am-toolbar input,
.am-toolbar select,
.am-field input,
.am-field select {
  min-height: 38px;
  border: 1px solid var(--am-line);
  border-radius: 10px;
  padding: 7px 10px;
  background: #fff;
  font-size: 0.84rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--am-text);
}
.am-toolbar .am-btn {
  min-height: 38px;
  width: auto;
  align-self: flex-start;
  padding: 8px 14px;
  font-size: 0.82rem;
}

.am-chart {
  margin: 0;
  padding: 12px 14px 8px;
  background: var(--am-paper);
  border: 1px solid var(--am-line);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(11, 61, 34, 0.05);
}
.am-chart__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0 0 8px;
}
.am-chart__unit {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--am-green);
}
.am-chart__scale {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--am-muted);
}
.am-chart__row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr) minmax(7.2rem, auto);
  gap: 10px 12px;
  align-items: center;
  margin: 0;
  padding: 7px 4px;
  border-radius: 10px;
}
.am-chart__row:hover { background: #f7faf8; }
.am-chart__row.is-low { background: var(--am-orange-soft); }
.am-chart__row.is-high { background: #fbf4f5; }
.am-chart__row--ticks {
  padding: 0 4px 2px;
  margin-bottom: 2px;
  color: var(--am-muted);
  font-size: 0.62rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.am-chart__row--ticks:hover { background: transparent; }
.am-chart__ticks {
  display: flex;
  justify-content: space-between;
  min-width: 0;
}
.am-chart__label {
  min-width: 0;
  font-size: 0.82rem;
  color: var(--am-text);
}
.am-chart__label a { color: inherit; text-decoration: none; }
.am-chart__label a:hover strong { color: var(--am-orange); }
.am-chart__label strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--am-green);
  line-height: 1.25;
}
.am-chart__label span { display: block; font-size: 0.68rem; color: var(--am-muted); }
.am-chart__plot {
  position: relative;
  height: 18px;
  min-width: 0;
  background: #eef3ef;
  border-radius: 999px;
  overflow: hidden;
}
.am-chart__grid {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(25% - 1px),
    #d5e0d8 calc(25% - 1px),
    #d5e0d8 25%
  );
  pointer-events: none;
}
.am-chart__bar {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--am-green-mid), #2d9a5b);
  border-radius: 999px;
  min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}
.am-chart__row.is-low .am-chart__bar {
  background: linear-gradient(90deg, var(--am-orange-dark), var(--am-orange));
}
.am-chart__row.is-high .am-chart__bar {
  background: linear-gradient(90deg, #b45a66, #7d2d36);
}
.am-chart__value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--am-green);
  text-align: right;
  white-space: nowrap;
  font-size: 0.86rem;
}
.am-chart__row.is-high .am-chart__value { color: #7d2d36; }
.am-chart__row.is-low .am-chart__value { color: var(--am-orange-dark); }

.am-compare-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.9fr) minmax(0, 1.5fr) auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 10px;
}
.am-bar {
  height: 14px;
  background: #eef3ef;
  border-radius: 999px;
  overflow: hidden;
}
.am-bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--am-green-mid), #2d9a5b);
  border-radius: 999px;
}
.am-compare-row.is-low .am-bar > span {
  background: linear-gradient(90deg, var(--am-orange-dark), var(--am-orange));
}
.am-price {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--am-green);
  white-space: nowrap;
}
.am-low-tag,
.am-high-tag {
  display: inline-flex;
  align-items: center;
  margin: 0;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
}
.am-low-tag {
  background: #fff;
  color: var(--am-orange-dark);
  border: 1px solid #f3d2b4;
}
.am-high-tag {
  background: #fff;
  color: #7d2d36;
  border: 1px solid #e3c4c8;
}
.am-vcmp__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
}
.am-vcmp__pill {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--am-green);
  background: var(--am-green-soft);
  border-radius: 999px;
  padding: 4px 11px;
  white-space: nowrap;
}
.am-vcmp__pill--one {
  color: #fff;
  background: var(--am-green);
}
.am-vcmp__fresh {
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--am-muted);
}
.am-vcmp__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  scroll-margin-top: calc(var(--am-modbar-h, 68px) + 16px);
  margin: 0 0 12px;
}
.am-vcmp__tile {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 12px 10px;
  background: var(--am-paper);
  border: 1px solid var(--am-line);
  border-left: 3px solid var(--am-green-mid);
  border-radius: 12px;
}
.am-vcmp__tile--low { border-left-color: var(--am-orange); }
.am-vcmp__tile--high { border-left-color: #9d4350; }
.am-vcmp__k {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--am-muted);
}
.am-vcmp__v {
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--am-green);
  font-variant-numeric: tabular-nums;
}
.am-vcmp__m {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--am-muted);
}
.am-ladder {
  margin: 0;
  padding: 12px 14px 10px;
  background: var(--am-paper);
  border: 1px solid var(--am-line);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(11, 61, 34, 0.05);
}
.am-ladder[data-n="1"],
.am-ladder[data-n="2"],
.am-ladder[data-n="3"] {
  max-width: 720px;
}
.am-ladder[data-n="1"] .am-ladder__ticks,
.am-ladder[data-n="1"] .am-ladder__row,
.am-ladder[data-n="2"] .am-ladder__ticks,
.am-ladder[data-n="2"] .am-ladder__row,
.am-ladder[data-n="3"] .am-ladder__ticks,
.am-ladder[data-n="3"] .am-ladder__row {
  grid-template-columns: minmax(140px, 220px) minmax(160px, 280px) 7.6rem;
}
.am-ladder__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  margin: 0 0 8px;
}
.am-ladder__unit {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--am-green);
}
.am-ladder__scale {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--am-muted);
}
.am-ladder__ticks {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) 7.6rem;
  gap: 12px;
  margin: 0 0 4px;
  padding: 0 4px;
  color: var(--am-muted);
  font-size: 0.62rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.am-ladder__ticks div {
  display: flex;
  justify-content: space-between;
}
.am-ladder__row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) 7.6rem;
  gap: 12px;
  align-items: center;
  padding: 8px 4px;
  border-radius: 10px;
}
.am-ladder__row + .am-ladder__row { box-shadow: 0 -1px 0 var(--am-line); }
.am-ladder__row:hover { background: #f7faf8; }
.am-ladder__row.is-low { background: var(--am-orange-soft); }
.am-ladder__row.is-high { background: #fbf4f5; }
.am-ladder__label { min-width: 0; }
.am-ladder__label a { color: inherit; text-decoration: none; }
.am-ladder__label a:hover strong { color: var(--am-orange); }
.am-ladder__label strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--am-green);
}
.am-ladder__label span { display: block; font-size: 0.68rem; color: var(--am-muted); }
.am-ladder__plot {
  --inset: 8px;
  position: relative;
  height: 28px;
}
.am-ladder__rail {
  position: absolute;
  left: var(--inset);
  right: var(--inset);
  top: 50%;
  height: 3px;
  border-radius: 999px;
  background: #e7eee9;
  transform: translateY(-50%);
}
.am-ladder__stem {
  position: absolute;
  left: var(--inset);
  top: 50%;
  width: calc((100% - 2 * var(--inset)) * var(--p) / 100);
  height: 3px;
  border-radius: 999px;
  background: #8eaa96;
  transform: translateY(-50%);
}
.am-ladder__dot {
  position: absolute;
  left: calc(var(--inset) + (100% - 2 * var(--inset)) * var(--p) / 100);
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a6b3c;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(11, 61, 34, 0.12);
  transform: translate(-50%, -50%);
}
.am-ladder__row.is-low .am-ladder__stem { background: transparent; }
.am-ladder__row.is-low .am-ladder__dot {
  width: 16px;
  height: 16px;
  background: var(--am-orange);
  box-shadow: 0 0 0 4px rgba(232, 120, 32, 0.16);
}
.am-ladder__row.is-high .am-ladder__stem { background: #c58a92; }
.am-ladder__row.is-high .am-ladder__dot { background: #7d2d36; }
.am-ladder__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  text-align: right;
}
.am-ladder__meta strong {
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--am-green);
}
.am-ladder__meta em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--am-muted);
}
.am-ladder__row.is-low .am-ladder__meta strong,
.am-ladder__row.is-low .am-ladder__label strong { color: var(--am-orange-dark); }
.am-ladder__row.is-low .am-ladder__meta em { color: var(--am-orange-dark); }
.am-ladder__row.is-high .am-ladder__meta strong,
.am-ladder__row.is-high .am-ladder__label strong { color: #7d2d36; }
.am-ladder__row.is-high .am-ladder__meta em { color: #7d2d36; }
.am-ladder__note {
  margin: 10px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--am-muted);
  line-height: 1.45;
}
.am-vchart {
  --plot-h: 248px;
  --label-h: 44px;
  --col-min: 72px;
  --col-gap: 10px;
  --val-space: 26px;
  margin: 0;
  padding: 12px 14px 12px;
  background: var(--am-paper);
  border: 1px solid var(--am-line);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(11, 61, 34, 0.05);
}
.am-vchart__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin: 0 0 8px;
}
.am-vchart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 0;
}
.am-vchart__scale {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--am-muted);
}
.am-vchart__key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--am-muted);
  white-space: nowrap;
}
.am-vchart__key::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #8eaa96;
}
.am-vchart__key--low::before { background: var(--am-orange); }
.am-vchart__key--high::before { background: #8a3b46; }
.am-vchart__body {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.am-vchart__axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: var(--plot-h);
  margin-top: var(--val-space);
  padding-bottom: 0;
}
.am-vchart__axis span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 0;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--am-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.am-vchart__scroll {
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
  scrollbar-color: var(--am-green-soft) transparent;
}
.am-vchart__scroll::-webkit-scrollbar { height: 6px; }
.am-vchart__scroll::-webkit-scrollbar-track { background: transparent; }
.am-vchart__scroll::-webkit-scrollbar-thumb {
  background: var(--am-green-soft);
  border-radius: 999px;
}
.am-vchart__hint {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 6px 0 0;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--am-muted);
}
.am-vchart__hint::after {
  content: "→";
  font-size: 0.86rem;
  color: var(--am-orange);
}
.am-vchart__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--col-gap);
  width: max-content;
  min-width: 0;
}
.am-vcol {
  flex: 0 0 80px;
  min-width: var(--col-min);
  max-width: 110px;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.am-vchart[data-n="1"] .am-vchart__track,
.am-vchart[data-n="2"] .am-vchart__track,
.am-vchart[data-n="3"] .am-vchart__track {
  width: min(100%, 420px);
  max-width: 420px;
}
.am-vchart[data-n="1"] .am-vcol,
.am-vchart[data-n="2"] .am-vcol,
.am-vchart[data-n="3"] .am-vcol {
  flex: 1 1 0;
  max-width: 140px;
  min-width: 88px;
}
a.am-vcol:visited { color: inherit; }
.am-vcol__plot {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: var(--plot-h);
  margin-top: var(--val-space);
  padding: 0 6px;
  border-bottom: 2px solid #cfe0d4;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(220, 230, 223, 0.9) 0 1px,
    transparent 1px 25%
  );
}
.am-vcol__bar {
  position: relative;
  display: block;
  width: 100%;
  max-width: 42px;
  height: var(--h);
  min-height: 0;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #c5d7cb, #7f9d88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.am-vcol.is-low .am-vcol__bar {
  height: 10px;
  min-height: 10px;
  width: 10px;
  max-width: 10px;
  border-radius: 999px;
  background: var(--am-orange);
  box-shadow: 0 0 0 4px rgba(232, 120, 32, 0.16);
}
.am-vcol.is-high .am-vcol__bar {
  background: linear-gradient(180deg, #b45a66, #7d2d36);
}
.am-vcol:hover .am-vcol__bar,
.am-vcol:focus-visible .am-vcol__bar {
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.am-vcol__val {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 1px 6px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--am-line);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--am-green);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 2px rgba(11, 61, 34, 0.06);
}
.am-vcol.is-low .am-vcol__val {
  color: var(--am-orange-dark);
  border-color: #f3d2b4;
  background: var(--am-orange-soft);
}
.am-vcol.is-high .am-vcol__val {
  color: #7d2d36;
  border-color: #e3c4c8;
  background: #fbf4f5;
}
.am-vlabel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: var(--label-h);
  padding: 8px 2px 0;
  text-align: center;
}
.am-vlabel strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--am-text);
}
.am-vlabel strong.am-vlabel__short { display: none; }
.am-vcol.is-low .am-vlabel strong { color: var(--am-orange-dark); }
.am-vcol.is-high .am-vlabel strong { color: #7d2d36; }
.am-vcmp__note {
  margin: 10px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--am-muted);
  line-height: 1.45;
}
.am-vcmp__cta { margin: 14px 0 0; }

.am-soon {
  background: #fff;
  border: 1px solid var(--am-line);
  border-radius: 18px;
  padding: 28px 22px;
}
.am-soon h1 { margin: 0 0 8px; color: var(--am-green); }
.am-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.am-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--am-line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--am-text);
}
.am-list a strong { color: var(--am-green); }
.am-note {
  font-size: 0.82rem;
  color: var(--am-muted);
  line-height: 1.5;
}
.am-foot-note {
  margin: 12px 0 0;
  padding: 0 0 8px;
  max-width: 42rem;
  font-size: 0.78rem;
  color: var(--am-muted);
  line-height: 1.5;
}
.am-status { font-size: 0.75rem; color: var(--am-muted); }
.am-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--am-line);
  border-radius: 12px;
  background: #fff;
}
.am-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.am-table th,
.am-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--am-line);
  vertical-align: top;
  font-size: 0.86rem;
}
.am-table th { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--am-muted); }
.am-table .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 800; color: var(--am-green); }
.am-confirm { color: #8a3b12; }

.am-markets-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
.am-markets-pick label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--am-line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--am-green);
  cursor: pointer;
}
.am-markets-pick label.is-on,
.am-markets-pick label:has(:checked) {
  background: var(--am-orange-soft);
  border-color: #f0c08a;
  color: var(--am-orange-dark);
}
.am-markets-pick input { margin: 0; accent-color: var(--am-orange); }
.am-markets-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.am-compare-range { margin-top: 10px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.am-product-head { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: start; scroll-margin-top: calc(var(--am-modbar-h, 68px) + 16px); }
.am-product-head__photo {
  width: 180px;
  height: 135px;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px solid var(--am-line);
  min-height: 0;
}
.am-market-hero { margin: 0 0 16px; }
.am-market-hero__photo {
  border-radius: 16px;
  border: 1px solid var(--am-line);
}
.am-photo-unavailable {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3ef;
  color: var(--am-muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.am-source {
  margin: 0 0 18px;
  max-width: 40rem;
  color: var(--am-muted);
  font-size: 0.82rem;
}
.am-source summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--am-green-mid);
}
.am-source p {
  margin: 8px 0 0;
  line-height: 1.5;
}
.am-photo-credit {
  margin: 8px 0 0;
  color: var(--am-muted);
  font-size: 0.78rem;
}
.am-photo-credit a { color: var(--am-green); font-weight: 700; text-decoration: none; }
.am-photo-credit a:hover { color: var(--am-orange); }
.am-compare-head {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  scroll-margin-top: calc(var(--am-modbar-h, 68px) + 16px);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.am-compare-head__photo {
  width: 72px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--am-green-soft);
  border: 1px solid var(--am-line);
}
.am-compare-head--plain { grid-template-columns: 1fr; }
.am-compare-head h2 { margin: 0 0 6px; }
.am-compare-head .am-vcmp__pills { margin: 0; }
.am-compare-head .am-vcmp__fresh { margin: 6px 0 0; }
.am-credits { display: grid; gap: 14px; }
.am-credit {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: var(--am-paper);
  border: 1px solid var(--am-line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--am-shadow);
}
.am-credit img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--am-green-soft);
}
.am-credit h3 { margin: 0 0 6px; color: var(--am-green); font-size: 1.02rem; }
.am-credit a { color: var(--am-green); font-weight: 700; text-decoration: none; }
.am-credit a:hover { color: var(--am-orange); }
.am-countries--hero { margin-bottom: 28px; }
.am-card h3 a { color: inherit; text-decoration: none; }
.am-card h3 a:hover { color: var(--am-orange); }

body.am-body {
  overflow-x: visible;
  padding-top: calc(var(--bank-topbar-h, 32px) + var(--bank-header-h, 72px));
}
body.am-body .bank-footer {
  position: relative;
  z-index: 2;
}
body.am-body .bank-header {
  overflow: visible;
}
body.am-body .bank-header__inner {
  overflow: visible;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  gap: 8px;
}
body.am-body .bank-nav-wrap {
  min-width: 0;
  flex: 1 1 auto;
}
body.am-body .bank-header__actions {
  flex-shrink: 0;
}
body.am-body .bank-whatsapp {
  left: 16px;
  bottom: 16px;
  z-index: 40;
}
body.am-body #tidio-chat {
  right: 12px !important;
  bottom: 12px !important;
  z-index: 40;
}
body.am-body #tidio-chat iframe[title*="offer" i],
body.am-body #tidio-chat iframe[title*="invitation" i],
body.am-body #tidio-chat iframe[title*="promo" i] {
  display: none !important;
}

@media (max-width: 1100px) {
  .am-grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .am-grid-markets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .am-card--product .am-card__photo { max-height: 132px; }
  .am-toolbar--compare { grid-template-columns: minmax(140px, 0.8fr) minmax(0, 1.4fr) auto; }
}
@media (max-width: 1024px) {
  .am-grid-3, .am-grid-2, .am-toolbar { grid-template-columns: 1fr 1fr; }
  .am-countries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .am-grid-3.am-grid-markets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .am-grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .am-card--product .am-card__photo { max-height: 128px; }
  .am-toolbar--compare { grid-template-columns: 1fr 1fr; }
  .am-toolbar--compare label:has(.am-btn) { grid-column: auto; justify-self: start; }
  .am-hero { min-height: 380px; }
  .am-vchart { --plot-h: 220px; --col-min: 64px; }
  .am-vchart__body { grid-template-columns: 62px minmax(0, 1fr); }
}

@media (max-width: 700px) {
  body.am-body { overflow-x: clip; }
  .am-page { overflow-x: clip; }
  .am-shell { padding: 0 12px 0; }
  .am-modbar {
    position: relative;
    top: auto;
    margin: 0 -12px 8px;
    padding: 6px 12px 8px;
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: none;
  }
  .am-modbar__brand strong { font-size: 0.8rem; line-height: 1.25; }
  .am-modnav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    flex-wrap: nowrap;
    overflow: visible;
    gap: 4px;
    padding-bottom: 0;
  }
  .am-modnav::-webkit-scrollbar { display: none; }
  .am-modnav__full { display: none; }
  .am-modnav__short { display: inline; }
  .am-modnav a {
    flex: none;
    justify-content: center;
    white-space: nowrap;
    min-height: 36px;
    padding: 6px 4px;
    font-size: 0.68rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .am-hero {
    min-height: 0;
    border-radius: 16px;
    margin-bottom: 14px;
  }
  .am-hero__inner { padding: 18px 14px 16px; max-width: none; }
  .am-hero h1 { font-size: 1.42rem; margin-bottom: 8px; }
  .am-hero p { font-size: 0.88rem; margin-bottom: 12px; }
  .am-hero__search { flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; }
  .am-hero__search input { min-height: 42px; font-size: 0.95rem; }
  .am-hero__search button { width: 100%; min-height: 44px; }
  .am-hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .am-hero__actions .am-btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    padding: 10px 8px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
  .am-countries--hero {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px;
    margin-bottom: 16px;
  }
  .am-countries--hero .am-flag {
    flex-direction: column;
    text-align: center;
    gap: 3px;
    padding: 8px 4px;
    min-height: 0;
  }
  .am-countries--hero .am-flag img { width: 22px; height: 15px; }
  .am-countries--hero .am-flag span { font-size: 0.68rem; font-weight: 800; }
  .am-flag em {
    display: block;
    margin-left: 0;
    font-size: 0.58rem;
    line-height: 1.15;
    white-space: nowrap;
  }
  .am-chips { gap: 6px; }
  .am-chips a { min-height: 36px; padding: 6px 10px; font-size: 0.74rem; }
  .am-cat {
    min-width: 0;
  }
  .am-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .am-chips a,
  .am-chips span {
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.2;
    min-height: 40px;
  }
  .am-card--market .am-card__photo--market,
  .am-card--market .am-card__photo--unavailable {
    flex-basis: 96px;
    height: 96px;
    max-height: 96px;
  }
  .am-countries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .am-grid-3, .am-grid-2, .am-toolbar { grid-template-columns: 1fr; }
  .am-grid-3.am-grid-markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-toolbar--compare { grid-template-columns: 1fr; }
  .am-grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .am-card--product .am-card__photo { max-height: 120px; }
  .am-product-head { grid-template-columns: 140px minmax(0, 1fr); gap: 12px; }
  .am-product-head__photo { width: 140px; height: 105px; }
  .am-compare-head { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; }
  .am-compare-head__photo { width: 56px; height: 42px; }
  .am-credit { grid-template-columns: 1fr; }
  .am-hero__img { object-position: 30% 40%; }
  .am-chart { padding: 10px 10px 6px; }
  .am-chart__row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label value"
      "plot plot";
    gap: 4px 8px;
    padding: 8px 2px;
  }
  .am-chart__row--ticks { display: none; }
  .am-chart__label { grid-area: label; }
  .am-chart__plot { grid-area: plot; height: 14px; }
  .am-chart__value { grid-area: value; font-size: 0.78rem; }
  .am-ladder { padding: 10px 10px 8px; max-width: none; }
  .am-ladder__ticks,
  .am-ladder__row,
  .am-ladder[data-n="1"] .am-ladder__ticks,
  .am-ladder[data-n="1"] .am-ladder__row,
  .am-ladder[data-n="2"] .am-ladder__ticks,
  .am-ladder[data-n="2"] .am-ladder__row,
  .am-ladder[data-n="3"] .am-ladder__ticks,
  .am-ladder[data-n="3"] .am-ladder__row {
    grid-template-columns: minmax(0, 1fr) 6.4rem;
    gap: 6px 8px;
  }
  .am-ladder__ticks { display: none; }
  .am-ladder__label { grid-column: 1; }
  .am-ladder__meta { grid-column: 2; }
  .am-ladder__plot { grid-column: 1 / -1; height: 22px; }
  .am-vcmp__summary { grid-template-columns: 1fr; gap: 8px; }
  .am-vcmp__tile { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .am-vcmp__tile .am-vcmp__v { margin-left: auto; font-size: 1.05rem; }
  .am-vcmp__tile .am-vcmp__m { flex: 1 0 100%; }
  .am-vchart { --plot-h: 188px; --label-h: 92px; --col-min: 44px; --col-gap: 8px; --val-space: 22px; padding: 10px 10px 10px; }
  .am-vchart__scroll {
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 22px), rgba(0, 0, 0, 0.25));
    mask-image: linear-gradient(to right, #000 calc(100% - 22px), rgba(0, 0, 0, 0.25));
  }
  .am-vchart__track::after { content: ""; flex: 0 0 22px; }
  .am-vcol { scroll-snap-align: start; }
  .am-vchart__hint { display: flex; }
  .am-vchart__body { grid-template-columns: 52px minmax(0, 1fr); gap: 6px; }
  .am-vchart__axis span { font-size: 0.55rem; }
  .am-vchart__key { font-size: 0.58rem; }
  .am-vcol__plot { padding: 0 3px; }
  .am-vcol__bar { max-width: 28px; border-radius: 6px 6px 2px 2px; }
  .am-vcol__val { font-size: 0.58rem; padding: 0 5px; }
  .am-vlabel { padding-top: 8px; }
  .am-vlabel strong.am-vlabel__full { display: none; }
  .am-vlabel strong.am-vlabel__short {
    display: block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    height: 84px;
    -webkit-line-clamp: unset;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.64rem;
    line-height: 1.1;
  }
  .am-vcmp__note { font-size: 0.7rem; }
  .am-page { padding-bottom: 56px; }
  body.am-body .bank-whatsapp { bottom: 84px; }
}

@media (max-width: 420px) {
  .am-grid-3 { grid-template-columns: 1fr; }
  .am-grid-3.am-grid-markets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-vchart { --plot-h: 168px; --col-min: 40px; --col-gap: 6px; }
  .am-vchart__body { grid-template-columns: 48px minmax(0, 1fr); }
  .am-vlabel strong.am-vlabel__short { height: 80px; font-size: 0.6rem; }
  .am-modnav a { font-size: 0.62rem; padding: 6px 2px; min-height: 34px; }
  .am-hero__actions .am-btn { font-size: 0.72rem; padding: 10px 6px; }
}

/* The corporate nav keeps its single desktop row down to 1100px (landing.css
   steps the type down); only below that do markets pages use the drawer. */
@media (max-width: 1099px) {
  body.am-body { overflow-x: clip; }
  body.am-body .bank-menu-toggle { display: inline-flex; }
  body.am-body .bank-nav-wrap {
    flex: none;
    width: min(360px, 90vw);
  }
  body.am-body .bank-nav-drawer-head {
    color: #fff;
    background: linear-gradient(135deg, #0b3d22, #1a6b3c);
  }
  body.am-body .bank-nav > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  html.am-html {
    --am-modbar-h: 0px;
    scroll-padding-top: calc(var(--bank-topbar-h, 32px) + var(--bank-header-h, 72px) + 8px);
  }
  .am-modbar {
    position: relative;
    top: auto;
    box-shadow: none;
  }
  .am-cats-all { display: inline-flex; }
  .am-cats {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0 -2px;
    padding: 2px 0 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 22px), transparent);
    mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 22px), transparent);
  }
  .am-cats::-webkit-scrollbar { display: none; }
  .am-cats.is-open {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .am-cats__track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: max-content;
  }
  .am-cats.is-open .am-cats__track {
    flex-wrap: wrap;
    width: auto;
  }
  .am-cats.is-open .am-cat--clone { display: none; }
  .am-cat {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 5px 10px 5px 6px;
    gap: 6px;
    border-radius: 999px;
  }
  .am-cat__ico {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 0.68rem;
  }
  .am-cat__name {
    font-size: 0.72rem;
    white-space: nowrap;
    line-height: 1.2;
  }
  .am-cats.is-open .am-cat__name {
    white-space: normal;
  }
}

.am-fx-head { margin-bottom: 10px; }
.am-fx-head h1 {
  margin: 0 0 2px;
  color: var(--am-green);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}
.am-fx-head .am-fx-updated { margin: 0; font-size: 0.78rem; color: var(--am-muted); font-weight: 600; }
.am-fx-board {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: 14px 18px;
  align-items: stretch;
  background: var(--am-paper);
  border: 1px solid var(--am-line);
  border-radius: 14px;
  padding: 14px 16px 12px;
  margin: 0 0 12px;
}
.am-fx-eq { margin: 0 0 10px; }
.am-fx-eq__lead {
  margin: 0 0 2px;
  color: var(--am-muted);
  font-size: 0.8rem;
}
.am-fx-eq__out {
  margin: 0;
  color: var(--am-green);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
}
.am-fx-eq__meta {
  margin: 6px 0 0;
  color: var(--am-muted);
  font-size: 0.68rem;
}
.am-fx-conv {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.am-fx-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(148px, 0.9fr);
  align-items: center;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--am-line);
  border-radius: 10px;
  padding: 0 10px;
  min-height: 44px;
}
.am-fx-box:focus-within {
  border-color: var(--am-green-mid);
  box-shadow: 0 0 0 2px rgba(26, 107, 60, 0.12);
}
.am-fx-box__amt {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--am-text);
  padding: 8px 10px 8px 0;
  outline: none;
  border-right: 1px solid var(--am-line);
}
.am-fx-box__ccy {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding-left: 8px;
}
.am-fx-flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(11, 61, 34, 0.14);
  flex-shrink: 0;
  background: #eef3ef;
}
.am-fx-box__ccy select {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--am-green);
  outline: none;
  cursor: pointer;
}
.am-fx-swap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid var(--am-line);
  background: #fff;
  color: var(--am-green);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(11, 61, 34, 0.08);
}
.am-fx-swap:hover {
  border-color: var(--am-orange);
  color: var(--am-orange);
}
.am-fx-chart {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.am-fx-ranges {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
  margin: 0 0 6px;
}
.am-fx-range {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--am-muted);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 7px;
  border-radius: 999px;
  cursor: pointer;
}
.am-fx-range.is-active {
  background: var(--am-green-soft);
  color: var(--am-green);
}
.am-fx-plot {
  position: relative;
  flex: 1;
  min-height: 140px;
}
.am-fx-plot svg {
  display: block;
  width: 100%;
  height: 140px;
}
.am-fx-plot__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--am-muted);
  font-size: 0.75rem;
}
.am-fx-plot__empty[hidden] { display: none; }
.am-fx-table-wrap { margin-top: 8px; }
.am-fx-table-wrap__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 8px;
}
.am-fx-table-wrap h2 { margin: 0; font-size: 0.82rem; }
.am-fx-table-wrap__head p {
  margin: 0;
  color: var(--am-muted);
  font-size: 0.7rem;
}
.am-fx-table {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.am-fx-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  appearance: none;
  border: 1px solid var(--am-line);
  border-radius: 10px;
  background: #fff;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  min-height: 52px;
}
.am-fx-row:hover { background: var(--am-green-soft); }
.am-fx-row.is-active {
  background: var(--am-orange-soft);
  border-color: var(--am-orange);
  box-shadow: inset 0 0 0 1px var(--am-orange);
}
.am-fx-row__id {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.am-fx-row strong {
  color: var(--am-green);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  line-height: 1.15;
}
.am-fx-row em {
  display: block;
  font-style: normal;
  color: var(--am-muted);
  font-size: 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.am-fx-row__px {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.am-fx-row b {
  display: block;
  color: var(--am-green);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.am-fx-row small {
  color: var(--am-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media (max-width: 800px) {
  .am-fx-board {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }
  .am-fx-eq__out { font-size: 1.22rem; overflow-wrap: anywhere; }
  .am-fx-eq__meta { display: none; }
  .am-fx-ranges {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 2px;
    overflow-x: auto;
  }
  .am-fx-range {
    flex: 1 0 auto;
    min-height: 36px;
    padding: 6px 8px;
  }
  .am-fx-plot,
  .am-fx-plot svg { min-height: 128px; height: 128px; }
  .am-fx-table { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .am-fx-swap {
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    font-size: 1rem;
  }
  .am-countries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .am-countries .am-flag {
    padding: 6px 8px;
    overflow: hidden;
  }
  .am-flag span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .am-flag em {
    display: block;
    margin-left: 0;
    font-size: 0.58rem;
    line-height: 1.15;
  }
}
@media (max-width: 700px) {
  .am-fx-head h1 { font-size: 1.08rem; }
  .am-fx-updated { font-size: 0.72rem; }
  .am-fx-box {
    grid-template-columns: minmax(0, 1.15fr) minmax(118px, 0.95fr);
    min-height: 52px;
    padding: 0 8px;
  }
  .am-fx-box__amt { font-size: 1.02rem; padding-right: 8px; }
  .am-fx-box__ccy { gap: 5px; padding-left: 6px; }
  .am-fx-box__ccy select { font-size: 0.7rem; }
  .am-fx-table-wrap__head { flex-wrap: wrap; gap: 2px 8px; }
  .am-fx-row { min-height: 48px; padding: 8px; gap: 6px; }
}
@media (max-width: 480px) {
  .am-fx-row em { display: none; }
  .am-fx-row {
    grid-template-columns: 20px auto minmax(0, 1fr);
    min-height: 46px;
  }
  .am-fx-row__px b { font-size: 0.8rem; }
  .am-fx-flag { width: 20px; height: 14px; }
  .am-fx-box { grid-template-columns: minmax(0, 1fr) minmax(104px, 0.9fr); }
  .am-page { padding-bottom: 72px; }
}

@media (max-width: 700px) {
  .am-hero__actions {
    flex-wrap: nowrap;
  }
  .am-hero__actions .am-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media (max-width: 360px) {
  .am-hero__actions .am-btn { font-size: 0.66rem; padding: 10px 4px; }
  .am-modnav a { font-size: 0.58rem; }
  .am-cat { min-height: 34px; padding: 4px 8px 4px 5px; }
  .am-cat__name { font-size: 0.68rem; }
}
