#pf-act { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
/* Performance > Service Billing (Developer for now, Ali 12 Nov 2026). Classes start with sbl- so no other page shares them. Colours and sizes are the app's own. */
.sbl-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 14px; }
.sbl-months { display: flex; gap: 8px; flex-wrap: wrap; }
.sbl-acts { display: flex; gap: 8px; margin-left: auto; }
.sbl-m { height: 42px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; }
.sbl-m.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.sbl-tag { font-size: 0.78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: #8a5a00; }
.sbl-m.is-on .sbl-tag { background: var(--accent); color: var(--on-accent); }
.sbl-flow { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin: 0 0 16px; overflow: hidden; }
.sbl-f { padding: 12px 16px; display: flex; gap: 12px; align-items: center; border-right: 1px solid var(--line); min-height: 62px; }
.sbl-f:last-child { border-right: 0; }
.sbl-f i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--font-c); background: var(--sunken); color: var(--muted); flex: none; }
.sbl-f.is-done i { background: var(--ok-soft); color: var(--ok); }
.sbl-f.is-now { background: var(--accent-soft); }
.sbl-f.is-now i { background: var(--accent); color: var(--on-accent); }
.sbl-f b { display: block; }
.sbl-f span { color: var(--muted); font-size: 0.86rem; }
.sbl-sub { display: flex; gap: 8px; margin: 0 0 16px; flex-wrap: wrap; }
.sbl-pill { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.sbl-pill.is-on { background: var(--link-soft); border-color: var(--link); color: var(--link-dark); }
.sbl-n { background: var(--accent); color: var(--on-accent); border-radius: 999px; font-size: 0.78rem; padding: 1px 7px; font-weight: 700; }
.sbl-note { margin: 0 0 12px; padding: 10px 14px; border-radius: 8px; background: var(--accent-soft); color: #6b4300; font-weight: 600; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.sbl-note button { margin-left: auto; background: none; border: 0; color: var(--link-dark); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 0; }
.sbl-bar { display: flex; align-items: center; gap: 12px; background: var(--primary); color: #fff; border-radius: var(--r); padding: 10px 16px; margin: 0 0 12px; flex-wrap: wrap; }
.sbl-bar select { height: 36px; min-width: 190px; width: auto; flex: none; }
.sbl-t { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sbl-t th { font-weight: 600; font-size: 0.82rem; color: var(--muted); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sbl-t td { padding: 8px 12px; border-bottom: 1px solid var(--line); font-size: 0.93rem; vertical-align: middle; }
.sbl-t .r { text-align: right; }
.sbl-t tr.is-need td { background: var(--accent-soft); }
.sbl-t select { height: 36px; min-width: 150px; }
.sbl-sheet { background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; box-shadow: 0 10px 30px rgba(13, 27, 42, 0.14); padding: 30px 36px; max-width: 1180px; margin: 0 auto; }
.sbl-sheet h2 { font: 600 1.5rem var(--font-c); margin: 0; }
.sbl-sheet .sbl-sub2 { color: var(--muted); margin: 2px 0 14px; font-size: 0.92rem; }
.sbl-sheet .sbl-rule { height: 3px; background: var(--primary); margin: 10px 0 14px; }
.sbl-sheet .sbl-foot { color: var(--muted); font-size: 0.78rem; margin-top: 14px; }
.sbl-paper { background: var(--sunken); border-radius: var(--r); padding: 24px; }
@media (max-width: 600px) {
  #pf-act { width: 100%; }
  #pf-act .btn { width: 100%; min-height: 48px; }
  .sbl-months { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .sbl-m { flex: none; }
  .sbl-acts { width: 100%; margin-left: 0; }
  .sbl-acts .btn { flex: 1; }
  .sbl-flow { grid-template-columns: repeat(3, 1fr); }
  .sbl-f { flex-direction: column; gap: 4px; padding: 10px 4px; text-align: center; min-height: 0; justify-content: center; }
  .sbl-f span { display: none; }
  .sbl-f.is-now span { display: block; }
  .sbl-sheet { padding: 16px; }
  .sbl-paper { padding: 10px; }
}
.sbl-bar .btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); min-height: 36px; }
.sbl-bar select { color: var(--ink); }

/* Upload page: Weekly or Month Upload, the file boxes (same box as photos, css/photos.css), the Review and the removal alert */
.sbl-pills { margin: 0 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sbl-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.sbl-mode { text-align: left; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r); padding: 14px 18px; display: flex; flex-direction: column; gap: 4px; font: inherit; color: var(--ink); cursor: pointer; }
.sbl-mode b { font-size: 1.05rem; }
.sbl-mode span { color: var(--muted); font-size: 0.92rem; }
.sbl-mode.is-on { border-color: var(--link); background: var(--link-soft); box-shadow: inset 0 0 0 1px var(--link); }
.sbl-files { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 16px; align-items: start; }
.sbl-file .drop-box { margin: 0; }
.drop-box.sbl-done { border: 2px solid var(--ok); background: var(--ok-soft); }
.drop-box.sbl-done .drop-txt small { color: #14663f; }
.sbl-rv .side-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; }
.sbl-rv .side-row dt { font-size: 0.95rem; }
.sbl-rv .side-row dd { margin: 0; text-align: right; font-weight: 600; }
.sbl-rv .big { padding: 14px 0; }
.sbl-rv .big dt { font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.sbl-rv .big dd { font: 600 1.6rem var(--font-c); }
.sbl-alert { background: var(--alert-soft); border: 1px solid #f3b8b3; border-radius: var(--r); overflow: hidden; margin: 0 0 16px; }
.sbl-alert header { padding: 12px 16px; color: #8f1710; font-weight: 700; }
.sbl-alert table { background: #fff; }

/* Lines page: the sheet */
.sbl-bar2 { display: flex; gap: 8px; flex-wrap: nowrap; align-items: center; margin: 0 0 8px; overflow: hidden; } /* one line */
.sbl-bar2 > * { flex: 0 1 auto; min-width: 0; }
.sbl-bar2 .btn, .sbl-bar2 .sbl-chip, .sbl-bar2 .sbl-link { flex: 0 0 auto; }
.sbl-bar2 input[type="search"] { flex: 1 1 110px; min-width: 100px; max-width: 260px; height: 42px; margin: 0; }
.sbl-bar2 select { width: auto; height: 42px; max-width: 168px; }
.sbl-bar2 .btn, .sbl-bar2 .sbl-chip { height: 42px; min-height: 42px; padding-top: 0; padding-bottom: 0; }
.sbl-chip { height: 42px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.sbl-chip.is-on { background: var(--link-soft); border-color: var(--link); color: var(--link-dark); box-shadow: inset 0 0 0 1px var(--link); }
.sbl-sum { margin: 0 0 8px; }
.sbl-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sbl-wrap { background: #fff; overflow: auto; }
.sbl-sheet-t { width: 100%; table-layout: fixed; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 1310px; }
.sbl-sheet-t th { position: sticky; top: 0; background: #fff; text-align: left; padding: 0; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.sbl-sheet-t th.r, .sbl-sheet-t td.r { text-align: right; }
.sbl-h { width: 100%; background: none; border: 0; font: 600 0.8rem var(--font); color: var(--muted); text-align: inherit; padding: 10px 10px; cursor: pointer; }
.sbl-h i { font-style: normal; color: var(--link); margin-left: 4px; }
.sbl-sheet-t td { padding: 6px 10px; border-bottom: 1px solid var(--line); font-size: 0.86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sbl-sheet-t tr.z1 td { background: #e8edf4; }
.sbl-cell { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.sbl-cell.is-need { display: block; width: 100%; background: #fde7b8; box-shadow: inset 0 0 0 1px var(--accent); color: #6b4300; font-weight: 600; padding: 4px 8px; border-radius: 4px; }
.sbl-src { font-size: 0.78rem; padding: 2px 8px; border-radius: 999px; background: var(--sunken); color: var(--muted); }
.sbl-src.is-need { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.sbl-del { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.85rem; cursor: pointer; padding: 2px 4px; }
@media (hover: hover) { .sbl-cell:hover, .sbl-del:hover, .sbl-h:hover { background: var(--row-hover, #f6f8fb); } }
.sbl-impact { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 0.92rem; margin: 8px 0 0; }
@media (max-width: 700px) { .sbl-modes, .sbl-files { grid-template-columns: 1fr; } }

.sbl-scope { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.sbl-scope .check { width: 100%; }
.sbl-ref { font-family: "Barlow Semi Condensed", sans-serif; font-weight: 700; font-size: 1.02rem; color: #0D1B2A; white-space: nowrap; }
.sbl-newlist { max-height: 340px; overflow: auto; margin-top: 12px; border: 1px solid #E1E6EC; border-radius: 8px; }
.sbl-hist { margin-top: 16px; padding: 12px 16px; }
.sbl-hist summary { cursor: pointer; font-weight: 600; }
.sbl-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 4px 0; }
.sbl-kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid #E1E6EC; border-radius: 8px; background: #fff; }
.sbl-kpi span { color: #5A6677; font-size: .86rem; }
.sbl-kpi b { font-family: "Barlow Semi Condensed", sans-serif; font-size: 1.6rem; color: #0D1B2A; }
@media (max-width: 700px) { .sbl-kpis { grid-template-columns: repeat(2, 1fr); } }
.sbl-bt tbody th.l { background: #F3F5F8; color: #0D1B2A; font-weight: 600; }
/* tools on the pills line, and the filter arrow on every heading */
.sbl-pills .sbl-bar2 { flex: 1 1 auto; min-width: 0; margin: 0 0 0 8px; align-self: center; }
.sbl-pills > * { margin-top: 0; margin-bottom: 0; }
.sbl-viewbtn { margin-left: auto; gap: 8px; }
.sbl-fb { position: absolute; right: 10px; top: 50%; width: 18px; height: 18px; margin-top: -9px; padding: 0; border: 0; border-radius: 4px; background: none; cursor: pointer; z-index: 2; }
.sbl-fb::after { content: ""; position: absolute; left: 4px; top: 7px; border: 5px solid transparent; border-top-color: #8A94A3; }
.sbl-fb.is-on { background: #E4ECFB; } .sbl-fb.is-on::after { border-top-color: #1F5FD1; }
.sbl-sheet-t th .sbl-h { padding-right: 28px; }
.sbl-fp { position: fixed; z-index: 70; width: 270px; background: #fff; border: 1px solid #E1E6EC; border-radius: 8px; box-shadow: 0 8px 24px rgba(13, 27, 42, .14); padding: 10px; }
.sbl-fq { width: 100%; height: 38px; margin: 0 0 6px; }
.sbl-fa { display: flex; gap: 12px; align-items: center; margin-bottom: 4px; } .sbl-fa .sbl-link { padding: 0; height: auto; } .sbl-fc { margin-left: auto; color: #5A6677; font-size: .8rem; }
.sbl-fl { max-height: 260px; overflow: auto; border-top: 1px solid #E1E6EC; border-bottom: 1px solid #E1E6EC; padding: 4px 0; }
.sbl-fo { display: flex; align-items: center; gap: 6px; padding: 5px 4px; cursor: pointer; white-space: nowrap; }
.sbl-ff { display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; }

/* the View menu, the filter chips, the status bar and the calmer sheet (design review 12 Nov 2026) */
.sbl-caret { display: inline-block; border: 5px solid transparent; border-top-color: #5A6677; margin: 5px 0 0 6px; }
.sbl-vm { position: fixed; z-index: 75; width: 320px; background: #fff; border: 1px solid #E1E6EC; border-radius: 8px; box-shadow: 0 8px 24px rgba(13, 27, 42, .14); padding: 6px; }
.sbl-vm > button { display: block; width: 100%; text-align: left; background: none; border: 0; font: inherit; padding: 9px 12px; border-radius: 6px; color: #0D1B2A; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .sbl-vm > button:hover { background: #F3F5F8; } }
.sbl-vm-sep { height: 1px; background: #E1E6EC; margin: 4px 0; } .sbl-vm-row span { white-space: nowrap; } .sbl-vm-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 12px; color: #5A6677; font-size: .88rem; }
.sbl-seg2 { display: inline-flex; border: 1px solid #E1E6EC; border-radius: 8px; overflow: hidden; } .sbl-seg2 button { border: 0; background: #fff; font: inherit; font-size: .82rem; padding: 5px 9px; cursor: pointer; color: #5A6677; } .sbl-seg2 button.is-on { background: #0D1B2A; color: #fff; }
.sbl-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .86rem; }
.sbl-fchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px 0 12px; border-radius: 999px; background: #E4ECFB; color: #1A4DB0; font-weight: 600; }
.sbl-fchip button { border: 0; background: none; color: inherit; font-size: 1.1rem; line-height: 1; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; }
.sbl-chips .sbl-link { height: 30px; padding: 0 6px; }
.sbl-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 38px; padding: 0 14px; background: #F3F5F8; border-top: 1px solid #E1E6EC; font-size: .84rem; color: #5A6677; }
.sbl-saved { color: #1F7A3D; font-weight: 600; }
.sbl-box .sbl-sum { margin: 0; }
/* compact rows */
.sbl-wrap.is-compact .sbl-sheet-t tbody tr:not(.sbl-sp) { height: 36px; } .sbl-wrap.is-compact .sbl-sheet-t td { padding-top: 2px; padding-bottom: 2px; font-size: .84rem; }
.sbl-wrap.is-compact .sbl-cell { padding-top: 3px; padding-bottom: 3px; } .sbl-wrap.is-compact .sbl-in { height: 28px; }
/* quiet heading arrows and a grip on hover */
@media (hover: hover) and (pointer: fine) {
  .sbl-fb:not(.is-on) { opacity: 0; } .sbl-sheet-t th:hover .sbl-fb, .sbl-fb:focus-visible { opacity: 1; }
  .sbl-sheet-t th::before { content: "\22EE\22EE"; position: absolute; left: 1px; top: 50%; margin-top: -9px; font-size: 11px; letter-spacing: -3px; color: #AEB8C5; opacity: 0; line-height: 16px; pointer-events: none; }
  .sbl-sheet-t th:hover::before { opacity: 1; }
}
/* cells that need an answer: calm, with a small amber dot (the amber button stays the one next step of the page) */
.sbl-cell.is-need { box-shadow: none !important; background: #fff !important; border: 1px dashed #AEB8C5 !important; color: #5A6677 !important; font-weight: 500; position: relative; padding-left: 22px !important; }
.sbl-cell.is-need::before { content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #F5A524; }
.sbl-in-l li.sbl-in-h { color: #5A6677; font-size: .78rem; border-top: 1px solid #E1E6EC; margin-top: 4px; padding-top: 7px; cursor: default; white-space: normal; max-width: 300px; }
/* a saved line flashes light amber for a moment */
.sbl-sheet-t tr td { transition: background-color .5s ease-out; } .sbl-sheet-t tr.is-saved td { background: #FFF4D6 !important; transition: none; }
@media (prefers-reduced-motion: reduce) { .sbl-sheet-t tr td { transition: none; } }

/* the Service Division Weekly Report: the Excel REPORT sheet upgraded (Ali, 12 Nov 2026). Navy, link blue and the quiet greys of the app; amber is not used here. */
.sbr-sheet { background: #fff; border: 1px solid #E1E6EC; border-radius: 8px; margin-top: 12px; color: #0D1B2A; overflow: hidden; position: relative; }
.sbr-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 20px 24px; background: #0D1B2A; color: #fff; }
.sbr-top h1 { margin: 0; font: 600 1.55rem "Barlow Semi Condensed", sans-serif; letter-spacing: .01em; } .sbr-top p { margin: 2px 0 0; color: #B7C3D4; font-size: 1.02rem; }
.sbr-asof { text-align: right; display: grid; gap: 1px; } .sbr-asof span { color: #B7C3D4; font-size: .82rem; } .sbr-asof b { font: 600 1.35rem "Barlow Semi Condensed", sans-serif; } .sbr-asof em { font-style: normal; color: #B7C3D4; font-size: .8rem; }
.sbr-sec { padding: 18px 24px 4px; } .sbr-sec + .sbr-sec { padding-top: 10px; }
.sbr-h { margin: 0 0 10px; font: 600 1.12rem "Barlow Semi Condensed", sans-serif; color: #0D1B2A; padding-left: 10px; border-left: 4px solid #1F5FD1; line-height: 1.2; }
.sbr-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(240px, 1.7fr); border: 1px solid #E1E6EC; border-radius: 8px; overflow: hidden; }
.sbr-stat { padding: 12px 16px; border-right: 1px solid #E1E6EC; display: grid; align-content: start; gap: 1px; } .sbr-stat span { color: #5A6677; font-size: .9rem; } .sbr-stat i { font-style: normal; color: #8A94A3; font-size: .82rem; }
.sbr-stat b { font: 600 1.75rem/1.15 "Barlow Semi Condensed", sans-serif; font-variant-numeric: tabular-nums; margin-top: 4px; } .sbr-stat.is-key { background: #F3F7FF; } .sbr-stat.is-up b { color: #1F5FD1; } .sbr-stat.is-down b { color: #B4501A; }
.sbr-ytdbars { padding: 12px 16px; display: grid; gap: 10px; align-content: center; } .sbr-ytdbars > div { display: grid; grid-template-columns: 110px minmax(0, 1fr) 70px; align-items: center; gap: 10px; font-size: .84rem; color: #5A6677; } .sbr-ytdbars b { text-align: right; color: #0D1B2A; font-variant-numeric: tabular-nums; }
.sbd-track u.bud { background: #CBD5E3; }
.sbr-scroll { overflow-x: auto; }
.sbr-t { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 0 0 8px; }
.sbr-t th, .sbr-t td { border: 1px solid #E1E6EC; padding: 6px 10px; text-align: right; font-variant-numeric: tabular-nums; } .sbr-t th { font-weight: 600; background: #F8FAFC; color: #0D1B2A; }
.sbr-t .l, .sbr-t th.l { text-align: left; white-space: nowrap; } .sbr-t tr.is-key td, .sbr-t tr.is-key td.l { background: #F3F7FF; font-weight: 600; } .sbr-t tr.is-key td.l { font-weight: 600; }
.sbr-q .sbr-cur { background: #E4ECFB; text-align: center; color: #1A4DB0; } .sbr-q .sbr-qs { text-align: center; }
.sbr-field { background: #DCE3EE !important; text-align: center !important; } .sbr-work { background: #F6DCCB !important; text-align: center !important; }
.sbr-type { background: #F3F5F8 !important; text-align: center !important; width: 110px; } .sbr-lab { text-align: center !important; color: #5A6677; background: #fff; }
.sbr-bt tbody { border-top: 6px solid #fff; }
.seg-automotive { background: #F1F6FC; } .seg-industrial-field { background: #F2F8EE; } .seg-fcs { background: #FFFAEB; } .seg-power-tools { background: #FFF1F1; }
.seg-welding-solution { background: #F4F4F4; } .seg-cleaning-solution { background: #EEF1F6; } .seg-industrial-workshop { background: #FEF3EA; }
.sbr-bt thead th.seg-automotive { background: #CFE0F3; } .sbr-bt thead th.seg-industrial-field { background: #D6E8C9; } .sbr-bt thead th.seg-fcs { background: #FFE9A8; }
.sbr-bt thead th.seg-power-tools { background: #FAB8B8; } .sbr-bt thead th.seg-welding-solution { background: #D9D9D9; } .sbr-bt thead th.seg-cleaning-solution { background: #C5CEDC; } .sbr-bt thead th.seg-industrial-workshop { background: #F6CFB5; }
.sbr-ops .seg-power-tools, .sbr-ops .seg-welding-solution, .sbr-ops .seg-cleaning-solution, .sbr-ops .seg-industrial-workshop { background: #F8FAFC; }
.sbr-n { font-weight: 600; } .sbr-n.is-up { color: #1F5FD1; } .sbr-n.is-down { color: #B4501A; } .sbr-n.is-flat { color: #8A94A3; font-weight: 500; }
.sbr-soon td { color: #8A94A3; } .sbr-soon td.l { color: #5A6677; } .sbr-note { margin: 2px 0 8px; } .sbr-proj .r { text-align: right; }
.sbr-ops { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; align-items: start; }
.sbr-comments { min-height: 90px; border: 1px solid #E1E6EC; border-radius: 6px; margin-bottom: 18px; }
.sbr-three { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 230px; gap: 12px; align-items: stretch; }
.sbr-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .sbr-w2 { grid-column: span 2; }
.sbr-card { border: 1px solid #E1E6EC; border-radius: 8px; padding: 12px 14px; min-width: 0; background: #fff; } .sbr-card h3 { margin: 0 0 6px; font: 600 .98rem "Barlow Semi Condensed", sans-serif; }
.sbr-ringcard { display: flex; flex-direction: column; align-items: center; } .sbr-ringcard h3 { align-self: flex-start; }
/* charts, keys, bars (shared) */
.sbd-svg { width: 100%; height: auto; display: block; } .sbd-ax { font: 11px Barlow, sans-serif; fill: #5A6677; } .sbd-ax.is-now { font-weight: 700; fill: #0D1B2A; } .sbd-end { font: 600 12px Barlow, sans-serif; fill: #0D1B2A; }
.sbd-ring { width: 150px; height: 150px; } .sbd-rt { font: 600 24px "Barlow Semi Condensed", sans-serif; fill: #0D1B2A; } .sbd-rs { font: 12px Barlow, sans-serif; fill: #5A6677; }
.sbd-key { display: grid; gap: 4px; margin: 6px 0 0; padding: 0; list-style: none; font-size: .84rem; color: #5A6677; align-self: stretch; } .sbd-key li { display: flex; align-items: center; gap: 8px; }
.sbd-keyrow { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 4px; } .sbd-key i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.sbd-key i.a { background: #0D1B2A; } .sbd-key i.o { background: #1F5FD1; } .sbd-key i.b { background: #CBD5E3; } .sbd-key i.l1 { background: #9AA7BA; height: 3px; } .sbd-key i.e { background: repeating-linear-gradient(45deg, #1F5FD1 0 3px, #DCE7FB 3px 6px); }
.sbd-track { position: relative; height: 12px; background: #EEF1F5; border-radius: 6px; } .sbd-track u { position: absolute; left: 0; top: 0; bottom: 0; background: #0D1B2A; border-radius: 6px; } .sbd-track s { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #5A6677; }
.sbd-fw { margin: 8px 0 12px; } .sbd-fwh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 6px; } .sbd-fwh > span:first-child { font-weight: 600; } .sbd-fwh b { font: 600 1.4rem "Barlow Semi Condensed", sans-serif; } .sbd-fwh i { font-style: normal; color: #5A6677; font-size: .82rem; }
.sbd-d { font-weight: 600; font-size: .86rem; } .sbd-d.is-up { color: #1F5FD1; } .sbd-d.is-down { color: #B4501A; }
.sbd-segs { display: grid; gap: 8px; } .sbd-seg { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 2px 10px; font-size: .84rem; } .sbd-seg > span { color: #5A6677; } .sbd-seg .sbd-track { grid-column: 1 / -1; height: 9px; } .sbd-seg b { font-variant-numeric: tabular-nums; } .sbd-seg em { font-style: normal; font-weight: 600; font-size: .78rem; } .sbd-seg em.is-up { color: #1F5FD1; } .sbd-seg em.is-down { color: #B4501A; }
.sbd-share { display: flex; height: 26px; border-radius: 6px; overflow: hidden; gap: 2px; margin: 8px 0 12px; } .sbd-share i { display: block; min-width: 3px; }
.sbd-sharelist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; } .sbd-sharelist li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 44px; gap: 8px; align-items: center; } .sbd-sharelist li i { width: 12px; height: 12px; border-radius: 3px; } .sbd-sharelist b { font-variant-numeric: tabular-nums; } .sbd-sharelist em { font-style: normal; color: #5A6677; text-align: right; }
.sbd-cs { overflow-x: auto; }
.sbd-tipbox { position: absolute; z-index: 30; pointer-events: none; background: #0D1B2A; color: #fff; border-radius: 8px; padding: 8px 12px; font-size: .84rem; display: grid; gap: 2px; min-width: 150px; box-shadow: 0 6px 18px rgba(13, 27, 42, .25); } .sbd-tipbox[hidden] { display: none; } .sbd-tipbox b { font-weight: 600; }
@media (max-width: 1100px) { .sbr-three, .sbr-more, .sbr-sum, .sbr-ops { grid-template-columns: 1fr 1fr; } .sbr-w2 { grid-column: 1 / -1; } .sbr-ytdbars { grid-column: 1 / -1; } }
@media (max-width: 700px) { .sbr-three, .sbr-more, .sbr-sum, .sbr-ops { grid-template-columns: 1fr; } .sbr-sec { padding: 14px 14px 4px; } .sbr-top { padding: 16px 14px; } .sbd-cs .sbd-svg { min-width: 620px; } }
/* alignment: every table has fixed columns (never sized by what is in them), equal figure columns, row labels on the left, figures on the right */
.sbr-t { table-layout: fixed; } .sbr-t .c-type { width: 6%; } .sbr-t .c-lab { width: 11%; } .sbr-t .c-lab2 { width: 17%; } .sbr-t .c-no { width: 70px; } .sbr-t .c-stat { width: 27%; } .sbr-t .c-proj { width: 46%; } .sbr-t .c-seg { width: 14%; }
.sbr-t td, .sbr-t th { overflow: hidden; text-overflow: ellipsis; }
.sbr-tot th.sbr-field, .sbr-tot th.sbr-work { text-align: right !important; }
.sbr-lab { text-align: left !important; background: #fff; } .sbr-type { text-align: left !important; vertical-align: middle; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
.sbr-bt thead th, .sbr-opf thead th, .sbr-opw thead th { white-space: normal; line-height: 1.05; padding-left: 3px; padding-right: 3px; overflow: visible; text-overflow: clip; }
.sbr-bt thead tr + tr th, .sbr-opf thead tr + tr th, .sbr-opw thead tr + tr th { height: 26px; }
.sbr-bt tbody td.sbr-lab { white-space: nowrap; overflow: visible; text-overflow: clip; }
.sbr-ytdbars > div > span { white-space: nowrap; }
.sbr-opsx { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.sbr-opn .c-st { width: 38%; } .sbr-opn .c-wh { width: 32%; } .sbr-opn .c-n { width: 15%; } .sbr-opn td, .sbr-opn th { overflow: visible; } .sbr-opn td .status-pill { white-space: nowrap; }
.sbr-late { color: #E1251B; font-weight: 600; }
.sbr-hold { display: grid; grid-template-columns: 82px minmax(0, 1fr) 30px; align-items: center; gap: 10px; margin: 9px 0; font-size: .88rem; } .sbr-hold > span { color: #5A6677; } .sbr-hold b { text-align: right; font-variant-numeric: tabular-nums; } .sbr-hold .sbd-track { height: 12px; }
@media (max-width: 1100px) { .sbr-opsx { grid-template-columns: 1fr; } }
/* restored: width handle, move marks, typing box and list, row height (lines page) */
.sbl-sheet-t th { z-index: 3; } /* sticky heading, also the anchor of the width handle */
.sbl-rs { position: absolute; top: 0; right: 0; width: 8px; height: 100%; cursor: col-resize; touch-action: none; }
.sbl-rs::after { content: ""; position: absolute; right: 3px; top: 25%; height: 50%; width: 1px; background: #E1E6EC; }
@media (hover: hover) and (pointer: fine) { .sbl-rs:hover::after, .sbl-rs.is-drag::after { background: #1F5FD1; width: 2px; } }
.sbl-link { background: none; border: 0; color: #1F5FD1; font: inherit; cursor: pointer; padding: 0 8px; height: 42px; }
.sbl-sheet-t th.is-moving { opacity: .5; } .sbl-sheet-t th.is-over { box-shadow: inset 3px 0 0 #1F5FD1; }
.sbl-allbtns { display: flex; gap: 8px; margin: 0 0 8px; } .sbl-allbtns .sbl-link { padding: 0; height: auto; }
.sbl-in { width: 100%; height: 32px; border: 1px solid #1F5FD1; border-radius: 8px; padding: 0 8px; font: inherit; background: #fff; color: #0D1B2A; }
.sbl-in-l { position: fixed; z-index: 60; margin: 2px 0 0; padding: 4px; list-style: none; background: #fff; border: 1px solid #E1E6EC; border-radius: 8px; box-shadow: 0 6px 18px rgba(13, 27, 42, .12); max-height: 260px; overflow: auto; }
.sbl-in-l li { padding: 7px 10px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.sbl-in-l li.is-hi { background: #F3F5F8; font-weight: 600; }
.sbl-sheet-t tbody tr:not(.sbl-sp) { height: 52px; } .sbl-sheet-t tr.sbl-sp td { padding: 0; border: 0; background: none !important; }
/* printed or saved as PDF: ONE A4 page, a compact copy of the report in colour (the page size and the zoom are set when it is printed) */
#sbr-printhost { display: none; }
@media print { html { background: #fff !important; } body.is-printing-report { background: #fff !important; } body.is-printing-report > *:not(#sbr-printhost) { display: none !important; } body.is-printing-report #sbr-printhost { display: block !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; } #sbd-tip-p { display: none !important; } .sbr-scroll, .sbd-cs { overflow: visible; } }
#sbr-print-copy { border: 0; margin: 0 auto; border-radius: 0; overflow: visible; font-size: .72rem; }
#sbr-print-copy .sbr-top { padding: 8px 14px; } #sbr-print-copy .sbr-top h1 { font-size: 1.05rem; } #sbr-print-copy .sbr-top p { font-size: .72rem; margin: 0; } #sbr-print-copy .sbr-asof b { font-size: 1rem; } #sbr-print-copy .sbr-asof span, #sbr-print-copy .sbr-asof em { font-size: .64rem; }
#sbr-print-copy .sbr-sec { padding: 6px 14px 0; } #sbr-print-copy .sbr-sec + .sbr-sec { padding-top: 4px; } #sbr-print-copy .sbr-h { font-size: .84rem; margin: 0 0 4px; border-left-width: 3px; }
#sbr-print-copy .sbr-stat { padding: 5px 10px; } #sbr-print-copy .sbr-stat b { font-size: 1.1rem; margin-top: 0; } #sbr-print-copy .sbr-stat span { font-size: .68rem; } #sbr-print-copy .sbr-stat i { font-size: .62rem; } #sbr-print-copy .sbr-ytdbars { padding: 5px 10px; gap: 4px; }
#sbr-print-copy .sbr-t { font-size: .64rem; margin: 0 0 4px; } #sbr-print-copy .sbr-t th, #sbr-print-copy .sbr-t td { padding: 1.5px 5px; } #sbr-print-copy .sbr-type { width: 70px; }
#sbr-print-copy .sbr-card { padding: 5px 8px; break-inside: avoid; } #sbr-print-copy .sbr-card h3 { font-size: .74rem; margin: 0 0 2px; } #sbr-print-copy .sbd-key { font-size: .6rem; gap: 2px; margin: 2px 0; } #sbr-print-copy .sbd-keyrow { gap: 8px; }
#sbr-print-copy .sbr-three { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 150px; gap: 8px; } #sbr-print-copy .sbd-ring { width: 96px; height: 96px; } #sbr-print-copy .sbr-ringcard .sbd-key li { gap: 5px; }
#sbr-print-copy .sbr-sum { grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(200px, 1.7fr); } #sbr-print-copy .sbr-ops { grid-template-columns: 1fr 2fr; gap: 8px; }
#sbr-print-copy .sbr-note { font-size: .58rem; margin: 0 0 2px; } #sbr-print-copy .sbr-comments { min-height: 30px; margin-bottom: 8px; } #sbr-print-copy .sbr-bt tbody { border-top-width: 3px; }
#sbr-print-copy .sbr-card .sbd-svg:not(.sbd-ring) { max-height: 150px; } #sbr-print-copy .sbr-t { line-height: 1.12; } #sbr-print-copy .sbr-t th, #sbr-print-copy .sbr-t td { padding-top: 1px; padding-bottom: 1px; } #sbr-print-copy .sbr-stat { padding-top: 4px; padding-bottom: 4px; } #sbr-print-copy .sbr-ringcard .sbd-key { font-size: .58rem; }
#sbr-print-copy .sbr-ytdbars { grid-column: auto; } #sbr-print-copy .sbr-ytdbars > div { grid-template-columns: 96px minmax(0, 1fr) 54px; } #sbr-print-copy .sbr-w2 { grid-column: auto; }
#sbr-print-copy .sbr-ytdbars > div { grid-template-columns: 112px minmax(0, 1fr) 54px; } #sbr-print-copy .sbr-ytdbars > div > span { overflow: visible; }
#sbr-print-copy .sbr-opsx { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } #sbr-print-copy .sbr-hold { margin: 5px 0; font-size: .66rem; grid-template-columns: 62px minmax(0, 1fr) 24px; } #sbr-print-copy .sbr-opn .status-pill { font-size: .6rem; padding: 0 6px; }
#sbr-print-copy .sbr-holds p { font-size: .58rem; margin: 4px 0 0; } #sbr-print-copy .sbr-holds h3 { margin-bottom: 4px; }
.sbr-amcrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; } .sbr-amc .c-amck { width: 24%; } .sbr-amc .is-pct { font-weight: 600; color: #0D1B2A; } .sbr-amctype { display: inline-flex; align-items: center; gap: 6px; }
.sbr-amc thead th { white-space: normal; line-height: 1.05; padding-left: 3px; padding-right: 3px; overflow: visible; text-overflow: clip; }
@media (max-width: 1100px) { .sbr-amcrow { grid-template-columns: 1fr; } }
#sbr-print-copy .sbr-amcrow { grid-template-columns: 1fr 1fr; gap: 8px; } #sbr-print-copy .sbr-amc { font-size: .6rem; } #sbr-print-copy .sbr-amctype .amc-type-badge { transform: scale(.85); }
.sbr-amctype .amc-type-badge { width: 16px; height: 16px; min-width: 16px; font-size: .62rem; line-height: 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; }
#sbr-print-copy .sbr-amc .c-amck { width: 22%; } #sbr-print-copy .sbr-amc thead th { font-size: .56rem; } #sbr-print-copy .sbr-amctype .amc-type-badge { width: 12px; height: 12px; min-width: 12px; font-size: .5rem; line-height: 12px; transform: none; } #sbr-print-copy .sbr-amctype { gap: 4px; }
.sbr-amc .c-amck { width: 25%; } .sbr-hold { grid-template-columns: 110px minmax(0, 1fr) 40px; } #sbr-print-copy .sbr-hold { grid-template-columns: 96px minmax(0, 1fr) 30px; } #sbr-print-copy .sbr-amc .c-amck { width: 25%; }
.sbr-proj .c-no { width: 4%; } .sbr-proj .c-proj { width: 42%; } .sbr-proj .c-seg { width: 14%; } .sbr-proj .c-stg { width: 26%; }
.sbr-steps { display: inline-flex; gap: 2px; vertical-align: middle; margin-right: 8px; } .sbr-steps i { width: 9px; height: 8px; border-radius: 2px; background: #DDE3EC; display: inline-block; } .sbr-steps i.on { background: #0D1B2A; }
.sbr-proj td.l, .sbr-proj th.l { white-space: normal; }
/* header with the logo (as it is, on a white plate), the stamp, the Headlines strip, values on the bars and the footer (design review 13 Nov 2026) */
.sbr-brand { display: flex; align-items: center; gap: 14px; } .sbr-logo { background: #fff; border-radius: 6px; padding: 5px 9px; display: inline-flex; } .sbr-logo img { height: 30px; width: auto; display: block; }
.sbr-top h1 { margin: 0; font: 600 1.45rem "Barlow Semi Condensed", sans-serif; } .sbr-top p { margin: 1px 0 0; color: #B7C3D4; font-size: .95rem; }
.sbr-asof { display: grid; justify-items: end; gap: 1px; } .sbr-asof b { font: 600 1.55rem "Barlow Semi Condensed", sans-serif; } .sbr-asof em { font-style: normal; color: #B7C3D4; font-size: .82rem; }
.sbr-stamp { text-decoration: none; margin-top: 4px; padding: 1px 10px; border-radius: 999px; background: #F5E7C8; color: #7A4A06; font-size: .74rem; font-weight: 600; } .sbr-asof u + * { margin: 0; }
.sbr-heads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 2px; }
.sbr-headline { border: 1px solid #E1E6EC; border-left: 4px solid #8A94A3; border-radius: 6px; padding: 8px 12px; display: grid; gap: 1px; background: #fff; } .sbr-headline b { font: 600 1.35rem/1.1 "Barlow Semi Condensed", sans-serif; } .sbr-headline span { color: #5A6677; font-size: .8rem; line-height: 1.25; }
.sbr-headline.is-up { border-left-color: #1F5FD1; } .sbr-headline.is-up b { color: #1F5FD1; } .sbr-headline.is-down { border-left-color: #B4501A; } .sbr-headline.is-down b { color: #B4501A; }
.sbd-val { font: 600 9.5px Barlow, sans-serif; fill: #0D1B2A; } .sbd-val.is-bud { fill: #5A6677; font-weight: 500; }
.sbr-foot { display: flex; justify-content: space-between; gap: 12px; padding: 8px 24px 12px; margin-top: 8px; border-top: 1px solid #E1E6EC; color: #5A6677; font-size: .76rem; }
@media (max-width: 1100px) { .sbr-heads { grid-template-columns: 1fr 1fr; } } @media (max-width: 700px) { .sbr-heads { grid-template-columns: 1fr; } .sbr-top { flex-wrap: wrap; } }
/* the printed page: two columns for Totals, Service Operation and AMC, so everything can print larger */
#sbr-print-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; align-content: start; }
#sbr-print-copy > * { grid-column: 1 / -1; } #sbr-print-copy > [data-sec="totals"], #sbr-print-copy > [data-sec="amc"] { grid-column: 1; } #sbr-print-copy > [data-sec="ops"] { grid-column: 2; grid-row: span 2; }
#sbr-print-copy .sbr-sec { padding-left: 14px; padding-right: 14px; } #sbr-print-copy [data-sec="totals"], #sbr-print-copy [data-sec="amc"] { padding-right: 4px; } #sbr-print-copy [data-sec="ops"] { padding-left: 4px; }
#sbr-print-copy .sbr-opsx { grid-template-columns: 1fr; gap: 6px; } #sbr-print-copy .sbr-amc .c-amck { width: 24%; }
#sbr-print-copy .sbr-top { padding: 8px 14px; } #sbr-print-copy .sbr-logo img { height: 22px; } #sbr-print-copy .sbr-top h1 { font-size: 1.1rem; } #sbr-print-copy .sbr-asof b { font-size: 1.15rem; } #sbr-print-copy .sbr-stamp { font-size: .6rem; padding: 0 8px; margin-top: 2px; }
#sbr-print-copy .sbr-heads { gap: 8px; } #sbr-print-copy .sbr-headline { padding: 5px 9px; } #sbr-print-copy .sbr-headline b { font-size: 1rem; } #sbr-print-copy .sbr-headline span { font-size: .6rem; }
#sbr-print-copy .sbr-foot { padding: 4px 14px 6px; margin-top: 2px; font-size: .58rem; }
#sbr-print-copy .sbr-heads { grid-template-columns: repeat(4, minmax(0, 1fr)); }
#sbr-print-copy .sbr-tot .c-lab2 { width: 36%; } #sbr-print-copy .sbr-amc td.l { white-space: normal; }
#sbr-print-copy .sbr-opsx .sbr-holds, #sbr-print-copy [data-sec="amc"] .sbr-note { display: none; }
#sbr-print-copy .sbr-card .sbd-svg:not(.sbd-ring) { max-height: 135px; } #sbr-print-copy .sbr-comments { min-height: 22px; margin-bottom: 4px; }
/* the one-page PDF (report-visual.js; layout chosen by Ali, 14 Nov 2026): read from top to bottom, every block a white card. One palette (the variables below),
   two fonts, sizes in pixels for a sheet laid out about 900px wide and then scaled to the A4 page by report-print.js. */
#sbr-print-copy.sbv, .sbv { --navy: #0D1B2A; --blue: var(--r-up, #3D6EA8); --orange: var(--r-dn, #C0504D); --orange-t: var(--r-dn, #C0504D); --ach: var(--r-ach, #35618F); --oih: var(--r-oih, #6F9AC9); --eo: var(--r-eo, #B6CBE6); --eo2: var(--r-eo2, #6F9AC9); --grey: #5A6677; --budget: var(--r-bud, #CBD5E3); --line: #E1E6EC; --line-strong: #B7C3D4; --soft: #F3F5F8; --key: #F3F7FF;
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding-bottom: 8px; box-sizing: border-box; background: #fff; color: var(--navy); font: 11px/1.3 Barlow, sans-serif; font-variant-numeric: tabular-nums; }
.sbv b, .sbv h1, .sbv h3 { font-weight: 600; } .sbv .is-up { color: var(--blue); } .sbv .is-down { color: var(--orange-t); }
/* header: the logo, the title and the "As of" date, on white with a navy line */
.sbv-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 2px solid var(--navy); }
.sbv-brand { display: flex; align-items: center; gap: 14px; } .sbv-brand img { height: 26px; width: auto; display: block; } .sbv-top h1 { margin: 0; font: 600 20px/1.15 "Barlow Semi Condensed", sans-serif; }
.sbv-asof { margin: 0; color: var(--grey); } .sbv-asof b { margin-left: 4px; color: var(--navy); font: 600 17px "Barlow Semi Condensed", sans-serif; }
/* sections and cards */
.sbv-sec { padding: 0 16px; width: 100%; box-sizing: border-box; } .sbv-two, .sbv-ops { display: grid; gap: 10px; align-items: stretch; } .sbv-two { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } .sbv-ops { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.sbv-card { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; background: #fff; display: flex; flex-direction: column; min-width: 0; break-inside: avoid; }
.sbv-card > h3 { margin: 0 0 6px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font: 600 13.5px/1.2 "Barlow Semi Condensed", sans-serif; } .sbv-card > h3 small { font: 400 9.5px Barlow, sans-serif; color: var(--grey); white-space: nowrap; }
.sbv .sbd-key { margin: 5px 0 0; gap: 3px 10px; font-size: 9.5px; color: var(--grey); } .sbv .sbd-key b { color: var(--navy); } .sbv-card > svg { width: 100%; height: auto; flex: none; } .sbv .sbd-ax, .sbv .sbd-val, .sbv .sbd-end { font-size: 10px; }
.sbv .sbd-track { height: 10px; border-radius: 0; background: var(--soft); } .sbv .sbd-track u { border-radius: 0; background: var(--ach); } .sbv .sbd-track.is-month u { background: var(--oih); } .sbv .sbd-track.is-below u, .sbv .sbv-hbar.is-below u { background: var(--orange); }
/* the bars drawn with boxes (year bar, the bars above the quarters table): achievement, order in hand, expected orders, budget */
.sbv-ybar i.a, .sbv-cb i.a { background: var(--ach); } .sbv-ybar i.o, .sbv-cb i.o { background: var(--oih); } .sbv-ybar i.e, .sbv-cb i.e { background: repeating-linear-gradient(45deg, var(--eo2) 0 1.5px, var(--eo) 1.5px 3px); } .sbv-cb i.b { background: var(--budget); }
/* headline figures */
.sbv-hero { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 26px; align-items: center; padding: 9px 14px; }
.sbv-main > span, .sbv-side span, .sbv-year > span { display: block; font-size: 10.5px; color: var(--grey); } .sbv-main > i, .sbv-side i { display: block; font-style: normal; font-size: 9.5px; color: var(--grey); }
.sbv-main > b { display: block; font: 600 44px/1 "Barlow Semi Condensed", sans-serif; } .sbv-side { display: grid; grid-template-columns: repeat(3, auto); gap: 20px; align-items: start; } .sbv-side b { display: block; font: 600 19px/1.15 "Barlow Semi Condensed", sans-serif; }
.sbv-year > span b { color: var(--navy); font: 600 16px "Barlow Semi Condensed", sans-serif; } .sbv-ybar { position: relative; display: flex; height: 14px; margin-top: 16px; background: var(--soft); } .sbv-ybar i { height: 100%; }
.sbv-ybar u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--navy); text-decoration: none; } .sbv-ybar em { position: absolute; bottom: 100%; right: 4px; white-space: nowrap; font-style: normal; font-size: 9px; font-weight: 600; }
/* current quarter and sales quarters: the table with its bars above each column */
.sbv-q { width: 100%; border-collapse: collapse; font-size: 10.5px; } .sbv-q th, .sbv-q td { padding: 3.5px 6px; text-align: right; white-space: nowrap; } .sbv-q .l { text-align: left; }
.sbv-q thead th { font-weight: 600; } .sbv-q thead tr:first-child th { text-align: center; } .sbv-q th.is-cur { background: #E4ECFB; color: #1A4DB0; } .sbv-q thead tr:last-child th { border-bottom: 1px solid var(--line-strong); } .sbv-q th.is-now { font-weight: 700; }
.sbv-q tbody td { border-bottom: 1px solid var(--line); } .sbv-q tbody tr:last-child td { border-bottom: 0; } .sbv-q tr.is-key td, .sbv-amc tr.is-key td { background: var(--key); font-weight: 600; }
.sbv-bars th { vertical-align: bottom; font-weight: 400; } .sbv-bars .sbd-key { display: grid; gap: 2px; margin: 0; } .sbv-q td.sbv-cb { vertical-align: bottom; padding: 4px 6px 0; border: 0; }
.sbv-cb > div { height: 70px; display: flex; align-items: flex-end; justify-content: flex-end; gap: 1px; } .sbv-cb > div > i, .sbv-cb span { display: block; width: 17px; } .sbv-cb span { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; } .sbv-cb span i { display: block; width: 100%; }
/* field and workshop */
.sbv-fw { margin: 0 0 9px; } .sbv-fw > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 4px; font-size: 10.5px; } .sbv-fw span { font: 600 18px "Barlow Semi Condensed", sans-serif; } .sbv-fw i { font-style: normal; color: var(--grey); } .sbv-fw em { font-style: normal; font-weight: 700; }
.sbv-fs { display: grid; gap: 3px; margin-top: 6px; } .sbv-fs > div { display: grid; grid-template-columns: 112px 56px 72px 46px minmax(0, 1fr); align-items: center; gap: 6px; font-size: 9.5px; } .sbv-fs span { font: inherit; color: var(--grey); } .sbv-fs b { font: 600 11px "Barlow Semi Condensed", sans-serif; text-align: right; } .sbv-fs i, .sbv-fs em { font-size: 9px; } .sbv-fs em { text-align: right; } .sbv-fs .sbd-track { height: 5px; }
.sbv-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); } .sbv-facts span { display: block; font-size: 9.5px; color: var(--grey); } .sbv-facts b { font: 600 13px "Barlow Semi Condensed", sans-serif; }
/* type by segment: a row for each segment, a column for each type */
.sbv-heat { display: grid; grid-template-columns: 104px repeat(4, minmax(0, 1fr)); gap: 3px; } .sbv-hh { padding: 4px; border-radius: 4px; background: var(--soft); text-align: center; font-size: 9.5px; font-weight: 600; } .sbv-hh b { font: 600 13px "Barlow Semi Condensed", sans-serif; } .sbv-hh small { font-weight: 400; font-size: 9px; color: var(--grey); }
.sbv-hl { display: flex; align-items: center; font-size: 10.5px; font-weight: 600; } .sbv-hc { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 0 6px; padding: 3px 7px; border-radius: 5px; background: var(--soft); } .sbv-hc.is-empty { opacity: .5; }
.sbv-hc b { font: 600 13.5px/1.1 "Barlow Semi Condensed", sans-serif; } .sbv-hc i { font-style: normal; font-size: 9px; font-weight: 700; text-align: right; } .sbv-hc small { grid-column: 1 / -1; font-size: 9px; color: var(--grey); }
.sbv-hbar { grid-column: 1 / -1; display: block; height: 3px; margin-top: 2px; background: var(--line); } .sbv-hbar u { display: block; height: 100%; background: var(--ach); } .sbv-note { margin: 5px 0 0; font-size: 9px; color: var(--grey); }
.sbv-hc.h3 { background: var(--r-h3, #D3DFEF); } .sbv-hc.h2 { background: var(--r-h2, #E2EAF5); } .sbv-hc.h1 { background: var(--r-h1, #EEF3F9); } .sbv-hc.h-1 { background: var(--r-h-1, #F7E6E4); } .sbv-hc.h-2 { background: var(--r-h-2, #F0CFCC); } .sbv-hc.h-3 { background: var(--r-h-3, #E6B5B1); }
/* service operation: a share bar, then one column for each of Office, Technician, Supplier, Customer */
.sbv-split { display: flex; gap: 1px; height: 12px; margin-bottom: 7px; } .sbv-split i { height: 100%; } .sbv-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sbv-gh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 3px; padding-bottom: 2px; border-bottom: 2px solid; } .sbv-gh span { font-weight: 700; } .sbv-gh b { font: 600 16px "Barlow Semi Condensed", sans-serif; }
.sbv-op { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 1.5px 0; } .sbv-op .status-pill { padding: 0 6px; font-size: 8.5px; white-space: nowrap; } .sbv-op b { font-size: 10.5px; }
/* AMC completion */
.sbv-amc { width: 100%; border-collapse: collapse; font-size: 10.5px; } .sbv-amc th { padding: 3px 5px; border-bottom: 1px solid var(--line-strong); text-align: center; font-weight: 600; } .sbv-amc .l { text-align: left; }
.sbv-amc td { padding: 6px 5px; border-bottom: 1px solid var(--line); } .sbv-amc tr:last-child td { border-bottom: 0; } .sbv-n { text-align: right; white-space: nowrap; } .sbv-n small { font-size: 9px; font-weight: 400; color: var(--grey); } .sbv-b { width: 19%; }
/* projects: one line each, so ten and more fit; the row height and the bars are whole printed pixels (the sheet is scaled by --zf) */
.sbv-projs { display: grid; gap: 2px; } .sbv-pr { display: grid; grid-template-columns: 16px minmax(0, 1.5fr) 82px 70px 150px minmax(30px, .8fr) 56px; gap: 8px; align-items: center; font-size: 9.5px; }
.sbv-pr > em { font-style: normal; color: #8A94A3; text-align: right; } .sbv-pr > span:not(.sbr-steps) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .sbv-pr u { text-decoration: none; color: var(--grey); } .sbv-pr small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9.5px; color: var(--grey); }
.sbv-pr > b { text-align: right; font-size: 10.5px; } .sbv-pr.is-total { grid-template-columns: minmax(0, 1fr) auto; padding-top: 3px; border-top: 1px solid var(--line); font-weight: 600; }
#sbr-print-copy.sbv .sbv-pr { height: calc(11px / var(--zf, .66)); } #sbr-print-copy.sbv .sbv-pr .sbd-track, #sbr-print-copy.sbv .sbv-pr .sbr-steps i { height: calc(6px / var(--zf, .66)); }
/* chart notes under a group of bars (charts.js groupChart) */
.sbd-note { font: 8.5px Barlow, sans-serif; fill: #5A6677; } .sbd-note.is-up { fill: #1F5FD1; font-weight: 700; } .sbd-note.is-down { fill: #B4501A; font-weight: 700; } .sbd-note.is-grey { fill: #7C8796; }
.sbd-val { font-size: 8.5px; }

/* the Projects tab: one row per Register project, its Segment and Stage as drop lists */
.sbp-bar { display: flex; gap: 10px; margin: 0 0 10px; } .sbp-bar input { flex: 1; max-width: 340px; } .sbp-bar select { width: 200px; }
.sbp-list { background: #fff; border: 1px solid var(--line); border-radius: 8px; } .sbp-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 190px 270px; gap: 10px; align-items: center; padding: 8px 12px; border-top: 1px solid var(--line); } .sbp-row:first-child { border-top: 0; }
.sbp-head { font-size: .78rem; color: var(--muted); font-weight: 600; } .sbp-name { display: grid; font-weight: 600; } .sbp-name small { color: var(--muted); font-weight: 400; } .sbp-empty { padding: 14px; margin: 0; }
@media (max-width: 760px) { .sbp-row { grid-template-columns: 1fr; } .sbp-head { display: none; } .sbp-bar { flex-wrap: wrap; } }
.sbp-amt { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; } .sbp-head .sbp-amt { font-weight: 600; }
@media (max-width: 760px) { .sbp-amt { text-align: left; } }
.sbp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; } .sbp-code { text-align: center; font-weight: 600; text-transform: none; width: 70px; }
.sbp-sn { font-size: .9rem; color: var(--ink); } .sbp-ref { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; position: sticky; top: 12px; } .sbp-ref h3 { margin: 0 0 6px; font: 600 1rem "Barlow Semi Condensed", sans-serif; } .sbp-ref table { width: 100%; border-collapse: collapse; font-size: .82rem; } .sbp-ref td { padding: 3px 0; border-top: 1px solid var(--line); } .sbp-ref tr:first-child td { border-top: 0; } .sbp-rc { width: 38px; font-weight: 700; color: var(--navy, #0D1B2A); }
@media (max-width: 1100px) { .sbp-wrap { grid-template-columns: 1fr; } .sbp-ref { position: static; order: -1; } }
.sbp-wrap { display: block; } .sbp-ref { position: static; margin: 0 0 12px; } .sbp-ref table { table-layout: fixed; } .sbp-ref th { font-size: .78rem; color: var(--muted); font-weight: 600; padding: 3px 4px; text-align: center; } .sbp-ref tbody th { width: 26px; }
.sbp-ref td { vertical-align: top; padding: 5px 6px; border: 1px solid var(--line); font-size: .74rem; line-height: 1.25; } .sbp-ref td b { display: block; font-size: .78rem; color: var(--navy, #0D1B2A); } .sbp-ref .sbp-none { background: var(--soft, #F3F5F8); }
.sbp-ref thead th:first-child, .sbp-ref tbody th { width: 28px; }

/* the Report on a phone (Ali, 13 Nov 2026): tables keep a readable width and scroll sideways with the first column fixed; nothing is cut to "..." or printed over other text; cards sit two by two; chart text is bigger */
@media (max-width: 700px) {
  .sbr-scroll { -webkit-overflow-scrolling: touch; }
  .sbr-scroll > .sbr-t { table-layout: auto; width: 100%; } .sbr-scroll > .sbr-q, .sbr-scroll > .sbr-bt, .sbr-scroll > .sbr-amc { min-width: 640px; } .sbr-scroll > .sbr-proj { min-width: 560px; } /* only the wide tables scroll sideways; the narrow ones (Totals, Service Operation) fit the screen */
  .sbr-scroll > .sbr-t col { width: auto; }
  .sbr-t td, .sbr-t th { overflow: visible; text-overflow: clip; white-space: nowrap; padding-left: 7px; padding-right: 7px; }
  .sbr-scroll > .sbr-opn th, .sbr-scroll > .sbr-opn td, .sbr-scroll > .sbr-tot td:first-child, .sbr-scroll > .sbr-tot th:first-child { white-space: normal; padding-left: 5px; padding-right: 5px; } .sbr-scroll > .sbr-opn .status-pill { white-space: normal; } .sbr-scroll > .sbr-tot { font-size: .78rem; } .sbr-scroll > .sbr-tot td:first-child { word-break: break-word; } .sbr-scroll > .sbr-tot td, .sbr-scroll > .sbr-tot th { padding-left: 4px; padding-right: 4px; } .sbr-scroll > .sbr-tot td:first-child { width: 28%; } .sbr-scroll > .sbr-opn td:nth-child(2) { width: 28%; } .sbr-scroll > .sbr-opn td:nth-child(n+3), .sbr-scroll > .sbr-opn th:nth-child(n+3) { width: 14%; text-align: right; }
  .sbr-bt thead th, .sbr-opf thead th, .sbr-opw thead th, .sbr-amc thead th { white-space: nowrap; }
  .sbr-t:not(.sbr-bt) td:first-child, .sbr-t:not(.sbr-bt) th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 1px 0 0 var(--line); } /* not the type blocks: their first cell spans four rows; there the row name (YTD Budget ...) stays instead */
  .sbr-bt td.sbr-lab { position: sticky; left: 0; background: #fff; z-index: 1; box-shadow: 1px 0 0 var(--line); }
  .sbr-sheet .sbr-sum { grid-template-columns: 1fr 1fr; } .sbr-sheet .sbr-heads { grid-template-columns: 1fr 1fr; gap: 8px; } .sbr-headline b { font-size: 1.15rem; } .sbr-headline span { font-size: .72rem; }
  .sbr-stat { padding: 8px 10px; } .sbr-stat b { font-size: 1.25rem; } .sbr-ytdbars { grid-column: 1 / -1; }
  .sbr-sheet .sbr-h { font-size: 1rem; } .sbr-sheet h1 { font-size: 1.15rem; }
  .sbr-card .sbd-svg:not(.sbd-ring) .sbd-ax, .sbr-card .sbd-svg:not(.sbd-ring) .sbd-val { font-size: 13px; } .sbr-card .sbd-svg:not(.sbd-ring) .sbd-note, .sbr-card .sbd-svg:not(.sbd-ring) .sbd-end { font-size: 12px; }
}
.sbv-pr .sbr-steps i.on { background: var(--sc, var(--ach)); } .sbv-pr small .status-pill { padding: 0 6px; font-size: 8.5px; white-space: nowrap; }
.sbv .sbd-key i.a { background: var(--ach); } .sbv .sbd-key i.o { background: var(--oih); } .sbv .sbd-key i.e { background: repeating-linear-gradient(45deg, var(--eo2) 0 1.5px, var(--eo) 1.5px 3px); }

/* Edit Colours (Developer): the clickable parts of the sheet and the small picker */
.sbc-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0; color: var(--grey, #5A6677); font-size: .85rem; }
.sbv.is-editing [data-tk], .sbv.is-editing .sbv-hc, .sbv.is-editing svg rect, .sbv.is-editing svg circle, .sbv.is-editing .is-up, .sbv.is-editing .is-down { cursor: pointer; }
.sbv.is-editing :is([data-tk], .sbv-hc, svg rect, svg circle, .is-up, .is-down):hover { outline: 2px solid #1F5FD1; outline-offset: 1px; }
.sbc-pop { position: fixed; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid #E1E6EC; border-radius: 8px; box-shadow: 0 4px 14px rgba(13,27,42,.12); font-size: .85rem; }
.sbc-pop input[type=color] { width: 42px; height: 32px; padding: 0; border: 1px solid #E1E6EC; border-radius: 8px; background: #fff; }

/* the one line on the right of the Report page: period, its state, Lock Month, Edit Colours */
.sbl-pills .sbl-top { margin: 0 0 0 auto; flex-wrap: nowrap; gap: 8px; }
.sbl-pills .sbl-top select { min-width: 190px; } .sbl-top .btn.is-on { border-color: var(--navy, #0D1B2A); background: #EEF2F7; }
@media (max-width: 900px) { .sbl-pills .sbl-top { flex-wrap: wrap; margin-left: 0; } }
/* Service Billing > Settings: the brand rules on the left, the smaller tables beside them */
.sbs { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.sbs-new { grid-column: 1 / -1; } .sbs-new select { max-width: 280px; }
.sbs-side { display: grid; gap: 16px; min-width: 0; }
.sbs-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 16px 6px; }
.sbs-h h3 { margin: 0; font: 600 1.05rem "Barlow Semi Condensed", sans-serif; }
.sbs-add { display: flex; gap: 8px; padding: 12px 16px; flex-wrap: wrap; }
.sbs-add input { flex: 1 1 160px; min-width: 0; }
.sbs-q { padding: 4px 16px 8px; } .sbs-q input { width: 100%; }
.sbs-scroll { max-height: 420px; overflow-y: auto; }
.sbs .sbl-t select { min-width: 0; width: 100%; }
@media (max-width: 860px) { .sbs { grid-template-columns: minmax(0, 1fr); } .sbs .sbl-t th, .sbs .sbl-t td { padding-left: 8px; padding-right: 8px; } .sbs .sbl-t td:first-child { overflow-wrap: anywhere; } }
