#college-calculator {
    padding: 20px;
    border: 1px solid #ddd;
    background: #fff;
}

.cc-filters {
    margin-bottom: 20px;
}

.cc-results {
    background: #f7f7f7;
    padding: 15px;
}

/* TABLES */
.cc-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.cc-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
    font-weight: 400;
    color: #333; /* normalize text color (fix odd/even mismatch) */
}

/* HEADER ROW (Category, Year 1, etc.) */
.cc-header-row td {
    font-weight: 700;
    background: #f1f1f1;
    color: #000;
}

/* Left column width */
.cc-table td:first-child {
    width: 220px;
}

/* Numbers column */
.cc-table td:last-child {
    text-align: left;
}

/* TOTAL COLUMN (last column) */
.cc-year-table td:last-child {
    font-weight: 700;
}

/* SUMMARY TABLE */
.cc-summary-table td {
    width: 33.33%;
    text-align: left;
}

.cc-summary-table tr:first-child td {
    font-weight: 700;
}

.cc-summary-values td {
    color: #9b78b3;
    font-weight: 400;
}

/* TOTAL ROWS */
.cc-total-row td:first-child {
    color: #9b78b3;
    font-weight: 700;
}

.cc-total-row td:last-child {
    color: #9b78b3;
    font-weight: 700;
}

/* SPACING */
.cc-section-spacer {
    height: 18px;
}

/* PERSON CARDS */
.cc-person-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cc-person-card {
    background: #f7f7f7;
    border: 1px solid #ddd;
    padding: 18px;
    border-radius: 10px;
}

.cc-person-card h5 {
    margin-top: 0;
    font-size: 18px;
}

/* PLUS BUTTON */
.cc-plus-btn {
    width: 22px;
    height: 22px;
    border: 1px solid #9b78b3;
    background: #fff;
    color: #9b78b3;
    border-radius: 50%;
    font-weight: 700;
    line-height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.cc-person-years,
.cc-year-detail {
    display: none;
}

.cc-year-row {
    margin-top: 10px;
}

.cc-year-header {
    font-weight: 600;
    margin-bottom: 5px;
}

.cc-year-detail {
    padding-left: 20px;
    font-size: 14px;
}

/* BREAKDOWN */
.cc-cell-breakdown {
    display: none;
}

/* MOBILE */
@media (max-width: 767px) {
    .cc-person-grid {
        grid-template-columns: 1fr;
    }
}