#custosContent {
    padding:24px;
    color:#162236;
    font-size:14px;
    overflow:auto;
    height:100%;
    box-sizing:border-box;
}
#custosContent * {
    box-sizing:border-box;
}
.costHeading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}
.costHeading h1 {
    font-size:24px;
    margin:0 0 8px;
}
.costHeading p,.costNote {
    color:#6b7688;
    line-height:1.6;
}
.costBadge {
    background:#eeedff;
    color:#5541dc;
    border-radius:20px;
    padding:9px 14px;
    font-size:12px;
}
#costFilters {
    display:flex;
    align-items:end;
    gap:12px;
    flex-wrap:wrap;
    margin:20px 0;
}
#costFilters label {
    display:flex;
    flex-direction:column;
    gap:6px;
    font-size:12px;
}
#costFilters input,#costFilters select,#custosContent button {
    border:1px solid #dce2ed;
    border-radius:7px;
    padding:9px;
    background:#fff;
    color:#162236;
    font:inherit;
}
#costFilters select {
    max-width:245px;
}
#costFilters .costCheck {
    flex-direction:row;
    align-items:center;
    padding-bottom:8px;
}
#custosContent button {
    cursor:pointer;
}
#costFilters button {
    background:#5541dc;
    color:white;
    border-color:#5541dc;
}
#custosContent button:disabled {
    opacity:.4;
    cursor:default;
}
#costStatus {
    color:#64748b;
    font-size:12px;
}
#costError {
    background:#fff0f0;
    border:1px solid #efbbbb;
    padding:14px;
    border-radius:8px;
    color:#9d2424;
}
.costCards {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin:20px 0;
}
.costCards article,.costPanel {
    border:1px solid #e3e8f0;
    background:white;
    border-radius:12px;
    padding:18px;
}
.costCards span {
    color:#67748a;
    font-size:12px;
}
.costCards strong {
    display:block;
    font-size:27px;
    margin-top:12px;
    font-variant-numeric:tabular-nums;
}
.costGrid {
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr;
    gap:16px;
}
.costPanel {
    margin-bottom:16px;
    min-width:0;
}
.costPanel h2 {
    font-size:15px;
    margin:0 0 16px;
}
.costScroll {
    overflow:auto;
    max-height:420px;
}
#custosContent table {
    border-collapse:collapse;
    width:100%;
    font-size:12px;
}
#custosContent th,#custosContent td {
    text-align:left;
    padding:11px 9px;
    border-bottom:1px solid #edf0f5;
    vertical-align:top;
}
#custosContent th {
    color:#758095;
    font-weight:500;
}
#custosContent td:last-child,#custosContent th:last-child {
    text-align:right;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}
#custosContent td small {
    display:block;
    color:#8791a0;
    margin-top:5px;
}
#costDetails td:nth-child(2) {
    max-width:320px;
    overflow-wrap:anywhere;
}
.costMonth {
    display:grid;
    grid-template-columns:60px 1fr;
    gap:4px 10px;
    margin:12px 0;
    font-size:12px;
}
.costMonth strong {
    text-align:right;
    font-weight:500;
}
.costTrack {
    grid-column:1/3;
    background:#f1f3f9;
    height:7px;
    border-radius:9px;
    overflow:hidden;
}
.costTrack span {
    display:block;
    height:100%;
    background:#7260ee;
    border-radius:9px;
}
.costTrack span.negative {
    background:#129b87;
}
.costPagination {
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:14px;
    margin-top:16px;
}
.costNote {
    font-size:12px;
}
.costPanel summary {
    cursor:pointer;
}
.costCoverageRow {
    padding:9px 0;
    border-bottom:1px solid #edf0f5;
    font-size:12px;
    color:#67748a;
}
@media(max-width:1100px) {
    .costGrid {
        grid-template-columns:1fr;
    }
    .costCards strong {
        font-size:22px;
    }
}
@media(max-width:650px) {
    #custosContent {
        padding:14px;
    }
    .costCards {
        grid-template-columns:1fr;
    }
    .costHeading {
        align-items:start;
    }
    #costFilters select {
        max-width:200px;
    }
}
#costError.costInfo {
    background:#f0f3ff;
    border-color:#d9dff5;
    color:#4358a5;
}
#custosContent .costResource {
    border:0;
    background:transparent;
    color:#5541dc;
    text-align:left;
    padding:0;
    overflow-wrap:anywhere;
    max-width:100%;
}
