.report-layout {
    max-width: 980px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    width: 100%;
}

.report-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.report-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    border-top: 3px solid var(--color-green);
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.report-meta h2 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.report-meta p {
    font-size: 0.825rem;
    color: var(--text-muted);
}

.tabs-container {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.35rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.15s ease;
}

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

.tab-btn.active {
    color: var(--color-yellow);
    border-bottom-color: var(--color-yellow);
}

.report-content-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 2.25rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.report-pane {
    display: none;
}

.report-pane.active {
    display: block;
}

.report-text {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
    color: var(--text-primary);
}

.grounding-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
    font-size: 0.85rem;
}

.grounding-grid div {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background-color: #f8fafc;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.grounding-grid div span {
    color: var(--text-muted);
}

.grounding-grid div strong {
    color: var(--color-yellow);
    font-weight: 700;
}

.grounding-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #14532d;
    background-color: var(--color-green-light);
    border-left: 3px solid var(--color-green);
    padding: 0.65rem 0.85rem;
    border-radius: 0 6px 6px 0;
}
