/* Trigger geometry and colours match the existing homepage CTA. */
#povodok-home-consult .block .note button[data-consultation-topic]{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;padding:11px 20px;border:0;border-radius:24px;background:#198e32;color:#fff;font-family:inherit;font-size:15px;font-weight:700;line-height:1.3;text-decoration:none;transition:background .15s;cursor:pointer}
#povodok-home-consult .block .note button[data-consultation-topic]:hover{background:#117727}
#povodok-home-consult .block .note button[data-consultation-topic]:focus-visible{outline:3px solid #126d27;outline-offset:4px}
html.povodok-consultation-open,html.povodok-consultation-open body{overflow:hidden}
.povodok-consultation{box-sizing:border-box;width:600px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:0;margin:auto;border:0;border-radius:16px;background:#fffaf5;color:#352824;overflow:auto;overscroll-behavior:contain;box-shadow:0 20px 80px #35282440;font-family:inherit}
.povodok-consultation::backdrop{background:rgb(35 28 24 / 55%)}
.povodok-consultation *{box-sizing:border-box}
.povodok-consultation [hidden]{display:none!important}
.povodok-consultation__header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px 12px;background:#fffaf5}
.povodok-consultation__header h2{margin:0;color:#352824;font-size:26px;line-height:1.25;overflow-wrap:anywhere}
.povodok-consultation__close{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:50%;background:#f0e7df;color:#352824;font-family:inherit;font-size:32px;line-height:1;cursor:pointer}
.povodok-consultation__form,.povodok-consultation__success{padding:12px 24px 24px;margin:0}
.povodok-consultation__fields{min-width:0;padding:0;margin:0;border:0}
.povodok-consultation__field{margin:0 0 18px}
.povodok-consultation__field>label{display:block;margin-bottom:7px;font-size:15px;font-weight:600;line-height:1.4}
.povodok-consultation__optional{font-weight:400}
.povodok-consultation__field input:not([type=checkbox]),.povodok-consultation__field textarea{display:block;width:100%;min-width:0;padding:12px 14px;border:1px solid #b9ada3;border-radius:10px;background:#fff;color:#352824;font-family:inherit;font-size:16px;line-height:1.5}
.povodok-consultation__field textarea{min-height:110px;resize:vertical}
.povodok-consultation__field [aria-invalid=true]{border-color:#a02525}
.povodok-consultation :focus-visible{outline:3px solid #126d27;outline-offset:3px}
.povodok-consultation__consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}
.povodok-consultation__consent input{flex:0 0 20px;width:20px;height:20px;margin:1px 0 0;accent-color:#198e32}
.povodok-consultation__consent label{min-width:0;overflow-wrap:anywhere}
.povodok-consultation a{color:#126d27;text-decoration:underline}
.povodok-consultation__submit{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:11px 20px;border:0;border-radius:24px;background:#198e32;color:#fff;font-family:inherit;font-size:15px;font-weight:700;line-height:1.3;cursor:pointer}
.povodok-consultation__submit:hover{background:#117727}
.povodok-consultation__submit:disabled{opacity:.65;cursor:wait}
.povodok-consultation__error{display:block;margin-top:6px;color:#a02525;font-size:14px;line-height:1.4}
.povodok-consultation__status{margin:14px 0 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.povodok-consultation__status:empty{display:none}
.povodok-consultation__success p{margin:0 0 20px;font-size:18px;line-height:1.5}
.povodok-consultation__honeypot{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:479px){.povodok-consultation{max-width:calc(100vw - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}.povodok-consultation__header{padding:16px 16px 10px}.povodok-consultation__header h2{font-size:23px}.povodok-consultation__form,.povodok-consultation__success{padding:10px 16px 20px}.povodok-consultation__submit{width:100%}}
@media(prefers-reduced-motion:reduce){#povodok-home-consult .block .note button[data-consultation-topic]{transition:none}}
