.rates-pxe-sr-only-q4w7 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Wrapper — full-width bg */
.rates-pxe-wrapper-q4w7 {
  background-color: #282834;
  border-radius: 20px;
  width: calc(100% - 16px);
  max-width: 1920px;
  margin: 8px auto 0;
  box-sizing: border-box;
}

/* Container — content */
.rates-pxe-container-q4w7 {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

/* Title */
.rates-pxe-title-wrap-q4w7 {
  padding: 24px;
}

.rates-pxe-title-q4w7 {
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1.28px;
  color: white;
  margin: 0;
  font-feature-settings: 'ss04' on, 'case' on;
}

/* Tabs */
.rates-pxe-tabs-q4w7 {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid #3f415f;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.rates-pxe-tabs-q4w7::-webkit-scrollbar {
  display: none;
}

.rates-pxe-tab-q4w7 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: white;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease-out;
}

.rates-pxe-tab-q4w7[data-active="false"] {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

.rates-pxe-tab-q4w7[data-active="false"]:hover {
  color: #ffffff;
}

.rates-pxe-tab-q4w7[data-active="true"] {
  color: #ffffff;
}

.rates-pxe-tab-indicator-q4w7 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #ffffff;
  border-radius: 4px 4px 0 0;
  opacity: 0;
  transition: opacity 0.15s ease-out;
}

.rates-pxe-tab-q4w7[data-active="true"] .rates-pxe-tab-indicator-q4w7 {
  opacity: 1;
}

/* Rates section */
.rates-pxe-rates-pxe-q4w7 {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

/* Rate item — mobile: row layout */
.rates-pxe-rate-item-q4w7 {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

.rates-pxe-rate-item-border-q4w7 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rates-pxe-rate-label-q4w7 {
  flex: 1;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: white;
}

.rates-pxe-rate-value-q4w7 {
  display: flex;
  align-items: center;
}

.rates-pxe-big-number-q4w7 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100px;
}

.rates-pxe-rate-number-q4w7 {
  display: inline-flex;
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -1.6px;
  color: white;
  font-feature-settings: 'ss04' on, 'case' on;
}

.rates-pxe-rate-percent-q4w7 {
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -1.6px;
  color: white;
  font-feature-settings: 'ss04' on, 'case' on;
}

/* Slot digit animation */
.rates-pxe-slot-digit-q4w7 {
  display: inline-block;
  width: 24px;
  height: 40px;
  overflow: hidden;
  position: relative;
}

.rates-pxe-slot-wide-q4w7 {
  width: 42px;
}

.rates-pxe-slot-comma-q4w7 {
  width: 8px;
}

.rates-pxe-slot-track-q4w7 {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rates-pxe-slot-char-q4w7 {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CTA */
.rates-pxe-cta-wrap-q4w7 {
  padding: 0 24px 24px;
}

.rates-pxe-cta-q4w7 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.18s ease-out;
}

.rates-pxe-cta-q4w7:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ===== Modal ===== */
.rates-pxe-modal-q4w7 {
  position: fixed;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  border: none;
  padding: 0;
  margin: 0;
  background-color: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  animation:
    rates-pxe-m-slide-in-q4w7 0.2s ease-in-out,
    rates-pxe-m-fade-in-q4w7 0.2s ease-in-out;
}

.rates-pxe-modal-q4w7:not([open]) {
  display: none;
}

.rates-pxe-modal-q4w7::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
  animation: rates-pxe-m-fade-in-q4w7 0.2s ease-in-out;
}

@keyframes rates-pxe-m-slide-in-q4w7 {
  0% { transform: translateY(300px); }
  100% { transform: translateY(0); }
}

@keyframes rates-pxe-m-fade-in-q4w7 {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.rates-pxe-modal-q4w7.rates-pxe-m-closing-q4w7 {
  animation:
    rates-pxe-m-slide-out-q4w7 0.2s ease-in-out forwards,
    rates-pxe-m-fade-out-q4w7 0.2s ease-in-out forwards;
}

.rates-pxe-modal-q4w7.rates-pxe-m-closing-q4w7::backdrop {
  animation: rates-pxe-m-fade-out-q4w7 0.2s ease-in-out forwards;
}

@keyframes rates-pxe-m-slide-out-q4w7 {
  0% { transform: translateY(0); }
  100% { transform: translateY(300px); }
}

@keyframes rates-pxe-m-fade-out-q4w7 {
  0% { opacity: 1; }
  100% { opacity: 0; }
}

.rates-pxe-m-container-q4w7 {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 0;
  box-sizing: border-box;
}

.rates-pxe-m-header-q4w7 {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 0 20px;
}

.rates-pxe-m-header-text-q4w7 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rates-pxe-m-title-q4w7 {
  font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -1.28px;
  color: #282834;
  margin: 0;
  font-feature-settings: 'ss04' on, 'case' on;
}

.rates-pxe-m-desc-q4w7 {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #646587;
  margin: 0;
}

.rates-pxe-m-close-q4w7 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #e9f1ff;
  border: none;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  color: #282834;
  flex-shrink: 0;
  transition: opacity 0.15s ease-out;
}

.rates-pxe-m-close-q4w7:hover {
  opacity: 0.7;
}

.rates-pxe-m-table-q4w7 {
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.25) transparent;
}

.rates-pxe-m-table-q4w7::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

.rates-pxe-m-table-q4w7::-webkit-scrollbar-track {
  background: transparent;
}

.rates-pxe-m-table-q4w7::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 2px;
}

.rm-table-q4w7 {
  width: auto;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: 'Inter', sans-serif;
}

.rm-table-q4w7 th,
.rm-table-q4w7 td {
  width: 80px;
  min-width: 80px;
  font-size: 14px;
  line-height: 18px;
  padding: 8px 22px;
  white-space: nowrap;
  text-align: center;
  color: #282834;
}

.rm-table-q4w7 thead th {
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 3;
  background: #ffffff;
  border-bottom: 1px solid #f4f5f9;
}

.rm-table-q4w7 thead th:first-child {
  left: 0;
  z-index: 5;
  box-shadow: 4px 0 0 0 #ffffff, 8px 0 12px -4px rgba(0, 0, 0, 0.10);
}

.rm-l-q4w7 {
  font-weight: 600;
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
  position: sticky;
  left: 0;
  z-index: 4;
  background: #ffffff;
  box-shadow: 4px 0 0 0 #ffffff, 8px 0 12px -4px rgba(0, 0, 0, 0.10);
}

.rm-table-q4w7 tbody tr {
  background: #ffffff;
}

.rm-table-q4w7 tbody tr:nth-child(even) {
  background: #f4f5f9;
}

.rm-table-q4w7 tbody tr:nth-child(even) .rm-l-q4w7 {
  background: #f4f5f9;
  box-shadow: 4px 0 0 0 #f4f5f9, 8px 0 12px -4px rgba(0, 0, 0, 0.10);
}

.rm-c-q4w7 {
  font-weight: 400;
}

.rm-table-q4w7 .rm-c-promo-q4w7 {
  color: #1f8923;
  font-weight: 600;
}

body.rates-pxe-modal-open-q4w7 {
  overflow: hidden;
}

/* ===== Desktop ===== */
@media (min-width: 1024px) {
  .rates-pxe-wrapper-q4w7 {
    width: calc(100% - 16px);
    margin: 8px auto 0;
  }

  .rates-pxe-container-q4w7 {
    width: 100%;
    gap: 40px;
  }

  .rates-pxe-title-wrap-q4w7 {
    padding: 40px;
  }

  .rates-pxe-title-q4w7 {
    font-size: 72px;
    letter-spacing: -2.88px;
    max-width: 800px;
  }

  .rates-pxe-tabs-q4w7 {
    padding: 0 40px;
    gap: 40px;
    border-bottom-color: rgba(255, 255, 255, 0.1);
    overflow-x: visible;
  }

  .rates-pxe-tab-q4w7 {
    font-size: 24px;
    line-height: 28px;
  }

  .rates-pxe-rates-pxe-q4w7 {
    flex-direction: row;
    padding: 40px 40px 0;
    gap: 0;
  }

  .rates-pxe-rate-item-q4w7 {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 0;
    min-width: 0;
  }

  .rates-pxe-rate-item-border-q4w7 {
    border-bottom: none;
  }

  .rates-pxe-rate-label-q4w7 {
    flex: none;
    font-size: 24px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.8);
  }

  .rates-pxe-big-number-q4w7 {
    width: auto;
    justify-content: flex-start;
  }

  .rates-pxe-rate-number-q4w7 {
    font-size: 72px;
    letter-spacing: -2.88px;
  }

  .rates-pxe-rate-percent-q4w7 {
    font-size: 72px;
    letter-spacing: -2.88px;
  }

  .rates-pxe-slot-digit-q4w7 {
    width: 42px;
    height: 72px;
  }

  .rates-pxe-slot-wide-q4w7 {
    width: 80px;
  }

  .rates-pxe-slot-comma-q4w7 {
    width: 16px;
  }

  .rates-pxe-slot-char-q4w7 {
    height: 72px;
  }

  .rates-pxe-cta-wrap-q4w7 {
    padding: 0 40px 40px;
  }

  .rates-pxe-cta-q4w7 {
    height: 48px;
    padding: 0 24px;
    font-size: 16px;
  }

  /* Modal desktop */
  .rates-pxe-modal-q4w7 {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rates-pxe-modal-q4w7::backdrop {
    background-color: rgba(0, 0, 0, 0.8);
  }

  .rates-pxe-m-container-q4w7 {
    width: calc(100% - 16px);
    max-width: 1366px;
    height: auto;
    max-height: 90vh;
    border-radius: 20px;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px 0;
    gap: 40px;
  }

  .rates-pxe-m-header-q4w7 {
    padding: 0 40px;
    gap: 20px;
  }

  .rates-pxe-m-title-q4w7 {
    font-size: 48px;
    letter-spacing: -1.92px;
  }

  .rates-pxe-m-table-q4w7 {
    padding: 0;
    overflow: auto;
    scrollbar-width: thin;
  }

  .rates-pxe-m-table-q4w7::-webkit-scrollbar {
    display: block;
    width: 6px;
  }

  .rates-pxe-m-table-q4w7::-webkit-scrollbar-track {
    background: transparent;
  }

  .rates-pxe-m-table-q4w7::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
  }

  .rm-table-q4w7 {
    width: 100%;
  }

  .rm-l-q4w7 {
    width: 120px;
    padding-left: 40px;
    box-shadow: none;
  }

  .rm-table-q4w7 thead th:first-child {
    box-shadow: none;
  }
}
