
  *{box-sizing:border-box}
  :root{--void:#14110f;--surf:#1c1916;--surf2:#221e1a;--hair:#2c2620;--hair2:#3a332b;
    --paper:#f3ece4;--smoke:#cdbfb0;--gold:#DCAF64;--gold-d:#c79a4f}
  html,body{margin:0}
  body{background:var(--void);color:var(--paper);
    font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
    line-height:1.55;-webkit-font-smoothing:antialiased;padding:12px}
  .wrap{width:100%;max-width:520px;margin:0 auto}
  h1{font-size:clamp(20px,5.5vw,28px);font-weight:900;line-height:1.14;
    letter-spacing:-.01em;margin:0 0 16px;color:var(--paper)}
  .card{background:linear-gradient(180deg,var(--surf2),var(--surf));
    border:1px solid var(--hair);border-radius:18px;padding:clamp(18px,5vw,26px);
    box-shadow:0 18px 50px -24px rgba(0,0,0,.7)}
  .fld{margin-bottom:16px}
  .fld label{display:block;font-size:13px;font-weight:600;color:var(--smoke);margin-bottom:7px}
  .fld input,.fld textarea{width:100%;font-size:16px;padding:14px 15px;border-radius:12px;
    border:1px solid var(--hair2);background:var(--void);color:var(--paper);
    font-family:inherit;transition:border-color .15s,box-shadow .15s}
  .fld textarea{min-height:84px;resize:vertical}
  .fld input::placeholder,.fld textarea::placeholder{color:#6f6458}
  .fld input:focus,.fld textarea:focus{outline:none;border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(220,175,100,.16)}
  .pdc{display:flex;align-items:flex-start;gap:10px;font-size:12.5px;color:var(--smoke);
    line-height:1.45;margin:4px 0 16px;cursor:pointer;user-select:none}
  .pdc input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--gold);cursor:pointer}
  .pdc-link{color:var(--gold);text-decoration:underline;text-underline-offset:2px}
  button#nf-submit{width:100%;font-size:16px;font-weight:800;padding:16px;border:none;
    border-radius:13px;background:linear-gradient(180deg,var(--gold),var(--gold-d));
    color:#1a1308;cursor:pointer;letter-spacing:.01em;
    box-shadow:0 10px 26px -12px rgba(220,175,100,.7);transition:filter .12s,transform .05s}
  button#nf-submit:hover{filter:brightness(1.05)}
  button#nf-submit:active{transform:translateY(1px)}
  button#nf-submit:disabled{opacity:.55;cursor:default;box-shadow:none}
  .note{font-size:14px;margin-top:14px;min-height:0}
  .note:empty{margin-top:0}
  .note.err{color:#e89a94}
  .under428{font-size:12px;color:#8a7d6e;margin-top:10px;text-align:center;line-height:1.45}
  .under428:empty{margin-top:0}
  .formhint{font-size:12px;color:#8a7d6e;margin-top:14px;text-align:center;line-height:1.45}
  .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
  .closed{text-align:center;color:var(--smoke);font-size:16px}
  .pdm{position:fixed;inset:0;z-index:50;display:flex;align-items:center;
    justify-content:center;padding:16px;background:rgba(0,0,0,.72)}
  .pdm[hidden]{display:none}
  .pdm-box{position:relative;width:100%;max-width:680px;max-height:86vh;overflow:auto;
    background:var(--surf2);border:1px solid var(--hair2);border-radius:16px;
    padding:clamp(20px,5vw,34px);box-shadow:0 24px 70px -20px rgba(0,0,0,.8)}
  .pdm-x{position:absolute;top:12px;right:14px;width:34px;height:34px;border:none;
    border-radius:9px;background:var(--void);color:var(--smoke);font-size:22px;
    line-height:1;cursor:pointer}
  .pdm-h{font-size:clamp(17px,4.5vw,21px);font-weight:800;color:var(--paper);
    margin:0 30px 16px 0;line-height:1.25}
  .pdm-body{font-size:14px;color:var(--smoke);line-height:1.6}
  .pdm-body p{margin:0 0 12px}
  .pdm-body p.ch-h{font-weight:700;color:var(--paper);margin:18px 0 8px}
  .ok-screen{text-align:center;padding:10px 0}
  .ok-screen .big{display:inline-flex;align-items:center;justify-content:center;
    width:60px;height:60px;border-radius:999px;background:rgba(126,210,155,.14);
    border:1px solid rgba(126,210,155,.4);color:#7ed29b;font-size:32px;margin-bottom:14px}
  /* s701 БАГ 2 — оплата на экране «спасибо»: две золотые кнопки (полная/аванс). */
  .pay-head{font-size:14px;color:var(--smoke);margin:6px 0 14px;line-height:1.5}
  .pay-btns{display:flex;flex-direction:column;gap:10px}
  .pay-btn{display:block;width:100%;font-size:16px;font-weight:800;padding:15px;
    border-radius:13px;background:linear-gradient(180deg,var(--gold),var(--gold-d));
    color:#1a1308;text-decoration:none;text-align:center;letter-spacing:.01em;
    box-shadow:0 10px 26px -12px rgba(220,175,100,.7);transition:filter .12s,transform .05s}
  .pay-btn:hover{filter:brightness(1.05)}
  .pay-btn:active{transform:translateY(1px)}
  .pay-fine{font-size:12px;color:#8a7d6e;margin-top:12px;line-height:1.45}
  /* s701 БАГ 3 — светлая тема формы (под белую лид-модалку УКНТ): прозрачный фон,
     без тёмной карты; поля/лейблы/подписи в светлой палитре. Кнопки остаются золотыми. */
  body.theme-light{background:transparent;color:#231b12}
  .theme-light .card{background:transparent;border:0;box-shadow:none;padding:2px 0 4px}
  .theme-light h1{color:#231b12}
  .theme-light .fld label{color:#6b5d4a}
  .theme-light .fld input,.theme-light .fld textarea{background:#fbf8f3;
    border-color:#e4dbcc;color:#231b12}
  .theme-light .fld input::placeholder,.theme-light .fld textarea::placeholder{color:#a99c88}
  .theme-light .fld input:focus,.theme-light .fld textarea:focus{border-color:var(--gold);
    box-shadow:0 0 0 3px rgba(220,175,100,.20)}
  .theme-light .pdc{color:#6b5d4a}
  .theme-light .pdc-link{color:#b07d23}
  .theme-light .formhint,.theme-light .under428,.theme-light .pay-fine{color:#8a7d6a}
  .theme-light .pay-head{color:#6b5d4a}
  .theme-light .note.err{color:#c0392b}
  .theme-light .ok-screen h1{color:#231b12}
  .theme-light .closed{color:#6b5d4a}

body.native-standalone{padding:clamp(16px,4vw,36px) 12px 32px}
body.native-standalone.theme-light{background:#fff}
.standalone-head{margin:0 0 18px}.standalone-nav{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 22px}.standalone-nav a,.standalone-back{color:var(--gold);text-underline-offset:3px}.theme-light .standalone-nav a,.theme-light .standalone-back{color:#845d19}.standalone-brand{font-size:12px;letter-spacing:.085em;font-weight:700;color:var(--smoke)}.theme-light .standalone-brand{color:#6b5d4a}.standalone-head h1{margin-bottom:8px}.standalone-description{font-size:14px;color:var(--smoke);margin:0}.theme-light .standalone-description{color:#6b5d4a}.standalone-foot{margin:19px 0;font-size:14px}.wrap{overflow-wrap:anywhere}button#nf-submit:focus-visible,.wrap a:focus-visible{outline:3px solid var(--gold-d);outline-offset:3px}.skip{position:absolute;left:-10000px;top:8px}.skip:focus{left:8px;padding:8px;background:var(--surf);color:var(--gold);z-index:5}
#nf-form[hidden],#nf-form [hidden]{display:none!important}#intake-status:not(:empty){font-weight:600;padding:14px 0}
