/* election-portal.css — سامانه هوادران انتخابات */
.el-body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: #fff7ed;
    color: #1c1917;
    min-height: 100vh;
}

.el-header {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 24px; background: #fff; border-bottom: 1px solid #fed7aa;
}
.el-brand { font-weight: 800; font-size: 1.05rem; color: #9a3412; text-decoration: none; }
.el-nav { margin-right: auto; display: flex; gap: 14px; }
.el-nav a { color: #c2410c; text-decoration: none; font-size: .88rem; }
.el-role { font-size: .75rem; background: #ffedd5; color: #9a3412; padding: 4px 10px; border-radius: 999px; }

.el-hero {
    text-align: center; padding: 44px 24px 32px;
    background: linear-gradient(165deg, #7c2d12 0%, #c2410c 45%, #ea580c 100%);
    color: #fff;
}
.el-hero__badge {
    display: inline-block; font-size: .72rem; background: rgba(255,255,255,.15);
    padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.el-hero h1 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0 0 10px; }
.el-hero p { opacity: .92; max-width: 640px; margin: 0 auto 22px; font-size: .95rem; }
.el-hero-stats { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.el-stat strong { display: block; font-size: 1.7rem; }
.el-stat span { font-size: .8rem; opacity: .88; }

.el-phases { max-width: 960px; margin: 36px auto 48px; padding: 0 20px; }
.el-phases h2 { text-align: center; color: #9a3412; margin-bottom: 20px; }
.el-phase-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.el-phase {
    background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 16px; text-align: center;
}
.el-phase span {
    display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center;
    background: #ea580c; color: #fff; border-radius: 50%; font-size: .82rem; font-weight: 700; margin-bottom: 8px;
}
.el-phase h3 { margin: 0 0 6px; font-size: .88rem; }
.el-phase p { margin: 0; font-size: .72rem; color: #78716c; }

.el-demo-toggle {
    border: 1px solid #fdba74; background: #ffedd5; color: #9a3412;
    border-radius: 999px; padding: 8px 16px; font-family: inherit; font-weight: 600; cursor: pointer;
}
.el-demo-toggle--active { background: #ea580c; color: #fff; border-color: #ea580c; }
.el-demo-panel { background: #fff; border-bottom: 1px solid #fed7aa; box-shadow: 0 6px 20px rgba(124,45,18,.08); }
.el-demo-panel__inner { max-width: 720px; margin: 0 auto; padding: 16px 20px; }
.el-demo-panel__head { display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: #9a3412; }
.el-demo-panel__head button { border: none; background: #f5f5f4; border-radius: 8px; width: 32px; height: 32px; cursor: pointer; }
.el-demo-note { font-size: .82rem; color: #78716c; }
.el-demo-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.el-demo-row {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px;
    border: 1px solid #fed7aa; border-radius: 12px; background: #fff; cursor: pointer;
    font-family: inherit; text-align: right;
}
.el-demo-row:hover { border-color: #ea580c; box-shadow: 0 4px 16px rgba(234,88,12,.12); }
.el-demo-row__icon { font-size: 1.5rem; }
.el-demo-row__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.el-demo-row__body strong { font-size: .9rem; }
.el-demo-row__body small { font-size: .75rem; color: #78716c; }
.el-demo-row code { font-size: .68rem; color: #a8a29e; }
.el-demo-row__badge { font-size: .72rem; color: #ea580c; }

.el-header--app { position: sticky; top: 0; z-index: 10; }
.el-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-right: auto; }
.el-tab {
    border: none; background: transparent; padding: 8px 12px; border-radius: 999px;
    cursor: pointer; font-family: inherit; font-size: .82rem;
}
.el-tab--on { background: #ffedd5; color: #9a3412; font-weight: 600; }

.el-main { max-width: 1100px; margin: 0 auto; padding: 20px; }
.el-btn {
    border: 1px solid #d6d3d1; background: #fff; border-radius: 10px;
    padding: 10px 18px; cursor: pointer; font-family: inherit; font-weight: 600;
}
.el-btn--primary { background: #ea580c; color: #fff; border-color: #ea580c; }
.el-btn--ghost { background: transparent; }

.el-dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 24px; }
.el-card {
    background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 16px; text-align: center;
}
.el-card strong { display: block; font-size: 1.5rem; color: #9a3412; }
.el-card span { font-size: .75rem; color: #78716c; }

.el-seg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.el-seg {
    background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 14px;
    display: flex; flex-direction: column; gap: 6px;
}
.el-seg code { font-size: .72rem; color: #a8a29e; }
.el-seg__meta { font-size: .78rem; color: #78716c; display: flex; flex-wrap: wrap; gap: 8px; }
.el-age { display: flex; flex-wrap: wrap; gap: 4px; font-size: .68rem; }
.el-age span { background: #ffedd5; padding: 2px 6px; border-radius: 6px; }

.el-sup-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.el-sup { background: #fff; border: 1px solid #fed7aa; border-radius: 12px; padding: 12px; }
.el-tag { font-size: .68rem; background: #ffedd5; color: #9a3412; padding: 2px 8px; border-radius: 999px; }

.el-pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.el-pkg { background: #fff; border: 2px dashed #fdba74; border-radius: 14px; padding: 16px; text-align: center; }
.el-pkg__size { font-weight: 700; color: #9a3412; display: block; margin-bottom: 8px; }
.el-badge { font-size: .72rem; background: #dcfce7; color: #166534; padding: 2px 8px; border-radius: 999px; }

.el-content { background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 16px; margin-bottom: 12px; }
.el-content h4 { margin: 8px 0 6px; }
.el-content p { margin: 0; font-size: .88rem; color: #57534e; line-height: 1.55; }

.el-report-form, .el-sms-form {
    background: #fff; border: 1px solid #fed7aa; border-radius: 16px; padding: 20px; max-width: 520px;
}
.el-report-form label, .el-sms-form label {
    display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; font-size: .82rem;
}
.el-report-form input, .el-report-form textarea,
.el-sms-form input, .el-sms-form textarea {
    padding: 10px; border: 1px solid #d6d3d1; border-radius: 10px; font-family: inherit;
}

.el-msg { margin-top: 10px; font-size: .88rem; }
.el-msg--ok { color: #166534; }
.el-msg--err { color: #b91c1c; }
.el-hint { font-size: .82rem; color: #78716c; }
.el-empty { text-align: center; color: #78716c; padding: 40px; }
.el-sms-list { list-style: none; padding: 0; font-size: .85rem; }
.el-sms-list li { padding: 8px 0; border-bottom: 1px solid #f5f5f4; }

@media (max-width: 640px) {
    .el-tabs { width: 100%; justify-content: center; }
    .el-demo-row code { display: none; }
}

/* v2 — ستاد شخصی */
.el-hq-banner {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 100%);
    color: #fff; border-radius: 16px; padding: 20px 24px; margin-bottom: 20px;
}
.el-hq-banner--admin { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); }
.el-hq-banner h2 { margin: 8px 0 6px; font-size: 1.25rem; }
.el-hq-banner__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.el-hq-banner__head code { background: rgba(255,255,255,.15); padding: 2px 8px; border-radius: 6px; font-size: .75rem; }
.el-hq-tagline { margin: 0; opacity: .9; font-size: .88rem; }

.el-brief {
    background: #fff; border: 1px solid #fed7aa; border-radius: 14px;
    padding: 16px 20px; margin-bottom: 20px; font-size: .88rem; line-height: 1.65;
}

.el-blocks { margin: 16px 0; }
.el-blocks h4 { margin: 0 0 8px; font-size: .88rem; color: #9a3412; }
.el-block-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.el-chip {
    background: #ffedd5; color: #9a3412; font-size: .75rem;
    padding: 4px 10px; border-radius: 999px; font-family: monospace;
}

.el-quick-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

.el-hint--warn { background: #fef3c7; border: 1px solid #fcd34d; border-radius: 10px; padding: 12px 16px; }

.el-intel-note {
    background: #eff6ff; border: 1px solid #93c5fd; border-radius: 10px;
    padding: 10px 14px; font-size: .82rem; color: #1e40af; margin-bottom: 16px;
}

.el-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.el-table { width: 100%; border-collapse: collapse; font-size: .82rem; background: #fff; border-radius: 12px; overflow: hidden; }
.el-table th, .el-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid #f5f5f4; }
.el-table th { background: #ffedd5; color: #9a3412; font-weight: 600; }

.el-hq-list { display: flex; flex-direction: column; gap: 12px; }
.el-hq-card {
    background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 16px;
}
.el-hq-card__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.el-hq-card__zone { font-size: .85rem; color: #57534e; margin-bottom: 8px; }
.el-hq-card__stats { display: flex; gap: 14px; font-size: .78rem; color: #78716c; margin-bottom: 12px; }

.el-assign-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.el-assign-form select {
    flex: 1; min-width: 180px; padding: 8px 10px; border: 1px solid #d6d3d1;
    border-radius: 10px; font-family: inherit; font-size: .82rem;
}
.el-btn--sm { padding: 6px 14px; font-size: .78rem; }
.el-assign-msg { font-size: .78rem; }

.el-mission-list { display: flex; flex-direction: column; gap: 10px; }
.el-mission {
    background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 14px 16px;
}
.el-mission--done { opacity: .72; border-color: #bbf7d0; }
.el-mission__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.el-mission__head strong { font-size: .92rem; }
.el-mission p { margin: 0 0 10px; font-size: .85rem; color: #57534e; line-height: 1.5; }
.el-mission__foot { display: flex; align-items: center; justify-content: space-between; font-size: .78rem; color: #78716c; }

/* v3 — صندوق‌محور */
.el-phase-bar {
    display: flex; gap: 4px; padding: 10px 20px; background: #fff;
    border-bottom: 1px solid #fed7aa; overflow-x: auto;
}
.el-phase-step {
    flex: 1; min-width: 100px; text-align: center; padding: 8px 6px;
    border-radius: 10px; font-size: .72rem; color: #78716c; background: #fafaf9;
}
.el-phase-step span { display: block; font-size: 1.2rem; margin-bottom: 2px; }
.el-phase-step--on { background: #ffedd5; color: #9a3412; font-weight: 700; }
.el-phase-step--done { background: #dcfce7; color: #166534; }

.el-station-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 16px 0; }
.el-station-card {
    background: #fff; border: 2px solid #fed7aa; border-radius: 14px; padding: 14px;
    cursor: pointer; transition: border-color .15s;
}
.el-station-card:hover, .el-station-card--on { border-color: #ea580c; box-shadow: 0 4px 16px rgba(234,88,12,.1); }
.el-station-card code { font-size: .72rem; color: #a8a29e; }
.el-station-card strong { display: block; margin: 4px 0; font-size: .92rem; }
.el-station-card__meta { display: flex; gap: 10px; font-size: .75rem; color: #78716c; margin: 6px 0; }
.el-station-card small { font-size: .72rem; color: #a8a29e; }

.el-select { width: 100%; max-width: 400px; padding: 10px; border: 1px solid #d6d3d1; border-radius: 10px; font-family: inherit; margin-bottom: 12px; }

.el-poi-form { background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 16px; max-width: 480px; margin-bottom: 20px; }
.el-poi-form label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: .82rem; }
.el-poi-form input, .el-poi-form select, .el-poi-form textarea {
    padding: 8px 10px; border: 1px solid #d6d3d1; border-radius: 8px; font-family: inherit;
}
.el-poi-list { display: flex; flex-direction: column; gap: 8px; }
.el-poi-item { background: #fff; border: 1px solid #fed7aa; border-radius: 10px; padding: 10px 14px; }

.el-shipment-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.el-shipment {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    background: #fff; border: 1px solid #fed7aa; border-radius: 10px; padding: 12px;
}
.el-shipment--received { opacity: .7; border-color: #bbf7d0; }

.el-org { background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 16px; }
.el-org-node { padding: 8px 0; border-right: 2px solid #fed7aa; padding-right: 12px; margin-bottom: 4px; }
.el-org-members { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.el-org-member { font-size: .75rem; background: #f5f5f4; padding: 2px 8px; border-radius: 6px; }

.el-phase-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.el-phase-form select { padding: 8px 12px; border-radius: 8px; border: 1px solid #d6d3d1; font-family: inherit; min-width: 280px; }

.el-dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 32px; }
.el-dept-card {
    background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 14px;
    text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.el-dept-card--click { cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.el-dept-card--click:hover, .el-dept-card--on { border-color: #ea580c; box-shadow: 0 4px 16px rgba(234,88,12,.12); }
.el-dept-card__icon { font-size: 1.8rem; }
.el-dept-card__icon--lg { font-size: 2.5rem; display: block; margin-bottom: 8px; }
.el-dept-card strong { font-size: .88rem; }
.el-dept-card small { font-size: .72rem; color: #78716c; line-height: 1.4; }
.el-hint--center { text-align: center; margin-bottom: 12px; }
.el-duty-list { margin: 0 0 20px; padding-right: 20px; font-size: .88rem; line-height: 1.7; }
.el-dept-detail { background: #fff; border: 1px solid #fed7aa; border-radius: 14px; padding: 16px; margin-top: 16px; }
.el-dept-page .el-btn { margin-top: 12px; }

/* —— تشکیلات اداری موقت —— */
.el-phases--wide { max-width: 1100px; }
.el-adm-office {
    background: #fafaf9; border: 1px solid #d6d3d1; border-radius: 4px;
    padding: 0; overflow: hidden; box-shadow: 0 2px 8px rgba(28,25,23,.06);
}
.el-adm-office--compact .el-adm-bureau__units { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.el-adm-lifecycle {
    display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 4px;
    background: #1c1917; color: #fafaf9; padding: 12px 16px; border-bottom: 3px solid #ea580c;
}
.el-adm-lifecycle--sm { padding: 8px 12px; font-size: .78rem; }
.el-adm-lifecycle__step {
    display: flex; align-items: center; gap: 8px; padding: 4px 10px;
    background: rgba(255,255,255,.08); border-radius: 4px;
}
.el-adm-lifecycle__num {
    display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center;
    background: #ea580c; color: #fff; border-radius: 2px; font-size: .72rem; font-weight: 700;
}
.el-adm-lifecycle__step strong { font-size: .82rem; }
.el-adm-lifecycle__step small { display: block; font-size: .68rem; opacity: .85; margin-top: 2px; }
.el-adm-lifecycle__arrow { opacity: .5; font-size: .9rem; align-self: center; padding: 0 4px; }

.el-adm-head {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    background: linear-gradient(180deg, #fff 0%, #f5f5f4 100%);
    border-bottom: 2px solid #78716c;
}
.el-adm-head__seal {
    width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
    background: #fff; border: 2px solid #57534e; border-radius: 4px; font-size: 1.6rem;
}
.el-adm-head__body h3 { margin: 0 0 4px; font-size: 1.05rem; color: #1c1917; }
.el-adm-head__sub { font-size: .78rem; color: #57534e; font-weight: 600; }
.el-adm-head__note { margin: 8px 0 0; font-size: .78rem; color: #78716c; line-height: 1.5; max-width: 640px; }

.el-adm-bureaus { display: flex; flex-direction: column; gap: 0; }
.el-adm-bureau { border-bottom: 1px solid #e7e5e4; background: #fff; }
.el-adm-bureau:last-child { border-bottom: none; }
.el-adm-bureau__head {
    display: flex; align-items: center; gap: 12px; padding: 12px 18px;
    background: #f5f5f4; border-bottom: 1px solid #e7e5e4;
    border-right: 4px solid #57534e;
}
.el-adm-bureau__icon { font-size: 1.4rem; }
.el-adm-bureau__head strong { display: block; font-size: .88rem; color: #292524; }
.el-adm-bureau__head small { font-size: .72rem; color: #78716c; }

.el-adm-bureau__units {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0;
    padding: 0;
}
.el-adm-unit {
    display: flex; flex-direction: column; gap: 4px; padding: 12px 14px;
    border-left: 1px solid #f5f5f4; border-bottom: 1px solid #f5f5f4;
    background: #fff; min-height: 88px;
}
.el-adm-unit__icon { font-size: 1.2rem; }
.el-adm-unit strong { font-size: .8rem; line-height: 1.35; color: #1c1917; }
.el-adm-unit small { font-size: .68rem; color: #78716c; line-height: 1.4; flex: 1; }
.el-adm-unit__badge {
    font-style: normal; font-size: .65rem; background: #ffedd5; color: #9a3412;
    padding: 2px 6px; border-radius: 2px; align-self: flex-start;
}
.el-adm-unit--click { cursor: pointer; transition: background .12s; }
.el-adm-unit--click:hover { background: #fff7ed; }
.el-adm-unit--on { background: #ffedd5; outline: 2px solid #ea580c; outline-offset: -2px; z-index: 1; }

.el-adm-bureau-tag { font-size: .82rem; color: #57534e; margin: 4px 0 8px; }
.el-org-page { max-width: 1100px; }
.el-org-page .el-hint { margin-bottom: 12px; }

/* —— هوادار + workflow —— */
.el-demo-note--section { margin-top: 14px; font-weight: 700; color: #9a3412; }
.el-demo-row--supporter { border-color: #fdba74; background: #fffbeb; }
.el-workspace--supporter .el-tab { font-size: .78rem; }

.el-workflow-landing { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.el-workflow-landing__step {
    background: #fff; border: 1px solid #fed7aa; border-radius: 10px; padding: 14px; text-align: center;
}
.el-workflow-landing__num {
    display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center;
    background: #ea580c; color: #fff; border-radius: 50%; font-size: .82rem; font-weight: 700; margin-bottom: 8px;
}
.el-workflow-landing__step h3 { margin: 0 0 6px; font-size: .85rem; }
.el-workflow-landing__step p { margin: 0; font-size: .7rem; color: #78716c; }
.el-workflow-landing__tab { display: block; margin-top: 8px; font-size: .65rem; color: #a8a29e; }

.el-supporter-home .el-hq-banner--supporter { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.el-workflow-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 12px 0 24px; }
.el-workflow-step {
    display: flex; flex-direction: column; gap: 4px; padding: 12px; text-align: right;
    background: #fff; border: 2px solid #fed7aa; border-radius: 10px; cursor: pointer;
    font-family: inherit; transition: border-color .12s, background .12s;
}
.el-workflow-step:hover { border-color: #ea580c; background: #fff7ed; }
.el-workflow-step--done { border-color: #86efac; background: #f0fdf4; }
.el-workflow-step__num {
    width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    background: #ea580c; color: #fff; border-radius: 50%; font-size: .75rem; font-weight: 700;
}
.el-workflow-step--done .el-workflow-step__num { background: #16a34a; }
.el-workflow-step strong { font-size: .82rem; }
.el-workflow-step small { font-size: .68rem; color: #78716c; line-height: 1.4; }

.el-warehouse-preview { margin-top: 24px; padding-top: 16px; border-top: 1px solid #fed7aa; }
.el-table--compact { font-size: .78rem; }
.el-banner-list { display: flex; flex-direction: column; gap: 8px; }
.el-banner-item {
    background: #fff; border: 1px solid #fed7aa; border-radius: 10px; padding: 12px 14px;
    border-right: 4px solid #fdba74;
}
.el-banner-item--installed { border-right-color: #86efac; }
.el-banner-item--verified { border-right-color: #16a34a; }
.el-banner-item__head { display: flex; gap: 8px; margin-bottom: 6px; }
.el-banner-item strong { display: block; font-size: .88rem; }
.el-adm-bureau--highlight { margin-bottom: 16px; border: 2px solid #ea580c; }
.el-org-info .el-adm-bureau__units { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }

.el-map-page #el-map-root { min-height: 420px; }
.el-map { height: 400px; border-radius: 12px; border: 1px solid #fed7aa; z-index: 1; }
.el-map-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; font-size: .72rem; }
.el-map-legend span { display: flex; align-items: center; gap: 4px; }
.el-map-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.el-map-pin span { display: block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }

.el-onboarding-section { max-width: 480px; margin-left: auto; margin-right: auto; }
.el-onboarding-form label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: .82rem; }
.el-onboarding-form input { padding: 10px; border: 1px solid #d6d3d1; border-radius: 8px; font-family: inherit; }
.el-onboarding-actions { display: flex; gap: 8px; margin-top: 8px; }

.el-station-card--pick { cursor: pointer; text-align: center; }
.el-station-card--pick input { margin-bottom: 6px; }
.el-shipment-chain { margin: 20px 0; padding-top: 16px; border-top: 1px solid #fed7aa; }
.el-shipment-items { margin: 6px 0 0; padding-right: 16px; font-size: .78rem; }

.el-county-grid, .el-committee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 16px 0; }
.el-county-card, .el-committee-card {
    background: #fff; border: 1px solid #fed7aa; border-radius: 10px; padding: 14px; text-align: center;
}
.el-county-card__icon { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.el-sms-page { display: flex; flex-direction: column; gap: 20px; }
.el-sms-config { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 12px; padding: 16px; }
.el-check { flex-direction: row !important; align-items: center; gap: 8px; }

.el-segment-progress { margin: 14px 0 8px; text-align: center; }
.el-segment-progress__bar {
    height: 10px; background: #fed7aa; border-radius: 999px; overflow: hidden; margin-bottom: 6px;
}
.el-segment-progress__bar span {
    display: block; height: 100%; background: linear-gradient(90deg, #ea580c, #f97316); border-radius: 999px;
}
.el-segment-progress--inline { max-width: 360px; }
.el-segment-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }

.el-financial h2, .el-segments h2 { margin-bottom: 12px; font-size: 1.1rem; }
.el-fin-tx-form {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0 20px;
    padding: 14px; background: #fff7ed; border-radius: 10px; border: 1px solid #fed7aa;
}
.el-fin-tx-form select, .el-fin-tx-form input { padding: 8px 10px; border: 1px solid #d6d3d1; border-radius: 8px; font-family: inherit; }
.el-budget-amt { width: 120px; padding: 4px 6px; border: 1px solid #d6d3d1; border-radius: 6px; }

/* ── ویجت هوشمند کاندید ── */
#el-candidate-widget { position: fixed; z-index: 99990; font-family: 'Vazirmatn', Tahoma, sans-serif; }
.el-cw-launcher {
    position: fixed; bottom: 24px; left: 24px; display: flex; align-items: center; gap: 8px;
    padding: 12px 18px; border: none; border-radius: 999px; cursor: pointer;
    background: linear-gradient(135deg, #ea580c, #c2410c); color: #fff;
    box-shadow: 0 8px 24px rgba(234, 88, 12, .45); font-family: inherit; font-size: .85rem;
}
.el-cw-launcher__icon { font-size: 1.3rem; }
.el-cw-panel {
    position: fixed; bottom: 88px; left: 24px; width: min(400px, calc(100vw - 32px)); max-height: min(560px, 78vh);
    background: #fff; border-radius: 16px; border: 1px solid #fed7aa;
    box-shadow: 0 16px 48px rgba(0,0,0,.18); display: flex; flex-direction: column; overflow: hidden;
    z-index: 99991;
}
/* display:flex overrides HTML [hidden] — must force hide */
.el-cw-panel[hidden],
.el-cw-panel.is-closed {
    display: none !important;
}
.el-cw-head {
    display: flex; align-items: center; gap: 10px; padding: 14px 16px;
    background: linear-gradient(135deg, #7c2d12, #ea580c); color: #fff;
    position: relative; z-index: 2; flex-shrink: 0;
}
.el-cw-head__avatar {
    width: 44px; height: 44px; border-radius: 50%;
    overflow: hidden; flex-shrink: 0;
    background: rgba(255,255,255,.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.el-cw-head__avatar img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.el-cw-head__text { flex: 1; min-width: 0; }
.el-cw-head strong { display: block; font-size: .92rem; }
.el-cw-head small { opacity: .85; font-size: .72rem; }
.el-cw-close {
    margin-inline-start: auto;
    flex-shrink: 0;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 8px;
    color: #fff; font-size: 1.15rem; line-height: 1;
    cursor: pointer; z-index: 3;
    display: inline-flex; align-items: center; justify-content: center;
}
.el-cw-close:hover { background: rgba(255,255,255,.28); }
.el-cw-tabs { display: flex; gap: 2px; padding: 8px; background: #fff7ed; overflow-x: auto; flex-shrink: 0; }
.el-cw-tab {
    flex: 1; min-width: 52px; padding: 6px 4px; border: none; border-radius: 8px; background: transparent;
    font-family: inherit; font-size: .7rem; cursor: pointer; color: #78716c;
}
.el-cw-tab--on { background: #fff; color: #ea580c; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.el-cw-body { flex: 1; overflow-y: auto; padding: 14px; font-size: .82rem; line-height: 1.65; }
.el-cw-section h3 { font-size: .95rem; margin-bottom: 8px; color: #7c2d12; }
.el-cw-portrait {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 14px; padding: 10px;
    background: #fff7ed; border-radius: 12px; border: 1px solid #fed7aa;
}
.el-cw-portrait img {
    width: 72px; height: 72px; border-radius: 50%;
    object-fit: cover; border: 2px solid #ea580c;
}
.el-cw-portrait figcaption {
    font-size: .88rem; font-weight: 700; color: #7c2d12; line-height: 1.45;
}
.el-cw-portrait small { font-weight: 500; color: #78716c; font-size: .72rem; }
.el-cw-list { margin: 8px 0; padding-right: 18px; }
.el-cw-slogan { margin: 10px 0; padding: 10px 12px; background: #fff7ed; border-right: 3px solid #ea580c; border-radius: 8px; }
.el-cw-slogan p { margin: 0; font-weight: 600; }
.el-cw-slogan footer { font-size: .72rem; color: #78716c; margin-top: 4px; }
.el-cw-pillar { margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed #fed7aa; }
.el-cw-pillar h4 { font-size: .88rem; margin-bottom: 4px; }
.el-cw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.el-cw-chip {
    padding: 6px 10px; border: 1px solid #fed7aa; border-radius: 999px; background: #fff7ed;
    font-family: inherit; font-size: .72rem; cursor: pointer; color: #9a3412;
}
.el-cw-chip:hover { background: #ffedd5; border-color: #ea580c; }
.el-cw-hint { font-size: .72rem; color: #78716c; margin-top: 8px; }
.el-cw-suggest-form label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; font-size: .78rem; }
.el-cw-suggest-form input, .el-cw-suggest-form select, .el-cw-suggest-form textarea {
    padding: 8px; border: 1px solid #d6d3d1; border-radius: 8px; font-family: inherit;
}
.el-cw-msgs { max-height: 220px; overflow-y: auto; margin-bottom: 8px; }
.el-cw-msg { margin-bottom: 8px; display: flex; }
.el-cw-msg--user { justify-content: flex-start; }
.el-cw-msg--bot { justify-content: flex-end; }
.el-cw-msg__bubble {
    max-width: 88%; padding: 8px 12px; border-radius: 12px; font-size: .8rem; line-height: 1.55;
}
.el-cw-msg--user .el-cw-msg__bubble { background: #ffedd5; border: 1px solid #fed7aa; }
.el-cw-msg--bot .el-cw-msg__bubble { background: #f5f5f4; border: 1px solid #e7e5e4; }
.el-cw-input-row { display: flex; gap: 6px; align-items: flex-end; margin-top: 8px; }
.el-cw-input-row textarea {
    flex: 1; padding: 8px; border: 1px solid #d6d3d1; border-radius: 10px; resize: none; font-family: inherit;
}
.el-cw-input-row button {
    width: 40px; height: 40px; border: none; border-radius: 10px; background: #ea580c; color: #fff; cursor: pointer;
}
.el-cw-typing { font-size: .72rem; color: #78716c; padding: 4px 0; }
.el-candidate-landing__actions { text-align: center; margin-top: 12px; }
.el-candidate-page .el-cw-section { background: #fff7ed; padding: 16px; border-radius: 12px; margin: 12px 0; }

/* ── OSCE Integrity ── */
.el-osce-landing-cert {
    display: flex; align-items: center; gap: 14px; margin: 20px auto; max-width: 520px;
    padding: 16px 20px; background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border: 2px solid #ea580c; border-radius: 16px; text-align: right;
}
.el-osce-landing-cert__badge { font-size: 2.4rem; }
.el-osce-cert { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff7ed; border-radius: 12px; margin-bottom: 12px; }
.el-osce-cert--large { padding: 20px; border: 2px solid #fed7aa; margin-bottom: 16px; }
.el-osce-cert__badge { font-size: 2rem; }
.el-osce-score { font-size: 1.8rem; color: #ea580c; display: block; margin-top: 8px; }
.el-osce-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 16px 0; }
.el-osce-card { background: #fff; border: 1px solid #fed7aa; border-radius: 10px; padding: 12px; font-size: .78rem; }
.el-osce-card header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 600; }
.el-osce-card em { display: block; margin-top: 6px; color: #78716c; font-size: .68rem; }
.el-osce-pillar { margin-bottom: 10px; }
.el-osce-pillar__head { display: flex; justify-content: space-between; font-size: .78rem; margin-bottom: 4px; }
.el-gap-list { padding-right: 20px; font-size: .82rem; line-height: 1.8; }

/* ── ماتریس اقشار ── */
.el-sector-matrix { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 12px 0 24px; }
.el-sector-card {
    background: #fff; border: 1px solid #fed7aa; border-radius: 12px; padding: 14px;
    cursor: pointer; transition: box-shadow .2s, border-color .2s;
}
.el-sector-card:hover { border-color: #ea580c; box-shadow: 0 4px 16px rgba(234,88,12,.15); }
.el-sector-card__icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.el-sector-card p { font-size: .75rem; color: #57534e; margin: 6px 0; }
.el-sector-card ul { font-size: .72rem; padding-right: 16px; margin: 8px 0; color: #78716c; }
.el-sector-card footer { font-size: .68rem; color: #a8a29e; margin-top: 8px; border-top: 1px dashed #fed7aa; padding-top: 6px; }
.el-sector-group h3 { font-size: .95rem; color: #7c2d12; margin: 20px 0 8px; }
.el-cw-sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.el-cw-sector-card {
    text-align: center; padding: 10px 6px; border: 1px solid #fed7aa; border-radius: 10px;
    background: #fff; cursor: pointer; font-family: inherit; font-size: .72rem;
}
.el-cw-sector-card strong { display: block; margin: 4px 0; }
.el-cw-sector-card em { color: #78716c; font-size: .65rem; }
.el-cw-chip--static { cursor: default; pointer-events: none; }
.el-cw-group { font-size: .82rem; color: #9a3412; margin: 12px 0 6px; }
.el-cw-sector-form select, .el-cw-sector-form input { width: 100%; margin-bottom: 6px; padding: 6px; border-radius: 6px; border: 1px solid #d6d3d1; font-family: inherit; }
