/* NovaRoute production baseline.
   This file is intentionally loaded after app.css so key product screens have
   one deterministic layout while the legacy component stylesheet is retired. */

:root {
  --nr-bg: #0c080e;
  --nr-bg-soft: #120c15;
  --nr-surface: #1a1220;
  --nr-surface-2: #251a2c;
  --nr-surface-3: #35263d;
  --nr-line: #493650;
  --nr-line-soft: rgba(222, 188, 230, 0.16);
  --nr-text: #fffafd;
  --nr-muted: #cfa8d7;
  --nr-muted-2: #9e819f;
  --nr-accent: #d04a59;
  --nr-accent-hover: #df5968;
  --nr-success: #19c99b;
  --nr-warning: #f4d73d;
  --nr-info: #62c7ee;
  --nr-content: 1660px;
  --nr-header-height: 78px;
  --nr-radius: 18px;
  --nr-radius-lg: 26px;
  color-scheme: dark;
}

html {
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--nr-bg);
  scrollbar-gutter: stable;
}

body.nr-body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--nr-bg);
  color: var(--nr-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.nr-body *,
.nr-body *::before,
.nr-body *::after {
  box-sizing: border-box;
}

.nr-body [hidden] {
  display: none !important;
}

.nr-shell {
  width: min(var(--nr-content), calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

.nr-main {
  min-height: calc(100vh - var(--nr-header-height));
}

.nr-section {
  padding-block: 60px;
}

.nr-section--compact {
  padding-block: 48px;
}

.nr-section--flush-top {
  padding-top: 0;
}

.nr-button {
  min-height: 46px;
  border-radius: 8px;
  font: inherit;
  font-weight: 650;
}

.nr-button--primary {
  border-color: var(--nr-accent);
  background: var(--nr-accent);
  color: #fff;
}

.nr-button--primary:hover {
  border-color: var(--nr-accent-hover);
  background: var(--nr-accent-hover);
}

.nr-button--outline {
  border-color: var(--nr-accent);
  background: transparent;
  color: #f05a69;
}

.nr-quote__swap {
  width: 44px;
  height: 44px;
  min-height: 44px;
}

/* A link-level color rule is intentionally broad in the legacy sheet. Keep
   the light CTA legible when a button is rendered as an anchor. */
.nr-body .nr-faq-support-reference .nr-button--light {
  border-color: #fffafd;
  background: #fffafd;
  color: #251629;
}

.nr-body .nr-faq-support-reference .nr-button--light:hover {
  border-color: #f1dff3;
  background: #f1dff3;
  color: #251629;
}

.nr-faq-layout--reference .nr-anchor-nav__index {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(255, 250, 253, 0.2);
  border-radius: 50%;
  color: #e8c9ed;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nr-faq-layout--reference [data-nr-faq-group] > .nr-section__title {
  margin: 0 0 24px;
}

.nr-faq-support-reference .nr-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nr-faq-support-reference .nr-cta__text {
  margin-bottom: 24px;
}

.nr-faq-empty {
  min-height: 300px;
  align-content: center;
  border: 1px dashed var(--nr-line);
  border-radius: 18px;
  background: rgba(26, 18, 32, 0.55);
}

/* The reference sidebar is a real review form, not a preview. Keep the
   comment and submit action available at every viewport. */
.nr-reviews-reference-sidebar .nr-contact-form .nr-field:nth-of-type(3) {
  display: grid;
}

.nr-reviews-reference-sidebar .nr-contact-form > .nr-button {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
}

.nr-review-rating {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.nr-review-rating__stars {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 3px;
  padding: 2px 0;
}

.nr-review-rating__choice {
  display: grid;
  width: 30px;
  height: 34px;
  place-items: center;
  border-radius: 7px;
  cursor: pointer;
}

.nr-review-rating__star {
  color: #735f78;
  font-size: 1.55rem;
  line-height: 1;
  transition: color 140ms ease, transform 140ms ease;
}

.nr-review-rating__choice:hover .nr-review-rating__star,
.nr-review-rating__choice:has(~ .nr-review-rating__choice:hover) .nr-review-rating__star,
.nr-review-rating__choice:has(input:checked) .nr-review-rating__star,
.nr-review-rating__choice:has(~ .nr-review-rating__choice input:checked) .nr-review-rating__star {
  color: var(--nr-warning);
}

.nr-review-rating__choice:hover .nr-review-rating__star,
.nr-review-rating__choice:has(input:checked) .nr-review-rating__star {
  transform: scale(1.12);
}

.nr-review-rating__choice:has(input:focus-visible) {
  outline: 2px solid #ff7181;
  outline-offset: 2px;
}

.nr-review-rating[data-nr-invalid="true"] .nr-review-rating__stars {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255, 95, 115, 0.75);
}

.nr-page-heading {
  margin: 0 0 34px;
}

.nr-page-heading__title {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 2.9vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

/* Header */
.nr-header,
.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-header {
  position: relative;
  z-index: 80;
  display: block !important;
  min-height: var(--nr-header-height);
  border-bottom: 1px solid rgba(222, 188, 230, 0.1);
  background: rgba(12, 8, 14, 0.98);
}

.nr-header__row {
  display: flex;
  min-height: var(--nr-header-height);
  align-items: center;
  gap: 28px;
}

.nr-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.nr-brand__logo {
  display: block;
  width: 196px;
  height: auto;
}

.nr-header__nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.nr-header__menu-button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: #e9ddea;
  font: inherit;
  white-space: nowrap;
}

.nr-header__actions {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.nr-header__actions .nr-tracker-button,
.nr-header__language,
.nr-header__profile {
  min-height: 42px;
  border: 1px solid var(--nr-line);
  border-radius: 9px;
  background: #1b1220;
  color: #fff;
}

.nr-header__actions .nr-tracker-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
}

.nr-header__icon,
.nr-header__chevron svg {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nr-header__chevron svg {
  width: 12px;
  height: 8px;
  stroke-width: 2;
}

.nr-header__language {
  display: inline-flex;
  min-width: 68px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  text-decoration: none;
}

.nr-header__profile {
  max-width: 210px;
  overflow: hidden;
  padding-inline: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-header__mobile-actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--nr-line-soft);
}

.nr-header__mobile-actions .nr-button {
  min-width: 150px;
}

.nr-header__dropdown {
  top: calc(100% + 10px);
  min-width: 260px;
  border: 1px solid var(--nr-line);
  border-radius: 14px;
  background: #17101b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

/* Footer */
.nr-footer,
.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-footer {
  display: block !important;
  border-top: 1px solid rgba(222, 188, 230, 0.13);
  background: #130d17;
}

.nr-footer__main {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(0, 3fr);
  gap: clamp(48px, 7vw, 120px);
  padding-block: 58px 46px;
}

.nr-footer__navigation {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.nr-footer__legal {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-block: 26px;
  border-top: 1px solid rgba(222, 188, 230, 0.18);
  text-align: center;
}

.nr-footer__legal-links {
  justify-content: center;
}

/* Public quote: keep the form footprint stable while prices refresh. */
.nr-quote {
  contain: layout paint;
}

.nr-quote__fields {
  min-height: 88px;
}

.nr-quote__state {
  min-height: 21px;
}

.nr-quote__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

/* Step 1 */
.nr-body:is([data-nr-page="exchange/step1"], [data-nr-page="exchange/step2"]) {
  --nr-content: 1660px;
}

.nr-exchange-page--step1 {
  min-height: 0;
  padding: 24px 0 64px;
}

.nr-exchange-page--step1 .nr-page-heading {
  margin-bottom: 28px;
}

.nr-exchange-page--step1 .nr-exchange-layout {
  display: grid;
  grid-template-columns: minmax(430px, 535px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4.5vw, 68px);
}

.nr-exchange-page--step1 .nr-exchange-layout__sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  width: 100%;
  gap: 16px;
}

.nr-tz-quote {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  padding: 22px 24px 24px;
  overflow: visible;
  border: 0;
  border-radius: 23px;
  background: #34263c;
  box-shadow: none;
}

.nr-tz-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  min-height: 68px;
  margin: 0 0 32px;
  padding: 6px;
  border: 1px solid #5b4165;
  border-radius: 21px;
  background: #34263c;
}

.nr-tz-mode-switch__item {
  min-width: 0;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.16rem;
  white-space: nowrap;
}

.nr-tz-mode-switch__item.nr-is-active {
  background: var(--nr-accent);
  color: #fff;
}

.nr-tz-mode-switch__item[aria-disabled="true"] {
  cursor: default;
  opacity: 1;
}

.nr-tz-quote__fields {
  position: relative;
  display: grid;
  gap: 10px;
}

.nr-tz-token-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(184px, 0.72fr);
  min-height: 108px;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border: 0;
  border-radius: 12px;
  background: #201628;
}

.nr-tz-token-row__amount,
.nr-tz-token-row__asset {
  min-width: 0;
}

.nr-tz-token-row__label,
.nr-tz-token-row__network-label {
  display: block;
  margin: 0 0 10px;
  color: var(--nr-muted);
  font-size: 0.76rem;
}

.nr-tz-token-row__input,
.nr-tz-token-row__output {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 720;
  line-height: 1.25;
}

.nr-tz-token-row__asset {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
}

.nr-tz-token-row__network-label {
  position: absolute;
  top: -4px;
  right: 0;
}

.nr-tz-token-row__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #ee8a23;
  color: #fff;
  font-weight: 800;
}

.nr-tz-token-row__mark--to {
  background: #24b9b5;
}

.nr-tz-token-row__currency,
.nr-tz-token-row__network,
.nr-currency-native,
.nr-network-native {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.nr-tz-token-row__currency {
  font-size: 1.18rem;
  font-weight: 650;
}

.nr-tz-token-row__network {
  position: absolute;
  top: -6px;
  right: 0;
  width: 98px;
  color: var(--nr-muted);
  font-size: 0.72rem;
  text-align: right;
}

.nr-tz-quote__swap {
  position: absolute;
  z-index: 4;
  top: calc(50% - 22px);
  left: calc(50% - 22px);
  display: grid;
  width: 44px;
  height: 44px;
  min-height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: #372642;
  color: #fff;
  box-shadow: 0 0 0 4px #34263c;
}

.nr-filter-card.nr-tz-filter-card {
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #17101c;
}

.nr-tz-filter-card__heading {
  min-height: 58px;
  padding: 0 20px;
  border: 0;
  background: #24192b;
  color: #fff;
}

.nr-tz-filter-card__body {
  display: grid;
  gap: 10px;
  padding: 14px 20px 16px;
}

.nr-exchange-layout__results {
  min-width: 0;
}

.nr-exchange-page--step1 .nr-offers {
  position: relative;
  display: grid;
  min-height: 0;
  align-content: start;
  gap: 12px;
}

.nr-exchange-page--step1 .nr-offer {
  position: relative;
  display: block;
  min-height: 156px;
  padding: 20px 24px;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #2b1e33;
  box-shadow: inset 0 -1px 0 rgba(47, 218, 173, 0.85);
  transition: transform 160ms ease, background-color 160ms ease;
}

.nr-exchange-page--step1 .nr-offer:hover {
  transform: translateY(-1px);
  background: #302238;
}

.nr-exchange-page--step1 .nr-offer__top {
  display: flex;
  min-height: 36px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.nr-exchange-page--step1 .nr-offer__provider {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.nr-exchange-page--step1 .nr-offer__logo {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #17101c;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 800;
}

.nr-offer__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nr-currency-trigger__mark img,
.nr-currency-picker__mark img,
.nr-tz-token-row__mark img,
.nr-tz-summary__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nr-exchange-page--step1 .nr-offer__identity {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
}

.nr-exchange-page--step1 .nr-offer__name {
  margin: 0;
  overflow: hidden;
  color: #fff;
  font-size: 1.23rem;
  font-weight: 520;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-exchange-page--step1 .nr-offer__rate-kind {
  color: var(--nr-muted-2);
  font-size: 0.76rem;
}

.nr-exchange-page--step1 .nr-offer__body {
  display: flex;
  min-width: 0;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-top: 8px;
}

.nr-exchange-page--step1 .nr-offer__copy {
  min-width: 0;
}

.nr-exchange-page--step1 .nr-offer__value {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 16px;
}

.nr-exchange-page--step1 .nr-offer__label,
.nr-exchange-page--step1 .nr-offer__amount {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
}

.nr-exchange-page--step1 .nr-offer__amount {
  overflow-wrap: anywhere;
}

.nr-exchange-page--step1 .nr-offer__details {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0 0;
}

.nr-exchange-page--step1 .nr-offer__detail {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding-right: 12px;
  border-right: 1px solid rgba(222, 188, 230, 0.15);
}

.nr-exchange-page--step1 .nr-offer__detail:last-child {
  padding-right: 0;
  border-right: 0;
}

.nr-exchange-page--step1 .nr-offer__term {
  color: var(--nr-muted);
}

.nr-exchange-page--step1 .nr-offer__description {
  margin: 0;
  color: #fff;
}

.nr-exchange-page--step1 .nr-offer__action {
  flex: 0 0 110px;
}

.nr-exchange-page--step1 .nr-offer__action .nr-button {
  width: 110px;
  min-height: 46px;
  padding-inline: 12px;
}

.nr-offers__skeleton {
  display: grid;
  min-height: 835px;
  align-content: start;
  gap: 12px;
}

.nr-offers__skeleton-card {
  display: block;
  min-height: 156px;
  border-radius: 22px;
  background: linear-gradient(100deg, #24192b 15%, #302238 42%, #24192b 68%);
  background-size: 240% 100%;
  animation: nr-critical-skeleton 1.25s linear infinite;
}

.nr-offers[data-nr-loading="false"] .nr-offers__skeleton,
.nr-offers:not([data-nr-loading="true"]) .nr-offers__skeleton {
  display: none;
}

.nr-offers__state {
  min-height: 26px;
  margin: 14px 0 0;
  color: var(--nr-muted);
}

@keyframes nr-critical-skeleton {
  to { background-position: -240% 0; }
}

/* Step 2 */
.nr-exchange-page--step2 {
  padding: 24px 0 64px;
}

.nr-tz-step2-heading {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-bottom: 26px;
}

.nr-back-link {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border: 2px solid var(--nr-accent);
  border-radius: 7px;
  color: var(--nr-accent);
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}

.nr-tz-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}

.nr-tz-progress .nr-progress__bar {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: #563d60;
}

.nr-tz-progress .nr-progress__bar--active {
  background: linear-gradient(90deg, #ff785c, #e7a936);
}

.nr-tz-progress__label {
  display: block;
  margin: 10px 0 24px;
  color: #fff;
}

.nr-tz-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 150px;
  gap: 24px;
  margin: 0 0 48px;
  padding: 22px 24px;
  border: 0;
  border-radius: 24px;
  background: #35263d;
}

.nr-tz-summary .nr-summary-strip__cell {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 22px;
  border: 0;
  border-radius: 12px;
  background: #211729;
}

.nr-tz-summary .nr-summary-strip__label {
  color: var(--nr-muted);
  font-size: 0.78rem;
}

.nr-tz-summary .nr-summary-strip__label small {
  display: block;
  margin-top: 8px;
  color: #fff;
}

.nr-tz-summary .nr-summary-strip__value {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.22rem;
  overflow-wrap: anywhere;
}

.nr-tz-summary__asset {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nr-tz-summary__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #ee8a23;
}

.nr-tz-summary__mark--to {
  background: #24b9b5;
}

.nr-exchange-page--step2 .nr-step-two {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(360px, 1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 72px);
  margin-top: 0;
}

.nr-exchange-page--step2 .nr-step-two__main {
  display: grid;
  min-width: 0;
  gap: 24px;
}

.nr-exchange-page--step2 .nr-exchange-affiliate-promo {
  margin-bottom: 0;
}

.nr-exchange-affiliate-promo,
.nr-address-form,
.nr-exchange-info {
  border: 0;
  border-radius: 23px;
  background: #22182a;
}

.nr-exchange-affiliate-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 26px;
  padding: 26px 34px;
}

.nr-exchange-affiliate-promo__mark {
  position: static;
  top: auto;
  right: auto;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  color: #ec5bd6;
  font-size: 2.8rem;
  font-weight: 800;
  transform: rotate(-8deg);
}

.nr-exchange-affiliate-promo .nr-button {
  grid-column: 1 / -1;
}

.nr-address-form {
  display: grid;
  gap: 22px;
  padding: 0;
  background: transparent;
}

.nr-address-form__label,
.nr-auth-field > span {
  display: block;
  margin-bottom: 9px;
  color: #f8f0f9;
}

.nr-address-form__control {
  display: flex;
  min-height: 78px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 13px;
  background: #211729;
}

.nr-address-form__input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 24px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.nr-address-form__paste {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  background: transparent;
  color: var(--nr-muted);
  font: inherit;
}

.nr-tz-consents {
  display: grid;
  gap: 14px;
}

.nr-choice--terms {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 7px;
}

.nr-choice--terms .nr-choice__control {
  grid-column: 1;
  grid-row: 1;
}

.nr-choice--terms .nr-choice__label {
  grid-column: 2;
  grid-row: 1;
}

.nr-choice--terms .nr-field__error {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0;
}

.nr-choice--terms[data-nr-invalid="true"] .nr-choice__control,
.nr-choice--terms .nr-choice__control[aria-invalid="true"] {
  outline: 2px solid rgba(255, 95, 115, 0.88);
  outline-offset: 2px;
  accent-color: #ff5f73;
}

.nr-exchange-info__toggle,
.nr-tz-pagination button {
  width: 44px;
  height: 44px;
  min-height: 44px;
}

.nr-tz-pair-search select {
  min-height: 48px;
  line-height: 1.35;
}

.nr-address-form__submit {
  width: 100%;
  min-height: 60px;
}

.nr-exchange-info {
  position: sticky;
  top: 18px;
  padding: 30px 34px;
}

.nr-exchange-info__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.nr-exchange-info__title {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
}

.nr-definition-list {
  display: grid;
  gap: 22px;
  margin: 0;
}

.nr-definition-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.nr-definition-list__term {
  color: var(--nr-muted);
}

.nr-definition-list__value {
  margin: 0;
  color: #fff;
  text-align: right;
}

.nr-definition-list__row--rate {
  display: grid;
  gap: 8px;
}

.nr-definition-list__row--rate .nr-definition-list__value {
  text-align: left;
}

.nr-tz-info__quality {
  display: grid;
  gap: 22px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--nr-line-soft);
}

/* Currency and network picker. */
.nr-has-currency-picker {
  min-width: 0;
}

.nr-currency-trigger {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 56px;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  text-align: left;
}

.nr-currency-trigger__mark,
.nr-currency-picker__mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #34263d;
  color: #fff;
  font-weight: 750;
}

.nr-currency-trigger__copy {
  display: grid;
  min-width: 0;
}

.nr-currency-trigger__primary {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
}

.nr-currency-trigger__primary span {
  overflow: hidden;
  color: var(--nr-muted-2);
  font-size: 0.74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-currency-trigger__network {
  display: block;
  width: 100%;
  min-width: 0;
  color: var(--nr-muted);
  font-size: 0.7rem;
}

.nr-inline-icon {
  display: block;
  width: 1.35em;
  height: 1.35em;
  flex: 0 0 auto;
}

.nr-feature-card__icon .nr-inline-icon,
.nr-contact-card__icon .nr-inline-icon,
.nr-tz-social-row .nr-inline-icon {
  width: 24px;
  height: 24px;
}

.nr-feature-card__icon-text {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.nr-tz-testimonial__quote .nr-inline-icon {
  width: 36px;
  height: 36px;
}

.nr-tz-ui__badge .nr-inline-icon {
  width: 25px;
  height: 25px;
}

.nr-tz-ui__qr .nr-inline-icon {
  width: 78px;
  height: 78px;
}

.nr-tz-ui__check {
  display: flex;
  align-items: center;
  gap: 9px;
}

.nr-tz-ui__check-box {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  border: 1px solid rgba(225, 179, 235, 0.48);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
}

.nr-tz-three-points article > span .nr-inline-icon {
  width: 34px;
  height: 34px;
}

.nr-tz-cross-strip__swap .nr-inline-icon {
  width: 24px;
  height: 24px;
}

.nr-currency-picker {
  position: fixed;
  z-index: 400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 52px);
}

.nr-currency-picker__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 2, 5, 0.74);
  backdrop-filter: blur(6px);
}

.nr-currency-picker__panel {
  position: relative;
  display: grid;
  width: min(820px, 100%);
  max-height: min(820px, calc(100dvh - clamp(40px, 8vw, 104px)));
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  overflow: hidden;
  border: 1px solid var(--nr-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 0%, rgba(128, 74, 150, 0.16), transparent 34%),
    linear-gradient(145deg, #1d1422, #151019 72%);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.66);
}

.nr-currency-picker__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nr-currency-picker__title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.nr-currency-picker__close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--nr-line);
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-size: 1.45rem;
}

.nr-currency-picker__search {
  position: relative;
  display: block;
}

.nr-currency-picker__search-input {
  width: 100%;
  min-height: 54px;
  padding: 10px 48px 10px 14px;
  border: 1px solid var(--nr-line);
  border-radius: 13px;
  outline: 0;
  background: #211729;
  color: #fff;
  font: inherit;
}

.nr-currency-picker__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #6b536f transparent;
}

.nr-currency-picker__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 126px;
  padding: 1px 2px 5px 1px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: #6b536f transparent;
}

.nr-currency-picker__filters::-webkit-scrollbar {
  display: none;
}

.nr-currency-picker__filter {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 15px;
  border: 1px solid var(--nr-line);
  border-radius: 999px;
  background: transparent;
  color: var(--nr-muted);
}

.nr-currency-picker__filter[aria-pressed="true"] {
  border-color: var(--nr-accent);
  background: rgba(208, 74, 89, 0.14);
  color: #fff;
}

.nr-currency-picker__list {
  display: grid;
  gap: 16px;
}

.nr-currency-picker__section-title {
  margin: 0 0 8px;
  color: var(--nr-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nr-currency-picker__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nr-currency-picker__item {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #211729;
  color: #fff;
  text-align: left;
}

.nr-currency-picker__items:has(.nr-currency-picker__item:only-child) {
  grid-template-columns: 1fr;
}

.nr-currency-picker__item:hover,
.nr-currency-picker__item[aria-current="true"] {
  border-color: var(--nr-accent);
  background: #2b1e33;
}

.nr-currency-picker__item[data-nr-asset-code="BTC"] .nr-currency-picker__mark { background: #f7931a; }
.nr-currency-picker__item[data-nr-asset-code="ETH"] .nr-currency-picker__mark { background: #627eea; }
.nr-currency-picker__item[data-nr-asset-code="USDT"] .nr-currency-picker__mark { background: #26a17b; }
.nr-currency-picker__item[data-nr-asset-code="USDC"] .nr-currency-picker__mark { background: #2775ca; }
.nr-currency-picker__item[data-nr-asset-code="XMR"] .nr-currency-picker__mark { background: #ff6600; }
.nr-currency-picker__item[data-nr-asset-code="SOL"] .nr-currency-picker__mark { background: #6c52ee; }

.nr-currency-picker__item-copy {
  display: grid;
  min-width: 0;
}

.nr-currency-picker__item-primary {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
}

.nr-currency-picker__item-primary span,
.nr-currency-picker__item-network {
  overflow: hidden;
  color: var(--nr-muted);
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Authentication */
.nr-auth-page {
  overflow: hidden;
  min-height: calc(100vh - var(--nr-header-height));
  padding: 70px 0 96px;
  background:
    radial-gradient(circle at 78% 18%, rgba(146, 79, 178, 0.13), transparent 30rem),
    radial-gradient(circle at 12% 78%, rgba(208, 74, 89, 0.08), transparent 28rem);
}

.nr-auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(540px, 640px);
  align-items: center;
  gap: clamp(56px, 7vw, 120px);
}

.nr-auth-layout__intro,
.nr-auth-card {
  min-width: 0;
}

.nr-auth-layout__intro h1 {
  max-width: 690px;
  margin: 12px 0 16px;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.nr-auth-layout__intro p {
  max-width: 580px;
  color: var(--nr-muted);
  font-size: 1.08rem;
}

.nr-auth-layout__art {
  position: relative;
  display: grid;
  width: 280px;
  height: 210px;
  place-items: center;
  margin-top: 30px;
}

.nr-auth-layout__art > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ef5b68, #8a54d4);
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
}

.nr-auth-layout__art > i {
  position: absolute;
  width: 245px;
  height: 92px;
  border: 1px solid rgba(207, 168, 215, 0.35);
  border-radius: 50%;
  transform: rotate(-16deg);
}

.nr-auth-layout__art > i:last-child {
  transform: rotate(22deg);
}

.nr-auth-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  padding: clamp(34px, 3.2vw, 48px);
  border: 1px solid rgba(214, 174, 222, 0.26);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(45, 30, 53, 0.92), rgba(24, 16, 29, 0.98) 72%),
    #1a1220;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.nr-auth-card::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--nr-accent), #ba5ad4 58%, rgba(186, 90, 212, 0));
  content: "";
}

.nr-auth-card::after {
  position: absolute;
  z-index: -1;
  top: -130px;
  right: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(143, 77, 170, 0.1);
  content: "";
  filter: blur(10px);
}

.nr-auth-card form,
.nr-profile-live__form {
  display: grid;
  gap: 18px;
}

.nr-auth-field {
  display: grid;
  gap: 9px;
  color: #f8effa;
  font-weight: 600;
}

.nr-auth-field input {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid rgba(214, 174, 222, 0.25);
  border-radius: 13px;
  outline: 0;
  background: rgba(24, 16, 29, 0.72);
  color: #fff;
  font: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.nr-auth-field input:hover {
  border-color: rgba(214, 174, 222, 0.42);
  background: rgba(29, 20, 35, 0.9);
}

.nr-auth-field input:focus,
.nr-currency-picker__search-input:focus,
.nr-address-form__control:focus-within {
  border-color: var(--nr-accent);
  box-shadow: 0 0 0 3px rgba(208, 74, 89, 0.14);
}

.nr-auth-field[data-nr-invalid="true"] input,
.nr-auth-field[data-nr-invalid="true"] input:focus,
.nr-address-form__field[data-nr-invalid="true"] .nr-address-form__control,
.nr-address-form__field[data-nr-invalid="true"] .nr-address-form__control:focus-within {
  border-color: #ef6577;
  background-color: rgba(255, 95, 115, 0.055);
  box-shadow: 0 0 0 3px rgba(239, 101, 119, 0.14);
}

.nr-auth-field[data-nr-invalid="true"] > span {
  color: #ff8b9a;
}

.nr-auth-card .nr-button {
  width: 100%;
  min-height: 60px;
  margin-top: 2px;
  border-radius: 13px;
  font-weight: 750;
}

.nr-auth-card__links,
.nr-auth-card__secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 0;
  color: var(--nr-muted);
}

.nr-form-message {
  min-height: 22px;
  margin: 0;
}

.nr-form-message[data-nr-state="error"] {
  color: #ff7887;
}

.nr-form-message[data-nr-state="error"]:not(:empty),
.nr-form-message[data-state="error"]:not(:empty) {
  display: block;
  min-height: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 95, 115, 0.64);
  border-radius: 10px;
  background: rgba(255, 95, 115, 0.1);
  color: #ff91a0;
  font-weight: 700;
  line-height: 1.45;
}

.nr-form-message[data-nr-state="success"] {
  color: var(--nr-success);
}

/* Authenticated account */
.nr-account-shell {
  padding: 44px 0 88px;
}

.nr-account-heading {
  position: relative;
  padding-right: 120px;
}

.nr-account-heading__language {
  min-height: 42px;
  border: 1px solid var(--nr-line);
  border-radius: 9px;
  background: #211729;
  color: #fff;
}

.nr-account__layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  align-items: start;
  gap: 34px;
}

.nr-account-nav {
  position: sticky;
  top: 18px;
  min-height: 620px;
  padding: 18px;
  border: 1px solid var(--nr-line-soft);
  border-radius: 20px;
  background: #17101c;
}

.nr-account-nav__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 18px 8px;
}

.nr-account-nav__avatar,
.nr-profile-live__avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--nr-accent), #8d5adb);
  color: #fff;
  font-weight: 800;
}

.nr-account-nav__name,
.nr-account-nav__caption {
  display: block;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-account-nav__caption {
  color: var(--nr-muted);
  font-size: 0.76rem;
}

.nr-account__content {
  min-width: 0;
}

.nr-profile-live {
  display: grid;
  gap: 22px;
}

.nr-profile-live__identity,
.nr-profile-live__balance,
.nr-profile-live__form,
.nr-live-empty {
  border: 1px solid var(--nr-line-soft);
  border-radius: 20px;
  background: #1a1220;
}

.nr-profile-live__identity {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 26px 30px;
}

.nr-profile-live__identity h2,
.nr-profile-live__identity p {
  margin: 0;
}

.nr-profile-live__identity p,
.nr-profile-live__identity > div > span {
  color: var(--nr-muted);
}

.nr-profile-live__balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 30px;
}

.nr-profile-live__balance strong {
  margin-left: auto;
  color: #fff;
  font-size: 1.55rem;
}

.nr-profile-live__forms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.nr-profile-live__form {
  min-width: 0;
  padding: 24px;
}

.nr-profile-live__form h2 {
  margin: 4px 0 0;
  font-size: 1.2rem;
}

.nr-live-empty {
  min-height: 340px;
  padding: 30px;
}

.nr-live-empty .nr-empty-state {
  min-height: 220px;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-empty-state {
  min-height: clamp(260px, 34vh, 340px);
}

.nr-page--home .nr-quote--hero .nr-quote__fields,
.nr-quote--compact .nr-quote__fields {
  grid-template-columns: minmax(0, 1fr) minmax(158px, 0.72fr);
}

.nr-page--home .nr-quote--hero .nr-quote__fields:has(> .nr-field--network:not(.nr-network-field-integrated)),
.nr-quote--compact .nr-quote__fields:has(> .nr-field--network:not(.nr-network-field-integrated)) {
  grid-template-rows: repeat(4, auto);
}

.nr-page--home .nr-quote--hero .nr-quote__fields > .nr-field--network:not(.nr-network-field-integrated),
.nr-quote--compact .nr-quote__fields > .nr-field--network:not(.nr-network-field-integrated) {
  display: grid;
}

.nr-page--home .nr-quote--hero .nr-quote__fields > :nth-child(3):not(.nr-network-field-integrated),
.nr-quote--compact .nr-quote__fields > :nth-child(3):not(.nr-network-field-integrated) {
  grid-column: 2;
  grid-row: 2;
}

.nr-page--home .nr-quote--hero .nr-quote__fields:has(> .nr-field--network:not(.nr-network-field-integrated)) > :nth-child(5),
.nr-quote--compact .nr-quote__fields:has(> .nr-field--network:not(.nr-network-field-integrated)) > :nth-child(5) {
  grid-row: 3;
}

.nr-page--home .nr-quote--hero .nr-quote__fields:has(> .nr-field--network:not(.nr-network-field-integrated)) > :nth-child(6),
.nr-quote--compact .nr-quote__fields:has(> .nr-field--network:not(.nr-network-field-integrated)) > :nth-child(6) {
  grid-row: 3;
}

.nr-page--home .nr-quote--hero .nr-quote__fields > :nth-child(7):not(.nr-network-field-integrated),
.nr-quote--compact .nr-quote__fields > :nth-child(7):not(.nr-network-field-integrated) {
  grid-column: 2;
  grid-row: 4;
}

.nr-quote--compact .nr-quote__swap,
.nr-page--home .nr-quote--hero .nr-quote__swap {
  width: 44px;
  height: 44px;
  min-height: 44px;
}

.nr-page--home .nr-home-hero .nr-quote__actions .nr-button {
  margin: 0;
}

[data-nr-status-tone="error"] .nr-status-card--main {
  border-color: rgba(255, 95, 115, 0.58);
  background:
    radial-gradient(circle at 92% 5%, rgba(255, 95, 115, 0.12), transparent 14rem),
    var(--nr-surface);
}

[data-nr-status-tone="error"] .nr-status-card__state,
[data-nr-status-tone="error"] .nr-status-card__message {
  color: #ff91a0;
}

@media (max-width: 1240px) {
  .nr-header__nav {
    display: none;
  }

  .nr-header__mobile-button {
    display: block;
  }

  .nr-exchange-page--step1 .nr-exchange-layout,
  .nr-exchange-page--step2 .nr-step-two {
    gap: 34px;
  }

  .nr-profile-live__forms {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .nr-auth-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .nr-auth-layout__intro,
  .nr-auth-card {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .nr-auth-layout__intro {
    text-align: center;
  }

  .nr-auth-layout__intro p,
  .nr-auth-layout__art {
    margin-inline: auto;
  }

  .nr-exchange-page--step1 .nr-exchange-layout,
  .nr-exchange-page--step2 .nr-step-two {
    grid-template-columns: 1fr;
  }

  .nr-exchange-page--step1 .nr-exchange-layout__sidebar {
    position: static;
    max-width: 560px;
  }

  .nr-exchange-info {
    position: static;
  }

  .nr-offers__skeleton {
    min-height: 492px;
  }

  .nr-offers__skeleton-card:nth-child(n + 4) {
    display: none;
  }

  .nr-tz-summary {
    margin-bottom: 46px;
  }
}

@media (max-width: 960px) {
  .nr-shell {
    width: min(var(--nr-content), calc(100% - 32px));
  }

  .nr-header__actions .nr-tracker-button span:last-child,
  .nr-header__profile {
    display: none;
  }

  .nr-footer__main,
  .nr-exchange-page--step1 .nr-exchange-layout,
  .nr-exchange-page--step2 .nr-step-two,
  .nr-auth-layout,
  .nr-account__layout {
    grid-template-columns: 1fr;
  }

  .nr-exchange-page--step1 .nr-exchange-layout__sidebar,
  .nr-exchange-info,
  .nr-account-nav {
    position: static;
  }

  .nr-offers__skeleton {
    min-height: 492px;
  }

  .nr-offers__skeleton-card:nth-child(n + 4) {
    display: none;
  }

  .nr-tz-summary {
    margin-bottom: 46px;
  }

  .nr-footer__navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nr-auth-layout {
    gap: 36px;
  }

  .nr-auth-layout__intro,
  .nr-auth-card {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .nr-auth-layout__intro {
    text-align: center;
  }

  .nr-auth-layout__intro p,
  .nr-auth-layout__art {
    margin-inline: auto;
  }

  .nr-account-nav {
    min-height: 0;
  }

  .nr-tz-about-features,
  .nr-tz-cross-benefits,
  .nr-tz-about-exchange,
  .nr-tz-testimonials,
  .nr-tz-about-social,
  .nr-tz-cross-intro,
  .nr-tz-pair-search,
  .nr-tz-cross-popular,
  .nr-tz-cross-bridges,
  .nr-tz-cross-weekly,
  .nr-tz-cross-strip,
  .nr-tz-cross-networks,
  .nr-tz-crypto-explainer,
  .nr-tz-cross-disclaimer {
    padding-block: 60px;
  }
}

@media (max-width: 640px) {
  :root {
    --nr-header-height: 68px;
  }

  .nr-shell {
    width: min(var(--nr-content), calc(100% - 24px));
  }

  .nr-section {
    padding-block: 40px;
  }

  .nr-section--compact {
    padding-block: 34px;
  }

  .nr-section--flush-top {
    padding-top: 0;
  }

  .nr-brand__logo {
    width: 158px;
  }

  .nr-header__row {
    min-height: var(--nr-header-height);
    gap: 12px;
  }

  .nr-header__language {
    display: none;
  }

  .nr-header__mobile-actions {
    display: grid;
  }

  .nr-header__mobile-actions .nr-button {
    width: 100%;
  }

  .nr-footer__main,
  .nr-footer__legal {
    display: grid;
    gap: 32px;
  }

  .nr-footer__navigation {
    grid-template-columns: 1fr;
  }

  .nr-page-heading__title {
    font-size: 2rem;
  }

  .nr-exchange-page--step1,
  .nr-exchange-page--step2 {
    padding-top: 18px;
  }

  .nr-exchange-page--step1 .nr-exchange-layout,
  .nr-exchange-page--step2 .nr-step-two {
    gap: 26px;
  }

  .nr-tz-quote {
    padding: 14px;
    border-radius: 18px;
  }

  .nr-tz-mode-switch {
    min-height: 58px;
    margin-bottom: 18px;
  }

  .nr-tz-mode-switch__item {
    font-size: 0.95rem;
  }

  .nr-tz-token-row {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.85fr);
    min-height: 98px;
    padding: 14px;
  }

  .nr-currency-trigger {
    gap: 6px;
    padding-inline: 8px;
  }

  .nr-page--home .nr-home-hero .nr-currency-trigger,
  .nr-quote--compact .nr-currency-trigger {
    gap: 4px;
    padding-inline: 6px;
  }

  .nr-currency-trigger__mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .nr-currency-trigger__copy {
    min-width: 40px;
  }

  .nr-currency-trigger__primary > span {
    display: none;
  }

  .nr-currency-trigger__chevron {
    width: 10px;
    flex-basis: 10px;
    overflow: hidden;
  }

  .nr-tz-token-row__input {
    min-height: 44px;
  }

  .nr-tz-token-row__amount[data-nr-invalid="true"] {
    padding-right: 14px;
  }

  .nr-tz-token-row__amount .nr-field__error:not(:empty) {
    width: 100%;
    max-width: none;
    margin-left: -14px;
  }

  .nr-tz-ui__badge {
    left: 8px;
  }

  .nr-exchange-page--step1 .nr-offer {
    padding: 18px;
  }

  .nr-exchange-page--step1 .nr-offer__body,
  .nr-exchange-page--step1 .nr-offer__value,
  .nr-exchange-page--step1 .nr-offer__details {
    align-items: flex-start;
  }

  .nr-exchange-page--step1 .nr-offer__body {
    display: grid;
  }

  .nr-exchange-page--step1 .nr-offer__value,
  .nr-exchange-page--step1 .nr-offer__details {
    flex-wrap: wrap;
  }

  .nr-exchange-page--step1 .nr-offer__action,
  .nr-exchange-page--step1 .nr-offer__action .nr-button {
    width: 100%;
  }

  .nr-tz-step2-heading {
    align-items: flex-start;
    gap: 16px;
  }

  .nr-tz-summary {
    grid-template-columns: 1fr;
    margin-bottom: 30px;
    padding: 14px;
  }

  .nr-tz-summary .nr-summary-strip__cell {
    padding: 16px;
  }

  .nr-exchange-affiliate-promo,
  .nr-exchange-info,
  .nr-auth-card,
  .nr-profile-live__form,
  .nr-live-empty {
    padding: 22px;
  }

  .nr-contact-form {
    padding: 22px;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-empty-state {
    min-height: clamp(220px, 32vh, 280px);
  }

  .nr-page--home .nr-quote--hero .nr-quote__fields,
  .nr-quote--compact .nr-quote__fields {
    grid-template-columns: minmax(0, 1fr) minmax(146px, 0.82fr);
  }

  .nr-tz-about-features,
  .nr-tz-cross-benefits,
  .nr-tz-about-exchange,
  .nr-tz-testimonials,
  .nr-tz-about-social,
  .nr-tz-cross-intro,
  .nr-tz-pair-search,
  .nr-tz-cross-popular,
  .nr-tz-cross-bridges,
  .nr-tz-cross-weekly,
  .nr-tz-cross-strip,
  .nr-tz-cross-networks,
  .nr-tz-crypto-explainer,
  .nr-tz-cross-disclaimer {
    padding-block: 44px;
  }

  .nr-currency-picker {
    align-items: end;
    padding: 0;
  }

  .nr-currency-picker__panel {
    width: 100%;
    max-height: min(84dvh, 720px);
    min-height: 0;
    padding: 16px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
  }

  .nr-currency-picker__items {
    grid-template-columns: 1fr;
  }

  .nr-auth-page {
    padding-top: 42px;
  }

  .nr-auth-layout__intro h1 {
    font-size: 2.75rem;
  }

  .nr-auth-layout__art {
    display: none;
  }

  .nr-auth-card__links,
  .nr-profile-live__identity,
  .nr-profile-live__balance {
    display: grid;
  }

  .nr-profile-live__identity {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .nr-profile-live__identity .nr-button {
    grid-column: 1 / -1;
  }

  .nr-profile-live__balance strong {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nr-offers__skeleton-card {
    animation: none;
  }
}

/* Account workspace polish.
   Account pages share the public header language control; the workspace itself
   is a contained two-column surface instead of a second full-screen shell. */
.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-header,
.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-footer {
  display: block !important;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-main {
  min-height: calc(100vh - var(--nr-header-height));
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account {
  min-height: 0;
  padding: 36px 0 72px;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account > .nr-shell {
  display: block;
  width: min(var(--nr-content), calc(100% - 48px));
  max-width: none;
  min-height: 0;
  margin-inline: auto;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-heading {
  display: grid;
  width: 100%;
  min-height: 0;
  justify-items: start;
  gap: 7px;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-heading .nr-eyebrow {
  display: inline-flex;
  margin: 0;
  color: #e87786;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-heading .nr-page-heading__title {
  margin: 0;
  font-size: clamp(2rem, 2.6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.nr-account-language,
.nr-account-heading__language {
  display: none !important;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account__layout {
  display: grid;
  width: 100%;
  min-width: 0;
  align-items: start;
  grid-template-columns: minmax(270px, 292px) minmax(0, 1fr);
  gap: 28px;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav {
  position: sticky;
  top: calc(var(--nr-header-height) + 22px);
  display: flex;
  width: 100%;
  height: auto;
  min-height: 520px;
  max-height: calc(100vh - var(--nr-header-height) - 44px);
  flex-direction: column;
  grid-column: auto;
  grid-row: auto;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid var(--nr-line-soft);
  border-radius: 20px;
  background: linear-gradient(180deg, #2d2034 0%, #251a2c 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav::before {
  display: none;
}

.nr-account-switch {
  min-height: 54px;
  margin: 16px 16px 0;
  padding: 5px;
  border: 1px solid rgba(228, 187, 238, 0.2);
  border-radius: 12px;
  background: rgba(12, 8, 14, 0.22);
}

.nr-account-switch__link {
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.84rem;
  line-height: 1.2;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  margin: 0 16px;
  padding: 20px 2px;
  border-bottom: 1px dashed rgba(222, 188, 230, 0.18);
}

.nr-account-nav__identity > div {
  min-width: 0;
}

.nr-account-nav__avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  font-size: 0.82rem;
}

.nr-account-nav__name,
.nr-account-nav__caption {
  width: 100%;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.nr-account-nav__name {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.3;
}

.nr-account-nav__caption {
  margin-top: 4px;
  color: #d5a6dc;
  font-size: 0.75rem;
  line-height: 1.4;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__links {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__link,
.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__group-title {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.25;
}

.nr-account-nav__sublink {
  min-height: 40px;
  margin-left: 34px;
  padding: 10px 8px 9px 22px;
  font-size: 0.78rem;
  line-height: 1.3;
}

.nr-account-manager {
  margin: auto 20px 12px;
  font-size: 0.78rem;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__logout {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 14px 20px;
  border-top: 1px solid rgba(222, 188, 230, 0.14);
  color: #ff7887;
  font-size: 0.86rem;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account__content {
  display: grid;
  width: 100%;
  min-width: 0;
  align-content: start;
  grid-column: auto;
  grid-row: auto;
  gap: 22px;
  padding: 0;
}

.nr-profile-live {
  gap: 22px;
}

.nr-profile-live__identity,
.nr-profile-live__balance,
.nr-profile-live__form,
.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-live-empty {
  border: 1px solid var(--nr-line-soft);
  border-radius: 18px;
  background: linear-gradient(145deg, #1e1524, #18111d);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.nr-profile-live__identity {
  grid-template-columns: 60px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 26px 28px;
}

.nr-profile-live__identity > div {
  min-width: 0;
}

.nr-profile-live__identity h2 {
  margin-top: 2px;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.nr-profile-live__identity p {
  margin-top: 5px;
  overflow-wrap: anywhere;
  line-height: 1.45;
}

.nr-profile-live__identity .nr-button {
  min-width: 116px;
}

.nr-profile-live__balance {
  min-height: 92px;
  padding: 22px 28px;
}

.nr-profile-live__balance > span {
  color: var(--nr-muted);
}

.nr-profile-live__balance a {
  color: #f38a97;
  font-weight: 650;
}

.nr-profile-live__forms {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.nr-profile-live__form {
  height: 100%;
  padding: 26px;
}

.nr-profile-live__form h2 {
  font-size: 1.22rem;
  line-height: 1.3;
}

.nr-profile-live__form .nr-auth-field input {
  min-height: 50px;
}

.nr-profile-live__form > .nr-button {
  width: 100%;
  min-height: 50px;
  margin-top: auto;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-live-empty {
  min-height: 420px;
  padding: 0;
  overflow: hidden;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-live-empty--state > .nr-empty-state {
  min-height: 420px;
  padding: clamp(44px, 6vw, 76px) 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nr-live-empty--state .nr-empty-state__text {
  max-width: 600px;
  margin: 11px 0 26px;
  color: #d2adD9;
  font-size: 1rem;
  line-height: 1.6;
}

.nr-live-empty--state .nr-button {
  min-height: 48px;
  padding-inline: 24px;
}

.nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-live-empty--copy {
  display: grid;
  min-height: 360px;
  align-items: center;
  padding: clamp(38px, 6vw, 72px);
}

.nr-live-empty--copy > div {
  width: min(100%, 720px);
}

.nr-live-empty--copy h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.2;
}

.nr-live-empty--copy .nr-content-card__text {
  max-width: 650px;
  margin: 0 0 24px;
  color: var(--nr-muted);
  font-size: 1rem;
  line-height: 1.65;
}

@media (max-width: 1280px) {
  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account__layout {
    grid-template-columns: minmax(248px, 268px) minmax(0, 1fr);
    gap: 22px;
  }

  .nr-profile-live__forms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nr-profile-live__form:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1020px) {
  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account {
    padding-top: 30px;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav {
    position: static;
    display: block;
    min-height: 0;
    max-height: none;
    overflow: hidden;
  }

  .nr-account-switch {
    margin-bottom: 12px;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__identity {
    display: flex;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__links {
    display: flex;
    gap: 8px;
    padding: 4px 16px 16px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__link,
  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__sublink {
    min-width: max-content;
    min-height: 44px;
    margin: 0;
    padding: 11px 13px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.035);
  }

  .nr-account-nav__group {
    display: contents;
  }

  .nr-account-nav__group-title,
  .nr-account-nav__sublink::before,
  .nr-account-manager {
    display: none !important;
  }

  .nr-account-nav__sublink.nr-is-active {
    background: #5a4563;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__logout {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account {
    padding: 24px 0 48px;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account > .nr-shell {
    width: calc(100% - 24px);
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-heading {
    margin-bottom: 20px;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-heading .nr-page-heading__title {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav {
    border-radius: 15px;
  }

  .nr-account-switch {
    min-height: 50px;
    margin: 12px 12px 10px;
  }

  .nr-account-switch__link {
    min-height: 38px;
    font-size: 0.79rem;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__identity {
    margin: 0 12px;
    padding: 16px 0;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account-nav__links {
    padding: 4px 12px 12px;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-account__content {
    gap: 16px;
  }

  .nr-profile-live {
    gap: 16px;
  }

  .nr-profile-live__identity {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
  }

  .nr-profile-live__identity .nr-button {
    width: 100%;
    grid-column: 1 / -1;
  }

  .nr-profile-live__balance {
    display: grid;
    gap: 10px;
    padding: 20px;
  }

  .nr-profile-live__balance strong {
    margin-left: 0;
    font-size: 1.35rem;
  }

  .nr-profile-live__forms {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .nr-profile-live__form,
  .nr-profile-live__form:last-child {
    grid-column: auto;
    padding: 22px;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-live-empty,
  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-live-empty--state > .nr-empty-state {
    min-height: 330px;
  }

  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-live-empty--state > .nr-empty-state,
  .nr-body:is([data-nr-page^="profile"], [data-nr-page^="affiliate/"]) .nr-live-empty--copy {
    padding: 34px 22px;
  }
}

/* Affiliate workspace: shared live states and section rhythm. */
.nr-body[data-nr-page^="affiliate/"] .nr-account__content {
  gap: 20px;
}

.nr-partner-status {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--nr-line-soft);
  border-radius: 16px;
  background: var(--nr-line-soft);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.13);
}

.nr-partner-status[hidden] {
  display: none !important;
}

.nr-partner-status > div {
  display: grid;
  min-width: 0;
  min-height: 88px;
  align-content: center;
  gap: 7px;
  padding: 18px 22px;
  background: linear-gradient(145deg, #24192b, #1c1422);
}

.nr-partner-status span {
  color: #bd91c5;
  font-size: 0.74rem;
  line-height: 1.3;
}

.nr-partner-status strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
}

.nr-partner-status[data-status="active"] > div:first-child strong {
  color: #53d8b1;
}

.nr-partner-status[data-status="suspended"] > div:first-child strong {
  color: #ff7a88;
}

.nr-body[data-nr-page^="affiliate/"] :is(.nr-cabinet-list, .nr-affiliate-stats, .nr-payout-request, .nr-notice) {
  min-width: 0;
  border: 1px solid var(--nr-line-soft);
  border-radius: 18px;
  background: linear-gradient(145deg, #1e1524, #18111d);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.nr-body[data-nr-page^="affiliate/"] :is(.nr-cabinet-list, .nr-affiliate-stats) {
  padding: 24px;
}

.nr-body[data-nr-page^="affiliate/"] .nr-cabinet-list > .nr-demo-table,
.nr-body[data-nr-page^="affiliate/"] .nr-affiliate-stats .nr-cabinet-list > .nr-demo-table {
  min-height: 300px;
  overflow: auto;
  border-radius: 12px;
}

.nr-body[data-nr-page^="affiliate/"] .nr-demo-table .nr-empty-state {
  min-height: 240px !important;
  padding: 36px 24px;
}

.nr-body[data-nr-page^="affiliate/"] .nr-cabinet-list__intro {
  min-height: 56px;
  gap: 22px;
}

.nr-body[data-nr-page^="affiliate/"] .nr-cabinet-list__intro p {
  color: #caa5d1;
  font-size: 0.94rem;
  line-height: 1.55;
}

.nr-body[data-nr-page^="affiliate/"] .nr-cabinet-list__intro .nr-button {
  min-width: 184px;
  min-height: 50px;
}

.nr-body[data-nr-page^="affiliate/"] .nr-table th,
.nr-body[data-nr-page^="affiliate/"] .nr-table td {
  padding-inline: 16px;
}

.nr-workspace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nr-workspace-actions .nr-button {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.75rem;
}

.nr-workspace-link {
  display: block;
  max-width: 330px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nr-workspace-link code {
  font: inherit;
  color: #e2badf;
}

.nr-body[data-nr-page="affiliate/overview"] .nr-affiliate-overview {
  gap: 20px;
}

.nr-body[data-nr-page="affiliate/overview"] .nr-dashboard-filters {
  padding: 20px;
  border: 1px solid var(--nr-line-soft);
  border-radius: 16px;
  background: #1c1422;
}

.nr-body[data-nr-page="affiliate/overview"] .nr-dashboard-filters__tool {
  width: min(320px, 100%);
}

.nr-body[data-nr-page="affiliate/overview"] .nr-dashboard-filters__tool .nr-field__select {
  min-height: 52px;
}

.nr-body[data-nr-page="affiliate/overview"] .nr-dashboard-metrics {
  gap: 18px;
}

.nr-body[data-nr-page="affiliate/overview"] .nr-chart-card {
  min-height: 280px;
  border: 1px solid var(--nr-line-soft);
  border-radius: 16px;
  background: linear-gradient(145deg, #23182a, #19111e);
}

.nr-body[data-nr-page="affiliate/overview"] .nr-dashboard-metrics .nr-chart-card__empty {
  min-height: 130px;
  margin-top: 24px;
}

.nr-body[data-nr-page="affiliate/overview"] .nr-payout-summary {
  min-height: 150px;
  border: 1px solid var(--nr-line-soft) !important;
  border-radius: 16px;
}

.nr-body[data-nr-page="affiliate/overview"] .nr-affiliate-tools {
  padding: 26px;
  border: 1px solid var(--nr-line-soft);
  border-radius: 16px;
  background: #1b1320;
}

.nr-body[data-nr-page="affiliate/overview"] .nr-affiliate-tools > p {
  max-width: 760px;
  line-height: 1.55;
}

.nr-body[data-nr-page="affiliate/api-key"] .nr-api-access {
  width: min(520px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.nr-body[data-nr-page="affiliate/api-key"] .nr-api-access .nr-field,
.nr-body[data-nr-page="affiliate/api-key"] .nr-api-access .nr-field__input {
  width: 100%;
}

.nr-body[data-nr-page="affiliate/api-key"] .nr-api-access .nr-field__input,
.nr-body[data-nr-page="affiliate/api-key"] .nr-api-access .nr-button {
  min-height: 50px;
}

.nr-body[data-nr-page="affiliate/api-key"] .nr-api-access .nr-form-message {
  grid-column: 1 / -1;
}

.nr-body[data-nr-page="affiliate/api-key"] .nr-notice {
  padding: 22px 24px;
}

.nr-body[data-nr-page="affiliate/payouts"] .nr-payout-request {
  grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.7fr) minmax(230px, 1fr) auto;
  padding: 24px;
}

.nr-body[data-nr-page="affiliate/payouts"] .nr-payout-request__intro h2 {
  margin-bottom: 16px;
}

.nr-body[data-nr-page="affiliate/payouts"] .nr-payout-request :is(.nr-field__input, .nr-button) {
  min-height: 54px;
}

.nr-body[data-nr-page="affiliate/payouts"] .nr-history {
  padding: 24px;
  border: 1px solid var(--nr-line-soft);
  border-radius: 18px;
  background: linear-gradient(145deg, #1e1524, #18111d);
}

.nr-body[data-nr-page="affiliate/stats"] .nr-affiliate-stats {
  gap: 18px;
}

.nr-body[data-nr-page="affiliate/stats"] .nr-affiliate-stats > .nr-cabinet-list {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nr-body[data-nr-page="affiliate/widget"] .nr-dialog__panel {
  overflow: hidden;
  border: 1px solid var(--nr-line-soft);
  border-radius: 20px;
}

.nr-body[data-nr-page="affiliate/widget"] .nr-builder__controls,
.nr-body[data-nr-page="affiliate/widget"] .nr-builder__preview {
  min-height: 650px;
}

.nr-body[data-nr-page="affiliate/widget"] .nr-widget-demo {
  min-height: 430px;
}

.nr-body[data-nr-page="affiliate/widget"] .nr-code-box {
  display: grid;
  width: 100%;
  gap: 8px;
  margin-top: 18px;
}

.nr-body[data-nr-page="affiliate/widget"] .nr-code-box__value {
  min-height: 86px;
  resize: vertical;
}

.nr-body[data-nr-page="affiliate/widget"] .nr-builder__preview > .nr-button {
  display: inline-flex;
  min-height: 44px;
  justify-self: start;
}

.nr-body[data-nr-page="affiliate/link"] .nr-dialog__panel--small {
  width: min(520px, calc(100vw - 32px));
  padding: 30px;
  border-radius: 18px;
}

@media (max-width: 1180px) {
  .nr-body[data-nr-page="affiliate/payouts"] .nr-payout-request {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nr-body[data-nr-page="affiliate/payouts"] .nr-payout-request__intro,
  .nr-body[data-nr-page="affiliate/payouts"] .nr-payout-request > .nr-form-message {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .nr-partner-status {
    grid-template-columns: minmax(0, 1fr);
  }

  .nr-partner-status > div {
    min-height: 72px;
    padding: 15px 18px;
  }

  .nr-body[data-nr-page^="affiliate/"] :is(.nr-cabinet-list, .nr-affiliate-stats),
  .nr-body[data-nr-page="affiliate/payouts"] .nr-history {
    padding: 18px;
    border-radius: 15px;
  }

  .nr-body[data-nr-page="affiliate/overview"] .nr-dashboard-filters,
  .nr-body[data-nr-page="affiliate/overview"] .nr-affiliate-tools {
    padding: 18px;
  }

  .nr-body[data-nr-page="affiliate/overview"] .nr-account-toolbar__tabs {
    width: 100%;
    justify-content: flex-start;
  }

  .nr-body[data-nr-page="affiliate/api-key"] .nr-api-access {
    grid-template-columns: minmax(0, 1fr);
  }

  .nr-body[data-nr-page="affiliate/api-key"] .nr-api-access .nr-button {
    width: 100%;
  }

  .nr-body[data-nr-page="affiliate/payouts"] .nr-payout-request {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }

  .nr-body[data-nr-page="affiliate/payouts"] .nr-payout-request__intro,
  .nr-body[data-nr-page="affiliate/payouts"] .nr-payout-request > .nr-form-message {
    grid-column: auto;
  }

  .nr-body[data-nr-page^="affiliate/"] .nr-demo-table {
    overflow-x: auto;
  }

  .nr-body[data-nr-page^="affiliate/"] .nr-table {
    min-width: 720px;
  }
}
