/* MA Jobs 1.3.6: last-loaded, context-scoped accessibility and RTL repairs. */
:root{--vip-readable-dark:#103e3b;--vip-readable-light:#f0fff9}
/* Old global .step span must NEVER style nested language spans as numbered circles. */
.wizard-wrap .stepper,.demo3-modal-apply .stepper{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:start;gap:8px!important;width:100%;max-width:100%;min-width:0;overflow:visible!important;direction:ltr!important;margin:8px auto 16px!important}
.wizard-wrap .stepper>.step,.demo3-modal-apply .stepper>.step{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;flex:initial!important;min-width:0!important;max-width:100%;gap:4px!important;padding:4px 2px!important;text-align:center!important;line-height:1.4!important;position:relative}
.wizard-wrap .stepper>.step:after,.demo3-modal-apply .stepper>.step:after{display:none!important}
.wizard-wrap .stepper>.step>span,.demo3-modal-apply .stepper>.step>span{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;min-height:30px!important;border-radius:50%!important;border:2px solid #8ebbb0!important;background:#d5e9e1!important;color:#064a41!important;font:800 13px/1 system-ui,Arial,sans-serif!important;white-space:nowrap!important;padding:0!important;margin:0 auto 2px!important;box-sizing:border-box!important}
.wizard-wrap .stepper>.step.active>span,.demo3-modal-apply .stepper>.step.active>span{background:#00a878!important;border-color:#00a878!important;color:#fff!important;box-shadow:0 0 0 3px #20ca9440}
.wizard-wrap .stepper>.step>b,.demo3-modal-apply .stepper>.step>b{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:start!important;gap:1px!important;min-width:0;width:100%;height:auto;line-height:1.4!important;color:#0a574c!important;white-space:normal!important;overflow-wrap:break-word!important}
.wizard-wrap .stepper>.step>b>span,.demo3-modal-apply .stepper>.step>b>span{all:revert;box-sizing:border-box!important;display:block!important;position:static!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:#0a574c!important;text-shadow:none!important;text-align:center!important;overflow-wrap:normal!important;white-space:normal!important;letter-spacing:normal!important}
.wizard-wrap .stepper>.step>b>[lang=en],.demo3-modal-apply .stepper>.step>b>[lang=en]{font:750 clamp(9px,1vw,12px)/1.4 system-ui,Arial,sans-serif!important}
.wizard-wrap .stepper>.step>b>[lang=ur],.demo3-modal-apply .stepper>.step>b>[lang=ur]{font-family:MAUrdu,'Noto Nastaliq Urdu','Noto Naskh Arabic',serif!important;font-size:clamp(10px,1vw,13px)!important;line-height:2.1!important;direction:rtl!important;unicode-bidi:isolate!important}
@media(max-width:600px){.wizard-wrap .stepper,.demo3-modal-apply .stepper{gap:3px!important}.wizard-wrap .stepper>.step>b>[lang=en],.demo3-modal-apply .stepper>.step>b>[lang=en]{font-size:9px!important}.wizard-wrap .stepper>.step>b>[lang=ur],.demo3-modal-apply .stepper>.step>b>[lang=ur]{font-size:10px!important}}
/* Public: preserve light panels' dark text instead of inherited white text. */
body:not(.admin-body) .tracking-card .tracking-result,body:not(.admin-body) .tracking-card .tracking-followup{color:#f0fff9!important}
body:not(.admin-body) .tracking-card .tracking-result :is(h2,p,small,strong,span,li),body:not(.admin-body) .tracking-card .tracking-followup :is(h2,p,small,strong,span,li){color:#effff8!important}
body:not(.admin-body) .tracking-card .tracking-alert,body:not(.admin-body) .tracking-card .track-alert{color:#173d36!important}
body:not(.admin-body) .paper.narrow.centered,body:not(.admin-body) .reference,body:not(.admin-body) .info-box{color:#133f3b!important}
body:not(.admin-body) .paper.narrow.centered :is(h1,h2,p,small,strong),body:not(.admin-body) .reference :is(small,strong),body:not(.admin-body) .info-box{color:#155247!important}
body:not(.admin-body) .reference strong{color:#00664a!important}
/* Administrative dark glass panels. Light controls must use dark text. */
body.admin-body .admin-content :is(.panel,.admin-hero){color:#f0fff9!important}
body.admin-body .admin-content :is(.panel,.admin-hero) :is(h2,h3,h4,p,small,label,span,li,strong){opacity:1}
body.admin-body .admin-content .panel :is(.admin-form,.admin-note,.admin-label,.inline-radio){color:#ecfff7!important}
body.admin-body .admin-content .panel :is(.admin-input,.admin-select,.admin-textarea){background:#073e40!important;color:#f6fff9!important;border:1px solid #62b4a5!important;opacity:1!important}
body.admin-body .admin-content .panel :is(.admin-input,.admin-select,.admin-textarea)::placeholder{color:#b7dbd2!important;opacity:1}
/* Light-background controls were incorrectly given white text by global rules. */
body.admin-body .admin-content .theme-color-input,body.admin-body .admin-content .theme-check-grid .inline-radio,body.admin-body .admin-content .staff-cap-check{background:#f1fff9!important;color:#103c38!important;border-color:#84c2b0!important;opacity:1!important}
body.admin-body .admin-content .theme-color-input :is(span,code),body.admin-body .admin-content .theme-check-grid .inline-radio :is(span,strong),body.admin-body .admin-content .staff-cap-check :is(span,strong){color:#103c38!important;opacity:1!important;text-shadow:none!important}
body.admin-body .admin-content .theme-color-input input[type=color]{background:#fff!important;color:#112e2e!important}
body.admin-body .admin-content .customizer-sticky{background:#e4fff3!important;color:#21473e!important}
body.admin-body .admin-content .customizer-sticky :is(span,small,p){color:#21473e!important}
/* Form Builder: light preview area uses dark text, not inherited mint/white. */
body.admin-body .admin-content #formPreview{background:#f2fffa!important;color:#123e38!important;direction:ltr!important;overflow-wrap:anywhere;min-width:0}
body.admin-body .admin-content #formPreview *{color:#123e38!important;opacity:1!important;text-shadow:none!important}
body.admin-body .admin-content #formPreview :is(input,textarea,select){background:#fff!important;color:#123e38!important;border:1px solid #76b7a5!important;opacity:1!important;-webkit-text-fill-color:#123e38!important;max-width:100%!important;box-sizing:border-box!important}
body.admin-body .admin-content #formPreview :is(input,textarea,select):disabled{opacity:1!important;cursor:default!important}
body.admin-body .admin-content #formPreview .preview-urdu{font-family:MAUrdu,'Noto Nastaliq Urdu','Noto Naskh Arabic',serif!important;direction:rtl!important;text-align:right!important;line-height:2.05!important}
body.admin-body .admin-content #formRows .field-row{min-width:0}
body.admin-body .admin-content #formRows .field-row :is(input,select){min-width:0!important}
body.admin-body .admin-content #formRows .field-row label{color:#f4fff9!important}
body.admin-body .admin-content #formRows .field-row label :is(input,span){opacity:1!important}
body.admin-body .admin-content .status-pill.draft{background:#ffe8b4!important;color:#5c3504!important}
/* The customizer's little mock theme preview should never inherit white-on-white. */
body.admin-body .admin-content .theme-preview-head :is(strong,span){color:#f1fff9!important}
body.admin-body .admin-content .theme-preview-buttons :is(span,b){color:#fff!important}
/* Active/done steps: override the old .step.active span rule on inner Urdu/English spans. */
.demo3-modal-apply .stepper>.step.active>b>span,.demo3-modal-apply .stepper>.step.done>b>span,
.wizard-wrap .stepper>.step.active>b>span,.wizard-wrap .stepper>.step.done>b>span{
 background:transparent!important;background-color:transparent!important;color:#09574b!important;border:0!important;border-radius:0!important;
 width:100%!important;height:auto!important;min-height:0!important;min-width:0!important;max-width:100%!important;
 padding:0!important;margin:0!important;box-shadow:none!important;display:block!important;place-items:initial!important;
 font-size:inherit;text-align:center!important;white-space:normal!important;
}
/* Dedicated mobile/compact spacing without reducing Urdu glyph legibility. */
@media(max-width:380px){.wizard-wrap .stepper>.step>b>[lang=en],.demo3-modal-apply .stepper>.step>b>[lang=en]{font-size:8.5px!important;letter-spacing:-.2px!important}.wizard-wrap .stepper>.step>b>[lang=ur],.demo3-modal-apply .stepper>.step>b>[lang=ur]{font-size:10px!important;line-height:2!important}}
