/* NAE Jobs - one screen, no page scrolling. Left third = job list (top 2/3) + filters (bottom 1/3); right two thirds = map.
   Map colours: BLUE bubbles = several employers combined, GREEN pins = one employer, AMBER = what you locked / drew / hover. */
:root {
    --bg: #f4f6f9; --panel: #ffffff; --ink: #14263a; --muted: #5f7285; --line: #e3e8ef;
    --brand: #1f6b4f; --navy: #0a2847; --blue: #2563eb; --amber: #f59e0b; --amber-ink: #8a5300;
    --card: #ffffff; --card-hover: #f3f8f5; --chip: #eef2f6;
    --top-h: 48px; --radius: 10px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { display: flex; flex-direction: column; height: 100vh; height: 100dvh; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 14px; line-height: 1.35; }

/* ---- top bar ---- */
.nj-top { flex: 0 0 var(--top-h); height: var(--top-h); display: flex; align-items: center; gap: 16px; padding: 0 16px; background: var(--navy); color: #fff; min-width: 0; }
.nj-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; letter-spacing: .2px; white-space: nowrap; }
.nj-logo { width: 30px; height: 30px; display: block; }
.nj-top-mid { flex: 1 1 auto; min-width: 0; font-size: 13px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nj-cov { flex: 0 1 auto; min-width: 0; font: inherit; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18); padding: 4px 10px; border-radius: 999px; cursor: pointer; transition: background .12s, border-color .12s; }
.nj-cov:hover, .nj-cov[aria-expanded="true"] { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .4); }
.nj-cov:focus-visible { outline: 2px solid #8ce0b8; outline-offset: 2px; }
.nj-cov b { color: #8ce0b8; font-size: 14px; }
.nj-cov-i { opacity: .75; font-size: 12px; margin-left: 2px; }
/* the small "what we cover" overlay under the header pill */
.nj-cov-pop { position: fixed; top: calc(var(--top-h) + 6px); right: 16px; z-index: 1800; width: min(320px, calc(100vw - 32px)); background: #fff; color: var(--ink);
    border-radius: 12px; box-shadow: 0 12px 32px rgba(10, 40, 71, .28), 0 2px 6px rgba(10, 40, 71, .12); padding: 12px 14px 12px; font-size: 13px; line-height: 1.45; }
.nj-cov-pop[hidden] { display: none; }
.nj-cov-pop::before { content: ""; position: absolute; top: -6px; right: 40px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); }
.nj-cov-pop-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; font-size: 14px; }
.nj-cov-x { border: 0; background: none; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; padding: 2px 4px; border-radius: 6px; }
.nj-cov-x:hover { background: var(--chip); color: var(--ink); }
.nj-cov-pop p { margin: 4px 0; }
.nj-cov-pop #nj-cov-pop-pct { color: var(--brand); }
.nj-cov-pop ul { list-style: none; margin: 6px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.nj-cov-pop li { display: flex; align-items: center; gap: 6px; background: #f1f7fd; border-radius: 8px; padding: 4px 8px; }
.nj-cov-more { color: var(--muted); }
.nj-top-right { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
/* "About us" - a small header button + a centred overlay (js/app.js aboutPop) */
.nj-about-btn { font: inherit; font-size: 13px; color: #fff; background: none; border: 1px solid rgba(255, 255, 255, .25); padding: 4px 10px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.nj-about-btn:hover, .nj-about-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .45); }
.nj-about-btn:focus-visible { outline: 2px solid #8ce0b8; outline-offset: 2px; }
.nj-about { position: fixed; inset: 0; z-index: 2200; display: grid; place-items: center; padding: 16px; }
.nj-about[hidden] { display: none; }
.nj-about-shade { position: absolute; inset: 0; background: rgba(10, 40, 71, .38); }
.nj-about-card { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; color: var(--ink); border-radius: 14px;
    box-shadow: 0 18px 48px rgba(10, 40, 71, .35), 0 2px 8px rgba(10, 40, 71, .15); padding: 16px 18px 18px; font-size: 14px; line-height: 1.5; }
.nj-about-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.nj-about-head b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.nj-about-card p { margin: 6px 0; }
.nj-about-legal { display: flex; justify-content: center; gap: 16px; margin: 12px 0 0; font-size: 13px; }   /* v442 */
.nj-about-legal a { color: var(--muted, #5f7285); }
.nj-about-contact { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 12px 0; padding: 9px 12px; background: #f1f7fd; border-radius: 10px; }
.nj-about-contact span { color: var(--muted); font-size: 13px; }
.nj-about-contact a { color: var(--blue); font-weight: 650; text-decoration: none; word-break: break-all; }
.nj-about-contact a:hover { text-decoration: underline; }
.nj-about-emp { display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 10px 14px; border-radius: 999px; font-weight: 700; color: #fff;
    text-decoration: none; background: linear-gradient(180deg, #1f4f86, var(--navy)); box-shadow: 0 2px 8px rgba(10, 40, 71, .25); }
.nj-about-emp:hover { filter: brightness(1.12); }
.nj-about-emp[hidden], .nj-about-rhtp[hidden] { display: none; }   /* old-off (2026-11-10): display:flex would beat the hidden attribute */
.nj-about-emp:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; }
/* "Connect with employers" - top centre of the header (job seekers post a resume; js/connect.js). Shown once sign-up works. */
.nj-top { position: relative; }
.nj-connect { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
    font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(140, 224, 184, .65);
    background: linear-gradient(180deg, #2f9a6f, #1f6b4f); box-shadow: 0 0 0 0 rgba(140, 224, 184, .5), 0 2px 8px rgba(0, 0, 0, .25); transition: filter .12s, box-shadow .2s; }
.nj-connect:hover { filter: brightness(1.1); box-shadow: 0 0 0 3px rgba(140, 224, 184, .28), 0 2px 10px rgba(0, 0, 0, .3); }
.nj-connect:focus-visible { outline: 2px solid #8ce0b8; outline-offset: 2px; }
.nj-connect[hidden] { display: none; }
@media (max-width: 1120px) { .nj-connect { position: static; transform: none; flex: 0 0 auto; } }
@media (max-width: 1240px) { .nj-cov-long { display: none; } }   /* narrower screens: "Hospital coverage 86.4%" so the number never gets cut */
.nj-sample { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: #f5c542; color: #3b2f00; padding: 3px 8px; border-radius: 999px; }

/* ---- the two panes ---- */
.nj-main { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.nj-left { min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 2fr) minmax(0, 1fr); border-right: 1px solid var(--line); background: var(--panel); }

/* LEFT top: listing */
.nj-list { min-width: 0; min-height: 0; display: flex; flex-direction: column; container-type: inline-size; container-name: list; }
.nj-list-head { flex: 0 0 auto; display: flex; align-items: flex-start; gap: 8px; padding: 9px 12px 6px; border-bottom: 1px solid var(--line); }
.nj-ctx { flex: 1 1 auto; min-width: 0; }
.nj-ctx-title { font-weight: 750; font-size: clamp(14px, 3.2cqi, 17px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nj-ctx-title.nj-mode-preview { color: var(--blue); }
.nj-ctx-title.nj-mode-locked, .nj-ctx-title.nj-mode-drawn { color: var(--amber-ink); }
.nj-ctx-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nj-unlock { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; font: inherit; font-size: 12px; font-weight: 600; padding: 4px 10px; cursor: pointer; }
.nj-unlock:hover { background: #fff2f2; border-color: #e6b3b3; }

.nj-pager { flex: 0 0 auto; display: flex; align-items: center; gap: 4px; padding: 5px 12px; min-width: 0; font-size: 12px; color: var(--muted); }
.nj-pager[data-pager="bottom"] { border-top: 1px solid var(--line); }
.nj-pg { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 6px; min-width: 26px; height: 26px; padding: 0 6px; font: inherit; font-size: 14px; line-height: 1; cursor: pointer; }
.nj-pg:hover:not(:disabled) { background: var(--card-hover); border-color: var(--brand); }
.nj-pg:disabled { opacity: .35; cursor: default; }
.nj-pg-at { padding: 0 6px; white-space: nowrap; }
.nj-pg-range { margin-left: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the card area scrolls inside itself - the page never does */
.nj-cards { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 8px 12px; align-content: start; background: var(--bg); }
.nj-cards.is-loading { opacity: .55; }
@container list (max-width: 400px) { .nj-cards { grid-template-columns: minmax(0, 1fr); } }

.nj-card { position: relative; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 10px 8px; display: flex; flex-direction: column; gap: 2px;
    transition: transform .16s ease, box-shadow .16s ease, border-color .12s, background .12s; }
/* hover = the card lifts off the list */
.nj-card:hover { z-index: 1; transform: translateY(-3px); border-color: var(--brand); background: var(--card-hover);
    box-shadow: 0 12px 24px -8px rgba(10, 40, 71, .32), 0 3px 8px rgba(10, 40, 71, .10); }
.nj-card.is-shared { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(245, 158, 11, .35); }
.nj-card-title { font-weight: 700; color: var(--ink); font-size: clamp(12.5px, 2.6cqi, 15px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nj-card-org, .nj-card-loc { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nj-card-org { color: var(--ink); }
.nj-card-org a { color: var(--brand); text-decoration: none; }
.nj-card-org a:hover { text-decoration: underline; }
.nj-card-loc { display: flex; gap: 6px; }
.nj-age { margin-left: auto; flex: 0 0 auto; font-size: 11px; }
.nj-card-meta { display: flex; gap: 4px; flex-wrap: nowrap; overflow: hidden; margin-top: 3px; }
.nj-chip { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 11px; background: var(--chip); color: var(--ink); padding: 1px 7px; border-radius: 999px; white-space: nowrap; }
.nj-chip-sa { background: #fdf3e1; color: var(--amber-ink); }
.nj-chip-h1b { flex: 0 0 auto; background: #e0e7ff; color: #3730a3; font-weight: 700; }   /* v516q: the posting sponsors H-1B */
.nj-chip-j1 { flex: 0 0 auto; background: #ccfbf1; color: #115e59; font-weight: 700; }   /* v516p: the posting welcomes J-1 */
.nj-card-foot { min-width: 0; margin-top: 2px; }
.nj-pay { display: block; font-weight: 700; font-size: 12.5px; color: var(--brand); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.35em; }
.nj-card-act { display: flex; gap: 6px; margin-top: 5px; }
.nj-btn { flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; justify-content: center; height: 28px; padding: 0 8px; border-radius: 7px; font: inherit; font-size: 12px; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; text-decoration: none; }
.nj-btn-go { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.nj-btn-go:hover { background: #17573f; }
.nj-btn-go.is-off { background: #e9edf2; border-color: #e9edf2; color: var(--muted); cursor: default; }
.nj-btn-share { flex: 0 0 auto; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.nj-btn-share:hover { border-color: var(--blue); color: var(--blue); }
.nj-empty { grid-column: 1 / -1; padding: 28px 8px; text-align: center; color: var(--muted); }

/* LEFT bottom: filters - a breathing light-blue panel, white buttons. Two columns, each scrolls inside itself:
   the filters listed down the left, the specialties for the current selection on the right. */
.nj-filters { min-width: 0; min-height: 0; display: flex; flex-direction: column; border-top: 1px solid #9fb4c9; background-color: #d9e6f3;
    /* brushed metal: fine vertical grain over a silvery-blue -> light-blue sweep; the sweep's light band slowly drifts (the "breathing") */
    background-image:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .10) 0 1px, rgba(20, 50, 80, .025) 1px 2px, rgba(255, 255, 255, 0) 2px 4px),
        linear-gradient(115deg, #c3cfdb 0%, #e6ecf2 16%, #cbd8e6 34%, #f3f7fb 50%, #d2e3f5 66%, #bcd6f1 84%, #cfe3f8 100%);
    background-size: auto, 240% 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(30, 79, 122, .10), inset 0 10px 18px -12px rgba(255, 255, 255, .8);
    animation: nj-sheen 10s ease-in-out infinite alternate; }
@keyframes nj-sheen { from { background-position: 0 0, 0% 0; } to { background-position: 0 0, 100% 0; } }
.nj-f-head { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 7px 12px 5px; min-width: 0; }
.nj-f-title { font-weight: 750; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: #1e4f7a; flex: 0 0 auto; }
.nj-f-q { flex: 1 1 auto; min-width: 0; height: 28px; border: 1px solid #b9d8f2; border-radius: 7px; padding: 0 9px; font: inherit; font-size: 12.5px; background: #fff; }
.nj-f-q:focus { outline: 2px solid rgba(37, 99, 235, .3); border-color: var(--blue); }
.nj-f-clear { flex: 0 0 auto; border: 1px solid #e6b3b3; background: #fff6f6; color: #8c1d18; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 700; padding: 3px 10px; cursor: pointer; }
.nj-f-note { flex: 0 0 auto; padding: 0 12px; font-size: 11px; color: #3d6487; }
.nj-f-note:empty { display: none; }
.nj-f-body { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 10px; padding: 2px 12px 10px; }
.nj-f-col { min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 0 2px 2px 0; }
.nj-f-spec { border-left: 1px solid rgba(30, 79, 122, .18); box-shadow: -1px 0 0 rgba(255, 255, 255, .7); padding-left: 10px; }
.nj-fg { margin-top: 6px; }
.nj-fg:first-child { margin-top: 2px; }
.nj-fg-t, .nj-f-spec > .nj-fg-t { font-size: 11px; font-weight: 750; color: #1e4f7a; margin: 2px 0 4px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nj-fg-t i { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; color: #3d6487; }
.nj-fg-c { display: flex; flex-wrap: wrap; gap: 5px; }
.nj-f-main .nj-fg-c { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
.nj-fchip { max-width: 100%; min-width: 0; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #bccfe2; background: linear-gradient(#ffffff, #f6f9fc); color: var(--ink); border-radius: 999px;
    font: inherit; font-size: 12px; padding: 3px 10px; cursor: pointer; white-space: nowrap; box-shadow: 0 1px 2px rgba(30, 79, 122, .14), inset 0 1px 0 #fff; transition: border-color .12s, background .12s, box-shadow .12s; }
.nj-fchip em { font-style: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.nj-fchip span { flex: 0 0 auto; color: var(--muted); font-size: 11px; }
.nj-fopt { display: flex; width: 100%; border-radius: 8px; padding: 4px 10px; }
.nj-fopt em { flex: 1 1 auto; text-align: left; }
.nj-fdisc { width: calc(100% - 12px); margin: 0 0 3px 12px; font: inherit; font-size: 12px; color: var(--ink); padding: 4px 8px; border-radius: 8px; border: 1px solid #93b4d6;
    background: linear-gradient(#ffffff, #eef5fc); box-shadow: 0 1px 2px rgba(10, 40, 71, .08); cursor: pointer; }   /* under a multi-discipline category: PA / ARNP / NP / CRNA ... */
.nj-fdisc:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.nj-fchip:hover:not(:disabled) { border-color: var(--blue); box-shadow: 0 2px 6px rgba(37, 99, 235, .18); }
.nj-fchip.is-on { background: linear-gradient(#3b78f0, #1f5ee0); border-color: #1d4ed8; color: #fff; box-shadow: 0 1px 3px rgba(29, 78, 216, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
.nj-fchip.is-on span { color: rgba(255, 255, 255, .85); }
.nj-fchip:disabled { opacity: .45; cursor: default; box-shadow: none; }
.nj-fchip-sa.is-on { background: var(--amber); border-color: var(--amber); color: #3b2500; }
.nj-fchip-sa.is-on span { color: #5a3a00; }
.nj-f-none { font-size: 12px; color: #3d6487; padding: 4px 0; }
.nj-f-tip { margin-top: 6px; font-size: 12px; line-height: 1.38; color: var(--ink); background: rgba(255, 255, 255, .82); border: 1px solid #c3d4e6; border-left: 3px solid var(--brand);
    border-radius: 8px; padding: 6px 8px; box-shadow: 0 1px 2px rgba(10, 40, 71, .06); }
.nj-f-tip b { color: var(--brand); margin-right: 2px; }
@media (prefers-reduced-motion: reduce) { .nj-filters { animation: none; } }

/* RIGHT: map */
.nj-map-wrap { position: relative; min-width: 0; min-height: 0; }
#nj-map { position: absolute; inset: 0; background: #e8eef3; }
#nj-map:focus:not(:focus-visible) { outline: none; }
#nj-map.nj-drawing, #nj-map.nj-drawing .leaflet-interactive, #nj-map.nj-drawing .nj-bubble span, #nj-map.nj-drawing .nj-pin-head { cursor: crosshair !important; }
.nj-maptools { position: absolute; top: 10px; left: 54px; z-index: 700; display: flex; gap: 6px; }
.nj-tool { border: 1px solid rgba(0, 0, 0, .2); background: #fff; color: var(--ink); border-radius: 8px; height: 32px; padding: 0 11px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); white-space: nowrap; }
.nj-tool:hover { border-color: var(--amber); }
.nj-tool.is-on { background: var(--amber); border-color: var(--amber); color: #3b2500; }
.nj-tool-clear { color: #8c1d18; }
.nj-legend { position: absolute; right: 10px; top: 10px; z-index: 600; background: rgba(255, 255, 255, .92); border-radius: 8px; padding: 4px 9px; font-size: 11.5px; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.nj-lg { display: inline-block; width: 11px; height: 11px; border-radius: 50%; }
.nj-lg-b { background: rgba(37, 99, 235, .26); border: 2px solid var(--blue); }
.nj-lg-p { background: var(--brand); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin-left: 6px; }
.nj-where { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 650; background: rgba(255, 255, 255, .95); border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--ink);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15); white-space: nowrap; pointer-events: none; max-width: calc(100% - 820px); overflow: hidden; text-overflow: ellipsis; }
.nj-where[hidden] { display: none; }
.nj-where span { font-size: 11px; font-weight: 700; color: var(--muted); }
/* v455 (2026-10-24): narrower computer screens - the badge gets its OWN line under Draw area, so the pin key (top right) can never
   cover it. It stays on the top row only when the map is about 1130px+ wide (screen 1700px+): room for the longest name ("Northern
   Mariana Islands") between the buttons and the key, with spare room for wider fonts (Mac / Linux). The max-width above is the
   backstop - on the top row the badge never reaches the key. js/map.js placeWhere() moves it lower if the buttons wrap. */
@media (max-width: 1699px) { .nj-where { top: 50px; max-width: calc(100% - 24px); } }
.nj-map-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 500; pointer-events: none; background: rgba(10, 40, 71, .88); color: #fff; font-size: 12.5px;
    padding: 6px 12px; border-radius: 999px; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; transition: opacity .4s; }
.nj-map-hint.is-gone { opacity: 0; }
.nj-map-msg { position: absolute; inset: 0; z-index: 800; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); background: var(--bg); }
.nj-map-msg[hidden] { display: none; }

/* bubbles - several employers combined (BLUE) */
.nj-bubble { background: none; border: 0; }
/* see-through: the map (and the state lines) show under them; a solid rim + haloed number keep them readable */
.nj-bubble span { display: grid; place-items: center; border-radius: 50%; cursor: pointer; background: rgba(37, 99, 235, .26); color: #0b2a6f; font-weight: 800; font-size: 12px; letter-spacing: .2px;
    border: 2px solid rgba(37, 99, 235, .9); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 1px #fff; box-shadow: 0 1px 3px rgba(10, 40, 71, .18); transition: transform .12s, background .12s; }
.nj-bubble:hover span { background: rgba(37, 99, 235, .42); transform: scale(1.08); }
.nj-bubble.is-hot span { background: rgba(29, 78, 216, .42); border-color: #1d4ed8; transform: scale(1.12); box-shadow: 0 0 0 3px rgba(56, 189, 248, .45), 0 0 14px 3px rgba(56, 189, 248, .55); }
.nj-bubble.is-locked span { background: rgba(245, 158, 11, .38); border-color: #d97706; color: #4a2a00; box-shadow: 0 0 0 4px rgba(245, 158, 11, .3), 0 1px 3px rgba(0, 0, 0, .2); }

/* pins - one employer (GREEN) */
.nj-pin { background: none; border: 0; }
.nj-pin-head { position: absolute; left: 3px; top: 0; width: 24px; height: 24px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .35); cursor: pointer; display: grid; place-items: center; transition: transform .12s; }
.nj-pin-head b { transform: rotate(45deg); color: #fff; font-size: 10px; font-weight: 800; }
.nj-pin:hover .nj-pin-head { background: #155a40; }
.nj-pin.is-locked .nj-pin-head, .nj-pin.is-hot .nj-pin-head { background: var(--amber); }
.nj-pin.is-locked .nj-pin-head b, .nj-pin.is-hot .nj-pin-head b { color: #3b2500; }
.nj-pin.is-hot .nj-pin-head { transform: rotate(-45deg) scale(1.25); box-shadow: 0 0 0 4px rgba(245, 158, 11, .35), 0 1px 4px rgba(0, 0, 0, .35); }
/* v517p town pins (PURPLE): the jobs in a town whose employer has no facility pin of its own, at the town center */
.nj-pin.nj-pin-town .nj-pin-head { background: #7c3aed; }
.nj-pin.nj-pin-town:hover .nj-pin-head { background: #5b21b6; }
.nj-pin.nj-pin-town.is-locked .nj-pin-head, .nj-pin.nj-pin-town.is-hot .nj-pin-head { background: var(--amber); }
.nj-lg-t { background: #7c3aed; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin-left: 6px; }
.nj-town-tag { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 8px; background: #ede9fe; color: #5b21b6; font-size: 10px; font-weight: 700; vertical-align: 1px; }
.nj-ring { pointer-events: none; }

/* the thread: card -> pin, a fine glowing line that runs out fast (js/thread.js) */
.nj-thread { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 1500; overflow: visible; display: block; visibility: hidden; }
.nj-thread.is-on { visibility: visible; }
.nj-thread path { fill: none; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; }
.nj-thread-line { stroke: #0ea5e9; stroke-width: 1.6; }
.nj-thread-glow { stroke: rgba(56, 189, 248, .7); stroke-width: 5; }
.nj-thread-end { fill: #e0f2fe; stroke: #0ea5e9; stroke-width: 1.5; opacity: 0; }
.nj-thread-halo { fill: rgba(56, 189, 248, .25); stroke: none; opacity: 0; }
.nj-thread.is-on path { animation: nj-thread-run .3s cubic-bezier(.2, .75, .3, 1) forwards; }
.nj-thread.is-on .nj-thread-end { animation: nj-thread-fade .12s .24s ease-out forwards; }
.nj-thread.is-on .nj-thread-halo { animation: nj-thread-halo 1.6s .26s ease-in-out infinite; }
@keyframes nj-thread-run { to { stroke-dashoffset: 0; } }
@keyframes nj-thread-fade { to { opacity: 1; } }
@keyframes nj-thread-halo { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
@media (prefers-reduced-motion: reduce) {
    .nj-card { transition: none; }
    .nj-thread.is-on path { animation: none; stroke-dashoffset: 0; }
    .nj-thread.is-on .nj-thread-end, .nj-thread.is-on .nj-thread-halo { animation: none; opacity: 1; }
}

.nj-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(10px); z-index: 2000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 999px;
    font-size: 13px; opacity: 0; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nj-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* loading popup (index.html + js/tips.js): up at once, fades when the first full list of jobs is in */
.nj-loader { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; pointer-events: none; transition: opacity .5s ease; }
.nj-loader.is-gone { opacity: 0; }
.nj-loader[hidden] { display: none; }
.nj-loader-card { pointer-events: auto; cursor: default; width: min(390px, calc(100vw - 32px)); background: rgba(255, 255, 255, .97); color: var(--ink);
    border-radius: 14px; padding: 16px 20px 14px; box-shadow: 0 18px 48px rgba(10, 40, 71, .30), 0 2px 8px rgba(10, 40, 71, .12); border-top: 4px solid var(--brand); }
.nj-loader-head { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--navy); }
.nj-loader-head img { display: block; }
.nj-dots { letter-spacing: 1px; }
.nj-dots i { font-style: normal; opacity: .15; animation: nj-dot 1.6s ease-in-out infinite; }
@keyframes nj-dot { 0%, 100% { opacity: .15; } 35% { opacity: 1; } }
.nj-loader-tip { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; }
.nj-loader-tip b { color: var(--brand); margin-right: 2px; }
@media (prefers-reduced-motion: reduce) { .nj-dots i { animation: none; opacity: .6; } .nj-loader { transition: none; } }

/* ==== phone layout (v443, micheal: "need mobile view") - see js/mobile.js. Up to 900px wide, or a phone on its side:
   the map takes most of the screen, a "Filters" button opens the filters as a sheet, the jobs run in ONE row along the
   bottom that scrolls sideways, and a tapped job is highlighted with the blue line running from its top to the employer.
   Everything for the phone is inside the @media blocks below, so the computer layout above is untouched. ==== */
.nj-ftoggle, .nj-f-foot { display: none; }      /* phone only */
#nj-map.nj-drawing { touch-action: none; }      /* "Draw area" with a finger draws instead of scrolling (no effect for a mouse) */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    /* header: brand, Connect, About - the job totals and the coverage pill make room */
    .nj-top { gap: 8px; padding: 0 10px; }
    .nj-brand { font-size: 15px; gap: 6px; margin-right: auto; }
    .nj-logo { width: 24px; height: 24px; }
    .nj-about-us { display: none; }   /* "About" */
    .nj-top-mid, .nj-cov, .nj-cov-pop, .nj-sample { display: none !important; }
    .nj-connect { position: static; transform: none; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; padding: 6px 11px; }
    .nj-about-btn { font-size: 12.5px; padding: 5px 10px; }

    /* the map on top, the job row under it */
    .nj-main { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
    .nj-map-wrap { grid-row: 1; grid-column: 1; }
    .nj-left { grid-row: 2; grid-column: 1; display: block; border-right: 0; border-top: 1px solid #c9d4e0; }
    .nj-list-head { padding: 6px 12px 2px; border-bottom: 0; align-items: center; }
    .nj-ctx-title { font-size: 14.5px; }
    .nj-unlock { font-size: 13px; padding: 6px 12px; }
    .nj-pager { display: none !important; }
    .nj-cards { display: flex; grid-template-columns: none; gap: 10px; overflow-x: auto; overflow-y: hidden; padding: 6px 12px 10px; scroll-snap-type: x mandatory; scroll-padding: 0 12px;
        overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; background: var(--panel); }
    .nj-cards::-webkit-scrollbar { display: none; }
    .nj-card { flex: 0 0 min(80vw, 300px); scroll-snap-align: start; }
    .nj-card:hover { transform: none; box-shadow: none; border-color: var(--line); background: var(--card); }
    .nj-card.is-shared, .nj-card.is-shared:hover { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(245, 158, 11, .35); }
    .nj-card.is-picked, .nj-card.is-picked:hover { border-color: #0ea5e9; background: #f0f9ff; box-shadow: 0 0 0 2px rgba(14, 165, 233, .5), 0 8px 18px -8px rgba(14, 165, 233, .6); }
    .nj-card.is-picked .nj-card-title { padding-right: 70px; }
    .nj-card-title { font-size: 14.5px; }
    .nj-card-org, .nj-card-loc { font-size: 12.5px; }
    .nj-btn { height: 34px; font-size: 13px; }
    .nj-card-x { position: absolute; top: 6px; right: 6px; z-index: 2; border: 1px solid #e6b3b3; background: #fff6f6; color: #8c1d18; border-radius: 999px; font: inherit; font-size: 12px;
        font-weight: 700; padding: 3px 9px; cursor: pointer; }
    .nj-mnav { flex: 0 0 132px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px dashed #9fb4c9;
        border-radius: var(--radius); background: #f6f9fc; color: var(--navy); font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; padding: 8px; text-align: center; }
    .nj-mnav small { font-size: 11.5px; font-weight: 600; color: var(--muted); }
    .nj-empty { flex: 1 0 100%; padding: 22px 8px; }

    /* on the map: Filters + Draw area along the top, the state badge under them, no legend */
    .nj-maptools { left: 54px; right: 10px; flex-wrap: wrap; }
    .nj-tool { height: 36px; font-size: 13.5px; }
    .nj-ftoggle { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); border-color: var(--navy); color: #fff; }
    .nj-ftoggle:hover { border-color: var(--navy); }
    .nj-ftoggle-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #8ce0b8; color: var(--navy); font-size: 12px; line-height: 20px; text-align: center; }
    .nj-ftoggle-n[hidden] { display: none; }
    .nj-legend { display: none; }
    .nj-where { top: 54px; max-width: calc(100% - 24px); font-size: 12.5px; }
    .nj-map-hint { bottom: 26px; font-size: 12px; }
    .nj-toast { bottom: 230px; }

    /* the Filters sheet = the same filters panel, full screen under the header, one column */
    .nj-filters { position: fixed; left: 0; right: 0; top: var(--top-h); bottom: 0; z-index: 1900; border-top: 0; transform: translateY(100%); visibility: hidden;
        transition: transform .26s ease, visibility 0s linear .26s; box-shadow: 0 -8px 24px rgba(10, 40, 71, .25); }
    body.nj-sheet-open .nj-filters { transform: none; visibility: visible; transition: transform .26s ease, visibility 0s; }
    .nj-f-head { padding: 10px 12px 8px; }
    .nj-f-q { height: 38px; font-size: 16px; }   /* 16px or more: a smaller box makes an iPhone zoom the page in */
    .nj-f-clear { font-size: 13px; padding: 6px 12px; }
    .nj-f-body { display: flex; flex-direction: column; gap: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px 12px; }
    .nj-f-main { display: contents; }                                   /* Category, then its Specialties, then the rest */
    .nj-f-main > .nj-fg { order: 3; margin-top: 12px; }
    .nj-f-main > .nj-fg:first-child { order: 1; margin-top: 4px; }
    .nj-f-spec { order: 2; flex: 0 0 auto; overflow: visible; border-left: 0; box-shadow: none; padding: 10px 0 0; margin-top: 10px; border-top: 1px solid rgba(30, 79, 122, .18); }
    .nj-fg-t, .nj-f-spec > .nj-fg-t { font-size: 12px; white-space: normal; }
    .nj-fchip { font-size: 14px; padding: 7px 12px; }
    .nj-fchip span { font-size: 12px; }
    .nj-fopt { min-height: 42px; border-radius: 10px; }
    /* the categories two by two, so their specialties (right under them) are close */
    .nj-f-main > .nj-fg:first-child .nj-fg-c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; }
    .nj-f-main > .nj-fg:first-child .nj-fopt { white-space: normal; min-height: 48px; padding: 6px 10px; }
    .nj-f-main > .nj-fg:first-child .nj-fopt em { white-space: normal; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .nj-f-main > .nj-fg:first-child .nj-fdisc { grid-column: 1 / -1; width: 100%; margin: 0; }
    .nj-fdisc { font-size: 16px; padding: 8px 10px; width: calc(100% - 14px); margin-left: 14px; }
    .nj-f-tip { font-size: 13px; }
    .nj-f-foot { display: block; flex: 0 0 auto; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .92); border-top: 1px solid #c3d4e6; }
    .nj-f-done { width: 100%; height: 48px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font: inherit; font-size: 16px; font-weight: 750; cursor: pointer;
        box-shadow: 0 2px 8px rgba(31, 107, 79, .35); }
}
@media (max-width: 379px) {   /* the smallest phones: a little tighter, so "Connect with employers" still fits */
    .nj-top { gap: 6px; padding: 0 8px; }
    .nj-brand { font-size: 0; }   /* just the logo */
    .nj-about-btn { padding: 5px 9px; }
}
/* a short phone (the small iPhone SE): the chips row goes, so the map keeps its share */
@media (max-width: 900px) and (max-height: 620px) { .nj-card-meta { display: none; } }
/* a phone on its side: slimmer header + row, so the map keeps some height */
@media (pointer: coarse) and (max-height: 500px), (max-width: 900px) and (max-height: 500px) {
    :root { --top-h: 38px; }
    .nj-ctx-sub, .nj-card-meta, .nj-card-loc { display: none; }
    .nj-list-head { padding: 3px 12px 0; }
    .nj-cards { padding: 3px 12px 5px; }
    .nj-card { padding: 5px 9px; flex-basis: min(46vw, 280px); }
    .nj-card-act { margin-top: 3px; }
    .nj-btn { height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .nj-filters { transition: none !important; } }
/* v446 (2026-10-21, micheal: "bold the text in the filters area, its a little hard to see") - heavier text in the filter panel only (desktop + phone sheet) */
.nj-filters .nj-fchip { font-weight: 700; letter-spacing: -.012em; }   /* the small negative spacing keeps the bolder labels about as wide as before */
.nj-filters .nj-fchip span { font-weight: 600; }
.nj-filters .nj-fchip:not(.is-on) span { color: #44596e; }
.nj-filters .nj-fdisc, .nj-filters .nj-f-q, .nj-filters .nj-f-none, .nj-filters .nj-f-note { font-weight: 600; }
.nj-filters .nj-f-q::placeholder { font-weight: 400; }   /* the search hint stays light so it still fits */
.nj-filters .nj-f-tip { font-weight: 600; }
.nj-filters .nj-f-tip b { font-weight: 800; }
@media (min-width: 901px) { .nj-filters .nj-f-main .nj-fopt { padding-left: 8px; padding-right: 8px; gap: 4px; } }   /* desktop: 4px back for the bold category labels */
/* v447 (2026-10-21, micheal: "the area where the jobs appear keeps blinking up and down ... keep it so that area remains the same height") -
   PHONE ONLY. The job row keeps the height of a row of cards (js/list.js measures the real row and holds it; the min-heights
   here are only the first-load guess). "Loading" / "No jobs here" sit in the middle of that space. While a new answer loads
   the old cards stay and fade; the new cards fade in. */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    .nj-cards { min-height: 172px; transition: opacity .16s ease; }
    .nj-cards.is-loading { opacity: .5; }
    .nj-empty { display: flex; align-items: center; justify-content: center; padding: 8px; }
    .nj-cards.nj-in > * { animation: nj-row-in .24s ease-out both; }
}
@media (max-width: 900px) and (max-height: 620px) { .nj-cards { min-height: 150px; } }   /* short phone: no chips row */
@media (pointer: coarse) and (max-height: 500px), (max-width: 900px) and (max-height: 500px) { .nj-cards { min-height: 110px; } }   /* on its side */
@keyframes nj-row-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) and (max-width: 900px), (prefers-reduced-motion: reduce) and (pointer: coarse) and (max-height: 500px) { .nj-cards { transition: none !important; } .nj-cards.nj-in > * { animation: none !important; } }
/* v449 (2026-10-21, micheal: "in mobile view, take out the button in about us for employers and recruiters ... want no pay wall stuff") - phone only */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) { .nj-about-emp { display: none !important; } }

/* ==== v3 (2026-10-31): our own base map (js/basemap.js). Alaska, Hawaii and the territories as inset cards at the
   bottom left of the map, like a printed U.S. map - tap one to fly there, "Lower 48" comes back. ==== */
.leaflet-control.nj-insets { display: flex; gap: 6px; align-items: flex-end; margin: 0 0 10px 10px; }
.nj-inset { display: flex; flex-direction: column; width: 104px; padding: 0; border: 1px solid rgba(10, 40, 71, .25); border-radius: 8px; background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .18); overflow: hidden; cursor: pointer; font: inherit; color: var(--ink); text-align: left; flex: 0 0 auto; }
.nj-inset[hidden] { display: none; }
.nj-inset:hover, .nj-inset:focus-visible { border-color: var(--amber); outline: none; box-shadow: 0 0 0 2px rgba(245, 158, 11, .35), 0 1px 5px rgba(0, 0, 0, .18); }
.nj-inset-map { display: block; width: 100%; height: 66px; pointer-events: none; }
.nj-inset-map { background: #cbe1e4; }   /* the CARTO Voyager water, as on the map */
.nj-inset-map svg { display: block; width: 100%; height: 100%; }
.nj-inset-land { fill: #fbf8f3; stroke: #8a96a3; stroke-linejoin: round; }
.nj-inset-dots circle { fill: #22c55e; stroke: #14532d; }
/* big-city names on the zoomed-out map (js/basemap.js; the detailed map has its own from zoom 6) */
.leaflet-marker-icon.nj-city { width: 0 !important; height: 0 !important; margin: 0 !important; background: none; border: 0; pointer-events: none; }
.nj-city i { position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: #3b4652; box-shadow: 0 0 0 1.5px #fff; }
.nj-city span { position: absolute; left: 5px; top: -8px; white-space: nowrap; font: 600 11px/1.3 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color: #3b4652;
    text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; }
.nj-inset-lb { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; padding: 3px 6px 4px; font-size: 11px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.nj-inset-lb b { color: #15803d; }
.nj-inset.is-zero .nj-inset-lb b { color: var(--muted); font-weight: 600; }
.nj-inset-a { display: none; }
.nj-inset-home .nj-inset-lb b { display: none; }
.nj-inset-home .nj-inset-lb { justify-content: center; }
.nj-drawing .nj-insets { opacity: .35; pointer-events: none; }
.nj-insets-on .nj-map-hint { bottom: 112px; }
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    .leaflet-control.nj-insets { gap: 5px; margin: 0 0 20px 8px; max-width: calc(100vw - 16px); overflow-x: auto; scrollbar-width: none; }
    .leaflet-control.nj-insets::-webkit-scrollbar { display: none; }
    .nj-inset { width: 62px; border-radius: 7px; }
    .nj-inset-map { height: 40px; }
    .nj-inset-lb { padding: 2px 4px 3px; font-size: 10px; }
    .nj-inset-n { display: none; }
    .nj-inset-a { display: inline; }
    .nj-insets-on .nj-map-hint { bottom: 92px; }
}

/* ==== v454 (2026-10-22): small "RHTP" button in the About us box -> rhtp.html (shown on phones too) ==== */
.nj-about-rhtp { display: flex; align-items: center; justify-content: center; width: max-content; margin: 10px auto 0; padding: 4px 16px; border-radius: 999px;
    border: 1.5px solid var(--brand); background: #f2f8f5; color: var(--brand); font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.nj-about-rhtp:hover { background: var(--brand); color: #fff; }
.nj-about-rhtp:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; }

/* ---- v456 (live 2026-10-27): HRSA shortage-area score sliders - upper right of the map, under the legend, only while a Shortage areas filter is on
   (js/filters.js panel()). Dragging a slider never pans the map; the list + bubbles follow once the thumb rests. ---- */
.nj-shpanel { position: absolute; right: 10px; top: 44px; z-index: 640; width: 236px; background: rgba(255, 255, 255, .96); border-radius: var(--radius);
    padding: 7px 11px 5px; box-shadow: 0 2px 10px rgba(10, 40, 71, .18); font-size: 12px; color: var(--ink); }
.nj-shpanel[hidden] { display: none; }
.nj-shp-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; font-weight: 750; color: #1e4f7a; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.nj-shp-head i { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; color: #3d6487; }
.nj-shp-row { padding: 5px 0 3px; border-top: 1px solid var(--line); }
.nj-shp-row:first-of-type, .nj-shp-head + .nj-shp-row { border-top: 0; }
.nj-shp-row label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-weight: 700; }
.nj-shp-row output { min-width: 34px; text-align: right; font-weight: 800; color: var(--amber-ink); }
.nj-shp-row input[type="range"] { display: block; width: 100%; margin: 4px 0 1px; accent-color: var(--amber); cursor: pointer; }
.nj-shp-ends { display: flex; justify-content: space-between; gap: 6px; font-size: 10.5px; color: var(--muted); }
.nj-shp-s { display: none; }   /* the phone's short label ("HPSA >=") */
@media (max-width: 1699px) { .nj-shpanel { top: 88px; } }   /* the "where" badge drops to 50px here - stay clear of it */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    .nj-shpanel { top: 96px; width: 168px; padding: 5px 9px 3px; font-size: 11.5px; }   /* phone: compact, so the map stays visible */
    .nj-shp-head { font-size: 10px; white-space: nowrap; }
    .nj-shp-head i, .nj-shp-l { display: none; }
    .nj-shp-s { display: inline; }
    .nj-shp-row { padding: 3px 0 2px; }
    .nj-shp-row label { font-size: 11.5px; }
    .nj-shp-row input[type="range"] { height: 24px; margin: 1px 0 0; }
    .nj-shp-ends { display: none; }
}

/* ---- v516p: HPSA / MCTA / MUA/P / J-1 - small buttons at the map's lower left (#nj-shbox, js/filters.js shBox()), no job counts on them.
   A picked HPSA or MUA/P shows its dropdowns just above the buttons; the score sliders stay at the upper right (#nj-shpanel). ---- */
.nj-shbox { position: absolute; left: 10px; bottom: 58px; z-index: 640; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; max-width: calc(100% - 20px); }
.nj-shbox[hidden] { display: none; }
.nj-shb-row { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .94); border-radius: 999px; box-shadow: 0 1px 6px rgba(10, 40, 71, .22); }
.nj-shb { display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 9px; border: 1px solid #bccfe2; border-radius: 999px; background: #fff; color: var(--ink);
    font: inherit; font-size: 11.5px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer; }
.nj-shb:hover:not(:disabled) { border-color: var(--amber); }
.nj-shb:disabled { opacity: .45; cursor: default; }
.nj-shb:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.nj-shb-sa.is-on { background: var(--amber); border-color: var(--amber); color: #3b2500; }
.nj-shb-h1b.is-on { background: #4338ca; border-color: #4338ca; color: #fff; }   /* v516q: H-1B */
.nj-shb-j1.is-on { background: #0f766e; border-color: #0f766e; color: #fff; }
.nj-shb-subs { display: flex; flex-direction: column; gap: 6px; width: 230px; max-width: 100%; padding: 7px 8px; background: rgba(255, 255, 255, .96); border-radius: 10px; box-shadow: 0 1px 6px rgba(10, 40, 71, .22); }
.nj-shb-sub { display: flex; flex-direction: column; gap: 3px; }
.nj-shb-sub > span { font-size: 10.5px; font-weight: 750; color: #1e4f7a; text-transform: uppercase; letter-spacing: .04em; }
.nj-shbox .nj-fdisc { width: 100%; margin: 0; }
.nj-drawing .nj-shbox { opacity: .35; pointer-events: none; }
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    .nj-shbox { left: 8px; bottom: 64px; max-width: calc(100% - 16px); }   /* phone: above the hint line */
    .nj-shb-row { gap: 3px; padding: 3px; }
    .nj-shb { height: 28px; padding: 0 6px; font-size: 11.5px; gap: 2px; }   /* v516q: five buttons on one line */
    .nj-shb-subs { width: 200px; }
    .nj-shbox .nj-fdisc { font-size: 16px; }   /* 16px or more: a smaller select makes an iPhone zoom the page in */
}
.nj-insets-on .nj-shbox { bottom: 148px; }   /* v3: the Alaska / Hawaii / territory cards sit at the lower left - stay above them */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) { .nj-insets-on .nj-shbox { bottom: 130px; } }

/* ---- v517 (2026-10-29) the state bar - top center of the map: type or drop down to pick a state / territory (js/statebar.js).
   It sits on the top row when there is room between the buttons and the pin key, otherwise right under the buttons (statebar.js place()).
   Picked = "state mode": the map shows only that state (the rest in a dark shadow, js/map.js) and "Back to US map" is right of Draw area. ---- */
.nj-statebar { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 710; width: min(300px, calc(100% - 20px)); height: 34px; display: flex; align-items: center;
    background: #fff; border: 1px solid rgba(0, 0, 0, .2); border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.nj-statebar:focus-within { border-color: var(--amber); box-shadow: 0 0 0 2px rgba(245, 158, 11, .3), 0 1px 4px rgba(0, 0, 0, .15); }
.nj-statemode .nj-statebar { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), 0 1px 4px rgba(0, 0, 0, .15); }
.nj-sb-ico { flex: 0 0 auto; margin-left: 11px; color: var(--muted); }
.nj-sb-in { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); padding: 0 6px 0 7px; outline: none; }
.nj-sb-in::placeholder { color: var(--muted); font-weight: 500; }
.nj-sb-dd { flex: 0 0 auto; display: grid; place-items: center; height: 100%; width: 34px; border: 0; border-left: 1px solid #e3e8ee; background: transparent; border-radius: 0 999px 999px 0; cursor: pointer; color: var(--ink); padding: 0; }
.nj-sb-dd:hover { color: var(--amber-ink, #b45309); background: #fff8eb; }
.nj-sb-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 4px; list-style: none; max-height: min(340px, 60vh); overflow-y: auto; overscroll-behavior: contain;
    background: #fff; border: 1px solid rgba(0, 0, 0, .12); border-radius: 10px; box-shadow: 0 6px 22px rgba(10, 40, 71, .25); }
.nj-sb-list[hidden] { display: none; }
.nj-sb-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 6px 10px; border-radius: 7px; font-size: 13px; color: var(--ink); cursor: pointer; }
.nj-sb-list li.is-act { background: #fff4de; }
.nj-sb-list li[aria-selected="true"] .nj-sb-n { font-weight: 800; color: var(--navy); }
.nj-sb-c { font-size: 11.5px; font-weight: 700; color: #15803d; white-space: nowrap; }
.nj-sb-c.is-zero { color: var(--muted); font-weight: 600; }
.nj-sb-list li.nj-sb-grp { cursor: default; padding: 8px 10px 3px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.nj-sb-list li.nj-sb-none { cursor: default; color: var(--muted); }
.nj-tool-back { color: var(--navy); }
.nj-legend.nj-lg-hide { visibility: hidden; }   /* the buttons reach it (narrow computer screen, js/statebar.js place()) */
/* the "You're viewing <state>" badge now always sits under the bar (js/map.js placeWhere moves it lower when needed) */
.nj-where { top: 50px; max-width: calc(100% - 24px); }
/* state mode: the Alaska / Hawaii / territory cards step aside (Back to US map does their job) */
.nj-statemode .leaflet-control.nj-insets { display: none; }
.nj-statemode.nj-insets-on .nj-map-hint { bottom: 22px; }
.nj-statemode.nj-insets-on .nj-shbox { bottom: 58px; }
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    .nj-statebar { height: 36px; }
    .nj-sb-in { font-size: 16px; }   /* 16px: an iPhone does not zoom the page when the box is tapped */
    .nj-sb-list { max-height: min(300px, 45vh); }
    .nj-sb-list li { padding: 8px 10px; font-size: 14px; }
    .nj-statemode.nj-insets-on .nj-map-hint { bottom: 26px; }
    .nj-statemode.nj-insets-on .nj-shbox { bottom: 64px; }
}

/* ==== v3f (2026-11-03 live): "the job field" - the filters drawn from the jobs on the map (js/field.js). Categories are orbs sized
   by their share of the jobs in view, facility types a skyline, employer types meters, the picked category's specialties a cloud.
   Hovering an orb / a building lights up those employers on the map (pane nj-spot). The same picks + counts as the chips. ==== */
.nj-left { grid-template-rows: minmax(0, 11fr) minmax(0, 9fr); }   /* TEST: the list keeps 2.3 rows of cards; the field gets the rest (the chip lists had a third) */
.nj-field { grid-template-columns: minmax(0, 10fr) minmax(0, 11fr); grid-template-rows: minmax(0, 1fr) auto; gap: 6px 10px; padding-bottom: 18px; }   /* orbs left, the specialties (or the visit's tip) right; room under the strip for the TEST tag */
.nj-field .nj-f-col { overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.nj-field .nj-f-spec { padding-left: 10px; }
.nj-orb-hints { flex: 0 0 auto; }
.nj-orb-hint { font-size: 10.5px; font-weight: 600; color: #3d6487; margin: 0 0 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nj-orbfield { position: relative; flex: 1 1 auto; min-height: 0; }
.nj-field .nj-orbs, .nj-field { overflow: visible; }   /* a hovered orb may grow past the edge of its box */
/* the orbs: --x/--y centre, --r radius, --h hue. They glide (left/top/width/height transition) when the map moves */
.nj-orb { position: absolute; left: calc(var(--x) - var(--r)); top: calc(var(--y) - var(--r)); width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: 0; padding: 0;
    border-radius: 50%; border: 1.5px solid hsl(var(--h) 55% 60% / .95); background: radial-gradient(circle at 36% 30%, #fff 0, hsl(var(--h) 90% 94%) 70%, hsl(var(--h) 70% 88%) 100%);
    color: hsl(var(--h) 60% 26%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; cursor: pointer; font: inherit; line-height: 1;
    box-shadow: 0 2px 6px hsl(var(--h) 60% 40% / .2), inset 0 -2px 4px hsl(var(--h) 60% 60% / .18);
    transition: left .6s cubic-bezier(.25, .9, .3, 1), top .6s cubic-bezier(.25, .9, .3, 1), width .6s cubic-bezier(.25, .9, .3, 1), height .6s cubic-bezier(.25, .9, .3, 1), opacity .25s, box-shadow .2s, background .2s; }
.nj-orb i { font-style: normal; font-size: calc(var(--r) * .5); line-height: 1; }
.nj-orb b { font-size: max(10px, calc(var(--r) * .32)); font-weight: 800; letter-spacing: -.01em; }
.nj-orb span, .nj-orb u { font-size: 9.5px; font-weight: 750; max-width: calc(var(--r) * 1.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .9; text-decoration: none; }
/* the word is never hidden: big orbs = icon + count + the name (two lines if it needs them); middle = count + the short name;
   small = the short name + count. The full name comes up on hover. */
.nj-orb span { white-space: normal; line-height: 1.05; text-align: center; max-width: calc(var(--r) * 1.7); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nj-orb u { display: none; }
.nj-orb.t2 i, .nj-orb.t2 span, .nj-orb.t1 i, .nj-orb.t1 span { display: none; }
.nj-orb.t2 u { display: block; font-size: 9px; max-width: calc(var(--r) * 1.95); }
.nj-orb.t1 u { display: block; font-size: 8.5px; max-width: calc(var(--r) * 1.95); }
.nj-orb.t1 b { font-size: 9.5px; }
.nj-orb small { display: none; }
/* hover / keyboard focus: the orb grows into a card (--rh) above its neighbours - icon, count, the full name, "jobs on the map" */
.nj-orb:hover:not(:disabled), .nj-orb:focus-visible { left: calc(var(--x) - var(--rh)); top: calc(var(--y) - var(--rh)); width: calc(var(--rh) * 2); height: calc(var(--rh) * 2); gap: 2px;
    box-shadow: 0 0 0 3px hsl(var(--h) 85% 60% / .4), 0 8px 22px hsl(var(--h) 60% 35% / .38); outline: none; z-index: 5; opacity: 1 !important;
    transition: left .22s ease, top .22s ease, width .22s ease, height .22s ease, box-shadow .2s; }
.nj-orb:hover:not(:disabled) i, .nj-orb:focus-visible i { font-size: calc(var(--rh) * .42); }
.nj-orb:hover:not(:disabled) b, .nj-orb:focus-visible b { display: block; font-size: calc(var(--rh) * .34); }
.nj-orb:hover:not(:disabled) span, .nj-orb:focus-visible span, .nj-orb:hover:not(:disabled) u, .nj-orb:focus-visible u { display: none; }
.nj-orb:hover:not(:disabled) i, .nj-orb:focus-visible i { display: block; }
.nj-orb:hover:not(:disabled) small, .nj-orb:focus-visible small { display: block; font-size: 10px; font-weight: 750; line-height: 1.15; text-align: center; max-width: calc(var(--rh) * 1.7); white-space: normal; }
.nj-orb small em { display: block; font-style: normal; font-weight: 600; font-size: 8.5px; opacity: .75; margin-top: 1px; }
.nj-orb.is-on { background: radial-gradient(circle at 36% 30%, hsl(var(--h) 85% 68%) 0, hsl(var(--h) 78% 46%) 75%, hsl(var(--h) 75% 38%) 100%); color: #fff; border-color: hsl(var(--h) 70% 32%);
    box-shadow: 0 0 0 3px hsl(var(--h) 85% 60% / .38), 0 4px 12px hsl(var(--h) 60% 35% / .45), inset 0 -2px 4px hsl(var(--h) 70% 25% / .3); z-index: 1; }
.nj-orb.is-on span { opacity: .95; }
.nj-orbs.has-on .nj-orb:not(.is-on):not(:hover) { opacity: .58; }
.nj-orb.is-zero { opacity: .3; cursor: default; box-shadow: none; }
/* the visit's tip (js/tips.js) in the right column until a category is picked; the old .nj-f-tip card style, kept short */
.nj-bloom .nj-f-tip { margin-top: 10px; overflow: hidden; }
/* v517u: one clue a visit under the tip - an easter egg's map picture and a few words (js/tips.js NJ_CLUES, js/filters.js) */
.nj-bloom .nj-f-clue { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; font-style: italic; color: #6b6255; }
.nj-bloom .nj-f-clue svg { flex: none; cursor: default !important; }
/* the discipline pills above the orbs: one pick per category (All / RN / LPN ...) */
.nj-disc { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 3px 4px; margin-bottom: 5px; }
.nj-disc b { font-size: 10px; font-weight: 800; color: hsl(var(--h) 60% 30%); text-transform: uppercase; letter-spacing: .04em; margin-right: 2px; }
.nj-dpill { border: 1px solid hsl(var(--h) 50% 70%); background: hsl(var(--h) 85% 96%); color: hsl(var(--h) 60% 26%); border-radius: 999px; padding: 2px 7px; font: inherit; font-size: 10.5px; font-weight: 700; line-height: 1.25; cursor: pointer; }
.nj-dpill span { font-weight: 600; opacity: .7; font-size: .9em; }
.nj-dpill { transition: transform .15s ease, box-shadow .15s; }
.nj-dpill:hover:not(:disabled), .nj-dpill:focus-visible { border-color: hsl(var(--h) 60% 50%); transform: scale(1.14); box-shadow: 0 3px 9px hsl(var(--h) 60% 40% / .3); z-index: 2; position: relative; outline: none; }
.nj-dpill.is-on { background: hsl(var(--h) 75% 42%); border-color: hsl(var(--h) 70% 32%); color: #fff; }
.nj-dpill.is-on span { opacity: .9; }
.nj-dpill:disabled { opacity: .4; cursor: default; }
/* the bloom: the picked categories' specialties as a size-weighted cloud (--w 0..1 = share of the biggest) */
.nj-bloom-t { flex: 0 0 auto; font-size: 11px; font-weight: 750; color: #1e4f7a; margin: 2px 0 5px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nj-bloom-t i { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; color: #3d6487; }
.nj-bloom-hint { font-size: 12px; font-weight: 600; color: #3d6487; line-height: 1.4; display: flex; gap: 8px; align-items: flex-start; }
.nj-bloom-orb { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px; border: 1.5px solid hsl(215 55% 60%); background: radial-gradient(circle at 36% 30%, #fff, hsl(215 90% 92%)); box-shadow: 0 2px 5px hsl(215 60% 40% / .25); animation: nj-orb-breathe 2.6s ease-in-out infinite; }
@keyframes nj-orb-breathe { 0%, 100% { transform: scale(.9); } 50% { transform: scale(1.08); } }
.nj-cloud { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-wrap: wrap; align-content: flex-start; align-items: center; gap: 4px 5px; padding-right: 2px; }
.nj-cpill { border-radius: 999px; padding: .22em .62em .24em; border: 1px solid hsl(var(--h) 50% calc(84% - var(--w) * 28%)); background: hsl(var(--h) 85% calc(97% - var(--w) * 16%)); color: hsl(var(--h) 60% calc(32% - var(--w) * 10%));
    font: inherit; font-weight: 750; line-height: 1.2; cursor: pointer; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: box-shadow .15s, background .15s; }
.nj-cpill span { font-weight: 600; opacity: .65; font-size: .82em; }
.nj-cpill { transition: transform .15s ease, box-shadow .15s, background .15s; }
.nj-cpill:hover:not(:disabled), .nj-cpill:focus-visible { transform: scale(1.14); box-shadow: 0 4px 12px hsl(var(--h) 60% 40% / .32); z-index: 2; position: relative; outline: none; }
.nj-cpill.is-on { background: hsl(var(--h) 75% 42%); border-color: hsl(var(--h) 70% 32%); color: #fff; box-shadow: 0 0 0 2px hsl(var(--h) 85% 60% / .35); }
.nj-cpill.is-on span { opacity: .9; }
.nj-cpill:disabled { opacity: .4; cursor: default; }
.nj-cmore { border: 1px dashed #8fb0d2; background: none; color: #1e4f7a; border-radius: 999px; padding: 2px 9px; font: inherit; font-size: 11px; font-weight: 700; cursor: pointer; }
.nj-cmore:hover { background: rgba(255, 255, 255, .7); }
/* the strip: a row of facility pills (icon - name - count), then the employer share bar; the titles sit inline */
.nj-f-strip { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 4px; padding-top: 5px; border-top: 1px dashed rgba(30, 79, 122, .28); min-width: 0; }
.nj-strip-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nj-strip-t { flex: 0 0 56px; font-size: 10px; font-weight: 750; color: #1e4f7a; text-transform: uppercase; letter-spacing: .04em; }
.nj-kinds { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: wrap; gap: 3px 4px; }
.nj-kind { display: inline-flex; align-items: center; gap: 3px; border: 1px solid #bccfe2; background: linear-gradient(#ffffff, #f6f9fc); color: var(--ink); border-radius: 999px; padding: 2px 7px 2px 5px; margin: 0;
    font: inherit; font-size: 10.5px; font-weight: 750; line-height: 1.25; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s; }
.nj-kind em { font-style: normal; font-size: 12px; line-height: 1; }
.nj-kind span { font-weight: 600; color: #44596e; font-size: 10px; }
.nj-kind:hover:not(:disabled), .nj-kind:focus-visible { border-color: var(--blue); transform: scale(1.1); box-shadow: 0 3px 9px rgba(37, 99, 235, .22); z-index: 2; position: relative; outline: none; }
.nj-kind.is-on { background: linear-gradient(#3b78f0, #1f5ee0); border-color: #1d4ed8; color: #fff; }
.nj-kind.is-on span { color: rgba(255, 255, 255, .85); }
.nj-kind:disabled { opacity: .4; cursor: default; }
/* one bar, split by share (--p = percent, as flex-grow): civilian / federal / state / other gov */
.nj-meters { flex: 1 1 auto; min-width: 0; display: flex; height: 22px; border-radius: 6px; overflow: hidden; border: 1px solid #a9c1d9; background: #fff; }
.nj-meter { position: relative; flex: 1 1 0; min-width: 0;   /* equal thirds (micheal 2026-11-03: "were not measuring there, and it looks weird") */ display: flex; align-items: center; justify-content: center; gap: 4px; border: 0; border-right: 1px solid rgba(255, 255, 255, .7); margin: 0; padding: 0 4px;
    background: hsl(215 70% calc(50% + var(--i) * 10%)); color: #fff; font: inherit; font-size: 10.5px; font-weight: 750; line-height: 1; cursor: pointer; overflow: hidden; white-space: nowrap;
    transition: filter .15s; }
.nj-meter:last-child { border-right: 0; }
.nj-meter em { font-style: normal; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.nj-meter span { font-weight: 600; opacity: .85; font-size: 10px; }
.nj-meter i { display: none; }
.nj-meter:hover:not(:disabled) { filter: brightness(1.12); }
.nj-meter.is-on { background: linear-gradient(#f5a524, #d98a06); color: #3b2500; box-shadow: inset 0 0 0 2px #fff; }
.nj-meter.is-on span { opacity: .8; }
.nj-meter:disabled { opacity: .35; cursor: default; }
/* the spotlight on the map (js/field.js spot): halos on the employers a hovered orb / building would keep */
.leaflet-pane.nj-spot { opacity: 0; }
.leaflet-pane.nj-spot.nj-spot-in { animation: nj-spot-in .32s ease forwards; }
@keyframes nj-spot-in { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .nj-orb, .nj-orb:hover, .nj-kind, .nj-cpill, .nj-dpill, .nj-meter { transition: none; }
    .nj-bloom-orb { animation: none; }
    .leaflet-pane.nj-spot.nj-spot-in { animation: none; opacity: 1; }
}
/* phones (the filter sheet): one column - the orbs get a fixed height, the bloom scrolls below, the strip wraps */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    .nj-left { grid-template-rows: minmax(0, 2fr) minmax(0, 1fr); }
    .nj-field { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
    .nj-field .nj-f-spec { padding-left: 0; border-left: 0; box-shadow: none; }
    .nj-orbfield { height: 210px; flex: 0 0 auto; }
    .nj-cloud { max-height: 160px; }
    .nj-strip-t { flex-basis: 100%; }
}

/* getapp1 (2026-11-05, micheal: no mobile view - phones get the App Store / Google Play links instead of the map).
   Touch screens up to 900px wide (phones, small tablets) or a phone on its side. A computer window, however narrow, keeps the map. */
.nj-getapp { display: none; }
@media (pointer: coarse) and (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    html, body { height: auto; min-height: 100%; overflow: auto; background: #0a2847; }
    body > :not(.nj-getapp) { display: none !important; }
    .nj-getapp { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
        min-height: 100vh; min-height: 100dvh; padding: 32px 20px; box-sizing: border-box; text-align: center; color: #fff;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
    .nj-getapp-logo { width: 72px; height: 72px; }
    .nj-getapp-name { font-size: 28px; font-weight: 800; letter-spacing: 0.5px; }
    .nj-getapp-text { margin: 0 0 6px; font-size: 17px; line-height: 1.4; color: #dbe6f3; max-width: 320px; }
    .nj-getapp-badges { display: flex; flex-direction: column; align-items: center; gap: 4px; }
    .nj-getapp-badge { display: inline-block; line-height: 0; }
    .nj-getapp-ios { height: 54px; width: auto; }
    .nj-getapp-play { height: 80px; width: auto; }   /* Google's badge carries its own transparent margin - 80px puts its button at ~54px, level with Apple's */
}

/* getapp1b (2026-11-05): phone turned sideways - smaller logo, badges side by side so both fit without scrolling */
@media (pointer: coarse) and (max-height: 500px) {
    .nj-getapp { gap: 8px; padding: 14px 20px; }
    .nj-getapp-logo { width: 44px; height: 44px; }
    .nj-getapp-name { font-size: 22px; }
    .nj-getapp-badges { flex-direction: row; gap: 14px; }
}

/* v3g (2026-11-05, micheal: "the sub categories, i.e. pa np crna when the bubble is clicked ... should be more prominent and the specialties should be small"):
   the sub-category pills (All / PA / ARNP / NP / CRNA ...) are now the big buttons; the specialty pills below are small (their size is set in js/field.js) */
.nj-disc { gap: 6px 7px; margin-bottom: 12px; }
.nj-disc b { font-size: 13px; margin-right: 4px; }
.nj-dpill { font-size: 15px; padding: 6px 14px; border-width: 1.5px; font-weight: 750; line-height: 1.2; }
.nj-dpill span { font-size: .85em; }
.nj-dpill:hover:not(:disabled), .nj-dpill:focus-visible { transform: scale(1.06); }
/* v3g: and "a slightly different color than the specialties" - white buttons with a dark outline (the specialties stay tinted) */
.nj-dpill { background: #fff; border-color: hsl(var(--h) 55% 42%); color: hsl(var(--h) 70% 22%); box-shadow: 0 1px 3px hsl(var(--h) 50% 30% / .25); }
.nj-dpill.is-on { background: hsl(var(--h) 75% 36%); border-color: hsl(var(--h) 75% 26%); color: #fff; box-shadow: 0 2px 6px hsl(var(--h) 60% 30% / .35); }

/* fscroll (2026-11-06, micheal: "some of it doesnt allow scrolling ... when i click on ot pt ect. no scrolling sub cats and specialties. so cant
   get to em"): on a computer the right-hand column of the job field - the sub-category pills (All / PT / OT ...), the "Specialties for ..." title
   and the specialty cloud - now scrolls as ONE area with a thin visible scrollbar. Before, the column clipped and only the cloud scrolled: with
   9 PT / OT / Social pills (v3g made them bigger) the pills filled the column, the cloud got no height, and the last pills and every specialty
   were out of reach (36 of 64 window-size x category checks, even at 1920x1080 for CNA / MA and PT / OT). The phone-size sheet (900px and
   under) already scrolls as a whole and is not touched. */
@media (min-width: 901px) {
    .nj-field .nj-f-spec { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 3px 6px 8px 10px; scrollbar-width: thin; scrollbar-color: #9cb8d6 transparent; }
    .nj-field .nj-f-spec::-webkit-scrollbar { width: 8px; }
    .nj-field .nj-f-spec::-webkit-scrollbar-thumb { background: #9cb8d6; border-radius: 8px; }
    .nj-field .nj-f-spec::-webkit-scrollbar-track { background: transparent; }
    .nj-field .nj-f-spec .nj-cloud { flex: 0 0 auto; min-height: auto; overflow: visible; padding-bottom: 2px; }
}
/* fscroll: the narrow sheet (900px and under - a computer window that narrow): the FACILITY / EMPLOYER labels take a whole line, so the row
   has to wrap - before it did not, the facility pills and the employer bar were squeezed to 0 px and pushed off the right edge */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    .nj-strip-row { flex-wrap: wrap; row-gap: 4px; }
    .nj-strip-row > .nj-kinds, .nj-strip-row > .nj-meters { flex: 1 1 100%; }
}
/* fscroll2 (2026-11-06, the thorough check of the filters): the narrow sheet (a computer window 900px wide or less, e.g. a browser snapped to
   half the screen) now scrolls. Before, the v3f job-field rules (.nj-field { overflow: visible }) switched off the sheet's scrolling, so when
   PT / OT / Social or CNA / MA / MT was picked the orb area squeezed to 0 px, the orbs sat on top of the sub-category pills, and the pills and
   specialties past the bottom of the window could not be reached. Now the whole sheet scrolls as one, the orbs keep their 210px, and the
   specialty cloud shows in full (no small box inside the sheet that traps the mouse wheel). Phones are not affected (they get the app links). */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    .nj-f-body.nj-field { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; }
    .nj-field > .nj-f-main, .nj-field > .nj-f-strip { flex-shrink: 0; }
    .nj-field > .nj-f-spec { overflow: visible; }
    .nj-field > .nj-f-spec .nj-cloud { max-height: none; overflow: visible; flex: 0 0 auto; min-height: auto; }
}
/* v517q-e3 REMOTE (2026-11-08, micheal: "remote jobs with no town.....have a circle in the gulf that says remote"): ROSE = remote. The national Remote
   circle in the Gulf of Mexico (js/map.js natPaint - never in a blue bubble, every zoom), a state's remote pin ("<State> - remote jobs" at the state's
   center), the Remote chip on a card, the legend. Remote mode on = the circle filled + a rose ring. Distinct from the blue bubbles, green employer pins,
   purple town pins and the amber lock. */
.nj-rbub { background: none; border: 0; }
.nj-rbub span { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .92); border: 3px solid #e11d48; color: #9f1239; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); line-height: 1.05; }
.nj-rbub span b { font-size: 12px; font-weight: 800; letter-spacing: .2px; }
.nj-rbub span i { font-style: normal; font-size: 11px; font-weight: 700; }
.nj-rbub:hover span { background: #ffe4e6; transform: scale(1.06); }
.nj-rbub.is-on span { background: #e11d48; color: #fff; box-shadow: 0 0 0 5px rgba(225, 29, 72, .28), 0 1px 4px rgba(0, 0, 0, .3); }
.nj-rbub.is-on:hover span { background: #be123c; }
.nj-pin.nj-pin-remote .nj-pin-head { background: #e11d48; }
.nj-pin.nj-pin-remote:hover .nj-pin-head { background: #9f1239; }
.nj-pin.nj-pin-remote.is-locked .nj-pin-head, .nj-pin.nj-pin-remote.is-hot .nj-pin-head { background: var(--amber); }
.nj-lg-r { background: #e11d48; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); margin-left: 6px; }
.nj-lg.nj-lg-rb { width: auto; height: auto; padding: 0 5px; margin-left: 6px; border-radius: 9px; border: 2px solid #e11d48; color: #9f1239; font-size: 10px; font-weight: 800; line-height: 13px; }
/* v517q-e3b: the legend's Remote badge is a real button (micheal: "the remote button doesnt do anything") - same as the Remote circle in the Gulf */
/* the Remote map tool (always on screen, next to Draw area) */
.nj-tool.nj-tool-remote { color: #9f1239; }
.nj-tool.nj-tool-remote:hover { border-color: #e11d48; }
.nj-tool.nj-tool-remote.is-on { background: #e11d48; border-color: #e11d48; color: #fff; }
.nj-chip-rm { flex: 0 0 auto; background: #ffe4e6; color: #9f1239; font-weight: 700; }
.nj-remote-tag { display: inline-block; margin-left: 4px; padding: 0 5px; border-radius: 8px; background: #ffe4e6; color: #9f1239; font-size: 10px; font-weight: 700; vertical-align: 1px; }
body.nj-remote-mode .nj-top-mid { color: #fecdd3; font-weight: 700; }

/* seo1 (2026-11-15): search engines. The brand is the page's <h1> now (same look). .nj-vh = words for search engines and screen
   readers only. (.nj-seo, the short text, is in the phone part now - see seo2 at the end.) .nj-about-states = About us -> jobs by state
   (the look of .nj-about-data in pro.css, but it stays on phones). */
h1.nj-brand { margin: 0; }
.nj-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.nj-about-states { 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; }
.nj-about-states:hover { background: #f1f7fd; border-color: #7fa3cc; }
.nj-about-states:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; }

/* seo2 (2026-11-15, micheal: "just make it so it works without reducing function"): the readable part phones get UNDER the Get-the-app
   card (index.html #nj-phone, filled by js/phone.js) - Google reads the site as a phone and saw only the card. Computers never show it.
   The card itself is unchanged; .nj-getapp-more is the one line added to it. Same @media as getapp1 above. */
.nj-phone, .nj-getapp-more { display: none; }
@media (pointer: coarse) and (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
    .nj-getapp-more { display: inline-block; margin-top: 14px; font-size: 15px; color: #9fd8b8; }
    /* the card fills the screen as before, but never grows past 1400px: Google takes its picture with a very tall screen, and a
       100vh card stretched to fill all of it - the jobs under it were in the page but not in Google's picture. No phone or small
       tablet is taller than that, so they see no change. */
    .nj-getapp { min-height: min(100vh, 1400px); min-height: min(100dvh, 1400px); }
    body > .nj-phone { display: block !important; box-sizing: border-box; width: 100%; padding: 22px 16px 36px; background: #f4f6f9; color: #14263a;
        font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.45; text-align: left; }
    .nj-phone [hidden] { display: none !important; }
    .nj-phone .nj-seo h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; }
    .nj-phone .nj-seo p { margin: 0 0 12px; color: #40566c; }
    .nj-phone a { color: #2563eb; font-weight: 650; }
    .nj-phone-h { margin: 20px 0 2px; font-size: 18px; }
    .nj-phone-sub { margin: 0 0 10px; color: #5f7285; font-size: 14px; }
    .nj-phone-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
    .nj-phone-jobs li { padding: 11px 13px; background: #fff; border: 1px solid #e3e8ef; border-radius: 10px; overflow-wrap: anywhere; }
    .nj-pj-t { font-weight: 700; }
    .nj-pj-o { margin-top: 2px; color: #40566c; font-size: 14px; }
    .nj-pj-m { margin-top: 2px; color: #5f7285; font-size: 13px; }
    .nj-phone a.nj-pj-go { display: inline-block; margin-top: 8px; padding: 7px 14px; border-radius: 999px; background: #1f6b4f; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
    .nj-phone-more { display: block; width: 100%; margin: 14px 0 0; padding: 12px; border: 1.5px solid #b9cbe0; border-radius: 999px; background: #fff; color: #0a2847; font: inherit; font-weight: 700; }
    .nj-phone-note { margin: 18px 0 0; color: #5f7285; font-size: 14px; }
}

/* seo4 (2026-11-15): the "jobs by type" links in the phone part of a state page (tools/make-state-pages.py) - closed until
   tapped. Only phones show .nj-phone at all (seo2 above). */
.nj-phone .nj-seo-types { margin: 0 0 12px; }
.nj-phone .nj-seo-types summary { cursor: pointer; padding: 6px 0; color: #0a2847; font-weight: 700; }
.nj-phone .nj-seo-types p { margin: 6px 0 0; line-height: 2; }
