.rf-dq{--rf-ink:#20294a;--rf-muted:#64708b;--rf-accent:#5b55d9;--rf-line:#e1e6f0;max-width:820px;margin:24px auto;color:var(--rf-ink);font-family:inherit}
.rf-dq *{box-sizing:border-box}.rf-dq [hidden]{display:none!important}.rf-dq-card{border:1px solid var(--rf-line);border-radius:22px;padding:clamp(20px,4vw,34px);background:linear-gradient(145deg,#fff,#f8f9ff);box-shadow:0 12px 34px rgba(36,47,90,.07)}
.rf-dq-kicker{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--rf-accent)}.rf-dq h2{font-size:clamp(25px,4vw,34px);line-height:1.15;margin:10px 0}.rf-dq h3{font-size:21px;line-height:1.3;margin:18px 0 12px}.rf-dq p{color:var(--rf-muted);line-height:1.6}.rf-dq-progress{height:7px;border-radius:20px;background:#e9eaf6;overflow:hidden;margin:22px 0 8px}.rf-dq-progress span{display:block;height:100%;width:12.5%;background:linear-gradient(90deg,#6a62e8,#45b8ce);transition:width .25s}.rf-dq-progress-label{font-size:13px;color:var(--rf-muted);margin-bottom:14px}
.rf-dq-step{display:none}.rf-dq-step.is-active{display:block}.rf-dq-options{display:grid;gap:10px;margin:18px 0}.rf-dq-option{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--rf-line);border-radius:13px;padding:13px 15px;background:#fff;cursor:pointer;line-height:1.4}.rf-dq-option:has(input:checked){border-color:var(--rf-accent);background:#f2f1ff;box-shadow:0 0 0 1px var(--rf-accent)}.rf-dq-option input{margin-top:4px;accent-color:var(--rf-accent);flex:0 0 auto}
.rf-dq-actions{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.rf-dq button{border:0;border-radius:12px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer}.rf-dq-next,.rf-dq-submit{background:var(--rf-accent);color:#fff}.rf-dq-back,.rf-dq-back-contact,.rf-dq-restart{background:#eef0f8;color:var(--rf-ink)}.rf-dq button:disabled{opacity:.45;cursor:not-allowed}.rf-dq-field{display:grid;gap:6px;margin:12px 0}.rf-dq-field label{font-weight:600}.rf-dq-field input{width:100%;padding:12px;border:1px solid #cfd6e5;border-radius:10px;font:inherit}.rf-dq-consent{display:flex;gap:9px;align-items:flex-start;font-size:14px;color:var(--rf-muted);margin:14px 0}.rf-dq-consent input{margin-top:4px}.rf-dq-privacy,.rf-dq-footnote{font-size:13px}.rf-dq-error{color:#b42318!important;font-size:14px;font-weight:600;min-height:1em}.rf-dq-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.rf-dq-result{padding-top:8px}.rf-dq-rec-links a{color:var(--rf-accent);font-weight:700}.rf-dq-footnote{border-top:1px solid var(--rf-line);margin-top:22px;padding-top:12px}
@media(max-width:520px){.rf-dq-actions{flex-wrap:wrap}.rf-dq-actions button{flex:1}.rf-dq-option{padding:12px}}

/* Version 1.3.1: clearer contact step and stronger recommendation presentation */
.rf-dq-contact-highlight{background:#f0efff;border:2px solid #7770ed;border-radius:16px;padding:18px 20px;margin:8px 0 22px}
.rf-dq-contact-highlight h3{font-size:clamp(23px,3vw,29px);margin:8px 0;color:var(--rf-ink)}
.rf-dq-contact-highlight p{margin:8px 0 0;color:#343c5b}
.rf-dq-email-field{background:#fff;border:2px solid #6a62e8;border-radius:15px;padding:16px;margin:18px 0}
.rf-dq-email-field label{font-size:18px;font-weight:800;color:#29245f}
.rf-dq .rf-dq-email-field input{border:2px solid #8b85ed;background:#fbfaff;padding:15px;font-size:18px;min-height:54px}
.rf-dq-email-field span{font-size:13px;color:#555e79}
.rf-dq-rec-title{font-size:clamp(25px,4vw,34px)!important;line-height:1.2;background:#f0efff;border-left:6px solid #5b55d9;border-radius:12px;padding:18px 20px;margin:14px 0}
.rf-dq-rec-text{font-size:17px!important;color:#303955!important;line-height:1.7!important}
.rf-dq-rec-modules{background:#f7f8fc;border:1px solid #dfe3f1;border-radius:14px;padding:16px 20px;margin:20px 0}
.rf-dq-rec-modules h4{font-size:18px;margin:0 0 10px;color:var(--rf-ink)}
.rf-dq-rec-modules ul{margin:0;padding-left:22px;line-height:1.7}
.rf-dq-rec-links{margin:20px 0}
.rf-dq-rec-link-card{margin:12px 0!important}
.rf-dq-rec-link-card a{display:block;background:#5b55d9;color:#fff!important;padding:17px 20px;border-radius:13px;text-decoration:none;font-size:17px;line-height:1.45;box-shadow:0 5px 14px rgba(54,47,157,.18)}
.rf-dq-rec-link-card a:hover,.rf-dq-rec-link-card a:focus{background:#4039b9;color:#fff!important;text-decoration:underline}

/* Version 1.3.2: clear personalized summary of needs, solutions and learning outcomes */
.rf-dq-rec-summary{display:grid;gap:14px;margin:22px 0}
.rf-dq-summary-section{background:#fff;border:1px solid #dfe3f1;border-radius:14px;padding:17px 20px}
.rf-dq-summary-section:nth-child(1){border-left:5px solid #5b55d9}
.rf-dq-summary-section:nth-child(2){border-left:5px solid #45a6a8}
.rf-dq-summary-section:nth-child(3){border-left:5px solid #e3a14b}
.rf-dq-summary-section h4{font-size:18px;line-height:1.35;margin:0 0 10px;color:var(--rf-ink)}
.rf-dq-summary-section ul{margin:0;padding-left:22px;line-height:1.7;color:#303955}
.rf-dq-summary-section li+li{margin-top:5px}
.rf-dq-summary-section p{margin:0}
