.ecgcc { --ecgcc-green:      #00ad02;
--ecgcc-green-deep: #089a0a;
--ecgcc-char:       #3a4149;
--ecgcc-forest:     #08361a;
--ecgcc-mint:       #f4faf4;
--ecgcc-line:       #e3ebe3;
--ecgcc-ink:        #16241c;
--ecgcc-muted:      #6b7c70;
--ecgcc-loss:       #b1352f;
--ecgcc-head: 'Space Grotesk', 'Archivo', Arial, sans-serif;
--ecgcc-body: 'Open Sans', 'IBM Plex Sans', Arial, sans-serif;
font-family: var(--ecgcc-body);
color: var(--ecgcc-ink);
font-size: 15px;
line-height: 1.5;
box-sizing: border-box;
}
.ecgcc *,
.ecgcc *::before,
.ecgcc *::after { box-sizing: border-box; }
.ecgcc .ecgcc-wrap {
border: 1px solid var(--ecgcc-line);
border-radius: 16px;
overflow: visible; background: #fff;
max-width: 960px;
}
.ecgcc .ecgcc-top {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
padding: 15px 18px 4px;
flex-wrap: wrap;
}
.ecgcc .ecgcc-top h2 {
font-family: var(--ecgcc-head);
font-size: 18px;
margin: 0;
color: var(--ecgcc-forest);
font-weight: 700;
}
.ecgcc .ecgcc-modes {
display: inline-flex;
background: var(--ecgcc-mint);
border: 1px solid var(--ecgcc-line);
border-radius: 999px;
padding: 3px;
}
.ecgcc .ecgcc-modes button {
font-family: var(--ecgcc-head);
font-size: 13px;
font-weight: 600;
border: 0;
background: transparent;
color: var(--ecgcc-muted);
padding: 6px 15px;
border-radius: 999px;
cursor: pointer;
transition: .15s;
line-height: 1.2;
}
.ecgcc .ecgcc-modes button.on { background: var(--ecgcc-green); color: #fff; }
.ecgcc .ecgcc-body {
display: flex;
gap: 20px;
padding: 8px 18px 18px;
align-items: flex-start;
}
.ecgcc .ecgcc-left  { flex: 1 1 58%; min-width: 0; }
.ecgcc .ecgcc-right { flex: 0 0 292px; max-width: 320px; }
.ecgcc .ecgcc-tiles { display: flex; flex-wrap: wrap; gap: 9px; margin: 2px 0 8px; }
.ecgcc .ecgcc-tile { flex: 1 1 96px;
min-width: 0;
background: var(--ecgcc-mint);
border: 1px solid var(--ecgcc-line);
border-radius: 12px;
padding: 9px 11px;
}
.ecgcc .ecgcc-tile .ecgcc-k {
font-size: 10.5px;
color: var(--ecgcc-muted);
text-transform: uppercase;
letter-spacing: .04em;
}
.ecgcc .ecgcc-tile .ecgcc-v {
font-family: var(--ecgcc-head);
font-size: 19px;
font-weight: 700;
line-height: 1.3;
overflow-wrap: anywhere;
}
.ecgcc .ecgcc-tile.ev   .ecgcc-v { color: var(--ecgcc-green-deep); }
.ecgcc .ecgcc-tile.pt   .ecgcc-v { color: var(--ecgcc-char); }
.ecgcc .ecgcc-tile.save .ecgcc-v { color: var(--ecgcc-green-deep); }
.ecgcc svg { width: 100%; height: auto; display: block; } .ecgcc .ecgcc-chart { position: relative; }
.ecgcc svg.has-hover { cursor: crosshair; touch-action: pan-y; outline: none; }
.ecgcc svg.has-hover:focus-visible { outline: 2px solid var(--ecgcc-green); outline-offset: 2px; border-radius: 4px; }
.ecgcc .ecgcc-tip {
position: absolute; top: 0; left: 0; z-index: 2; pointer-events: none;
display: flex; flex-direction: column; gap: 3px; min-width: 150px;
padding: 7px 10px; border-radius: 8px; font-size: 12.5px; line-height: 1.35; color: var(--ecgcc-ink);
background: #fff; border: 1px solid var(--ecgcc-line); box-shadow: 0 4px 14px rgba(0,0,0,.14);
}
.ecgcc .ecgcc-tip b { font-family: var(--ecgcc-head); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ecgcc-muted); }
.ecgcc .ecgcc-tip span { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.ecgcc .ecgcc-tip span i { width: 14px; height: 3px; border-radius: 2px; background: var(--ecgcc-char); flex: none; }
.ecgcc .ecgcc-tip .ev i { background: var(--ecgcc-green); }
.ecgcc .ecgcc-tip span em { font-style: normal; font-weight: 700; margin-left: auto; padding-left: 12px; }
.ecgcc .ecgcc-tip .save { color: var(--ecgcc-green-deep); font-weight: 700; margin-top: 2px; }
.ecgcc .ecgcc-tip .save.dearer { color: var(--ecgcc-loss); }
.ecgcc .ecgcc-tip[hidden] { display: none; }
.ecgcc .ecgcc-legend {
display: flex; gap: 16px; flex-wrap: wrap;
font-family: var(--ecgcc-head); font-size: 12.5px; font-weight: 600;
margin-top: 6px;
}
.ecgcc .ecgcc-legend span { display: inline-flex; align-items: center; gap: 7px; }
.ecgcc .ecgcc-legend span::before {
content: ''; width: 16px; height: 3px; border-radius: 2px; background: var(--ecgcc-char);
}
.ecgcc .ecgcc-legend .ev::before { background: var(--ecgcc-green); }
.ecgcc .ecgcc-legend .ev { color: var(--ecgcc-green-deep); }
.ecgcc .ecgcc-legend .pt { color: var(--ecgcc-char); }
.ecgcc .ecgcc-note {
font-size: 12px;
color: var(--ecgcc-muted);
margin-top: 6px;
line-height: 1.5;
}
.ecgcc .ecgcc-ctrl { margin: 0 0 11px; }
.ecgcc .ecgcc-ctrl label {
display: flex;
justify-content: space-between;
gap: 8px;
font-size: 12.5px;
font-weight: 600;
margin-bottom: 3px;
}
.ecgcc .ecgcc-ctrl label span {
color: var(--ecgcc-green-deep);
font-family: var(--ecgcc-head);
white-space: nowrap;
}
.ecgcc .ecgcc-ctrl input[type=range] {
width: 100%;
accent-color: var(--ecgcc-green);
margin: 0;
}
.ecgcc .ecgcc-grp {
font-family: var(--ecgcc-head);
font-size: 11px;
text-transform: uppercase;
letter-spacing: .06em;
color: var(--ecgcc-muted);
margin: 4px 0 9px;
padding-top: 8px;
border-top: 1px solid var(--ecgcc-line);
}
.ecgcc .ecgcc-grp:first-child { border-top: 0; padding-top: 0; }
.ecgcc .ecgcc-adv { display: none; }
.ecgcc.advanced .ecgcc-adv { display: block; }
.ecgcc .ecgcc-reset {
font-family: var(--ecgcc-head);
font-size: 12px;
font-weight: 600;
color: var(--ecgcc-muted);
background: none;
border: 0;
cursor: pointer;
padding: 4px 0;
text-decoration: underline;
}
@media (max-width: 640px) { .ecgcc .ecgcc-body { flex-direction: column; align-items: stretch; }
.ecgcc .ecgcc-left  { flex: 1 1 auto; width: 100%; }
.ecgcc .ecgcc-right { flex: 1 1 auto; max-width: none; width: 100%; }
}.ecgcc.ecgcc-page {
--ecgcc-c1: var(--ecgcc-green);
--ecgcc-c2: #2F6BFF;
--ecgcc-c3: #D98A00;
--ecgcc-c4: #7A4FD8;
--ecgcc-c5: #0FA3B1;
--ecgcc-c6: #C2417A;
}
.ecgcc.ecgcc-page .ecgcc-wrap { max-width: 1040px; } .ecgcc .ecgcp-pick {
padding: 8px 18px 4px;
border-bottom: 1px solid var(--ecgcc-line);
margin-bottom: 8px;
}
.ecgcc .ecgcp-types {
display: flex;
flex-wrap: wrap;
gap: 6px;
align-items: center;
margin: 4px 0 10px;
}
.ecgcc .ecgcp-types .ecgcc-grp { margin: 0 6px 0 0; padding: 0; border: 0; }
.ecgcc .ecgcp-type {
font-family: var(--ecgcc-head);
font-size: 12px;
font-weight: 600;
padding: 4px 11px;
border-radius: 999px;
border: 1px solid var(--ecgcc-line);
background: #fff;
color: var(--ecgcc-muted);
cursor: pointer;
line-height: 1.4;
}
.ecgcc .ecgcp-type.on {
background: var(--ecgcc-forest);
border-color: var(--ecgcc-forest);
color: #fff;
}
.ecgcc .ecgcp-rows { display: flex; flex-direction: column; gap: 8px; }
.ecgcc .ecgcp-row {
display: flex;
align-items: center;
gap: 10px;
min-width: 0;
}
.ecgcc .ecgcp-row .ecgcp-sw {
flex: none;
width: 14px;
height: 14px;
border-radius: 4px;
background: var(--sw, var(--ecgcc-char));
}
.ecgcc .ecgcp-row select {
flex: 1 1 auto;
min-width: 0;
max-width: 460px;
font: inherit;
font-size: 14px;
padding: 6px 10px;
border: 1px solid var(--ecgcc-line);
border-radius: 8px;
background: #fff;
color: var(--ecgcc-ink);
}
.ecgcc .ecgcp-row select:focus { outline: 2px solid var(--ecgcc-green); outline-offset: 1px; }
.ecgcc .ecgcp-remove {
flex: none;
font-family: var(--ecgcc-head);
font-size: 12px;
font-weight: 600;
color: var(--ecgcc-muted);
background: none;
border: 1px solid var(--ecgcc-line);
border-radius: 8px;
padding: 5px 9px;
cursor: pointer;
}
.ecgcc .ecgcp-remove:hover { color: var(--ecgcc-loss); border-color: var(--ecgcc-loss); }
.ecgcc .ecgcp-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 14px;
margin: 10px 0 6px;
}
.ecgcc .ecgcp-add {
font-family: var(--ecgcc-head);
font-size: 13px;
font-weight: 700;
color: var(--ecgcc-green-deep);
background: var(--ecgcc-mint);
border: 1px solid var(--ecgcc-line);
border-radius: 8px;
padding: 6px 12px;
cursor: pointer;
}
.ecgcc .ecgcp-add[disabled] { opacity: .45; cursor: default; }
.ecgcc .ecgcp-petrol {
display: inline-flex;
align-items: center;
gap: 7px;
font-size: 13px;
color: var(--ecgcc-char);
cursor: pointer;
}
.ecgcc .ecgcp-petrol input { accent-color: var(--ecgcc-green); margin: 0; } .ecgcc.ecgcc-page .ecgcc-tile.car .ecgcc-v { color: var(--sw, var(--ecgcc-green-deep)); }
.ecgcc.ecgcc-page .ecgcc-tile.car .ecgcc-k::before {
content: '';
display: inline-block;
width: 10px;
height: 10px;
border-radius: 3px;
background: var(--sw, var(--ecgcc-green));
margin-right: 6px;
vertical-align: -1px;
}
.ecgcc.ecgcc-page .ecgcc-tile .ecgcc-s {
font-size: 11px;
color: var(--ecgcc-muted);
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} .ecgcc.ecgcc-page .ecgcc-legend span.c { color: var(--sw, var(--ecgcc-ink)); }
.ecgcc.ecgcc-page .ecgcc-legend span.c::before { background: var(--sw, var(--ecgcc-green)); }
.ecgcc.ecgcc-page .ecgcc-tip span.c i { background: var(--sw, var(--ecgcc-green)); }
.ecgcc.ecgcc-page .ecgcc-tip .spread { color: var(--ecgcc-muted); font-size: 12px; margin-top: 2px; } .ecgcc .ecgcp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .ecgcc .ecgcp-empty { padding: 18px; color: var(--ecgcc-muted); font-size: 14px; }
@media (max-width: 640px) {
.ecgcc .ecgcp-row select { max-width: none; }
.ecgcc.ecgcc-page .ecgcc-tile { flex: 1 1 42%; }
}