body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: #f5f7fb;
    color: #222;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

h1, h2 {
    margin-top: 0;
}

.intro {
    color: #556;
    margin-bottom: 20px;
}

.panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
}

label {
    font-weight: 600;
}

select, button {
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccd2dd;
}

button {
    background: #091c3a;
    color: #fff;
    cursor: pointer;
}

button.secondary {
    background: #4a5d7a;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.status {
    margin-top: 12px;
    color: #2b5d2b;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.summary-card {
    border: 1px solid #e4e8ef;
    border-radius: 8px;
    padding: 14px;
    background: #fafcff;
}

.summary-card.wide {
    grid-column: span 2;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #eceff4;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f3f6fb;
}

.empty {
    color: #666;
    font-style: italic;
}

.total-cell {
    font-weight: bold;
    background: #fdfdfd;
}
