/* ddr-pro.css — Daily Drilling Report, pro layer (release 20261114dp, layout fit 20261114dq, full names 20261114dr, job-type lists 20261114ds).
 * Loaded after style.css and theme.css on dashboard.html only. Restyles the page shell (header, rig strip, tabs,
 * tables, side panel) and styles the new fleet overview drawn by ddr-pro.js. Removing this file and ddr-pro.js
 * gives the page back exactly as it was. */
:root {
  --dp-ink: #0F1B15; --dp-ink-2: #33423A; --dp-muted: #66756D; --dp-faint: #95A39B;
  --dp-line: #E1E7E3; --dp-line-2: #EEF2EF; --dp-ground: #F4F6F5; --dp-card: #FFFFFF;
  --dp-green: #007A3D; --dp-green-d: #005C2E; --dp-green-s: #E6F2EC;
  --dp-red: #B42318; --dp-red-s: #FDECEA; --dp-amber: #B25E09; --dp-amber-s: #FEF3E2;
  --dp-blue: #1D5FBF; --dp-blue-s: #E8F0FB; --dp-violet: #6941C6; --dp-violet-s: #F1ECFB; --dp-teal: #0E7490; --dp-teal-s: #E3F4F7;
  --dp-slate: #7A8B82;
  --dp-r: 12px; --dp-shadow: 0 1px 2px rgba(15,27,21,.05), 0 1px 1px rgba(15,27,21,.03);
}
body { background: var(--dp-ground); }
.main-canvas { background: var(--dp-ground); padding: 0 22px 24px; }

/* ── Sticky header ─────────────────────────────────────────────────────── */
#tabs-sticky-header { background: var(--dp-ground); padding: 14px 22px 0; margin: 0 -22px; box-shadow: none; border-bottom: 1px solid var(--dp-line); }
.report-header { margin-bottom: 10px !important; gap: 12px; }
#report-date-label { font-size: 19px; letter-spacing: -.01em; color: var(--dp-ink); }
#report-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: 11.5px; color: var(--dp-muted); }
#report-meta .ddp-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--dp-card); border: 1px solid var(--dp-line); border-radius: 999px; padding: 1px 9px; font-weight: 600; color: var(--dp-ink-2); font-variant-numeric: tabular-nums; }
#report-meta .ddp-chip b { color: var(--dp-ink); font-weight: 700; }
#report-meta .ddp-chip.warn { background: var(--dp-red-s); border-color: #F6CFCA; color: var(--dp-red); }
#report-meta .ddp-chip.warn b { color: var(--dp-red); }
#date-prev-btn, #date-next-btn { width: 30px; height: 30px; padding: 0; border-radius: 8px; border-color: var(--dp-line); background: var(--dp-card); color: var(--dp-ink-2); }
#date-prev-btn:hover:not(:disabled), #date-next-btn:hover:not(:disabled) { background: var(--dp-green-s); border-color: var(--dp-green); color: var(--dp-green-d); }
#status-badge { display: none; }
#status-badge.bg-warning, #status-badge.bg-danger { display: inline-block; }
#load-time { font-size: 11px; color: var(--dp-faint); }
#export-csv-btn, #delete-report-btn { border-radius: 8px; font-weight: 600; background: var(--dp-card); white-space: nowrap; }
#load-time { display: none; white-space: nowrap; }                 /* 'Loaded in … ms': platform managers only */
@media (min-width: 1401px) { body.ddp-admin #load-time { display: inline; } }
#export-csv-btn { border-color: var(--dp-line); color: var(--dp-ink-2); }
#export-csv-btn:hover { background: var(--dp-green-s); border-color: var(--dp-green); color: var(--dp-green-d); }
#delete-report-btn { border-color: #F2D3CF; color: var(--dp-red); }
#delete-report-btn:hover { background: var(--dp-red); border-color: var(--dp-red); color: #fff; }
.ddp-find { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; min-width: 210px; background: var(--dp-card); border: 1px solid var(--dp-line); border-radius: 8px; color: var(--dp-faint); }
.ddp-find:focus-within { border-color: #7FBF9E; box-shadow: 0 0 0 3px rgba(0,122,61,.12); }
.ddp-find input { border: 0; outline: 0; background: transparent; font-size: 12.5px; color: var(--dp-ink); width: 100%; }
.ddp-find kbd { font: 600 10px/1 system-ui, sans-serif; color: var(--dp-faint); background: var(--dp-ground); border: 1px solid var(--dp-line); border-radius: 4px; padding: 2px 5px; }

/* ── Rig strip ─────────────────────────────────────────────────────────── */
.rig-tab-bar { border: 1px solid var(--dp-line); border-radius: var(--dp-r); box-shadow: var(--dp-shadow); padding: 5px; gap: 2px; margin-bottom: 8px !important; }
.rig-tab { min-width: 84px; padding: 6px 14px 5px; border-radius: 8px; border: 1px solid transparent; }
.rig-tab:hover { background: var(--dp-green-s); border-color: transparent; }
.rig-tab.active { background: var(--dp-green); border-color: var(--dp-green); box-shadow: 0 1px 6px rgba(0,122,61,.28); }
.rig-tab-name { font-size: 12.5px; letter-spacing: .01em; }
.rig-tab-well { font-size: 10px; color: var(--dp-faint); }
.rig-tab.all-tab { border-radius: 8px; border-right: 1px solid transparent; margin-right: 2px; min-width: 76px; }
.rig-tab.all-tab:not(.active) { background: var(--dp-ground); }
.rig-tab.fav-filter-tab { border-color: #F5DFA3; margin-right: 8px; position: relative; }
.rig-tab.fav-filter-tab::after { content: ''; position: absolute; right: -6px; top: 18%; bottom: 18%; width: 1px; background: var(--dp-line); }
.rig-tab.ddp-hide { display: none !important; }
.ddp-nomatch { padding: 10px 14px; font-size: 12px; color: var(--dp-muted); white-space: nowrap; align-self: center; }

/* ── Detail tabs: one scrollable row, underline style ──────────────────── */
.detail-tab-strip { flex-wrap: wrap; overflow: visible; gap: 0 2px; border-bottom: 0; padding-bottom: 0; margin-bottom: 0 !important; }   /* every tab stays in the window: a second row when needed */
.detail-tab { background: transparent; border: 0; border-bottom: 2.5px solid transparent; border-radius: 0; padding: 7px 10px 6px; font-size: 12px; font-weight: 600; color: var(--dp-muted); flex: 0 0 auto; }
.detail-tab:hover { background: transparent; color: var(--dp-green-d); border-color: #BFD9CB; }
.detail-tab.active { background: transparent; color: var(--dp-green-d); border-bottom-color: var(--dp-green); margin-bottom: 0; padding-bottom: 6px; }
.detail-tab .bi { opacity: .8; }
.well-tab-bar { margin-bottom: 4px !important; }
#tab-ops, #tab-crew, #tab-well, #tab-fmn, #tab-mud, #tab-survey, #tab-bit, #tab-treatment, #tab-drill, #tab-pers, #tab-bulk, #tab-lt, #tab-jobtype { padding-top: 16px; }

/* ── Operations tab ────────────────────────────────────────────────────── */
.kpi-card { border: 1px solid var(--dp-line); border-radius: var(--dp-r); box-shadow: var(--dp-shadow); padding: 13px 16px; }
.kpi-value { font-size: 21px; color: var(--dp-ink); font-variant-numeric: tabular-nums; }
.kpi-label { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--dp-muted); }
#dashboard.ddp-rigview #kpi-row { display: none; }
.filter-bar { border: 1px solid var(--dp-line); border-radius: var(--dp-r); box-shadow: var(--dp-shadow); }
.table-wrapper { border: 1px solid var(--dp-line); border-radius: var(--dp-r); box-shadow: var(--dp-shadow); }
.ops-table thead th { background: #0B4A2B; font-size: 10.5px; letter-spacing: .03em; }
.ops-table tbody td { border-color: var(--dp-line-2); }
.ops-table tbody tr:nth-child(even) { background: #FAFBFA; }

/* ── Side panel ────────────────────────────────────────────────────────── */
.sidebar { border-right: 1px solid var(--dp-line); }
.sidebar-section { border-bottom: 1px solid var(--dp-line); }
.sidebar-label { letter-spacing: .07em; color: var(--dp-muted); }
.gfp-list { gap: 5px; }
.gfp-pill { display: flex; align-items: center; gap: 8px; text-align: left; border-radius: 8px; border-width: 1px; padding: 6px 10px; font-weight: 600; font-size: 12.5px; }
.gfp-pill .ddp-gdot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; background: currentColor; }
.gfp-pill .ddp-gname { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gfp-pill .ddp-gcount { flex: 0 0 auto; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 0 7px; border-radius: 999px; background: rgba(15,27,21,.06); color: inherit; }
.gfp-pill .ddp-gcount.zero { opacity: .55; }

/* ── Rig summary (one rig selected) ────────────────────────────────────── */
#ddp-righero { display: none; margin-top: 16px; background: var(--dp-card); border: 1px solid var(--dp-line); border-radius: var(--dp-r); box-shadow: var(--dp-shadow); overflow: hidden; }
#dashboard.ddp-rigview #ddp-righero { display: block; }
.ddp-rh-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px 12px; flex-wrap: wrap; }
.ddp-rh-name { font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--dp-ink); line-height: 1; }
.ddp-rh-well { font-size: 13px; font-weight: 600; color: var(--dp-ink-2); }
.ddp-rh-well span { color: var(--dp-faint); font-weight: 500; }
.ddp-rh-now { flex: 1 1 320px; min-width: 0; font-size: 12.5px; color: var(--dp-ink-2); border-left: 1px solid var(--dp-line); padding-left: 14px; }
.ddp-rh-now b { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dp-muted); margin-bottom: 2px; }
.ddp-rh-now div { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.ddp-rh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-top: 1px solid var(--dp-line-2); }
.ddp-rh-stat { padding: 10px 18px 12px; border-right: 1px solid var(--dp-line-2); min-width: 0; }
.ddp-rh-stat:last-child { border-right: 0; }
.ddp-rh-stat .k { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dp-muted); }
.ddp-rh-stat .v { font-size: 17px; font-weight: 700; color: var(--dp-ink); font-variant-numeric: tabular-nums; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ddp-rh-stat .v small { font-size: 11px; font-weight: 600; color: var(--dp-muted); }
.ddp-rh-stat .s { font-size: 11px; color: var(--dp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ddp-rh-stat.bad .v { color: var(--dp-red); }

/* ── Overview (All Rigs / Favorites / a group) ─────────────────────────── */
#tab-analytics-content { padding: 0 !important; }
.ddp { padding: 16px 0 8px; color: var(--dp-ink); container-type: inline-size; container-name: ddp; }
.ddp-head { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ddp-head h2 { font-size: 16px; font-weight: 800; letter-spacing: -.01em; margin: 0; display: flex; align-items: center; gap: 9px; }
.ddp-head h2 .dot { width: 10px; height: 10px; border-radius: 3px; background: var(--dp-green); }
.ddp-head p { margin: 0; font-size: 12px; color: var(--dp-muted); }
.ddp-head .sp { flex: 1; }
.ddp-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11px; color: var(--dp-muted); }
.ddp-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

.ddp-tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
@container ddp (max-width: 1180px) { .ddp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ddp-tiles > :nth-child(n+5) { grid-column: span 1; } }
@container ddp (max-width: 1180px) and (min-width: 641px) { .ddp-tiles { grid-template-columns: repeat(12, minmax(0, 1fr)); } .ddp-tiles > * { grid-column: span 3; } .ddp-tiles > :nth-child(n+5) { grid-column: span 4; } }
@container ddp (max-width: 640px) { .ddp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ddp-tiles > * { grid-column: auto; } }
.ddp-tile { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; position: relative; background: var(--dp-card); border: 1px solid var(--dp-line); border-radius: var(--dp-r); box-shadow: var(--dp-shadow); padding: 12px 14px 11px; min-width: 0; text-align: left; font: inherit; color: inherit; }
button.ddp-tile { cursor: pointer; transition: border-color .12s, box-shadow .12s, transform .12s; }
button.ddp-tile:hover { border-color: #B9D4C5; box-shadow: 0 3px 10px rgba(15,27,21,.08); }
button.ddp-tile.on { border-color: var(--dp-green); box-shadow: 0 0 0 2px rgba(0,122,61,.18); }
.ddp-tile .k { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dp-muted); white-space: nowrap; overflow: hidden; }
.ddp-tile .k .bi { font-size: 12px; color: var(--tc, var(--dp-green)); }
.ddp-tile .v { font-size: 25px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ddp-tile .v small { font-size: 12px; font-weight: 700; color: var(--dp-muted); letter-spacing: 0; margin-left: 2px; }
.ddp-tile .s { font-size: 11.5px; color: var(--dp-muted); margin-top: 1px; line-height: 1.35; min-height: 31px; overflow-wrap: anywhere; }
.ddp-tile .s b { color: var(--dp-ink-2); font-weight: 700; }
.ddp-tile .s .up { color: var(--dp-green-d); font-weight: 700; } .ddp-tile .s .dn { color: var(--dp-red); font-weight: 700; }
.ddp-tile.bad .v { color: var(--dp-red); } .ddp-tile.bad { --tc: var(--dp-red); }
.ddp-tile.warn { --tc: var(--dp-amber); } .ddp-tile.blue { --tc: var(--dp-blue); } .ddp-tile.violet { --tc: var(--dp-violet); } .ddp-tile.teal { --tc: var(--dp-teal); }
.ddp-split { display: flex; height: 5px; border-radius: 3px; overflow: hidden; margin-top: 7px; background: var(--dp-line-2); gap: 1px; }
.ddp-split span { display: block; height: 100%; }

.ddp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.ddp-grid.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1180px) { .ddp-grid, .ddp-grid.even { grid-template-columns: minmax(0, 1fr); } }
.ddp-card { background: var(--dp-card); border: 1px solid var(--dp-line); border-radius: var(--dp-r); box-shadow: var(--dp-shadow); min-width: 0; display: flex; flex-direction: column; }
.ddp-card > header { display: flex; align-items: center; gap: 8px; padding: 12px 16px 10px; border-bottom: 1px solid var(--dp-line-2); }
.ddp-card > header h3 { font-size: 12.5px; font-weight: 800; letter-spacing: .02em; margin: 0; color: var(--dp-ink); }
.ddp-card > header .bi { color: var(--hc, var(--dp-green)); font-size: 14px; }
.ddp-card > header .n { font-size: 11px; font-weight: 700; color: var(--dp-muted); background: var(--dp-ground); border-radius: 999px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.ddp-card > header .r { margin-left: auto; font-size: 11.5px; color: var(--dp-muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.ddp-card > .b { padding: 12px 16px 14px; flex: 1 1 auto; min-height: 0; }
.ddp-card > .b.flush { padding: 0; }
.ddp-none { padding: 22px 16px; text-align: center; color: var(--dp-muted); font-size: 12.5px; }
.ddp-none .bi { display: block; font-size: 20px; color: var(--dp-green); margin-bottom: 4px; }
.ddp-sub { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dp-muted); margin: 14px 0 8px; }
.ddp-sub:first-child { margin-top: 0; }

/* lost-time list */
.ddp-lt { max-height: 318px; overflow-y: auto; }
.ddp-lt-row { display: grid; grid-template-columns: 118px minmax(0, 1fr) 74px 82px; gap: 12px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--dp-line-2); cursor: pointer; }
.ddp-lt-row:last-child { border-bottom: 0; }
.ddp-lt-row:hover { background: #FBF6F5; }
.ddp-lt-row .rig { font-weight: 800; font-size: 13px; display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.ddp-lt-row .rig i { width: 8px; height: 8px; border-radius: 50%; background: var(--dp-amber); flex: 0 0 auto; }
.ddp-lt-row.live .rig i { background: var(--dp-red); box-shadow: 0 0 0 3px rgba(180,35,24,.16); }
.ddp-lt-row .well { font-size: 11px; color: var(--dp-muted); font-weight: 500; margin-left: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ddp-lt-row .what { min-width: 0; }
.ddp-lt-row .what .t { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; margin-bottom: 2px; }
.ddp-lt-row .what .d { font-size: 12px; color: var(--dp-ink-2); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ddp-lt-row .h { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ddp-lt-row .h b { font-size: 15px; font-weight: 800; color: var(--dp-red); }
.ddp-lt-row .h span { display: block; font-size: 10.5px; color: var(--dp-muted); }
.ddp-lt-row .h.cum b { color: var(--dp-ink); font-size: 13px; }
.ddp-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .02em; border-radius: 5px; padding: 1px 7px; white-space: nowrap; background: var(--dp-ground); color: var(--dp-ink-2); }
.ddp-tag.red { background: var(--dp-red-s); color: var(--dp-red); } .ddp-tag.amber { background: var(--dp-amber-s); color: var(--dp-amber); }
.ddp-tag.green { background: var(--dp-green-s); color: var(--dp-green-d); } .ddp-tag.blue { background: var(--dp-blue-s); color: var(--dp-blue); }
.ddp-tag.violet { background: var(--dp-violet-s); color: var(--dp-violet); } .ddp-tag.teal { background: var(--dp-teal-s); color: var(--dp-teal); }
.ddp-tag.live { background: var(--dp-red); color: #fff; }
.ddp-tag button { border: 0; background: none; padding: 0 0 0 2px; color: inherit; cursor: pointer; line-height: 1; font-size: 11px; opacity: .75; }
.ddp-tag button:hover { opacity: 1; }

/* bars */
.ddp-stack { display: flex; height: 22px; border-radius: 6px; overflow: hidden; background: var(--dp-line-2); gap: 2px; }
.ddp-stack span { display: flex; align-items: center; justify-content: center; min-width: 2px; font-size: 10.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; }
.ddp-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 6px 14px; margin-top: 10px; }
.ddp-key { display: flex; align-items: baseline; gap: 7px; font-size: 12px; min-width: 0; }
.ddp-key i { width: 9px; height: 9px; border-radius: 2px; flex: 0 0 auto; align-self: center; }
.ddp-key span { color: var(--dp-ink-2); min-width: 0; flex: 1 1 auto; }
.ddp-key b { font-variant-numeric: tabular-nums; font-weight: 700; flex: 0 0 auto; }
.ddp-key em { font-style: normal; color: var(--dp-muted); font-size: 11px; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.ddp-bars { display: flex; flex-direction: column; gap: 6px; }
.ddp-bar { display: grid; grid-template-columns: var(--lw, 128px) minmax(0, 1fr) var(--vw, 78px); gap: 10px; align-items: center; font-size: 12px; min-height: 20px; border: 0; background: none; padding: 0; text-align: left; color: inherit; font-family: inherit; width: 100%; }
button.ddp-bar { cursor: pointer; border-radius: 6px; }
button.ddp-bar:hover .l { color: var(--dp-green-d); } button.ddp-bar.on .l { color: var(--dp-green-d); font-weight: 800; }
button.ddp-bar.on .tr { box-shadow: 0 0 0 2px rgba(0,122,61,.2); }
.ddp-bar .l { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; color: var(--dp-ink-2); font-weight: 600; }   /* names are never cut: they wrap */
/* long names (job types): the full name on its own line, the bar and the figure under it */
.ddp-bars.stk { gap: 9px; }
.ddp-bars.stk .ddp-bar { grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; }
.ddp-bars.stk .ddp-bar .l { grid-column: 1 / -1; }
.ddp-bars.stk .ddp-bar .v { min-width: 64px; }
.ddp-bar .l small { color: var(--dp-faint); font-weight: 500; margin-left: 5px; }
.ddp-bar .tr { height: 10px; background: var(--dp-line-2); border-radius: 5px; overflow: hidden; display: flex; }
.ddp-bar .tr span { display: block; height: 100%; background: var(--bc, var(--dp-green)); }
.ddp-bar .tr span + span { margin-left: 1px; }
.ddp-bar .v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ddp-bar .v small { color: var(--dp-muted); font-weight: 600; margin-left: 2px; }

/* rig table */
.ddp-tcard { background: var(--dp-card); border: 1px solid var(--dp-line); border-radius: var(--dp-r); box-shadow: var(--dp-shadow); overflow: hidden; }
.ddp-tbar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--dp-line-2); flex-wrap: wrap; }
.ddp-tbar h3 { font-size: 12.5px; font-weight: 800; margin: 0 4px 0 0; letter-spacing: .02em; }
.ddp-tbar .cnt { font-size: 11.5px; color: var(--dp-muted); font-variant-numeric: tabular-nums; }
.ddp-tbar .sp { flex: 1; }
.ddp-fchips { display: flex; gap: 5px; flex-wrap: wrap; }
.ddp-fchip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--dp-line); background: var(--dp-card); border-radius: 999px; padding: 3px 10px; font-size: 11.5px; font-weight: 600; color: var(--dp-ink-2); cursor: pointer; font-variant-numeric: tabular-nums; }
.ddp-fchip i { width: 7px; height: 7px; border-radius: 50%; }
.ddp-fchip:hover { border-color: #B9D4C5; }
.ddp-fchip.on { background: var(--dp-ink); border-color: var(--dp-ink); color: #fff; }
.ddp-fchip.x { border-style: dashed; color: var(--dp-muted); }
.ddp-tbar .ddp-find { min-width: 150px; flex: 0 1 220px; height: 30px; }
.ddp-tbar select { max-width: 150px; height: 30px; border: 1px solid var(--dp-line); border-radius: 8px; background: var(--dp-card); font-size: 12px; color: var(--dp-ink-2); padding: 0 8px; outline: 0; cursor: pointer; }
.ddp-tbar .xl { height: 30px; border: 1px solid var(--dp-line); border-radius: 8px; background: var(--dp-card); font-size: 12px; font-weight: 600; color: var(--dp-ink-2); padding: 0 10px; cursor: pointer; }
.ddp-tbar .xl:hover { background: var(--dp-green-s); border-color: var(--dp-green); color: var(--dp-green-d); }
.ddp-twrap { overflow-x: auto; }
.ddp-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 860px; }   /* fixed column shares: the whole table stays in the card */
.ddp-table td, .ddp-table th { overflow: hidden; text-overflow: ellipsis; }
@container ddp (max-width: 1240px) { .ddp-table th:not(.s) .ar { display: none; } }
@container ddp (max-width: 1080px) { .ddp-table th, .ddp-table td { font-size: 11.5px; padding-left: 6px !important; padding-right: 6px !important; } .ddp-table th { letter-spacing: .03em; font-size: 10px; } }
.ddp-table th { position: sticky; top: 0; background: #F8FAF9; text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dp-muted); padding: 8px 9px; border-bottom: 1px solid var(--dp-line); white-space: nowrap; cursor: pointer; user-select: none; }
.ddp-table th.num, .ddp-table td.num { text-align: right; }
.ddp-table th .ar { opacity: .35; margin-left: 3px; font-size: 10px; } .ddp-table th.s .ar { opacity: 1; color: var(--dp-green); }
.ddp-table th.nosort { cursor: default; }
.ddp-table td { padding: 8px 9px; border-bottom: 1px solid var(--dp-line-2); font-size: 12.5px; vertical-align: middle; color: var(--dp-ink-2); }
.ddp-table tbody tr:hover { background: #F6FAF7; }
.ddp-table tbody tr:last-child td { border-bottom: 0; }
.ddp-table td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ddp-table td .mut { color: #C3CCC7; }
.ddp-rig { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; font-weight: 800; color: var(--dp-ink); white-space: nowrap; border: 0; background: none; padding: 0; cursor: pointer; font-size: 12.5px; font-family: inherit; }
.ddp-rig:hover { color: var(--dp-green-d); text-decoration: underline; }
.ddp-rig i.st { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.ddp-rig .bi-star-fill { color: #F59E0B; font-size: 10px; }
.ddp-rig .off { color: var(--dp-teal); font-size: 11px; }
.ddp-well { font-weight: 600; color: var(--dp-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ddp-rigst { display: block; margin: 2px 0 0 15px; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.ddp-table td .ddp-tag { max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.ddp-ltc { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px 4px; align-items: center; } .ddp-ltc .ddp-tag { margin-left: 0; }
.ddp-well small { display: block; font-size: 10.5px; color: var(--dp-faint); font-weight: 500; }
.ddp-now { max-width: none; min-width: 0; }
.ddp-table th:first-child, .ddp-table td:first-child { padding-left: 14px; } .ddp-table th:last-child, .ddp-table td:last-child { padding-right: 14px; }
.ddp-now b { display: block; font-weight: 700; color: var(--dp-ink); line-height: 1.3; overflow-wrap: anywhere; }
.ddp-now span { font-size: 11px; color: var(--dp-muted); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ddp-day { display: flex; width: 100%; max-width: 110px; height: 9px; border-radius: 4px; overflow: hidden; background: var(--dp-line-2); }
.ddp-day span { display: block; height: 100%; }
.ddp-ft b { font-weight: 800; color: var(--dp-ink); }
.ddp-ltc b { color: var(--dp-red); font-weight: 800; }
.ddp-ltc .ddp-tag { margin-left: 5px; }
.ddp-st { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.ddp-st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ddp-st.active, .ddp-st.work { background: var(--dp-green-s); color: var(--dp-green-d); }
.ddp-st.mob { background: var(--dp-violet-s); color: var(--dp-violet); }
.ddp-st.lt { background: var(--dp-amber-s); color: var(--dp-amber); }
.ddp-st.livelt { background: var(--dp-red-s); color: var(--dp-red); }
.ddp-st.idle, .ddp-st.standby { background: var(--dp-ground); color: var(--dp-muted); }
.ddp-st.uncl { background: var(--dp-blue-s); color: var(--dp-blue); }
.ddp-pills { display: flex; flex-wrap: wrap; gap: 3px; min-width: 0; }
.ddp-pills .ddp-tag { max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.3; padding-top: 2px; padding-bottom: 2px; display: inline-block; }
.ddp-pills .ddp-tag button { vertical-align: top; }
.ddp-more { padding: 10px 14px; text-align: center; border-top: 1px solid var(--dp-line-2); }
.ddp-more button { border: 1px solid var(--dp-line); background: var(--dp-card); border-radius: 8px; padding: 5px 14px; font-size: 12px; font-weight: 600; color: var(--dp-ink-2); cursor: pointer; }
.ddp-more button:hover { background: var(--dp-green-s); border-color: var(--dp-green); color: var(--dp-green-d); }
.ddp-note { font-size: 11.5px; color: var(--dp-muted); margin: 10px 2px 0; }

@media (max-width: 760px) {
  .main-canvas { padding: 0 12px 20px; }
  #tabs-sticky-header { margin: 0 -12px; padding: 10px 12px 0; }
  .ddp-find { min-width: 0; flex: 1 1 140px; }
  .report-header { flex-wrap: wrap; } .report-header > div { flex-wrap: wrap; min-width: 0; } #load-time, .ddp-find kbd { display: none; } #report-date-label { font-size: 16px; }
  .ddp-rh-now { border-left: 0; padding-left: 0; flex-basis: 100%; }
  .ddp-lt-row { grid-template-columns: 96px minmax(0, 1fr) 64px; } .ddp-lt-row .h.cum { display: none; }
  .ddp-tile .v { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { button.ddp-tile { transition: none; } }
