@font-face{font-family:Oswald;src:url("fonts/Oswald.ttf") format("truetype");font-display:swap;font-weight:400 700}
:root {
  --paper: #f3f4ec;
  --paper-soft: #f7f8f1;
  --ink: #121716;
  --ink-soft: #4f5e4c;
  --muted: #6b7a67;
  --line: #d7dfd2;
  --lime: #d9fa74;
  --green: #5d792d;
  --oswald: "Oswald", Impact, "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.reg-page {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Segoe UI", Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
ol {
  margin: 0;
}

.reg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.reg-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Topline ---------- */

.reg-topline {
  background: #101b16;
  border-bottom: 1px solid #2c3b30;
  color: #a9b8a8;
  font-size: 10px;
}

.reg-topline-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
}

.reg-test {
  color: var(--lime);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.reg-test-note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reg-topline-links {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.reg-topline-links > a {
  color: #dcebd5;
  font-weight: 700;
}

.reg-topline-links > a:hover {
  color: var(--lime);
}

.reg-lang {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #7f9083;
}

.reg-lang b {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */

.reg-head {
  background: #101b16;
  border-bottom: 1px solid #29382d;
}

.reg-head-inner {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 200px;
  height: 33px;
  overflow: hidden;
  line-height: 0;
}

.brand-mark,
.brand-word {
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
}

.brand-mark {
  width: 46px;
  height: 33px;
}

.brand-word {
  width: 148px;
  height: 27px;
}

.brand img {
  position: absolute;
  display: block;
  max-width: none;
  mix-blend-mode: screen;
  pointer-events: none;
}

.brand-mark img {
  width: 62px;
  height: 61px;
  left: -7px;
  top: -11px;
}

.brand-word img {
  width: 176px;
  height: 172px;
  left: -14px;
  top: -132px;
}

.reg-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.reg-nav a {
  color: #f6faf2;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.reg-nav a:hover {
  color: var(--lime);
}

.reg-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #768b76;
  border-radius: 5px;
  color: #f6faf2;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.reg-login:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* ---------- Split shell ---------- */

.reg-shell {
  display: grid;
  grid-template-columns: minmax(360px, min(40vw, 560px)) minmax(0, 1fr);
  align-items: stretch;
  background: var(--paper);
}

/* ---------- Story panel ---------- */

.reg-story {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 250, 116, 0.15), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(217, 250, 116, 0.1), transparent 38%),
    #121716;
  color: #f7f8f1;
}

.reg-story::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -110px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(217, 250, 116, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.reg-story-inner {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  min-height: calc(100vh - 94px);
  padding: 40px 42px 34px;
}

.reg-story-main {
  margin-top: 0;
}

.reg-story-bottom {
  padding-top: 0;
}

.reg-story-top,
.reg-story-main,
.reg-story-bottom {
  position: relative;
  z-index: 1;
}

.reg-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #35473a;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.reg-switch__btn {
  padding: 7px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #b9c7b4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}

.reg-switch__btn:hover {
  color: #f2f7ec;
}

.reg-switch__btn.is-active {
  background: var(--lime);
  color: #1b281a;
}

.reg-eyebrow {
  display: block;
  margin-top: 16px;
  color: #93a48f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.reg-eyebrow span {
  color: var(--lime);
}

.reg-eyebrow--card {
  margin-top: 0;
  color: var(--green);
  letter-spacing: 1.3px;
}

.reg-story-main h1 {
  margin-top: 0;
  font-family: var(--oswald);
  font-size: clamp(36px, 3.8vw, 56px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.reg-story-main h1 em {
  color: var(--lime);
  font-style: normal;
}

.reg-story-main > p {
  max-width: 400px;
  margin-top: 18px;
  color: #c2cec0;
  font-size: 12.5px;
  line-height: 1.65;
}

.reg-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid #2a3a2d;
  list-style: none;
}

.reg-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #2a3a2d;
}

.reg-steps b {
  flex: 0 0 auto;
  width: 20px;
  color: var(--lime);
  font-family: var(--oswald);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.reg-steps span {
  color: #dfe8d9;
  font-size: 11.5px;
  line-height: 1.4;
}

.reg-story-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 390px;
  margin-top: 16px;
  color: #849482;
  font-size: 9.5px;
  line-height: 1.55;
}

.reg-story-note svg {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Form column ---------- */

.reg-form-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 32px 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217, 250, 116, 0.2), transparent 44%),
    #f4f5ec;
}

.reg-card {
  width: 100%;
  max-width: 640px;
  padding: 32px 34px 28px;
  border: 1px solid #dde5d5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(23, 33, 26, 0.08);
}

.reg-card h2 {
  margin-top: 8px;
  font-family: var(--oswald);
  font-size: clamp(28px, 2.6vw, 34px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.reg-card-lead {
  max-width: 500px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.reg-alert {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 5px;
  margin-top: 16px;
  padding: 10px 12px;
  border-left: 3px solid var(--lime);
  border-radius: 3px;
  background: #f2f9e2;
  color: #43523e;
  font-size: 10.5px;
  line-height: 1.5;
}

.reg-alert b {
  font-weight: 800;
}

.reg-alert span {
  color: #6b7a67;
}

/* ---------- Blocks ---------- */

.reg-block {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #e8eee2;
}

.reg-block-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.reg-block-head::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime);
}

.reg-block-head span {
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

/* ---------- Fields ---------- */

.field {
  margin-top: 12px;
}

.field label {
  display: block;
  color: #4b5a45;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.field label i {
  color: #8fae4f;
  font-style: normal;
}

.field input,
.field select {
  display: block;
  width: 100%;
  height: 45px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid #cfd9c6;
  border-radius: 6px;
  background: #fdfdfa;
  color: var(--ink);
  font-size: 13px;
}

.reg-password-control { display: block; position: relative; }
.reg-password-control input { padding-right: 48px; }
.reg-password-toggle { position: absolute; top: 50%; right: 7px; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #637b54; cursor: pointer; }
.reg-password-toggle:hover { background: #eff5e6; color: #243c25; }
.reg-password-toggle:focus-visible { outline: 2px solid #7d9a3c; outline-offset: 1px; }
.reg-password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reg-eye-slash { display: none; }
.reg-password-toggle[aria-pressed="true"] .reg-eye-slash { display: block; }

.field select {
  appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%236b7a67' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field input::placeholder {
  color: #a6b09f;
}

.field input:focus,
.field select:focus {
  outline: 3px solid rgba(217, 250, 116, 0.7);
  border-color: #7d9a3c;
}

.field small {
  display: block;
  margin-top: 5px;
  color: #97a190;
  font-size: 9.5px;
  line-height: 1.45;
}

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

.reg-hint {
  margin-top: 10px;
  color: #8a9784;
  font-size: 9.5px;
  line-height: 1.55;
}

.reg-hint b {
  color: #5f6d58;
  font-weight: 700;
}

.reg-hint a,
.reg-role-note a {
  color: var(--green);
  font-weight: 700;
  border-bottom: 1px solid #c9d5bd;
}

.reg-role-note {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 5px;
  margin-top: 14px;
  padding: 10px 12px;
  border-left: 3px solid var(--lime);
  border-radius: 3px;
  background: #f2f9e2;
  color: #43523e;
  font-size: 10.5px;
  line-height: 1.5;
}

html[data-theme="dark"] .reg-page :is(.reg-alert,.reg-role-note){background:#16241a;color:#c7d5c8;border-left-color:var(--lime)}
html[data-theme="dark"] .reg-page :is(.reg-alert,.reg-role-note) :is(b,strong){color:#e8efe4}
html[data-theme="dark"] .reg-page .reg-alert span{color:#a6b5a8}

/* ---------- Checks ---------- */

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #eef2e8;
  color: #4b5a45;
  font-size: 10.5px;
  line-height: 1.5;
  cursor: pointer;
}

.check:last-of-type {
  border-bottom: 0;
  padding-bottom: 2px;
}

.check input {
  position: relative;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  appearance: none;
  border: 1px solid #c6d2bb;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
}

.check input:checked {
  border-color: #b6d356;
  background: var(--lime);
}

.check input:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #1b281a;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}

.check a {
  color: var(--green);
  font-weight: 700;
  border-bottom: 1px solid #c9d5bd;
}

.reg-hint--legal {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eef2e8;
}

/* ---------- Submit ---------- */

.reg-required {
  margin-top: 18px;
  color: #97a190;
  font-size: 9.5px;
}

.reg-required i {
  color: #8fae4f;
  font-style: normal;
}

.reg-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 16px 0 18px;
  border: 1px solid var(--lime);
  border-radius: 6px;
  background: var(--lime);
  color: #1b281a;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.reg-submit:hover {
  background: #c9f05a;
}

.reg-submit svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reg-signin {
  margin-top: 12px;
  color: #8a9784;
  font-size: 10.5px;
  text-align: center;
}

.reg-signin a {
  color: #3f512c;
  font-weight: 800;
  border-bottom: 1px solid #c9d5bd;
}

/* ---------- Footer ---------- */

.reg-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 640px;
  color: #8a9784;
  font-size: 9.5px;
}

.reg-foot nav {
  display: flex;
  gap: 14px;
}

.reg-foot a:hover {
  color: var(--ink);
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .reg-story-inner {
    padding: 32px 30px 28px;
  }

  .reg-story-main h1 {
    font-size: 42px;
  }

  .reg-form-col {
    padding: 28px 24px 22px;
  }
}

@media (max-width: 980px) {
  .reg-shell {
    grid-template-columns: 1fr;
  }

  .reg-story-inner {
    position: static;
    min-height: 0;
    gap: 20px;
    padding: 26px 24px 24px;
  }

  .reg-story-main {
    margin-top: 0;
  }

  .reg-story-bottom {
    margin-top: 0;
    padding-top: 0;
  }

  .reg-story::after {
    width: 220px;
    height: 220px;
    top: -90px;
    right: -70px;
  }

  .reg-story-main h1 {
    font-size: 36px;
  }

  .reg-story-main > p {
    margin-top: 12px;
    max-width: 560px;
    font-size: 11.5px;
  }

  .reg-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 12px;
    border-top: 0;
  }

  .reg-steps li {
    display: block;
    padding: 0;
    border-bottom: 0;
  }

  .reg-steps b {
    display: block;
    width: auto;
    margin-bottom: 4px;
    font-size: 10px;
  }

  .reg-steps span {
    display: block;
    font-size: 10px;
    color: #c9d6c4;
  }

  .reg-story-note {
    display: none;
  }

  .reg-form-col {
    padding: 22px 18px 20px;
  }
}

@media (max-width: 720px) {
  .reg-wrap {
    padding: 0 16px;
  }

  .reg-test-note {
    display: none;
  }

  .reg-head-inner {
    grid-template-columns: 1fr auto;
    min-height: 58px;
  }

  .reg-nav {
    display: none;
  }

  .reg-story-inner {
    padding: 22px 16px 20px;
  }

  .reg-story-main h1 {
    font-size: 30px;
  }

  .reg-story-main > p {
    font-size: 11px;
  }

  .reg-card {
    padding: 24px 20px 22px;
    border-radius: 12px;
  }

  .reg-card h2 {
    font-size: 27px;
  }

  .reg-grid2 {
    grid-template-columns: 1fr;
  }

  .reg-foot {
    justify-content: flex-start;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .reg-switch__btn {
    padding: 7px 11px;
    font-size: 9.5px;
  }

  .reg-story-main h1 {
    font-size: 27px;
  }

  .reg-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .reg-steps li {
    display: flex;
    gap: 10px;
    align-items: baseline;
  }

  .reg-steps b {
    margin-bottom: 0;
  }
}

/* The registration flow uses the same framed split layout as sign-in. */
body.reg-page--auth-shell {
  min-height: 100vh;
  padding: 14px 16px;
  background: #f4f6f0;
}

.reg-page--auth-shell .reg-shell {
  width: min(100%, 1400px);
  min-height: calc(100vh - 28px);
  margin: auto;
  overflow: hidden;
  border: 1px solid #d9e3cf;
  border-radius: 15px;
  box-shadow: 0 18px 45px #233a2114;
}

.reg-page--auth-shell .reg-story-inner {
  position: relative;
  top: auto;
  min-height: calc(100vh - 30px);
  padding: 32px 40px 29px;
}

.reg-page--auth-shell .reg-story-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: auto;
}

.reg-page--auth-shell .auth-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: 203px;
  height: 36px;
  flex: none;
  overflow: hidden;
  line-height: 0;
}
.reg-page--auth-shell .auth-brand__mark,
.reg-page--auth-shell .auth-brand__word { position: relative; display: block; overflow: hidden; flex: none; }
.reg-page--auth-shell .auth-brand__mark { width: 47px; height: 34px; }
.reg-page--auth-shell .auth-brand__word { width: 148px; height: 29px; }
.reg-page--auth-shell .auth-brand img { position: absolute; display: block; max-width: none; mix-blend-mode: screen; pointer-events: none; }
.reg-page--auth-shell .auth-brand__mark img { width: 63px; height: 62px; left: -8px; top: -11px; }
.reg-page--auth-shell .auth-brand__word img { width: 176px; height: 173px; left: -14px; top: -132px; }
.reg-page--auth-shell .reg-switch { margin-top: 76px; }

@media (max-width: 980px) {
  .reg-page--auth-shell .reg-story-inner { min-height: 0; }
  .reg-page--auth-shell .reg-switch { margin-top: 28px; }
}

@media (max-width: 760px) {
  body.reg-page--auth-shell { padding: 8px; }
  .reg-page--auth-shell .reg-shell { min-height: calc(100vh - 16px); }
  .reg-page--auth-shell .reg-story-inner { padding: 25px 25px 23px; }
}

body.reg-page [hidden]{display:none!important}

/* Keep the left-panel headline at the sign-in headline scale. */
.reg-page--auth-shell .reg-story-main h1 {
  font-size: clamp(37px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .01em;
}

@media (max-width: 760px) {
  .reg-page--auth-shell .reg-story-main h1 { font-size: 41px; }
}

@media (max-width: 430px) {
  .reg-page--auth-shell .reg-story-main h1 { font-size: 37px; }
}
.reg-alert.registration-status--error{background:#f9eae7;border-color:#b45e51;color:#8b322a}
.registration-error{min-height:20px;color:#a63d31;font-size:12px;font-weight:700;margin:12px 0}
.registration-success{text-align:center;padding:28px 8px}
.registration-success>span{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#dcfa79;color:#28410b;font-size:26px}
.registration-success h3{font:700 36px Oswald,Impact,sans-serif;text-transform:uppercase;margin:16px 0 5px}
.registration-success p{font-size:14px;color:#637067}
.registration-success a{display:inline-block;background:#dcfa79;color:#142017;padding:13px 18px;border-radius:5px;font-size:13px;font-weight:900;text-decoration:none;margin-top:13px}
.registration-success a:hover{filter:brightness(.96);color:#142017}
.registration-success .reg-submit{width:100%;margin:14px 0}
.registration-success [role=alert]{color:#a63d31}

.reg-hp{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* ---------- Модальное окно «регистрация заказчика скоро» ---------- */
.reg-modal[hidden]{display:none}
.reg-modal{position:fixed;inset:0;z-index:10060;display:flex;align-items:center;justify-content:center;padding:20px}
.reg-modal__backdrop{position:absolute;inset:0;background:rgba(10,18,13,.58);backdrop-filter:blur(4px)}
.reg-modal__card{position:relative;width:min(460px,100%);padding:28px 28px 24px;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);box-shadow:0 26px 80px rgba(9,20,13,.42)}
.reg-modal__close{position:absolute;top:12px;right:12px;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted);font-size:14px;cursor:pointer}
.reg-modal__close:hover{color:var(--ink);border-color:var(--green)}
.reg-modal__eyebrow{display:inline-block;margin-bottom:10px;padding:4px 8px;border-radius:999px;background:var(--lime);color:#17200e;font-size:10px;font-weight:800;letter-spacing:.08em}
.reg-modal__card h2{margin:0 0 10px;font-family:var(--oswald);font-size:26px;line-height:1.15;letter-spacing:-.01em;text-transform:uppercase}
.reg-modal__card p{margin:0 0 18px;color:var(--muted);font-size:13px;line-height:1.55}
.reg-modal__actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.reg-modal__primary{min-height:38px;padding:0 16px;border:0;border-radius:8px;background:var(--lime);color:#17200e;font-size:12px;font-weight:800;cursor:pointer}
.reg-modal__primary:hover{filter:brightness(.96)}
.reg-modal__link{font-size:12px;font-weight:700;color:var(--green);text-decoration:underline;text-underline-offset:3px}
html[data-theme="dark"] .reg-modal__card{background:#111a14;color:#e8efe4;border-color:#2a3b30}
html[data-theme="dark"] .reg-modal__card p{color:#a6b5a8}
html[data-theme="dark"] .reg-modal__close{border-color:#2a3b30;color:#a6b5a8}
html[data-theme="dark"] .reg-modal__link{color:#d5ff6b}

/* Тёмная тема: галочки согласий */
html[data-theme="dark"] .reg-page .check input{background:#0c130f;border-color:#5a7464}
html[data-theme="dark"] .reg-page .check input:hover{border-color:#8fbf3f}
html[data-theme="dark"] .reg-page .check input:checked{background:var(--lime);border-color:var(--lime)}
html[data-theme="dark"] .reg-page .check input:checked::after{border-color:#142017}
html[data-theme="dark"] .reg-page .check input:focus-visible{outline:2px solid var(--lime);outline-offset:2px}

/* Автозаполнение Chrome не должно красить поля в синий */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fdfdfa inset;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  transition: background-color 99999s ease-in-out 0s;
}
html[data-theme="dark"] .reg-page .field input:-webkit-autofill,
html[data-theme="dark"] .reg-page .field input:-webkit-autofill:hover,
html[data-theme="dark"] .reg-page .field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #0c130f inset;
  -webkit-text-fill-color: #e8efe4;
  caret-color: #e8efe4;
}
