.ndms-section {
    --ndms-blue: #2d6db0;
    --ndms-navy: #234f80;
    --ndms-red: #dd3333;
    --ndms-text: #263445;
    --ndms-muted: #65758a;
    --ndms-border: #dce4ed;
    --ndms-soft: #f5f8fb;
    color: var(--ndms-text);
    margin: 24px 0;
}

.ndms-section * {
    box-sizing: border-box;
}

.ndms-section h2,
.ndms-section h3 {
    color: var(--ndms-navy);
    line-height: 1.3;
}

.ndms-section h2 {
    font-size: clamp(22px, 3vw, 30px);
    margin: 0 0 16px;
}

.ndms-section h3 {
    font-size: 20px;
    margin: 26px 0 12px;
}

.ndms-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ndms-card {
    background: #fff;
    border: 1px solid var(--ndms-border);
    border-radius: 10px;
    min-height: 112px;
    padding: 18px 16px;
    box-shadow: 0 2px 10px rgba(36, 67, 101, .06);
}

.ndms-card-label {
    color: var(--ndms-muted);
    display: block;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 8px;
}

.ndms-card-value {
    color: var(--ndms-navy);
    display: block;
    font-size: clamp(20px, 2.5vw, 27px);
    font-weight: 700;
    line-height: 1.15;
}

.ndms-card-subvalue {
    color: var(--ndms-muted);
    display: block;
    font-size: 12px;
    margin-top: 6px;
}

.ndms-updated,
.ndms-methodology,
.ndms-empty {
    color: var(--ndms-muted);
    font-size: 13px;
    line-height: 1.55;
}

.ndms-updated {
    margin: 10px 0 0;
}

.ndms-methodology {
    background: var(--ndms-soft);
    border-left: 3px solid var(--ndms-blue);
    margin: 18px 0 0;
    padding: 10px 12px;
}

.ndms-summary-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.ndms-summary-box {
    background: var(--ndms-soft);
    border: 1px solid var(--ndms-border);
    border-radius: 9px;
    padding: 14px 16px;
}

.ndms-summary-box strong {
    color: var(--ndms-navy);
    display: block;
    font-size: 22px;
    margin-top: 4px;
}

.ndms-trend-up {
    color: #167344 !important;
}

.ndms-trend-down {
    color: #b42318 !important;
}

.ndms-table-wrap {
    border: 1px solid var(--ndms-border);
    border-radius: 9px;
    overflow-x: auto;
}

.ndms-table {
    border-collapse: collapse;
    margin: 0;
    min-width: 650px;
    width: 100%;
}

.ndms-table th,
.ndms-table td {
    border-bottom: 1px solid var(--ndms-border);
    padding: 12px 14px;
    text-align: right;
    vertical-align: middle;
}

.ndms-table th {
    background: var(--ndms-soft);
    color: var(--ndms-navy);
    font-size: 13px;
    font-weight: 700;
}

.ndms-table th:first-child,
.ndms-table td:first-child {
    text-align: left;
}

.ndms-table tbody tr:last-child td {
    border-bottom: 0;
}

.ndms-table a {
    color: var(--ndms-blue);
    font-weight: 600;
    text-decoration: none;
}

.ndms-table a:hover,
.ndms-table a:focus {
    text-decoration: underline;
}

.ndms-distribution-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
}

.ndms-distribution {
    border: 1px solid var(--ndms-border);
    border-radius: 9px;
    padding: 14px;
}

.ndms-distribution h4 {
    color: var(--ndms-navy);
    font-size: 16px;
    margin: 0 0 12px;
}

.ndms-bar-row {
    margin: 10px 0;
}

.ndms-bar-heading {
    display: flex;
    font-size: 13px;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 4px;
}

.ndms-bar-track {
    background: #e8eef5;
    border-radius: 999px;
    height: 7px;
    overflow: hidden;
}

.ndms-bar-fill {
    background: var(--ndms-blue);
    border-radius: inherit;
    display: block;
    height: 100%;
    max-width: 100%;
    min-width: 2px;
}

.ndms-faq details {
    background: #fff;
    border: 1px solid var(--ndms-border);
    border-radius: 8px;
    margin: 9px 0;
}

.ndms-faq summary {
    color: var(--ndms-navy);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    list-style-position: inside;
    padding: 15px 16px;
}

.ndms-faq-answer {
    border-top: 1px solid var(--ndms-border);
    line-height: 1.65;
    padding: 14px 16px;
}

.ndms-faq-answer p {
    margin: 0;
}

@media (max-width: 900px) {
    .ndms-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ndms-section {
        margin: 18px 0;
    }

    .ndms-cards,
    .ndms-summary-row,
    .ndms-distribution-grid {
        grid-template-columns: 1fr;
    }

    .ndms-card {
        min-height: 0;
    }
}

