/* Опросы (wx/surveys): нейтральное оформление — цвета берутся из текста сайта; дизайн сайта может переопределить */
.wx-sv { font: inherit; color: inherit; }
.wx-sv-heading { font-size: 1.35em; font-weight: 700; line-height: 1.25; margin: 0 0 .6em; }
.wx-sv-q { margin: 0 0 .7em; opacity: .75; }
.wx-sv-scale { display: flex; flex-wrap: wrap; gap: 6px; }
.wx-sv-scale button { flex: 1 0 34px; min-width: 34px; height: 42px; border: 1.5px solid transparent; border-radius: 8px; background: rgba(0, 0, 0, .06); color: inherit; font: inherit; font-size: 1.05em; cursor: pointer; }
.wx-sv-scale button:hover, .wx-sv-scale button:focus-visible { border-color: currentColor; outline: none; }
.wx-sv-stars button { flex: 0 0 42px; font-size: 1.4em; }
.wx-sv-yesno button { flex: 0 0 auto; padding: 0 22px; }
.wx-sv-ends { display: flex; justify-content: space-between; font-size: .8em; opacity: .6; margin-top: 6px; }
.wx-sv-opts { display: grid; gap: 8px; margin: 0 0 12px; }
.wx-sv-opt { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.wx-sv-opt input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.wx-sv-label { display: block; margin: 0 0 12px; opacity: .85; }
.wx-sv textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 8px 10px; border: 1px solid rgba(0, 0, 0, .2); border-radius: 8px; font: inherit; }
.wx-sv-send { width: 100%; height: 46px; border: 0; border-radius: 10px; background: #1f8a5b; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.wx-sv-thanks { font-weight: 600; margin: 0; }
.wx-sv-high { margin: .5em 0 0; }
/* Над кнопкой чата в углу (обычно 56–64 px) */
.wx-sv-card { position: fixed; right: 20px; bottom: 92px; z-index: 9990; width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 112px); overflow: auto; box-sizing: border-box; padding: 22px 22px 20px; background: #fff; color: #1a1a1a; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .18); }
.wx-sv-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; background: none; font-size: 26px; line-height: 1; color: #888; cursor: pointer; }
.wx-sv-card .wx-sv-heading { padding-right: 28px; }
@media (max-width: 480px) { .wx-sv-card { right: 16px; left: 16px; bottom: 84px; width: auto; } }
