.mini {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
    margin-top: 10px;
}

.mini span {
    background: rgba(159, 176, 200, .08);
    border: 1px solid rgba(159, 176, 200, .14);
    padding: 6px 10px;
    border-radius: 999px;
}

.hoursRow {
    display: none;
}

/* Tax chart */
.taxViz {
    margin-top: 12px;
}

.taxChart {
    margin: 10px 0 8px;
}

.taxBar {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(15, 23, 42, .06);
    border: 1px solid rgba(15, 23, 42, .10);
    display: flex;
}

.taxBar .seg {
    height: 100%;
}

.segFed {
    background: rgba(37, 99, 235, .35);
}

.segProv {
    background: rgba(16, 185, 129, .35);
}

.segContrib {
    background: rgba(245, 158, 11, .35);
}

.segNet {
    background: rgba(15, 23, 42, .18);
}

.taxBarLabels {
    display: flex;
    gap: 0;
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.taxBarLabels .lbl {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
}

.taxLegend {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
}

.taxLegendRow {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    border: 1px solid rgba(15, 23, 42, .06);
    background: rgba(15, 23, 42, .03);
    padding: 6px 10px;
    border-radius: 10px;
}

.taxLegendRow .name {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.taxLegendRow .pct {
    font-style: normal;
    font-weight: 600;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

/* Highlight selected province in the comparison table */
#provCompareCard tr.isSelected {
    background: rgba(37, 99, 235, .10);
    outline: 1px solid rgba(37, 99, 235, .25);
}

.taxLegendRow span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.taxLegendRow b {
    font-weight: 650;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 10px;
}

.dotFed {
    background: rgba(37, 99, 235, .55);
}

.dotProv {
    background: rgba(16, 185, 129, .55);
}

.dotContrib {
    background: rgba(245, 158, 11, .55);
}

.dotNet {
    background: rgba(15, 23, 42, .45);
}

.dotRow {
    display: flex;
    gap: 2px;
}

/* Province ranking table */
#provCompareCard {
    margin-top: 14px;
}

.rankCell {
    text-align: center;
}

.rankNum {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 22px;
    border-radius: 10px;
    background: rgba(15, 23, 42, .04);
    border: 1px solid rgba(15, 23, 42, .08);
    color: var(--muted);
    font-weight: 650;
    font-size: 12px;
}

.rankMedal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 22px;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .6);
}

.rankMedal svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.rankMedal.gold {
    color: #b45309;
    background: rgba(245, 158, 11, .18);
    border-color: rgba(245, 158, 11, .35);
}

.rankMedal.silver {
    color: #4b5563;
    background: rgba(156, 163, 175, .18);
    border-color: rgba(156, 163, 175, .35);
}

.rankMedal.bronze {
    color: #92400e;
    background: rgba(217, 119, 6, .18);
    border-color: rgba(217, 119, 6, .35);
}