:root {
  --bg: #f5f5f5;
  --text: #1a1a1a;
  --muted: #8c8c8c;
  --line: #e0e0e0;
  --panel: #ffffff;
  --dark: #1f1f38;
  --dark-2: #383d4d;
  --blue: #2666e5;
  --blue-soft: #edf2ff;
  --green: #21a659;
  --red: #d93333;
  --yellow: #b26600;
  --landing-title: #19213d;
  --landing-text: #646c82;
  --landing-muted: #8b92a6;
  --landing-line: #e3e8f2;
  --landing-accent: #4a3aff;
  --landing-accent-hover: #4032e2;
  --landing-cyan: #34c2e8;
  --landing-orange: #ff8a3c;
  --landing-pink: #ff5e9c;
  --landing-dark: #141a2e;
  --button-shadow: 0 5px 18px rgba(74, 58, 255, 0.28);
  --card-shadow: 0 4px 14px rgba(20, 26, 46, 0.05);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, Inter, Arial, sans-serif;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select {
  font: inherit;
}
button {
  cursor: pointer;
}
.max, .app-max {
  margin: 0 auto;
  max-width: 1220px;
  width: calc(100% - 48px);
}
.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}
.primary, button.primary {
  align-items: center;
  background: var(--landing-accent);
  border: 0;
  border-radius: 99px;
  box-shadow: var(--button-shadow);
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 24px;
  min-height: 56px;
  padding: 0 26px;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}
.primary,
.soft-btn,
.soft-link,
.button-white {
  vertical-align: middle;
}
.primary,
.soft-btn,
.soft-link,
.button-white,
.virtual-card a,
.virtual-card button,
.row-more,
.pagination button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}
.primary:hover, button.primary:hover {
  background: var(--landing-accent-hover);
  box-shadow: none;
}
.primary.small {
  font-size: 16px;
  line-height: 1;
  min-height: 44px;
  padding: 0 20px;
}
.soft-btn, .soft-link {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--landing-line);
  border-radius: 99px;
  color: var(--landing-title);
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 24px;
  min-height: 56px;
  padding: 0 27px;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.soft-btn:hover, .soft-link:hover, .button-white:hover {
  background: var(--landing-accent-hover);
  border-color: var(--landing-accent-hover);
  color: #ffffff;
}
.ghost {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--landing-line);
  border-radius: 99px;
  color: var(--landing-title);
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 56px;
  padding: 0 27px;
}
.ghost:hover {
  background: var(--landing-accent-hover);
  border-color: var(--landing-accent-hover);
  color: white;
}
.login {
  align-items: center;
  background: #50566f;
  border: 0;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  min-width: 78px;
  padding: 0 18px;
}

.landing-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(227, 232, 242, 0.72);
  color: var(--landing-title);
  position: sticky;
  top: 0;
  z-index: 10;
}
.landing-header .max, .landing .max, .footer .max {
  max-width: 1280px;
}
.landing-nav {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: auto 1fr auto;
  min-height: 72px;
}
.landing-brand {
  align-items: center;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  gap: 8px;
}
.landing-brand span {
  background: #2f5dff;
  border-radius: 9px;
  display: inline-block;
  flex: 0 0 auto;
  height: 30px;
  position: relative;
  width: 30px;
}
.landing-brand span::before {
  background: #34c2e8;
  border-radius: 999px;
  content: "";
  height: 9px;
  position: absolute;
  right: 7px;
  top: 7px;
  width: 9px;
}
.landing-brand span::after {
  background: white;
  border-radius: 999px;
  bottom: 7px;
  content: "";
  height: 4px;
  left: 7px;
  position: absolute;
  width: 11px;
}
.landing-links, .landing-actions {
  align-items: center;
  display: flex;
  gap: 30px;
}
.landing-links {
  justify-content: center;
}
.landing-links a, .landing-login {
  color: var(--landing-muted);
  font-size: 13px;
  font-weight: 700;
}
.landing-login {
  color: var(--landing-title);
}
.landing .primary, .landing-primary, .landing-header .primary {
  background: var(--landing-accent);
  border-radius: 99px;
  box-shadow: 0 5px 18px rgba(74, 58, 255, 0.28);
  min-height: 56px;
  padding: 0 26px;
}
.landing-header .primary.small {
  font-size: 13px;
  min-height: 38px;
  padding: 0 18px;
}
.landing {
  background: #ffffff;
  color: var(--landing-title);
  font-family: Manrope, Inter, Arial, sans-serif;
}
.auth-page {
  background: var(--dark-2);
  min-height: 100vh;
}
.auth-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 72px);
  padding: 48px 24px;
}
.auth-card {
  background: white;
  border-radius: 12px;
  display: grid;
  gap: 16px;
  max-width: 440px;
  padding: 28px;
  width: 100%;
}
.auth-card .brand {
  color: var(--text);
  margin-bottom: 4px;
}
.auth-card h1 {
  font-size: 26px;
  margin: 0;
}
.auth-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}
.auth-card .primary {
  width: 100%;
}
.auth-switch {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.auth-switch a,
.auth-switch button {
  background: transparent;
  border: 0;
  color: var(--blue);
  font-weight: 800;
  padding: 0;
}
.landing-hero {
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9fd 100%);
  overflow: hidden;
  padding: 52px 0 84px;
}
.hero-grid {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 589px) minmax(380px, 1fr);
}
.eyebrow {
  color: var(--landing-cyan);
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  margin: 0;
}
.accent-orange {
  color: var(--landing-orange);
}
.hero-copy h1 {
  color: var(--landing-title);
  font-size: 60px;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 14px 0 18px;
  max-width: 590px;
}
.hero-copy h1 span {
  color: var(--landing-accent);
  display: block;
}
.hero-list {
  color: var(--landing-text);
  display: grid;
  font-size: 18px;
  gap: 4px;
  line-height: 1.55;
  margin: 0;
  padding-left: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.ghost-dark {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--landing-line);
  border-radius: 99px;
  color: var(--landing-title);
  display: inline-flex;
  font-weight: 800;
  min-height: 56px;
  padding: 0 27px;
}
.hero-note {
  align-items: center;
  color: var(--landing-muted);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
  margin: 22px 0 0;
}
.hero-note span {
  background: var(--landing-cyan);
  border-radius: 5px;
  height: 9px;
  width: 9px;
}
.hero-visual {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 520px;
}
.hero-visual img {
  display: block;
  max-width: 590px;
  width: min(100%, 590px);
}
.hero-stats {
  background: #ffffff;
  border: 1px solid rgba(227, 232, 242, 0.8);
  border-radius: 42px;
  box-shadow: 0 10px 38px rgba(20, 26, 46, 0.08);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 10px;
  min-height: 132px;
  padding: 30px 34px;
}
.hero-stats div {
  border-left: 1px solid var(--landing-line);
  padding-left: 32px;
}
.hero-stats div:first-child {
  border-left: 0;
}
.hero-stats strong {
  color: var(--landing-accent);
  display: block;
  font-size: 31px;
  line-height: 1.2;
}
.hero-stats span {
  color: var(--landing-muted);
  display: block;
  font-size: 14px;
  margin-top: 7px;
}
.service-strip {
  background: #ffffff;
  padding: 58px 0 45px;
}
.service-list {
  border-bottom: 1px solid var(--landing-line);
  display: flex;
  gap: 26px;
  justify-content: center;
  padding-bottom: 28px;
}
.service-logo {
  align-items: center;
  color: var(--landing-muted);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
}
.service-logo span {
  align-items: center;
  background: transparent;
  border-radius: 50%;
  color: white;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  overflow: hidden;
  width: 54px;
}
.service-logo img {
  display: block;
  height: 54px;
  width: 54px;
}
.landing-section {
  padding: 96px 0;
  scroll-margin-top: 92px;
}
.quick-card-section {
  scroll-margin-top: 92px;
}
.section-headline {
  margin-bottom: 46px;
  max-width: 640px;
}
.section-headline h2 {
  color: var(--landing-title);
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 11px 0;
}
.section-headline > p:last-child {
  color: var(--landing-text);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}
.how-grid, .feature-grid, .case-grid, .price-grid {
  display: grid;
  gap: 22px;
}
.how-grid, .case-grid, .price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mini-card, .feature, .case-card, .plan {
  background: rgba(74, 58, 255, 0.02);
  border: 1px solid var(--landing-line);
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(20, 26, 46, 0.05);
}
.mini-card {
  min-height: 256px;
  padding: 31px;
}
.mini-card b, .feature span {
  align-items: center;
  background: var(--landing-accent);
  border-radius: 13px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}
.mini-card.cyan b, .feature .cyan {
  background: var(--landing-cyan);
}
.mini-card.orange b, .feature .orange {
  background: var(--landing-orange);
}
.feature .pink {
  background: var(--landing-pink);
}
.mini-card h3, .feature h3, .case-card h3, .plan h3 {
  color: var(--landing-title);
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 20px 0 10px;
}
.mini-card p, .feature p, .case-card p {
  color: var(--landing-text);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}
.quick-card-section {
  padding: 32px 0 96px;
}
.quick-card {
  align-items: center;
  background: linear-gradient(110deg, #eeeaff 0%, #e6fbff 100%);
  border-radius: 16px;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 480px) minmax(260px, 1fr);
  min-height: 350px;
  overflow: hidden;
  padding: 62px 90px;
}
.quick-card h2, .cta-panel h2 {
  color: var(--landing-title);
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 12px;
}
.quick-card p, .cta-panel p {
  color: var(--landing-text);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 24px;
}
.quick-card-art {
  display: block;
  height: 200px;
  justify-self: center;
  position: relative;
  width: 220px;
}
.quick-card-art-shadow,
.quick-card-art-card,
.quick-card-art-currency,
.quick-card-art-chip,
.quick-card-art-line,
.quick-card-art-circle {
  display: block;
  position: absolute;
}
.quick-card-art-shadow {
  background: rgba(126, 172, 255, 0.78);
  border-radius: 16px;
  height: 100px;
  left: 40px;
  top: 42px;
  width: 160px;
  z-index: 1;
}
.quick-card-art-card {
  background: linear-gradient(180deg, #effcff 0%, #ffffff 54%);
  border-radius: 16px;
  height: 100px;
  left: 20px;
  top: 68px;
  width: 160px;
  z-index: 2;
}
.quick-card-art-chip {
  background: #ffc15f;
  border-radius: 5px;
  height: 26px;
  left: 20px;
  top: 24px;
  width: 34px;
}
.quick-card-art-line {
  background: #c9d6fb;
  border-radius: 99px;
  height: 8px;
  left: 20px;
  top: 64px;
  width: 86px;
}
.quick-card-art-circle {
  border-radius: 50%;
  height: 28px;
  top: 56px;
  width: 28px;
}
.quick-card-art-circle-left {
  background: #aebdff;
  left: 104px;
}
.quick-card-art-circle-right {
  background: #ff8038;
  left: 130px;
}
.quick-card-art-currency {
  align-items: center;
  background: #34c2e8;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  height: 32px;
  justify-content: center;
  left: 170px;
  line-height: 1;
  top: 42px;
  width: 32px;
  z-index: 3;
}
.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature {
  min-height: 221px;
  padding: 30px;
}
.feature span {
  font-size: 19px;
}
.feature span.has-image {
  background: transparent;
  overflow: hidden;
}
.feature span.has-image img {
  display: block;
  height: 46px;
  width: 46px;
}
.case-card {
  overflow: hidden;
}
.case-art {
  align-items: center;
  display: flex;
  height: 200px;
  justify-content: center;
}
.case-card.violet .case-art {
  background: #e7ecff;
}
.case-card.cyan .case-art {
  background: #dff4fb;
}
.case-card.orange .case-art {
  background: #ffeedf;
}
.case-art img {
  display: block;
  max-height: 158px;
  max-width: 180px;
  object-fit: contain;
}
.case-copy {
  padding: 26px 28px 30px;
}
.case-copy h3 {
  margin-top: 0;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.case-copy span {
  background: rgba(74, 58, 255, 0.02);
  border: 1px solid var(--landing-line);
  border-radius: 99px;
  color: var(--landing-cyan);
  font-size: 12px;
  padding: 9px 13px;
}
.case-card.orange .case-copy span {
  color: var(--landing-accent);
}
.case-card.cyan .case-copy span {
  color: var(--landing-orange);
}
.tariffs-section {
  background: rgba(74, 58, 255, 0.02);
}
#tariffs.tariffs-section {
  padding-bottom: 460px;
}
.plan {
  background: #ffffff;
  min-height: 512px;
  padding: 30px;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--landing-accent);
  box-shadow: 0 5px 18px rgba(74, 58, 255, 0.28);
}
.plan-top {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.plan-top h3 {
  margin: 0;
}
.plan-badge {
  background: rgba(74, 58, 255, 0.04);
  border: 1px solid var(--landing-accent);
  border-radius: 99px;
  color: var(--landing-accent);
  font-size: 12px;
  padding: 8px 12px;
  white-space: nowrap;
}
.plan.featured .plan-badge {
  background: #ffeedf;
  border-color: transparent;
  color: var(--landing-orange);
}
.plan-card-art {
  background: linear-gradient(120deg, #2f5dff, #1b3fcc);
  border-radius: 16px;
  color: white;
  height: 108px;
  margin: 22px 0 20px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}
.plan.cyan .plan-card-art {
  background: linear-gradient(120deg, #34c2e8, #157e97);
}
.plan.dark .plan-card-art {
  background: linear-gradient(120deg, #141a2e, #3c4a78);
}
.plan-card-art span {
  background: #ffc56b;
  border-radius: 5px;
  display: block;
  height: 22px;
  width: 30px;
}
.plan-card-art strong {
  bottom: 16px;
  font-size: 15px;
  left: 18px;
  position: absolute;
}
.plan-card-art i {
  background: var(--landing-orange);
  border-radius: 12px;
  bottom: 14px;
  height: 24px;
  position: absolute;
  right: 16px;
  width: 24px;
}
.plan.cyan .plan-card-art i {
  background: var(--landing-pink);
}
.plan.dark .plan-card-art i {
  background: var(--landing-cyan);
}
.plan-meta {
  color: var(--landing-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  gap: 12px 20px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.plan-meta b {
  color: var(--landing-title);
}
.plan ul {
  display: grid;
  gap: 11px 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.plan li {
  color: var(--landing-title);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}
.plan-price {
  color: var(--landing-title);
  display: block;
  font-size: 34px;
  line-height: 1.35;
  margin-bottom: 18px;
}
.plan-price small {
  color: var(--landing-text);
  font-size: 15px;
  font-weight: 400;
}
.plan .primary {
  box-shadow: none;
  width: 100%;
}
.plan.featured .primary {
  box-shadow: 0 5px 18px rgba(74, 58, 255, 0.28);
}
.landing-cta {
  padding: 96px 0;
}
.cta-panel {
  align-items: center;
  background: linear-gradient(120deg, #34c2e8 0%, #2550f6 100%);
  border-radius: 22px;
  color: white;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 220px;
  min-height: 250px;
  overflow: hidden;
  padding: 54px 62px;
}
.cta-panel h2, .cta-panel p {
  color: white;
}
.cta-button {
  align-items: center;
  background: #ffffff;
  border-radius: 99px;
  color: var(--landing-title);
  display: inline-flex;
  font-weight: 800;
  min-height: 46px;
  padding: 0 22px;
}
.cta-card {
  background: #f9fbff;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(20, 26, 46, 0.12);
  height: 112px;
  justify-self: end;
  padding: 22px;
  position: relative;
  transform: rotate(1deg);
  width: 174px;
}
.cta-card span {
  background: #ffc56b;
  border-radius: 4px;
  display: block;
  height: 19px;
  width: 28px;
}
.cta-card b {
  background: #cfe0ff;
  border-radius: 6px;
  bottom: 24px;
  display: block;
  height: 14px;
  left: 22px;
  position: absolute;
  width: 82px;
}
.cta-card i {
  background: var(--landing-cyan);
  border-radius: 50%;
  bottom: 20px;
  height: 26px;
  position: absolute;
  right: 22px;
  width: 26px;
}
.about-page {
  background: #ffffff;
}
.about-hero {
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9fd 100%);
  overflow: hidden;
  padding: 78px 0 82px;
}
.about-hero-grid {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 560px) minmax(380px, 1fr);
}
.about-hero-copy h1 {
  color: var(--landing-title);
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: 0;
  margin: 14px 0 20px;
  max-width: 640px;
}
.about-hero-copy h1 span {
  color: var(--landing-accent);
  display: block;
}
.about-hero-copy > p:not(.eyebrow) {
  color: var(--landing-text);
  font-size: 20px;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
.about-hero-actions {
  margin-top: 30px;
}
.about-hero-image {
  align-items: center;
  background: #e7ecff;
  border-radius: 24px;
  box-shadow: 0 22px 54px rgba(20, 26, 46, 0.12);
  display: flex;
  height: 460px;
  justify-content: center;
  overflow: hidden;
}
.about-hero-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.about-mission-grid, .about-values-grid {
  display: grid;
  gap: 22px;
}
.about-mission-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.about-story-card, .about-value-card {
  background: rgba(74, 58, 255, 0.02);
  border: 1px solid var(--landing-line);
  border-radius: 22px;
  box-shadow: 0 4px 14px rgba(20, 26, 46, 0.05);
}
.about-story-card {
  min-height: 288px;
  padding: 34px;
}
.about-story-card p {
  color: var(--landing-title);
  font-size: 18px;
  line-height: 1.58;
  margin: 0;
}
.about-work-grid .case-art {
  height: 238px;
}
.about-work-grid .case-art img {
  max-height: 190px;
  max-width: 240px;
}
.about-team-section {
  padding: 24px 0 96px;
}
.about-team-panel {
  background: var(--landing-dark);
  border-radius: 24px;
  color: white;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  overflow: hidden;
  padding: 56px;
}
.about-team-panel h2 {
  color: white;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: 0;
  margin: 12px 0 18px;
  max-width: 560px;
}
.about-team-panel p:not(.eyebrow) {
  color: #c8d0e1;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 650px;
}
.about-team-list {
  display: grid;
  gap: 16px;
}
.about-team-list article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
}
.about-team-list strong {
  color: white;
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}
.about-team-list span {
  color: #c8d0e1;
  display: block;
  font-size: 15px;
  line-height: 1.55;
}
.about-values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-value-card {
  min-height: 250px;
  padding: 30px;
}
.about-value-card span {
  background: var(--landing-accent);
  border-radius: 14px;
  display: block;
  height: 46px;
  width: 46px;
}
.about-value-card.cyan span {
  background: var(--landing-cyan);
}
.about-value-card.orange span {
  background: var(--landing-orange);
}
.about-value-card span.has-image {
  align-items: center;
  background: transparent;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.about-value-card span.has-image img {
  display: block;
  height: 46px;
  object-fit: contain;
  object-position: center;
  width: 46px;
}
.about-value-card h3 {
  color: var(--landing-title);
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
  margin: 22px 0 10px;
}
.about-value-card p {
  color: var(--landing-text);
  font-size: 15.5px;
  line-height: 1.55;
  margin: 0;
}
.not-found-page {
  background: #ffffff;
}
.not-found-hero {
  padding: 86px 0 104px;
}
.not-found-grid {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(0, 520px) minmax(280px, 1fr);
}
.not-found-copy h1 {
  color: var(--landing-title);
  font-size: 64px;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 18px;
}
.not-found-copy > p:not(.eyebrow) {
  color: var(--landing-text);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 460px;
}
.not-found-art {
  align-items: center;
  background: linear-gradient(110deg, #eeeaff 0%, #e6fbff 100%);
  border-radius: 22px;
  display: flex;
  justify-content: center;
  min-height: 340px;
  overflow: hidden;
  position: relative;
}
.not-found-art span {
  color: rgba(74, 58, 255, 0.12);
  font-size: 128px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  position: absolute;
}
.not-found-art img {
  filter: drop-shadow(0 22px 32px rgba(47, 93, 255, 0.18));
  height: auto;
  position: relative;
  width: 220px;
}
.footer {
  background: #0f1426;
  color: #8b92a6;
  padding: 76px 0 44px;
}
.footer-grid {
  display: grid;
  gap: 84px;
  grid-template-columns: minmax(0, 360px) 170px 170px 260px;
  justify-content: space-between;
}
.footer p {
  font-size: 14px;
  line-height: 1.55;
  margin: 22px 0 0;
}
.footer nav {
  display: grid;
  gap: 13px;
}
.footer b {
  color: #ffffff;
  font-size: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.footer-company-details {
  border-top: 1px solid rgba(227, 232, 242, 0.08);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1.2fr);
  margin-top: 54px;
  padding-top: 32px;
}
.footer-company-details p {
  font-size: 12px;
  line-height: 1.55;
  margin: 8px 0 0;
}
.footer a {
  color: #8b92a6;
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid rgba(227, 232, 242, 0.08);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 24px;
}

.app-header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.app-header .app-max {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 180px 1fr auto 44px;
  height: 72px;
}
.avatar {
  align-items: center;
  background: #e6e6e6;
  border-radius: 22px;
  display: flex;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.app-bg {
  min-height: calc(100vh - 72px);
  padding: 0 0 48px;
}
.app-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: 220px minmax(0, 1fr);
  min-width: 0;
}
.app-layout.flow-layout {
  grid-template-columns: 1fr;
}
.sidebar {
  background: white;
  border-radius: 0 0 12px 12px;
  min-height: calc(100vh - 72px);
  padding: 24px 8px;
}
.sidebar p {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  margin: 0 4px 12px;
  padding: 0 8px 14px;
}
.sidebar a {
  align-items: center;
  border-radius: 8px;
  display: grid;
  font-size: 14px;
  gap: 10px;
  grid-template-columns: 28px 1fr;
  min-height: 44px;
  padding: 8px 10px;
}
.sidebar a span {
  background: #f1f1f1;
  border-radius: 8px;
  height: 28px;
  width: 28px;
}
.sidebar a.active {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 800;
}
.sidebar a.active span {
  background: #f5f8ff;
}
.content {
  min-width: 0;
  padding: 28px 0 0;
}
.content.flow-content {
  padding-top: 0;
}
.loading-state, .empty-state, .sync-note {
  background: white;
  border-radius: 8px;
  margin: 24px auto;
  max-width: 760px;
  padding: 20px;
}
.loading-state {
  color: var(--muted);
  text-align: center;
}
.empty-state {
  border: 1px solid var(--line);
}
.empty-state h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.empty-state p, .muted-text {
  color: var(--muted);
  margin: 0;
}
.empty-state .primary {
  margin-top: 16px;
}
.sync-note {
  background: #fff8e5;
  color: var(--yellow);
  font-size: 13px;
  margin: 0 0 18px;
  max-width: none;
}
.page-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 26px;
}
.page-head h1 {
  font-size: 26px;
  margin: 0 0 8px;
}
.page-head p {
  color: var(--muted);
  margin: 0;
}
.section-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 28px 0 12px;
}
.section-head h2 {
  font-size: 18px;
  margin: 0;
}
.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.virtual-card {
  border-radius: 16px;
  color: white;
  min-height: 186px;
  padding: 24px 16px 14px;
}
.virtual-card.dark {
  background: var(--dark);
}
.virtual-card.blue {
  background: #40527c;
}
.virtual-card div {
  margin-left: 40%;
}
.virtual-card span {
  color: #b2b2d9;
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.virtual-card strong {
  font-size: 28px;
}
.virtual-card p {
  color: #c8cce0;
  letter-spacing: 1px;
  margin: 40px 0 12px;
}
.virtual-card nav {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
}
.virtual-card a, .virtual-card button {
  background: #333852;
  border: 0;
  border-radius: 8px;
  color: #cccce5;
  font-size: 12px;
  min-height: 36px;
  padding: 11px 12px;
  text-align: left;
}
.modal-backdrop {
  align-items: center;
  background: rgba(31, 31, 56, 0.56);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 20;
}
.details-modal {
  background: white;
  border-radius: 14px;
  box-shadow: 0 18px 56px rgba(31, 31, 56, 0.28);
  display: grid;
  gap: 16px;
  max-width: 480px;
  padding: 28px;
  position: relative;
  width: min(100%, 480px);
}
.details-modal h2 {
  font-size: 22px;
  margin: 0;
}
.details-modal p {
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.modal-close {
  align-items: center;
  background: #f5f5f5;
  border: 0;
  border-radius: 16px;
  color: var(--muted);
  display: flex;
  font-size: 22px;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 32px;
}
.dev-code {
  background: #fff8e5;
  border-radius: 8px;
  color: var(--yellow);
  display: grid;
  gap: 6px;
  padding: 12px;
}
.dev-code span {
  font-size: 12px;
}
.dev-code strong {
  color: var(--text);
  font-size: 24px;
  letter-spacing: 4px;
}
.card-secret-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin: 0;
}
.card-secret-grid div {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px;
}
.card-secret-grid dt {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}
.card-secret-grid dd {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  overflow-wrap: anywhere;
}
.table-wrap {
  background: white;
  border-radius: 8px;
  max-width: 100%;
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  min-width: 780px;
  width: 100%;
}
th {
  background: #f5f5f5;
  color: var(--muted);
  font-size: 12px;
  padding: 16px;
  text-align: left;
}
td {
  color: var(--muted);
  font-size: 12px;
  padding: 14px 16px;
}
tbody tr:nth-child(even) {
  background: #fbfbfb;
}
td strong {
  color: var(--text);
  display: block;
  font-size: 14px;
}
td small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
td.pos {
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}
td.neg {
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}
.status {
  border-radius: 4px;
  display: inline-block;
  font-size: 11px;
  padding: 7px 10px;
}
.status.done {
  background: #ebfaed;
  color: #1a8040;
}
.status.pending {
  background: #fff2cc;
  color: var(--yellow);
}
.status.failed {
  background: #ffebeb;
  color: var(--red);
}
.filter-bar {
  align-items: center;
  background: white;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  margin-bottom: 2px;
  padding: 12px;
}
.search {
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  flex: 1 1 260px;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
}
.search input {
  background: transparent;
  border: 0;
  min-width: 0;
  outline: 0;
  width: 100%;
}
.chip, .date-chip {
  background: #e6e6e6;
  border: 0;
  border-radius: 16px;
  color: var(--muted);
  min-height: 36px;
  padding: 0 14px;
}
.chip.active {
  background: var(--dark);
  color: white;
  font-weight: 800;
}
.date-chip {
  border-radius: 6px;
}
.row-more, .pagination button {
  background: #e6e6e6;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  height: 28px;
  min-width: 30px;
}
.pagination {
  align-items: center;
  background: white;
  border-radius: 8px;
  color: var(--muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 10px;
  padding: 10px 16px;
}
.pagination div {
  display: flex;
  gap: 6px;
}
.pagination button.active {
  background: var(--dark);
  color: white;
  font-weight: 800;
}
.stepper {
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin: -28px 0 28px;
  padding: 18px 0;
}
.flow-content .stepper {
  margin: 0 0 28px;
}
.step {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
}
.step span {
  align-items: center;
  background: #e6e6e6;
  border-radius: 16px;
  color: white;
  display: flex;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.step.active {
  color: var(--dark);
}
.step.active span {
  background: var(--dark);
}
.topup-panel, .success-panel {
  background: white;
  border-radius: 16px;
  margin: 0 auto;
  max-width: 620px;
  padding: 32px;
}
.topup-panel h1, .success-panel h1 {
  font-size: 24px;
  margin: 0 0 8px;
  text-align: center;
}
.topup-panel > p, .success-panel > p {
  color: var(--muted);
  margin: 0 0 24px;
  text-align: center;
}
.issue-flow {
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 1196px;
}
.issue-panel, .issue-column {
  background: white;
  border-radius: 12px;
}
.issue-panel {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  max-width: 572px;
  padding: 28px;
}
.issue-panel h1 {
  font-size: 28px;
  margin: 0;
  text-align: center;
}
.issue-column {
  min-height: 580px;
  padding: 20px 12px 28px;
}
.issue-column h2 {
  font-size: 18px;
  margin: 0 8px 14px;
}
.issue-options-list {
  display: grid;
  gap: 16px;
}
.issue-option {
  align-items: center;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: 120px minmax(0, 1fr) 24px;
  min-height: 96px;
  padding: 12px;
}
.issue-option.active {
  background: var(--blue-soft);
  border-color: var(--blue);
}
.issue-option input {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}
.issue-card-art {
  align-items: center;
  background: #ccc;
  border-radius: 6px;
  color: var(--muted);
  display: flex;
  font-size: 10px;
  height: 72px;
  justify-content: center;
  width: 120px;
}
.issue-card-art::before {
  content: "[ Карта ]";
}
.issue-option-copy {
  min-width: 0;
}
.issue-option-copy strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}
.issue-option-copy small {
  color: var(--muted);
  display: block;
  font-size: 13px;
  line-height: 1.35;
}
.issue-option i {
  background: white;
  border-radius: 12px;
  height: 24px;
  position: relative;
  width: 24px;
}
.issue-option.active i::after {
  background: var(--blue);
  border-radius: 7px;
  content: "";
  height: 14px;
  left: 5px;
  position: absolute;
  top: 5px;
  width: 14px;
}
.issue-separator {
  border-top: 1px solid var(--line);
  margin: 22px 0 14px;
}
.issue-field {
  display: block;
}
.issue-amount-field {
  position: relative;
}
.issue-amount-field::after {
  bottom: 19px;
  color: var(--muted);
  content: "₽";
  font-size: 18px;
  left: 112px;
  position: absolute;
}
.issue-amount-input {
  font-size: 28px;
  font-weight: 800;
  min-height: 64px;
  padding-right: 48px;
}
.issue-conversion {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 16px;
  min-height: 52px;
  padding: 12px;
}
.issue-conversion strong {
  font-size: 15px;
  font-weight: 400;
}
.issue-conversion span {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
  white-space: nowrap;
}
.issue-order-box {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px 12px 10px;
}
.issue-order-card, .issue-payment-card {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 120px minmax(0, 1fr);
}
.issue-order-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.issue-order-card strong, .issue-payment-card strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
}
.issue-order-card small, .issue-payment-card small {
  color: var(--muted);
  display: block;
  font-size: 12px;
}
.issue-payment-card {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px;
}
.issue-payment-card b {
  display: block;
  margin-bottom: 6px;
}
.issue-summary {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}
.issue-summary div {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.issue-summary span {
  color: var(--muted);
  font-size: 13px;
}
.issue-summary strong {
  font-size: 13px;
}
.issue-promo, .promo-row {
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 96px;
  margin-top: 12px;
  min-height: 46px;
  padding: 8px;
}
.issue-promo input {
  background: transparent;
  min-height: 30px;
}
.issue-promo button, .promo-row button {
  background: var(--blue-soft);
  border: 0;
  border-radius: 6px;
  color: var(--blue);
  font-size: 11px;
  min-height: 28px;
}
.promo-row {
  margin-top: 0;
}
.promo-row span {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.issue-checks {
  color: #1a8040;
  display: grid;
  font-size: 12px;
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 0 12px;
}
.issue-checks li::before {
  content: "✓";
  margin-right: 8px;
}
.issue-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}
.issue-primary {
  background: var(--dark) !important;
  min-height: 54px;
  width: 100%;
}
.issue-primary b {
  color: #bfc7e0;
  margin-left: 8px;
}
.issue-secondary, .issue-back {
  background: #e6e6e6;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  justify-self: center;
  min-height: 30px;
  min-width: 140px;
}
.issue-total {
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
}
.issue-total span {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.issue-payment-flow .issue-column {
  min-height: 560px;
}
.issue-payment-details {
  display: grid;
  align-content: start;
  gap: 24px;
}
.issue-payment-recap {
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 80px;
}
.issue-payment-recap .issue-card-art {
  height: 60px;
  width: 108px;
}
.issue-payment-recap b {
  color: var(--blue);
  font-size: 16px;
}
.issue-promo-status {
  align-items: center;
  border-radius: 8px;
  display: flex;
  font-size: 12px;
  min-height: 40px;
  padding: 0 12px;
}
.issue-promo-status.is-muted {
  background: #f5f5f5;
  color: var(--muted);
}
.issue-payment-total {
  background: transparent;
  padding: 0 8px;
}
.issue-payment-total span {
  font-size: 16px;
}
.issue-payment-total strong {
  font-size: 22px;
}
.issue-payment-terms {
  align-items: center;
  grid-template-columns: 26px 1fr;
  margin-top: 2px;
}
.issue-payment-terms input {
  appearance: none;
  align-items: center;
  background: #e6e6e6;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  min-height: 26px;
  width: 26px;
}
.issue-payment-terms input:checked {
  background: var(--blue);
}
.issue-payment-terms input:checked::after {
  color: white;
  content: "✓";
  font-size: 13px;
  font-weight: 800;
  transform: translateY(-1px);
}
.issue-sbp-button {
  border-radius: 12px;
  display: grid !important;
  grid-template-columns: 1fr 70px;
  padding: 0 8px 0 24px;
}
.issue-sbp-button span {
  color: white;
  font-size: 17px;
  margin: 0;
}
.issue-sbp-button b {
  align-items: center;
  background: #ccc;
  border-radius: 4px;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  font-weight: 400;
  height: 30px;
  justify-content: center;
  margin: 0;
}
.issue-sbp-help {
  display: grid;
  align-content: start;
  gap: 20px;
}
.sbp-steps {
  counter-reset: sbp;
  display: grid;
  gap: 24px;
  list-style: none;
  margin: 14px 6px 0;
  padding: 0;
}
.sbp-steps li {
  display: grid;
  gap: 12px;
  grid-template-columns: 32px minmax(0, 1fr);
}
.sbp-steps b {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 16px;
  color: var(--blue);
  display: flex;
  font-size: 13px;
  height: 32px;
  justify-content: center;
  width: 32px;
}
.sbp-steps strong {
  display: block;
  font-size: 14px;
  font-weight: 400;
  margin: 3px 0 10px;
}
.sbp-steps span {
  align-items: center;
  background: #f5f5f5;
  border-radius: 6px;
  color: var(--muted);
  display: flex;
  font-size: 11px;
  height: 40px;
  justify-content: center;
  margin: 0;
}
.sbp-banks {
  background: #f5f5f5;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin: 4px 0 0;
  min-height: 52px;
  padding: 10px 12px;
}
.sbp-banks > span {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}
.sbp-banks div {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.sbp-banks small {
  align-items: center;
  background: #ccc;
  border-radius: 4px;
  color: var(--muted);
  display: flex;
  font-size: 10px;
  justify-content: center;
  min-height: 20px;
  min-width: 0;
  text-align: center;
}
.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.choice-list {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}
.choice-card {
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 6px;
  padding: 14px;
}
.choice-card.active {
  background: var(--blue-soft);
  border-color: var(--blue);
}
.choice-card input {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}
.choice-card span {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
}
.choice-card strong {
  font-size: 13px;
}
.choice-card small {
  color: var(--muted);
  font-size: 12px;
}
.amount-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.amount-chips button {
  background: #e6e6e6;
  border: 0;
  border-radius: 18px;
  color: var(--dark);
  min-height: 36px;
  padding: 0 14px;
}
.amount-chips.issue-amounts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 18px;
}
.amount-chips.issue-amounts button {
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  padding: 0 8px;
}
.amount-chips.issue-amounts button.active {
  background: var(--dark);
  color: white;
  font-weight: 800;
}
.payment-note {
  background: #f5f5f5;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  padding: 16px;
}
.payment-note span {
  color: var(--muted);
  font-size: 12px;
}
.terms {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 22px 1fr;
  margin-top: 16px;
}
.terms input {
  accent-color: var(--blue);
  height: 18px;
  min-height: 18px;
  width: 18px;
}
.terms span {
  color: var(--text);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}
label span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-bottom: 8px;
}
input, select {
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 12px;
  width: 100%;
}
input:focus, select:focus {
  border-color: var(--blue);
  outline: 0;
}
.summary, .success-details {
  background: #f5f5f5;
  border-radius: 8px;
  margin-top: 20px;
  padding: 12px 16px;
}
.summary div, .success-details {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr auto;
}
.summary div {
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.summary div:last-child {
  border-bottom: 0;
}
.summary span, .success-details span {
  color: var(--muted);
  font-size: 12px;
}
.summary strong, .success-details strong {
  font-size: 13px;
}
.actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}
.actions.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.notice {
  background: #fff2cc;
  border-radius: 8px;
  color: var(--yellow);
  padding: 12px;
  text-align: left !important;
}
.success-panel {
  text-align: center;
}
.success-mark {
  align-items: center;
  background: #e5f7eb;
  border-radius: 52px;
  color: var(--green);
  display: flex;
  font-size: 34px;
  font-weight: 800;
  height: 104px;
  justify-content: center;
  margin: -8px auto 18px;
  width: 104px;
}
.success-details {
  line-height: 2.2;
  text-align: left;
}
.green {
  color: var(--green);
}
.profile-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 380px;
}
.profile-main, .profile-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.panel, .identity {
  background: white;
  border-radius: 12px;
  min-width: 0;
  padding: 20px;
}
.identity {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: 112px 1fr;
}
.avatar-large {
  align-items: center;
  background: #475270;
  border: 4px solid #4073d9;
  border-radius: 56px;
  color: #d9def2;
  display: flex;
  font-size: 40px;
  font-weight: 800;
  height: 112px;
  justify-content: center;
  overflow: hidden;
  width: 112px;
}
.avatar img,
.avatar-large img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.avatar-upload {
  cursor: pointer;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.avatar-upload input {
  display: none;
}
.avatar-upload b {
  color: var(--blue);
  font-size: 12px;
}
.identity h2, .panel h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.identity p {
  color: var(--muted);
  margin: 5px 0;
}
.badge {
  border-radius: 6px;
  display: inline-block;
  font-size: 11px;
  margin-right: 8px;
  padding: 7px 10px;
}
.badge.green {
  background: #ebfaed;
  color: #1a8040;
}
.badge.blue {
  background: var(--blue-soft);
  color: var(--blue);
}
.info-list div {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 28px;
  padding: 10px 0;
}
.info-list span {
  color: var(--muted);
  display: block;
  font-size: 11px;
}
.info-list strong {
  font-size: 14px;
  font-weight: 400;
  grid-column: 1;
}
.info-list button, .security button {
  background: #e6e6e6;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  height: 24px;
}
.profile-save-status {
  align-self: start;
  border-radius: 99px;
  color: var(--landing-muted);
  font-size: 12px;
  font-weight: 800;
  min-height: 32px;
  padding: 9px 13px;
}
.profile-save-status.saving {
  background: #fff8e1;
  color: var(--yellow);
}
.profile-save-status.saved {
  background: #ebfaed;
  color: var(--green);
}
.profile-save-status.error {
  background: #ffeded;
  color: var(--red);
}
.profile-fields {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-field {
  display: grid;
  gap: 7px;
}
.profile-field span {
  color: var(--muted);
  font-size: 12px;
}
.profile-field.readonly input {
  color: var(--muted);
}
.email-change-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 14px;
}
.email-change-panel .notice {
  margin: 12px 0 0;
}
.security div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px 14px;
  grid-template-columns: 42px 1fr auto;
  padding: 14px 0;
}
.security .round {
  background: #f5f5f5;
  border-radius: 21px;
  grid-row: span 2;
  height: 42px;
  width: 42px;
}
.security small {
  color: var(--muted);
}
.security em {
  background: #ffeded;
  border-radius: 4px;
  color: var(--red);
  font-size: 10px;
  font-style: normal;
  padding: 6px 10px;
}
.toggles label, .settings label {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 12px 0;
}
.toggles small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.toggles input {
  accent-color: var(--blue);
  height: 24px;
  width: 48px;
}
.settings select {
  min-height: 30px;
  width: 148px;
}
.referral div {
  background: #f5f5f5;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 48px;
  padding: 12px;
}
.referral div span {
  color: var(--muted);
  font-size: 11px;
  grid-column: span 2;
}
.referral code {
  background: var(--blue-soft);
  border-radius: 6px;
  color: var(--blue);
  overflow-wrap: anywhere;
  padding: 9px;
}
.referral button {
  background: var(--dark);
  border: 0;
  border-radius: 6px;
  color: white;
}
.referral p, .danger-zone p {
  color: var(--muted);
  font-size: 13px;
}
.referral p span {
  float: right;
}
.danger-zone {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.danger-zone p {
  grid-column: span 2;
  margin: 0;
}
.danger-zone button {
  background: #f5f5f5;
  border: 0;
  border-radius: 8px;
  min-height: 36px;
}
.danger-zone .danger {
  background: #ffeded;
  color: var(--red);
}

/* Figma app refresh */
.app-header {
  backdrop-filter: blur(7px);
  background: rgba(74, 58, 255, 0.02);
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 9;
}
.app-header .app-max {
  grid-template-columns: auto 1fr auto 54px;
  height: 86px;
  max-width: 1280px;
  width: calc(100% - 96px);
}
.app-header .app-max > span {
  display: none;
}
.app-brand {
  align-items: center;
  color: var(--landing-dark);
  display: inline-flex;
  font-size: 21px;
  font-weight: 900;
  gap: 10px;
  line-height: 32.55px;
}
.app-brand span {
  background: #2f5dff;
  border-radius: 9px;
  display: inline-block;
  height: 30px;
  position: relative;
  width: 30px;
}
.app-brand span::before {
  background: var(--landing-cyan);
  border-radius: 4.5px;
  content: "";
  height: 9px;
  position: absolute;
  right: 7px;
  top: 7px;
  width: 9px;
}
.app-brand span::after {
  background: #ffffff;
  border-radius: 3px;
  bottom: 7px;
  content: "";
  height: 4px;
  left: 7px;
  position: absolute;
  width: 11px;
}
.app-header .primary.small {
  justify-self: end;
  min-height: 36px;
  padding: 0 20px;
  width: max-content;
}
.avatar {
  background: var(--landing-orange);
  border-radius: 90px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  height: 54px;
  overflow: hidden;
  width: 54px;
}
.app-bg {
  background: #ffffff;
  min-height: calc(100vh - 86px);
  padding-bottom: 72px;
}
.app-layout {
  display: grid;
  gap: 84px;
  grid-template-columns: 204px minmax(0, 1fr);
  max-width: 1548px;
  width: calc(100% - 108px);
}
.app-layout.flow-layout {
  grid-template-columns: 204px minmax(0, 1fr);
}
.sidebar {
  background: rgba(74, 58, 255, 0.02);
  border-radius: 0;
  margin-left: -54px;
  min-height: calc(100vh - 86px);
  padding: 22px 48px 40px 54px;
  width: 302px;
}
.sidebar p {
  border-bottom: 1px solid var(--landing-line);
  color: var(--landing-muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin: 0 0 8px 4px;
  padding: 0 0 8px;
}
.sidebar a {
  align-items: center;
  border-radius: 0;
  color: var(--landing-text);
  display: grid;
  font-size: 16px;
  font-weight: 600;
  gap: 10px;
  grid-template-columns: 28px 1fr;
  line-height: 24px;
  min-height: 44px;
  padding: 8px 0;
}
.sidebar a span {
  background: rgba(74, 58, 255, 0.02);
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  height: 28px;
  width: 28px;
}
.sidebar a.active {
  background: rgba(74, 58, 255, 0.02);
  color: var(--landing-accent);
  font-weight: 600;
  margin-left: 4px;
  padding-left: 44px;
  width: calc(100% - 4px);
}
.sidebar a.active span {
  display: none;
}
.content {
  padding-top: 34px;
}
.content.flow-content {
  padding-top: 34px;
}
.page-head {
  align-items: flex-start;
  margin-bottom: 52px;
}
.page-head h1 {
  color: var(--landing-title);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.84px;
  line-height: 45.36px;
  margin: 0 0 7px;
}
.page-head p {
  color: var(--landing-text);
  font-size: 18px;
  line-height: 27.9px;
}
.section-head {
  margin: 52px 0 12px;
}
.section-head h2 {
  color: var(--landing-title);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.42px;
  line-height: 22.68px;
}
.card-grid {
  gap: 36px;
}
.virtual-card {
  align-items: center;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  min-height: 215px;
  padding: 40px 48px 63px;
  text-align: center;
}
.virtual-card.dark, .virtual-card.blue {
  background: linear-gradient(118deg, #2f5dff 0%, #1b3fcc 100%);
}
.virtual-card.blue {
  background: linear-gradient(119deg, #34c2e8 0%, #157e97 100%);
}
.virtual-card div {
  margin: 0;
}
.virtual-card span {
  color: var(--landing-line);
  font-size: 18px;
  line-height: 27.9px;
  margin-bottom: 9px;
}
.virtual-card strong {
  color: #ffffff;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.84px;
  line-height: 45.36px;
}
.virtual-card p {
  display: none;
}
.virtual-card nav {
  bottom: -48px;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  left: 0;
  position: absolute;
  right: 0;
}
.virtual-card {
  margin-bottom: 48px;
  position: relative;
}
.virtual-card a, .virtual-card button {
  background: var(--landing-accent);
  border: 0;
  border-radius: 90px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  min-height: 36px;
  padding: 0 18px;
  text-align: center;
}
.virtual-card a:hover, .virtual-card button:hover {
  background: var(--landing-accent-hover);
}
.table-wrap {
  background: transparent;
  border-radius: 0;
}
table {
  min-width: 760px;
}
th {
  background: transparent;
  color: var(--landing-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  padding: 12px 36px;
}
td {
  color: var(--landing-text);
  font-size: 12px;
  line-height: 12px;
  padding: 12px 36px;
}
tbody tr:nth-child(even), tbody tr:nth-child(odd) {
  background: transparent;
}
tbody tr:nth-child(odd) {
  background: rgba(74, 58, 255, 0.02);
}
td strong {
  color: var(--landing-title);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
td.pos, td.neg {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.status {
  border-radius: 6px;
  font-size: 12px;
  line-height: 12px;
  min-width: 110px;
  padding: 8px 12px;
  text-align: center;
}
.filter-bar {
  background: transparent;
  border-radius: 0;
  gap: 16px;
  margin-bottom: 25px;
  padding: 0;
}
.search {
  background: rgba(74, 58, 255, 0.02);
  border: 1px solid var(--landing-line);
  border-radius: 90px;
  min-height: 36px;
  padding: 0 36px;
}
.chip, .date-chip {
  background: #f7f7ff;
  border: 1px solid var(--landing-title);
  border-radius: 90px;
  color: var(--landing-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  min-height: 36px;
  padding: 0 24px;
}
.chip.active {
  background: var(--landing-accent);
  border-color: var(--landing-accent);
  color: #ffffff;
}
.pagination {
  background: transparent;
  justify-content: flex-end;
  padding: 18px 0 0;
}
.pagination > span {
  display: none;
}
.pagination button.active {
  background: var(--landing-accent);
}
.panel, .identity, .profile-side > section {
  background: rgba(74, 58, 255, 0.02);
  border: 1px solid var(--landing-line);
  border-radius: 22px;
}
.profile-grid {
  gap: 24px;
  grid-template-columns: minmax(0, 700px) minmax(320px, 1fr);
}
.identity {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 30px 22px;
}
.identity-top {
  align-items: center;
  display: flex;
  gap: 20px;
}
.avatar-large {
  background: var(--landing-orange);
  height: 104px;
  width: 104px;
}
.identity h2, .panel h2 {
  color: var(--landing-title);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.42px;
  line-height: 22.68px;
}
.profile-badges {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.badge {
  background: rgba(74, 58, 255, 0.02);
  border: 1px solid var(--landing-line);
  border-radius: 99px;
  font-size: 12px;
  line-height: 12px;
  margin: 0;
  min-height: 32px;
  padding: 9px 13px;
}
.avatar-upload.badge {
  color: var(--landing-title);
  cursor: pointer;
}
.badge.blue {
  border: 1px solid var(--landing-cyan);
  color: var(--landing-cyan);
}
.badge.green {
  border: 1px solid var(--landing-orange);
  color: var(--landing-orange);
}
.profile-form-panel,
.security {
  padding: 30px 22px;
}
.profile-panel-head,
.security h2,
.danger-zone h2 {
  border-bottom: 1px solid var(--landing-line);
  margin: 0;
  padding: 0 0 6px;
  width: 100%;
}
.danger-zone h2 {
  text-align: center;
}
.profile-fields {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
.profile-row {
  align-items: center;
  border-bottom: 1px solid var(--landing-line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 28px;
  min-height: 55px;
  padding: 6px 0;
}
.profile-row > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.profile-row small {
  color: var(--landing-text);
  font-size: 12px;
  line-height: 12px;
}
.profile-row input {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--landing-title);
  font-size: 15.5px;
  line-height: 24px;
  min-height: 24px;
  padding: 0;
}
.profile-row input:focus {
  border-color: transparent;
  outline: 0;
}
.profile-row i,
.profile-row button,
.security i {
  align-items: center;
  background: var(--landing-line);
  border: 0;
  border-radius: 4px;
  color: var(--landing-text);
  display: inline-flex;
  font-size: 12px;
  font-style: normal;
  height: 24px;
  justify-content: center;
  line-height: 12px;
  padding: 0;
  width: 28px;
}
.profile-email-row {
  margin: 0;
}
.profile-email-row em {
  color: var(--landing-cyan);
  font-size: 12px;
  font-style: normal;
  line-height: 16px;
}
.profile-field.readonly input {
  color: var(--landing-title);
}
.security {
  display: grid;
  gap: 15px;
}
.security-password-form,
.security-2fa-row {
  align-items: center;
  border-bottom: 1px solid var(--landing-line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 160px) minmax(120px, 160px) auto;
  padding: 0 0 6px;
}
.security-2fa-row {
  grid-template-columns: minmax(0, 1fr) auto;
}
.security strong {
  color: var(--landing-title);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 24px;
}
.security label {
  display: grid;
  gap: 4px;
}
.security small {
  color: var(--landing-text);
  font-size: 12px;
  line-height: 12px;
}
.security input {
  background: #ffffff;
  border: 1px solid var(--landing-line);
  border-radius: 8px;
  min-height: 36px;
}
.security button {
  background: var(--landing-line);
  border: 0;
  border-radius: 99px;
  color: var(--landing-title);
  font-size: 13px;
  font-weight: 800;
  min-height: 36px;
  padding: 0 16px;
  white-space: nowrap;
}
.security-2fa-row button {
  background: var(--landing-accent);
  box-shadow: var(--button-shadow);
  color: #ffffff;
}
.danger-zone {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px 22px;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  width: 100%;
}
.danger-zone button {
  border-radius: 99px;
  font-size: 16px;
  font-weight: 800;
  min-height: 56px;
  width: 186px;
}
.danger-zone button:first-of-type {
  background: var(--landing-accent);
  box-shadow: var(--button-shadow);
  color: #ffffff;
}
.danger-zone .danger {
  background: #ffffff;
  border: 1px solid var(--landing-line);
  color: var(--landing-title);
}
.stepper {
  background: transparent;
  border-bottom: 0;
  gap: 32px;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  margin: 0 auto 36px;
  max-width: 740px;
  padding: 0;
}
.flow-content .stepper {
  margin: 0 auto 36px;
}
.step {
  color: var(--landing-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 27.9px;
}
.step span {
  background: var(--landing-muted);
  font-size: 16px;
  font-weight: 900;
  height: 32px;
  width: 32px;
}
.step.active {
  color: var(--landing-title);
}
.step.active span {
  background: var(--landing-accent);
}
.issue-flow {
  gap: 24px;
  max-width: 1213px;
}
.issue-payment-flow {
  grid-template-columns: 1fr;
  max-width: 820px;
  width: min(100%, 820px);
}
.issue-payment-flow .issue-sbp-help {
  display: none;
}
.issue-column {
  background: rgba(74, 58, 255, 0.02);
  border: 1px solid var(--landing-line);
  border-radius: 22px;
  min-height: 0;
  padding: 30px 22px;
}
.issue-column h2 {
  border-bottom: 1px solid var(--landing-line);
  color: var(--landing-title);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.42px;
  line-height: 22.68px;
  margin: 0 0 15px;
  padding-bottom: 6px;
}
.issue-option {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--landing-line);
  border-radius: 0;
  align-items: center;
  grid-template-columns: 248px minmax(0, 1fr) 32px;
  min-height: 120px;
  padding: 24px 32px;
}
.issue-option.active {
  background: #ffffff;
  border: 0;
  border-radius: 22px;
  box-shadow: var(--card-shadow);
}
.issue-card-art {
  background: linear-gradient(113deg, #2f5dff 0%, #1b3fcc 100%);
  border-radius: 16px;
  color: #ffffff;
  height: 130px;
  width: 224px;
}
.issue-card-art::before {
  color: var(--landing-line);
  content: "Карта для подписок";
  display: block;
  font-size: 18px;
  line-height: 27.9px;
  text-align: center;
}
.issue-option:nth-of-type(2) .issue-card-art {
  background: linear-gradient(113deg, #34c2e8 0%, #157e97 100%);
}
.issue-option i {
  background: #ffffff;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  align-self: center;
  justify-self: center;
}
.issue-option.active i {
  border-color: var(--landing-accent);
}
.issue-option.active i::after {
  background: var(--landing-accent);
}
.issue-separator {
  border-color: var(--landing-line);
}
.issue-field span {
  color: var(--landing-text);
  font-size: 12px;
  line-height: 12px;
}
.issue-amount-input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--landing-line);
  border-radius: 0;
  color: var(--landing-title);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.42px;
  line-height: 22.68px;
  min-height: 52px;
  padding: 0;
}
.amount-chips.issue-amounts {
  display: none;
}
.issue-conversion {
  background: transparent;
  border-radius: 0;
  margin-top: 0;
  padding: 0;
}
.issue-conversion strong {
  color: var(--landing-title);
  font-size: 15.5px;
  line-height: 24px;
}
.issue-order-box {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.issue-order-card, .issue-payment-card {
  border-bottom: 1px solid var(--landing-line);
  grid-template-columns: 148px minmax(0, 1fr);
  padding: 24px;
}
.issue-order-card .issue-card-art, .issue-payment-card .issue-card-art {
  height: 72px;
  width: 148px;
}
.issue-order-card .issue-card-art::before, .issue-payment-card .issue-card-art::before {
  font-size: 12px;
  line-height: 12px;
}
.issue-summary {
  gap: 15px;
  padding-top: 15px;
}
.issue-summary span, .issue-total span {
  color: var(--landing-text);
  font-size: 12px;
  line-height: 12px;
}
.issue-summary strong, .issue-total strong {
  color: var(--landing-title);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.42px;
  line-height: 22.68px;
}
.issue-promo, .promo-row, .issue-promo-status {
  display: none;
}
.issue-actions, .actions.split {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
.issue-primary {
  background: var(--landing-accent) !important;
  border-radius: 99px;
  box-shadow: var(--button-shadow);
  min-height: 56px;
}
.issue-primary:hover {
  background: var(--landing-accent-hover) !important;
  box-shadow: none;
}
.issue-secondary, .issue-back {
  background: #ffffff;
  border: 1px solid var(--landing-line);
  border-radius: 99px;
  color: var(--landing-title);
  font-size: 16px;
  font-weight: 800;
  min-height: 56px;
  min-width: 0;
  width: 100%;
}
.issue-secondary:hover, .issue-back:hover {
  background: var(--landing-accent-hover);
  border-color: var(--landing-accent-hover);
  color: #ffffff;
}
.issue-payment-details {
  gap: 15px;
}
.issue-payment-card {
  background: transparent;
  border-radius: 0;
}
.issue-payment-card b {
  color: var(--landing-accent);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.42px;
  line-height: 22.68px;
}
.issue-payment-flow .issue-column {
  min-height: 0;
}
.issue-payment-flow .issue-column:first-child {
  max-width: none;
  width: 100%;
}
.issue-payment-total {
  background: transparent;
  border-radius: 0;
  padding: 0 0 6px;
}
.issue-payment-terms {
  display: grid;
  gap: 8px;
  grid-template-columns: 26px 1fr;
}
.issue-payment-terms span {
  color: var(--landing-title);
  font-size: 12px;
  line-height: 12px;
}
.issue-payment-terms input:checked {
  background: var(--landing-accent);
}
.issue-sbp-button {
  display: flex !important;
  justify-content: center;
  padding: 0 26px;
}
.issue-sbp-button b {
  display: none;
}
.success-panel {
  background: rgba(74, 58, 255, 0.02);
  border: 1px solid var(--landing-line);
  border-radius: 22px;
  max-width: 594px;
  padding: 30px 22px;
}
.success-mark {
  background: #e5f7eb;
  color: var(--green);
  font-size: 48px;
  height: 104px;
  line-height: 104px;
  margin: 0 auto 15px;
  width: 104px;
}
.success-panel h1 {
  color: var(--landing-title);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.42px;
  line-height: 22.68px;
}
.success-panel > p {
  display: none;
}
.success-details {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}
.success-details span {
  color: var(--landing-text);
  font-size: 12px;
  line-height: 12px;
}
.success-details strong {
  color: var(--landing-title);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 24px;
}
.success-details .green {
  background: #ebfaed;
  border-radius: 6px;
  color: #1a8040;
  font-size: 12px;
  line-height: 12px;
  padding: 8px 12px;
  text-align: center;
}

@media (min-width: 981px) and (max-width: 1200px) {
  .app-header .app-max {
    height: 72px;
    width: calc(100% - 64px);
  }

  .app-header .primary.small {
    min-height: 44px;
    padding: 0 18px;
  }

  .avatar {
    height: 48px;
    width: 48px;
  }

  .app-bg {
    min-height: calc(100vh - 72px);
    padding-bottom: 28px;
  }

  .app-layout,
  .app-layout.flow-layout {
    gap: 24px;
    grid-template-columns: 144px minmax(0, 1fr);
    max-width: none;
    width: calc(100% - 48px);
  }

  .sidebar {
    margin-left: -24px;
    min-height: calc(100vh - 72px);
    padding: 18px 16px 28px 24px;
    width: 192px;
  }

  .sidebar p {
    font-size: 15px;
    line-height: 22px;
    margin-left: 0;
  }

  .sidebar a {
    font-size: 15px;
    gap: 8px;
    grid-template-columns: 24px 1fr;
    line-height: 20px;
    min-height: 40px;
  }

  .sidebar a span {
    height: 24px;
    width: 24px;
  }

  .sidebar a.active {
    margin-left: 0;
    padding-left: 28px;
    width: 100%;
  }

  .content,
  .content.flow-content {
    padding-top: 22px;
  }

  .flow-content .stepper,
  .stepper {
    gap: 24px;
    justify-content: start;
    margin: 0 0 22px;
    max-width: none;
  }

  .step {
    font-size: 19px;
    line-height: 24px;
  }

  .step span {
    font-size: 15px;
    height: 32px;
    width: 32px;
  }

  .issue-flow,
  .topup-flow,
  .issue-payment-flow {
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(292px, 340px);
    max-width: none;
    width: 100%;
  }

  .issue-payment-flow {
    grid-template-columns: minmax(0, 760px);
  }

  .issue-column {
    border-radius: 18px;
    min-height: 0;
    padding: 18px;
  }

  .issue-column h2 {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 10px;
  }

  .issue-option {
    gap: 12px;
    grid-template-columns: 164px minmax(0, 1fr) 24px;
    min-height: 88px;
    padding: 12px 16px;
  }

  .issue-card-art {
    border-radius: 12px;
    height: 78px;
    width: 148px;
  }

  .issue-card-art::before {
    align-items: center;
    display: flex;
    font-size: 13px;
    height: 100%;
    justify-content: center;
    line-height: 16px;
    padding: 10px;
  }

  .issue-option h3 {
    font-size: 17px;
    line-height: 20px;
  }

  .issue-option p,
  .issue-option small,
  .issue-summary span,
  .issue-total span {
    font-size: 12px;
    line-height: 16px;
  }

  .issue-order-card,
  .issue-payment-card {
    gap: 12px;
    grid-template-columns: 118px minmax(0, 1fr);
    padding: 12px 0;
  }

  .issue-order-card .issue-card-art,
  .issue-payment-card .issue-card-art {
    height: 64px;
    width: 118px;
  }

  .issue-summary {
    gap: 10px;
    padding-top: 10px;
  }

  .issue-summary strong,
  .issue-total strong,
  .issue-payment-card b {
    font-size: 20px;
    line-height: 24px;
  }

  .issue-amount-input {
    font-size: 24px;
    line-height: 28px;
    min-height: 44px;
  }

  .issue-conversion strong {
    font-size: 14px;
    line-height: 20px;
  }

  .issue-actions,
  .actions.split {
    gap: 10px;
  }

  .issue-primary,
  .issue-secondary,
  .issue-back {
    min-height: 48px;
  }
}

@media (min-width: 981px) and (max-width: 1200px) and (max-height: 760px) {
  .app-header .app-max {
    height: 60px;
  }

  .app-bg {
    min-height: calc(100vh - 60px);
    padding-bottom: 18px;
  }

  .sidebar {
    min-height: calc(100vh - 60px);
    padding-bottom: 18px;
    padding-top: 12px;
  }

  .app-layout,
  .app-layout.flow-layout {
    gap: 20px;
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .sidebar {
    width: 176px;
  }

  .content,
  .content.flow-content {
    padding-top: 14px;
  }

  .flow-content .stepper,
  .stepper {
    margin-bottom: 14px;
  }

  .step {
    font-size: 17px;
    line-height: 22px;
  }

  .step span {
    font-size: 14px;
    height: 30px;
    width: 30px;
  }

  .issue-flow,
  .topup-flow,
  .issue-payment-flow {
    gap: 14px;
  }

  .issue-column {
    padding: 14px 16px;
  }

  .issue-column h2 {
    font-size: 22px;
    line-height: 24px;
    margin-bottom: 8px;
  }

  .issue-option {
    gap: 10px;
    grid-template-columns: 144px minmax(0, 1fr) 22px;
    min-height: 70px;
    padding: 8px 12px;
  }

  .issue-card-art {
    height: 58px;
    width: 132px;
  }

  .issue-card-art::before {
    font-size: 12px;
    line-height: 14px;
    padding: 8px;
  }

  .issue-option h3,
  .issue-option-copy strong {
    font-size: 15px;
    line-height: 18px;
    margin-bottom: 4px;
  }

  .issue-option i {
    height: 20px;
    width: 20px;
  }

  .issue-option.active i::after {
    height: 12px;
    left: 4px;
    top: 4px;
    width: 12px;
  }

  .issue-separator {
    margin: 10px 0 8px;
  }

  .issue-amount-input {
    font-size: 22px;
    line-height: 26px;
    min-height: 40px;
  }

  .issue-amount-field::after {
    bottom: 11px;
  }

  .issue-conversion {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    min-height: 0;
    padding: 8px 10px;
  }

  .issue-conversion span {
    white-space: normal;
  }

  .issue-order-card,
  .issue-payment-card {
    gap: 10px;
    grid-template-columns: 104px minmax(0, 1fr);
    padding: 8px 0;
  }

  .issue-order-card .issue-card-art,
  .issue-payment-card .issue-card-art {
    height: 56px;
    width: 104px;
  }

  .issue-order-card strong,
  .issue-payment-card strong {
    font-size: 14px;
    line-height: 17px;
    margin-bottom: 4px;
  }

  .issue-summary {
    gap: 6px;
    padding-top: 8px;
  }

  .issue-summary strong,
  .issue-total strong,
  .issue-payment-card b {
    font-size: 18px;
    line-height: 22px;
  }

  .issue-promo,
  .promo-row {
    margin-top: 8px;
    min-height: 40px;
    padding: 6px;
  }

  .issue-checks {
    gap: 4px;
    margin-top: 8px;
  }

  .issue-actions {
    gap: 8px;
    margin-top: 10px;
  }

  .issue-primary,
  .issue-secondary,
  .issue-back {
    min-height: 42px;
  }
}

@media (max-width: 980px) {
  .max, .app-max {
    width: calc(100% - 32px);
  }
  .landing-nav {
    grid-template-columns: 1fr auto;
  }
  .landing-links {
    display: none;
  }
  .landing-actions {
    gap: 12px;
  }
  .footer-grid, .footer-company-details, .footer-bottom {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    display: grid;
    gap: 10px;
  }
  .hero-grid,
  .about-hero-grid,
  .about-mission-grid,
  .about-values-grid,
  .about-team-panel,
  .not-found-grid,
  .app-layout,
  .profile-grid,
  .card-grid,
  .how-grid,
  .feature-grid,
  .case-grid,
  .price-grid,
  .issue-flow,
  .quick-card,
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .hero-copy h1, .about-hero-copy h1 {
    font-size: 46px;
  }
  .about-hero {
    padding: 48px 0 72px;
  }
  .about-hero-image {
    height: 360px;
    order: -1;
  }
  .about-team-panel {
    padding: 42px;
  }
  .hero-visual {
    min-height: 0;
    order: -1;
  }
  .hero-visual img {
    max-width: 460px;
  }
  .hero-stats {
    border-radius: 28px;
    grid-template-columns: 1fr;
    padding: 26px;
  }
  .hero-stats div {
    border-left: 0;
    border-top: 1px solid var(--landing-line);
    padding: 18px 0 0;
  }
  .hero-stats div:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .service-list {
    flex-wrap: wrap;
  }
  .quick-card {
    padding: 42px;
  }
  .quick-card img {
    max-width: 360px;
  }
  .cta-card {
    justify-self: start;
  }
  .app-header .app-max {
    grid-template-columns: 1fr auto 44px;
  }
  .app-header .app-max > span {
    display: none;
  }
  .sidebar {
    border-radius: 0;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 0;
    overflow-x: auto;
    padding: 8px 0;
  }
  .sidebar p, .sidebar a span {
    display: none;
  }
  .sidebar a {
    display: flex;
    justify-content: center;
    min-width: 110px;
    text-align: center;
  }
  .content {
    padding-top: 20px;
  }
  .filter-bar {
    align-items: stretch;
    flex-wrap: wrap;
  }
  .stepper {
    grid-template-columns: 1fr;
  }
  .issue-flow {
    gap: 18px;
  }
  .issue-column {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .landing-hero {
    padding: 32px 0;
  }
  .landing-nav {
    gap: 12px;
  }
  .landing-login {
    display: none;
  }
  .landing-header .primary.small {
    min-height: 36px;
    padding: 0 13px;
  }
  .hero-copy h1,
  .about-hero-copy h1,
  .section-headline h2,
  .quick-card h2,
  .cta-panel h2,
  .about-team-panel h2 {
    font-size: 34px;
    line-height: 1.12;
  }
  .about-hero-copy > p:not(.eyebrow), .about-story-card p, .about-team-panel p:not(.eyebrow) {
    font-size: 16px;
  }
  .about-hero-image {
    border-radius: 18px;
    height: 280px;
  }
  .about-story-card, .about-value-card, .about-team-panel {
    border-radius: 18px;
    padding: 24px;
  }
  .about-team-section {
    padding: 20px 0 64px;
  }
  .page-head, .pagination {
    align-items: stretch;
    flex-direction: column;
  }
  .hero-grid {
    gap: 20px;
  }
  .hero-visual {
    order: 0;
  }
  .hero-visual img {
    max-width: 130px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .landing-primary, .hero-actions .ghost-dark {
    font-size: 14px;
    min-height: 48px;
    padding: 0 18px;
  }
  .hero-stats {
    border-radius: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 74px;
    padding: 12px;
  }
  .hero-stats div, .hero-stats div:first-child {
    border-left: 1px solid var(--landing-line);
    border-top: 0;
    padding: 0 0 0 12px;
  }
  .hero-stats div:first-child {
    border-left: 0;
  }
  .hero-stats strong {
    font-size: 20px;
  }
  .hero-stats span {
    font-size: 11px;
  }
  .hero-list, .section-headline > p:last-child, .quick-card p, .cta-panel p {
    font-size: 16px;
  }
  .landing-section {
    padding: 64px 0;
  }
  .quick-card-section, .landing-cta {
    padding: 40px 0 64px;
  }
  .quick-card, .cta-panel {
    border-radius: 18px;
    padding: 28px;
  }
  .mini-card, .feature, .plan {
    padding: 24px;
  }
  .plan ul {
    grid-template-columns: 1fr;
  }
  .form-grid, .choice-list, .actions.split {
    grid-template-columns: 1fr;
  }
  .virtual-card div {
    margin-left: 0;
  }
  .virtual-card nav {
    grid-template-columns: 1fr;
  }
  .topup-panel, .success-panel {
    border-radius: 12px;
    padding: 20px;
  }
  .issue-panel, .issue-column {
    padding: 18px;
  }
  .issue-option {
    grid-template-columns: 96px minmax(0, 1fr) 24px;
  }
  .issue-card-art {
    height: 58px;
    width: 96px;
  }
  .amount-chips.issue-amounts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .issue-conversion {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .issue-order-card, .issue-payment-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .issue-payment-recap .issue-card-art {
    height: 58px;
    width: 96px;
  }
  .issue-sbp-button {
    grid-template-columns: 1fr 60px;
    padding-left: 16px;
  }
  .issue-sbp-button span {
    font-size: 15px;
  }
  .sbp-steps {
    margin-left: 0;
    margin-right: 0;
  }
  .sbp-banks div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .issue-amount-field::after {
    left: auto;
    right: 18px;
  }
  .details-modal {
    padding: 22px;
  }
  .card-secret-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    gap: 16px;
  }
  .identity {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .avatar-large {
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .max,
  .app-max {
    width: calc(100% - 32px);
  }

  .app-header {
    background: #ffffff;
    border-bottom: 1px solid var(--landing-line);
    overflow: hidden;
  }

  .app-header .app-max {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    height: 72px;
    width: calc(100% - 32px);
  }

  .app-brand {
    font-size: 18px;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
  }

  .app-brand span {
    flex: 0 0 30px;
  }

  .app-header .primary.small {
    font-size: 0;
    min-height: 40px;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 44px;
  }

  .app-header .primary.small::before {
    content: "+";
    font-size: 24px;
    line-height: 1;
  }

  .avatar {
    font-size: 18px;
    height: 44px;
    width: 44px;
  }

  .app-bg {
    min-height: calc(100vh - 72px);
    padding-bottom: 40px;
  }

  .app-layout,
  .app-layout.flow-layout {
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
    max-width: none;
    width: calc(100% - 32px);
  }

  .sidebar {
    align-items: stretch;
    background: #ffffff;
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    margin: 0;
    min-height: 0;
    overflow-x: auto;
    padding: 10px 0 4px;
    scrollbar-width: none;
    width: 100%;
  }

  .sidebar::-webkit-scrollbar {
    display: none;
  }

  .sidebar p,
  .sidebar a span {
    display: none;
  }

  .sidebar a,
  .sidebar a.active {
    align-items: center;
    border-radius: 10px;
    display: flex;
    font-size: 13px;
    justify-content: center;
    line-height: 16px;
    margin: 0;
    min-height: 42px;
    min-width: 78px;
    padding: 7px 10px;
    text-align: center;
    white-space: normal;
    width: auto;
  }

  .sidebar a.active {
    background: rgba(74, 58, 255, 0.06);
  }

  .content,
  .content.flow-content {
    min-width: 0;
    padding-top: 0;
  }

  .page-head {
    gap: 14px;
    margin-bottom: 28px;
  }

  .page-head h1 {
    font-size: 42px;
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .page-head p {
    font-size: 18px;
    line-height: 1.35;
  }

  .card-grid {
    gap: 72px;
    grid-template-columns: 1fr;
  }

  .virtual-card {
    border-radius: 18px;
    margin-bottom: 0;
    min-height: 260px;
    padding: 44px 18px 96px;
  }

  .virtual-card strong {
    font-size: 40px;
    line-height: 1.08;
  }

  .virtual-card nav {
    bottom: 18px;
    gap: 12px;
    grid-template-columns: 1fr;
    left: 18px;
    right: 18px;
  }

  .virtual-card a,
  .virtual-card button {
    min-height: 48px;
    width: 100%;
  }

  .table-wrap {
    overflow-x: auto;
  }

  table {
    min-width: 0;
    width: 100%;
  }

  th,
  td {
    padding: 12px 10px;
  }

  .table-wrap:not(.history) table {
    min-width: 420px;
  }

  .issue-flow,
  .topup-flow,
  .issue-payment-flow {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
    max-width: none;
    width: 100%;
  }

  .flow-content .stepper,
  .stepper {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 18px;
    width: 100%;
  }

  .step {
    align-items: center;
    display: grid;
    font-size: 13px;
    gap: 6px;
    justify-items: center;
    line-height: 16px;
    text-align: center;
  }

  .step span {
    height: 28px;
    width: 28px;
  }

  .issue-column,
  .topup-panel,
  .success-panel {
    border-radius: 18px;
    min-width: 0;
    padding: 18px;
    width: 100%;
  }

  .issue-option,
  .issue-order-card,
  .issue-payment-card {
    gap: 14px;
    grid-template-columns: 112px minmax(0, 1fr) 28px;
    padding: 16px;
  }

  .issue-option i {
    grid-column: auto;
    justify-self: center;
  }

  .issue-card-art,
  .issue-order-card .issue-card-art,
  .issue-payment-card .issue-card-art {
    height: 64px;
    width: 112px;
  }

  .issue-card-art::before {
    align-items: center;
    display: flex;
    font-size: 12px;
    height: 100%;
    justify-content: center;
    line-height: 14px;
    padding: 8px;
  }

  .issue-actions,
  .actions.split {
    grid-template-columns: 1fr;
  }

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

  .identity-top {
    align-items: center;
    text-align: left;
  }

  .profile-badges {
    gap: 8px;
  }

  .security-password-form,
  .security-2fa-row {
    grid-template-columns: 1fr;
  }

  .account-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .danger-zone button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .landing-nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .landing-brand {
    min-width: 0;
  }

  .landing-actions {
    display: flex;
    min-width: 0;
  }

  .landing-header .primary.small,
  .landing-primary.small {
    font-size: 0;
    min-height: 40px;
    padding: 0;
    position: relative;
    width: 44px;
  }

  .landing-header .primary.small::before,
  .landing-primary.small::before {
    content: "+";
    font-size: 24px;
  }

  .service-list {
    align-items: stretch;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
  }

  .service-logo {
    align-items: center;
    display: grid;
    font-size: 12px;
    gap: 8px;
    justify-items: center;
    line-height: 14px;
    text-align: center;
    width: 100%;
  }

  .service-logo span,
  .service-logo img {
    height: 46px;
    width: 46px;
  }

  .quick-card,
  .cta-panel {
    padding: 22px;
  }

  .quick-card-art {
    transform: scale(0.78);
    transform-origin: center;
  }

  .page-head h1 {
    font-size: 38px;
  }

  .section-head {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .section-head .soft-btn {
    width: 100%;
  }

  .virtual-card {
    min-height: 342px;
    padding-bottom: 164px;
  }

  .virtual-card nav {
    bottom: 18px;
  }

  .history th,
  .history td {
    font-size: 12px;
    line-height: 16px;
    padding: 10px 6px;
  }
}
