.dsma-fr-wrap{max-width:620px;margin:20px auto;padding:0 10px;font:inherit;color:#171525}
.dsma-fr-form{background:#f3efff;border:0;border-radius:24px;padding:0 0 20px;overflow:hidden;box-shadow:0 18px 45px rgba(58,35,110,.13)}
.dsma-fr-heading{display:none}
.dsma-fr-fields{padding:0}
.dsma-fr-step[hidden],.dsma-fr-step-nav[hidden]{display:none!important}
.dsma-fr-hero{position:relative;min-height:300px;box-sizing:border-box;padding:24px 22px 20px;color:#fff;background:var(--dsma-fr-gradient,linear-gradient(125deg,#713cff 0%,#8b45f6 55%,#f044b5 100%));overflow:hidden;display:flex;flex-direction:column}
.dsma-fr-hero:before{content:"";position:absolute;width:155px;height:155px;border-radius:50%;right:-65px;top:-45px;background:rgba(255,255,255,.12);box-shadow:0 0 0 20px rgba(255,255,255,.08)}
.dsma-fr-hero:after{content:"";position:absolute;width:105px;height:105px;border-radius:50%;left:-30px;bottom:30px;background:rgba(255,255,255,.08);filter:blur(12px)}
.dsma-fr-eyebrow{position:relative;z-index:1;font-size:10px;font-weight:800;letter-spacing:2px;opacity:.9}
.dsma-fr-orb{position:absolute;right:18px;top:18px;z-index:1;width:58px;height:58px;border-radius:50%;background:rgba(255,255,255,.12);display:flex;align-items:center;justify-content:center}
.dsma-fr-visit{font-size:9px;font-weight:700;background:rgba(255,255,255,.18);border-radius:20px;padding:6px 9px;white-space:nowrap}
.dsma-fr-title-block{position:relative;z-index:1;margin:auto 0 62px;padding-top:45px}
.dsma-fr-question-en{font-size:11px;line-height:1.5;font-weight:600;margin-bottom:8px;opacity:.95}
.dsma-fr-question-hi{font-size:clamp(27px,6.8vw,39px);line-height:1.22;letter-spacing:-.6px;font-weight:800;color:#fff;margin:0;overflow-wrap:anywhere}
.dsma-fr-question-hi.dsma-fr-no-hindi{font-size:clamp(24px,5.5vw,32px)}
.dsma-fr-required{display:inline-block;margin-top:8px;font-size:11px;color:#fff}
.dsma-fr-progress-wrap{position:relative;z-index:1;display:flex;align-items:center;gap:10px;margin-top:auto}
.dsma-fr-progress-track{height:5px;background:rgba(255,255,255,.3);border-radius:8px;flex:1;overflow:hidden}
.dsma-fr-progress-fill{height:100%;background:#fff09a;border-radius:8px;transition:width .25s ease}
.dsma-fr-progress-count{font-size:10px;font-weight:700;white-space:nowrap}
.dsma-fr-answer-panel{position:relative;background:#fff;border-top:4px solid #fff09a;border-radius:0 0 22px 22px;margin:0;padding:17px 12px 12px;box-shadow:0 12px 24px rgba(39,20,87,.08)}
.dsma-fr-answer-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 10px}
.dsma-fr-answer-heading strong{font-size:14px;font-weight:800;color:#151326}
.dsma-fr-tap-hint{font-size:10px;color:#8a84a9;white-space:nowrap}
.dsma-fr-hint{display:flex;align-items:center;gap:9px;background:#f3efff;color:#6536d9;border-radius:9px;padding:9px 10px;font-size:10px;margin-bottom:10px}
.dsma-fr-info-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;flex:0 0 19px;border-radius:50%;background:#7844fa;color:white;font-weight:800;font-size:12px;font-family:serif}
.dsma-fr-options{display:flex;flex-direction:column;gap:5px}
.dsma-fr-option{display:flex;align-items:center;gap:9px;min-height:38px;box-sizing:border-box;padding:7px 9px;border:1px solid #e9e2ff;border-radius:13px;background:#faf8ff;cursor:pointer;transition:background .15s,border-color .15s}
.dsma-fr-option input{position:absolute;opacity:0;pointer-events:none}
.dsma-fr-option:has(input:checked){background:#eee7ff;border-color:#8a5aff;box-shadow:0 0 0 1px rgba(122,68,250,.08)}
.dsma-fr-option-letter{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px;background:#fff;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.12);font-size:10px;font-weight:800;color:#7844fa}
.dsma-fr-option-text{font-size:11px;font-weight:600;color:#25213a}
.dsma-fr-stars{display:flex;gap:8px;justify-content:space-between;padding:8px 2px 12px}
.dsma-fr-star-option{position:relative;display:flex;align-items:center;justify-content:center;flex:1;min-height:48px;border:1px solid #e9e2ff;border-radius:12px;background:#faf8ff;color:#c8bce8;font-size:28px;cursor:pointer}
.dsma-fr-star-option input{position:absolute;opacity:0;pointer-events:none}
.dsma-fr-star-option:has(input:checked){color:#7844fa;background:#eee7ff;border-color:#8a5aff}
.dsma-fr-answer-panel textarea{display:block;box-sizing:border-box;width:100%;min-height:125px;padding:12px;border:1px solid #e4dcfa;border-radius:12px;background:#faf8ff;font:inherit;font-size:14px;resize:vertical;outline-color:#8a5aff}
.dsma-fr-step-nav{display:flex;gap:10px;padding:14px 12px 0}
.dsma-fr-back,.dsma-fr-next{min-height:43px;border-radius:12px;padding:10px 16px;font:inherit;font-size:13px;font-weight:750;cursor:pointer}
.dsma-fr-back{background:#fff;color:#6e42d9;border:1px solid #ded2ff}
.dsma-fr-next{flex:1;background:#7040f5;color:#fff;border:0;box-shadow:0 5px 12px rgba(112,64,245,.2)}
.dsma-fr-next:disabled{opacity:.6;cursor:wait}
.dsma-fr-submit{display:none}
.dsma-fr-message{margin:12px;color:#4f2db4;font-size:13px}
.dsma-fr-message.error{color:#b42318}.dsma-fr-message.success{color:#137333}
@media(min-width:600px){.dsma-fr-form{border-radius:24px}.dsma-fr-hero{min-height:355px;padding:28px 28px 22px}.dsma-fr-title-block{margin-bottom:70px}.dsma-fr-answer-panel{padding:20px 18px 16px}.dsma-fr-option{min-height:43px}}
@media(max-width:420px){.dsma-fr-wrap{margin:10px auto;padding:0 6px}.dsma-fr-hero{min-height:305px;padding:22px 17px 18px}.dsma-fr-title-block{padding-top:35px;margin-bottom:54px}.dsma-fr-answer-panel{padding:15px 10px 10px}.dsma-fr-question-hi{font-size:29px}}

.dsma-fr-profile-card{margin:16px 12px 0;background:#fff;border:1px solid #e9e2ff;border-radius:18px;overflow:hidden;box-shadow:0 10px 25px rgba(39,20,87,.07)}.dsma-fr-profile-header{padding:20px 18px;color:#fff;background:linear-gradient(125deg,#713cff,#a14ce9)}.dsma-fr-profile-header h2{margin:8px 0 0;font-size:22px;color:#fff}.dsma-fr-profile-fields{padding:16px;display:grid;grid-template-columns:1fr;gap:14px}.dsma-fr-profile-field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.dsma-fr-profile-field input{box-sizing:border-box;width:100%;padding:12px;border:1px solid #e4dcfa;border-radius:10px;background:#faf8ff;font:inherit}.dsma-fr-profile-field .dsma-fr-question-en{font-size:12px;margin-bottom:3px}.dsma-fr-profile-field .dsma-fr-question-hi{font-size:13px;color:#70668a}.dsma-fr-step[hidden]{display:none!important}.dsma-fr-answer-panel>input,.dsma-fr-answer-panel>textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #e4dcfa;border-radius:12px;background:#faf8ff;font:inherit}

/* v1.0.1: Profile Questions are a dedicated first page, not a question step. */
#dsma-fr-fields > .dsma-fr-profile-page{display:block;width:100%;box-sizing:border-box;margin:0 0 16px;border-radius:18px;background:#fff;position:relative}
#dsma-fr-fields > .dsma-fr-profile-page[hidden]{display:none!important}
#dsma-fr-fields > .dsma-fr-profile-page .dsma-fr-profile-fields{display:flex;flex-direction:column;gap:16px}
#dsma-fr-fields > .dsma-fr-profile-page .dsma-fr-profile-field{display:block;width:100%}

/* v1.0.4: enforce single-page visibility even when theme CSS overrides the HTML hidden attribute. */
#dsma-fr-fields > [hidden]{display:none!important;visibility:hidden!important}
#dsma-fr-fields > .dsma-fr-contact-card:not([hidden]){display:block!important}
#dsma-fr-fields > .dsma-fr-step:not([hidden]){display:block!important}

/* v1.0.8: Contact card header follows the primary question card's gradient hero style. */
#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-hero{min-height:0;display:block;padding:24px 22px 22px;margin:0;background:var(--dsma-fr-gradient,linear-gradient(125deg,#713cff 0%,#8b45f6 55%,#f044b5 100%));border-radius:17px 17px 0 0;overflow:hidden;position:relative}
#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-hero:before{content:"";position:absolute;width:155px;height:155px;border-radius:50%;right:-65px;top:-45px;background:rgba(255,255,255,.12);box-shadow:0 0 0 20px rgba(255,255,255,.08)}
#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-hero:after{content:"";position:absolute;width:105px;height:105px;border-radius:50%;left:-30px;bottom:-40px;background:rgba(255,255,255,.08);filter:blur(12px)}
#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-title{position:relative;z-index:1;margin:10px 0 0;color:#fff;font-size:clamp(24px,5.5vw,32px);line-height:1.2;font-weight:800}
#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-description{position:relative;z-index:1;margin:10px 0 0;color:rgba(255,255,255,.94);font-size:13px;line-height:1.55;max-width:46ch}
@media(min-width:600px){#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-hero{padding:28px 28px 24px}}

/* Complete selectable themes: palette, typography, answer controls and buttons. */
.dsma-fr-form.dsma-fr-theme-modern{--dsma-theme-accent:#7040f5;--dsma-theme-soft:#f3efff;--dsma-theme-border:#ded2ff;--dsma-theme-ink:#171525;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.dsma-fr-form.dsma-fr-theme-ocean{--dsma-fr-gradient:linear-gradient(125deg,#0072ff,#00c6ff);--dsma-theme-accent:#0072c6;--dsma-theme-soft:#eaf8ff;--dsma-theme-border:#b8e7fa;--dsma-theme-ink:#123047;font-family:"Segoe UI",sans-serif}
.dsma-fr-form.dsma-fr-theme-sunset{--dsma-fr-gradient:linear-gradient(125deg,#ff512f,#dd2476);--dsma-theme-accent:#e13c55;--dsma-theme-soft:#fff0ed;--dsma-theme-border:#ffd0c8;--dsma-theme-ink:#46202b;font-family:Verdana,sans-serif}
.dsma-fr-form.dsma-fr-theme-forest{--dsma-fr-gradient:linear-gradient(125deg,#134e5e,#71b280);--dsma-theme-accent:#237b61;--dsma-theme-soft:#edf8f1;--dsma-theme-border:#c7e5d2;--dsma-theme-ink:#183c31;font-family:Georgia,serif}
.dsma-fr-form.dsma-fr-theme-berry{--dsma-fr-gradient:linear-gradient(125deg,#8e2de2,#ff6a88);--dsma-theme-accent:#a13bc1;--dsma-theme-soft:#fff0fa;--dsma-theme-border:#f2c9ed;--dsma-theme-ink:#442044;font-family:Trebuchet MS,sans-serif}
.dsma-fr-form.dsma-fr-theme-minimal{--dsma-fr-gradient:linear-gradient(125deg,#334155,#94a3b8);--dsma-theme-accent:#334155;--dsma-theme-soft:#f1f5f9;--dsma-theme-border:#cbd5e1;--dsma-theme-ink:#0f172a;font-family:Arial,sans-serif}
.dsma-fr-form.dsma-fr-theme-midnight{--dsma-fr-gradient:linear-gradient(125deg,#141e30,#4169a1);--dsma-theme-accent:#315b9a;--dsma-theme-soft:#edf2fa;--dsma-theme-border:#c7d5ec;--dsma-theme-ink:#18263e;font-family:"Segoe UI",sans-serif}
.dsma-fr-form.dsma-fr-theme-playful{--dsma-fr-gradient:linear-gradient(125deg,#ff6a00,#ee0979);--dsma-theme-accent:#ee3970;--dsma-theme-soft:#fff3e9;--dsma-theme-border:#ffd5c0;--dsma-theme-ink:#4b2630;font-family:"Trebuchet MS",sans-serif}
.dsma-fr-form[class*="dsma-fr-theme-"]{color:var(--dsma-theme-ink,#171525)}
.dsma-fr-form[class*="dsma-fr-theme-"] .dsma-fr-answer-panel{background:var(--dsma-theme-soft,#fff)}
.dsma-fr-form[class*="dsma-fr-theme-"] .dsma-fr-option,.dsma-fr-form[class*="dsma-fr-theme-"] .dsma-fr-star-option{border-color:var(--dsma-theme-border,#e9e2ff);background:var(--dsma-theme-soft,#faf8ff)}
.dsma-fr-form[class*="dsma-fr-theme-"] .dsma-fr-option:has(input:checked),.dsma-fr-form[class*="dsma-fr-theme-"] .dsma-fr-star-option:has(input:checked){border-color:var(--dsma-theme-accent,#7040f5);box-shadow:0 0 0 1px var(--dsma-theme-accent,#7040f5)}
.dsma-fr-form[class*="dsma-fr-theme-"] .dsma-fr-option-letter,.dsma-fr-form[class*="dsma-fr-theme-"] .dsma-fr-info-icon{color:var(--dsma-theme-accent,#7040f5)}
.dsma-fr-form[class*="dsma-fr-theme-"] .dsma-fr-next{background:var(--dsma-theme-accent,#7040f5);border-radius:var(--dsma-button-radius,12px);box-shadow:0 5px 12px color-mix(in srgb,var(--dsma-theme-accent,#7040f5) 22%,transparent)}
.dsma-fr-form[class*="dsma-fr-theme-"] .dsma-fr-back{color:var(--dsma-theme-accent,#7040f5);border-color:var(--dsma-theme-border,#ded2ff);border-radius:var(--dsma-button-radius,12px)}
.dsma-fr-form.dsma-fr-theme-minimal .dsma-fr-next,.dsma-fr-form.dsma-fr-theme-minimal .dsma-fr-back{border-radius:5px;box-shadow:none}
.dsma-fr-form.dsma-fr-theme-playful .dsma-fr-next,.dsma-fr-form.dsma-fr-theme-playful .dsma-fr-back{border-radius:22px}

/* Approved flat bilingual template — replaces all selectable visual themes. */
.dsma-fr-wrap{max-width:620px;margin:16px auto;padding:0 16px;color:#101828;font-family:Arial,"Noto Sans Devanagari","Segoe UI",sans-serif}
.dsma-fr-form,.dsma-fr-form[class*="dsma-fr-theme-"]{background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#101828!important;font-family:Arial,"Noto Sans Devanagari","Segoe UI",sans-serif!important;padding:0!important;overflow:visible!important}
.dsma-fr-fields{padding:0!important}
.dsma-fr-hero{display:block!important;position:relative!important;min-height:0!important;padding:0!important;margin:0!important;color:#101828!important;background:#fff!important;overflow:visible!important}
.dsma-fr-hero:before,.dsma-fr-hero:after,.dsma-fr-orb,.dsma-fr-eyebrow,.dsma-fr-visit,.dsma-fr-progress-wrap,.dsma-fr-progress-track,.dsma-fr-progress-fill,.dsma-fr-progress-count{display:none!important;content:none!important}
.dsma-fr-question-count{font-size:12px;line-height:1.4;color:#64748b;margin:0 0 24px;font-weight:400}
.dsma-fr-title-block{margin:0!important;padding:0!important;position:static!important}
.dsma-fr-question-hi{font-size:clamp(27px,6vw,34px)!important;line-height:1.35!important;letter-spacing:0!important;font-weight:700!important;color:#101828!important;margin:0 0 8px!important;overflow-wrap:anywhere}
.dsma-fr-question-en{font-size:14px!important;line-height:1.5!important;font-weight:400!important;color:#64748b!important;margin:0!important;opacity:1!important}
.dsma-fr-required{display:inline-block;margin-top:5px;font-size:11px;color:#64748b!important}
.dsma-fr-separator{height:1px;background:#d9e0e8;margin:28px 0 18px;width:100%}
.dsma-fr-answer-panel{position:static!important;background:#fff!important;border:0!important;border-top:0!important;border-radius:0!important;margin:0!important;padding:0!important;box-shadow:none!important}
.dsma-fr-answer-heading{display:none!important}
.dsma-fr-hint{display:block!important;background:transparent!important;color:#64748b!important;border-radius:0!important;padding:0!important;margin:0 0 12px!important;font-size:12px!important;line-height:1.4!important}
.dsma-fr-info-icon,.dsma-fr-tap-hint,.dsma-fr-option-letter{display:none!important}
.dsma-fr-options{display:flex;flex-direction:column;gap:10px}
.dsma-fr-option{display:flex;align-items:center;gap:10px;min-height:36px;padding:4px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer}
.dsma-fr-option input{position:static!important;opacity:1!important;pointer-events:auto!important;appearance:auto;margin:0;width:18px;height:18px;accent-color:#475569;flex:0 0 18px}
.dsma-fr-option-text{font-size:16px!important;line-height:1.45!important;font-weight:400!important;color:#101828!important}
.dsma-fr-stars{display:flex;justify-content:flex-start;gap:12px;padding:2px 0 0!important}
.dsma-fr-star-option{position:relative;display:flex;align-items:center;justify-content:center;flex:0 1 42px;min-height:42px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#b7bec8!important;font-size:36px!important;line-height:1;cursor:pointer}
.dsma-fr-star-option input{position:absolute!important;opacity:0!important;pointer-events:none!important}
.dsma-fr-star-option:has(input:checked){color:#f5a623!important;background:transparent!important;border:0!important;box-shadow:none!important}
.dsma-fr-answer-panel textarea,.dsma-fr-answer-panel>input{display:block;box-sizing:border-box;width:100%;min-height:112px;padding:12px 0!important;border:0!important;border-bottom:1px solid #cbd5e1!important;border-radius:0!important;background:#fff!important;font:inherit;font-size:16px!important;color:#101828;resize:vertical;outline-color:#64748b}
.dsma-fr-answer-panel>input{min-height:42px}
.dsma-fr-answer-panel textarea::placeholder,.dsma-fr-answer-panel>input::placeholder{color:#94a3b8}
.dsma-fr-char-count{text-align:right;color:#64748b;font-size:12px;margin-top:5px}
.dsma-fr-step-nav{display:flex;justify-content:flex-start;gap:12px;padding:26px 0 0!important}
.dsma-fr-back,.dsma-fr-next{min-height:0!important;border-radius:0!important;padding:6px 0!important;font:inherit;font-size:14px!important;font-weight:400!important;cursor:pointer;box-shadow:none!important}
.dsma-fr-back{background:transparent!important;color:#64748b!important;border:0!important}
.dsma-fr-next{background:#101828!important;color:#fff!important;border:0!important;padding:10px 16px!important;border-radius:3px!important}
.dsma-fr-next:disabled{opacity:.6;cursor:wait}
.dsma-fr-profile-card,.dsma-fr-profile-header{margin:0!important;background:#fff!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#101828!important}
.dsma-fr-profile-header{padding:0!important}
.dsma-fr-profile-header h2{font-size:28px!important;color:#101828!important}
#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-hero{background:#fff!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-hero:before,#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-hero:after{display:none!important;content:none!important}
#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-title{color:#101828!important;font-size:28px!important;line-height:1.35!important;font-weight:700!important;margin:0!important}
#dsma-fr-fields > .dsma-fr-contact-card .dsma-fr-profile-description{color:#64748b!important;font-size:13px!important;margin:8px 0 0!important}
.dsma-fr-profile-fields{padding:20px 0!important;gap:16px!important}
.dsma-fr-profile-field label{font-size:13px!important;font-weight:400!important;color:#64748b!important;margin-bottom:5px!important}
.dsma-fr-profile-field input{border:0!important;border-bottom:1px solid #cbd5e1!important;border-radius:0!important;background:#fff!important;padding:10px 0!important;font-size:16px!important}
.dsma-fr-message{margin:16px 0!important;color:#475569!important;font-size:13px}
@media(max-width:420px){.dsma-fr-wrap{margin:12px auto;padding:0 18px}.dsma-fr-question-hi{font-size:28px!important}.dsma-fr-separator{margin:24px 0 16px}.dsma-fr-stars{gap:8px}.dsma-fr-star-option{font-size:34px!important;flex-basis:38px}}


/* v1.1.8 bug fixes: force white flat surfaces over legacy/theme selectors. */
html body .dsma-fr-wrap,
html body .dsma-fr-wrap #dsma-fr-form,
html body #dsma-fr-form.dsma-fr-form,
html body #dsma-fr-form #dsma-fr-fields,
html body #dsma-fr-form #dsma-fr-fields > .dsma-fr-step,
html body #dsma-fr-form #dsma-fr-fields > .dsma-fr-step > .dsma-fr-hero,
html body #dsma-fr-form #dsma-fr-fields > .dsma-fr-step > .dsma-fr-answer-panel,
html body #dsma-fr-form .dsma-fr-profile-card,
html body #dsma-fr-form .dsma-fr-profile-fields,
html body #dsma-fr-form .dsma-fr-profile-field,
html body #dsma-fr-form .dsma-fr-option,
html body #dsma-fr-form .dsma-fr-star-option {
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
}
html body #dsma-fr-form .dsma-fr-star-option { color: #b7bec8 !important; }
html body #dsma-fr-form .dsma-fr-star-option.is-highlighted { color: #f5a623 !important; }
html body #dsma-fr-form .dsma-fr-star-option:has(input:checked) { color: #f5a623 !important; }
