/* Runtime styles shared by the three standalone invitation documents. */
html{scroll-behavior:smooth}body.wv-template{margin:0;overflow-x:hidden}body.wv-template *{user-select:auto}body.wv-template .wv-sheet{width:100%;overflow:clip}body.wv-template .foot{font:13px/1.5 SMTextsFont,sans-serif;padding:36px 20px;text-align:center;color:inherit;opacity:.55}body.wv-template .links{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;padding:24px}body.wv-template .who,body.wv-template .ok{padding:20px;text-align:center}body.wv-template .ok{background:#edf5ec}body.wv-template a{cursor:pointer}.wv-template .wv-palette{display:flex!important;flex-wrap:wrap;justify-content:center;gap:14px}.wv-template .wv-swatch{display:block;width:60px;height:60px;border-radius:50%;flex:none}.wv-template [data-carousel]{position:relative;overflow:hidden}.wv-template [data-carousel]>[data-wv-slide]{width:100%;display:none}.wv-template [data-carousel]>[data-wv-slide].wv-current{display:block}.wv-template .wv-carousel-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin:16px auto}.wv-carousel-controls button{border:0;background:transparent;color:inherit;font:24px/1 SMTextsFont,sans-serif;cursor:pointer;padding:10px}.wv-carousel-controls span{font:14px/1.4 SMTextsFont,sans-serif}.wv-template .wv-form-layout{display:grid;grid-template-columns:1fr 1fr;gap:50px;text-align:left}.wv-template .wv-field{display:block;margin:0 0 28px}.wv-template .wv-field>span{display:block;font-family:SMTextsFont,sans-serif;font-size:18px;line-height:1.5;margin-bottom:12px}.wv-template .wv-field input{display:block;width:100%;box-sizing:border-box;max-width:100%;min-height:46px;border:0;border-bottom:1px solid currentColor;background:transparent;font:18px/1.5 SMTextsFont,sans-serif;color:inherit;border-radius:0;outline-offset:4px}.wv-template fieldset{border:0;margin:0 0 28px;padding:0;min-width:0}.wv-template legend{font:18px/1.5 SMTextsFont,sans-serif;margin-bottom:16px;padding:0}.wv-template .wv-choice{display:flex;align-items:center;gap:12px;font:18px/1.5 SMTextsFont,sans-serif;margin:10px 0;cursor:pointer}.wv-template .wv-choice input{display:block!important;appearance:auto!important;position:static!important;opacity:1!important;width:18px!important;height:18px!important;flex:none;accent-color:currentColor;margin:0}.wv-template .wv-submit{display:block;margin:36px auto 0;cursor:pointer}.wv-template .wv-notice,.wv-template .wv-demo-note{font:16px/1.5 SMTextsFont,sans-serif;white-space:pre-line;margin:18px 0;text-align:center}.wv-template .wv-demo-note[hidden]{display:none}.wv-template [data-wedding-names]{cursor:inherit}.wv-template [data-wv-until] [data-clock-unit]{font-variant-numeric:tabular-nums}.wv-template [data-wv-until] .sm-timer-time_number{display:inline-block}.wv-template .wv-plain{padding:90px 24px;text-align:center}.wv-template .wv-plain img{max-width:100%}.wv-template .wv-reveal{opacity:0;translate:0 24px;transition:opacity .7s ease,translate .7s ease}.wv-template .wv-reveal.wv-in{opacity:1;translate:0 0}.wv-template .sm-questionnaire-form{position:relative}.wv-template.sm-template94 .sm-main__names,.wv-template.sm-template94 .sm-needtoresize{font-size:clamp(45px,7.3vw,140px)}
@media(max-width:1100px){.wv-template .wv-form-layout{grid-template-columns:1fr;gap:10px}.wv-template .wv-field>span,.wv-template legend,.wv-template .wv-choice{font-size:16px}.wv-template .wv-swatch{width:42px;height:42px}.wv-template .wv-reveal{translate:0 14px}.wv-template.sm-template94 .sm-main__names,.wv-template.sm-template94 .sm-needtoresize{font-size:clamp(45px,11.5vw,80px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.wv-template .wv-reveal{opacity:1;translate:none;transition:none}.wv-template *, .wv-template *::before,.wv-template *::after{animation:none!important}}
body.wv-template .wv-sheet{width:var(--wv-width,100%);zoom:var(--wv-scale,1)}.wv-template.sm-template94 .sm-main__names,.wv-template.sm-template94 .sm-needtoresize{font-size:140px}@media(max-width:1100px){.wv-template.sm-template94 .sm-main__names,.wv-template.sm-template94 .sm-needtoresize{font-size:70px}}.wv-template .sm-modal-close{display:none!important}
.ie-editing .wv-reveal{opacity:1!important;translate:none!important}

.wv-template .wv-form-dialog{margin:auto;width:calc(100% - 32px);max-width:520px;max-height:calc(100dvh - 32px);box-sizing:border-box;border:0;border-radius:0;padding:56px 24px 24px;background:var(--section-bg-clr-2,var(--bg-clr,var(--bg,#fff)));color:inherit;overflow:auto}.wv-form-dialog::backdrop{background:#0008}.wv-template .wv-form-dialog .sm-form__al,.wv-template .wv-form-dialog .sm-questionnaire-form,.wv-template .wv-form-dialog .sm-questionnaire__form{display:block!important;position:static;min-height:0;margin:0;padding:0;width:100%}.wv-template .wv-form-dialog .wv-form-layout{display:block}.wv-template .wv-dialog-close{position:absolute;right:16px;top:12px;border:0;background:transparent;font:32px/1 sans-serif;color:inherit;cursor:pointer}.wv-template .sm-questionnaire-btn{cursor:pointer}.wv-template .sm-questionnaire-btn:focus-visible,.wv-template [data-wv-prev]:focus-visible,.wv-template [data-wv-next]:focus-visible{outline:2px solid currentColor;outline-offset:4px}
/* Разделы без своей вёрстки в шаблоне (виш-лист и др.) — в шрифтах и размерах шаблона. */
.wv-template .wv-plain>section{padding:0;min-width:0}.wv-template .wv-plain>section>h2{margin:0 auto 20px;color:inherit;font:400 clamp(28px,8.5vw,44px)/1.1 SMHeadersFont,serif;letter-spacing:normal;text-transform:none}.wv-template .wv-plain>section>p{max-width:360px;margin:0 auto;font:16px/1.5 SMTextsFont,sans-serif}
.wv-template .wv-plain{font-family:SMTextsFont,sans-serif}body[data-wv-template=little-happiness] .wv-plain>section>h2{font-size:48px}body[data-wv-template=priznanie] .wv-plain>section>h2{font-size:36px}body[data-wv-template=odnazhdy] .wv-plain>section>h2{font-size:26px}

@media(min-width:501px) and (max-width:1100px){body.wv-template .wv-sheet{margin-inline:auto}.wv-template .wv-plain{padding-block:48px}.wv-template .wv-form-layout{grid-template-columns:1fr}.wv-template.sm-template94 .sm-main__names,.wv-template.sm-template94 .sm-needtoresize{font-size:70px}}

/* One visible, shared RSVP form at every width; no second modal entry point. */
.wv-template section#rsvp .sm-form__al,.wv-template section#rsvp .sm-questionnaire-form,.wv-template section#rsvp .sm-questionnaire__form{display:block!important;position:relative;z-index:1;min-height:0;max-width:360px;width:100%;padding:0;margin:32px auto;background:transparent;border-radius:0}
.wv-template section#rsvp .sm-form__bt,.wv-template section#rsvp .sm-questionnaire-btn,.wv-template section#rsvp .sm-only-mobile.open-modal{display:none!important}
.wv-template section#rsvp .vm-rsvp{font:16px/1.5 SMTextsFont,sans-serif}
.wv-template section#rsvp .vm-rsvp-submit{display:flex!important}
@media(min-width:501px) and (max-width:1100px){
body[data-wv-template=little-happiness] .sm-main__content-titel{width:280px}
body[data-wv-template=priznanie] .sm-time__item__title{font-size:14px}
}
