.vf-site .vf-instruction-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 14px; border: 1px solid #a8c9b8; border-radius: 10px; background: transparent; color: #26734d; font: 600 14px/1.4 Gilroy,Arial,sans-serif; cursor: pointer; text-align: center; }
.vf-site .vf-instruction-button:hover { background: #eaf3ed; border-color: #26734d; }
.vf-site .vf-instruction-button:focus-visible, .vf-instruction-dialog button:focus-visible { outline: 3px solid #26734d; outline-offset: 3px; }
.vf-site .vf-card-body > .vf-instruction-button { margin-top: 14px; align-self: flex-start; }
.vf-site .vf-product-request > .vf-instruction-button { width: 100%; }
.vf-instruction-dialog:not([open]) { display: none; }
.vf-site .vf-instruction-dialog { box-sizing: border-box; width: 520px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 30px; border: 1px solid #d8e5de; border-radius: 20px; background: #fff; color: #26363c; overflow: auto; overscroll-behavior: contain; box-shadow: 0 20px 80px #17352930; font: 400 16px/1.5 Gilroy,Arial,sans-serif; }
.vf-instruction-dialog::backdrop { background: rgb(24 43 35 / 45%); }
html.vf-instruction-open { overflow: hidden; }
.vf-site .vf-instruction-dialog h2 { margin: 0 28px 10px 0; font-size: 25px; line-height: 1.2; }
.vf-site .vf-instruction-dialog p { font-size: 15px; line-height: 1.45; margin: 0; }
.vf-site #vf-instruction-intro { margin-bottom: 18px; color: #586b62; }
.vf-site .vf-instruction-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #f1f6f3; color: #456557; font: 400 28px/1 Arial,sans-serif; cursor: pointer; }
.vf-site .vf-instruction-product { background: #f3f7f4; padding: 14px 16px; margin-bottom: 20px; border-radius: 12px; overflow-wrap: anywhere; }
.vf-site .vf-instruction-product strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.45; }
.vf-site .vf-instruction-product p { margin-top: 5px; font-size: 13px; color: #586b62; }
.vf-site .vf-instruction-fields { display: grid; gap: 14px; min-width: 0; border: 0; margin: 0; padding: 0; }
.vf-site .vf-instruction-fields[hidden], .vf-site .vf-instruction-dialog [hidden] { display: none !important; }
.vf-site .vf-instruction-field { display: grid; gap: 5px; }
.vf-site .vf-instruction-field label { margin: 0; font-size: 15px; font-weight: 600; }
.vf-site .vf-instruction-field input { box-sizing: border-box; width: 100%; min-width: 0; height: 44px; margin: 0; padding: 9px 12px; border: 1px solid #afc9ba; border-radius: 8px; background: white; color: #26363c; font: 400 16px/1.4 Gilroy,Arial,sans-serif; }
.vf-site .vf-instruction-field input:focus { outline: 2px solid #378661; outline-offset: 1px; }
.vf-site .vf-instruction-field input[aria-invalid="true"] { border-color: #a43a32; }
.vf-site .vf-instruction-error { color: #a43a32; font-size: 13px; }
.vf-site .vf-instruction-dialog .vf-instruction-privacy { color: #68776f; font-size: 12px; }
.vf-site .vf-instruction-privacy a { color: #26734d; text-decoration: underline; }
.vf-site .vf-instruction-fields .vf-button { width: 100%; min-height: 44px; }
.vf-site .vf-instruction-fields:disabled { opacity: .65; }
.vf-site .vf-instruction-status { padding: 12px 14px; border-radius: 10px; background: #edf5ef; margin-bottom: 16px; font-size: 15px; }
.vf-site .vf-instruction-status[data-error="true"] { background: #fff0ed; color: #943d34; }
@media(max-width: 480px) {
    .vf-site .vf-instruction-dialog { padding: 24px 18px; max-width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 16px; }
    .vf-site .vf-instruction-dialog h2 { font-size: 22px; }
}
@media print { .vf-site .vf-instruction-button, .vf-site .vf-instruction-dialog { display: none !important; } }
/* Приглашение в личный кабинет после отправки запроса (02.10.2026) */
.vf-site .vf-instruction-invite { margin-top: 18px; padding: 18px 20px; border: 1px solid #cfe2d6; border-radius: 14px; background: #edf5ef; }
.vf-site .vf-instruction-invite h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; line-height: 1.3; color: #1f5f3f; }
.vf-site .vf-instruction-dialog .vf-instruction-invite p { margin: 0 0 16px; color: #33463d; }
.vf-site .vf-instruction-invite-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.vf-site .vf-instruction-invite-actions .vf-button { min-height: 44px; text-decoration: none; }
.vf-site .vf-instruction-invite-later { padding: 8px 2px; border: 0; background: none; color: #26734d; font: 600 15px/1.4 Gilroy,Arial,sans-serif; text-decoration: underline; cursor: pointer; }
