#insight-card {
    margin: 40px 0;
    font-family: "IBM Plex Mono", monospace;
}

#insight-card[hidden] {
    display: none;
}

#insight-card h2 {
    text-align: center;
    color: #888;
    font: 400 0.75em "IBM Plex Mono", monospace;
    letter-spacing: 2px;
    margin: 0 0 12px;
}

.insight-headline {
    margin: 0 0 22px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.insight-bar-track {
    background: rgba(128, 128, 128, 0.22);
}

#insight-card .revenue-label,
#insight-card .revenue-label:hover {
    background-color: transparent;
}

body.dark #insight-card .revenue-arrow:not(.revenue-source-hovered) {
    fill: #bbb;
}

body.dark #insight-card .revenue-leader:not(.revenue-source-hovered) {
    stroke: #bbb;
}

.insight-paragraph {
    margin: 20px auto 0px;
    font: 16px/1.5 "IBM Plex Mono", monospace;
    text-align: justify;
    overflow-wrap: anywhere;
}

.insight-info {
    display: inline;
    position: relative;
    right: 10px;
    white-space: nowrap;
}

.insight-info-button {
    display: inline;
    min-width: 0;
    margin: 0;
    padding: 0px 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #888;
    font: 14px "IBM Plex Mono", monospace;
    line-height: inherit;
    text-decoration: none;
    vertical-align: baseline;
    cursor: pointer;
}

.insight-info-button svg {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 4px;
    vertical-align: -3px;
}

.insight-info-button:hover,
.insight-info--open .insight-info-button {
    background: transparent;
    color: #000;
}

body.dark .insight-info-button:hover,
body.dark .insight-info--open .insight-info-button {
    color: #fff;
}

.insight-info-tip {
    display: none;
    position: fixed;
    z-index: 20;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #000;
    background: #fff;
    box-shadow: 3px 3px 0 #ccc;
    color: #17221b;
    font: 12px/1.4 "IBM Plex Mono", monospace;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

.insight-info-tip::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
}

.insight-info--open .insight-info-tip {
    display: block;
}

.insight-info-tip a {
    color: inherit;
}

#insight-status {
    color: #888;
    font: 18px "IBM Plex Mono", monospace;
    text-align: center;
    margin: 20px 0;
}
