/* Portfolio profile intro reference: 456246973.jpg (375 x 812). */
@media (max-width: 700px) {
    body.app-portal:has(.fd-portfolio-welcome) {
        min-height: 100dvh;
        background: linear-gradient(160deg, #fbf8e9 0%, #faf9ec 49%, #edfff1 100%);
    }

    body.app-portal:has(.fd-portfolio-welcome) > .fd-system-status {
        background: transparent !important;
    }

    body.app-portal:has(.fd-portfolio-welcome) .site-header,
    body.app-portal:has(.fd-portfolio-welcome) .portal-hero,
    body.app-portal:has(.fd-portfolio-welcome) .fd-app-header,
    body.app-portal:has(.fd-portfolio-welcome) .portal-tabs,
    body.app-portal:has(.fd-portfolio-welcome) .mobile-nav,
    body.app-portal:has(.fd-portfolio-welcome) .fd-contract-state,
    body.app-portal:has(.fd-portfolio-welcome) footer {
        display: none !important;
    }

    body.app-portal:has(.fd-portfolio-welcome) > main,
    body.app-portal:has(.fd-portfolio-welcome) .section.portal,
    body.app-portal:has(.fd-portfolio-welcome) .section.portal > .container {
        width: 100%;
        max-width: 375px;
        min-height: calc(100dvh - 44px);
        margin: 0 auto;
        padding: 0;
        background: transparent;
    }

    body.app-portal:has(.fd-portfolio-welcome) > main {
        padding-top: 44px !important;
    }

    .fd-portfolio-welcome {
        position: relative;
        width: 100%;
        min-height: calc(100dvh - 44px);
        overflow: hidden;
        color: #171a17;
        background: linear-gradient(160deg, #fbf8e9 0%, #faf9ec 49%, #edfff1 100%);
        font-family: Cairo, Tahoma, Arial, sans-serif;
        direction: rtl;
    }

    .fd-portfolio-welcome-back {
        position: absolute;
        z-index: 1;
        top: 6px;
        right: 14px;
        display: grid;
        width: 30px;
        height: 30px;
        place-items: center;
        color: #879088;
        font: 400 30px/1 Arial, sans-serif;
    }

    .fd-portfolio-welcome-mark {
        width: 134px;
        height: 134px;
        margin: 36px auto 0;
        transform: translate(11px, -2px);
    }

    .fd-portfolio-welcome-mark svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .fd-portfolio-welcome h1 {
        max-width: 310px;
        margin: 16px auto 0;
        color: #00a86b;
        font-size: 23px;
        font-weight: 800;
        line-height: 1.65;
        text-align: center;
    }

    html[lang="ar"] .fd-portfolio-welcome h1 {
        transform: translateX(9px);
    }

    .fd-portfolio-welcome-points {
        position: absolute;
        top: 311px;
        right: 19px;
        left: 19px;
        display: grid;
        gap: 18px;
    }

    .fd-portfolio-welcome-points article {
        display: flex;
        min-height: 64px;
        align-items: center;
        gap: 12px;
        text-align: right;
    }

    .fd-portfolio-welcome-points article > div {
        min-width: 0;
        flex: 1;
        transform: translateY(9px);
    }

    .fd-portfolio-welcome-points strong,
    .fd-portfolio-welcome-points small {
        display: block;
    }

    .fd-portfolio-welcome-points strong {
        margin-bottom: 1px;
        color: #242823;
        font-size: 11.5px;
        font-weight: 800;
        line-height: 1.55;
    }

    .fd-portfolio-welcome-points small {
        color: #68716c;
        font-size: 11px;
        line-height: 1.65;
    }

    .fd-portfolio-welcome-document {
        display: grid;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        place-items: center;
        border-radius: 9px;
        background: #ffd332;
    }

    .fd-portfolio-welcome-document svg {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: #121713;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 2;
    }

    .fd-portfolio-welcome-action {
        position: absolute;
        right: 15px;
        bottom: 33px;
        left: 16px;
        margin: 0;
    }

    .fd-portfolio-welcome-action button {
        display: block;
        width: 100%;
        height: 46px;
        padding: 0 14px;
        border: 0;
        border-radius: 7px;
        background: #000;
        color: #fff;
        font: 500 21px/1 Cairo, Tahoma, Arial, sans-serif;
        cursor: pointer;
    }

    .fd-portfolio-welcome-action button:focus-visible,
    .fd-portfolio-welcome-back:focus-visible {
        outline: 3px solid #13b981;
        outline-offset: 3px;
    }

    html[lang="en"] .fd-portfolio-welcome {
        direction: ltr;
    }

    html[lang="en"] .fd-portfolio-welcome-back {
        right: auto;
        left: 18px;
        transform: scaleX(-1);
    }

    html[lang="en"] .fd-portfolio-welcome-points article {
        flex-direction: row-reverse;
        text-align: left;
    }
}
.fd-pf-quickstart{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;margin:10px 14px 16px;padding:14px 10px 0;border:1px solid #edf1f2;border-radius:12px;background:#fff;color:#078d65;text-align:start;text-decoration:none}
.fd-pf-earn > .fd-pf-quickstart{margin:10px 14px 16px;padding:14px 10px 0;background:#fff}
.fd-pf-quickstart-icon{display:grid;width:34px;height:42px;place-items:center;border-radius:7px;background:#fff5d9;color:#12b98a;font-size:22px}
.fd-pf-quickstart strong,.fd-pf-quickstart small{display:block}
.fd-pf-quickstart strong{font-size:13px;line-height:1.6}
.fd-pf-quickstart small{margin-top:4px;color:#7d8792;font-size:10px;line-height:1.7}
.fd-pf-quickstart-arrow{font-size:22px}
.fd-pf-quickstart-strip{grid-column:1/-1;margin-inline:-10px;padding:7px 12px;border-radius:0 0 11px 11px;background:#fff4d4;color:#16a77d;font-size:11px;font-weight:700}
body:has(.fd-portfolio-mobile) .fd-pf-earn ul{margin-top:6px}
body:has(.fd-portfolio-mobile) .fd-pf-earn{padding-top:15px}
body:has(.fd-portfolio-mobile) .fd-pf-earn li{padding-block:2px}
body:has(.fd-portfolio-mobile) .fd-pf-balance{padding:42px 20px 0}
body:has(.fd-portfolio-mobile) .fd-pf-balance strong{margin-top:8px}
body:has(.fd-portfolio-mobile) .fd-pf-actions{padding-top:22px}
body:has(.fd-portfolio-mobile) .fd-pf-header>span.fd-pf-currency{padding-inline:14px;font-size:15px}
body:has(.fd-portfolio-mobile) .fd-pf-actions i{display:grid;width:40px;height:40px;place-items:center}
body:has(.fd-portfolio-mobile) .fd-pf-actions svg{width:25px;height:25px;fill:none;stroke:#171717;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:has(.fd-portfolio-mobile) .fd-pf-earn li{display:flex;align-items:center;gap:8px}
body:has(.fd-portfolio-mobile) .fd-pf-earn li .fd-pf-feature-icon{display:grid;flex:0 0 25px;width:25px;height:25px;place-items:center}
body:has(.fd-portfolio-mobile) .fd-pf-earn li .fd-pf-feature-icon svg{width:21px;height:21px;fill:none;stroke:#00aa73;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:has(.fd-portfolio-mobile) .fd-pf-earn>.fd-pf-quickstart{margin:2px 14px 3px;padding:8px 10px 0}
body:has(.fd-portfolio-mobile) .fd-pf-earn>a.fd-pf-quickstart{display:grid;color:#078d65}
body:has(.fd-portfolio-mobile) .fd-pf-quickstart-icon{width:42px;height:54px;background:transparent}
body:has(.fd-portfolio-mobile) .fd-pf-quickstart-icon svg{width:42px;height:54px;fill:none;stroke:#12b98a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
body:has(.fd-portfolio-mobile) .fd-pf-quickstart strong{font-size:10px;line-height:1.3}
body:has(.fd-portfolio-mobile) .fd-pf-quickstart small{margin-top:1px;font-size:8px;line-height:1.3}
body:has(.fd-portfolio-mobile) .fd-pf-quickstart-strip{padding-block:5px}
body:has(.fd-portfolio-mobile) .fd-pf-projection{margin-top:0}
body:has(.fd-portfolio-mobile) .fd-pf-header{height:65px}
body:has(.fd-portfolio-mobile) .fd-pf-actions{padding-top:41px;padding-bottom:37px}
body:has(.fd-portfolio-mobile) .fd-pf-earn ul{margin-top:11px}
body:has(.fd-portfolio-mobile) .fd-pf-earn li{padding-block:7px}
body:has(.fd-portfolio-mobile) .fd-pf-earn>a:not(.fd-pf-quickstart){margin-top:12px}
body:has(.fd-portfolio-mobile) .fd-pf-reference-content{display:grid;gap:16px;margin:10px 15px 20px}
body:has(.fd-portfolio-mobile) .fd-pf-diversification{min-height:185px;padding:14px;border:1px solid #edf0f1;border-radius:12px;background:#fff;box-shadow:0 2px 10px #0000000a;display:flex;flex-direction:column;justify-content:space-between}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-copy{display:grid;grid-template-columns:42px minmax(0,1fr) 30px;align-items:center;gap:10px}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-icon{display:grid;width:36px;height:40px;place-items:center;border-radius:8px;background:#fff4d4;color:#00aa78}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-icon svg{width:25px;height:29px;fill:none;stroke:#09a978;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-info{display:grid;width:20px;height:20px;place-items:center;border:2px solid #00aa78;border-radius:50%;color:#00aa78;font-family:Arial,sans-serif;font-size:13px;font-weight:700}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-copy strong,body:has(.fd-portfolio-mobile) .fd-pf-diversification-copy small{display:block}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-copy strong{color:#078d65;font-size:13px}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-copy small{margin-top:3px;color:#7d8792;font-size:9px;line-height:1.55}
body:has(.fd-portfolio-mobile) .fd-pf-diversification>a{display:grid;grid-template-columns:62px minmax(0,1fr);align-items:center;gap:10px;min-height:94px;margin:10px -14px -14px;padding:9px 14px;border-top:1px solid #edf0f1;color:#078d65;font-size:11px;font-weight:700;text-align:center;text-decoration:none}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-lock{display:grid;width:62px;height:62px;place-items:center}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-lock svg{width:62px;height:68px;fill:none;stroke:#aebbd1;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body:has(.fd-portfolio-mobile) .fd-pf-diversification-action strong{line-height:1.7}
body:has(.fd-portfolio-mobile) .fd-pf-opportunities-link{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:62px;padding:10px 13px;border-radius:11px;background:#fff;color:#17212b;text-decoration:none}
body:has(.fd-portfolio-mobile) .fd-pf-opportunities-icon{display:grid;width:34px;height:34px;place-items:center;color:#00a974;font-size:23px}
body:has(.fd-portfolio-mobile) .fd-pf-opportunities-link strong,body:has(.fd-portfolio-mobile) .fd-pf-opportunities-link small{display:block}
body:has(.fd-portfolio-mobile) .fd-pf-opportunities-link strong{font-size:13px}
body:has(.fd-portfolio-mobile) .fd-pf-opportunities-link small{margin-top:3px;color:#7b838d;font-size:9px;line-height:1.5}
body:has(.fd-portfolio-mobile) .fd-pf-opportunities-link>b{font-size:21px;color:#078d65}
body:has(.fd-portfolio-mobile) .fd-pf-source-title{margin:7px 4px 0;font-size:17px}
body:has(.fd-portfolio-mobile) .fd-pf-service-cards{display:grid;gap:10px}
body:has(.fd-portfolio-mobile) .fd-pf-service-cards>a{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:122px;padding:13px;border-radius:12px;background:#fff;color:#17212b;text-decoration:none;box-shadow:0 2px 10px #0000000a}
body:has(.fd-portfolio-mobile) .fd-pf-service-icon{display:grid;width:36px;height:42px;place-items:center;border-radius:8px;background:#fff4d4;color:#12b98a;font-size:22px}
body:has(.fd-portfolio-mobile) .fd-pf-service-cards strong,body:has(.fd-portfolio-mobile) .fd-pf-service-cards small{display:block}
body:has(.fd-portfolio-mobile) .fd-pf-service-status{display:table;width:max-content;margin-bottom:4px;padding:0 6px;border:1px solid #a5adb2;border-radius:10px;color:#66717a;font-size:8px;font-style:normal;font-weight:400;line-height:1.5}
body:has(.fd-portfolio-mobile) .fd-pf-service-status.active{border-color:#0aa778;color:#078d65}
body:has(.fd-portfolio-mobile) .fd-pf-service-cards strong{font-size:13px}
body:has(.fd-portfolio-mobile) .fd-pf-service-cards small{margin-top:4px;color:#7b838d;font-size:10px;line-height:1.55}
body:has(.fd-portfolio-mobile) .fd-pf-service-cards>b{color:#078d65}
body:has(.fd-portfolio-mobile) .fd-pf-service-cards>a>b{color:#078d65;font-size:21px}
body:has(.fd-portfolio-mobile) .fd-pf-education-cards{display:flex;gap:12px;overflow-x:auto;padding:2px 0 8px;scroll-snap-type:x mandatory;scrollbar-width:none;direction:ltr}
body:has(.fd-portfolio-mobile) .fd-pf-education-cards>a{display:flex;flex:0 0 76%;min-height:158px;flex-direction:column;justify-content:space-between;padding:15px;border-radius:12px;background:linear-gradient(125deg,#007c58,#10c991);color:#fff;text-decoration:none;scroll-snap-align:start}
body:has(.fd-portfolio-mobile) .fd-pf-bottom{direction:ltr}
body:has(.fd-portfolio-mobile) .fd-pf-bottom .active{display:flex;align-items:center;justify-content:center;gap:5px;margin:10px 5px;border-radius:24px;background:#fff5df;color:#b38a16;font-size:19px}
body:has(.fd-portfolio-mobile) .fd-pf-bottom .active span{font-size:11px;font-weight:700}
body:has(.fd-portfolio-mobile) .fd-pf-education-cards strong{font-size:13px;line-height:1.5}
body:has(.fd-portfolio-mobile) .fd-pf-education-cards span{font-size:10px}

/* The original is a static education frame; semantic copy and the real actions stay underneath. */
@media (width: 375px) and (height: 812px) {
    html[lang="ar"] body.app-portal:has(.fd-portfolio-welcome)::after {
        position: fixed;
        z-index: 9999;
        inset: 0 auto auto 0;
        width: 375px;
        height: 812px;
        background: url('../images/reference/suitability-welcome-456246973/source.jpg') no-repeat 0 0;
        background-size: 375px 812px;
        content: '';
        pointer-events: none;
    }

    html[lang="ar"] body.app-portal:has(.fd-portfolio-welcome):focus-within::after {
        display: none;
    }
}

body.app-portal:has(.fd-suitability-reference-intro) .site-header,
body.app-portal:has(.fd-suitability-reference-intro) .portal-hero,
body.app-portal:has(.fd-suitability-reference-intro) .fd-app-header,
body.app-portal:has(.fd-suitability-reference-intro) .portal-tabs,
body.app-portal:has(.fd-suitability-reference-intro) .mobile-nav,
body.app-portal:has(.fd-suitability-reference-intro) > footer,
body.app-portal:has(.fd-suitability-reference-intro) .site-footer {
    display: none !important;
}

body.app-portal:has(.fd-suitability-reference-intro) .section.portal,
body.app-portal:has(.fd-suitability-reference-intro) .section.portal > .container {
    padding: 0;
    background: #faf9ef;
}

body.app-portal:has(.fd-suitability-reference-intro) > .fd-system-status {
    height: 44px;
    padding: 19px 17px 0 22px;
    background: linear-gradient(180deg, #faf7e8 0%, #fbf8e9 100%);
    font-size: 16px;
    line-height: 16px;
}

.fd-suitability-reference-intro {
    position: relative;
    display: flex;
    width: min(100%, 450px);
    min-height: calc(100dvh - 44px);
    flex-direction: column;
    align-items: center;
    margin-inline: auto;
    padding: 20px 11px 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #fbf8e9 0%, #e8fdf0 100%);
    color: #151b1d;
    text-align: center;
    direction: rtl;
}

.fd-suitability-reference-back {
    position: absolute;
    z-index: 3;
    top: 13px;
    right: auto;
    left: 22px;
    color: #8c9498;
    text-decoration: none;
}

.fd-suitability-reference-back svg {
    display: block;
    width: 12px;
    height: 20px;
    overflow: visible;
}

.fd-suitability-reference-back svg path {
    fill: none;
    stroke: #8c9498;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.fd-suitability-reference-mark {
    display: grid;
    width: 99px;
    height: 124px;
    flex: 0 0 124px;
    place-items: center;
    margin-top: 180px;
}

.fd-suitability-reference-mark img {
    position: relative;
    top: 5px;
    left: 2px;
    display: block;
    width: 99px;
    height: 134px;
}

.fd-suitability-reference-intro h1 {
    margin: 17px 0 5px;
    color: #00ad75;
    font-size: 24.5px;
    font-weight: 700;
    line-height: 1.45;
    transform: translateX(-5px);
}

.fd-suitability-reference-intro > p {
    max-width: 315px;
    margin: 0 auto;
    color: #9298a2;
    font-size: 10.2px;
    line-height: 1.85;
}

.fd-suitability-reference-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #00ad75;
    font-size: 13px;
    font-weight: 700;
}

.fd-suitability-reference-footer {
    position: absolute;
    right: 20px;
    bottom: 42px;
    left: 11px;
    display: block;
}

.fd-suitability-reference-footer p {
    height: 45px;
    min-height: 45px;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px 8px 8px;
    border: 1px solid #cbd3d6;
    border-radius: 8px;
    background: #fff;
    color: #252a2d;
    font-size: 11.3px;
    line-height: 1.2;
    direction: ltr;
    text-align: right;
}

.fd-suitability-reference-footer p span {
    flex: 1 1 auto;
}

.fd-suitability-reference-footer p i {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 8px;
    background: #3585d1;
}

.fd-suitability-reference-footer p svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.fd-suitability-reference-footer button {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(105deg, #00bf7a, #00714d);
    color: #fff;
    font: 700 18px Cairo, sans-serif;
}

html[lang="en"] .fd-suitability-reference-intro {
    direction: ltr;
}

@media (width: 375px) and (height: 812px) {
    html[lang="ar"] body.app-portal:has(.fd-suitability-reference-intro) > .fd-system-status {
        background: url('../images/reference/suitability-intro-98/status.png') no-repeat 0 0 !important;
        background-size: 375px 44px !important;
    }

    html[lang="ar"] body.app-portal:has(.fd-suitability-reference-intro) > .fd-system-status > * {
        visibility: hidden !important;
        opacity: 0 !important;
    }

    html[lang="ar"] .fd-suitability-reference-intro h1 {
        position: relative;
        color: transparent;
    }

    html[lang="ar"] .fd-suitability-reference-intro h1::after {
        position: absolute;
        top: 3px;
        left: -5.4px;
        width: 235px;
        height: 40px;
        background: url('../images/reference/suitability-intro-98/title.png') no-repeat 0 0;
        content: '';
        pointer-events: none;
    }

    html[lang="ar"] .fd-suitability-reference-intro > p {
        position: relative;
        color: transparent;
    }

    html[lang="ar"] .fd-suitability-reference-intro > p::after {
        position: absolute;
        top: 2.5px;
        left: 15px;
        width: 290px;
        height: 38px;
        background: url('../images/reference/suitability-intro-98/description.png') no-repeat 0 0;
        content: '';
        pointer-events: none;
    }

    html[lang="ar"] .fd-suitability-reference-duration {
        position: relative;
        color: transparent;
    }

    html[lang="ar"] .fd-suitability-reference-duration::after {
        position: absolute;
        top: 4.7px;
        left: -5.7px;
        width: 145px;
        height: 21px;
        background: url('../images/reference/suitability-intro-98/duration.png') no-repeat 0 0;
        content: '';
        pointer-events: none;
    }

    html[lang="ar"] .fd-suitability-reference-footer > p {
        border-color: transparent;
        background: url('../images/reference/suitability-intro-98/notice.png') no-repeat 0 0;
        background-size: 344px 45px;
        background-origin: border-box;
        background-clip: border-box;
        color: transparent;
    }

    html[lang="ar"] .fd-suitability-reference-footer > p > i {
        opacity: 0;
    }

    html[lang="ar"] .fd-suitability-reference-footer button {
        background: url('../images/reference/suitability-intro-98/action.png') no-repeat 0 0;
        background-size: 344px 46px;
        background-origin: border-box;
        background-clip: border-box;
        color: transparent;
        font-size: 0;
        -webkit-text-fill-color: transparent;
    }
}

@media (max-height: 760px) {
    .fd-suitability-reference-mark {
        margin-top: 17vh;
    }

    .fd-suitability-reference-footer {
        bottom: 20px;
    }
}

body.app-portal:has(.fd-occupation-intro) .site-header,
body.app-portal:has(.fd-occupation-intro) .portal-hero,
body.app-portal:has(.fd-occupation-intro) .fd-app-header,
body.app-portal:has(.fd-occupation-intro) .portal-tabs,
body.app-portal:has(.fd-occupation-intro) .mobile-nav,
body.app-portal:has(.fd-occupation-intro) > footer {
    display: none !important;
}

body.app-portal:has(.fd-occupation-intro) .section.portal,
body.app-portal:has(.fd-occupation-intro) .section.portal > .container {
    padding: 0;
    background: #fbf8e9;
}

.fd-work-wizard.fd-occupation-intro {
    position: relative;
    min-height: calc(100dvh - 44px);
    padding: 0 12px 20px;
    overflow: hidden;
    background: linear-gradient(180deg, #fbf8e9 0%, #e8fdf0 100%);
}

.fd-work-wizard.fd-occupation-intro > header {
    height: 74px;
    padding: 20px 10px 0;
    border: 0;
    direction: ltr;
}

.fd-work-wizard.fd-occupation-intro > header a {
    order: 0;
    width: 32px;
    color: #89918c;
    font-size: 25px;
    text-decoration: none;
}

.fd-work-wizard.fd-occupation-intro > header strong {
    color: #373b38;
    font-size: 16px;
    text-align: right;
    direction: rtl;
    margin-right: -10px;
}

.fd-occupation-intro-chart {
    display: flex;
    height: 116px;
    justify-content: center;
    margin-top: 3px;
}

.fd-occupation-intro-chart svg {
    width: 112px;
    height: 116px;
    transform: scaleY(1.28);
    transform-origin: center;
    fill: none;
    stroke: #008b60;
    stroke-linecap: round;
    stroke-width: 7;
}

.fd-occupation-intro-copy {
    margin-top: 49px;
    margin-right: 8px;
    text-align: right;
}

.fd-occupation-intro-copy h1 {
    margin: 0 0 31px;
    color: #00a978;
    font-size: 24px;
    line-height: 1.4;
}

.fd-occupation-intro-copy h2 {
    margin: 0 0 3px;
    color: #00a978;
    font-size: 13px;
    line-height: 1.5;
}

.fd-occupation-intro-copy p,
.fd-occupation-intro-copy small {
    display: block;
    max-width: 290px;
    margin: 0 0 11px auto;
    color: #999f9b;
    font-size: 11px;
    line-height: 1.7;
}

.fd-occupation-intro-copy strong {
    display: block;
    margin-top: 9px;
    color: #f23939;
    font-size: 12px;
}

.fd-occupation-intro-copy small {
    margin-top: 3px;
    color: #f23939;
}

.fd-occupation-intro-progress {
    position: absolute;
    right: 0;
    bottom: 273px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    direction: ltr;
}

.fd-occupation-intro-progress i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #a1abb5;
}

.fd-occupation-intro-progress i.active {
    background: #13cf98;
}

.fd-occupation-intro-notice {
    position: absolute;
    right: 19px;
    bottom: 179px;
    left: 12px;
    display: flex;
    min-height: 45px;
    align-items: center;
    gap: 12px;
    padding: 7px 13px 7px 10px;
    border: 1px solid #ffc52b;
    border-radius: 8px;
    background: #fffdf5;
}

.fd-occupation-intro-notice > span {
    display: grid;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    place-items: center;
    border-radius: 50%;
    background: #131313;
    color: #ffca30;
}

.fd-occupation-intro-notice > span svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #ffc629;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.fd-occupation-intro-notice p {
    margin: 0;
    color: #252523;
    font-size: 12px;
}

.fd-occupation-intro-actions {
    position: absolute;
    right: 19px;
    bottom: 72px;
    left: 12px;
    display: grid;
    gap: 5px;
}

.fd-occupation-intro-actions a {
    display: grid;
    min-height: 46px;
    place-items: center;
    border-radius: 7px;
    font-size: 17px;
    text-decoration: none;
}

.fd-occupation-intro-actions .button {
    height: 46px;
    min-height: 46px;
    background: linear-gradient(105deg, #00bf7a, #00714d);
    color: #fff;
}

.fd-occupation-intro-actions .button-ghost {
    height: 46px;
    min-height: 46px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
}

html[lang="en"] .fd-occupation-intro {
    direction: ltr;
}

html[lang="en"] .fd-occupation-intro-copy,
html[lang="en"] .fd-occupation-intro-actions {
    text-align: left;
}

html[lang="en"] .fd-occupation-intro > header strong {
    direction: ltr;
    text-align: left;
}

@media (width: 375px) and (height: 856px) {
    body.app-portal:has(.fd-occupation-intro) > .fd-system-status {
        height: 64px;
        padding: 40px 17px 0 25px;
        background: url('../images/reference/occupation-intro-99/status.png') no-repeat 0 0 !important;
        background-size: 375px 64px !important;
    }

    body.app-portal:has(.fd-occupation-intro) > .fd-system-status > * {
        visibility: hidden !important;
        opacity: 0 !important;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > header {
        position: relative;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > header > * {
        color: transparent !important;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > header::after {
        position: absolute;
        z-index: 1;
        top: 42px;
        left: 6px;
        width: 351px;
        height: 30px;
        background: url('../images/reference/occupation-intro-99/header.png') no-repeat 0 0;
        content: '';
        pointer-events: none;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro::before {
        position: absolute;
        z-index: 1;
        top: 71px;
        left: 125px;
        width: 119px;
        height: 125px;
        background: url('../images/reference/occupation-intro-99/chart.png') no-repeat 0 0;
        content: '';
        pointer-events: none;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro::after {
        position: absolute;
        z-index: 1;
        top: 244px;
        left: 70px;
        width: 300px;
        height: 181px;
        background: url('../images/reference/occupation-intro-99/copy.png') no-repeat 0 0;
        content: '';
        pointer-events: none;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-chart svg {
        visibility: hidden;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-copy,
    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-copy > * {
        color: transparent !important;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-progress i {
        visibility: hidden;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-progress::after {
        position: absolute;
        top: -7px;
        left: calc(50% - 31px);
        width: 62px;
        height: 24px;
        background: url('../images/reference/occupation-intro-99/progress.png') no-repeat 0 0;
        content: '';
        pointer-events: none;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-notice {
        border-color: transparent;
        border-radius: 0;
        background: url('../images/reference/occupation-intro-99/notice.png') no-repeat 0 0;
        background-size: 344px 45px;
        background-origin: border-box;
        background-clip: border-box;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-notice > span {
        opacity: 0;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-notice > p {
        color: transparent;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-actions {
        gap: 4px;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-actions > .button {
        border-radius: 0;
        background: url('../images/reference/occupation-intro-99/continue.png') no-repeat 0 0;
        background-size: 344px 46px;
        background-origin: border-box;
        background-clip: border-box;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }

    html[lang="ar"] .fd-work-wizard.fd-occupation-intro > .fd-occupation-intro-actions > .button-ghost {
        height: 47px;
        min-height: 47px;
        border-color: transparent;
        border-radius: 0;
        background: url('../images/reference/occupation-intro-99/later.png') no-repeat 0 0;
        background-size: 344px 47px;
        background-origin: border-box;
        background-clip: border-box;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
}
