.bc-card {
    margin: 0;
    padding: clamp(1rem, 2vw, 2rem);
    border: 1px solid #d9e1e9;
    border-radius: .5rem;
    background: white;
    color: #20354c;
    box-shadow: 0 .125rem .25rem rgb(0 0 0 / 8%);
}

.bc-card figcaption { font-weight: 600; margin-bottom: 1.5rem; }
.bc-pie-layout { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; }
.bc-pie { position: relative; width: clamp(12rem, 16vw, 15rem); max-width: 100%; margin-top: 1.5rem; aspect-ratio: 1; border-radius: 50%; }
.bc-pie-value {
    position: absolute;
    transform: translate(-50%, -50%);
    padding: .1rem .25rem;
    border-radius: .2rem;
    background: #fff;
    color: #20354c;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}
.bc-callout { transform: translate(-50%, calc(-100% - .45rem)); }
.bc-callout::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    height: .6rem;
    border-left: 1px solid currentColor;
}
.bc-key, .bc-lots { list-style: none; padding: 0; margin: 0; }
.bc-key { flex: 1 1 13rem; }
.bc-key li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .5rem; padding: .45rem 0; }
.bc-key li + li { border-top: 1px solid #e5ebf0; }
.bc-key strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bc-key small { font-weight: 400; }
.bc-swatch { display: inline-block; width: .72rem; height: .72rem; border-radius: .15rem; }
.bc-lots, .bc-lots li { display: flex; align-items: center; gap: .45rem; }
.bc-lots { flex-wrap: wrap; gap: 1.25rem; }
.bc-axis-title { margin-top: 1.25rem; font-size: .875rem; }

.bc-scroll { overflow-x: auto; }
.bc-plot {
    position: relative;
    display: flex;
    height: 28rem;
    min-width: 50rem;
    margin: 1rem .75rem 5.5rem 3rem;
}
.bc-gridline { position: absolute; left: 0; right: 0; border-top: 1px solid #d9e1e9; }
.bc-gridline span { position: absolute; right: 100%; padding-right: .6rem; transform: translateY(-50%); font-size: .8rem; }
.bc-column { position: relative; display: flex; flex: 1; justify-content: center; align-items: flex-end; }
.bc-stack {
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    width: 62%;
    max-width: 3rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.bc-stack:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.bc-stack-total {
    position: absolute;
    bottom: calc(100% + .25rem);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #20354c;
    font-size: .8rem;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.bc-segment {
    display: grid;
    place-items: center;
    flex-basis: 0;
    min-height: 0;
    color: white;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.bc-lot-1 { color: #241409; }
.bc-label {
    position: absolute;
    top: calc(100% + .5rem);
    right: 50%;
    transform: rotate(-45deg);
    transform-origin: top right;
    font-size: .875rem;
    white-space: nowrap;
}
