/**
 * Apex Careers — front end.
 *
 * The signature element is the docket card: a filed record with a coloured
 * spine down its left edge and a clipped top-right corner. Everything else
 * stays quiet so the spine carries the brand.
 */

.apex-board,
.apex-job,
.apex-login,
.apex-alerts {
	--apex-paper: #ffffff;
	--apex-mist: #f2f3f5;
	--apex-line: #dcdee4;
	--apex-muted: #62676f;
	--apex-notch: 18px;

	color: var(--apex-ink, #14151a);
	font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.apex-board *,
.apex-job *,
.apex-login *,
.apex-alerts * {
	box-sizing: border-box;
}

.apex-icon {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

/* ------------------------------------------------------------------ *
 * Board shell
 * ------------------------------------------------------------------ */

.apex-board__heading {
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0 0 1.5rem;
}

.apex-board__inner {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
	align-items: start;
}

.apex-board__aside {
	position: sticky;
	top: 2rem;
	border-top: 3px solid var(--apex-primary, #b92b30);
	padding-top: 1.35rem;
}

.apex-board__count {
	color: var(--apex-muted);
	font-size: 0.875rem;
	font-weight: 500;
	margin: 1.1rem 0 0;
}

/* ------------------------------------------------------------------ *
 * Filters
 * ------------------------------------------------------------------ */

.apex-filters {
	display: grid;
	gap: 1rem;
}

.apex-filters--inline {
	grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
	align-items: end;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--apex-line);
}

.apex-field__label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	margin-bottom: 0.375rem;
	color: var(--apex-muted);
}

.apex-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.apex-input-wrap .apex-icon {
	position: absolute;
	left: 0.75rem;
	width: 18px;
	height: 18px;
	color: var(--apex-muted);
	pointer-events: none;
}

.apex-input-wrap .apex-input {
	padding-left: 2.375rem;
}

.apex-input,
.apex-select {
	width: 100%;
	font: inherit;
	font-size: 0.9375rem;
	color: inherit;
	background: var(--apex-paper);
	border: 1px solid var(--apex-line);
	border-radius: calc(var(--apex-radius, 4px) + 2px);
	padding: 0.8rem 0.95rem;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.apex-select {
	appearance: none;
	padding-right: 2.25rem;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	cursor: pointer;
}

.apex-input:focus,
.apex-select:focus {
	outline: none;
	border-color: var(--apex-primary, #b92b30);
	box-shadow: 0 0 0 3px rgba(var(--apex-primary-rgb, 185, 43, 48), 0.16);
}

.apex-filters--sidebar {
	grid-template-columns: 1fr;
}

/* ------------------------------------------------------------------ *
 * Buttons and links
 * ------------------------------------------------------------------ */

.apex-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	padding: 0.85rem 1.5rem;
	border: 1px solid transparent;
	border-radius: var(--apex-radius, 4px);
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.apex-btn--primary {
	background: var(--apex-primary, #b92b30);
	color: var(--apex-on-button, #fff);
	border-color: var(--apex-primary, #b92b30);
}

.apex-btn--primary:hover,
.apex-btn--primary:focus-visible {
	background: var(--apex-hover, #284194);
	border-color: var(--apex-hover, #284194);
	color: var(--apex-on-button, #fff);
	transform: translate(-1px, -1px);
	box-shadow: 3px 3px 0 rgba(var(--apex-hover-rgb, 40, 65, 148), 0.28);
}

.apex-btn--outline {
	background: transparent;
	color: var(--apex-primary, #b92b30);
	border-color: currentColor;
}

.apex-btn--outline:hover,
.apex-btn--outline:focus-visible {
	background: var(--apex-hover, #284194);
	border-color: var(--apex-hover, #284194);
	color: var(--apex-on-button, #fff);
}

.apex-btn--ghost {
	background: transparent;
	color: var(--apex-muted);
	border-color: var(--apex-line);
	padding: 0.6rem 1rem;
	font-size: 0.875rem;
}

.apex-btn--ghost:hover {
	color: var(--apex-hover, #284194);
	border-color: var(--apex-hover, #284194);
}

.apex-btn--block {
	width: 100%;
	padding-block: 1rem;
}

.apex-btn:disabled {
	opacity: 0.55;
	cursor: progress;
	transform: none;
	box-shadow: none;
}

.apex-link {
	color: var(--apex-primary, #b92b30);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.apex-link:hover {
	color: var(--apex-hover, #284194);
}

.apex-btn:focus-visible,
.apex-link:focus-visible,
.apex-input:focus-visible,
.apex-card__title a:focus-visible {
	outline: 2px solid var(--apex-hover, #284194);
	outline-offset: 3px;
}

/* ------------------------------------------------------------------ *
 * Results
 * ------------------------------------------------------------------ */

.apex-results {
	display: grid;
	gap: 1.5rem;
	margin-top: 1.75rem;
}

.apex-results--grid {
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.apex-results--stack {
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.apex-results--list {
	grid-template-columns: 1fr;
	gap: 1rem;
}

.apex-results.is-loading {
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.15s ease;
}

.apex-empty {
	grid-column: 1 / -1;
	margin: 0;
	padding: 2.5rem 1.5rem;
	text-align: center;
	color: var(--apex-muted);
	background: var(--apex-mist);
	border-radius: var(--apex-radius, 4px);
}

.apex-more {
	margin-top: 2rem;
	text-align: center;
}

/* ------------------------------------------------------------------ *
 * Job card
 * ------------------------------------------------------------------ */

.apex-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--apex-paper);
	border: 1px solid var(--apex-line);
	border-radius: calc(var(--apex-radius, 4px) + 4px);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* The accent rail. Crimson as standard, navy while the card is engaged. */
.apex-card::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--apex-primary, #b92b30);
	transition: width 0.2s ease, background-color 0.2s ease;
}

.apex-card.is-featured::before {
	width: 7px;
}

.apex-card.is-closed::before {
	background: #c3c7ce;
}

.apex-card:hover,
.apex-card:focus-within {
	border-color: rgba(var(--apex-hover-rgb, 40, 65, 148), 0.35);
	box-shadow: 0 14px 30px rgba(20, 21, 26, 0.1);
	transform: translateY(-3px);
}

.apex-card:hover::before,
.apex-card:focus-within::before {
	width: 7px;
	background: var(--apex-hover, #284194);
}

.apex-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.5rem 1.25rem 1.75rem;
}

.apex-card__eyebrow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.65rem;
	min-height: 22px;
}

.apex-card__dept {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--apex-primary, #b92b30);
}

.apex-card__flag {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--apex-hover, #284194);
	background: rgba(var(--apex-hover-rgb, 40, 65, 148), 0.09);
	border-radius: 999px;
	padding: 0.2rem 0.6rem;
	white-space: nowrap;
}

.apex-card__flag::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}

.apex-card__flag--closed {
	color: var(--apex-muted);
	background: var(--apex-mist);
}

.apex-card__title {
	margin: 0 0 0.9rem;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.018em;
	line-height: 1.25;
}

.apex-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.apex-card:hover .apex-card__title a,
.apex-card__title a:hover {
	color: var(--apex-hover, #284194);
}

.apex-card__excerpt {
	margin: -0.35rem 0 0.95rem;
	color: var(--apex-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

.apex-card__meta {
	list-style: none;
	margin: 0 0 0.9rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.1rem;
}

.apex-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.875rem;
	color: var(--apex-muted);
}

.apex-card__meta .apex-icon {
	width: 16px;
	height: 16px;
	color: var(--apex-primary, #b92b30);
	opacity: 0.85;
}

.apex-card__salary {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: auto 0 0;
	padding-top: 0.85rem;
	border-top: 1px dashed var(--apex-line);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--apex-ink, #14151a);
}

.apex-card__salary .apex-icon {
	width: 16px;
	height: 16px;
	color: var(--apex-primary, #b92b30);
}

.apex-card__action {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding: 0.85rem 1.1rem 0.85rem 1.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--apex-primary, #b92b30);
	background: var(--apex-mist);
	border-top: 1px solid var(--apex-line);
	overflow: hidden;
	z-index: 0;
}

.apex-card__action::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--apex-hover, #284194);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: -1;
}

.apex-card__action:hover,
.apex-card__action:focus-visible {
	color: var(--apex-on-button, #fff);
}

.apex-card__action:hover::before,
.apex-card__action:focus-visible::before {
	transform: scaleX(1);
}

.apex-card__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex: 0 0 auto;
	border: 1px solid currentColor;
	border-radius: 50%;
	transition: transform 0.22s ease;
}

.apex-card__action:hover .apex-card__arrow {
	transform: translateX(4px);
}

.apex-card__arrow .apex-icon {
	width: 16px;
	height: 16px;
}

/* List view: one role per row, action on the right. */
.apex-card--list {
	flex-direction: row;
	align-items: stretch;
}

.apex-card--list .apex-card__body {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.75rem;
	padding: 1.35rem 1.5rem 1.35rem 1.75rem;
}

.apex-card--list .apex-card__eyebrow {
	flex: 1 1 100%;
	margin-bottom: 0;
	min-height: 0;
}

.apex-card--list .apex-card__title {
	flex: 1 1 240px;
	margin: 0;
}

.apex-card--list .apex-card__excerpt {
	display: none;
}

.apex-card--list .apex-card__meta {
	flex: 0 1 auto;
	margin-bottom: 0;
}

.apex-card--list .apex-card__salary {
	flex: 0 0 auto;
	margin: 0;
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.apex-card--list .apex-card__action {
	flex: 0 0 auto;
	align-self: stretch;
	margin: 0;
	padding-inline: 1.35rem;
	border-top: 0;
	border-left: 1px solid var(--apex-line);
}

.apex-card--list .apex-card__action span:not(.apex-card__arrow) {
	display: none;
}

/* Stack view: roomier cards with a summary. */
.apex-card--stack .apex-card__body {
	padding: 1.85rem 1.85rem 1.5rem 2rem;
}

.apex-card--stack .apex-card__title {
	font-size: 1.5rem;
}

.apex-card--stack .apex-card__action {
	padding-left: 2rem;
}

/* ------------------------------------------------------------------ *
 * Single job
 * ------------------------------------------------------------------ */

.apex-job {
	max-width: 1140px;
	margin: 0 auto;
	padding: 3rem 1.25rem 4rem;
}

.apex-job__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9375rem;
	color: var(--apex-muted);
	text-decoration: none;
	margin-bottom: 1.5rem;
}

.apex-job__back:hover {
	color: var(--apex-hover, #284194);
}

.apex-job__header {
	border-left: 10px solid var(--apex-primary, #b92b30);
	padding-left: 1.5rem;
	margin-bottom: 2.5rem;
}

.apex-job__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.apex-job__meta {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	margin: 0;
	padding: 0;
}

.apex-job__meta li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.875rem;
	color: var(--apex-muted);
	border: 1px solid var(--apex-line);
	border-radius: calc(var(--apex-radius, 4px) + 10px);
	padding: 0.35rem 0.8rem;
}

.apex-job__layout {
	display: grid;
	gap: 3rem;
	grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
	align-items: start;
}

.apex-job__content h2,
.apex-job__content h3 {
	letter-spacing: -0.015em;
	margin-top: 2rem;
}

.apex-job__content p,
.apex-job__content li {
	max-width: 68ch;
}

.apex-job__content ul {
	padding-left: 1.1rem;
}

.apex-job__content li {
	margin-bottom: 0.4rem;
}

.apex-job__content li::marker {
	color: var(--apex-primary, #b92b30);
}

/* ------------------------------------------------------------------ *
 * Apply panel and forms
 * ------------------------------------------------------------------ */

.apex-apply {
	position: sticky;
	top: 2rem;
	background: var(--apex-paper);
	border: 1px solid var(--apex-line);
	border-top: 5px solid var(--apex-primary, #b92b30);
	border-radius: calc(var(--apex-radius, 4px) + 4px);
	box-shadow: 0 18px 40px rgba(20, 21, 26, 0.08);
	padding: 1.9rem;
}

.apex-apply__title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.apex-apply__intro {
	margin: 0 0 1.5rem;
	color: var(--apex-muted);
	font-size: 0.9375rem;
}

.apex-apply--closed {
	border-top-color: var(--apex-muted);
}

.apex-form__row {
	margin-bottom: 1.1rem;
}

.apex-form__grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.apex-form__label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
}

.apex-form__label.is-required::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 0.4rem;
	border-radius: 50%;
	background: var(--apex-primary, #b92b30);
	vertical-align: middle;
}

.apex-textarea {
	resize: vertical;
	min-height: 120px;
}

.apex-input.has-error {
	border-color: var(--apex-primary, #b92b30);
	background: rgba(var(--apex-primary-rgb, 185, 43, 48), 0.04);
}

.apex-field-error {
	display: block;
	margin-top: 0.35rem;
	font-size: 0.8125rem;
	color: var(--apex-primary, #b92b30);
}

.apex-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.apex-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	text-align: center;
	padding: 1.6rem 1rem;
	border: 1px dashed var(--apex-line);
	border-radius: var(--apex-radius, 4px);
	background: var(--apex-mist);
	color: var(--apex-muted);
	transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.apex-drop .apex-icon {
	width: 22px;
	height: 22px;
	order: -1;
}

.apex-drop__input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.apex-drop__text {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--apex-ink, #14151a);
}

.apex-drop__hint {
	font-size: 0.8125rem;
}

.apex-drop:hover,
.apex-drop:focus-within,
.apex-drop.is-dragging {
	border-color: var(--apex-hover, #284194);
	color: var(--apex-hover, #284194);
}

.apex-drop.has-file {
	border-style: solid;
	border-color: var(--apex-primary, #b92b30);
	background: rgba(var(--apex-primary-rgb, 185, 43, 48), 0.05);
}

.apex-check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	font-size: 0.875rem;
	color: var(--apex-muted);
	margin: 1.25rem 0;
	cursor: pointer;
}

.apex-check input {
	margin-top: 0.2rem;
	accent-color: var(--apex-primary, #b92b30);
	width: 16px;
	height: 16px;
}

.apex-form__feedback {
	margin: 1rem 0 0;
	font-size: 0.9375rem;
	min-height: 1.4em;
}

.apex-form__feedback.is-error {
	color: var(--apex-primary, #b92b30);
}

.apex-form__feedback.is-success {
	color: var(--apex-hover, #284194);
	font-weight: 600;
}

.apex-apply.is-sent .apex-form > *:not(.apex-form__feedback) {
	display: none;
}

/* ------------------------------------------------------------------ *
 * Login
 * ------------------------------------------------------------------ */

.apex-login {
	max-width: 430px;
	margin: 0 auto;
	background: var(--apex-paper);
	border: 1px solid var(--apex-line);
	border-top: 5px solid var(--apex-primary, #b92b30);
	border-radius: calc(var(--apex-radius, 4px) + 4px);
	box-shadow: 0 18px 40px rgba(20, 21, 26, 0.08);
	padding: 2.1rem;
}

.apex-login__title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	letter-spacing: -0.02em;
}

.apex-login__intro {
	margin: 0 0 1.5rem;
	color: var(--apex-muted);
	font-size: 0.9375rem;
}

.apex-login__error {
	background: rgba(var(--apex-primary-rgb, 185, 43, 48), 0.08);
	border-left: 3px solid var(--apex-primary, #b92b30);
	padding: 0.75rem 1rem;
	font-size: 0.9375rem;
	margin: 0 0 1.25rem;
}

.apex-login__reset {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	text-align: center;
}

.apex-login--in .apex-login__who {
	margin: 0 0 1.25rem;
	font-weight: 600;
}

.apex-login__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

/* ------------------------------------------------------------------ *
 * Toolbar, panels and job alerts
 * ------------------------------------------------------------------ */

.apex-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--apex-line);
}

.apex-toolbar .apex-field--search {
	flex: 1 1 260px;
}

.apex-toggle {
	position: relative;
	padding-right: 2.4rem;
}

.apex-toggle::after {
	content: "";
	position: absolute;
	right: 1.1rem;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.18s ease;
}

.apex-toggle.is-open::after {
	transform: translateY(-30%) rotate(-135deg);
}

.apex-toggle .apex-icon {
	width: 18px;
	height: 18px;
}

.apex-panel {
	border: 1px solid var(--apex-line);
	border-top: 0;
	background: var(--apex-mist);
	padding: 1.25rem;
}

.apex-panel .apex-filters--panel {
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	align-items: end;
}

.apex-panel .apex-reset {
	background: var(--apex-paper);
	align-self: end;
}

.apex-alerts {
	background: var(--apex-paper);
	border: 1px solid var(--apex-line);
	border-top: 5px solid var(--apex-primary, #b92b30);
	border-radius: calc(var(--apex-radius, 4px) + 4px);
	padding: 1.75rem;
}

.apex-alerts--panel {
	margin-top: 0.75rem;
	border-top-width: 3px;
}

.apex-alerts__title {
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.apex-alerts__intro {
	margin: 0 0 1.25rem;
	color: var(--apex-muted);
	font-size: 0.9375rem;
}

.apex-alerts__groups {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	margin-bottom: 1.5rem;
}

.apex-alerts__group {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.apex-alerts__group legend {
	padding: 0;
	margin-bottom: 0.6rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--apex-muted);
}

.apex-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0 0.35rem 0.35rem 0;
	padding: 0.35rem 0.75rem;
	font-size: 0.8125rem;
	border: 1px solid var(--apex-line);
	border-radius: calc(var(--apex-radius, 4px) + 10px);
	background: var(--apex-paper);
	cursor: pointer;
	transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.apex-chip input {
	accent-color: var(--apex-primary, #b92b30);
	margin: 0;
}

.apex-chip:hover {
	border-color: var(--apex-hover, #284194);
	color: var(--apex-hover, #284194);
}

.apex-chip:has(input:checked) {
	border-color: var(--apex-primary, #b92b30);
	background: rgba(var(--apex-primary-rgb, 185, 43, 48), 0.06);
	color: var(--apex-primary, #b92b30);
	font-weight: 600;
}

.apex-chip:focus-within {
	outline: 2px solid var(--apex-hover, #284194);
	outline-offset: 2px;
}

.apex-alerts.is-sent .apex-form > *:not(.apex-form__feedback),
.apex-alerts.is-sent .apex-alerts__intro {
	display: none;
}

.apex-notice {
	max-width: 720px;
	margin: 1.5rem auto;
	padding: 0.9rem 1.25rem;
	background: rgba(var(--apex-hover-rgb, 40, 65, 148), 0.08);
	border-left: 4px solid var(--apex-hover, #284194);
	color: var(--apex-ink, #14151a);
	font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	font-size: 0.9375rem;
}

/* ------------------------------------------------------------------ *
 * Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 900px) {
	.apex-board__inner,
	.apex-job__layout {
		grid-template-columns: 1fr;
	}

	.apex-board__aside,
	.apex-apply {
		position: static;
	}

	.apex-filters--sidebar {
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	}
}

@media (max-width: 600px) {
	.apex-filters--inline {
		grid-template-columns: 1fr;
	}

	.apex-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.apex-toolbar .apex-btn {
		justify-content: space-between;
	}

	.apex-card--list {
		flex-direction: column;
	}

	.apex-card--list .apex-card__body {
		align-items: flex-start;
	}

	.apex-card--list .apex-card__title {
		flex: 1 1 100%;
	}

	.apex-card--list .apex-card__salary {
		flex: 1 1 100%;
		border-top: 1px dashed var(--apex-line);
		padding-top: 0.85rem;
		margin-top: 0.85rem;
	}

	.apex-card--list .apex-card__action {
		border-left: 0;
		border-top: 1px solid var(--apex-line);
	}

	.apex-card--list .apex-card__action span:not(.apex-card__arrow) {
		display: inline;
	}

	.apex-job {
		padding-top: 2rem;
	}

	.apex-job__header {
		border-left-width: 6px;
		padding-left: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apex-card,
	.apex-card::before,
	.apex-card__action::before,
	.apex-card__arrow,
	.apex-btn {
		transition: none;
	}

	.apex-card:hover {
		transform: none;
	}

	.apex-btn:hover {
		transform: none;
	}
}
