.aeh-invoices-wrapper, .aeh-summary-wrapper {
    max-width: 900px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}
.aeh-invoices-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.aeh-invoices-table th, .aeh-invoices-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}
.aeh-invoices-table th {
    background: #1a5276;
    color: white;
}
.aeh-invoices-table tr:nth-child(even) {
    background: #f9f9f9;
}
.aeh-summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.aeh-card {
    border: 2px solid #1a5276;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}
.aeh-card-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}
.aeh-card-value {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #1a5276;
}
.aeh-card-value.aeh-currency::before {
    content: '$';
    font-size: 0.7em;
    vertical-align: super;
    margin-right: 2px;
}

/* Currency prefix for frontend tables */
.aeh-invoices-table td:nth-child(3)::before,
.aeh-invoices-table td:nth-child(4)::before,
.aeh-invoices-table td:nth-child(5)::before,
.aeh-invoices-table td:nth-child(6)::before {
    content: '$';
    font-size: 0.9em;
}
.aeh-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #1a5276;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}
.aeh-btn-small {
    padding: 5px 10px;
    font-size: 13px;
}
.aeh-btn-primary {
    padding: 12px 24px;
    font-size: 16px;
}
.aeh-summary-actions {
    margin: 30px 0;
    text-align: center;
}
.aeh-status-active { color: #f39c12; font-weight: bold; }
.aeh-status-paid { color: #27ae60; font-weight: bold; }
.aeh-status-forgiven { color: #3498db; font-weight: bold; }
@media print {
    .aeh-btn, .aeh-summary-actions { display: none; }
}
