/* STATS_X_CI_V1 */
.cmpx-ci-root { color: var(--text, #e8e2d4); font-size: 13px; }
.cmpx-ci-explain { margin: 0 0 10px; padding: 10px 14px; border-radius: 10px; background: rgba(212, 162, 75, .07); border: 1px solid var(--line, #2a2a2a); line-height: 1.45; }
.cmpx-ci-explain b:first-child { color: var(--gold-400, #e5b566); }
.cmpx-ci-explain ul { margin: 6px 0 0; padding-left: 18px; color: #d9d3c2; font-size: 12.5px; }
.cmpx-ci-explain li { margin: 3px 0; }
.cmpx-ci-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 10px; }
.cmpx-ci-lab { color: var(--muted2, #8b8b8b); font-size: 12px; margin: 0 2px 0 10px; }
.cmpx-ci-lab:first-child { margin-left: 0; }
.cmpx-ci-x { width: 62px; background: #15130f; color: #fff; border: 1px solid var(--line, #3a3a3a); border-radius: 6px; padding: 2px 6px; }
.cmpx-ci-prog { margin: 0 0 8px; padding: 6px 10px; border-radius: 8px; background: rgba(229, 181, 102, .1); color: var(--gold-400, #e5b566); font-size: 12.5px; }
.cmpx-ci-sum { margin: 0 0 10px; font-size: 12.5px; color: #cfc29a; line-height: 1.55; }
.cmpx-ci-sum b { color: #fff; }
.cmpx-ci-sum b.g { color: #7fc68a; }
.cmpx-ci-sum b.r { color: #e8776f; }
.cmpx-ci-chk { margin-left: 8px; color: var(--muted2, #8b8b8b); cursor: help; white-space: nowrap; }

/* сравнение двух */
.cmpx-ci-pair { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--bg-2, rgba(255, 255, 255, .04)); border: 1px solid var(--gold-400, #e5b566); }
.cmpx-ci-pair.idle { border: 1px dashed var(--line, #3a3a3a); color: var(--muted2, #9a9a9a); font-size: 12.5px; }
.cmpx-ci-pair.idle b { color: #d9d3c2; }
.cmpx-ci-pair-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; color: var(--gold-400, #e5b566); }
.cmpx-ci-pair-btns { display: inline-flex; gap: 6px; }
.cmpx-ci-pair-g { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cmpx-ci-pair-g > div { display: flex; flex-direction: column; min-width: 120px; }
.cmpx-ci-pair-g > div b { font-size: 20px; color: #fff; line-height: 1.2; }
.cmpx-ci-pair-g small { color: var(--muted2, #8b8b8b); font-size: 11px; }
.cmpx-ci-pair-g .cmpx-ci-minus { min-width: 0; font-size: 20px; color: var(--muted2, #8b8b8b); }
.cmpx-ci-pair-g .cmpx-ci-res b { color: var(--gold-400, #e5b566); }
.cmpx-ci-pair-v { margin: 10px 0 4px; font-size: 13px; line-height: 1.5; color: #e8e2d4; }
.cmpx-ci-vs { color: #7fc68a; }
.cmpx-ci-vn { color: #e5b566; }

/* таблица */
.cmpx-ci-scroll { overflow-x: auto; border: 1px solid var(--line, #2a2a2a); border-radius: 10px; }
.cmpx-ci-table { border-collapse: collapse; width: 100%; min-width: 980px; }
.cmpx-ci-th { padding: 6px 6px; text-align: right; font-weight: 600; font-size: 12px; color: #d9d3c2; border-bottom: 1px solid var(--line, #2a2a2a); background: rgba(255, 255, 255, .03); vertical-align: bottom; white-space: nowrap; }
.cmpx-ci-th.l { text-align: left; }
.cmpx-ci-th small { display: block; font-weight: 400; font-size: 10.5px; color: var(--muted2, #8b8b8b); white-space: normal; }
.cmpx-ci-th.on { color: var(--gold-400, #e5b566); }
.cmpx-ci-axis-h { text-align: left; min-width: 230px; }
.cmpx-ci-axis { position: relative; height: 14px; margin: 0 6px; }
.cmpx-ci-axis span { position: absolute; transform: translateX(-50%); font-size: 10.5px; color: var(--muted2, #8b8b8b); font-weight: 400; }
.cmpx-ci-table td { padding: 5px 6px; border-bottom: 1px solid rgba(255, 255, 255, .05); text-align: right; vertical-align: middle; }
.cmpx-ci-r { cursor: pointer; }
.cmpx-ci-r:hover td { background: rgba(255, 255, 255, .04); }
.cmpx-ci-r.sel td { background: rgba(229, 181, 102, .13); }
.cmpx-ci-r.sel td:first-child { box-shadow: inset 3px 0 0 var(--gold-400, #e5b566); }
.cmpx-ci-r.zero td { background-image: linear-gradient(rgba(150, 150, 150, .05), rgba(150, 150, 150, .05)); }
.cmpx-ci-nm { text-align: left !important; white-space: nowrap; }
.cmpx-ci-nm b { color: #fff; font-weight: 600; }
.cmpx-ci-nm small { display: block; font-size: 10.5px; color: var(--muted2, #8b8b8b); }
.cmpx-ci-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cmpx-ci-num small { display: block; font-size: 10.5px; color: var(--muted2, #8b8b8b); }
.cmpx-ci-num.on { color: #fff; font-weight: 700; }
.cmpx-ci-hw span { color: var(--muted2, #8b8b8b); }
.cmpx-ci-hw span.on { color: #fff; font-weight: 600; }
.cmpx-ci-r.pos .cmpx-ci-hw small { color: #7fc68a; }
.cmpx-ci-r.neg .cmpx-ci-hw small { color: #e8776f; }
.cmpx-ci-r.zero .cmpx-ci-hw small { color: #e5b566; }
.cmpx-ci-na { text-align: left !important; color: var(--muted2, #8b8b8b); font-size: 12px; }
.cmpx-ci-okn { color: #7fc68a; }
.cmpx-ci-lk.lk { color: #b9a4ee; font-weight: 700; }
.cmpx-ci-err { color: #e8776f; }
.cmpx-ci-r.pend td { opacity: .6; }

/* бар */
.cmpx-ci-barc { padding: 4px 4px !important; min-width: 230px; }
.cmpx-ci-bar { position: relative; height: 22px; margin: 0 6px; }
.cmpx-ci-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: rgba(255, 255, 255, .07); }
.cmpx-ci-tick.z { background: rgba(255, 255, 255, .55); width: 2px; margin-left: -1px; }
.cmpx-ci-seg { position: absolute; border-radius: 3px; opacity: .55; }
.cmpx-ci-seg.h { top: 9px; height: 4px; background: #9a9486; }
.cmpx-ci-seg.t { top: 5px; height: 12px; background: #b99650; opacity: .42; }
.cmpx-ci-seg.sel { opacity: 1; }
.cmpx-ci-r.pos .cmpx-ci-seg.sel { background: #5aa86a; }
.cmpx-ci-r.neg .cmpx-ci-seg.sel { background: #d4605a; }
.cmpx-ci-r.zero .cmpx-ci-seg.sel { background: #d4a24b; }
.cmpx-ci-seg.h.sel { opacity: .95; }
.cmpx-ci-seg.t.sel { opacity: .6; }
.cmpx-ci-r.pos .cmpx-ci-seg.t.sel { background: #5aa86a; }
.cmpx-ci-pt { position: absolute; top: 3px; width: 3px; height: 16px; margin-left: -1px; background: #fff; border-radius: 2px; }
.cmpx-ci-clip { position: absolute; top: 3px; font-size: 11px; color: var(--muted2, #aaa); }
.cmpx-ci-clip.l { left: -8px; }
.cmpx-ci-clip.r { right: -8px; }

.cmpx-ci-note { margin: 10px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted2, #9a9a9a); max-width: 1100px; }
.cmpx-ci-note b { color: #d9d3c2; }
