/* job-mix.css — Analytics › Job Type Analysis (release 2026-10-08).
   Builds on the Service market styles (.sm-*), the Filters popover (.bf-pop) and the NPT heat table (.np-heat).
   The shared Vendor Benchmarking pieces (.vb-*) are repeated here so this page does not depend on that release. */
.vb-tag { display: inline-block; font-size: 10.5px; font-weight: 600; line-height: 16px; padding: 0 6px; border-radius: 8px; background: #DCEAFB; color: #0d366b; vertical-align: 1px; white-space: nowrap; }
.vb-tag-o { background: #FFF1CC; color: #6b4700; }
.vb-cos-btn { height: 36px; min-width: 150px; display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 600; color: var(--bf-ink, #15201A); text-transform: none; letter-spacing: 0; }
.vb-cos-btn:hover, .vb-cos-btn[aria-expanded="true"] { border-color: #9FC7B1; }
.vb-cos-btn .bi { font-size: 11px; color: var(--bf-muted, #56655D); }
.vb-pop { width: 330px; display: flex; flex-direction: column; overflow: hidden; }
.vb-pop .bf-pop-list { overflow-y: auto; min-height: 60px; }
.vb-add { margin-top: 8px; }
.vb-sug { margin: -4px 12px 8px; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 8px; max-height: 180px; overflow-y: auto; }
.vb-sug[hidden] { display: none; }
.vb-sug button { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 6px 10px; font-size: 12.5px; }
.vb-sug button:hover { background: #F3F5F4; }
.vb-sug button span { color: var(--bf-muted, #56655D); }
.vb-pop-msg { font-size: 12px; color: #9B1C1C; padding: 0 12px 8px; }
.vb-pop-msg:empty { display: none; }
.vb-act { width: 30px; height: 28px; margin-left: 4px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 6px; background: #fff; color: var(--bf-ink, #15201A); }
.vb-act:hover { border-color: #9FC7B1; background: var(--bf-green-soft, #E6F2EC); }
.vb-act.vb-del:hover { border-color: #F1B8B3; background: #FDECEC; color: #9B1C1C; }
.vb-donut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 0.9fr); gap: 14px; align-items: center; }
.vb-donut-c { position: relative; height: 260px; min-width: 0; }
.vb-donut-lg { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; max-height: 260px; overflow-y: auto; }
.vb-lg-row { display: grid; grid-template-columns: 10px auto 1fr auto; gap: 8px; align-items: center; padding: 4px 6px; border-radius: 6px; }
.vb-lg-row i { width: 10px; height: 10px; border-radius: 3px; }
.vb-lg-row span { color: var(--bf-muted, #56655D); text-align: right; font-variant-numeric: tabular-nums; }
.vb-lg-row em { font-style: normal; font-weight: 600; text-align: right; min-width: 48px; font-variant-numeric: tabular-nums; }
.vb-lg-row.me { background: #F4F8FE; box-shadow: inset 3px 0 0 #2a78d6; }
@media (max-width: 700px) { .vb-donut { grid-template-columns: 1fr; } }
.jm-wrap .sm-d.jm-good, .jm-wrap .jm-good { color: #1f7a3f; }
.jm-wrap .sm-d.jm-bad, .jm-wrap .jm-bad { color: #b3261e; }
.jm-muted { color: var(--bf-muted, #56655D); font-weight: 400; }
.jm-desc { display: block; font-size: 11px; color: var(--bf-muted, #56655D); font-weight: 400; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jm-tag { display: inline-block; font-size: 10.5px; font-weight: 600; line-height: 16px; padding: 0 6px; border-radius: 8px; background: #DCEAFB; color: #0d366b; vertical-align: 1px; white-space: nowrap; }
.jm-tag-o { background: #EEF2EF; color: var(--bf-muted, #56655D); }
.jm-tag-w { background: #FFF1CC; color: #6b4700; }
.jm-wrap .sm-kpi > b.jm-kpi-t { font-size: 18px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jm-kpi-warn { border-color: #F2D58A; background: #FFFBF0; }
.jm-eq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.jm-rev { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 1200px) { .jm-eq, .jm-rev { grid-template-columns: 1fr; } }
.jm-chart-s { height: 260px; }
.jm-lg-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; font-weight: 600; }
tr.jm-uncl td { background: #FFFBF0; }
.jm-chips { display: inline-flex; gap: 4px; flex-wrap: nowrap; }
.jm-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 1px 7px; border: 1px solid; border-radius: 10px; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #fff; }
.jm-chip i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.jm-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.jm-me { color: #0d366b; }
.jm-heat td.jm-cell:hover { outline: 2px solid #2a78d6; outline-offset: -2px; }
.jm-heat tr.jm-heat-me th { color: #0d366b; }
.jm-dur td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.jm-dur td small { display: inline-block; margin-left: 4px; font-size: 10px; color: var(--bf-muted, #56655D); }
.jm-dur td.jm-line { font-weight: 600; background: #EEF2EF; }
.jm-dur th.jm-th-me { color: #0d366b; text-decoration: underline; }
.jm-fast2 { background: #86b6ef !important; } .jm-fast { background: #cde2fb !important; }
.jm-slow { background: #fbd9c3 !important; } .jm-slow2 { background: #f2a47a !important; }
.jm-scale i { background: #F7F9F8; border: 1px solid #EEF2EF; }
.jm-regchips { margin-bottom: 8px; }
.jm-reg td { vertical-align: top; }
.jm-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 10px 12px; margin: 4px 0 12px; background: #F7F9F8; border-radius: 8px; }
.jm-form input, .jm-form select, .jm-adjf input, .jm-adjf select { height: 34px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 8px; padding: 0 8px; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--bf-ink, #15201A); background: #fff; min-width: 110px; }
.jm-form select { max-width: 240px; }
.jm-form .jm-wide, .jm-adjf .jm-wide { flex: 1 1 200px; }
.jm-form .jm-wide input, .jm-adjf .jm-wide input { width: 100%; }
.jm-form-a { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jm-form-a .bf-btn { height: 34px; }
.jm-msg { font-size: 12px; }
.jm-adjf { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 12px; padding: 12px; border: 1px solid #9FC7B1; border-radius: 8px; background: #F4FAF6; }
.jm-adjf > b { flex-basis: 100%; font-size: 13px; }
.jm-wrap .vb-lg-row span { white-space: nowrap; }
.jm-wrap .sm-kpi > b.jm-kpi-t { font-size: 17px; }
/* Service line tiles + company chips (2026-10-18, same look as Fishing and Vendor Benchmarking) */
.jm-pick { margin-top: 2px; }
.jm-lines { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-bottom: 4px; }
.jm-cos { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.jm-cos .jm-co.on .np-chip-v { color: #0d366b; }
.jm-chip-more { grid-template-rows: auto; border-style: dashed; color: var(--bf-green-dark, #005C2E); justify-content: center; }
.jm-chip-more .np-chip-n { font-weight: 600; }
.jm-chip-more:hover { background: var(--bf-green-soft, #E6F2EC); }
/* Departments, Fields and Rigs tabs (2026-10-18b) */
.jm-pos-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .jm-pos-g { grid-template-columns: 1fr; } }
.jm-pos h4 { font-size: 12.5px; font-weight: 600; margin: 0 0 6px; display: flex; align-items: center; gap: 6px; }
.jm-pos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.jm-pos li button { width: 100%; display: flex; align-items: baseline; gap: 6px; border: 0; background: transparent; text-align: left; padding: 5px 8px; border-radius: 6px; font-size: 12.5px; }
.jm-pos li button:hover { background: #F3F5F4; }
.jm-pos-v { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jm-wrap .jm-segtop { align-items: stretch; }
.jm-wrap .jm-segtop > .sm-card { display: flex; flex-direction: column; }
.jm-det { border-color: #9FC7B1; }
.jm-det-a { display: flex; gap: 8px; }
.jm-det-g { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 1200px) { .jm-det-g { grid-template-columns: 1fr; } }
.jm-h4 { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--bf-muted, #56655D); margin: 0 0 8px; }
.jm-sel > td { background: #F4F8FE !important; }
.jm-heat td.jm-cell { cursor: pointer; }
.jm-rigtop { align-items: start; }
