/*
 * outlook.css: styles for the approved outlook pages (4 Dec 2026).
 *
 * One file, six marked sections. The first is shared and belongs to the core; each of the other five
 * belongs to one tab file and uses that tab's class prefix only:
 *   Overview (app/outlook-overview.js)   ov-
 *   Projects (app/outlook-sites.js)      pj-
 *   People   (app/outlook-people.js)     pp-o-
 *   Plant    (app/outlook-plant.js)      eq-o-
 *   By project (app/outlook-byjob.js)    bp-
 * Brand: the live ui.css look (Arial, Old Brick #9c1924, ink #333f50, near-black bars, square corners,
 * no shadows, no gradients). Green = in hand and yellow = not in hand yet, in charts and status marks
 * only (Daniel's word). Above what we own or have = Old Brick. Nothing else adds a colour.
 */

/* ================================================================== SHARED (core) ============== */
:root {
  --ox-ink: #333f50;          /* headings and figures */
  --ox-brick: #9c1924;        /* the one accent; also "above what we own or have" */
  --ox-regent: #8497b0;
  --ox-body: #555f6d;
  --ox-label: #626975;        /* small labels; 5.7:1 on white */
  --ox-bar: #202022;          /* near-black table heads and bars */
  --ox-rule: #e5e3dd;
  --ox-rule-strong: #d8d6cf;
  --ox-ground: #f7f8f9;
  /* status fills (charts, swatches) */
  --ox-sec: #1e9e6a;          /* in hand */
  --ox-sec-soft: #dff2ea;
  --ox-exp: #f2d57e;          /* not in hand yet */
  --ox-exp-line: #e3b23c;
  --ox-over: #f4dfe1;         /* cell above what we own or have */
  /* status text: dark enough to read on white (4.5:1 or better) */
  --ox-sec-ink: #14724b;
  --ox-exp-ink: #85560a;
  --ox-over-ink: #9c1924;
  /* the seven worker types, in RP_OUTLOOK.TYPES order */
  --ox-t0: #333f50; --ox-t1: #8497b0; --ox-t2: #b8935a; --ox-t3: #9c1924; --ox-t4: #3f7c85; --ox-t5: #6f5b8c; --ox-t6: #c9ced6;
}
.ox-t0 { background: var(--ox-t0); } .ox-t1 { background: var(--ox-t1); } .ox-t2 { background: var(--ox-t2); } .ox-t3 { background: var(--ox-t3); }
.ox-t4 { background: var(--ox-t4); } .ox-t5 { background: var(--ox-t5); } .ox-t6 { background: var(--ox-t6); }

/* the outlook pages always show 18 months from this month, so the month controls are put away there */
.filter-right.ox-window > .filter-note:first-child,
.filter-right.ox-window > .month-ctl,
.filter-right.ox-window > #winPresets { display: none; }

.ox-host { margin-top: 18px; color: var(--ox-body); font-family: Arial, Helvetica, sans-serif; min-width: 0; }
.ox-panel > .ox-host { margin-top: 0; }
/* Integration, 4 Dec 2026: on the outlook pages an empty table slot still took a flex gap, leaving a tall blank band under
   the heading. Scoped to those pages so the other tabs' layout (and the plan drawer's scroll checks) is unchanged. */
.pane:has(> #outlookPane:not([hidden]), [data-ox-host="people"], [data-ox-host="plant"]) > #paneTable:empty { display: none; }
.pane > #outlookPane.ox-host { margin-top: 0; }
.ox-host[hidden] { display: none; }

/* nothing to show, being built, or failed to draw */
.ox-empty { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border: 1px solid var(--ox-rule-strong); background: var(--ox-ground); color: var(--ox-body); font-size: 14px; line-height: 1.5; }
.ox-empty b { font-size: 16px; color: var(--ox-ink); }

/* small caps section heading */
.ox-sechead { display: inline-block; margin: 0 0 10px; padding-bottom: 5px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ox-ink); border-bottom: 2px solid var(--ox-brick); }

/* the outlook table: near-black head, white rows, figures right-aligned */
.ox-scroll { overflow-x: auto; max-width: 100%; }
.ox-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; font-variant-numeric: tabular-nums; }
.ox-table thead th { background: var(--ox-bar); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 8px 10px; text-align: right; white-space: nowrap; }
.ox-table td, .ox-table tbody th { padding: 8px 10px; border-bottom: 1px solid var(--ox-rule); text-align: right; color: var(--ox-ink); vertical-align: top; font-weight: 400; }
/* After the cell rule on purpose: row headers read left (same specificity, so order decides). */
.ox-table thead th.ox-tl, .ox-table td.ox-tl, .ox-table tbody th { text-align: left; }
.ox-table td small { display: block; font-size: 11px; color: var(--ox-label); margin-top: 2px; }
.ox-table td small.ox-sec { color: var(--ox-sec-ink); }
.ox-table td.ox-over { background: var(--ox-over); color: var(--ox-over-ink); font-weight: 700; }
.ox-table td.ox-unknown { color: var(--ox-label); }
.ox-table tr.ox-click { cursor: pointer; }
.ox-table tr.ox-click:hover td, .ox-table tr.ox-click:hover th { background: rgba(51, 63, 80, .05); }
.ox-table tr.ox-click:focus-visible { outline: 2px solid var(--ox-brick); outline-offset: -2px; }
.ox-table tfoot td, .ox-table tfoot th { font-weight: 700; border-top: 2px solid var(--ox-rule-strong); text-align: right; padding: 8px 10px; color: var(--ox-ink); }
.ox-table tfoot th { text-align: left; }

/* status mark, notes, swatches */
.ox-tag { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.ox-tag.ox-sec { color: var(--ox-sec-ink); }
.ox-tag.ox-exp { color: var(--ox-exp-ink); }
.ox-tag.ox-warn { color: var(--ox-over-ink); }
.ox-note { font-size: 12.5px; line-height: 1.5; color: var(--ox-label); margin: 0; max-width: 110ch; }
.ox-note + .ox-note { margin-top: 6px; }
.ox-swatch { display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; }
.ox-swatch.ox-sec { background: var(--ox-sec); } .ox-swatch.ox-exp { background: var(--ox-exp); } .ox-swatch.ox-over { background: var(--ox-brick); }
.ox-btn { font: inherit; font-size: 12.5px; font-weight: 700; color: var(--ox-ink); background: #fff; border: 1px solid var(--ox-rule-strong); padding: 6px 10px; cursor: pointer; }
.ox-btn:hover { background: var(--ox-ground); }
.ox-btn.on { background: var(--ox-bar); border-color: var(--ox-bar); color: #fff; }
.ox-btn:focus-visible, .ox-host [tabindex]:focus-visible { outline: 2px solid var(--ox-brick); outline-offset: 2px; }

/* hover text: data-ox-tip */
.ox-tip { position: fixed; z-index: 70; background: #1f2126; color: #fff; font: 12.5px/1.45 Arial, Helvetica, sans-serif; padding: 8px 11px; pointer-events: none; max-width: 300px; white-space: normal; }
.ox-tip[hidden] { display: none; }

@media print {
  .ox-tip { display: none !important; }
  .ox-scroll { overflow: visible; }
  /* screen-reader-only text stays hidden by its clip; overflow visible keeps print from reading it as clipped data */
  body .ov-sr, body .pj-sr, body .eq-o-cap { overflow: visible; }
  .ox-table thead th { background: #fff; color: #000; border-bottom: 1.5px solid #000; }
  .ox-table td.ox-over { background: #fff; }
}

/* ================================================================== OVERVIEW (ov-) ============== */
/* owned by app/outlook-overview.js */

.ov { display: block; }
.ov-band { background: var(--ox-bar); color: #fff; padding: 22px 28px 18px; border-left: 6px solid var(--ox-brick); }
.ov-band-top { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.ov-window { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.1; color: #fff; }
.ov-meta { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.ov-figs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 26px; margin-top: 20px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.24); }
.ov-fig { min-width: 0; cursor: default; }
.ov-fig-v { font-size: 48px; font-weight: 700; line-height: 1.05; color: #fff; white-space: nowrap; }
.ov-fig-v small { font-size: 23px; font-weight: 400; color: rgba(255,255,255,.78); }
.ov-fig-l { margin-top: 9px; font-size: 13px; line-height: 1.35; color: #fff; }
.ov-fig-s { margin-top: 2px; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.78); }
.ov-say { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 44px; margin-top: 14px; font-size: 14px; line-height: 1.6; color: #fff; }
.ov-say p { margin: 0; }
.ov-count { margin: 12px 0 0; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.74); }

.ov-cols { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 34px; align-items: start; margin-top: 18px; }
.ov-left, .ov-right { min-width: 0; }
.ov h2.ox-sechead { display: block; width: fit-content; margin: 0 0 10px; }
.ov h2.ov-window { display: block; width: auto; margin: 0; padding: 0; border: 0; font-size: 30px; letter-spacing: 0; text-transform: none; color: #fff; }
.ov-gapabove { margin-top: 26px !important; }
.ov-gap { margin-top: 10px; }
.ov-foot { margin-top: 22px; }
.ov-none { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ox-ink); border: 1px solid var(--ox-rule-strong); padding: 14px 16px; }
.ov-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ov-next { border: 1px solid var(--ox-rule-strong); }
.ov-next td, .ov-next th { vertical-align: middle; }
.ov-next tbody th { font-weight: 700; text-align: left; }
.ov-next .ov-kind { color: var(--ox-body); width: 1%; white-space: nowrap; }
.ov-next .ov-nw { white-space: nowrap; width: 1%; }
.ov-link { font: inherit; font-weight: 700; color: var(--ox-ink); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.ov-link:hover { text-decoration: underline; }

.ov-alert { background: #fff; border: 1px solid var(--ox-rule-strong); border-left: 4px solid var(--ox-over-ink); padding: 12px 14px 11px; margin-bottom: 10px; }
.ov-alert.ov-amber { border-left-color: var(--ox-exp-line); }
.ov-alert.ov-check { border-left-color: var(--ox-ink); }
.ov-alert h3 { margin: 0 0 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ox-ink); }
.ov-alert h3 span { margin-left: 8px; font-weight: 400; letter-spacing: .06em; text-transform: none; font-size: 12px; color: var(--ox-label); }
.ov-alert p { margin: 0; padding: 2px 4px; margin-left: -4px; font-size: 13px; line-height: 1.5; color: var(--ox-ink); }
.ov-alert p.ov-go { cursor: pointer; }
.ov-alert p.ov-go:hover { background: rgba(51,63,80,.06); }

.ov-chart { display: grid; grid-template-columns: 40px minmax(0, 1fr) 36px; }
.ov-y { position: relative; height: 230px; }
.ov-y span { position: absolute; right: 8px; transform: translateY(50%); font-size: 11px; color: var(--ox-label); }
.ov-plot { position: relative; height: 230px; display: flex; align-items: flex-end; border-bottom: 1px solid var(--ox-rule-strong); }
.ov-grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--ox-rule); pointer-events: none; }
.ov-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column-reverse; align-items: center; cursor: default; }
.ov-col:hover { background: rgba(51,63,80,.05); }
.ov-col i { display: block; width: 72%; }
.ov-col .ov-sec { background: var(--ox-sec); }
.ov-col .ov-ext { background: var(--ox-exp); }
.ov-col b { position: relative; z-index: 3; margin-bottom: 3px; padding: 0 2px; font-size: 11px; font-weight: 700; color: var(--ox-ink); white-space: nowrap; background: rgba(255,255,255,.88); }
.ov-books { position: absolute; z-index: 2; left: 0; right: 0; height: 0; border-top: 1.5px dashed var(--ox-bar); pointer-events: none; }
.ov-bookn { position: relative; height: 230px; cursor: default; }
.ov-bookn span { position: absolute; left: 5px; transform: translateY(50%); font-size: 11px; font-weight: 700; color: var(--ox-bar); white-space: nowrap; }
.ov-months { grid-column: 2; display: flex; }
.ov-months span { flex: 1 1 0; min-width: 0; padding-top: 6px; font-size: 10.5px; line-height: 1.25; text-align: center; white-space: nowrap; color: var(--ox-ink); }
.ov-months em { font-style: normal; }
@media (max-width: 1400px) { .ov-months em { display: block; color: var(--ox-label); } }
.ov-legend { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0 40px; font-size: 12px; color: var(--ox-label); }
.ov-dashkey { display: inline-block; width: 18px; height: 0; margin-right: 6px; border-top: 1.5px dashed var(--ox-bar); vertical-align: 4px; }

/* align-items: end keeps the three plots on one baseline when a long class name wraps */
.ov-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; align-items: end; }
.ov-mini { min-width: 0; }
.ov-mini-h { margin: 0 0 8px; font-size: 13px; line-height: 1.35; color: var(--ox-ink); }
.ov-mini-h em { font-style: normal; color: var(--ox-label); font-size: 12px; }
.ov-mini-h span { display: block; font-size: 12px; color: var(--ox-label); }
.ov-mini-plot { position: relative; height: 78px; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--ox-rule-strong); }
.ov-mb { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; cursor: default; }
.ov-mb:hover { background: rgba(51,63,80,.07); }
.ov-mb i { display: block; width: 100%; background: var(--ox-ink); }
.ov-mb i.ov-over { background: var(--ox-brick); }
.ov-fleet { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed var(--ox-bar); pointer-events: none; }
.ov-mini-x { display: flex; justify-content: space-between; padding-top: 4px; font-size: 10.5px; color: var(--ox-label); }

/* narrow windows: four-figure column totals must still fit their column */
@media (max-width: 1260px) { .ov-col b { font-size: 10px; padding: 0; letter-spacing: -.02em; } .ov-fig-v { font-size: 40px; } }
@media (max-width: 1040px) {
  .ov-cols { grid-template-columns: minmax(0, 1fr); }
  .ov-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-say { grid-template-columns: minmax(0, 1fr); }
}
@media print { .ov-band { background: #fff; color: #000; border: 1px solid #000; } .ov-band * { color: #000 !important; } }

/* ================================================================== PROJECTS (pj-) ============== */
/* owned by app/outlook-sites.js */
.pj-grid { display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); gap: 22px; align-items: start; }
.pj-mapcol { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pj-map { position: relative; background: var(--ox-ground); border: 1px solid var(--ox-rule); }
.pj-svg { display: block; width: 100%; height: auto; font-family: Arial, Helvetica, sans-serif; }
.pj-land { fill: #e4e6ea; stroke: var(--ox-regent); stroke-width: 1; stroke-linejoin: round; }
.pj-border { fill: none; stroke: var(--ox-regent); stroke-width: .9; stroke-dasharray: 4 3; opacity: .75; }
.pj-inset { fill: none; stroke: var(--ox-regent); stroke-width: .9; stroke-dasharray: 4 3; }
.pj-st { font-size: 15px; font-weight: 700; letter-spacing: .08em; fill: var(--ox-label); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.pj-mk { cursor: pointer; }
.pj-mk circle { stroke: #fff; stroke-width: 1.5; }
.pj-mk.pj-sec circle { fill: var(--ox-sec); }
.pj-mk.pj-exp circle { fill: var(--ox-exp-line); }
.pj-mk.pj-off circle { fill: #c3c8d0; }
.pj-mk.pj-flag circle { stroke: var(--ox-brick); stroke-width: 2; }
.pj-mk text { font-weight: 700; text-anchor: middle; dominant-baseline: central; pointer-events: none; fill: var(--ox-ink); }
.pj-mk.pj-sec text { fill: #fff; }
.pj-mk:hover circle { stroke: var(--ox-ink); stroke-width: 2; }
.pj-lead { stroke: var(--ox-ink); stroke-width: .8; opacity: .5; }
.pj-site { fill: var(--ox-ink); opacity: .6; }
.pj-bub circle { fill: rgba(255,255,255,.75); stroke: var(--ox-ink); stroke-width: 1.3; stroke-dasharray: 4 3; }
.pj-bub:hover circle { fill: #fff; }
.pj-bub text { text-anchor: middle; pointer-events: none; fill: var(--ox-ink); }
.pj-bubn { font-size: 16px; font-weight: 700; dominant-baseline: central; }
.pj-bubt { font-size: 15px; font-weight: 700; }
.pj-bub .pj-bubs { font-size: 13.5px; fill: var(--ox-label); }
.pj-keyh, .pj-keyt { font-size: 13.5px; fill: var(--ox-label); }
.pj-keyt { dominant-baseline: central; }
.pj-keyc { fill: none; stroke: var(--ox-label); stroke-width: 1; }
.pj-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--ox-ink); }
.pj-legend span { display: inline-flex; align-items: center; }
.pj-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; flex: 0 0 auto; }
.pj-dot.pj-sec { background: var(--ox-sec); }
.pj-dot.pj-exp { background: var(--ox-exp-line); }
.pj-dot.pj-off { background: #c3c8d0; }
.pj-dot.pj-flag { box-shadow: 0 0 0 2px var(--ox-brick); width: 10px; height: 10px; margin-left: 2px; margin-right: 8px; }
.pj-dot.pj-hollow { background: #fff; border: 1.3px dashed var(--ox-ink); }

.pj-right { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pj-table td, .pj-states td, .pj-states tbody th { vertical-align: middle; }
.pj-table td.pj-c0, .pj-table th.pj-c0 { width: 36px; padding-right: 2px; }
.ox-table.pj-states tbody th, .ox-table.pj-states tfoot th { text-align: left; padding: 8px 10px; }
.ox-table.pj-states tbody th { font-weight: 700; color: var(--ox-ink); }
.pj-nw { white-space: nowrap; }
.pj-name { font: inherit; font-size: 13.5px; font-weight: 700; color: var(--ox-ink); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.pj-name:hover { text-decoration: underline; }
.pj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pj-no { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 23px; border-radius: 50%; font-size: 11px; font-weight: 700; color: var(--ox-ink); }
.pj-no.pj-sec { background: var(--ox-sec); color: #fff; }
.pj-no.pj-exp { background: var(--ox-exp-line); }
.pj-no.pj-off { background: #c3c8d0; }
.pj-no.pj-ring { background: #fff; }
.pj-no.pj-ring.pj-sec { box-shadow: inset 0 0 0 2px var(--ox-sec); color: var(--ox-sec-ink); }
.pj-no.pj-ring.pj-exp { box-shadow: inset 0 0 0 2px var(--ox-exp-line); color: var(--ox-exp-ink); }
.pj-no.pj-ring.pj-off { box-shadow: inset 0 0 0 2px #c3c8d0; color: var(--ox-label); }
.pj-no.pj-flag { outline: 2px solid var(--ox-brick); outline-offset: 1px; }
.pj-table tr.pj-offrow td, .pj-table tr.pj-offrow td b, .pj-table tr.pj-offrow .pj-name { color: var(--ox-label); font-weight: 400; }
.pj-table tr.pj-offrow .ox-tag { opacity: .8; }
.pj-bystate { margin-top: 6px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pj-bystate .ox-scroll { width: 100%; }
@media (max-width: 1400px) { .pj-grid { grid-template-columns: minmax(0, 1fr); } .pj-mapcol { position: static; } .pj-map { max-width: 760px; } }
@media print { .pj-mapcol { position: static; } }

/* ================================================================== PEOPLE OUTLOOK (pp-o-) ====== */
/* owned by app/outlook-people.js */
.pp-o-sec { display: flex; flex-direction: column; align-items: stretch; min-width: 0; margin-bottom: 22px; }
.pp-o-sec > .ox-sechead { align-self: flex-start; }
.pp-o-chart { display: flex; align-items: flex-end; }
.pp-o-axis { flex: 0 0 46px; position: relative; }
.pp-o-axis span { position: absolute; right: 8px; transform: translateY(50%); font-size: 11.5px; color: var(--ox-label); white-space: nowrap; }
.pp-o-plot { flex: 1 1 0; min-width: 0; position: relative; display: flex; align-items: flex-end; border-bottom: 1px solid var(--ox-rule-strong); }
.pp-o-grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid var(--ox-rule); pointer-events: none; }
.pp-o-col { flex: 1 1 0; min-width: 0; height: 100%; position: relative; display: flex; flex-direction: column-reverse; align-items: center; cursor: default; }
.pp-o-col:hover { background: rgba(51, 63, 80, .05); }
.pp-o-seg { display: block; width: 86%; flex: 0 0 auto; }
.pp-o-tot { position: relative; z-index: 3; font-size: 12px; line-height: 1; font-weight: 700; color: var(--ox-ink); margin-bottom: 2px; padding: 1px 3px; background: #fff; white-space: nowrap; }
.pp-o-books { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed #1f2126; pointer-events: none; z-index: 2; }
.pp-o-right { flex: 0 0 96px; position: relative; }
.pp-o-right span { position: absolute; left: 8px; transform: translateY(50%); font-size: 11.5px; line-height: 1.25; color: #1f2126; white-space: nowrap; }
.pp-o-right b { display: block; font-size: 13px; }
.pp-o-months { display: flex; padding: 6px 96px 0 46px; }
.pp-o-months span { flex: 1 1 0; min-width: 0; text-align: center; font-size: 11.5px; color: var(--ox-label); white-space: nowrap; overflow: hidden; }
.pp-o-key { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 12px 0 0 46px; font-size: 12.5px; color: var(--ox-ink); }
.pp-o-key span { white-space: nowrap; }
.pp-o-dash { display: inline-block; width: 22px; height: 0; border-top: 1.5px dashed #1f2126; margin-right: 6px; vertical-align: 4px; }

.pp-o-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 10px; }
.pp-o-bar .ox-sechead { margin-bottom: 0; }
.pp-o-switch { display: flex; gap: 8px; flex-wrap: wrap; }

.pp-o-table { table-layout: fixed; }
.pp-o-table col.pp-o-c-l { width: 232px; }
.pp-o-table col.pp-o-c-p { width: 66px; }
.pp-o-table thead th { padding: 8px 4px; font-size: 10.5px; letter-spacing: .05em; }
.pp-o-table thead th.ox-tl { padding-left: 10px; letter-spacing: .1em; }
.pp-o-table td { padding: 5px 5px 6px; font-size: 12.5px; }
.pp-o-table tbody th, .pp-o-table tfoot th { padding: 5px 5px 6px 10px; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.ox-host .pp-o-table th.ox-tl, .ox-host .pp-o-table th.ox-tl small { text-align: left; }
.ox-host .pp-o-table thead th { text-align: right; }
.ox-host .pp-o-table thead th.ox-tl { text-align: left; }
.pp-o-table td small, .pp-o-table th small { display: block; font-size: 10.5px; margin-top: 1px; font-weight: 400; color: var(--ox-label); overflow: hidden; text-overflow: ellipsis; }
.pp-o-table td small.ox-sec, .pp-o-table th small.ox-sec { color: var(--ox-sec-ink); }
.pp-o-table .pp-o-yr { border-left: 1px solid var(--ox-rule-strong); }
.pp-o-table thead th.pp-o-yr { border-left-color: rgba(255, 255, 255, .4); }
.pp-o-table .pp-o-peak { border-left: 2px solid var(--ox-rule-strong); }
.pp-o-table thead th.pp-o-peak { border-left-color: rgba(255, 255, 255, .4); padding-right: 8px; }
.pp-o-table td.pp-o-peak { padding-right: 8px; font-weight: 700; }
.pp-o-table td.pp-o-peak small { font-weight: 400; }
.pp-o-table td.ox-over small, .pp-o-table td.ox-over small.ox-sec { color: var(--ox-over-ink); }

.pp-o-table tr.pp-o-type th, .pp-o-table tr.pp-o-type td { background: #f3f3f4; font-weight: 700; font-size: 13px; border-top: 1px solid var(--ox-rule-strong); }
.pp-o-table tr.pp-o-type td.ox-over { background: var(--ox-over); color: var(--ox-over-ink); }
.pp-o-table tr.pp-o-type.ox-click:hover th, .pp-o-table tr.pp-o-type.ox-click:hover td { background: #e9ebee; }
.pp-o-table tr.pp-o-type.ox-click:hover td.ox-over { background: #f6c9cd; }
.pp-o-table tr.pp-o-type th small { padding-left: 25px; }
.pp-o-table tr.pp-o-type.pp-o-quiet th .pp-o-fold { color: var(--ox-label); }
.pp-o-fold { display: inline-flex; align-items: center; max-width: 100%; border: 0; background: none; padding: 0; margin: 0; font: inherit; font-weight: 700; color: var(--ox-ink); cursor: pointer; text-align: left; white-space: nowrap; }
.pp-o-fold.pp-o-none { cursor: default; }
.pp-o-fold:focus-visible { outline: 2px solid var(--ox-brick); outline-offset: 2px; }
.pp-o-fold .ox-swatch { flex: 0 0 auto; margin-right: 7px; }
.pp-o-car { flex: 0 0 18px; width: 18px; font-size: 16px; line-height: 1; color: var(--ox-ink); }
.pp-o-table tr.pp-o-role th { padding-left: 46px; font-weight: 400; white-space: normal; }
.pp-o-table tr.pp-o-role:hover th, .pp-o-table tr.pp-o-role:hover td { background: rgba(51, 63, 80, .04); }
.pp-o-nm { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.25; }
.pp-o-table tfoot td, .pp-o-table tfoot th { font-size: 13px; }
.pp-o-table tfoot tr.pp-o-booksrow td, .pp-o-table tfoot tr.pp-o-short td, .pp-o-table tfoot tr.pp-o-booksrow th, .pp-o-table tfoot tr.pp-o-short th { border-top: 0; }
.pp-o-table tfoot tr.pp-o-booksrow td { font-weight: 400; color: var(--ox-body); }
.pp-o-table tfoot tr.pp-o-short td, .pp-o-table tfoot tr.pp-o-short th { border-bottom: 2px solid var(--ox-rule-strong); }

.pp-o-notes { display: flex; flex-direction: column; gap: 7px; }
.pp-o-notes .ox-note b { color: var(--ox-ink); }
.pp-o-link { border: 0; background: none; padding: 0; font: inherit; color: var(--ox-brick); text-decoration: underline; cursor: pointer; }
@media (max-width: 1340px) {
  .pp-o-table col.pp-o-c-l { width: 208px; }
  .pp-o-table col.pp-o-c-p { width: 60px; }
  .pp-o-table td { padding-left: 3px; padding-right: 3px; font-size: 12px; }
  .pp-o-table thead th { font-size: 10px; letter-spacing: .02em; padding-left: 2px; padding-right: 2px; }
  .pp-o-right { flex-basis: 88px; }
  .pp-o-months { padding-right: 88px; }
}
@media print { .pp-o-table tr.pp-o-type th, .pp-o-table tr.pp-o-type td { background: #fff; } }

/* ================================================================== PLANT OUTLOOK (eq-o-) ======= */
/* owned by app/outlook-plant.js */
.eq-o-sec { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.eq-o-sec .ox-sechead { margin-bottom: 0; }
.eq-o > section { margin-bottom: 22px; }
.eq-o-key { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ox-label); }
.eq-o-count { font-size: 12px; }
.eq-o-dash { display: inline-block; width: 16px; height: 0; border-top: 1.5px dashed #1f2126; margin-right: 6px; vertical-align: 3px; }

.eq-o-wrap { border: 1px solid var(--ox-rule-strong); }
.eq-o-table { table-layout: fixed; min-width: 1180px; }
.eq-o-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eq-o-table thead th { padding: 8px 6px 8px 2px; font-size: 10.5px; letter-spacing: .04em; }
.eq-o-table thead th.eq-o-c-name { width: 270px; padding-left: 12px; letter-spacing: .1em; }
.eq-o-table thead th.eq-o-c-peak { width: 112px; padding-right: 12px; letter-spacing: .1em; border-left: 1px solid rgba(255,255,255,.25); }
.eq-o-table thead th.eq-o-yr { border-left: 1px solid rgba(255,255,255,.25); }
.eq-o-table td { padding: 8px 6px 7px 2px; }
.eq-o-table tbody th, .eq-o-table tbody th.eq-o-name { text-align: left; }
.eq-o-table td.eq-o-yr { border-left: 1px solid var(--ox-rule); }
.eq-o-table th.eq-o-name { padding: 8px 6px 7px 28px; font-size: 13px; line-height: 1.3; position: relative; font-weight: 700; color: var(--ox-ink); }
.eq-o-table th.eq-o-name small { display: block; font-weight: 400; font-size: 11px; color: var(--ox-label); margin-top: 2px; }
.eq-o-tog { font: inherit; font-weight: 700; border: 0; background: none; padding: 0; margin: 0; color: var(--ox-ink); cursor: pointer; text-align: left; display: inline; }
.eq-o-tog:focus-visible { outline: 2px solid var(--ox-brick); outline-offset: 2px; }
.eq-o-car { position: absolute; left: 9px; top: 7px; font-size: 14px; font-weight: 400; color: var(--ox-brick); }
.eq-o-fleet { font-size: 11.5px; font-weight: 400; color: var(--ox-label); white-space: nowrap; }
.eq-o-table tr.eq-o-open td, .eq-o-table tr.eq-o-open th { border-bottom-color: var(--ox-rule-strong); }
.eq-o-table td.eq-o-peak { padding-right: 12px; border-left: 1px solid var(--ox-rule); background: #f7f7f8; }
.eq-o-table td.eq-o-peak b { font-size: 14px; }
.eq-o-table td small.eq-o-short { color: var(--ox-over-ink); font-weight: 700; white-space: nowrap; }
.eq-o-table tr.eq-o-own th, .eq-o-table tr.eq-o-own td { background: #fafafa; }
.eq-o-table tr.eq-o-own th.eq-o-name { padding-left: 28px; font-weight: 700; }
.eq-o-table tr.eq-o-own td.ox-over { background: var(--ox-over); }
.eq-o-table tr.eq-o-item th, .eq-o-table tr.eq-o-item td { background: #fafafa; font-size: 12px; padding-top: 5px; padding-bottom: 5px; color: var(--ox-body); }
.eq-o-table tr.eq-o-item th.eq-o-iname { padding-left: 40px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq-o-table tr.eq-o-item td.eq-o-peak b { font-size: 12px; }
.eq-o-table tr.ox-click:hover td.ox-over { background: rgba(156, 25, 36, .22); }

.eq-o-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.eq-o-strip.eq-o-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eq-o-strip.eq-o-n2 { grid-template-columns: repeat(2, minmax(0, 480px)); }
.eq-o-strip.eq-o-n1 { grid-template-columns: minmax(0, 480px); }
.eq-o-card { border: 1px solid var(--ox-rule-strong); background: #fff; padding: 10px 12px 9px; min-width: 0; }
.eq-o-card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.eq-o-card-h b { font-size: 13.5px; color: var(--ox-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eq-o-card-h span { font-size: 11.5px; color: var(--ox-label); white-space: nowrap; }
.eq-o-bars { position: relative; display: flex; align-items: flex-end; gap: 2px; border-bottom: 1px solid var(--ox-rule-strong); }
.eq-o-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; }
.eq-o-col:hover { background: rgba(51,63,80,.06); }
.eq-o-bar { position: relative; width: 100%; background: var(--ox-exp); overflow: hidden; min-height: 1px; }
.eq-o-b-hand { position: absolute; left: 0; right: 0; bottom: 0; background: var(--ox-sec); }
.eq-o-b-over { position: absolute; left: 0; right: 0; top: 0; background: var(--ox-brick); }
.eq-o-line { position: absolute; left: 0; right: 0; height: 0; border-top: 1.5px dashed #1f2126; pointer-events: none; }
.eq-o-line span { position: absolute; right: 2px; top: -15px; font-size: 10.5px; color: #1f2126; background: rgba(255,255,255,.88); padding: 0 3px; }
.eq-o-axis { display: flex; gap: 2px; margin-top: 3px; }
.eq-o-axis span { flex: 1 1 0; min-width: 0; text-align: center; font-size: 9.5px; color: var(--ox-label); }
.eq-o-axis span.eq-o-yr { color: var(--ox-ink); font-weight: 700; }
.eq-o-cap-line { margin: 7px 0 0; font-size: 12px; color: var(--ox-ink); }
.eq-o-red { color: var(--ox-over-ink); }
.eq-o-ok { color: var(--ox-sec-ink); }
.eq-o-more { margin-top: 8px; }
.eq-o-notes { display: flex; flex-direction: column; gap: 6px; }

@media (max-width: 1400px) { .eq-o-table thead th { font-size: 10px; letter-spacing: 0; } .eq-o-table thead th.eq-o-c-name { width: 230px; } }
@media (max-width: 1100px) { .eq-o-strip, .eq-o-strip.eq-o-n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media print { .eq-o-table tr.eq-o-item { display: none; } }

/* ================================================================== BY PROJECT (bp-) ============ */
/* owned by app/outlook-byjob.js */

.bp-page { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bp-bar { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; font-size: 12.5px; color: var(--ox-label); }
.bp-bar .bp-order { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bp-bar .bp-order > span { display: inline-flex; align-items: center; gap: 8px; }
.bp-sw { display: inline-block; width: 11px; height: 11px; margin-right: 6px; vertical-align: -1px; }
.bp-sw-sec { background: var(--ox-sec); } .bp-sw-exp { background: var(--ox-exp-line); } .bp-sw-off { background: var(--ox-t6); }
.bp-wrap { overflow-x: auto; border: 1px solid var(--ox-rule-strong); max-width: 100%; }
.bp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 1180px; background: #fff; font-variant-numeric: tabular-nums; }
.bp-table thead th { background: var(--ox-bar); color: #fff; padding: 6px 4px 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; line-height: 1.25; text-transform: uppercase; white-space: normal; vertical-align: bottom; text-align: right; border-bottom: 3px solid var(--ox-bar); }
.bp-table thead th.bp-tl { text-align: left; padding-left: 10px; }
.bp-table thead th.bp-on { border-bottom-color: var(--ox-brick); }
.bp-table thead th.bp-grp { text-align: center; vertical-align: middle; font-weight: 400; letter-spacing: .08em; padding: 5px 4px 4px; border-bottom: 1px solid rgba(255,255,255,.28); white-space: nowrap; }
.bp-table thead th.bp-g { border-left: 1px solid rgba(255,255,255,.28); }
.bp-table thead th small { display: block; font-size: 10px; font-weight: 400; letter-spacing: .02em; text-transform: none; opacity: .85; margin-top: 1px; white-space: nowrap; }
.bp-table th.bp-num { width: 4.2%; min-width: 52px; overflow-wrap: normal; word-break: normal; }
.bp-table th.bp-peakcol { width: 58px; }
.bp-plainhead { vertical-align: bottom; }
.bp-sort { all: unset; display: block; width: 100%; cursor: pointer; box-sizing: border-box; text-align: inherit; }
.bp-sort:hover { text-decoration: underline; }
.bp-sort:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bp-mark { display: inline-block; margin-left: 2px; font-size: 8px; color: #fff; vertical-align: 1px; }
.bp-table td { padding: 6px 5px; border-bottom: 1px solid var(--ox-rule); text-align: right; color: var(--ox-ink); vertical-align: middle; }
.bp-table td.bp-tl { text-align: left; }
.bp-table td.bp-g { border-left: 1px solid var(--ox-rule); }
.bp-table td.bp-proj { padding-left: 10px; min-width: 150px; max-width: 240px; line-height: 1.25; overflow-wrap: anywhere; }
.bp-table td small { display: block; font-size: 11px; color: var(--ox-label); margin-top: 2px; }
.bp-table .bp-proj { position: sticky; left: 0; z-index: 1; }
.bp-table td.bp-proj, .bp-table tbody tr td.bp-proj { background: #fff; }
.bp-table tbody tr:hover td { background: rgba(51,63,80,.05); }
.bp-table tbody tr:hover td.bp-proj { background: #f4f5f6; }
.bp-open { all: unset; cursor: pointer; display: block; box-sizing: border-box; }
.bp-open b { font-size: 13px; color: var(--ox-ink); }
.bp-open:hover b { text-decoration: underline; }
.bp-open:focus-visible { outline: 2px solid var(--ox-brick); outline-offset: 2px; }
.bp-table td.bp-status { padding-left: 10px; white-space: nowrap; }
.bp-table td.bp-date { line-height: 1.3; white-space: nowrap; }
.bp-table td.bp-mw { white-space: nowrap; }
.bp-table td.bp-chartcol { padding: 5px 8px 6px 10px; vertical-align: bottom; width: 146px; }
.bp-table td.bp-peak { font-weight: 700; font-size: 13.5px; }
.bp-cut { display: block; font-size: 10.5px; font-weight: 700; color: var(--ox-exp-ink); margin-top: 1px; letter-spacing: 0; text-transform: none; white-space: nowrap; }
.bp-cutkey { display: inline-block; margin: 0 6px 0 0; }
.bp-table td.bp-peakcut { background: #fbf6e4; }
.bp-spark { display: flex; align-items: flex-end; width: 126px; height: 31px; border-bottom: 1px solid var(--ox-rule-strong); }
.bp-spark span { flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; padding: 0 .5px; border-left: 1px solid transparent; }
.bp-spark span.bp-yr { border-left-color: var(--ox-rule); }
.bp-spark span:hover { background: rgba(51,63,80,.1); }
.bp-spark i { display: block; width: 100%; }
.bp-spark.bp-sec i { background: var(--ox-sec); }
.bp-spark.bp-unset i { background: var(--ox-sec-soft); box-shadow: inset 0 0 0 1px var(--ox-sec); }
.bp-spark.bp-exp i { background: var(--ox-exp-line); }
.bp-spark.bp-off i { background: var(--ox-t6); }
.bp-table tfoot td { background: #f3f3f4; font-weight: 700; border-top: 2px solid var(--ox-rule-strong); border-bottom: 0; }
.bp-table tfoot td.bp-proj { white-space: nowrap; background: #f3f3f4; }
.bp-table tfoot td.bp-footlab { font-weight: 400; font-size: 12px; color: var(--ox-label); text-align: right; }
.bp-table tfoot tr.bp-foot2 td { border-top: 1px solid var(--ox-rule); }
.bp-notes { display: flex; flex-direction: column; gap: 5px; }
.bp-choose { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; border: 1px solid var(--ox-rule); background: #f3f3f4; padding: 9px 12px; font-size: 12.5px; color: var(--ox-label); }
.bp-chooselab { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-right: 4px; }
.bp-chip { font: inherit; cursor: pointer; font-size: 12.5px; font-weight: 700; padding: 4px 9px; border: 1px solid var(--ox-rule-strong); background: #fff; color: rgba(51,63,80,.85); }
.bp-chip:hover { border-color: var(--ox-brick); color: var(--ox-ink); }
.bp-chip.bp-on { background: var(--ox-brick); border-color: var(--ox-brick); color: #fff; }
.bp-chip small { font-weight: 400; opacity: .85; margin-left: 5px; font-size: 12px; color: inherit; display: inline; }
.bp-chip[disabled], .bp-choose .ox-btn[disabled] { opacity: .6; cursor: default; }
.bp-choosenote { flex-basis: 100%; font-size: 12px; }
@media (min-width: 1500px) {
  .bp-wrap { overflow: visible; }
  .bp-table thead { position: sticky; top: 0; z-index: 3; }
}
@media (min-width: 1700px) {
  .bp-table { font-size: 13px; }
  .bp-table thead th { font-size: 11px; letter-spacing: .05em; padding-left: 6px; padding-right: 6px; }
  .bp-table td { padding-left: 7px; padding-right: 7px; }
}
@media print { .bp-wrap { overflow: visible; } .bp-table thead th { background: #fff; color: #000; border-bottom: 1.5px solid #000; } .bp-table { min-width: 0; } .bp-choose, .bp-order { display: none; } }
