/* Appearance only. Existing field names, values, validation, and submit flow stay in anketa*.js. */
html.forms-root { color-scheme: dark; background: #090b10; }
body.forms-page { --form-bg: #090b10; --form-surface: #11151d; --form-line: #2a303d; --form-text: #f1f3f8; --form-muted: #a2aab9; --form-action: #3869ef; margin: 0; min-height: 100svh; background: var(--form-bg); color: var(--form-text); font: 400 16px/1.6 Manrope, sans-serif; }
.forms-page *, .forms-page *::before, .forms-page *::after { box-sizing: border-box; }
.forms-page .hidden { display: none !important; }
.forms-page .forms-shell { display: flex; align-items: flex-start; justify-content: center; min-height: 100svh; padding: 42px 24px 72px; }
.forms-page .forms-panel { width: 100%; max-width: 700px; border: 1px solid var(--form-line); border-radius: 16px; background: var(--form-surface); box-shadow: none; overflow: hidden; }
.forms-page .forms-glow { display: none; }
.forms-page .forms-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 32px; border-bottom: 1px solid var(--form-line); background: #0e1219; backdrop-filter: none; }
.forms-page .forms-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.forms-page .forms-brand > div:first-child { display: grid; place-items: center; width: 35px; height: 35px; background: #1a2540; background-image: none; border: 1px solid #34476c; border-radius: 8px; box-shadow: none; }
.forms-page .forms-brand > div:first-child svg { width: 17px; height: 17px; color: #b9cbfc; }
.forms-page .forms-brand > div:last-child > div:first-child { color: var(--form-text); font: 700 19px/1.2 Manrope, sans-serif; letter-spacing: -.04em; }
.forms-page .forms-brand > div:last-child > div:last-child { color: #939eb2; font-size: 11px; line-height: 1.5; margin-top: 4px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.forms-page .forms-back { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; height: auto; padding: 8px 12px; border: 1px solid #394253; border-radius: 7px; background: transparent; color: #b7c2d5; font-size: 12px; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.forms-page .forms-back:hover { border-color: #8b9ebf; color: #fff; }
.forms-page .forms-content { padding: 32px 40px 38px; }
.forms-page .forms-bonus { margin: 0 0 34px; padding: 20px; border: 1px solid #304568; border-radius: 10px; background: #152036; background-image: none; box-shadow: none; }
.forms-page .forms-bonus > div { display: flex; gap: 14px; }
.forms-page .forms-bonus > div > div:first-child { width: 32px; height: 32px; margin-top: 3px; background: none; border: 0; border-radius: 0; box-shadow: none; }
.forms-page .forms-bonus svg { width: 26px; height: 26px; color: #a2bcfc; }
.forms-page .forms-bonus .min-w-0 > span { display: block; margin-bottom: 6px; color: #a8bcf1; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.forms-page .forms-bonus p:first-of-type { color: #ecf1fe; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.forms-page .forms-bonus p + p { margin-top: 7px; color: #aab9d4; font-size: 13px; font-weight: 400; line-height: 1.75; }
.forms-page .forms-bonus p span { color: #bdcdf5; font-weight: 500; }
.forms-page .forms-intro { margin-bottom: 37px; }
.forms-page .forms-intro > div:first-child { display: block; margin-bottom: 13px; padding: 0; width: auto; background: none; border: 0; border-radius: 0; box-shadow: none; }
.forms-page .forms-intro > div:first-child > span:first-child { display: none; }
.forms-page .forms-intro > div:first-child > span:last-child { color: #91a8d6; font-size: 12px; line-height: 1.6; font-weight: 500; letter-spacing: 0; text-transform: none; }
.forms-page #anketa-title { margin: 0 0 18px; color: var(--form-text); font: 600 35px/1.2 Manrope, sans-serif; letter-spacing: -.045em; text-wrap: balance; }
.forms-page #anketa-title > span { font-weight: inherit; }
.forms-page .forms-intro > div:last-child { color: var(--form-muted); font-size: 15px; font-weight: 400; line-height: 1.8; }
.forms-page .forms-intro > div:last-child p + p { margin-top: 12px; }
.forms-page .forms-divider { display: flex; align-items: center; gap: 16px; margin: 32px 0 25px; }
.forms-page .forms-divider > span { color: #c0c9da; font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.forms-page .forms-divider > div { height: 1px; background: var(--form-line); background-image: none; }
.forms-page .anketa-field { margin-bottom: 32px; scroll-margin-block: 28px; }
.forms-page .anketa-field > div:first-child { gap: 14px; margin-bottom: 17px; }
.forms-page .anketa-field > div:first-child > div:first-child { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 30px; margin-top: 1px; border: 1px solid #354057; border-radius: 7px; background: #192235; box-shadow: none; color: #a6bce8; font-size: 11px; font-weight: 600; }
.forms-page .anketa-field > div:first-child > label,
.forms-page .anketa-field > div:first-child > div:last-child > :first-child { margin: 0; padding-top: 2px; color: var(--form-text); font-size: 17px; font-weight: 600; line-height: 1.55; letter-spacing: -.015em; }
.forms-page .anketa-field > div:first-child > div:last-child > p:not(:first-child) { margin-top: 5px; color: #99a5b9; font-size: 13px; font-weight: 400; line-height: 1.7; }
.forms-page .anketa-field > div:first-child label > span,
.forms-page #anketa-field-motivationOther > label > span,
.forms-page .anketa-field > div:first-child p > span { color: #a0b9f6; }
.forms-page .anketa-field > .grid { gap: 9px; }
.forms-page .anketa-check { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 54px; padding: 15px 16px; border: 1px solid #303948; border-radius: 8px; background: #151b25; box-shadow: none; cursor: pointer; transition: border-color .15s, background-color .15s; }
.forms-page .anketa-check:hover { border-color: #697991; background: #1a2230; }
.forms-page .anketa-check > input[type="checkbox"] { position: static; flex: 0 0 19px; display: block; appearance: auto; -webkit-appearance: checkbox; width: 19px; height: 19px; margin: 2px 0 0; padding: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal; accent-color: var(--form-action); cursor: pointer; }
.forms-page .anketa-check > .anketa-check-box { display: none; }
.forms-page .anketa-check > span:last-child { color: #c9d2e2; font-size: 14px; font-weight: 400; line-height: 1.65; }
.forms-page .anketa-check:has(input:checked) { border-color: #6085df; background: #1a2845; }
.forms-page .anketa-check:has(input:checked) > span:last-child { color: #edf2ff; }
.forms-page .anketa-check:has(input:focus-visible) { outline: 2px solid #9ebcff; outline-offset: 3px; }
.forms-page .anketa-check > input:focus-visible { outline: none; }
.forms-page .anketa-input { display: block; width: 100%; min-height: 53px; padding: 14px 16px; border: 1px solid #394354; border-radius: 8px; background: #0e131c; color: #f1f3f8; font: 400 16px/1.5 Manrope, sans-serif; box-shadow: none; transition: border-color .15s, background-color .15s; }
.forms-page .anketa-input::placeholder { color: #7e8ba2; opacity: 1; }
.forms-page .anketa-input:hover { border-color: #697891; }
.forms-page .anketa-input:focus { outline: 2px solid #91aff8; outline-offset: 2px; border-color: #789bef; background: #111927; }
.forms-page .anketa-input:-webkit-autofill,
.forms-page .anketa-input:-webkit-autofill:hover,
.forms-page .anketa-input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #111927 inset; -webkit-text-fill-color: #f1f3f8; caret-color: #f1f3f8; }
.forms-page #anketa-field-motivationOther { padding-left: 0; }
.forms-page #anketa-field-motivationOther > label { display: block; margin-bottom: 12px; color: var(--form-text); font-size: 15px; line-height: 1.65; font-weight: 600; }
.forms-page .anketa-field-invalid .anketa-input { border-color: #d08088; }
.forms-page .anketa-field-invalid .anketa-check { border-color: #925861; }
.forms-page .anketa-field-invalid .anketa-check:has(input:checked) { border-color: #6085df; }
.forms-page .anketa-error { margin-top: 10px; padding-left: 0; color: #eea2aa; font-size: 13px; font-weight: 500; line-height: 1.6; }
.forms-page #anketa-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 55px; padding: 16px 22px; border: 1px solid transparent; border-radius: 8px; background: var(--form-action); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; box-shadow: none; transition: background-color .15s; }
.forms-page #anketa-submit:hover { background: #4b7bff; }
.forms-page #anketa-submit:disabled { cursor: wait; opacity: .6; }
.forms-page #anketa-net-error { margin-top: 18px; padding: 14px 16px; border: 1px solid #86535b; border-radius: 8px; background: #2b1b23; color: #f0adb4; font-size: 13px; font-weight: 400; line-height: 1.7; text-align: left; }
.forms-page .forms-content > p:last-child { max-width: 440px; margin: 17px auto 0; color: #8e9bb1; font-size: 12px; font-weight: 400; line-height: 1.75; text-align: center; }
.forms-page .forms-content > p:last-child a { color: #b4c3e0; text-decoration: underline; text-decoration-color: #677997; text-underline-offset: 3px; }
.forms-page .forms-content > p:last-child a:hover { color: #fff; }
.forms-page .forms-success { padding: 65px 40px 72px; text-align: center; }
.forms-page .forms-success > div:first-child { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 26px; border: 1px solid #426759; border-radius: 12px; background: #192b26; box-shadow: none; }
.forms-page .forms-success > div:first-child svg { width: 29px; height: 29px; color: #88d5b6; }
.forms-page .forms-success h3 { margin: 0 0 18px; color: var(--form-text); font: 600 32px/1.25 Manrope, sans-serif; letter-spacing: -.035em; }
.forms-page .forms-success p { max-width: 455px; margin: 0 auto; color: var(--form-muted); font-size: 15px; font-weight: 400; line-height: 1.8; }
.forms-page .forms-success > a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; margin-top: 31px; padding: 15px 22px; border: 1px solid transparent; border-radius: 8px; color: white; background: var(--form-action); font-size: 14px; font-weight: 600; box-shadow: none; transition: background-color .15s; }
.forms-page .forms-success > a:hover { background: #4b7bff; }
.forms-page a:focus-visible, .forms-page button:focus-visible { outline: 2px solid #a0bbff; outline-offset: 4px; }

@media (max-width: 680px) {
  .forms-page .forms-shell { padding: 22px 16px 40px; }
  .forms-page .forms-panel { border-radius: 12px; }
  .forms-page .forms-header { padding: 18px 22px; gap: 18px; }
  .forms-page .forms-content { padding: 26px 24px 32px; }
  .forms-page .forms-bonus { margin-bottom: 29px; padding: 17px; }
  .forms-page .forms-bonus > div { gap: 12px; }
  .forms-page .forms-bonus p:first-of-type { font-size: 16px; }
  .forms-page .forms-bonus p + p { font-size: 12px; }
  .forms-page .forms-intro { margin-bottom: 31px; }
  .forms-page #anketa-title { font-size: 31px; }
  .forms-page .forms-intro > div:last-child { font-size: 14px; }
  .forms-page .anketa-field { margin-bottom: 29px; }
  .forms-page .anketa-field > div:first-child > label,
  .forms-page .anketa-field > div:first-child > div:last-child > :first-child { font-size: 16px; }
  .forms-page .anketa-check { padding: 14px; }
  .forms-page .anketa-check > span:last-child { font-size: 14px; }
  .forms-page .forms-success { padding: 52px 26px 58px; }
  .forms-page .forms-success h3 { font-size: 29px; }
}
@media (max-width: 420px) {
  .forms-page .forms-shell { padding: 0 0 28px; }
  .forms-page .forms-panel { border: 0; border-radius: 0; }
  .forms-page .forms-header { padding: 17px 21px; }
  .forms-page .forms-brand { gap: 9px; }
  .forms-page .forms-brand > div:first-child { width: 31px; height: 32px; }
  .forms-page .forms-brand > div:last-child > div:first-child { font-size: 18px; }
  .forms-page .forms-back { padding: 8px 10px; font-size: 11px; }
  .forms-page .forms-content { padding: 25px 21px 32px; }
  .forms-page .forms-bonus > div { display: block; }
  .forms-page .forms-bonus > div > div:first-child { display: none; }
  .forms-page #anketa-title { font-size: 29px; }
  .forms-page .anketa-field > div:first-child { gap: 11px; }
  .forms-page .anketa-check { gap: 10px; padding: 13px; }
  .forms-page .anketa-check > span:last-child { font-size: 13px; }
  .forms-page .anketa-field > div:first-child > div:last-child > p:not(:first-child) { font-size: 12px; }
  .forms-page .forms-success { padding: 46px 23px 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html.forms-root { scroll-behavior: auto; }
  .forms-page *, .forms-page *::before, .forms-page *::after { animation: none !important; transition: none !important; }
}
