.ehx-wrap{--ehx:#f58220;--ehx-dark:#bd5608;--ehx-ink:#182230;--ehx-soft:#fff7f0;direction:rtl;font-family:IRANYekanX,IRANYekan,"Iran Yekan",Tahoma,sans-serif;color:var(--ehx-ink);max-width:1180px;margin:28px auto;padding:0 18px}.ehx-hero{display:flex;justify-content:space-between;gap:30px;align-items:center;background:#fff;border:1px solid #f1e6dc;border-radius:26px;padding:32px;box-shadow:0 14px 45px rgba(70,42,19,.07);position:relative;overflow:hidden}.ehx-hero:before{content:"";position:absolute;right:-70px;top:-100px;width:240px;height:240px;background:#fff1e5;border-radius:50%}.ehx-hero>div{position:relative}.ehx-hero span,.ehx-section-head span{color:var(--ehx-dark);font-weight:700}.ehx-hero h1{font-size:30px;margin:8px 0 10px}.ehx-hero p{color:#667085;max-width:700px;line-height:2}.ehx-hero-rank{min-width:230px;background:var(--ehx-soft);border:1px solid #ffd9bb;border-radius:20px;padding:20px;text-align:center}.ehx-hero-rank small,.ehx-hero-rank span{display:block;color:#7a4a24}.ehx-hero-rank strong{font-size:22px;display:block;margin:7px 0;color:var(--ehx-dark)}.ehx-notice{background:#fff;border:1px solid #f0dfd1;border-radius:18px;padding:22px;margin:18px 0}.ehx-notice p{color:#667085}.ehx-rank-roadmap{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.ehx-rank-step{background:#fff;border:1px solid #eceff3;border-radius:18px;padding:15px;display:flex;align-items:center;gap:12px}.ehx-rank-step i{font-style:normal;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f2f4f7;color:#667085;font-weight:800}.ehx-rank-step strong,.ehx-rank-step span{display:block}.ehx-rank-step span{font-size:12px;color:#98a2b3;margin-top:3px}.ehx-rank-step.is-passed{border-color:#ffc999;background:#fffaf6}.ehx-rank-step.is-passed i{background:var(--ehx);color:#fff}.ehx-exam-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ehx-exam-card{background:#fff;border:1px solid #ece7e3;border-radius:24px;padding:24px;box-shadow:0 8px 30px rgba(49,34,22,.05);position:relative}.ehx-exam-level{display:inline-flex;background:#fff4eb;color:#c45b00;border-radius:999px;padding:6px 11px;font-weight:700;font-size:12px}.ehx-exam-card h2{margin:13px 0 6px;font-size:22px}.ehx-target-rank{color:#667085}.ehx-target-rank strong{color:var(--ehx-dark)}.ehx-exam-card>p{color:#667085;line-height:1.9;min-height:52px}.ehx-exam-meta{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.ehx-exam-meta span{background:#f8fafc;border-radius:10px;padding:7px 9px;font-size:12px}.ehx-best{display:flex;align-items:center;gap:10px;border-radius:14px;padding:10px 12px;margin-bottom:14px}.ehx-best span{font-size:12px}.ehx-best strong{font-size:18px}.ehx-best small{margin-right:auto}.ehx-best.is-pass{background:#ecfdf3;color:#16794a}.ehx-best.is-fail{background:#fff4ed;color:#b54708}.ehx-exam-actions form{margin:0}.ehx-exam-actions .ehp-btn{width:100%;justify-content:center}.ehx-blocked,.ehx-disabled-label{display:block;padding:11px 13px;border-radius:12px;background:#f2f4f7;color:#667085;text-align:center}.ehx-history{background:#fff;border:1px solid #ece7e3;border-radius:24px;padding:24px;margin-top:24px}.ehx-section-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:16px}.ehx-section-head h2{margin:4px 0}.ehx-average{background:#fff7f0;border-radius:14px;padding:10px 14px}.ehx-table-wrap{overflow:auto}.ehx-history table{width:100%;border-collapse:collapse}.ehx-history th,.ehx-history td{text-align:right;padding:12px;border-bottom:1px solid #f0f0f0}.ehx-state{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px}.ehx-state.is-pass{background:#ecfdf3;color:#16794a}.ehx-state.is-fail{background:#fff1f0;color:#b42318}.ehx-state.is-wait{background:#f2f4f7;color:#667085}.ehx-attempt{max-width:900px}.ehx-attempt-head{position:sticky;top:12px;z-index:8;background:#fff;border:1px solid #f0dfd1;border-radius:20px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 10px 30px rgba(0,0,0,.07);margin-bottom:18px}.ehx-attempt-head h1{margin:4px 0;font-size:22px}.ehx-attempt-head p{margin:0;color:#667085}.ehx-timer{background:#fff4eb;border:1px solid #ffd9bb;border-radius:15px;padding:10px 16px;text-align:center;min-width:130px}.ehx-timer small{display:block;color:#7a4a24}.ehx-timer strong{display:block;color:#c45b00;font-size:23px;margin-top:3px}.ehx-question{background:#fff;border:1px solid #ece7e3;border-radius:20px;padding:22px;margin-bottom:14px}.ehx-question-title{display:flex;gap:12px;align-items:flex-start}.ehx-question-title>span{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;background:var(--ehx);color:#fff;border-radius:10px;font-weight:800}.ehx-question h3{margin:3px 0 14px;line-height:1.8;font-size:16px}.ehx-answer-list{display:grid;gap:9px}.ehx-answer-list label{cursor:pointer}.ehx-answer-list input{position:absolute;opacity:0}.ehx-answer-list span{display:block;border:1px solid #e4e7ec;border-radius:14px;padding:12px 14px;transition:.2s}.ehx-answer-list input:checked+span{border-color:var(--ehx);background:#fff7f0;box-shadow:0 0 0 2px rgba(245,130,32,.08)}.ehx-submit-bar{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#fff;border:1px solid #ece7e3;border-radius:18px;padding:16px 18px;position:sticky;bottom:12px}.ehx-submit-bar span{color:#667085}.ehx-result{max-width:700px;margin:70px auto;background:#fff;border:1px solid #ece7e3;border-radius:28px;padding:38px;text-align:center;box-shadow:0 15px 45px rgba(0,0,0,.07)}.ehx-result-icon{width:76px;height:76px;margin:0 auto 16px;border-radius:24px;display:grid;place-items:center;font-size:38px;font-weight:900}.ehx-result.is-pass .ehx-result-icon{background:#ecfdf3;color:#16833f}.ehx-result.is-fail .ehx-result-icon{background:#fff1f0;color:#b42318}.ehx-result h1{font-size:25px}.ehx-result-score{display:inline-flex;align-items:center;gap:13px;background:#f8fafc;border-radius:16px;padding:12px 16px;margin:8px 0}.ehx-result-score strong{font-size:28px}.ehx-result p{line-height:2;color:#667085}.ehx-rank-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800;background:#fff4eb;color:#b95305;border:1px solid #ffd5b5}.ehx-rank-badge.is-unranked{background:#f2f4f7;color:#667085;border-color:#e4e7ec}.ehx-rank-badge:not(span){display:flex;border-radius:16px;flex-direction:column;align-items:flex-start}.ehx-rank-badge:not(span) small{font-weight:500}.ehx-in-dashboard{padding:0;margin:0;max-width:none}.ehx-empty{padding:20px;background:#f8fafc;border-radius:14px;color:#667085}@media(max-width:800px){.ehx-hero,.ehx-section-head,.ehx-attempt-head,.ehx-submit-bar{flex-direction:column;align-items:stretch}.ehx-rank-roadmap,.ehx-exam-grid{grid-template-columns:1fr}.ehx-hero h1{font-size:24px}.ehx-attempt-head{position:relative;top:auto}.ehx-submit-bar{position:relative;bottom:auto}.ehx-timer{min-width:0}.ehx-history{padding:16px}}

/* v0.5.3 - Explicit exam CTA colors.
 * Keep these selectors scoped to the exam module and strong enough to override
 * theme/Elementor link and button defaults in normal, visited and focus states.
 */
.ehx-wrap .ehp-btn,
.ehx-wrap a.ehp-btn,
.ehx-wrap a.ehp-btn:visited,
.ehx-wrap button.ehp-btn,
.ehx-wrap input.ehp-btn{
    background:#f58220!important;
    background-color:#f58220!important;
    color:#fff!important;
    border:1px solid #f58220!important;
    box-shadow:0 8px 20px rgba(245,130,32,.22)!important;
    text-decoration:none!important;
    opacity:1!important;
    -webkit-text-fill-color:#fff!important;
}
.ehx-wrap .ehp-btn:hover,
.ehx-wrap .ehp-btn:focus,
.ehx-wrap .ehp-btn:active,
.ehx-wrap a.ehp-btn:hover,
.ehx-wrap a.ehp-btn:focus{
    background:#182230!important;
    background-color:#182230!important;
    color:#fff!important;
    border-color:#182230!important;
    -webkit-text-fill-color:#fff!important;
}
/* Final submission is deliberately dark navy so it reads as the decisive action. */
.ehx-wrap .ehx-submit-bar .ehp-btn,
.ehx-wrap .ehx-submit-bar button.ehp-btn{
    background:#182230!important;
    background-color:#182230!important;
    color:#fff!important;
    border-color:#182230!important;
    box-shadow:0 8px 20px rgba(24,34,48,.20)!important;
}
.ehx-wrap .ehx-submit-bar .ehp-btn:hover,
.ehx-wrap .ehx-submit-bar .ehp-btn:focus,
.ehx-wrap .ehx-submit-bar .ehp-btn:active{
    background:#f58220!important;
    background-color:#f58220!important;
    border-color:#f58220!important;
    color:#fff!important;
}
/* Result/history CTA must stay visible even when the theme recolors links. */
.ehx-wrap .ehx-result a.ehp-btn,
.ehx-wrap .ehx-result a.ehp-btn:visited{
    background:#f58220!important;
    color:#fff!important;
    border-color:#f58220!important;
    -webkit-text-fill-color:#fff!important;
}


/* v0.5.4 — sequential exam path */
.ehx-exam-card.is-locked{position:relative;background:#fafafa;border-color:#e5e7eb}.ehx-exam-card.is-locked:after{content:"قفل تا قبولی سطح قبلی";position:absolute;left:14px;top:14px;padding:5px 8px;border-radius:999px;background:#17212d;color:#fff;font-size:9px;font-weight:800}.ehx-exam-card.is-locked .ehx-exam-level{opacity:.65}.ehx-blocked{display:block;padding:10px 11px;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a4d0b;font-size:10px;line-height:1.9}.ehp-admin-sequence-lock{opacity:.9}.ehp-admin-sequence-lock input{accent-color:#f58220}

/* v0.6.1 — MBTI self-report experience */
.ehmbti-card{margin:22px 0;padding:22px;border:1px solid #e6ebf3;border-radius:22px;background:linear-gradient(145deg,#f9fbff,#fff);display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;box-shadow:0 10px 34px rgba(34,59,104,.055)}.ehmbti-art{height:138px;border-radius:20px;background:#eef3ff;display:grid;place-items:center;position:relative;overflow:hidden}.ehmbti-art strong{font-size:28px;color:#365caa;letter-spacing:2px;direction:ltr;z-index:2}.ehmbti-orbit{position:absolute;border:1px solid #bfcdf2;border-radius:50%}.ehmbti-orbit.o1{width:104px;height:104px}.ehmbti-orbit.o2{width:72px;height:72px;border-style:dashed}.ehmbti-copy>span{color:#5670b5;font-size:9px;font-weight:900}.ehmbti-copy h2{margin:4px 0 6px;font-size:20px}.ehmbti-copy p{margin:0;color:#6f7884;font-size:10px;line-height:1.9}.ehmbti-notes{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.ehmbti-notes span{padding:4px 7px;border-radius:999px;background:#f5f7fb;color:#6c7891;font-size:8px}.ehmbti-current{margin:10px 0;font-size:10px}.ehmbti-current strong{direction:ltr;display:inline-block;color:#365caa;font-size:18px;margin-right:5px;letter-spacing:1px}.ehmbti-test{max-width:1000px;margin:0 auto}.ehmbti-disclaimer{padding:11px 13px;border-radius:12px;background:#fff8ed;border:1px solid #ffe0ae;color:#8a5b11;font-size:9.5px;line-height:1.8;margin-bottom:15px}.ehmbti-question-list{display:grid;gap:10px}.ehmbti-question{padding:16px;border:1px solid #e7ebf1;border-radius:16px;background:#fff}.ehmbti-question>div:first-child{display:flex;align-items:flex-start;gap:10px}.ehmbti-question>div:first-child>b{width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#eef3ff;color:#365caa;display:grid;place-items:center;font-size:9px}.ehmbti-question p{margin:4px 0 12px;font-size:10.5px;line-height:1.9;color:#303944}.ehmbti-scale{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.ehmbti-scale input{position:absolute;opacity:0}.ehmbti-scale span{display:block;text-align:center;padding:9px 5px;border-radius:10px;border:1px solid #e6eaf0;background:#fafbfc;font-size:8.5px;cursor:pointer}.ehmbti-scale input:checked+span{border-color:#8fa7e1;background:#eef3ff;color:#365caa;font-weight:900}.ehmbti-submit{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:15px}.ehmbti-submit>a{color:#737d89!important;font-size:9px}.ehmbti-submit .ehp-btn{width:auto!important}.ehmbti-card.is-dashboard{margin:0 0 16px}
@media(max-width:720px){.ehmbti-card{grid-template-columns:1fr}.ehmbti-art{height:105px}.ehmbti-scale{grid-template-columns:1fr 1fr}.ehmbti-submit{align-items:stretch;flex-direction:column}.ehmbti-submit .ehp-btn{width:100%!important}}


/* eHesab 0.6.5 — exam profile prerequisite */
.ehx-profile-gate{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:13px;align-items:center;margin:13px 0 18px;padding:15px 16px;border:1px solid #f0c9ab;border-radius:17px;background:#fff7f0;box-shadow:0 8px 28px rgba(71,50,34,.045)}
.ehx-profile-gate__icon{width:48px;height:48px;border-radius:14px;background:#ffe5d1;color:#e96e16;display:grid;place-items:center;font-size:21px;font-weight:950}
.ehx-profile-gate strong{display:block;color:#303a45;font-size:11px}.ehx-profile-gate p{margin:3px 0 0;color:#737e88;font-size:8.8px;line-height:1.8}
.ehx-profile-complete-note{margin:12px 0 16px;padding:11px 13px;border:1px solid #cce9dc;border-radius:12px;background:#effaf5;color:#237b5a;font-size:9px;font-weight:800}
.ehx-card-profile-lock{display:grid;gap:5px}.ehx-card-profile-lock span{font-size:8.3px;color:#8b6750}.ehx-card-profile-lock a{color:#df6a12!important;font-size:8.3px;font-weight:900;text-decoration:none!important}
.ehmbti-profile-lock{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.ehmbti-profile-lock>span{color:#865c42;font-size:8.7px}
.ehmbti-profile-gate{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px!important;border-color:#f0c9ab!important;background:#fff8f2!important}
.ehmbti-profile-gate__icon{width:52px;height:52px;border-radius:15px;background:#ffe4cf;color:#e76e17;display:grid;place-items:center;font-size:23px;font-weight:950}
.ehmbti-profile-gate span{color:#df6a13;font-size:8.3px;font-weight:900}.ehmbti-profile-gate h2{margin:3px 0;font-size:16px}.ehmbti-profile-gate p{margin:0;color:#77818b;font-size:8.6px}
@media(max-width:700px){.ehx-profile-gate,.ehmbti-profile-gate{grid-template-columns:42px 1fr}.ehx-profile-gate__icon,.ehmbti-profile-gate__icon{width:42px;height:42px}.ehx-profile-gate .ehp-btn,.ehmbti-profile-gate .ehp-btn{grid-column:1/-1;width:100%;justify-content:center}}


/* eHesab 0.6.8 — rounded exams UI */
.ehx-wrap,
.ehx-card,
.ehx-exam-card,
.ehx-notice,
.ehx-profile-gate,
.ehx-profile-complete-note,
.ehx-history,
.ehx-history-card,
.ehx-question,
.ehx-question-card,
.ehx-answer,
.ehx-result,
.ehx-result-card,
.ehx-progress,
.ehx-timer,
.ehmbti-card,
.ehmbti-test,
.ehmbti-question,
.ehmbti-result,
.ehmbti-profile-gate,
.ehmbti-profile-lock{
  border-radius:18px!important;
}

.ehx-wrap input:not([type="radio"]):not([type="checkbox"]),
.ehx-wrap select,
.ehx-wrap textarea,
.ehmbti-test input:not([type="radio"]):not([type="checkbox"]),
.ehmbti-test select,
.ehmbti-test textarea{
  border-radius:12px!important;
}

.ehx-option,
.ehx-option label,
.ehmbti-option,
.ehmbti-option label,
.ehx-card-profile-lock{
  border-radius:13px!important;
}

.ehx-wrap .ehp-btn,
.ehmbti-test .ehp-btn{
  border-radius:12px!important;
}
