/* HEIDT – Leistungsdiagramm-Design 1.0.0
   Gleiches Layout wie auf intellituning.com (HORSTI-Konfigurator ab 4.5.10.41, ".hc2-dyno--v2"),
   nur mit der HEIDT-Performance-Farbpalette. Reine Farb-/Flächenregeln – Abmessungen, Abstände,
   Kurven und Werte kommen unverändert aus dem Konfigurator.
   Bewusst eigenständig und mit hoher Spezifität, damit Konfigurator-Updates (die die
   Kundenplugin-Dateien ersetzen) dieses Design nicht zurücksetzen. */

/* ---- Dunkel (Standard von heidt-performance.de) ---- */
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno.hc2-dyno--v2{
    --dy-stage:var(--hp-accent,#ff7a00);
    --dy-oem:#8b9198;
    --dy-ink:#f3f4f5;
    --dy-muted:#aeb3b9;
    --dy-line:#2c3035;
    --dy-surface:#111214;
    --hc2-line-strong:#393e44;
    border-color:#393e44!important;
    background:linear-gradient(160deg,#1b1d20 0%,#0b0b0c 100%)!important;
    color:var(--dy-ink)!important;
}
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno--v2 .hc2-dy-panel{
    border-color:var(--dy-line)!important;
    background:rgba(17,18,20,.72)!important;
}
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno--v2 .hc2-dyno-badge{border-color:#393e44!important;color:var(--dy-muted)!important}
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno--v2 .hc2-dy-readout{background:rgba(255,255,255,.045)!important}
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno--v2 :is(.hc2-dy-cap-title,.hc2-dy-cap-values strong,.hc2-dy-readout-pos,.hc2-dy-readout-val strong,.hc2-dy-table th,.hc2-dy-table td){color:var(--dy-ink)!important}
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno--v2 :is(.hc2-dyno-kicker,.hc2-dy-legend,.hc2-dy-axis,.hc2-dy-readout,.hc2-dy-cap-oem,.hc2-dy-cap-arrow,.hc2-dy-table summary,.hc2-dy-table thead th,.hc2-dyno-hint){color:var(--dy-muted)!important}
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno--v2 .hc2-dy-table summary:hover{color:var(--dy-ink)!important}
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno--v2 .hc2-dy-cap-gain{color:var(--dy-stage)!important;background:rgba(255,122,0,.15)!important}
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno--v2 .hc2-dy-table :is(th,td){border-bottom-color:var(--dy-line)!important}
html:is(:root,#heidt-ld) #horsti-cars-app .hc2-dyno--v2 .hc2-dy-key.is-gain i{background:rgba(255,122,0,.32)!important}

/* ---- Hell: globaler HEIDT-Schalter (data-hp-site-theme) – oder, falls das
        Hell/Dunkel-Plugin einmal fehlt, das eigene Konfigurator-Theme ---- */
html:is(:root,#heidt-ld)[data-hp-site-theme="light"] #horsti-cars-app .hc2-dyno.hc2-dyno--v2,
html:is(:root,#heidt-ld):not([data-hp-site-theme]) #horsti-cars-app.hc2-app[data-theme="light"] .hc2-dyno.hc2-dyno--v2{
    --dy-stage:#d96800;
    --dy-oem:#7a828c;
    --dy-ink:#20252a;
    --dy-muted:#49535f;
    --dy-line:#e1e5ea;
    --dy-surface:#ffffff;
    --hc2-line-strong:#cdd3da;
    border-color:#cdd3da!important;
    background:linear-gradient(160deg,#ffffff 0%,#f3f5f7 100%)!important;
}
html:is(:root,#heidt-ld)[data-hp-site-theme="light"] #horsti-cars-app .hc2-dyno--v2 .hc2-dy-panel,
html:is(:root,#heidt-ld):not([data-hp-site-theme]) #horsti-cars-app.hc2-app[data-theme="light"] .hc2-dyno--v2 .hc2-dy-panel{
    background:#ffffff!important;
}
html:is(:root,#heidt-ld)[data-hp-site-theme="light"] #horsti-cars-app .hc2-dyno--v2 .hc2-dyno-badge,
html:is(:root,#heidt-ld):not([data-hp-site-theme]) #horsti-cars-app.hc2-app[data-theme="light"] .hc2-dyno--v2 .hc2-dyno-badge{border-color:#cdd3da!important}
html:is(:root,#heidt-ld)[data-hp-site-theme="light"] #horsti-cars-app .hc2-dyno--v2 .hc2-dy-readout,
html:is(:root,#heidt-ld):not([data-hp-site-theme]) #horsti-cars-app.hc2-app[data-theme="light"] .hc2-dyno--v2 .hc2-dy-readout{background:#eef1f4!important}
html:is(:root,#heidt-ld)[data-hp-site-theme="light"] #horsti-cars-app .hc2-dyno--v2 .hc2-dy-cap-gain,
html:is(:root,#heidt-ld):not([data-hp-site-theme]) #horsti-cars-app.hc2-app[data-theme="light"] .hc2-dyno--v2 .hc2-dy-cap-gain{color:#a84d00!important;background:#fff0e3!important}
html:is(:root,#heidt-ld)[data-hp-site-theme="light"] #horsti-cars-app .hc2-dyno--v2 .hc2-dy-key.is-gain i,
html:is(:root,#heidt-ld):not([data-hp-site-theme]) #horsti-cars-app.hc2-app[data-theme="light"] .hc2-dyno--v2 .hc2-dy-key.is-gain i{background:rgba(217,104,0,.28)!important}
