/* Careers — public jobs pages and HR portal. */
.nscr { --p: var(--c-primary, #0f66b2); --pd: var(--c-primary-dark, #0b4a80); --a: var(--c-accent, #33cccc); --ink: var(--c-ink, #14232b); --line: var(--c-line, #e2eaee); --soft: var(--c-soft, #f3f8fa); --muted: var(--c-muted, #56676f); max-width: 980px; margin: 0 auto 48px; }
.nscr-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin: 10px 0 24px; }
.nscr-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow, 0 8px 24px rgba(20,35,43,.06)); transition: transform .15s, box-shadow .15s; }
.nscr-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(20,35,43,.1); }
.nscr-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.5; }
.nscr-card h3 a { color: var(--ink); text-decoration: none; }
.nscr-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.nscr-card-btn { margin-top: auto; align-self: flex-start; }
.nscr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.nscr-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; background: var(--soft); color: var(--p); }
.nscr-chip.is-open { background: #ecfdf3; color: #067647; }
.nscr-chip.is-closed { background: #fef3f2; color: #b42318; }
.nscr-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .94rem; }
.nscr-empty { padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; background: var(--soft); margin: 10px 0 24px; }
.nscr-back { margin: 0 0 12px; }
.nscr-head { padding: 30px; border-radius: 22px; background: linear-gradient(135deg, var(--p), var(--pd)); color: #fff; display: grid; gap: 14px; position: relative; overflow: hidden; }
.nscr-head::after { content: ""; position: absolute; inset-inline-end: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.nscr-head .nscr-chip { background: rgba(255,255,255,.16); color: #fff; }
.nscr-head .nscr-chip.is-open { background: var(--a); color: #06343a; }
.nscr-title { margin: 0; color: #fff; font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.35; }
.nscr-head .nscr-meta { color: rgba(255,255,255,.9); }
.nscr-apply-btn { justify-self: start; background: #fff !important; color: var(--p) !important; border-color: #fff !important; position: relative; z-index: 1; }
.nscr-body { padding: 26px 4px 8px; line-height: 1.9; }
.nscr-lead { font-size: 1.1rem; color: var(--ink); }
.nscr-body h3 { margin: 26px 0 8px; font-size: 1.2rem; }
.nscr-body ul { padding-inline-start: 22px; }
.nscr-body li { margin-bottom: 6px; }
.nscr-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 26px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.nscr-share span { font-weight: 600; color: var(--ink); }
.nscr-share a, .nscr-share button { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: .9rem; text-decoration: none; cursor: pointer; }
.nscr-share a:hover, .nscr-share button:hover { border-color: var(--p); color: var(--p); }
.nscr-apply { margin-top: 30px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow, 0 8px 24px rgba(20,35,43,.06)); scroll-margin-top: 110px; }
.nscr-apply > h2 { margin: 0 0 4px; }
.nscr-progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0; padding: 0; counter-reset: s; }
.nscr-progress li { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; font-size: .82rem; color: var(--muted); position: relative; }
.nscr-progress li::before { content: ""; position: absolute; top: 17px; inset-inline-start: calc(50% + 22px); inset-inline-end: calc(-50% + 22px); height: 3px; border-radius: 3px; background: var(--line); }
.nscr-progress li:last-child::before { display: none; }
.nscr-progress span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--soft); color: var(--muted); border: 2px solid var(--line); position: relative; z-index: 1; transition: all .2s; }
.nscr-progress em { font-style: normal; }
.nscr-progress li.is-done span { background: var(--p); border-color: var(--p); color: #fff; }
.nscr-progress li.is-done::before { background: var(--p); }
.nscr-progress li.is-on span { background: #fff; border-color: var(--p); color: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 15%, transparent); }
.nscr-progress li.is-on em { color: var(--ink); font-weight: 700; }
.nscr-form { display: grid; gap: 18px; max-width: none; margin: 0; }
.nscr-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.nscr-step legend { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; padding: 0; }
.nscr-js .nscr-step:not(.is-on) { display: none; }
.nscr-js .nscr-step.is-on { animation: nscrIn .25s ease; }
@keyframes nscrIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nscr-js .nscr-step.is-on { animation: none; } .nscr-card { transition: none; } }
.nsfm-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nscr-sub { font-weight: 700; color: var(--ink); margin: 18px 0 8px; }
.nscr-cv input[type=file] { padding: 22px; text-align: center; }
.nscr-nav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 16px; }
.nscr-nav .nscr-next, .nscr-nav .nscr-submit { margin-inline-start: auto; min-width: 160px; }
.nscr-review { padding: 14px 16px; border-radius: 12px; background: var(--soft); line-height: 1.9; font-size: .94rem; }
.nscr-review dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 14px; margin: 0; }
.nscr-review dt { color: var(--muted); }
.nscr-review dd { margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.nscr-done { text-align: center; padding: 44px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.nscr-done-icon { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 34px; background: #ecfdf3; color: #067647; }
.nscr-ref { font-size: 1.1rem; }
.nscr-ref strong { letter-spacing: .04em; }
/* HR portal */
.nscr-hr { max-width: 1180px; }
.nscr-actions a { margin-inline-end: 12px; font-weight: 600; white-space: nowrap; }
.nsfm-badge.is-job-open { background: #ecfdf3; color: #067647; }
.nsfm-badge.is-job-draft { background: #f2f4f7; color: #475467; }
.nsfm-badge.is-job-closed, .nsfm-badge.is-job-expired { background: #fef3f2; color: #b42318; }
.nsfm-badge.is-app-new { background: #fef3f2; color: #b42318; }
.nsfm-badge.is-app-reviewed { background: #f2f4f7; color: #344054; }
.nsfm-badge.is-app-shortlisted, .nsfm-badge.is-app-interview { background: #eef4ff; color: #1d4ed8; }
.nsfm-badge.is-app-offer, .nsfm-badge.is-app-hired { background: #ecfdf3; color: #067647; }
.nsfm-badge.is-app-rejected { background: #f2f4f7; color: #98a2b3; }
.nscr-editor h3, .nscr-hr .nsfm-box h3 { margin: 0 0 12px; font-size: 1.05rem; }
.nscr-two-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nscr-two-lang .nsfm-field { margin-bottom: 12px; }
.nscr-previews { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nscr-previews figure { margin: 0; }
.nscr-previews canvas, .nscr-share-img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line, #e2eaee); display: block; background: #eef4f8; }
.nscr-previews figcaption { text-align: center; font-size: .85rem; color: var(--c-muted, #56676f); margin-top: 6px; }
.nscr-save-row { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, #fff 30%); z-index: 2; }
.nscr-save-row .btn { min-width: 200px; }
.nscr-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.nscr-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.nscr-tabs a { padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--c-line, #e2eaee); text-decoration: none; font-weight: 600; font-size: .9rem; }
.nscr-tabs a.is-on { background: var(--c-primary, #0f66b2); border-color: var(--c-primary, #0f66b2); color: #fff; }
@media (max-width: 760px) {
	.nscr-two-lang, .nscr-previews, .nsfm-grid.is-3 { grid-template-columns: 1fr; }
	.nscr-head, .nscr-apply { padding: 22px 16px; border-radius: 18px; }
	.nscr-progress em { display: none; }
	.nscr-nav .btn { flex: 1; }
}
.nscr [hidden], .nscr-nav [hidden], .nscr-review[hidden] { display: none !important; }
