/* NAEJOBS - Travel Listings (js/travel.js). Look redone 2026-11-29 (micheal: "give it a modern sleek look"): deep navy and white, pill-shaped
   map markers with a soft shadow, flat cards with hairline borders. Travel still has its own shapes - never the green pin, the blue bubble
   or the orange selected pin - and money stays green. */
.nj-tool-travel.is-on { background: #0b1f38; border-color: #0b1f38; color: #fff; }
.nj-tool-travel.is-busy { opacity: .6; cursor: progress; }
/* loading (2026-12-01): a pill in the middle of the map from the press until the list is up */
.nj-tv-loading { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 1200; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: 80%; box-sizing: border-box; padding: 12px 18px; background: #0b1f38; color: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(11, 31, 56, .35); font: 600 14px/1.3 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; pointer-events: none; }
.nj-tv-spin { width: 16px; height: 16px; box-sizing: border-box; border: 2.5px solid rgba(255, 255, 255, .3); border-top-color: #fff; border-radius: 50%; animation: nj-tv-spin .8s linear infinite; flex: none; }
.nj-tv-lbar { flex: 1 0 100%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.nj-tv-lbar b { display: block; width: 30%; height: 100%; border-radius: 2px; background: #fff; animation: nj-tv-slide 1.1s ease-in-out infinite; }
.nj-tv-loading.has-pct .nj-tv-lbar b { animation: none; transition: width .15s linear; }
@keyframes nj-tv-spin { to { transform: rotate(360deg); } }
@keyframes nj-tv-slide { 0% { margin-left: -30%; } 100% { margin-left: 100%; } }
@media (prefers-reduced-motion: reduce) { .nj-tv-spin { animation-duration: 2.4s; } .nj-tv-lbar b { animation: none; width: 100%; opacity: .5; } .nj-tv-loading.has-pct .nj-tv-lbar b { opacity: 1; } }
.nj-tool-travel[hidden] { display: none !important; }
/* in travel mode the permanent board steps aside: its pins, bubbles, insets and list are hidden, not removed */
body.nj-travel-mode .leaflet-marker-icon.nj-pin, body.nj-travel-mode .leaflet-marker-icon.nj-bubble, body.nj-travel-mode .nj-insets, body.nj-travel-mode .nj-legend,
body.nj-travel-mode .nj-shbox, body.nj-travel-mode .nj-shpanel, body.nj-travel-mode .nj-map-hint, body.nj-travel-mode .nj-statebar,
body.nj-travel-mode #nj-remote-btn, body.nj-travel-mode #nj-ftoggle, body.nj-travel-mode .leaflet-overlay-pane .nj-ring { display: none !important; }
.nj-left { position: relative; }

/* ---- the panel */
.nj-tv-panel { --tv-ink: #0b1f38; --tv-text: #1e293b; --tv-muted: #64748b; --tv-line: #e6eaf0; --tv-soft: #f5f7fa; --tv-money: #0f7a55;
  position: absolute; inset: 0; z-index: 30; background: #fff; display: flex; flex-direction: column; min-height: 0; color: var(--tv-text); }
.nj-tv-panel[hidden] { display: none; }
.nj-tv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px 16px 10px; }
.nj-tv-head b { display: block; color: var(--tv-ink); font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.nj-tv-head small { display: block; margin-top: 2px; color: var(--tv-muted); font-size: 12px; line-height: 1.45; }
.nj-tv-x { flex: 0 0 auto; border: 1px solid var(--tv-line); background: #fff; color: var(--tv-ink); border-radius: 999px; height: 30px; padding: 0 13px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.nj-tv-x:hover { background: var(--tv-soft); border-color: #cbd5e1; }

/* ---- the filters */
.nj-tv-f { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 10px; }
.nj-tv-f input, .nj-tv-f select { min-width: 0; height: 36px; border: 1px solid var(--tv-line); border-radius: 10px; padding: 0 11px; font: inherit; font-size: 13px; background: var(--tv-soft); color: var(--tv-text); transition: border-color .15s, background .15s, box-shadow .15s; }
.nj-tv-f input::placeholder { color: #94a3b8; }
.nj-tv-f input:hover, .nj-tv-f select:hover { border-color: #cbd5e1; }
.nj-tv-f input:focus, .nj-tv-f select:focus { outline: 0; background: #fff; border-color: var(--tv-ink); box-shadow: 0 0 0 3px rgba(11, 31, 56, .1); }
.nj-tv-f input { grid-column: 1 / -1; }
.nj-tv-f select:last-child { grid-column: 1 / -1; }
.nj-tv-fx select:last-child { grid-column: auto; }
.nj-tv-f select.is-set { background: #fff; border-color: var(--tv-ink); color: var(--tv-ink); font-weight: 700; }
/* the menus (js/travel.js menu()): a button that says what is chosen, and under it the whole list with tick boxes */
.nj-tv-dd { position: relative; min-width: 0; }
.nj-tv-ddb { width: 100%; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--tv-line); border-radius: 10px; padding: 0 12px 0 11px; font: inherit; font-size: 13px; background: var(--tv-soft); color: var(--tv-text); cursor: pointer; text-align: left; transition: border-color .15s, background .15s, box-shadow .15s; }
.nj-tv-ddb span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nj-tv-ddb i { flex: none; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .55; transition: transform .15s; }
.nj-tv-dd.is-open .nj-tv-ddb i { transform: translateY(1px) rotate(-135deg); }
.nj-tv-ddb:hover { border-color: #cbd5e1; }
.nj-tv-ddb:focus-visible, .nj-tv-dd.is-open .nj-tv-ddb { outline: 0; background: #fff; border-color: var(--tv-ink); box-shadow: 0 0 0 3px rgba(11, 31, 56, .1); }
.nj-tv-ddb.is-set { background: #fff; border-color: var(--tv-ink); color: var(--tv-ink); font-weight: 700; }
.nj-tv-ddm { position: absolute; z-index: 60; left: 0; top: calc(100% + 6px); min-width: 100%; width: max-content; max-width: min(320px, 88vw); background: #fff; border: 1px solid var(--tv-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(11, 31, 56, .2), 0 2px 6px rgba(11, 31, 56, .08); overflow: hidden; }
.nj-tv-dd.is-r .nj-tv-ddm { left: auto; right: 0; }
.nj-tv-ddm[hidden] { display: none; }
.nj-tv-ddn { padding: 10px 13px 2px; font-size: 11.5px; line-height: 1.4; color: var(--tv-muted); white-space: normal; }
.nj-tv-ddl { max-height: min(290px, 44vh); overflow-y: auto; padding: 6px; overscroll-behavior: contain; }
.nj-tv-ddl label { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; font-size: 13px; color: var(--tv-text); cursor: pointer; }
.nj-tv-ddl label:hover { background: var(--tv-soft); }
.nj-tv-ddl label.is-on { font-weight: 700; color: var(--tv-ink); }
.nj-tv-ddl label.is-zero span, .nj-tv-ddl label.is-zero em { color: #a3acb9; }
.nj-tv-ddl input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: #0b1f38; cursor: pointer; }
.nj-tv-ddl span { flex: 1; min-width: 0; }
.nj-tv-ddl em { flex: none; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--tv-muted); font-variant-numeric: tabular-nums; }
.nj-tv-ddf { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--tv-line); background: #fbfcfd; }
.nj-tv-ddf button { border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--tv-muted); cursor: pointer; padding: 5px 6px; border-radius: 8px; }
.nj-tv-ddf button[disabled] { opacity: .4; cursor: default; }
.nj-tv-ddf .nj-tv-ddok { margin-left: auto; background: var(--tv-ink); color: #fff; padding: 6px 14px; }
.nj-tv-f2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 16px 10px; }
.nj-tv-moreb, .nj-tv-clear { border: 0; background: none; padding: 0; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--tv-ink); cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: rgba(11, 31, 56, .25); text-underline-offset: 3px; }
.nj-tv-moreb:hover, .nj-tv-clear:hover { text-decoration-color: currentColor; }
.nj-tv-clear { color: var(--tv-muted); white-space: nowrap; }

/* ---- NAEJOBS Data: the Matched choices (one soft track, the chosen one lifted) */
.nj-tv-mf { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; margin: 0 16px 10px; padding: 3px; background: #eef1f5; border-radius: 11px; }
.nj-tv-mf span { font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tv-muted); padding: 0 8px 0 7px; }
.nj-tv-mf button { border: 0; background: transparent; color: #475569; border-radius: 8px; height: 28px; padding: 0 11px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s; }
.nj-tv-mf button:hover { color: var(--tv-ink); }
.nj-tv-mf button.is-on { background: #fff; color: var(--tv-ink); box-shadow: 0 1px 2px rgba(11, 31, 56, .14); }

/* ---- the cards */
.nj-tv-cards { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px 16px 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; align-content: start; background: var(--tv-soft); border-top: 1px solid var(--tv-line); }
.nj-tv-card { background: #fff; border: 1px solid var(--tv-line); border-radius: 14px; padding: 14px 14px 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; align-content: start; box-shadow: 0 1px 2px rgba(11, 31, 56, .04); transition: box-shadow .18s, border-color .18s, transform .18s; }
.nj-tv-card > * { grid-column: 1 / -1; min-width: 0; }
.nj-tv-card:hover { border-color: #d5dbe4; box-shadow: 0 8px 24px rgba(11, 31, 56, .09); transform: translateY(-1px); }
.nj-tv-card.is-sel { border-color: var(--tv-ink); box-shadow: 0 0 0 1px var(--tv-ink), 0 8px 24px rgba(11, 31, 56, .12); }
.nj-tv-card h4 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; color: var(--tv-ink); }
.nj-tv-ag { font-size: 12.5px; font-weight: 600; color: var(--tv-text); }
.nj-tv-ag span { font-weight: 700; color: var(--tv-muted); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; margin-left: 5px; }
.nj-tv-ag em { font-style: normal; font-weight: 700; font-size: 11px; color: var(--tv-money); background: #e8f5ef; border-radius: 999px; padding: 1px 8px; margin-left: 6px; white-space: nowrap; }
.nj-tv-card > .nj-tv-loc { grid-column: 1; font-size: 12.5px; color: var(--tv-muted); }
.nj-tv-card > .nj-tv-start { grid-column: 2; justify-self: end; align-self: center; font-size: 11.5px; font-weight: 700; color: var(--tv-ink); background: #eef1f5; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.nj-tv-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.nj-tv-chips span { font-size: 11.5px; font-weight: 600; background: var(--tv-soft); border: 1px solid var(--tv-line); border-radius: 7px; padding: 1px 8px; color: #475569; }
.nj-tv-pay { margin-top: 4px; font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: var(--tv-money); }
.nj-tv-go { margin-top: 6px; display: flex; align-items: center; justify-content: center; min-height: 38px; background: var(--tv-ink); color: #fff; text-decoration: none; border-radius: 10px; padding: 6px 14px; font-size: 13px; font-weight: 700; text-align: center; transition: background .15s, transform .1s; }
.nj-tv-go:hover { background: #16335a; }
.nj-tv-go:active { transform: scale(.99); }
/* the same job at the other agencies - each row its own link */
.nj-tv-also { display: flex; flex-direction: column; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--tv-line); }
.nj-tv-also b { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--tv-muted); margin-bottom: 2px; }
.nj-tv-also a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 -6px; padding: 5px 6px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--tv-text); text-decoration: none; transition: background .15s; }
.nj-tv-also a:hover { background: var(--tv-soft); }
.nj-tv-also a span { margin-left: auto; font-weight: 700; color: var(--tv-money); white-space: nowrap; }
.nj-tv-same { justify-self: start; margin-top: 4px; border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 600; color: var(--tv-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.nj-tv-same:hover { color: var(--tv-ink); }
.nj-tv-none { grid-column: 1 / -1; color: var(--tv-muted); font-size: 13.5px; padding: 28px 4px; text-align: center; }

/* ---- NAEJOBS Data: "1 of N" and the ranked organizations */
.nj-tv-m { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 6px; }
.nj-tv-n { border: 1px solid var(--tv-ink); background: #fff; color: var(--tv-ink); border-radius: 999px; height: 24px; padding: 0 10px; font: inherit; font-size: 11.5px; font-weight: 800; cursor: pointer; transition: background .15s, color .15s; }
.nj-tv-n:hover { background: var(--tv-ink); color: #fff; }
.nj-tv-n.is-one { background: var(--tv-ink); color: #fff; }
.nj-tv-n { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nj-tv-n i { font-style: normal; font-size: 9px; margin-left: 3px; }
.nj-tv-n.is-none, .nj-tv-n.is-none:hover { border-color: #cbd5e1; background: #fff; color: #94a3b8; cursor: default; }
.nj-tv-cl { font-size: 11.5px; color: var(--tv-muted); }
.nj-tv-fac { font-size: 12px; color: #475569; background: var(--tv-soft); border-radius: 8px; padding: 5px 9px; }
.nj-tv-cands { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 7px; }
.nj-tv-cands li { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; margin: 0 -6px; padding: 4px 6px; border-radius: 9px; cursor: default; transition: background .12s; }
.nj-tv-cands li.is-hot { background: #e8f5fe; box-shadow: inset 0 0 0 1px rgba(56, 189, 248, .55); }
.nj-tv-ch { margin: 8px 0 0; font-size: 11.5px; line-height: 1.35; color: var(--tv-muted); }
.nj-tv-mfh { margin: -4px 18px 10px; font-size: 11.5px; line-height: 1.35; color: var(--tv-muted); }
/* ranked pins stay on the map (2026-12-03): when the open card is not in the list on screen, this line names it and puts the pins away */
.nj-tv-pinbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 16px 10px; padding: 7px 10px; border-radius: 8px; background: #fff7e6; border: 1px solid #f1d9a6; font-size: 12px; line-height: 1.35; color: var(--tv-ink); }
.nj-tv-pinbar b { font-weight: 700; }
.nj-tv-pinbar button { flex: none; border: 1px solid rgba(11, 31, 56, .25); background: #fff; border-radius: 6px; padding: 4px 9px; font: inherit; font-size: 12px; font-weight: 700; color: var(--tv-ink); cursor: pointer; white-space: nowrap; }
.nj-tv-rk { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.nj-tv-on b { display: block; color: var(--tv-ink); font-weight: 700; }
.nj-tv-on small { color: var(--tv-muted); line-height: 1.45; }
.nj-tv-on i { font-style: normal; color: var(--tv-money); font-weight: 700; }
/* 2026-12-03: a ranked facility's own permanent posting - on its row, and on the card under "Facility is hiring it too" */
.nj-tv-ppl { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 5px; }
.nj-tv-pp { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border: 1px solid rgba(11, 31, 56, .3); border-radius: 7px; background: #fff; color: var(--tv-ink); font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s; }
.nj-tv-pp:hover { background: var(--tv-soft); }
.nj-tv-ppn { font-size: 11.5px; color: var(--tv-muted); }
.nj-tv-go.nj-tv-gop { background: #fff; color: var(--tv-ink); box-shadow: inset 0 0 0 1.5px var(--tv-ink); }
.nj-tv-go.nj-tv-gop:hover { background: var(--tv-soft); }
.nj-tv-gopn { margin-top: 4px; font-size: 11.5px; line-height: 1.35; color: var(--tv-muted); text-align: center; }
.nj-tv-more { color: var(--tv-muted); font-size: 12px; padding-left: 29px; }

/* ---- the pager */
.nj-tv-pg { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--tv-line); font-size: 12.5px; color: var(--tv-muted); background: #fff; }
.nj-tv-pg button { border: 1px solid var(--tv-line); background: #fff; color: var(--tv-ink); border-radius: 999px; height: 32px; padding: 0 14px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s; }
.nj-tv-pg button:hover:not(:disabled) { background: var(--tv-soft); border-color: #cbd5e1; }
.nj-tv-pg button:disabled { opacity: .4; cursor: default; }

/* ---- the map: a white pill for one city (top weekly pay when zoomed in, and how many), a navy pill where several cities sit together.
   The marker itself has no size - the pill is centred on the spot and takes the width its words need. */
.nj-tv-mk { background: none; border: 0; overflow: visible; }
.nj-tv-mk > span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); transition: transform .14s ease, box-shadow .14s ease; white-space: nowrap; font-family: var(--font, system-ui, sans-serif); }
.nj-tv-mk:hover { z-index: 9000 !important; }
.nj-tv-mk:hover > span { transform: translate(-50%, -50%) scale(1.07); }
/* state-only jobs (physician / advanced-practice locums whose agency names only the state): listed after the rest, never on the map */
.nj-tv-swh { margin: 6px 0 12px; padding: 11px 13px; border-radius: 12px; background: var(--tv-soft); border: 1px dashed #cbd5e1; font-size: 12px; line-height: 1.45; color: var(--tv-muted); }
.nj-tv-swh b { display: block; color: var(--tv-ink); font-size: 13px; }
.nj-tv-nt { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #eef1f5; color: #475569; font-size: 11px; font-weight: 700; }
/* the marker a hovered card's line runs to (js/travel.js cardHover) */
.nj-tv-mk.is-hot { z-index: 9001 !important; }
.nj-tv-mk.is-hot > span { transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 0 0 3px rgba(56, 189, 248, .55), 0 0 14px 3px rgba(56, 189, 248, .45), 0 4px 12px rgba(11, 31, 56, .2); }
.nj-tv-pin { display: inline-flex; align-items: baseline; gap: 5px; height: 26px; line-height: 24px; padding: 0 10px; background: #fff; color: #0b1f38; border: 1px solid rgba(11, 31, 56, .14); border-radius: 999px; box-shadow: 0 1px 2px rgba(11, 31, 56, .12), 0 4px 12px rgba(11, 31, 56, .16); }
.nj-tv-pin b { font-size: 12px; font-weight: 800; letter-spacing: -.01em; }
.nj-tv-pin i { font-style: normal; font-size: 10.5px; font-weight: 700; color: #64748b; }
.nj-tv-bub { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 9px; box-sizing: border-box; background: #0b1f38; color: #fff; border: 2px solid #fff; border-radius: 999px; box-shadow: 0 0 0 5px rgba(11, 31, 56, .13), 0 4px 14px rgba(11, 31, 56, .28); }
.nj-tv-bub b { font-size: 12.5px; font-weight: 800; }
.nj-tv-rank { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; box-sizing: border-box; border: 2.5px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px rgba(11, 31, 56, .18), 0 4px 12px rgba(11, 31, 56, .35); }
.nj-tv-rank b { color: #fff; font-size: 13px; font-weight: 800; }
body.nj-tv-ranking .nj-tv-pin, body.nj-tv-ranking .nj-tv-bub { opacity: .3; }
/* a clicked bubble / pin is locked: the main map's amber, with a pin on it; the list's heading says so (2026-12-01) */
.nj-tv-mk.is-locked { z-index: 9002 !important; }
.nj-tv-mk.is-locked .nj-tv-bub { background: #f59e0b; color: #3b2500; box-shadow: 0 0 0 4px rgba(245, 158, 11, .32), 0 2px 8px rgba(11, 31, 56, .25); }
.nj-tv-mk.is-locked .nj-tv-pin { border-color: #d97706; background: #fff7e6; box-shadow: 0 0 0 4px rgba(245, 158, 11, .32), 0 2px 8px rgba(11, 31, 56, .2); }
.nj-tv-mk.is-locked > span::after { content: '\1F4CC'; position: absolute; top: -11px; right: -9px; font-size: 14px; line-height: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
.nj-tv-head .nj-tv-lk { display: block; margin: 3px 0 2px; font-style: normal; font-size: 12.5px; font-weight: 600; color: #8a5300; }
.nj-tv-head.is-locked { background: #fff7e6; box-shadow: inset 0 -1px 0 #f1c97a; }
.nj-tv-head.is-peek .nj-tv-lk { color: #1d4ed8; }
.nj-tv-unlock { margin-right: 6px; background: #f59e0b; border-color: #d97706; color: #3b2500; }
.nj-tv-unlock:hover { background: #fbbf24; border-color: #d97706; }

@media (prefers-reduced-motion: reduce) { .nj-tv-card, .nj-tv-mk > span, .nj-tv-go { transition: none; } .nj-tv-card:hover { transform: none; } }

/* ================= PHONE LAYOUT (from the app, v1.11; on the website since 2026-12-03) ================= */
.nj-tool-travel { color: #0b1f38; }
@keyframes nj-tv-busy { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.nj-tool-travel.is-busy { animation: nj-tv-busy 1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .nj-tool-travel.is-busy { animation: none; } }
.nj-tv-card.is-tap { border-color: var(--tv-ink); box-shadow: 0 0 0 1px var(--tv-ink), 0 8px 24px rgba(11, 31, 56, .12); }   /* a tapped card: the line runs from it */
.nj-tv-fbtn, .nj-tv-sh, .nj-tv-sf, .nj-tv-nav { display: none; }   /* phone only */
@media (max-width: 480px) { .nj-travel-long { display: none; } }

/* PHONE LAYOUT (micheal 2026-12-01: "keep the layout of the reg mode on mobile jobs scroll horizontally on the bottom, filter is a button that
   produces an overlay....as it is now the map is so tiny and crowded its unuseable"). Same breakpoint as the regular board (css/app.css).
   The map keeps the screen; the travel jobs are ONE row along the bottom; "Filters" on the map opens the sheet. */
@media (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
  body.nj-travel-mode .nj-list { display: none; }                      /* the regular row steps aside; the travel row takes its place */
  /* THE MAP ALWAYS HAS HALF THE SCREEN OR MORE (micheal 2026-12-01: "the map should always take up half the screen or more, no less"): its row
     is never under 50% of the screen's height, so the travel row gets what is left under the header - and scrolls inside itself if it is more */
  body.nj-travel-mode .nj-main { grid-template-rows: minmax(50vh, 1fr) auto; grid-template-rows: minmax(50dvh, 1fr) auto; }
  body.nj-travel-mode .nj-left { min-height: 0; max-height: calc(50vh - var(--top-h, 50px)); max-height: calc(50dvh - var(--top-h, 50px)); overflow: hidden; display: flex; flex-direction: column; }
  body.nj-travel-mode .nj-maptools { left: 54px; right: 10px; }
  .nj-tv-panel { position: static; inset: auto; z-index: auto; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }   /* z-index auto: the Filters sheet inside it must be able to cover the map */
  .nj-tv-head { flex: none; }
  /* the heading: two short lines, like the regular row's */
  .nj-tv-head { padding: 6px 12px 2px; align-items: center; gap: 8px; }
  .nj-tv-head > div { min-width: 0; flex: 1 1 auto; }
  .nj-tv-head b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nj-tv-head small { margin-top: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nj-tv-head .nj-tv-lk { display: none; }                             /* the amber heading + the Unlock button say it */
  .nj-tv-head.is-locked { background: #fff7e6; }
  .nj-tv-x { height: 34px; padding: 0 11px; font-size: 13px; }
  /* the jobs: ONE row that scrolls sideways */
  .nj-tv-cards { display: flex; grid-template-columns: none; gap: 10px; overflow-x: auto; overflow-y: hidden; padding: 6px 12px calc(10px + env(safe-area-inset-bottom, 0px)); scroll-snap-type: x mandatory; scroll-padding: 0 12px;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-top: 0; align-items: stretch; background: #fff; flex: 1 1 auto; min-height: 0; }
  .nj-tv-cards::-webkit-scrollbar { display: none; }
  .nj-tv-card { flex: 0 0 min(82vw, 310px); scroll-snap-align: start; padding: 9px 12px; gap: 2px 10px; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; }   /* a card taller than the row scrolls inside itself (a short phone) */
  .nj-tv-m { margin-top: 3px; }
  .nj-tv-card:hover { transform: none; }
  .nj-tv-card h4 { font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .nj-tv-chips { flex-wrap: nowrap; overflow: hidden; }
  .nj-tv-chips span { white-space: nowrap; }
  .nj-tv-go { min-height: 38px; margin-top: 4px; }
  .nj-tv-n { height: 30px; font-size: 12.5px; }
  /* in the row a card is kept short: the rest ("Same job at other agencies", what the listing says) is in the one-job view */
  .nj-tv-panel.is-ph:not(.is-detail) .nj-tv-also, .nj-tv-panel.is-ph:not(.is-detail) .nj-tv-same, .nj-tv-panel.is-ph:not(.is-detail) .nj-tv-fac, .nj-tv-panel.is-ph:not(.is-detail) .nj-tv-cl { display: none; }
  .nj-tv-swh { flex: 0 0 210px; scroll-snap-align: start; align-self: stretch; margin: 0; }
  .nj-tv-none { flex: 1 0 100%; padding: 20px 8px; }
  .nj-tv-nav { display: flex; flex: 0 0 124px; scroll-snap-align: start; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px dashed #9fb4c9; border-radius: 14px; background: #f6f9fc;
    color: var(--tv-ink); font: inherit; font-size: 14.5px; font-weight: 750; cursor: pointer; padding: 8px; text-align: center; }
  .nj-tv-nav small { font-size: 11.5px; font-weight: 600; color: var(--tv-muted); }
  .nj-tv-pg { display: none; }
  /* one job open: that job and its ranked facilities; taller, scrolls up and down; the map keeps at least half */
  .nj-tv-panel.is-detail .nj-tv-cards { display: block; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
  .nj-tv-panel.is-detail .nj-tv-card { overflow: visible; }
  .nj-tv-panel.is-detail .nj-tv-card { width: auto; }
  .nj-tv-panel.is-detail .nj-tv-card h4 { display: block; }
  .nj-tv-panel.is-detail .nj-tv-chips { flex-wrap: wrap; }
  .nj-tv-panel.is-detail .nj-tv-ch { display: none; }                  /* the heading above says it, in a phone's words */
  .nj-tv-cands li { min-height: 40px; }
  .nj-tv-backl { background: var(--tv-ink); border-color: var(--tv-ink); color: #fff; }
  /* the Filters button on the map (travel's own; the regular one is hidden in travel mode) and its sheet */
  body.nj-travel-mode .nj-tv-fbtn { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); border-color: var(--navy); color: #fff; }
  .nj-tv-fbtn b { 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-tv-fbtn b[hidden] { display: none; }
  .nj-tv-sheet { position: fixed; left: 0; right: 0; top: var(--top-h); bottom: 0; z-index: 1900; background: #fff; display: flex; flex-direction: column; 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-tv-sheet-open .nj-tv-sheet { transform: none; visibility: visible; transition: transform .26s ease, visibility 0s; }
  .nj-tv-sh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 10px; flex: none; }
  .nj-tv-sh b { font-size: 17px; font-weight: 800; color: var(--tv-ink); }
  .nj-tv-sb { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: 14px; }
  .nj-tv-sf { display: block; flex: none; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .95); border-top: 1px solid var(--tv-line); }
  .nj-tv-sdone { width: 100%; height: 48px; border: 0; border-radius: 12px; background: var(--tv-ink); color: #fff; font: inherit; font-size: 16px; font-weight: 750; cursor: pointer; }
  .nj-tv-moreb { display: none; }                                       /* the sheet shows every filter */
  .nj-tv-f2 { justify-content: flex-end; }
  .nj-tv-ddl { max-height: 40vh; }
  .nj-tv-ddb { min-height: 44px; }
  .nj-tv-ddl label { min-height: 44px; }
  .nj-tv-q { font-size: 16px !important; height: 44px !important; }    /* 16px: the phone keyboard never zooms the page */
  .nj-tv-mf button { height: 38px; }
  .nj-tv-loading { top: 40%; max-width: 88%; }
}
/* a short phone: the row gives up its chips so the whole card still shows */
@media (max-width: 900px) and (max-height: 700px) { .nj-tv-panel.is-ph:not(.is-detail) .nj-tv-chips { display: none; } .nj-tv-panel.is-ph:not(.is-detail) .nj-tv-card h4 { -webkit-line-clamp: 1; } }
@media (prefers-reduced-motion: reduce) { .nj-tv-sheet { transition: none !important; } }
