#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0 24px;
    text-decoration: none;
    list-style: none;
}

#cardBreakEven.card .summary-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 24px;
}

#cardBreakEven.card .list-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    padding-top: 6px;
    padding-bottom: 24px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item.netsales {
    color: var(--primaryText);
    background: #a8a8a826;
    border: 1px solid #a8a8a826;
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item.loss {
    color: var(--primaryWarning);
    border: 1px solid var(--primaryWarning);
    background: color-mix(in srgb, var(--primaryWarning) 20%, transparent);
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item.profit {
    color: var(--primaryConfirm);
    border: 1px solid var(--primaryConfirm);
    background: color-mix(in srgb, var(--primaryConfirm) 20%, transparent);
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item.bills {
    color: #5389db;
    border: 1px solid #5389db;
    background: color-mix(in srgb, #5389db 20%, transparent);
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item.labor {
    color: #dd9e4a;
    border: 1px solid #dd9e4a;
    background: color-mix(in srgb, #dd9e4a 20%, transparent);
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item.salestax {
    color: #d8749b;
    border: 1px solid #d8749b;
    background: color-mix(in srgb, #d8749b 20%, transparent);
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item.merchant {
    color: #4fb2c7;
    border: 1px solid #4fb2c7;
    background: color-mix(in srgb, #4fb2c7 20%, transparent);
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item.cogs {
    color: #6f66d6;
    border: 1px solid #6f66d6;
    background: color-mix(in srgb, #6f66d6 20%, transparent);
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item.onetime {
    color: #c285d9;
    border: 1px solid #c285d9;
    background: color-mix(in srgb, #c285d9 20%, transparent);
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item {
    border-radius: 16px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item .label {
    font-size: 12px;
    padding: 12px 12px 2px 12px;
}

#cardBreakEven.card :is(.summary-wrapper, .list-wrapper) .item .title {
    font-size: 20px;
    font-weight: 700;
    padding: 0px 12px 12px 12px;
}

@media (max-width: 720px) {
    #cardBreakEven.card .summary-wrapper {
        grid-template-columns: 1fr;
    }
}

#cardBreakEven.card .callout {
    margin-bottom: -12px;
    padding: 10px 24px 0px 36px;
}

#cardBreakEven.card .callout.loss {
    color: var(--primaryWarning);
}

#cardBreakEven.card .callout.profit {
    color: var(--primaryConfirm);
}

.report-chart {
    position: relative;
    min-height: 0;
    overflow: hidden;
    margin-top: 6px;
    padding: 0;
    background: transparent;
}

.report-chart-svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
}

.report-chart-gridline {
    stroke: color-mix(in srgb, var(--secondaryText) 18%, transparent);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

.report-chart-bar {
    fill: var(--primaryAccent);
    transition: height 220ms ease, y 220ms ease;
}

.report-chart-hit-area {
    cursor: pointer;
    pointer-events: all;
}

.report-chart-tooltip {
    position: absolute;
    z-index: 3;
    transform: translate(-50%, -110%);
    padding: 6px 10px;
    border: 1px solid var(--primaryBorder);
    border-radius: 10px;
    background: var(--bodyBackground);
    color: var(--primaryText);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.report-chart-axis-label {
    fill: var(--secondaryText);
    font-size: 18px;
    font-weight: 400;
}

.report-chart-y-label {
    font-size: 12px;
}

.report-chart-x-label {
    font-size: 12px;
}

.sales-bar-chart {
    flex: 0 0 200px;
    height: 200px;
    min-height: 200px;
    overflow: visible;
}

#cardGrossSales.card .chart-wrapper {
    flex: 0 0 225px;
    height: 225px;
    min-height: 225px;
    margin-left: 0px;
}

#cardSalesByPlatform.card .chart-wrapper,
#cardBreakEven.card .chart-wrapper {
    height: auto;
    margin-top: 0px;
    background: transparent;
    border-radius: 0;
    corner-shape: initial;
}



.report-chart-line {
    stroke: var(--primaryAccent);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.report-chart-point {
    fill: var(--primaryAccent);
}

.platform-chart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    min-height: 112px;
}

.platform-chart-track {
    display: flex;
    width: 100%;
    height: 64px;
    overflow: hidden;
    border-radius: 16px;
    background: var(--sectionInsetBackground);
    border: 1px solid var(--primaryBorder);
}

.platform-chart-segment {
    min-width: 0;
    transition: width 240ms ease;
}

.platform-chart-segment.pos {
    background: var(--primaryAccent);
}

.platform-chart-segment.online {
    background: color-mix(in srgb, var(--primaryAccent) 68%, black);
}

.platform-chart-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    color: var(--secondaryText);
    font-size: 14px;
    font-weight: 700;
}

.platform-chart-details span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.platform-chart-details strong {
    color: var(--primaryText);
    font-weight: 900;
}

.break-even-chart {
    min-height: 112px;
    overflow: visible;
}

.break-even-chart-shell {
    position: relative;
    width: 100%;
    min-height: 108px;
}

.break-even-chart-track {
    position: relative;
    width: 100%;
    height: 86px;
    overflow: visible;
    border-radius: 20px;
}

.break-even-chart-base {
    position: absolute;
    inset: 0;
    border: 1px solid var(--primaryBorder);
    border-radius: 20px;
    background: transparent;
}

.break-even-chart-segment {
    position: absolute;
    top: 0;
    height: 100%;
    border-radius: 20px;
    cursor: pointer;
    transition: left 220ms ease, width 220ms ease;
}

.break-even-chart-segment.bills {
    background: #5389db;
}

.break-even-chart-segment.labor {
    background: #dd9e4a;
}

.break-even-chart-segment.tax {
    background: #d8749b;
}

.break-even-chart-segment.merchant-fees {
    background: #4fb2c7;
}

.break-even-chart-segment.cogs {
    background: #6f66d6;
}

.break-even-chart-segment.one-time {
    background: #c285d9;
}

.break-even-chart-segment.profit {
    background: #5dbf63;
}

.break-even-chart-markers {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.break-even-chart-marker-line {
    position: absolute;
    top: 0;
    width: 0;
    height: 86px;
    border-left: 2px dashed color-mix(in srgb, var(--secondaryText) 75%, transparent);
    transform: translateX(-1px);
}

.break-even-chart-marker-label {
    position: absolute;
    bottom: -10px;
    transform: translateX(-50%);
    padding: 4px 12px;
    border: 1px dashed var(--secondaryText);
    border-radius: 12px;
    background: color-mix(in srgb, var(--sectionBackground) 88%, white);
    color: var(--secondaryText);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.break-even-chart-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: var(--secondaryText);
    font-size: 12px;
    font-weight: 400;
}
