/* ===== Reports ===== */
.reports-tabs {
    display: flex;
    gap: 2px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: var(--space-lg);
    overflow-x: auto;
}

.report-tab {
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
    font-family: var(--font);
}

.report-tab:hover {
    color: var(--text-primary);
}

.report-tab.active {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 2px 8px rgba(79, 140, 255, 0.3);
}

.report-content {
    animation: fadeIn 0.3s ease;
}

.report-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.report-summary-card {
    padding: var(--space-lg);
    text-align: center;
}

.report-summary-card .rs-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}

.report-summary-card .rs-value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Costing page extras */
.costing-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.method-card {
    padding: var(--space-lg);
}

.method-card h3 {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.method-card .method-tag {
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cost-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cost-line:last-child {
    border-bottom: none;
    font-weight: 700;
    color: var(--accent-blue);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border);
}

.cost-line .cl-label {
    color: var(--text-secondary);
}

/* Guide page */
.guide-content {
    max-width: 800px;
}

.guide-section {
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.guide-section h2 {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.guide-section h2 .guide-num {
    width: 28px;
    height: 28px;
    background: var(--gradient-blue);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.guide-section p,
.guide-section li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.guide-section ul {
    padding-left: var(--space-lg);
    margin-top: var(--space-sm);
}

.guide-section li {
    margin-bottom: 4px;
}

/* Audit log */
.audit-entry {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.85rem;
}

.audit-entry:last-child {
    border-bottom: none;
}

.audit-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
    min-width: 140px;
}

.audit-action {
    font-weight: 500;
}

.audit-detail {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 2px;
}

@media (max-width: 768px) {
    .reports-tabs {
        flex-direction: column;
    }

    .costing-methods {
        grid-template-columns: 1fr;
    }

    .report-summary {
        grid-template-columns: 1fr 1fr;
    }
}