/* /Components/MeasurementDialog.razor.rz.scp.css */
.measurement-dialog-backdrop[b-z4tv6t57q9] {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 50;
}

.measurement-dialog[b-z4tv6t57q9] {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    width: min(100%, 420px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
    overflow: hidden;
    transition: max-height 200ms ease, box-shadow 200ms ease;
}

.measurement-dialog h2[b-z4tv6t57q9] {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.5rem;
}

.measurement-caption[b-z4tv6t57q9] {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #64748b;
}

.energy-row[b-z4tv6t57q9] {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.energy-choice[b-z4tv6t57q9] {
    border: none;
    border-radius: 12px;
    height: 58px;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 120ms ease, box-shadow 120ms ease;
    cursor: pointer;
    box-shadow: inset 0 0 0 2px transparent;
}

.energy-choice:hover[b-z4tv6t57q9] {
    transform: translateY(-2px);
}

.energy-choice.is-selected[b-z4tv6t57q9] {
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.25);
}

.energy-choice:not(.is-selected)[b-z4tv6t57q9] {
    opacity: 0.4;
}

.dialog-metric-actions[b-z4tv6t57q9] {
    margin-top: 0.5rem;
    text-align: right;
}

.metric-actions-bottom[b-z4tv6t57q9] {
    padding-top: 0.25rem;
}

.metric-add-button[b-z4tv6t57q9] {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.metric-add-button:disabled[b-z4tv6t57q9] {
    color: #94a3b8;
    cursor: not-allowed;
}

.metric-row[b-z4tv6t57q9] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.metric-name-input[b-z4tv6t57q9] {
    flex: 1;
    padding: 0.65rem 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.additional-metric[b-z4tv6t57q9] {
    margin-bottom: 0.75rem;
}

.metric-remove[b-z4tv6t57q9] {
    border: none;
    background: none;
    color: #dc2626;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
}

.measurement-dialog label[b-z4tv6t57q9] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.measurement-dialog .form-control[b-z4tv6t57q9],
.metric-name-input[b-z4tv6t57q9],
.metric-remove[b-z4tv6t57q9] {
    min-width: 0;
}

.dialog-controls[b-z4tv6t57q9] {
    margin-top: 0.5rem;
}

.dialog-controls button:disabled[b-z4tv6t57q9] {
    background: #94a3b8;
    border-color: #94a3b8;
    color: #e2e8f0;
    cursor: not-allowed;
    box-shadow: none;
}
/* /Components/MeasurementHeatmap.razor.rz.scp.css */
.analysis-heatmap[b-at5v42viv6] {
    border-radius: 12px;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    overflow: visible;
    position: relative;
    padding-bottom: 0.5rem;
}

.analysis-heatmap-note[b-at5v42viv6] {
    text-align: left;
    margin-top: 0.25rem;
    padding: 0;
    color: #1e293b;
    font-size: 0.9rem;
}

.heatmap-matrix[b-at5v42viv6] {
    transition: height 200ms ease;
    overflow: hidden;
    width: calc(100% + 1rem);
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

.heatmap-row[b-at5v42viv6] {
    display: grid;
    grid-template-columns: 120px repeat(24, minmax(24px, 32px));
    gap: 0.2rem;
    align-items: center;
    margin-bottom: 0.25rem;
}

.heatmap-header[b-at5v42viv6] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    margin-bottom: 0.5rem;
}

.axis-label[b-at5v42viv6] {
    text-align: right;
    font-weight: 700;
    padding-right: 0.5rem;
}

.day-label[b-at5v42viv6] {
    text-align: right;
    font-weight: 600;
    color: #0f172a;
}

.hour-label[b-at5v42viv6] {
    font-size: 0.75rem;
    text-align: center;
    color: #475569;
}

.heatmap-cell[b-at5v42viv6] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin: 0 auto;
    transition: background-color 200ms ease, transform 200ms ease;
}

.legend[b-at5v42viv6] {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.legend-items[b-at5v42viv6] {
    display: flex;
    gap: 0.75rem;
}

.legend-item[b-at5v42viv6] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
}

.legend-swatch[b-at5v42viv6] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: inline-flex;
    border: 1px solid rgba(15, 23, 42, 0.2);
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-kwfsiwn2m6] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-kwfsiwn2m6] {
    flex: 1;
}

.sidebar[b-kwfsiwn2m6] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-kwfsiwn2m6] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-kwfsiwn2m6]  a, .top-row[b-kwfsiwn2m6]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-kwfsiwn2m6]  a:hover, .top-row[b-kwfsiwn2m6]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-kwfsiwn2m6]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-kwfsiwn2m6] {
        justify-content: space-between;
    }

    .top-row[b-kwfsiwn2m6]  a, .top-row[b-kwfsiwn2m6]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-kwfsiwn2m6] {
        flex-direction: row;
    }

    .sidebar[b-kwfsiwn2m6] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-kwfsiwn2m6] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-kwfsiwn2m6]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-kwfsiwn2m6], article[b-kwfsiwn2m6] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-1ld5dzd1oz] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-1ld5dzd1oz] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-1ld5dzd1oz] {
    font-size: 1.1rem;
}

.bi[b-1ld5dzd1oz] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-1ld5dzd1oz] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-1ld5dzd1oz] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-1ld5dzd1oz] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-1ld5dzd1oz] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-1ld5dzd1oz] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-1ld5dzd1oz] {
        padding-bottom: 1rem;
    }

    .nav-item[b-1ld5dzd1oz]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-1ld5dzd1oz]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-1ld5dzd1oz]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-1ld5dzd1oz] {
        display: none;
    }

    .collapse[b-1ld5dzd1oz] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-1ld5dzd1oz] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Analysis.razor.rz.scp.css */
.analysis-shell[b-lvutmfz8rs] {
    margin: 2rem auto;
    max-width: 960px;
    text-align: center;
}

.page-header[b-lvutmfz8rs] {
    margin-bottom: 1rem;
}

.analysis-controls[b-lvutmfz8rs] {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.analysis-controls select[b-lvutmfz8rs] {
    width: auto;
    min-width: 140px;
}

.analysis-actions[b-lvutmfz8rs] {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

.add-measurement-fab[b-lvutmfz8rs] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: 2.25rem;
    border: none;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.add-measurement-fab:hover[b-lvutmfz8rs] {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.35);
}

.add-measurement-fab:focus-visible[b-lvutmfz8rs] {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

