:root {
    --qjob-blue: #1b8af3;
    --qjob-blue-dark: #0b5cad;
    --qjob-green: #12b76a;
    --qjob-green-dark: #047857;
    --qjob-orange: #f59e0b;
    --qjob-red: #dc2626;
    --qjob-ink: #101828;
    --qjob-text: #344054;
    --qjob-muted: #667085;
    --qjob-border: #e4eaf2;
    --qjob-bg: #f5f8fc;
    --qjob-card: #ffffff;
}

* { box-sizing: border-box; }

html { background: var(--qjob-bg); }

body.qjob-recruiter-body {
    margin: 0;
    min-height: 100vh;
    direction: rtl;
    color: var(--qjob-text);
    background:
        radial-gradient(circle at 8% 8%, rgba(27,138,243,.10), transparent 28%),
        radial-gradient(circle at 92% 15%, rgba(18,183,106,.08), transparent 30%),
        linear-gradient(180deg, #f9fbfe 0%, #f3f7fb 100%);
    font-family: "Assistant", Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }

.qjob-auth-shell {
    width: min(100%, 560px);
    margin: 0 auto;
    padding: 7vh 18px 36px;
}

.qjob-auth-card {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(27,138,243,.14);
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 28px 70px rgba(16,24,40,.11);
}

.qjob-auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 42px;
    left: 42px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--qjob-orange), var(--qjob-blue), var(--qjob-green));
}

.qjob-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--qjob-ink);
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
}

.qjob-brand img { object-fit: contain; }

.qjob-auth-copy { margin-top: 30px; }
.qjob-auth-copy.compact { margin-top: 26px; }

.qjob-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(27,138,243,.17);
    border-radius: 999px;
    background: #eff8ff;
    color: #1d4ed8;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
}

.qjob-auth-copy h1,
.qjob-dashboard-header h1 {
    margin: 13px 0 8px;
    color: var(--qjob-ink);
    font-weight: 900;
    letter-spacing: -.2px;
}

.qjob-auth-copy h1 { font-size: 30px; line-height: 1.25; }
.qjob-auth-copy p {
    margin: 0;
    color: var(--qjob-muted);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 650;
}

.qjob-alert {
    margin: 20px 0 0;
    padding: 13px 15px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 800;
}
.qjob-alert.success { color: #067647; background: #ecfdf3; border-color: #abefc6; }
.qjob-alert.error { color: #b42318; background: #fef3f2; border-color: #fecdca; }
.qjob-alert.info { color: #175cd3; background: #eff8ff; border-color: #b2ddff; }

.qjob-auth-form { margin-top: 22px; }

.qjob-channel-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
    padding: 5px;
    border-radius: 16px;
    background: #f2f4f7;
}
.qjob-channel-option { margin: 0; cursor: pointer; }
.qjob-channel-option input { position: absolute; opacity: 0; pointer-events: none; }
.qjob-channel-option span {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 12px;
    color: var(--qjob-muted);
    font-size: 14px;
    font-weight: 900;
    transition: .15s ease;
}
.qjob-channel-option input:checked + span {
    background: #fff;
    color: #175cd3;
    box-shadow: 0 4px 12px rgba(16,24,40,.08);
}

.qjob-field-label,
.qjob-field > span {
    display: block;
    margin: 0 0 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}

.qjob-input,
.qjob-search-box input,
.qjob-search-form select,
.qjob-field input,
.qjob-field select,
.qjob-field textarea {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 13px;
    background: #fff;
    color: var(--qjob-ink);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.qjob-input { min-height: 50px; padding: 11px 14px; font-size: 16px; }
.qjob-input:focus,
.qjob-search-box input:focus,
.qjob-search-form select:focus,
.qjob-field input:focus,
.qjob-field select:focus,
.qjob-field textarea:focus {
    border-color: rgba(27,138,243,.75);
    box-shadow: 0 0 0 4px rgba(27,138,243,.10);
}

.qjob-otp-input {
    direction: ltr;
    text-align: center;
    letter-spacing: 8px;
    font-size: 24px;
    font-weight: 900;
}

.qjob-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 900;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.qjob-btn:hover { transform: translateY(-1px); }
.qjob-btn.wide { width: 100%; margin-top: 14px; min-height: 50px; }
.qjob-btn.primary { color: #fff; background: linear-gradient(135deg, #1b8af3, #075faf); box-shadow: 0 10px 24px rgba(27,138,243,.20); }
.qjob-btn.success { color: #fff; background: linear-gradient(135deg, #12b76a, #07854c); box-shadow: 0 10px 24px rgba(18,183,106,.18); }
.qjob-btn.light { color: #344054; background: #fff; border-color: #d0d5dd; box-shadow: 0 5px 14px rgba(16,24,40,.05); }
.qjob-btn.danger { color: #fff; background: linear-gradient(135deg, #ef4444, #b42318); }

.qjob-auth-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    padding: 12px 13px;
    border-radius: 13px;
    background: #f8fafc;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.55;
    font-weight: 750;
}
.qjob-auth-note i { color: var(--qjob-blue); margin-top: 2px; }

.qjob-inline-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #98a2b3;
}
.qjob-inline-actions form { margin: 0; }
.qjob-link-btn {
    padding: 0;
    border: 0;
    background: transparent;
    color: #175cd3;
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
}

.qjob-auth-footer {
    margin: 18px 0 0;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}
.qjob-auth-footer a { color: #475467; text-decoration: none; }

/* Dashboard */
.qjob-dashboard-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 40px;
}

.qjob-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border: 1px solid rgba(27,138,243,.14);
    border-radius: 24px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 36px rgba(16,24,40,.07);
}
.qjob-dashboard-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 18px;
}
.qjob-dashboard-brand img { display: block; object-fit: contain; }
.qjob-dashboard-header h1 { margin: 7px 0 3px; font-size: 25px; line-height: 1.2; }
.qjob-dashboard-header p { margin: 0; color: var(--qjob-muted); font-size: 13px; font-weight: 750; }
.qjob-header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.qjob-dashboard-shell > .qjob-alert { margin: 16px 0 0; }

.qjob-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
    margin: 16px 0;
}
.qjob-stat-card {
    position: relative;
    min-height: 112px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 13px;
    padding: 17px;
    border: 1px solid var(--qjob-border);
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(16,24,40,.05);
}
.qjob-stat-icon {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 19px;
}
.qjob-stat-value { align-self: end; color: var(--qjob-ink); font-size: 26px; line-height: 1; font-weight: 900; }
.qjob-stat-label { align-self: start; color: var(--qjob-muted); font-size: 12.5px; line-height: 1.3; font-weight: 850; }
.qjob-stat-card.active .qjob-stat-icon { color: #067647; background: #ecfdf3; }
.qjob-stat-card.expiring .qjob-stat-icon { color: #b54708; background: #fffaeb; }
.qjob-stat-card.expired .qjob-stat-icon { color: #c4320a; background: #fff4ed; }
.qjob-stat-card.removed .qjob-stat-icon { color: #b42318; background: #fef3f2; }

.qjob-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid var(--qjob-border);
    border-radius: 18px;
    background: rgba(255,255,255,.93);
}
.qjob-search-form { min-width: 0; flex: 1; display: grid; grid-template-columns: minmax(240px,1fr) 160px auto auto; gap: 8px; }
.qjob-search-box { position: relative; min-width: 0; }
.qjob-search-box i { position: absolute; top: 50%; right: 13px; transform: translateY(-50%); color: #98a2b3; }
.qjob-search-box input { min-height: 42px; padding: 9px 38px 9px 12px; }
.qjob-search-form select { min-height: 42px; padding: 8px 10px; }
.qjob-toolbar-count { flex: 0 0 auto; color: #667085; font-size: 13px; font-weight: 800; }
.qjob-toolbar-count strong { color: var(--qjob-ink); }

.qjob-jobs-list { display: grid; gap: 12px; }
.qjob-job-card {
    overflow: hidden;
    border: 1px solid var(--qjob-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16,24,40,.055);
}
.qjob-job-card-main { padding: 18px 19px 14px; }
.qjob-job-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qjob-job-title-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qjob-job-id { color: #98a2b3; font-size: 12px; font-weight: 850; }
.qjob-status-badge,
.qjob-match-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}
.qjob-status-badge.active { color: #067647; background: #ecfdf3; border: 1px solid #abefc6; }
.qjob-status-badge.expiring { color: #b54708; background: #fffaeb; border: 1px solid #fedf89; }
.qjob-status-badge.expired { color: #c4320a; background: #fff4ed; border: 1px solid #f9dbaf; }
.qjob-status-badge.removed { color: #b42318; background: #fef3f2; border: 1px solid #fecdca; }
.qjob-match-badge { color: #175cd3; background: #eff8ff; border: 1px solid #b2ddff; }

.qjob-job-title {
    margin: 11px 0 10px;
    color: var(--qjob-ink);
    font-size: 20px;
    line-height: 1.38;
    font-weight: 900;
}
.qjob-job-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.qjob-job-meta > span {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 31px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #eaecf0;
    color: #475467;
    font-size: 12.5px;
    line-height: 1.25;
    font-weight: 800;
}
.qjob-job-meta > span i { color: var(--qjob-blue); }

.qjob-job-actions {
    display: flex;
    align-items: stretch;
    gap: 7px;
    flex-wrap: wrap;
    padding: 11px 13px 13px;
    border-top: 1px solid #eef2f6;
    background: #fbfcfe;
}
.qjob-inline-form { margin: 0; display: flex; }
.qjob-action-details { margin: 0; position: relative; }
.qjob-action-details > summary { list-style: none; }
.qjob-action-details > summary::-webkit-details-marker { display: none; }
.qjob-action-btn {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    background: #fff;
    color: #344054;
    cursor: pointer;
    text-decoration: none !important;
    font-size: 12.5px;
    font-weight: 900;
}
.qjob-action-btn.view { color: #175cd3; border-color: #b2ddff; background: #eff8ff; }
.qjob-action-btn.matches { color: #6941c6; border-color: #d9d6fe; background: #f4f3ff; }
.qjob-action-btn.edit { color: #175cd3; }
.qjob-action-btn.bump { color: #067647; border-color: #abefc6; background: #ecfdf3; }
.qjob-action-btn.remove { color: #b42318; border-color: #fecdca; background: #fef3f2; }
.qjob-action-btn:disabled { opacity: .5; cursor: not-allowed; filter: grayscale(.2); }
.qjob-action-details[open] > summary { box-shadow: 0 0 0 3px rgba(27,138,243,.08); }

.qjob-details-panel {
    width: min(900px, calc(100vw - 56px));
    margin-top: 8px;
    padding: 16px;
    border: 1px solid #dfe6ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(16,24,40,.12);
}
.qjob-action-details.matches .qjob-details-panel { width: min(620px, calc(100vw - 56px)); }
.qjob-details-panel h3 { margin: 0 0 7px; color: var(--qjob-ink); font-size: 16px; font-weight: 900; }
.qjob-details-panel p { margin: 0; color: var(--qjob-muted); font-size: 13px; line-height: 1.6; font-weight: 650; }
.qjob-match-breakdown { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.qjob-match-breakdown span { padding: 7px 10px; border-radius: 999px; color: #4a1fb8; background: #f4f3ff; border: 1px solid #d9d6fe; font-size: 12px; font-weight: 850; }
.qjob-mini-empty { margin-top: 11px; padding: 10px; border-radius: 10px; background: #f8fafc; color: #667085; font-size: 12.5px; font-weight: 800; }

.qjob-form-grid { display: grid; gap: 11px; }
.qjob-form-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.qjob-field { min-width: 0; }
.qjob-field.wide { grid-column: 1 / -1; }
.qjob-field input,
.qjob-field select { min-height: 42px; padding: 8px 10px; }
.qjob-field textarea { min-height: 120px; padding: 10px 11px; resize: vertical; line-height: 1.55; }
.qjob-field small { display: block; margin-top: 5px; color: #98a2b3; font-size: 11px; line-height: 1.4; font-weight: 700; }
.qjob-form-warning { display: flex; align-items: flex-start; gap: 7px; margin: 12px 0; padding: 9px 11px; border-radius: 11px; background: #fffaeb; color: #93370d; font-size: 12px; line-height: 1.5; font-weight: 750; }

.qjob-danger-panel { border-color: #fecdca; background: #fffafa; }
.qjob-danger-panel p { margin-bottom: 12px; }

.qjob-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 17px;
    padding: 12px;
    color: #667085;
    font-size: 13px;
    font-weight: 850;
}
.qjob-pagination a { min-height: 36px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #d0d5dd; border-radius: 10px; background: #fff; color: #344054; text-decoration: none; }

.qjob-empty-state {
    padding: 56px 20px;
    border: 1px dashed #b2ddff;
    border-radius: 22px;
    background: rgba(255,255,255,.8);
    text-align: center;
}
.qjob-empty-icon { width: 64px; height: 64px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; border-radius: 20px; color: #175cd3; background: #eff8ff; font-size: 26px; }
.qjob-empty-state h2 { margin: 0 0 7px; color: var(--qjob-ink); font-size: 22px; font-weight: 900; }
.qjob-empty-state p { margin: 0 0 17px; color: var(--qjob-muted); font-size: 14px; font-weight: 700; }

.qjob-dashboard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 24px;
    padding: 16px 4px 0;
    border-top: 1px solid rgba(16,24,40,.08);
    color: #98a2b3;
    font-size: 12.5px;
    font-weight: 800;
}
.qjob-dashboard-footer a { color: #175cd3; text-decoration: none; }

@media (min-width: 769px) {
    .qjob-action-details[open] {
        flex: 1 0 100%;
        width: 100%;
    }
    .qjob-action-details[open] > summary {
        width: fit-content;
    }
    .qjob-action-details[open] .qjob-details-panel {
        width: 100%;
        box-shadow: 0 8px 24px rgba(16,24,40,.07);
    }
}

@media (max-width: 980px) {
    .qjob-stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .qjob-dashboard-header { align-items: flex-start; flex-direction: column; }
    .qjob-header-actions { width: 100%; justify-content: flex-start; }
    .qjob-search-form { grid-template-columns: minmax(200px,1fr) 150px auto; }
    .qjob-search-form > .qjob-btn.light { grid-column: auto; }
    .qjob-toolbar { align-items: stretch; flex-direction: column; }
    .qjob-toolbar-count { padding: 0 2px; }
}

@media (max-width: 768px) {
    .qjob-auth-shell { padding-top: 22px; }
    .qjob-auth-card { padding: 26px 18px; border-radius: 22px; }
    .qjob-auth-card::before { right: 22px; left: 22px; }
    .qjob-auth-copy h1 { font-size: 25px; }
    .qjob-auth-copy p { font-size: 14.5px; }

    .qjob-dashboard-shell { width: min(100% - 20px, 1240px); padding-top: 10px; }
    .qjob-dashboard-header { padding: 15px; border-radius: 18px; }
    .qjob-dashboard-brand { width: 100%; gap: 11px; align-items: flex-start; }
    .qjob-dashboard-brand img { width: 82px; height: auto; }
    .qjob-dashboard-header h1 { font-size: 21px; }
    .qjob-dashboard-header p { line-height: 1.45; }
    .qjob-header-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; }
    .qjob-header-actions .qjob-btn { padding-inline: 8px; }

    .qjob-stats-grid { gap: 8px; }
    .qjob-stat-card { min-height: 94px; padding: 12px; border-radius: 15px; column-gap: 9px; }
    .qjob-stat-icon { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
    .qjob-stat-value { font-size: 22px; }
    .qjob-stat-label { font-size: 11.5px; }

    .qjob-toolbar { padding: 9px; border-radius: 15px; }
    .qjob-search-form { grid-template-columns: 1fr 1fr; }
    .qjob-search-box { grid-column: 1 / -1; }
    .qjob-search-form select { min-width: 0; }

    .qjob-job-card { border-radius: 17px; }
    .qjob-job-card-main { padding: 15px 14px 12px; }
    .qjob-job-topline { align-items: flex-start; }
    .qjob-job-title { font-size: 17px; margin-top: 9px; }
    .qjob-job-meta { gap: 5px; }
    .qjob-job-meta > span { font-size: 11.5px; }
    .qjob-job-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; padding: 9px; }
    .qjob-job-actions > *, .qjob-inline-form { min-width: 0; width: 100%; }
    .qjob-action-btn { width: 100%; padding: 7px 6px; font-size: 11.5px; }
    .qjob-details-panel,
    .qjob-action-details.matches .qjob-details-panel { width: 100%; margin-top: 7px; padding: 13px; box-shadow: none; }
    .qjob-action-details[open] { grid-column: 1 / -1; }
    .qjob-action-details[open] > summary { width: calc((100% - 12px) / 3); }
    .qjob-form-grid.two { grid-template-columns: 1fr; }
    .qjob-field.wide { grid-column: auto; }
    .qjob-dashboard-footer { padding-inline: 2px; }
}

@media (max-width: 460px) {
    .qjob-brand img { width: 96px; height: auto; }
    .qjob-brand span { font-size: 14px; }
    .qjob-channel-tabs { gap: 5px; }
    .qjob-channel-option span { font-size: 13px; }
    .qjob-header-actions { grid-template-columns: 1fr 1fr; }
    .qjob-header-actions .qjob-btn.success { grid-column: 1 / -1; }
    .qjob-job-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .qjob-action-details[open] > summary { width: calc((100% - 6px) / 2); }
    .qjob-job-topline { gap: 7px; }
    .qjob-match-badge { font-size: 11px; padding-inline: 8px; }
}

/* =========================================================
   Recruiters V1.2 - richer job cards + standalone editor
   ========================================================= */
.qjob-job-title a {
    color: inherit;
    text-decoration: none;
}
.qjob-job-title a:hover { color: var(--qjob-blue-dark); }

.qjob-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #f5f9ff;
    color: #175cd3;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}
.qjob-match-badge.has-matches {
    color: #067647;
    background: #ecfdf3;
    border-color: #abefc6;
    box-shadow: 0 5px 14px rgba(18,183,106,.08);
}
.qjob-match-badge.no-matches {
    color: #667085;
    background: #f8fafc;
    border-color: #e4e7ec;
}

.qjob-job-skills {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 9px;
    margin-top: 12px;
    padding: 11px 12px;
    border: 1px solid #e9edf3;
    border-radius: 14px;
    background: #fbfcfe;
}
.qjob-job-skills > i { margin-top: 7px; color: #6941c6; }
.qjob-job-skills > div { display: flex; flex-wrap: wrap; gap: 6px; }
.qjob-job-skills span {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 9px;
    border: 1px solid #e9d7fe;
    border-radius: 999px;
    background: #f9f5ff;
    color: #6941c6;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 850;
}

.qjob-job-description {
    margin-top: 13px;
    padding: 13px 14px;
    border: 1px solid #e7edf4;
    border-radius: 15px;
    background: #fff;
}
.qjob-description-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #344054;
    font-size: 12.5px;
    font-weight: 900;
}
.qjob-description-label i { color: var(--qjob-blue); }
.qjob-description-text {
    color: #475467;
    font-size: 13.5px;
    line-height: 1.72;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.qjob-read-more {
    margin-top: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #175cd3;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 900;
}
.qjob-read-more i { margin-right: 3px; }

.qjob-job-image {
    width: min(620px, 100%);
    margin-top: 13px;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #f8fafc;
}
.qjob-job-image img {
    width: 100%;
    max-height: 330px;
    display: block;
    object-fit: contain;
    background: #fff;
}

/* Standalone edit page */
.qjob-edit-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
}
.qjob-edit-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.qjob-edit-brand { display: inline-flex; align-items: center; text-decoration: none; }
.qjob-edit-brand img { display: block; object-fit: contain; }
.qjob-edit-top-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.qjob-edit-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px;
    border: 1px solid rgba(27,138,243,.16);
    border-radius: 25px;
    background:
        radial-gradient(circle at 10% 15%, rgba(18,183,106,.10), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
    box-shadow: 0 14px 36px rgba(16,24,40,.07);
}
.qjob-edit-hero::after {
    content: "";
    position: absolute;
    left: -45px;
    top: -65px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(27,138,243,.06);
    pointer-events: none;
}
.qjob-edit-hero > * { position: relative; z-index: 1; }
.qjob-edit-hero h1 {
    margin: 12px 0 6px;
    color: var(--qjob-ink);
    font-size: 31px;
    line-height: 1.2;
    font-weight: 900;
}
.qjob-edit-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--qjob-muted);
    font-size: 15px;
    line-height: 1.65;
    font-weight: 700;
}
.qjob-edit-hero-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qjob-edit-shell > .qjob-alert { margin: 14px 0 0; }

.qjob-edit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 16px;
    align-items: start;
    margin-top: 16px;
}
.qjob-edit-card,
.qjob-side-card {
    border: 1px solid var(--qjob-border);
    background: rgba(255,255,255,.97);
    box-shadow: 0 12px 30px rgba(16,24,40,.055);
}
.qjob-edit-card {
    padding: 22px;
    border-radius: 22px;
}
.qjob-edit-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f6;
}
.qjob-edit-section-head h2 { margin: 0 0 3px; color: var(--qjob-ink); font-size: 21px; font-weight: 900; }
.qjob-edit-section-head p { margin: 0; color: var(--qjob-muted); font-size: 13px; line-height: 1.5; font-weight: 700; }

.qjob-edit-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 15px;
}
.qjob-edit-form-grid .qjob-field > span b { color: #d92d20; }
.qjob-edit-form-grid .qjob-field input,
.qjob-edit-form-grid .qjob-field select { min-height: 47px; padding: 10px 12px; }
.qjob-edit-form-grid .qjob-field textarea { min-height: 220px; padding: 12px 13px; }
.qjob-field-full { grid-column: 1 / -1; }

.qjob-skills-editor {
    padding: 14px;
    border: 1px solid #dbe5ef;
    border-radius: 16px;
    background: #fbfdff;
}
.qjob-skills-help {
    margin-bottom: 10px;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.55;
    font-weight: 700;
}
.qjob-legacy-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-bottom: 11px;
    padding: 9px 10px;
    border: 1px solid #fedf89;
    border-radius: 11px;
    background: #fffaeb;
    color: #93370d;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}
.qjob-selected-skills {
    min-height: 42px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 11px;
    padding: 8px;
    border: 1px dashed #b2ddff;
    border-radius: 12px;
    background: #f7fbff;
}
.qjob-selected-skills.is-empty { color: #98a2b3; font-size: 12px; font-weight: 750; }
.qjob-selected-skill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 29px;
    padding: 5px 7px 5px 5px;
    border: 1px solid #b2ddff;
    border-radius: 999px;
    background: #eff8ff;
    color: #175cd3;
    font-size: 12px;
    font-weight: 900;
}
.qjob-selected-skill.legacy { border-color: #fedf89; background: #fffaeb; color: #93370d; }
.qjob-selected-skill em { font-style: normal; font-size: 9.5px; opacity: .8; }
.qjob-selected-skill button {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
    color: inherit;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
}
.qjob-skills-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px;
    max-height: 390px;
    overflow: auto;
    padding: 2px;
}
.qjob-skill-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 39px;
    padding: 8px 9px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 800;
}
.qjob-skill-item:hover { border-color: #b2ddff; background: #f7fbff; }
.qjob-skill-item.legacy { border-color: #fedf89; background: #fffdf5; }
.qjob-skill-item input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--qjob-blue); }
.qjob-skill-item span { min-width: 0; overflow-wrap: anywhere; }
.qjob-skill-item small { display: block; margin-top: 2px; color: #b54708; font-size: 10px; font-weight: 800; }
.qjob-client-error {
    margin-top: 10px;
    padding: 9px 10px;
    border: 1px solid #fecdca;
    border-radius: 10px;
    background: #fef3f2;
    color: #b42318;
    font-size: 12.5px;
    font-weight: 850;
}

.qjob-edit-submit-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef2f6;
}
.qjob-save-btn { min-width: 170px; }

.qjob-edit-sidebar { display: grid; gap: 12px; position: sticky; top: 14px; }
.qjob-side-card { padding: 16px; border-radius: 18px; }
.qjob-side-card-head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.qjob-side-card-head i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eff8ff;
    color: #175cd3;
}
.qjob-side-card-head h3 { margin: 0; color: var(--qjob-ink); font-size: 15px; font-weight: 900; }
.qjob-side-card p { margin: 0 0 5px; color: #667085; font-size: 12.5px; line-height: 1.55; font-weight: 700; }
.qjob-side-card > strong { color: #344054; overflow-wrap: anywhere; }
.qjob-side-job-title { display: block; margin-bottom: 11px; font-size: 15px; line-height: 1.45; }
.qjob-side-facts { display: grid; gap: 7px; }
.qjob-side-facts span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #475467;
    font-size: 12px;
    font-weight: 800;
}
.qjob-side-facts i { width: 14px; text-align: center; color: var(--qjob-blue); }
.qjob-side-muted { margin-top: 8px !important; color: #98a2b3 !important; }
.qjob-side-tip { border-color: #d1fadf; background: #f6fef9; }
.qjob-side-tip .qjob-side-card-head i { background: #dcfae6; color: #067647; }
.qjob-side-image {
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
}
.qjob-side-image img { width: 100%; max-height: 190px; display: block; object-fit: contain; }
.qjob-edit-not-found { margin-top: 16px; }

@media (max-width: 980px) {
    .qjob-edit-layout { grid-template-columns: 1fr; }
    .qjob-edit-sidebar { position: static; grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 768px) {
    .qjob-edit-shell { width: min(100% - 20px, 1220px); padding-top: 10px; }
    .qjob-edit-topbar { align-items: flex-start; }
    .qjob-edit-brand img { width: 84px; height: auto; }
    .qjob-edit-top-actions .qjob-btn { padding-inline: 10px; }
    .qjob-edit-hero { align-items: flex-start; flex-direction: column; padding: 20px 17px; border-radius: 19px; }
    .qjob-edit-hero h1 { font-size: 24px; }
    .qjob-edit-hero p { font-size: 13.5px; }
    .qjob-edit-card { padding: 15px; border-radius: 18px; }
    .qjob-edit-form-grid { grid-template-columns: 1fr; gap: 12px; }
    .qjob-field-full { grid-column: auto; }
    .qjob-skills-list { grid-template-columns: 1fr; max-height: 430px; }
    .qjob-edit-sidebar { grid-template-columns: 1fr; }
    .qjob-edit-submit-row { display: grid; grid-template-columns: 1fr 1fr; }
    .qjob-edit-submit-row .qjob-save-btn { grid-column: 1 / -1; width: 100%; }
    .qjob-job-description { padding: 11px 12px; }
    .qjob-job-image img { max-height: 250px; }
}

@media (max-width: 460px) {
    .qjob-edit-topbar { gap: 8px; }
    .qjob-edit-top-actions { justify-content: flex-end; }
    .qjob-edit-top-actions .qjob-btn { min-height: 38px; font-size: 12px; }
    .qjob-edit-section-head { flex-direction: column; }
    .qjob-edit-submit-row { grid-template-columns: 1fr; }
    .qjob-edit-submit-row .qjob-save-btn { grid-column: auto; }
    .qjob-job-skills { grid-template-columns: 1fr; }
    .qjob-job-skills > i { display: none; }
}

/* =========================================================
   Recruiters V1.3 - recruiter job details + activity signals
   ========================================================= */
.qjob-job-signals {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}
.qjob-application-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 28px;
    padding: 5px 10px;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    background: #f8fafc;
    color: #667085;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}
.qjob-application-badge.has-applications {
    color: #175cd3;
    background: #eff8ff;
    border-color: #b2ddff;
    box-shadow: 0 5px 14px rgba(27,138,243,.07);
}
.qjob-action-btn.signal {
    cursor: default;
    user-select: none;
}
.qjob-action-btn.signal:hover { transform: none; }
.qjob-action-btn.signal.applications {
    color: #667085;
    border-color: #e4e7ec;
    background: #f8fafc;
}
.qjob-action-btn.signal.applications.has-value {
    color: #175cd3;
    border-color: #b2ddff;
    background: #eff8ff;
}
.qjob-action-btn.signal.matches {
    color: #667085;
    border-color: #e4e7ec;
    background: #f8fafc;
}
.qjob-action-btn.signal.matches.has-value {
    color: #067647;
    border-color: #abefc6;
    background: #ecfdf3;
}

/* Recruiter-owned job details */
.qjob-details-shell {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 44px;
}
.qjob-details-shell > .qjob-alert { margin: 14px 0 0; }
.qjob-details-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 30px;
    border: 1px solid rgba(27,138,243,.16);
    border-radius: 25px;
    background:
        radial-gradient(circle at 10% 15%, rgba(245,158,11,.10), transparent 30%),
        radial-gradient(circle at 90% 10%, rgba(18,183,106,.08), transparent 28%),
        linear-gradient(135deg, #fff 0%, #f4f9ff 100%);
    box-shadow: 0 14px 36px rgba(16,24,40,.07);
}
.qjob-details-hero::after {
    content: "";
    position: absolute;
    left: -55px;
    top: -70px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(27,138,243,.055);
    pointer-events: none;
}
.qjob-details-hero > * { position: relative; z-index: 1; }
.qjob-details-hero h1 {
    margin: 12px 0 6px;
    color: var(--qjob-ink);
    font-size: 31px;
    line-height: 1.2;
    font-weight: 900;
}
.qjob-details-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--qjob-muted);
    font-size: 15px;
    line-height: 1.65;
    font-weight: 700;
}
.qjob-details-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.qjob-anchor-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0;
}
.qjob-anchor-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 39px;
    padding: 8px 13px;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    background: #fff;
    color: #344054;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(16,24,40,.04);
    font-size: 12.5px;
    font-weight: 900;
}
.qjob-anchor-tabs a:hover { color: #175cd3; border-color: #b2ddff; }

.qjob-details-job-card {
    display: grid;
    grid-template-columns: minmax(0,1fr) 220px;
    gap: 18px;
    padding: 22px;
    border: 1px solid var(--qjob-border);
    border-radius: 24px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 14px 38px rgba(16,24,40,.07);
}
.qjob-details-job-main { min-width: 0; }
.qjob-details-job-title {
    margin: 12px 0 10px;
    color: var(--qjob-ink);
    font-size: 27px;
    line-height: 1.35;
    font-weight: 900;
}
.qjob-details-meta { margin-top: 8px; }
.qjob-details-skills { margin-top: 14px; }
.qjob-details-description {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #e7edf4;
    border-radius: 16px;
    background: #f8fafc;
}
.qjob-details-description > strong {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: #344054;
    font-size: 13px;
    font-weight: 900;
}
.qjob-details-description > strong i { color: var(--qjob-blue); }
.qjob-details-description > div {
    color: #475467;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.qjob-details-job-image {
    width: min(720px, 100%);
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 17px;
    background: #fff;
}
.qjob-details-job-image img {
    width: 100%;
    max-height: 430px;
    display: block;
    object-fit: contain;
}
.qjob-details-job-side {
    display: grid;
    align-content: start;
    gap: 10px;
}
.qjob-details-stat {
    padding: 16px;
    border: 1px solid #e4e7ec;
    border-radius: 17px;
    background: #f8fafc;
}
.qjob-details-stat strong {
    display: block;
    color: var(--qjob-ink);
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
}
.qjob-details-stat span {
    display: block;
    margin-top: 6px;
    color: #667085;
    font-size: 12.5px;
    font-weight: 850;
}
.qjob-details-stat.applications { border-color: #b2ddff; background: #f5fbff; }
.qjob-details-stat.matches { border-color: #abefc6; background: #f6fef9; }
.qjob-details-not-found { margin-top: 16px; }

.qjob-candidates-section { margin-top: 22px; scroll-margin-top: 15px; }
.qjob-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 11px;
}
.qjob-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #175cd3;
    font-size: 12px;
    font-weight: 900;
}
.qjob-section-head h2 {
    margin: 4px 0 3px;
    color: var(--qjob-ink);
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
}
.qjob-section-head p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 700;
}
.qjob-section-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #b2ddff;
    border-radius: 999px;
    background: #eff8ff;
    color: #175cd3;
    font-size: 12.5px;
    font-weight: 900;
}
.qjob-section-count.matches { color: #067647; background: #ecfdf3; border-color: #abefc6; }

.qjob-candidate-list { display: grid; gap: 10px; }
.qjob-candidate-card {
    display: grid;
    grid-template-columns: 74px minmax(0,1fr) 190px;
    gap: 15px;
    align-items: start;
    padding: 17px;
    border: 1px solid var(--qjob-border);
    border-radius: 20px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 8px 24px rgba(16,24,40,.045);
}
.qjob-candidate-card.matched { border-right: 4px solid rgba(18,183,106,.62); }
.qjob-candidate-avatar {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e4e7ec;
    border-radius: 19px;
    background: #f8fafc;
    color: #98a2b3;
    font-size: 27px;
}
.qjob-candidate-avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.qjob-candidate-main { min-width: 0; }
.qjob-candidate-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.qjob-candidate-title-row h3 {
    margin: 0;
    color: var(--qjob-ink);
    font-size: 19px;
    line-height: 1.35;
    font-weight: 900;
}
.qjob-candidate-title-row h3 small { color: #98a2b3; font-size: 11px; font-weight: 850; }
.qjob-applied-date,
.qjob-match-score {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 29px;
    padding: 5px 9px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #f5f9ff;
    color: #175cd3;
    font-size: 11.5px;
    font-weight: 850;
}
.qjob-match-score { color: #067647; background: #ecfdf3; border-color: #abefc6; }
.qjob-match-score strong { font-size: 14px; }
.qjob-candidate-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.qjob-candidate-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 5px 8px;
    border: 1px solid #eaecf0;
    border-radius: 999px;
    background: #f8fafc;
    color: #667085;
    font-size: 11.5px;
    font-weight: 800;
}
.qjob-candidate-meta i { color: var(--qjob-blue); }
.qjob-candidate-skills { margin-top: 10px; }
.qjob-candidate-skills > strong {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    color: #475467;
    font-size: 11.5px;
    font-weight: 900;
}
.qjob-candidate-skills > div { display: flex; flex-wrap: wrap; gap: 5px; }
.qjob-candidate-skills span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 8px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #f5f9ff;
    color: #175cd3;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
}
.qjob-candidate-skills.matched-skills span {
    color: #067647;
    background: #ecfdf3;
    border-color: #abefc6;
}
.qjob-candidate-summary {
    margin: 9px 0 0;
    color: #667085;
    font-size: 12.5px;
    line-height: 1.65;
    font-weight: 650;
}
.qjob-candidate-summary strong { color: #344054; }
.qjob-candidate-actions { display: grid; gap: 7px; }
.qjob-candidate-btn {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    background: #fff;
    color: #344054;
    text-decoration: none !important;
    font-size: 11.5px;
    font-weight: 900;
    overflow-wrap: anywhere;
}
.qjob-candidate-btn.whatsapp { color: #067647; background: #ecfdf3; border-color: #abefc6; }
.qjob-candidate-btn.resume { color: #fff; background: #344054; border-color: #344054; }
.qjob-candidate-btn.disabled { color: #98a2b3; background: #f8fafc; border-style: dashed; }
.qjob-candidate-empty {
    padding: 34px 20px;
    border: 1px dashed #b2ddff;
    border-radius: 18px;
    background: rgba(255,255,255,.82);
    text-align: center;
    color: #667085;
}
.qjob-candidate-empty i { display: block; margin-bottom: 8px; color: #175cd3; font-size: 28px; }
.qjob-candidate-empty strong { display: block; color: var(--qjob-ink); font-size: 17px; font-weight: 900; }
.qjob-candidate-empty span { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; }

.qjob-details-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.qjob-details-pagination a,
.qjob-page-current,
.qjob-page-gap {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 10px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}
.qjob-page-current { color: #fff; background: #175cd3; border-color: #175cd3; }
.qjob-page-gap { min-width: auto; border-color: transparent; background: transparent; color: #98a2b3; }

@media (max-width: 980px) {
    .qjob-details-job-card { grid-template-columns: 1fr; }
    .qjob-details-job-side { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .qjob-candidate-card { grid-template-columns: 64px minmax(0,1fr); }
    .qjob-candidate-avatar { width: 64px; height: 64px; }
    .qjob-candidate-actions { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 768px) {
    .qjob-details-shell { width: min(100% - 20px, 1240px); padding-top: 10px; }
    .qjob-details-hero { align-items: flex-start; flex-direction: column; padding: 20px 17px; border-radius: 19px; }
    .qjob-details-hero h1 { font-size: 24px; }
    .qjob-details-hero p { font-size: 13.5px; }
    .qjob-details-job-card { padding: 15px; border-radius: 19px; }
    .qjob-details-job-title { font-size: 21px; }
    .qjob-details-job-side { grid-template-columns: 1fr 1fr; }
    .qjob-details-job-side > .qjob-btn { grid-column: 1 / -1; }
    .qjob-section-head { align-items: flex-start; flex-direction: column; }
    .qjob-section-head h2 { font-size: 21px; }
    .qjob-candidate-card { grid-template-columns: 54px minmax(0,1fr); padding: 13px; border-radius: 17px; gap: 11px; }
    .qjob-candidate-avatar { width: 54px; height: 54px; border-radius: 15px; font-size: 21px; }
    .qjob-candidate-title-row { flex-direction: column; gap: 6px; }
    .qjob-candidate-title-row h3 { font-size: 17px; }
    .qjob-candidate-actions { grid-template-columns: 1fr 1fr; }
    .qjob-candidate-actions > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
    .qjob-job-topline { flex-direction: column; align-items: stretch; }
    .qjob-job-signals { justify-content: flex-start; }
    .qjob-application-badge,
    .qjob-match-badge { font-size: 10.5px; padding-inline: 7px; }
    .qjob-anchor-tabs { display: grid; grid-template-columns: 1fr; }
    .qjob-anchor-tabs a { justify-content: center; }
    .qjob-details-job-side { grid-template-columns: 1fr; }
    .qjob-details-job-side > .qjob-btn { grid-column: auto; }
    .qjob-candidate-card { grid-template-columns: 1fr; }
    .qjob-candidate-avatar { width: 58px; height: 58px; }
    .qjob-candidate-actions { grid-column: auto; grid-template-columns: 1fr; }
    .qjob-candidate-actions > :last-child:nth-child(odd) { grid-column: auto; }
}
