@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

/* Emardomi Form Builder — Premium Full Width Frontend v1.1 */
.emf-stage{
  --emf-accent:#1f5eff;
  --emf-accent-2:#6f4cff;
  --emf-ink:#0c1c35;
  --emf-muted:#718096;
  --emf-line:#e6ebf3;
  --emf-soft:#f5f8fd;
  --emf-danger:#e54861;
  --emf-success:#12a36d;
  --emf-warning:#d98c18;
  --emf-radius:30px;
  --emf-max:1520px;
  position:relative;
  isolation:isolate;
  width:100vw;
  max-width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:clamp(28px,4vw,70px) clamp(14px,3vw,42px);
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 8%,rgba(55,111,255,.14),transparent 29%),
    radial-gradient(circle at 6% 74%,rgba(111,76,255,.10),transparent 26%),
    linear-gradient(180deg,#f8fbff 0%,#eef4fb 100%);
  color:var(--emf-ink);
  font-family:'Vazirmatn','Vazir',Tahoma,Arial,sans-serif !important;
  line-height:1.8;
}
.emf-stage *{box-sizing:border-box;font-family:inherit}
.emf-stage button,.emf-stage input,.emf-stage textarea,.emf-stage select{font-family:inherit!important}
.emf-stage__pattern{position:absolute;inset:0;z-index:-3;opacity:.45;background-image:linear-gradient(rgba(20,51,100,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(20,51,100,.025) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,#000,transparent 82%)}
.emf-stage__orb{position:absolute;border-radius:50%;filter:blur(3px);z-index:-2;pointer-events:none}
.emf-stage__orb--one{width:520px;height:520px;top:-290px;right:-120px;background:radial-gradient(circle,rgba(34,104,255,.16),rgba(34,104,255,0) 70%)}
.emf-stage__orb--two{width:460px;height:460px;left:-160px;bottom:-240px;background:radial-gradient(circle,rgba(112,76,255,.13),rgba(112,76,255,0) 70%)}

.emf-shell{width:min(var(--emf-max),100%);margin:0 auto;border:1px solid rgba(255,255,255,.86);border-radius:var(--emf-radius);background:rgba(255,255,255,.82);box-shadow:0 32px 80px rgba(44,70,114,.16),0 2px 12px rgba(44,70,114,.06);backdrop-filter:blur(22px);overflow:hidden;position:relative}
.emf-shell:before{content:"";position:absolute;inset:0 0 auto;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.9),transparent)}

/* Hero */
.emf-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:42px;align-items:center;padding:clamp(32px,4.3vw,64px);background:linear-gradient(128deg,#0d2142 0%,#16386f 55%,#2459af 100%);color:#fff;overflow:hidden}
.emf-hero:before{content:"";position:absolute;width:430px;height:430px;border-radius:50%;left:-100px;top:-210px;background:radial-gradient(circle,rgba(255,255,255,.16),transparent 68%)}
.emf-hero:after{content:"";position:absolute;inset:auto 0 0;height:70px;background:linear-gradient(to top,rgba(0,0,0,.1),transparent);pointer-events:none}
.emf-hero__copy{position:relative;z-index:2;max-width:850px}
.emf-eyebrow{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:600;color:#cfe0ff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:8px 13px;margin-bottom:17px}
.emf-eyebrow span{width:7px;height:7px;border-radius:50%;background:#6be6b6;box-shadow:0 0 0 5px rgba(107,230,182,.12),0 0 22px rgba(107,230,182,.65)}
.emf-hero h2{margin:0 0 12px!important;color:#fff!important;font-size:clamp(28px,3.1vw,46px)!important;line-height:1.45!important;font-weight:800!important;letter-spacing:-.02em!important}
.emf-hero p{margin:0!important;max-width:760px;color:#d9e5f8!important;font-size:14px!important;line-height:2!important;font-weight:400}
.emf-hero__tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.emf-hero__tags span{display:inline-flex;align-items:center;min-height:34px;padding:0 13px;border-radius:10px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);font-size:11px;color:#eef5ff}
.emf-hero__visual{position:relative;min-height:230px;display:grid;place-items:center;z-index:1}
.emf-visual-card{position:absolute;width:min(320px,90%);height:190px;border-radius:24px;border:1px solid rgba(255,255,255,.16);box-shadow:0 26px 55px rgba(2,13,35,.26)}
.emf-visual-card--back{transform:translate(-26px,20px) rotate(-7deg);background:linear-gradient(150deg,rgba(99,79,255,.72),rgba(23,62,132,.62));opacity:.68}
.emf-visual-card--front{transform:translate(12px,-6px) rotate(3deg);padding:24px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(236,243,255,.9));border-color:rgba(255,255,255,.65)}
.emf-visual-card__top{display:flex;gap:6px;direction:ltr;margin-bottom:22px}.emf-visual-card__top span{width:7px;height:7px;border-radius:50%;background:#cbd7e7}.emf-visual-card__top span:first-child{background:#2c66ed}
.emf-visual-card__line{height:10px;width:72%;border-radius:999px;background:#dfe7f2;margin:12px 0}.emf-visual-card__line--lg{width:91%;height:14px;background:#cbd8ec}
.emf-visual-card__button{width:90px;height:32px;border-radius:10px;margin-top:22px;margin-right:auto;background:linear-gradient(135deg,#1f5eff,#654bfa);box-shadow:0 10px 22px rgba(31,94,255,.22)}
.emf-visual-badge{position:absolute;z-index:3;left:8%;bottom:14%;display:grid;place-items:center;width:58px;height:58px;border-radius:19px;background:#fff;color:#12a36d;font-size:26px;font-weight:800;box-shadow:0 18px 38px rgba(5,24,59,.28);border:1px solid #e7edf6}

/* Workspace */
.emf-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);gap:0;min-height:680px;background:#fff}
.emf-sidebar{position:relative;padding:34px 26px 30px;background:linear-gradient(180deg,#f7faff 0%,#f2f6fc 100%);border-left:1px solid var(--emf-line)}
.emf-sidebar__head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:16px}.emf-sidebar__caption{font-size:12px;color:#7d8ba1;font-weight:600}.emf-sidebar__head strong{font-size:13px;color:#16386f;font-weight:800}
.emf-progress{margin-bottom:28px}.emf-progress__track{height:6px;border-radius:99px;background:#dfe7f3;overflow:hidden;box-shadow:inset 0 1px 2px rgba(20,49,95,.08)}.emf-progress__track span{display:block;width:25%;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--emf-accent),var(--emf-accent-2));box-shadow:0 0 18px rgba(31,94,255,.26);transition:width .35s ease}.emf-progress__meta{display:flex;justify-content:space-between;gap:12px;margin-top:8px;color:#8996a9;font-size:10px}.emf-progress__meta [data-emf-save-state]{color:#1e7b63;font-weight:600}
.emf-stepper{display:flex;flex-direction:column;gap:9px;position:relative}.emf-stepper:before{content:"";position:absolute;right:19px;top:40px;bottom:40px;width:1px;background:linear-gradient(#cbd7e7,#dfe7f1)}
.emf-stepper__item{position:relative;z-index:1;width:100%;display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center;text-align:right;border:1px solid transparent!important;background:transparent!important;border-radius:16px!important;padding:10px!important;opacity:.67;cursor:default!important;box-shadow:none!important;color:inherit!important}
.emf-stepper__item.is-active{opacity:1;background:#fff!important;border-color:#e4eaf3!important;box-shadow:0 10px 28px rgba(37,70,116,.09)!important}.emf-stepper__item.is-done{opacity:.9}.emf-stepper__item.is-done .emf-stepper__index{background:#e9f8f2;color:#0f9764;border-color:#c8ecde}
.emf-stepper__index{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#fff;border:1px solid #dce4ef;color:#788aa4;font-size:11px;font-weight:800;box-shadow:0 4px 12px rgba(35,65,109,.05)}.emf-stepper__item.is-active .emf-stepper__index{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--emf-accent),var(--emf-accent-2));box-shadow:0 10px 25px rgba(31,94,255,.25)}
.emf-stepper__text{min-width:0;display:block}.emf-stepper__text strong{display:block;color:#283b58;font-size:12px;line-height:1.65;font-weight:700}.emf-stepper__text small{display:block;color:#93a0b2;font-size:9.5px;line-height:1.65;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emf-stepper__item.is-active .emf-stepper__text strong{color:#173968}
.emf-sidebar__security{display:flex;gap:11px;align-items:flex-start;margin-top:30px;padding:15px;border-radius:16px;background:#eef8f4;border:1px solid #d7eee5}.emf-security-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:31px;border-radius:10px;background:#d8f2e8;color:#0f9364;font-size:15px;font-weight:900}.emf-sidebar__security strong{display:block;font-size:11px;color:#245846;margin-bottom:2px}.emf-sidebar__security small{display:block;font-size:9.5px;line-height:1.8;color:#688b7e}

.emf-form-panel{min-width:0;padding:clamp(26px,3.2vw,48px);background:#fff}
.emf-form{max-width:100%;margin:0}
.emf-section[hidden],.emf-field[hidden]{display:none!important}
.emf-section{animation:emfFadeIn .32s ease}
.emf-section__head{display:flex;align-items:flex-start;gap:16px;padding-bottom:22px;margin-bottom:28px;border-bottom:1px solid #edf1f6}
.emf-section__number{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,#edf3ff,#f3efff);border:1px solid #dce6fb;color:#2b62db;font-size:12px;font-weight:900;box-shadow:inset 0 1px 0 #fff}
.emf-section__titles span{display:block;color:#7890b3;font-size:10px;font-weight:700;margin-bottom:2px}.emf-section__titles h3{margin:0 0 4px!important;color:#0e2b54!important;font-size:20px!important;line-height:1.7!important;font-weight:800!important}.emf-section__titles p{margin:0!important;color:#8793a5!important;font-size:12px!important;line-height:1.9!important}

/* Fields */
.emf-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px 18px}.emf-field{grid-column:span 12;position:relative;min-width:0}.emf-width--half{grid-column:span 6}
.emf-label{display:flex;align-items:center;gap:4px;margin:0 0 8px!important;color:#213653!important;font-size:12px!important;line-height:1.7!important;font-weight:700!important}.emf-label span{color:#e85268!important}.emf-description{margin:-2px 0 8px;color:#8897aa;font-size:10px;line-height:1.8}
.emf-field input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=range]),.emf-field textarea,.emf-field select{width:100%;min-height:54px;margin:0!important;border:1px solid #dfe6ef!important;border-radius:14px!important;background:#fbfcfe!important;color:#152a48!important;outline:0!important;padding:12px 15px!important;font-family:inherit!important;font-size:13px!important;font-weight:500!important;line-height:1.7!important;box-shadow:0 1px 2px rgba(27,52,89,.02),inset 0 1px 0 #fff!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease!important}
.emf-field textarea{min-height:128px;resize:vertical}.emf-field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#7890ad 50%),linear-gradient(135deg,#7890ad 50%,transparent 50%);background-position:18px calc(50% - 3px),13px calc(50% - 3px);background-size:5px 5px,5px 5px;background-repeat:no-repeat;padding-left:38px!important}
.emf-field input::placeholder,.emf-field textarea::placeholder{color:#a0acbc!important;opacity:1}.emf-field input:hover,.emf-field textarea:hover,.emf-field select:hover{border-color:#cbd7e7!important;background:#fff!important}.emf-field input:focus,.emf-field textarea:focus,.emf-field select:focus{border-color:rgba(31,94,255,.62)!important;background:#fff!important;box-shadow:0 0 0 4px rgba(31,94,255,.08),0 12px 30px rgba(33,64,107,.07)!important}
.emf-help{display:block;margin-top:7px;color:#8a99ac!important;font-size:9.5px;line-height:1.8}.emf-error{min-height:18px;padding-top:4px;color:var(--emf-danger);font-size:10px}.emf-field.has-error input,.emf-field.has-error textarea,.emf-field.has-error select{border-color:rgba(229,72,97,.7)!important;background:#fff9fa!important;box-shadow:0 0 0 3px rgba(229,72,97,.07)!important}

.emf-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.emf-option,.emf-consent{position:relative;display:flex;align-items:flex-start;gap:10px;min-height:54px;border:1px solid #e0e6ef;border-radius:15px;background:#fbfcfe;padding:13px 14px;cursor:pointer;color:#344861!important;font-size:11px;line-height:1.9;transition:all .18s ease}.emf-option:hover,.emf-consent:hover{border-color:#c8d8f3;background:#f7faff;transform:translateY(-1px);box-shadow:0 8px 20px rgba(41,73,118,.055)}.emf-option input,.emf-consent input{position:absolute;opacity:0;pointer-events:none}.emf-option__check{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;margin-top:1px;border:1.5px solid #c4cfdd;border-radius:6px;background:#fff;transition:all .18s ease}.emf-option__check:after{content:"✓";opacity:0;transform:scale(.4);color:#fff;font-size:11px;font-weight:900;transition:.18s}.emf-option:has(input:checked),.emf-consent:has(input:checked){border-color:rgba(31,94,255,.42);background:#f3f7ff;box-shadow:0 9px 24px rgba(31,94,255,.08)}.emf-option input:checked+.emf-option__check,.emf-consent input:checked+.emf-option__check{border-color:var(--emf-accent);background:linear-gradient(135deg,var(--emf-accent),var(--emf-accent-2));box-shadow:0 7px 16px rgba(31,94,255,.2)}.emf-option input:checked+.emf-option__check:after,.emf-consent input:checked+.emf-option__check:after{opacity:1;transform:scale(1)}
.emf-field--radio .emf-option__check{border-radius:50%}.emf-field--radio .emf-option__check:after{content:"";width:7px;height:7px;border-radius:50%;background:#fff}

/* Upload */
.emf-upload{position:relative}.emf-upload>input[type=file]{position:absolute;inset:0;width:100%;height:116px;opacity:0;cursor:pointer;z-index:2}.emf-upload__surface{min-height:116px;border:1.5px dashed #bfcfe6;border-radius:18px;background:linear-gradient(135deg,#f8fbff,#f5f7ff);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:18px;transition:.18s}.emf-upload:hover .emf-upload__surface{border-color:#799be6;background:#f3f7ff}.emf-upload__surface:before{content:"↑";display:grid;place-items:center;width:38px;height:38px;border-radius:12px;margin-bottom:8px;background:#eaf0ff;color:#3264d9;font-size:19px;font-weight:800}.emf-upload__surface strong{color:#29415f;font-size:11px}.emf-upload__surface small{color:#8999ad;margin-top:3px;font-size:9.5px}.emf-upload__list{margin-top:9px}.emf-upload-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;padding:9px 10px;border:1px solid #e7edf4;border-radius:10px;background:#fafcff;color:#74869c;font-size:9.5px;margin-top:6px}.emf-upload-row.is-success{color:#14825e;background:#f3fbf8;border-color:#d9efe7}.emf-upload-row.is-error{color:#bd3f55;background:#fff7f8;border-color:#f2d8dd}.emf-upload-progress{grid-column:1/-1;height:3px;border-radius:9px;background:#e5eaf1;overflow:hidden}.emf-upload-progress span{display:block;width:0;height:100%;background:var(--emf-accent);transition:width .15s}.emf-upload-row__actions{display:flex;gap:4px}.emf-upload-remove,.emf-upload-replace{border:0;background:transparent;font-family:inherit;font-size:9px;cursor:pointer;padding:4px}.emf-upload-remove{color:#d95168}.emf-upload-replace{color:#2a65da}

/* Buttons */
.emf-actions{display:flex;align-items:center;gap:10px;margin-top:30px;padding-top:22px;border-top:1px solid #edf1f5}.emf-actions__spacer{flex:1}.emf-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:48px;border-radius:13px!important;padding:0 21px!important;border:1px solid transparent!important;font-family:inherit!important;font-size:11px!important;font-weight:800!important;line-height:1!important;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,opacity .18s ease}.emf-btn:hover{transform:translateY(-1px)}.emf-btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.emf-btn--primary{color:#fff!important;background:linear-gradient(135deg,var(--emf-accent),var(--emf-accent-2))!important;box-shadow:0 12px 25px rgba(31,94,255,.20)!important}.emf-btn--primary:hover{box-shadow:0 15px 30px rgba(31,94,255,.26)!important}.emf-btn--soft{color:#2859c2!important;background:#f0f5ff!important;border-color:#d8e3fb!important}.emf-btn--ghost{color:#64758a!important;background:#fff!important;border-color:#dde5ef!important}.emf-btn--submit{min-width:145px}

/* Supporting components */
.emf-global-message,.emf-notice,.emf-message,.emf-status{border-radius:16px;border:1px solid #dde5ee;background:#fff;padding:14px 16px;color:#30465f;font-size:11px}.emf-global-message{margin-top:14px}.emf-global-message.is-success{border-color:#cfeadd;background:#f4fbf8;color:#167555}.emf-global-message.is-error,.emf-notice--error{border-color:#f0d0d7;background:#fff6f8;color:#b33c50}.emf-notice{width:min(var(--emf-max),100%);margin:22px auto;background:#fff}.emf-notice--warning{border-color:#f0dfbd;background:#fffbf2;color:#91631d}.emf-notice span{display:block;margin-top:4px}
.emf-status{margin:36px;display:flex;align-items:center;gap:16px;padding:26px;border-color:#dce7f4;background:linear-gradient(135deg,#f7fbff,#fff);box-shadow:0 12px 32px rgba(38,70,112,.07)}.emf-status__icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:16px;background:#e4f7ef;color:#13946a;font-size:22px;font-weight:900}.emf-status__copy span{font-size:10px;color:#8393a6}.emf-status__copy h3{margin:2px 0!important;color:#193a66!important;font-size:18px!important}.emf-status__copy p{margin:0!important;color:#8795a8!important;font-size:10px!important}
.emf-readonly-values{margin:0 36px 24px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.emf-readonly-values>div{padding:14px;border:1px solid #e6ebf2;border-radius:13px;background:#fbfcfe}.emf-readonly-values span{display:block;color:#8d9aac;font-size:9px}.emf-readonly-values strong{display:block;margin-top:3px;color:#243a57;font-size:11px}.emf-messages{margin:0 36px 24px}.emf-message{margin-top:8px}.emf-message strong{color:#275ec8}.emf-message p{margin:4px 0!important;color:#3b526c!important}.emf-message small{color:#9aa6b5;font-size:9px}.emf-reply{margin:0 36px 36px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.emf-reply textarea{min-height:85px;border:1px solid #dde5ee;border-radius:13px;background:#fbfcfe;color:#243a55;padding:11px 13px;resize:vertical}

.emf-modal[hidden]{display:none!important}.emf-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:18px}.emf-modal__backdrop{position:absolute;inset:0;background:rgba(6,19,40,.55);backdrop-filter:blur(8px)}.emf-modal__panel{position:relative;width:min(460px,100%);border:1px solid rgba(255,255,255,.9);border-radius:22px;background:#fff;box-shadow:0 35px 100px rgba(6,22,48,.28);padding:28px;color:#203853}.emf-modal__panel .emf-kicker{display:inline-block;color:#3d6dd6;background:#eff4ff;border-radius:999px;padding:5px 10px;font-size:9px;font-weight:700}.emf-modal__panel h3{margin:10px 0 7px!important;color:#16365f!important;font-size:18px!important}.emf-modal__panel p{color:#7c8da1!important;font-size:11px!important;line-height:1.9!important}.emf-modal__actions{display:flex;gap:8px;justify-content:flex-end;margin-top:18px}

/* Special fields */
.emf-rating{display:flex;direction:ltr;justify-content:flex-end;gap:5px}.emf-rating input{position:absolute;opacity:0}.emf-rating span{font-size:28px;color:#d2dbe8;cursor:pointer;transition:.15s}.emf-rating label:has(input:checked) span,.emf-rating label:hover span{color:#f2b73a;text-shadow:0 5px 14px rgba(242,183,58,.18)}.emf-range{display:flex;align-items:center;gap:12px}.emf-range input{flex:1;accent-color:var(--emf-accent)}.emf-range output{min-width:52px;padding:5px 8px;border:1px solid #dfe6ef;border-radius:9px;background:#f8faff;color:#36516f;text-align:center;font-size:10px}.emf-signature{border:1px solid #dde5ee;border-radius:16px;background:#fbfcfe;padding:8px}.emf-signature canvas{display:block;width:100%;height:180px;border-radius:11px;background:#fff;touch-action:none}.emf-signature__clear{margin-top:8px;border:1px solid #e0e6ef;border-radius:9px;background:#fff;color:#66798f;padding:6px 10px;font-family:inherit;font-size:9px;cursor:pointer}.emf-captcha{display:flex;align-items:center;gap:10px}.emf-captcha span{flex:0 0 auto;border:1px solid #dce5ef;border-radius:12px;background:#f3f7fc;color:#26466f;padding:13px 15px;font-weight:800}.emf-divider{border:0;border-top:1px solid #e8edf3}.emf-spacer{height:18px}.emf-content-heading{color:#193a65!important;font-size:16px!important}.emf-content-text{color:#73849a!important}.emf-inline-alert{border:1px solid #d8e5f8;border-radius:13px;background:#f4f8ff;padding:12px 14px;color:#365b8b;font-size:11px}.emf-field-group-label{border-right:3px solid var(--emf-accent);padding:4px 11px}.emf-field-group-label strong{display:block;color:#203a5c;font-size:11px}.emf-field-group-label span{display:block;color:#8a99ab;font-size:9px;margin-top:2px}
.emf-input-wrap{display:flex;align-items:stretch;border-radius:14px}.emf-input-wrap>input{flex:1;min-width:0}.emf-input-prefix,.emf-input-suffix,.emf-input-icon{display:grid;place-items:center;min-width:42px;padding:0 10px;border:1px solid #dfe6ef;background:#f5f8fc;color:#58708e;font-size:10px}.emf-input-prefix,.emf-input-icon{border-left:0;border-radius:0 14px 14px 0}.emf-input-suffix{border-right:0;border-radius:14px 0 0 14px}.emf-input-wrap input{border-radius:0!important}
.emf-camera-preview{position:relative;margin-top:10px;border:1px solid #e0e6ee;border-radius:14px;padding:9px;background:#fafcff}.emf-camera-preview img{display:block;width:100%;max-height:280px;object-fit:contain;border-radius:10px}.emf-camera-preview>div{display:flex;gap:7px;margin-top:8px}

.emf-option:has(input:focus-visible),.emf-consent:has(input:focus-visible){outline:2px solid var(--emf-accent);outline-offset:2px}.emf-btn:focus-visible,.emf-signature__clear:focus-visible,.emf-upload-remove:focus-visible,.emf-upload-replace:focus-visible{outline:2px solid var(--emf-accent);outline-offset:2px}

@keyframes emfFadeIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* Tablets */
@media(max-width:1050px){
  .emf-hero{grid-template-columns:1fr;padding:36px}.emf-hero__visual{display:none}.emf-workspace{grid-template-columns:240px minmax(0,1fr)}.emf-sidebar{padding:26px 18px}.emf-form-panel{padding:30px}.emf-stepper__text small{display:none}
}

/* Mobile */
@media(max-width:760px){
  .emf-stage{padding:14px 8px 26px}.emf-shell{border-radius:22px}.emf-hero{padding:26px 20px;border-radius:0}.emf-hero h2{font-size:25px!important}.emf-hero p{font-size:12px!important}.emf-hero__tags{gap:6px}.emf-hero__tags span{font-size:9.5px;min-height:30px;padding:0 9px}
  .emf-workspace{display:block}.emf-sidebar{border-left:0;border-bottom:1px solid var(--emf-line);padding:18px}.emf-sidebar__head,.emf-sidebar__security{display:none}.emf-progress{margin-bottom:14px}.emf-stepper{display:grid;grid-template-columns:repeat(var(--emf-mobile-steps,4),minmax(0,1fr));gap:6px}.emf-stepper:before{display:none}.emf-stepper__item{display:block!important;padding:6px!important;text-align:center!important}.emf-stepper__index{width:34px;height:34px;margin:0 auto;border-radius:10px}.emf-stepper__text{display:none}.emf-form-panel{padding:22px 16px}.emf-section__head{gap:11px;margin-bottom:22px}.emf-section__number{width:42px;height:42px;flex-basis:42px}.emf-section__titles h3{font-size:17px!important}.emf-width--half{grid-column:span 12}.emf-options{grid-template-columns:1fr}.emf-grid{gap:16px}.emf-field input:not([type=radio]):not([type=checkbox]):not([type=file]):not([type=range]),.emf-field textarea,.emf-field select{min-height:52px;font-size:12px!important}.emf-actions{display:grid;grid-template-columns:1fr 1fr}.emf-actions__spacer{display:none}.emf-btn{width:100%;padding:0 10px!important}.emf-btn--submit{grid-column:1/-1}.emf-status{margin:18px}.emf-readonly-values,.emf-messages,.emf-reply{margin-left:18px;margin-right:18px}.emf-readonly-values{grid-template-columns:1fr}.emf-reply{display:block}.emf-reply .emf-btn{margin-top:8px}.emf-modal__actions{display:grid;grid-template-columns:1fr 1fr}
}

@media(max-width:430px){.emf-hero__tags span:nth-child(3){display:none}.emf-eyebrow{font-size:10px}.emf-stage{padding-inline:4px}.emf-form-panel{padding-inline:13px}.emf-section__titles p{font-size:10px!important}.emf-actions{grid-template-columns:1fr}.emf-btn--submit{grid-column:auto}.emf-captcha{align-items:stretch}.emf-captcha span{display:grid;place-items:center}}

@media(prefers-reduced-motion:reduce){.emf-stage *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* v1.1.1 — submission validation and success feedback */
.emf-status__success{margin:9px 0 8px;padding:10px 12px;border:1px solid #ccebdd;border-radius:12px;background:#f1fbf6;color:#147454;font-size:11px;font-weight:700;line-height:1.9}
.emf-field.has-error{animation:emfFieldErrorPulse .28s ease}.emf-field.has-error .emf-label{color:#b33149!important}.emf-field.has-error .emf-error{font-weight:700}
.emf-global-message.is-error{position:relative;padding-inline-start:42px;font-weight:650;line-height:1.9}.emf-global-message.is-error:before{content:'!';position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e54861;color:#fff;font-size:12px;font-weight:900}
.emf-global-message.is-success{position:relative;padding-inline-start:42px;font-weight:650;line-height:1.9}.emf-global-message.is-success:before{content:'✓';position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#1ca273;color:#fff;font-size:12px;font-weight:900}
@keyframes emfFieldErrorPulse{0%{transform:translateX(0)}33%{transform:translateX(3px)}66%{transform:translateX(-3px)}100%{transform:translateX(0)}}

/* v1.1.3 - persistent submission status / tracking */
.emf-hero__track{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 13px;border-radius:10px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.12);font:inherit;font-size:11px;color:#eef5ff;cursor:pointer;transition:.2s ease}.emf-hero__track:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.25);transform:translateY(-1px)}.emf-hero__track:focus-visible{outline:2px solid #fff;outline-offset:2px}
.emf-status-board{margin:34px clamp(22px,3vw,46px) 42px;border:1px solid #dbe5f2;border-radius:24px;background:linear-gradient(145deg,#fff 0%,#f8fbff 100%);box-shadow:0 22px 65px rgba(28,61,106,.1);padding:clamp(22px,3vw,38px);position:relative;overflow:hidden}.emf-status-board:before{content:"";position:absolute;inset:0 auto auto 0;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(31,94,255,.08),transparent 70%);transform:translate(-35%,-45%);pointer-events:none}.emf-status-board__top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.emf-status-board__badge{display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 13px;border:1px solid #d9e5f3;border-radius:999px;background:#f7faff;color:#2b4a70;font-size:11px;font-weight:800}.emf-status-board__badge>span{width:8px;height:8px;border-radius:50%;background:#f4ad2d;box-shadow:0 0 0 5px rgba(244,173,45,.12)}.emf-status-board__track{appearance:none;border:0;border-radius:12px;min-height:42px;padding:0 16px;background:#eef4ff;color:#1c56c9;font:inherit;font-size:11px;font-weight:800;cursor:pointer;transition:.2s}.emf-status-board__track:hover{background:#e1ebff;transform:translateY(-1px)}.emf-status-board__grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(340px,.7fr);gap:24px;align-items:stretch}.emf-status-board__summary{display:flex;align-items:flex-start;gap:16px;padding:22px;border:1px solid #e2eaf4;border-radius:18px;background:#fff}.emf-status-board__icon{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:18px;background:linear-gradient(145deg,#e9f8f1,#dff4eb);color:#11906a;font-size:23px;font-weight:900;box-shadow:inset 0 0 0 1px #cce9dd}.emf-status-board__summary>div>span{display:block;margin-bottom:3px;color:#8796aa;font-size:10px}.emf-status-board__summary h3{margin:0 0 7px!important;color:#143a69!important;font-size:clamp(20px,2vw,26px)!important;font-weight:900!important}.emf-status-board__summary p{margin:0!important;color:#708198!important;font-size:11px!important;line-height:2!important}.emf-status-board__success{margin-top:12px;padding:10px 12px;border-radius:12px;background:#f0fbf6;border:1px solid #cfeadd;color:#137451;font-size:10px;font-weight:800;line-height:1.9}.emf-status-board__facts{display:grid;grid-template-columns:1fr;gap:8px}.emf-status-board__facts>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 15px;border:1px solid #e1e9f3;border-radius:14px;background:rgba(255,255,255,.8)}.emf-status-board__facts span{color:#8997aa;font-size:9.5px}.emf-status-board__facts strong{color:#213f68;font-size:11px;font-weight:800;direction:ltr;text-align:left}.emf-status-flow{position:relative;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:34px 0 22px;padding-top:12px}.emf-status-flow__line{position:absolute;top:34px;right:8%;left:8%;height:5px;border-radius:20px;background:#e8edf4;overflow:hidden;z-index:0}.emf-status-flow__line span{display:block;width:var(--emf-status-progress,0%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#22b47d,#3269ff);transition:width .5s ease}.emf-status-flow__step{position:relative;z-index:1;display:flex;align-items:flex-start;gap:11px;padding:8px 12px;border-radius:15px}.emf-status-flow__step b{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;border:1px solid #dfe6ef;background:#fff;color:#a0adbc;font-size:12px;box-shadow:0 6px 18px rgba(37,64,99,.06)}.emf-status-flow__step strong{display:block;color:#52657d;font-size:11px;margin-top:3px}.emf-status-flow__step small{display:block;color:#9aa6b5;font-size:9px;line-height:1.8;margin-top:3px}.emf-status-flow__step.is-done b{border-color:#cbe9dc;background:#eaf8f2;color:#13916a}.emf-status-flow__step.is-done strong{color:#214968}.emf-status-flow__step.is-current{background:#f5f8ff}.emf-status-flow__step.is-current b{border-color:#cbd8ff;background:#eef2ff;color:#325ef0;box-shadow:0 8px 24px rgba(50,94,240,.12)}.emf-status-board__notice{display:flex;gap:11px;align-items:flex-start;padding:14px 16px;border:1px solid #dbe8f7;border-radius:15px;background:#f6faff}.emf-status-board__notice-icon{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:9px;background:#e7f0ff;color:#2863cd;font-size:12px;font-weight:900}.emf-status-board__notice strong{display:block;color:#315275;font-size:10.5px}.emf-status-board__notice p{margin:3px 0 0!important;color:#8191a4!important;font-size:9.5px!important;line-height:1.9!important}.emf-status-board--success .emf-status-board__badge>span{background:#18a777;box-shadow:0 0 0 5px rgba(24,167,119,.12)}.emf-status-board--danger .emf-status-board__badge>span{background:#de526a;box-shadow:0 0 0 5px rgba(222,82,106,.12)}.emf-status-board--danger .emf-status-board__icon{background:#fff0f3;color:#c63b54;box-shadow:inset 0 0 0 1px #f0ced5}.emf-status-board--review .emf-status-board__badge>span{background:#3767ef;box-shadow:0 0 0 5px rgba(55,103,239,.12)}.emf-messages--status,.emf-reply--status{margin-left:clamp(22px,3vw,46px);margin-right:clamp(22px,3vw,46px)}
.emf-status-popup{width:min(560px,100%)!important;padding:28px!important;background:#fff!important;color:#253f60!important;border-color:#dbe5f1!important;box-shadow:0 35px 100px rgba(17,43,78,.25)!important}.emf-status-popup .emf-kicker{color:#4976c8!important}.emf-status-popup__close{position:absolute;left:16px;top:14px;width:34px;height:34px;border:1px solid #e1e8f1;border-radius:10px;background:#f8fafc;color:#65778c;font-size:21px;line-height:1;cursor:pointer}.emf-status-popup__head{display:flex;align-items:flex-start;gap:13px;margin-top:14px}.emf-status-popup__icon{display:grid;place-items:center;flex:0 0 50px;width:50px;height:50px;border-radius:15px;background:#e9f8f1;color:#13916a;font-size:20px;font-weight:900}.emf-status-popup__head h3{margin:0 0 5px!important;color:#173c69!important;font-size:20px!important}.emf-status-popup__head p{margin:0!important;color:#7a8ba0!important;font-size:10.5px!important;line-height:2!important}.emf-status-popup__progress{height:7px;margin:22px 0;border-radius:999px;background:#edf1f6;overflow:hidden}.emf-status-popup__progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#22b47d,#3269ff);transition:width .35s}.emf-status-popup__meta{display:grid;grid-template-columns:1fr 1fr;gap:10px}.emf-status-popup__meta>div{padding:12px 14px;border:1px solid #e1e8f1;border-radius:13px;background:#f9fbfd}.emf-status-popup__meta span{display:block;color:#98a4b3;font-size:9px;margin-bottom:4px}.emf-status-popup__meta strong{display:block;color:#294766;font-size:11px;direction:ltr;text-align:right}.emf-status-popup__hint{margin-top:14px;padding:11px 13px;border-radius:12px;background:#f1f6ff;color:#5c7292;font-size:9.5px;line-height:1.9}.emf-status-popup .emf-modal__actions{margin-top:16px}.emf-status-popup .emf-btn{min-width:130px}
@media(max-width:760px){.emf-hero__track{font-size:9.5px;min-height:30px;padding:0 9px}.emf-status-board{margin:18px 12px 26px;padding:18px;border-radius:19px}.emf-status-board__top{align-items:stretch;flex-direction:column}.emf-status-board__track{width:100%}.emf-status-board__grid{grid-template-columns:1fr}.emf-status-board__summary{padding:16px}.emf-status-board__icon{width:48px;height:48px;flex-basis:48px;border-radius:14px}.emf-status-flow{grid-template-columns:1fr;gap:6px;margin-top:24px}.emf-status-flow__line{top:24px;bottom:24px;right:33px;left:auto;width:4px;height:auto}.emf-status-flow__line span{width:100%;height:var(--emf-status-progress,0%)}.emf-status-flow__step{min-height:60px;padding:7px 5px}.emf-status-flow__step b{width:38px;height:38px;flex-basis:38px}.emf-messages--status,.emf-reply--status{margin-left:12px;margin-right:12px}.emf-status-popup{padding:22px 17px!important}.emf-status-popup__meta{grid-template-columns:1fr}}

/* v1.1.4 - authoritative status lock + rebuilt timeline */
.emf-stage.emf-status-checking .emf-workspace{
  opacity:1;
  pointer-events:auto!important;
  user-select:auto!important;
  transform:none;
}
.emf-stage.emf-status-checking .emf-workspace *{pointer-events:auto!important}
.emf-workspace.emf-workspace--locked{
  filter:blur(14px)!important;
  opacity:0!important;
  pointer-events:none!important;
  user-select:none!important;
  transform:scale(.99)!important;
  transition:filter .2s ease,opacity .2s ease,transform .2s ease!important;
}
.emf-stage--locked .emf-workspace,.emf-stage--locked-live .emf-workspace{pointer-events:none!important}

/* Keep the connector exclusively in the node lane so it never crosses text. */
.emf-status-flow{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  margin:36px 0 26px!important;
  padding:0!important;
  align-items:start!important;
}
.emf-status-flow__line{
  position:absolute!important;
  top:21px!important;
  right:16.666%!important;
  left:16.666%!important;
  height:4px!important;
  border-radius:999px!important;
  background:#e7edf5!important;
  overflow:hidden!important;
  z-index:0!important;
}
.emf-status-flow__line span{
  display:block!important;
  width:var(--emf-status-progress,0%)!important;
  height:100%!important;
  margin-right:0!important;
  margin-left:auto!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,#2563eb,#18a777)!important;
}
.emf-status-flow__step{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:0!important;
  min-width:0!important;
  padding:0 14px!important;
  text-align:center!important;
  background:transparent!important;
}
.emf-status-flow__step b{
  position:relative!important;
  z-index:3!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 44px!important;
  width:44px!important;
  height:44px!important;
  border-radius:14px!important;
  border:1px solid #dfe6ef!important;
  background:#fff!important;
  color:#9aa8b8!important;
  font-size:12px!important;
  box-shadow:0 7px 18px rgba(37,64,99,.08)!important;
}
.emf-status-flow__step>div{
  position:relative!important;
  z-index:2!important;
  width:100%!important;
  margin-top:12px!important;
  min-width:0!important;
}
.emf-status-flow__step strong{
  display:block!important;
  margin:0!important;
  color:#4b617b!important;
  font-size:11px!important;
  font-weight:850!important;
  line-height:1.8!important;
}
.emf-status-flow__step small{
  display:block!important;
  max-width:230px!important;
  margin:4px auto 0!important;
  color:#96a3b3!important;
  font-size:9px!important;
  line-height:1.9!important;
}
.emf-status-flow__step.is-done b{
  border-color:#c7e8da!important;
  background:#eaf8f2!important;
  color:#138b66!important;
}
.emf-status-flow__step.is-done strong{color:#214968!important}
.emf-status-flow__step.is-current b{
  border-color:#cbd8ff!important;
  background:#eef2ff!important;
  color:#315fe9!important;
  box-shadow:0 8px 24px rgba(49,95,233,.14)!important;
}
.emf-status-flow__step.is-current strong{color:#244a82!important}

@media(max-width:760px){
  .emf-status-flow{
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:0!important;
    margin:26px 0 20px!important;
  }
  .emf-status-flow__line{
    top:21px!important;
    bottom:33px!important;
    right:20px!important;
    left:auto!important;
    width:4px!important;
    height:auto!important;
  }
  .emf-status-flow__line span{
    width:100%!important;
    height:var(--emf-status-progress,0%)!important;
    margin:0!important;
  }
  .emf-status-flow__step{
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    align-items:start!important;
    text-align:right!important;
    padding:0 0 20px!important;
  }
  .emf-status-flow__step b{
    width:42px!important;
    height:42px!important;
    flex-basis:42px!important;
  }
  .emf-status-flow__step>div{
    margin:0 12px 0 0!important;
    padding-top:2px!important;
  }
  .emf-status-flow__step strong,.emf-status-flow__step small{text-align:right!important}
  .emf-status-flow__step small{max-width:none!important;margin:3px 0 0!important}
}

/* Jalali / Persian date picker */
.emf-jalali-input{position:relative;display:block;width:100%}.emf-jalali-input>input{width:100%;padding-left:62px!important;padding-right:16px!important;text-align:right;direction:ltr;unicode-bidi:plaintext}.emf-jalali-trigger{position:absolute;left:12px;right:auto;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(61,97,153,.13);border-radius:11px;background:rgba(31,94,255,.055);color:#315cae;cursor:pointer;transition:.18s ease;z-index:2}.emf-jalali-trigger:hover{background:rgba(31,94,255,.11);border-color:rgba(31,94,255,.25);transform:translateY(-50%) scale(1.03)}.emf-jalali-trigger svg{width:18px;height:18px}.emf-jalali-input>input.is-invalid-date{border-color:#e35b70!important;box-shadow:0 0 0 3px rgba(227,91,112,.08)!important}.emf-jalali-picker{position:fixed;z-index:10000000;direction:rtl;padding:14px;border:1px solid rgba(44,76,126,.16);border-radius:20px;background:rgba(255,255,255,.985);box-shadow:0 26px 80px rgba(24,48,86,.22),0 4px 18px rgba(24,48,86,.08);backdrop-filter:blur(20px);font-family:Vazirmatn,Vazir,Tahoma,Arial,sans-serif;color:#16355f}.emf-jalali-picker[hidden]{display:none!important}.emf-jalali-picker *{box-sizing:border-box;font-family:inherit}.emf-jalali-picker__head{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;gap:8px;margin-bottom:8px}.emf-jalali-picker__selectors{display:grid;grid-template-columns:1fr 92px;gap:7px}.emf-jalali-picker__selectors select{width:100%;height:38px;border:1px solid #dce6f4;border-radius:10px;background:#f7faff;color:#17385f;padding:0 9px;outline:none;font-size:12px}.emf-jalali-picker__selectors select:focus{border-color:#7ba2ff;box-shadow:0 0 0 3px rgba(31,94,255,.08)}.emf-jalali-picker__nav{width:38px;height:38px;border:1px solid #e1e8f3;border-radius:10px;background:#fff;color:#234d85;font-size:24px;line-height:1;cursor:pointer}.emf-jalali-picker__nav:hover{background:#f1f5ff;border-color:#cbd9ef}.emf-jalali-picker__caption{padding:7px 4px 9px;color:#7890af;font-size:11px;text-align:center;border-bottom:1px solid #edf1f7}.emf-jalali-picker__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:10px 0}.emf-jalali-picker__day{aspect-ratio:1;border:1px solid transparent;border-radius:10px;background:transparent;color:#24466f;font-size:12px;font-weight:600;cursor:pointer;transition:.14s ease}.emf-jalali-picker__day:hover{background:#edf3ff;color:#174fc4}.emf-jalali-picker__day.is-today{border-color:#b8cffd;background:#f6f9ff}.emf-jalali-picker__day.is-selected{background:linear-gradient(135deg,#2365ff,#6548ff);color:#fff;box-shadow:0 7px 18px rgba(45,90,240,.22)}.emf-jalali-picker__foot{display:flex;align-items:center;justify-content:space-between;padding-top:9px;border-top:1px solid #edf1f7}.emf-jalali-picker__foot button{height:35px;padding:0 13px;border-radius:9px;font-size:11px;font-weight:700;cursor:pointer}.emf-jalali-picker__text{border:0;background:transparent;color:#758ba7}.emf-jalali-picker__today{border:1px solid #cad9f2;background:#f4f8ff;color:#2458ad}.emf-jalali-picker__today:hover{background:#eaf1ff}@media(max-width:600px){.emf-jalali-input>input{padding-left:58px!important;padding-right:14px!important}.emf-jalali-trigger{left:10px;right:auto;width:32px;height:32px}.emf-jalali-picker{padding:12px;border-radius:16px}.emf-jalali-picker__day{border-radius:9px;font-size:11px}.emf-jalali-picker__selectors{grid-template-columns:1fr 84px}}

/* v1.2.0 - full-width per-form hero banner */
.emf-hero{
  display:flex;
  align-items:flex-end;
  justify-content:flex-start;
  min-height:clamp(250px,25vw,390px);
  padding:clamp(20px,2.5vw,34px);
  background:linear-gradient(128deg,#0d2142 0%,#16386f 55%,#2459af 100%);
}
.emf-hero__visual{display:none!important}
.emf-hero__copy{position:relative;z-index:3;width:min(500px,92%);max-width:500px;margin-left:auto;margin-right:0}
.emf-hero h2{margin:0 0 5px!important;font-size:clamp(19px,1.75vw,28px)!important;line-height:1.45!important;font-weight:800!important}
.emf-hero p{max-width:480px!important;font-size:11px!important;line-height:1.85!important;color:rgba(238,245,255,.9)!important}
.emf-eyebrow{gap:7px;font-size:9.5px;padding:5px 9px;margin-bottom:8px}
.emf-eyebrow span{width:6px;height:6px}
.emf-hero__tags{gap:6px;margin-top:10px}
.emf-hero__tags span,.emf-hero__track{min-height:27px!important;padding:0 9px!important;border-radius:8px!important;font-size:9px!important}
.emf-hero--has-banner{background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important}
.emf-hero--has-banner:before{content:"";position:absolute;inset:0;width:auto;height:auto;left:0;top:0;border-radius:0;background:linear-gradient(to left,rgba(4,17,38,.78) 0%,rgba(4,17,38,.48) 30%,rgba(4,17,38,.12) 60%,rgba(4,17,38,0) 78%);pointer-events:none;z-index:1}
.emf-hero--has-banner:after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(to top,rgba(2,11,27,.24),transparent);pointer-events:none;z-index:1}
.emf-hero--has-banner .emf-hero__copy{padding:13px 14px;border:1px solid rgba(255,255,255,.11);border-radius:14px;background:rgba(6,22,48,.26);box-shadow:0 10px 30px rgba(0,0,0,.09);backdrop-filter:blur(3px)}
@media(max-width:980px){.emf-hero{min-height:clamp(230px,34vw,330px);padding:22px}.emf-hero__copy{width:min(460px,94%)}}
@media(max-width:760px){.emf-hero{min-height:215px;padding:14px 13px!important;background-position:center center!important}.emf-hero__copy{width:min(94%,420px);max-width:94%}.emf-hero h2{font-size:17px!important;margin-bottom:3px!important}.emf-hero p{font-size:9.5px!important;line-height:1.75!important}.emf-eyebrow{font-size:8.5px;padding:4px 7px;margin-bottom:6px}.emf-hero__tags{margin-top:7px}.emf-hero--has-banner .emf-hero__copy{padding:10px 11px;border-radius:11px;background:rgba(5,20,43,.30)}.emf-hero--has-banner .emf-hero__tags span{display:none}.emf-hero__track{min-height:25px!important;font-size:8.5px!important;padding:0 8px!important}}
@media(max-width:430px){.emf-hero{min-height:185px;padding:10px!important}.emf-hero__copy{width:96%;max-width:96%}.emf-hero h2{font-size:15px!important}.emf-hero p{font-size:8.8px!important}.emf-eyebrow{font-size:7.8px}.emf-hero--has-banner{background-position:center center!important}}

/* v1.3.0 - payment step and pending-payment recovery */
.emf-section--payment .emf-grid{display:none!important}
.emf-payment-step{display:grid;grid-template-columns:68px minmax(0,1fr);gap:18px;align-items:center;padding:22px;border:1px solid rgba(31,94,255,.14);border-radius:20px;background:linear-gradient(135deg,rgba(31,94,255,.055),rgba(79,70,229,.025))}
.emf-payment-step__icon,.emf-payment-pending__icon{display:grid;place-items:center;width:62px;height:62px;border-radius:18px;background:linear-gradient(135deg,#2365ff,#6548ff);color:#fff;font-size:26px;font-weight:800;box-shadow:0 14px 32px rgba(45,90,240,.2)}
.emf-payment-step strong{display:block;color:#17385f;font-size:15px}.emf-payment-step p{margin:6px 0 0;color:#667f9f;line-height:1.95;font-size:12px}.emf-payment-step span{display:inline-flex;margin-top:12px;padding:7px 11px;border-radius:999px;background:#fff;border:1px solid #dce7f7;color:#2c5ca8;font-weight:800;font-size:12px}
.emf-payment-pending{max-width:760px;margin:24px auto;padding:34px 30px;text-align:center;border:1px solid #dfe7f5;border-radius:var(--emf-radius,30px);background:rgba(255,255,255,.96);box-shadow:0 18px 55px rgba(30,57,98,.08)}
.emf-payment-pending__icon{margin:0 auto 14px}.emf-payment-pending h3{margin:8px 0 8px;color:#17385f;font-size:24px}.emf-payment-pending p{max-width:600px;margin:0 auto;color:#667f9f;line-height:2}.emf-payment-pending__amount{display:table;margin:16px auto 4px;padding:8px 14px;border:1px solid #dce7f7;border-radius:999px;background:#f8fbff;color:#2458ad}.emf-payment-pending__button{display:inline-flex!important;margin-top:18px;min-width:240px;justify-content:center;text-decoration:none!important}.emf-payment-pending small{display:block;margin-top:14px;color:#8294aa}
@media(max-width:760px){.emf-payment-step{grid-template-columns:1fr;text-align:center;padding:18px}.emf-payment-step__icon{margin-inline:auto}.emf-payment-pending{margin:16px 10px;padding:26px 18px}.emf-payment-pending h3{font-size:20px}.emf-payment-pending__button{width:100%;min-width:0}}

/* v1.5.0 - cleaner final payment step */
.emf-btn[hidden],.emf-actions [hidden]{display:none!important}
.emf-payment-step{grid-template-columns:minmax(0,1fr)}
.emf-payment-step__icon,.emf-payment-pending__icon{display:none!important}


/* v1.6.0 - teammate pricing and coupon UI */
.emf-teammate-card{margin:0 0 8px;padding:24px;border:1px solid rgba(31,94,255,.12);border-radius:24px;background:linear-gradient(145deg,#fbfdff,#f4f7ff);box-shadow:0 16px 44px rgba(34,67,120,.07)}
.emf-teammate-question{display:flex;align-items:center;gap:14px;margin-bottom:18px}.emf-teammate-question>div:last-child{display:grid;gap:4px}.emf-teammate-question strong{display:block;color:#17385f;font-size:15px}.emf-teammate-question span{color:#7488a4;font-size:11px;line-height:1.8}.emf-teammate-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#2365ff,#6548ff);color:#fff;font-size:22px;box-shadow:0 10px 24px rgba(45,90,240,.18)}.emf-teammate-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.emf-teammate-options .emf-teammate-choice{margin:0!important}.emf-teammate-card__head{display:flex;align-items:center;gap:14px;margin-bottom:18px}.emf-teammate-card__icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(135deg,#2365ff,#6548ff);color:#fff;font-size:22px;box-shadow:0 10px 24px rgba(45,90,240,.18)}.emf-teammate-card__head strong{display:block;color:#17385f;font-size:15px}.emf-teammate-card__head p{margin:4px 0 0;color:#7488a4;font-size:11px;line-height:1.8}.emf-teammate-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.emf-teammate-choice{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:12px 14px!important;border:1px solid #dbe5f3!important;border-radius:13px!important;background:#fff!important;color:#34577f!important;cursor:pointer}.emf-teammate-choice input{margin:0!important}.emf-teammate-list{display:grid;gap:12px}.emf-teammate-row{padding:16px;border:1px solid #e0e8f3;border-radius:17px;background:#fff}.emf-teammate-row__title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:11px;color:#1c4271;font-size:12px;font-weight:800}.emf-teammate-row__grid{display:grid;grid-template-columns:1.4fr 1fr;gap:10px}.emf-teammate-row__grid .emf-field{margin:0!important}.emf-teammate-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.emf-teammate-note{margin-top:12px;padding:11px 13px;border-radius:12px;background:#f6f9ff;color:#68809e;font-size:11px;line-height:1.9}.emf-teammate-add,.emf-teammate-remove{min-height:40px!important}.emf-teammate-remove{margin-inline-start:auto!important;color:#b6475d!important}.emf-price-summary{display:grid;gap:0;margin:18px 0 0;border:1px solid #e1e9f5;border-radius:20px;overflow:hidden;background:#fff}.emf-price-summary>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid #edf1f6;color:#647a98;font-size:12px}.emf-price-summary__row,.emf-price-summary__total{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;border-bottom:1px solid #edf1f6;color:#647a98;font-size:12px}.emf-price-summary__row strong{color:#274a7a}.emf-price-summary__row--discount{color:#2e7c58;background:#f6fcf8}.emf-price-summary__row--discount strong{color:#23814e}.emf-price-summary__total{border-bottom:0;padding:18px 16px;background:linear-gradient(135deg,#f1f6ff,#f8fbff);color:#193e70;font-weight:800}.emf-price-summary__total strong{font-size:18px;color:#1f5eff}.emf-coupon-trigger{margin-top:12px;display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:#2458ad;font:700 12px/1.4 inherit;cursor:pointer}.emf-coupon-trigger:hover{text-decoration:underline}.emf-coupon-result{margin-top:10px;padding:10px 12px;border-radius:11px;background:#f3fbf6;color:#26734a;font-size:11px;line-height:1.8}.emf-coupon-result.is-error{background:#fff4f5;color:#b23f57}.emf-payment-details{margin-bottom:10px}.emf-modal[data-emf-coupon-modal] .emf-modal__panel{max-width:520px}.emf-modal[data-emf-coupon-modal] .emf-modal__actions{display:flex;justify-content:flex-start;gap:9px;flex-wrap:wrap}.emf-modal[data-emf-coupon-modal] input[data-emf-coupon-input]{direction:ltr;text-align:left}
@media(max-width:760px){.emf-teammate-choice{grid-template-columns:1fr}.emf-teammate-row__grid{grid-template-columns:1fr}.emf-teammate-remove{margin-inline-start:0!important}.emf-teammate-card{padding:17px}.emf-price-summary__total strong{font-size:16px}}


/* MarketJam virtual exhibition defaults */
.emf-marketjam-project-box{margin:0 0 22px;padding:20px 22px;border:1px solid #d9e5f8;border-radius:20px;background:linear-gradient(180deg,#f8fbff 0%,#f2f6fd 100%);box-shadow:0 12px 32px rgba(33,73,130,.07)}
.emf-marketjam-project-box__title{margin-bottom:8px;color:#17365e;font-weight:900;font-size:18px}
.emf-marketjam-project-box p{margin:0;color:#526d92;font-size:13px;line-height:2.05}
.emf-marketjam-project-box__cost{display:grid;gap:7px;margin-top:14px;padding:14px 16px;border-radius:15px;background:#fff;border:1px solid #e1e9f6;color:#385578;font-size:12px;line-height:1.9}
.emf-marketjam-project-box__cost strong{color:#17365e;font-size:13px}
.emf-marketjam-pricing-note{display:grid;gap:5px;margin-top:2px;padding:12px 14px;border-radius:14px;border:1px solid #dfe8f5;background:#fbfdff;color:#5c7496;font-size:12px;line-height:1.9}
.emf-marketjam-pricing-note strong{color:#294f86}
