@media (max-width: 767px) {
    .page-shell .toolbar {
        width: 100%;
        align-items: stretch !important;
        gap: 14px !important;
    }

    #job-filters {
        width: 100%;
        overflow-x: auto;
        flex-wrap: nowrap !important;
        padding-bottom: 5px;
        scrollbar-width: none;
    }

    #job-filters::-webkit-scrollbar { display: none; }
    #job-filters .filter-btn {
        flex: 0 0 auto;
        min-width: max-content;
        height: 40px !important;
        white-space: nowrap;
    }

    .summary-meta { font-size: 13px; }
    .jobs-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        margin-top: 22px !important;
    }

    .job-card {
        width: 100%;
        min-width: 0;
        min-height: 0 !important;
        padding: 18px !important;
        text-align: left;
    }

    .job-top { align-items: flex-start; }
    .job-company,
    .job-title,
    .job-desc {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .job-company { min-width: 0; line-height: 1.5; }
    .job-top .badge { flex: 0 0 auto; max-width: 45%; height: auto; min-height: 24px; white-space: normal; text-align: center; }
    .job-title { font-size: 18px; line-height: 1.45; }
    .job-meta { gap: 6px; }
    .job-meta-item {
        max-width: 100%;
        height: auto;
        min-height: 28px;
        padding: 5px 9px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .job-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
    .job-footer { margin-top: 16px !important; padding-top: 14px !important; }
    .job-card .detail-link {
        display: inline-flex !important;
        width: 100% !important;
        min-height: 40px !important;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 4px !important;
        background: #111214 !important;
    }

    #jobModal .modal-head > div { min-width: 0; }
    #jobModal .modal-title { overflow-wrap: anywhere; word-break: break-word; }
    #jobModal .modal-item-value,
    #jobModal .modal-section-content { overflow-wrap: anywhere; word-break: break-word; }
}
