﻿/* Outer card height: fits a 477px side card + spacing */
.energy-distributed {
    background: var(--neutral-white);
}

/* 24px to the outer border */
.ed-body {
    padding: 24px;
    box-sizing: border-box;
    margin-bottom: 24px;
}

/* Grid: row1=title, row2=chart; col2=summary spanning both */
.ed-grid {
    height: 100%;
    grid-template-columns: 1fr 310px;
    grid-template-rows: auto 1fr;
    column-gap: 24px; /* chart ↔ summary */
    row-gap: 24px; /* title ↔ chart */
    align-items: start;
}

.ed-subtitle {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 684px;
    font-family: 'Inter', var(--font-main);
    font-weight: 400;
    font-size: var(--fs-14);
    line-height: 20px;
    letter-spacing: -0.03em;
    color: var(--accent-gray);
}

/* Title row */
.ed-header {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-columns: max-content max-content; /* keep title & icon tight */
    grid-template-rows: auto auto; /* row1: title+icon, row2: subtitle */
    column-gap: 4px; /* exactly 4px between title & icon */
    row-gap: 4px; /* 4px between title & subtitle */
    align-items: center;
    justify-content: start;
}

.ed-title {
    font-family: 'Inter', var(--font-main);
    font-weight: 500;
    font-size: var(--fs-16);
    line-height: 24px;
    letter-spacing: -0.03em;
    color: var(--neutral-navy);
    margin-right: 4px;
}

.ed-icon {
    flex: 0 0 16px;
}



/* Annual Summary — top aligned with title (spans both rows) */

/* 16px from title to card border (top/left/right) */
.annual-summary__top {
    grid-column: 2;
    grid-row: 1 / span 2;
    background: var(--neutral-bg-pure);
    border: 1px solid var(--neutral-gray-border);
    border-radius: var(--radius-8);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height:431px!important;
    
}

.annual-summary__title {
    font-family: 'Inter', var(--font-main);
    font-weight: 600;
    font-size: var(--fs-16);
    line-height: 24px;
    color: var(--neutral-navy);
    
}

/* 24px gap title → first card; 16px sides/bottom */
.annual-summary__cards {
    flex: 1;
    padding: 0 16px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
