.camera-quiz{padding:0;border:0;border-radius:24px;width:min(1000px,calc(100% - 48px));max-height:calc(100dvh - 48px);color:var(--ink);background:white;overflow:auto;box-shadow:0 30px 100px #0006}
.camera-quiz::backdrop{background:#050e20b8;backdrop-filter:blur(7px)}
body:has(.camera-quiz[open]){overflow:hidden}
.cq-layout{display:grid;grid-template-columns:32% 68%;min-height:680px}
.cq-aside{padding:34px 30px;background:radial-gradient(circle at 50% 48%,#244568,#101c30 70%);color:white;border-radius:24px 0 0 24px;display:flex;flex-direction:column}
.cq-brand{font-size:24px;font-weight:750;color:var(--blue);letter-spacing:-.05em;margin-bottom:36px}.cq-brand span{font-size:15px;color:white;font-weight:500;letter-spacing:0;margin-left:5px}
.cq-eyebrow{font-size:9px;font-weight:650;letter-spacing:.12em;color:#7c8ca1;margin-bottom:12px}.cq-aside .cq-eyebrow{color:#9ab4d4}.cq-aside h2{font-size:34px}.cq-aside>p:not(.cq-eyebrow){font-size:12px;line-height:1.7;color:#a5b7ce;margin-top:18px}.cq-aside img{width:220px;height:200px;object-fit:contain;align-self:center;margin:20px 0}
.cq-price{margin-top:auto;border-top:1px solid #ffffff26;padding-top:20px}.cq-price span,.cq-price small{display:block;color:#95a9c4;font-size:10px}.cq-price strong{display:block;font-size:23px;margin:6px 0;color:#ffab76}.cq-price small{line-height:1.6}
.cq-main{min-width:0;display:flex;flex-direction:column}.cq-header{display:flex;align-items:center;justify-content:space-between;padding:20px 28px 10px;color:#8491a3;font-size:11px}.cq-close{border:0;background:#f0f3f8;color:#61728a;border-radius:50%;width:36px;height:36px;font-size:26px;line-height:1}.cq-main progress{appearance:none;border:0;width:calc(100% - 56px);margin:0 28px;height:4px;background:#edf1f6;border-radius:4px}.cq-main progress::-webkit-progress-bar{background:#edf1f6;border-radius:4px}.cq-main progress::-webkit-progress-value{background:var(--orange);border-radius:4px}.cq-main progress::-moz-progress-bar{background:var(--orange);border-radius:4px}
#cq-form{display:flex;flex-direction:column;flex:1}.cq-content{padding:32px 36px 10px;flex:1}.cq-content h2,.cq-result h2{font-size:30px;line-height:1.2}.cq-content>p:not(.cq-eyebrow){font-size:12px;color:#7a889b;margin-top:12px}.cq-content #cq-feedback{color:#b02c2c;min-height:20px}
#cq-fields{margin-top:26px;display:grid;gap:22px}.cq-field{border:0;padding:0;margin:0;min-width:0}.cq-field legend,.cq-field>span{display:block;font-size:12px;font-weight:650;margin-bottom:10px}.cq-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.cq-choice{display:flex;align-items:center;gap:10px;border:1px solid #dfe5ee;border-radius:12px;padding:13px 14px;font-size:12px;cursor:pointer;line-height:1.4;min-height:48px;background:#fff}.cq-choice:hover{background:#f7faff;border-color:#a7cfff}.cq-choice:has(input:checked){background:var(--selected-surface);border-color:var(--orange);color:#7c340b;box-shadow:inset 0 0 0 1px var(--orange)}.cq-choice input{accent-color:#a8430a;width:15px;height:15px;margin:0;flex:none}
.cq-field input:not([type=radio]):not([type=checkbox]),.cq-field textarea{width:100%;border:1px solid #dfe5ee;border-radius:10px;padding:13px 14px;font:inherit;font-size:15px;color:var(--ink);background:#f8faff;min-height:48px}.cq-field textarea{min-height:95px;resize:vertical}.cq-field input:focus-visible,.cq-field textarea:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.cq-field small{display:block;font-size:10px;color:#8390a2;margin-top:6px}
.cq-actions{display:flex;justify-content:space-between;gap:12px;padding:22px 36px 28px;border-top:1px solid #eef1f5;margin-top:14px}.cq-actions .button{min-height:48px;padding:12px 22px}.cq-actions button:disabled{opacity:.35}.cq-actions #cq-next{min-width:155px}
.cq-result{padding:30px 36px}.cq-result[hidden]{display:none}.cq-result-icon{display:grid;place-items:center;width:44px;height:44px;background:#e5f6ee;color:#117c59;border-radius:50%;font-size:24px;margin-bottom:20px}.cq-result>p:not(.cq-eyebrow){font-size:12px;color:#748095;margin-top:15px}.cq-result dl{margin:24px 0}.cq-result dl>div{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:9px 0;border-bottom:1px solid #edf0f5;font-size:11px}.cq-result dt{color:#7b899d}.cq-result dd{margin:0;overflow-wrap:anywhere}.cq-result .cq-preview-notice{padding:13px;border-radius:10px;background:#fff4e9;color:#9a5629!important}.cq-result .button{margin-top:18px}
@media(max-width:700px){.camera-quiz{width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.cq-layout{grid-template-columns:1fr;min-height:0}.cq-aside{display:none}.cq-header{padding:14px 18px 10px}.cq-main progress{width:calc(100% - 36px);margin:0 18px}.cq-content{padding:25px 20px 8px}.cq-content h2,.cq-result h2{font-size:25px}.cq-choices{gap:8px}.cq-choice{padding:12px 10px;font-size:11px}.cq-actions{padding:18px 20px 20px}.cq-actions .button{font-size:12px}.cq-result{padding:25px 20px}.cq-field input:not([type=radio]):not([type=checkbox]),.cq-field textarea{font-size:16px}}

#cq-form[hidden]{display:none}

.cq-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
#cq-quote{background:#f0f7ff;border:1px solid #cee4ff;padding:18px;border-radius:12px;margin-top:22px}
#cq-quote:empty{display:none}#cq-quote h3{font-size:20px;margin-bottom:14px}#cq-quote p{font-size:11px;margin:8px 0}#cq-quote small{display:block;font-size:10px;color:#63758f;margin:7px 0}
#cq-open-telegram[hidden]{display:none}

.cq-answers{margin-top:20px;font-size:12px}.cq-answers summary{cursor:pointer;color:#376996;font-weight:600;padding:10px 0}.cq-answers dl{margin-top:6px}
