 
.carry-jobs-shell {
    --carry-ink: #102033;
    --carry-muted: #64748b;
    --carry-border: #e2e8f0;
    --carry-soft: #f8fafc;
    --carry-brand: #0f766e;
    --carry-brand-dark: #0b4f4a;
    --carry-gold: #f59e0b;
    padding-bottom: 5.5rem;
}

.carry-empty-state {
    display: grid;
    place-items: center;
    padding: 3rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    text-align: center;
}

.carry-empty-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 22px;
    color: #0f766e;
    background: #ccfbf1;
    font-size: 1.6rem;
}

.carry-empty-state h5 {
    margin-bottom: .25rem;
    font-weight: 800;
    color: #102033;
}

.carry-empty-state p {
    margin: 0;
    color: #64748b;
}

.carry-jobs-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid rgba(15, 118, 110, .14);
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(15, 118, 110, .12), transparent 26%), #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.carry-toolbar-eyebrow {
    display: block;
    margin-bottom: .15rem;
    color: #0f766e;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.carry-jobs-toolbar h5 {
    margin: 0;
    color: var(--carry-ink);
    font-weight: 900;
    letter-spacing: -.02em;
}

.carry-sort-group {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

    .carry-sort-group button {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        border: 1px solid #dbe6f0;
        border-radius: 999px;
        padding: .45rem .7rem;
        color: #334155;
        background: #fff;
        font-size: .82rem;
        font-weight: 800;
    }

        .carry-sort-group button:hover {
            border-color: rgba(15, 118, 110, .35);
            color: #0f766e;
            background: #f0fdfa;
        }

.carry-jobs-board {
    display: grid;
    gap: 1rem;
}

.carry-job-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--carry-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .carry-job-card:hover {
        transform: translateY(-2px);
        border-color: rgba(15, 118, 110, .38);
        box-shadow: 0 24px 60px rgba(15, 23, 42, .1);
    }

    .carry-job-card a,
    .carry-job-card button {
        position: relative;
        z-index: 2;
    }

.carry-card-main,
.carry-job-side {
    min-width: 0;
}

.carry-job-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .95rem;
}

.carry-job-label {
    display: block;
    color: var(--carry-muted);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.carry-job-head h5 {
    margin: .1rem 0 0;
    color: var(--carry-ink);
    font-weight: 900;
    letter-spacing: -.02em;
}

.carry-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 32px;
    padding: .4rem .7rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
}

.carry-route-panel {
    padding: .9rem;
    border: 1px solid #e6edf5;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.carry-route-point {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: .65rem;
    align-items: start;
}

    .carry-route-point small {
        display: block;
        margin-bottom: .08rem;
        color: var(--carry-muted);
        font-size: .72rem;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .08em;
    }

    .carry-route-point strong {
        display: block;
        color: #1e293b;
        font-size: .92rem;
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

.carry-route-dot {
    width: 14px;
    height: 14px;
    margin-top: .2rem;
    border-radius: 999px;
    box-shadow: 0 0 0 4px #fff;
}

    .carry-route-dot.pickup {
        background: #0f766e;
    }

    .carry-route-dot.dropoff {
        background: #f59e0b;
    }

.carry-route-line {
    width: 2px;
    height: 24px;
    margin: .25rem 0 .25rem 6px;
    border-radius: 999px;
    background: repeating-linear-gradient(to bottom, #cbd5e1 0, #cbd5e1 4px, transparent 4px, transparent 8px);
}

.carry-job-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .7rem;
    margin-top: .85rem;
}

.carry-meta-tile {
    min-width: 0;
    padding: .8rem;
    border: 1px solid #e6edf5;
    border-radius: 18px;
    background: #fff;
}

    .carry-meta-tile i {
        display: inline-grid;
        place-items: center;
        width: 30px;
        height: 30px;
        margin-bottom: .55rem;
        border-radius: 12px;
        color: #0f766e;
        background: #ccfbf1;
    }

    .carry-meta-tile span,
    .carry-pay-card span {
        display: block;
        color: var(--carry-muted);
        font-size: .7rem;
        font-weight: 900;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .carry-meta-tile strong {
        display: block;
        margin-top: .15rem;
        color: #102033;
        font-size: .92rem;
        font-weight: 900;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .carry-meta-tile small,
    .carry-pay-card small {
        display: block;
        margin-top: .12rem;
        color: #64748b;
        font-weight: 700;
    }

.carry-job-side {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.carry-urgent-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: .55rem .75rem;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #9a3412;
    background: #fff7ed;
    font-size: .82rem;
    font-weight: 900;
}

.carry-pay-card {
    padding: 1rem;
    border-radius: 24px;
    color: #fff;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, .45), transparent 36%), linear-gradient(135deg, #102033, #0f766e);
    box-shadow: 0 18px 38px rgba(15, 118, 110, .2);
}

    .carry-pay-card span,
    .carry-pay-card small {
        color: rgba(255, 255, 255, .78);
    }

    .carry-pay-card strong {
        display: block;
        margin-top: .2rem;
        font-size: 1.55rem;
        font-weight: 950;
        letter-spacing: -.03em;
    }

.carry-actions-slot {
    margin-top: auto;
}

.carry-job-actions,
.carry-action-form {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: flex-end;
}

.carry-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 38px;
    padding: .48rem .72rem;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 900;
    line-height: 1;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

    .carry-action-btn:hover {
        transform: translateY(-1px);
        text-decoration: none;
    }

.carry-action-primary {
    width: 100%;
    color: #fff;
    background: linear-gradient(135deg, #16a34a, #0f766e);
    box-shadow: 0 14px 28px rgba(22, 163, 74, .22);
}

.carry-action-dark {
    color: #fff;
    background: #102033;
}

.carry-action-route {
    color: #0f766e;
    background: #f0fdfa;
    border-color: #99f6e4;
}

.carry-action-success {
    color: #166534;
    background: #dcfce7;
    border-color: #bbf7d0;
}

.carry-action-muted {
    color: #334155;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.carry-no-action {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #94a3b8;
    font-size: .82rem;
    font-weight: 800;
}

.carry-mobile-nav {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1030;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    padding: .55rem;
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 24px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 50px rgba(15, 23, 42, .18);
    backdrop-filter: blur(14px);
}

    .carry-mobile-nav a {
        display: grid;
        gap: .12rem;
        place-items: center;
        padding: .55rem .25rem;
        border-radius: 18px;
        color: #334155;
        text-decoration: none;
        font-size: .72rem;
        font-weight: 900;
    }

        .carry-mobile-nav a:hover {
            color: #0f766e;
            background: #f0fdfa;
        }

    .carry-mobile-nav i {
        font-size: 1.2rem;
    }

@media (max-width: 992px) {
    .carry-job-card {
        grid-template-columns: 1fr;
    }

    .carry-job-side {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .carry-pay-card {
        min-width: 220px;
    }
}

@media (max-width: 768px) {
    .carry-jobs-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .carry-sort-group {
        justify-content: flex-start;
    }

    .carry-job-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carry-job-side {
        grid-template-columns: 1fr;
    }

    .carry-pay-card {
        min-width: 0;
    }

    .carry-job-actions,
    .carry-action-form {
        justify-content: stretch;
    }

    .carry-action-btn {
        flex: 1 1 auto;
    }
}

@media (max-width: 520px) {
    .carry-job-card {
        padding: .8rem;
        border-radius: 22px;
    }

    .carry-job-head {
        flex-direction: column;
    }

    .carry-status-pill {
        white-space: normal;
    }

    .carry-job-meta-grid {
        grid-template-columns: 1fr;
    }
}


.carry-progress-card {
    --carry-ink: #102033;
    --carry-muted: #718096;
    --carry-line: #dbe5f0;
    --carry-soft: #f6f9fc;
    --carry-brand: #0f766e;
    --carry-brand-dark: #0b4f4a;
    --carry-accent: #f59e0b;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    border: 1px solid rgba(15, 118, 110, .14);
    border-radius: 28px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.carry-progress-hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem;
    color: #fff;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, .38), transparent 34%), linear-gradient(135deg, #102033 0%, #0f766e 100%);
}

    .carry-progress-hero h5 {
        font-weight: 800;
        letter-spacing: -.02em;
    }

    .carry-progress-hero p,
    .carry-eyebrow,
    .carry-progress-score span {
        color: rgba(255, 255, 255, .78);
    }

.carry-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: .45rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.carry-progress-score {
    min-width: 104px;
    padding: .8rem .95rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 22px;
    background: rgba(255, 255, 255, .13);
    backdrop-filter: blur(12px);
}

    .carry-progress-score strong {
        display: block;
        font-size: 1.45rem;
        line-height: 1;
    }

    .carry-progress-score span {
        display: block;
        margin-top: .25rem;
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
    }

.carry-progress-meter {
    height: 8px;
    background: #e8eef5;
}

    .carry-progress-meter span {
        display: block;
        height: 100%;
        border-radius: 0 999px 999px 0;
        background: linear-gradient(90deg, #0f766e, #f59e0b);
        transition: width .35s ease;
    }

.carry-complete-banner {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 1rem 1.25rem 0;
    padding: 1rem;
    border: 1px solid rgba(22, 163, 74, .2);
    border-radius: 20px;
    color: #166534;
    background: #ecfdf5;
}

    .carry-complete-banner i {
        font-size: 1.35rem;
    }

    .carry-complete-banner span {
        display: block;
        color: #4b5563;
        font-size: .88rem;
    }

.carry-timeline-list {
    display: grid;
    gap: .85rem;
    padding: 1.25rem;
}

.carry-timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: .85rem;
    padding: .95rem;
    border: 1px solid var(--carry-line);
    border-radius: 22px;
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

    .carry-timeline-step:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 35px rgba(15, 23, 42, .08);
    }

.carry-step-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #718096;
    background: #edf2f7;
}

.carry-step-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
}

.carry-step-body h6 {
    margin: 0;
    color: var(--carry-ink);
    font-weight: 800;
}

.carry-step-body p {
    margin: .18rem 0 0;
    color: var(--carry-muted);
    font-size: .86rem;
}

.carry-step-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: .32rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    background: #edf2f7;
    color: #64748b;
}

.carry-step-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .72rem;
}

    .carry-step-meta span {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: .35rem .58rem;
        border-radius: 999px;
        color: #526071;
        background: #f8fafc;
        border: 1px solid #e5edf5;
        font-size: .78rem;
        font-weight: 700;
    }

.carry-timeline-step.is-done {
    border-color: rgba(22, 163, 74, .24);
    background: linear-gradient(180deg, #ffffff, #f0fdf4);
}

    .carry-timeline-step.is-done .carry-step-icon,
    .carry-timeline-step.is-done .carry-step-state {
        color: #166534;
        background: #dcfce7;
    }

.carry-timeline-step.is-current {
    border-color: rgba(245, 158, 11, .42);
    box-shadow: 0 18px 42px rgba(245, 158, 11, .16);
    background: linear-gradient(180deg, #fff, #fffbeb);
}

    .carry-timeline-step.is-current .carry-step-icon,
    .carry-timeline-step.is-current .carry-step-state {
        color: #92400e;
        background: #fef3c7;
    }

.carry-late-charge {
    color: #b42318 !important;
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
}

@media (max-width: 576px) {
    .carry-progress-hero {
        flex-direction: column;
    }

    .carry-progress-score {
        width: 100%;
    }

    .carry-timeline-step {
        grid-template-columns: 38px 1fr;
        border-radius: 18px;
    }

    .carry-step-icon {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

    .carry-step-topline {
        flex-direction: column;
    }
}
/* ==========================================================
   Carry Africa Jobs - Colour Upgrade Layer
   Add this at the bottom of carry-job.css
   ========================================================== */

.carry-jobs-shell {
    --carry-ink: #102033;
    --carry-muted: #64748b;
    --carry-border: rgba(15, 118, 110, .18);
    --carry-soft: #f8fafc;
    --carry-brand: #0f766e;
    --carry-brand-dark: #064e3b;
    --carry-gold: #f59e0b;
    --carry-sky: #0284c7;
    --carry-purple: #7c3aed;
    --carry-rose: #e11d48;
    --carry-green: #16a34a;
    --carry-orange: #ea580c;
    min-height: 100%;
    padding: 1rem 0 5.5rem;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, .15), transparent 30%),
        radial-gradient(circle at top right, rgba(245, 158, 11, .16), transparent 28%),
        linear-gradient(180deg, #f8fafc 0%, #eef7f4 42%, #fffaf0 100%);
}

.carry-jobs-toolbar {
    border-color: rgba(15, 118, 110, .22);
    background:
        radial-gradient(circle at 8% 20%, rgba(245, 158, 11, .18), transparent 24%),
        radial-gradient(circle at 92% 10%, rgba(2, 132, 199, .14), transparent 26%),
        linear-gradient(135deg, #ffffff 0%, #f0fdfa 52%, #fff7ed 100%);
    box-shadow: 0 22px 55px rgba(15, 118, 110, .11);
}

.carry-toolbar-eyebrow {
    color: #0f766e;
}

.carry-sort-group button {
    border-color: rgba(15, 118, 110, .18);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.carry-sort-group button:nth-child(1):hover {
    color: #0f766e;
    background: #ccfbf1;
    border-color: #5eead4;
}

.carry-sort-group button:nth-child(2):hover {
    color: #92400e;
    background: #fef3c7;
    border-color: #fcd34d;
}

.carry-sort-group button:nth-child(3):hover {
    color: #075985;
    background: #e0f2fe;
    border-color: #7dd3fc;
}

.carry-job-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(15, 118, 110, .16);
    background:
        linear-gradient(90deg, rgba(15, 118, 110, .075), transparent 22%),
        linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
    box-shadow: 0 22px 55px rgba(15, 23, 42, .08);
}

.carry-job-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: linear-gradient(180deg, #0f766e, #f59e0b, #0284c7);
}

.carry-job-card::after {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 158, 11, .16), transparent 68%);
    pointer-events: none;
}

.carry-job-card:hover {
    border-color: rgba(15, 118, 110, .42);
    box-shadow: 0 28px 70px rgba(15, 118, 110, .16);
}

.carry-job-label {
    color: #0f766e;
}

.carry-status-pill {
    color: #075985;
    background: linear-gradient(135deg, #e0f2fe, #ccfbf1);
    border: 1px solid rgba(14, 165, 233, .28);
}

.carry-route-panel {
    border-color: rgba(15, 118, 110, .16);
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(240,253,250,.88)),
        radial-gradient(circle at top right, rgba(245, 158, 11, .12), transparent 30%);
}

.carry-route-point:first-child strong {
    color: #064e3b;
}

.carry-route-point:last-child strong {
    color: #92400e;
}

.carry-route-dot.pickup {
    background: #0f766e;
    box-shadow: 0 0 0 4px #ccfbf1, 0 0 0 8px rgba(15, 118, 110, .08);
}

.carry-route-dot.dropoff {
    background: #f59e0b;
    box-shadow: 0 0 0 4px #fef3c7, 0 0 0 8px rgba(245, 158, 11, .12);
}

.carry-route-line {
    background: linear-gradient(180deg, #0f766e, #f59e0b);
    opacity: .9;
}

.carry-meta-tile {
    position: relative;
    overflow: hidden;
    border-color: rgba(15, 118, 110, .13);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
}

.carry-meta-tile::after {
    content: "";
    position: absolute;
    right: -22px;
    top: -22px;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    opacity: .18;
    background: currentColor;
}

.carry-meta-tile:nth-child(1) i,
.carry-meta-tile:nth-child(1)::after {
    color: #0f766e;
}

.carry-meta-tile:nth-child(1) i {
    background: #ccfbf1;
}

.carry-meta-tile:nth-child(2) i,
.carry-meta-tile:nth-child(2)::after {
    color: #f59e0b;
}

.carry-meta-tile:nth-child(2) i {
    background: #fef3c7;
}

.carry-meta-tile:nth-child(3) i,
.carry-meta-tile:nth-child(3)::after {
    color: #0284c7;
}

.carry-meta-tile:nth-child(3) i {
    background: #e0f2fe;
}

.carry-meta-tile:nth-child(4) i,
.carry-meta-tile:nth-child(4)::after {
    color: #7c3aed;
}

.carry-meta-tile:nth-child(4) i {
    background: #ede9fe;
}

.carry-pay-card {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, .52), transparent 36%),
        radial-gradient(circle at bottom left, rgba(2, 132, 199, .34), transparent 34%),
        linear-gradient(135deg, #102033 0%, #0f766e 58%, #064e3b 100%);
    box-shadow: 0 22px 48px rgba(15, 118, 110, .25);
}

.carry-urgent-chip {
    color: #9a3412;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-color: #fdba74;
    box-shadow: 0 10px 24px rgba(234, 88, 12, .12);
}

.carry-action-primary {
    background: linear-gradient(135deg, #16a34a, #0f766e, #0284c7);
    box-shadow: 0 16px 32px rgba(15, 118, 110, .28);
}

.carry-action-dark {
    background: linear-gradient(135deg, #102033, #334155);
}

.carry-action-route {
    color: #075985;
    background: linear-gradient(135deg, #e0f2fe, #f0fdfa);
    border-color: #7dd3fc;
}

.carry-action-success {
    color: #166534;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-color: #86efac;
}

.carry-action-muted {
    color: #475569;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-color: #cbd5e1;
}

.carry-mobile-nav {
    border-color: rgba(15, 118, 110, .22);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .2);
}

.carry-mobile-nav a:nth-child(1):hover {
    color: #0f766e;
    background: #ccfbf1;
}

.carry-mobile-nav a:nth-child(2):hover {
    color: #92400e;
    background: #fef3c7;
}

.carry-mobile-nav a:nth-child(3):hover {
    color: #075985;
    background: #e0f2fe;
}

/* Timeline colour refresh */
.carry-progress-card {
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, .10), transparent 30%),
        radial-gradient(circle at bottom right, rgba(245, 158, 11, .12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.carry-progress-hero {
    background:
        radial-gradient(circle at 88% 12%, rgba(245, 158, 11, .45), transparent 32%),
        radial-gradient(circle at 8% 18%, rgba(14, 165, 233, .30), transparent 28%),
        linear-gradient(135deg, #102033 0%, #0f766e 62%, #064e3b 100%);
}

.carry-progress-score {
    background: rgba(255, 255, 255, .17);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 14px 32px rgba(0,0,0,.10);
}

.carry-progress-meter {
    background: #dbeafe;
}

.carry-progress-meter span {
    background: linear-gradient(90deg, #0f766e 0%, #22c55e 38%, #f59e0b 72%, #0284c7 100%);
}

.carry-timeline-step {
    border-color: rgba(100, 116, 139, .16);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.carry-timeline-step:nth-child(6n+1) .carry-step-icon {
    color: #0f766e;
    background: #ccfbf1;
}

.carry-timeline-step:nth-child(6n+2) .carry-step-icon {
    color: #92400e;
    background: #fef3c7;
}

.carry-timeline-step:nth-child(6n+3) .carry-step-icon {
    color: #075985;
    background: #e0f2fe;
}

.carry-timeline-step:nth-child(6n+4) .carry-step-icon {
    color: #6d28d9;
    background: #ede9fe;
}

.carry-timeline-step:nth-child(6n+5) .carry-step-icon {
    color: #be123c;
    background: #ffe4e6;
}

.carry-timeline-step:nth-child(6n+6) .carry-step-icon {
    color: #166534;
    background: #dcfce7;
}

.carry-timeline-step.is-done {
    border-color: rgba(22, 163, 74, .32);
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
}

.carry-timeline-step.is-done .carry-step-icon,
.carry-timeline-step.is-done .carry-step-state {
    color: #166534;
    background: #bbf7d0;
}

.carry-timeline-step.is-current {
    border-color: rgba(245, 158, 11, .58);
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, .18), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
    box-shadow: 0 20px 50px rgba(245, 158, 11, .22);
}

.carry-timeline-step.is-current .carry-step-icon,
.carry-timeline-step.is-current .carry-step-state {
    color: #92400e;
    background: #fde68a;
}

.carry-step-meta span:nth-child(1) {
    color: #075985;
    background: #e0f2fe;
    border-color: #bae6fd;
}

.carry-step-meta span:nth-child(2) {
    color: #92400e;
    background: #fef3c7;
    border-color: #fde68a;
}

.carry-late-charge {
    color: #be123c !important;
    background: #ffe4e6 !important;
    border-color: #fda4af !important;
}
/* ==========================================================
   Carry Africa Rail Timeline
   Subtle transport-map style timeline for TrackJob
   Add at the bottom of carry-job.css
   ========================================================== */

.carry-rail-card {
    --rail-ink: #102033;
    --rail-muted: #64748b;
    --rail-border: rgba(15, 118, 110, .16);
    --rail-brand: #0f766e;
    --rail-gold: #f59e0b;
    --rail-track: #dbe5f0;
    position: relative;
    overflow: hidden;
    margin-top: 1.2rem;
    border: 1px solid var(--rail-border);
    border-radius: 30px;
    background:
        radial-gradient(circle at 8% 8%, rgba(15, 118, 110, .11), transparent 28%),
        radial-gradient(circle at 94% 4%, rgba(245, 158, 11, .15), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .09);
}

.carry-rail-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #0f766e, #f59e0b, #0284c7, #7c3aed);
}

.carry-rail-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1.35rem 1.45rem 1.1rem;
    color: #fff;
    background:
        radial-gradient(circle at 86% 10%, rgba(245, 158, 11, .42), transparent 28%),
        radial-gradient(circle at 12% 16%, rgba(14, 165, 233, .22), transparent 30%),
        linear-gradient(135deg, #102033 0%, #0f766e 62%, #064e3b 100%);
}

.carry-rail-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    margin-bottom: .45rem;
    color: rgba(255, 255, 255, .78);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.carry-rail-hero h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 950;
    letter-spacing: -.025em;
}

.carry-rail-hero p {
    margin: .22rem 0 0;
    color: rgba(255, 255, 255, .78);
    font-weight: 650;
}

.carry-rail-score {
    min-width: 110px;
    padding: .85rem .95rem;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 24px;
    text-align: center;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 16px 34px rgba(0, 0, 0, .12);
    backdrop-filter: blur(12px);
}

.carry-rail-score strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 950;
}

.carry-rail-score span {
    display: block;
    margin-top: .28rem;
    color: rgba(255, 255, 255, .74);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.carry-rail-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1.15rem 1rem 1.25rem;
    scrollbar-width: thin;
}

.carry-rail-map {
    --rail-node-top: 2.15rem;
    position: relative;
    display: grid;
    min-width: calc(var(--rail-count) * 148px);
    isolation: isolate;
}

.carry-rail-track {
    position: absolute;
    z-index: 0;
    top: var(--rail-node-top);
    left: calc(100% / (var(--rail-count) * 2));
    right: calc(100% / (var(--rail-count) * 2));
    height: 9px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,0)),
        repeating-linear-gradient(90deg, #dbe5f0 0, #dbe5f0 12px, #cbd5e1 12px, #cbd5e1 18px);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, .14);
}

.carry-rail-track span {
    display: block;
    width: var(--rail-progress);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0f766e 0%, #22c55e 38%, #f59e0b 72%, #0284c7 100%);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .08), 0 0 24px rgba(245, 158, 11, .26);
    transition: width .4s ease;
}

.carry-rail-step {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: 74px 1fr;
    min-width: 0;
    padding: 0 .45rem;
}

.carry-station-node {
    display: grid;
    place-items: start center;
    padding-top: .62rem;
}

.carry-station-dot {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 4px solid #fff;
    border-radius: 999px;
    color: var(--station-color, #0f766e);
    background: #ffffff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--station-color, #0f766e) 24%, transparent), 0 14px 28px rgba(15, 23, 42, .16);
}

.carry-station-dot i {
    font-size: 1.1rem;
}

.carry-rail-step.is-done .carry-station-dot {
    color: #fff;
    background: var(--station-color, #16a34a);
}

.carry-rail-step.is-current .carry-station-dot {
    color: #102033;
    background: #fbbf24;
    animation: carryRailPulse 1.8s ease-in-out infinite;
}

.carry-rail-step.is-waiting .carry-station-dot {
    color: #94a3b8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(148, 163, 184, .18), 0 10px 22px rgba(15, 23, 42, .08);
}

@keyframes carryRailPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(245, 158, 11, .26), 0 14px 30px rgba(245, 158, 11, .24); }
    50% { box-shadow: 0 0 0 9px rgba(245, 158, 11, .10), 0 20px 42px rgba(245, 158, 11, .34); }
}

.carry-station-card {
    position: relative;
    min-height: 154px;
    padding: .88rem;
    border: 1px solid rgba(100, 116, 139, .16);
    border-radius: 22px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    backdrop-filter: blur(10px);
}

.carry-station-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: 22px 22px 0 0;
    background: var(--station-color, #0f766e);
    opacity: .9;
}

.carry-rail-step.is-current .carry-station-card {
    border-color: rgba(245, 158, 11, .48);
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, .15), transparent 34%),
        rgba(255, 255, 255, .96);
    box-shadow: 0 20px 44px rgba(245, 158, 11, .18);
}

.carry-rail-step.is-done .carry-station-card {
    border-color: rgba(22, 163, 74, .22);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.carry-rail-step.is-waiting .carry-station-card {
    opacity: .78;
}

.carry-station-topline {
    display: flex;
    justify-content: space-between;
    gap: .7rem;
    align-items: flex-start;
}

.carry-station-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    padding: 0 .45rem;
    border-radius: 999px;
    color: var(--station-color, #0f766e);
    background: color-mix(in srgb, var(--station-color, #0f766e) 12%, #ffffff);
    font-size: .72rem;
    font-weight: 950;
}

.carry-station-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .28rem .5rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #475569;
    background: #f1f5f9;
}

.carry-rail-step.is-done .carry-station-state {
    color: #166534;
    background: #dcfce7;
}

.carry-rail-step.is-current .carry-station-state {
    color: #92400e;
    background: #fef3c7;
}

.carry-station-card h6 {
    margin: .68rem 0 .18rem;
    color: var(--rail-ink);
    font-size: .93rem;
    font-weight: 950;
    letter-spacing: -.01em;
}

.carry-station-card p {
    margin: 0;
    color: var(--rail-muted);
    font-size: .78rem;
    line-height: 1.35;
    font-weight: 650;
}

.carry-station-meta {
    display: grid;
    gap: .34rem;
    margin-top: .75rem;
}

.carry-station-meta span {
    display: inline-flex;
    align-items: center;
    gap: .36rem;
    min-width: 0;
    color: #475569;
    font-size: .75rem;
    font-weight: 750;
}

.carry-station-meta i {
    color: var(--station-color, #0f766e);
}

.carry-station-warning {
    margin-top: .55rem;
    padding: .42rem .55rem;
    border: 1px solid #fda4af;
    border-radius: 14px;
    color: #be123c !important;
    background: #fff1f2;
    font-size: .74rem;
    font-weight: 900;
}

.carry-rail-complete-banner {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1rem 1.25rem 0;
    padding: .9rem 1rem;
    border: 1px solid rgba(22, 163, 74, .24);
    border-radius: 20px;
    color: #166534;
    background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
}

.carry-rail-complete-banner i {
    font-size: 1.35rem;
}

.carry-rail-complete-banner span {
    display: block;
    color: #4b5563;
    font-size: .86rem;
}

@media (max-width: 768px) {
    .carry-rail-hero {
        grid-template-columns: 1fr;
    }

    .carry-rail-score {
        width: 100%;
    }

    .carry-rail-scroll {
        overflow: visible;
        padding: 1rem;
    }

    .carry-rail-map {
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr !important;
        gap: .75rem;
        padding-left: 0;
    }

    .carry-rail-track {
        top: 26px;
        bottom: 26px;
        left: 27px;
        right: auto;
        width: 8px;
        height: auto;
    }

    .carry-rail-track span {
        width: 100%;
        height: var(--rail-progress);
        transition: height .4s ease;
    }

    .carry-rail-step {
        grid-template-columns: 58px minmax(0, 1fr);
        grid-template-rows: auto;
        padding: 0;
    }

    .carry-station-node {
        place-items: start center;
        padding-top: .2rem;
    }

    .carry-station-dot {
        width: 46px;
        height: 46px;
    }

    .carry-station-card {
        min-height: 0;
    }
}
