/* contractors.css — Analytics › Drilling Contractors (release 20261108w, 20261108x daily active rigs line).
 * Page frame, cards, charts and tables come from the platform template (sm-* in bf-analytics.css, an-table in
 * analytics.html, the Pareto legend and segmented switch of npt-analytics.css). Only what is specific to this page is here. */
.ca-wrap h2 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 600; margin: 0 0 4px; }
.ca-wrap h2 .bfi { font-size: 22px; color: var(--bf-green, #007A3D); }
.ca-wrap .sm-title p { margin: 0; color: var(--bf-muted, #56655D); max-width: 980px; font-size: 13px; }
.ca-muted { color: var(--bf-muted, #56655D); }
.ca-good { color: #157347 !important; } .ca-bad { color: #b3261e !important; }
.ca-of { font-size: 13px; font-weight: 500; color: var(--bf-muted, #56655D); }

/* contractor picker: same tiles as the NPT module's picker, with the company colour on the left */
.ca-pick { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; }
.ca-pick-h { display: flex; align-items: baseline; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bf-muted, #56655D); }
.ca-pick-h small { font-size: 11.5px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ca-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ca-chip { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 0 10px 0 15px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; background: #fff; color: var(--bf-ink, #15201A); text-align: left; overflow: hidden; transition: border-color .12s, background .12s; }
.ca-chip::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, #56655D); }
.ca-chip-all::before { background: var(--bf-green, #007A3D); }
.ca-chip:hover { border-color: #9FC7B1; background: #F7FAF8; }
.ca-chip:focus-visible { outline: 2px solid var(--bf-green, #007A3D); outline-offset: 1px; }
.ca-chip-n { min-width: 0; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: 4px; }
.ca-chip-k { flex-shrink: 0; min-width: 24px; height: 20px; padding: 0 7px; border-radius: 10px; background: #EEF2EF; font-size: 11px; font-weight: 600; line-height: 20px; text-align: center; color: var(--bf-muted, #56655D); font-variant-numeric: tabular-nums; }
.ca-chip.on { border-color: var(--bf-green, #007A3D); background: var(--bf-green-soft, #E6F2EC); box-shadow: inset 0 0 0 1px var(--bf-green, #007A3D); }
.ca-chip.on .ca-chip-n { color: var(--bf-green-dark, #005C2E); }
.ca-flt { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 4px; padding-top: 12px; border-top: 1px solid #EEF2EF; }
.ca-sel { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--bf-muted, #56655D); margin: 0; }
.ca-sel select, .ca-sel input { height: 32px; min-width: 150px; max-width: 280px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 7px; padding: 0 8px; font-size: 12px; background: #fff; color: var(--bf-ink, #15201A); }
.ca-q input { min-width: 220px; }
.ca-clear { height: 32px; border: 0; background: transparent; color: var(--bf-green-dark, #005C2E); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }

.ca-kpi-link { text-align: left; cursor: pointer; font: inherit; }
.ca-kpi-link:hover { border-color: #9FC7B1; }
.ca-kpi-warn { border-color: #f2d48a; background: #FFFBF0; }

/* panels: one column of cards with the same gap everywhere, so cards side by side start on the same line */
.ca-wrap .ca-panel:not([hidden]) { display: flex; flex-direction: column; gap: 14px; }
.ca-g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 1100px) { .ca-g2 { grid-template-columns: minmax(0, 1fr); } }
.ca-card { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.ca-card > header { margin-bottom: 10px; min-height: 40px; align-items: flex-start; }
.ca-card > header > div:first-child { min-width: 0; flex: 1 1 260px; }
.ca-card > .sm-link { margin-top: 10px; }
.ca-ch { height: 300px; }
.ca-ch-fill { height: 100%; }
.ca-wrap .an-table-wrap { max-width: 100%; }
.ca-wrap .ca-card > .an-table-wrap:last-child { margin-bottom: 0; }
.ca-tw-tall { max-height: 640px; }
.ca-lg-line i { height: 3px !important; border-radius: 2px; }

/* doughnut + legend side by side (NPT module reading) */
.ca-dn { display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); gap: 14px; align-items: center; flex: 1; }
.ca-dn-c { position: relative; height: 230px; min-width: 0; }
.ca-dn-lg { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; min-width: 0; max-height: 300px; overflow-y: auto; }
.ca-dn-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 52px; column-gap: 8px; align-items: center; padding: 5px 6px; border: 0; border-radius: 6px; background: transparent; text-align: left; font: inherit; color: inherit; width: 100%; }
button.ca-dn-row:hover { background: #F7FAF8; }
.ca-dn-row i { width: 10px; height: 10px; border-radius: 3px; }
.ca-dn-l { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-dn-v { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.ca-dn-row em { font-style: normal; color: var(--bf-muted, #56655D); text-align: right; font-variant-numeric: tabular-nums; }
.ca-dn-oth { color: var(--bf-muted, #56655D); }
@media (max-width: 1400px) and (min-width: 1101px) { .ca-dn { grid-template-columns: minmax(0, 1fr); } .ca-dn-c { height: 200px; } }
@media (max-width: 560px) { .ca-dn { grid-template-columns: minmax(0, 1fr); } .ca-dn-c { height: 190px; } }

/* small figure tiles at the top of Operations and NPT */
.ca-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1400px) { .ca-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ca-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ca-tile { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; min-width: 0; }
.ca-tile > span { font-size: 12px; font-weight: 500; color: var(--bf-muted, #56655D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-tile > b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-tile > i { font-style: normal; font-size: 11.5px; color: var(--bf-muted, #56655D); line-height: 1.4; }
.ca-npt-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; }
.ca-npt-bar b { display: block; font-size: 13px; }
.ca-npt-bar small { font-size: 12px; color: var(--bf-muted, #56655D); }
.ca-pareto { height: 340px; }

/* contractor cards (Overview) */
.ca-cos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ca-co { position: relative; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; padding: 12px 14px 12px 16px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.ca-co::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.ca-co header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 13px; }
.ca-co header small { display: block; font-size: 11px; color: var(--bf-muted, #56655D); font-weight: 400; }
.ca-co header .ca-link { font-size: 12px; font-weight: 600; white-space: nowrap; }
.ca-co-bars small { font-size: 11px; color: var(--bf-muted, #56655D); }
.ca-bar, .ca-stack { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; background: #EEF2EF; }
.ca-bar i, .ca-stack i { display: block; min-width: 0; }
.ca-stack { height: 10px; min-width: 120px; }
.ca-stack-m { width: 140px; min-width: 140px; height: 8px; }
.ca-stack-l { display: block; font-size: 11px; color: var(--bf-muted, #56655D); margin-top: 3px; }
.ca-stack-l2 { height: 14px; margin: 6px 0; }
.ca-co dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; margin: 0; }
.ca-co dt { font-size: 11px; font-weight: 500; color: var(--bf-muted, #56655D); }
.ca-co dd { margin: 0; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ca-co dd small { display: block; font-weight: 400; font-size: 11px; }
.ca-co-env { font-size: 11px; color: var(--bf-muted, #56655D); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ca-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.ca-tag { display: inline-block; align-self: center; font-size: 11px; font-weight: 500; line-height: 18px; padding: 0 7px; border-radius: 9px; background: #EEF2EF; color: #3b4a41; white-space: nowrap; }
.ca-tag-l { background: #EAF1FB; color: #1c5cab; }
.ca-note { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid #f2d48a; background: #FFFBF0; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.ca-note > .bi { color: #9a6200; font-size: 16px; }
.ca-note code { font-size: 11px; background: #fff; border: 1px solid #f2d48a; border-radius: 4px; padding: 0 4px; color: #6b4a00; }

.ca-st { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.ca-st .bi { color: var(--c); font-size: 11px; }
.ca-env { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ca-link { border: 0; background: transparent; padding: 0; color: var(--bf-green-dark, #005C2E); font: inherit; text-align: left; cursor: pointer; }
.ca-link:hover { text-decoration: underline; }

.ca-rank { list-style: none; margin: 0; padding: 0; counter-reset: rk; }
.ca-rank li { counter-increment: rk; }
.ca-rk { display: grid; grid-template-columns: 22px 8px auto minmax(0, 1fr) auto; align-items: center; gap: 6px; width: 100%; border: 0; border-bottom: 1px solid #EEF2EF; background: transparent; padding: 7px 4px; text-align: left; font-size: 12px; }
.ca-rk::before { content: counter(rk); color: var(--bf-muted, #56655D); font-size: 11px; font-variant-numeric: tabular-nums; }
.ca-rk b { margin-right: 6px; white-space: nowrap; }
.ca-rk .sm-dot { margin-right: 0; }
.ca-rk > small { color: var(--bf-muted, #56655D); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ca-rk > span { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.ca-rk > span small { display: block; font-weight: 400; color: var(--bf-muted, #56655D); font-size: 11px; }
.ca-rk:hover { background: #F7FAF8; }

/* Active rigs: daily active rigs line + window slider */
.ca-dstat { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
@media (max-width: 900px) { .ca-dstat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ca-dstat > div { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; background: #F7F9F8; border-radius: 8px; min-width: 0; }
.ca-dstat span { font-size: 11px; color: var(--bf-muted, #56655D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-dstat b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ca-dstat i { font-style: normal; font-size: 11px; color: var(--bf-muted, #56655D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-brush { position: relative; height: 46px; margin-top: 8px; background: #F7F9F8; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 8px; overflow: hidden; touch-action: none; cursor: pointer; user-select: none; }
.ca-brush canvas { position: absolute; inset: 0; }
.ca-brush-w { position: absolute; top: 0; bottom: 0; background: rgba(0, 122, 61, .10); border: 2px solid var(--bf-green, #007A3D); border-radius: 6px; cursor: grab; box-sizing: border-box; }
.ca-brush-w:active { cursor: grabbing; }
.ca-brush-w:focus-visible { outline: 2px solid #1c5cab; outline-offset: 1px; }
.ca-brush-h { position: absolute; top: 50%; width: 10px; height: 26px; margin-top: -13px; background: #fff; border: 2px solid var(--bf-green, #007A3D); border-radius: 4px; cursor: ew-resize; }
.ca-brush-h-l { left: -6px; } .ca-brush-h-r { right: -6px; }
.ca-brush-f { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; font-size: 12px; color: var(--bf-muted, #56655D); flex-wrap: wrap; }
.ca-brush-z { display: inline-flex; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 7px; overflow: hidden; }
.ca-brush-z button { height: 26px; min-width: 38px; padding: 0 8px; border: 0; background: #fff; font-size: 11.5px; font-weight: 500; color: var(--bf-muted, #56655D); }
.ca-brush-z button + button { border-left: 1px solid var(--bf-line, #DCE3DF); }
.ca-brush-z button.on { background: var(--bf-green-soft, #E6F2EC); color: var(--bf-green-dark, #005C2E); font-weight: 600; }

/* Departments: every tile has the same five rows (subgrid), so the rows of tiles side by side line up */
.ca-depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); grid-auto-rows: auto; column-gap: 14px; row-gap: 14px; align-items: start; }
@media (max-width: 500px) { .ca-depts { grid-template-columns: minmax(0, 1fr); } }
.ca-dept { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 10px; align-content: start; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; padding: 12px 14px; min-width: 0; }
@supports not (grid-template-rows: subgrid) { .ca-dept { display: flex; flex-direction: column; gap: 10px; grid-row: auto; } }
.ca-dept-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ca-dept-t { min-width: 0; }
.ca-dept-t b { font-size: 14px; }
.ca-dept-t small { display: block; font-size: 11.5px; color: var(--bf-muted, #56655D); }
.ca-dept-h .ca-tag { align-self: flex-start; flex-shrink: 0; }
.ca-dept-dir { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; align-self: start; }
.ca-dept-dir small { display: block; color: var(--bf-muted, #56655D); font-size: 11px; }
.ca-dept-n { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; align-self: start; }
.ca-dept-n > div { display: flex; flex-direction: column; gap: 1px; padding: 6px 8px; background: #F7F9F8; border-radius: 7px; min-width: 0; }
.ca-dept-n span { font-size: 10.5px; color: var(--bf-muted, #56655D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ca-dept-n b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ca-dept-co { align-self: start; }
.ca-dept-leg { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 5px; font-size: 11.5px; color: var(--bf-muted, #56655D); }
.ca-dept-leg span { display: inline-flex; align-items: center; gap: 5px; }
.ca-dept-leg i { width: 9px; height: 9px; border-radius: 2px; }
.ca-dept-leg b { color: var(--bf-ink, #15201A); font-weight: 600; }
.ca-divs { align-self: start; border-top: 1px solid #EEF2EF; padding-top: 8px; }
.ca-divs > div + div { margin-top: 8px; }
.ca-divs small { font-size: 11px; color: var(--bf-muted, #56655D); font-weight: 600; }
.ca-rigs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ca-rig { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--bf-line, #DCE3DF); border-left: 3px solid var(--c); border-radius: 6px; background: #fff; font-size: 11px; padding: 2px 6px; }
.ca-rig .bi { color: #9a6200; font-size: 10px; }
.ca-rig:hover { background: #F7FAF8; }
.ca-tel { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; margin-top: 2px; }
.ca-tel a, .ca-tel span { display: inline-flex; align-items: center; gap: 4px; color: var(--bf-ink, #15201A); text-decoration: none; }
.ca-tel .bi { color: var(--bf-muted, #56655D); }
.ca-foot { margin: 0; font-size: 12px; }

/* Full fleet */
.ca-mk { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .ca-mk { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ca-mk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ca-mk-i { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 12px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; background: #fff; text-align: left; font: inherit; }
.ca-mk-i span { font-size: 12px; color: var(--bf-muted, #56655D); }
.ca-mk-i b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ca-mk-i:hover { border-color: #9FC7B1; }
.ca-mk-i.on { border-color: var(--bf-green, #007A3D); background: var(--bf-green-soft, #E6F2EC); }

/* rig drawer */
.ca-drawer { position: fixed; inset: 0; z-index: 2050; }
.ca-drawer-bg { position: absolute; inset: 0; background: rgba(21, 32, 26, .35); }
.ca-drawer-p { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100vw); background: #fff; box-shadow: -6px 0 24px rgba(0, 0, 0, .12); padding: 18px 20px; overflow-y: auto; font-size: 13px; border-top: 4px solid var(--c, var(--bf-green, #007A3D)); }
.ca-drawer-p header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.ca-drawer-p header small { color: var(--bf-muted, #56655D); font-size: 11.5px; }
.ca-drawer-p h3 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.ca-drawer-p h4 { font-size: 13px; font-weight: 600; margin: 16px 0 8px; }
.ca-drawer-p h4 small { font-weight: 400; color: var(--bf-muted, #56655D); font-size: 11px; margin-left: 4px; }
.ca-x { border: 0; background: transparent; font-size: 18px; color: var(--bf-muted, #56655D); width: 36px; height: 36px; border-radius: 8px; }
.ca-x:hover { background: #EEF2EF; }
.ca-dr-st { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; font-size: 12px; }
.ca-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0; }
.ca-dl dt { font-size: 11px; font-weight: 500; color: var(--bf-muted, #56655D); }
.ca-dl dd { margin: 0; font-weight: 600; }
.ca-dl dd small { display: block; font-weight: 400; color: var(--bf-muted, #56655D); font-size: 11px; }
.ca-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ca-mini > div { border: 1px solid var(--bf-line, #DCE3DF); border-radius: 8px; padding: 8px 10px; }
.ca-mini span { display: block; font-size: 11px; color: var(--bf-muted, #56655D); }
.ca-mini b { font-size: 17px; font-variant-numeric: tabular-nums; }
.ca-mini small { display: block; font-size: 11px; color: var(--bf-muted, #56655D); }
.ca-leg { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; }
.ca-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; }
.ca-contacts { list-style: none; padding: 0; margin: 0; }
.ca-contacts li { padding: 8px 0; border-bottom: 1px solid #EEF2EF; }
.ca-contacts small { display: block; color: var(--bf-muted, #56655D); font-size: 11px; }
.ca-contacts li.ca-cz { display: flex; justify-content: space-between; gap: 10px; }
.ca-contacts li.ca-cz > div:last-child { text-align: right; }
.ca-dr-links { margin-top: 16px; font-size: 12px; }
@media (max-width: 700px) { .ca-sel select, .ca-sel input { min-width: 0; width: 100%; } .ca-sel { flex: 1 1 140px; } .ca-dept-n { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 20261108z: Drilling time over time = focus line + ranked list with sparklines; three cards side by side */
.ca-drt { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .ca-drt { grid-template-columns: minmax(0, 1fr); } }
.ca-drt-l { display: flex; flex-direction: column; max-height: 372px; overflow-y: auto; border: 1px solid #EEF2EF; border-radius: 8px; }
.ca-drt-h, .ca-drt-r { display: grid; grid-template-columns: minmax(0, 1fr) 110px 92px 68px; gap: 8px; align-items: center; padding: 5px 10px; }
.ca-drt-h { position: sticky; top: 0; z-index: 1; background: var(--sa-green, #007A3D); color: #fff; font-size: 11px; font-weight: 600; }
.ca-drt-h .r, .ca-drt-r .r { text-align: right; font-variant-numeric: tabular-nums; }
.ca-drt-r { border: 0; border-bottom: 1px solid #EEF2EF; background: #fff; text-align: left; font: inherit; font-size: 12px; color: var(--bf-ink, #15201A); cursor: pointer; }
.ca-drt-r:hover { background: #F7FAF8; }
.ca-drt-r.on { background: var(--bf-green-soft, #E6F2EC); box-shadow: inset 3px 0 0 var(--bf-green, #007A3D); }
.ca-drt-r:disabled { cursor: default; background: #F7F9F8; }
.ca-drt-r > span:first-child { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }
.ca-drt-r > span:first-child b { overflow: hidden; text-overflow: ellipsis; }
.ca-drt-r small { color: var(--bf-muted, #56655D); font-size: 11px; }
.ca-drt-k { flex-shrink: 0; width: 10px; height: 10px; border-radius: 3px; }
.ca-drt-r canvas { width: 110px; height: 26px; display: block; }
.ca-drt-b { display: inline-block; width: 38px; height: 6px; margin-right: 6px; background: #EEF2EF; border-radius: 3px; overflow: hidden; vertical-align: middle; }
.ca-drt-b span { display: block; height: 100%; }
.ca-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
@media (max-width: 1280px) { .ca-g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ca-g3 > :first-child { grid-column: 1 / -1; } }
@media (max-width: 820px) { .ca-g3 { grid-template-columns: minmax(0, 1fr); } }
.ca-dn.ca-dn-v { grid-template-columns: minmax(0, 1fr); }
.ca-dn-v .ca-dn-c { height: 200px; }
@media (max-width: 1280px) and (min-width: 821px) { .ca-dn.ca-dn-v { grid-template-columns: minmax(180px, 230px) minmax(0, 1fr); } .ca-dn-v .ca-dn-c { height: 230px; } }
.ca-scrl { max-height: 430px; overflow-y: auto; }

/* 20261109a: platform icons in this page */
.ca-wrap .sm-tab .bfi { width: 1.15em; height: 1.15em; }
.ca-tag .bfi-in, .ca-chip-n .bfi-in { width: 1em; height: 1em; margin-right: .3em; }
.ca-chip-n .bfi-in { color: var(--c, var(--bf-muted, #56655D)); opacity: 1; }
.ca-tile > span .bfi-in, .ca-dstat span .bfi-in { color: var(--bf-green, #007A3D); opacity: 1; }
.ca-dept-t b .bfi-in, .ca-drawer-p h3 .bfi-in { color: var(--bf-green, #007A3D); opacity: 1; }
.ca-dept-dir > .bfi-in { width: 1.5em; height: 1.5em; margin-top: 2px; color: var(--bf-muted, #56655D); }
.sm-legend-h .bfi-in { width: 1em; height: 1em; margin-right: .1em; }

/* 20261109q: Rig movements tab */
.ca-mv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 14px; }
.ca-mv-bar .np-seg { flex-wrap: wrap; }
.ca-mv-bar .np-seg button .bfi-in { width: 1em; height: 1em; margin-right: .35em; }
.ca-mv-note { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-width: 260px; max-width: 380px; font-size: 12px; line-height: 1.35; color: var(--bf-muted, #56655D); white-space: normal; }
.ca-mv-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ca-mv-k { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 14px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 9px; background: #fff; color: var(--bf-ink, #15201A); font-size: 12.5px; overflow: hidden; cursor: pointer; }
.ca-mv-k::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c, #56655D); }
.ca-mv-k b { font-variant-numeric: tabular-nums; }
.ca-mv-k:hover { border-color: #9FC7B1; background: #F7FAF8; }
.ca-mv-k.on { border-color: var(--bf-green, #007A3D); background: var(--bf-green-soft, #E6F2EC); box-shadow: inset 0 0 0 1px var(--bf-green, #007A3D); }
.ca-mv-k:focus-visible { outline: 2px solid var(--bf-green, #007A3D); outline-offset: 1px; }
.ca-rl { display: inline-flex; align-items: center; gap: 4px; color: var(--bf-green-dark, #005C2E); text-decoration: none; }
.ca-rl:hover b { text-decoration: underline; }
.ca-rl .bfi-in { width: 1em; height: 1em; }
@media (max-width: 640px) {
  .ca-mv-bar .np-seg { width: 100%; }
  .ca-mv-bar .np-seg button { flex: 1 1 45%; }
  .ca-mv-note { min-width: 220px; max-width: 260px; }
}
