

/* Final compact drawer proportions */
html body.authenticated header.topbar nav.drawer-nav, html body.authenticated header.topbar .main-nav.drawer-nav, html body.authenticated header.topbar .main-nav.drawer-nav.open { width: min(200px, 76vw) !important; max-width: 200px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-group > a, html body.authenticated header.topbar nav.drawer-nav > .drawer-logout { flex-basis: 40px !important; min-height: 40px !important; height: 40px !important; gap: 8px !important; font-size: 15px !important; font-weight: 400 !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-icon { flex-basis: 19px !important; width: 19px !important; height: 19px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-brand { min-height: 82px !important; padding-top: 14px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-avatar { width: 42px !important; height: 42px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-avatar svg { width: 21px !important; height: 21px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-divider { width: 150px !important; margin: 10px auto 8px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-group-divider { margin: 9px 0 !important; }
html body.authenticated header.topbar nav.drawer-nav > .drawer-logout { margin-top: 6px !important; }


/* Slim, lighter three-line menu drawer */
html body.authenticated header.topbar nav.drawer-nav, html body.authenticated header.topbar .main-nav.drawer-nav, html body.authenticated header.topbar .main-nav.drawer-nav.open { width: min(232px, 78vw) !important; max-width: 232px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-group > a, html body.authenticated header.topbar nav.drawer-nav > .drawer-logout { flex-basis: 44px !important; min-height: 44px !important; height: 44px !important; gap: 13px !important; font-size: 16px !important; font-weight: 400 !important; line-height: 1.25 !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-icon { flex-basis: 20px !important; width: 20px !important; height: 20px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-brand { min-height: 92px !important; padding-top: 18px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-avatar { width: 48px !important; height: 48px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-avatar svg { width: 24px !important; height: 24px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-profile strong { font-size: 15px !important; font-weight: 500 !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-profile span { font-size: 12px !important; font-weight: 400 !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-close { top: 16px !important; width: 22px !important; height: 22px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-divider { width: 176px !important; margin: 14px auto 10px !important; }
html body.authenticated header.topbar nav.drawer-nav .drawer-group-divider { margin: 12px 0 !important; }
html body.authenticated header.topbar nav.drawer-nav > .drawer-logout { margin-top: 8px !important; }


/* Lighter, smaller freelance marketplace typography */
html body.authenticated:has(#find-jobs) #find-jobs, html body.authenticated:has(#find-jobs) #live-jobs, html body.authenticated:has(#find-jobs) #live-jobs ~ .market-grid { font-weight: 400; }
html body.authenticated:has(#find-jobs) #find-jobs .section-head h2, html body.authenticated:has(#find-jobs) #live-jobs .section-head h2 { font-size: 25px; font-weight: 600; line-height: 1.25; }
html body.authenticated:has(#find-jobs) .task-toolbar input, html body.authenticated:has(#find-jobs) .task-toolbar select, html body.authenticated:has(#find-jobs) .task-toolbar button { min-height: 38px; font-size: 14px; font-weight: 500; }
html body.authenticated:has(#find-jobs) #live-jobs ~ .market-grid .job-card h2 { font-size: 20px; font-weight: 600; line-height: 1.3; }
html body.authenticated:has(#find-jobs) #live-jobs ~ .market-grid .job-category { font-size: 12px; font-weight: 500; }
html body.authenticated:has(#find-jobs) #live-jobs ~ .market-grid .job-meta strong { font-size: 18px; font-weight: 600; }
html body.authenticated:has(#find-jobs) #live-jobs ~ .market-grid .job-meta span, html body.authenticated:has(#find-jobs) #live-jobs ~ .market-grid .progress-wrap small { font-size: 12px; font-weight: 400; }
html body.authenticated:has(#find-jobs) #live-jobs ~ .market-grid .button, html body.authenticated:has(#find-jobs) #live-jobs ~ .market-grid .job-start-button { font-size: 13px; font-weight: 600; }
@media (max-width: 680px) { html body.authenticated:has(#find-jobs) #find-jobs .section-head h2, html body.authenticated:has(#find-jobs) #live-jobs .section-head h2 { font-size: 22px; } html body.authenticated:has(#find-jobs) #live-jobs ~ .market-grid .job-card h2 { font-size: 18px; } }
/* TaskPoint dashboard visual refresh based on the supplied mobile reference. */
html body.authenticated {
    --tp-blue: #087fe8;
    --tp-pink: #ec26a9;
    --tp-ink: #18213d;
    --tp-muted: #6f7895;
    background: #f8f9fe !important;
    color: var(--tp-ink) !important;
}

html body.authenticated .topbar {
    background: linear-gradient(112deg, #087fe8 0%, #2578ee 42%, #bb35ec 76%, #f12ab3 100%) !important;
    border: 0 !important;
    box-shadow: 0 8px 24px rgba(70, 64, 180, .22) !important;
}

html body.authenticated .topbar-inner {
    max-width: 1220px !important;
    min-height: 76px !important;
    padding: 12px 22px !important;
}

html body.authenticated .menu-toggle {
    background: rgba(255, 255, 255, .2) !important;
    border: 1px solid rgba(255, 255, 255, .25) !important;
    border-radius: 15px !important;
    color: #fff !important;
    box-shadow: 0 6px 14px rgba(8, 55, 160, .18) !important;
}

html body.authenticated .brand {
    color: #fff !important;
    gap: 10px !important;
}

html body.authenticated .brand-logo {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    background: #fff !important;
    box-shadow: 0 5px 12px rgba(26, 37, 110, .18) !important;
}

html body.authenticated .brand b {
    letter-spacing: .16em !important;
    font-size: 1.05rem !important;
}

html body.authenticated .brand small {
    color: rgba(255, 255, 255, .9) !important;
    letter-spacing: .17em !important;
}

html body.authenticated .header-tools {
    gap: 9px !important;
}

html body.authenticated .theme-toggle,
html body.authenticated .profile-chip {
    border: 1px solid rgba(255, 255, 255, .3) !important;
    background: rgba(255, 255, 255, .88) !important;
    color: #27325d !important;
    box-shadow: 0 5px 14px rgba(38, 36, 120, .16) !important;
}

html body.authenticated .notification-bar {
    min-width: 42px !important;
    padding: 0 12px !important;
    background: rgba(255, 255, 255, .88) !important;
    color: #27325d !important;
    box-shadow: 0 5px 14px rgba(38, 36, 120, .16) !important;
}

html body.authenticated .notification-bar sup {
    background: #ef277f !important;
}

html body.authenticated .container {
    max-width: 1220px !important;
    padding: 20px 22px 56px !important;
}

html body.authenticated .account-strip {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 0 0 16px !important;
}

html body.authenticated .account-strip > div {
    position: relative !important;
    min-height: 112px !important;
    padding: 21px 18px 15px 52px !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 22px !important;
    color: #fff !important;
    box-shadow: 0 11px 22px rgba(64, 80, 190, .16) !important;
}

html body.authenticated .account-strip > div::before {
    position: absolute !important;
    top: 17px !important;
    left: 16px !important;
    display: grid !important;
    place-items: center !important;
    width: 27px !important;
    height: 27px !important;
    border: 1px solid rgba(255, 255, 255, .55) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 1rem !important;
}

html body.authenticated .account-strip > div:nth-child(1) {
    background: linear-gradient(135deg, #087fe8, #4252f1 62%, #a533e8) !important;
}

html body.authenticated .account-strip > div:nth-child(1)::before { content: "\25f7" !important; }

html body.authenticated .account-strip > div:nth-child(2) {
    background: linear-gradient(135deg, #d51ac0, #f12a9e 55%, #ff58b7) !important;
}

html body.authenticated .account-strip > div:nth-child(2)::before { content: "\25c9" !important; }

html body.authenticated .account-strip > div:nth-child(3) {
    background: linear-gradient(135deg, #0798e9, #18b9db 58%, #23d3dd) !important;
}

html body.authenticated .account-strip > div:nth-child(3)::before { content: "\25a3" !important; }

html body.authenticated .account-strip > div::after {
    position: absolute !important;
    right: -24px !important;
    bottom: -35px !important;
    width: 124px !important;
    height: 124px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, .07), 0 0 0 36px rgba(255, 255, 255, .05) !important;
    content: "" !important;
}

html body.authenticated .account-strip span {
    display: block !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: .88rem !important;
    font-weight: 700 !important;
}

html body.authenticated .account-strip strong {
    display: block !important;
    margin-top: 4px !important;
    color: #fff !important;
    font-size: 1.55rem !important;
    line-height: 1.1 !important;
}

html body.authenticated .banner-slot {
    margin: 0 0 17px !important;
}

html body.authenticated .sponsored-banner,
html body.authenticated .public-ad-card {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-height: 145px !important;
    padding: 17px 20px !important;
    border: 1px solid #dfc9ef !important;
    border-radius: 22px !important;
    background: linear-gradient(125deg, #f2efff 0%, #fff1f7 100%) !important;
    color: var(--tp-ink) !important;
    box-shadow: 0 8px 22px rgba(120, 69, 164, .1) !important;
}

html body.authenticated .sponsored-banner .ad-kicker,
html body.authenticated .public-ad-card .ad-kicker {
    color: #315db4 !important;
    font-size: .8rem !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

html body.authenticated .sponsored-banner strong,
html body.authenticated .public-ad-card strong {
    color: #1b2550 !important;
    font-size: 1.45rem !important;
}

html body.authenticated .public-ad-card img {
    max-height: 86px !important;
    border-radius: 12px !important;
}

html body.authenticated .sponsored-banner > .ad-orbit {
    color: #ed2a9f !important;
    font-size: 2rem !important;
}

html body.authenticated .market-summary {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    margin: 0 0 18px !important;
    padding: 5px 6px 12px !important;
    border-bottom: 1px solid #e9e0f4 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.authenticated .market-summary > div {
    padding: 0 18px !important;
}

html body.authenticated .market-summary > div + div {
    border-left: 1px solid #d9d8e7 !important;
}

html body.authenticated .market-summary span {
    color: #717994 !important;
    font-size: .98rem !important;
}

html body.authenticated .market-summary strong {
    margin-left: 6px !important;
    color: #1e74d3 !important;
    font-size: 1.15rem !important;
}

html body.authenticated .market-summary > div + div strong {
    color: #dd258f !important;
}

html body.authenticated .market-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

html body.authenticated .job-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-width: 0 !important;
    padding: 19px 18px 17px !important;
    overflow: hidden !important;
    border: 1px solid #e2e5f1 !important;
    border-radius: 19px !important;
    background: #fff !important;
    box-shadow: 0 8px 18px rgba(46, 56, 108, .09) !important;
}

html body.authenticated .job-card::before {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #087fe8, #ed29b2) !important;
    content: "" !important;
}

html body.authenticated .job-card-link {
    color: inherit !important;
    text-decoration: none !important;
}

html body.authenticated .job-category {
    display: block !important;
    margin-bottom: 5px !important;
    color: #304b86 !important;
    font-size: .82rem !important;
    font-weight: 500 !important;
}

html body.authenticated .job-card h2 {
    margin: 0 !important;
    color: #16213f !important;
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
}

html body.authenticated .job-card .job-meta {
    display: block !important;
    margin: 13px 0 8px !important;
}

html body.authenticated .job-card .job-meta strong {
    display: block !important;
    color: #137fdd !important;
    font-size: 1.75rem !important;
    line-height: 1.05 !important;
}

html body.authenticated .job-card:nth-child(even) .job-meta strong {
    color: #dd258f !important;
}

html body.authenticated .job-card .job-meta span {
    display: block !important;
    margin-top: 3px !important;
    color: #8a91a7 !important;
    font-size: .78rem !important;
}

html body.authenticated .job-card .progress-wrap {
    margin: 4px 0 13px !important;
}

html body.authenticated .job-card .progress-track {
    height: 10px !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: #e9ebf7 !important;
}

html body.authenticated .job-card .progress-track span {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #087fe8, #e82ab2) !important;
}

html body.authenticated .job-card .progress-wrap small {
    display: block !important;
    margin-top: 6px !important;
    color: #8189a2 !important;
    font-size: .76rem !important;
}

html body.authenticated .job-card > .button {
    align-self: flex-start !important;
    margin-top: auto !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(100deg, #087fe8, #e82ab2) !important;
    box-shadow: 0 7px 14px rgba(72, 86, 213, .2) !important;
    font-size: .9rem !important;
    font-weight: 800 !important;
}

html body.authenticated .dashboard-bottom-info {
    margin-top: 22px !important;
}

@media (max-width: 760px) {
    html body.authenticated .container {
        padding: 14px 14px 38px !important;
    }

    html body.authenticated .market-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    html body.authenticated .topbar-inner {
        min-height: 68px !important;
        padding: 10px 13px !important;
    }

    html body.authenticated .brand-logo {
        width: 44px !important;
        height: 44px !important;
    }

    html body.authenticated .brand b {
        font-size: .93rem !important;
    }

    html body.authenticated .brand small {
        font-size: .56rem !important;
    }

    html body.authenticated .account-strip {
        gap: 9px !important;
    }

    html body.authenticated .account-strip > div {
        min-height: 118px !important;
        padding: 17px 8px 13px 11px !important;
    }

    html body.authenticated .account-strip > div::before {
        top: 12px !important;
        left: 10px !important;
        width: 22px !important;
        height: 22px !important;
        font-size: .78rem !important;
    }

    html body.authenticated .account-strip span {
        margin-top: 28px !important;
        font-size: .72rem !important;
    }

    html body.authenticated .account-strip strong {
        font-size: 1.15rem !important;
    }

    html body.authenticated .sponsored-banner,
    html body.authenticated .public-ad-card {
        min-height: 128px !important;
        padding: 14px 15px !important;
        border-radius: 17px !important;
    }

    html body.authenticated .market-summary {
        margin-bottom: 15px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body.authenticated .market-summary > div {
        padding: 0 10px !important;
    }

    html body.authenticated .market-summary span {
        font-size: .86rem !important;
    }

    html body.authenticated .market-summary strong {
        font-size: 1.1rem !important;
    }

    html body.authenticated .job-card {
        padding: 17px 16px 15px !important;
    }
}

/* Keep the first account icon readable across CSS parsers. */
html body.authenticated .account-strip > div:nth-child(1)::before { content: "$" !important; }

/* Compact marketplace proportions: two half-width job cards and shorter balances. */
html body.authenticated .account-strip {
    gap: 9px !important;
}

html body.authenticated .account-strip > div {
    min-height: 72px !important;
    padding: 12px 10px 10px 40px !important;
    border-radius: 16px !important;
}

html body.authenticated .account-strip > div::before {
    top: 12px !important;
    left: 11px !important;
    width: 22px !important;
    height: 22px !important;
    font-size: .78rem !important;
}

html body.authenticated .account-strip span {
    font-size: .74rem !important;
}

html body.authenticated .account-strip strong {
    margin-top: 2px !important;
    font-size: 1.12rem !important;
}

html body.authenticated .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
}

html body.authenticated .job-card {
    min-height: 214px !important;
    padding: 14px 13px 13px !important;
    border-radius: 15px !important;
}

html body.authenticated .job-category {
    margin-bottom: 3px !important;
    font-size: .7rem !important;
}

html body.authenticated .job-card h2 {
    font-size: .86rem !important;
    line-height: 1.22 !important;
}

html body.authenticated .job-card .job-meta {
    margin: 9px 0 6px !important;
}

html body.authenticated .job-card .job-meta strong {
    font-size: 1.28rem !important;
}

html body.authenticated .job-card .job-meta span {
    font-size: .68rem !important;
}

html body.authenticated .job-card .progress-wrap {
    margin: 3px 0 9px !important;
}

html body.authenticated .job-card .progress-track {
    height: 7px !important;
}

html body.authenticated .job-card .progress-wrap small {
    margin-top: 4px !important;
    font-size: .66rem !important;
}

html body.authenticated .job-card > .button {
    padding: 8px 12px !important;
    font-size: .74rem !important;
}

@media (max-width: 760px) {
    html body.authenticated .market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 420px) {
    html body.authenticated .account-strip > div {
        padding-left: 8px !important;
        padding-right: 6px !important;
    }

    html body.authenticated .account-strip > div::before {
        display: none !important;
    }

    html body.authenticated .account-strip span {
        font-size: .66rem !important;
    }

    html body.authenticated .account-strip strong {
        font-size: 1rem !important;
    }
}

/* Final mobile composition: each job spans the full page width but stays slim. */
html body.authenticated .market-grid {
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
}

html body.authenticated .job-card {
    width: 100% !important;
    min-height: 154px !important;
    padding: 12px 14px 11px !important;
    border-radius: 15px !important;
}

html body.authenticated .job-card .job-meta {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 7px 0 5px !important;
}

html body.authenticated .job-card .job-meta strong {
    font-size: 1.28rem !important;
}

html body.authenticated .job-card .job-meta span {
    margin-top: 0 !important;
    text-align: right !important;
    white-space: nowrap !important;
}

html body.authenticated .job-card .progress-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 3px 0 8px !important;
}

html body.authenticated .job-card .progress-track {
    grid-column: 1 !important;
}

html body.authenticated .job-card .progress-wrap small {
    grid-column: 2 !important;
    margin: 0 !important;
    white-space: nowrap !important;
}

html body.authenticated .job-card > .button {
    align-self: flex-start !important;
    margin-top: auto !important;
    padding: 7px 12px !important;
}

@media (max-width: 760px) {
    html body.authenticated .job-card {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-content: start !important;
        align-items: center !important;
        row-gap: 1px !important;
        min-height: 0 !important;
    }

    html body.authenticated .job-card .job-category,
    html body.authenticated .job-card h2,
    html body.authenticated .job-card .job-meta {
        grid-column: 1 / -1 !important;
    }

    html body.authenticated .job-card .progress-wrap {
        grid-column: 1 !important;
        margin: 3px 0 0 !important;
    }

    html body.authenticated .job-card > .button {
        grid-column: 2 !important;
        grid-row: 4 !important;
        align-self: end !important;
        margin-top: 0 !important;
    }
}

/* Edge-to-edge mobile layout with compact horizontal balance rows. */
@media (max-width: 760px) {
    html body.authenticated {
        overflow-x: hidden !important;
    }

    html body.authenticated .container {
        width: 100vw !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 12px 0 32px !important;
        box-sizing: border-box !important;
    }

    html body.authenticated .account-strip,
    html body.authenticated .banner-slot,
    html body.authenticated .market-summary,
    html body.authenticated .market-grid {
        width: 100vw !important;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    html body.authenticated .account-strip {
        gap: 6px !important;
        margin-bottom: 12px !important;
    }

    html body.authenticated .account-strip > div {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-width: 0 !important;
        min-height: 54px !important;
        padding: 8px 10px !important;
        border-radius: 13px !important;
    }

    html body.authenticated .account-strip > div::before,
    html body.authenticated .account-strip > div::after {
        display: none !important;
    }

    html body.authenticated .account-strip span,
    html body.authenticated .account-strip strong {
        display: block !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    html body.authenticated .account-strip span {
        overflow: hidden !important;
        font-size: .72rem !important;
        text-overflow: ellipsis !important;
    }

    html body.authenticated .account-strip strong {
        flex: 0 0 auto !important;
        margin-left: 5px !important;
        font-size: 1rem !important;
    }

    html body.authenticated .banner-slot {
        margin-bottom: 12px !important;
    }

    html body.authenticated .sponsored-banner,
    html body.authenticated .public-ad-card {
        width: 100vw !important;
        min-height: 0 !important;
        border-right: 0 !important;
        border-left: 0 !important;
        border-radius: 0 !important;
    }

    html body.authenticated .market-summary {
        margin-bottom: 10px !important;
        padding: 8px 14px 9px !important;
    }

    html body.authenticated .market-summary > div {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    html body.authenticated .market-summary > div:first-child {
        justify-content: space-between !important;
    }

    html body.authenticated .market-summary > div + div {
        justify-content: flex-end !important;
    }

    html body.authenticated .market-summary span,
    html body.authenticated .market-summary strong {
        margin: 0 !important;
        white-space: nowrap !important;
    }

    html body.authenticated .market-summary strong {
        font-size: 1.12rem !important;
    }

    html body.authenticated .market-grid {
        gap: 8px !important;
    }

    html body.authenticated .job-card {
        width: 100vw !important;
        min-height: 0 !important;
        border-right: 0 !important;
        border-left: 0 !important;
        border-radius: 0 !important;
        padding: 11px 14px 10px !important;
    }
}

/* My Jobs owner workspace: compact summary, status tabs, and proof review cards. */
html body.authenticated .owner-workspace {
    max-width: 1220px !important;
    margin: 0 auto !important;
    padding: 12px 22px 48px !important;
    color: var(--tp-ink) !important;
}

html body.authenticated .owner-back {
    display: inline-flex !important;
    margin-bottom: 16px !important;
    color: #64708a !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

html body.authenticated .owner-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 18px !important;
}

html body.authenticated .owner-heading h1 {
    margin: 4px 0 2px !important;
    color: #12213b !important;
    font-size: clamp(1.35rem, 3vw, 2rem) !important;
    line-height: 1.2 !important;
}

html body.authenticated .owner-heading p {
    margin: 0 !important;
    color: #8490a3 !important;
    font-size: .88rem !important;
}

html body.authenticated .owner-details-button {
    flex: 0 0 auto !important;
    border-radius: 999px !important;
    background: #f5a400 !important;
    color: #10253c !important;
    box-shadow: 0 7px 16px rgba(245, 164, 0, .22) !important;
}

html body.authenticated .owner-stat-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-bottom: 19px !important;
}

html body.authenticated .owner-stat-grid > div {
    display: grid !important;
    min-height: 88px !important;
    place-items: center !important;
    align-content: center !important;
    gap: 3px !important;
    border: 1px solid #e5eaf1 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(32, 49, 82, .07) !important;
    text-align: center !important;
}

html body.authenticated .owner-stat-grid strong {
    color: #12213b !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
}

html body.authenticated .owner-stat-grid span {
    color: #9aa6b7 !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}

html body.authenticated .owner-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    min-height: 54px !important;
    margin-bottom: 18px !important;
    overflow-x: auto !important;
    border-bottom: 1px solid #e4e8ef !important;
    white-space: nowrap !important;
}

html body.authenticated .owner-tabs a,
html body.authenticated .owner-tab-form button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    min-height: 54px !important;
    padding: 0 2px !important;
    border: 0 !important;
    background: transparent !important;
    color: #717b8d !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

html body.authenticated .owner-tabs a.active {
    color: #10253c !important;
}

html body.authenticated .owner-tabs a.active::after {
    position: absolute !important;
    right: 0 !important;
    bottom: -1px !important;
    left: 0 !important;
    height: 3px !important;
    background: #f5a400 !important;
    content: "" !important;
}

html body.authenticated .owner-tab-form {
    display: inline-flex !important;
    margin: 0 !important;
}

html body.authenticated .owner-details-panel {
    margin-bottom: 18px !important;
    padding: 18px !important;
    border: 1px solid #e3e8f0 !important;
    border-radius: 18px !important;
    background: #fff !important;
}

html body.authenticated .owner-panel-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

html body.authenticated .owner-panel-heading h2 {
    margin: 0 0 14px !important;
    color: #12213b !important;
}

html body.authenticated .owner-detail-block {
    margin-top: 13px !important;
}

html body.authenticated .owner-detail-block span {
    color: #718099 !important;
    font-size: .75rem !important;
    font-weight: 900 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
}

html body.authenticated .owner-detail-block p {
    margin: 5px 0 0 !important;
    color: #293750 !important;
    line-height: 1.55 !important;
}

html body.authenticated .owner-status-tabs {
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
    overflow-x: auto !important;
}

html body.authenticated .owner-status-tabs a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 132px !important;
    padding: 11px 17px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #697487 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

html body.authenticated .owner-status-tabs a.active {
    border-color: #10253c !important;
    background: #10253c !important;
    color: #fff !important;
}

html body.authenticated .owner-status-tabs b {
    display: inline-grid !important;
    min-width: 25px !important;
    height: 25px !important;
    place-items: center !important;
    border-radius: 50% !important;
    background: rgba(120, 130, 145, .14) !important;
    font-size: .78rem !important;
}

html body.authenticated .owner-status-tabs a.active b {
    background: rgba(255, 255, 255, .18) !important;
}

html body.authenticated .owner-search {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}

html body.authenticated .owner-search input {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    border: 2px solid #e3e8ef !important;
    border-radius: 999px !important;
    background: #fff !important;
    padding: 12px 17px !important;
    color: #12213b !important;
    font-size: .94rem !important;
}

html body.authenticated .owner-search .button {
    border-radius: 999px !important;
    background: #f5a400 !important;
    color: #10253c !important;
    font-weight: 900 !important;
}

html body.authenticated .owner-submission-list {
    display: grid !important;
    gap: 12px !important;
}

html body.authenticated .owner-submission-card {
    padding: 16px !important;
    border: 1px solid #e3e8ef !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 7px 18px rgba(32, 49, 82, .07) !important;
}

html body.authenticated .owner-submission-card > header,
html body.authenticated .owner-submission-card > footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

html body.authenticated .owner-submission-card > header strong,
html body.authenticated .owner-submission-card > header span {
    display: block !important;
}

html body.authenticated .owner-submission-card > header strong {
    color: #12213b !important;
}

html body.authenticated .owner-submission-card > header span {
    margin-top: 3px !important;
    color: #8995a7 !important;
    font-size: .8rem !important;
}

html body.authenticated .owner-status {
    padding: 6px 11px !important;
    border-radius: 999px !important;
    background: #eef2f7 !important;
    color: #637086 !important;
    font-size: .72rem !important;
    text-transform: uppercase !important;
}

html body.authenticated .owner-status-approved {
    background: #e6f7ec !important;
    color: #168246 !important;
}

html body.authenticated .owner-status-rejected {
    background: #ffebeb !important;
    color: #ca3333 !important;
}

html body.authenticated .owner-proof-link {
    display: block !important;
    margin-top: 13px !important;
}

html body.authenticated .owner-proof-link img {
    display: block !important;
    width: 100% !important;
    max-height: 260px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

html body.authenticated .owner-proof-note {
    margin: 13px 0 0 !important;
    padding: 11px 13px !important;
    border-radius: 11px !important;
    background: #f5f7fb !important;
    color: #3d4b63 !important;
    line-height: 1.45 !important;
}

html body.authenticated .owner-submission-card > footer {
    margin-top: 14px !important;
}

html body.authenticated .owner-review-form {
    display: flex !important;
    gap: 8px !important;
    margin: 0 !important;
}

html body.authenticated .owner-view-proof,
html body.authenticated .owner-review-form .button {
    border-radius: 999px !important;
    padding: 8px 12px !important;
    font-size: .78rem !important;
    font-weight: 900 !important;
}

html body.authenticated .owner-view-proof {
    background: #eef2f7 !important;
    color: #34445d !important;
}

html body.authenticated .owner-approve {
    background: #e7f7ed !important;
    color: #168246 !important;
}

html body.authenticated .owner-reject {
    background: #ffecec !important;
    color: #c93434 !important;
}

html body.authenticated .owner-empty {
    display: grid !important;
    min-height: 220px !important;
    place-items: center !important;
    align-content: center !important;
    gap: 12px !important;
    border: 1px solid #e5eaf1 !important;
    border-radius: 18px !important;
    background: #fff !important;
    color: #9ba8b8 !important;
    text-align: center !important;
}

html body.authenticated .owner-empty span {
    font-size: 2.6rem !important;
}

html body.authenticated .owner-empty p {
    margin: 0 !important;
    font-size: 1.15rem !important;
}

@media (max-width: 560px) {
    html body.authenticated .owner-workspace {
        padding: 10px 12px 34px !important;
    }

    html body.authenticated .owner-heading {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    html body.authenticated .owner-details-button {
        align-self: stretch !important;
        justify-content: center !important;
    }

    html body.authenticated .owner-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body.authenticated .owner-tabs {
        gap: 17px !important;
    }

    html body.authenticated .owner-status-tabs a {
        min-width: 0 !important;
        flex: 1 0 auto !important;
        padding: 10px 12px !important;
    }

    html body.authenticated .owner-search .button {
        padding: 9px 12px !important;
    }

    html body.authenticated .owner-submission-card > footer {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    html body.authenticated .owner-review-form {
        width: 100% !important;
    }

    html body.authenticated .owner-review-form .button {
        flex: 1 1 0 !important;
    }
}
/* TaskPoint unified green-gold theme and responsive header fix — 2026-09-20 */
:root {
  --tp-brand-green: #0b5d2a;
  --tp-brand-green-2: #16803a;
  --tp-brand-gold: #eab308;
  --tp-brand-gold-soft: #fff7cc;
  --tp-brand-ink: #17351f;
  --tp-brand-muted: #4f6656;
}

/* Keep every header control inside the viewport, including the profile chip. */
.topbar { overflow: visible; }
.topbar-inner {
  width: min(100% - 24px, var(--max-width));
  min-width: 0;
  box-sizing: border-box;
  grid-template-columns: auto minmax(0, 1fr) auto;
}
.topbar-inner > .brand { min-width: 0; }
.topbar-inner > .brand span { min-width: 0; }
.header-tools {
  min-width: 0;
  max-width: 100%;
  flex-wrap: nowrap;
}
.profile-chip { flex: 0 0 40px; }
.notification-bar { max-width: min(190px, 28vw); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* One consistent TaskPoint palette for public, sign-in and create-account pages. */
body.guest {
  color: var(--tp-brand-ink);
  background:
    radial-gradient(circle at 15% 15%, rgba(22,128,58,.16), transparent 32%),
    radial-gradient(circle at 85% 85%, rgba(234,179,8,.16), transparent 28%),
    #f7faf5;
}
body.guest .topbar {
  background: linear-gradient(135deg, var(--tp-brand-green) 0%, var(--tp-brand-green-2) 58%, #ca8a04 100%);
  border-bottom: 2px solid var(--tp-brand-gold);
}
body.guest .topbar .brand,
body.guest .topbar .brand small,
body.guest .topbar .main-nav a { color: #fff; }
body.guest .topbar .main-nav a:hover { color: var(--tp-brand-ink); background: rgba(255,255,255,.88); }
body.guest .topbar .button-dark,
body.guest .topbar .button,
body.guest .topbar .btn { background: var(--tp-brand-gold); color: #365314; border-color: #facc15; }
body.guest .topbar .button-dark:hover,
body.guest .topbar .button:hover,
body.guest .topbar .btn:hover { background: #fde047; color: #17351f; }

body.guest .auth-card {
  border: 1px solid rgba(22,128,58,.16);
  border-top: 4px solid var(--tp-brand-gold);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 45px rgba(11,93,42,.14);
}
body.guest .auth-card .eyebrow,
body.guest .auth-card .kicker { color: var(--tp-brand-green-2); }
body.guest .auth-card h1,
body.guest .auth-card h2 { color: var(--tp-brand-ink); }
body.guest .auth-card p { color: var(--tp-brand-muted); line-height: 1.6; }
body.guest .auth-card label { color: var(--tp-brand-ink); font-size: .86rem; }
body.guest .auth-card input {
  min-height: 48px;
  border-color: #cfe2d1;
  background: #fbfefb;
  color: var(--tp-brand-ink);
  font-size: .95rem;
}
body.guest .auth-card input:focus {
  border-color: var(--tp-brand-green-2);
  box-shadow: 0 0 0 3px rgba(22,128,58,.14);
}
body.guest .auth-card .button,
body.guest .auth-card .btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--tp-brand-green), var(--tp-brand-green-2));
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(11,93,42,.2);
}
body.guest .auth-card .button:hover,
body.guest .auth-card .btn:hover { background: linear-gradient(135deg, #06451f, var(--tp-brand-green)); }
body.guest .auth-card a { color: var(--tp-brand-green-2); }
body.guest .auth-card a:hover { color: #8a5b00; }

@media (max-width: 720px) {
  .topbar-inner { width: calc(100% - 16px); gap: 8px; padding-inline: 4px; }
  .brand b { font-size: .78rem; }
  .brand small { font-size: .48rem; }
  .header-tools { gap: 5px; }
  .notification-bar { max-width: 42px; padding-inline: 10px; }
  .notification-bar .notification-label { display: none; }
}
@media (max-width: 420px) {
  .topbar-inner { gap: 5px; }
  .brand-logo { width: 36px; height: 36px; flex-basis: 36px; }
  .brand b { letter-spacing: .08em; font-size: .7rem; }
  .brand small { letter-spacing: .1em; font-size: .42rem; }
  .profile-chip { flex-basis: 36px; width: 36px; height: 36px; }
}

/* Public/auth pages match the original authenticated blue-pink visual theme. */
body.guest {
  color: #18213d;
  background:
    radial-gradient(circle at 15% 15%, rgba(8,127,232,.18), transparent 32%),
    radial-gradient(circle at 85% 85%, rgba(241,42,179,.14), transparent 28%),
    #f8f9fe;
}
body.guest .topbar {
  background: linear-gradient(112deg, #087fe8 0%, #2578ee 42%, #bb35ec 76%, #f12ab3 100%);
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(70,64,180,.22);
}
body.guest .topbar .brand,
body.guest .topbar .brand small,
body.guest .topbar .main-nav a { color: #fff; }
body.guest .topbar .main-nav a:hover { color: #27325d; background: rgba(255,255,255,.88); }
body.guest .topbar .button-dark,
body.guest .topbar .button,
body.guest .topbar .btn {
  background: rgba(255,255,255,.9);
  color: #27325d;
  border-color: rgba(255,255,255,.3);
}
body.guest .topbar .button-dark:hover,
body.guest .topbar .button:hover,
body.guest .topbar .btn:hover { background: #fff; color: #18213d; }
body.guest .auth-card {
  border: 1px solid rgba(70,64,180,.14);
  border-top: 4px solid #f12ab3;
  border-radius: 18px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 45px rgba(70,64,180,.16);
}
body.guest .auth-card .eyebrow,
body.guest .auth-card .kicker { color: #2578ee; }
body.guest .auth-card h1,
body.guest .auth-card h2 { color: #18213d; }
body.guest .auth-card p { color: #6f7895; line-height: 1.6; }
body.guest .auth-card label { color: #18213d; font-size: .86rem; }
body.guest .auth-card input {
  min-height: 48px;
  border-color: #dfe4f2;
  background: #fff;
  color: #18213d;
  font-size: .95rem;
}
body.guest .auth-card input:focus {
  border-color: #087fe8;
  box-shadow: 0 0 0 3px rgba(8,127,232,.14);
}
body.guest .auth-card .button,
body.guest .auth-card .btn {
  width: 100%;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 11px;
  background: linear-gradient(112deg, #087fe8, #bb35ec 76%, #f12ab3);
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(70,64,180,.22);
}
body.guest .auth-card .button:hover,
body.guest .auth-card .btn:hover { background: linear-gradient(112deg, #066bc4, #9c25cf 76%, #db168f); }
body.guest .auth-card a { color: #2578ee; }
body.guest .auth-card a:hover { color: #bb35ec; }

/* Full public page palette: match the original authenticated blue-pink theme. */
body.guest {
  color: #18213d;
  background:
    radial-gradient(circle at 15% 15%, rgba(8,127,232,.18), transparent 32%),
    radial-gradient(circle at 85% 85%, rgba(241,42,179,.14), transparent 28%),
    #f8f9fe;
}
body.guest::before { background: #087fe8; }
body.guest::after { background: #f12ab3; }
body.guest .hero {
  background: linear-gradient(112deg, #087fe8 0%, #2578ee 42%, #bb35ec 76%, #f12ab3 100%);
  box-shadow: 0 14px 34px rgba(70,64,180,.22);
}
body.guest .hero-card,
body.guest .section,
body.guest .dashboard-panel,
body.guest .empty {
  color: #18213d;
}
body.guest .hero-card { border-color: rgba(255,255,255,.35); }
body.guest .hero .button-dark,
body.guest .hero .button,
body.guest .hero .btn {
  background: rgba(255,255,255,.94);
  color: #27325d;
  border-color: rgba(255,255,255,.45);
}
body.guest .hero .button:hover,
body.guest .hero .btn:hover { background: #fff; color: #bb35ec; }
body.guest .section-head h2,
body.guest .page-head h1 { color: #18213d; }
body.guest .section-head .eyebrow,
body.guest .page-head .eyebrow { color: #2578ee; }
body.guest .section .empty {
  border: 1px solid #e2e6f3;
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(70,64,180,.08);
}

/* My Submitted Jobs page: compact list, status controls at the top, no extra details. */
.submitted-jobs-panel { overflow: hidden; }
.submitted-job-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -2px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e3e7f2;
}
.submitted-job-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #dfe4f2;
  border-radius: 999px;
  background: #fff;
  color: #6f7895;
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.submitted-job-filter:hover { transform: translateY(-1px); border-color: #bb35ec; color: #bb35ec; }
.submitted-job-filter.active {
  border-color: transparent;
  background: linear-gradient(112deg, #087fe8, #bb35ec 76%, #f12ab3);
  color: #fff;
  box-shadow: 0 7px 16px rgba(70,64,180,.2);
}
.submitted-job-list { display: grid; gap: 9px; }
.submitted-job-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 15px 16px;
  border: 1px solid #e1e6f1;
  border-radius: 13px;
  background: #fff;
}
.submitted-job-title {
  min-width: 0;
  overflow: hidden;
  color: #18213d;
  font-size: .92rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.submitted-job-status {
  flex: 0 0 auto;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
}
.submitted-job-status.status-approved { background: #e5f8ee; color: #168246; }
.submitted-job-status.status-rejected { background: #ffe8ef; color: #c52c63; }
.submitted-job-status.status-pending { background: #e8f1ff; color: #2578ee; }
.submitted-job-empty {
  padding: 34px 18px;
  border: 1px dashed #d8deed;
  border-radius: 13px;
  color: #6f7895;
  text-align: center;
}
@media (max-width: 560px) {
  .submitted-job-filters { gap: 7px; }
  .submitted-job-filter { flex: 1 1 calc(50% - 7px); min-width: 0; }
  .submitted-job-item { align-items: flex-start; flex-direction: column; gap: 9px; }
  .submitted-job-title { white-space: normal; }
}

/* Readability refinement: preserve blue-pink identity while reducing color density. */
body.guest::before,
body.guest::after { opacity: .14; }
body.guest .hero {
  background: linear-gradient(112deg, #2f8fe2 0%, #4e83e2 42%, #9b6bd6 76%, #d963b0 100%);
  box-shadow: 0 12px 28px rgba(70,64,180,.14);
}
body.guest .hero h1,
body.guest .hero p,
body.guest .hero .eyebrow,
body.guest .hero .hero-card h2,
body.guest .hero .steps strong,
body.guest .hero .steps span,
body.guest .hero .steps b {
  color: #fff !important;
  text-shadow: 0 1px 1px rgba(25,35,80,.16);
}
body.guest .hero .steps > div {
  border-color: rgba(255,255,255,.58);
  background: rgba(255,255,255,.12);
}
body.guest .hero .steps span { color: rgba(255,255,255,.9) !important; }
body.guest .section-head h2,
body.guest .page-head h1 { color: #18213d !important; }
body.guest .section-head .eyebrow,
body.guest .page-head .eyebrow { color: #3a6fc2 !important; }
body.guest .section .empty {
  color: #3f4b67 !important;
  background: #fff !important;
  border-color: #dfe5f1 !important;
}
body.guest .auth-card {
  border-top-color: #c85bb0;
  box-shadow: 0 14px 32px rgba(70,64,180,.1);
}
body.guest .auth-card h1,
body.guest .auth-card label { color: #1c2945 !important; }
body.guest .auth-card p { color: #53617b !important; }
body.guest .auth-card input { color: #1c2945 !important; background: #fff !important; }
body.guest .auth-card .button,
body.guest .auth-card .btn {
  background: linear-gradient(112deg, #2f83dc, #8f62d0 76%, #cf5da9);
  box-shadow: 0 7px 15px rgba(70,64,180,.16);
}

/* Admin user management controls. */
.admin-users-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:12px; }
.admin-users-heading h2 { margin:0 0 4px; }
.admin-users-heading p { margin:0; max-width:680px; }
.admin-user-row { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(280px,auto); align-items:center; gap:12px; padding:12px 0; border-top:1px solid var(--line); }
.admin-user-identity { display:grid; gap:3px; min-width:0; }
.admin-user-identity strong { color:var(--ink); font-size:.88rem; }
.admin-user-identity span { color:var(--muted); font-size:.78rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-role-pill { padding:5px 10px; border-radius:999px; font-size:.7rem; font-weight:900; }
.admin-role-pill.is-admin { background:#fce7f3; color:#a21caf; }
.admin-role-pill.is-user { background:#e8f1ff; color:#2563eb; }
.admin-user-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:7px; }
.admin-user-actions .inline-form { margin:0; }
.admin-user-actions .button { min-height:34px; padding:7px 11px; font-size:.72rem; }
@media (max-width:760px) { .admin-user-row { grid-template-columns:1fr auto; } .admin-user-actions { grid-column:1 / -1; justify-content:flex-start; } }
@media (max-width:520px) { .admin-users-heading { flex-direction:column; } .admin-user-row { gap:8px; } }


/* Compact authenticated drawer: keep functions readable and keep Logout visible. */
html body.authenticated header.topbar .drawer-nav.open {
    row-gap: 9px !important;
}

html body.authenticated header.topbar .drawer-nav > a.drawer-item,
html body.authenticated header.topbar .drawer-nav > a:not(.button) {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    min-height: 36px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    line-height: 1.15 !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-item-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    flex: 0 0 26px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-item-label {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    margin: 0 !important;
    line-height: 1.15 !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-notification-link {
    margin-top: 4px !important;
    padding-top: 4px !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-logout {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 3 !important;
    margin-top: 4px !important;
    padding-top: 9px !important;
    background: #ffffff !important;
    box-shadow: 0 -6px 12px rgba(13, 38, 66, .08) !important;
}

html body.authenticated header.topbar .menu-toggle {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: transparent !important;
}

html body.authenticated header.topbar .menu-toggle::before {
    top: 8px !important;
    left: 7px !important;
    width: 20px !important;
    height: 3px !important;
    border-radius: 2px !important;
    background: #ffffff !important;
    box-shadow: 0 7px 0 #ffffff, 0 14px 0 #ffffff !important;
}

html body.authenticated header.topbar .notification-bar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.authenticated header.topbar .notification-bar .notification-label { display: none !important; }
html body.authenticated header.topbar .notification-bar .notification-icon { display: block !important; width: 20px !important; height: 20px !important; color: #ffffff !important; }


/* Final compact fit: keep Logout last without an overlay or extra scrolling. */
html body.authenticated header.topbar .drawer-nav.open {
    row-gap: 4px !important;
}

html body.authenticated header.topbar .drawer-nav > a.drawer-item,
html body.authenticated header.topbar .drawer-nav > a:not(.button) {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 14px !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-item-icon {
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    flex-basis: 26px !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-item-label {
    min-height: 26px !important;
    line-height: 1.05 !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-notification-link,
html body.authenticated header.topbar .drawer-nav .drawer-logout {
    position: static !important;
    bottom: auto !important;
    margin-top: 2px !important;
    padding-top: 2px !important;
    box-shadow: none !important;
}


/* Final placement pass: right-side drawer and doubled inter-item gap. */
html body.authenticated header.topbar .topbar-inner {
    display: flex !important;
    align-items: center !important;
}

html body.authenticated header.topbar .brand {
    order: 1 !important;
    margin-right: auto !important;
}

html body.authenticated header.topbar .header-tools {
    order: 2 !important;
    display: flex !important;
    align-items: center !important;
}

html body.authenticated header.topbar .menu-toggle {
    order: 3 !important;
    margin-left: 12px !important;
    margin-right: 0 !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav {
    left: auto !important;
    right: 0 !important;
    border-right: 0 !important;
    border-left: 1px solid var(--line) !important;
    transform: translateX(110%) !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav.open {
    transform: translateX(0) !important;
    row-gap: 8px !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-logout {
    position: sticky !important;
    bottom: 0 !important;
    z-index: 3 !important;
    background: #ffffff !important;
    box-shadow: 0 -6px 12px rgba(13, 38, 66, .08) !important;
}


/* Keep Logout in natural final order; never overlay Settings or Withdraw. */
html body.authenticated header.topbar .drawer-nav .drawer-logout {
    position: static !important;
    bottom: auto !important;
    order: 99 !important;
    margin-top: 4px !important;
    padding-top: 2px !important;
    background: transparent !important;
    box-shadow: none !important;
}


/* Ensure the right drawer settles open instead of stopping off-screen mid-transition. */
html body.authenticated header.topbar .main-nav.drawer-nav.open {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
}


/* Closed drawer must not cover header controls; open drawer is fully visible on the right. */
html body.authenticated header.topbar .main-nav.drawer-nav:not(.open) {
    transform: translateX(110%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: none !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav.open {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
}

html body.authenticated header.topbar .menu-toggle,
html body.authenticated header.topbar .notification-bar {
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 7000 !important;
}


/* Draw the header controls explicitly so they remain visible on the gradient header. */
html body.authenticated header.topbar .menu-toggle {
    position: relative !important;
    display: inline-flex !important;
    color: transparent !important;
}

html body.authenticated header.topbar .menu-toggle::before {
    position: absolute !important;
    display: block !important;
    content: "" !important;
    top: 8px !important;
    left: 7px !important;
    width: 20px !important;
    height: 3px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    box-shadow: 0 7px 0 #ffffff, 0 14px 0 #ffffff !important;
}

html body.authenticated header.topbar .notification-bar .notification-icon {
    position: relative !important;
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    color: #ffffff !important;
}

html body.authenticated header.topbar .notification-bar .notification-icon::before {
    position: absolute !important;
    display: block !important;
    content: "" !important;
    top: 2px !important;
    left: 3px !important;
    width: 12px !important;
    height: 12px !important;
    border: 2px solid currentColor !important;
    border-radius: 8px 8px 4px 4px !important;
}

html body.authenticated header.topbar .notification-bar .notification-icon::after {
    position: absolute !important;
    display: block !important;
    content: "" !important;
    left: 5px !important;
    bottom: 1px !important;
    width: 10px !important;
    height: 2px !important;
    border-radius: 0 0 5px 5px !important;
    background: currentColor !important;
}


/* Restore the normal icon set and the simple balance strip. */
html body.authenticated .topbar {
    background: #0b2a49 !important;
    border-bottom: 3px solid #f4c044 !important;
    box-shadow: none !important;
}

html body.authenticated .account-strip {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    background: #f4f7fb !important;
    box-shadow: none !important;
}

html body.authenticated .account-strip > div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-width: 0 !important;
    padding: 11px 14px !important;
    border: 1px solid #d6e3ef !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #29415b !important;
    box-shadow: 0 4px 10px rgba(13, 38, 66, .06) !important;
}

html body.authenticated .account-strip > div:nth-child(1) { background: #fff5dd !important; border-color: #f1c65a !important; }
html body.authenticated .account-strip > div:nth-child(2) { background: #edf8ff !important; border-color: #a9dced !important; }
html body.authenticated .account-strip > div:nth-child(3) { background: #edf9f0 !important; border-color: #9ed8ad !important; }

html body.authenticated .drawer-item-icon {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #536173 !important;
}

html body.authenticated .drawer-item-icon::before,
html body.authenticated .drawer-item-icon::after {
    position: absolute !important;
    display: block !important;
    box-sizing: border-box !important;
    content: "" !important;
}

html body.authenticated .icon-home::before { left: 5px !important; top: 9px !important; width: 16px !important; height: 13px !important; border: 2px solid currentColor !important; border-top: 0 !important; border-radius: 2px !important; }
html body.authenticated .icon-home::after { left: 7px !important; top: 4px !important; width: 12px !important; height: 12px !important; border-top: 2px solid currentColor !important; border-left: 2px solid currentColor !important; transform: rotate(45deg) !important; }
html body.authenticated .icon-notifications::before { left: 5px !important; top: 5px !important; width: 16px !important; height: 15px !important; border: 2px solid currentColor !important; border-radius: 9px 9px 4px 4px !important; }
html body.authenticated .icon-notifications::after { left: 8px !important; bottom: 1px !important; width: 10px !important; height: 3px !important; border-radius: 0 0 6px 6px !important; background: currentColor !important; }
html body.authenticated .icon-deposit::before, html body.authenticated .icon-find::before, html body.authenticated .icon-submitted::before { left: 3px !important; top: 3px !important; width: 20px !important; height: 20px !important; border: 2px solid currentColor !important; border-radius: 50% !important; }
html body.authenticated .icon-deposit::after { left: 8px !important; top: 12px !important; width: 10px !important; height: 2px !important; background: currentColor !important; box-shadow: 4px -4px 0 -0.2px currentColor !important; transform: rotate(90deg) !important; }
html body.authenticated .icon-find::after { left: 18px !important; top: 18px !important; width: 8px !important; height: 2px !important; background: currentColor !important; transform: rotate(45deg) !important; }
html body.authenticated .icon-submitted::after { left: 8px !important; top: 8px !important; width: 10px !important; height: 6px !important; border-bottom: 2px solid currentColor !important; border-left: 2px solid currentColor !important; transform: rotate(-45deg) !important; }
html body.authenticated .icon-post::before { left: 4px !important; top: 8px !important; width: 18px !important; height: 14px !important; border: 2px solid currentColor !important; border-radius: 2px !important; }
html body.authenticated .icon-post::after { left: 8px !important; top: 4px !important; width: 10px !important; height: 7px !important; border: 2px solid currentColor !important; border-bottom: 0 !important; border-radius: 5px 5px 0 0 !important; }
html body.authenticated .icon-jobs::before { left: 5px !important; top: 5px !important; width: 17px !important; height: 3px !important; background: currentColor !important; box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor !important; }
html body.authenticated .icon-jobs::after { left: 1px !important; top: 5px !important; width: 3px !important; height: 3px !important; background: currentColor !important; box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor !important; }
html body.authenticated .icon-referral::before { left: 4px !important; top: 8px !important; width: 18px !important; height: 14px !important; border: 2px solid currentColor !important; border-radius: 2px !important; }
html body.authenticated .icon-referral::after { left: 12px !important; top: 5px !important; width: 2px !important; height: 20px !important; background: currentColor !important; }
html body.authenticated .icon-withdraw::before { left: 5px !important; top: -2px !important; content: "$" !important; font-size: 1.6rem !important; font-weight: 400 !important; }
html body.authenticated .icon-settings::before { left: 0 !important; top: -4px !important; content: "⚙" !important; font-size: 1.7rem !important; font-weight: 400 !important; }
html body.authenticated .icon-logout::before { left: 1px !important; top: -4px !important; content: "→" !important; font-size: 1.8rem !important; font-weight: 400 !important; }


/* Balance strip: equal pills with readable text and matching leading icons. */
html body.authenticated .account-strip > div {
    position: relative !important;
    padding-left: 46px !important;
    min-height: 46px !important;
    box-sizing: border-box !important;
}

html body.authenticated .account-strip > div span,
html body.authenticated .account-strip > div strong {
    position: relative !important;
    z-index: 1 !important;
    color: #29415b !important;
    opacity: 1 !important;
}

html body.authenticated .account-strip > div::before {
    position: absolute !important;
    left: 11px !important;
    top: 50% !important;
    display: grid !important;
    place-items: center !important;
    width: 24px !important;
    height: 24px !important;
    transform: translateY(-50%) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: .9rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

html body.authenticated .account-strip > div:nth-child(1)::before { content: "◷" !important; background: #e0a51a !important; }
html body.authenticated .account-strip > div:nth-child(2)::before { content: "$" !important; background: #2c8eaf !important; }
html body.authenticated .account-strip > div:nth-child(3)::before { content: "▣" !important; background: #18884d !important; }


/* Center the app logo in the open drawer header. */
html body.authenticated header.topbar .drawer-brand {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    width: 100% !important;
    padding: 0 !important;
}

html body.authenticated header.topbar .drawer-brand .brand-logo {
    display: block !important;
    margin: 0 auto !important;
}

html body.authenticated header.topbar .drawer-brand > b { display: none !important; }
html body.authenticated header.topbar .drawer-brand .drawer-close {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
}


/* TaskPoint compact dashboard update 2026-09-22 */
html body.authenticated .topbar-inner { min-height: 62px !important; padding: 8px 16px !important; }
html body.authenticated .brand-logo { width: 40px !important; height: 40px !important; border-radius: 12px !important; }
html body.authenticated .menu-toggle, html body.authenticated .profile-chip { width: 40px !important; height: 40px !important; min-width: 40px !important; }
html body.authenticated .notification-bar { width: 42px !important; min-width: 42px !important; height: 42px !important; padding: 0 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; border-radius: 12px !important; background: rgba(255,255,255,.94) !important; color: #1a3b66 !important; }
html body.authenticated .notification-label { display: none !important; }
html body.authenticated .notification-icon { width: 22px !important; height: 22px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
html body.authenticated .notification-icon::before { content: '\1F514'; font-size: 18px; line-height: 1; }
html body.authenticated .account-strip { max-width: 1220px !important; margin: 10px auto 12px !important; padding: 0 16px !important; gap: 8px !important; display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; background: transparent !important; }
html body.authenticated .account-strip > div { min-height: 38px !important; padding: 7px 10px !important; border-radius: 999px !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 5px !important; border: 1px solid rgba(38,59,94,.12) !important; box-shadow: 0 4px 12px rgba(31,52,88,.06) !important; }
html body.authenticated .account-strip > div:nth-child(1) { background: #fff6d9 !important; color: #8a5b00 !important; }
html body.authenticated .account-strip > div:nth-child(2) { background: #e7f5ff !important; color: #166489 !important; }
html body.authenticated .account-strip > div:nth-child(3) { background: #e6f8ef !important; color: #18734b !important; }
html body.authenticated .account-strip span { font-size: .69rem !important; font-weight: 700 !important; white-space: nowrap !important; }
html body.authenticated .account-strip strong { font-size: .79rem !important; white-space: nowrap !important; }
html body.authenticated .banner-slot { margin: 8px auto 12px !important; }
html body.authenticated .public-ad-card { border-radius: 12px !important; padding: 7px 10px !important; min-height: 66px !important; }
html body.authenticated .ad-kicker { font-size: .62rem !important; letter-spacing: .08em !important; }
html body.authenticated .sponsor-ad-slot, html body.authenticated .sponsor-ad-slot iframe { width: min(320px,100%) !important; max-width: 100% !important; height: 50px !important; margin: 0 auto !important; display: block !important; }
html body.authenticated .market-summary { max-width: 1220px !important; margin: 0 auto 12px !important; padding: 0 16px !important; gap: 8px !important; }
html body.authenticated .market-summary > div { padding: 8px 10px !important; min-height: 38px !important; border-radius: 11px !important; background: rgba(255,255,255,.86) !important; border: 1px solid rgba(30,48,82,.08) !important; }
html body.authenticated .market-summary span { font-size: .62rem !important; text-transform: uppercase !important; letter-spacing: .06em !important; }
html body.authenticated .market-summary strong { font-size: 1rem !important; }
html body.authenticated .job-card { position: relative !important; min-height: 0 !important; padding: 13px 14px 12px !important; border-radius: 14px !important; border: 1px solid rgba(124,93,20,.13) !important; box-shadow: 0 5px 14px rgba(56,50,20,.06) !important; }
html body.authenticated .job-card:nth-child(4n+1) { background: #fffaf0 !important; }
html body.authenticated .job-card:nth-child(4n+2) { background: #f3f9ff !important; }
html body.authenticated .job-card:nth-child(4n+3) { background: #f5fbf6 !important; }
html body.authenticated .job-card:nth-child(4n+4) { background: #fcf5ff !important; }
html body.authenticated .job-card-link { padding-right: 94px !important; }
html body.authenticated .job-category { font-size: .66rem !important; letter-spacing: .04em !important; }
html body.authenticated .job-card h2 { font-size: 1rem !important; line-height: 1.3 !important; margin: 4px 0 0 !important; }
html body.authenticated .job-meta { margin-top: 7px !important; gap: 5px !important; }
html body.authenticated .job-meta strong { font-size: .95rem !important; }
html body.authenticated .job-meta span { font-size: .68rem !important; }
html body.authenticated .progress-wrap { margin-top: 9px !important; }
html body.authenticated .progress-wrap small { font-size: .65rem !important; }
html body.authenticated .job-card > a.button { position: absolute !important; top: 13px !important; right: 13px !important; margin: 0 !important; padding: 7px 9px !important; min-height: 0 !important; border-radius: 9px !important; font-size: .68rem !important; line-height: 1 !important; white-space: nowrap !important; }
@media (max-width: 640px) {
 html body.authenticated .topbar-inner { padding: 7px 12px !important; }
 html body.authenticated .account-strip { padding: 0 10px !important; gap: 5px !important; }
 html body.authenticated .account-strip > div { min-height: 34px !important; padding: 5px 6px !important; gap: 3px !important; }
 html body.authenticated .account-strip span { font-size: .58rem !important; }
 html body.authenticated .account-strip strong { font-size: .68rem !important; }
 html body.authenticated .market-summary { padding: 0 10px !important; }
 html body.authenticated .job-card { padding: 11px 12px 10px !important; }
 html body.authenticated .job-card-link { padding-right: 82px !important; }
 html body.authenticated .job-card > a.button { top: 11px !important; right: 11px !important; padding: 6px 7px !important; font-size: .61rem !important; }
}


/* TaskPoint compact drawer and deposit update 2026-09-22 */
html body.authenticated .drawer-nav{width:min(82vw,320px)!important;max-width:320px!important;padding:14px 12px 18px!important;box-shadow:10px 0 30px rgba(22,32,55,.16)!important}
html body.authenticated .drawer-brand{min-height:58px!important;padding:4px 8px 12px!important;margin-bottom:8px!important}
html body.authenticated .drawer-brand .brand-logo{width:42px!important;height:42px!important;border-radius:12px!important}
html body.authenticated .drawer-brand b{font-size:.92rem!important;letter-spacing:.08em!important}
html body.authenticated .drawer-close{width:32px!important;height:32px!important;font-size:1.45rem!important}
html body.authenticated .drawer-item{min-height:38px!important;margin:2px 0!important;padding:7px 10px!important;border-radius:10px!important;gap:11px!important}
html body.authenticated .drawer-item-icon{width:22px!important;min-width:22px!important;height:22px!important;font-size:17px!important}
html body.authenticated .drawer-item-label{display:inline-flex!important;align-items:center!important;font-size:.91rem!important;line-height:1.15!important;letter-spacing:-.01em!important}
html body.authenticated .drawer-item sup{margin-left:5px!important;padding:2px 6px!important;min-width:15px!important;font-size:.65rem!important;line-height:1.1!important}
html body.authenticated .drawer-nav hr,html body.authenticated .drawer-divider{margin:12px 8px!important;border-color:rgba(53,66,92,.14)!important}
html body.authenticated .drawer-item[href*='deposit'] .drawer-item-label{display:inline-flex!important}
html body.authenticated main:has([name='deposit_amount']) .button,html body.authenticated main:has([name='deposit_amount']) button,html body.authenticated main:has(.deposit-options) .button,html body.authenticated main:has(.deposit-options) button,html body.authenticated main:has([href*='deposit']) .form-card .button{min-height:36px!important;padding:7px 12px!important;border-radius:9px!important;font-size:.78rem!important;line-height:1.1!important;font-weight:700!important;box-shadow:none!important}
html body.authenticated main:has([name='deposit_amount']) .form-card,html body.authenticated main:has(.deposit-options) .form-card{padding:16px!important;border-radius:14px!important}
@media(max-width:640px){html body.authenticated .drawer-nav{width:min(80vw,300px)!important;padding:12px 10px 16px!important}html body.authenticated .drawer-brand{min-height:52px!important;padding-bottom:9px!important}html body.authenticated .drawer-brand .brand-logo{width:38px!important;height:38px!important}html body.authenticated .drawer-item{min-height:35px!important;padding:6px 8px!important;gap:9px!important}html body.authenticated .drawer-item-icon{width:20px!important;min-width:20px!important;height:20px!important;font-size:15px!important}html body.authenticated .drawer-item-label{font-size:.82rem!important}html body.authenticated main:has([name='deposit_amount']) .button,html body.authenticated main:has([name='deposit_amount']) button,html body.authenticated main:has(.deposit-options) .button,html body.authenticated main:has(.deposit-options) button{min-height:33px!important;padding:6px 10px!important;font-size:.72rem!important}}


/* TaskPoint vertical drawer correction 2026-09-22 */
html body.authenticated header.topbar .main-nav.drawer-nav.open{position:fixed!important;top:0!important;right:0!important;left:auto!important;width:min(80vw,300px)!important;max-width:300px!important;height:100vh!important;min-height:100vh!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:14px 10px 18px!important;background:#fff!important;border-left:1px solid rgba(33,53,78,.12)!important;box-shadow:-12px 0 32px rgba(20,34,58,.18)!important;transform:none!important;opacity:1!important;visibility:visible!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open>.drawer-item,html body.authenticated header.topbar .main-nav.drawer-nav.open>a:not(.button){flex:0 0 auto!important;width:100%!important;box-sizing:border-box!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-brand{flex:0 0 auto!important;width:100%!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item{min-height:35px!important;height:35px!important;padding:6px 8px!important;margin:2px 0!important;gap:9px!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon{width:20px!important;min-width:20px!important;height:20px!important;font-size:15px!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-label{font-size:.82rem!important}
@media(min-width:641px){html body.authenticated header.topbar .main-nav.drawer-nav.open{width:min(30vw,320px)!important;max-width:320px!important}}


/* TaskPoint ultra narrow drawer 2026-09-22 */
@media(max-width:640px){html body.authenticated header.topbar .main-nav.drawer-nav.open{width:44vw!important;max-width:210px!important;padding:10px 7px 14px!important}html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item{min-height:31px!important;height:31px!important;padding:5px 5px!important;margin:1px 0!important;gap:6px!important}html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon{width:17px!important;min-width:17px!important;height:17px!important;font-size:13px!important}html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-label{font-size:.68rem!important;white-space:nowrap!important}html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-brand .brand-logo{width:32px!important;height:32px!important}html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-brand b{font-size:.72rem!important}}


/* TaskPoint compact Apply Now control 2026-09-22 */
html body.authenticated .job-meta{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
html body.authenticated .job-meta .apply-now{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:24px!important;padding:4px 8px!important;border-radius:7px!important;background:#123a5a!important;color:#fff!important;font-size:.66rem!important;font-weight:800!important;text-decoration:none!important;line-height:1!important;white-space:nowrap!important}
html body.authenticated .job-meta .apply-now:hover{background:#0d2b43!important}
@media(max-width:640px){html body.authenticated .job-meta .apply-now{min-height:22px!important;padding:4px 7px!important;font-size:.61rem!important}}


/* TaskPoint limited UI patch: balances + marketplace summary only 2026-09-22 */
html body.authenticated .account-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;align-items:stretch!important}
html body.authenticated .account-strip>div{min-width:0!important;height:34px!important;min-height:34px!important;padding:5px 7px!important;gap:4px!important;align-items:center!important;white-space:nowrap!important;overflow:hidden!important}
html body.authenticated .account-strip>div>span,html body.authenticated .account-strip>div>strong{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
html body.authenticated .account-strip>div>span{flex:0 1 auto!important}
html body.authenticated .account-strip>div>strong{flex:0 0 auto!important}
html body.authenticated .account-strip>div::after{content:'Apply Now'!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;margin-left:auto!important;padding:3px 5px!important;min-height:20px!important;border:1px solid currentColor!important;border-radius:5px!important;background:transparent!important;color:inherit!important;font-size:.58rem!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important}
html body.authenticated .market-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0!important;align-items:stretch!important}
html body.authenticated .market-summary>div{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;padding:7px 10px!important;white-space:nowrap!important}
html body.authenticated .market-summary>div+div{border-left:1px solid rgba(102,117,103,.28)!important;min-height:24px!important}
html body.authenticated .market-summary>div>span,html body.authenticated .market-summary>div>strong{margin:0!important;white-space:nowrap!important}
@media(max-width:640px){html body.authenticated .account-strip{gap:3px!important}html body.authenticated .account-strip>div{padding:4px!important;gap:2px!important}html body.authenticated .account-strip>div::after{padding:3px!important;font-size:.5rem!important}html body.authenticated .market-summary>div{padding:6px 5px!important;gap:3px!important}}


/* TaskPoint focused update: drawer rhythm + balance/summary alignment 2026-09-22 */
/* Side drawer only: keep width/background/order unchanged; increase row rhythm and normalize icon column. */
html body.authenticated .drawer-item{min-height:52px!important;height:52px!important;display:flex!important;align-items:center!important;padding:8px 8px!important;gap:18px!important;margin:0!important;line-height:1.2!important}
html body.authenticated .drawer-item-icon{width:28px!important;min-width:28px!important;height:25px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 28px!important;font-size:25px!important;line-height:1!important}
html body.authenticated .drawer-item-icon::before{transform:scale(.88)!important;transform-origin:center!important}
html body.authenticated .drawer-item-icon.icon-settings::before,html body.authenticated .drawer-item-icon.icon-withdraw::before,html body.authenticated .drawer-item-icon.icon-logout::before{font-size:18px!important;line-height:1!important}
html body.authenticated .drawer-item-label{font-size:16px!important;font-weight:600!important;line-height:1.2!important;display:block!important;white-space:nowrap!important}
html body.authenticated .drawer-item.drawer-logout{margin-top:14px!important;display:flex!important;align-items:center!important}
html body.authenticated .drawer-item.drawer-logout .drawer-item-icon{align-self:center!important}
/* Balance strip only: icon, label, then balance on one centered horizontal line. */
html body.authenticated .account-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;align-items:stretch!important}
html body.authenticated .account-strip>div{height:38px!important;min-height:38px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:6px 8px!important;white-space:nowrap!important;overflow:hidden!important}
html body.authenticated .account-strip>div::after{content:none!important;display:none!important}
html body.authenticated .account-strip>div>span,html body.authenticated .account-strip>div>strong{margin:0!important;line-height:1!important;white-space:nowrap!important;vertical-align:middle!important}
/* Total Jobs / Total Earn only: smaller type, adjacent values, soft center divider. */
html body.authenticated .market-summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:0!important;align-items:stretch!important}
html body.authenticated .market-summary>div{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;padding:7px 8px!important;white-space:nowrap!important}
html body.authenticated .market-summary>div+div{border-left:1px solid rgba(102,117,103,.28)!important;min-height:24px!important}
html body.authenticated .market-summary>div>span,html body.authenticated .market-summary>div>strong{margin:0!important;font-size:.65rem!important;line-height:1.1!important;white-space:nowrap!important}
@media(max-width:640px){html body.authenticated .drawer-item{min-height:52px!important;height:52px!important;padding:8px 6px!important;gap:18px!important}html body.authenticated .drawer-item-icon{width:28px!important;min-width:28px!important}html body.authenticated .account-strip{gap:3px!important}html body.authenticated .account-strip>div{padding:6px 4px!important;gap:3px!important}html body.authenticated .market-summary>div{padding:6px 5px!important;gap:3px!important}}


/* TaskPoint final specificity correction: requested spacing only 2026-09-22 */
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item{min-height:52px!important;height:52px!important;padding:8px!important;margin:0!important;gap:18px!important;display:flex!important;align-items:center!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon{width:28px!important;min-width:28px!important;height:25px!important;flex:0 0 28px!important;font-size:25px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon::before{transform:scale(.88)!important;transform-origin:center!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon.icon-settings::before,html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon.icon-withdraw::before,html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon.icon-logout::before{font-size:18px!important;line-height:1!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-label{font-size:16px!important;font-weight:600!important;line-height:1.2!important;white-space:nowrap!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-logout{margin-top:14px!important;display:flex!important;align-items:center!important}
html body.authenticated header.topbar .account-strip>div{height:38px!important;min-height:38px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:6px 8px!important;white-space:nowrap!important}
html body.authenticated header.topbar .account-strip>div::after{content:none!important;display:none!important}
html body.authenticated header.topbar .account-strip>div>span,html body.authenticated header.topbar .account-strip>div>strong{margin:0!important;line-height:1!important;white-space:nowrap!important}
html body.authenticated main section.market-summary>div{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:7px 8px!important;white-space:nowrap!important}
html body.authenticated main section.market-summary>div+div{border-left:1px solid rgba(102,117,103,.28)!important;min-height:24px!important}
html body.authenticated main section.market-summary>div>span,html body.authenticated main section.market-summary>div>strong{margin:0!important;font-size:.65rem!important;line-height:1.1!important;white-space:nowrap!important}


/* TaskPoint audit completion: consistent outline icons 2026-09-22 */
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon.icon-withdraw::before,html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon.icon-settings::before,html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon.icon-logout::before{content:''!important;display:block!important;width:20px!important;height:20px!important;font-size:0!important;line-height:0!important;background-position:center!important;background-repeat:no-repeat!important;background-size:20px 20px!important;transform:none!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon.icon-withdraw::before{background-image:url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536173' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M7 9h10M12 12v5M9.5 14.5 12 17l2.5-2.5'/%3E%3C/svg%3E)!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon.icon-settings::before{background-image:url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536173' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1'/%3E%3C/svg%3E)!important}
html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon.icon-logout::before{background-image:url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d95b6a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5M14 8l4 4-4 4M18 12H8'/%3E%3C/svg%3E)!important}


/* TaskPoint audit completion: balance Apply Now 2026-09-22 */
html body.authenticated header.topbar .account-strip>div::after{content:'Apply Now'!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-left:auto!important;padding:3px 6px!important;border:1px solid currentColor!important;border-radius:999px!important;font-size:8px!important;font-weight:800!important;line-height:1!important;white-space:nowrap!important;opacity:.9!important}
html body.authenticated header.topbar .account-strip>div{gap:5px!important;overflow:hidden!important}


/* TaskPoint final compact refinement: balance row, marketplace summary, drawer only */
html body.authenticated .account-strip {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:4px !important;
  align-items:stretch !important;
  margin:8px 20px 10px !important;
  padding:0 4px !important;
}
html body.authenticated .account-strip > div {
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:4px !important;
  min-width:0 !important;
  height:32px !important;
  padding:4px 6px !important;
  white-space:nowrap !important;
}
html body.authenticated .account-strip > div::before {
  flex:0 0 20px !important;
  width:20px !important;
  height:20px !important;
  font-size:12px !important;
  line-height:20px !important;
}
html body.authenticated .account-strip > div span {
  flex:0 1 auto !important;
  min-width:0 !important;
  font-size:10px !important;
  line-height:12px !important;
}
html body.authenticated .account-strip > div strong {
  flex:0 1 auto !important;
  min-width:0 !important;
  font-size:11px !important;
  line-height:12px !important;
}
html body.authenticated .account-strip > div::after {
  content:'Apply Now' !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 auto !important;
  margin-left:auto !important;
  padding:2px 5px !important;
  min-height:18px !important;
  border-radius:5px !important;
  font-size:8px !important;
  line-height:10px !important;
  font-weight:700 !important;
  color:inherit !important;
  border:1px solid currentColor !important;
  background:transparent !important;
}
html body.authenticated .market-summary {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:0 !important;
  min-height:28px !important;
  height:30px !important;
  margin:0 0 8px !important;
  padding:0 8px !important;
}
html body.authenticated .market-summary > div {
  display:flex !important;
  align-items:baseline !important;
  justify-content:center !important;
  gap:4px !important;
  width:auto !important;
  flex:0 0 auto !important;
  padding:4px 12px !important;
  font-size:10px !important;
  line-height:12px !important;
}
html body.authenticated .market-summary > div + div {
  border-left:1px solid rgba(111,120,149,.28) !important;
  min-height:24px !important;
}
html body.authenticated .market-summary span,
html body.authenticated .market-summary strong {
  font-size:10px !important;
  line-height:12px !important;
}
html body.authenticated .drawer-item {
  gap:10px !important;
  min-height:30px !important;
  height:30px !important;
  font-size:11.5px !important;
  line-height:13px !important;
}
html body.authenticated .drawer-item-icon {
  flex:0 0 20px !important;
  width:20px !important;
  height:20px !important;
  font-size:20px !important;
  line-height:20px !important;
}
@media (max-width:560px) {
  html body.authenticated .account-strip { margin:6px 6px 8px !important; padding:0 !important; gap:3px !important; }
  html body.authenticated .account-strip > div { padding:3px 4px !important; gap:3px !important; height:30px !important; }
  html body.authenticated .account-strip > div::before { flex-basis:17px !important; width:17px !important; height:17px !important; font-size:10px !important; line-height:17px !important; }
  html body.authenticated .account-strip > div span { font-size:8px !important; }
  html body.authenticated .account-strip > div strong { font-size:9px !important; }
  html body.authenticated .account-strip > div::after { padding:1px 3px !important; min-height:16px !important; font-size:6.5px !important; }
  html body.authenticated .market-summary > div { padding-left:6px !important; padding-right:6px !important; gap:3px !important; }
  html body.authenticated .market-summary span, html body.authenticated .market-summary strong { font-size:8px !important; }
}


/* Exact screenshot pass: half-size drawer labels/icons and equal balance pills. */
html body.authenticated header.topbar .drawer-nav > a.drawer-item,
html body.authenticated header.topbar .drawer-nav > a:not(.button) {
    min-height: 32px !important;
    height: 32px !important;
    gap: 9px !important;
    padding: 0 10px !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-item-label {
    font-size: 8px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
}

html body.authenticated header.topbar .drawer-nav .drawer-item-icon {
    width: 28px !important;
    min-width: 28px !important;
    height: 26px !important;
    flex: 0 0 28px !important;
    margin-right: -14px !important;
    transform: scale(.5) !important;
    transform-origin: center !important;
}

html body.authenticated .account-strip {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: calc(100% - 56px) !important;
    margin: 8px auto !important;
    padding: 0 !important;
    gap: 8px !important;
    background: transparent !important;
}

html body.authenticated .account-strip > div {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: auto !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 8px 0 36px !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
}

html body.authenticated .account-strip > div span,
html body.authenticated .account-strip > div strong {
    color: #111827 !important;
    opacity: 1 !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
}

html body.authenticated .account-strip > div strong { font-size: 13px !important; }
html body.authenticated .account-strip > div::after { content: none !important; display: none !important; }
html body.authenticated .account-strip > div::before { left: 8px !important; width: 22px !important; height: 22px !important; font-size: .85rem !important; }


/* Final specificity pass for the compact drawer and screenshot-matched pills. */
html body.authenticated header.topbar .main-nav.drawer-nav.open > a.drawer-item,
html body.authenticated header.topbar .main-nav.drawer-nav.open > a:not(.button) {
    min-height: 32px !important;
    height: 32px !important;
    gap: 9px !important;
    padding: 0 10px !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-label {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 8px !important;
    line-height: 1.1 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav.open .drawer-item-icon {
    width: 28px !important;
    min-width: 28px !important;
    height: 26px !important;
    flex: 0 0 28px !important;
    margin-right: -14px !important;
    transform: scale(.5) !important;
}

html body.authenticated .account-strip > div span::after { content: ":" !important; }
html body.authenticated .account-strip > div span,
html body.authenticated .account-strip > div strong { font-size: 9px !important; color: #111827 !important; }
html body.authenticated .account-strip > div strong { font-size: 10px !important; }
html body.authenticated .account-strip > div { padding-left: 30px !important; padding-right: 5px !important; }
html body.authenticated .account-strip > div::before { left: 6px !important; width: 20px !important; height: 20px !important; font-size: .75rem !important; }

/* menu half-size patch 20260922 */
html body.authenticated .main-nav.drawer-nav > a { font-size: 8px !important; line-height: 1.1 !important; min-height: 32px !important; height: 32px !important; padding: 0 10px !important; }

/* narrow-phone balance patch 20260922 */
@media (max-width: 420px) {
  html body.authenticated .account-strip > div { padding-left: 22px !important; padding-right: 3px !important; }
  html body.authenticated .account-strip > div::before { left: 4px !important; width: 16px !important; height: 16px !important; font-size: .65rem !important; }
  html body.authenticated .account-strip > div span { font-size: 8px !important; }
  html body.authenticated .account-strip > div strong { font-size: 9px !important; }
}

/* normal inline marketplace totals patch 20260922 */
html body.authenticated .banner-slot { margin-bottom: 4px !important; }
html body.authenticated .market-summary {
  margin: 0 0 3px !important;
  padding: 0 2px !important;
  min-height: 22px !important;
  height: 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
html body.authenticated .market-summary > div {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}
html body.authenticated .market-summary > div:first-child { margin-right: auto !important; }
html body.authenticated .market-summary > div:last-child { margin-left: auto !important; }
html body.authenticated .market-summary > div span { font-size: 10px !important; font-weight: 500 !important; }
html body.authenticated .market-summary > div strong { font-size: 10px !important; font-weight: 700 !important; }

/* remove inherited total boxes with stronger specificity */
html body.authenticated main section.market-summary > div {
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body.authenticated main section.market-summary > div + div {
  border-left: 0 !important;
  min-height: 0 !important;
}

/* thin balance strip patch 20260922 */
html body.authenticated main section.account-strip {
  margin: 3px 28px 4px !important;
  height: 34px !important;
  min-height: 34px !important;
  gap: 6px !important;
}
html body.authenticated main section.account-strip > div {
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 4px 0 25px !important;
  border-radius: 18px !important;
}
html body.authenticated main section.account-strip > div::before {
  left: 4px !important;
  top: 50% !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 16px !important;
  transform: translateY(-50%) !important;
  font-size: 10px !important;
}
html body.authenticated main section.account-strip > div span { font-size: 8px !important; }
html body.authenticated main section.account-strip > div strong { font-size: 9px !important; }

/* job Start button patch 20260922 */
html body.authenticated .market-grid .job-meta {
  align-items: center !important;
  gap: 6px !important;
  min-height: 28px !important;
}
html body.authenticated .market-grid .job-meta .job-start-button {
  position: static !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  min-height: 28px !important;
  padding: 5px 11px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #122a44 !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 10px rgba(18,42,68,.18) !important;
}
html body.authenticated .market-grid .job-start-button span {
  font-size: 1em !important;
  margin-left: 4px !important;
}
html body.authenticated .market-grid .job-card > a.button.button-dark {
  display: none !important;
}


/* Larger authenticated drawer controls. */
html body.authenticated nav.drawer-nav {
  width: min(300px, 88vw) !important;
}

html body.authenticated nav.drawer-nav a {
  min-height: 46px !important;
  padding: 11px 16px !important;
  gap: 10px !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

html body.authenticated nav.drawer-nav a::first-letter {
  font-size: 1.25em !important;
}

html body.authenticated .drawer-brand b {
  font-size: 18px !important;
}

html body.authenticated .drawer-close {
  width: 40px !important;
  height: 40px !important;
  font-size: 28px !important;
}


/* Final drawer sizing override for the compact legacy nav rules. */
html body.authenticated header.topbar .main-nav.drawer-nav.open {
  width: min(300px, 88vw) !important;
  max-width: 300px !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav > a:not(.button),
html body.authenticated header.topbar .main-nav.drawer-nav.open > a:not(.button) {
  min-height: 46px !important;
  height: 46px !important;
  padding: 11px 16px !important;
  gap: 10px !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav > a:not(.button)::first-letter,
html body.authenticated header.topbar .main-nav.drawer-nav.open > a:not(.button)::first-letter {
  font-size: 1.25em !important;
}


/* Slightly smaller final drawer sizing. */
html body.authenticated header.topbar .main-nav.drawer-nav.open {
  width: min(280px, 88vw) !important;
  max-width: 280px !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav > a:not(.button),
html body.authenticated header.topbar .main-nav.drawer-nav.open > a:not(.button) {
  min-height: 42px !important;
  height: 42px !important;
  padding: 9px 14px !important;
  gap: 8px !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav > a:not(.button)::first-letter,
html body.authenticated header.topbar .main-nav.drawer-nav.open > a:not(.button)::first-letter {
  font-size: 1.15em !important;
}


/* Accessible notification bar with a CSS bell icon. */
html body.authenticated header.topbar .header-tools .notification-bar {
  min-height: 42px !important;
  padding: 0 13px !important;
  gap: 9px !important;
  border: 1px solid rgba(116, 78, 0, .25) !important;
  background: linear-gradient(135deg, #ffe27a, #f2b632) !important;
  color: #3a2800 !important;
  box-shadow: 0 7px 18px rgba(121, 82, 0, .2) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

html body.authenticated header.topbar .header-tools .notification-bar:hover {
  transform: translateY(-1px);
  filter: saturate(1.08);
  box-shadow: 0 10px 22px rgba(121, 82, 0, .26) !important;
}

html body.authenticated header.topbar .header-tools .notification-bar:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .45);
  outline-offset: 3px;
}

html body.authenticated .notification-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 20px;
  flex: 0 0 18px;
  color: currentColor;
}

html body.authenticated .notification-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 10px;
  height: 12px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 2px 2px;
}

html body.authenticated .notification-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 14px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  box-shadow: 5px 4px 0 -1px currentColor;
}

html body.authenticated .notification-bar .notification-label {
  font-size: 13px !important;
  font-weight: 800 !important;
}

html body.authenticated .notification-bar sup {
  min-width: 20px !important;
  height: 20px !important;
  padding: 0 5px !important;
  background: #b4234d !important;
  color: #fff !important;
  font-size: 11px !important;
  box-shadow: 0 2px 6px rgba(93, 20, 43, .24);
}



/* Keep the notification control transparent in the gradient header. */
html body.authenticated .notification-bar {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
}


/* Final transparent notification override. */
html body.authenticated header.topbar .header-tools .notification-bar {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
}


/* Final compact header and drawer polish. */
html body.authenticated header.topbar .header-tools .notification-bar {
    display: inline-flex !important;
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .34) !important;
    border-radius: 13px !important;
    background: linear-gradient(145deg, #f264b7 0%, #7c5ce5 100%) !important;
    color: #fff !important;
    box-shadow: 0 7px 16px rgba(105, 70, 178, .3) !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

html body.authenticated header.topbar .header-tools .notification-bar:hover {
    transform: translateY(-1px) !important;
    filter: saturate(1.08) brightness(1.04) !important;
    box-shadow: 0 10px 20px rgba(105, 70, 178, .38) !important;
}

html body.authenticated header.topbar .header-tools .notification-bar .notification-icon {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    color: #fff !important;
}

html body.authenticated header.topbar .header-tools .notification-bar sup {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    min-width: 17px !important;
    height: 17px !important;
    padding: 0 4px !important;
    border: 2px solid #0b2a49 !important;
    border-radius: 999px !important;
    background: #ffd166 !important;
    color: #5b3b00 !important;
    font-size: 10px !important;
    line-height: 13px !important;
}

html body.authenticated header.topbar nav.drawer-nav {
    width: min(248px, 82vw) !important;
}

html body.authenticated header.topbar nav.drawer-nav > a {
    min-height: 40px !important;
    padding: 9px 12px !important;
    gap: 8px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-brand {
    padding: 14px 12px !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-brand b {
    font-size: 16px !important;
}


/* Match the drawer open-state selector so the compact width wins. */
html body.authenticated header.topbar .main-nav.drawer-nav.open {
    width: min(248px, 82vw) !important;
    max-width: 248px !important;
}


/* Mobile right-side drawer recreation: one light outline icon family. */
html body.authenticated header.topbar nav.drawer-nav {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: min(320px, 86vw) !important;
    max-width: 320px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    padding: 0 24px 24px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .08) !important;
    transform: translateX(100%) !important;
    transition: transform .25s ease !important;
}

html body.authenticated header.topbar nav.drawer-nav.open {
    width: min(320px, 86vw) !important;
    max-width: 320px !important;
    transform: translateX(0) !important;
}

html body.authenticated.drawer-open::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 9998 !important;
    background: rgba(0, 0, 0, .48) !important;
    pointer-events: auto !important;
}

html body.authenticated header.topbar .menu-toggle,
html body.authenticated header.topbar .header-tools,
html body.authenticated header.topbar .notification-bar,
html body.authenticated header.topbar .profile-chip {
    z-index: 1100 !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-brand {
    position: relative !important;
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 108px !important;
    padding: 22px 0 0 !important;
    border: 0 !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-profile {
    display: grid !important;
    place-items: center !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-avatar {
    display: grid !important;
    place-items: center !important;
    width: 56px !important;
    height: 56px !important;
    border: 1px solid #dbe7f8 !important;
    border-radius: 50% !important;
    background: #f5f9ff !important;
    color: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .12) !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-avatar svg {
    width: 30px !important;
    height: 30px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-close {
    position: absolute !important;
    top: 20px !important;
    right: 0 !important;
    display: grid !important;
    place-items: center !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #6b7280 !important;
    cursor: pointer !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-close svg {
    width: 22px !important;
    height: 22px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-divider {
    flex: 0 0 auto !important;
    width: 192px !important;
    height: 1px !important;
    margin: 20px auto 12px !important;
    background: #e5e7eb !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-group-divider {
    width: 100% !important;
    margin: 16px 0 !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-group {
    display: flex !important;
    flex-direction: column !important;
    flex: 0 0 auto !important;
    gap: 0 !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-group > a,
html body.authenticated header.topbar nav.drawer-nav > .drawer-logout {
    position: relative !important;
    display: flex !important;
    flex: 0 0 52px !important;
    align-items: center !important;
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    gap: 18px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #4b5563 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-group > a:hover,
html body.authenticated header.topbar nav.drawer-nav > .drawer-logout:hover {
    background: #f7f9fc !important;
    color: #374151 !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-icon {
    display: block !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-group > a > span,
html body.authenticated header.topbar nav.drawer-nav > .drawer-logout > span {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body.authenticated header.topbar nav.drawer-nav > .drawer-logout {
    flex: 0 0 52px !important;
    margin-top: 10px !important;
    color: #e66a78 !important;
}

html body.authenticated header.topbar nav.drawer-nav .drawer-badge {
    position: absolute !important;
    top: 9px !important;
    left: 15px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    border: 2px solid #fff !important;
    border-radius: 999px !important;
    background: #e66a78 !important;
    color: #fff !important;
    font-size: 10px !important;
    line-height: 12px !important;
    text-align: center !important;
}


/* Ensure the open drawer width beats the legacy main-nav rule. */
html body.authenticated header.topbar .main-nav.drawer-nav {
    width: min(320px, 86vw) !important;
    max-width: 320px !important;
}

html body.authenticated header.topbar .main-nav.drawer-nav.open {
    width: min(320px, 86vw) !important;
    max-width: 320px !important;
}


/* Prevent the off-canvas drawer from creating horizontal page scroll. */
html body.authenticated {
    overflow-x: hidden !important;
}


/* Slim drawer and keep the drawer sharp above its dimming layer. */
html body.authenticated header.topbar nav.drawer-nav,
html body.authenticated header.topbar .main-nav.drawer-nav.open {
    width: min(280px, 82vw) !important;
    max-width: 280px !important;
}

html body.authenticated.drawer-open::before {
    display: none !important;
}

html body.authenticated.drawer-open header.topbar {
    z-index: 1000 !important;
}

html body.authenticated.drawer-open header.topbar::before {
    content: "" !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: rgba(0, 0, 0, .48) !important;
    pointer-events: auto !important;
}

html body.authenticated.drawer-open header.topbar nav.drawer-nav {
    z-index: 9999 !important;
    opacity: 1 !important;
    filter: none !important;
}


/* Keep the closed drawer width consistent with its open state. */
html body.authenticated header.topbar .main-nav.drawer-nav {
    width: min(280px, 82vw) !important;
    max-width: 280px !important;
}


/* Final slimmer drawer width. */
html body.authenticated header.topbar nav.drawer-nav,
html body.authenticated header.topbar .main-nav.drawer-nav,
html body.authenticated header.topbar .main-nav.drawer-nav.open {
    width: min(250px, 80vw) !important;
    max-width: 250px !important;
}


/* Dashboard notification line reuses the header bell icon. */
html body.authenticated .dashboard-notification-bar {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 8px 0 12px !important;
    padding: 0 14px !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    background: linear-gradient(105deg, #7049f6 0%, #de2cc5 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 9px 20px rgba(92, 48, 180, .2) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

html body.authenticated .dashboard-notification-bar .notification-icon {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    color: #fff !important;
}

html body.authenticated .dashboard-notification-bar .dashboard-notification-arrow {
    margin-left: auto !important;
    font-size: 22px !important;
    line-height: 1 !important;
}


/* Keep one compact notification control in the header. */
html body.authenticated .dashboard-notification-bar {
    display: none !important;
}

html body.authenticated header.topbar .header-tools .notification-bar .notification-icon {
    position: relative !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
    color: currentColor !important;
}

html body.authenticated header.topbar .header-tools .notification-bar .notification-icon::before {
    content: "" !important;
    position: absolute !important;
    top: 3px !important;
    left: 5px !important;
    width: 12px !important;
    height: 13px !important;
    border: 2px solid currentColor !important;
    border-radius: 8px 8px 4px 4px !important;
    background: transparent !important;
    box-sizing: border-box !important;
}

html body.authenticated header.topbar .header-tools .notification-bar .notification-icon::after {
    content: "" !important;
    position: absolute !important;
    left: 3px !important;
    bottom: 3px !important;
    width: 18px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: currentColor !important;
    box-shadow: 8px -1px 0 -7px currentColor !important;
}

/* Restore the standard website footer with contact and support details. */
html body .footer {
    display: block !important;
    margin: 34px auto 0 !important;
    padding: 34px 20px 16px !important;
    background: #102a43 !important;
    color: #dbeafe !important;
    border-top: 4px solid #ec26a9 !important;
}

html body .footer-grid {
    width: min(1120px, 100%) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: minmax(220px, 1.5fr) repeat(3, minmax(140px, 1fr)) !important;
    gap: 28px !important;
}

html body .footer h3 {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: 15px !important;
}

html body .footer p,
html body .footer span,
html body .footer a {
    color: #c7d8ea !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

html body .footer a {
    display: block !important;
    margin: 3px 0 !important;
    text-decoration: none !important;
}

html body .footer a:hover {
    color: #fff !important;
}

html body .footer-bottom {
    width: min(1120px, 100%) !important;
    margin: 26px auto 0 !important;
    padding-top: 14px !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 16px !important;
    border-top: 1px solid rgba(219, 234, 254, .18) !important;
}

@media (max-width: 720px) {
    html body .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px 16px !important;
    }

    html body .footer-grid > div:first-child {
        grid-column: 1 / -1 !important;
    }

    html body .footer-bottom {
        display: block !important;
    }
}


/* Compact My Jobs review workspace */
html body.authenticated .owner-workspace { max-width: 960px; }
html body.authenticated .owner-heading h1 { font-size: clamp(24px, 4vw, 36px); }
html body.authenticated .owner-tabs { gap: 18px; margin-bottom: 14px; }
html body.authenticated .owner-tabs a { min-height: 38px; font-size: 14px; }
html body.authenticated .owner-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
html body.authenticated .owner-stat-grid > div { padding: 14px 10px; border-radius: 12px; }
html body.authenticated .owner-stat-grid strong { font-size: 28px; line-height: 1; }
html body.authenticated .owner-stat-grid span { font-size: 11px; }
html body.authenticated .owner-status-tabs { gap: 8px; margin: 12px 0; }
html body.authenticated .owner-status-tabs a { min-height: 34px; gap: 6px; padding: 0 12px; font-size: 13px; }
html body.authenticated .owner-status-tabs b { min-width: 20px; padding: 1px 5px; font-size: 12px; }
html body.authenticated .owner-submission-search { gap: 8px; margin-bottom: 12px; }
html body.authenticated .owner-submission-search input { min-height: 38px; padding: 0 12px; font-size: 14px; }
html body.authenticated .owner-submission-search .button { min-height: 38px; padding: 0 14px; font-size: 13px; }
html body.authenticated .owner-submission-card { margin-bottom: 10px; padding: 14px; border-radius: 14px; }
html body.authenticated .owner-submission-card .submission-row-head { gap: 8px; margin-bottom: 10px; }
html body.authenticated .owner-submission-card .submission-row-head b { font-size: 15px; }
html body.authenticated .owner-submission-card .submission-row-head small { font-size: 11px; }
html body.authenticated .owner-submission-card .pill { padding: 4px 8px; font-size: 12px; }
html body.authenticated .missing-proof, html body.authenticated .owner-proof-note { padding: 10px; font-size: 13px; }
html body.authenticated .submission-actions { gap: 6px; margin-top: 12px; padding-top: 10px; }
html body.authenticated .submission-actions .button { min-height: 34px; padding: 0 12px; font-size: 13px; }
html body.authenticated .decision-locked { font-size: 12px; }
@media (max-width: 680px) { html body.authenticated .owner-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } html body.authenticated .owner-stat-grid > div { padding: 12px 8px; } html body.authenticated .owner-stat-grid strong { font-size: 24px; } html body.authenticated .owner-status-tabs { flex-wrap: nowrap; overflow-x: auto; } html body.authenticated .owner-status-tabs a { flex: 0 0 auto; } }


/* Centered, narrower job details */
html body.authenticated .job-info-header, html body.authenticated .detail-layout { width: min(780px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
html body.authenticated .job-info-header { text-align: center; }
html body.authenticated .job-info-header .job-info-stack { max-width: 720px; margin-left: auto; margin-right: auto; }
html body.authenticated .job-info-header h1 { font-size: clamp(25px, 4vw, 38px); line-height: 1.18; }
html body.authenticated .job-info-header .job-info-stack p { max-width: 680px; margin-left: auto; margin-right: auto; font-size: 15px; line-height: 1.6; }
html body.authenticated .detail-layout { gap: 16px; }
html body.authenticated .detail-layout > article, html body.authenticated .detail-layout > aside { padding: 18px; }
html body .button.is-selected, html body button.button.is-selected, html body a.button.is-selected { background: #f2c94c !important; border-color: #d5a914 !important; color: #16263d !important; box-shadow: 0 5px 14px rgba(213,169,20,.24) !important; }
html body .button:active, html body button.button:active { transform: translateY(1px); }
html body .button:focus-visible, html body button.button:focus-visible { outline: 2px solid #e8bd32; outline-offset: 2px; }
@media (max-width: 680px) { html body.authenticated .job-info-header, html body.authenticated .detail-layout { width: min(100% - 22px, 620px); } html body.authenticated .job-info-header h1 { font-size: 27px; } html body.authenticated .job-info-header .job-info-stack p { font-size: 14px; } html body.authenticated .detail-layout > article, html body.authenticated .detail-layout > aside { padding: 15px; } }

/* Actual final slide-out drawer override */
html body.authenticated header.topbar .main-nav.drawer-nav.open { width: 180px !important; max-width: 180px !important; }
html body.authenticated header.topbar .main-nav.drawer-nav .drawer-group > a, html body.authenticated header.topbar .main-nav.drawer-nav > .drawer-logout { flex-basis: 38px !important; min-height: 38px !important; height: 38px !important; gap: 4px !important; font-size: 14px !important; font-weight: 400 !important; }
html body.authenticated header.topbar .main-nav.drawer-nav .drawer-icon { flex-basis: 18px !important; width: 18px !important; height: 18px !important; }
html body.authenticated header.topbar .main-nav.drawer-nav .drawer-brand { min-height: 76px !important; padding-top: 10px !important; }
html body.authenticated header.topbar .main-nav.drawer-nav .drawer-avatar { width: 38px !important; height: 38px !important; }
html body.authenticated header.topbar .main-nav.drawer-nav .drawer-avatar svg { width: 19px !important; height: 19px !important; }
html body.authenticated header.topbar .main-nav.drawer-nav .drawer-divider { width: 136px !important; margin: 8px auto 6px !important; }
html body.authenticated header.topbar .main-nav.drawer-nav .drawer-group-divider { margin: 7px 0 !important; }


/* Compact My Jobs summary and status filters */
html body.authenticated .owner-workspace .owner-stat-grid { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 6px !important; margin: 0 0 10px !important; }
html body.authenticated .owner-workspace .owner-stat-grid > div { min-width: 0 !important; padding: 8px 4px !important; border-radius: 10px !important; }
html body.authenticated .owner-workspace .owner-stat-grid strong { font-size: 18px !important; line-height: 1 !important; font-weight: 600 !important; }
html body.authenticated .owner-workspace .owner-stat-grid span { font-size: 10px !important; line-height: 1.2 !important; font-weight: 500 !important; white-space: nowrap !important; }
html body.authenticated .owner-workspace .owner-status-tabs { gap: 4px !important; margin: 8px 0 !important; }
html body.authenticated .owner-workspace .owner-status-tabs a { min-height: 28px !important; gap: 4px !important; padding: 0 8px !important; font-size: 11px !important; font-weight: 600 !important; }
html body.authenticated .owner-workspace .owner-status-tabs b { min-width: 16px !important; padding: 1px 4px !important; font-size: 10px !important; line-height: 1.2 !important; }
@media (max-width: 680px) { html body.authenticated .owner-workspace .owner-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 4px !important; } html body.authenticated .owner-workspace .owner-stat-grid > div { padding: 7px 2px !important; } html body.authenticated .owner-workspace .owner-stat-grid strong { font-size: 16px !important; } html body.authenticated .owner-workspace .owner-stat-grid span { font-size: 9px !important; } }


/* Tighter My Jobs tabs and summary */
html body.authenticated .owner-workspace .owner-heading { margin: 0 0 4px !important; }
html body.authenticated .owner-workspace .owner-tabs { margin: 0 0 4px !important; padding: 0 1px !important; gap: 12px !important; }
html body.authenticated .owner-workspace .owner-tabs a { min-height: 24px !important; font-size: 10px !important; border-bottom-width: 2px !important; }
html body.authenticated .owner-workspace .owner-stat-grid { gap: 4px !important; margin: 0 0 4px !important; }
html body.authenticated .owner-workspace .owner-stat-grid > div { padding: 4px 2px !important; border-radius: 7px !important; }
html body.authenticated .owner-workspace .owner-stat-grid strong { font-size: 13px !important; }
html body.authenticated .owner-workspace .owner-stat-grid span { font-size: 8px !important; }
html body.authenticated .owner-workspace .owner-status-tabs { gap: 3px !important; margin: 5px 0 !important; }
html body.authenticated .owner-workspace .owner-status-tabs a { min-height: 22px !important; gap: 3px !important; padding: 0 5px !important; font-size: 9px !important; }
html body.authenticated .owner-workspace .owner-status-tabs b { min-width: 13px !important; padding: 0 3px !important; font-size: 8px !important; }
@media (max-width: 680px) { html body.authenticated .owner-workspace .owner-tabs { gap: 8px !important; } html body.authenticated .owner-workspace .owner-tabs a { font-size: 9px !important; } html body.authenticated .owner-workspace .owner-stat-grid strong { font-size: 12px !important; } html body.authenticated .owner-workspace .owner-stat-grid span { font-size: 7px !important; } }


/* Final compact status filter controls */
html body.authenticated .owner-workspace .owner-status-tabs a { height: 20px !important; min-height: 20px !important; line-height: 1 !important; box-sizing: border-box !important; }
html body.authenticated .owner-workspace .owner-status-tabs b { height: 13px !important; min-height: 13px !important; line-height: 13px !important; box-sizing: border-box !important; }


/* Extra-small My Jobs summary boxes */
html body.authenticated .owner-workspace .owner-stat-grid { gap: 2px !important; margin-bottom: 3px !important; }
html body.authenticated .owner-workspace .owner-stat-grid > div { min-height: 0 !important; padding: 2px 1px !important; border-radius: 5px !important; }
html body.authenticated .owner-workspace .owner-stat-grid strong { font-size: 10px !important; line-height: 1 !important; }
html body.authenticated .owner-workspace .owner-stat-grid span { font-size: 6px !important; line-height: 1 !important; }
@media (max-width: 680px) { html body.authenticated .owner-workspace .owner-stat-grid { gap: 2px !important; } html body.authenticated .owner-workspace .owner-stat-grid strong { font-size: 9px !important; } html body.authenticated .owner-workspace .owner-stat-grid span { font-size: 6px !important; } }


/* Larger, separated landing actions */
html body.guest .hero .actions { gap: 16px !important; }
html body.guest .hero .actions .button { min-height: 52px !important; padding: 0 26px !important; font-size: 16px !important; font-weight: 600 !important; }
@media (max-width: 680px) { html body.guest .hero .actions { gap: 12px !important; } html body.guest .hero .actions .button { min-height: 50px !important; padding: 0 22px !important; font-size: 15px !important; } }


/* Calm green landing actions */
html body.guest .hero .actions { justify-content: center !important; gap: 20px !important; }
html body.guest .hero .actions .button:first-child { transform: translateX(-4px); background: #5d8069 !important; background-image: none !important; border-color: #5d8069 !important; color: #fff !important; box-shadow: 0 6px 14px rgba(64, 103, 78, .16) !important; }
html body.guest .hero .actions .button:nth-child(2) { transform: translateX(4px); background: #e5f1e8 !important; background-image: none !important; border-color: #b9d6c0 !important; color: #41654b !important; box-shadow: 0 6px 14px rgba(64, 103, 78, .10) !important; }
html body.guest .hero .actions .button:first-child:hover { background: #4f725c !important; }
html body.guest .hero .actions .button:nth-child(2):hover { background: #d5e9da !important; }


/* Deposit method selector */
.deposit-method-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 720px; margin: 0 auto 14px; }
.deposit-method-card { appearance: none; border: 1px solid #d7e3d9; border-radius: 16px; background: #f8fbf8; color: #274c34; padding: 14px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: left; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.deposit-method-card:hover { transform: translateY(-1px); border-color: #8bb59a; }
.deposit-method-card.active { border-color: #4f8761; background: #eaf5ed; box-shadow: 0 8px 18px rgba(47, 97, 60, .12); }
.deposit-method-name { font-size: 17px; font-weight: 750; }
.deposit-method-card small { color: #6b7d70; font-size: 12px; }
.deposit-method-details { display: block; }
.deposit-method-panel { display: none; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.deposit-method-panel.active { display: flex; }
.deposit-method-panel strong { font-size: clamp(22px, 4vw, 32px); letter-spacing: .04em; color: #214e2f; }
.deposit-method-panel small { color: #6b7d70; font-size: 12px; }
@media (max-width: 560px) { .deposit-method-picker { gap: 8px; } .deposit-method-card { padding: 12px 14px; border-radius: 13px; } }


/* Deposit method buttons and copy controls */
.deposit-method-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 560px; margin: 0 auto 14px; }
.deposit-method-tab { appearance: none; border: 1px solid #d3e1d6; border-radius: 12px; background: #f8fbf8; color: #31583b; min-height: 44px; padding: 10px 16px; font-size: 15px; font-weight: 750; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.deposit-method-tab:hover { transform: translateY(-1px); border-color: #83ad90; }
.deposit-method-tab.active { background: #4f8060; border-color: #4f8060; color: #fff; }
.deposit-method-details { display: block; }
.deposit-method-panel { display: none; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.deposit-method-panel.active { display: flex; }
.deposit-number-row { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; }
.deposit-number-row strong { font-size: clamp(21px, 4vw, 31px); letter-spacing: .04em; color: #214e2f; }
.copy-deposit-number { appearance: none; border: 1px solid #a9cbb1; border-radius: 8px; background: #edf7ef; color: #356443; padding: 6px 10px; font-size: 12px; font-weight: 700; cursor: pointer; }
.copy-deposit-number:hover { background: #dcefe0; }
.deposit-method-panel small { color: #6b7d70; font-size: 12px; }
@media (max-width: 560px) { .deposit-method-tabs { gap: 8px; } .deposit-method-tab { min-height: 42px; padding: 9px 12px; } .deposit-number-row strong { font-size: 21px; } }


/* Final balance strip visibility fix */
html body.authenticated main section.account-strip { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; }
html body.authenticated main section.account-strip > div { min-width: 0 !important; justify-content: center !important; gap: 5px !important; overflow: hidden !important; }
html body.authenticated main section.account-strip > div::after { content: none !important; display: none !important; }
html body.authenticated main section.account-strip > div span { min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
html body.authenticated main section.account-strip > div strong { flex: 0 0 auto !important; }


/* My Jobs status corner */
html body.authenticated .my-job-card { position: relative !important; }
html body.authenticated .my-job-card .my-job-status { position: absolute !important; top: 10px !important; right: 10px !important; z-index: 3 !important; margin: 0 !important; }
html body.authenticated .my-job-card .job-card-link > h2 { padding-right: 76px !important; }
@media (max-width: 560px) { html body.authenticated .my-job-card .my-job-status { top: 8px !important; right: 8px !important; } }


/* My Jobs status visibility fallback */
.my-job-card { position: relative !important; }
.my-job-card .my-job-status { display: inline-flex !important; align-items: center !important; position: absolute !important; top: 10px !important; right: 10px !important; z-index: 9999 !important; margin: 0 !important; padding: 5px 9px !important; border-radius: 999px !important; background: #e8f0ff !important; border: 1px solid #9db9ff !important; color: #123b8f !important; font-size: 12px !important; font-weight: 800 !important; line-height: 1 !important; opacity: 1 !important; visibility: visible !important; pointer-events: none !important; }
.my-job-card .job-card-link > h2 { padding-right: 88px !important; }


/* My Jobs status colors */
.my-job-card .my-job-status.status-active { background: #dcfce7 !important; border-color: #86efac !important; color: #166534 !important; }
.my-job-card .my-job-status.status-pending { background: #fef3c7 !important; border-color: #fbbf24 !important; color: #92400e !important; }
.my-job-card .my-job-status.status-rejected { background: #fee2e2 !important; border-color: #fca5a5 !important; color: #991b1b !important; }


/* Home category and subcategory filters */
.home-job-filter { margin-bottom: 18px !important; }
.home-category-filter { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto !important; align-items: end !important; gap: 12px !important; }
.home-category-filter label { display: grid !important; gap: 6px !important; color: #18213d !important; font-weight: 700 !important; }
.home-category-filter select { width: 100% !important; min-height: 44px !important; padding: 0 12px !important; border: 1px solid #cfd8ea !important; border-radius: 10px !important; background: #fff !important; color: #18213d !important; font: inherit !important; }
.home-category-filter select:disabled { background: #f2f4f8 !important; color: #7b8498 !important; cursor: not-allowed !important; }
.home-category-filter .button { min-height: 44px !important; white-space: nowrap !important; }
@media (max-width: 760px) { .home-category-filter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; } .home-category-filter .button { width: 100% !important; } }
@media (max-width: 520px) { .home-category-filter { grid-template-columns: 1fr !important; gap: 10px !important; } }


/* Home category compact controls */
.home-job-filter { padding: 8px 10px !important; margin-bottom: 10px !important; }
.home-category-filter { display: flex !important; justify-content: flex-end !important; align-items: center !important; gap: 6px !important; }
.home-category-filter label { display: flex !important; align-items: center !important; gap: 4px !important; color: #18213d !important; font-size: 12px !important; font-weight: 700 !important; }
.home-category-filter select { width: auto !important; min-width: 112px !important; height: 30px !important; min-height: 30px !important; padding: 0 7px !important; border-radius: 7px !important; font-size: 12px !important; }
.home-category-filter label:first-of-type select { min-width: 128px !important; }
@media (max-width: 560px) { .home-category-filter { justify-content: stretch !important; gap: 5px !important; } .home-category-filter label { flex: 1 1 0 !important; min-width: 0 !important; } .home-category-filter select, .home-category-filter label:first-of-type select { width: 100% !important; min-width: 0 !important; } }


/* Today gift and ads page */
.today-gift-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 12px !important; }
.today-gift-card { padding: 12px !important; min-width: 0 !important; }
.today-gift-card-head { display: flex !important; flex-direction: column !important; gap: 4px !important; margin-bottom: 10px !important; }
.today-gift-card-head span { color: #6f7895 !important; font-size: 11px !important; font-weight: 700 !important; text-transform: uppercase !important; }
.today-gift-card-head strong { color: #18213d !important; font-size: 15px !important; }
.today-gift-ad-slot { display: flex !important; align-items: center !important; justify-content: center !important; min-height: 62px !important; margin-bottom: 10px !important; overflow: hidden !important; border: 1px solid #e4e1ee !important; border-radius: 10px !important; background: #fbfbfe !important; }
.today-gift-ad-slot iframe { max-width: 100% !important; border: 0 !important; }
.today-gift-card form, .today-gift-claim, .today-gift-disabled { width: 100% !important; }
.today-gift-claim, .today-gift-disabled, .today-gift-claimed { min-height: 34px !important; padding: 7px 9px !important; border-radius: 8px !important; font-size: 12px !important; text-align: center !important; }
.today-gift-disabled { color: #7b8498 !important; background: #f0f2f6 !important; border: 1px solid #d9deea !important; cursor: not-allowed !important; }
.today-gift-claimed { color: #166534 !important; background: #dcfce7 !important; border: 1px solid #86efac !important; font-weight: 800 !important; }
@media (max-width: 780px) { .today-gift-grid { grid-template-columns: 1fr !important; } .today-gift-card { padding: 11px !important; } }

.today-gift-watch-head { max-width: 760px !important; }
.today-gift-watch-card { max-width: 760px !important; margin: 0 auto !important; padding: 18px !important; }
.today-gift-watch-card .today-gift-ad-slot { min-height: 280px !important; margin: 0 auto 16px !important; background: #fff !important; }
.today-gift-watch-card .today-gift-ad-slot > div { max-width: 100% !important; }
.today-gift-ad-intro { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; margin-bottom: 16px !important; color: #6f7895 !important; }
.today-gift-ad-intro strong { color: #18213d !important; font-size: 18px !important; }
.today-gift-countdown { margin: 0 0 14px !important; color: #59647e !important; font-weight: 700 !important; text-align: center !important; }
.today-gift-watch-card form { display: flex !important; justify-content: center !important; }
.today-gift-watch-card form .button { min-width: 190px !important; }
@media (max-width: 600px) { .today-gift-watch-card { padding: 12px !important; } .today-gift-ad-intro { align-items: flex-start !important; flex-direction: column !important; } .today-gift-watch-card .today-gift-ad-slot { min-height: 240px !important; } }
