.hp-hero {
    display: grid;
    grid-template-columns:minmax(0, 1fr) minmax(280px, 420px);
    gap: 24px;
    align-items: end;
    margin: 28px 0 22px
}

.hp-mode-card, .hp-card, .hp-metric {
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(20, 40, 45, .10);
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(26, 42, 46, .08);
    backdrop-filter: blur(10px)
}

.hp-mode-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px
}

.hp-mode-icon {
    font-size: 2rem
}

.hp-mode-card strong, .hp-mode-card small {
    display: block
}

.hp-mode-card small {
    margin-top: 3px;
    opacity: .72
}

.hp-metrics {
    display: grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px
}

.hp-metric {
    padding: 16px 18px
}

.hp-metric span, .hp-metric small {
    display: block;
    opacity: .68
}

.hp-metric strong {
    display: block;
    margin: 4px 0 2px;
    font-size: 1.55rem
}

.hp-grid {
    display: grid;
    gap: 18px
}

.hp-grid-main {
    grid-template-columns:2fr 1fr
}

.hp-card {
    padding: 20px
}

.hp-curve-card {
    grid-row: span 2
}

.hp-card-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 12px
}

.hp-card-header h2 {
    margin: 0
}

.hp-card-header > span {
    font-size: .9rem;
    opacity: .66
}

.hp-chart {
    width: 100%;
    min-height: 260px;
    overflow: visible
}

.hp-gridline {
    stroke: rgba(38, 57, 62, .12);
    stroke-width: 1
}

.hp-axis-label, .hp-now-label, .hp-empty {
    fill: rgba(24, 44, 49, .68);
    font-family: inherit
}

.hp-axis-label {
    font-size: 13px
}

.hp-now-label {
    font-size: 12px;
    font-weight: 700
}

.hp-curve-line, .hp-history-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linejoin: round;
    stroke-linecap: round
}

.hp-curve-line {
    color: #2e6f57
}

.hp-curve-point {
    fill: #fff;
    stroke: #2e6f57;
    stroke-width: 3
}

.hp-now-line {
    stroke: rgba(50, 90, 74, .5);
    stroke-width: 1.5;
    stroke-dasharray: 5 5
}

.hp-now.desired {
    fill: #fff;
    stroke: #2e6f57;
    stroke-width: 3
}

.hp-now.actual {
    fill: #253f46;
    stroke: #fff;
    stroke-width: 2
}

.hp-pair {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 12px
}

.hp-pair > div {
    padding: 14px;
    background: rgba(30, 60, 65, .04);
    border-radius: 16px
}

.hp-pair span {
    display: block;
    font-size: .85rem;
    opacity: .65
}

.hp-pair strong {
    display: block;
    margin-top: 4px;
    font-size: 1.35rem
}

.hp-hotwater-value {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 10px 0 16px
}

.hp-gauge {
    position: relative;
    height: 14px;
    background: rgba(30, 60, 65, .08);
    border-radius: 99px
}

.hp-gauge-band {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 99px;
    background: rgba(46, 111, 87, .25)
}

.hp-gauge-marker {
    position: absolute;
    top: 50%;
    width: 4px;
    height: 28px;
    border-radius: 99px;
    background: #253f46;
    transform: translate(-50%, -50%)
}

.hp-gauge-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: .8rem;
    opacity: .65
}

.hp-caption {
    margin: 10px 0 0;
    font-size: .88rem;
    opacity: .68
}

.hp-energy-summary {
    display: grid;
    gap: 8px;
    margin-top: 14px
}

.hp-energy-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .9rem
}

.hp-history-card {
    margin-top: 18px
}

.hp-history-line.supply {
    color: #c04a2f
}

.hp-history-line.return {
    color: #7b5e4e
}

.hp-history-line.desired {
    color: #2e6f57;
    stroke-dasharray: 7 5
}

.hp-history-line.outside {
    color: #4a75a3;
    stroke-width: 2;
    opacity: .75
}

@media (max-width: 900px) {
    .hp-hero, .hp-grid-main {
        grid-template-columns:1fr
    }

    .hp-metrics {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

    .hp-curve-card {
        grid-row: auto
    }
}

@media (max-width: 560px) {
    .hp-metrics, .hp-pair {
        grid-template-columns:1fr
    }
}

.hp-schematic {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
}

.hp-schematic video {
    display: block;
    width: 100%;
    height: auto;
}

.hp-reading {
    position: absolute;
    z-index: 10;

    min-width: 125px;
    padding: 10px 14px;

    background: rgba(5, 12, 9, 0.92);
    border: 1px solid rgba(116, 255, 169, 0.35);
    border-radius: 12px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    backdrop-filter: blur(8px);

    color: white;
    pointer-events: none;
}

.hp-reading span {
    display: block;
    margin-bottom: 3px;

    color: rgba(255, 255, 255, .70);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hp-reading strong {
    display: block;

    color: #7dffa9;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
}

.hp-reading small {
    display: block;
    margin-top: 3px;

    color: rgba(255, 255, 255, .65);
    font-size: 11px;
}


/* Links: bodemlus */
.hp-reading-brine-in {
    left: 31.3%;
    top: 28%;
}

.hp-reading-brine-out {
    left: 31.3%;
    top: 60.5%;
}


/* Midden: compressor */
.hp-reading-compressor {
    left: 50%;
    top: 40%;
    transform: translateX(-50%);
    text-align: center;
}


/* Rechts: woningcircuit */
.hp-reading-supply {
    right: 31.4%;
    top: 28%;
}

.hp-reading-return {
    right: 31.6%;
    top: 60.7%;
}


/* Onder: expansieventiel */
.hp-reading-valve {
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    text-align: center;
}