.ethics-review-panel {
    direction: rtl;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
}

.ethics-body-chart-host {
    min-height: 420px;
    width: 100%;
    border: 1px solid rgba(183, 28, 28, 0.15);
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-sizing: border-box;
}

.ethics-body-fallback {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: center;
    direction: rtl;
    min-height: 380px;
}

.ethics-body-fallback-visual {
    flex: 0 0 260px;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.ethics-body-fallback-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
}

.ethics-body-fallback-placeholder {
    width: 220px;
    height: 320px;
    border: 1px dashed rgba(183, 28, 28, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9e9e9e;
    font-weight: 600;
}

.ethics-body-fallback-legend {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ethics-body-fallback-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #fafafa;
}

.ethics-body-fallback-swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    margin-top: 3px;
    flex-shrink: 0;
}

.ethics-body-fallback-meta {
    flex: 1 1 auto;
    min-width: 0;
}

.ethics-body-fallback-label {
    font-weight: 600;
    font-size: 0.9rem;
}

.ethics-body-fallback-params {
    font-size: 0.75rem;
    color: #616161;
    margin-top: 2px;
}

.ethics-body-fallback-pct {
    font-weight: 700;
    font-size: 0.9rem;
    color: #b71c1c;
    white-space: nowrap;
}

.ethics-body-fallback-empty {
    color: #757575;
    font-size: 0.9rem;
    padding: 12px;
}

.corr-letter-ai-model-pick {
    flex: 1 1 auto;
    min-width: 0;
}

.setup-ai-feature-cat-label {
    font-weight: 700;
    text-align: right;
}

.setup-ai-feature-card {
    border-radius: 10px;
    background: var(--mud-palette-background-gray, #fafafa);
}
