/**
 * ATL Job Opening — frontend styles.
 * All rules scoped to .atl-jo (never :root).
 */
.atl-jo {
	--atl-jo-primary: #5b3df5;
	--atl-jo-accent: #14b8a6;
	--atl-jo-radius: 14px;
	--atl-jo-bg: #f6f7fb;
	--atl-jo-surface: #ffffff;
	--atl-jo-text: #1c1f2b;
	--atl-jo-muted: #6b7183;
	--atl-jo-border: #e7e9f2;
	--atl-jo-shadow: 0 6px 24px rgba(24, 24, 51, .07);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--atl-jo-text);
	line-height: 1.55;
}
.atl-jo *,
.atl-jo *::before,
.atl-jo *::after { box-sizing: border-box; }

/*
 * ISOLATION LAYER
 * Many themes apply global styles to bare button/input/select/a/textarea
 * tags (e.g. a teal "theme button" skin, custom underline/link colors,
 * different border-radius or font). Because those rules often win the
 * cascade (later stylesheet, higher specificity, or !important), the
 * plugin's own controls can end up half-styled by the host theme —
 * mismatched colors, missing borders, wrong radius, etc. This block
 * resets every interactive element inside .atl-jo back to a neutral
 * baseline BEFORE any component-specific rule runs, so the plugin's
 * own design (set below) is always what actually renders, regardless
 * of what theme it's installed on.
 */
.atl-jo input,
.atl-jo select,
.atl-jo textarea {
	all: revert;
	box-sizing: border-box !important;
	font-family: inherit !important;
	color: var(--atl-jo-text) !important;
	background: var(--atl-jo-surface) !important;
	background-image: none !important;
	border: 1px solid var(--atl-jo-border) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
	text-shadow: none !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}
.atl-jo button {
	all: revert;
	box-sizing: border-box;
	font-family: inherit;
	cursor: pointer;
	margin: 0;
	line-height: 1.5;
	text-shadow: none;
}
.atl-jo a {
	color: var(--atl-jo-primary);
	text-decoration: none;
	font-family: inherit;
}
.atl-jo button { cursor: pointer; }
.atl-jo ul, .atl-jo ol { list-style: none; margin: 0; padding: 0; }
.atl-jo img { max-width: 100%; display: block; }

.atl-jo h1, .atl-jo h2, .atl-jo h3 {
	font-family: 'Space Grotesk', 'Inter', sans-serif;
	line-height: 1.2;
	margin: 0 0 .5em;
}

/* Buttons */
.atl-jo .atl-jo-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	background: var(--atl-jo-primary) !important;
	background-image: none !important;
	color: #fff !important;
	border: none !important;
	border-radius: calc(var(--atl-jo-radius) - 4px) !important;
	padding: 10px 18px !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	cursor: pointer;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: none;
	transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}
.atl-jo .atl-jo-btn:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(91, 61, 245, .28); color: #fff !important; }
.atl-jo .atl-jo-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.atl-jo .atl-jo-btn-lg { padding: 13px 26px !important; font-size: 15px !important; }
.atl-jo .atl-jo-btn-sm { padding: 7px 14px !important; font-size: 13px !important; }
.atl-jo .atl-jo-btn-block { width: 100% !important; }
.atl-jo .atl-jo-btn-ghost { background: transparent !important; color: var(--atl-jo-text) !important; border: 1px solid var(--atl-jo-border) !important; }
.atl-jo .atl-jo-btn-ghost:hover { background: var(--atl-jo-bg) !important; color: var(--atl-jo-text) !important; box-shadow: none; }

/* Tags */
.atl-jo-tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(91, 61, 245, .1);
	color: var(--atl-jo-primary);
	font-family: 'JetBrains Mono', monospace;
	letter-spacing: .2px;
}
.atl-jo-tag.tag-type { background: rgba(20, 184, 166, .12); color: var(--atl-jo-accent); }
.atl-jo-tag.tag-featured { background: rgba(245, 158, 11, .14); color: #b45309; }
.atl-jo-tag.tag-urgent { background: rgba(239, 68, 68, .12); color: #dc2626; }
.atl-jo-tag.tag-expired { background: rgba(107, 114, 128, .16); color: #4b5563; }
.atl-jo-tag[class*="status-"] { background: rgba(91,61,245,.1); color: var(--atl-jo-primary); }
.atl-jo-tag.status-hired, .atl-jo-tag.status-selected { background: rgba(16,185,129,.14); color: #047857; }
.atl-jo-tag.status-rejected { background: rgba(239,68,68,.12); color: #dc2626; }
.atl-jo-tag.status-shortlisted { background: rgba(20,184,166,.14); color: var(--atl-jo-accent); }

/* Filter bar — icon dropdown controls (hardened against theme overrides) */
.atl-jo .atl-jo-filterbar {
	display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px;
}
.atl-jo .atl-jo-filter-control {
	position: relative; display: block; box-sizing: border-box;
	flex: 0 1 236px; min-width: 160px; max-width: 100%;
}
.atl-jo .atl-jo-filter-ico {
	position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
	width: 18px; height: 18px; color: var(--atl-jo-primary); pointer-events: none; z-index: 2; display: flex;
}
.atl-jo .atl-jo-filter-ico svg { width: 18px; height: 18px; }
.atl-jo .atl-jo-filter-control select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	box-sizing: border-box !important;
	width: 100% !important;
	min-width: 0 !important;
	height: auto !important;
	line-height: 1.4 !important;
	margin: 0 !important;
	background-color: #ffffff;
	color: #1c2540;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 12px;
	padding: 13px 40px 13px 44px !important;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(24, 24, 51, .08);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235b3df5' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	text-overflow: ellipsis;
	transition: box-shadow .15s ease, border-color .15s ease, transform .12s ease;
}
.atl-jo .atl-jo-filter-control select:hover { border-color: rgba(91, 61, 245, .5); box-shadow: 0 6px 18px rgba(91, 61, 245, .14); transform: translateY(-1px); }
.atl-jo .atl-jo-filter-control select:focus { outline: 2px solid rgba(91, 61, 245, .35); }
.atl-jo .atl-jo-filter-control select option { color: #1c2540; font-weight: 500; }

/* Search row (prominent) */
.atl-jo-searchrow { display: flex; justify-content: center; margin-bottom: 14px; }
.atl-jo-searchfield { position: relative; width: 100%; max-width: 660px; }
.atl-jo-search-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #8a8fa3; pointer-events: none; }
.atl-jo-searchrow .atl-jo-search-input {
	width: 100%; background: #ffffff; color: #1c2540;
	border: 1px solid rgba(0,0,0,.06); border-radius: 14px;
	padding: 15px 18px 15px 46px; font-size: 15px;
	box-shadow: 0 8px 22px rgba(0,0,0,.16);
}
.atl-jo-searchrow .atl-jo-search-input:focus { outline: 2px solid rgba(91,61,245,.35); }

/* Secondary toolbar: result count + sort + view toggle */
.atl-jo-toolbar {
	display: flex; align-items: center; justify-content: space-between;
	gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.atl-jo-result-count { font-size: 14px; font-weight: 600; color: var(--atl-jo-muted); }
.atl-jo-toolbar-right { display: flex; gap: 10px; align-items: center; }
.atl-jo .atl-jo-sort-control { flex: 0 0 auto; min-width: 158px; }
.atl-jo .atl-jo-sort-control select {
	padding: 11px 38px 11px 40px !important;
	font-weight: 500 !important;
	box-shadow: none;
	border: 1px solid var(--atl-jo-border);
	background-color: var(--atl-jo-surface);
	color: var(--atl-jo-text);
}
.atl-jo .atl-jo-sort-control .atl-jo-filter-ico { left: 13px; width: 16px; height: 16px; color: var(--atl-jo-muted); }
.atl-jo .atl-jo-sort-control .atl-jo-filter-ico svg { width: 16px; height: 16px; }
.atl-jo-view-toggle { display: flex; gap: 4px; }
.atl-jo .atl-jo-view-toggle button {
	width: 40px !important; height: 40px !important;
	border: 1px solid var(--atl-jo-border) !important;
	background: var(--atl-jo-surface) !important;
	background-image: none !important;
	border-radius: calc(var(--atl-jo-radius) - 6px) !important;
	cursor: pointer; font-size: 16px !important; color: var(--atl-jo-muted) !important;
	padding: 0 !important;
	box-shadow: none !important;
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
}
.atl-jo .atl-jo-view-toggle button svg { width: 18px; height: 18px; display: block; }
.atl-jo .atl-jo-view-toggle button.active {
	background: var(--atl-jo-primary) !important;
	color: #fff !important;
	border-color: var(--atl-jo-primary) !important;
}

/* Results layout */
.atl-jo-results.view-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.atl-jo-results.view-list { display: flex; flex-direction: column; gap: 14px; }

/* Job card — image-top layout */
.atl-jo-card-job a { text-decoration: none !important; }
.atl-jo-card-job {
	background: var(--atl-jo-surface);
	border: 1px solid var(--atl-jo-border);
	border-radius: var(--atl-jo-radius);
	padding: 14px;
	box-shadow: var(--atl-jo-shadow);
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.atl-jo-card-job:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(0,0,0,.22); border-color: rgba(91,61,245,.45); }
.atl-jo-card-job.is-featured { border-color: rgba(245,158,11,.5); }

.atl-jo-card-media {
	position: relative;
	display: block;
	border-radius: calc(var(--atl-jo-radius) - 2px);
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--atl-jo-primary), var(--atl-jo-accent));
}
.atl-jo-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atl-jo-card-media-fallback {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-family: 'Space Grotesk', sans-serif; font-size: 54px; font-weight: 700; color: rgba(255,255,255,.9);
}
.atl-jo-card-flags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.atl-jo-card-flags .atl-jo-tag { background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(4px); }
.atl-jo-card-flags .tag-featured { background: rgba(245,158,11,.92); color: #1a1200; }
.atl-jo-card-flags .tag-urgent { background: rgba(239,68,68,.92); color: #fff; }

.atl-jo-card-media .atl-jo-save-btn {
	position: absolute; top: 10px; right: 10px;
	width: 34px; height: 34px; border-radius: 50%;
	background: rgba(0,0,0,.5); border: none; cursor: pointer;
	color: rgba(255,255,255,.85); font-size: 17px; line-height: 1;
	display: flex; align-items: center; justify-content: center;
	backdrop-filter: blur(4px);
	transition: transform .12s ease, color .12s ease, background .12s ease;
}
.atl-jo-card-media .atl-jo-save-btn:hover { transform: scale(1.12); color: #ff6b6b; }
.atl-jo-card-media .atl-jo-save-btn.is-saved { color: #ff5a5a; background: rgba(0,0,0,.62); }
.atl-jo-card-media .atl-jo-save-btn svg { width: 16px; height: 16px; display: block; }
.atl-jo-card-media .atl-jo-save-btn:not(.is-saved) svg { fill: none !important; }
.atl-jo-card-media .atl-jo-save-btn.is-saved svg { fill: currentColor !important; }

.atl-jo-card-body { display: flex; flex-direction: column; gap: 12px; padding: 4px 8px 8px; flex: 1; }
.atl-jo-card-heading { font-size: 19px; margin: 0; }
.atl-jo-card-heading a { color: var(--atl-jo-text); text-decoration: none; }
.atl-jo-card-heading a:hover { color: var(--atl-jo-primary); }

.atl-jo-card-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.atl-jo-card-info li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--atl-jo-text); }
.atl-jo-ico { display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; color: var(--atl-jo-muted); }
.atl-jo-ico svg { width: 18px; height: 18px; }

.atl-jo-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.atl-jo-more { display: inline-flex; align-items: center; gap: 6px; color: var(--atl-jo-accent); font-weight: 600; text-decoration: none; font-size: 15px; }
.atl-jo-more .atl-jo-ico { color: var(--atl-jo-accent); width: 16px; height: 16px; flex-basis: 16px; transition: transform .15s ease; }
.atl-jo-more:hover { color: var(--atl-jo-accent); }
.atl-jo-more:hover .atl-jo-ico { transform: translateX(3px); }

.atl-jo-status-pill { font-size: 13px; font-weight: 600; padding: 7px 20px; border-radius: 999px; }
.atl-jo-status-pill.is-open { background: rgba(16,185,129,.16); color: #10b981; }
.atl-jo-status-pill.is-closed { background: rgba(239,68,68,.16); color: #ef4444; }

/* List view adaptation */
.atl-jo-results.view-list .atl-jo-card-job { flex-direction: row; align-items: stretch; padding: 12px; }
.atl-jo-results.view-list .atl-jo-card-media { width: 240px; flex: 0 0 240px; aspect-ratio: 4 / 3; }
.atl-jo-results.view-list .atl-jo-card-body { padding: 6px 10px; }

.atl-jo-loadmore-wrap { text-align: center; margin-top: 26px; }
.atl-jo-empty-state, .atl-jo-empty { padding: 40px; text-align: center; color: var(--atl-jo-muted); }

/* Single job */
.atl-jo-single { max-width: 1080px; margin: 0 auto; }
.atl-jo-hero {
	background: linear-gradient(135deg, var(--atl-jo-primary), var(--atl-jo-accent));
	color: #fff;
	border-radius: var(--atl-jo-radius);
	padding: 30px 34px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	min-height: 230px;
	gap: 20px;
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
}
.atl-jo-hero-main { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.atl-jo-hero-title { color: inherit; font-size: 30px; margin: 8px 0; text-align: left; }
.atl-jo-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.atl-jo-hero-badges .atl-jo-tag { background: rgba(255,255,255,.2); color: inherit; }
.atl-jo-hero-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; opacity: .95; color: inherit; }
.atl-jo-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.atl-jo-hero-meta .atl-jo-ico { width: 15px; height: 15px; flex: 0 0 15px; color: inherit; opacity: .85; }
.atl-jo-hero-meta .atl-jo-ico svg { width: 15px; height: 15px; }
.atl-jo-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-self: flex-end; }
.atl-jo .atl-jo-hero-actions .atl-jo-btn { background: #fff !important; color: var(--atl-jo-primary) !important; }
.atl-jo .atl-jo-hero-actions .atl-jo-btn-ghost { background: rgba(255,255,255,.12) !important; color: #fff !important; border-color: rgba(255,255,255,.4) !important; }
.atl-jo .atl-jo-hero-actions .atl-jo-btn .atl-jo-ico,
.atl-jo .atl-jo-hero-actions .atl-jo-btn-ghost .atl-jo-ico { color: inherit; width: 16px; height: 16px; flex: 0 0 16px; }
.atl-jo .atl-jo-hero-actions .atl-jo-btn .atl-jo-ico svg,
.atl-jo .atl-jo-hero-actions .atl-jo-btn-ghost .atl-jo-ico svg { width: 16px; height: 16px; }
.atl-jo .atl-jo-hero-actions .atl-jo-save-btn.is-saved .atl-jo-ico svg { fill: currentColor; }

.atl-jo-single-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; }
.atl-jo-section { background: var(--atl-jo-surface); border: 1px solid var(--atl-jo-border); border-radius: var(--atl-jo-radius); padding: 24px; margin-bottom: 18px; box-shadow: var(--atl-jo-shadow); }
.atl-jo-section h2 { font-size: 19px; }
.atl-jo-prose { color: var(--atl-jo-text); font-size: 15px; }
.atl-jo-prose ul { padding-left: 20px; }
.atl-jo-skills { display: flex; gap: 8px; flex-wrap: wrap; }
.atl-jo-skill { background: var(--atl-jo-bg); border: 1px solid var(--atl-jo-border); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; }

.atl-jo-overview-card, .atl-jo-share-card {
	background: var(--atl-jo-card-bg, var(--atl-jo-surface));
	border: 1px solid var(--atl-jo-card-border, var(--atl-jo-border));
	color: var(--atl-jo-card-text, var(--atl-jo-text));
	border-radius: var(--atl-jo-radius);
	padding: 22px;
	margin-bottom: 18px;
	box-shadow: var(--atl-jo-shadow);
	position: sticky;
	top: 20px;
}
.atl-jo-share-card { position: static; }
.atl-jo-overview-card h3, .atl-jo-share-card h3 { color: inherit; }
.atl-jo-overview-card ul { list-style: none; margin: 0 0 16px; padding: 0; }
.atl-jo-overview-card li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--atl-jo-card-border, var(--atl-jo-border)); font-size: 14px; }
.atl-jo-overview-card li:last-child { border-bottom: none; }
.atl-jo-overview-card li strong { color: inherit; }
.atl-jo-overview-card li span { color: var(--atl-jo-muted); }
.atl-jo-share { display: flex; gap: 10px; flex-wrap: wrap; }
.atl-jo .atl-jo-share .atl-jo-share-btn {
	flex: 1 1 44px;
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	min-width: 44px; height: 44px !important;
	border: 1px solid var(--atl-jo-border) !important; border-radius: 12px !important;
	text-decoration: none !important; color: var(--atl-jo-muted) !important;
	background: var(--atl-jo-surface) !important;
	padding: 0 !important;
	transition: color .15s ease, background .15s ease, border-color .15s ease, transform .12s ease;
}
.atl-jo-share .atl-jo-share-btn svg { width: 20px; height: 20px; display: block; }
.atl-jo .atl-jo-share .atl-jo-share-btn:hover { transform: translateY(-2px); color: #fff !important; }
.atl-jo .atl-jo-share .share-linkedin:hover { background: #0a66c2 !important; border-color: #0a66c2 !important; }
.atl-jo .atl-jo-share .share-x:hover { background: #000000 !important; border-color: #000000 !important; }
.atl-jo .atl-jo-share .share-facebook:hover { background: #1877f2 !important; border-color: #1877f2 !important; }
.atl-jo .atl-jo-share .share-whatsapp:hover { background: #25d366 !important; border-color: #25d366 !important; }
.atl-jo-related { margin-top: 30px; }
.atl-jo-related h2 { margin-bottom: 16px; }

/* Modal */
.atl-jo-modal { position: fixed; inset: 0; z-index: 99999; display: none; }
.atl-jo-modal.is-open { display: block; }
.atl-jo-modal-overlay { position: absolute; inset: 0; background: rgba(15,17,28,.55); backdrop-filter: blur(2px); }
.atl-jo-modal-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	max-width: 720px;
	width: calc(100% - 32px);
	margin: 40px auto;
	max-height: calc(100vh - 80px);
	overflow: hidden;
	background: var(--atl-jo-surface);
	color: var(--atl-jo-text);
	border-radius: var(--atl-jo-radius);
	box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.atl-jo-modal-header {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 20px 26px; border-bottom: 1px solid var(--atl-jo-border);
	background: var(--atl-jo-surface); flex: 0 0 auto;
}
.atl-jo-modal-header h2 { margin: 0; font-size: 20px; }
.atl-jo .atl-jo-modal-close { background: none !important; border: none !important; font-size: 26px !important; cursor: pointer; color: var(--atl-jo-muted) !important; line-height: 1 !important; padding: 0 !important; width: 36px !important; height: 36px !important; border-radius: 9px !important; display: flex !important; align-items: center !important; justify-content: center !important; flex: 0 0 auto; box-shadow: none !important; }
.atl-jo .atl-jo-modal-close:hover { background: var(--atl-jo-bg) !important; color: var(--atl-jo-text) !important; }
.atl-jo-apply-form { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.atl-jo-modal-body { overflow-y: auto; padding: 22px 26px; flex: 1 1 auto; min-height: 0; }
.atl-jo-modal-footer { flex: 0 0 auto; padding: 16px 26px; border-top: 1px solid var(--atl-jo-border); background: var(--atl-jo-surface); }
.atl-jo-modal-footer .atl-jo-form-message { margin: 0 0 10px; }
.atl-jo-modal-footer .atl-jo-form-message:empty { margin: 0; }

/* Forms */
.atl-jo-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.atl-jo-field { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.atl-jo-field-wide { grid-column: 1 / -1; }
.atl-jo-field span, .atl-jo-field-label { font-weight: 600; font-size: 13px; color: var(--atl-jo-text); }
.atl-jo-field input, .atl-jo-field textarea, .atl-jo-field select {
	border: 1px solid var(--atl-jo-border);
	border-radius: calc(var(--atl-jo-radius) - 6px);
	padding: 10px 12px;
	font-size: 14px;
	background: var(--atl-jo-surface);
	color: var(--atl-jo-text);
	font-family: inherit;
	width: 100%;
}
.atl-jo-field input:focus, .atl-jo-field textarea:focus { outline: 2px solid rgba(91,61,245,.3); border-color: var(--atl-jo-primary); }
.atl-jo-dropzone {
	border: 2px dashed var(--atl-jo-border);
	border-radius: var(--atl-jo-radius);
	padding: 26px;
	text-align: center;
	position: relative;
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease;
	margin-top: 6px;
}
.atl-jo-dropzone.is-drag { border-color: var(--atl-jo-primary); background: rgba(91,61,245,.05); }
.atl-jo-file-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.atl-jo-drop-hint { margin: 0; color: var(--atl-jo-muted); font-size: 14px; }
.atl-jo-file-name { margin: 8px 0 0; font-weight: 600; color: var(--atl-jo-primary); font-size: 13px; }
.atl-jo-upload { margin: 16px 0; }
.atl-jo .atl-jo-terms {
	display: flex !important;
	flex-direction: row !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	gap: 10px !important;
	width: 100%;
	margin: 16px 0 0 !important;
	padding: 0 !important;
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
	color: var(--atl-jo-muted);
	cursor: pointer;
}
.atl-jo .atl-jo-terms > input[type="checkbox"] {
	-webkit-appearance: checkbox !important;
	-moz-appearance: checkbox !important;
	appearance: checkbox !important;
	position: static !important;
	float: none !important;
	margin: 2px 0 0 0 !important;
	padding: 0 !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	opacity: 1 !important;
}
.atl-jo .atl-jo-terms > span {
	flex: 1 1 auto !important;
	display: block !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}
.atl-jo-form-message { font-size: 14px; margin: 10px 0; min-height: 20px; }
.atl-jo-form-message.is-error { color: #dc2626; }
.atl-jo-form-message.is-success { color: #047857; }
.g-recaptcha { margin: 12px 0; }

/* Terms / categories grid */
.atl-jo-terms { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.atl-jo-term-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--atl-jo-surface); border: 1px solid var(--atl-jo-border); border-radius: var(--atl-jo-radius); text-decoration: none; color: var(--atl-jo-text); box-shadow: var(--atl-jo-shadow); transition: transform .12s ease; }
.atl-jo-term-card:hover { transform: translateY(-2px); border-color: var(--atl-jo-primary); }
.atl-jo-term-name { font-weight: 600; font-family: 'Space Grotesk', sans-serif; }
.atl-jo-term-count { font-size: 12px; color: var(--atl-jo-muted); font-family: 'JetBrains Mono', monospace; }

/* Searchbox */
.atl-jo-searchbox form { display: flex; gap: 10px; }
.atl-jo-searchbox input { flex: 1; border: 1px solid var(--atl-jo-border); border-radius: var(--atl-jo-radius); padding: 12px 16px; font-size: 15px; }

/* Tab panels (shared) */
.atl-jo-tab-panel { display: none; }
.atl-jo-tab-panel.active { display: block; }
.atl-jo-muted { color: var(--atl-jo-muted); }

/* Dashboard — sidebar layout */
.atl-jo-dashboard { max-width: 1080px; margin: 0 auto; }
.atl-jo-dash-layout { display: grid; grid-template-columns: 280px 1fr; gap: 22px; align-items: start; }
.atl-jo-dash-sidebar { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 20px; }
.atl-jo-profile-card {
	background: linear-gradient(150deg, var(--atl-jo-primary), var(--atl-jo-accent));
	color: #fff; border-radius: var(--atl-jo-radius); padding: 24px; text-align: center;
	box-shadow: var(--atl-jo-shadow);
}
.atl-jo-avatar {
	width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.22);
	display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
	font-size: 28px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; margin-bottom: 10px;
}
.atl-jo-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Avatar upload (profile tab) */
.atl-jo-avatar-upload { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.atl-jo-avatar-lg { width: 88px; height: 88px; flex: 0 0 88px; margin: 0; background: linear-gradient(135deg, var(--atl-jo-primary), var(--atl-jo-accent)); color: #fff; }
.atl-jo-avatar-actions { display: flex; flex-direction: column; gap: 8px; }
.atl-jo-avatar-actions .atl-jo-btn { align-self: flex-start; cursor: pointer; }
.atl-jo-avatar-hint { font-size: 12px; color: var(--atl-jo-muted); margin: 0; }
.atl-jo-avatar-msg { font-size: 13px; min-height: 16px; }
.atl-jo-avatar-msg.is-error { color: #dc2626; }
.atl-jo-avatar-msg.is-success { color: #047857; }

/* Application card + status progress */
.atl-jo-app-card { background: var(--atl-jo-surface); border: 1px solid var(--atl-jo-border); border-radius: var(--atl-jo-radius); box-shadow: var(--atl-jo-shadow); overflow: hidden; }
.atl-jo-app-card .atl-jo-app-row { background: transparent; border: none; border-radius: 0; box-shadow: none; }
.atl-jo .atl-jo-toggle-progress.is-active { background: var(--atl-jo-primary) !important; color: #fff !important; border-color: var(--atl-jo-primary) !important; }
.atl-jo-app-progress { border-top: 1px solid var(--atl-jo-border); padding: 20px 18px; background: var(--atl-jo-bg); }

.atl-jo-progress-note { font-size: 13px; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.atl-jo-progress-note.is-rejected { background: rgba(239,68,68,.1); color: #b91c1c; }
.atl-jo-progress-note.is-hold { background: rgba(245,158,11,.12); color: #b45309; }

/* Stepper with progress fill */
.atl-jo-stepper-wrap { position: relative; margin: 8px 0 22px; }
.atl-jo-stepper-track { position: absolute; top: 13px; left: 8.333%; right: 8.333%; height: 3px; background: var(--atl-jo-border); border-radius: 3px; }
.atl-jo-stepper-fill { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--atl-jo-primary), var(--atl-jo-accent)); transition: width .45s ease; }
.atl-jo-stepper-wrap.is-rejected .atl-jo-stepper-fill { background: linear-gradient(90deg, #f87171, #ef4444); }
.atl-jo-stepper-wrap.is-hold .atl-jo-stepper-fill { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.atl-jo-stepper { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; position: relative; z-index: 1; }
.atl-jo-stepper li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.atl-jo-step-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--atl-jo-surface); border: 3px solid var(--atl-jo-border); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.atl-jo-step-dot svg { width: 14px; height: 14px; }
.atl-jo-step-label { font-size: 12px; color: var(--atl-jo-muted); font-weight: 500; max-width: 92px; }
.atl-jo-stepper li.step-done .atl-jo-step-dot { background: var(--atl-jo-accent); border-color: var(--atl-jo-accent); }
.atl-jo-stepper li.step-done .atl-jo-step-label { color: var(--atl-jo-text); }
.atl-jo-stepper li.step-current .atl-jo-step-dot { background: var(--atl-jo-primary); border-color: var(--atl-jo-primary); box-shadow: 0 0 0 5px rgba(91,61,245,.16); }
.atl-jo-stepper li.step-current .atl-jo-step-label { color: var(--atl-jo-primary); font-weight: 700; }
.atl-jo-stepper-wrap.is-rejected li.step-done .atl-jo-step-dot { background: #ef4444; border-color: #ef4444; }
.atl-jo-stepper-wrap.is-hold li.step-done .atl-jo-step-dot { background: #f59e0b; border-color: #f59e0b; }

/* Progress log */
.atl-jo-progress-log { display: flex; flex-direction: column; gap: 2px; }
.atl-jo-log-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--atl-jo-border); font-size: 14px; }
.atl-jo-log-item:last-child { border-bottom: none; }
.atl-jo-log-item strong { font-weight: 600; }
.atl-jo-log-item span { font-size: 12px; color: var(--atl-jo-muted); font-family: 'JetBrains Mono', monospace; }

@media (max-width: 560px) {
	.atl-jo-step-label { font-size: 10px; }
}
.atl-jo-profile-card h3 { color: #fff; margin: 0 0 2px; font-size: 18px; }
.atl-jo-profile-card p { color: rgba(255,255,255,.85); font-size: 13px; margin: 0; word-break: break-word; }

.atl-jo-dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.atl-jo-stat { background: var(--atl-jo-surface); border: 1px solid var(--atl-jo-border); border-radius: calc(var(--atl-jo-radius) - 4px); padding: 14px; text-align: center; box-shadow: var(--atl-jo-shadow); }
.atl-jo-stat strong { display: block; font-size: 22px; font-family: 'Space Grotesk', sans-serif; color: var(--atl-jo-primary); }
.atl-jo-stat span { font-size: 12px; color: var(--atl-jo-muted); }

.atl-jo-dash-nav { display: flex; flex-direction: column; gap: 4px; background: var(--atl-jo-surface); border: 1px solid var(--atl-jo-border); border-radius: var(--atl-jo-radius); padding: 8px; box-shadow: var(--atl-jo-shadow); }
.atl-jo-dash-navitem { text-align: left; background: none; border: none; padding: 12px 14px; border-radius: calc(var(--atl-jo-radius) - 6px); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--atl-jo-text); transition: background .12s ease, color .12s ease; }
.atl-jo-dash-navitem:hover { background: var(--atl-jo-bg); }
.atl-jo-dash-navitem.active { background: var(--atl-jo-primary); color: #fff; }
.atl-jo-dash-links { display: flex; flex-direction: column; gap: 8px; }

.atl-jo-dash-main { min-width: 0; }
.atl-jo-dash-title { font-size: 22px; margin-bottom: 18px; }

.atl-jo-app-list { display: flex; flex-direction: column; gap: 12px; }
.atl-jo-app-row {
	display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
	background: var(--atl-jo-surface); border: 1px solid var(--atl-jo-border);
	border-radius: var(--atl-jo-radius); padding: 16px 18px; box-shadow: var(--atl-jo-shadow);
}
.atl-jo-app-info { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 180px; }
.atl-jo-app-title { color: var(--atl-jo-text); text-decoration: none; font-weight: 600; font-size: 16px; }
.atl-jo-app-title:hover { color: var(--atl-jo-primary); }

.atl-jo-settings-block { background: var(--atl-jo-surface); border: 1px solid var(--atl-jo-border); border-radius: var(--atl-jo-radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--atl-jo-shadow); }
.atl-jo-settings-block h3 { font-size: 16px; margin-bottom: 14px; }

/* Auth card */
.atl-jo-auth { display: flex; justify-content: center; padding: 24px 0; }
.atl-jo-auth-card { background: var(--atl-jo-surface); border: 1px solid var(--atl-jo-border); border-radius: var(--atl-jo-radius); padding: 30px; max-width: 440px; width: 100%; box-shadow: 0 18px 50px rgba(24,24,51,.12); }
.atl-jo-auth-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.atl-jo-auth-logo { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--atl-jo-primary), var(--atl-jo-accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; flex: 0 0 48px; }
.atl-jo-auth-brand h2 { margin: 0; font-size: 18px; }
.atl-jo-auth-brand p { margin: 2px 0 0; font-size: 13px; color: var(--atl-jo-muted); }
.atl-jo-auth-tabs { display: flex; background: var(--atl-jo-bg); border-radius: calc(var(--atl-jo-radius) - 4px); padding: 4px; margin-bottom: 18px; }
.atl-jo-auth-tab { flex: 1; background: none; border: none; padding: 10px; border-radius: calc(var(--atl-jo-radius) - 8px); cursor: pointer; font-weight: 600; font-size: 14px; color: var(--atl-jo-muted); }
.atl-jo-auth-tab.active { background: var(--atl-jo-surface); color: var(--atl-jo-primary); box-shadow: 0 2px 8px rgba(24,24,51,.08); }
.atl-jo-auth-form { display: none; flex-direction: column; gap: 14px; }
.atl-jo-auth-form.active { display: flex; }
.atl-jo-auth-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.atl-jo-check { display: inline-flex; gap: 6px; align-items: center; color: var(--atl-jo-muted); }
.atl-jo-auth-link { color: var(--atl-jo-primary); text-decoration: none; font-weight: 600; }
.atl-jo-auth-hint, .atl-jo-auth-back { font-size: 13px; color: var(--atl-jo-muted); margin: 0; }
.atl-jo-auth-back { text-align: center; }
.atl-jo-auth-msg { font-size: 14px; min-height: 18px; }
.atl-jo-auth-msg.is-error { color: #dc2626; }
.atl-jo-auth-msg.is-success { color: #047857; }
.atl-jo-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 860px) {
	.atl-jo-dash-layout { grid-template-columns: 1fr; }
	.atl-jo-dash-sidebar { position: static; }
	.atl-jo-dash-stats { grid-template-columns: repeat(4, 1fr); }
}

/* Responsive */
@media (max-width: 860px) {
	.atl-jo-single-grid { grid-template-columns: 1fr; }
	.atl-jo-form-grid { grid-template-columns: 1fr; }
	.atl-jo-hero { min-height: 0; }
	.atl-jo-hero-actions { align-self: stretch; }
	.atl-jo-hero-actions .atl-jo-btn { flex: 1 1 auto; }
	.atl-jo-overview-card { position: static; }
}

/* Print */
@media print {
	.atl-jo-hero-actions, .atl-jo-save-btn, .atl-jo-share-card, .atl-jo-related, .atl-jo-modal, .atl-jo-open-apply { display: none !important; }
	.atl-jo-hero { background: none !important; color: #000 !important; border: 1px solid #ccc; }
	.atl-jo-hero-title, .atl-jo-hero-meta { color: #000 !important; }
}
