.jobs-board, .jobs-dialog {
    --job-panel: #fff;
    --job-purple: #56349b;
    --job-soft: #f0e6ff;
}
.jobs-board { scroll-margin-top: 5rem; }
.jobs-heading, .jobs-actions, .jobs-options, .results-head, .job-top, .job-bottom, .modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
}
.jobs-actions, .jobs-options label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.jobs-actions .button, .jobs-employers .button { font-size: .9rem; }
.jobs-options { font-size: .88rem; margin-bottom: 16px; }
.jobs-options p { margin: 0; }
.jobs-options input { accent-color: var(--teal); }
.main-grid { display: grid; grid-template-columns: minmax(190px, 235px) minmax(0, 1fr); gap: 18px; }
.filters, .job-card, .empty {
    padding: 18px; background: white; border: 1px solid var(--line); border-radius: 15px;
}
.filters { height: fit-content; }
.filters h3, .job-heading h3, .job-heading p { margin: 0; }
.filter-group { margin: .8rem 0; }
.filter-group label, .form-grid label { display: block; margin-bottom: 4px; font-size: .85rem; font-weight: 650; }
.filter-group select, .results-head select, .form-grid :is(input, textarea, select) {
    padding: 8px 10px; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 8px;
}
.filter-group select, .form-grid :is(input, textarea, select) { width: 100%; }
.clear-filters, .details-btn { color: var(--job-purple); padding: 0; background: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.filter-tip { margin-top: 18px; background: #f7f2ff; border-radius: 9px; padding: 12px; font-size: .84rem; }
.filter-tip > span { margin-right: 6px; }
.filter-tip p { margin: 4px 0 0; }
.results-head, .job-bottom, .job-heading p { color: var(--muted); font-size: .86rem; }
.results-head { margin-bottom: 10px; }
.job-list { display: grid; gap: 12px; }
.job-top { justify-content: flex-start; }
.job-heading { flex: 1; }
.company-icon, .tag { border-radius: 8px; font-weight: 700; background: #f0e6ff; color: #56349b; padding: 7px 12px; }
.tag { font-size: .75rem; }
.tag.demo { background: #fff0d0; color: #885800; }
.job-meta, .details-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.job-meta .meta, .details-meta .meta { padding: 3px 8px; border: 1px solid var(--line); border-radius: 7px; }
.job-summary, .job-heading, .detail-contact { overflow-wrap: anywhere; }
.job-bottom { padding-top: 10px; border-top: 1px solid var(--line); }
.empty { text-align: center; padding: clamp(22px, 5vw, 48px) 18px; }
.empty h3, .jobs-employers h3 { margin: 4px 0; }
.empty p, .jobs-employers p { margin: 5px 0 14px; }
.btn { border: 0; padding: 10px 16px; border-radius: 9px; color: white; background: #633cbb; font: inherit; font-weight: 700; cursor: pointer; }
.jobs-employers, .jobs-note { margin-top: 22px; }
.jobs-note a { text-decoration: underline; white-space: nowrap; }
.jobs-dialog {
    color: var(--ink); width: min(660px, calc(100% - 24px)); max-height: 90vh;
    padding: 22px; border: 1px solid var(--line); border-radius: 15px;
}
.jobs-dialog::backdrop { background: rgb(28 17 40 / 65%); }
.jobs-dialog .close { border: 0; color: var(--job-purple); background: var(--job-soft); border-radius: 8px; padding: 4px 12px; font-size: 22px; cursor: pointer; }
.modal-head h2 { margin: 4px 0; }
.section-kicker, .fine-print { font-size: .8rem; color: var(--muted); }
.detail-description { white-space: pre-wrap; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-grid .wide { grid-column: 1/-1; }
.jobs-dialog .honey { position: absolute; left: -9999px; }
@media (max-width: 800px) { .jobs-board { scroll-margin-top: 8.5rem; } }
@media (max-width: 650px) {
    .main-grid, .form-grid { grid-template-columns: 1fr; }
    .filter-tip { display: none; }
    .jobs-heading { align-items: flex-start; flex-direction: column; }
}
