/* ==========================================================================
   AVCentral Jobs — "2a Blue Spotlight" theme (owner 2026-10-13)
   Loaded after avi-jobs-unified.css / avi-jobs-mobile-v7.css (board) and avi-jobs-single-light.css (job page),
   see inc/avi-jobs-theme.php. The theme file's placeholder classes are mapped onto our own markup:
     .jobs-list → .aviju-cards / .aviju-mobile-list      .job-card → .aviju-card
     .job-card--premium → .aviju-card--featured           .featured-ribbon → .aviju-card__ribbon
     .job-detail → .aviju-detail (+ the phone sheet)      .featured-banner → .aviju-detail__featured-banner
     .job-detail__title → .aviju-detail__title / .avijs-title       .tag → .aviju-card__chip / .aviju-detail__chip / .avijs-chip
     .btn-secondary → .aviju-btn-share / .avijs-share     .apply-btn → .aviju-btn-apply / .aviju-sheetbar-apply / .avijs-*apply
     .apply-box → .aviju-detail__salary / .avijs-apply-cta-card / phone sticky bars
   Gold is reserved for the featured ribbon and the featured banner label (Apply is deep blue, owner update).
   Bebas Neue is the self-hosted copy (assets/fonts/fonts.css, inc/avi-fonts.php) — same font as Google Fonts.
   ========================================================================== */

:root {
	/* Surfaces */
	--av-bg:            #0a1628;
	--av-surface:       #0f1f36;
	--av-surface-2:     #0f2238;
	--av-surface-3:     #143652;
	--av-surface-4:     #163b58;
	/* Accent */
	--av-teal:          #4fb3d9;
	--av-teal-light:    #7fcbe8;
	--av-teal-pale:     #9fd8ee;
	--av-gold:          #e9a53a;
	--av-on-gold:       #0a1628;
	/* Text */
	--av-text:          #c9d4e3;
	--av-text-strong:   #ffffff;
	--av-text-muted:    #8ea3bc;
	--av-placeholder:   #6f87a3;
	/* Lines and glow */
	--av-border-teal:   rgba(79, 179, 217, .40);
	--av-border-teal-2: rgba(79, 179, 217, .27);
	--av-border-tag:    rgba(79, 179, 217, .53);
	--av-border-subtle: rgba(201, 212, 227, .08);
	--av-border-btn:    rgba(201, 212, 227, .15);
	--av-ring:          0 0 0 1px rgba(79, 179, 217, .20);
	--av-glow-card:     0 8px 28px -8px rgba(79, 179, 217, .33);
	--av-glow-panel:    0 12px 40px -12px rgba(79, 179, 217, .27);
	/* Shape */
	--av-radius-sm: 4px;
	--av-radius-md: 8px;
	--av-radius-lg: 10px;
	--av-radius-xl: 12px;
	--av-font-display: 'Bebas Neue', sans-serif;
}

/* Our existing board tokens, merged onto the theme. Gold tokens point at teal on the board: gold comes back only on
   the three allowed elements below. --avij-text-dim keeps its audited contrast value (LA-10). */
:root, body.aviju-page, body.single-avi_job {
	--avij-bg-page:           var(--av-bg);
	--avij-bg-card:           var(--av-surface);
	--avij-bg-subtle:         var(--av-surface-2);
	--avij-bg-raised:         var(--av-surface-3);
	--avij-border-default:    var(--av-border-subtle);
	--avij-border-emphasized: var(--av-border-btn);
	--avij-text-primary:      var(--av-text-strong);
	--avij-text-secondary:    var(--av-text-muted);
	--avij-text-muted:        var(--av-text-muted);
	--avij-iceblue:           var(--av-teal);
	--avij-iceblue-dim:       var(--av-teal-pale);
	--avij-iceblue-glow:      rgba(79, 179, 217, .12);
	--avij-iceblue-border:    var(--av-border-teal);
	--avij-gold:              var(--av-teal);
	--avij-gold-dim:          var(--av-teal-light);
	--avij-gold-glow:         rgba(79, 179, 217, .10);
	--avij-gold-border:       var(--av-border-teal);
	--avij-gold-gradient:     linear-gradient(135deg, var(--av-teal), var(--av-teal-light));
}

/* ---------- Page ---------- */
body.aviju-page, body.single-avi_job { background: var(--av-bg); color: var(--av-text); }

/* List | detail */
@media (min-width: 768px) {
	body.aviju-page .aviju-cards { border-right: 1px solid var(--av-border-subtle); }
}

/* ---------- Search ---------- */
body.aviju-page .aviju-kw {
	background: var(--av-surface);
	border: 1px solid #2a4266; /* owner INBOX #464: the neutral hairline of the home / Medicals search (was light blue) */
	border-radius: var(--av-radius-xl);
	box-shadow: none;
}
body.aviju-page .aviju-kw__input { color: var(--av-text-strong); font-size: 16px; } /* 16px stops iOS zoom on focus */
body.aviju-page .aviju-kw__input::placeholder { color: var(--av-placeholder); }
/* #464: no coloured outline or glow (#418), phones and desktop. Hover = the home search's #3a557d; focus = a lighter grey
   border #94a7be (6.7:1 on #0f1f36, 7.1:1 on #0c1a30; 3:1 needed for a focus indicator), no glow. The filter
   button and its gold count badge are unchanged. */
html body.aviju-page main.avijl-main .aviju-kw.aviju-kw { border-color: #2a4266 !important; box-shadow: none !important; }
html body.aviju-page main.avijl-main .aviju-kw.aviju-kw:hover:not(:focus-within) { border-color: #3a557d !important; }
html body.aviju-page main.avijl-main .aviju-kw.aviju-kw:focus-within { border-color: #94a7be !important; box-shadow: none !important; outline: none !important; }
html body.aviju-page main.avijl-main .aviju-kw.aviju-kw .aviju-kw__input:is(:focus, :focus-visible) { outline: none !important; box-shadow: none !important; }
body.aviju-page .aviju-chips__label { color: var(--av-text-strong); font-weight: 600; }

/* ---------- Standard card: flat row, divider only ---------- */
body.aviju-page .aviju-card-wrap { margin: 0; }
body.aviju-page .aviju-card {
	display: block;
	padding: 18px 20px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--av-border-subtle);
	border-radius: 0;
	box-shadow: none;
	outline: 0;
	transition: background .15s ease;
}
body.aviju-page .aviju-card:hover,
body.aviju-page .aviju-card.is-active { background: rgba(15, 31, 54, .7); border-color: var(--av-border-subtle); box-shadow: none; }
body.aviju-page .aviju-card__title { color: var(--av-text-strong); font-weight: 700; font-size: 20px; line-height: 1.25; margin: 0 0 6px; }
body.aviju-page .aviju-card__employer { color: var(--av-text-strong); font-weight: 700; }
body.aviju-page .aviju-card__loc,
body.aviju-page .avim-cf-loc { color: var(--av-text); }
body.aviju-page .aviju-card__posted,
body.aviju-page .avim-cf-fresh,
body.aviju-page .aviju-card__posted *,
body.aviju-page .avim-cf-fresh * { color: var(--av-teal-light); font-size: 15px; }
body.aviju-page .aviju-card__salary,
body.aviju-page .avim-cf-salary { color: var(--av-text-strong); }
body.aviju-page .aviju-card__chip {
	border: 1px solid var(--av-border-tag);
	background: transparent;
	color: var(--av-teal-pale);
	border-radius: var(--av-radius-sm);
	padding: 3px 8px;
	font-size: 12px;
	white-space: nowrap;
}

/* ---------- Featured (premium) card ---------- */
body.aviju-page .aviju-card.aviju-card--featured {
	position: relative;
	overflow: hidden;
	margin-bottom: 18px;
	border: 1px solid var(--av-teal);
	border-radius: var(--av-radius-lg);
	background: linear-gradient(135deg, var(--av-surface-3) 0%, var(--av-surface-2) 60%);
	box-shadow: var(--av-ring), var(--av-glow-card);
}
/* The ribbon (aviju-card__ribbon) was retired 2026-10-17: the featured card has a band (see the end of this file). */

/* ---------- Detail panel (desktop pane; the phone sheet uses the same inner markup) ---------- */
@media (min-width: 1024px) {
	body.aviju-page .aviju-detail {
		background: var(--av-surface);
		border: 1px solid var(--av-border-subtle);
		border-radius: var(--av-radius-xl);
		overflow: hidden;
	}
	body.aviju-page .aviju-detail:has(.aviju-detail__inner--featured) { border-color: var(--av-border-teal); box-shadow: var(--av-glow-panel); }
	body.aviju-page .aviju-detail__inner { padding: 32px 40px; }
	body.aviju-page .aviju-detail__inner--featured { padding-top: 0; }
	body.aviju-page .aviju-detail__inner--featured .aviju-detail__featured-banner { margin: 0 -40px 28px; }
}
body.aviju-page .aviju-detail__featured-banner,
body.single-avi_job .avijs-featured-banner {
	display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
	background: linear-gradient(90deg, var(--av-surface-4), var(--av-surface-2));
	border-bottom: 1px solid var(--av-border-teal);
	padding: 12px 40px;
}
body.aviju-page .aviju-detail__featured-label,
body.single-avi_job .avijs-featured-banner__label { color: var(--av-gold); font-family: var(--av-font-display); letter-spacing: .16em; font-size: 18px; }
body.aviju-page .aviju-detail__featured-sub,
body.single-avi_job .avijs-featured-banner__sub { color: var(--av-teal-pale); }

body.aviju-page .aviju-detail__title,
body.single-avi_job .avijs-title {
	font-family: var(--av-font-display);
	color: var(--av-text-strong);
	font-size: 56px; line-height: 1; letter-spacing: .01em;
	font-weight: 400;
	margin: 0;
}
body.aviju-page .aviju-detail__meta { margin: 14px 0 20px; color: var(--av-text); }
body.aviju-page .aviju-detail__employer,
body.single-avi_job .avijs-meta a:first-child { color: var(--av-text-strong); font-weight: 700; }
body.aviju-page .aviju-detail__posted,
body.aviju-page .aviju-detail__posted * { color: var(--av-teal-light); }

/* Larger requirement chips in the detail */
body.aviju-page .aviju-detail__chip,
body.single-avi_job .avijs-chip {
	background: transparent;
	font-size: 15px; font-weight: 600;
	padding: 8px 20px;
	border: 1px solid rgba(79, 179, 217, .6);
	border-radius: var(--av-radius-md);
	color: var(--av-teal-light);
}

/* Secondary button: Share */
body.aviju-page .aviju-btn-share,
body.aviju-page .aviju-sheetbar-share,
body.single-avi_job .avijs-share,
body.single-avi_job .avijs-mbar__share {
	background: transparent;
	border: 1px solid var(--av-border-btn);
	color: var(--av-text-strong);
	font-weight: 700;
	border-radius: var(--av-radius-md);
	padding: 12px 28px;
}
body.aviju-page .aviju-btn-share:hover,
body.aviju-page .aviju-sheetbar-share:hover,
body.single-avi_job .avijs-share:hover { border-color: var(--av-border-teal); }

/* Boxed blocks in the detail (salary; the job page's apply card) */
body.aviju-page .aviju-detail__salary,
body.single-avi_job .avijs-salary,
body.single-avi_job .avijs-apply-cta-card {
	margin: 24px 0;
	background: var(--av-bg);
	border: 1px solid var(--av-border-teal-2);
	border-radius: var(--av-radius-lg);
	padding: 16px 20px;
	box-shadow: none;
}
body.aviju-page .aviju-detail__salary-icon { color: var(--av-teal); border-color: var(--av-border-teal); background: transparent; }
body.aviju-page .aviju-detail__salary-label,
body.single-avi_job .avijs-salary__label,
body.single-avi_job .avijs-apply-cta-card__meta,
body.single-avi_job .avijs-apply-cta-card__meta * { color: var(--av-text-muted); }
body.aviju-page .aviju-detail__salary-value,
body.single-avi_job .avijs-salary__value { color: var(--av-text-strong); }

/* Apply: deep blue, teal outline, faint glow (owner update 2026-10-13; was gold) */
body.aviju-page .aviju-btn-apply,
body.aviju-page a.aviju-sheetbar-apply,
body.single-avi_job a.avijs-apply-cta-card__btn,
body.single-avi_job .avijs-mbar a.avijs-mbar__apply {
	background: #1d4766;
	color: #e6f5fb;
	font-weight: 700; font-size: 18px;
	border: 1px solid #4fb3d9;
	border-radius: var(--av-radius-md);
	padding: 12px 28px;
	box-shadow: 0 4px 14px -6px rgba(79, 179, 217, .4);
	cursor: pointer;
}
body.aviju-page .aviju-btn-apply:hover,
body.aviju-page a.aviju-sheetbar-apply:hover,
body.single-avi_job a.avijs-apply-cta-card__btn:hover,
body.single-avi_job .avijs-mbar a.avijs-mbar__apply:hover { filter: brightness(1.1); color: #e6f5fb; }

body.aviju-page .aviju-detail__description p,
body.aviju-page .aviju-detail__description li,
body.single-avi_job .avijs-description__body p,
body.single-avi_job .avijs-description__body li { color: var(--av-text); line-height: 1.65; font-size: 17px; }

/* Keyboard focus, everywhere */
body.aviju-page .aviju-card:focus-visible,
body.aviju-page .aviju-btn-apply:focus-visible,
body.aviju-page .aviju-sheetbar-apply:focus-visible,
body.aviju-page .aviju-btn-share:focus-visible,
body.single-avi_job .avijs-share:focus-visible,
body.single-avi_job a.avijs-apply-cta-card__btn:focus-visible {
	outline: 2px solid var(--av-teal-pale);
	outline-offset: 2px;
}

/* ---------- Mobile: single column, sticky Apply ---------- */
@media (max-width: 1023px) {
	body.aviju-page .aviju-mobile-list { gap: 0; }
	body.aviju-page .aviju-card { padding: 16px; }
	body.aviju-page .aviju-card__title { font-size: 18px; }

	body.aviju-page .aviju-sheet__content { background: var(--av-bg); }
	body.aviju-page .aviju-sheet__body { padding: 20px 16px 24px; }
	body.aviju-page .aviju-detail__featured-banner { margin: -20px -16px 20px; padding: 10px 16px; gap: 6px; }
	body.aviju-page .aviju-sheet .aviju-detail__title { font-size: 38px; }
	body.aviju-page .aviju-sheet .aviju-detail__chip { font-size: 13px; padding: 6px 12px; }

	/* Apply stays reachable on long postings */
	body.aviju-page .aviju-sheet__bar,
	body.single-avi_job .avijs-mbar {
		background: var(--av-bg);
		border-top: 1px solid var(--av-border-teal-2);
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		box-shadow: 0 -8px 24px -8px rgba(0, 0, 0, .5);
	}
	body.aviju-page a.aviju-sheetbar-apply,
	body.single-avi_job .avijs-mbar a.avijs-mbar__apply { flex: 1; text-align: center; }
	body.single-avi_job .avijs-title { font-size: 38px; }
	body.single-avi_job .avijs-chip { font-size: 13px; padding: 6px 12px; }
	body.single-avi_job .avijs-featured-banner { padding: 10px 16px; gap: 6px; }
}

/* ---------- Gold left over from older board rules (scanned 2026-10-13): teal instead ---------- */
body.aviju-page #aviju-sheet-bar a.aviju-sheetbar-apply {
	background: #1d4766; color: #e6f5fb; border: 1px solid #4fb3d9; box-shadow: 0 4px 14px -6px rgba(79, 179, 217, .4);
}
#aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked) { border-color: var(--av-border-teal); }
#aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked) .aviju-facet__label::before { color: var(--av-teal); }
body.aviju-page .avi-ba-card { border-color: var(--av-border-teal); }
body.aviju-page .avi-ba-card__badge { background: var(--av-teal); color: var(--av-on-gold); }
body.aviju-page .avi-ba-submit,
body.single-avi_job .avi-ba-submit,
body.single-avi_job .avi-ea button {
	background: #1d4766; color: #e6f5fb; border: 1px solid #4fb3d9; box-shadow: none;
}
/* Phone first-visit picker (inline styles in avi-jobs-mobile-v7.js) */
body.aviju-page .avim-where .avim-where-tile[aria-pressed="true"] { background: #1d4766; border-color: #4fb3d9; color: #e6f5fb; }
body.aviju-page .avim-where .avim-where-tile[aria-pressed="true"] .avim-where-n { color: #e6f5fb; }
body.aviju-page .avim-where .avim-where-tile { background: linear-gradient(90deg, #16304f 0, #16304f var(--bar, 0%), var(--av-surface) var(--bar, 0%)); }
body.aviju-page .avim-where .avim-where-go { background: #1d4766; color: #e6f5fb; border: 1px solid #4fb3d9; }

/* ---------- Layout fixes found in the browser check (2026-10-13) ---------- */
@media (min-width: 1024px) {
	body.aviju-page .aviju-detail { padding: 0; }                       /* the inner block carries the 32/40 padding */
	body.aviju-page .aviju-detail__title { padding-right: 120px; }       /* room for Share only (Save/Archive are gone) */
}
/* The ribbon is the paid-placement label on a featured card; the inline "Featured" label (featured-employer branch)
   stays for cards without the ribbon. */
body.aviju-page .aviju-card--featured .aviju-card__featured { display: none; }

/* Share sits inside the pane's padding (the pane lost its own padding above). */
@media (min-width: 1024px) { body.aviju-page .aviju-detail__actions { top: 28px; right: 32px; } }

/* The alert switch at the bottom of the phone filter panel (2026-10-13). */
#aviju-filter-panel .aviju-panel-alert { margin: 20px 0 8px; }

/* 2026-10-13 (owner): desktop search box in the header beside JOBS; never in the phone header. */
@media (min-width: 768px) {
	body.aviju-page .avijl-header .aviju-kw--desktop { flex: 1 1 auto; max-width: 560px; margin: 0 24px 0 32px; }
	body.aviju-page .avijl-header .aviju-kw--desktop .aviju-kw__input { height: 40px; }
}
@media (max-width: 767px) {
	body.aviju-page .avijl-header .aviju-kw--desktop { display: none; }
}
/* The picks line's "Change" link (colour set in the board script): teal, not gold. */
body.aviju-page .aviju-seekerbar button { color: var(--av-teal-light); }

/* ---------- The band across the top of a job (owner 2026-10-13): status line, or the featured-employer line ---------- */
body.aviju-page .aviju-detail__band,
body.single-avi_job .avijs-band {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px;
	padding: 14px 40px;
	background: linear-gradient(90deg, rgba(22, 59, 88, .55), rgba(15, 34, 56, .35));
	border-bottom: 1px solid var(--av-border-subtle);
	color: var(--av-teal-light); font-size: 15px;
}
body.aviju-page .aviju-detail__band--featured,
body.single-avi_job .avijs-band--featured {
	background: linear-gradient(90deg, var(--av-surface-4), var(--av-surface-2));
	border-bottom-color: var(--av-border-teal);
}
body.aviju-page .aviju-detail__band-label,
body.single-avi_job .avijs-band__label { color: var(--av-gold); font-family: var(--av-font-display); letter-spacing: .16em; font-size: 18px; text-transform: uppercase; white-space: nowrap; }
body.aviju-page .aviju-detail__band--featured .aviju-detail__band-text,
body.single-avi_job .avijs-band--featured .avijs-band__text { color: var(--av-teal-pale); font-size: 17px; }
body.aviju-page .aviju-detail__band .aviju-detail__posted * { color: var(--av-teal-light); }
@media (min-width: 1024px) {
	body.aviju-page .aviju-detail__inner:has(> .aviju-detail__band) { padding-top: 0; }
	body.aviju-page .aviju-detail__inner > .aviju-detail__band { margin: 0 -40px 28px; }
}
@media (max-width: 1023px) {
	body.aviju-page .aviju-detail__inner > .aviju-detail__band { margin: -20px -16px 18px; padding: 12px 16px; }
	body.single-avi_job .avijs-band { padding: 12px 16px; }
}
body.single-avi_job .avijs-band { margin: 0 0 18px; border: 1px solid var(--av-border-subtle); border-radius: var(--av-radius-lg); }
body.single-avi_job .avijs-band--featured { border-color: var(--av-border-teal); }
body.single-avi_job:has(.avijs-band--featured) .avijs-featured-badge { display: none; } /* the band already says it */

/* Share sits beside the title, below the band (it was pinned to the pane corner). */
@media (min-width: 1024px) {
	body.aviju-page .aviju-detail__header { position: relative; }
	body.aviju-page .aviju-detail__header > .aviju-detail__actions { position: absolute; top: 2px; right: 0; margin: 0; }
}
body.aviju-page a.aviju-detail__employer, body.aviju-page .aviju-sheet a.aviju-detail__employer { color: var(--av-text-strong); }

/* ---------- Listings as cards with a hover glow (owner 2026-10-13, replaces the flat rows) ---------- */
body.aviju-page .aviju-mobile-list,
body.aviju-page .aviju-cards__list,
body.aviju-page .aviju-list { gap: 0; }
body.aviju-page .aviju-card {
	margin: 0 0 12px;
	background: var(--av-surface);
	border: 1px solid var(--av-border-teal-2);
	border-radius: var(--av-radius-lg);
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
body.aviju-page .aviju-card:hover {
	background: linear-gradient(135deg, #12304b 0%, var(--av-surface-2) 60%);
	border-color: var(--av-teal);
	box-shadow: var(--av-ring), var(--av-glow-card);
}
/* 2026-10-17 (owner): the selected card no longer wears the featured card's lit gradient (a normal card that was
   selected, e.g. the top job picked on load, read as "featured"). Selected = flat surface + a teal bar on the left. */
body.aviju-page .aviju-card.is-active {
	background: var(--av-surface-2);
	border-color: var(--av-teal);
	box-shadow: inset 3px 0 0 var(--av-teal), var(--av-ring);
}
body.aviju-page .aviju-card.aviju-card--featured:hover { box-shadow: var(--av-ring), 0 10px 34px -8px rgba(79, 179, 217, .5); }
@media (min-width: 768px) {
	body.aviju-page .aviju-cards { padding-left: 16px; padding-right: 16px; }
}
body.aviju-page .aviju-card__direct { color: var(--av-teal-light); }
/* Date listed at the bottom of the job */
body.aviju-page .aviju-detail__listed,
body.single-avi_job .avijs-listed { margin: 24px 0 8px; color: var(--av-text-muted); font-size: 15px; }
body.aviju-page .aviju-detail__listed * { color: var(--av-text-muted); }

/* Teal edge on every card and on the detail panel (owner 2026-10-13 mockup). */
body.aviju-page .aviju-card { border-color: var(--av-border-teal); }
@media (min-width: 1024px) {
	body.aviju-page .aviju-detail { border: 1px solid var(--av-border-teal); border-radius: var(--av-radius-xl); box-shadow: var(--av-glow-panel); }
	body.aviju-page .aviju-detail__band { border-bottom-color: var(--av-border-teal); }
}
body.single-avi_job .avijs-band { border-color: var(--av-border-teal); }

/* Requirement pills on every card, desktop and phone (owner 2026-10-13; the phone stylesheet used to hide them). */
body.aviju-page .aviju-card .aviju-card__chips { display: flex !important; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }

/* Space between cards (the desktop list zeroed the card margin). */
body.aviju-page .aviju-card-wrap { margin: 0 0 12px; }
body.aviju-page .aviju-card-wrap > .aviju-card { margin: 0; }

/* Space between cards from the list itself (another rule zeroes the card margin). */
body.aviju-page .aviju-cards__list { display: flex; flex-direction: column; gap: 12px; }
body.aviju-page .aviju-cards__list > .aviju-card-wrap { margin: 0 !important; }

/* ---------- Filters use gold (owner 2026-10-13): headings, ticks, radios, picked rows ---------- */
body.aviju-page .aviju-sidebar__title,
body.aviju-page .aviju-filter-panel__title { color: var(--av-gold); }
body.aviju-page .aviju-facet__opt input[type="checkbox"] { accent-color: var(--av-gold); }
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="checkbox"]:checked {
	border-color: var(--av-gold);
	box-shadow: inset 0 0 0 3px #0a1628, inset 0 0 0 9px var(--av-gold);
}
#aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked) { border-color: rgba(233, 165, 58, .55); }
#aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked) .aviju-facet__label::before { color: var(--av-gold); }
/* Phone first-visit picker: picked tiles gold (the Show button stays blue) */
body.aviju-page .avim-where .avim-where-tile[aria-pressed="true"] { background: var(--av-gold); border-color: var(--av-gold); color: var(--av-on-gold); }
body.aviju-page .avim-where .avim-where-tile[aria-pressed="true"] .avim-where-n { color: var(--av-on-gold); }

/* Card bottom row: pills left, date listed bottom-right (owner 2026-10-13). */
/* 2026-10-16 (rendered audit #4): a long date line ("Posted by the employer · listed until Nov 15 · Direct employer")
   was cut off at the card edge. The row wraps: the date line drops under the pills, right-aligned, and wraps itself
   if it is still too long. A short date line stays on the pills row as before. */
body.aviju-page .aviju-card__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-top: 12px; }
body.aviju-page .aviju-card__foot .aviju-card__chips { margin: 0 !important; flex: 1 1 auto; }
body.aviju-page .aviju-card__foot .aviju-card__posted { margin: 0 0 0 auto; flex: 0 1 auto; min-width: 0; max-width: 100%; text-align: right; white-space: normal; font-size: 14px; }
body.aviju-page .aviju-card__foot .aviju-card__posted,
body.aviju-page .aviju-card__foot .aviju-card__posted * { font-size: 14px; color: var(--av-text-muted); }

/* Employer name in gold on the job details (owner 2026-10-13). */
body.aviju-page .aviju-detail__employer, body.aviju-page a.aviju-detail__employer, body.aviju-page .aviju-sheet a.aviju-detail__employer,
body.single-avi_job .avijs-employer, body.single-avi_job .avijs-employer a, body.single-avi_job .avijs-employer__link { color: var(--av-gold); }
#aviju-sheet .aviju-detail__employer, #aviju-sheet a.aviju-detail__employer { color: var(--av-gold) !important; } /* phone view: an older sheet rule outranks the one above */

/* The detail panel scrolls on its own again (the theme's overflow:hidden for the rounded corners stopped it). */
@media (min-width: 1024px) { body.aviju-page .aviju-detail { overflow-x: hidden; overflow-y: auto; } }

/* Band text centred (owner 2026-10-13). */
body.aviju-page .aviju-detail__band, body.single-avi_job .avijs-band { justify-content: center; text-align: center; }

/* Desktop: no picks line above the list — the filter panel is always on screen (owner 2026-10-13). Phones keep it. */
@media (min-width: 768px) { body.aviju-page .aviju-seekerbar { display: none !important; } }

/* Job page header: the JOBS wordmark stays gold (it used the board gold token, which the theme points at teal). */
body.single-avi_job .avijs-brand-wordmark__jobs { color: var(--av-gold); }

/* Employer names in gold on job cards: board list + "Similar jobs" on the job page (owner 2026-10-13). */
body.aviju-page .aviju-card__employer,
body.aviju-page .aviju-card .aviju-card__employer a,
body.single-avi_job .avijs-related-card__employer,
body.single-avi_job .avijs-related-card__employer a { color: var(--av-gold) !important; }

/* Phone cards: the date listed sits on the location row, bottom right, small and muted like the desktop card
   (the theme had left it light teal at 15px on its own line, from when that spot held the status line). 2026-10-13. */
@media (max-width: 767px) {
	/* 2026-10-16 (rendered audit #4): nowrap + flex:none let a long date line widen the page to 459 px at 430.
	   The row wraps now: a long date line goes to its own line (right-aligned) and wraps inside the card. */
	body.aviju-page .avim-card-footer { flex-wrap: wrap; align-items: baseline; }
	body.aviju-page .avim-cf-fresh { flex: 0 1 auto; min-width: 0; max-width: 100%; margin-left: auto; text-align: right; white-space: normal; }
	body.aviju-page .avim-cf-fresh,
	body.aviju-page .avim-cf-fresh * { font-size: 14px; color: var(--av-text-muted); }
	/* basis 0: the location (ellipsis) gives way first, as before, so only a date line that cannot fit wraps */
	body.aviju-page .avim-cf-left { font-size: 14px; flex: 1 1 0; }
}

/* ---------- Sort (owner 2026-10-13): desktop "Sort by" select in the list header; phones "Sort: Newest ▾" + sheet ---------- */
body.aviju-page .aviju-desktop .aviju-cards__sort {
	display: flex !important; align-items: center; justify-content: space-between; gap: 12px;
	padding: 4px 16px 12px; background: transparent; border: 0; font-size: 14px; color: var(--av-text-muted);
}
body.aviju-page .aviju-cards__sort .aviju-cards__sep { display: none; }
body.aviju-page .aviju-cards__sort-control { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
body.aviju-page .aviju-sort__label { color: var(--av-text-muted); font-size: 14px; }
body.aviju-page .aviju-cards__sort-select {
	height: 36px !important; min-height: 0 !important; padding: 0 34px 0 12px !important; margin: 0; border: 1px solid var(--av-border-teal-2); border-radius: 10px; box-sizing: border-box;
	background-color: var(--av-surface); color: var(--av-text-strong); font-family: inherit; font-size: 14px; font-weight: 600; line-height: 34px; cursor: pointer;
	appearance: none; -webkit-appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--av-gold) 50%), linear-gradient(135deg, var(--av-gold) 50%, transparent 50%);
	background-position: calc(100% - 17px) 15px, calc(100% - 12px) 15px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
body.aviju-page .aviju-cards__sort-select:hover { border-color: var(--av-teal); }
body.aviju-page .aviju-cards__sort-select:focus-visible { outline: 2px solid var(--av-gold); outline-offset: 2px; }
body.aviju-page .aviju-cards__sort-select option { background: #0f1f36; color: #e8eef5; }
body.aviju-page .aviju-sort__note { flex-basis: 100%; text-align: right; color: var(--av-text-muted); font-size: 13px; }
body.aviju-page .aviju-sort__note:empty { display: none; }

body.aviju-page .aviju-msort { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 10px; margin: 0 16px 10px; }
body.aviju-page .aviju-msort .aviju-sort__note { text-align: right; }
body.aviju-page .aviju-msort__btn {
	min-height: 40px; padding: 0 14px; border: 1px solid var(--av-border-teal-2); border-radius: 999px;
	background: var(--av-surface); color: var(--av-text); font-family: inherit; font-size: 15px; cursor: pointer;
}
body.aviju-page .aviju-msort__btn strong { color: var(--av-text-strong); font-weight: 700; }
body.aviju-page .aviju-msort__btn span { color: var(--av-gold); margin-left: 2px; }
@media (min-width: 768px) { body.aviju-page .aviju-msort { display: none; } }

.aviju-sortsheet { position: fixed; inset: 0; z-index: 2147483100; } /* above the cookie banner (2147483000) while open; it closes on any choice */
.aviju-sortsheet[hidden] { display: none; }
.aviju-sortsheet__scrim { position: absolute; inset: 0; background: rgba(4, 10, 20, .62); }
.aviju-sortsheet__panel {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom));
	background: #0f1f36; border-top: 1px solid rgba(79, 179, 217, .35); border-radius: 18px 18px 0 0;
	box-shadow: 0 -12px 40px rgba(0, 0, 0, .45);
}
.aviju-sortsheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 10px; }
.aviju-sortsheet__head span { font-family: "Bebas Neue", Impact, sans-serif; letter-spacing: .08em; font-size: 22px; color: #e9a53a; }
.aviju-sortsheet__close { width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #e8eef5; font-size: 24px; line-height: 1; cursor: pointer; }
.aviju-sortsheet__opts { display: grid; gap: 10px; }
.aviju-sortsheet__opt {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 0 16px; text-align: left;
	border: 1px solid rgba(201, 212, 227, .12); border-radius: 12px; background: #12263f; color: #e8eef5; font-family: inherit; font-size: 17px; font-weight: 600; cursor: pointer;
}
.aviju-sortsheet__opt.is-on { border-color: #e9a53a; background: #163352; }
.aviju-sortsheet__tick { width: 18px; color: #e9a53a; font-weight: 700; }
.aviju-sortsheet__opt:focus-visible, .aviju-sortsheet__close:focus-visible { outline: 2px solid #e9a53a; outline-offset: 2px; }
html.aviju-sortsheet-open, html.aviju-sortsheet-open body { overflow: hidden; }
.aviju-sortsheet { font-family: 'DM Sans', system-ui, sans-serif; }
body.aviju-page .aviju-desktop .aviju-cards__sort-select {
	background-image: linear-gradient(45deg, transparent 50%, var(--av-gold) 50%), linear-gradient(135deg, var(--av-gold) 50%, transparent 50%) !important;
	background-position: calc(100% - 17px) 15px, calc(100% - 12px) 15px !important;
	background-size: 5px 5px, 5px 5px !important; background-repeat: no-repeat !important;
}

/* 2026-10-16 (rendered audit #6): the board hub had no visible H1 on desktop (the hero, which holds the page's only
   H1, was hidden at 1024 px+). It now shows as a compact title row above the three panes, styled like the role
   pages' heading row (.avi-lb-hero): one line, Bebas 40 px, "Updated daily" beside it. Phones are unchanged. */
@media (min-width: 768px) {
	body.aviju-page .avijl-main > .avijl-hero {
		display: flex !important; align-items: baseline; flex-wrap: wrap; gap: 4px 16px;
		margin: 0; padding: 16px 24px 14px; border-bottom: 1px solid var(--avij-border-default, rgba(255,255,255,.07));
	}
	body.aviju-page .avijl-main > .avijl-hero .avijl-hero__headline { font-size: 40px; line-height: 1.05; letter-spacing: .5px; margin: 0; }
	body.aviju-page .avijl-main > .avijl-hero .avijl-hero__headline-line { display: inline; }
	body.aviju-page .avijl-main > .avijl-hero .avijl-hero__subheadline { margin: 0; font-size: 14px; }
}

/* ---------- Profession radio group + greyed-out rows (owner 2026-10-17) ----------
   The profession list is a real radio group (no "All professions" row since 2026-10-17 later: none picked = all jobs). Its picked state used to be drawn with
   box-shadow, which the site-wide `body.fsf-dark-theme input:focus { box-shadow … !important }` replaced as soon as the
   clicked box had focus, so a click left every circle empty. The dot is a background now, the picked row's label is bold
   (not colour alone), and focus is an outline. Gold = --av-gold, the colour of the ticked province / job-type boxes. */
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"] {
	-webkit-appearance: none !important; appearance: none !important;
	width: 18px !important; height: 18px !important; min-width: 18px; margin: 0 !important; padding: 0 !important; flex-shrink: 0;
	border: 2px solid #94a7be !important; border-radius: 50% !important;
	background: transparent !important; box-shadow: none !important; cursor: pointer;
}
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"]:checked {
	border-color: var(--av-gold) !important;
	background: radial-gradient(circle at center, var(--av-gold) 0 4.5px, transparent 5px) !important;
}
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"]:focus { box-shadow: none !important; outline: none !important; }
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"]:focus-visible { outline: 2px solid #4fc3f7 !important; outline-offset: 2px; }
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt:has(input:checked) .aviju-facet__label { color: var(--av-text, #e8eef5); font-weight: 700; }
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt:has(input:checked) .aviju-facet__count { color: var(--av-gold); font-weight: 700; }
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opts { margin: 0; padding: 0; border: 0; }
/* 2026-10-17 later: the radio group's state line for screen readers ("None selected: showing all jobs"). */
body.aviju-page .aviju-sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
/* The picked profession's chip above the list has no × (no way back to all professions on the board). */
body.aviju-page .aviju-chip--fixed { cursor: default; }
body.aviju-page .aviju-chip--fixed:hover { transform: none; }
/* The site-wide focus ring also landed on the list ticks; the ticks keep their own look. */
body.aviju-page .aviju-facet__opt input[type="checkbox"]:focus { box-shadow: none !important; }

/* A row with no jobs under the other picks: greyed out, not pickable, kept in place (rows don't jump while ticking). */
body.aviju-page .aviju-facet__opt.is-disabled,
body.aviju-page #aviju-filter-panel .aviju-facet__opt.is-disabled { opacity: .38 !important; cursor: not-allowed; }
body.aviju-page .aviju-facet__opt.is-disabled:hover { color: inherit; }
body.aviju-page .aviju-facet__opt.is-disabled input { cursor: not-allowed; }
#aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt.is-disabled { border-style: dashed; background: transparent; }

/* ---------- Narrow desktop 1024–1279 px: the detail pane title no longer stacks one letter per line (owner 2026-10-17) ----------
   The grid was 280 px + list min 480 px + detail = what was left: at a 1024 px window the detail column was 249 px, minus
   its 40 px side padding and the title's 120 px padding-right (room for Share), so the 56 px title had ~35 px and broke
   after every letter. Here the list and the detail share the room (list ≥ 340, detail ≥ 360), Share sits under the title
   instead of beside it (no 120 px reserve), the title is 40 px, and it breaks only between words (a single word wider than
   the pane may still wrap as a last resort). 1280 px and up are unchanged. 768–1023 px uses the phone layout (job opens in
   the full-screen view), not this pane. */
@media (min-width: 1024px) and (max-width: 1279px) {
	body.aviju-page .aviju-desktop { grid-template-columns: 280px minmax(340px, 1fr) minmax(360px, 1fr); }
	body.aviju-page .aviju-detail__inner { padding-left: 28px; padding-right: 28px; }
	body.aviju-page .aviju-detail__inner > .aviju-detail__band { margin-left: -28px; margin-right: -28px; padding-left: 28px; padding-right: 28px; }
	body.aviju-page .aviju-detail__title { padding-right: 0; font-size: 40px; line-height: 1.05; word-break: normal; overflow-wrap: break-word; hyphens: manual; }
	body.aviju-page .aviju-detail__header > .aviju-detail__actions { position: static; margin: 0 0 4px; }
}

/* ---------- Featured card (owner mockup 2026-10-17) ----------
   Only an active PAID feature renders this card (job.featured = avi_job_featured_active()). Slightly lighter navy,
   a soft light-blue border + glow, a top band (gold star + letter-spaced "FEATURED" left, age right) over a thin line,
   the title, employer (gold) · place · rotation, a one–two line summary, then the pills and an outlined "View role".
   Motion: at most ONE soft shimmer, the first time the card is drawn (.aviju-card--shimmer, set once per job by the
   board script); none under prefers-reduced-motion. No looping animation. */
body.aviju-page .aviju-card.aviju-card--featured {
	position: relative; overflow: hidden;
	padding: 0 20px 18px;
	background: #13304d;
	border: 1px solid rgba(127, 203, 232, .55);
	border-radius: 14px;
	box-shadow: 0 0 0 1px rgba(127, 203, 232, .14), 0 10px 32px -12px rgba(127, 203, 232, .45);
}
body.aviju-page .aviju-card.aviju-card--featured:hover { background: #163656; border-color: rgba(159, 216, 238, .75); box-shadow: 0 0 0 1px rgba(127, 203, 232, .22), 0 12px 36px -10px rgba(127, 203, 232, .55); }
body.aviju-page .aviju-card.aviju-card--featured.is-active { background: #163656; border-color: var(--av-teal-light); box-shadow: inset 3px 0 0 var(--av-teal-light), 0 0 0 1px rgba(127, 203, 232, .22), 0 12px 36px -10px rgba(127, 203, 232, .55); }
body.aviju-page .aviju-card__fband {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px;
	margin: 0 -20px 14px; padding: 11px 20px 10px;
	border-bottom: 1px solid rgba(127, 203, 232, .22);
}
body.aviju-page .aviju-card__flabel { display: inline-flex; align-items: center; gap: 8px; color: var(--av-gold); font-size: 12px; font-weight: 700; letter-spacing: .2em; line-height: 1; }
body.aviju-page .aviju-card__fstar { font-size: 14px; letter-spacing: 0; }
body.aviju-page .aviju-card__fage,
body.aviju-page .aviju-card__fage * { color: var(--av-text-muted); font-size: 13px; }
body.aviju-page .aviju-card--featured .aviju-card__title { font-size: 22px; line-height: 1.2; font-weight: 800; color: var(--av-text-strong); margin: 0 0 8px; padding: 0; }
body.aviju-page .aviju-card__fmeta { color: var(--av-text-muted); font-size: 14px; line-height: 1.45; margin: 0 0 8px; }
body.aviju-page .aviju-card__fmeta .aviju-card__employer { font-weight: 700; }
body.aviju-page .aviju-card__fsep { margin: 0 7px; color: var(--av-text-muted); opacity: .7; }
body.aviju-page .aviju-card__fsummary {
	margin: 0 0 4px; color: var(--av-text-muted); font-size: 14px; line-height: 1.5;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
}
body.aviju-page .aviju-card__ffoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; }
body.aviju-page .aviju-card--featured .aviju-card__ffoot .aviju-card__chips { margin: 0 !important; flex: 1 1 auto; }
body.aviju-page .aviju-card__fview {
	flex: 0 0 auto; margin-left: auto;
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px;
	border: 1px solid var(--av-teal-light); border-radius: 8px;
	color: var(--av-teal-pale); font-size: 14px; font-weight: 700; white-space: nowrap;
	transition: background .15s ease, color .15s ease;
}
body.aviju-page .aviju-card--featured:hover .aviju-card__fview { background: rgba(127, 203, 232, .12); color: var(--av-text-strong); }
/* One soft sheen across the card on first render (no loop). */
body.aviju-page .aviju-card--featured.aviju-card--shimmer::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 35%, rgba(159, 216, 238, .16) 50%, transparent 65%);
	transform: translateX(-110%);
	animation: aviju-feat-sheen 1.6s ease-out .4s 1 forwards;
}
@keyframes aviju-feat-sheen { to { transform: translateX(110%); } }
@media (prefers-reduced-motion: reduce) {
	body.aviju-page .aviju-card--featured.aviju-card--shimmer::after { animation: none; display: none; }
	body.aviju-page .aviju-card.aviju-card--featured, body.aviju-page .aviju-card__fview { transition: none; }
}
@media (max-width: 767px) {
	body.aviju-page .aviju-card.aviju-card--featured { margin: 0 0 12px; padding: 0 16px 16px; }
	body.aviju-page .aviju-card__fband { margin: 0 -16px 12px; padding: 10px 16px 9px; }
	body.aviju-page .aviju-card--featured .aviju-card__title { font-size: 20px; }
}

/* Job detail + job page band for a featured listing, matching the card: label left (gold star, letter-spaced
   "FEATURED"), the employer line right. */
body.aviju-page .aviju-detail__band--featured,
body.single-avi_job .avijs-band--featured { justify-content: space-between; text-align: left; align-items: center; }
body.aviju-page .aviju-detail__band--featured .aviju-detail__band-label,
body.single-avi_job .avijs-band--featured .avijs-band__label { font-family: inherit; font-size: 13px; font-weight: 700; letter-spacing: .2em; }
body.aviju-page .aviju-detail__band--featured .aviju-detail__band-text,
body.single-avi_job .avijs-band--featured .avijs-band__text { font-size: 15px; color: var(--av-text-muted); }
body.single-avi_job .avijs-band--featured { background: #13304d; border-color: rgba(127, 203, 232, .55); box-shadow: 0 10px 32px -12px rgba(127, 203, 232, .45); }

/* ==========================================================================
   Jobs page redesign (owner INBOX #145, 2026-10-26)
   1. Filters: picked radios / ticks slate blue #9FB1C8 (was gold), counts grey #8a9cb4, greyed rows stay dimmed,
      keyboard focus keeps a visible ring.
   2. Desktop (1024 px+): no detail pane; the list sits beside the filters, at most 1100 px wide.
   3. Desktop rows instead of cards: no gaps, a 1 px #23395a divider, 20 px padding, a faint hover; title, employer and
      place, pills on the left; pay, date added, closing date on the right (markup: renderRow() in
      avi-jobs-unified.js and aviju_ssr_card_html() in page-aviation-jobs-unified.php).
   4. Job page: "Back to jobs" (single-avi_job.php) when the visitor came from the board.
   Phones keep their own cards and job view (the rows are desktop markup only).
   ========================================================================== */
body.aviju-page { --av-slate: #9fb1c8; --av-count: #8a9cb4; --av-row-line: #23395a; }
/* The site width tokens (--site-max, --site-gutter) live in assets/brand/tokens.css (owner INBOX #149). The jobs board
   alone may be wider (INBOX #156). */
:root {
	--jobs-max: 1760px;
}

/* 1. Filters */
body.aviju-page .aviju-facet__opt input[type="checkbox"] { accent-color: var(--av-slate) !important; }
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="checkbox"]:checked {
	border-color: var(--av-slate) !important;
	box-shadow: inset 0 0 0 3px #0a1628, inset 0 0 0 9px var(--av-slate) !important;
}
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"]:checked {
	border-color: var(--av-slate) !important;
	background: radial-gradient(circle at center, var(--av-slate) 0 4.5px, transparent 5px) !important;
}
body.aviju-page .aviju-facet__count,
body.aviju-page .aviju-facet[data-facet="profession"] .aviju-facet__opt:has(input:checked) .aviju-facet__count,
#aviju-filter-panel .aviju-facet .aviju-facet__count { color: var(--av-count) !important; }
#aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked) { border-color: rgba(159, 177, 200, .55) !important; }
#aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked) .aviju-facet__label::before { color: var(--av-slate) !important; }
/* Focus stays visible (an older rule takes the site-wide ring off the ticks). */
body.aviju-page .aviju-facet__opt input[type="checkbox"]:focus-visible,
body.aviju-page .aviju-facet__opt input[type="radio"]:focus-visible { outline: 2px solid #4fc3f7 !important; outline-offset: 2px; }
#aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:focus-visible) { outline: 2px solid #4fc3f7; outline-offset: 2px; }

@media (min-width: 768px) {
	/* 2. Filters | list, no detail pane; the pair is centred when the window is wider than 280 + 1100 px. */
	body.aviju-page .aviju-desktop {
		grid-template-columns: 280px minmax(0, 1100px) !important;
		justify-content: center;
	}
	/* 2026-10-26 (owner INBOX #151, replaces the 1100 px list cap above): title, video, filters and list sit in the
	   site's content container (--site-max, 1200 px since #399, + gutters, the #149 tokens; the header and footer stay full
	   width, INBOX #153), centred on very wide screens. Filters a fixed 260 px sidebar; the list takes the rest. */
	body.aviju-page .aviju-desktop,
	body.aviju-page .avijl-main > .avijl-hero,
	body.aviju-page .avijl-main > .avi-jm {
		box-sizing: border-box !important;
		width: 100% !important;
		max-width: calc(var(--site-max) + 2 * var(--site-gutter)) !important;
		margin-left: auto !important; margin-right: auto !important;
		padding-left: var(--site-gutter) !important; padding-right: var(--site-gutter) !important;
	}
	/* 2026-10-26 (owner INBOX #156): the board itself (title row, filters + list) is wider than the site width: up to
	   --jobs-max (1760 px) between the gutters, so a 1920 screen is nearly filled. The video above stays in the --site-max
	   container; every other page keeps --site-max. */
	body.aviju-page .aviju-desktop,
	body.aviju-page .avijl-main > .avijl-hero { max-width: calc(var(--jobs-max) + 2 * var(--site-gutter)) !important; }
	body.aviju-page .aviju-desktop { grid-template-columns: 260px minmax(0, 1fr) !important; justify-content: stretch; }
	/* Filter text starts on the container edge, under "Aviation careers across Canada". */
	body.aviju-page .aviju-desktop .aviju-sidebar { padding-left: 0 !important; padding-right: 20px !important; }
	body.aviju-page .aviju-detail { display: none !important; }
	body.aviju-page .aviju-cards { padding-left: 0 !important; padding-right: 0 !important; border-right: 1px solid var(--av-border-subtle); }
	/* The "N jobs · Sort by" row holds the height of the sort select the script adds (37 → 52 px moved the list 15 px). */
	body.aviju-page .aviju-desktop .aviju-cards__sort { min-height: 52px; box-sizing: border-box; }

	/* 3. Rows */
	body.aviju-page .aviju-desktop .aviju-cards__list { display: block !important; gap: 0 !important; padding: 0 !important; }
	body.aviju-page .aviju-desktop .aviju-cards__list > .aviju-card-wrap { margin: 0 !important; }
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row {
		display: grid !important;
		grid-template-columns: 48px minmax(0, 1fr) 210px;
		grid-template-areas: "band band band" "logo main side";
		column-gap: 20px; row-gap: 0;
		align-items: start;
		margin: 0 !important;
		padding: 24px !important; /* INBOX #151 (was 20) */
		background: transparent !important;
		border: 0 !important;
		border-bottom: 1px solid var(--av-row-line) !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		color: inherit; text-decoration: none;
		transition: background-color .12s ease;
	}
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row:hover { background: rgba(22, 48, 79, .45) !important; }
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row:focus-visible {
		outline: 2px solid var(--av-teal-pale) !important; outline-offset: -2px; background: rgba(22, 48, 79, .45) !important;
	}
	/* A paid featured row keeps its band and a lit edge, but sits in the list like the other rows. */
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row.aviju-card--premium {
		background: rgba(19, 48, 77, .55) !important;
		box-shadow: inset 3px 0 0 var(--av-teal-light) !important;
	}
	body.aviju-page .aviju-card--row > .aviju-pband { grid-area: band; margin: -4px 0 12px; }
	body.aviju-page .aviju-card--row > .aviju-card__main { grid-area: main; min-width: 0; }
	/* INBOX #151: the employer's logo tile, 48 px square, in its own column. */
	body.aviju-page .aviju-card--row > .aviju-card__logo { grid-area: logo; display: block; width: 48px; height: 48px; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo {
		width: 48px; height: 48px; margin: 0; padding: 4px; border-radius: 8px; vertical-align: top; font-size: 13px;
	}
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo > img { width: 40px; height: 40px; object-fit: contain; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .aviju-card__sclogo {
		display: block; width: 48px; height: 48px; margin: 0; object-fit: contain; border-radius: 8px; background: #fff;
	}
	body.aviju-page .aviju-card--row > .aviju-card__side { grid-area: side; min-width: 0; text-align: right; }

	body.aviju-page .aviju-card--row .aviju-card__title {
		margin: 0 0 2px !important; padding: 0 !important; font-size: 18px !important; line-height: 1.25 !important; /* INBOX #151: 18 px */
		color: var(--av-text-strong); font-weight: 700; white-space: normal;
	}
	body.aviju-page .aviju-card--row .aviju-card__meta {
		display: flex !important; align-items: center; gap: 0 8px; margin: 0 !important; min-height: 20px;
		white-space: nowrap; overflow: hidden; font-size: 15px; line-height: 20px;
	}
	body.aviju-page .aviju-card--row .aviju-card__employer { display: inline-flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
	body.aviju-page .aviju-card--row .aviju-card__loc { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--av-text); }
	body.aviju-page .aviju-card--row .aviju-card__sep { color: var(--av-text-muted); }
	/* One pill row of fixed height (the server-drawn row and the script's row line up exactly). */
	body.aviju-page .aviju-card--row .aviju-card__chips {
		display: flex !important; flex-wrap: nowrap; gap: 6px; overflow: hidden;
		height: 22px; margin: 6px 0 0 !important; /* tags on their own line */
	}
	body.aviju-page .aviju-card--row .aviju-card__chip { flex: 0 0 auto; padding: 1px 8px; font-size: 12px; line-height: 18px; }

	body.aviju-page .aviju-card--row .aviju-card__salary {
		margin: 0 0 6px !important; color: var(--av-text-strong) !important; font-size: 15px !important; font-weight: 700; line-height: 1.35;
		white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	body.aviju-page .aviju-card--row .aviju-card__posted { margin: 0 !important; text-align: right; }
	/* Older card rules shrink these to their text (justify-self: start, which Chrome now applies in block layout too;
	   max-width): the right column is flush right. */
	body.aviju-page .aviju-card--row .aviju-card__side > .aviju-card__posted,
	body.aviju-page .aviju-card--row .aviju-card__side > .aviju-card__salary { display: block !important; width: auto !important; max-width: none !important; float: none !important; justify-self: stretch !important; }
	body.aviju-page .aviju-card--row .aviju-card__posted > span {
		display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
		font-size: 14px !important; line-height: 1.5; color: var(--av-text-muted) !important;
	}
	body.aviju-page .aviju-card--row .aviju-card__posted .aviju-card__closes { color: var(--av-text) !important; }

	/* "Also in" under a row: part of the same row block, one divider below it. */
	body.aviju-page .aviju-desktop .aviju-cards__list .aviju-card-wrap:has(+ .aviju-alsoin) a.aviju-card--row { border-bottom: 0 !important; padding-bottom: 8px !important; }
	body.aviju-page .aviju-desktop .aviju-cards__list .aviju-alsoin { margin: 0 !important; padding: 0 20px 16px; border-bottom: 1px solid var(--av-row-line); }
}

/* 4. Job page: back to the board */
body.single-avi_job .avijs-backrow { margin: 12px 0 0; }
body.single-avi_job .avijs-backrow[hidden] { display: none; }
body.single-avi_job .avijs-backbtn {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px;
	border: 1px solid var(--av-border-btn); border-radius: var(--av-radius-md);
	color: var(--av-text-strong); font-size: 15px; font-weight: 700; text-decoration: none;
	transition: border-color .12s ease, background-color .12s ease;
}
body.single-avi_job .avijs-backbtn:hover { border-color: var(--av-border-teal); background: rgba(22, 48, 79, .45); color: var(--av-text-strong); }
body.single-avi_job .avijs-backbtn:focus-visible { outline: 2px solid var(--av-teal-pale); outline-offset: 2px; }
html.avijs-from-board body.single-avi_job .avijs-header__back { display: none; } /* one way back, not two */

/* ==========================================================================
   Job page (owner INBOX #154, 2026-10-26): the board's header, the page in the 1320 px container, layout B
   (details left, a pinned card right with Apply, pay, closing date, location and Share), the status line as a small
   slate tag. Markup: single-avi_job.php. Phones: title + details, then the card, then the ad; the bottom Apply bar
   stays.
   ========================================================================== */

/* Header: same look as the board's (.avijl-header): logo + JOBS, search, Post a Job; full width. */
body.single-avi_job .avijs-siteheader {
	position: sticky; top: 0; z-index: 100;
	display: flex; align-items: center; justify-content: space-between;
	box-sizing: border-box; height: 56px; margin: 0; padding: 12px 16px;
	background: var(--av-bg); border-bottom: 1px solid var(--av-border-subtle);
	font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.admin-bar.single-avi_job .avijs-siteheader { top: 32px; }
@media (max-width: 782px) { body.admin-bar.single-avi_job .avijs-siteheader { top: 0; } }
body.single-avi_job .avijs-siteheader .avc-brand-lockup { flex: 0 0 auto; }
body.single-avi_job .avijs-hsearch { display: none; }
body.single-avi_job .avijs-hpost {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; flex: 0 0 auto;
	height: 34px; padding: 0 12px; margin-left: auto;
	background: rgba(142, 163, 188, .16); color: var(--av-text-muted); border: 1px solid rgba(142, 163, 188, .40); border-radius: 10px;
	font: 600 13px/1 'DM Sans', sans-serif; text-decoration: none; white-space: nowrap;
}
body.single-avi_job .avijs-hpost:hover,
body.single-avi_job .avijs-hpost:focus-visible { background: rgba(142, 163, 188, .26); border-color: rgba(142, 163, 188, .60); color: #e8eef5; text-decoration: none; }
body.single-avi_job .avijs-hpost:focus-visible { outline: 2px solid #e8eef5; outline-offset: 2px; }
@media (min-width: 1024px) {
	body.single-avi_job .avijs-siteheader { padding: 12px 24px; }
	body.single-avi_job .avijs-hsearch {
		display: flex; align-items: center; gap: 8px; flex: 1 1 auto; max-width: 560px; height: 46px; box-sizing: border-box;
		margin: 0 24px 0 32px; padding: 0 10px 0 12px;
		background: var(--av-surface); border: 1px solid rgba(79, 179, 217, .18); border-radius: 12px;
	}
	body.single-avi_job .avijs-hsearch:focus-within { border-color: var(--av-teal); box-shadow: var(--av-ring); }
	body.single-avi_job .avijs-hsearch__icon { flex: 0 0 auto; color: var(--av-text-muted); }
	body.single-avi_job .avijs-siteheader .avijs-hsearch input.avijs-hsearch__input {
		-webkit-appearance: none; appearance: none;
		flex: 1 1 auto; min-width: 0; height: 44px; margin: 0; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
		background: transparent !important; box-shadow: none !important; outline: none !important; color: #e8eef5; font-size: 16px;
	}
	body.single-avi_job .avijs-hsearch__input::placeholder { color: var(--av-placeholder); }
	body.single-avi_job .avijs-hpost { height: 40px; padding: 0 18px; border-radius: 12px; font-size: 14px; margin-left: 0; }
}

/* Container: the site width recipe (#149 tokens) from 768 px; phones keep 16 px sides. */
body.single-avi_job .avijs-page.avijs-page--b { max-width: none; margin: 0; padding: 0 0 96px; }
body.single-avi_job .avijs-wrap { box-sizing: border-box; padding: 0 16px; }
@media (min-width: 768px) {
	body.single-avi_job .avijs-wrap {
		max-width: calc(var(--site-max) + 2 * var(--site-gutter));
		padding-left: var(--site-gutter); padding-right: var(--site-gutter);
		margin-left: auto; margin-right: auto;
	}
}
body.single-avi_job .avijs-backrow { margin: 16px 0 0; }
body.single-avi_job .avijs-breadcrumb { margin-top: 16px; }

/* Layout B */
body.single-avi_job .avijs-side { margin: 24px 0; }
@media (min-width: 1024px) {
	body.single-avi_job .avijs-grid {
		display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto 1fr;
		grid-template-areas: "top side" "rest side"; column-gap: 48px; align-items: start;
	}
	body.single-avi_job .avijs-top { grid-area: top; min-width: 0; }
	body.single-avi_job .avijs-rest { grid-area: rest; min-width: 0; }
	body.single-avi_job .avijs-side { grid-area: side; align-self: start; margin: 8px 0 0; position: sticky; top: var(--avijs-pin-top, 88px); }
	body.single-avi_job .avijs-side.avijs-nopin { position: static; }
}
/* The ad's text keeps a readable line length. */
body.single-avi_job .avijs-description__body,
body.single-avi_job .avijs-reqwords,
body.single-avi_job .avijs-benefits__body { max-width: 75ch; }

/* The card */
body.single-avi_job .avijs-card {
	display: flex; flex-direction: column; gap: 18px;
	padding: 20px; background: var(--av-surface); border: 1px solid var(--av-border-teal-2); border-radius: var(--av-radius-xl);
	box-shadow: none; /* INBOX #159.1: flat, no glow */
}
body.single-avi_job .avijs-card .avijs-apply-cta-card {
	display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none;
}
body.single-avi_job .avijs-card .avijs-apply-cta-card__btn {
	order: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
	width: 100%; max-width: none !important; min-height: 50px; box-sizing: border-box; text-align: center;
}
body.single-avi_job .avijs-card .avijs-apply-cta-card__meta { order: 1; margin: 0; font-size: 13px; text-align: center; }
/* The whole label shows in the card (the phone bar keeps its one-line ellipsis). */
body.single-avi_job .avijs-card .avijs-apply-cta-card__btn { font-size: 17px; line-height: 1.3; padding: 12px 18px; }
body.single-avi_job .avijs-card .avijs-apply-cta-card__btn-text,
body.single-avi_job .avijs-card .avijs-apply-cta-card__btn-text * { display: inline; white-space: normal; overflow: visible; text-overflow: clip; max-width: none; min-width: 0; }
body.single-avi_job .avijs-card .avijs-salary { margin: 0; padding: 0; border: 0; background: none; }
body.single-avi_job .avijs-card .avijs-salary__value { margin: 2px 0 0; font-size: 20px; font-weight: 700; }
body.single-avi_job .avijs-card__facts { display: grid; gap: 12px; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--av-border-subtle); }
body.single-avi_job .avijs-card__fact dt { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--av-text-muted); }
body.single-avi_job .avijs-card__fact dd { margin: 2px 0 0; font-size: 15px; color: var(--av-text); }
body.single-avi_job .avijs-card .avijs-share--card {
	display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; box-sizing: border-box; cursor: pointer;
}

/* Status line: a small slate tag (was a full-width band), like the clinic page's "Confirmed by the clinic". */
body.single-avi_job .avijs-vtag { margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: var(--av-count, #8a9cb4); }
body.single-avi_job .avijs-vtag *,
body.single-avi_job .avijs-vtag .avijs-meta__checked { color: inherit; font-size: inherit; }

@media (max-width: 1023px) {
	body.single-avi_job .avijs-card .avijs-share__text { display: inline; }
}

/* ==========================================================================
   Medium widths (owner INBOX #156, 2026-10-26): from 768 px the board is the desktop board (it was a 480 px phone
   column up to 1023 px). At 768-1099 px the filters are a drawer opened by the "Filters" button above the list
   (assets/js/avi-jobs-unified.js wireFilterDrawer()); the list uses the whole width. Phones (< 768 px) unchanged.
   ========================================================================== */
body.aviju-page .aviju-fdrawer-btn,
body.aviju-page .aviju-fdrawer-close,
body.aviju-page .aviju-fdrawer-scrim { display: none; }
@media (min-width: 768px) and (max-width: 1099px) {
	body.aviju-page .aviju-desktop { grid-template-columns: minmax(0, 1fr) !important; }
	body.aviju-page .aviju-desktop .aviju-sidebar { display: none; }
	body.aviju-page .aviju-cards { border-right: 0; }
	body.aviju-page .aviju-desktop .aviju-cards__sort { justify-content: flex-start !important; }
	body.aviju-page .aviju-desktop .aviju-cards__sort-control { margin-left: auto; }
	body.aviju-page .aviju-fdrawer-btn {
		display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; margin-right: 12px; cursor: pointer;
		background: var(--av-surface); color: var(--av-text-strong); border: 1px solid var(--av-border-teal-2); border-radius: 10px;
		font: 600 14px/1 'DM Sans', sans-serif;
	}
	body.aviju-page .aviju-fdrawer-btn:hover { border-color: var(--av-teal); }
	body.aviju-page .aviju-fdrawer-btn:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
	body.aviju-page .aviju-fdrawer-btn__n:empty { display: none; }
	body.aviju-page .aviju-fdrawer-btn__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--av-slate); color: #0a1628; font-size: 12px; line-height: 20px; text-align: center; }
	html.aviju-fdrawer-open body.aviju-page .aviju-desktop .aviju-sidebar {
		display: block; position: fixed !important; top: 56px !important; left: 0; bottom: 0; z-index: 1001;
		width: min(340px, 88vw); height: auto !important; padding: 56px 20px 24px !important; overflow-y: auto;
		background: var(--av-bg); border-right: 1px solid var(--av-border-teal-2); box-shadow: 0 0 40px rgba(0, 0, 0, .55);
	}
	html.aviju-fdrawer-open body.aviju-page .aviju-fdrawer-scrim { display: block; position: fixed; inset: 56px 0 0 0; z-index: 1000; background: rgba(4, 10, 20, .55); }
	html.aviju-fdrawer-open body.aviju-page .aviju-fdrawer-close {
		display: flex; align-items: center; justify-content: center; position: fixed; top: 68px; left: calc(min(340px, 88vw) - 52px); z-index: 1002;
		width: 40px; height: 40px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #e8eef5; font-size: 24px; line-height: 1; cursor: pointer;
	}
	html.aviju-fdrawer-open body.aviju-page .aviju-fdrawer-close:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
	html.aviju-fdrawer-open, html.aviju-fdrawer-open body { overflow: hidden; }
	/* Rows: a narrower right column. */
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row { grid-template-columns: 48px minmax(0, 1fr) 180px; column-gap: 16px; }
}
/* Job page header (INBOX #154): the logo block keeps its width while the fonts load, so the search box doesn't move. */
@media (min-width: 1024px) { body.single-avi_job .avijs-siteheader .avc-brand-lockup { flex: 0 0 272px; } }

/* Job page Apply = the primary action (owner INBOX #159.1): amber #E8A020, navy #0a1628 text (8.2:1), on the flat card. */
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn,
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn:visited {
	background: #e8a020; color: #0a1628; border: 1px solid #e8a020; box-shadow: none; font-weight: 700; filter: none;
}
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn:hover { background: #f0b23a; border-color: #f0b23a; color: #0a1628; filter: none; }
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn * { color: inherit; }
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn:focus-visible { outline: 2px solid #e8eef5; outline-offset: 3px; }
/* Job page (owner INBOX #160): "Apply now" on one line; requirement pills show the ad's words on hover AND keyboard focus. */
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn { white-space: nowrap; font-size: 18px; }
body.single-avi_job .avijs-chip--req { position: relative; cursor: help; }
body.single-avi_job .avijs-chip--req:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
body.single-avi_job .avijs-chip--req[data-tip]:hover::after,
body.single-avi_job .avijs-chip--req[data-tip]:focus-visible::after {
	content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 8px); z-index: 20;
	width: max-content; max-width: min(360px, 80vw); padding: 8px 10px; box-sizing: border-box;
	background: #0a1628; border: 1px solid var(--av-border-teal); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
	color: #e8eef5; font-size: 13px; font-weight: 400; line-height: 1.4; white-space: normal; text-align: left; pointer-events: none;
}

/* ==========================================================================
   Job page title block + card (owner INBOX #165 / #166, 2026-10-26)
   ========================================================================== */
/* #166: logo tile (64 px, the list's tile style) left of the title; employer (amber) · place · type on the next line. */
body.single-avi_job .avijs-titleblock { display: flex; align-items: flex-start; gap: 20px; }
body.single-avi_job .avijs-titletext { flex: 1 1 auto; min-width: 0; }
body.single-avi_job .avijs-tlogo { flex: 0 0 64px; width: 64px; height: 64px; margin-top: 4px; }
body.single-avi_job .avijs-tlogo .avi-jlogo { width: 64px; height: 64px; margin: 0; padding: 7px; border-radius: 10px; box-sizing: border-box; }
body.single-avi_job .avijs-tlogo .avi-jlogo > img { width: 50px; height: 50px; object-fit: contain; }
body.single-avi_job .avijs-tlogo .avi-jlogo--initials { font-size: 18px; }
body.single-avi_job .avijs-tlogo__sc { display: block; width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: #fff; }
body.single-avi_job p.avijs-meta.avijs-employer { margin: 8px 0 0; color: var(--av-text); font-weight: 400; }
body.single-avi_job p.avijs-meta.avijs-employer a.avijs-employer__link { color: var(--av-gold); font-weight: 700; }
@media (max-width: 767px) {
	body.single-avi_job .avijs-titleblock { flex-direction: column; gap: 12px; }
	body.single-avi_job .avijs-tlogo { flex-basis: auto; width: 48px; height: 48px; margin: 0; }
	body.single-avi_job .avijs-tlogo .avi-jlogo { width: 48px; height: 48px; padding: 5px; border-radius: 8px; }
	body.single-avi_job .avijs-tlogo .avi-jlogo > img { width: 38px; height: 38px; }
	body.single-avi_job .avijs-tlogo .avi-jlogo--initials { font-size: 14px; }
	body.single-avi_job .avijs-tlogo__sc { width: 48px; height: 48px; }
}
/* #165: the card's second action (outline, same width) or the employer-posted note; Apply again under the ad. */
body.single-avi_job .avijs-card a.avijs-origad {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; box-sizing: border-box; margin: 2px 0 0;
	border: 1px solid var(--av-border-btn); border-radius: var(--av-radius-md); background: transparent;
	color: var(--av-text-strong); font-weight: 700; font-size: 16px; text-decoration: none;
}
body.single-avi_job .avijs-card a.avijs-origad:hover { border-color: var(--av-border-teal); color: var(--av-text-strong); }
body.single-avi_job .avijs-card a.avijs-origad:focus-visible { outline: 2px solid var(--av-teal-pale); outline-offset: 2px; }
body.single-avi_job .avijs-card__posted-here { margin: 2px 0 0; text-align: center; font-size: 14px; color: var(--av-text-muted); }
/* (#165's Apply at the end of the ad was removed by owner INBOX #174.) */
body.single-avi_job p.avijs-meta.avijs-employer a.avijs-meta__loc-link { color: var(--av-text); font-weight: 400; } /* only the employer is amber (#166) */

/* ==========================================================================
   Job page logo above the title (owner INBOX #171, 2026-10-26; replaces #166's tile left of the title).
   120 px tile (88 px on phones), 8 px corners, flat, 1 px border, no shadow, logo contained with 12 px padding,
   16 px above the title. No logo on file = no tile at all (the title sits under the breadcrumb).
   ========================================================================== */
body.single-avi_job .avijs-titleblock.avijs-titleblock--top { display: block; }
body.single-avi_job .avijs-titleblock--top .avijs-titletext { width: 100%; }
body.single-avi_job .avijs-titleblock--top .avijs-tlogo {
	display: block; box-sizing: border-box; width: 120px; height: 120px; margin: 4px 0 16px; padding: 12px;
	border: 1px solid var(--av-border-btn); border-radius: 8px; box-shadow: none; background: #0f1f36; overflow: hidden;
}
body.single-avi_job .avijs-titleblock--top .avijs-tlogo--light { background: #fff; border-color: rgba(255, 255, 255, .14); }
body.single-avi_job .avijs-titleblock--top .avijs-tlogo > img { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
@media (max-width: 767px) {
	body.single-avi_job .avijs-titleblock--top .avijs-tlogo { width: 88px; height: 88px; margin: 0 0 16px; }
}

/* ==========================================================================
   Job page (owner INBOX #174, 2026-10-26): scraped jobs' button reads "View job on <Employer> careers ↗" (it may take two
   lines with a long name), with "Last checked <date>" under it in small slate text. Jobs posted with us keep "Apply now".
   ========================================================================== */
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src] {
	white-space: normal; overflow-wrap: break-word; overflow: visible; font-size: 17px; line-height: 1.3; text-align: center; padding-top: 12px; padding-bottom: 12px; min-height: 50px; height: auto;
}
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src] .avijs-apply-cta-card__btn-text { display: inline; white-space: inherit; }
/* owner INBOX #181: one line (the page script shrinks the label to fit, 13 px floor); only a label that still doesn't fit wraps.
   owner INBOX #212: wrapping is the default; one line only once the script has measured that it fits (.is-fit). */
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src].is-wrap { white-space: normal; }
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src].is-fit,
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src].is-measure { white-space: nowrap; }
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src] .avijs-apply-cta-card__btn-text .avijs-apply-cta-card__arrow { white-space: nowrap !important; }
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src]:is(.is-fit, .is-measure) .avijs-apply-cta-card__btn-text,
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src]:is(.is-fit, .is-measure) .avijs-apply-cta-card__btn-text * { white-space: nowrap !important; }
body.single-avi_job .avijs-apply-cta-card__arrow { white-space: nowrap; }
body.single-avi_job .avijs-apply-cta-card__checked { margin: 8px 0 0; text-align: center; font-size: 13px; line-height: 1.4; color: var(--av-slate, #9fb1c8); }

/* ==========================================================================
   Job page logo (owner INBOX #175, 2026-10-26; updates #171): a 240 x 96 rectangle (180 x 72 on phones), flat navy, 1 px
   border, 8 px corners, no shadow; the logo is contained with 10 px padding, so wide wordmarks fill the width and square
   logos sit centred. Logos marked "light" in the Logo review (their own white background, e.g. WestJet) get a white
   tile, so the logo meets the tile's edges instead of floating in navy. No logo = no tile (#171).
   ========================================================================== */
body.single-avi_job .avijs-titleblock--top .avijs-tlogo {
	width: 240px; height: 96px; padding: 10px; border-radius: 8px; box-shadow: none;
	background: #0f1f36; border: 1px solid var(--av-border-btn);
}
body.single-avi_job .avijs-titleblock--top .avijs-tlogo--light { background: #fff; border-color: rgba(255, 255, 255, .14); }
body.single-avi_job .avijs-titleblock--top .avijs-tlogo > img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
@media (max-width: 767px) {
	body.single-avi_job .avijs-titleblock--top .avijs-tlogo { width: 180px; height: 72px; }
}

/* ==========================================================================
   Employer card (owner INBOX #201, 2026-10-26): flat navy, 1 px border, 8 px corners, no shadow; links slate, amber on
   hover, focus ring for the keyboard only. Desktop: in the right column; phones: after the job description.
   ========================================================================== */
body.single-avi_job .avijs-empcard { margin: 16px 0 0; padding: 16px; background: #0f1f36; border: 1px solid #2a4365; border-radius: 8px; box-shadow: none; }
body.single-avi_job .avijs-empcard__logo { display: inline-flex; align-items: center; max-width: 140px; height: 44px; margin: 0 0 10px; }
body.single-avi_job .avijs-empcard__logo img { max-width: 140px; max-height: 44px; width: auto; height: auto; object-fit: contain; }
body.single-avi_job .avijs-empcard__logo--tile { padding: 6px; background: #fff; border-radius: 6px; height: auto; }
body.single-avi_job .avijs-empcard__logo--tile img { max-width: 128px; max-height: 32px; }
body.single-avi_job .avijs-empcard__name { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--av-text-strong, #e8eef5); }
body.single-avi_job .avijs-empcard__facts { margin: 0 0 10px; font-size: 14px; line-height: 1.45; color: #b6c4d6; }
body.single-avi_job .avijs-empcard__links { margin: 0; font-size: 14px; color: #6f839c; }
body.single-avi_job .avijs-empcard__links a { color: #9fb1c8; text-decoration: underline; text-underline-offset: 2px; }
body.single-avi_job .avijs-empcard__links a:hover { color: #e8a020; }
body.single-avi_job .avijs-empcard__links a:focus { outline: none; }
body.single-avi_job .avijs-empcard__links a:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; border-radius: 2px; }
body.single-avi_job .avijs-empcard--body { display: none; }
@media (max-width: 1023px) {
	body.single-avi_job .avijs-empcard--side { display: none; }
	body.single-avi_job .avijs-empcard--body { display: block; margin: 24px 0; }
}

/* ==========================================================================
   Board shape (owner INBOX #162, 2026-10-26), desktop + the 768-1099 px drawer (same sidebar markup); phones unchanged.
   Filters: "Filters (n) · Clear all" on top, each group a small header that collapses it, long groups show 6 rows +
   "Show all n", tighter rows. Rows: one left-aligned column next to the logo: title, employer, location · pay, pills,
   a small grey date line; thin dividers, compact padding. Colours and wording unchanged.
   ========================================================================== */
@media (min-width: 768px) {
	/* -- Filter sidebar -- */
	body.aviju-page .aviju-sidebar .aviju-sidebar__head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; }
	body.aviju-page .aviju-sidebar .aviju-sidebar__head .aviju-sidebar__title { margin: 0; }
	body.aviju-page .aviju-sidebar__dot { color: var(--av-text-muted); }
	body.aviju-page .aviju-sidebar__clear {
		background: none; border: 0; padding: 0; cursor: pointer; font: 600 13px/1.2 'DM Sans', sans-serif; color: var(--av-teal-light);
		text-decoration: underline; text-underline-offset: 2px;
	}
	body.aviju-page .aviju-sidebar__clear:disabled { color: var(--av-text-muted); text-decoration: none; cursor: default; opacity: .7; }
	body.aviju-page .aviju-sidebar__clear:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
	body.aviju-page .aviju-desktop .aviju-sidebar__reset { display: none; } /* "Clear all" on top does the same */
	body.aviju-page .aviju-sidebar .aviju-facet { margin: 0 !important; padding: 2px 0 8px !important; border-bottom: 1px solid var(--av-border-subtle); }
	body.aviju-page .aviju-sidebar .aviju-facet:last-child { border-bottom: 0; }
	body.aviju-page .aviju-sidebar .aviju-facet__head { margin: 0; padding: 0; font-size: inherit; }
	body.aviju-page .aviju-sidebar .aviju-facet__btn {
		display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0; padding: 8px 0 6px;
		background: none; border: 0; cursor: pointer; text-align: left;
		font: 700 12px/1.2 'DM Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--av-text-muted);
	}
	body.aviju-page .aviju-sidebar .aviju-facet__btn:hover { color: var(--av-text-strong); }
	body.aviju-page .aviju-sidebar .aviju-facet__btn:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
	body.aviju-page .aviju-sidebar .aviju-facet__chev { flex: 0 0 auto; transition: transform .15s ease; }
	body.aviju-page .aviju-sidebar .aviju-facet.is-closed .aviju-facet__chev { transform: rotate(-90deg); }
	body.aviju-page .aviju-sidebar .aviju-facet.is-closed .aviju-facet__opts,
	body.aviju-page .aviju-sidebar .aviju-facet.is-closed .aviju-facet__more { display: none !important; }
	body.aviju-page .aviju-sidebar .aviju-facet:not(.is-all) .aviju-facet__opt--more { display: none !important; }
	body.aviju-page .aviju-sidebar .aviju-facet__opt { padding-top: 1px !important; padding-bottom: 1px !important; min-height: 0 !important; line-height: 1.3; }
	body.aviju-page .aviju-sidebar .aviju-facet__more {
		margin: 4px 0 0; padding: 2px 0; background: none; border: 0; cursor: pointer;
		font: 600 13px/1.3 'DM Sans', sans-serif; color: var(--av-teal-light); text-decoration: underline; text-underline-offset: 2px;
	}
	body.aviju-page .aviju-sidebar .aviju-facet__more:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
	@media (prefers-reduced-motion: reduce) { body.aviju-page .aviju-sidebar .aviju-facet__chev { transition: none; } }

	/* -- Rows: logo + one left-aligned column -- */
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row {
		grid-template-columns: 48px minmax(0, 1fr) !important;
		grid-template-areas: "band band" "logo main" !important;
		column-gap: 16px !important;
		padding: 14px 20px !important;
	}
	body.aviju-page .aviju-card--row .aviju-card__title { margin: 0 0 2px !important; font-size: 18px !important; line-height: 1.25 !important; font-weight: 700; }
	body.aviju-page .aviju-card--row .aviju-card__employer {
		display: block; margin: 0; font-size: 15px; line-height: 20px; font-weight: 700;
		white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	body.aviju-page .aviju-card--row .aviju-card__where {
		margin: 0; font-size: 15px; line-height: 20px; color: var(--av-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	body.aviju-page .aviju-card--row .aviju-card__where .aviju-card__salary {
		display: inline !important; margin: 0 !important; font-size: 15px !important; font-weight: 700; color: var(--av-text-strong) !important;
		white-space: nowrap; width: auto !important; max-width: none !important;
	}
	body.aviju-page .aviju-card--row .aviju-card__dot { color: var(--av-text-muted); }
	body.aviju-page .aviju-card--row .aviju-card__chips { margin: 6px 0 0 !important; height: 22px !important; }
	body.aviju-page .aviju-card--row .aviju-card__posted {
		display: block !important; margin: 4px 0 0 !important; text-align: left !important; justify-self: auto !important;
		font-size: 13px; line-height: 18px; color: var(--av-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	}
	body.aviju-page .aviju-card--row .aviju-card__posted > span {
		display: inline !important; font-size: 13px !important; line-height: 18px; color: var(--av-text-muted) !important;
	}
	body.aviju-page .aviju-card--row .aviju-card__posted .aviju-card__closes { color: var(--av-text) !important; }
}

/* ==========================================================================
   Jobs board (owner INBOX #168 + #169, 2026-10-26), on top of #162 (where they differ, these win).
   #168: bigger rows (64 px logo, 20 px title, 16 px employer / place, 14 px pills, ~140 px); the board and the browse
   block use the whole width with 24 px gutters (no 1320 / 1760 caps on this page; the video stays centred); the list
   scrolls with the page and the filter column is sticky; grey placeholders while the data loads.
   #169: filter groups with a chevron + count badge, "Results update as you choose.", Find box on long lists,
   44 px rows, slate ticks; the phone panel has the same groups and a sticky "Show N jobs".
   ========================================================================== */
@media (min-width: 768px) {
	/* -- full width, 24 px gutters (this page only) -- */
	body.aviju-page .aviju-desktop,
	body.aviju-page .avijl-main > .avijl-hero {
		max-width: none !important; padding-left: 24px !important; padding-right: 24px !important;
	}
	html body.aviju-page .avi-browse { padding-left: 0 !important; padding-right: 0 !important; }
	html body.aviju-page .avi-browse__wrap { max-width: none !important; padding-left: 24px !important; padding-right: 24px !important; }

	/* -- page scroll: no inner scroll box; the filters stay in view -- */
	body.aviju-page .aviju-desktop { min-height: 0 !important; align-items: start !important; }
	body.aviju-page .aviju-desktop .aviju-cards { max-height: none !important; height: auto !important; overflow: visible !important; }
	body.aviju-page .aviju-desktop .aviju-cards__list { max-height: none !important; height: auto !important; overflow: visible !important; flex: none !important; }
	body.aviju-page .aviju-desktop .aviju-sidebar {
		position: sticky !important; top: 56px !important; align-self: start !important;
		height: auto !important; max-height: calc(100vh - 56px); overflow-y: auto; overscroll-behavior: contain;
	}
	body.aviju-page .aviju-desktop .aviju-pager { padding: 16px 24px 24px; }

	/* -- rows: bigger (#168) -- */
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row {
		grid-template-columns: 64px minmax(0, 1fr) !important;
		column-gap: 20px !important;
		padding: 12px 24px !important;
	}
	body.aviju-page .aviju-card--row > .aviju-card__logo { width: 64px; height: 64px; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo { width: 64px; height: 64px; padding: 7px; border-radius: 10px; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo > img { width: 50px; height: 50px; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo--initials { font-size: 17px; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .aviju-card__sclogo { width: 64px; height: 64px; }
	body.aviju-page .aviju-card--row .aviju-card__title { font-size: 20px !important; line-height: 1.2 !important; margin: 0 0 2px !important; }
	body.aviju-page .aviju-card--row .aviju-card__employer,
	body.aviju-page .aviju-card--row .aviju-card__where,
	body.aviju-page .aviju-card--row .aviju-card__where .aviju-card__salary { font-size: 16px !important; line-height: 20px !important; }
	body.aviju-page .aviju-card--row .aviju-card__chips { height: 26px !important; margin: 4px 0 0 !important; gap: 6px; }
	body.aviju-page .aviju-card--row .aviju-card__chip { font-size: 14px !important; line-height: 18px !important; padding: 3px 10px !important; }
	body.aviju-page .aviju-card--row .aviju-card__posted { margin: 3px 0 0 !important; line-height: 16px !important; }
	body.aviju-page .aviju-card--row .aviju-card__posted > span { line-height: 16px !important; }
	/* "Clear all" is a text link (a site-wide tap-target rule had made it a 44 px grey button) */
	body.aviju-page .aviju-sidebar .aviju-sidebar__head .aviju-sidebar__clear {
		min-height: 0 !important; min-width: 0 !important; height: auto !important; padding: 0 !important; margin: 0 !important;
		background: none !important; border: 0 !important; box-shadow: none !important; font-size: 13px !important; line-height: 1.2 !important;
	}

	/* -- sidebar header (#169) -- */
	body.aviju-page .aviju-sidebar .aviju-sidebar__head { margin: 0 0 2px; }
	body.aviju-page .aviju-sidebar__note { margin: 0 0 10px; font-size: 13px; color: var(--av-text-muted); }
}

/* -- filter groups, desktop sidebar + phone panel (#169) -- */
body.aviju-page .aviju-facet__head { margin: 0; padding: 0; font-size: inherit; }
body.aviju-page .aviju-facet__btn {
	display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: 0; padding: 0;
	background: none; border: 0; cursor: pointer; text-align: left;
	font: 700 12px/1.2 'DM Sans', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--av-text-muted);
}
body.aviju-page .aviju-facet__btn:hover { color: var(--av-text-strong); }
body.aviju-page .aviju-facet__btn:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
body.aviju-page .aviju-facet__name { flex: 0 1 auto; }
body.aviju-page .aviju-facet__badge {
	display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box;
	border-radius: 10px; background: var(--av-slate, #9fb1c8); color: #0a1628; font-size: 11px; letter-spacing: 0;
}
body.aviju-page .aviju-facet__badge[hidden] { display: none; }
body.aviju-page .aviju-facet__chev { flex: 0 0 auto; margin-left: auto; transition: transform .15s ease; }
body.aviju-page .aviju-facet.is-closed .aviju-facet__chev { transform: rotate(-90deg); }
body.aviju-page .aviju-facet.is-closed .aviju-facet__opts,
body.aviju-page .aviju-facet.is-closed .aviju-facet__more,
body.aviju-page .aviju-facet.is-closed .aviju-facet__find { display: none !important; }
body.aviju-page .aviju-facet:not(.is-all):not(.is-finding) .aviju-facet__opt--more { display: none !important; }
body.aviju-page .aviju-facet.is-finding .aviju-facet__opt:not(.is-hit) { display: none !important; }
body.aviju-page .aviju-facet.is-finding .aviju-facet__more { display: none !important; }
body.aviju-page .aviju-sidebar .aviju-facet__opt,
body.aviju-page #aviju-filter-panel .aviju-facet__opt { min-height: 44px !important; padding-top: 0 !important; padding-bottom: 0 !important; box-sizing: border-box; display: flex !important; align-items: center; }
body.aviju-page .aviju-facet__opt.is-empty .aviju-facet__label,
body.aviju-page .aviju-facet__opt.is-empty .aviju-facet__count { opacity: .55; }
body.aviju-page .aviju-facet__find {
	display: block; width: 100%; height: 38px; margin: 2px 0 6px; padding: 0 10px; box-sizing: border-box;
	background: var(--av-surface); color: var(--av-text-strong); border: 1px solid var(--av-border-teal-2); border-radius: 8px; font-size: 14px;
}
body.aviju-page .aviju-facet__find:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 1px; }
body.aviju-page .aviju-facet__more {
	min-height: 44px; margin: 0; padding: 0; background: none; border: 0; cursor: pointer;
	font: 600 13px/1.3 'DM Sans', sans-serif; color: var(--av-teal-light); text-decoration: underline; text-underline-offset: 2px;
}
body.aviju-page .aviju-facet__more:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { body.aviju-page .aviju-facet__chev { transition: none; } }
/* phone panel: the groups' rows are plain rows there too; the Show button sticks to the bottom */
#aviju-filter-panel .aviju-facet__opts { display: block; }
#aviju-filter-panel .aviju-filter-panel__footer { position: sticky; bottom: 0; z-index: 2; background: var(--av-bg); }

/* -- grey placeholders while loading (#168) -- */
@keyframes aviju-skel-pulse { 0%, 100% { opacity: .55; } 50% { opacity: .9; } }
.aviju-skel { display: block; border-radius: 6px; background: rgba(159, 177, 200, .14); animation: aviju-skel-pulse 1.4s ease-in-out infinite; }
.aviju-skel-group { margin: 0 0 18px; }
.aviju-skel--head { width: 40%; height: 12px; margin: 12px 0 10px; }
.aviju-skel-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 32px; }
.aviju-skel--label { width: 62%; height: 12px; }
.aviju-skel--n { width: 22px; height: 12px; }
.aviju-skel-cards { display: grid; gap: 12px; padding: 0 16px; }
.aviju-skel--card { height: 132px; border-radius: 12px; }
@media (prefers-reduced-motion: reduce) { .aviju-skel { animation: none; } }
/* phone panel: its rows are display:flex !important, so the "more" / Find hiding needs the same weight (#169) */
#aviju-filter-panel .aviju-facet:not(.is-all):not(.is-finding) .aviju-facet__opt--more,
#aviju-filter-panel .aviju-facet.is-finding .aviju-facet__opt:not(.is-hit),
#aviju-filter-panel .aviju-facet.is-closed .aviju-facet__opt { display: none !important; }

/* ==========================================================================
   Jobs board (owner INBOX #173, 2026-10-26), on top of #162 / #168 (where they differ, these win).
   Rows: pay (top) and "Added X ago · Closes …" (under it) in a right-aligned column, like the live board before #162
   (replaces #162's "pay on line 3"). Filters: nothing is ticked by default, so unticked rows are no longer dimmed in
   the phone panel. Phones: a smaller "Post a Job" button in the board header (it crowded the JOBS label).
   ========================================================================== */
@media (min-width: 768px) {
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row {
		grid-template-columns: 64px minmax(0, 1fr) 230px !important;
		grid-template-areas: "band band band" "logo main side" !important;
		column-gap: 20px !important;
		min-height: 140px; box-sizing: border-box; align-items: start !important;
		padding: 16px 24px !important;
	}
	body.aviju-page .aviju-card--row > .aviju-card__side {
		grid-area: side; display: block !important; min-width: 0; text-align: right !important; padding-top: 2px;
	}
	body.aviju-page .aviju-card--row > .aviju-card__side > .aviju-card__salary {
		display: block !important; margin: 0 0 6px !important; text-align: right !important;
		font-size: 17px !important; line-height: 22px !important; font-weight: 700; color: var(--av-text-strong) !important;
		white-space: normal !important; overflow: visible; overflow-wrap: anywhere;
	}
	body.aviju-page .aviju-card--row > .aviju-card__side > .aviju-card__posted {
		display: block !important; margin: 0 !important; text-align: right !important; white-space: normal !important;
		font-size: 14px !important; line-height: 20px !important; color: var(--av-text-muted); overflow: visible;
	}
	body.aviju-page .aviju-card--row > .aviju-card__side > .aviju-card__posted > span {
		display: inline !important; font-size: 14px !important; line-height: 20px !important; white-space: normal !important;
	}
	body.aviju-page .aviju-card--row > .aviju-card__side > .aviju-card__posted > .aviju-card__closes { white-space: nowrap !important; }
}
@media (min-width: 768px) and (max-width: 1099px) {
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row { grid-template-columns: 64px minmax(0, 1fr) 180px !important; column-gap: 16px !important; }
}
/* phone panel: no grey-out of unticked rows (nothing is ticked by default now) */
#aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:not(:has(input:checked)) { opacity: 1 !important; }
/* phones: a smaller "Post a Job" (28 px, 12 px label) so it clears the JOBS label. Not hidden: on phones the board page has
   no other Post a Job link (no site footer link there). */
@media (max-width: 767px) {
	body.aviju-page .avijl-header .avijl-btn-post-job { height: 28px; padding: 0 9px; border-radius: 8px; font-size: 12px; letter-spacing: 0; }
	body.aviju-page .avijl-header:has(.avim-hc-btn:not([data-visible="0"])) .avijl-btn-post-job { margin-right: 6px; }
}

/* ==========================================================================
   Jobs board polish (owner INBOX #177, #179, #180, 2026-10-26), on top of #173 (where they differ, these win).
   #177: multi-select boxes = navy with a 1 px slate outline, ticked = slate fill with a navy check (Role keeps its
         circles: one profession at a time); the right column always stacks pay / "Added X ago" / "Closes <date>".
   #179: desktop with a mouse: filter rows 32 px (6 px padding) with 4 px between them; touch screens and < 1024 px keep
         44 px. Rows without a logo: no initials tile (the space stays on desktop rows, nothing on phone cards).
   #180: the filter column is its own panel (flat navy card, 1 px border, 8 px corners, sticky, screen height, its own
         always-visible 8 px scrollbar), 16 px from the list, no divider; logos sit on the row with no tile, at most
         96 x 64, natural shape.
   ========================================================================== */
/* -- #177.1 checkboxes (desktop sidebar + the drawer + the phone panel) -- */
body.aviju-page .aviju-sidebar input[type="checkbox"],
body.aviju-page #aviju-filter-panel input[type="checkbox"] {
	-webkit-appearance: none; appearance: none; flex: 0 0 auto;
	width: 18px; height: 18px; margin: 0 10px 0 0; padding: 0; box-sizing: border-box; vertical-align: middle;
	background: #0a1628 no-repeat center / 12px 12px; border: 1px solid #9fb1c8; border-radius: 4px; box-shadow: none; cursor: pointer;
}
body.aviju-page .aviju-sidebar input[type="checkbox"]:checked,
body.aviju-page #aviju-filter-panel input[type="checkbox"]:checked {
	background-color: #9fb1c8 !important; border-color: #9fb1c8 !important;
	background-repeat: no-repeat !important; background-position: center !important; background-size: 12px 12px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.3l2.4 2.4 5.2-5.4' fill='none' stroke='%230a1628' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
body.aviju-page .aviju-sidebar input[type="checkbox"]:focus-visible,
body.aviju-page #aviju-filter-panel input[type="checkbox"]:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
body.aviju-page .aviju-sidebar input[type="checkbox"]:disabled,
body.aviju-page #aviju-filter-panel input[type="checkbox"]:disabled { opacity: .45; cursor: default; }

/* -- #177.2 right column: pay, then "Added X ago", then "Closes <date>", each on its own line -- */
@media (min-width: 768px) {
	body.aviju-page .aviju-card--row > .aviju-card__side > .aviju-card__posted > span:not(.aviju-card__dot) { display: block !important; white-space: normal !important; }
	body.aviju-page .aviju-card--row > .aviju-card__side > .aviju-card__posted > .aviju-card__dot { display: none !important; }
}

/* -- #186 (replaces #179.1) compact filter panel: desktop with a fine pointer only; touch keeps 44 px rows -- */
@media (min-width: 1024px) and (pointer: fine) {
	html body.aviju-page .aviju-desktop .aviju-sidebar { padding-top: 12px !important; }
	body.aviju-page .aviju-sidebar .aviju-sidebar__head { margin: 0 !important; }
	body.aviju-page .aviju-sidebar .aviju-sidebar__note { margin: 0 !important; line-height: 18px; }
	body.aviju-page .aviju-sidebar .aviju-facet { margin: 0 !important; padding: 8px 0 !important; }
	body.aviju-page .aviju-sidebar .aviju-sidebar__note + .aviju-facet,
	body.aviju-page .aviju-sidebar .aviju-facet:first-of-type { padding-top: 2px !important; }
	body.aviju-page .aviju-sidebar .aviju-facet__head { margin: 0 !important; }
	body.aviju-page .aviju-sidebar .aviju-facet__btn { min-height: 32px !important; height: 32px !important; }
	body.aviju-page .aviju-sidebar .aviju-facet__opts { gap: 0 !important; margin: 0 !important; padding: 0 !important; }
	body.aviju-page .aviju-sidebar .aviju-facet__opt {
		min-height: 26px !important; height: 26px !important; line-height: 26px !important; padding: 0 !important; margin: 0 !important; box-sizing: border-box;
	}
	body.aviju-page .aviju-sidebar .aviju-facet__opt .aviju-facet__label { font-size: 14px !important; line-height: 26px !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	body.aviju-page .aviju-sidebar .aviju-facet__opt .aviju-facet__count { font-size: 12px !important; line-height: 26px !important; }
	body.aviju-page .aviju-sidebar .aviju-facet__opt input[type="checkbox"] { width: 14px !important; height: 14px !important; min-width: 14px; border-radius: 3px; background-size: 10px 10px !important; }
	body.aviju-page .aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"] { width: 14px !important; height: 14px !important; min-width: 14px; border-width: 1.5px !important; margin-right: 10px !important; }
	body.aviju-page .aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"]:checked { background: radial-gradient(circle at center, var(--av-slate, #9fb1c8) 0 3.5px, transparent 4px) !important; }
	body.aviju-page .aviju-sidebar .aviju-facet__more { min-height: 24px !important; height: 24px !important; line-height: 24px !important; margin: 4px 0 0 !important; padding: 0 !important; display: inline-block; }
	body.aviju-page .aviju-sidebar .aviju-facet__find { height: 30px !important; margin: 2px 0 4px !important; }
	/* focus stays visible on the small rows */
	body.aviju-page .aviju-sidebar .aviju-facet__opt input:focus-visible { outline: 2px solid #4fc3f7 !important; outline-offset: 2px; }
}

/* -- #179.4 no initials tile -- */
body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo--initials { visibility: hidden !important; background: none !important; border: 0 !important; }
@media (max-width: 767px) {
	body.aviju-page .aviju-card .avi-jlogo--initials { display: none !important; }
}

/* -- #180.1 + .2 the filter panel (≥ 1100 px, where the filters are a column; 768-1099 keeps its drawer) -- */
@media (min-width: 1100px) {
	body.aviju-page .aviju-desktop { column-gap: 16px !important; }
	body.aviju-page .aviju-desktop .aviju-cards { border-right: 0 !important; border-left: 0 !important; }
	body.aviju-page .aviju-desktop .aviju-sidebar {
		position: sticky !important; top: 56px !important; align-self: start !important;
		height: calc(100vh - 56px) !important; max-height: none !important; box-sizing: border-box;
		margin: 0 !important; padding: 16px 12px 16px 16px !important;
		background: #0f1f36 !important; border: 1px solid var(--av-border-teal-2, rgba(79, 179, 217, .22)) !important; border-radius: 8px !important; box-shadow: none !important;
		overflow-y: scroll !important; overscroll-behavior: contain;
		scrollbar-width: thin; scrollbar-color: #9fb1c8 #08121f;
	}
	body.aviju-page .aviju-desktop .aviju-sidebar::-webkit-scrollbar { width: 8px; }
	body.aviju-page .aviju-desktop .aviju-sidebar::-webkit-scrollbar-track { background: #08121f; border-radius: 8px; }
	body.aviju-page .aviju-desktop .aviju-sidebar::-webkit-scrollbar-thumb { background: #9fb1c8; border-radius: 8px; border: 2px solid #08121f; }
}

/* -- #180.3 logos straight on the row: no tile, at most 96 x 64, natural shape -- */
@media (min-width: 768px) {
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row { grid-template-columns: 96px minmax(0, 1fr) 230px !important; }
	body.aviju-page .aviju-card--row > .aviju-card__logo { width: 96px !important; height: 64px !important; display: flex !important; align-items: center; justify-content: center; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo,
	body.aviju-page .aviju-card--row > .aviju-card__logo .aviju-card__sclogo {
		display: flex; align-items: center; justify-content: center; width: 96px !important; height: 64px !important;
		padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	}
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo > img,
	body.aviju-page .aviju-card--row > .aviju-card__logo img.aviju-card__sclogo {
		width: auto !important; height: auto !important; max-width: 96px !important; max-height: 64px !important; object-fit: contain; background: none !important;
	}
}
@media (min-width: 768px) and (max-width: 1099px) {
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row { grid-template-columns: 96px minmax(0, 1fr) 180px !important; }
}

/* ==========================================================================
   Logos (owner INBOX #181, 2026-10-26): a logo flagged 'logo_tile' => 'white' in the logo data (a dark mark on a
   transparent file) gets a white rounded tile (6 px corners, 6 px padding) on the board rows; every other logo stays
   box-free (#180). The job page reads the same flag (single-avi_job.php).
   ========================================================================== */
@media (min-width: 768px) {
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo.avi-jlogo--tile {
		width: auto !important; height: auto !important; max-width: 96px; max-height: 64px; box-sizing: border-box;
		padding: 6px !important; background: #fff !important; border-radius: 6px !important;
	}
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo.avi-jlogo--tile > img { max-width: 84px !important; max-height: 52px !important; }
}

/* Row logos (owner INBOX #185): a definite width, so a logo file with only a viewBox (no width / height, e.g.
   de-havilland-aircraft-of-canada.svg) is not shrunk to nothing by width:auto; contain keeps its shape. */
@media (min-width: 768px) {
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo > img,
	body.aviju-page .aviju-card--row > .aviju-card__logo img.aviju-card__sclogo { width: 96px !important; height: auto !important; max-height: 64px !important; object-fit: contain; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo.avi-jlogo--tile > img { width: 84px !important; max-width: 84px !important; max-height: 52px !important; }
}

/* ==========================================================================
   Quieter pills (owner INBOX #189, 2026-10-26): text #B6C4D6 (8.9:1 on the fill), border 1 px #2A4365, fill #12233D, no
   glow; links get a #9FB1C8 border on hover. Job page 13 px, 4 px 10 px, 6 px corners, 6 px gap; board cards 12 px, 3 px 8 px.
   ("Also in" is a line of text links, not pills: unchanged.)
   ========================================================================== */
body.single-avi_job .avijs-chip,
body.single-avi_job .avijs-chips .avijs-chip,
body.single-avi_job a.avijs-chip {
	color: #b6c4d6 !important; background: #12233d !important; border: 1px solid #2a4365 !important; box-shadow: none !important; text-shadow: none !important;
	font-size: 13px !important; line-height: 18px !important; font-weight: 600; padding: 4px 10px !important; border-radius: 6px !important;
}
body.single-avi_job .avijs-chips { gap: 6px !important; }
body.single-avi_job a.avijs-chip:hover, body.single-avi_job a.avijs-chip:focus-visible,
body.single-avi_job .avijs-chip--req:hover, body.single-avi_job .avijs-chip--req:focus-visible { border-color: #9fb1c8 !important; color: #b6c4d6 !important; background: #12233d !important; }
body.aviju-page .aviju-card__chip,
body.aviju-page .aviju-card--row .aviju-card__chip,
body.single-avi_job .avijs-related .aviju-card__chip {
	color: #b6c4d6 !important; background: #12233d !important; border: 1px solid #2a4365 !important; box-shadow: none !important; text-shadow: none !important;
	font-size: 12px !important; line-height: 16px !important; padding: 3px 8px !important; border-radius: 6px !important;
}
body.aviju-page .aviju-card--row .aviju-card__chips { height: 24px !important; gap: 6px !important; }

/* ==========================================================================
   Filter groups (owner INBOX #190): no count badge on the group headers ("Filters (n)" at the top stays); the box /
   circle is 8 px from its label in every group, so all labels start at the same x.
   ========================================================================== */
body.aviju-page .aviju-sidebar .aviju-facet__badge,
body.aviju-page #aviju-filter-panel .aviju-facet__badge { display: none !important; }
body.aviju-page .aviju-sidebar .aviju-facet__opt input[type="checkbox"],
body.aviju-page .aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"] { margin: 0 8px 0 0 !important; }
body.aviju-page .aviju-sidebar .aviju-facet__opt > .aviju-facet__label { margin-left: 0 !important; padding-left: 0 !important; }

/* ==========================================================================
   Filter groups (owner INBOX #191): 0-count rows hidden unless unticked; a role's group with nothing to show is hidden;
   "All · None" on each group header (small slate text links).
   ========================================================================== */
body.aviju-page .aviju-facet__opt.is-zero,
body.aviju-page #aviju-filter-panel .aviju-facet__opt.is-zero { display: none !important; }
body.aviju-page .aviju-facet.is-nothing { display: none !important; }
body.aviju-page .aviju-facet__head { display: flex; align-items: center; gap: 8px; }
body.aviju-page .aviju-facet__head .aviju-facet__btn { flex: 1 1 auto; min-width: 0; }
body.aviju-page .aviju-facet__allnone { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 2px; font-size: 12px; color: #6f839c; }
body.aviju-page .aviju-facet__allnone button {
	min-height: 0 !important; min-width: 0 !important; height: auto !important; margin: 0 !important; padding: 2px 2px !important;
	background: none !important; border: 0 !important; box-shadow: none !important; cursor: pointer;
	font: 600 12px/1.2 'DM Sans', sans-serif !important; letter-spacing: 0; text-transform: none; color: #9fb1c8 !important;
}
body.aviju-page .aviju-facet__allnone button:hover { color: #e8a020 !important; }
body.aviju-page .aviju-facet__allnone button:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 1px; }
body.aviju-page .aviju-facet.is-closed .aviju-facet__allnone { display: none; }
@media (pointer: coarse) { body.aviju-page .aviju-facet__allnone button { min-height: 44px !important; padding: 0 6px !important; } }

/* Owner INBOX #193: no count badge on any filter group header (Role included), in every container. */
body.aviju-page .aviju-facet__badge, .aviju-facet__head .aviju-facet__badge { display: none !important; }

/* Owner INBOX #192: while auto-load is armed the "Load more jobs" button is hidden (the "Showing N of M" line stays and
   the link stays in the HTML for crawlers); 2 grey rows show while the next page is drawn. */
body.aviju-page .aviju-pager--more.is-auto .aviju-loadmore { display: none !important; }
body.aviju-page .aviju-autoskel { display: grid; gap: 12px; padding: 12px 24px; }
body.aviju-page .aviju-autoskel .aviju-skel--card { height: 116px; border-radius: 8px; }

/* Owner INBOX #203: the panel's height follows the screen (max-height set by the script), the wheel passes to the page
   at the panel's ends. (Its "Resume your last search" chip was removed 2026-11-04, owner INBOX #518.) */
@media (min-width: 1100px) {
	html body.aviju-page .aviju-desktop .aviju-sidebar { height: auto !important; max-height: calc(100vh - 72px); overscroll-behavior: auto !important; }
}
/* Owner INBOX #491: the one quiet line after the board restored the visitor's last search (~5 s, or until they act). */
body.aviju-page .aviju-remembered { display: flex; align-items: center; gap: 6px; margin: 4px 0 10px; color: #94a7be; font: 400 13px/1.4 'DM Sans', sans-serif; transition: opacity .3s ease; }
body.aviju-page .aviju-remembered.is-leaving { opacity: 0; }
body.aviju-page .aviju-remembered__dot { color: #5d7390; }
body.aviju-page .aviju-remembered__clear { background: none !important; border: 0 !important; box-shadow: none !important; padding: 6px 4px; min-height: 28px; color: #e8a020; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
body.aviju-page .aviju-remembered__clear:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 1px; border-radius: 4px; }
@media (max-width: 767px) { body.aviju-page .aviju-remembered { margin: 4px 16px 10px; } }
@media (prefers-reduced-motion: reduce) { body.aviju-page .aviju-remembered { transition: none; } }
/* Owner INBOX #524: a search with filters that finds nothing: "Show all N" (gold) + "Clear search" (navy), the shared
   soft-lift buttons (avs-buttons.css) side by side; the "Email me new matches" card is hidden while a search finds nothing. */
body.aviju-page .aviju-empty__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 8px 0 4px; }
body.aviju-q-none [data-avi-ba-card], body.aviju-q-none .aviju-sidebar__alert-section, body.aviju-q-none .avim-acu-divider { display: none !important; }
/* #524: the line above the list shows the active filters as chips on phones AND desktop while filters are on (it was
   hidden at both widths since 2026-10-13: "the filter panel is on screen"; owner 2026-11-04: a remembered filter must be
   visible next to the results). Without filters it stays hidden as before. Chips keep the chip look (the line's links are teal). */
html body.aviju-page .aviju-seekerbar.has-chips, html body.aviju-page .avijl-main .aviju-seekerbar.has-chips { display: flex !important; }
html body.aviju-page .aviju-seekerbar .aviju-chip { color: var(--avij-text-primary, #e8eef5); }

/* Owner INBOX #194: the "Featured" tag on a paid featured row: slate text, 1 px border, no glow. */
body.aviju-page .aviju-card__ftag { display: inline-block; margin: 0 0 4px; padding: 1px 6px; border: 1px solid #9fb1c8; border-radius: 4px;
	font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #9fb1c8; background: none; box-shadow: none; }

/* ==========================================================================
   Job page source button (owner INBOX #255, 2026-11-01; replaces the #215 label above it): the button says what you
   do ("Apply now" / "Apply on <Employer>'s site", wraps to 2 lines for a long name, never cut off); a small line
   under it says where ("on <Employer>'s careers page" / "Find this job on their careers page"), then "Last checked".
   Direct posts: "Apply now", no line.
   ========================================================================== */
body.single-avi_job .avijs-card .avijs-apply-cta-card__where {
	margin: 8px 0 0; text-align: center; font-size: 14px; line-height: 1.35; color: var(--av-text, #e8eef5);
}
body.single-avi_job .avijs-card .avijs-apply-cta-card__where + .avijs-apply-cta-card__checked { margin-top: 2px; }
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src],
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src] .avijs-apply-cta-card__btn-text,
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src] .avijs-apply-cta-card__btn-text * { white-space: normal !important; }

/* ==========================================================================
   Employer card (owner INBOX #216, 2026-10-27, updates #201): "COMPANY PROFILE" label (the #215 label style), logo,
   name, facts, an outline "View profile" button; the whole card is one link to our operator page with a slate
   border on hover / keyboard focus. "<Short> pilot pay" = a small text link under it, outside the card's link.
   ========================================================================== */
body.single-avi_job .avijs-empcard { padding: 0; overflow: hidden; transition: border-color .15s ease; }
body.single-avi_job .avijs-empcard__main { display: block; padding: 16px; color: inherit; text-decoration: none; border-radius: 8px; }
body.single-avi_job .avijs-empcard__main:hover,
body.single-avi_job .avijs-empcard__main:focus,
body.single-avi_job .avijs-empcard__main:visited { color: inherit; text-decoration: none; outline: none; }
body.single-avi_job .avijs-empcard:has(.avijs-empcard__main:hover),
body.single-avi_job .avijs-empcard:has(.avijs-empcard__main:focus-visible) { border-color: #9fb1c8; }
body.single-avi_job .avijs-empcard__main:focus-visible { box-shadow: inset 0 0 0 1px #9fb1c8; }
body.single-avi_job .avijs-empcard__kicker {
	display: block; margin: 0 0 10px; font: 500 12px/1.3 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	letter-spacing: .08em; text-transform: uppercase; color: var(--av-slate, #9fb1c8);
}
body.single-avi_job .avijs-empcard__main .avijs-empcard__logo { display: flex; width: max-content; }
body.single-avi_job .avijs-empcard__main .avijs-empcard__name { display: block; }
body.single-avi_job .avijs-empcard__main .avijs-empcard__facts { display: block; margin: 0; }
body.single-avi_job .avijs-empcard__btn {
	display: block; margin: 14px 0 0; padding: 10px 14px; box-sizing: border-box; width: 100%; text-align: center;
	border: 1px solid #9fb1c8; border-radius: 8px; background: transparent; color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3;
}
body.single-avi_job .avijs-empcard__main:hover .avijs-empcard__btn { background: rgba(255, 255, 255, .06); }
body.single-avi_job .avijs-empcard__pay { margin: -4px 16px 14px; font-size: 13px; text-align: center; }
body.single-avi_job .avijs-empcard__pay a { color: #9fb1c8; text-decoration: underline; text-underline-offset: 2px; }
body.single-avi_job .avijs-empcard__pay a:hover { color: #e8a020; }
body.single-avi_job .avijs-empcard__pay a:focus { outline: none; }
body.single-avi_job .avijs-empcard__pay a:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; border-radius: 2px; }

/* ==========================================================================
   Very wide logos (owner INBOX #209, 2026-10-26): a logo file wider than 4:1 (inc/avi-job-card-logo.php
   avi_logo_is_wide(), class avi-jlogo--wide, board JSON employerLogoWide) gets a 128 px slot on the board rows. The
   logo column is 128 px on every row so titles stay lined up; other logos keep their 96 x 64 box, centred.
   Phone cards: the wide logo's tile is 88 x 26 (image 80 x 20) instead of 56 x 26.
   ========================================================================== */
@media (min-width: 768px) {
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row { grid-template-columns: 128px minmax(0, 1fr) 230px !important; }
	body.aviju-page .aviju-card--row > .aviju-card__logo { width: 128px !important; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo.avi-jlogo--wide { width: 128px !important; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo.avi-jlogo--wide > img { width: 128px !important; max-width: 128px !important; max-height: 64px !important; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo.avi-jlogo--tile.avi-jlogo--wide { max-width: 128px; }
	body.aviju-page .aviju-card--row > .aviju-card__logo .avi-jlogo.avi-jlogo--tile.avi-jlogo--wide > img { width: 116px !important; max-width: 116px !important; max-height: 52px !important; }
}
@media (min-width: 768px) and (max-width: 1099px) {
	body.aviju-page .aviju-desktop .aviju-cards__list a.aviju-card.aviju-card--row { grid-template-columns: 128px minmax(0, 1fr) 180px !important; }
}
@media (max-width: 767px) {
	body.aviju-page .aviju-card .avi-jlogo.avi-jlogo--wide { width: 88px; }
	body.aviju-page .aviju-card .avi-jlogo.avi-jlogo--wide > img { width: 80px; }
}

/* ==========================================================================
   Phone filter drawer + job page phone bar (owner INBOX #223, 2026-10-28)
   ========================================================================== */
/* 1. close: a clear 44 x 44 button, same at rest and on focus; ring for keyboard only */
body.aviju-page #aviju-filter-panel .aviju-filter-panel__header { display: flex; align-items: center; gap: 8px; }
body.aviju-page #aviju-filter-panel .aviju-filter-panel__close,
body.aviju-page #aviju-filter-panel .aviju-filter-panel__close:hover,
body.aviju-page #aviju-filter-panel .aviju-filter-panel__close:focus,
body.aviju-page #aviju-filter-panel .aviju-filter-panel__close:active {
	margin-left: auto; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center;
	background: #0f2238; border: 1px solid #2A4365; border-radius: 8px; color: #fff; box-shadow: none; outline: none;
}
body.aviju-page #aviju-filter-panel .aviju-filter-panel__close:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
body.aviju-page #aviju-filter-panel .aviju-filter-panel__close svg { width: 20px; height: 20px; color: #fff; stroke: #fff; }
/* 3. "Clear all" next to the title, like desktop */
body.aviju-page #aviju-filter-panel .aviju-filter-panel__dot { color: var(--av-text-muted, #6f839c); }
body.aviju-page #aviju-filter-panel .aviju-filter-panel__clear {
	min-height: 32px; min-width: 0; margin: 0; padding: 4px 2px; background: none; border: 0; box-shadow: none; cursor: pointer;
	font: 600 14px/1.2 'DM Sans', sans-serif; color: var(--av-teal-light, #7fd0ec); text-decoration: underline; text-underline-offset: 2px;
}
body.aviju-page #aviju-filter-panel .aviju-filter-panel__clear:disabled { color: var(--av-text-muted, #6f839c); text-decoration: none; cursor: default; opacity: .7; }
body.aviju-page #aviju-filter-panel .aviju-filter-panel__clear:focus { outline: none; }
body.aviju-page #aviju-filter-panel .aviju-filter-panel__clear:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
/* 3. the last box ("Email me new matches") scrolls fully clear of the sticky "Show N jobs" bar */
body.aviju-page #aviju-filter-panel .aviju-filter-panel__content { padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important; }
/* 2. "Show N jobs" = the amber action button */
body.aviju-page #aviju-filter-panel .aviju-filter-panel__save,
body.aviju-page #aviju-filter-panel .aviju-filter-panel__save:focus {
	background: #E8A020 !important; background-image: none !important; color: #0a1628 !important; border: 0 !important; box-shadow: none !important; filter: none !important;
}
body.aviju-page #aviju-filter-panel .aviju-filter-panel__save:hover { background: #f0b23a !important; color: #0a1628 !important; }
body.aviju-page #aviju-filter-panel .aviju-filter-panel__save:focus-visible { outline: 2px solid #e8eef5; outline-offset: 3px; }
/* 4. every list = plain checkbox rows like desktop / Role, 44 px tap rows (were pills with a bar) */
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opts { display: block; }
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt,
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked),
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:not(:has(input:checked)) {
	display: flex; align-items: center; gap: 0; min-height: 44px; margin: 0; padding: 0;
	border: 0 !important; border-radius: 0; background: none !important; opacity: 1 !important;
}
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt input[type="checkbox"] {
	position: static; opacity: 1; width: 18px; height: 18px; min-width: 18px; margin: 0 12px 0 0; flex: none;
}
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__label,
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked) .aviju-facet__label { flex: 1; color: #e8eef5; font-size: 15px; font-weight: 400; }
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked) .aviju-facet__label::before,
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__label::before { content: none; }
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__count,
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:checked) .aviju-facet__count { color: #94a7be; font-size: 14px; font-weight: 400; }
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:focus-visible) { outline: none; }
body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt input[type="checkbox"]:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 2px; }
body.aviju-page #aviju-filter-panel .aviju-facet[data-facet="profession"] .aviju-facet__opt { min-height: 44px; }
/* 5. job page phone bar: amber, navy text (same text as the card button) */
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[class],
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[class]:visited {
	background: #e8a020; background-image: none; color: #0a1628; border: 1px solid #e8a020; box-shadow: none; filter: none;
}
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[class]:hover { background: #f0b23a; border-color: #f0b23a; color: #0a1628; filter: none; }
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[class] * { color: inherit; }
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[class]:focus-visible { outline: 2px solid #e8eef5; outline-offset: 3px; }

/* ==========================================================================
   Phone Sort sheet (owner INBOX #225, 2026-10-28): the #223 drawer close button, 16 px + safe-area bottom padding,
   navy backdrop at 70% (tap it or press Esc to close, as before).
   ========================================================================== */
.aviju-sortsheet .aviju-sortsheet__scrim { background: rgba(10, 22, 40, .7); }
.aviju-sortsheet .aviju-sortsheet__panel { padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important; }
.aviju-sortsheet .aviju-sortsheet__close,
.aviju-sortsheet .aviju-sortsheet__close:hover,
.aviju-sortsheet .aviju-sortsheet__close:focus,
.aviju-sortsheet .aviju-sortsheet__close:active {
	width: 44px !important; height: 44px !important; min-width: 44px; min-height: 44px; padding: 0 !important; margin: 0; box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center; font-size: 0; line-height: 0;
	background: #0f2238 !important; border: 1px solid #2A4365 !important; border-radius: 8px !important; color: #fff !important; box-shadow: none !important; outline: none;
}
.aviju-sortsheet .aviju-sortsheet__close svg { width: 20px; height: 20px; color: #fff; stroke: #fff; flex: none; }
.aviju-sortsheet .aviju-sortsheet__close:focus-visible { outline: 2px solid #4fc3f7 !important; outline-offset: 2px; }

/* ==========================================================================
   Job page apply button, two lines + arrow (owner INBOX #261, 2026-11-01; replaces #255): flat amber; line 1 bold
   ("Apply now" / "Apply on their site"), line 2 smaller ("<Employer> careers page"), a decorative arrow on the right.
   Jobs posted with us keep the one-line "Apply now" (no [data-avi-src]). Phone bar: the same, or line 1 + arrow when
   line 2 would not fit on one line (.is-short, set by the job page script).
   ========================================================================== */
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src],
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[class][data-avi-src] {
	display: grid !important; grid-template-columns: 20px minmax(0, 1fr) 20px; align-items: center; column-gap: 8px;
	background: #e8a020 !important; background-image: none !important; color: #0a1628; text-align: center;
	white-space: normal !important; padding: 10px 14px !important; min-height: 56px; height: auto;
}
body.single-avi_job .avijs-card a.avijs-apply-cta-card__btn[data-avi-src]::before,
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[class][data-avi-src]::before { content: ""; }
body.single-avi_job .avijs-apply2 { display: flex !important; flex-direction: column; align-items: center; min-width: 0; }
body.single-avi_job .avijs-apply2 .avijs-apply2__l1 { display: block !important; font-weight: 700; font-size: 18px; line-height: 1.2; }
body.single-avi_job .avijs-apply2 .avijs-apply2__l2 { display: block !important; font-weight: 600; font-size: 13.5px; line-height: 1.25; margin-top: 2px; overflow-wrap: anywhere; }
body.single-avi_job .avijs-apply2__arrow { font-size: 20px; line-height: 1; font-weight: 700; justify-self: end; }
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[data-avi-src] .avijs-apply2 .avijs-apply2__l1 { font-size: 16px; }
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[data-avi-src] .avijs-apply2 .avijs-apply2__l2 { font-size: 13px; white-space: nowrap; overflow: hidden; max-width: 100%; }
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[data-avi-src].is-short .avijs-apply2__l2 { display: none !important; }
body.single-avi_job .avijs-mbar a.avijs-mbar__apply[data-avi-src].is-short { min-height: 48px; }

/* ==========================================================================
   Board filter links in amber (owner INBOX #269, 2026-11-01): "Show all N" / "Show fewer" and "All · None" (desktop
   sidebar = the 768-1099 px drawer, and the phone filter sheet) were light blue / slate; now the site amber
   (--av-gold #e9a53a: 7.8:1 on the filter background #0f1f36, 8.6:1 on the phone sheet #0a1628; hover #f5c063 9.9:1), lighter amber on hover / keyboard focus like the
   site's other amber links, underlined. Checkboxes unchanged.
   ========================================================================== */
body.aviju-page .aviju-facet__more,
body.aviju-page .aviju-sidebar .aviju-facet__more,
body.aviju-page .aviju-facet__allnone button { color: var(--av-gold, #e9a53a) !important; }
body.aviju-page .aviju-facet__allnone button { text-decoration: underline; text-underline-offset: 2px; }
body.aviju-page .aviju-facet__more:hover,
body.aviju-page .aviju-facet__more:focus-visible,
body.aviju-page .aviju-sidebar .aviju-facet__more:hover,
body.aviju-page .aviju-sidebar .aviju-facet__more:focus-visible,
body.aviju-page .aviju-facet__allnone button:hover,
body.aviju-page .aviju-facet__allnone button:focus-visible { color: #f5c063 !important; text-decoration-thickness: 2px; }

/* ==========================================================================
   Filter groups (owner INBOX #423, 2026-11-03: phone sheet; #428: the desktop sidebar too, same rules, same order).
   - One header style for every group (Role, Province, Aircraft type, ...): DM Sans 700 12px caps, text-muted, the
     collapse arrow at the far right. "All · None" sits just left of the arrow (it used to push the arrow inwards).
   - Option rows 44 px apart (the minimum tap height), no extra gap between rows.
   - "All · None": neutral light grey quiet links (text-secondary #94a7be, white-ish text-primary on hover / focus),
     not gold: the gold "Show N jobs" button stays the one primary. 44 x 44 px tap targets.
   ========================================================================== */
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__head { position: relative; display: flex; align-items: center; margin: 0; padding: 0; }
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__head .aviju-facet__btn {
	flex: 1 1 auto; width: 100%; min-height: 44px !important; height: 44px !important; margin: 0; padding: 0;
	font: 700 12px/1.2 'DM Sans', sans-serif !important; letter-spacing: .08em; text-transform: uppercase; color: var(--av-text-muted) !important;
}
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__head .aviju-facet__btn:hover { color: var(--av-text-strong) !important; }
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__name { font: inherit !important; letter-spacing: inherit; text-transform: inherit; color: inherit !important; }
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__chev { display: block; flex: 0 0 auto; margin-left: auto; color: inherit; }
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__allnone {
	position: absolute; top: 0; right: 24px; bottom: 0; z-index: 1;
	display: inline-flex; align-items: center; gap: 0; font-size: 13px; color: #7d93ad;
}
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet.is-closed .aviju-facet__allnone { display: none; }
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__allnone button {
	min-width: 44px !important; min-height: 44px !important; padding: 0 6px !important; justify-content: center;
	font: 600 13px/1.2 'DM Sans', sans-serif !important; color: #94a7be !important; text-decoration: none !important;
}
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__allnone .aviju-facet__all { display: inline-flex; align-items: center; justify-content: flex-end; padding: 0 4px 0 0 !important; }
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__allnone .aviju-facet__none { display: inline-flex; align-items: center; justify-content: flex-start; padding: 0 0 0 4px !important; }
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__allnone button:hover,
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__allnone button:focus-visible { color: #e8eef5 !important; text-decoration: none !important; }
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet .aviju-facet__opts { gap: 0 !important; }
body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet .aviju-facet__opt {
	min-height: 44px !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
}
/* #428.2: the board has no header site search (page-aviation-jobs-unified.php), whose auto margin kept "Post a Job" at
   the right: the header's right group takes that margin instead (logo left · Post a Job + menu right). */
@media (min-width: 1024px) {
	body.aviju-page .avijl-header > .avijl-header-right { margin-left: auto; }
}
/* #428.4: desktop (>= 1100 px, where the filters are a column) — no inner scroll box: the column scrolls with the page,
   whatever its groups' length (was sticky with its own scrollbar). The 768-1099 px drawer keeps its own scroll. */
@media (min-width: 1100px) {
	html body.aviju-page .aviju-desktop .aviju-sidebar {
		position: relative !important; top: auto !important; height: auto !important; max-height: none !important;
		overflow: visible !important; overscroll-behavior: auto !important;
	}
}
/* #429: "Clear all" and "Show all N" / "Show fewer" in the same neutral grey as All · None (sidebar + phone sheet; were gold
   underlined, #269), 44 px tall targets; disabled "Clear all" stays dimmed; focus rings unchanged. */
html body.aviju-page :is(.aviju-sidebar .aviju-sidebar__clear, #aviju-filter-panel .aviju-filter-panel__clear, .aviju-sidebar .aviju-facet__more, #aviju-filter-panel .aviju-facet__more) {
	display: inline-flex !important; align-items: center; min-height: 44px !important; height: auto !important; line-height: 1.2 !important;
	color: #94a7be !important; text-decoration: none !important;
}
html body.aviju-page :is(.aviju-sidebar .aviju-sidebar__clear, #aviju-filter-panel .aviju-filter-panel__clear):disabled { color: #7d93ad !important; opacity: .7; }
html body.aviju-page :is(.aviju-sidebar .aviju-sidebar__clear, #aviju-filter-panel .aviju-filter-panel__clear, .aviju-sidebar .aviju-facet__more, #aviju-filter-panel .aviju-facet__more):not(:disabled):is(:hover, :focus-visible) {
	color: #e8eef5 !important; text-decoration: none !important;
}
/* "Show all N" stays hidden while its group is closed or being searched (the rule above must not bring it back) */
html body.aviju-page :is(.aviju-sidebar, #aviju-filter-panel) :is(.aviju-facet.is-closed, .aviju-facet.is-finding) .aviju-facet__more { display: none !important; }
/* the phone "Clear all" is also coloured by avi-links-amber.css (loaded last, same weight): one element more wins */
html body.aviju-page #aviju-filter-panel button.aviju-filter-panel__clear { color: #94a7be !important; text-decoration: none !important; }
html body.aviju-page #aviju-filter-panel button.aviju-filter-panel__clear:disabled { color: #7d93ad !important; }
/* #535 a11y: the disabled "Clear all" (nothing to clear) was #7d93ad at opacity .7 = ~3.4:1 on the navy panel; full opacity keeps it
   #7d93ad (~5.7:1) and still reads quieter than the live #94a7be state */
html body.aviju-page :is(.aviju-sidebar .aviju-sidebar__clear, #aviju-filter-panel .aviju-filter-panel__clear):disabled { opacity: 1 !important; background: transparent !important; }
html body.aviju-page #aviju-filter-panel button.aviju-filter-panel__clear:not(:disabled):is(:hover, :focus-visible) { color: #e8eef5 !important; text-decoration: none !important; }
/* Owner INBOX #431 / #423 add-on (2026-11-03 21:26Z): tighter filter rows, desktop sidebar + phone sheet (overrides the
   44 px of #423 / #428 / #429): option rows 36 px, group headers 40 px (All · None 40 x 40 inside them), "Show all N" and
   "Clear all" 36 px; no extra space between a header and its first row. */
html body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet .aviju-facet__opt { min-height: 36px !important; height: auto !important; }
html body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__head .aviju-facet__btn { min-height: 40px !important; height: 40px !important; }
html body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__allnone button { min-width: 40px !important; min-height: 40px !important; }
html body.aviju-page :is(.aviju-sidebar .aviju-sidebar__clear, #aviju-filter-panel .aviju-filter-panel__clear, .aviju-sidebar .aviju-facet__more, #aviju-filter-panel .aviju-facet__more) { min-height: 36px !important; }
html body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__head + .aviju-facet__opts,
html body.aviju-page :is(#aviju-filter-panel, .aviju-sidebar) .aviju-facet__head + .aviju-sr-only + .aviju-facet__opts { margin-top: 0 !important; padding-top: 0 !important; }
/* Owner INBOX #431 / #428 add-on (2026-11-03 21:30Z): the desktop jobs board stays full width as on prod (#168: title row,
   filters + list and the browse block across the window, 24 px gutters), not in the 1200 px site container. Guards against
   the staging-only #408.6 / #411.2 container rules (never shipped); other pages keep --site-max 1200. Phones unchanged. */
@media (min-width: 768px) {
	html body.aviju-page main.avijl-main .aviju-desktop,
	html body.aviju-page main.avijl-main > .avijl-hero {
		max-width: none !important; margin-left: 0 !important; margin-right: 0 !important;
		padding-left: 24px !important; padding-right: 24px !important;
	}
	html body.aviju-page .avi-browse .avi-browse__wrap { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 24px !important; padding-right: 24px !important; }
}

/* ==========================================================================
   Desktop filters, design A "raised panel" (owner INBOX #440, 2026-11-03; spec filters-440/spec/project/Filters-A.dc.html)
   >= 1100 px only (the filter column); the 768-1099 drawer and the phone sheet are unchanged. Chris's overrides: role rows
   32 px (mouse; #440 add-on, spec 42), group rows 44 px (spec 52), 8 px between a group label and its first row, board
   wide: 300 px filters + 32 px gap + results. Behaviour, URLs, counts, keyboard and aria unchanged (styling + a value label).
   ========================================================================== */
.aviju-facet__val { display: none; }
/* #441 add-on: on phones no count line under a role page's H1 (the count shows with the results) */
@media (max-width: 767px) { html body.aviju-page .avi-lb-hero .avi-lb-line { display: none !important; } }
/* #446.2 (Claude review): phones: the board heading keeps 16 px side space (the cards keep their 8 px gutter) and wraps
   to two balanced lines instead of shrinking (font size unchanged). Role-page H1s already sit 32 px in. */
@media (max-width: 767px) {
	html body.aviju-page main.avijl-main > .avijl-hero .avijl-hero__headline { padding-left: 8px !important; padding-right: 8px !important; box-sizing: border-box; text-wrap: balance; }
}
/* #441 add-on (21:59Z): phones: 8 px from the board search bar to the first job card (the card rhythm); was 12 px + 16 px
   (board) / 4 px (role pages) of list padding */
@media (max-width: 767px) {
	html body.aviju-page main.avijl-main .aviju-kw--mobile { margin-bottom: 8px !important; }
	html body.aviju-page main.avijl-main .aviju-mobile-list { padding-top: 0 !important; margin-top: 0 !important; }
}

/* ==========================================================================
   Phone filter sheet, design A (owner INBOX #440 add-on 21:53Z): the desktop "raised panel" look in the sheet. Rows 36 px,
   group headers 40 px (#431); sticky gold "Show N jobs" kept (the one primary); open / close, focus and aria unchanged.
   ========================================================================== */
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-filter-panel__header { border-bottom: 1px solid #1f3354; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-filter-panel__title { font: 400 24px/1 'Bebas Neue', sans-serif !important; letter-spacing: .08em !important; color: #e8a020 !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-filter-panel__dot { display: none !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel button.aviju-filter-panel__clear { margin-left: auto; font: 400 13px/1.2 'DM Sans', sans-serif !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-filter-panel__close { margin-left: 12px; }
/* the groups in one raised panel */
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel { margin: 16px 0 0; } /* surface = .avi-fpanel (avi-filter-panel.css) */
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet { margin: 0 !important; padding: 0 12px !important; border: 0 !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet + .aviju-facet { border-top: 1px solid var(--avi-fp-divider) !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet:not(.is-closed) { padding-bottom: 8px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__head { padding: 0 8px; }
/* mono caps labels; value + arrow on the right */
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__head .aviju-facet__btn {
	font: var(--avi-fp-label-font) !important; letter-spacing: var(--avi-fp-label-ls) !important; text-transform: uppercase; color: var(--avi-fp-label) !important;
}
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__chev { width: 14px; height: 14px; color: #7d93ad; transform: rotate(180deg); }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet.is-closed .aviju-facet__chev { transform: rotate(-90deg); }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__val {
	display: inline; margin-left: auto; font: 400 13px/1 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none; color: #7d93ad;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 45vw;
}
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__val + .aviju-facet__chev { margin-left: 10px; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet:not(.is-closed) .aviju-facet__val { display: none; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet:not(.is-closed) .aviju-facet__val + .aviju-facet__chev { margin-left: auto; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__allnone { right: 30px !important; }
/* rows: 36 px, 8 px side padding, 8 px corners */
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet .aviju-facet__opt {
	min-height: 36px !important; gap: 12px; padding: 0 8px !important; border: 0 !important; border-radius: 8px; background: none !important; box-sizing: border-box;
}
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt .aviju-facet__label { font: 400 15px/1.25 'DM Sans', sans-serif !important; color: #cfd9e5 !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt .aviju-facet__label::before { content: none !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt .aviju-facet__count { font: var(--avi-fp-count-font) !important; color: var(--avi-fp-count) !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt:has(input:checked) .aviju-facet__label { color: #ffffff !important; }
/* Role, selected: gold tint, white 600 label, gold count */
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet[data-facet="profession"] { padding-top: 8px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet[data-facet="profession"] .aviju-facet__opt:has(input:checked) { background: rgba(232, 160, 32, .09) !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet[data-facet="profession"] .aviju-facet__opt:has(input:checked) .aviju-facet__label { font-weight: 600 !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet[data-facet="profession"] .aviju-facet__opt:has(input:checked) .aviju-facet__count { color: #e8a020 !important; }
/* square boxes everywhere (the role radios too): 18 px, 1.5 px #3a5784; selected = gold fill + navy tick */
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input[type="checkbox"],
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input[type="radio"] {
	-webkit-appearance: none !important; appearance: none !important; position: static !important; opacity: 1 !important;
	flex: 0 0 18px; width: 18px !important; height: 18px !important; min-width: 18px; margin: 0 !important; padding: 0 !important; box-sizing: border-box;
	border-radius: 5px !important; border: 1.5px solid var(--avi-fp-box-border) !important; background: transparent none !important; box-shadow: none !important;
}
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input[type="checkbox"]:checked,
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input[type="radio"]:checked {
	border: 1px solid #e8a020 !important; box-shadow: none !important;
	background: #e8a020 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23060f1e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px 12px no-repeat !important;
}
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input:focus-visible { outline: 2px solid #4fc3f7 !important; outline-offset: 2px; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input:disabled { opacity: .45 !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt:has(input:focus-visible) { outline: none !important; }
/* "Email me new matches": its own small raised card below the panel */
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-panel-alert { margin: 16px 0 8px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-panel-alert .avi-ba-toggle {
	gap: 14px !important; padding: 16px 18px !important; border-radius: 12px !important;
	background: linear-gradient(to bottom, #14294b, #0c1a30 70%) !important; border: 1px solid #071224 !important; border-top-color: #2a4470 !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 10px 24px rgba(0, 0, 0, .5) !important;
}
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-panel-alert .avi-ba-toggle__icon { color: #e8a020 !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-panel-alert .avi-ba-toggle__title { font-size: 15px !important; font-weight: 700; color: #e8eef5 !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-panel-alert .avi-ba-toggle__sub { font-size: 13px !important; color: #7d93ad !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-panel-alert .avi-ba-switch:not([aria-checked="true"]) { width: 46px !important; height: 28px !important; border: 1px solid #2a4266 !important; background: #0a1628 !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-panel-alert .avi-ba-switch:not([aria-checked="true"]) .avi-ba-switch__knob { top: 3px !important; left: 3px !important; width: 20px !important; height: 20px !important; background: #94a7be !important; }
/* #440 add-on (2026-11-03 21:57Z): tighter. Desktop option rows 28 px, group rows 36 px; phone sheet rows 32 px, group rows
   40 px (html:root = wins over the design A block, which sits later in this file); section label -> first row 4 px; panel header padding 12 px 16 px; email card padding 12 px 14 px; boxes 16 px. */
@media (min-width: 1100px) {
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet .aviju-facet__opt { min-height: var(--avi-fp-row-desk) !important; height: var(--avi-fp-row-desk) !important; }
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet:not([data-facet="profession"]) .aviju-facet__head .aviju-facet__btn { min-height: 36px !important; height: 36px !important; }
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__head + .aviju-facet__opts,
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__head + .aviju-sr-only + .aviju-facet__opts,
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__head + .aviju-facet__find { margin-top: 4px !important; }
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__find { margin-bottom: 4px !important; }
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] { padding: 12px 12px 6px !important; }
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet:not([data-facet="profession"]):not(.is-closed) { padding-bottom: 6px !important; }
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__head { padding: 12px 16px !important; }
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .avi-ba-toggle { padding: 12px 14px !important; }
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"] { flex-basis: 16px; width: 16px !important; height: 16px !important; min-width: 16px; border-radius: 4px !important; background-size: 11px 11px !important; }
	html:root body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__opt input[type="checkbox"] { width: 16px !important; height: 16px !important; min-width: 16px; }
}
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet .aviju-facet__opt { min-height: var(--avi-fp-row-phone) !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__head + .aviju-facet__opts,
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__head + .aviju-sr-only + .aviju-facet__opts,
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__head + .aviju-facet__find { margin-top: 4px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__find { margin-bottom: 4px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet:not(.is-closed) { padding-bottom: 6px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet[data-facet="profession"] { padding-top: 4px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-filter-panel__header { padding: 12px 16px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-panel-alert .avi-ba-toggle { padding: 12px 14px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input[type="checkbox"],
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input[type="radio"] { flex-basis: 16px; width: 16px !important; height: 16px !important; min-width: 16px; border-radius: 4px !important; }
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input[type="checkbox"]:checked,
html body.aviju-page #aviju-filter-panel.aviju-filter-panel .aviju-fpanel .aviju-facet__opt input[type="radio"]:checked { background-size: 11px 11px !important; }
/* #440 add-on (21:44Z): no sort control on the board, desktop or phones; the results header is only "N jobs" */
html body.aviju-page .aviju-cards__sort-control, html body.aviju-page .aviju-cards__sep, html body.aviju-page .aviju-msort, .aviju-sortsheet { display: none !important; }
@media (min-width: 1100px) {
	html body.aviju-page main.avijl-main .aviju-desktop { grid-template-columns: 300px minmax(0, 1fr) !important; column-gap: 12px !important; } /* #440 22:04Z: 12 px */
	/* the column itself: no surface (the panel and the alert card are two raised cards) */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar {
		display: flex !important; flex-direction: column; gap: 14px; padding: 0 !important;
		background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
	}
	/* the panel surface = .avi-fpanel (assets/css/avi-filter-panel.css, shared with the flight-school filters, #467) */
	/* header: FILTERS (gold Bebas 24) + Clear all; no "Results update as you choose." */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__head {
		display: flex !important; align-items: center; justify-content: space-between; margin: 0 !important;
		padding: 18px 20px 16px !important; border-bottom: 1px solid #1f3354;
	}
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__title { margin: 0 !important; font: 400 24px/1 'Bebas Neue', sans-serif !important; letter-spacing: .08em !important; color: #e8a020 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__n,
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__dot,
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__note,
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__reset { display: none !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__head .aviju-sidebar__clear { min-height: 32px !important; margin: 0 !important; padding: 0 !important; font: 400 13px/1.2 'DM Sans', sans-serif !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__facets { margin: 0 !important; padding: 0 !important; }
	/* group labels: mono 11 px #94a7be */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__head .aviju-facet__btn {
		font: var(--avi-fp-label-font) !important; letter-spacing: var(--avi-fp-label-ls) !important; text-transform: uppercase; color: var(--avi-fp-label) !important;
	}
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__head .aviju-facet__btn:hover { color: #e8eef5 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__chev { width: 14px; height: 14px; color: #7d93ad; transform: rotate(180deg); }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet.is-closed .aviju-facet__chev { transform: rotate(-90deg); }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet { margin: 0 !important; border: 0 !important; }
	/* Role: a section (16 px 12 px 8 px), its label, then 32 px rows */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] { padding: 16px 12px 8px !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__head { padding: 0 8px; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__head .aviju-facet__btn { min-height: 24px !important; height: 24px !important; }
	/* the other groups: 44 px rows, divider on top, name left, value + arrow right (they still open their options) */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet:not([data-facet="profession"]) { padding: 0 12px !important; border-top: 1px solid var(--avi-fp-divider) !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet:not([data-facet="profession"]):not(.is-closed) { padding-bottom: 8px !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet:not([data-facet="profession"]) .aviju-facet__head { padding: 0 8px; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet:not([data-facet="profession"]) .aviju-facet__head .aviju-facet__btn { min-height: 44px !important; height: 44px !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__val {
		display: inline; margin-left: auto; font: 400 13px/1 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none; color: #7d93ad;
		white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px;
	}
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__val + .aviju-facet__chev { margin-left: 10px; }
	/* open: All · None take the value's place */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet:not(.is-closed) .aviju-facet__val { display: none; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet:not(.is-closed) .aviju-facet__val + .aviju-facet__chev { margin-left: auto; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__allnone { right: 30px !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__allnone button { min-width: 32px !important; min-height: 32px !important; font-size: 12px !important; }
	/* 8 px between a group label and its first row (#440 add-on) */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__head + .aviju-facet__opts,
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__head + .aviju-sr-only + .aviju-facet__opts,
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__head + .aviju-facet__find { margin-top: 8px !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__find { margin-bottom: 8px !important; }
	/* rows: 32 px (mouse), 8 px side padding, 8 px corners */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet .aviju-facet__opt {
		min-height: 32px !important; height: 32px !important; gap: 12px; padding: 0 8px !important; border-radius: 8px; box-sizing: border-box;
	}
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__opt .aviju-facet__label { font: 400 15px/1.2 'DM Sans', sans-serif !important; color: #cfd9e5 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__opt .aviju-facet__count { font: var(--avi-fp-count-font) !important; color: var(--avi-fp-count) !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet__opt:has(input:checked) .aviju-facet__label { color: #ffffff !important; }
	/* Role, selected: gold tint, gold 18 px box with a navy tick, white 600 label, gold count (still a radio group) */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt:has(input:checked) { background: rgba(232, 160, 32, .09); }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt:has(input:checked) .aviju-facet__label { font-weight: 600 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt:has(input:checked) .aviju-facet__count { color: #e8a020 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"] {
		-webkit-appearance: none !important; appearance: none !important; flex: 0 0 18px; width: 18px !important; height: 18px !important; min-width: 18px;
		margin: 0 !important; box-sizing: border-box; border-radius: 5px !important; border: 1.5px solid var(--avi-fp-box-border) !important; background: transparent !important; box-shadow: none !important;
	}
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"]:checked {
		border: 1px solid #e8a020 !important; box-shadow: none !important;
		background: #e8a020 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23060f1e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px 12px no-repeat !important;
	}
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"]:focus-visible { outline: 2px solid #4fc3f7 !important; outline-offset: 2px; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-facet[data-facet="profession"] .aviju-facet__opt input[type="radio"]:disabled { opacity: .45; }
	/* "Email me new matches": its own small raised card under the panel */
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__alert-section { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .avi-ba-toggle {
		gap: 14px !important; padding: 16px 18px !important; border-radius: 12px !important;
		background: linear-gradient(to bottom, #14294b, #0c1a30 70%) !important; border: 1px solid #071224 !important; border-top-color: #2a4470 !important;
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10), 0 10px 24px rgba(0, 0, 0, .5) !important;
	}
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .avi-ba-toggle__icon { color: #e8a020 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .avi-ba-toggle__icon svg { stroke-width: 1.8; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .avi-ba-toggle__title { font-size: 15px !important; font-weight: 700; color: #e8eef5 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .avi-ba-toggle__sub { font-size: 13px !important; color: #7d93ad !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .avi-ba-switch:not([aria-checked="true"]) { width: 46px !important; height: 28px !important; border: 1px solid #2a4266 !important; background: #0a1628 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .avi-ba-switch:not([aria-checked="true"]) .avi-ba-switch__knob { top: 3px !important; left: 3px !important; width: 20px !important; height: 20px !important; background: #94a7be !important; }
	/* results: 58 px search field (typed examples kept), "N jobs" + Sort by (40 px select, gold caret) */
	html body.aviju-page main.avijl-main .aviju-desktop .aviju-kw--desktop {
		height: 58px !important; box-sizing: border-box; margin-left: 0 !important; margin-right: 0 !important; padding: 0 18px !important; gap: 12px; border-radius: 12px !important; background: #0c1a30 !important; border: 1px solid #2a4266 !important;
	}
	html body.aviju-page main.avijl-main .aviju-desktop .aviju-kw--desktop .aviju-kw__icon { color: #e8eef5 !important; stroke: #e8eef5; }
	html body.aviju-page main.avijl-main .aviju-desktop .aviju-kw--desktop .aviju-kw__input { font-size: 17px !important; height: 100% !important; color: #e8eef5 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop .aviju-cards__sort { padding: 4px 2px 6px !important; }
	html body.aviju-page main.avijl-main .aviju-desktop .aviju-cards__count { font: 400 15px/1.2 'DM Sans', sans-serif !important; color: #94a7be !important; }
	html body.aviju-page main.avijl-main .aviju-desktop .aviju-cards__count .aviju-cards__n { color: #e8eef5; font-weight: 700; }
	html body.aviju-page main.avijl-main .aviju-desktop .aviju-sort__label { font-size: 14px !important; color: #7d93ad !important; }
	/* #440 add-on (21:45Z; 12 px since 22:04Z): ONE spacing value, 12 px, between the desktop board's boxes: filter column <-> results, panel <->
	   alert card, search <-> "N jobs" <-> first card; the filter panel's top = the search box's top. */
	html body.aviju-page main.avijl-main .aviju-desktop { column-gap: 12px !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar { gap: 12px !important; margin-top: 0 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar > *,
	html body.aviju-page main.avijl-main .aviju-desktop #aviju-sidebar.aviju-sidebar .aviju-sidebar__alert-section *:not(.avi-ba-inline):not(.avi-ba-inline *) { margin-top: 0 !important; margin-bottom: 0 !important; }
	/* #440 add-on (21:45Z): the search box at most 720 px, left with the cards; "N jobs" on the same row, right-aligned */
	html body.aviju-page main.avijl-main .aviju-desktop > .aviju-cards {
		padding-top: 0 !important; margin-top: 0 !important;
		display: grid !important; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); gap: 12px; align-items: center;
	}
	html body.aviju-page main.avijl-main .aviju-desktop > .aviju-cards > * { grid-column: 1 / -1; margin-top: 0 !important; margin-bottom: 0 !important; min-width: 0; }
	html body.aviju-page main.avijl-main .aviju-desktop > .aviju-cards > .aviju-kw--desktop { grid-column: 1; width: auto !important; max-width: 720px !important; }
	html body.aviju-page main.avijl-main .aviju-desktop > .aviju-cards > .aviju-cards__sort { grid-column: 2; justify-self: end; padding: 0 2px !important; min-height: 0 !important; }
	html body.aviju-page main.avijl-main .aviju-desktop .aviju-cards__sort-select {
		height: 40px !important; box-sizing: border-box; padding: 0 40px 0 14px !important; border-radius: 10px !important;
		background: #0c1a30 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e8a020'%3E%3Cpath d='M5 9h14l-7 8z'/%3E%3C/svg%3E") right 14px center / 12px 12px no-repeat !important;
		border: 1px solid #2a4266 !important; font: 600 15px/1 'DM Sans', sans-serif !important; color: #e8eef5 !important;
		-webkit-appearance: none !important; appearance: none !important;
	}
}

/* ==========================================================================
   Jobs pages, phone top (owner INBOX #297, 2026-11-02). < 768 px only; desktop unchanged.
   Breadcrumbs 13 px muted grey on one line; H1 ~31 px; one line "[N] jobs · updated today"; the 48 px search bar
   carries the filter button at its right end (gold badge = filters on, avi-jobs-unified.js syncDrawerBadge());
   no Sort pill (Relevance stays the default); no "[role] · [province] — Change" line (the remembered picks still
   apply: the "Resume your last search" chip and the saved avi_seeker prefs are unchanged).
   ========================================================================== */
.avijl-mline { display: none; }
@media (max-width: 767px) {
	body.aviju-page .avi-lb-hero .avi-landing-breadcrumbs ol { flex-wrap: nowrap !important; overflow: hidden; white-space: nowrap; font-size: 13px !important; }
	body.aviju-page .avi-lb-hero .avi-landing-breadcrumbs li { flex: 0 0 auto; min-width: 0; }
	body.aviju-page .avi-lb-hero .avi-landing-breadcrumbs li:last-child { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
	body.aviju-page .avi-lb-hero .avi-landing-breadcrumbs,
	body.aviju-page .avi-lb-hero .avi-landing-breadcrumbs a,
	body.aviju-page .avi-lb-hero .avi-landing-breadcrumbs [aria-current] { color: #8ea3bc !important; font-size: 13px !important; }
	body.aviju-page .avi-lb-hero .avi-landing-breadcrumbs { margin-bottom: 8px !important; }
	body.aviju-page .avi-lb-h1,
	body.aviju-page .avijl-hero__headline { font-size: 31px !important; line-height: 1.05 !important; margin: 0 0 6px !important; }
	body.aviju-page .avijl-hero__headline-line { display: inline !important; }
	body.aviju-page .avijl-hero__headline-line + .avijl-hero__headline-line::before { content: " "; }
	body.aviju-page .avi-lb-line,
	body.aviju-page .avijl-mline { display: block; margin: 0; font-size: 14px; line-height: 1.4; color: #8ea3bc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; text-transform: none; font-family: 'DM Sans', sans-serif; }
	body.aviju-page .avijl-stats { display: none !important; }
	body.aviju-page .aviju-msort { display: none !important; }
	body.aviju-page .avijl-main .aviju-seekerbar { display: none !important; }

	body.aviju-page .aviju-kw--mobile { height: 48px; padding-right: 4px; }
	body.aviju-page .aviju-kw__filter {
		position: relative;
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		margin: 0;
		padding: 0;
		border: 0;
		border-left: 1px solid rgba(142, 163, 188, .22);
		border-radius: 0 8px 8px 0;
		background: transparent;
		color: #c9d6e4;
		cursor: pointer;
	}
	body.aviju-page .aviju-kw__filter:hover { color: #e8eef5; }
	body.aviju-page .aviju-kw__filter:focus-visible { outline: 2px solid #e8a020; outline-offset: -2px; }
	body.aviju-page .aviju-kw__fn {
		position: absolute;
		top: 3px;
		right: 2px;
		min-width: 17px;
		height: 17px;
		padding: 0 4px;
		box-sizing: border-box;
		border-radius: 9px;
		background: var(--brand-gold, #e8a020);
		color: #0a1628;
		font: 700 11px/17px 'DM Sans', sans-serif;
		text-align: center;
	}
	body.aviju-page .aviju-kw__fn[hidden] { display: none; }
	/* The sticky search bar sits under the header while the header is showing (avc-site-menu.js). */
	html.avc-mhdr-pinned body.aviju-page .aviju-kw--mobile { top: var(--avc-mhdr-h, 56px); }
	body.aviju-page .aviju-kw--mobile { transition: top .25s ease; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
	body.aviju-page .aviju-kw--mobile { transition: none; }
}
/* #538 (owner): every keyboard focus ring on the board and the job page is the site gold #e8a020 (the pale blue #4fc3f7 and the
   white rings above are overridden here, one place). The 2px offset leaves a dark gap, so the ring shows on gold buttons too.
   Text fields keep their neutral border highlight (#464), so they are not listed. */
html body.aviju-page :is(a, button, summary, [tabindex], input[type="radio"], input[type="checkbox"]):focus-visible,
html body.single-avi_job :is(a, button, summary):focus-visible,
html body.aviju-page #aviju-filter-panel .aviju-facet:not([data-facet="profession"]) .aviju-facet__opt:has(input:focus-visible),
html body.aviju-page .aviju-sortsheet .aviju-sortsheet__close:focus-visible { outline: 2px solid #e8a020 !important; outline-offset: 2px; }
html body.aviju-page #avi-results:focus { outline: none !important; }

/* #572 (owner 2026-11-08): employer ads' boilerplate (conditions, how to apply, closing statement) in one lighter,
   collapsed "Application details" block below the job content (inc/avi-job-desc-format.php). Existing tokens only. */
body.aviju-page .aviju-detail__description details.avi-desc-appdetails,
body.single-avi_job .avijs-description__body details.avi-desc-appdetails {
	margin: 28px 0 0; padding: 14px 0 0; border-top: 1px solid var(--av-border-btn);
}
body.aviju-page .aviju-detail__description details.avi-desc-appdetails > summary,
body.single-avi_job .avijs-description__body details.avi-desc-appdetails > summary {
	cursor: pointer; color: var(--av-text-muted); font-weight: 700; font-size: 15px; line-height: 1.5; padding: 4px 0;
}
body.aviju-page .aviju-detail__description details.avi-desc-appdetails > summary:hover,
body.single-avi_job .avijs-description__body details.avi-desc-appdetails > summary:hover { color: var(--av-text); }
body.aviju-page .aviju-detail__description details.avi-desc-appdetails :is(p, li),
body.single-avi_job .avijs-description__body details.avi-desc-appdetails :is(p, li) { color: var(--av-text-muted); font-size: 15px; }
body.aviju-page .aviju-detail__description details.avi-desc-appdetails h3,
body.single-avi_job .avijs-description__body details.avi-desc-appdetails h3 { color: var(--av-text); font-size: 14px; margin: 18px 0 6px; }

/* ==========================================================================
   #653 (Chris 2026-11-09, mockup approved): each role's own filters sit right under its row in the Role list.
   Picked role = open (chevron up), unpicked = closed (chevron down); roles without sub-filters have no chevron.
   Sub-block: indented, thin gold line on the left. Sub-filters are chips under small spaced-caps labels;
   picked chip = gold fill + navy text; unpicked = lighter navy fill, no border; nothing picked = "All".
   Tokens only (avcentral-colours.json): gold #e8a020, bg-page #060f1e, border #1f3354, border-strong #2a4266,
   text-primary #e8eef5, text-secondary #94a7be, text-muted #7d93ad. One pattern on phones and desktop.
   ========================================================================== */
html body.aviju-page .aviju-facet--nested .aviju-facet__opt--role .aviju-role__chev {
	flex: 0 0 12px; width: 12px; height: 12px; margin-left: 8px; color: #7d93ad; transition: transform .2s cubic-bezier(.33,1,.68,1);
}
html body.aviju-page .aviju-facet--nested .aviju-facet__opt--role.is-open .aviju-role__chev { transform: rotate(180deg); color: #e8a020; }
html body.aviju-page .aviju-facet--nested .aviju-facet__opt--role .aviju-facet__count { margin-left: auto; }
html body.aviju-page .aviju-rolesub[hidden] { display: none !important; }
html body.aviju-page .aviju-rolesub {
	display: block; margin: 4px 0 10px 8px; padding: 4px 0 2px 14px; border-left: 2px solid #e8a020; box-sizing: border-box; min-width: 0;
}
html body.aviju-page .aviju-rgroup { margin: 0 0 10px; }
html body.aviju-page .aviju-rgroup:last-child { margin-bottom: 4px; }
html body.aviju-page .aviju-rgroup.is-nothing { display: none; }
html body.aviju-page .aviju-rgroup__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 0 0 6px; }
html body.aviju-page .aviju-rgroup__label {
	font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: #7d93ad;
}
html body.aviju-page .aviju-rgroup__all { font: 400 12px/1 'DM Sans', sans-serif; color: #7d93ad; }
html body.aviju-page .aviju-rgroup.is-picked .aviju-rgroup__all { visibility: hidden; }
html body.aviju-page .aviju-rgroup__chips { display: flex; flex-wrap: wrap; gap: 8px; }
html body.aviju-page .aviju-rchip {
	position: relative; display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; min-height: 36px; max-width: 100%;
	padding: 0 12px; margin: 0; border: 0; border-radius: 6px; background: #1f3354; color: #e8eef5; cursor: pointer;
	font: 500 14px/1.2 'DM Sans', sans-serif; user-select: none; -webkit-tap-highlight-color: transparent;
}
html body.aviju-page .aviju-rchip:hover { background: #2a4266; }
html body.aviju-page .aviju-rchip__n { font: 500 12px/1 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; color: #94a7be; }
html body.aviju-page .aviju-rchip.is-on,
html body.aviju-page .aviju-rchip:has(input:checked) { background: #e8a020; color: #060f1e; }
html body.aviju-page .aviju-rchip.is-on .aviju-rchip__n,
html body.aviju-page .aviju-rchip:has(input:checked) .aviju-rchip__n { color: #060f1e; }
/* #685: a chip whose count drops to 0 keeps its slot (dimmed, not tappable) so a tap never moves the chips around it */
html body.aviju-page .aviju-rchip.is-zero { opacity: .35; pointer-events: none; }
html body.aviju-page .aviju-sidebar .aviju-rchip input[type="checkbox"],
html body.aviju-page #aviju-filter-panel .aviju-rchip input[type="checkbox"],
html body.aviju-page .aviju-rchip input[type="checkbox"] {
	position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; min-width: 0 !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; pointer-events: none; clip-path: inset(50%);
}
html body.aviju-page .aviju-rchip:has(input:focus-visible) { outline: 2px solid #e8a020 !important; outline-offset: 2px; }
@media (min-width: 1100px) and (pointer: fine) {
	html body.aviju-page .aviju-rchip { min-height: 28px; padding: 0 10px; font-size: 13px; }
	html body.aviju-page .aviju-rgroup__chips { gap: 6px; }
}

/* #684 (Chris, 2026-11-10): phones (< 768 px, the phone board): the "Filters: [pills] Change / Clear all" box under the search
   bar is hidden; jobs start right under search. One small grey line above the first job instead ("38 jobs · 4 filters · Clear",
   assets/js/avi-jobs-unified.js phoneLineRender()). No number badge on the Filters button at any width; with filters on the
   filter icon turns gold (icon colour only, no outline). Desktop otherwise unchanged. */
@media (max-width: 767px) {
	html body.aviju-page .aviju-seekerbar.has-chips,
	html body.aviju-page .avijl-main .aviju-seekerbar.has-chips,
	html body.aviju-page .aviju-seekerbar { display: none !important; }
	body.aviju-page .aviju-pline { display: block; box-sizing: border-box; height: 28px; margin: 2px 16px 8px; padding: 0; font: 400 13px/28px 'DM Sans', sans-serif; color: #8ea3bc; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	body.aviju-page .aviju-pline button { display: inline; background: none !important; border: 0 !important; box-shadow: none !important; margin: 0; padding: 0; height: auto; min-height: 0; color: #8ea3bc; font: inherit; line-height: inherit; vertical-align: baseline; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
	body.aviju-page .aviju-pline button:focus-visible { outline: 2px solid #4fc3f7; outline-offset: 1px; border-radius: 3px; }
	body.aviju-page .aviju-pline__dot { color: #5d7390; }
}
@media (min-width: 768px) { body.aviju-page .aviju-pline { display: none !important; } }
body.aviju-page .aviju-kw__fn, body.aviju-page .aviju-fdrawer-btn__n { display: none !important; }
body.aviju-page .aviju-kw__filter.is-on, body.aviju-page .aviju-kw__filter.is-on:hover { color: #e8a020; }
body.aviju-page .aviju-fdrawer-btn.is-on svg { color: #e8a020; }

/* #688: Role rows always show. A role with no jobs under the other filters is dimmed but stays tappable
   (the Role section can never be empty). Pilot-type / Pilot-role chips keep #685 (dimmed, not tappable). */
html body.aviju-page .aviju-facet__opt--role.is-empty { cursor: pointer; pointer-events: auto; } /* label + count already dim at .55 */

/* #695: a town filter from a link (?loc=) shows on top of the filters with a Remove button (no location box on the board). */
html body.aviju-page .aviju-locline {
	display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0 0 8px; padding: 0 0 8px; border-bottom: 1px solid #1f3354; box-sizing: border-box;
}
html body.aviju-page .aviju-locline__k { font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: #7d93ad; }
html body.aviju-page .aviju-locline__v { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/1.2 'DM Sans', sans-serif; color: #e8eef5; }
html body.aviju-page .aviju-locline__x {
	flex: 0 0 auto; min-height: 36px; padding: 0 12px; border: 1px solid #2a4266; border-radius: 6px; background: transparent; color: #e8a020; cursor: pointer;
	font: 500 13px/1 'DM Sans', sans-serif;
}
html body.aviju-page .aviju-locline__x:hover { border-color: #e8a020; }
/* #695: the board list could not load: the server's cards stay, with this line; the filter sheet shows a note, never 0s. */
html body.aviju-page .aviju-loadfail,
html body.aviju-page .aviju-fpanel__wait { margin: 0 0 12px; font: 400 14px/1.4 'DM Sans', sans-serif; color: #94a7be; }
html body.aviju-page .aviju-fpanel__wait { margin: 8px 0; }
html body.aviju-page .aviju-loadfail button,
html body.aviju-page .aviju-fpanel__wait button {
	min-height: 36px; margin-left: 6px; padding: 0 12px; border: 1px solid #2a4266; border-radius: 6px; background: transparent; color: #e8a020; cursor: pointer; font: 500 13px/1 'DM Sans', sans-serif;
}
