/* Post a job and My jobs, flow 2 redesign (28 Oct). Markup: templates/jobs/job-{submit,preview,submitted,dashboard}.php, script assets/js/job-post.js.
   Flat v3 values as the jobs list (jobs.css .ljl). Loaded on the submit and dashboard pages only (includes/pages/job-post.php). */
.ljp, .ljd { --j-ink: #0d1224; --j-navy: #0a0e24; --j-mut: #667089; --j-hair: #e4e7ef; --j-tint: #eef1f7; --j-link: #3d63ff; --j-yes: #2346d8; --j-yes-bg: #eaf0ff; --j-r: 12px; --j-font: var(--ld-text, -apple-system, "SF Pro Text", system-ui, sans-serif); --j-head: var(--ld-heading, var(--j-font)); font-family: var(--j-font); color: var(--j-ink); }

/* ---------- shared buttons ---------- */
.ljp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--j-hair); color: var(--j-ink) !important; font: 600 14.5px/1 var(--j-font); text-decoration: none !important; cursor: pointer; white-space: nowrap; transition: background-color 160ms, transform 120ms; -webkit-tap-highlight-color: transparent; }
.ljp-btn:hover { background: var(--j-tint); }
.ljp-btn:active { transform: scale(.97); }
.ljp-btn--main { background: var(--j-navy); box-shadow: none; color: #fff !important; }
.ljp-btn--main:hover { background: #1b2350; }
.ljp-btn--quiet { box-shadow: none; background: none; color: var(--j-link) !important; }
.ljp-btn--icon { width: 44px; padding: 0; }
.ljp-btn--icon svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Post a job: the frame ---------- */
form.ljp { display: block; max-width: 680px; margin: 0 auto; padding: 0; background: none; box-shadow: none; border-radius: 0; }
body.ld-jobs--submit form.ljp.idu-job-submit-form, body.ld-jobs--submit form.ljp { display: block; padding: 0; background: none; box-shadow: none; }
.ljp-note { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--j-tint); font-size: 14.5px; }
.ljp-progress { display: flex; gap: 6px; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: none; }
.ljp-progress li { flex: 1; display: grid; gap: 6px; margin: 0; min-width: 0; }
.ljp-progress li::before { content: ""; height: 4px; border-radius: 4px; background: var(--j-hair); transition: background-color 240ms; }
.ljp-progress li.is-done::before, .ljp-progress li[aria-current]::before { background: var(--j-link); }
.ljp-progress li span { display: none; }
.ljp-progress li b { font: 600 12px/1.2 var(--j-font); color: var(--j-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ljp-progress li[aria-current] b { color: var(--j-ink); }
.ljp-step { padding: 26px; border: 1px solid var(--j-hair); border-radius: var(--j-r); background: #fff; margin: 0 0 14px; }
.ljp-step__n { margin: 0 0 4px; font: 600 12.5px/1 var(--j-font); letter-spacing: .06em; text-transform: uppercase; color: var(--j-mut); }
.ljp .ljp-step__h, body.ld-jobs .ljp .ljp-step__h { margin: 0 0 6px; font: 800 26px/1.15 var(--j-head); letter-spacing: -.015em; color: var(--j-navy); text-shadow: none; outline: none; }
.ljp-step__lede { margin: 0 0 18px; font: 400 15.5px/1.5 var(--j-font); color: var(--j-mut); }
.ljp-step > .ljp-f:first-of-type, .ljp-step > .ljp-yesgroup:first-of-type { margin-top: 18px; }

/* fields */
.ljp .ljp-f { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.ljp .ljp-f > label { display: block; margin: 0; font: 600 15px/1.3 var(--j-font); color: var(--j-ink); }
.ljp .ljp-f > label small { font-weight: 400; color: var(--j-mut); font-size: 13.5px; margin-left: 4px; }
.ljp .ljp-f .field { margin: 0; }
.ljp .ljp-f :is(input[type=text], input[type=email], input[type=url], input[type=number], input[type=tel], select, textarea) { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #d6dbe6; border-radius: 10px; background: #fff; font: 400 16px/1.35 var(--j-font); color: var(--j-ink); box-shadow: none; box-sizing: border-box; }
.ljp .ljp-f textarea { min-height: 160px; }
.ljp .ljp-f :is(input, select, textarea):focus { outline: 0; border-color: var(--j-link); box-shadow: 0 0 0 3px rgba(61,99,255,.18); }
.ljp .ljp-f small.description { display: block; margin-top: 6px; font: 400 13.5px/1.4 var(--j-font); color: var(--j-mut); }
.ljp .ljp-f.is-bad :is(input, select, textarea, .select2-selection, .wp-editor-wrap) { border-color: #d0453b !important; }
.ljp .ljp-err { margin: 0; font: 500 13.5px/1.35 var(--j-font); color: #b3261e; }
.ljp .ljp-err[hidden] { display: none; }
.ljp .fieldset-remote_position .field { display: flex; align-items: center; gap: 10px; }
.ljp .fieldset-remote_position { grid-template-columns: auto 1fr; align-items: center; }
.ljp .fieldset-remote_position > label { order: 2; font-weight: 500; }
.ljp .fieldset-remote_position .field { order: 1; }
.ljp .fieldset-remote_position input[type=checkbox] { width: 22px; height: 22px; margin: 0; accent-color: var(--j-link); }
.ljp .fieldset-remote_position .description { display: none !important; }
.ljp-pay { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }

/* the visa answer: three yes or no cards */
.ljp-yesgroup { display: grid; gap: 10px; margin: 0 0 22px; }
.ljp .ljp-yes { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 18px; border: 1px solid var(--j-hair); border-radius: var(--j-r); background: #fff; cursor: pointer; transition: border-color 160ms, background-color 160ms; -webkit-tap-highlight-color: transparent; }
.ljp .ljp-yes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ljp-yes__t { flex: 1; display: grid; gap: 3px; min-width: 0; }
.ljp-yes__t strong { font: 700 16px/1.3 var(--j-font); color: var(--j-ink); }
.ljp-yes__t small { font: 400 14px/1.4 var(--j-font); color: var(--j-mut); }
.ljp-yes__sw { flex: none; position: relative; width: 48px; height: 28px; border-radius: 999px; background: #d6dbe6; transition: background-color 180ms; }
.ljp-yes__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10,14,36,.3); transition: transform 200ms cubic-bezier(.2,0,0,1); }
.ljp .ljp-yes:has(input:checked) { border-color: var(--j-link); background: var(--j-yes-bg); }
.ljp .ljp-yes:has(input:checked) .ljp-yes__sw { background: var(--j-link); }
.ljp .ljp-yes:has(input:checked) .ljp-yes__sw::after { transform: translateX(20px); }
.ljp .ljp-yes:has(input:focus-visible) { outline: 2px solid var(--j-link); outline-offset: 2px; }

/* company folded into the last step */
.ljp-co { margin: 6px 0 0; padding: 14px 16px; border-radius: var(--j-r); background: var(--j-tint); }
.ljp-co__sum { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ljp-co__lbl { font: 400 14.5px var(--j-font); color: var(--j-mut); }
.ljp-co__sum strong { font: 700 15px/1.3 var(--j-font); }
.ljp-co__chg { margin-left: auto; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--j-hair); font: 600 14px/1 var(--j-font); color: var(--j-ink); cursor: pointer; }
.ljp-co__fields { margin-top: 16px; }
.ljp-co__fields[hidden] { display: none; }

/* the step buttons */
.ljp-nav { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; }
.ljp-nav [hidden] { display: none !important; }
.ljp .ljp-nav :is(.ljp-nav__next, .ljp-nav__go, input.ljp-nav__go) { flex: 1; height: 52px; margin: 0; padding: 0 24px; border: 0; border-radius: 999px; background: var(--j-link); box-shadow: 0 10px 22px -12px rgba(61,99,255,.8); color: #fff; font: 700 16px/1 var(--j-font); cursor: pointer; -webkit-appearance: none; appearance: none; transition: background-color 160ms, transform 120ms; }
.ljp .ljp-nav :is(.ljp-nav__next, .ljp-nav__go):active { transform: scale(.98); }
.ljp .ljp-nav :is(.ljp-nav__back, input.ljp-nav__back, .ljp-nav__draft) { height: 52px; margin: 0; padding: 0 22px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--j-hair); color: var(--j-ink); font: 600 15.5px/1 var(--j-font); cursor: pointer; -webkit-appearance: none; appearance: none; }
form.ljp[data-ljp-steps]:not(.is-stepped) .ljp-nav__next, form.ljp[data-ljp-steps]:not(.is-stepped) .ljp-nav__back { display: none; }

/* ---------- preview ---------- */
.ljp-prev__card { margin: 0 0 14px; }
.ljp-prev__card .ljob { pointer-events: none; }
.ljp-prev__page { padding: 22px; border: 1px solid var(--j-hair); border-radius: var(--j-r); background: #fff; margin: 0 0 16px; }
.ljp-prev__lbl { margin: 0 0 10px; font: 600 12.5px/1 var(--j-font); letter-spacing: .06em; text-transform: uppercase; color: var(--j-mut); }
.ljp .ljp-prev__title { margin: 0; font: 800 24px/1.15 var(--j-head); color: var(--j-navy); text-shadow: none; }
.ljp-prev__co { margin: 4px 0 12px; color: var(--j-mut); font-size: 15px; }
.ljp-prev__visa { display: inline-block; margin: 0 0 12px; padding: 8px 12px; border-radius: 8px; background: var(--j-tint); font: 600 14.5px/1.3 var(--j-font); }
.ljp-prev__visa.is-yes { background: var(--j-yes-bg); color: var(--j-yes); }
.ljp-prev__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 15px; }
.ljp-prev__facts li { margin: 0; }
.ljp-prev__desc { font: 400 15.5px/1.6 var(--j-font); color: #2a3146; border-top: 1px solid var(--j-hair); padding-top: 12px; }
.ljp-prev__tip { margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff8ec; color: #4d3a12; font-size: 14.5px; line-height: 1.45; }
.ljp-progress--done li span { display: none; }

/* ---------- done ---------- */
.ljp-done, .ljp-done__share { width: calc(100% - 32px); max-width: 720px; margin: 0 auto; }
.ljp-done { margin-top: 32px; padding: 36px 26px; border: 1px solid var(--j-hair); border-radius: var(--j-r); background: #fff; text-align: center; }
.ljp-done__tick { display: inline-grid; place-items: center; width: 64px; height: 64px; margin: 0 0 14px; border-radius: 50%; background: var(--j-yes-bg); color: var(--j-link); }
.ljp-done__tick svg { width: 32px; height: 32px; }
.ljp-done__go { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

/* ---------- My jobs ---------- */
.ljd { max-width: 860px; }
.ljd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 18px; }
.ljd .ljd-head__h, body.ld-jobs .ljd .ljd-head__h { margin: 0; font: 800 28px/1.1 var(--j-head); color: var(--j-navy); text-shadow: none; }
.ljd-head__sub { margin: 6px 0 0; font-size: 15px; color: var(--j-mut); }
.ljd-search { margin: 0 0 14px; }
.ljd-search input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--j-hair); border-radius: 10px; font: 400 16px var(--j-font); }
.ljd-tabs { display: flex; gap: 6px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; }
.ljd-tab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--j-hair); border-radius: 999px; background: #fff; font: 600 14px/1 var(--j-font); color: var(--j-ink); cursor: pointer; }
.ljd-tab span { color: var(--j-mut); font-weight: 500; }
.ljd-tab[aria-selected="true"] { background: var(--j-navy); border-color: var(--j-navy); color: #fff; }
.ljd-tab[aria-selected="true"] span { color: rgba(255,255,255,.7); }
.ljd-list { display: grid; gap: 10px; }
.ljd-job { display: grid; gap: 8px; padding: 18px 20px; border: 1px solid var(--j-hair); border-radius: var(--j-r); background: #fff; }
.ljd-job[hidden] { display: none; }
.ljd-job__top { display: flex; flex-wrap: wrap; gap: 6px; }
.ljd-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font: 700 12.5px/1 var(--j-font); }
.ljd-pill--live { background: #e3f5ec; color: #11613c; }
.ljd-pill--wait { background: #fff3d6; color: #6b4a00; }
.ljd-pill--closed { background: var(--j-tint); color: var(--j-mut); }
.ljd .ljd-job__t, body.ld-jobs .ljd .ljd-job__t { margin: 0; font: 700 18px/1.3 var(--j-font); text-shadow: none; overflow-wrap: anywhere; }
.ljd-job__t a { color: var(--j-ink); text-decoration: none; }
.ljd-job__sub { margin: -4px 0 0; font-size: 14px; color: var(--j-mut); }
.ljd-job__nums { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 4px 0 2px; }
.ljd-num { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 14px; border-radius: 10px; background: var(--j-tint); font: 500 14px/1.2 var(--j-font); color: var(--j-mut); text-decoration: none; }
.ljd-num b { font: 800 20px/1 var(--j-head); color: var(--j-ink); }
.ljd-num em { font-style: normal; margin-left: 4px; padding: 3px 7px; border-radius: 999px; background: var(--j-link); color: #fff; font: 700 12px/1 var(--j-font); }
a.ljd-num--apps { background: var(--j-yes-bg); color: var(--j-yes); }
a.ljd-num--apps b { color: var(--j-yes); }
.ljd-num--when { align-items: center; }
.ljd-num--when.is-soon { background: #fdecea; color: #a33a12; font-weight: 600; }
.ljd-job__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.ljd-more { position: relative; }
.ljd-more > summary { list-style: none; }
.ljd-more > summary::-webkit-details-marker { display: none; }
.ljd-more__sheet { position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); min-width: 200px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--j-hair), 0 18px 40px -18px rgba(10,14,36,.45); }
.ljd-more__t { display: none; }
.ljd-more__i { display: block; padding: 11px 12px; border-radius: 8px; color: var(--j-ink) !important; font: 500 15px/1.2 var(--j-font); text-decoration: none !important; }
.ljd-more__i:hover { background: var(--j-tint); }
.ljd-more__i.is-danger { color: #b3261e !important; }
.ljd-empty { display: grid; justify-items: center; gap: 8px; padding: 44px 24px; border: 1px solid var(--j-hair); border-radius: var(--j-r); background: #fff; text-align: center; }
.ljd-empty strong { font: 700 18px/1.3 var(--j-font); }
.ljd-empty p { margin: 0 0 6px; color: var(--j-mut); font-size: 15px; max-width: 380px; }
.ljd-tabempty { margin: 0; padding: 28px; border: 1px dashed var(--j-hair); border-radius: var(--j-r); text-align: center; color: var(--j-mut); }

@media (max-width: 799px) {
	/* the form's own buttons are the only bar at the bottom */
	body.ld-jobs--submit nav.idu-bottom-toolbar { display: none !important; }
	.ljp-step { padding: 20px 16px; }
	.ljp .ljp-step__h, body.ld-jobs .ljp .ljp-step__h { font-size: 23px; }
	form.ljp.is-stepped { padding-bottom: 84px; }
	form.ljp.is-stepped .ljp-nav { position: fixed; z-index: 9990; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--j-hair); transition: transform 200ms cubic-bezier(.2,0,0,1); }
	form.ljp.is-typing .ljp-nav { transform: translateY(110%); }
	.ljp-nav--prev { position: sticky; bottom: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, #f5f6f9 70%, rgba(245,246,249,0)); }
	.ljp-pay { grid-template-columns: 1fr 1fr; }
	.ljd-head { align-items: center; }
	.ljd-head__sub { display: none; }
	.ljd-job { padding: 16px; }
	/* More opens as a sheet from the bottom */
	.ljd-more[open]::before { content: ""; position: fixed; inset: 0; z-index: 9995; background: rgba(10,14,36,.45); }
	.ljd-more__sheet { position: fixed; z-index: 9996; left: 0; right: 0; top: auto; bottom: 0; min-width: 0; padding: 12px 12px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 18px 18px 0 0; }
	.ljd-more__t { display: block; margin: 4px 12px 8px; font: 700 15px/1.3 var(--j-font); color: var(--j-mut); }
	.ljd-more__i { padding: 15px 12px; font-size: 16px; }
}

/* after the first look: the signed-in line is one quiet row; terms sit in the last step */
.ljp-signin { margin: 0 0 18px; }
.ljp-signin fieldset { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 0; border: 0; font: 400 14.5px/1.4 var(--j-font); color: var(--j-mut); }
.ljp-signin fieldset > label { display: none; }
.ljp-signin .field { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; }
.ljp-signin .field p, .ljp-signin .account-sign-in { margin: 0; color: var(--j-mut); }
.ljp-signin a.button, .ljp-signin .button { height: auto; min-height: 0; padding: 0; border: 0; background: none !important; box-shadow: none; color: var(--j-link) !important; font: 600 14.5px/1.4 var(--j-font); }
.ljp-end { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--j-hair); font: 400 15px/1.45 var(--j-font); }
.ljp-end a { color: var(--j-link) !important; }
.ljp-end input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--j-link); vertical-align: middle; }
.ljd-head { justify-content: space-between; }
/* second look: theme label and action styles were winning */
form.ljp .ljp-yesgroup label.ljp-yes { display: flex; flex-direction: row; align-items: center; margin: 0; }
form.ljp .ljp-yes i.ljp-yes__sw { display: block; font-size: 0; }
.ljp-signin label, .ljp-signin h2, .ljp-signin legend { display: none !important; }
.ljd .ljd-job__acts a.jm-dashboard-action, .ljd .ljd-job__acts .ljp-btn, .ljd .ljd-more__i.jm-dashboard-action { line-height: 1; padding-top: 0; padding-bottom: 0; min-height: 0; margin: 0; }
.ljd .ljd-job__acts a.ljp-btn.jm-dashboard-action { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; }
.ljd .ljd-more a.ljd-more__i.jm-dashboard-action { display: block; height: auto; padding: 14px 12px; background: none; box-shadow: none; border-radius: 8px; }
.ljd .ljd-job__t, .ljd .ljd-job__t a { color: var(--j-ink); }
.ljp-pay { align-items: start; }
.ljp-pay .ljp-f small.description { display: none; }

/* ---- blind-fixes (28 Oct, finding 5): Post a job on the shared create kit (forms-listing.css + ld-steps.css).
   The form is the kit's .ldlf-form inside .ldlf-formwrap: one step per screen, the pinned preview at 900px and up, the preview as the
   last step on a phone, the kit's bottom bar. These rules only undo the old flow 2 card look and fit WPJM's own controls into the kit. */
body.ld-jobpost .ljp-page { width: 100%; max-width: none; padding: 0; float: none; }
body.ld-jobpost .entry-header, body.ld-jobpost .page-header { display: none; }
.ljpw form.ljp { max-width: none; }
.ljpw .ljp-step { padding: 0; border: 0; border-radius: 0; background: none; margin: 0; }
/* ios-keyboard-8nov (Nikita): hidden steps were laid out at height 0 and shown with a translate animation, which on iOS left the textarea without a keyboard (most likely cause, not proven on a device). Off steps are display none (ld-steps.css) and the shown step only fades. */
.ljpw .ldlf-form.is-stepped .ldlf-sec.ljp-step.is-on { animation-name: ljp-step-in; }
@keyframes ljp-step-in { from { opacity: 0; } to { opacity: 1; } }
.ljpw .ljp .ljp-step__h { font: 800 26px/1.12 var(--j-head); letter-spacing: -.02em; color: var(--j-navy); }
.ljpw .ljp-step > .ljp-f:first-of-type, .ljpw .ljp-step > .ljp-yesgroup:first-of-type, .ljpw .ljp-step > .ljp-pay:first-of-type { margin-top: 18px; }
.ljpw .ljp-f { min-width: 0; }
.ljpw .ljp-f input:not([type=checkbox]):not([type=radio]):not([type=file]), .ljpw .ljp-f select, .ljpw .ljp-f textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
/* Category and Work type: WPJM's select2 / chosen boxes drawn like the kit's own fields */
.ljpw .ljp-f .select2-container, .ljpw .ljp-f .chosen-container { width: 100% !important; max-width: 100%; }
.ljpw .ljp-f .select2-selection, .ljpw .ljp-f .chosen-choices, .ljpw .ljp-f .chosen-single { min-height: 50px; padding: 6px 12px; border: 0 !important; border-radius: 12px !important; background: var(--ld-white, #fff) !important; box-shadow: inset 0 0 0 1px var(--ld-line, #E3E7F1) !important; font: 400 16px/1.4 var(--j-font); background-image: none !important; }
@media (min-width: 900px) { .ljpw .ljp-f .select2-selection, .ljpw .ljp-f .chosen-choices, .ljpw .ljp-f .chosen-single { background: var(--ld-pearl, #F3F5FA) !important; box-shadow: none !important; } }
.ljpw .ljp-f .select2-selection__choice, .ljpw .ljp-f .chosen-choices li.search-choice { border: 0 !important; border-radius: 999px !important; background: var(--ld-info-bg, #EAF0FF) !important; color: var(--ld-midnight, #141A66) !important; box-shadow: none !important; background-image: none !important; font-weight: 600; }
/* Pay and Per side by side only when there is room; stacked on a phone (blind test: Per ran off the screen) */
.ljpw .ljp-pay { grid-template-columns: 1fr; }
@media (min-width: 560px) { .ljpw .ljp-pay { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
/* the bottom bar: the kit's Back, Next and the WPJM submit; WPJM's Save draft lives behind the X once stepped */
.ljpw .ldlf-form.is-stepped .ljp-draft { display: none; }
.ljpw .ldlf-post { -webkit-appearance: none; appearance: none; cursor: pointer; }
.ljpw .ldlf-form.is-typing .ldlf-bar { transform: translateY(110%); }
.ljpw .ldlf-bar { transition: transform 200ms cubic-bezier(.2,0,0,1); }
.ljpw .ljp-end { margin-top: 18px; }
/* the preview card: the job as it shows in the jobs list */
.ljp-card { display: grid; gap: 8px; padding: 18px; border-radius: 16px; background: var(--ld-white, #fff); box-shadow: 0 1px 2px rgba(11,13,26,.06), 0 8px 24px -16px rgba(20,26,102,.28); }
.ljp-card__top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.ljp-card__logo { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--ld-info-bg, #EAF0FF); color: var(--ld-midnight, #141A66); overflow: hidden; }
.ljp-card__logo img { width: 100%; height: 100%; object-fit: cover; }
.ljp-card__who { min-width: 0; }
.ljp-card .ldlf-card__title { margin: 0; font: 700 17px/1.25 var(--j-head); color: var(--ld-ink, #0B0D1A); overflow-wrap: anywhere; }
.ljp-card__co { margin: 2px 0 0; font: 500 14px/1.3 var(--j-font); color: var(--j-mut); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ljp-card .ldlf-card__price { margin: 4px 0 0; font: 700 16px/1.2 var(--j-font); color: var(--ld-ink, #0B0D1A); }
.ljp-card .ldlf-card__place { margin: 0; font: 400 14.5px/1.35 var(--j-font); color: var(--j-mut); }
.ljp-card .is-empty { color: rgba(11,13,26,.38); }
.ljp-card .ldlf-card__facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.ljp-card .ldlf-card__facts span { padding: 5px 10px; border-radius: 999px; background: var(--ld-pearl, #F3F5FA); font: 600 12.5px/1 var(--j-font); color: var(--ld-ink, #0B0D1A); }
.ljp-card .ldlf-card__facts span.is-visa { background: var(--ld-info-bg, #EAF0FF); color: var(--ld-midnight, #141A66); }
.ljp-prev-note { margin: 14px 0 0; font: 400 14.5px/1.45 var(--j-font); color: var(--j-mut); }
.ljpw .ljp-f .field, .ljpw .ljp-f .field > * { width: 100%; max-width: none !important; }
.ljpw .ljp-f input:not([type=checkbox]):not([type=radio]):not([type=file]), .ljpw .ljp-f select, .ljpw .ljp-f textarea { max-width: none !important; min-height: 50px; border: 0 !important; border-radius: 12px !important; background: var(--ld-white, #fff) !important; box-shadow: inset 0 0 0 1px var(--ld-line, #E3E7F1) !important; font-size: 16px; }
@media (min-width: 900px) { .ljpw .ljp-f input:not([type=checkbox]):not([type=radio]):not([type=file]), .ljpw .ljp-f select, .ljpw .ljp-f textarea { background: var(--ld-pearl, #F3F5FA) !important; box-shadow: none !important; } }
.ljpw .fieldset-type-checkbox label small, .ljpw .fieldset-remote_position label small { display: none; }
.ljpw .ljp-pay > .ljp-f, .ljpw .ljp-pay .field, .ljpw .ljp-pay .field > * { width: 100% !important; max-width: none !important; }
.ljpw .ljp-pay label { white-space: nowrap; }

/* jobs-fix (28 Oct): My jobs as rows in one sheet (the cards with stat pills read as an admin panel). Tile, title, status dot and date,
   applications and views inline; Edit and More on the right. */
.ljd .ljd-list { gap: 0; border: 1px solid var(--j-hair); border-radius: var(--j-r); background: #fff; overflow: visible; }
.ljd .ljd-job { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 0; border-radius: 0; background: none; }
.ljd .ljd-list > .ljd-job:not([hidden]) ~ .ljd-job:not([hidden]) { border-top: 1px solid var(--j-hair); }
.ljd-job__logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--j-hair); }
.ljd-job__logo img { width: 100%; height: 100%; object-fit: contain; }
.ljd-job__logo.is-empty { background: var(--j-tint); box-shadow: none; color: var(--j-navy); font: 700 13.5px/1 var(--j-font); }
.ljd-job__main { display: grid; gap: 3px; min-width: 0; }
.ljd .ljd-job__t, body.ld-jobs .ljd .ljd-job__t { font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ljd .ljd-job__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font: 400 13.5px/1.3 var(--j-font); color: var(--j-mut); }
.ljd .ljd-job__sub .is-soon { color: #a33a12; font-weight: 600; }
.ljd-st { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--j-ink); }
.ljd-st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa3b8; }
.ljd-st--live::before { background: #1f9d5c; }
.ljd-st--wait::before { background: #e0a100; }
.ljd .ljd-job__nums { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; }
.ljd .ljd-num { display: inline; padding: 0; background: none; font: 400 13.5px/1.3 var(--j-font); color: var(--j-mut); border-radius: 0; }
.ljd .ljd-num b { font: 700 13.5px/1.3 var(--j-font); color: var(--j-ink); }
.ljd a.ljd-num--apps { background: none; color: var(--j-link); text-decoration: none; }
.ljd a.ljd-num--apps b { color: var(--j-link); }
.ljd .ljd-num em { margin-left: 6px; padding: 2px 6px; font-size: 11px; }
.ljd .ljd-job__acts { flex-wrap: nowrap; gap: 6px; margin: 0; }
.ljd .ljd-job__acts a.ljp-btn.ljd-job__edit.jm-dashboard-action { height: 38px; padding: 0 16px; font-size: 14px; }
.ljd .ljd-job__acts .ljd-more > summary { width: 38px; height: 38px; }
.ljd .ljd-more__sheet { left: auto; right: 0; }
.ljd .ljd-tabempty { border: 0; }
@media (max-width: 900px) {
	.ljd .ljd-list { margin: 0 -16px; border-radius: 0; border-left: 0; border-right: 0; }
	.ljd .ljd-job { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; padding: 12px 16px; }
	.ljd-job__logo { width: 40px; height: 40px; }
	.ljd .ljd-job__acts a.ljp-btn.ljd-job__edit.jm-dashboard-action { padding: 0 12px; }
	.ljd .ljd-more__sheet { left: 0; right: 0; }
}
/* share-restore (28 Oct): the posted date and the closing date on each row, one dot between them */
.ljd .ljd-job__sub .ljd-job__date + .ljd-job__date::before { content: "\00B7"; margin: 0 8px 0 -2px; color: #a3aabb; font-weight: 400; }
@media (max-width: 640px) { .ljd .ljd-job__sub .ljd-job__date + .ljd-job__date::before { content: none; } }
/* quick fixes (28 Oct, Nikita: "this preview page is off and not presented well"): Check your job sits in the page margins as two cards,
   the facts as icon chips like the job's page, the visa line as a tinted tag, Edit and Post job at the foot. */
.ljp.ljp-prev{padding:0 16px 24px!important}
.ljp.ljp-prev .ljp-progress{margin:0 -16px 16px;padding:0 16px}
.ljp.ljp-prev .ljp-prev__card,.ljp.ljp-prev .ljp-prev__page{margin:16px 0 0;padding:16px;border-radius:16px;background:#fff;box-shadow:0 1px 2px rgba(11,13,26,.06),0 0 0 1px #E3E7F1!important;padding:16px!important;border:0!important}
.ljp.ljp-prev .ljp-prev__card>*{margin:0}
.ljp.ljp-prev .ljp-prev__lbl{margin:0 0 8px;font:600 12px/1.2 var(--ld-text,Inter,sans-serif);letter-spacing:.06em;text-transform:uppercase;color:#667089}
.ljp.ljp-prev .ljp-prev__title{margin:0;font:700 22px/1.2 var(--ld-heading,'Inter Tight',sans-serif);letter-spacing:-.01em}
.ljp.ljp-prev .ljp-prev__co{margin:4px 0 0;color:#4a4f63}
.ljp.ljp-prev .ljp-prev__visa{display:inline-flex;margin:12px 0 0;padding:6px 12px;border-radius:999px;background:#F3F5FA;font:600 13.5px/1.3 var(--ld-text,Inter,sans-serif)}
.ljp.ljp-prev .ljp-prev__visa.is-yes{background:#E8F6EE;color:#1F6B47}
.ljp.ljp-prev .ljp-prev__facts{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 0!important;padding:0!important;list-style:none}
.ljp.ljp-prev .ljp-prev__facts li{display:inline-flex;align-items:center;gap:6px;margin:0;padding:7px 12px;border-radius:999px;background:#F3F5FA;font:500 14px/1.2 var(--ld-text,Inter,sans-serif);color:#0B0D1A}
.ljp.ljp-prev .ljp-prev__facts li svg{flex:none;color:#667089}
.ljp.ljp-prev .ljp-prev__desc{margin:14px 0 0;padding-top:14px;border-top:1px solid #E3E7F1}
.ljp.ljp-prev .ljp-prev__tip{margin:14px 0 0;padding:12px 14px;border-radius:12px}
.ljp.ljp-prev .ljp-nav--prev{margin-top:20px}
@media (min-width:768px){.ljp.ljp-prev{max-width:680px;margin:0 auto;padding:0 0 32px!important}.ljp.ljp-prev .ljp-progress{margin:0 0 20px;padding:0}}
html body #job_preview.ljp.ljp-prev div.ljp-prev__page.single_job_listing.job_listing_preview{margin:16px 0 0!important;padding:16px!important;border:0!important;border-radius:16px!important;background:#fff!important;box-shadow:0 1px 2px rgba(11,13,26,.06),0 0 0 1px #E3E7F1!important}

/* Posting as (businesses and jobs lane, 28 Oct): your businesses as cards first on step 1, the selected one ringed; "Post as yourself" as a
   smaller line under them; a business not yet published links to finishing it. Markup: ldbz_job_as_html in business-kit.php. */
.ljp-as { margin: 4px 0 18px; }
.ljp-as__l { margin: 0 0 8px; font: 600 14px/1.2 Inter, sans-serif; color: #0B0D1A; }
.ljp-as__list { display: grid; gap: 8px; }
.ljp-as__o { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px #E3E7F1; cursor: pointer; color: #0B0D1A !important; text-decoration: none !important; transition: box-shadow .16s; }
.ljp-as__o input, .ljp-as__me input { position: absolute; opacity: 0; pointer-events: none; }
.ljp-as__o:has(input:checked) { box-shadow: inset 0 0 0 2px #141A66; }
.ljp-as__o:has(input:focus-visible), .ljp-as__me:has(input:focus-visible) { outline: 3px solid rgba(61,107,255,.45); outline-offset: 2px; }
.ljp-as__logo { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 12px; overflow: hidden; color: #fff; font: 800 17px/1 "Inter Tight", sans-serif; box-shadow: 0 0 0 1px #E3E7F1; }
.ljp-as__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ljp-as__logo.is-t0 { background: linear-gradient(135deg,#1d2a6b,#3d63ff); } .ljp-as__logo.is-t1 { background: linear-gradient(135deg,#0a0e24,#2c4a8f); }
.ljp-as__logo.is-t2 { background: linear-gradient(135deg,#21407a,#5b8def); } .ljp-as__logo.is-t3 { background: linear-gradient(135deg,#123a5c,#2f7fb8); }
.ljp-as__t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ljp-as__t b { font: 650 15.5px/1.25 Inter, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ljp-as__t small { font: 400 13.5px/1.3 Inter, sans-serif; color: rgba(11,13,26,.66); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ljp-as__tick { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #c5cbd8; transition: box-shadow .16s; }
.ljp-as__o:has(input:checked) .ljp-as__tick { box-shadow: inset 0 0 0 7px #141A66; }
.ljp-as__o.is-wait { cursor: pointer; background: #fffaf0; box-shadow: inset 0 0 0 1px #f3e2b5; }
.ljp-as__o.is-wait small { color: #6b4e00; }
.ljp-as__o.is-wait > svg { width: 18px; height: 18px; color: #6b4e00; }
.ljp-as__me { position: relative; display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer; font: 500 14px/1.2 Inter, sans-serif; color: rgba(11,13,26,.72); }
.ljp-as__me .ljp-as__av { width: 24px !important; height: 24px !important; border-radius: 50%; font-size: 10px !important; display: inline-grid !important; place-items: center; color: #fff; }
.ljp-as__me:has(input:checked) { background: #EEF1F7; color: #0B0D1A; font-weight: 600; box-shadow: inset 0 0 0 2px #141A66; }
.ljp-as.is-me .ljp-as__o:not(.is-wait) { opacity: .72; }
.ljp-as__o.is-wait small { white-space: normal; }

/* round 2 (review: at 1440 the preview hugged the left two thirds under a banner glued to the header; the first card had double padding):
   the preview is one centred 680px column with room above, and the Jobs card inside "how it shows" uses the card's own 16px padding */
@media (min-width:900px){.ljp.ljp-prev{margin:28px auto 0!important}}
.ljp.ljp-prev .ljp-prev__card>.ljob{padding:0!important;box-shadow:none!important;border:0!important}
