html {
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

body {
  overflow-x: hidden;
}

.reg,
.reg * {
  box-sizing: border-box;
}

.reg {
  width: 100%;
  min-height: 100vh;
  padding: calc(var(--header-h) + 56px) 0 72px;
  overflow-x: clip;
  scroll-margin-top: var(--header-h);
  color: #f5f1ea;
  background: linear-gradient(180deg, #0a0e1a 0%, #060912 100%);
}

.reg__inner {
  width: min(760px, calc(100% - 48px));
  min-width: 0;
  margin: 0 auto;
}

.reg__stage,
.reg__state {
  width: 100%;
  min-width: 0;
}

.reg__eyebrow {
  margin-bottom: 18px;
  color: #c9a84c;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

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

.reg__state[hidden] { display: none; }

.reg__heading {
  max-width: 680px;
  margin: 0 auto 18px;
  color: #f5f1ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.65rem;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.reg__heading:focus { outline: none; }

.reg__lead,
.reg__note {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(240, 236, 227, .76);
  font-size: 1rem;
  line-height: 1.65;
  text-align: center;
}

.reg__note {
  margin-top: 14px;
  color: rgba(240, 236, 227, .62);
  font-size: .9rem;
}

.reg-region {
  padding: 0;
  margin: 42px 0 0;
  border: 0;
}

.reg-region__legend {
  width: 100%;
  margin-bottom: 14px;
  color: rgba(240, 236, 227, .7);
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
}

.reg-region__group + .reg-region__group {
  margin-top: 22px;
}

.reg-region__group-title {
  margin: 0 0 9px;
  color: rgba(240, 236, 227, .54);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
}

.reg-region__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.reg-region__grid--single {
  width: min(360px, 100%);
  grid-template-columns: minmax(0, 1fr);
}

.reg-region__btn {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
  color: rgba(245, 241, 234, .8);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.reg-region__btn--other {
  border-color: rgba(201, 168, 76, .32);
  color: #f2d878;
}

.reg-region__btn:hover,
.reg-region__btn:focus-visible {
  border-color: rgba(201, 168, 76, .55);
  color: #fff;
}

.reg-region__btn:active { transform: scale(.98); }

.reg-region__flag {
  flex: 0 0 auto;
  font-size: 1.15rem;
  line-height: 1;
}

.reg__actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.reg__actions--stack {
  width: min(520px, 100%);
  margin-right: auto;
  margin-left: auto;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.reg__actions--stack .reg__btn { width: 100%; }

.reg__btn {
  display: inline-flex;
  min-width: 220px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.reg__btn--gold {
  background: linear-gradient(135deg, #d9bb68 0%, #f0d78c 48%, #b8953c 100%);
  color: #0b0d12;
  box-shadow: 0 10px 28px rgba(201, 168, 76, .2);
}

.reg__btn--outline {
  border-color: rgba(201, 168, 76, .45);
  background: transparent;
  color: #e6ca78;
}

.reg__btn:not(:disabled):hover { transform: translateY(-1px); }
.reg__btn:focus-visible { outline: 2px solid #f0d78c; outline-offset: 3px; }
.reg__btn:disabled { cursor: not-allowed; opacity: .38; box-shadow: none; }

.reg__linkbtn {
  padding: 2px 4px;
  color: #d9bb68;
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reg__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 20px;
  padding: 4px 0;
  color: #d9bb68;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3;
}

.reg__back:hover { color: #f0d78c; }
.reg__back:focus-visible { outline: 2px solid #f0d78c; outline-offset: 4px; }

.reg-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.reg-row {
  display: grid;
  min-width: 0;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.reg-form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.reg-field { min-width: 0; }
.reg-field--wide { grid-column: 1 / -1; }

.reg-field__label {
  display: block;
  margin-bottom: 8px;
  color: rgba(245, 241, 234, .78);
  font-size: .82rem;
  font-weight: 600;
}

.reg-field__label--name {
  display: flex;
  align-items: flex-end;
  min-height: 3.3em;
}

.reg-row--patronymic-date > .reg-birth-date > .reg-field__label {
  display: flex;
  align-items: flex-end;
  min-height: 3.3em;
}

.reg-field__input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 10px;
  outline: none;
  background: rgba(255, 255, 255, .045);
  color: #f5f1ea;
  line-height: 1.35;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.reg-field__input::placeholder { color: rgba(240, 236, 227, .36); }
.reg-field__input:focus {
  border-color: rgba(201, 168, 76, .75);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .1);
}

.reg-field__input[aria-invalid="true"] {
  border-color: #d86e5d;
  box-shadow: 0 0 0 3px rgba(216, 110, 93, .1);
}

.reg-name-error {
  min-height: 4.1em;
  margin: 6px 0 0;
  color: transparent;
  font-size: .75rem;
  line-height: 1.35;
}

.reg-name-error.is-visible {
  color: #ef9b8d;
}

.reg-field__select {
  appearance: auto;
  color-scheme: light;
}

.reg-field__select option {
  background: #ffffff;
  color: #171a22;
}

.reg-name-hint {
  margin: 0;
  padding: 10px 12px;
  border-left: 2px solid rgba(201, 168, 76, .55);
  background: rgba(201, 168, 76, .045);
}

.reg-phone-control {
  position: relative;
}

.reg-phone-control__mask {
  position: absolute;
  z-index: 2;
  top: 50%;
  color: rgba(240, 236, 227, .32);
  line-height: 1.35;
  pointer-events: none;
  transform: translateY(-50%);
  white-space: pre;
}

.reg-phone-control__mask[hidden] {
  display: none;
}

.reg-field__textarea { min-height: 96px; resize: vertical; }

.reg-field__help {
  margin-top: 8px;
  color: rgba(240, 236, 227, .52);
  font-size: .78rem;
  line-height: 1.5;
}

.reg-birth-date {
  min-width: 0;
  padding: 0;
  border: 0;
}

.reg-birth-date__help {
  margin: 8px 0 0;
}

.reg-birth-date__control {
  display: grid;
  width: 100%;
  min-width: 0;
  height: 52px;
  grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 14px minmax(0, 1.35fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.reg-birth-date__control:focus-within {
  border-color: rgba(201, 168, 76, .75);
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .1);
}

.reg-birth-date__segment {
  display: grid;
  min-width: 0;
  align-content: center;
  padding: 6px;
  cursor: text;
  text-align: center;
}

.reg-birth-date__input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f5f1ea;
  font: 600 1rem/1.4 Manrope, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-align: center;
}

.reg-birth-date__input::placeholder {
  color: rgba(240, 236, 227, .36);
  opacity: 1;
}

.reg-birth-date__separator {
  align-self: center;
  color: rgba(240, 236, 227, .45);
  font-size: 1.1rem;
  line-height: 1;
  text-align: center;
}

.reg-birth-date.has-error .reg-birth-date__control {
  border-color: #d86e5d;
  box-shadow: 0 0 0 3px rgba(216, 110, 93, .1);
}

.reg-birth-date__input[aria-invalid="true"] {
  color: #ffb3a8;
}

.reg-birth-date__error {
  margin-top: 8px;
  color: #ff9f91;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.45;
}

.reg-birth-date__error[hidden] {
  display: none;
}

.reg-sex {
  padding: 0;
  border: 0;
}

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

.reg-sex__option { cursor: pointer; }

.reg-sex__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.reg-sex__label {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 10px;
  background: rgba(255, 255, 255, .045);
  color: rgba(245, 241, 234, .75);
  font-size: .88rem;
  font-weight: 600;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.reg-sex__symbol {
  display: inline-flex;
  width: 1.15em;
  height: 1.15em;
  align-items: center;
  justify-content: center;
  color: #d8b85c;
  font-size: 1.15rem;
  line-height: 1;
  transform: translateY(-1px);
}

.reg-sex__label > span:last-child {
  line-height: 1;
}

.reg-sex__option input:focus-visible + .reg-sex__label {
  outline: 2px solid #f0d78c;
  outline-offset: 3px;
}

.reg-sex__option input:checked + .reg-sex__label {
  border-color: #c9a84c;
  background: rgba(201, 168, 76, .14);
  color: #f0d78c;
  box-shadow: inset 0 0 0 1px rgba(201, 168, 76, .12);
}

.reg-consent,
.reg-form__legal,
.reg-form .reg__actions {
  grid-column: 1 / -1;
}

.reg-consent {
  display: grid;
  gap: 16px;
  margin-top: 12px;
  padding-top: 26px;
  border-top: 1px solid rgba(201, 168, 76, .24);
}

.reg-consent__step {
  color: #c9a84c;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reg-consent__title {
  margin-top: -8px;
  color: #f5f1ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.25;
}

.reg-consent__row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  cursor: pointer;
}

.reg-consent__box {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #c9a84c;
}

.reg-consent__note {
  margin: -4px 0 0;
  color: rgba(240, 236, 227, .58);
  font-size: .78rem;
  line-height: 1.5;
}

.reg-consent__master {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid rgba(216, 184, 92, .62);
  border-radius: 10px;
  background: rgba(201, 168, 76, .09);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.reg-consent__master:hover,
.reg-consent__master:focus-within {
  border-color: #e2c56d;
  background: rgba(201, 168, 76, .14);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, .08);
}

.reg-consent__master-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.reg-consent__master-box {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid #d8b85c;
  border-radius: 6px;
  background: rgba(0, 0, 0, .16);
}

.reg-consent__master-input:focus-visible + .reg-consent__master-box {
  outline: 3px solid rgba(240, 215, 140, .25);
  outline-offset: 3px;
}

.reg-consent__master-input:checked + .reg-consent__master-box,
.reg-consent__master-input:indeterminate + .reg-consent__master-box {
  background: #d8b85c;
  box-shadow: inset 0 0 0 3px #10131e;
}

.reg-consent__master-input:checked + .reg-consent__master-box::after {
  content: "✓";
  color: #10131e;
  font-size: .86rem;
  font-weight: 900;
}

.reg-consent__master-input:indeterminate + .reg-consent__master-box::after {
  content: "";
  width: 10px;
  height: 2px;
  background: #10131e;
}

.reg-consent__master-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.reg-consent__master-copy strong {
  color: #f0d78c;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
}

.reg-consent__master-copy small {
  color: rgba(240, 236, 227, .56);
  font-size: .72rem;
  line-height: 1.35;
}

.reg-consent__master-count {
  color: #d8b85c;
  font-size: .67rem;
  font-weight: 800;
  white-space: nowrap;
}

.reg-consent__items {
  display: grid;
  gap: 14px;
  padding: 2px 4px 0;
}

.reg-consent__text,
.reg-form__legal {
  color: rgba(240, 236, 227, .64);
  font-size: .82rem;
  line-height: 1.55;
}

.reg-consent__text {
  min-width: 0;
  margin: 0;
}

.reg-form__legal { margin: 0; }

.reg-consent__doc-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: linear-gradient(90deg, #b8953c 0%, #f0d78c 52%, #c9a84c 100%);
  color: #e6ca78;
  background-clip: text;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  text-align: left;
  text-decoration-line: underline;
  text-decoration-color: rgba(240, 215, 140, .62);
  text-decoration-skip-ink: auto;
  text-decoration-thickness: 1px;
  text-underline-offset: .16em;
  vertical-align: baseline;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reg-consent__doc-link:hover { text-decoration-color: #f0d78c; }
.reg-consent__doc-link:focus-visible { outline: 2px solid #f0d78c; outline-offset: 3px; }

body.reg-doc-open { overflow: hidden; }

.reg-doc-modal[hidden] { display: none; }

.reg-doc-modal {
  position: fixed;
  z-index: 20050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.reg-doc-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, .82);
  cursor: default;
}

.reg-doc-modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100dvh - 36px);
  padding: 44px 40px 40px;
  overflow: auto;
  border: 1px solid rgba(201, 168, 76, .42);
  border-radius: 14px;
  outline: none;
  background: #0e121c;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .62);
  color: #f5f1ea;
}

.reg-doc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  color: #f0d78c;
  cursor: pointer;
  font-size: 1.65rem;
  line-height: 1;
}

.reg-doc-modal__close:focus-visible { outline: 2px solid #f0d78c; outline-offset: 3px; }

.reg-doc__eyebrow {
  color: #c9a84c;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.reg-doc__title {
  margin-top: 8px;
  color: #f5f1ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.15;
}

.reg-doc__version,
.reg-doc__warning,
.reg-doc__section p {
  color: rgba(240, 236, 227, .68);
  font-size: .88rem;
  line-height: 1.65;
}

.reg-doc__version { margin-top: 14px; }

.reg-doc__warning {
  margin-top: 18px;
  padding: 13px 15px;
  border-left: 3px solid #c9a84c;
  background: rgba(201, 168, 76, .09);
  color: #ead89f;
}

.reg-doc__section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.reg-doc__section h3 {
  margin-bottom: 8px;
  color: #f0d78c;
  font-size: 1rem;
  font-weight: 700;
}

.reg-doc__link {
  color: #f0d78c;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(240, 215, 140, .55);
  text-underline-offset: 3px;
}

.reg-doc__link:hover { text-decoration-color: #f0d78c; }
.reg-doc__link:focus-visible { outline: 2px solid #f0d78c; outline-offset: 3px; }

.reg-spinner {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.reg-spinner span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9a84c;
  animation: reg-pulse 1.1s ease-in-out infinite;
}

.reg-spinner span:nth-child(2) { animation-delay: .16s; }
.reg-spinner span:nth-child(3) { animation-delay: .32s; }

@keyframes reg-pulse {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-5px); }
}

.reg-journey {
  width: min(620px, 100%);
  margin: 34px auto 0;
  padding: 0 8px;
}

.reg-journey__rail {
  position: relative;
  z-index: 0;
  height: 4px;
  margin: 0 calc(12.5% - 9px);
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, .1);
}

.reg-journey__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #a67f27, #e4c66d);
  transform: scaleX(.08);
  transform-origin: left center;
  transition: transform .6s ease;
}

.reg-journey__steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: -12px 0 0;
  padding: 0;
  list-style: none;
}

.reg-journey__step {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  color: rgba(240, 236, 227, .48);
  font-size: .78rem;
  line-height: 1.2;
  text-align: center;
  transition: color .25s ease;
}

.reg-journey__dot {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: #171817;
  color: rgba(240, 236, 227, .58);
  font-size: .68rem;
  font-weight: 700;
  transition: border-color .25s ease, background .25s ease, color .25s ease;
}

.reg-journey__step.is-complete,
.reg-journey__step.is-active {
  color: #f0d78c;
}

.reg-journey__step.is-complete .reg-journey__dot {
  border-color: #b9953f;
  background: #b9953f;
  color: #111;
}

.reg-journey__step.is-active .reg-journey__dot {
  border-color: #e4c66d;
  color: #f0d78c;
  box-shadow: 0 0 0 4px rgba(228, 198, 109, .12);
}

.reg-status {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(620px, 100%);
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.reg-status__copy {
  min-width: 0;
  text-align: left;
}

.reg-status__eyebrow {
  display: block;
  color: #f0d78c;
  font-size: .82rem;
  font-weight: 700;
}

.reg-status__copy p {
  margin: 7px 0 0;
  color: rgba(240, 236, 227, .7);
  font-size: .92rem;
  line-height: 1.5;
}

.reg-timer {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.reg-timer__caption {
  color: rgba(240, 236, 227, .55);
  font-size: .78rem;
  text-transform: uppercase;
}

.reg-timer__value {
  color: #f0d78c;
  font-variant-numeric: tabular-nums;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0;
}

.reg-code {
  width: min(520px, 100%);
  margin: 34px auto 0;
}

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

.reg-code__input {
  min-width: 0;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.reg-code__submit {
  width: 100%;
  min-width: 0;
  border-radius: 10px;
}

.reg-code__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  margin-top: 12px;
  color: rgba(240, 236, 227, .62);
  font-size: .84rem;
}

.reg-code__meta strong {
  color: #f0d78c;
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}

.reg-code__resend {
  width: 100%;
  margin-top: 16px;
}

.reg-cred {
  width: min(520px, 100%);
  margin: 34px auto 0;
  border-top: 1px solid rgba(201, 168, 76, .28);
}

.reg-cred__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.reg-cred__key { color: rgba(240, 236, 227, .55); font-size: .82rem; }
.reg-cred__val { min-width: 0; color: #f5f1ea; font-weight: 700; overflow-wrap: anywhere; }
.reg-cred__demo { max-width: 520px; margin: 14px auto 0; color: rgba(240, 236, 227, .48); font-size: .78rem; }

.reg-cred__copy {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #f5f1ea;
  cursor: pointer;
  font: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: left;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.reg-cred__copy:hover,
.reg-cred__copy:focus-visible {
  border-color: rgba(201, 168, 76, .36);
  outline: none;
  background: rgba(201, 168, 76, .08);
  color: #f0d78c;
}

.reg-copy-icon {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: currentColor;
}

.reg-copy-icon::before,
.reg-copy-icon::after {
  position: absolute;
  width: 11px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  content: "";
}

.reg-copy-icon::before {
  top: 1px;
  left: 1px;
  opacity: .55;
}

.reg-copy-icon::after {
  right: 1px;
  bottom: 1px;
  background: #0e121c;
}

.reg-cred__copy-all {
  gap: 10px;
}

.reg-cred__copy-all .reg-copy-icon::after { background: #e4c872; }

.reg-cred__copy-all.reg__btn--outline .reg-copy-icon::after { background: #0e121c; }

.reg-cred__branch-link {
  gap: 10px;
  text-decoration: none;
}

.reg-branch-icon {
  font-size: 1.08rem;
  line-height: 1;
}

.reg-copy-toast {
  bottom: 94px;
  max-width: calc(100% - 32px);
  color: #f5f1ea;
  font-size: .86rem;
  text-align: center;
}

.reg-preview-controls {
  width: min(760px, calc(100% - 48px));
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px dashed rgba(201, 168, 76, .28);
  color: rgba(240, 236, 227, .62);
  font-size: .78rem;
}

.reg-preview-controls label { display: flex; align-items: center; gap: 10px; }
.reg-preview-controls select {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #141822;
  color: #fff;
}

.reg + .contact-paths {
  min-height: auto;
  padding-top: 72px;
}

.reg + .contact-paths .contact-paths__hero--secondary { margin-bottom: 36px; }
.reg + .contact-paths .contact-paths__hero--secondary .contact-paths__title { font-size: 2.2rem; }

body.has-partner-fab main {
  padding-bottom: 0;
}

body.has-partner-fab .partner-cabinet-fab {
  display: none !important;
}

@media (max-width: 720px) {
  .reg { padding-top: calc(var(--header-h) + 42px); padding-bottom: 58px; }
  .reg__inner { width: min(calc(100% - 32px), 620px); }
  .reg__heading { font-size: 2rem; }
  .reg__lead { font-size: .94rem; }
  .reg-region { margin-top: 30px; }
  .reg-region__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .reg-region__grid--single { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .reg-region__btn { min-height: 50px; padding: 9px 8px; font-size: .8rem; }
  .reg-form { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 28px; }
  .reg-name-error { min-height: 1.35em; margin-top: 4px; }
  .reg-row { gap: 12px; }
  .reg-birth-date__control { grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1.35fr); }
  .reg-birth-date__segment { padding-right: 4px; padding-left: 4px; }
  .reg-field--wide,
  .reg-consent,
  .reg-form__legal,
  .reg-form .reg__actions { grid-column: 1; }
  .reg__btn { width: 100%; min-width: 0; }
  .reg-preview-controls { width: calc(100% - 32px); }
  .reg-preview-controls label { align-items: stretch; flex-direction: column; }
  .reg-cred__row { grid-template-columns: 104px minmax(0, 1fr); }
  .reg-cred__copy { min-height: 46px; }
  .reg-code__entry { grid-template-columns: minmax(0, 1fr); }
  .reg-doc-modal { padding: 10px; }
  .reg-doc-modal__panel { max-height: calc(100dvh - 20px); padding: 42px 22px 28px; border-radius: 10px; }
  .reg-doc__title { padding-right: 32px; font-size: 1.55rem; }
  .reg + .contact-paths { padding-top: 58px; }
  .reg + .contact-paths .contact-paths__cards { grid-template-columns: minmax(0, 1fr); }
  .reg + .contact-paths .contact-paths__hero--secondary .contact-paths__title { font-size: 1.8rem; }
}

@media (max-width: 379px) {
  .reg-row--patronymic-date { grid-template-columns: minmax(0, 1fr); }
  .reg-row--names { gap: 8px; }
  .reg-status { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .reg-timer { justify-items: start; }
  .reg-journey__step { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reg-spinner span { animation: none; opacity: .8; }
  .reg-region__btn,
  .reg__btn,
  .reg-journey__fill,
  .reg-journey__step,
  .reg-journey__dot,
  .reg-cred__copy { transition: none; }
}
