* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f5f5f5; color: #1a1a1a; }

header {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
}
.logo-link { text-decoration: none; color: white; }
.logo-link h1 { font-size: 18px; font-weight: 700; }
.main-nav { display: flex; gap: 4px; }
.nav-link {
    color: #94a3b8;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-link.active { color: white; background: rgba(255,255,255,0.15); }
.header-meta { display: flex; align-items: center; gap: 12px; }
.btn-back {
    background: rgba(255,255,255,0.1);
    color: #94a3b8;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
}
.btn-back:hover { color: white; background: rgba(255,255,255,0.2); }

main { max-width: 1400px; margin: 0 auto; padding: 20px; }
footer { text-align: center; padding: 20px; color: #999; font-size: 12px; }

.container { max-width: 1400px; }
h2 { color: #0f172a; margin-bottom: 16px; font-size: 20px; }
h3 { color: #334155; margin-bottom: 10px; font-size: 16px; }

.summary-cards {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px 24px;
    min-width: 140px;
    flex: 1;
}
.card-value { font-size: 28px; font-weight: 700; color: #0f172a; }
.card-label { font-size: 12px; color: #666; margin-top: 4px; text-transform: uppercase; }

.section {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table thead tr { background: #f8fafc; border-bottom: 2px solid #e5e5e5; }
.data-table th { text-align: left; padding: 10px 12px; font-size: 12px; text-transform: uppercase; color: #64748b; font-weight: 600; }
.data-table td { padding: 10px 12px; border-bottom: 1px solid #f1f5f9; }
.data-table tbody tr:hover { background: #f8fafc; }

.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.badge { padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; }

.cost-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.cost-card {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
}
.cost-cat { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cost-amount { font-size: 22px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.cost-items { display: flex; flex-direction: column; gap: 2px; }
.cost-items span { font-size: 12px; color: #666; }

@media (max-width: 768px) {
    .summary-cards { flex-direction: column; }
    .header-content { flex-direction: column; height: auto; padding: 12px 0; gap: 8px; }
    .main-nav { flex-wrap: wrap; justify-content: center; }
}
