/* Match the right-aligned Page Guide launcher used by the Thresholds tab. */
#heat-trends-hourly-info-card {
    margin: 1rem;
}

#heat-trends-hourly-info-card .heat-trends-info-text {
    flex: 1 1 auto;
    min-width: 0;
}

#heat-trends-hourly-info-card .heat-trends-page-guide-launch {
    flex: 0 0 auto;
    white-space: nowrap;
    border-color: #ced4da;
    background: #fff;
    color: #495057;
}

#heat-trends-hourly-info-card .heat-trends-page-guide-launch:is(:hover, :focus, :focus-visible) {
    border-color: #868e96;
    background: #f8f9fa;
    color: #212529;
    box-shadow: 0 0 0 .2rem rgba(108, 117, 125, .2);
}

@media (max-width: 767.98px) {
    #heat-trends-hourly-info-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    #heat-trends-hourly-info-card .heat-trends-page-guide-launch {
        margin-left: calc(1.2rem + .6rem);
    }
}

body.heat-trends-hourly-page-guide-open {
    overflow: hidden;
}

body.heat-trends-hourly-page-guide-open.heat-trends-hourly-page-guide-scrollable {
    overflow-y: auto;
}

body.heat-trends-hourly-page-guide-shifted > main.container-xxl {
    width: 76vw;
    max-width: 76vw;
    margin-right: auto !important;
    margin-left: calc(-1 * var(--page-pad)) !important;
    padding-left: 0 !important;
}

#heat-trends-hourly-page-guide .heat-trends-page-guide-popup {
    display: flex;
    width: min(700px, calc(100vw - 24px));
    max-height: calc(100vh - 24px);
    flex-direction: column;
}

#heat-trends-hourly-page-guide .heat-trends-page-guide-popup-body {
    min-height: 0;
    overflow-y: auto;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-tool-example {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    padding: 4px 8px;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.2;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-reset-example {
    border-color: #495057;
    background-color: #fff;
    color: #212529;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-reset-example:hover,
#heat-trends-hourly-page-guide .heat-trends-hourly-guide-reset-example:focus {
    border-color: #343a40;
    background-color: #343a40;
    color: #fff;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-sidebar-toggle-example {
    display: inline-flex;
    width: 24px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-left: 0;
    border-radius: 0 6px 6px 0;
    background: #343a40;
    box-shadow: 0 .2rem .55rem rgba(0, 0, 0, .18);
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-export-pane {
    display: inline-flex;
    margin: 0 .1rem;
    vertical-align: baseline;
}

.heat-trends-page #heat-trends-hourly-page-guide .plot-inline-legend-export-pane .btn,
.heat-trends-page #heat-trends-hourly-page-guide .heat-trends-hourly-guide-export-example {
    border-color: rgba(33, 37, 41, .5);
    background: rgba(27, 94, 32, .03);
    color: #212529;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-time-option-example {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 1.25rem;
    padding-left: 0;
    color: #212529;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-time-option-example .form-check-input {
    position: static;
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
    margin: 0;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-time-option-example .form-check-label {
    line-height: 1.2;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-legend-example {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-legend-title {
    font-size: 1rem;
    font-weight: 600;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-legend-chevron {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-legend-chevron::before,
#heat-trends-hourly-page-guide .heat-trends-hourly-guide-legend-chevron::after {
    position: absolute;
    top: 8px;
    width: 9px;
    height: 2px;
    background: rgba(0, 0, 0, .65);
    content: "";
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-legend-chevron::before {
    left: 2px;
    transform: rotate(45deg);
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-legend-chevron::after {
    right: 2px;
    transform: rotate(-45deg);
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-legend-action-example {
    border: 0;
    background: transparent;
    padding: 0;
    color: #1b5e20;
    font: inherit;
    font-size: .92rem;
    line-height: 1.2;
    text-decoration: underline;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-legend-action-sep {
    padding: 0 2px;
    color: #6c757d;
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-tool-example {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    padding: 4px 8px;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.2;
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-reset-example {
    border-color: #495057;
    background-color: #ffffff;
    color: #212529;
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-sidebar-toggle-example {
    display: inline-flex;
    width: 24px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-left: 0;
    border-radius: 0 6px 6px 0;
    background: #343a40;
    box-shadow: 0 .2rem .55rem rgba(0, 0, 0, .18);
    color: #ffffff;
    font-weight: 700;
    line-height: 1;
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-export-pane {
    display: inline-flex;
    margin: 0 .1rem;
    vertical-align: baseline;
}

.heat-trends-page #plot-about-pane .plot-inline-legend-export-pane .heat-trends-hourly-guide-export-example {
    border-color: rgba(33, 37, 41, .5);
    background: rgba(27, 94, 32, .03);
    color: #212529;
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-legend-example {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-legend-title {
    font-size: 1rem;
    font-weight: 600;
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-legend-chevron {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-legend-chevron::before,
.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-legend-chevron::after {
    position: absolute;
    top: 8px;
    width: 9px;
    height: 2px;
    background: rgba(0, 0, 0, .65);
    content: "";
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-legend-chevron::before {
    left: 2px;
    transform: rotate(45deg);
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-legend-chevron::after {
    right: 2px;
    transform: rotate(-45deg);
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-legend-action-example {
    border: 0;
    background: transparent;
    padding: 0;
    color: #1b5e20;
    font: inherit;
    font-size: .92rem;
    line-height: 1.2;
    text-decoration: underline;
}

.heat-trends-page #plot-about-pane .heat-trends-hourly-guide-line {
    margin: 0 .25rem 0 .1rem;
    vertical-align: middle;
}

#heat-trends-hourly-page-guide .heat-trends-hourly-guide-inline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 .1rem;
    color: #6c757d;
    line-height: 1;
    vertical-align: baseline;
}

#heat-trends-hourly-page-guide.heat-trends-hourly-page-guide-docked .heat-trends-page-guide-popup {
    width: calc(25vw - 18px);
    min-width: 300px;
    max-width: 410px;
}

#heat-trends-hourly-page-guide.heat-trends-hourly-page-guide-docked .heat-trends-page-guide-popup-body {
    overflow-wrap: anywhere;
}

#heat-trends-hourly-page-guide.heat-trends-hourly-page-guide-shifted .heat-trends-page-guide-popup {
    width: calc(24vw - 16px);
    min-width: 0;
    max-width: calc(24vw - 16px);
}

.heat-trends-hourly-guide-emphasis {
    position: fixed;
    z-index: 2003;
    pointer-events: none;
}

.heat-trends-hourly-guide-hotspot {
    position: fixed;
    z-index: 2004;
    border: 3px solid #e4ad24;
    border-radius: 8px;
    background: rgba(255, 248, 220, 0.12);
    box-shadow: 0 0 0 4px rgba(228, 173, 36, 0.22);
    pointer-events: none;
}

.heat-trends-hourly-guide-native-action {
    position: fixed;
    z-index: 2005;
    pointer-events: auto;
    border: 3px solid #e4ad24;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    box-shadow: 0 0 0 4px rgba(228, 173, 36, 0.24);
    color: transparent;
    cursor: pointer;
}

.heat-trends-hourly-guide-native-action:focus-visible {
    outline: 3px solid #173f2c;
    outline-offset: 3px;
}

.heat-trends-hourly-guide-callout {
    position: fixed;
    z-index: 2005;
    max-width: 260px;
    padding: .55rem .65rem;
    border: 1px solid #cbd5d0;
    border-left: 4px solid #26734d;
    border-radius: .45rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(16, 41, 29, .16);
    color: #26352d;
    font-size: .8rem;
    line-height: 1.35;
    pointer-events: none;
}

.heat-trends-hourly-guide-callout strong {
    color: #173f2c;
}

.heat-trends-hourly-guide-callout--threshold-style {
    width: min(285px, calc(100vw - 24px));
    max-height: none;
    overflow: visible;
    padding: .65rem .7rem;
    border: 2px solid #307a4b;
    border-radius: .5rem;
    background: #fff;
    box-shadow: 0 .5rem 1.3rem rgba(0, 0, 0, .25);
    color: #28352d;
    font-size: .78rem;
    line-height: 1.35;
}

.heat-trends-hourly-guide-callout--threshold-style h3 {
    margin: 0 0 .3rem;
    color: #1f4e31;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: .92rem;
    font-weight: 700;
}

.heat-trends-hourly-guide-callout--threshold-style p {
    margin-bottom: .22rem;
}

.heat-trends-hourly-guide-callout--threshold-style p:last-child,
.heat-trends-hourly-guide-callout--threshold-style ul:last-child {
    margin-bottom: 0;
}

.heat-trends-hourly-guide-callout--threshold-style ul {
    margin: 0 0 .25rem;
    padding-left: 1rem;
}

.heat-trends-hourly-guide-callout--threshold-style::after {
    position: absolute;
    width: .7rem;
    height: .7rem;
    border-right: 2px solid #307a4b;
    border-bottom: 2px solid #307a4b;
    background: #fff;
    content: "";
    transform: rotate(45deg);
}

.heat-trends-hourly-guide-callout--threshold-style[data-guide-placement="above"]::after {
    bottom: -.43rem;
    left: calc(50% - .35rem);
}

.heat-trends-hourly-guide-callout--threshold-style[data-guide-placement="below"]::after {
    top: -.43rem;
    left: calc(50% - .35rem);
    transform: rotate(225deg);
}

.heat-trends-hourly-guide-callout--threshold-style[data-guide-placement="right"]::after {
    top: calc(50% - .35rem);
    left: -.43rem;
    transform: rotate(135deg);
}

.heat-trends-hourly-guide-callout--threshold-style[data-guide-placement="left"]::after {
    top: calc(50% - .35rem);
    right: -.43rem;
    transform: rotate(315deg);
}

.heat-trends-hourly-guide-callout--linked::before {
    position: absolute;
    top: 50%;
    right: 100%;
    width: var(--hourly-guide-link-width, 10px);
    border-top: 2px solid #26734d;
    content: "";
}

.heat-trends-hourly-guide-callout--statewide .heat-trends-hourly-guide-subheader {
    margin-top: 0;
}

.heat-trends-hourly-guide-callout--statewide .heat-trends-hourly-guide-statewide-subheader {
    border-bottom: 0;
    padding: 0;
}

.heat-trends-hourly-guide-subheader {
    margin: .8rem 0 .45rem;
    border-bottom: 2px solid #1b5e20;
    padding-bottom: .25rem;
    color: #1b5e20;
    font-family: "Oswald", Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
}

.heat-trends-hourly-guide-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: 0 0 .75rem;
    border-bottom: 1px solid #d5ded9;
    padding-bottom: .5rem;
}

.heat-trends-hourly-guide-tab-separator {
    margin: .75rem 0;
    border: 0;
    border-top: 1px solid #d5ded9;
    opacity: 1;
}

.heat-trends-hourly-guide-tab {
    border: 1px solid #9eaaa4;
    border-radius: 999px;
    background: #f4f6f5;
    color: #26352d;
    padding: .25rem .65rem;
    font-size: .8rem;
    font-weight: 650;
}

.heat-trends-hourly-guide-tab[aria-selected="true"] {
    border-color: #26734d;
    background: #26734d;
    color: #fff;
}

.heat-trends-hourly-guide-comparison {
    margin-top: .65rem;
    padding: .65rem .75rem;
    border-radius: .4rem;
    background: #f4f7f5;
}

.heat-trends-hourly-guide-comparison p,
.heat-trends-hourly-guide-comparison ul {
    margin-bottom: .55rem;
}

.heat-trends-hourly-guide-comparison > :last-child {
    margin-bottom: 0;
}

.heat-trends-hourly-guide-comparison hr {
    margin: .7rem 0;
    border-color: #aebbb4;
    opacity: 1;
}

.heat-trends-hourly-guide-flag-hours--yellow {
    padding: .02em .14em;
    border-radius: .14rem;
    background: #fff176;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.heat-trends-hourly-guide-flag-hours--orange {
    color: #fe8000;
}

.heat-trends-hourly-guide-flag-hours--red {
    color: #b10000;
}

.heat-trends-hourly-guide-alias {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}

.heat-trends-hourly-guide-swatch {
    display: inline-block;
    width: .85rem;
    height: .85rem;
    flex: 0 0 .85rem;
    border: 1px solid rgba(0, 0, 0, .28);
    border-radius: 2px;
}

.heat-trends-hourly-guide-day-list,
.heat-trends-hourly-guide-metric-list,
.heat-trends-hourly-guide-list {
    padding-left: 1.15rem;
}

.heat-trends-hourly-guide-line-key {
    display: grid;
    gap: .3rem;
    margin: .55rem 0;
}

.heat-trends-hourly-guide-line-item {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.heat-trends-hourly-guide-line {
    display: inline-block;
    width: 2.35rem;
    border-top: 3px solid #26734d;
}

.heat-trends-hourly-guide-line--future {
    border-top-style: dashed;
}

.heat-trends-hourly-guide-line--difference {
    border-top-style: dotted;
}

.heat-trends-hourly-guide-note {
    margin-top: .65rem;
    padding: .55rem .65rem;
    border-left: 4px solid #6c757d;
    background: #f5f6f6;
    color: #3e4b45;
}

.heat-trends-hourly-guide-empty {
    color: #5f6f67;
    font-style: italic;
}

@media (max-width: 1100px) {
    body.heat-trends-hourly-page-guide-shifted > main.container-xxl {
        width: auto;
        max-width: none;
        margin: 0 auto !important;
        padding-left: var(--page-pad) !important;
    }

    #heat-trends-hourly-page-guide.heat-trends-hourly-page-guide-docked .heat-trends-page-guide-popup {
        width: min(700px, calc(100vw - 24px));
        min-width: 0;
        max-width: calc(100vw - 24px);
    }

    .heat-trends-hourly-guide-callout {
        display: none !important;
    }

    .heat-trends-hourly-guide-hotspot,
    .heat-trends-hourly-guide-native-action {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .heat-trends-hourly-guide-hotspot,
    .heat-trends-hourly-guide-native-action {
        transition: none;
    }
}
