/* NAEJOBS Data - "Filter my file" (datafilter, 2026-11-09; js/datafilter.js). micheal: "a filter button that reveals an overlay with the full
   filter cat subcat ext that the main map has with a number of jobs covered that dynamically changes. save for that login only."
   The inline drawing map is js/area-picker.js mount() - its .ap-* look comes from css/connect.css; only its size is set here. */
.df-shade { position: fixed; inset: 0; z-index: 3000; background: rgba(10, 40, 71, .45); display: grid; place-items: center; padding: 16px; }
.df-box { width: min(1180px, 100%); height: min(900px, calc(100vh - 32px)); background: #fff; border-radius: 14px; box-shadow: 0 20px 60px rgba(10, 40, 71, .4); display: flex; flex-direction: column; overflow: hidden; }
.df-head, .df-count, #df-msg, .df-foot { flex: 0 0 auto; }   /* only the body scrolls - the bars never shrink under it */
.df-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line, #dbe5f0); font-size: 17px; color: var(--navy, #0a2847); }
.df-x { border: 0; background: none; font-size: 18px; color: var(--muted, #5f7285); cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.df-x:hover { background: #eef3f9; color: var(--ink, #1a2634); }
.df-count { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 10px 16px; background: #eaf3ff; border-bottom: 1px solid #bcd6f5; font-size: 15px; color: var(--ink, #1a2634); transition: opacity .15s; min-height: 44px; }
.df-count.is-busy { opacity: .55; }
.df-count .df-cn b { font-size: 20px; color: var(--navy, #0a2847); }
.df-count .df-of { color: var(--muted, #5f7285); font-size: 13px; }
.df-count .df-sumtxt { flex: 1 1 100%; font-size: 13px; color: #34506b; overflow-wrap: anywhere; }
.df-count .df-cerr { flex: 1 1 100%; font-size: 13px; color: #8a1c1c; }
.df-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4px 22px; padding: 6px 16px 12px; }
.df-col { min-width: 0; }
.df-sec { padding: 10px 0 8px; border-bottom: 1px solid #edf2f7; }
.df-sec h3 { margin: 0 0 7px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--navy, #0a2847); }
.df-sec h3 small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted, #5f7285); margin-left: 6px; }
.df-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.df-chip { --h: 212; display: inline-flex; align-items: center; gap: 5px; max-width: 100%; border: 1px solid hsl(var(--h), 45%, 78%); background: #fff; color: var(--ink, #1a2634); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 13px; cursor: pointer; line-height: 1.25; }
.df-chip .df-lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.df-chip i { font-style: normal; font-size: 11.5px; color: var(--muted, #5f7285); }
.df-chip:hover:not(:disabled) { background: hsl(var(--h), 70%, 96%); }
.df-chip.is-on { background: hsl(var(--h), 55%, 36%); border-color: hsl(var(--h), 55%, 36%); color: #fff; }
.df-chip.is-on i { color: rgba(255, 255, 255, .85); }
.df-chip:disabled { opacity: .42; cursor: default; }
.df-chip:focus-visible, .df-stb:focus-visible, .df-more:focus-visible, .df-link:focus-visible { outline: 3px solid rgba(37, 99, 235, .4); outline-offset: 2px; }
.df-ico { font-size: 14px; }
.df-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 8px; padding: 6px 8px; border-radius: 10px; background: #f4f8fc; }
.df-pills .df-chip { padding: 3px 9px; font-size: 12.5px; }
.df-pl { font-size: 12px; font-weight: 700; color: #34506b; margin-right: 4px; }
.df-none { margin: 2px 0; font-size: 13px; color: var(--muted, #5f7285); }
.df-more, .df-link { border: 0; background: none; color: var(--blue, #2563eb); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 6px; text-decoration: underline; }
.df-q { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 8px 11px; border: 1px solid #b9cbe0; border-radius: 10px; }
.df-shrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; padding: 6px 8px; border-radius: 10px; background: #f4f8fc; }
.df-sel { font: inherit; font-size: 13px; padding: 4px 6px; border: 1px solid #b9cbe0; border-radius: 8px; background: #fff; max-width: 100%; }
.df-slide { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: #34506b; min-width: 180px; flex: 1 1 180px; }
.df-slide input { width: 100%; }
.df-stg { margin-bottom: 8px; }
.df-stgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 4px; margin-top: 4px; }
.df-stb { font: inherit; font-size: 12.5px; font-weight: 650; padding: 5px 0; border: 1px solid #c9d8ea; border-radius: 7px; background: #fff; color: var(--ink, #1a2634); cursor: pointer; }
.df-stb:hover { background: #f1f7fd; }
.df-stb.is-on { background: #1f4f86; border-color: #1f4f86; color: #fff; }
.df-stnow { margin: 4px 0 0; font-size: 13px; color: #34506b; }
.df-map { min-height: 120px; }
.df-map .ap-inline { display: flex; flex-direction: column; }
.df-map .ap-body { height: 380px; padding: 0; gap: 10px; }
.df-map .ap-side { flex: 0 0 190px; }
#df-msg { padding: 0 16px; }
.df-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line, #dbe5f0); }
.df-foot .df-sp { flex: 1 1 auto; }
.df-foot .nj-pro-go { flex: 0 0 auto; min-width: 110px; }
.nj-df-sum { color: var(--navy, #0a2847); font-weight: 600; }
/* phones and narrow windows: the overlay is the whole screen, one column, the map under the states */
@media (max-width: 760px) {
    .df-shade { padding: 0; }
    .df-box { width: 100%; height: 100%; border-radius: 0; }
    .df-body { grid-template-columns: minmax(0, 1fr); padding: 4px 12px 12px; }
    .df-count { padding: 8px 12px; }
    .df-head, .df-foot { padding-left: 12px; padding-right: 12px; }
    .df-map .ap-body { height: auto; flex-direction: column; }
    .df-map .ap-map { height: 280px; flex: 0 0 280px; }
    .df-map .ap-side { flex: 0 0 auto; max-height: none; }
    .df-foot .df-reset { flex: 1 1 100%; text-align: left; padding-left: 0; }
    .df-foot .df-sp { display: none; }
    .df-foot .nj-pro-2, .df-foot .nj-pro-go { flex: 1 1 0; }
}
