#kp-live-quiz[hidden],#kp-priority-viewer[hidden],.kp-ui-close[hidden],.kp-ui-quiz-wait[hidden],.kp-ui-status[hidden],.kp-ui-prev[hidden],.kp-ui-next[hidden],.kp-ui-counter[hidden]{display:none!important}
#kp-live-quiz{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:20px;width:calc(100vw - 40px);max-width:1280px;height:calc(100vh - 40px);height:calc(100dvh - 40px);max-height:860px;background:#f4f6f1;box-shadow:0 24px 90px #0004;overflow:hidden}
#kp-live-quiz::backdrop{background:#17201699}
#kp-live-quiz.kp-ui-dialog-fallback{z-index:2147483647;box-shadow:0 0 0 100vmax #17201699}
#kp-live-quiz iframe{display:block;width:100%;height:100%;border:0;background:#f4f6f1}
.kp-ui-close{position:absolute;right:14px;top:14px;z-index:5;display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #dce3d7;border-radius:50%;background:#fff;color:#34452e;font:30px/1 Arial;cursor:pointer;box-shadow:0 2px 10px #0001}
.kp-ui-close:focus-visible,.kp-ui-link:focus-visible,.kp-ui-image-link:focus-visible{outline:3px solid #78b936;outline-offset:3px}
.kp-ui-quiz-wait{position:absolute;inset:0;z-index:3;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;padding:70px 24px;background:#f4f6f1;text-align:center;font:16px/1.5 Onest,Arial,sans-serif}
.kp-ui-quiz-wait p{max-width:520px;margin:0}.kp-ui-link{display:inline-block;color:#426e22;text-decoration:underline}
#kp-priority-viewer{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:center;justify-content:center;padding:60px 24px;background:rgba(20,24,20,.82);overflow:auto;box-sizing:border-box;font:16px/1.5 Onest,Arial,sans-serif}
#kp-priority-viewer *{box-sizing:border-box}.kp-ui-card{position:relative;max-width:100%;outline:none}
.kp-ui-title{margin:0 0 16px;font:600 22px/1.3 Onest,Arial,sans-serif;color:#fff}
.kp-ui-image{display:block;max-width:100%;max-height:calc(100vh - 170px);max-height:calc(100dvh - 170px);width:auto;height:auto;object-fit:contain;margin:auto;background:#fff;border-radius:4px}
.kp-ui-status{max-width:600px;color:#fff;text-align:center;margin:16px auto}
.kp-ui-image-link{display:block;margin:12px 0 0;color:#fff;text-align:center;text-decoration:underline;font-size:14px}
.kp-ui-prev,.kp-ui-next{position:fixed;top:50%;z-index:6;width:40px;height:48px;border:0;border-radius:6px;background:#0008;color:#fff;font:34px/1 Arial;cursor:pointer}.kp-ui-prev{left:8px}.kp-ui-next{right:8px}.kp-ui-prev:disabled,.kp-ui-next:disabled{opacity:.25;cursor:default}.kp-ui-counter{position:fixed;top:18px;left:24px;color:#fff}
#kp-priority-viewer[data-mode="form"] .kp-ui-card{width:560px;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);overflow:auto;background:#fff;border-radius:20px;padding:32px;color:#222}
#kp-priority-viewer[data-mode="form"] .kp-ui-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
#kp-priority-viewer .modal{margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;background:#fff;border-radius:0;box-shadow:none}
#kp-priority-viewer form{margin:20px 0 0}#kp-priority-viewer input:not([type="checkbox"]):not([type="hidden"]):not([type="file"]),#kp-priority-viewer textarea{max-width:100%;width:100%;padding:13px 15px;border:1px solid #ddd;border-radius:8px;font:inherit;color:#222;background:#fff}
#kp-priority-viewer input[type="checkbox"]{width:16px;height:16px;accent-color:#81b633}#kp-priority-viewer button[type="submit"],#kp-priority-viewer input[type="submit"]{border:0;border-radius:30px;padding:14px 24px;background:#81b633;color:#fff;font:inherit;cursor:pointer}
@media(max-width:600px){#kp-live-quiz{margin:0;width:100vw;height:100vh;height:100dvh;max-height:none;border-radius:0}#kp-live-quiz-close{right:10px;top:14px;width:36px;height:36px}#kp-priority-viewer{padding:64px 16px 24px}.kp-ui-title{font-size:18px}.kp-ui-image{max-height:calc(100vh - 180px);max-height:calc(100dvh - 180px)}#kp-priority-viewer[data-mode="form"] .kp-ui-card{padding:24px;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px)}}
@media(prefers-reduced-motion:reduce){#kp-live-quiz,#kp-priority-viewer{scroll-behavior:auto}}
