/* Jobs pane (split view S3) and sheet (S4). Loaded with media="(min-width: 1024px)". The S3 pane rules sit in the 1280 px block, so
   1024 to 1279 px shows only the sheet; the pane box is reserved from first paint (CLS 0) at 1280 px and up. */
.vf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vf-pane-job { display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 34px); }
.vf-pane-head { position: relative; padding: 20px 56px 14px 22px; border-bottom: 1px solid var(--line, #d8dce2); flex: 0 0 auto; }
.vf-pane-title { margin: 0 0 4px; font-size: 1.3rem; line-height: 1.25; }
.vf-pane-title:focus { outline: 2px solid currentColor; outline-offset: 3px; }
.vf-pane-employer { margin: 0 0 8px; }
.vf-pane-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.vf-pane-actions .btn { min-height: 44px; }
.vf-pane-close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.7rem; line-height: 1; cursor: pointer; color: inherit; }
.vf-pane-desc { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px 22px 8px; }
.vf-pane-desc:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.vf-pane-note { padding: 0 22px 16px; margin: 0; font-size: .85rem; }
@media (min-width: 1280px) {
	.vf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(400px, 42%); gap: 24px; align-items: start; }
	.vf-split .vf-jobs-grid { grid-template-columns: 1fr; }
	.vf-split__pane { display: block; visibility: hidden; position: sticky; top: 16px; max-height: calc(100vh - 32px); min-height: 320px;
		background: var(--paper, #fff); border: 1px solid var(--line, #d8dce2); border-radius: var(--radius, 8px); box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
		overflow: hidden; contain: layout paint; }
	.vf-split__pane[data-open] { visibility: visible; display: flex; flex-direction: column; }
	.vf-split .job-card-title a[aria-current] { text-decoration: underline; }
	.vf-split .job-card:has(a[aria-current]) { box-shadow: inset 0 0 0 2px var(--navy, #1b2a49); }
	@media (prefers-color-scheme: dark) { .vf-split .job-card:has(a[aria-current]) { box-shadow: inset 0 0 0 2px var(--gold, #c9a54a); } }
	.vf-split__pane[aria-busy="true"] { opacity: .7; }
}
.vf-split .job-card-title a[aria-busy="true"] { cursor: progress; }
/* Sheet (S4, 1024 to 1279 px): a modal <dialog> in the top layer, fixed, so it takes no flow space (CLS 0). */
@media (min-width: 1024px) and (not (min-width: 1280px)) {
	html.vf-sheet-lock { overflow: hidden; scrollbar-gutter: stable; }
	.vf-sheet { position: fixed; inset: 0 0 0 auto; margin: 0 0 0 auto; width: min(560px, 92vw); max-width: 92vw; height: 100vh; max-height: 100vh; padding: 0; border: 0;
		background: var(--paper, #fff); color: inherit; box-shadow: -4px 0 24px rgba(0, 0, 0, .18); overflow: hidden; }
	.vf-sheet::backdrop { background: rgba(0, 0, 0, .45); }
	.vf-sheet[open] { display: flex; flex-direction: column; }
	.vf-sheet .vf-pane-job { height: 100vh; max-height: 100vh; }
	.vf-sheet .vf-pane-head { padding: 20px 56px 14px 22px; position: relative; }
}
@media (min-width: 1024px) and (not (min-width: 1280px)) and (prefers-reduced-motion: no-preference) {
	.vf-sheet[open] { animation: vf-sheet-in .2s ease-out; }
	@keyframes vf-sheet-in { from { transform: translateX(100%); } to { transform: none; } }
}
