#school-health-dashboard {
        color: #1f2937;
        padding: 12px 8px 32px;
        background: #fff;
        margin: 0 -8px;
        counter-reset: shd-mod;
    }
    #school-health-dashboard .shd-page-head {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 16px;
        margin: 0 8px 20px;
        padding: 4px 8px 16px;
        border-bottom: 1px solid #cfd8e3;
    }
    #school-health-dashboard .shd-page-head h1 {
        margin: 0;
        font-size: 22px;
        font-weight: 600;
        color: #1a365d;
        letter-spacing: -0.02em;
    }
    #school-health-dashboard .shd-page-sub {
        margin: 4px 0 0;
        font-size: 13px;
        color: #6b7280;
    }
    #school-health-dashboard .shd-session {
        min-width: 240px;
    }
    #school-health-dashboard .shd-session label {
        display: block;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #6b7280;
        margin-bottom: 6px;
    }
    #school-health-dashboard .shd-session select {
        min-width: 240px;
        height: 36px;
        font-size: 13px;
        border: 1px solid #cbd5e1;
        border-radius: 4px;
        background: #fff;
        color: #1f2937;
    }
    #school-health-dashboard .shd-kpi-bar {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        background: #fff;
        border: 1px solid #dbe1ea;
        border-radius: 4px;
        margin-bottom: 0;
    }
    #school-health-dashboard .shd-kpi-cell {
        padding: 16px 14px;
        cursor: pointer;
        border-right: 1px solid #e8edf3;
        min-height: 92px;
        min-width: 0;
        overflow: hidden;
    }
    #school-health-dashboard .shd-kpi-cell:nth-child(4n),
    #school-health-dashboard .shd-kpi-cell:last-child { border-right: 0; }
    #school-health-dashboard .shd-kpi-cell:nth-child(n+5) { border-top: 1px solid #e8edf3; }
    #school-health-dashboard .shd-kpi-cell:hover { background: #f8fafc; }
    #school-health-dashboard .shd-kpi-label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .05em;
        text-transform: uppercase;
        color: #6b7280;
        margin-bottom: 6px;
    }
    #school-health-dashboard .shd-kpi-value {
        font-size: clamp(13px, 1.2vw, 20px);
        font-weight: 650;
        color: #1a365d;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    #school-health-dashboard .shd-kpi-sub {
        margin-top: 4px;
        font-size: 12px;
        color: #6b7280;
    }
    #school-health-dashboard .shd-fee-strip {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        background: #fff;
        border: 1px solid #dbe1ea;
        border-radius: 4px;
        margin-bottom: 12px;
    }
    #school-health-dashboard .shd-fee-strip-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    #school-health-dashboard .shd-fee-strip-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #school-health-dashboard .shd-subsection-head {
        margin: 22px 0 10px;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: #334155;
    }
    #school-health-dashboard .shd-fee-cell {
        padding: 14px 16px;
        border-right: 1px solid #e8edf3;
    }
    #school-health-dashboard .shd-fee-cell:last-child { border-right: 0; }
    #school-health-dashboard .shd-fee-cell .shd-kpi-value { font-size: clamp(14px, 1.4vw, 18px); }
    #school-health-dashboard .shd-fee-hint {
        margin-top: 4px;
        font-size: 11px;
        color: #6b7280;
        line-height: 1.35;
    }
    #school-health-dashboard .shd-fee-note {
        margin: 0 0 12px;
        padding: 8px 12px;
        font-size: 12px;
        color: #4b5563;
        background: #f8fafc;
        border: 1px solid #e8edf3;
        border-radius: 4px;
        line-height: 1.45;
    }
    #school-health-dashboard .shd-section {
        counter-increment: shd-mod;
        margin: 0 8px 24px;
        background: #fff;
        border: 0;
        border-radius: 5px;
        box-shadow: 0 7px 14px 0 rgba(65, 69, 88, 0.1), 0 3px 6px 0 rgba(0, 0, 0, 0.07);
        overflow: hidden;
    }
    #school-health-dashboard .shd-section-actions {
        counter-increment: none;
    }
    #school-health-dashboard .shd-section-head {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 0;
        padding: 12px 16px;
        min-height: 50px;
        background: #f9fafd;
        color: #344050;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .04em;
        text-transform: uppercase;
        border-bottom: 1px solid #d8e2ef;
    }
    #school-health-dashboard .shd-section:not(.shd-section-actions) .shd-section-head::before {
        content: counter(shd-mod, decimal-leading-zero);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        height: 22px;
        padding: 0 6px;
        border-radius: 3px;
        background: #edf2f7;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
        color: #1a365d;
    }
    #school-health-dashboard .shd-section-title {
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .04em;
        color: #344050;
    }
    #school-health-dashboard .shd-section-body {
        padding: 16px;
        background: #fff;
    }
    #school-health-dashboard .shd-section-body > .shd-fee-strip,
    #school-health-dashboard .shd-section-body > .shd-fee-note,
    #school-health-dashboard .shd-section-body > .row,
    #school-health-dashboard .shd-section-body > .shd-card {
        margin-bottom: 12px;
    }
    #school-health-dashboard .shd-section-body > :last-child {
        margin-bottom: 0;
    }
    #school-health-dashboard .shd-section-actions .shd-section-head {
        background: #7f1d1d;
        color: #fff;
        border-bottom: 0;
        border-left: 4px solid #f4c430;
    }
    #school-health-dashboard .shd-section-actions .shd-section-title {
        color: #fff;
        font-weight: 700;
        letter-spacing: .08em;
    }
    #school-health-dashboard .shd-section-actions .shd-section-body {
        padding: 0;
        background: #fff;
    }
    #school-health-dashboard .shd-caption {
        margin-left: auto;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0;
        text-transform: none;
        color: #6b7280;
    }
    #school-health-dashboard .shd-section-actions .shd-caption {
        color: rgba(255, 255, 255, 0.75);
    }
    #school-health-dashboard .shd-card {
        background: #fff;
        border: 1px solid #dbe1ea;
        border-radius: 4px;
        box-shadow: none;
        margin-bottom: 0;
    }
    #school-health-dashboard .shd-card-head,
    #school-health-dashboard .shd-card .card-header {
        background: #fff;
        border-bottom: 1px solid #e8edf3;
        padding: 10px 14px;
        font-size: 13px;
        font-weight: 600;
        color: #1f2937;
    }
    #school-health-dashboard .shd-card .card-body { padding: 14px; }
    #school-health-dashboard .shd-card .card-body.p-0 { padding: 0; }
    #school-health-dashboard .shd-empty {
        text-align: left;
        padding: 18px 14px;
        color: #6b7280;
        font-size: 13px;
    }
    #school-health-dashboard .shd-empty img { display: none; }
    #school-health-dashboard .shd-band {
        display: inline-block;
        padding: 1px 8px;
        border-radius: 2px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .02em;
    }
    #school-health-dashboard .shd-band-Poor { background: #fde8e8; color: #9b2c2c; }
    #school-health-dashboard .shd-band-Average { background: #faf3e6; color: #975a16; }
    #school-health-dashboard .shd-band-Good { background: #e8eef6; color: #2c5282; }
    #school-health-dashboard .shd-band-Excellent { background: #e7f3ec; color: #276749; }
    #school-health-dashboard .shd-band-None { background: #f3f4f6; color: #4b5563; }
    #school-health-dashboard .shd-heat-Poor { background: #f8d7d7; color: #7f1d1d; }
    #school-health-dashboard .shd-heat-Average { background: #f6e7c8; color: #7c4a12; }
    #school-health-dashboard .shd-heat-Good { background: #d5e2f0; color: #1e3a5f; }
    #school-health-dashboard .shd-heat-Excellent { background: #cfe6d7; color: #1c4532; }
    #school-health-dashboard .shd-heat-None { background: #f8fafc; color: #94a3b8; }
    #school-health-dashboard .shd-alert {
        display: grid;
        grid-template-columns: 110px 1fr;
        gap: 4px 16px;
        padding: 10px 14px;
        border-bottom: 1px solid #e8edf3;
        cursor: pointer;
    }
    #school-health-dashboard .shd-alert:last-child { border-bottom: 0; }
    #school-health-dashboard .shd-alert:hover { background: #f8fafc; }
    #school-health-dashboard .shd-alert-cat {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #6b7280;
        padding-top: 2px;
    }
    #school-health-dashboard .shd-alert-danger .shd-alert-cat { color: #9b2c2c; }
    #school-health-dashboard .shd-alert-info .shd-alert-cat { color: #2c5282; }
    #school-health-dashboard .shd-alert-title { font-size: 13px; font-weight: 600; color: #1f2937; }
    #school-health-dashboard .shd-alert-detail { font-size: 12px; color: #6b7280; grid-column: 2; }
    #school-health-dashboard .table { margin-bottom: 0; font-size: 13px; }
    #school-health-dashboard .table th,
    #school-health-dashboard .table > thead > tr > th {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .03em;
        text-transform: uppercase;
        color: #fff;
        border-color: #e8edf3;
        white-space: nowrap;
    }
    #school-health-dashboard .table td, #school-health-dashboard .table th {
        vertical-align: middle;
        padding: 8px 12px;
    }
    #school-health-dashboard .shd-scroll { max-height: 340px; overflow: auto; }
    #school-health-dashboard .shd-scroll .table {
        border-collapse: separate;
        border-spacing: 0;
    }
    #school-health-dashboard .shd-scroll thead th {
        position: sticky;
        top: 0;
        z-index: 3;
        background-color: var(--usm-primary-color) !important;
        box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.12);
    }
    #school-health-dashboard .shd-scroll thead th:first-child {
        left: 0;
        z-index: 4;
    }
    #school-health-dashboard .shd-scroll tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        background-color: #fff;
        box-shadow: 2px 0 4px -2px rgba(0, 0, 0, 0.12);
    }
    #school-health-dashboard .shd-loading,
    #school-health-dashboard .shd-widget-loader {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 148px;
        padding: 28px 14px;
        color: #6b7280;
        font-size: 13px;
    }
    #school-health-dashboard .shd-loading i,
    #school-health-dashboard .shd-widget-loader i,
    #school-health-dashboard .shd-inline-loader i {
        color: #64748b;
    }
    #school-health-dashboard .shd-inline-loader {
        display: inline-flex;
        align-items: center;
        height: 26px;
        color: #94a3b8;
        font-size: 16px;
    }
    #school-health-dashboard .shd-kpi-sub .shd-inline-loader {
        height: 16px;
        font-size: 12px;
    }
    #school-health-dashboard .shd-link {
        font-size: 12px;
        font-weight: 600;
        color: #2c5282;
        text-decoration: none;
    }
    #school-health-dashboard .shd-stat-row {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #eef2f7;
        font-size: 13px;
    }
    #school-health-dashboard .shd-stat-row:last-child { border-bottom: 0; }
    #school-health-dashboard .shd-stat-row span { color: #6b7280; }
    #school-health-dashboard .shd-stat-row strong { color: #1f2937; font-weight: 600; }
    #school-health-dashboard .shd-strength-list .shd-stat-row {
        justify-content: flex-start;
        gap: 28px;
        max-width: 220px;
    }
    #school-health-dashboard .shd-strength-list .shd-stat-row span { min-width: 72px; }
    #school-health-dashboard .shd-strength-list .shd-stat-row strong { min-width: 2rem; text-align: right; }
    @media (max-width: 1199px) {
        #school-health-dashboard .shd-kpi-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        #school-health-dashboard .shd-kpi-cell:nth-child(4n) { border-right: 1px solid #e8edf3; }
        #school-health-dashboard .shd-kpi-cell:nth-child(2n) { border-right: 0; }
        #school-health-dashboard .shd-kpi-cell:nth-child(n+5) { border-top: 0; }
        #school-health-dashboard .shd-kpi-cell:nth-child(n+3) { border-top: 1px solid #e8edf3; }
    }
    @media (max-width: 767px) {
        #school-health-dashboard .shd-page-head { flex-direction: column; align-items: stretch; }
        #school-health-dashboard .shd-kpi-bar { grid-template-columns: 1fr; }
        #school-health-dashboard .shd-kpi-cell { border-right: 0; border-top: 0; border-bottom: 1px solid #e8edf3; }
        #school-health-dashboard .shd-kpi-cell:nth-child(n+3),
        #school-health-dashboard .shd-kpi-cell:nth-child(n+5) { border-top: 0; }
        #school-health-dashboard .shd-kpi-cell:last-child { border-bottom: 0; }
        #school-health-dashboard .shd-fee-strip,
        #school-health-dashboard .shd-fee-strip-2,
        #school-health-dashboard .shd-fee-strip-4 { grid-template-columns: 1fr; }
        #school-health-dashboard .shd-fee-cell { border-right: 0; border-bottom: 1px solid #e8edf3; }
        #school-health-dashboard .shd-fee-cell:last-child { border-bottom: 0; }
    }
    #school-health-dashboard .shd-period-row { cursor: pointer; }
    #school-health-dashboard .shd-period-row:hover { background: #f8fafc; }
    #school-health-dashboard .shd-free-teachers { display: none; background: #f9fafd; }
    #school-health-dashboard .shd-print-btn {
        margin-top: 22px;
        height: 36px;
        font-size: 13px;
    }
    @media print {
        .c-header, .navbar, .c-sidebar, #sidebar, .shd-page-head .shd-session, .shd-print-btn,
        .shd-widget-loader, .shd-inline-loader { display: none !important; }
        #school-health-dashboard { background: #fff; margin: 0; }
        #school-health-dashboard .shd-section { box-shadow: none; break-inside: avoid; }
        #school-health-dashboard .shd-free-teachers { display: table-row !important; }
        #school-health-dashboard .shd-scroll { max-height: none; overflow: visible; }
    }
