/* Traffic accounting labels on the two dedicated catalogs. */
.sh-dedicated-traffic .col-monthly-traffic .sdt-traffic-mode {
    display: block;
    margin-top: 4px;
    color: #4f595f;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    white-space: nowrap;
}
.lagom-dark-mode .sh-dedicated-traffic .col-monthly-traffic .sdt-traffic-mode {
    color: #b0bed0;
}

.sh-dedicated-traffic .col-monthly-traffic .sdt-traffic-help {
    display: inline-block;
    position: relative;
    margin-left: 3px;
    vertical-align: middle;
}

.sh-dedicated-traffic .col-monthly-traffic .sdt-traffic-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    line-height: 1;
    cursor: help;
}

.sh-dedicated-traffic .col-monthly-traffic .sdt-traffic-info:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.sh-dedicated-traffic .col-monthly-traffic .sdt-traffic-tooltip {
    position: absolute;
    z-index: 50;
    right: 0;
    bottom: calc(100% + 8px);
    width: 240px;
    max-width: calc(100vw - 32px);
    padding: 10px 12px;
    border-radius: 6px;
    background: #0b1730;
    box-shadow: 0 4px 16px rgb(0 0 0 / 16%);
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.sh-dedicated-traffic .col-monthly-traffic .sdt-traffic-help:hover .sdt-traffic-tooltip,
.sh-dedicated-traffic .col-monthly-traffic .sdt-traffic-help:focus-within .sdt-traffic-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Escape dismisses visible help without moving focus from its trigger. */
.sh-dedicated-traffic .col-monthly-traffic .sdt-traffic-help.is-dismissed .sdt-traffic-tooltip {
    visibility: hidden;
    opacity: 0;
}
