.em-ref-form,.em-ref-dialog,.em-ref-dialog *,.em-ref-form *{box-sizing:border-box}
.em-ref-form{margin:0;position:relative;display:grid;gap:12px;min-width:0;font:inherit;color:inherit}
.em-ref-form [hidden],.em-ref-dialog [hidden],dialog.em-ref-dialog:not([open]){display:none!important}
.em-ref-form .em-ref-trap,.em-ref-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.em-ref-field{min-width:0;display:grid;gap:5px;text-align:left;font-size:15px;line-height:1.35;font-weight:400}
.em-ref-field input,.em-ref-field textarea{appearance:none;display:block;width:100%;margin:0;padding:11px 14px;min-height:44px;font:inherit;font-size:16px;line-height:1.4;border:1px solid #d5d5d5;border-radius:3px;background:#fff;color:#161616}
.em-ref-field textarea{resize:vertical;min-height:70px;max-height:30vh}.em-ref-field input::placeholder{color:#777}
.em-ref-field :where(input,textarea):focus-visible,.em-ref-consent input:focus-visible,.em-ref-dialog button:focus-visible,.em-ref-form button:focus-visible{outline:2px solid #007b9e;outline-offset:3px}
.em-ref-consent{display:flex;align-items:flex-start;gap:8px;line-height:1.4;text-align:left;min-width:0;font-size:13px;font-weight:400}.em-ref-consent input{margin:1px 0 0;width:17px;height:17px;flex:0 0 17px;accent-color:#147d97}.em-ref-consent a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.em-ref-submit,.em-ref-next,.em-ref-prev{appearance:none;min-height:44px;border:0;border-radius:3px;padding:12px 23px;font:inherit;font-size:16px;font-weight:650;line-height:1.25;color:white;background:#2bb0d4;cursor:pointer}
.em-ref-submit:hover,.em-ref-submit:focus-visible{background:#4fb3ce}.em-ref-form button:disabled{opacity:.68;cursor:wait}.em-ref-status{margin:0;font-size:14px;line-height:1.45;text-align:left}.em-ref-status:empty{display:none}.em-ref-status.is-error{color:#9e2620}
.em-ref-inline.em-ref-measure{display:grid;grid-template-columns:minmax(11rem,1fr) max-content;gap:9px 10px;align-items:end;max-width:550px;margin-inline:auto}
.em-ref-measure .em-ref-field{grid-area:1/1}.em-ref-measure .em-ref-submit{grid-area:1/2}.em-ref-measure .em-ref-consent,.em-ref-measure .em-ref-status,.em-ref-measure noscript{grid-column:1/-1}
.em-ref-inline.em-ref-question{max-width:750px;margin-inline:auto;grid-template-columns:repeat(2,minmax(0,1fr)) max-content;align-items:end;gap:9px 10px}.em-ref-question>.em-ref-field:nth-of-type(2){grid-area:1/1}.em-ref-question>.em-ref-field:nth-of-type(3){grid-area:1/2}.em-ref-question .em-ref-submit{grid-area:1/3}.em-ref-question .em-ref-consent,.em-ref-question .em-ref-status{grid-column:1/-1}
.em-ref-modal-form .em-ref-submit,.em-ref-inline .em-ref-submit{border-radius:5px;font-weight:500;line-height:1.37;font-size:15px}
.em-ref-measure .em-ref-submit,.em-ref-contact-dialog:has([data-em-name-field]:not([hidden])) .em-ref-submit{background:#f06d28}.em-ref-measure .em-ref-submit:hover,.em-ref-contact-dialog:has([data-em-name-field]:not([hidden])) .em-ref-submit:hover{background:#e3814d}
.em-ref-dialog{z-index:101;position:fixed;inset:0;width:min(455px,calc(100% - 32px));height:auto;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:0;border-radius:4px;background:#fff;color:#141414;font-family:inherit;overflow:auto;overscroll-behavior:contain;box-shadow:0 8px 55px #0005}.em-ref-dialog::backdrop{background:#000c}.em-ref-contact-card{position:relative;padding:38px clamp(22px,6vw,46px) 36px}.em-ref-contact-card h2{margin:0 16px 21px 0;font:inherit;font-size:24px;line-height:1.27;font-weight:700;text-align:center}.em-ref-modal-form .em-ref-submit{min-height:47px}
.em-ref-close{display:grid;place-items:center;position:absolute;inset:8px 8px auto auto;z-index:1;width:40px;height:40px;padding:0;background:transparent;border:0;color:inherit;font:300 35px/1 system-ui,sans-serif;cursor:pointer}
html:has(dialog.em-ref-dialog[open]){overflow:hidden}
.em-ref-quiz-dialog{width:100%;height:100%;max-width:none;max-height:none;min-height:100dvh;border-radius:0;background:#363636;color:#fff;box-shadow:none}.em-ref-quiz-body{position:relative;isolation:isolate;min-height:100%;display:grid;align-content:center;padding:clamp(52px,8vh,80px) max(20px,7vw);background-size:cover;background-position:center;background-repeat:no-repeat}
.em-ref-quiz-dialog[data-em-quiz-kind="shutters"][open] .em-ref-quiz-body{background-image:linear-gradient(#252525bd,#252525d9),url('/assets/reference-quiz/backdrop.webp')}
.em-ref-quiz-dialog .em-ref-close{inset:12px max(16px,3vw) auto auto;color:#fff}.em-ref-quiz-dialog .em-ref-close:focus-visible,.em-ref-quiz-form button:focus-visible{outline-color:#fff}
.em-ref-quiz-form{width:min(100%,850px);margin:0 auto;gap:clamp(18px,4vh,36px)}.em-ref-progress{width:min(360px,100%);display:flex;align-items:center;gap:12px;font-size:14px;line-height:1.3}.em-ref-progress progress{width:min(190px,42vw);height:5px;accent-color:#fff;appearance:none;border:0;border-radius:2px;overflow:hidden;background:#ffffff4d}.em-ref-progress progress::-webkit-progress-bar{background:#ffffff4d}.em-ref-progress progress::-webkit-progress-value{background:#fff}.em-ref-progress progress::-moz-progress-bar{background:#fff}
.em-ref-step{margin:0;min-width:0;max-width:100%;padding:0;border:0}.em-ref-step legend{font-weight:650;line-height:1.12;letter-spacing:-.02em;font-size:clamp(1.7rem,4vw,3rem);margin:0 0 clamp(16px,3vh,26px);padding:0}.em-ref-step legend:focus{outline:none}.em-ref-step .em-ref-field,.em-ref-step .em-ref-consent{max-width:385px}.em-ref-step .em-ref-consent{margin-top:13px}.em-ref-hint{margin:0 0 15px;max-width:60ch;font-size:16px;line-height:1.45}
.em-ref-options{display:grid;justify-items:start;gap:10px}.em-ref-option{max-width:100%;position:relative;cursor:pointer}.em-ref-option>input{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:18px;height:18px;margin:0;accent-color:#1789a3}.em-ref-option>span{display:flex;align-items:center;min-height:48px;padding:10px 16px 10px 45px;background:#fff;color:#191919;border-radius:3px;line-height:1.25;border:2px solid transparent}.em-ref-option>input:checked+span{border-color:#6ee0fb}.em-ref-option>input:focus-visible+span{outline:2px solid #fff;outline-offset:3px}
.em-ref-swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:710px}.em-ref-swatches .em-ref-option{width:100%}.em-ref-swatches .em-ref-option>input{top:auto;bottom:15px;left:10px;transform:none;width:15px;height:15px}.em-ref-swatches .em-ref-option>span{display:block;padding:0;overflow:hidden}.em-ref-swatches .em-ref-option img{display:block;width:100%;height:auto;aspect-ratio:1.73;object-fit:cover}.em-ref-swatches .em-ref-option>span>span{display:block;padding:11px 6px 11px 31px;font-size:15px}
.em-ref-quiz-actions{display:flex;flex-wrap:wrap;gap:9px}.em-ref-quiz-actions .em-ref-next,.em-ref-quiz-actions .em-ref-submit{background:white;color:#131313}.em-ref-quiz-actions .em-ref-prev{border:1px solid #fff;background:transparent;color:#fff}.em-ref-quiz-form .em-ref-status.is-error{color:#ffe0dc}
@media(max-width:620px){.em-ref-quiz-body{padding-inline:18px}.em-ref-swatches{grid-template-columns:repeat(2,minmax(0,1fr));max-width:390px}.em-ref-swatches .em-ref-option img{max-height:16vh}.em-ref-inline.em-ref-measure,.em-ref-inline.em-ref-question{grid-template-columns:1fr;align-items:stretch}.em-ref-question>.em-ref-field:nth-of-type(n),.em-ref-question .em-ref-submit,.em-ref-question .em-ref-consent{grid-area:auto}.em-ref-measure .em-ref-field,.em-ref-measure .em-ref-submit,.em-ref-measure .em-ref-consent{grid-area:auto}.em-ref-contact-card{padding:42px 23px 24px}.em-ref-quiz-dialog .em-ref-close{inset:4px 5px auto auto}}

dialog.em-ref-dialog[open],dialog.ref-lightbox[open]{height:fit-content;min-height:0;max-height:calc(100dvh - 28px);border-radius:12px}
dialog.em-ref-quiz-dialog{width:min(720px,calc(100% - 24px))}
.em-ref-quiz-body{min-height:0;padding:48px clamp(18px,4vw,36px) 28px}
.em-ref-quiz-form{gap:20px}
.em-ref-step legend{font-size:clamp(22px,3vw,32px);line-height:1.2;margin-bottom:16px}
.em-ref-options{justify-items:stretch}
.em-ref-option>span,.em-ref-form button,.em-ref-field input,.ref-lightbox button{transition:background-color .2s,border-color .2s,box-shadow .2s}
.em-ref-option:hover>span{border-color:#71c5d9}
.em-ref-quiz-actions{justify-content:flex-end}
.em-ref-prev{margin-right:auto}
html{scrollbar-gutter:stable}
@media(prefers-reduced-motion:no-preference){
 html{scroll-behavior:smooth}
 dialog.em-ref-dialog,dialog.ref-lightbox{opacity:0;transform:translateY(8px);transition:opacity .2s,transform .2s,display .2s allow-discrete,overlay .2s allow-discrete}
 dialog.em-ref-dialog[open],dialog.ref-lightbox[open]{opacity:1;transform:none}
 @starting-style{dialog.em-ref-dialog[open],dialog.ref-lightbox[open]{opacity:0;transform:translateY(8px)}}
 dialog::backdrop{transition:opacity .2s,display .2s allow-discrete,overlay .2s allow-discrete;opacity:0}
 dialog[open]::backdrop{opacity:1}
 @starting-style{dialog[open]::backdrop{opacity:0}}
 .em-ref-step:not([hidden]),.ref-mobile-nav:not([hidden]){animation:em-appear .22s ease-out}
 @keyframes em-appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
}
