/* svc-companies.css — Analytics › Service Companies (release 2026-10-11).
   Builds on the Service market styles (.sm-*) in bf-analytics.css and the doughnut styles (.vb-*) in vendor-bench.css. */
.sc-wrap .sc-good, .sc-wrap .sm-d.sc-good { color: #1f7a3f; }
.sc-wrap .sc-bad, .sc-wrap .sm-d.sc-bad { color: #b3261e; }
.sc-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 14px; align-items: start; }
@media (max-width: 1000px) { .sc-layout { grid-template-columns: 1fr; } }
.sc-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* Company list */
.sc-dir { position: sticky; top: 8px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; overflow: hidden; max-height: calc(100vh - 120px); }
@media (max-width: 1000px) { .sc-dir { position: static; max-height: 360px; } }
.sc-dir-h { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-bottom: 1px solid var(--bf-line, #DCE3DF); }
.sc-search { position: relative; }
.sc-search .bi { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; color: var(--bf-muted, #56655D); }
.sc-search input { width: 100%; height: 34px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 8px; padding: 0 10px 0 30px; font-size: 13px; outline: 0; }
.sc-search input:focus, .sc-cat:focus { border-color: var(--bf-green, #007A3D); box-shadow: 0 0 0 3px rgba(0,122,61,.12); }
.sc-cat { height: 34px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 8px; padding: 0 30px 0 10px; font-size: 13px; font-weight: 500; color: var(--bf-ink, #15201A); outline: 0; appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='%2356655D' d='M1.6 5.1 8 11.5l6.4-6.4-1.1-1.1L8 9.3 2.7 4z'/%3E%3C/svg%3E") no-repeat right 10px center; }
.sc-dir-n { padding: 6px 12px; font-size: 11px; color: var(--bf-muted, #56655D); border-bottom: 1px solid #EEF2EF; }
.sc-list { overflow-y: auto; padding: 4px; }
.sc-item { width: 100%; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 8px; border: 0; border-radius: 8px; background: transparent; text-align: left; color: var(--bf-ink, #15201A); }
.sc-item:hover { background: #F3F5F4; }
.sc-item.on { background: var(--bf-green-soft, #E6F2EC); box-shadow: inset 3px 0 0 var(--bf-green, #007A3D); }
.sc-item:focus-visible { outline: 2px solid var(--bf-green, #007A3D); outline-offset: -2px; }
.sc-item.sm-skel { height: 46px; display: block; }
.sc-item.sm-skel span { width: 40%; height: 10px; margin: 8px 0 8px 40px; } .sc-item.sm-skel b { width: 70%; height: 8px; margin-left: 40px; }
.sc-av { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; flex-shrink: 0; }
.sc-av-l { width: 48px; height: 48px; border-radius: 12px; font-size: 15px; }
.sc-it-m { min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 5px; font-size: 13px; }
.sc-it-m > b { font-weight: 600; }
.sc-it-n { min-width: 0; flex: 1; font-size: 12px; color: var(--bf-muted, #56655D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-it-s { width: 100%; font-size: 11px; color: var(--bf-muted, #56655D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-it-b { width: 100%; height: 3px; background: #EEF2EF; border-radius: 2px; margin-top: 4px; overflow: hidden; }
.sc-it-b span { display: block; height: 100%; background: #86b6ef; border-radius: 2px; }
.sc-item.on .sc-it-b span { background: var(--bf-green, #007A3D); }
.sc-it-v { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-it-v .bi { font-size: 9px; margin-left: 2px; }
.sc-up { color: #1c5cab; } .sc-down { color: #b3261e; }
.sc-unl { color: #8a5a00; }
.sc-pin { padding: 6px 8px 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bf-muted, #56655D); }

/* Identity strip */
.sc-id { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.sc-id-m { min-width: 0; }
.sc-id h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.sc-code { display: inline-block; margin-left: 4px; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 10px; background: #EEF2EF; color: var(--bf-ink, #15201A); vertical-align: 2px; }
.sc-code-m { background: #DCEAFB; color: #0d366b; }
.sc-id p { margin: 5px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12px; color: var(--bf-muted, #56655D); }
.sc-tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: capitalize; padding: 1px 8px; border-radius: 10px; background: #E6F2EC; color: #005C2E; }
.sc-tag-o { background: #FFF1CC; color: #6b4700; text-transform: none; }
.sc-fam { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.sc-fchip { height: 22px; padding: 0 8px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 11px; background: #fff; font-size: 11px; font-weight: 600; color: var(--bf-ink, #15201A); }
.sc-fchip:hover { border-color: #9FC7B1; }
.sc-fchip.on { background: #DCEAFB; border-color: #9EC5F4; color: #0d366b; }
.sc-lines .bi { margin-right: 2px; }
.sc-of { font-size: 13px; font-weight: 500; color: var(--bf-muted, #56655D); }
.sc-kpi-warn { border-color: #F1B8B3; background: #FFF8F7; }

/* Cards */
.sc-eq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 1200px) { .sc-eq { grid-template-columns: 1fr; } }
.sc-chart-m { height: 300px; }
.sc-chart-s { height: 260px; }
.sc-cnt { font-size: 11px; font-weight: 600; color: var(--bf-muted, #56655D); background: #EEF2EF; border-radius: 9px; padding: 0 7px; margin-left: 4px; vertical-align: 2px; }
.sc-line { padding: 8px 0 10px; border-top: 1px solid #EEF2EF; }
.sc-line:first-of-type { border-top: 0; padding-top: 0; }
.sc-line-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13px; }
.sc-line-h span { font-weight: 600; font-variant-numeric: tabular-nums; display: inline-flex; gap: 6px; align-items: baseline; }
.sc-line-s { font-size: 11px; color: var(--bf-muted, #56655D); margin: 2px 0 6px; }
.sc-now { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; max-height: 360px; overflow-y: auto; }
.sc-mem { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
@media (max-width: 1200px) { .sc-mem { grid-template-columns: 1fr; } }
.sc-new { font-size: 11px; font-weight: 600; color: #1c5cab; }
.sc-h4 { margin: 16px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--bf-muted, #56655D); }
.sc-mini4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 900px) { .sc-mini4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc-mini4 > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 10px; min-width: 0; }
.sc-mini4 span { font-size: 12px; color: var(--bf-muted, #56655D); }
.sc-mini4 b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sc-mini4 i { font-style: normal; font-size: 11.5px; color: var(--bf-muted, #56655D); }
.sc-wrap .sm-panel { display: flex; flex-direction: column; gap: 14px; }
.sc-wrap .sm-panel > .sc-mini4 { margin-bottom: 0; }
.sc-chips { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.sc-evt td { vertical-align: top; }
.sc-sum { display: inline-block; max-width: 420px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; color: var(--bf-muted, #56655D); }
/* Kind of company and company-in-the-group as buttons (2026-10-21) */
.sc-cats { display: flex; flex-wrap: wrap; gap: 4px; }
.sc-cats button { height: 28px; padding: 0 10px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 14px; background: #fff; font-size: 12px; font-weight: 600; color: var(--bf-ink, #15201A); }
.sc-cats button:hover { border-color: #9FC7B1; background: #F7FAF8; }
.sc-cats button.on { background: #EAF2FD; border-color: #3987e5; color: #0d366b; box-shadow: inset 0 0 0 1px #3987e5; }
.sc-cats button:focus-visible, .sc-fchip:focus-visible { outline: 2px solid var(--bf-green, #007A3D); outline-offset: 1px; }
.sc-fam { gap: 6px; }
.sc-fchip { height: auto; min-height: 26px; padding: 3px 10px; border-radius: 8px; display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; }
.sc-fchip small { font-size: 10.5px; font-weight: 500; color: var(--bf-muted, #56655D); max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-fchip.on small { color: #2a4e7c; }

/* ═══ 20261107sc — the company space: hero, score rings, sparkline KPIs, insights, market & peers ═══ */
.sc2-hero { border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(16,40,28,.08), 0 8px 24px -12px rgba(16,40,28,.25); background: #fff; }
.sc2-hero-skel { height: 168px; background: linear-gradient(110deg, #0e3b26 0%, #004D26 60%, #0b5e37 100%); }
.sc2-hero-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--sc-c, #007A3D) 55%, transparent) 0%, transparent 55%),
    radial-gradient(80% 120% at 0% 100%, rgba(255,255,255,.06) 0%, transparent 60%),
    linear-gradient(115deg, #0a2f1e 0%, #004D26 48%, #005C2E 100%); }
.sc2-hero-in::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background-image: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 14px); }
.sc2-hero-in::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--sc-c, #007A3D); }
.sc2-hero-l { position: relative; display: flex; align-items: center; gap: 18px; min-width: 0; }
.sc2-logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: #fff; border-radius: 10px; overflow: hidden; color: #fff; font-weight: 700; letter-spacing: .02em; }
.sc2-logo img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.sc2-logo-l { width: 84px; height: 84px; border-radius: 18px; font-size: 22px; box-shadow: 0 6px 18px rgba(0,0,0,.25), 0 0 0 4px rgba(255,255,255,.12); }
.sc2-logo-s { width: 32px; height: 32px; border-radius: 8px; font-size: 11px; box-shadow: inset 0 0 0 1px #E3E9E5; }
.sc2-logo-xs { width: 22px; height: 22px; border-radius: 6px; font-size: 9px; box-shadow: inset 0 0 0 1px #E3E9E5; }
.sc2-logo-x { box-shadow: none; }
.sc2-id { min-width: 0; }
.sc2-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.sc2-id h3 { margin: 3px 0 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sc2-code { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; letter-spacing: .04em; border: 1px solid rgba(255,255,255,.22); }
.sc2-code-m { background: #ffd27a; color: #4a3200; border-color: transparent; }
.sc2-status { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.85); }
.sc2-status > span { display: inline-flex; align-items: center; gap: 6px; }
.sc2-live { font-weight: 600; color: #fff !important; }
.sc2-live i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08a; box-shadow: 0 0 0 0 rgba(62,224,138,.7); animation: sc2-pulse 2s infinite; }
.sc2-live.off i { background: #c9c8c1; animation: none; }
@keyframes sc2-pulse { 0% { box-shadow: 0 0 0 0 rgba(62,224,138,.6); } 70% { box-shadow: 0 0 0 7px rgba(62,224,138,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,138,0); } }
.sc2-lead { color: #ffd27a !important; font-weight: 600; }
.sc2-lines { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sc2-lchip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 4px 0 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff; font-size: 12px; font-weight: 500; cursor: pointer; transition: background .15s; }
.sc2-lchip:hover { background: rgba(255,255,255,.18); }
.sc2-lchip .bfi { filter: brightness(0) invert(1); opacity: .9; }
.sc2-lchip b { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: rgba(255,255,255,.95); color: #004D26; }
.sc2-rings { position: relative; display: flex; gap: 18px; flex-shrink: 0; }
.sc2-ring { position: relative; width: 104px; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 6px 8px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px); }
.sc2-ring svg { width: 76px; height: 76px; }
.sc2-ring-v { position: absolute; top: 10px; left: 0; right: 0; height: 76px; display: flex; align-items: center; justify-content: center; gap: 1px; color: #fff; }
.sc2-ring-v b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.sc2-ring-v small { font-size: 11px; font-weight: 600; opacity: .85; margin-top: 4px; }
.sc2-ring-l { margin-top: 4px; font-size: 11.5px; font-weight: 600; color: #fff; }
.sc2-ring-s { font-size: 10.5px; color: rgba(255,255,255,.7); line-height: 1.25; }
.sc2-fam { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 16px; border-top: 1px solid var(--bf-line, #DCE3DF); background: #FAFBFA; }
.sc2-fam-l { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bf-muted, #56655D); margin-right: 4px; }
@media (max-width: 1250px) { .sc2-hero-in { flex-direction: column; align-items: flex-start; } }
@media (max-width: 700px) { .sc2-rings { flex-wrap: wrap; } .sc2-logo-l { width: 60px; height: 60px; } .sc2-id h3 { font-size: 20px; } }

/* KPI tiles with sparklines */
.sc2-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; transition: opacity .15s; }
.sc2-kpis.sm-busy { opacity: .55; }
@media (max-width: 1400px) { .sc2-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .sc2-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc2-kpi { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 10px; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 12px; min-width: 0; transition: box-shadow .15s, transform .15s; }
.sc2-kpi:hover { box-shadow: 0 6px 18px -10px rgba(16,40,28,.35); transform: translateY(-1px); }
.sc2-kpi.warn { border-color: #f3b8b5; background: linear-gradient(180deg, #fff 0%, #fff7f6 100%); }
.sc2-kpi-h { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sc2-kpi-i { width: 26px; height: 26px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--k); background: color-mix(in srgb, var(--k) 12%, #fff); flex-shrink: 0; }
.sc2-kpi-l { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; color: var(--bf-muted, #56655D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc2-kpi-v { display: flex; align-items: baseline; gap: 5px; margin-top: 6px; }
.sc2-kpi-v b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.1; color: var(--bf-ink, #15201A); }
.sc2-kpi-v small { font-size: 12px; font-weight: 600; color: var(--bf-muted, #56655D); }
.sc2-spark { width: 100%; height: 34px; display: block; margin: 4px 0 2px; }
.sc2-kpi-s { font-size: 11.5px; color: var(--bf-muted, #56655D); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc2-pill { display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; background: #EEF2EF; color: var(--bf-muted, #56655D); white-space: nowrap; }
.sc2-pill .bi { font-size: 10px; }
.sc2-up { background: #E3F4EA; color: #146c35; } .sc2-dn { background: #FDE8E7; color: #b3261e; } .sc2-pill-na { background: #E8EEFB; color: #1c4f9c; }

/* Overview */
.sc2-row { display: grid; gap: 14px; }
.sc2-row-ov { grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr); }
@media (max-width: 1100px) { .sc2-row-ov { grid-template-columns: 1fr; } }
.sc2-ins header h3 { display: flex; align-items: center; gap: 6px; } .sc2-ins header h3 .bi { color: #c58a00; }
.sc2-ins ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sc2-ins li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; padding: 9px 10px; border-radius: 10px; background: #F7F9F8; font-size: 13px; line-height: 1.45; color: var(--bf-ink, #15201A); border-left: 3px solid #b9c4bd; }
.sc2-ins li .bi { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; background: #fff; }
.sc2-ins li.good { border-left-color: #1baf7a; background: #F1FAF5; } .sc2-ins li.good .bi { color: #146c35; }
.sc2-ins li.bad { border-left-color: #e5484d; background: #FEF5F4; } .sc2-ins li.bad .bi { color: #b3261e; }
.sc2-hx { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sc2-lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 4px; }
.sc2-lt { display: flex; flex-direction: column; gap: 6px; padding: 12px; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 12px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.sc2-lt:hover { border-color: var(--bf-green, #007A3D); box-shadow: 0 4px 14px -8px rgba(0,77,38,.45); }
.sc2-lt.top { background: linear-gradient(180deg, #fffaf0 0%, #fff 60%); border-color: #f0d79a; }
.sc2-lt-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--bf-ink, #15201A); min-width: 0; }
.sc2-lt-h > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc2-rank { font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #EEF2EF; color: var(--bf-muted, #56655D); }
.sc2-rank.r1 { background: linear-gradient(135deg, #f7c948, #e0a800); color: #3d2a00; } .sc2-rank.r2 { background: #dfe4e8; color: #39434a; } .sc2-rank.r3 { background: #f1d3bb; color: #6b3a14; }
.sc2-lt-v { display: flex; align-items: baseline; gap: 8px; } .sc2-lt-v b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sc2-lt-bar { position: relative; height: 6px; border-radius: 3px; background: #EEF2EF; overflow: visible; }
.sc2-lt-bar > span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #007A3D, #1baf7a); }
.sc2-lt-bar > i { position: absolute; top: -3px; width: 2px; height: 12px; background: #15201A; border-radius: 1px; }
.sc2-lt-s { font-size: 11.5px; color: var(--bf-muted, #56655D); }

/* Market & peers */
.sc2-lsel { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sc2-lsel button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 12px; border-radius: 999px; border: 1px solid var(--bf-line, #DCE3DF); background: #fff; font-size: 12.5px; font-weight: 500; color: var(--bf-ink, #15201A); }
.sc2-lsel button.on { background: #004D26; border-color: #004D26; color: #fff; } .sc2-lsel button.on .bfi { filter: brightness(0) invert(1); }
.sc2-mhead { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
@media (max-width: 1200px) { .sc2-mhead { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sc2-mhead > div { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--bf-line, #DCE3DF); }
.sc2-mhead > div:first-child { background: linear-gradient(135deg, #004D26, #007A3D); border-color: transparent; color: #fff; }
.sc2-mhead > div:first-child span, .sc2-mhead > div:first-child em { color: rgba(255,255,255,.8); }
.sc2-mhead span { font-size: 12px; font-weight: 600; color: var(--bf-muted, #56655D); }
.sc2-mhead b { font-size: 22px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; } .sc2-mhead b small { font-size: 12px; font-weight: 600; opacity: .75; }
.sc2-mhead em { font-style: normal; font-size: 11.5px; color: var(--bf-muted, #56655D); }
.sc2-mhead .sc2-pill { align-self: flex-start; }
.sc2-league tbody tr.sc2-me td { background: #EEF7F1 !important; font-weight: 600; }
.sc2-league tbody tr.sc2-me td:first-child { box-shadow: inset 3px 0 0 #007A3D; }
.sc2-pos { display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 6px; background: #EEF2EF; font-size: 11px; font-weight: 700; }
.sc2-league tbody tr:nth-child(1) .sc2-pos { background: linear-gradient(135deg, #f7c948, #e0a800); color: #3d2a00; }
.sc2-league tbody tr:nth-child(2) .sc2-pos { background: #dfe4e8; } .sc2-league tbody tr:nth-child(3) .sc2-pos { background: #f1d3bb; }
.sc2-co { display: inline-flex; align-items: center; gap: 8px; } .sc2-co small { color: var(--bf-muted, #56655D); font-weight: 400; max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc2-sbar { display: inline-block; width: 110px; height: 8px; border-radius: 4px; background: #EEF2EF; vertical-align: middle; margin-right: 8px; overflow: hidden; }
.sc2-sbar > span { display: block; height: 100%; border-radius: 4px; }
.sc2-sv { font-variant-numeric: tabular-nums; font-size: 12px; }
.sc2-q { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 6px; vertical-align: 1px; }
.sc2-q.q1 { background: #1baf7a; } .sc2-q.q2 { background: #9ad7b8; } .sc2-q.q3 { background: #f4b183; } .sc2-q.q4 { background: #e5484d; }
.sc2-qlg { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--bf-muted, #56655D); white-space: nowrap; } .sc2-qlg .sc2-q { margin-left: 8px; }
/* layout by the width of the page column (the analytics menu takes part of the screen) */
.sc-main { container-type: inline-size; container-name: scmain; }
.sc2-hero-in { flex-wrap: wrap; }
.sc2-hero-l { flex: 1 1 380px; }
.sc2-lines { position: relative; flex-basis: 100%; margin-top: 2px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
@container scmain (max-width: 1150px) { .sc2-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc2-mhead { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc2-row-ov { grid-template-columns: 1fr 1fr; } }
@container scmain (max-width: 780px) { .sc2-kpis, .sc2-mhead { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sc2-row-ov { grid-template-columns: 1fr; } .sc2-rings { width: 100%; justify-content: space-between; } }
.sc2-row-mk { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 14px; }
@container scmain (max-width: 780px) { .sc2-row-mk { grid-template-columns: 1fr; } }
.sc2-mhead { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important; }
.sc2-mhead > div:first-child .sc2-pill { background: rgba(255,255,255,.95); }
.sc2-league .sc2-sbar { width: 70px; }
.sc2-league td, .sc2-league th { white-space: nowrap; }
.sc2-mhead > div:first-child .sc2-pill.sc2-up { color: #0b6b33; } .sc2-mhead > div:first-child .sc2-pill.sc2-dn { color: #b3261e; }
.sc2-lt, .sc2-lt-h > span { text-align: left; }

/* ── 20261107sg: maps and Gap analysis ─────────────────────────────── */
.sc2-one { grid-template-columns: 1fr; }
.sc2-where { margin-bottom: 14px; }
.sc2-wmap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.sc2-mapbox { position: relative; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 12px; overflow: hidden; background: #E9EEF2; }
.sc2-map { height: 430px; width: 100%; }
.sc2-map-g { height: 470px; }
.sc2-mapnote { position: absolute; left: 10px; bottom: 8px; z-index: 500; font-size: 11px; background: rgba(255,255,255,.9); border-radius: 6px; padding: 3px 8px; color: #56655D; }
.sc2-top { max-height: 430px; overflow: auto; }
.sc2-core { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #0b2e1d; margin-right: 6px; vertical-align: 1px; }
.sc2-mlab { font: 700 11px/1 system-ui, sans-serif; color: #0b2e1d; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; white-space: nowrap; transform: translate(-50%, -50%); pointer-events: none; }
.sc2-tip { font-size: 12px; line-height: 1.45; }
.sc2-link { border: 1px solid #c8d6cd; background: #fff; color: #007A3D; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.sc2-link:hover { background: #eef7f1; }
.sc2-mlg { position: absolute; right: 10px; bottom: 10px; z-index: 500; display: flex; flex-wrap: wrap; gap: 4px 10px; background: rgba(255,255,255,.94); border-radius: 8px; padding: 6px 10px; font-size: 11.5px; box-shadow: 0 1px 4px rgba(0,0,0,.12); max-width: calc(100% - 20px); }
.sc2-mlg span { display: inline-flex; align-items: center; gap: 5px; } .sc2-mlg i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.sc2-gbadge { font-style: normal; font-size: 11px; font-weight: 700; background: #fdecec; color: #b42328; border-radius: 999px; padding: 1px 7px; margin-left: 6px; }
.sc2-lsel button.on .sc2-gbadge { background: rgba(255,255,255,.22); color: #fff; }
.sc2-gscore { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.sc2-gt { background: #fff; border: 1px solid var(--bf-line, #DCE3DF); border-radius: 12px; padding: 11px 13px 10px; min-width: 0; position: relative; overflow: hidden; }
.sc2-gt::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #007A3D; }
.sc2-gt.warn::before { background: #e5484d; }
.sc2-gt-h { font-size: 11.5px; color: #56655D; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc2-gt-h i { margin-right: 5px; color: #007A3D; } .sc2-gt.warn .sc2-gt-h i { color: #e5484d; }
.sc2-gt-v { margin: 4px 0 2px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.sc2-gt-v b { font-size: 24px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; } .sc2-gt-v small { color: #56655D; font-size: 12px; }
.sc2-gt-v em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: #26332c; }
.sc2-gt-bar { display: block; height: 6px; background: #EEF2EF; border-radius: 3px; overflow: hidden; margin: 4px 0 5px; } .sc2-gt-bar span { display: block; height: 100%; border-radius: 3px; }
.sc2-gt-s { font-size: 11.5px; color: #56655D; line-height: 1.35; }
.sc2-row-gap { grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr); margin-bottom: 14px; }
.sc2-gs { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; white-space: nowrap; padding: 2px 8px 2px 6px; border-radius: 999px; background: color-mix(in srgb, var(--g) 13%, #fff); color: color-mix(in srgb, var(--g) 80%, #000); }
.sc2-gs i { width: 8px; height: 8px; border-radius: 50%; background: var(--g); }
.sc2-gbar { position: relative; display: inline-block; width: 110px; height: 8px; background: #EEF2EF; border-radius: 4px; vertical-align: middle; margin-right: 6px; }
.sc2-gbar > span { display: block; height: 100%; border-radius: 4px; }
.sc2-gbar > i { position: absolute; top: -3px; bottom: -3px; width: 2px; background: #26332c; border-radius: 1px; }
.sc2-gtab td { vertical-align: middle; } .sc2-gtab .sm-chip { margin: 1px 3px 1px 0; }
.sc2-gap-row td:first-child { box-shadow: inset 3px 0 0 #e5484d; }
.sc2-seg { display: inline-flex; border: 1px solid #c8d6cd; border-radius: 999px; overflow: hidden; }
.sc2-seg button { border: 0; background: #fff; padding: 5px 12px; font-size: 12.5px; color: #26332c; } .sc2-seg button.on { background: #007A3D; color: #fff; font-weight: 600; }
.sc2-more { display: block; margin: 8px auto 0; border: 0; background: transparent; color: #007A3D; font-weight: 600; font-size: 12.5px; }
.sc2-was { font-size: 10.5px; font-weight: 700; background: #fff4dc; color: #8a5a00; border-radius: 999px; padding: 1px 6px; margin-left: 4px; white-space: nowrap; }
.sc2-gnote { font-size: 11.5px; color: #56655D; margin: 4px 2px 0; line-height: 1.5; }
@container scmain (max-width: 1150px) { .sc2-gscore { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sc2-row-gap { grid-template-columns: 1fr; } .sc2-wmap { grid-template-columns: minmax(0, 1fr) 280px; } }
@container scmain (max-width: 900px) { .sc2-wmap { grid-template-columns: 1fr; } .sc2-top { max-height: none; } }
@container scmain (max-width: 780px) { .sc2-gscore { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sc2-map { height: 340px; } }
.sc2-g2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 14px; }
@container scmain (max-width: 1150px) { .sc2-g2 { grid-template-columns: 1fr; } }

/* 20261107sh: side-by-side cards end at the same height (see balance() in svc_companies.js) */
.sc-wrap .sc2-bal { align-items: stretch; }
.sc-wrap .sc2-bal > .sm-card { display: flex; flex-direction: column; }
.sc-wrap .sc2-capped { overflow: auto; }
.sc-wrap .sc2-capped thead th { position: sticky; top: 0; z-index: 2; }
.sc-wrap .sc2-bal > .sc2-ins > ul { flex: 1; justify-content: space-evenly; }
.sc-wrap .sc2-bal > .sm-card > .sm-empty:last-child { flex: 1; display: flex; align-items: center; justify-content: center; }
.sc-main.sc2-loading .sm-panel:not([hidden]), .sc-main.sc2-loading #sc-id { opacity: .55; transition: opacity .15s; pointer-events: none; }
/* 20261107si: "?" of the blocks without a title (top-right corner of the block) */
.sc-wrap [data-bfh] { position: relative; }
.sc-wrap .sc2-hq { position: absolute; top: 6px; right: 8px; z-index: 3; margin: 0; font-size: 15px; background: rgba(255,255,255,.85); border-radius: 50%; width: 20px; height: 20px; justify-content: center; }
.sc-wrap .sc2-hero .sc2-hq, .sc-wrap #sc-id > .sc2-hq { background: rgba(255,255,255,.92); }
.sc-wrap .sc2-kpis > .sc2-hq, .sc-wrap .sc2-gscore > .sc2-hq, .sc-wrap .sc2-mhead > .sc2-hq, .sc-wrap .sc-mini4 > .sc2-hq { top: -9px; right: -6px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
