/* Heat Trends hourly styles */

/* Layout */

#plot-results-graphs-pane .hourly-shell {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 700px;
    align-items: stretch;
    background: #ffffff;
    border-radius: inherit;
}
#plot-results-graphs-pane .hourly-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    flex: 0 0 clamp(320px, 25%, 420px);
    width: clamp(320px, 25%, 420px);
    min-width: 320px;
    max-width: 420px;
    max-height: none;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    overflow: hidden;
    transition: width 180ms ease;
    z-index: 2;
}
#plot-results-graphs-pane .hourly-sidebar-inner {
    flex: 1 1 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 0.9rem;
    overflow: hidden;
    background: #ffffff;
}
#plot-results-graphs-pane {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}
#plot-results-graphs-pane .hourly-title h2 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#plot-results-graphs-pane .hourly-title-help {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    background: #ffffff;
    color: #4a4a4a;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#plot-results-graphs-pane .hourly-title-help:hover {
    background: #f1f3f5;
}
#plot-results-graphs-pane .hourly-main {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bs-light);
    padding: 12px 35px;
}
#plot-results-graphs-pane .hourly-sidebar-toggle {
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 .2rem .55rem rgba(0, 0, 0, 0.18);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}
#plot-results-graphs-pane .hourly-sidebar-toggle:hover {
    background: rgba(0, 0, 0, 0.62);
}
#plot-results-graphs-pane .hourly-sidebar-toggle-text {
    font-weight: 700;
    line-height: 1;
}
#plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-sidebar {
    flex-basis: 0;
    width: 0;
    min-width: 0;
    border-right: 0;
}
#plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-sidebar-toggle {
    left: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0 6px 6px 0;
}
#plot-results-graphs-pane .hourly-section {
    margin-top: 12px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}
#plot-results-graphs-pane .hourly-section.hourly-section--tools {
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}
#plot-results-graphs-pane .hourly-section.hourly-section--allarea {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}
#plot-results-graphs-pane .hourly-section.hourly-section--allarea > .hourly-section-head-row {
    flex: 0 0 auto;
}
#plot-results-graphs-pane #hourly-allarea-collapse.show {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
#plot-results-graphs-pane .hourly-section-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 8px;
    padding: 10px;
    background: #f7f7f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
#plot-results-graphs-pane #hourly-statewide-toggle {
    background: #f7f7f7;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px 10px 0 0;
}
#plot-results-graphs-pane .hourly-section-head {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
}
#plot-results-graphs-pane .hourly-section-head-row .hourly-section-head {
    padding: 0;
}
#plot-results-graphs-pane .hourly-caret {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid rgba(0, 0, 0, 0.60);
}
#plot-results-graphs-pane .hourly-section-head[aria-expanded="false"] .hourly-caret {
    transform: rotate(-90deg);
}
#plot-results-graphs-pane .hourly-tools {
    display: flex;
    gap: 6px;
    flex: 0 0 auto;
    position: relative;
}
#plot-results-graphs-pane .hourly-tool-btn {
    border: 1px solid rgba(0, 0, 0, 0.18);
    background: #ffffff;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.82rem;
}
#plot-results-graphs-pane .hourly-tool-btn:hover {
    background: #f6f6f6;
}
#plot-results-graphs-pane .hourly-sort-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 12px;
    width: 100%;
}
#plot-results-graphs-pane .hourly-sort-label {
    align-self: flex-start;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.16em;
    color: #2f2f2f;
}
#plot-results-graphs-pane .hourly-key-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 10px 10px 6px 10px;
    color: #555555;
    font-weight: 700;
    font-size: 0.82rem;
}
#plot-results-graphs-pane .hourly-key-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
    margin: 0 10px 8px 10px;
}
#plot-results-graphs-pane .hourly-card-list {
    padding: 0 10px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    padding-right: 6px;
}
#plot-results-graphs-pane .hourly-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 6px 10px 12px 10px;
    font-size: 0.86rem;
}
#plot-results-graphs-pane .hourly-pagination-link, #plot-results-graphs-pane .hourly-pagination-ellipsis {
    color: #1b5e20;
    text-decoration: underline;
    text-underline-offset: 0.16em;
    font-weight: 600;
    line-height: 1;
}
#plot-results-graphs-pane .hourly-pagination-link:hover {
    color: #14461a;
}
#plot-results-graphs-pane .hourly-pagination-ellipsis {
    cursor: default;
    color: #7a7a7a;
}
#plot-results-graphs-pane .hourly-pagination-link-active {
    color: #2b2b2b;
    font-weight: 700;
    text-decoration: none;
}

/* Event cards */

#plot-results-graphs-pane .hourly-filter-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.22);
    border-radius: 10px;
    background: #ffffff;
    font-size: 0.82rem;
    width: 100%;
    max-width: 260px;
    max-height: 200px;
    overflow: hidden;
}
#plot-results-graphs-pane .hourly-filter-scroll {
    overflow-y: auto;
    min-height: 0;
    flex: 1 1 auto;
    padding: 10px 12px 8px 12px;
}
#plot-results-graphs-pane .hourly-filter-block + .hourly-filter-block {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    padding-top: 8px;
}
#plot-results-graphs-pane .hourly-filter-title {
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.16em;
    color: #2f2f2f;
    margin-bottom: 6px;
}
#plot-results-graphs-pane .hourly-filter-panel .form-check-label {
    font-size: 0.8rem;
}
#plot-results-graphs-pane .hourly-filter-actions {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    background: #ffffff;
    padding: 8px 12px;
}
#plot-results-graphs-pane .hourly-sort-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: 260px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.22);
    border-radius: 10px;
    background: #ffffff;
}
#plot-results-graphs-pane .hourly-filter-years {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
}
#plot-results-graphs-pane .hourly-info-icon {
    display: inline-block;
    font-size: 0.7em;
    line-height: 1;
    border: 1px solid rgba(0, 0, 0, 0.4);
    border-radius: 999px;
    padding: 0 4px;
    color: #4a4a4a;
}
#plot-results-graphs-pane .hourly-event-card {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    background: #ffffff;
    padding: 8px 10px;
    text-align: left;
    cursor: pointer;
}
#plot-results-graphs-pane .hourly-event-card:hover {
    background: #fafafa;
}
#plot-results-graphs-pane .hourly-event-card.is-active {
    border-color: rgba(27, 94, 32, 0.55);
    box-shadow: 0 0 0 2px rgba(27, 94, 32, 0.12);
}
#plot-results-graphs-pane .hourly-event-card.is-unplottable, #plot-results-graphs-pane .hourly-event-card:disabled {
    cursor: not-allowed;
    opacity: 0.62;
    background: #f6f7f8;
    border-color: rgba(0, 0, 0, 0.16);
}
#plot-results-graphs-pane .hourly-event-card.is-unplottable:hover, #plot-results-graphs-pane .hourly-event-card:disabled:hover {
    background: #f6f7f8;
}
#plot-results-graphs-pane .hourly-card-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
#plot-results-graphs-pane .hourly-card-left, #plot-results-graphs-pane .hourly-card-right {
    color: #333333;
    font-weight: 700;
    font-size: 0.90rem;
}
#plot-results-graphs-pane .hourly-card-right {
    white-space: nowrap;
}
#plot-results-graphs-pane .hourly-card-sub,
#plot-results-graphs-pane .hourly-card-sub-type {
    margin-top: 2px;
    color: #666666;
    font-size: 0.80rem;
}
#plot-results-graphs-pane .hourly-card-sub-unplottable {
    color: #8a2d2d;
    font-weight: 600;
}
#plot-results-graphs-pane .hourly-plot-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 8px;
    min-height: 0;
    max-height: 100%;
    width: 100%;
    overflow: auto;
    position: relative;
}
#plot-results-graphs-pane .hourly-card-sub-date {
    margin-top: 4px;
    font-weight: 700;
    color: #000000;
    font-size: 0.88rem;
}
#plot-results-graphs-pane #hourly-allarea-list {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}
#plot-results-graphs-pane #hourly-allarea-pagination {
    flex: 0 0 auto;
}
#plot-results-graphs-pane #hourly-allarea-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    margin: 0;
    flex: 1 1 auto;
}
#plot-results-graphs-pane #hourly-allarea-empty .hourly-empty-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}
#plot-results-graphs-pane #hourly-allarea-empty .hourly-empty-status .spinner-border {
    flex: 0 0 auto;
}
#plot-results-graphs-pane .hourly-tool-btn.is-active {
    border-color: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.10);
}
#plot-results-graphs-pane .hourly-graph-head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
}
#plot-results-graphs-pane .hourly-graph-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    box-sizing: border-box;
    margin-top: 1rem;
    overflow: auto;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 12px;
    background: #ffffff;
}
.heat-trends-page #hourly-graph-title {
    font-size: 1.15rem;
    line-height: 1.2;
    margin: 0;
    flex: 1 1 auto;
    min-width: auto;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}
.heat-trends-page .hourly-graph-title--in-body {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.heat-trends-page .hourly-selected-event-label {
    display: none !important;
}
.heat-trends-page .hourly-graph-title-actions {
    margin-left: auto;
    flex: 0 0 auto;
    align-self: flex-start;
}
@media (max-width: 1249.98px) {
    .heat-trends-page .hourly-graph-title--in-body.is-variable-hi,
    .heat-trends-page .hourly-graph-title--in-body:not(.is-variable-tair):not(.is-variable-wbgt) {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .heat-trends-page .hourly-graph-title--in-body.is-variable-hi .hourly-graph-title-actions,
    .heat-trends-page .hourly-graph-title--in-body:not(.is-variable-tair):not(.is-variable-wbgt) .hourly-graph-title-actions {
        margin-left: 0;
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
    }
}
@media (max-width: 1274.98px) {
    .heat-trends-page .hourly-graph-title--in-body.is-variable-tair {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .heat-trends-page .hourly-graph-title--in-body.is-variable-tair .hourly-graph-title-actions {
        margin-left: 0;
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
    }
}
@media (max-width: 1349.98px) {
    .heat-trends-page .hourly-graph-title--in-body.is-variable-wbgt {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .heat-trends-page .hourly-graph-title--in-body.is-variable-wbgt .hourly-graph-title-actions {
        margin-left: 0;
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
    }
}
@media (max-width: 991.98px) {
    .heat-trends-page .hourly-graph-title--in-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .heat-trends-page .hourly-graph-title-actions {
        margin-left: 0;
        flex: 0 0 100%;
        width: 100%;
        justify-content: flex-start;
    }
}
#plot-results-graphs-pane .hourly-graph-options-card .card-header {
    padding: 8px 12px;
}
#plot-results-graphs-pane .hourly-graph-options-card .card-header .fw-semibold {
    font-family: "Oswald", Arial, var(--bs-body-font-family, sans-serif), sans-serif;
    font-size: 1.2rem;
    line-height: 1.1;
}
#plot-results-graphs-pane .hourly-graph-options-card .card-body {
    padding: 10px 12px;
}
#plot-results-graphs-pane .hourly-graph-head .card-body {
    background: #fff;
}
#plot-results-graphs-pane .hourly-opt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    justify-items: center;
}
@media (min-width: 992px) {
    #plot-results-graphs-pane .hourly-opt-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
#plot-results-graphs-pane .hourly-opt-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    width: 100%;
    max-width: 13.5rem;
    margin: 0 auto;
    text-align: center;
}
#plot-results-graphs-pane .hourly-opt-group-header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    padding: 0 1rem 2px 1rem;
    border-bottom: 1px solid #cfcfcf;
    margin-bottom: 8px;
    text-align: center;
}
#plot-results-graphs-pane .hourly-opt-group-title {
    font-weight: 600;
}
#plot-results-graphs-pane .hourly-opt-group-note {
    display: none;
}
#plot-results-graphs-pane .hourly-opt-items {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    width: fit-content;
}
#plot-results-graphs-pane .hourly-opt-items .form-check {
    margin: 0;
}
#plot-results-graphs-pane .hourly-legend-host {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.16);
}
#plot-results-graphs-pane .hourly-legend-host > * {
    margin-left: 1rem;
}
#plot-results-graphs-pane .hourly-legend-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0 10px;
}
#plot-results-graphs-pane .hourly-legend-toggle {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: inherit;
    text-align: left;
}
#plot-results-graphs-pane .hourly-legend-actions {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}
#plot-results-graphs-pane .hourly-legend-action {
    border: 0;
    background: transparent;
    padding: 0;
    color: #1b5e20;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.2;
    text-decoration: underline;
    cursor: pointer;
}
#plot-results-graphs-pane .hourly-legend-action:hover {
    color: #1b5e20;
}
#plot-results-graphs-pane .hourly-legend-action:focus-visible {
    outline: 2px solid rgba(13, 110, 253, 0.35);
    outline-offset: 2px;
    border-radius: 2px;
}
#plot-results-graphs-pane .hourly-legend-action-sep {
    padding: 0 6px;
    color: #6c757d;
}
#plot-results-graphs-pane .hourly-legend-toggle:hover .hourly-legend-title {
    text-decoration: underline;
}
#plot-results-graphs-pane .hourly-legend-toggle:focus-visible {
    outline: 2px solid rgba(13, 110, 253, 0.35);
    outline-offset: 2px;
    border-radius: 4px;
}
#plot-results-graphs-pane .hourly-legend-title {
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
}
#plot-results-graphs-pane .hourly-legend-chevron {
    width: 18px;
    height: 18px;
    position: relative;
    flex: 0 0 auto;
}
#plot-results-graphs-pane .hourly-legend-chevron::before, #plot-results-graphs-pane .hourly-legend-chevron::after {
    content: "";
    position: absolute;
    top: 8px;
    width: 9px;
    height: 2px;
    background: rgba(0, 0, 0, 0.65);
}
#plot-results-graphs-pane .hourly-legend-chevron::before {
    left: 2px;
    transform: rotate(45deg);
}
#plot-results-graphs-pane .hourly-legend-chevron::after {
    right: 2px;
    transform: rotate(-45deg);
}
#plot-results-graphs-pane .hourly-legend-toggle[aria-expanded="false"] .hourly-legend-chevron {
    transform: rotate(180deg);
}

/* Legend */

#plot-results-graphs-pane .hourly-legend-panel {
    border: 0;
    border-radius: 0;
    padding: 0.45rem 0 0;
    margin-bottom: 0;
    background: #ffffff;
    max-height: min(260px, 34vh);
    overflow: auto;
}
#plot-results-graphs-pane .hourly-legend-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 6px 14px;
}
#plot-results-graphs-pane .hourly-legend-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: #ffffff;
    border: 0;
    padding: 0;
    min-width: 0;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
#plot-results-graphs-pane .hourly-legend-note {
    grid-column: 1 / -1;
    color: #6c757d;
    font-size: 0.82rem;
    line-height: 1.35;
    padding-top: 2px;
}
#plot-results-graphs-pane .hourly-legend-row-head {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
#plot-results-graphs-pane .hourly-legend-row-head .form-check-input {
    margin: 0;
}
#plot-results-graphs-pane .hourly-legend-line-pack {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 4px;
}
#plot-results-graphs-pane .hourly-legend-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}
#plot-results-graphs-pane .hourly-legend-line {
    display: inline-block;
    width: 22px;
    height: 0;
    border-top: 2px solid #777777;
}
#plot-results-graphs-pane .hourly-legend-line.dash {
    border-top-style: dashed;
}
#plot-results-graphs-pane .hourly-legend-line.longdashdot {
    height: 2px;
    border-top: 0;
    background-image: repeating-linear-gradient(
        to right,
        currentColor 0 8px,
        transparent 8px 12px,
        currentColor 12px 14px,
        transparent 14px 18px
    );
}
#plot-results-graphs-pane .hourly-legend-line.dot {
    border-top-style: dotted;
}
#plot-results-graphs-pane .hourly-legend-line-label {
    font-size: 0.72rem;
    color: #6c757d;
    margin-right: 4px;
    line-height: 1;
}
#plot-results-graphs-pane .hourly-legend-label {
    font-size: 0.95rem;
    line-height: 1.1;
}

/* Empty states */

#plot-results-graphs-pane .hourly-empty-state {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 14px 14px 12px;
    background: #ffffff;
}
@media (min-width: 992px) {
    #plot-results-graphs-pane .hourly-empty-state {
        height: 935px;
        max-height: 935px;
    }
}
#plot-results-graphs-pane .hourly-empty-state-paragraph {
    color: #343a40;
    font-size: 0.9rem;
    line-height: 1.35;
}
#plot-results-graphs-pane h5.hourly-empty-state-heading {
    margin-top: 0;
    color: #000000;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    line-height: 1.2;
}
#plot-results-graphs-pane .hourly-empty-state-heading {
    text-decoration: underline;
    text-underline-offset: 0.16em;
}
#plot-results-graphs-pane .hourly-empty-state-inline-info {
    font-size: 0.72rem;
    color: #6c757d;
}
#plot-results-graphs-pane .hourly-empty-state-link {
    --bs-link-color: #1b5e20;
    --bs-link-hover-color: #154a19;
    color: var(--bs-link-color);
    text-decoration: underline;
}
#plot-results-graphs-pane .hourly-empty-state-link:hover,
#plot-results-graphs-pane .hourly-empty-state-link:focus-visible {
    color: var(--bs-link-hover-color);
}
#plot-results-graphs-pane .hourly-info-card-neutral {
    border-color: rgba(108, 117, 125, 0.45);
    background: rgba(108, 117, 125, 0.12);
    font-size: 0.9rem;
    margin-top: 1rem;
}
#plot-results-graphs-pane .hourly-info-card-neutral .bi-lightbulb-fill {
    color: #6c757d;
}
#plot-results-graphs-pane .hourly-empty-state-table-wrap {
    margin-top: 10px;
}
#plot-results-graphs-pane .hourly-empty-state-health-wrap {
    width: 100%;
    max-width: 100%;
}
#plot-results-graphs-pane .hourly-empty-state-compare-wrap {
    margin-top: 0;
    max-width: 95%;
    margin-inline: auto;
}
#plot-results-graphs-pane .hourly-empty-state-compare-table thead th {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: normal;
}
#plot-results-graphs-pane .hourly-empty-state-compare-table tbody th, #plot-results-graphs-pane .hourly-empty-state-compare-table tbody td {
    font-size: 0.88rem;
    white-space: normal;
    overflow-wrap: anywhere;
}
#plot-results-graphs-pane .hourly-empty-state-compare-table .hourly-empty-compare-rowhead {
    font-weight: 700;
}
#plot-results-graphs-pane .hourly-empty-state-compare-table .hourly-empty-compare-colhead {
    font-weight: 600;
}
#plot-results-graphs-pane .hourly-empty-state-compare-table .hourly-empty-compare-col-label {
    width: 24%;
}
#plot-results-graphs-pane .hourly-empty-state-compare-table .hourly-empty-compare-col-local,
#plot-results-graphs-pane .hourly-empty-state-compare-table .hourly-empty-compare-col-state {
    width: 38%;
}
#plot-results-graphs-pane .hourly-empty-state-compare-table thead th + th,
#plot-results-graphs-pane .hourly-empty-state-compare-table tbody td + td,
#plot-results-graphs-pane .hourly-empty-state-compare-table tbody th + td,
#plot-results-graphs-pane .hourly-empty-state-table thead th + th,
#plot-results-graphs-pane .hourly-empty-state-table tbody td + td {
    border-left: 1px solid rgba(0, 0, 0, 0.14);
}
#plot-results-graphs-pane .hourly-empty-state-compare-table th,
#plot-results-graphs-pane .hourly-empty-state-compare-table td,
#plot-results-graphs-pane .hourly-empty-state-table th,
#plot-results-graphs-pane .hourly-empty-state-table td {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
}
#plot-results-graphs-pane .hourly-empty-state-table thead th {
    font-size: 0.85rem;
}
#plot-results-graphs-pane .hourly-empty-state-table tbody td {
    font-size: 0.88rem;
}
#plot-results-graphs-pane .hourly-empty-state-table .hourly-empty-col-date {
    width: 19%;
}
#plot-results-graphs-pane .hourly-empty-state-table .hourly-empty-col-duration {
    width: 27%;
}
#plot-results-graphs-pane .hourly-empty-state-table .hourly-empty-col-use {
    width: 54%;
}
#plot-results-graphs-pane .hourly-empty-state-health-table {
    table-layout: fixed;
}
#plot-results-graphs-pane .hourly-empty-state-health-table thead th {
    background: var(--plot-card-bg-subtle);
    color: #000000;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: normal;
}
#plot-results-graphs-pane .hourly-empty-state-health-table tbody td {
    vertical-align: top;
    padding: 0.85rem;
    min-width: 24rem;
}
#plot-results-graphs-pane .hourly-empty-state-health-table .hourly-empty-health-col {
    width: 50%;
}
#plot-results-graphs-pane .hourly-empty-state-health-cell {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
#plot-results-graphs-pane .hourly-empty-state-image-button {
    appearance: none;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
#plot-results-graphs-pane .hourly-empty-state-health-image {
    width: 100%;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 6px;
    background: #ffffff;
}
#plot-results-graphs-pane .hourly-empty-state-image-button:focus-visible .hourly-empty-state-health-image,
#plot-results-graphs-pane .hourly-empty-state-image-button:hover .hourly-empty-state-health-image {
    box-shadow: 0 0 0 0.2rem rgba(31, 95, 139, 0.18);
}
#plot-results-graphs-pane .hourly-empty-state-health-source {
    font-size: 0.8rem;
    font-style: italic;
}
#hourly-health-image-modal .modal-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#hourly-health-image-modal .hourly-health-image-modal-img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    align-self: center;
}
#hourly-health-image-modal .hourly-health-image-modal-details {
    text-align: left;
}
#hourly-health-image-modal .hourly-health-image-modal-details .hourly-empty-state-health-source,
#hourly-health-image-modal .hourly-health-image-modal-details .hourly-empty-state-paragraph,
#hourly-health-image-modal .hourly-health-image-modal-details .hourly-empty-state-legend-label {
    font-size: 0.95rem;
}
#hourly-health-image-modal .hourly-health-image-modal-details .hourly-empty-state-legend {
    margin-top: 0.25rem;
}
#plot-results-graphs-pane .hourly-empty-state-legend {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
#plot-results-graphs-pane .hourly-empty-state-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
#plot-results-graphs-pane .hourly-empty-state-legend-swatch {
    appearance: none;
    display: inline-block;
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    border: 1px solid rgba(0, 0, 0, 0.24);
    border-radius: 0.15rem;
    padding: 0;
}
#plot-results-graphs-pane .hourly-empty-state-legend-label {
    font-size: 0.84rem;
    line-height: 1.3;
    color: #343a40;
}
@media (max-width: 991.98px) {
    #plot-results-graphs-pane .hourly-empty-state-health-table {
        table-layout: auto;
    }
}

/* Plot stage */

#plot-results-graphs-pane .hourly-plot-stage {
    display: flex;
    flex-direction: column;
    flex: 1 1 90%;
    min-height: 408px;
    max-height: 90%;
}
#plot-results-graphs-pane .hourly-plot-stage.is-hi105-top-pad {
    margin-top: 0.35rem;
}
#plot-results-graphs-pane .hourly-plot-wrap.has-click-table .hourly-plot-stage {
    flex-basis: 72%;
    min-height: 304px;
    max-height: 72%;
}
#plot-results-graphs-pane .hourly-plot-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
}
#plot-results-graphs-pane .hourly-plot-area {
    width: 100%;
    min-height: 260px;
    height: auto;
    flex: 1 1 auto;
    align-self: stretch;
    position: relative;
}
#plot-results-graphs-pane .hourly-plot-warning-icon-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}
#plot-results-graphs-pane .hourly-plot-warning-icon-img {
    position: absolute;
    display: block;
    object-fit: contain;
}
#plot-results-graphs-pane .hourly-click-hint {
    margin-top: 8px;
    color: #6c757d;
    font-style: italic;
    font-size: 0.84rem;
}
#plot-results-graphs-pane .hourly-warning-table-wrap {
    flex: 0 0 auto;
    margin: 6px auto 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-self: center;
    width: 100%;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    overflow: auto;
    background: #ffffff;
}
#plot-results-graphs-pane .hourly-warning-table-wrap .table-responsive {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: auto;
    max-width: 100%;
    text-align: center;
}
#plot-results-graphs-pane .hourly-warning-table {
    display: inline-table;
    margin: 0 auto;
    width: fit-content;
    max-width: 100%;
    border: 1px solid #707070;
    table-layout: auto;
    border-collapse: collapse;
}
#plot-results-graphs-pane .hourly-warning-table tbody td {
    border: 1px solid #707070;
    vertical-align: top;
    padding: 8px 10px;
    min-width: 125px;
    background: #ffffff;
    white-space: normal;
}
#plot-results-graphs-pane #hourly-warning-table-tbody {
    text-align: left;
}
#plot-results-graphs-pane .hourly-warning-cell-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid #b8b8b8;
    color: #222222;
}
#plot-results-graphs-pane .hourly-warning-cell-head strong {
    font-size: 0.86rem;
    line-height: 1.15;
    white-space: nowrap;
}
#plot-results-graphs-pane .hourly-warning-icon {
    font-size: 1.2rem;
    line-height: 1;
}
#plot-results-graphs-pane .hourly-warning-icon--img {
    width: 1.2rem;
    height: 1.2rem;
    display: block;
    flex: 0 0 auto;
    object-fit: contain;
}
#plot-results-graphs-pane .hourly-warning-cell-text {
    font-size: 0.82rem;
    line-height: 1.3;
    color: #2f2f2f;
}
#plot-results-graphs-pane .hourly-warning-cell-empty {
    text-align: center;
}
@media (max-width: 1349.98px) {
    #plot-results-graphs-pane .hourly-warning-table-wrap {
        overflow: visible;
    }
    #plot-results-graphs-pane .hourly-warning-table-wrap .table-responsive {
        width: 100%;
        overflow: visible;
    }
}
#plot-results-graphs-pane .hourly-click-table-wrap {
    flex: 0 0 auto;
    margin-top: 10px;
    border: 0;
    border-top: 1px solid #e2e2e2;
    border-radius: 0;
    overflow: hidden;
    background: #ffffff;
}
#plot-results-graphs-pane .hourly-click-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px 0px 12px;
    border-bottom: 0;
    background: transparent;
}
#plot-results-graphs-pane .hourly-click-table-title {
    font-weight: 600;
    color: #000000;
}
#plot-results-graphs-pane .hourly-click-table-body {
    padding: 8px 10px;
}
#plot-results-graphs-pane .hourly-click-table-note {
    margin-top: 0.55rem;
    color: #6c757d;
    font-size: 0.82rem;
    line-height: 1.35;
}
#plot-results-graphs-pane .hourly-click-table {
    margin: 0;
    width: 100%;
    border-collapse: collapse;
}
#plot-results-graphs-pane .hourly-click-table > :not(caption) > * > * {
    --bs-table-accent-bg: transparent;
    --bs-table-bg-state: transparent;
    --bs-table-bg-type: transparent;
    border: 1px solid #d6d6d6;
    vertical-align: middle;
}
#plot-results-graphs-pane .hourly-click-table thead th {
    font-size: 0.9rem;
    color: #000000;
    font-weight: 600;
    text-align: center;
}
#plot-results-graphs-pane .hourly-click-table thead th.plot-sortable {
    cursor: pointer;
    user-select: none;
}
#plot-results-graphs-pane .hourly-click-table tbody td {
    font-size: 0.9rem;
    background: var(--plot-card-bg);
}
#plot-results-graphs-pane .hourly-click-table tbody tr.plot-row-highlight > td {
    background: var(--plot-row-bg, var(--plot-card-bg));
}
#plot-results-graphs-pane .hourly-click-table thead th:first-child, #plot-results-graphs-pane .hourly-click-table tbody td:first-child {
    text-align: center;
}
#plot-results-graphs-pane .hourly-click-table thead th.text-end, #plot-results-graphs-pane .hourly-click-table tbody td.text-end {
    text-align: center !important;
}
#plot-results-graphs-pane .hourly-click-table-close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #4a4a4a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 4px;
    border-radius: 4px;
    cursor: pointer;
}
#plot-results-graphs-pane .hourly-click-table-close:hover {
    background: rgba(0, 0, 0, 0.06);
}
#plot-results-graphs-pane .hourly-click-table-close:focus-visible {
    outline: 2px solid #1b5e20;
    outline-offset: 1px;
}
#plot-results-graphs-pane .hourly-plot-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(1px);
    z-index: 5;
    color: #555555;
    pointer-events: auto;
}
#plot-results-graphs-pane .hourly-plot-loading.hidden,
#plot-results-graphs-pane .hourly-plot-loading[hidden] {
    display: none;
}
#plot-results-graphs-pane .hourly-main-loading-inner {
    min-width: 180px;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    text-align: center;
}
@media (min-width: 992px) {
    #plot-results-graphs-pane .hourly-sidebar {
        flex-basis: 360px;
        width: 360px;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed {
        height: clamp(520px, 80vh, 900px);
        max-height: 700px;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main {
        display: grid;
        grid-template-columns: minmax(220px, 20%) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
        column-gap: 16px;
        align-items: stretch;
        height: 100%;
        max-height: 100%;
        min-height: 0;
        overflow: hidden;
        padding: 0.9rem;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-graph-head {
        grid-column: 1;
        margin: 0;
        min-height: 0;
        overflow: hidden;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-empty-state {
        grid-column: 1 / -1;
        height: auto;
        max-height: none;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-graph-body {
        grid-column: 2;
        margin-top: 0;
        min-height: 0;
        overflow: auto;
        padding: 10px 12px 18px;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-graph-options-card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-graph-options-card .card-body {
        display: flex;
        flex-direction: column;
        min-height: 0;
        overflow: auto;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-opt-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-opt-group {
        text-align: center;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-opt-group-title {
        display: block;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-opt-items {
        width: fit-content;
        margin: 0 auto;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-legend-host {
        margin-top: 12px;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-legend-list {
        grid-template-columns: 1fr;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-legend-panel {
        max-height: min(300px, 40vh);
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-plot-wrap {
        padding: 0;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-plot-stage {
        min-height: 444px;
        max-height: 90%;
    }
    #plot-results-graphs-pane .hourly-shell.is-collapsed .hourly-main .hourly-plot-wrap.has-click-table .hourly-plot-stage {
        min-height: 324px;
        max-height: 72%;
    }
}
