/* Scoped styles keep the native Zoho forms consistent with the theme. */
.executel-form-panel{min-width:0;padding:32px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(145deg,rgba(79,140,255,.06),transparent 50%),var(--bg2);box-shadow:0 20px 60px rgba(0,0,0,.16)}
.executel-form-panel h2{font-size:clamp(1.45rem,3vw,1.9rem);line-height:1.25;margin-bottom:10px}
.executel-form-intro{color:var(--muted);font-size:.9rem;margin-bottom:28px}
.executel-form{display:grid;gap:20px}
.executel-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.executel-field{min-width:0;display:grid;gap:8px}
.executel-field label{font-size:.9rem;font-weight:600}
.executel-field label>span,.executel-required{color:var(--accent)}
.executel-form small{color:var(--muted);font-size:.8rem;font-weight:400}
.executel-field input,.executel-field textarea{width:100%;min-width:0;min-height:48px;border:1px solid rgba(154,165,199,.32);border-radius:12px;padding:12px 14px;background:var(--bg);color:var(--text);font:inherit;font-size:1rem;line-height:1.5;transition:border-color .2s,box-shadow .2s;color-scheme:dark}
.executel-field textarea{resize:vertical;min-height:130px}
.executel-field input:hover,.executel-field textarea:hover{border-color:var(--muted)}
.executel-field input:focus,.executel-field textarea:focus{outline:2px solid var(--brand);outline-offset:2px;border-color:var(--brand);box-shadow:0 0 0 5px rgba(79,140,255,.12)}
.executel-field input:user-invalid,.executel-field textarea:user-invalid{border-color:#fda4af}
.executel-form-checks{display:grid;gap:6px}
.executel-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;cursor:pointer;font-size:.88rem;line-height:1.65;color:var(--muted);padding:6px 0}
.executel-check>span{min-width:0;overflow-wrap:anywhere}
.executel-check a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.executel-check input{flex:0 0 auto;width:20px;height:20px;margin-top:2px;accent-color:var(--brand);cursor:pointer;color-scheme:dark}
.executel-check input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.executel-form-submit{justify-content:center;width:100%;min-height:50px}
.executel-form-submit:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.executel-form-panel+.form-fallback{margin-top:16px}
.split:has(.executel-form-panel){align-items:start}
@media(min-width:961px){.split:has(.executel-zoho-embed){grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);gap:40px}}
@media(min-width:961px){.executel-form-panel:has(.executel-zoho-embed)>h2,.executel-form-panel:has(.executel-zoho-embed)>.executel-form-intro{text-align:center}}
@media(max-width:560px){.executel-form-panel{padding:24px 18px}.executel-form-row{grid-template-columns:1fr;gap:20px}}
@media(prefers-reduced-motion:reduce){.executel-field input,.executel-field textarea{transition:none}}

/* Show the actual Zoho result within the original form panel. */
.executel-form[hidden],.executel-form-response[hidden],.executel-form-intro[hidden]{display:none!important}
.executel-form-response{min-width:0}
.executel-form-status{color:var(--muted);margin:0 0 18px;font-size:.95rem}
.executel-form-response-frame{display:block;width:100%;height:460px;max-width:100%;border:1px solid var(--line);border-radius:14px;background:var(--bg);color-scheme:normal}
.executel-form-submit:disabled{opacity:.65;cursor:wait}
@media(max-width:560px){.executel-form-response-frame{height:500px}}

.executel-form-status[hidden]{display:none}

/* Keep the hosted Zoho form inside the existing Executel form panel. */
.executel-zoho-embed{min-width:0;width:100%}
.executel-form-panel:has(.executel-zoho-embed)>h2{margin-bottom:6px}
.executel-form-panel:has(.executel-zoho-embed)>.executel-form-intro{margin-bottom:10px}
.executel-zoho-hosted-frame{display:block;width:100%;max-width:100%;border:0;color-scheme:normal}
html[data-theme="light"] .executel-form-panel:has(.executel-zoho-embed){background:#0e1429}
html[data-theme="light"] .executel-form-panel:has(.executel-zoho-embed)>h2{color:#fff}
html[data-theme="light"] .executel-form-panel:has(.executel-zoho-embed)>.executel-form-intro{color:#dbe4f8}
