/* NAEJOBS Pro (pro1, 2026-10-28, TEST page first) - js/pro.js: the header's small Sign in button, the grey (locked) map filters,
   and the $4.99/month overlay (Sign up / Sign in, what Pro includes, the fine print). Same look as the About us overlay. */
.nj-pro-btn { font: inherit; font-size: 12.5px; font-weight: 650; color: #fff; background: rgba(140, 224, 184, .16); border: 1px solid rgba(140, 224, 184, .55);
    padding: 3px 10px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.nj-pro-btn:hover { background: rgba(140, 224, 184, .3); }
.nj-pro-btn:focus-visible { outline: 2px solid #8ce0b8; outline-offset: 2px; }
.nj-pro-btn.is-pro { background: #1f6b4f; border-color: #8ce0b8; }
.nj-pro-btn[hidden] { display: none; }

/* pro1 download: the small button on the job list (grey with a lock without Pro) */
.nj-pro-dl { flex: 0 0 auto; border: 1px solid #b9cbe0; background: #fff; color: var(--navy, #0a2847); border-radius: 999px; font: inherit; font-size: 12px; font-weight: 650;
    padding: 4px 10px; cursor: pointer; white-space: nowrap; }
.nj-pro-dl:hover:not(:disabled) { background: #f1f7fd; }
.nj-pro-dl:disabled { opacity: .6; cursor: default; }
.nj-pro-dl.is-locked { background: #eef1f4; color: #7d8a97; border-color: #d3dbe3; }
.nj-pro-dl:focus-visible { outline: 2px solid var(--blue, #2563eb); outline-offset: 1px; }
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) { .nj-pro-dl { display: none !important; } }

/* the five map buttons without Pro: grey, a small lock, still clickable (opens the overlay) */
.nj-shb.is-locked { background: #eef1f4; color: #7d8a97; border-color: #d3dbe3; cursor: pointer; }
.nj-shb.is-locked:hover { border-color: #9fb0c1; color: #5f7285; }
.nj-shb.is-locked .nj-shb-lock { font-size: 10px; opacity: .8; }

.nj-pro { position: fixed; inset: 0; z-index: 2600; display: grid; place-items: center; padding: 16px; }
.nj-pro[hidden] { display: none; }
.nj-pro-shade { position: absolute; inset: 0; background: rgba(10, 40, 71, .42); }
.nj-pro-card { position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: var(--ink, #14263a); border-radius: 14px;
    box-shadow: 0 18px 48px rgba(10, 40, 71, .35), 0 2px 8px rgba(10, 40, 71, .15); padding: 16px 20px 18px; font-size: 14px; line-height: 1.5; }
.nj-pro-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.nj-pro-head b { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.nj-pro-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; color: #34506b; }
.nj-pro-price b { font-size: 26px; color: var(--navy, #0a2847); letter-spacing: -.02em; }
.nj-pro-price span { flex-basis: 100%; font-size: 12.5px; color: var(--muted, #5f7285); }
.nj-pro-inc { list-style: none; margin: 6px 0 12px; padding: 0; display: grid; gap: 6px; }
.nj-pro-inc li { display: flex; gap: 10px; align-items: flex-start; background: #f1f7fd; border-radius: 10px; padding: 8px 10px; font-size: 13px; color: #34506b; }
.nj-pro-inc li > span { font-size: 18px; line-height: 1.2; }
.nj-pro-inc b { display: block; color: var(--ink, #14263a); font-size: 13.5px; }
.nj-pro-early { margin: -4px 0 10px; padding: 7px 10px; border-radius: 10px; background: #fff7e6; border: 1px solid #f5d79a; color: #6b4a00; font-size: 12.5px; }   /* early access note */
.nj-pro-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 6px; }
.nj-pro-col { flex-direction: column; align-items: stretch; }
.nj-dlq-card { width: min(380px, 100%); }   /* dl-format (2026-11-10): the CSV / JSON question before the list download (js/pro.js pickFormat) */
.nj-pro-go, .nj-pro-2 { font: inherit; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 9px 18px; cursor: pointer; text-align: center; text-decoration: none; }
.nj-pro-go { flex: 1 1 auto; border: 0; color: #fff; background: linear-gradient(180deg, #1f4f86, var(--navy, #0a2847)); box-shadow: 0 2px 8px rgba(10, 40, 71, .25); }
.nj-pro-go:hover:not(:disabled) { filter: brightness(1.12); }
.nj-pro-go:disabled { opacity: .5; cursor: default; }
.nj-pro-2 { border: 1px solid #b9cbe0; background: #fff; color: var(--navy, #0a2847); }
.nj-pro-2:hover:not(:disabled) { background: #f1f7fd; }
.nj-pro-link { font: inherit; font-size: 13px; border: 0; background: none; color: var(--blue, #2563eb); cursor: pointer; padding: 4px 2px; }
.nj-pro-link:disabled { color: var(--muted, #5f7285); cursor: default; }
.nj-pro-go:focus-visible, .nj-pro-2:focus-visible, .nj-pro-link:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; }
.nj-pro-h { margin: 6px 0 2px; font-size: 16px; }
.nj-pro-sub { margin: 4px 0 8px; color: #34506b; }
.nj-pro-small { margin: 6px 0; font-size: 12.5px; color: var(--muted, #5f7285); }
.nj-pro-small a { color: var(--blue, #2563eb); }
.nj-pro-l { display: block; font-size: 12.5px; font-weight: 700; color: #34506b; margin: 6px 0 3px; }
.nj-pro-in { width: 100%; font: inherit; font-size: 15px; padding: 9px 11px; border: 1px solid #b9cbe0; border-radius: 9px; }
.nj-pro-in:focus { outline: 2px solid rgba(37, 99, 235, .35); border-color: var(--blue, #2563eb); }
.nj-pro-code { letter-spacing: .4em; font-size: 20px; text-align: center; }
.nj-pro-msg { margin: 8px 0; padding: 8px 10px; border-radius: 9px; background: #fdecec; color: #8a1c1c; font-size: 13px; }
.nj-pro-msg.is-ok { background: #e8f6ef; color: #1f6b4f; }
.nj-pro-agree { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 2px; font-size: 13px; color: #34506b; cursor: pointer; }
.nj-pro-agree input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.nj-pro-agree a { color: var(--blue, #2563eb); }
.nj-pro-on { display: inline-block; margin: 6px 0 4px; padding: 4px 12px; border-radius: 999px; background: #e8f6ef; color: #1f6b4f; font-weight: 750; }
.nj-pro-fine { margin: 10px 0 0; border-top: 1px solid var(--line, #e3e8ef); padding-top: 8px; font-size: 12.5px; color: #44596e; }
.nj-pro-fine summary { cursor: pointer; font-weight: 700; color: #34506b; }
.nj-pro-fine ul { margin: 6px 0 4px; padding-left: 18px; }
.nj-pro-fine li { margin: 4px 0; }
.nj-pro-legal { display: flex; gap: 16px; justify-content: center; margin-top: 6px; }
.nj-pro-legal a { color: var(--muted, #5f7285); }
/* phones: the public board only (micheal: "mobile is only public board. never will be anything else") - no Sign in / Pro button, no overlay */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) { .nj-pro-btn, .nj-pro { display: none !important; } }

/* data1 (2026-11-03): NAEJOBS Data - the About us button and the Data views of the overlay (js/pro.js drawData) */
.nj-about-data { display: flex; text-decoration: none; box-sizing: border-box; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; padding: 9px 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 700;
    color: var(--navy, #0a2847); background: #fff; border: 1.5px solid #b9cbe0; cursor: pointer; }
.nj-about-data[hidden] { display: none; }   /* partners-off (2026-11-10): display:flex above was beating the hidden attribute - the Partner program button showed for everyone */
.nj-about-data:hover { background: #f1f7fd; border-color: #7fa3cc; }
.nj-about-data:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; }
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) { .nj-about-data { display: none; } }   /* phones: Pro / Data are computer-only */
.nj-data-box { margin: 10px 0; padding: 10px 12px; border: 1px solid #dbe5f0; border-radius: 10px; background: #f8fbfe; }
.nj-data-h { font-size: 13.5px; font-weight: 800; color: var(--navy, #0a2847); margin-bottom: 4px; }
.nj-data-h small { font-weight: 600; color: var(--muted, #5f7285); font-size: 11.5px; margin-left: 6px; }
.nj-data-box .nj-pro-sub { margin: 2px 0 6px; }
.nj-data-box .nj-pro-acts { margin: 6px 0 4px; }
.nj-data-code { margin: 6px 0; padding: 8px 10px; background: #14263a; color: #d8e6f5; border-radius: 8px; font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
.nj-data-keyshow { margin: 4px 0 8px; padding: 8px 10px; border-radius: 8px; background: #fff7e6; border: 1px solid #f5d79a; color: #6b4a00; font-size: 12.5px; }
.nj-data-keyshow code { display: block; margin: 6px 0; padding: 6px 8px; background: #fff; border: 1px solid #e3c86a; border-radius: 6px; font: 13px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #14263a; word-break: break-all; user-select: all; }
.nj-data-keyshow .nj-pro-2 { padding: 5px 12px; font-size: 12.5px; }
.nj-pro-small code { background: #eef3f9; padding: 1px 4px; border-radius: 4px; font-size: 11.5px; }
.nj-data-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; margin: 6px 0; }
.nj-data-line span { grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; color: #34506b; }
.nj-data-line code { display: block; padding: 7px 9px; background: #14263a; color: #d8e6f5; border-radius: 8px; font: 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; user-select: all; }
.nj-data-line .nj-pro-2 { padding: 5px 12px; font-size: 12.5px; }
.nj-data-ok { color: #1f6b4f; font-weight: 700; }
.nj-data-share { display: flex; gap: 12px; align-items: center; margin: 12px 0 4px; padding: 10px 12px; border: 1px dashed #b9cbe0; border-radius: 10px; background: #fff; }
.nj-data-share img { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 6px; }
.nj-data-share > div { min-width: 0; }
.nj-data-share b { display: block; font-size: 13.5px; color: var(--navy, #0a2847); }
.nj-data-share code { display: block; margin: 3px 0 2px; font: 12.5px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink, #14263a); word-break: break-all; user-select: all; }
.nj-data-share .nj-pro-acts { margin: 4px 0 0; }
.nj-data-share .nj-pro-2 { padding: 5px 12px; font-size: 12.5px; }

/* ref1 (2026-11-03): the referral program views on partners.html (js/pro.js kind 'partner') */
.nj-pt-link { display: flex; gap: 14px; align-items: flex-start; }
.nj-pt-link > div:last-child { min-width: 0; flex: 1 1 auto; }
.nj-pt-qr { width: 124px; height: 124px; flex: 0 0 auto; border: 1px solid #dbe5f0; border-radius: 8px; background: #fff; overflow: hidden; }
.nj-pt-qr svg { display: block; width: 100%; height: 100%; }
.nj-pt-rf { margin-top: 8px; }
.nj-pt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin: 6px 0 8px; }
.nj-pt-stats > div { background: #fff; border: 1px solid #dbe5f0; border-radius: 10px; padding: 8px 10px; }
.nj-pt-stats b { display: block; font-size: 20px; color: #0a2847; letter-spacing: -.01em; }
.nj-pt-stats span { font-size: 12.5px; color: #5f7285; }
.nj-pt-recent { margin: 4px 0 0; padding-left: 18px; font-size: 13.5px; color: #1a2634; }
.nj-pt-recent li { margin: 2px 0; }
@media (max-width: 520px) { .nj-pt-link { flex-direction: column; } }

/* ref2: the Data page shows the referral code it is holding */
.nj-ref-line { margin: 6px 0 8px; padding: 8px 12px; border-radius: 10px; background: #eefaf0; border: 1px solid #bfe3c6; color: #14532d; font-size: 14px; }
.nj-ref-line b { color: #0a2847; }

/* ref3: the delete link on the partner page */
.nj-pt-del { color: #8a1c1c; }

/* offers (2026-11-10): "Your services" on the account (js/pro.js dataOffers) + the owner's Subscribers overlay (js/owner.js) */
.nj-offer { border: 1px solid #dfe7f0; border-radius: 10px; padding: 8px 12px; margin: 6px 0; background: #fbfdff; }
.nj-offer-t { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.nj-offer-t span { font-weight: 700; color: var(--navy, #0a2847); white-space: nowrap; }
.nj-offer .nj-pro-acts { margin: 6px 0 2px; }
.nj-own-shade { position: fixed; inset: 0; z-index: 3000; background: rgba(10, 40, 71, .45); display: grid; place-items: center; padding: 16px; }
.nj-own-box { width: min(980px, 100%); height: min(720px, calc(100vh - 32px)); background: #fff; color: var(--ink, #14263a); border-radius: 14px; box-shadow: 0 20px 60px rgba(10, 40, 71, .4); display: flex; flex-direction: column; overflow: hidden; }
.nj-own-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #e3e8ef; font-size: 17px; color: var(--navy, #0a2847); }
.nj-own-x { border: 0; background: none; font-size: 18px; color: #5f7285; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.nj-own-x:hover { background: #eef3f9; }
.nj-own-body { flex: 1 1 auto; min-height: 0; display: flex; }
.nj-own-left { flex: 0 0 320px; min-width: 0; border-right: 1px solid #e3e8ef; display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.nj-own-q, .nj-own-e, .nj-own-add input, .nj-own-add select, .nj-own-add textarea { width: 100%; box-sizing: border-box; border: 1px solid #cfdbe7; border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 14px; }
.nj-own-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.nj-own-row { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 1px solid #e3e8ef; background: #fff; border-radius: 8px; padding: 7px 10px; cursor: pointer; font: inherit; font-size: 13px; color: inherit; }
.nj-own-row b { font-weight: 650; word-break: break-all; }
.nj-own-row small { color: #5f7285; }
.nj-own-row:hover { background: #f3f8fd; }
.nj-own-row.is-on { border-color: #2563eb; background: #eef4ff; }
.nj-own-any { display: flex; gap: 6px; }
.nj-own-any .nj-pro-2 { padding: 6px 12px; }
.nj-own-right { flex: 1 1 auto; min-width: 0; overflow-y: auto; padding: 12px 18px; }
.nj-own-h { margin: 2px 0 2px; font-size: 17px; word-break: break-all; }
.nj-own-sec { border-top: 1px solid #eef2f6; padding-top: 10px; margin-top: 10px; }
.nj-own-add label { display: block; font-size: 13px; font-weight: 650; margin: 8px 0 0; }
.nj-own-add label small { font-weight: 400; color: #5f7285; }
.nj-own-add label input, .nj-own-add label select, .nj-own-add label textarea { margin-top: 4px; font-weight: 400; }
.nj-own-add textarea { resize: vertical; min-height: 90px; }
.nj-offer-terms { margin: 4px 0; font-size: 13px; }   /* offers-terms (2026-11-10): a button's own terms */
.nj-offer-terms summary { cursor: pointer; color: var(--blue, #2563eb); }
.nj-offer-tt { white-space: pre-wrap; max-height: 220px; overflow-y: auto; margin: 6px 0; padding: 8px 10px; border: 1px solid #e3e8ef; border-radius: 8px; background: #fff; color: #34506b; font-size: 12.5px; line-height: 1.45; }
.nj-own-2 { display: flex; gap: 10px; }
.nj-own-2 label { flex: 1 1 0; }
@media (max-width: 760px) { .nj-own-body { flex-direction: column; } .nj-own-left { flex: 0 0 auto; max-height: 40%; border-right: 0; border-bottom: 1px solid #e3e8ef; } .nj-own-shade { padding: 0; } .nj-own-box { height: 100%; border-radius: 0; } }
