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

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

#heat-trends-thresholds-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);
}

#heat-trends-thresholds-page-guide .heat-trends-page-guide-popup {
    display: flex;
    width: min(680px, calc(100vw - 24px));
    flex-direction: column;
    overflow: hidden;
}

#heat-trends-thresholds-page-guide .heat-trends-page-guide-popup-body {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#heat-trends-thresholds-page-guide .heat-trends-page-guide-copy br {
    display: block;
    margin-top: .55rem;
    content: "";
}

#heat-trends-thresholds-page-guide .heat-trends-page-guide-tab-reference > .bi {
    margin-right: .25rem;
}

#heat-trends-thresholds-page-guide a.heat-trends-page-guide-tab-reference {
    color: #145c35;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#heat-trends-thresholds-page-guide .heat-trends-page-guide-control-example {
    margin: 0 .1rem;
    pointer-events: none;
    vertical-align: baseline;
}

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

.heat-trends-page #heat-trends-thresholds-page-guide .plot-inline-legend-export-pane .btn,
.heat-trends-page #heat-trends-thresholds-page-guide .heat-trends-thresholds-guide-inline-export {
    color: #3f474f;
    border-color: rgba(63, 71, 79, .52);
    background: rgba(27, 94, 32, .03);
}

.heat-trends-page #heat-trends-thresholds-page-guide .heat-trends-thresholds-guide-legend-example {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    margin: 0 .1rem;
    padding: .18rem .78rem;
    border: 1px solid var(--plot-emphasis-shell-border);
    border-radius: 5px;
    background: var(--plot-emphasis-fill);
    color: #fff;
}

#heat-trends-thresholds-page-guide .heat-trends-thresholds-guide-legend-example .plot-detail-legend-chevron {
    position: relative;
    width: .72rem;
    height: .72rem;
    flex: 0 0 auto;
}

#heat-trends-thresholds-page-guide .heat-trends-thresholds-guide-legend-example .plot-detail-legend-chevron::before {
    position: absolute;
    top: 50%;
    left: 50%;
    border-top: .34rem solid #fff;
    border-right: .24rem solid transparent;
    border-left: .24rem solid transparent;
    content: "";
    transform: translate(-50%, -35%);
}

#heat-trends-thresholds-page-guide .heat-trends-thresholds-guide-legend-example .plot-detail-legend-title {
    color: inherit;
    font-weight: 400;
}

#heat-trends-thresholds-page-guide .heat-trends-thresholds-guide-option-example {
    display: inline-flex !important;
    width: auto !important;
    align-items: center;
    gap: .28rem;
    margin: 0 .1rem;
    padding-left: 0;
    color: #212529;
    font-size: .92rem;
    font-weight: 400;
    line-height: 1.2;
    vertical-align: middle;
}

#heat-trends-thresholds-page-guide .heat-trends-thresholds-guide-option-example .form-check-input {
    float: none;
    flex: 0 0 auto;
    margin: 0;
}

.heat-trends-thresholds-guide-utility {
    margin-top: .75rem;
    padding-top: .65rem;
    border-top: 1px solid #d9e2dc;
    color: #46534b;
    font-size: .82rem;
}

.heat-trends-thresholds-guide-utility-title {
    display: block;
    margin-bottom: .35rem;
    color: #263a2e;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.heat-trends-thresholds-guide-utility-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.heat-trends-thresholds-guide-card-reference {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-weight: 700;
}

.heat-trends-thresholds-guide-pill-reference {
    display: inline-flex;
    align-items: center;
    padding: .18rem .72rem;
    border: 1px solid var(--plot-emphasis-shell-border);
    border-radius: 5px;
    background: var(--plot-emphasis-fill);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
}

.heat-trends-thresholds-guide-area-reference {
    display: inline-flex;
    align-items: center;
    gap: .28rem;
    white-space: nowrap;
}

.heat-trends-thresholds-guide-area-reference .plot-detail-legend-swatch {
    width: .78rem;
    height: .78rem;
    flex: 0 0 .78rem;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: .15rem;
}

#heat-trends-thresholds-page-guide .plot-detail-table-toggle.heat-trends-page-guide-control-example,
#heat-trends-thresholds-page-guide .heat-trends-thresholds-guide-inline-table-toggle {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #157347 !important;
}

.heat-trends-thresholds-guide-callout {
    position: fixed;
    z-index: 2004;
    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-thresholds-guide-callout h3 {
    margin: 0 0 .3rem;
    color: #1f4e31;
    font-size: .92rem;
    font-weight: 700;
}

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

.heat-trends-thresholds-guide-callout p {
    margin-bottom: .22rem;
}

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

.heat-trends-thresholds-guide-callout::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-thresholds-guide-callout[data-guide-placement="above"]::after {
    bottom: -.43rem;
    left: calc(50% - .35rem);
}

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

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

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

.heat-trends-thresholds-guide-callout[data-guide-placement="narrow-grid"]::after {
    display: none;
}

.heat-trends-thresholds-guide-emphasis-ring {
    position: fixed;
    z-index: 2003;
    border: 3px solid #f0b429;
    border-radius: .45rem;
    background: rgba(240, 180, 41, .04);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 0 0 5px rgba(240, 180, 41, .28);
    pointer-events: none;
}

.heat-trends-thresholds-guide-loading {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem;
    border-radius: .35rem;
    background: #f4f7f5;
    color: #425148;
}

.heat-trends-thresholds-guide-warning {
    margin-top: .65rem;
    padding: .55rem .65rem;
    border-left: 4px solid #d39b00;
    background: #fff7dc;
}

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

.heat-trends-thresholds-guide-narrative > :last-child {
    margin-bottom: 0;
}

.heat-trends-thresholds-guide-health {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin: .75rem 0 1.35rem;
    padding: .65rem;
    border: 1px solid #d9e2dc;
    border-radius: .4rem;
    background: #fff;
}

.heat-trends-thresholds-guide-health img {
    display: block;
    width: min(100%, 520px);
    max-height: 310px;
    margin: 0 auto;
    object-fit: contain;
}

.heat-trends-thresholds-guide-health .hourly-empty-state-image-button {
    display: contents;
}

.heat-trends-thresholds-guide-health .hourly-empty-state-health-source {
    margin: 0;
}

.heat-trends-thresholds-guide-health .hourly-empty-state-legend {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.heat-trends-thresholds-guide-health .hourly-empty-state-legend-item {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
}

.heat-trends-thresholds-guide-health .hourly-empty-state-legend-swatch {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-top: .15rem;
    flex: 0 0 1rem;
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: .15rem;
}

.heat-trends-thresholds-guide-health-link {
    display: inline;
    width: auto;
    padding: 0;
    border: 0;
    background: none;
    color: #145c35;
    font: inherit;
    white-space: normal;
    text-align: inherit;
    vertical-align: baseline;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.heat-trends-thresholds-page-guide-docked > 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-thresholds-page-guide.heat-trends-thresholds-page-guide-docked .heat-trends-page-guide-popup {
    width: calc(24vw - 16px);
    min-width: 0;
    max-width: calc(24vw - 16px);
}

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

#heat-trends-thresholds-page-guide.heat-trends-thresholds-page-guide-docked .heat-trends-thresholds-guide-utility-list {
    grid-template-columns: 1fr;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .heat-trends-thresholds-guide-callout {
        width: min(230px, calc(100vw - 24px));
        font-size: .74rem;
    }
}

@media (max-width: 991.98px) {
    .heat-trends-thresholds-guide-callouts {
        position: fixed;
        z-index: 2004;
        top: 8px;
        right: 8px;
        display: flex;
        width: min(310px, calc(100vw - 16px));
        max-height: calc(100vh - 16px);
        flex-direction: column;
        gap: .45rem;
        overflow-y: auto;
        pointer-events: none;
    }

    .heat-trends-thresholds-guide-callout {
        position: relative;
        inset: auto !important;
        width: 100%;
        max-height: none;
        flex: 0 0 auto;
        pointer-events: auto;
    }

    .heat-trends-thresholds-guide-callout::after {
        display: none;
    }
}

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

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

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

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

    .heat-trends-thresholds-guide-utility-list {
        grid-template-columns: 1fr;
    }

    .heat-trends-thresholds-guide-callouts {
        display: none;
    }
}
