/* Use the available content area beside the RTD navigation sidebar. */
.wy-nav-content {
    max-width: none;
}

.requirement-status-charts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.requirement-status-card {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #e1e4e5;
    border-radius: 6px;
    text-align: center;
    background: #fff;
}

.requirement-status-card img {
    width: 80%;
    height: auto;
}

/* Standalone charts previously used the 6.4-inch figure's natural width.
   Scale both the natural-width and narrow-container limits by 0.8. */
img.status-pie-image {
    width: 80%;
    max-width: 491.52px; /* 6.4in * 96px/in * 0.8 */
    height: auto;
}

.requirement-status-card img.status-pie-image {
    max-width: 80%;
}

@media (max-width: 1000px) {
    .requirement-status-charts {
        grid-template-columns: 1fr;
    }
}

