body.qm-public,
body.qm-public input,
body.qm-public select,
body.qm-public textarea,
body.qm-public button {
    font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
    line-height: 1.45;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe,
table {
    max-width: 100%;
}

.table {
    width: 100%;
}

.table-wrap,
.card:has(> table),
.workers-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.brand,
.nav-links a,
.btn,
.salary,
.salary-hero,
.badge,
.quick-tags a,
.chip {
    font-weight: 700;
}

.site-nav {
    max-width: 1220px;
    gap: 24px;
}

.brand {
    min-width: 160px;
    line-height: 1.12;
}

.nav-links {
    gap: 14px;
}

.nav-links a,
.login-btn,
.employer-btn {
    white-space: nowrap;
    word-break: keep-all;
    line-height: 1.25;
}

.quick-apply .search-row {
    grid-template-columns: 1fr 1fr;
}

.quick-apply .btn {
    min-height: 48px;
}

.hero-search input,
.hero-search select,
.quick-apply input,
.quick-apply select {
    min-width: 0;
    font-size: 15px;
}

.login-suggest {
    padding: 20px;
}

.salary-hero {
    font-size: 21px;
}

@media (max-width: 900px) {
    .nav-links a,
    .login-btn,
    .employer-btn {
        white-space: normal;
    }

    .quick-apply .search-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .site-header {
        position: static;
    }

    .site-nav {
        display: block;
        padding: 10px 12px;
    }

    .brand {
        display: block;
        min-width: 0;
        margin-bottom: 10px;
        font-size: 22px;
    }

    .brand small {
        font-size: 11px;
    }

    .nav-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    .nav-links a,
    .login-btn,
    .employer-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 9px 8px;
        border: 1px solid #d8e5df;
        border-radius: 6px;
        background: #fff;
        color: #17324d;
        text-align: center;
        white-space: normal;
        font-size: 13px;
    }

    .login-btn {
        background: #00a878;
        color: #fff !important;
        border-color: #00a878;
    }

    .employer-btn {
        color: #00a878 !important;
        border-color: #00a878;
    }

    .hero.big .hero-inner {
        min-height: auto;
        padding: 26px 12px;
    }

    .hero h1 {
        font-size: 30px;
        line-height: 1.18;
    }

    .salary-hero {
        font-size: 17px;
        padding: 9px 10px;
    }

    .hero-search,
    .quick-apply,
    .login-suggest,
    .card,
    .stat {
        padding: 14px;
    }

    .section {
        padding: 22px 12px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .job-list .job-card {
        grid-template-columns: 64px 1fr;
        gap: 10px;
    }

    .job-logo {
        width: 64px;
        height: 64px;
    }

    .job-list .job-card .btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .float-contact {
        left: 10px;
        right: 10px;
        bottom: 10px;
        grid-template-columns: 1fr 1fr;
    }

    .float-contact a {
        padding: 10px 8px;
        font-size: 13px;
    }
}
