.msc-trigger-wrap {
    margin: 10px 0;
}
.msc-open-modal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: underline;
    cursor: pointer;
}

.msc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.msc-modal-box {
    background: #fff;
    border-radius: 6px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 30px 24px 24px;
}
.msc-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #555;
}
.msc-modal-close:hover {
    color: #000;
}
.msc-chart-title {
    margin-top: 0;
}
.msc-chart-table {
    width: 100%;
    border-collapse: collapse;
}
.msc-chart-table th,
.msc-chart-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: center;
}
.msc-chart-table thead th {
    background: #f5f5f5;
}
.msc-chart-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.msc-chart-pdf {
    width: 100%;
    height: 70vh;
    border: 1px solid #ddd;
}
.msc-pdf-fallback {
    text-align: center;
}
.msc-inline-chart {
    margin: 20px 0;
}
