@import url("district-report-card-26.11.0/theme-contract.css");
@import url("district-report-card-26.11.0/themes/theme-0.css");
@import url("district-report-card-26.11.0/themes/theme-1.css");
@import url("district-report-card-26.11.0/themes/theme-2.css");
@import url("district-report-card-26.11.0/themes/theme-3.css");
@import url("district-report-card-26.11.0/themes/theme-4.css");
@import url("district-report-card-26.11.0/themes/theme-5.css");
@import url("district-report-card-26.11.0/shared.css");
@import url("district-report-card-26.11.0/modals.css");

#district-report-card-module .drc-snapshot-early-literacy.is-missing{
   opacity:.82;
}

@media print{
    #district-report-card-module .drc-footer-theme{display:none !important;}
    #district-report-card-module .drc-footer-source{margin-top:0;}
    #district-report-card-module .drc-snapshot26-trend-scroll{overflow:visible !important;}
    #district-report-card-module .drc-snapshot26-trend-svg{
        width:100%;
        min-width:0 !important;
        break-inside:avoid;
        print-color-adjust:exact;
        -webkit-print-color-adjust:exact;
    }
}

/* 26.10.5 final Postsecondary architecture: the .4 Student Context grammar
 * is the single comparison visual.  All lanes are fluid; only supporting
 * tables may scroll locally on narrow screens. */
#district-report-card-module .drc-postsecondary-report,
#district-report-card-module .drc-postsecondary-report *{min-width:0;box-sizing:border-box;}
#district-report-card-module [data-postsecondary-district-cohort]{display:grid;gap:5px;color:var(--drc-chart-label);font-weight:700;}
#district-report-card-module [data-postsecondary-district-cohort]{width:100%;min-height:2.5rem;}
#district-report-card-module .drc-postsecondary-guidance{
    display:grid;grid-template-columns:minmax(150px,1fr) repeat(4,minmax(0,1.7fr));gap:12px;
    margin:0 0 18px;padding:12px 14px;border:1px solid var(--drc-border);border-radius:7px;
    background:var(--drc-surface-subtle);color:var(--drc-muted);line-height:1.4;
}
#district-report-card-module .drc-postsecondary-guidance strong{color:var(--drc-heading);font-size:1.05rem;}
#district-report-card-module .drc-postsecondary-guidance span{display:block;}
#district-report-card-module .drc-postsecondary-breadcrumb{margin:0 0 4px;color:var(--drc-muted);font-size:.9rem;font-weight:600;}
#district-report-card-module .drc-postsecondary-updated{margin:0 0 16px;color:var(--drc-muted);font-size:.92rem;font-variant-numeric:tabular-nums;}
#district-report-card-module .drc-postsecondary-district-summary,
#district-report-card-module .drc-postsecondary-comparison,
#district-report-card-module .drc-postsecondary-specialized,
#district-report-card-module .drc-postsecondary-history{margin:0 0 20px;}
#district-report-card-module .drc-postsecondary-comparison{padding:16px;border:1px solid var(--drc-border);border-radius:8px;background:var(--drc-panel-bg);}
#district-report-card-module .drc-postsecondary-comparison > h3{margin:0 0 4px;color:var(--drc-heading);}
#district-report-card-module .drc-postsecondary-comparison-context{margin:0 0 10px;color:var(--drc-muted);font-variant-numeric:tabular-nums;}
#district-report-card-module .drc-student-context-row{display:grid;grid-template-columns:minmax(235px,max-content) minmax(220px,1fr) max-content;gap:14px;align-items:center;padding:8px 10px;border-radius:6px;}
#district-report-card-module .drc-student-context-label{display:flex;align-items:flex-start;min-width:0;color:var(--drc-chart-label);line-height:1.35;}
#district-report-card-module .drc-student-context-label strong{overflow-wrap:anywhere;}
#district-report-card-module .drc-student-context-plot{min-width:0;}
#district-report-card-module .drc-student-context-track{position:relative;height:30px;overflow:visible;border:1px solid var(--drc-border);border-radius:6px;background:var(--drc-chart-background);background-image:linear-gradient(to right,transparent 24.8%,var(--drc-chart-grid) 24.8%,var(--drc-chart-grid) 25.2%,transparent 25.2%,transparent 49.8%,var(--drc-chart-grid) 49.8%,var(--drc-chart-grid) 50.2%,transparent 50.2%,transparent 74.8%,var(--drc-chart-grid) 74.8%,var(--drc-chart-grid) 75.2%,transparent 75.2%);}
#district-report-card-module .drc-student-context-fill{display:block;position:relative;z-index:1;height:100%;border-radius:5px;background:var(--drc-chart-1);}
#district-report-card-module .drc-student-context-benchmark{position:absolute;top:-4px;bottom:-4px;width:0;border-left:3px dashed var(--drc-text);transform:translateX(-50%);z-index:3;}
#district-report-card-module .drc-student-context-benchmark:after{content:"";position:absolute;left:-5px;top:50%;width:7px;height:7px;background:var(--drc-panel-bg);border:2px solid var(--drc-text);transform:translateY(-50%) rotate(45deg);}
#district-report-card-module .drc-student-context-axis{display:grid;grid-template-columns:repeat(5,1fr);margin-top:5px;color:var(--drc-muted);font-size:.82rem;font-variant-numeric:tabular-nums;}
#district-report-card-module .drc-student-context-axis span{text-align:center;}
#district-report-card-module .drc-student-context-axis span:first-child{text-align:left;}
#district-report-card-module .drc-student-context-axis span:last-child{text-align:right;}
#district-report-card-module .drc-student-context-value{text-align:right;font-variant-numeric:tabular-nums;}
#district-report-card-module .drc-student-context-value strong{display:block;font-size:1.25rem;color:var(--drc-heading);}
#district-report-card-module .drc-student-context-value span{display:block;color:var(--drc-muted);}
#district-report-card-module .drc-postsecondary-comparison-note,#district-report-card-module .drc-postsecondary-unavailable{margin:12px 0 0;color:var(--drc-muted);}
#district-report-card-module .drc-postsecondary-visual{margin:0 0 20px;}
#district-report-card-module .drc-postsecondary-visual>h3{margin:0 0 4px;color:var(--drc-heading);}
#district-report-card-module .drc-postsecondary-measure-group{margin:16px 0 20px;padding:14px;border:1px solid var(--drc-border);border-radius:8px;background:var(--drc-panel-bg);}
#district-report-card-module .drc-postsecondary-measure-group h4{margin:0;color:var(--drc-heading);}
#district-report-card-module .drc-postsecondary-measure-note{margin:3px 0 12px;color:var(--drc-muted);font-size:.92rem;}
#district-report-card-module .drc-postsecondary-bars{display:grid;gap:12px;}
#district-report-card-module .drc-postsecondary-bar-row{display:grid;grid-template-columns:minmax(190px,1.25fr) minmax(180px,2.4fr) minmax(145px,.8fr);gap:12px;align-items:center;}
#district-report-card-module .drc-postsecondary-bar-label{font-weight:600;line-height:1.3;}
#district-report-card-module .drc-postsecondary-bar-plot{min-width:0;}
#district-report-card-module .drc-postsecondary-bar-track{position:relative;height:24px;overflow:visible;border:1px solid var(--drc-border);border-radius:5px;background:var(--drc-chart-background);background-image:linear-gradient(to right,transparent 24.8%,var(--drc-chart-grid) 24.8%,var(--drc-chart-grid) 25.2%,transparent 25.2%,transparent 49.8%,var(--drc-chart-grid) 49.8%,var(--drc-chart-grid) 50.2%,transparent 50.2%,transparent 74.8%,var(--drc-chart-grid) 74.8%,var(--drc-chart-grid) 75.2%,transparent 75.2%);}
#district-report-card-module .drc-postsecondary-bar-track>.drc-postsecondary-bar-fill{display:block;height:100%;border-radius:4px;background:var(--drc-chart-1);}
#district-report-card-module .drc-postsecondary-bar-reference{position:absolute;top:-3px;bottom:-3px;width:0;border-left:3px dashed var(--drc-text);transform:translateX(-50%);}
#district-report-card-module .drc-postsecondary-bar-axis{display:grid;grid-template-columns:repeat(4,1fr);margin-top:4px;color:var(--drc-muted);font-size:.78rem;font-variant-numeric:tabular-nums;}
/* Four equal intervals provide five mathematical tick lines.  Each label is
 * placed on a line, then its text box is centered on that line; endpoints may
 * extend beyond the track for containment without moving the tick anchor. */
#district-report-card-module .drc-postsecondary-bar-axis span{grid-row:1;text-align:center;white-space:nowrap;width:max-content;justify-self:end;transform:translateX(50%);}
#district-report-card-module .drc-postsecondary-bar-axis span:first-child{grid-column:1;justify-self:start;transform:translateX(-50%);}
#district-report-card-module .drc-postsecondary-bar-axis span:nth-child(2){grid-column:1;}
#district-report-card-module .drc-postsecondary-bar-axis span:nth-child(3){grid-column:2;}
#district-report-card-module .drc-postsecondary-bar-axis span:nth-child(4){grid-column:3;}
#district-report-card-module .drc-postsecondary-bar-axis span:last-child{grid-column:4;}
#district-report-card-module .drc-postsecondary-bar-value{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
#district-report-card-module .drc-postsecondary-bar-value strong{display:block;color:var(--drc-heading);}
#district-report-card-module .drc-postsecondary-bar-value span{display:block;margin-top:2px;color:var(--drc-muted);font-size:.85rem;}
#district-report-card-module .drc-postsecondary-value-label{font-weight:700;color:var(--drc-muted);}
#district-report-card-module .drc-postsecondary-bar-key{display:flex;flex-wrap:wrap;gap:10px 18px;margin:8px 0 10px;color:var(--drc-muted);font-size:.86rem;}
#district-report-card-module .drc-postsecondary-bar-key span{display:inline-flex;align-items:center;gap:5px;}
#district-report-card-module .drc-postsecondary-bar-swatch{display:inline-block;width:12px;height:12px;border-radius:3px;background:var(--drc-chart-1);}
#district-report-card-module .drc-postsecondary-bar-marker-key{display:inline-block;width:0;height:16px;border-left:3px dashed var(--drc-text);}
#district-report-card-module .drc-postsecondary-table-context{margin:0 0 10px;color:var(--drc-muted);font-size:.9rem;}
#district-report-card-module .drc-postsecondary-summary-table .drc-postsecondary-table-group th{padding-top:14px;color:var(--drc-heading);background:var(--drc-surface-subtle);}
#district-report-card-module .drc-postsecondary-summary-table .drc-postsecondary-table-group span{display:block;font-weight:400;color:var(--drc-muted);font-size:.85rem;}
#district-report-card-module .drc-postsecondary-about{margin:0;color:var(--drc-muted);}
#district-report-card-module .drc-postsecondary-about h3{margin:0 0 5px;color:var(--drc-heading);}
#district-report-card-module .drc-postsecondary-about p{margin:5px 0;}
#district-report-card-module .drc-postsecondary-source{font-size:.9rem;}
#district-report-card-module .drc-postsecondary-comparison-table{min-width:0;}
#district-report-card-module .drc-postsecondary-comparison-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
#district-report-card-module .drc-postsecondary-specialized .drc-table-wrap,#district-report-card-module .drc-postsecondary-history .drc-table-wrap{max-width:100%;overflow-x:auto;}
@media(max-width:900px){
    #district-report-card-module .drc-postsecondary-guidance{grid-template-columns:repeat(2,minmax(0,1fr));}
    #district-report-card-module .drc-student-context-row{grid-template-columns:minmax(190px,1fr) minmax(180px,2fr) minmax(180px,1fr);gap:10px;}
}
@media(max-width:700px){
    #district-report-card-module .drc-postsecondary-guidance{grid-template-columns:1fr;}
    #district-report-card-module .drc-student-context-row{grid-template-columns:1fr;gap:8px;}
    #district-report-card-module .drc-student-context-value{text-align:left;}
    #district-report-card-module .drc-postsecondary-comparison{padding:12px;}
}

/* M6ZL: paired student-group proficiency and signed gap views. These use the
 * established academic panels, cards, SVG typography and table contract; the
 * local rules only describe the two unique chart marks. */
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--drc-space-card-gap);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-card{min-width:0;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-card h3{display:flex;align-items:center;gap:7px;margin:0;color:var(--drc-heading);font-size:var(--drc-font-size-chart-title);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-card-values{margin:12px 0 14px;display:grid;gap:8px;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-card-values div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--drc-border);padding-bottom:6px;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-card-values dt{color:var(--drc-muted);font-size:.84rem;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-card-values dd{margin:0;color:var(--drc-heading);font-weight:700;font-variant-numeric:tabular-nums;text-align:right;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-card-values small{font-weight:400;color:var(--drc-muted);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-detail-link{border:0;background:none;padding:0;color:var(--drc-primary);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-details{margin-top:var(--drc-space-section);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-detail{margin:0 0 12px;border:1px solid var(--drc-border);background:var(--drc-panel-bg);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-detail summary{padding:14px 16px;color:var(--drc-heading);font-weight:700;cursor:pointer;list-style-position:inside;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-detail summary:focus-visible,.drc-academic-gap-detail-link:focus-visible{outline:3px solid var(--drc-focus);outline-offset:2px;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-detail-body{padding:0 12px 12px;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-detail-body .drc-academic-gap-subject-panel{margin:0 0 12px;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-table .drc-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-gap-a{stroke:var(--drc-primary);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-gap-b{stroke:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point.is-gap-a{stroke:var(--drc-primary);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point.is-gap-b{stroke:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-gap-zero{stroke:var(--drc-heading);stroke-width:1.4;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-gap-bar{stroke:var(--drc-panel-bg);stroke-width:1;cursor:pointer;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-gap-bar.is-positive{fill:var(--drc-primary);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-gap-bar.is-negative{fill:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-gap-bar:focus{outline:none;stroke:var(--drc-heading);stroke-width:2.5;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-gap-value{fill:var(--drc-heading);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;paint-order:stroke;stroke:var(--drc-panel-bg);stroke-width:3px;stroke-linejoin:round;pointer-events:none;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-subject-grid{display:grid;grid-template-columns:1fr;gap:var(--drc-space-card-gap);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-subject-panel{min-width:0;padding:14px;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-subject-panel .drc-section-title{display:flex;align-items:center;gap:7px;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-subject-marker{display:inline-block;width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:var(--drc-chart-1);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-subject-marker.is-subject-reading{background:var(--drc-primary);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-subject-marker.is-subject-math{background:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-subject-marker.is-subject-science{background:var(--drc-chart-3);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-gap-bar.is-subject-reading{fill:var(--drc-primary);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-gap-bar.is-subject-math{fill:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-gap-bar.is-subject-science{fill:var(--drc-chart-3);}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-summary-subject{margin:0 0 12px;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-summary-subject:last-child{margin-bottom:0;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-summary-subject h3{display:flex;align-items:center;gap:7px;margin:0 0 7px;color:var(--drc-heading);font-size:var(--drc-font-size-chart-title);}
@media(min-width:1600px){#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-summary-grid{grid-template-columns:1fr;}}
@media(max-width:900px){#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-gap-card-grid{grid-template-columns:1fr;}}

/* M6ZBD: the canonical selector value is `gaps`; keep the gap presentation
 * on the released Academic tokens instead of the retired report identifier. */
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--drc-space-card-gap);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card{min-width:0;padding:14px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card h3{display:flex;align-items:center;gap:7px;margin:0;color:var(--drc-heading);font-size:var(--drc-font-size-chart-title);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values{margin:10px 0 12px;display:grid;gap:6px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid var(--drc-border);padding-bottom:5px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values dt{color:var(--drc-muted);font-size:.82rem;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values dd{margin:0;color:var(--drc-heading);font-weight:700;font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values small{font-weight:400;color:var(--drc-muted);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values dt{font-size:.92rem;line-height:1.25;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values dd{font-size:1rem;line-height:1.25;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card{min-height:198px;display:flex;flex-direction:column;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-link{margin-top:auto;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-link{border:0;background:none;padding:4px 0;color:var(--drc-primary);font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail{margin:0 0 12px;border:1px solid var(--drc-border);background:var(--drc-panel-bg);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail summary{min-height:44px;padding:12px 16px;color:var(--drc-heading);font-weight:700;cursor:pointer;list-style-position:inside;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail summary:focus-visible,#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-link:focus-visible{outline:3px solid var(--drc-focus);outline-offset:2px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-body{padding:0 12px 12px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-table .drc-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-subject-grid{display:grid;grid-template-columns:1fr;gap:var(--drc-space-card-gap);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-subject-panel{min-width:0;padding:14px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-subject-panel .drc-section-title{display:flex;align-items:center;gap:7px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-subject-marker{display:inline-block;width:10px;height:10px;flex:0 0 10px;border-radius:50%;background:var(--drc-chart-1);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-subject-marker.is-subject-reading{background:var(--drc-primary);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-subject-marker.is-subject-math{background:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-subject-marker.is-subject-science{background:var(--drc-chart-3);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-snapshot26-legend-line.is-reading,#district-report-card-module[data-drc-academic-view="gaps"] .drc-snapshot26-legend-line.is-math,#district-report-card-module[data-drc-academic-view="gaps"] .drc-snapshot26-legend-line.is-science{border-top-style:solid;}

/* M6ZBW: subject-specific signed comparison cards. */
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--drc-space-card-gap);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-card{display:flex;min-width:0;flex-direction:column;padding:16px;border:1px solid var(--drc-border);border-radius:8px;background:var(--drc-panel-bg);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-card header{display:flex;align-items:flex-start;gap:8px;min-width:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-card h3{margin:0;color:var(--drc-heading);font-size:18px;line-height:1.2;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-meta{margin:6px 0 0;color:var(--drc-muted);font-size:12px;line-height:1.35;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-metrics{display:grid;gap:16px;margin:20px 0 0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-metric{display:grid;gap:0;padding:0;border:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-metric dt{color:var(--drc-text);font-size:13px;line-height:1.3;font-weight:400;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-metric dd{display:block;margin:4px 0 0;color:var(--drc-heading);font-variant-numeric:tabular-nums;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-value{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-value strong{color:var(--drc-heading);font-size:23px;line-height:1;font-weight:700;white-space:nowrap;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-unit{color:var(--drc-muted);font-size:13px;line-height:1.3;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-direction{display:block;margin-top:4px;color:var(--drc-text);font-size:13px;line-height:1.3;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-opposite{margin:16px 0 0;color:var(--drc-muted);font-size:13px;line-height:1.35;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-card footer{display:block;margin-top:16px;padding:11px 12px 10px;border-radius:6px;background:var(--drc-surface-subtle);color:var(--drc-muted);font-size:13px;line-height:1.3;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-footer-label{display:block;color:var(--drc-muted);font-size:13px;line-height:1.3;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-card footer .drc-academic-comparison-value{margin-top:4px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-card footer .drc-academic-comparison-value strong{color:var(--drc-heading);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-footer-direction{display:block;margin-top:4px;color:var(--drc-text);font-size:13px;line-height:1.3;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-unavailable{display:block;color:var(--drc-muted);font-size:13px;line-height:1.3;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-card.is-unavailable{justify-content:flex-start;}
@media(max-width:900px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-comparison-grid{grid-template-columns:1fr;}}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-value{font-size:10px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-value{fill:var(--drc-heading);font-size:10px;font-weight:700;font-variant-numeric:tabular-nums;paint-order:stroke;stroke:var(--drc-panel-bg);stroke-width:3px;stroke-linejoin:round;pointer-events:none;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-value.is-gap-a{fill:var(--drc-primary);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-value.is-gap-b{fill:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-value.is-positive{fill:var(--drc-heading);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-value.is-negative{fill:var(--drc-heading);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-svg{min-width:760px;}
@media(min-width:1600px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:900px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{grid-template-columns:1fr;}#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-value.is-mobile-skip,#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-xy-year.is-mobile-skip{display:none;}}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-controls{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto auto;gap:var(--drc-space-normal) var(--drc-space-card-gap);}
#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicViewWrap{grid-column:1 / -1;grid-row:1;}
#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicPairWrap{grid-column:1;grid-row:2;}
#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicGradeWrap{grid-column:2;grid-row:2;}
#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicFromWrap{grid-column:3;grid-row:2;}
#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicToWrap{grid-column:4;grid-row:2;}
@media(max-width:1100px) and (min-width:701px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-controls{grid-template-columns:repeat(2,minmax(0,1fr));}#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicViewWrap{grid-column:1 / -1;grid-row:1;}#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicPairWrap{grid-column:1;grid-row:2;}#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicGradeWrap{grid-column:2;grid-row:2;}#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicFromWrap{grid-column:1;grid-row:3;}#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicToWrap{grid-column:2;grid-row:3;}}
@media(max-width:700px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-controls{grid-template-columns:1fr;}#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicViewWrap,#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicPairWrap,#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicGradeWrap,#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicFromWrap,#district-report-card-module[data-drc-academic-view="gaps"] #drcAcademicToWrap{grid-column:1;}}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-snapshot26-legend-line.is-reading,#district-report-card-module[data-drc-academic-view="gaps"] .drc-snapshot26-legend-line.is-math,#district-report-card-module[data-drc-academic-view="gaps"] .drc-snapshot26-legend-line.is-science{border-top-style:solid;}
@media(max-width:700px){
    #district-report-card-module .drc-postsecondary-bar-row{grid-template-columns:1fr;gap:6px;}
    #district-report-card-module .drc-postsecondary-bar-value{text-align:left;}
}

/* M6ZBN: readable compact subject cards and nine-level signed-gap legend. */
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--drc-space-card-gap);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card{min-height:0;padding:16px;display:flex;flex-direction:column;gap:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-subject{min-width:0;padding-bottom:12px;border-bottom:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card h3{font-size:18px;line-height:1.2;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card .drc-card-sub{margin:6px 0 0;font-size:12px;line-height:1.3;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values{margin:14px 0 0;display:grid;gap:12px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure{min-width:0;padding:0 0 12px;border:0;border-bottom:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure:last-child{padding-bottom:0;border-bottom:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-label{display:block;color:var(--drc-muted);font-size:13px;line-height:1.25;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure strong{display:block;margin-top:4px;color:var(--drc-heading);font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure.is-gap{padding-top:2px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure.is-gap strong{color:var(--drc-primary);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-interpretation{display:block;margin-top:4px;color:var(--drc-muted);font-size:13px;line-height:1.3;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-link{margin-top:14px;white-space:nowrap;font-size:13px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend{justify-content:flex-start;min-width:0;gap:10px 14px;font-size:13px;line-height:1.35;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-label{font-size:13px;max-width:190px;white-space:normal;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale{width:180px;height:20px;border:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale i{display:block;min-width:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-note,#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-state{font-size:12px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-neg-4{background:#155eaa;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-neg-3{background:#347fbe;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-neg-2{background:#75a9d8;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-neg-1{background:#b8d3ef;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-neutral{background:#f0f2f4;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-pos-1{background:#f4bfc2;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-pos-2{background:#e9959b;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-pos-3{background:#d95761;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-pos-4{background:#c5232b;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-neutral{background:#f0f2f4;color:#173052;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-negative.heat-1{background:#b8d3ef;color:#173052;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-negative.heat-2{background:#75a9d8;color:#102b4a;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-negative.heat-3{background:#347fbe;color:#fff;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-negative.heat-4{background:#155eaa;color:#fff;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-positive.heat-1{background:#f4bfc2;color:#6e1018;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-positive.heat-2{background:#e9959b;color:#551018;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-positive.heat-3{background:#d95761;color:#fff;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-positive.heat-4{background:#c5232b;color:#fff;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-unavailable{background:#dfe3e8;color:#5f6872;}
@media(max-width:900px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(min-width:601px) and (max-width:900px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-subject{min-height:88px;box-sizing:border-box;}}
@media(max-width:600px){#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{grid-template-columns:1fr;}#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale{order:3;width:100%;}#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-label{max-width:calc(50% - 8px);}}

/* M6ZBQ: metric-card presentation for the latest reportable results. The
 * header, measures and conclusion are separate reading zones; no measure
 * row relies on a separator line to establish its relationship. */
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card{
    min-height:248px;
    padding:16px;
    display:flex;
    flex-direction:column;
    gap:0;
    border:1px solid var(--drc-border);
    border-radius:8px;
    box-shadow:0 2px 5px rgba(16,43,74,.08);
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-subject{
    min-width:0;
    padding:0;
    border:0;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card h3{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
    color:var(--drc-heading);
    font-size:18px;
    line-height:1.2;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card .drc-card-sub{
    display:flex;
    flex-wrap:wrap;
    gap:3px 8px;
    margin:6px 0 0;
    color:var(--drc-muted);
    font-size:12px;
    line-height:1.35;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card .drc-card-sub span+span:before{
    content:"·";
    margin-right:8px;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values{
    min-width:0;
    margin:20px 0 0;
    display:grid;
    gap:16px;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure{
    min-width:0;
    padding:0;
    border:0;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure-head,
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-gap-head{
    min-width:0;
    display:block;
    padding:0;
    border:0;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-label{
    min-width:0;
    color:var(--drc-text);
    font-size:13px;
    line-height:1.3;
    overflow-wrap:anywhere;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure strong,
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-gap-head strong{
    display:block;
    margin:4px 0 0;
    color:var(--drc-heading);
    font-size:23px;
    line-height:1;
    font-weight:700;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values .drc-academic-gap-card-track{
    display:block;
    height:5px;
    margin-top:8px;
    padding:0;
    overflow:hidden;
    border:0;
    border-radius:999px;
    background:var(--drc-chart-background);
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-fill{
    display:block;
    width:var(--drc-gap-proficiency-width,0%);
    height:100%;
    border-radius:inherit;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure.is-group-a .drc-academic-gap-card-fill{background:var(--drc-chart-1);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure.is-group-b .drc-academic-gap-card-fill{background:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-footer{
    margin-top:10px;
    padding:11px 12px 10px;
    border-radius:6px;
    background:var(--drc-surface-subtle);
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-footer .drc-academic-gap-card-label{
    color:var(--drc-muted);
    font-size:12px;
    font-weight:600;
    letter-spacing:.02em;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-footer strong{
    color:var(--drc-heading);
    font-size:23px;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-interpretation{
    display:block;
    margin-top:5px;
    color:var(--drc-text);
    font-size:13px;
    line-height:1.3;
    overflow-wrap:anywhere;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-link{
    display:block;
    margin:9px 0 0;
    padding:0;
    border:0;
    background:transparent;
    color:var(--drc-link);
    font-size:12px;
    font-weight:600;
    text-decoration:underline;
    cursor:pointer;
}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-empty{
    margin:0;
    color:var(--drc-muted);
    font-size:13px;
    line-height:1.4;
}
@media(max-width:600px){
    #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card{min-height:0;}
    #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values{margin-top:18px;}
}


/* 26.10.5 Academics: district-specific FastBridge Reading evidence and timeline. */
#district-report-card-module .drc-fastbridge-academics{
   border-left:4px solid var(--drc-chart-5);
}
#district-report-card-module .drc-fastbridge-academics>h3{
   margin-bottom:5px;
}
#district-report-card-module .drc-fastbridge-academics>h4{
   margin:0 0 5px;
   color:var(--drc-heading);
}
#district-report-card-module .drc-fastbridge-disclaimer{
   margin:12px 0 8px;
}
#district-report-card-module .drc-fastbridge-chart-sources{
   margin:8px 0 0;
}
#district-report-card-module .drc-fastbridge-grade-details,
#district-report-card-module .drc-fastbridge-methodology{
   margin-top:14px;
}
#district-report-card-module .drc-fastbridge-methodology code{
   overflow-wrap:anywhere;
   color:var(--drc-text);
}
#district-report-card-module .drc-fastbridge-methodology .drc-table{
   width:100%;
   table-layout:fixed;
}
#district-report-card-module .drc-fastbridge-methodology th{
   width:124px;
}
#district-report-card-module .drc-fastbridge-methodology th,
#district-report-card-module .drc-fastbridge-methodology td{
   white-space:normal;
   overflow-wrap:anywhere;
}
#district-report-card-module .drc-fastbridge-methodology .drc-muted{
   color:var(--drc-muted);
}
@media(max-width:700px){
   #district-report-card-module .drc-fastbridge-academics{
      border-left-width:3px;
   }
}
@media print{
   #district-report-card-module .drc-fastbridge-chart,
   #district-report-card-module .drc-snapshot26-trend-svg{
      width:100%;
      min-width:0;
      break-inside:avoid;
      print-color-adjust:exact;
      -webkit-print-color-adjust:exact;
   }
   #district-report-card-module .drc-fastbridge-grade-details:not([open])>:not(summary),
   #district-report-card-module .drc-fastbridge-methodology:not([open])>:not(summary){
      display:block!important;
   }
}


#district-report-card-module[data-drc-domain="insights"] .drc-selection{
    margin-top:14px;
    padding-top:10px;
    border-top:1px solid var(--drc-border);
}
#district-report-card-module .drc-insights-comparison-measures > .drc-secondary-action{
    display:block;
    width:auto;
    max-width:100%;
    margin:12px 0 0;
}
#district-report-card-module .drc-insights-comparison-measures > .drc-secondary-action:disabled{
    cursor:not-allowed;
    opacity:.65;
}

@media print{
    #district-report-card-module[data-drc-domain="insights"] .drc-selection{
        break-inside:avoid;
    }
}

/* District Report Card donor comparison/trend 26.8.1 */

#district-report-card-module .drc-compare-bars {
    display:grid;
    gap:8px;
    margin:12px 0;
}

#district-report-card-module .drc-compare-row {
    display:grid;
    grid-template-columns:minmax(175px,1fr) minmax(220px,3fr) 72px;
    gap:10px;
    align-items:center;
    font-size:88%;
}

#district-report-card-module .drc-compare-name {
    line-height:1.25;
}

#district-report-card-module .drc-compare-track {
    position:relative;
    height:18px;
    background:var(--drc-table-stripe);
    border:1px solid var(--drc-border);
}

#district-report-card-module .drc-compare-fill {
    display:block;
    height:100%;
    background:var(--drc-accent);
}

#district-report-card-module .drc-compare-row.is-focus .drc-compare-fill {
    background:var(--drc-primary);
}

#district-report-card-module .drc-compare-state-marker {
    position:absolute;
    top:-4px;
    bottom:-4px;
    width:2px;
    background:var(--drc-chart-3);
}

#district-report-card-module .drc-compare-value {
    text-align:right;
    font-weight:700;
}

#district-report-card-module .drc-compare-key {
    margin-top:8px;
    font-size:80%;
    color:var(--drc-muted);
}

#district-report-card-module .drc-key-state {
    display:inline-block;
    width:2px;
    height:13px;
    background:var(--drc-chart-3);
    margin:0 7px 0 3px;
    vertical-align:middle;
}

#district-report-card-module .drc-level-compare {
    display:grid;
    gap:9px;
}

#district-report-card-module .drc-level-compare-row {
    display:grid;
    grid-template-columns:minmax(175px,1fr) minmax(240px,3fr) minmax(110px,auto);
    gap:10px;
    align-items:center;
    font-size:86%;
}

#district-report-card-module .drc-level-compare-row.is-focus .drc-level-compare-name {
    font-weight:700;
    color:var(--drc-primary);
}

#district-report-card-module .drc-level-compare-rollup {
    white-space:nowrap;
    text-align:right;
    font-size:82%;
    font-variant-numeric:tabular-nums;
}

#district-report-card-module .drc-level-compare-bar {
    display:flex;
    overflow:hidden;
    height:20px;
    border:1px solid var(--drc-border);
    background:var(--drc-table-stripe);
}

#district-report-card-module .drc-level-segment {
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
    min-width:0;
    overflow:hidden;
    white-space:nowrap;
    font-size:70%;
    font-weight:700;
    font-variant-numeric:tabular-nums;
}

#district-report-card-module .drc-level-segment-label {
    display:block;
    padding:0 2px;
}

#district-report-card-module .drc-trend-legend {
    gap:12px 18px;
    margin:8px 0 10px;
    font-size:82%;
    color:var(--drc-muted);
}

#district-report-card-module .drc-trend-legend b {
    display:inline-block;
    width:22px;
    height:0;
    margin-right:6px;
    vertical-align:middle;
    border-top:3px solid;
}

#district-report-card-module .drc-context-trend {
    background:var(--drc-panel-bg);
}

#district-report-card-module .drc-trend-axis-label,
#district-report-card-module .drc-trend-year {
    fill:var(--drc-chart-label);
}

#district-report-card-module .drc-trend-line {
    fill:none;
    stroke-width:3;
}

#district-report-card-module .drc-trend-district {
    stroke:var(--drc-primary);
    fill:var(--drc-primary);
}

#district-report-card-module .drc-trend-state {
    stroke:var(--drc-accent);
    fill:var(--drc-accent);
}

#district-report-card-module .drc-trend-point {
    stroke-width:1;
}

#district-report-card-module .drc-trend-range {
    stroke:var(--drc-primary);
    stroke-width:3;
}

@media(max-width:700px) {
    #district-report-card-module .drc-compare-row,
    #district-report-card-module .drc-level-compare-row {
        grid-template-columns:120px minmax(120px,1fr) 58px;
        font-size:78%;
    }

    #district-report-card-module .drc-level-compare-row {
        grid-template-columns:120px minmax(150px,1fr) 105px;
        min-width:520px;
    }

    #district-report-card-module .drc-context-trend {
        min-width:680px;
    }

    #district-report-card-module .drc-panel {
        overflow-x:auto;
    }
}


/* District Report Card MCA gap/cohort donor parity 26.8.1 */

#district-report-card-module .drc-gap-history {
    display:grid;
    gap:8px;
    margin:14px 0 4px;
}

#district-report-card-module .drc-gap-history-row {
    display:grid;
    grid-template-columns:58px minmax(220px,1fr) 110px;
    gap:10px;
    align-items:center;
}

#district-report-card-module .drc-gap-year {
    text-align:right;
    font-weight:700;
}

#district-report-card-module .drc-gap-scale {
    position:relative;
    height:18px;
    background:var(--drc-table-stripe);
    border:1px solid var(--drc-border);
}

#district-report-card-module .drc-gap-center {
    position:absolute;
    left:50%;
    top:-4px;
    bottom:-4px;
    width:2px;
    background:var(--drc-chart-4);
    z-index:2;
}

#district-report-card-module .drc-gap-bar {
    position:absolute;
    top:2px;
    bottom:2px;
}

#district-report-card-module .drc-gap-bar.is-negative {
    right:50%;
    background:var(--drc-status-negative);
}

#district-report-card-module .drc-gap-bar.is-positive {
    left:50%;
    background:var(--drc-status-positive);
}

#district-report-card-module .drc-gap-history-value {
    font-weight:700;
    text-align:right;
}

@media(max-width:700px) {
    #district-report-card-module .drc-gap-history-row {
        grid-template-columns:44px minmax(150px,1fr) 88px;
    }
}


/* District Report Card North Star Academic Achievement 26.8.1 */

#district-report-card-module .drc-achievement-legend {
    gap:14px;
    margin:8px 0 12px;
}

#district-report-card-module .drc-achievement-legend span {
    display:inline-flex;
    align-items:center;
    gap:6px;
}

#district-report-card-module .drc-achievement-legend b {
    display:inline-block;
    width:18px;
    height:8px;
}

#district-report-card-module .drc-achievement-legend-district {
    background:var(--drc-primary);
}

#district-report-card-module .drc-achievement-legend-state {
    border-left:3px solid var(--drc-accent);
}

#district-report-card-module .drc-achievement-legend-neighbor {
    border-left:3px dashed var(--drc-chart-3);
}

#district-report-card-module .drc-achievement-group-table td:nth-child(3) {
    min-width:220px;
}

#district-report-card-module .drc-achievement-bar-track {
    position:relative;
    height:18px;
    min-width:180px;
    background:var(--drc-table-stripe);
    border:1px solid var(--drc-border);
    overflow:visible;
}

#district-report-card-module .drc-achievement-bar {
    position:absolute;
    left:0;
    top:2px;
    bottom:2px;
    background:var(--drc-primary);
}

#district-report-card-module .drc-achievement-state-marker {
    position:absolute;
    top:-3px;
    bottom:-3px;
    width:3px;
    background:var(--drc-accent);
    z-index:2;
}

#district-report-card-module .drc-achievement-neighbor-marker {
    position:absolute;
    top:-3px;
    bottom:-3px;
    width:0;
    border-left:3px dashed var(--drc-chart-3);
    z-index:3;
}

#district-report-card-module .drc-achievement-explainer p:last-child {
    margin-bottom:0;
}

#district-report-card-module .drc-sources {
    margin-top:14px;
    padding:12px 14px;
    background:var(--drc-panel-bg);
    border:1px solid var(--drc-border);
}

#district-report-card-module .drc-sources a {
    font-weight:700;
}

#district-report-card-module .drc-northstar-combined {
    width:100%;
}

#district-report-card-module .drc-northstar-guidance {
    border-left:4px solid var(--drc-primary);
}

#district-report-card-module .drc-northstar-subject-context,
#district-report-card-module .drc-northstar-subject-groups {
    padding-top:14px;
    margin-top:14px;
    border-top:1px solid var(--drc-border);
}

#district-report-card-module .drc-northstar-subject-context h4,
#district-report-card-module .drc-northstar-subject-groups h4 {
    margin:0 0 8px;
    color:var(--drc-heading);
    font-size:1rem;
}

#district-report-card-module .drc-northstar-subject-groups:first-of-type {
    margin-top:0;
    padding-top:0;
    border-top:0;
}

#district-report-card-module .drc-northstar-exact-data .drc-table-wrap {
    overflow-x:auto;
}

@media(max-width:700px) {
    #district-report-card-module .drc-achievement-group-table td:nth-child(3) {
        min-width:150px;
    }

    #district-report-card-module .drc-achievement-bar-track {
        min-width:140px;
    }
}


/* District Report Card MCA dynamic student groups 26.8.1 */

#district-report-card-module #drcMcaGroup {
    min-width:250px;
}

@media(max-width:700px) {
    #district-report-card-module #drcMcaGroup {
        min-width:0;
        width:100%;
    }
}


/* District Report Card global UX refinement recovery 26.8.1 */

/*
 * Loading indicator duplicated from Student Success 26.8.2:
 * 22px ring, 3px border, active theme segment, .75s rotation.
 */
#district-report-card-module #drcStatus.is-loading,
#district-report-card-module .drc-comparison-status.is-loading {
    min-height:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-align:center;
    font-size:95%;
}

#district-report-card-module #drcStatus.is-loading::before,
#district-report-card-module .drc-comparison-status.is-loading::before {
    content:"";
    width:22px;
    height:22px;
    flex:0 0 22px;
    border:3px solid #d8d8d8;
    border-top-color:var(--drc-loading);
    border-radius:50%;
    animation:drc-spin .75s linear infinite;
}

@keyframes drc-spin {
    to {
        transform:rotate(360deg);
    }
}

#district-report-card-module .drc-panel-title-row {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
}

#district-report-card-module .drc-proficient-rollup {
    white-space:nowrap;
    padding-top:4px;
    text-align:right;
    font-size:105%;
}

#district-report-card-module .drc-dist-seg {
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    white-space:nowrap;
}

#district-report-card-module .drc-dist-seg strong {
    font-size:82%;
}

/*
 * Line graphs are lines - never area fills.
 * Primary district data receive more visual weight than context.
 */
#district-report-card-module .drc-trend-svg path,
#district-report-card-module .mca-trend-svg path {
    fill:none !important;
}

#district-report-card-module .drc-trend-district,
#district-report-card-module .mca-trend-svg .drc-trend-district {
    fill:none !important;
    stroke-width:2.8px !important;
}

#district-report-card-module .drc-trend-state,
#district-report-card-module .mca-trend-svg .drc-trend-state {
    fill:none !important;
    stroke-width:1.6px !important;
}

/* Give suppression ranges more visible weight until axis-domain zoom lands. */
#district-report-card-module .drc-trend-range {
    stroke-width:3.5px !important;
    stroke-linecap:round;
}

#district-report-card-module .drc-school-legend {
    gap:16px;
    margin:8px 0 16px;
    font-size:86%;
}

#district-report-card-module .drc-school-legend span {
    display:inline-flex;
    align-items:center;
    gap:6px;
}

#district-report-card-module .drc-school-legend b {
    display:inline-block;
    width:18px;
    height:8px;
}

#district-report-card-module .drc-school-legend .is-school {
    background:var(--drc-primary);
}

#district-report-card-module .drc-school-legend .is-district {
    border-left:3px solid var(--drc-chart-4);
}

#district-report-card-module .drc-school-legend .is-state {
    border-left:3px solid var(--drc-accent);
}

#district-report-card-module .drc-school-compare-item {
    margin:0 0 18px;
    padding:10px 12px;
    border:1px solid transparent;
}

#district-report-card-module .drc-school-compare-item.is-selected {
    border-color:var(--drc-primary);
    background:var(--drc-surface-subtle);
}

#district-report-card-module .drc-school-compare-head {
    display:flex;
    justify-content:space-between;
    gap:18px;
    margin-bottom:6px;
}

#district-report-card-module .drc-school-compare-track {
    position:relative;
    height:20px;
    background:var(--drc-table-stripe);
    border:1px solid #d1d1d1;
    overflow:visible;
}

#district-report-card-module .drc-school-compare-fill {
    position:absolute;
    left:0;
    top:2px;
    bottom:2px;
    background:var(--drc-primary);
}

#district-report-card-module .drc-school-district-marker,
#district-report-card-module .drc-school-state-marker {
    position:absolute;
    top:-4px;
    bottom:-4px;
    width:0;
    z-index:3;
}

#district-report-card-module .drc-school-district-marker {
    border-left:3px solid var(--drc-chart-4);
}

#district-report-card-module .drc-school-state-marker {
    border-left:3px solid var(--drc-accent);
}

#district-report-card-module .drc-school-level-bar {
    display:flex;
    height:10px;
    margin-top:7px;
    overflow:hidden;
    background:var(--drc-table-stripe);
}

#district-report-card-module .drc-school-level-proficient,
#district-report-card-module .drc-school-level-non {
    display:block;
    height:100%;
}

#district-report-card-module .drc-school-level-proficient {
    background:var(--drc-status-positive);
}

#district-report-card-module .drc-school-level-non {
    background:var(--drc-table-stripe);
}

#district-report-card-module .drc-school-level-detail {
    margin-top:4px;
    font-size:82%;
    color:var(--drc-muted);
}

#district-report-card-module .drc-school-table-focus td {
    background:var(--drc-surface-subtle);
}

#district-report-card-module .drc-ranking-scroll {
    max-height:clamp(320px,55vh,520px);
    overflow-y:auto;
    scroll-behavior:smooth;
}

#district-report-card-module .drc-ranking-scroll thead th {
    position:sticky;
    top:0;
    z-index:2;
    background:var(--drc-panel-bg);
}

#district-report-card-module .drc-ranking-focus td {
    background:var(--drc-surface-subtle);
}

@media(max-width:700px) {
    #district-report-card-module .drc-panel-title-row {
        display:block;
    }

    #district-report-card-module .drc-proficient-rollup {
        padding:0 0 8px;
        text-align:left;
    }

    #district-report-card-module .drc-ranking-scroll {
        max-height:clamp(260px,60vh,440px);
    }
}


/* District Report Card cross-subject profile 26.8.1 */

#district-report-card-module .drc-profile-intro {
    border-top:4px solid var(--drc-primary);
}

#district-report-card-module .drc-profile-context {
    white-space:nowrap;
    padding-top:4px;
    text-align:right;
}

#district-report-card-module .drc-selected-assessment-header {
    margin:28px 0 14px;
    padding:12px 14px;
    border-top:3px solid var(--drc-primary);
    border-bottom:1px solid #ddd;
}

#district-report-card-module .drc-selected-assessment-header h3 {
    margin:0 0 4px;
}

#district-report-card-module .drc-selected-assessment-header div {
    color:var(--drc-muted);
    font-size:88%;
}

#district-report-card-module .drc-profile-loading {
    min-height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-align:center;
}

#district-report-card-module .drc-profile-loading::before {
    content:"";
    width:22px;
    height:22px;
    flex:0 0 22px;
    border:3px solid #d8d8d8;
    border-top-color:var(--drc-loading);
    border-radius:50%;
    animation:drc-spin .75s linear infinite;
}

#district-report-card-module .drc-profile-source {
    margin-bottom:22px;
}

@media(max-width:700px) {
    #district-report-card-module .drc-profile-context {
        text-align:left;
        padding-top:0;
    }
}


/* District Report Card selected-school history 26.8.1 */

#district-report-card-module .drc-school-history-panel {
    margin-top:22px;
}

#district-report-card-module .drc-school-history-legend {
    gap:18px;
    margin:8px 0 12px;
    font-size:86%;
}

#district-report-card-module .drc-school-history-legend span {
    display:inline-flex;
    align-items:center;
    gap:7px;
}

#district-report-card-module .drc-school-history-legend b {
    display:inline-block;
    width:24px;
    height:0;
}

#district-report-card-module .drc-school-history-legend .is-school {
    border-top:3px solid var(--drc-primary);
}

#district-report-card-module .drc-school-history-legend .is-district {
    border-top:2px dashed #555555;
}

#district-report-card-module .drc-school-history-legend .is-state {
    border-top:2px solid var(--drc-accent);
}

#district-report-card-module .drc-school-history-svg {
    min-width:760px;
}

/* MCA Participation uses the established Academic XY contract. These are
 * semantic series tokens only; frame, typography, grid, points and legend
 * geometry come from the shared DRC chart rules. */
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-line,
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-point{
    vector-effect:non-scaling-stroke;
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-grid{
    stroke:var(--drc-chart-grid);
    stroke-width:1;
}
#district-report-card-module .drc-participation-share-panel .drc-trend-axis{
    stroke:var(--drc-chart-axis);
    stroke-width:1;
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-line{
    fill:none;
    stroke-width:1.8px;
    stroke-linecap:round;
    stroke-linejoin:round;
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-line.is-series-1,
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-point.is-series-1{
    stroke:var(--drc-primary);
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-line.is-series-2,
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-point.is-series-2{
    stroke:var(--drc-chart-3);
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-line.is-series-2{
    stroke-dasharray:7 5;
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-line.is-series-3,
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-point.is-series-3{
    stroke:var(--drc-chart-2);
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-point{
    fill:var(--drc-chart-point-outline);
    stroke-width:2.2px;
    cursor:help;
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-point:focus{
    outline:none;
    stroke:var(--drc-text);
    stroke-width:3px;
}
#district-report-card-module .drc-participation-share-panel .drc-snapshot26-legend-line.is-school{
    color:var(--drc-chart-2);
}
#district-report-card-module .drc-participation-share-panel .drc-trend-line-key.is-selected{
    width:0;
    height:14px;
    border-left:1px dashed var(--drc-chart-axis);
    background:none;
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-axis-label,
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-year{
    fill:var(--drc-chart-label);
}
#district-report-card-module .drc-participation-share-panel .drc-academic-xy-axis-title{
    fill:var(--drc-chart-label);
    font-weight:700;
}

/* Keep the chart's guidance and historical data in the same panel while
 * giving both the standard DRC content inset used by Gap Detail. */
#district-report-card-module .drc-participation-share-panel > .drc-participation-share-detail{
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:100%;
    padding:0 20px;
}
#district-report-card-module .drc-participation-share-detail > .drc-context-group{
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    padding:11px 13px;
    border-left:4px solid var(--drc-accent);
    background:var(--drc-panel-bg);
    overflow-wrap:anywhere;
}
#district-report-card-module .drc-participation-share-detail > .drc-table-wrap{
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:100%;
}
@media(max-width:700px){
    #district-report-card-module .drc-participation-share-panel > .drc-participation-share-detail{
        padding-left:var(--drc-space-panel);
        padding-right:var(--drc-space-panel);
    }
}


/* DRC proficiency intuitiveness 26.8.1 */

/*
 * One visual proficiency bar per school.
 * Exact Proficient / Not proficient text remains beneath it.
 */
#district-report-card-module .drc-school-level-bar {
    display:none;
}

#district-report-card-module .drc-school-level-detail {
    margin-top:7px;
}

/* District comparator: heavy solid charcoal marker with caps. */
#district-report-card-module .drc-school-bar-district {
    position:absolute;
    top:-5px;
    bottom:-5px;
    width:0;
    margin-left:-2px;
    border-left:5px solid var(--drc-text);
    z-index:4;
}

#district-report-card-module .drc-school-bar-district::before,
#district-report-card-module .drc-school-bar-district::after {
    content:"";
    position:absolute;
    left:-6px;
    width:7px;
    height:2px;
    background:var(--drc-text);
}

#district-report-card-module .drc-school-bar-district::before {
    top:0;
}

#district-report-card-module .drc-school-bar-district::after {
    bottom:0;
}

/* Minnesota comparator: navy dashed marker plus diamond. */
#district-report-card-module .drc-school-bar-state {
    top:-5px;
    bottom:-5px;
    width:0;
    margin-left:0;
    background:transparent;
    border-left:3px dashed var(--drc-accent);
    z-index:3;
}

#district-report-card-module .drc-school-bar-state::after {
    content:"";
    position:absolute;
    left:-5px;
    top:50%;
    width:7px;
    height:7px;
    background:var(--drc-panel-bg);
    border:2px solid var(--drc-accent);
    transform:translateY(-50%) rotate(45deg);
}

/* Overview legend matches the actual graph semantics. */
#district-report-card-module .drc-bar-marker {
    position:relative;
    width:0;
    height:14px;
    background:transparent;
    border-left:3px dashed var(--drc-accent);
}

#district-report-card-module .drc-bar-marker::after {
    content:"";
    position:absolute;
    left:-5px;
    top:50%;
    width:6px;
    height:6px;
    background:var(--drc-panel-bg);
    border:2px solid var(--drc-accent);
    transform:translateY(-50%) rotate(45deg);
}

#district-report-card-module .drc-bar-district-key {
    position:relative;
    width:0;
    height:14px;
    display:inline-block;
    border-left:5px solid var(--drc-text);
}

#district-report-card-module .drc-bar-district-key::before,
#district-report-card-module .drc-bar-district-key::after {
    content:"";
    position:absolute;
    left:-6px;
    width:7px;
    height:2px;
    background:var(--drc-text);
}

#district-report-card-module .drc-bar-district-key::before {
    top:0;
}

#district-report-card-module .drc-bar-district-key::after {
    bottom:0;
}

/* Dedicated Schools view uses the same comparator language. */
#district-report-card-module .drc-school-district-marker {
    border-left:5px solid var(--drc-text);
    z-index:4;
}

#district-report-card-module .drc-school-district-marker::before,
#district-report-card-module .drc-school-district-marker::after {
    content:"";
    position:absolute;
    left:-6px;
    width:7px;
    height:2px;
    background:var(--drc-text);
}

#district-report-card-module .drc-school-district-marker::before {
    top:0;
}

#district-report-card-module .drc-school-district-marker::after {
    bottom:0;
}

#district-report-card-module .drc-school-state-marker {
    border-left:3px dashed var(--drc-accent);
    z-index:3;
}

#district-report-card-module .drc-school-state-marker::after {
    content:"";
    position:absolute;
    left:-5px;
    top:50%;
    width:7px;
    height:7px;
    background:var(--drc-panel-bg);
    border:2px solid var(--drc-accent);
    transform:translateY(-50%) rotate(45deg);
}

#district-report-card-module .drc-proficient-rollup-inline {
    margin:2px 0 10px;
    padding-top:0;
    text-align:left;
    white-space:normal;
}

#district-report-card-module .drc-academic-chart-frame > .drc-proficient-rollup-inline {
    margin-left:var(--drc-space-panel);
    margin-right:var(--drc-space-panel);
}

/* DRC unified school comparator language v5 */

/*
 * School comparison visual hierarchy:
 *   School     = maroon value bar
 *   District   = solid blue comparator
 *   Minnesota  = solid gold reference
 *
 * This deliberately removes the older capped District marker and
 * dashed/diamond Minnesota marker.
 */

/* Overview and dedicated Schools view: District comparator. */
#district-report-card-module .drc-school-bar-district,
#district-report-card-module .drc-school-district-marker {
    position:absolute;
    top:-4px;
    bottom:-4px;
    width:3px;
    margin-left:-1px;
    border:0;
    background:var(--drc-accent);
    z-index:3;
}

#district-report-card-module .drc-school-bar-district::before,
#district-report-card-module .drc-school-bar-district::after,
#district-report-card-module .drc-school-district-marker::before,
#district-report-card-module .drc-school-district-marker::after {
    content:none;
    display:none;
}

/* Overview and dedicated Schools view: Minnesota reference. */
#district-report-card-module .drc-school-bar-state,
#district-report-card-module .drc-school-state-marker {
    position:absolute;
    top:-4px;
    bottom:-4px;
    width:3px;
    margin-left:-1px;
    border:0;
    background:var(--drc-chart-3);
    z-index:4;
}

#district-report-card-module .drc-school-bar-state::after,
#district-report-card-module .drc-school-state-marker::after {
    content:none;
    display:none;
}

/* Overview school-comparison legend. */
#district-report-card-module .drc-bar-district-key {
    position:relative;
    display:inline-block;
    width:3px;
    height:14px;
    border:0;
    background:var(--drc-accent);
}

#district-report-card-module .drc-bar-district-key::before,
#district-report-card-module .drc-bar-district-key::after {
    content:none;
    display:none;
}

#district-report-card-module .drc-bar-marker {
    position:relative;
    display:inline-block;
    width:3px;
    height:14px;
    border:0;
    background:var(--drc-chart-3);
}

#district-report-card-module .drc-bar-marker::after {
    content:none;
    display:none;
}

/* Dedicated Schools-view legend. */
#district-report-card-module .drc-school-legend .is-district {
    width:3px;
    height:14px;
    background:var(--drc-accent);
}

#district-report-card-module .drc-school-legend .is-state,
#district-report-card-module .drc-school-legend .is-minnesota {
    width:3px;
    height:14px;
    background:var(--drc-chart-3);
}

/* District Report Card 26.8.2 domain tabs + finance integration */

#district-report-card-module .drc-domain-tabs{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:6px;
    margin:0 0 8px;
    border-bottom:1px solid var(--drc-border);
}
#district-report-card-module .drc-domain-tab{
    appearance:none;
    display:block;
    width:100%;
    min-width:0;
    border:1px solid var(--drc-border);
    border-bottom:0;
    background:var(--drc-panel-bg);
    color:var(--drc-text);
    padding:9px 16px;
    border-radius:4px 4px 0 0;
    font-weight:700;
    cursor:pointer;
}
#district-report-card-module .drc-domain-tab.is-active{
    background:var(--drc-primary);
    border-color:var(--drc-primary);
    color:var(--drc-button-text);
}
#district-report-card-module .drc-domain-tab:disabled{
    color:var(--drc-status-missing);
    background:var(--drc-surface-subtle);
    cursor:not-allowed;
}
#district-report-card-module .drc-domain-note{
    margin:0 0 16px;
}
#district-report-card-module .drc-finance-controls[hidden]{ display:none; }
#district-report-card-module .drc-academic-finance-context{
    margin-top:22px;
    padding-top:4px;
    border-top:1px solid var(--drc-border);
}
#district-report-card-module .drc-fin-section .drc-section-title{ margin:0 0 12px; }
#district-report-card-module .drc-fin-section .drc-subsection-title{ margin:18px 0 8px; }
#district-report-card-module .drc-fin-cards{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}
#district-report-card-module .drc-fin-cards-secondary{
    margin-top:10px;
    grid-template-columns:repeat(2,minmax(0,1fr));
}
#district-report-card-module .drc-fin-card{
    border-top:4px solid var(--drc-border);
}
#district-report-card-module .drc-fin-card.is-district{ border-top-color:var(--drc-primary); }
#district-report-card-module .drc-fin-card.is-state{ border-top-color:var(--drc-chart-3); }
#district-report-card-module .drc-fin-table .drc-number{
    text-align:right;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}
#district-report-card-module .drc-fin-loading,
#district-report-card-module .drc-empty{
    padding:12px;
    color:var(--drc-muted);
    background:var(--drc-panel-bg);
    border:1px solid var(--drc-border);
}
#district-report-card-module .drc-fin-legend{
    gap:14px;
    margin:6px 0 8px;
}
#district-report-card-module .drc-fin-legend i{
    display:inline-block;
    width:22px;
    height:4px;
}
#district-report-card-module .drc-fin-swatch-district{ background:var(--drc-primary); }
#district-report-card-module .drc-fin-swatch-state{ background:var(--drc-chart-3); }
#district-report-card-module .drc-fin-chart-wrap{
    max-width:100%;
    overflow-x:auto;
}
#district-report-card-module .drc-fin-chart{
    min-width:680px;
}
#district-report-card-module .drc-fin-grid{ stroke:var(--drc-chart-grid); stroke-width:1; }
#district-report-card-module .drc-fin-axis-label{ fill:var(--drc-chart-label); }
#district-report-card-module .drc-fin-line-district{
    stroke:var(--drc-primary);
    stroke-width:4;
    stroke-linejoin:round;
    stroke-linecap:round;
}
#district-report-card-module .drc-fin-line-state{
    stroke:var(--drc-chart-3);
    stroke-width:3;
    stroke-linejoin:round;
    stroke-linecap:round;
}
@media (max-width:900px){
    #district-report-card-module .drc-fin-cards{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:560px){
    #district-report-card-module .drc-fin-cards,
    #district-report-card-module .drc-fin-cards-secondary{ grid-template-columns:1fr; }
}

/* District Report Card 26.8.2 iteration 3 mobile school-bar containment */
@media(max-width:700px){
    #district-report-card-module .drc-school-bars,
    #district-report-card-module .drc-school-bar-row,
    #district-report-card-module .drc-school-bar-label,
    #district-report-card-module .drc-school-bar-track,
    #district-report-card-module .drc-school-bar-value{
        min-width:0;
        max-width:100%;
    }

    #district-report-card-module .drc-school-bar-row{
        grid-template-columns:minmax(0,1fr);
        gap:5px;
        margin:15px 0;
    }

    #district-report-card-module .drc-school-bar-track{
        width:100%;
        box-sizing:border-box;
    }

    #district-report-card-module .drc-school-bar-value{
        text-align:left;
    }
}



/* District Report Card 26.8.2 iteration 6 cross-domain academic trend */
#district-report-card-module .drc-trend-spending{
    fill:none;
    stroke:var(--drc-chart-4);
    stroke-width:2.2;
    stroke-dasharray:3 4;
    stroke-linecap:round;
    stroke-linejoin:round;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-trend-spending-point{
    fill:var(--drc-chart-point-outline);
    stroke:var(--drc-chart-4);
    stroke-width:2;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-trend-spending-axis,
#district-report-card-module .drc-trend-spending-tick{
    stroke:var(--drc-chart-axis);
    stroke-width:1;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-trend-spending-axis-label,
#district-report-card-module .drc-trend-spending-axis-title{
    fill:var(--drc-chart-label);
    font-size:10px;
}

#district-report-card-module .drc-trend-spending-axis-title{
    font-weight:700;
}

#district-report-card-module .drc-finance-trend-key{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

#district-report-card-module .drc-legend-spending{
    display:inline-block;
    width:22px;
    height:0;
    border-top:2px dotted #555 !important;
}

#district-report-card-module .drc-academic-finance-trend-note{
    margin-top:10px;
}


/* District Report Card 26.8.2 iteration 7 visual integration polish */
#district-report-card-module .drc-finance-integrated-trend-wrap{
    max-width:100%;
}

@media(max-width:700px){
    #district-report-card-module .drc-finance-integrated-trend-wrap{
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        padding-bottom:4px;
    }

    #district-report-card-module .drc-finance-integrated-trend{
        min-width:560px;
    }
}


/* District Report Card 26.8.2 iteration 8 semantic integration */

/*
 * selected district     = chart role 1
 * geographic neighbors = chart role 2
 * Minnesota benchmark  = chart role 3
 * Spending / ADM       = neutral charcoal dotted
 */
#district-report-card-module
.drc-finance-integrated-trend .drc-trend-state{
    stroke:var(--drc-chart-3) !important;
}

#district-report-card-module
.drc-finance-integrated-trend .drc-trend-state-point{
    fill:var(--drc-chart-3) !important;
}

#district-report-card-module
.drc-finance-integrated-panel .drc-trend-line-key.is-state{
    background:none !important;
    border-color:var(--drc-chart-3) !important;
    border-top:2px solid var(--drc-chart-3) !important;
}

#district-report-card-module
.drc-finance-integrated-panel .drc-trend-line-key.is-neighbor{
    background:none !important;
    border-color:var(--drc-accent) !important;
    border-top:2px dashed var(--drc-accent) !important;
}

#district-report-card-module .drc-achievement-legend-state{
    border-left-color:var(--drc-chart-3) !important;
}

#district-report-card-module .drc-achievement-state-marker{
    background:var(--drc-chart-3) !important;
}

#district-report-card-module .drc-achievement-legend-neighbor{
    border-left-color:var(--drc-accent) !important;
}

#district-report-card-module .drc-achievement-neighbor-marker{
    border-left-color:var(--drc-accent) !important;
}

#district-report-card-module .drc-finance-scroll-cue{
    display:none;
}

@media(max-width:700px){
    #district-report-card-module .drc-finance-scroll-cue{
        display:block;
        margin:4px 0 7px;
        font-size:78%;
        color:var(--drc-muted);
        font-weight:600;
    }
}


/* District Report Card 26.8.2 iteration 9 mobile wide-content + finance points */

#district-report-card-module .drc-fin-point{
    stroke:var(--drc-chart-point-outline);
    stroke-width:1.5;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-fin-point-district{
    fill:var(--drc-primary);
}

#district-report-card-module .drc-fin-point-state{
    fill:var(--drc-chart-3);
}

#district-report-card-module .drc-fin-point:focus{
    stroke:var(--drc-text);
    stroke-width:2.5;
    outline:none;
}

#district-report-card-module .drc-mobile-wide-cue{
    display:none;
}

@media(max-width:700px){
    #district-report-card-module .drc-mobile-wide-cue{
        display:block;
        margin:4px 0 7px;
        padding-left:10px;
        border-left:3px solid var(--drc-accent);
        color:var(--drc-muted);
        font-size:78%;
        font-weight:600;
        line-height:1.35;
    }

    #district-report-card-module .drc-table-wrap >
    .drc-mobile-wide-cue{
        position:sticky;
        left:0;
        width:max-content;
        max-width:calc(100vw - 70px);
        background:var(--drc-panel-bg);
        z-index:2;
    }
}


/* District Report Card 26.8.2 iteration 10 fixed wide-table cues */

@media(max-width:700px){
    #district-report-card-module .drc-wide-table-cue{
        position:static;
        width:auto;
        max-width:none;
        box-sizing:border-box;
        white-space:normal;
        overflow:visible;
    }

    /*
     * Iteration 9 placed these cues inside .drc-table-wrap. They now sit
     * immediately before the scroller so they remain readable while the
     * table moves underneath them.
     */
    #district-report-card-module .drc-table-wrap >
    .drc-mobile-wide-cue{
        position:static;
        width:auto;
        max-width:none;
    }
}


/* District Report Card 26.8.2 iteration 11 comparison funding mix */

#district-report-card-module
.drc-comparison-has-funding .drc-compare-bars{
    gap:10px;
}

#district-report-card-module
.drc-comparison-has-funding .drc-compare-row{
    grid-template-columns:minmax(175px,1fr) minmax(220px,3fr) 88px;
    grid-template-areas:
        "name proficiency profvalue"
        "name funding spendvalue";
    column-gap:10px;
    row-gap:4px;
    align-items:center;
}

#district-report-card-module
.drc-comparison-has-funding .drc-compare-name{
    grid-area:name;
    align-self:center;
}

#district-report-card-module
.drc-comparison-has-funding .drc-compare-track{
    grid-area:proficiency;
}

#district-report-card-module
.drc-comparison-has-funding .drc-compare-value{
    grid-area:profvalue;
    align-self:center;
}

#district-report-card-module
.drc-comparison-has-funding .drc-compare-spend{
    grid-area:spendvalue;
    text-align:right;
    align-self:center;
    color:var(--drc-muted);
    font-size:84%;
    font-weight:700;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}

#district-report-card-module .drc-funding-rail{
    grid-area:funding;
    position:relative;
    display:flex;
    align-items:stretch;
    min-width:0;
    height:14px;
    overflow:visible;
    background:var(--drc-chart-background);
    border:1px solid #d2d5d8;
    box-sizing:border-box;
}

#district-report-card-module .drc-funding-rail:focus{
    outline:2px solid var(--drc-text);
    outline-offset:2px;
}

#district-report-card-module .drc-funding-rail.is-unavailable{
    align-items:center;
    padding:0 5px;
    color:var(--drc-muted);
    font-size:70%;
    white-space:nowrap;
}

#district-report-card-module .drc-funding-segment{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    height:100%;
    min-width:0;
    overflow:hidden;
    box-sizing:border-box;
}

#district-report-card-module
.drc-funding-segment.is-local,
#district-report-card-module
.drc-funding-key i.is-local{
    background:var(--drc-status-positive);
}

#district-report-card-module
.drc-funding-segment.is-state-source,
#district-report-card-module
.drc-funding-key i.is-state-source{
    background:var(--drc-chart-2);
}

#district-report-card-module
.drc-funding-segment.is-federal,
#district-report-card-module
.drc-funding-key i.is-federal{
    background:var(--drc-chart-5);
}

#district-report-card-module
.drc-funding-segment.is-other,
#district-report-card-module
.drc-funding-key i.is-other{
    background:var(--drc-status-missing);
}

#district-report-card-module .drc-funding-segment-label{
    display:block;
    padding:0 2px;
    color:var(--drc-button-text);
    font-size:68%;
    font-weight:700;
    line-height:12px;
    text-shadow:0 1px 1px rgba(0,0,0,.45);
    white-space:nowrap;
    pointer-events:none;
}

#district-report-card-module .drc-funding-state-marker{
    position:absolute;
    top:-4px;
    bottom:-4px;
    width:2px;
    margin-left:-1px;
    background:var(--drc-chart-3);
    z-index:4;
}

#district-report-card-module .drc-funding-state-marker::after{
    content:"";
    position:absolute;
    left:-3px;
    top:-1px;
    width:6px;
    height:6px;
    background:var(--drc-panel-bg);
    border:2px solid var(--drc-chart-3);
    transform:rotate(45deg);
    box-sizing:border-box;
}

#district-report-card-module .drc-funding-legend{
    margin:12px 0 7px;
    padding:9px 10px;
    background:var(--drc-surface-subtle);
    border-left:3px solid var(--drc-chart-4);
    font-size:82%;
}

#district-report-card-module .drc-funding-legend-title{
    margin-bottom:6px;
    font-weight:700;
    color:var(--drc-text);
}

#district-report-card-module .drc-funding-legend-keys{
    gap:6px 14px;
    align-items:center;
}

#district-report-card-module .drc-funding-key{
    display:inline-flex;
    gap:5px;
    align-items:center;
    white-space:nowrap;
}

#district-report-card-module .drc-funding-key i{
    display:inline-block;
    width:16px;
    height:8px;
    flex:0 0 auto;
}

#district-report-card-module .drc-funding-key i.is-minnesota{
    position:relative;
    width:16px;
    height:10px;
    background:transparent;
}

#district-report-card-module
.drc-funding-key i.is-minnesota::before{
    content:"";
    position:absolute;
    left:7px;
    top:-1px;
    bottom:-1px;
    width:2px;
    background:var(--drc-chart-3);
}

#district-report-card-module .drc-funding-value-key{
    margin-top:6px;
    color:var(--drc-muted);
    font-size:94%;
}

#district-report-card-module .drc-funding-context-note{
    margin:0 0 10px;
    font-size:78%;
}

@media(max-width:700px){
    #district-report-card-module
    .drc-comparison-has-funding .drc-compare-row{
        grid-template-columns:minmax(82px,1.05fr) minmax(108px,2.15fr) 56px;
        column-gap:6px;
        row-gap:4px;
    }

    #district-report-card-module
    .drc-comparison-has-funding .drc-compare-name{
        font-size:77%;
        line-height:1.15;
        overflow-wrap:anywhere;
    }

    #district-report-card-module
    .drc-comparison-has-funding .drc-compare-value{
        font-size:80%;
    }

    #district-report-card-module
    .drc-comparison-has-funding .drc-compare-spend{
        font-size:73%;
    }

    #district-report-card-module .drc-funding-rail{
        height:12px;
    }

    #district-report-card-module .drc-funding-segment-label{
        display:none;
    }

    #district-report-card-module .drc-funding-legend{
        padding:8px;
        font-size:74%;
    }

    #district-report-card-module .drc-funding-legend-keys{
        gap:5px 9px;
    }

    #district-report-card-module .drc-funding-key{
        white-space:normal;
    }

    #district-report-card-module .drc-funding-value-key,
    #district-report-card-module .drc-funding-context-note{
        font-size:74%;
        line-height:1.35;
    }
}


/* District Report Card 26.8.2 iteration 12 separated comparison displays */

#district-report-card-module .drc-compare-row{
    padding:6px 0;
    border-bottom:1px solid #edf0f2;
}

#district-report-card-module .drc-compare-row:last-child{
    border-bottom:none;
}

#district-report-card-module .drc-comparison-finance-panel{
    margin-top:16px;
}

#district-report-card-module .drc-finance-context-legend{
    border-left:3px solid var(--drc-accent);
    background:var(--drc-surface-subtle);
    padding:10px 12px;
    margin:10px 0 12px;
}

#district-report-card-module .drc-finance-context-legend-items{
    gap:8px 14px;
    font-size:88%;
}

#district-report-card-module .drc-finance-context-legend-note{
    margin-top:8px;
    font-size:86%;
    color:var(--drc-muted);
}

#district-report-card-module .drc-finance-context-legend-chip,
#district-report-card-module .drc-finance-context-legend-marker{
    display:inline-block;
    width:14px;
    height:10px;
    vertical-align:middle;
    box-sizing:border-box;
}

#district-report-card-module .drc-finance-context-legend-chip.is-spending{
    background:var(--drc-accent);
}

#district-report-card-module .drc-finance-context-legend-chip.is-local{
    background:var(--drc-chart-4);
}

#district-report-card-module .drc-finance-context-legend-chip.is-state-source{
    background:var(--drc-chart-2);
}

#district-report-card-module .drc-finance-context-legend-chip.is-federal{
    background:var(--drc-chart-5);
}

#district-report-card-module .drc-finance-context-legend-chip.is-other{
    background:var(--drc-status-missing);
}

#district-report-card-module .drc-finance-context-legend-marker{
    width:2px;
    height:12px;
    background:var(--drc-chart-3);
}

#district-report-card-module .drc-finance-context-rows{
    display:grid;
    gap:10px;
    margin:14px 0 4px;
}

#district-report-card-module .drc-finance-context-row{
    display:grid;
    grid-template-columns:minmax(175px,1fr) minmax(220px,3fr) 86px;
    gap:12px;
    align-items:center;
    padding:8px 0 10px;
    border-bottom:1px solid #e6e8ea;
}

#district-report-card-module .drc-finance-context-row:last-child{
    border-bottom:none;
}

#district-report-card-module .drc-finance-context-name{
    font-weight:400;
}

#district-report-card-module .drc-finance-context-row.is-focus .drc-finance-context-name{
    font-weight:700;
}

#district-report-card-module .drc-finance-context-visuals{
    min-width:0;
}

#district-report-card-module .drc-finance-context-spending-track{
    position:relative;
    height:14px;
    background:var(--drc-surface-subtle);
    border:1px solid #d2d5d8;
    box-sizing:border-box;
    overflow:hidden;
}

#district-report-card-module .drc-finance-context-spending-fill{
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    background:var(--drc-accent);
}

#district-report-card-module .drc-finance-context-spending-fill.is-focus{
    background:var(--drc-primary);
}

#district-report-card-module .drc-finance-context-state-marker{
    position:absolute;
    top:-2px;
    bottom:-2px;
    width:2px;
    background:var(--drc-chart-3);
}

#district-report-card-module .drc-finance-context-revenue-wrap{
    margin-top:5px;
}

#district-report-card-module .drc-finance-context-revenue-label{
    margin-top:3px;
    font-size:82%;
    color:var(--drc-muted);
    text-align:right;
}

#district-report-card-module .drc-finance-context-values{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap:3px;
    text-align:right;
    white-space:nowrap;
    font-weight:700;
    font-variant-numeric:tabular-nums;
}

@media(max-width:700px){
    #district-report-card-module .drc-finance-context-row{
        grid-template-columns:1fr 76px;
        grid-template-areas:
            "name values"
            "visuals visuals";
        gap:8px 10px;
    }

    #district-report-card-module .drc-finance-context-name{
        grid-area:name;
        min-width:0;
        overflow-wrap:anywhere;
    }

    #district-report-card-module .drc-finance-context-visuals{
        grid-area:visuals;
    }

    #district-report-card-module .drc-finance-context-values{
        grid-area:values;
    }

    #district-report-card-module .drc-finance-context-legend-items{
        gap:6px 10px;
    }
}


/* District Report Card 26.8.2 iteration 13 finance context re-rank */
#district-report-card-module .drc-finance-context-row{
    grid-template-columns:minmax(190px,1fr) minmax(220px,3fr) 110px;
}

#district-report-card-module .drc-finance-context-values{
    gap:6px;
}

#district-report-card-module .drc-finance-context-value-label{
    display:block;
    font-size:72%;
    line-height:1.1;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:var(--drc-muted);
}

@media(max-width:700px){
    #district-report-card-module .drc-finance-context-row{
        grid-template-columns:1fr 94px;
    }
}


/* District Report Card 26.8.2 iteration 14 chart context + academic comparison restore */

/*
 * Finance has its own separated rows now. Restore the original compact
 * academic comparison rhythm by removing the temporary iteration-12
 * horizontal rules and extra row padding.
 */
#district-report-card-module .drc-compare-row{
    padding:0;
    border-bottom:0;
}

#district-report-card-module .drc-chart-context{
    color:var(--drc-text);
    font-weight:700;
}

#district-report-card-module div.drc-chart-context{
    margin:4px 0 10px;
}

#district-report-card-module strong.drc-chart-context,
#district-report-card-module span.drc-chart-context{
    display:inline;
}

@media(max-width:700px){
    #district-report-card-module .drc-chart-context{
        overflow-wrap:anywhere;
    }
}


/* District Report Card 26.8.2 iteration 15 combined comparison data */

#district-report-card-module .drc-comparison-data-intro{
    margin:6px 0 10px;
}

#district-report-card-module .drc-comparison-data-scroll{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

#district-report-card-module .drc-comparison-data-table{
    width:100%;
    min-width:1280px;
    border-collapse:collapse;
    margin-top:8px;
}

#district-report-card-module .drc-comparison-data-table th,
#district-report-card-module .drc-comparison-data-table td{
    padding:8px 9px;
    border:1px solid #ddd;
    vertical-align:top;
}

#district-report-card-module .drc-comparison-data-table th{
    text-align:left;
    text-transform:uppercase;
    letter-spacing:.035em;
    color:var(--drc-muted);
    background:var(--drc-surface-subtle);
    white-space:nowrap;
}

#district-report-card-module .drc-comparison-data-rank,
#district-report-card-module .drc-comparison-data-number,
#district-report-card-module .drc-comparison-data-money{
    text-align:right;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}

#district-report-card-module .drc-comparison-data-distribution{
    min-width:250px;
}

#district-report-card-module .drc-comparison-data-table tr.is-focus .drc-cell-text{
    font-weight:700;
}

#district-report-card-module .drc-comparison-data-table tr.is-benchmark td{
    background:var(--drc-surface-subtle);
    border-top:2px solid var(--drc-chart-3);
}

#district-report-card-module .drc-comparison-data-swipe{
    display:none;
}

@media(max-width:700px){
    #district-report-card-module .drc-comparison-data-swipe{
        display:block;
        margin:0 0 6px;
        color:var(--drc-muted);
    }
}


/* District Report Card 26.8.2 iteration 16 split finance context */

#district-report-card-module .drc-comparison-finance-panel h5{margin:0;color:var(--drc-text);font-size:1.05rem;}
#district-report-card-module .drc-finance-context-section{margin-top:18px;padding-top:18px;border-top:1px solid #e3e3e3;}
#district-report-card-module .drc-finance-context-section:first-of-type{margin-top:8px;padding-top:0;border-top:0;}
#district-report-card-module .drc-finance-context-subtitle{margin:4px 0 10px;font-weight:700;}
#district-report-card-module .drc-finance-context-section-intro{margin:0 0 10px;}
#district-report-card-module .drc-finance-context-rows{margin-top:10px;}
#district-report-card-module .drc-finance-context-row{display:grid;grid-template-columns:minmax(180px,230px) minmax(0,1fr) 110px;gap:16px;align-items:center;padding:14px 0;border-top:1px solid #e3e3e3;}
#district-report-card-module .drc-finance-context-rows .drc-finance-context-row:first-child{border-top:0;}
#district-report-card-module .drc-finance-context-name{font-size:1rem;}
#district-report-card-module .drc-finance-context-values{text-align:right;}
#district-report-card-module .drc-finance-context-metric-value{font-size:1.55rem;font-weight:700;line-height:1.1;}
#district-report-card-module .drc-finance-context-value-label{display:block;font-size:.72rem;line-height:1.2;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--drc-muted);margin-bottom:2px;}
#district-report-card-module .drc-finance-context-legend.is-spending-legend .drc-finance-context-legend-note{display:none;}
#district-report-card-module .drc-finance-context-revenue-wrap{margin-top:0;}
@media (max-width:700px){#district-report-card-module .drc-finance-context-row{grid-template-columns:1fr;gap:10px;align-items:flex-start;}#district-report-card-module .drc-finance-context-values{text-align:left;}}


/* District Report Card 26.8.2 iteration 17 inflation toggle */

#district-report-card-module .drc-inflation-toggle-host{
    position:relative;
}

#district-report-card-module .drc-inflation-toggle{
    position:absolute;
    top:6px;
    right:8px;
    z-index:8;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:4px 7px;
    margin:0;
    border:1px solid #c9cdd1;
    border-radius:14px;
    background:rgba(255,255,255,.96);
    box-shadow:0 1px 2px rgba(0,0,0,.08);
    color:var(--drc-text);
    font-size:11px;
    line-height:1;
    font-weight:700;
    white-space:nowrap;
    cursor:pointer;
}

#district-report-card-module .drc-inflation-checkbox{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

#district-report-card-module .drc-inflation-switch{
    position:relative;
    display:inline-block;
    width:30px;
    height:16px;
    border-radius:10px;
    background:#aeb4ba;
    transition:background-color .15s ease;
    flex:0 0 auto;
}

#district-report-card-module .drc-inflation-switch:after{
    content:"";
    position:absolute;
    top:2px;
    left:2px;
    width:12px;
    height:12px;
    border-radius:50%;
    background:var(--drc-panel-bg);
    box-shadow:0 1px 2px rgba(0,0,0,.25);
    transition:transform .15s ease;
}

#district-report-card-module .drc-inflation-checkbox:checked + .drc-inflation-switch{
    background:var(--drc-primary);
}

#district-report-card-module .drc-inflation-checkbox:checked + .drc-inflation-switch:after{
    transform:translateX(14px);
}

#district-report-card-module .drc-inflation-checkbox:focus-visible + .drc-inflation-switch{
    outline:2px solid var(--drc-accent);
    outline-offset:2px;
}

@media(max-width:700px){
    #district-report-card-module .drc-inflation-toggle{
        top:4px;
        right:4px;
        padding:3px 6px;
        font-size:10px;
    }
}


/* District Report Card 26.8.2 iteration 18 revenue parity + toggle placement */

#district-report-card-module .drc-inflation-toggle{
    left:72px;
    right:auto;
    top:7px;
}

#district-report-card-module .drc-trend-revenue{
    fill:none;
    stroke:var(--drc-chart-2);
    stroke-width:2.2;
    stroke-linecap:round;
    stroke-linejoin:round;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-trend-revenue-point{
    fill:var(--drc-chart-point-outline);
    stroke:var(--drc-chart-2);
    stroke-width:2;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-legend-revenue{
    display:inline-block;
    width:22px;
    height:0;
    border-top:2px solid var(--drc-chart-2) !important;
}

@media(max-width:700px){
    #district-report-card-module .drc-inflation-toggle{
        left:68px;
        right:auto;
        top:5px;
    }
}


/* District Report Card 26.8.2 iteration 20 finance dashboard */

#district-report-card-module .drc-fin-dashboard-legend{
    gap:8px 18px;
    align-items:center;
    margin:0 0 7px;
    font-size:82%;
    color:var(--drc-text);
    font-weight:650;
}

#district-report-card-module .drc-fin-dashboard-legend span{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

#district-report-card-module .drc-fin-dashboard-swatch,
#district-report-card-module .drc-fin-source-swatch{
    display:inline-block;
    width:22px;
    height:0;
    border-top:3px solid #777;
}

#district-report-card-module .drc-fin-dashboard-swatch.is-spending{
    border-top-color:var(--drc-primary);
}

#district-report-card-module .drc-fin-dashboard-swatch.is-revenue{
    border-top-color:var(--drc-chart-2);
}

#district-report-card-module .drc-fin-source-swatch.is-local{
    border-top-color:var(--drc-chart-4);
}

#district-report-card-module .drc-fin-source-swatch.is-state-source{
    border-top-color:var(--drc-chart-2);
}

#district-report-card-module .drc-fin-source-swatch.is-federal{
    border-top-color:var(--drc-chart-5);
}

#district-report-card-module .drc-fin-source-swatch.is-other{
    border-top-color:var(--drc-status-missing);
}

#district-report-card-module .drc-fin-overview-line{
    fill:none;
    stroke-width:2.6;
    stroke-linecap:round;
    stroke-linejoin:round;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-fin-overview-line.is-spending{
    stroke:var(--drc-primary);
}

#district-report-card-module .drc-fin-overview-line.is-revenue{
    stroke:var(--drc-chart-2);
}

#district-report-card-module .drc-fin-overview-point{
    fill:var(--drc-chart-point-outline);
    stroke-width:2;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-fin-overview-point.is-spending{
    stroke:var(--drc-primary);
}

#district-report-card-module .drc-fin-overview-point.is-revenue{
    stroke:var(--drc-chart-2);
}

#district-report-card-module .drc-fin-dashboard-axis-title{
    fill:var(--drc-chart-label);
    font-size:12px;
    font-weight:700;
}

#district-report-card-module .drc-fin-source-segment.is-local,
#district-report-card-module .drc-fin-driver-bar.is-local{
    fill:var(--drc-chart-4);
}

#district-report-card-module .drc-fin-source-segment.is-state-source,
#district-report-card-module .drc-fin-driver-bar.is-state-source{
    fill:var(--drc-chart-2);
}

#district-report-card-module .drc-fin-source-segment.is-federal,
#district-report-card-module .drc-fin-driver-bar.is-federal{
    fill:var(--drc-chart-5);
}

#district-report-card-module .drc-fin-source-segment.is-other,
#district-report-card-module .drc-fin-driver-bar.is-other{
    fill:var(--drc-status-missing);
}

#district-report-card-module .drc-fin-driver-summary{
    margin:0 0 8px;
    padding:10px 12px;
    border-left:4px solid var(--drc-primary);
    background:var(--drc-surface-subtle);
    font-size:90%;
    line-height:1.45;
}

#district-report-card-module .drc-fin-driver-zero{
    stroke:var(--drc-chart-axis);
    stroke-width:1;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-fin-driver-label,
#district-report-card-module .drc-fin-driver-value{
    fill:var(--drc-chart-label);
    font-size:12px;
    font-weight:650;
}

#district-report-card-module .drc-fin-driver-bar{
    opacity:.9;
}

#district-report-card-module .drc-fin-driver-bar.is-negative{
    opacity:.72;
}

@media(max-width:700px){
    #district-report-card-module .drc-fin-dashboard-legend{
        font-size:76%;
        gap:6px 11px;
    }

    #district-report-card-module .drc-fin-driver-summary{
        font-size:84%;
    }
}


/* District Report Card 26.8.2 iteration 21 revenue and spending workbenches */

#district-report-card-module .drc-fin-workbench-control{
    display:flex;
    align-items:flex-end;
    gap:10px;
    flex-wrap:wrap;
    margin:0 0 14px;
    padding:10px 12px;
    background:var(--drc-surface-subtle);
    border:1px solid #dde1e5;
    border-radius:4px;
}

#district-report-card-module .drc-fin-workbench-control label{
    font-size:82%;
    font-weight:700;
    color:var(--drc-text);
    min-width:112px;
}

#district-report-card-module .drc-fin-workbench-control select{
    min-width:300px;
    max-width:100%;
    padding:7px 9px;
}

#district-report-card-module .drc-fin-workbench-cards{
    margin-bottom:15px;
}

#district-report-card-module .drc-fin-workbench-table{
    margin-top:14px;
}

#district-report-card-module .drc-fin-spending-swatch{
    display:inline-block;
    width:22px;
    height:0;
    border-top:4px solid #777;
}

#district-report-card-module .drc-fin-spending-swatch.is-instruction,
#district-report-card-module .drc-fin-spending-segment.is-instruction{
    border-top-color:var(--drc-primary);
    fill:var(--drc-primary);
}

#district-report-card-module .drc-fin-spending-swatch.is-admin,
#district-report-card-module .drc-fin-spending-segment.is-admin{
    border-top-color:var(--drc-chart-2);
    fill:var(--drc-chart-2);
}

#district-report-card-module .drc-fin-spending-swatch.is-support,
#district-report-card-module .drc-fin-spending-segment.is-support{
    border-top-color:var(--drc-chart-4);
    fill:var(--drc-chart-4);
}

#district-report-card-module .drc-fin-spending-swatch.is-operations,
#district-report-card-module .drc-fin-spending-segment.is-operations{
    border-top-color:var(--drc-chart-5);
    fill:var(--drc-chart-5);
}

#district-report-card-module .drc-fin-spending-swatch.is-transport,
#district-report-card-module .drc-fin-spending-segment.is-transport{
    border-top-color:var(--drc-chart-6);
    fill:var(--drc-chart-6);
}

#district-report-card-module .drc-fin-spending-swatch.is-capital,
#district-report-card-module .drc-fin-spending-segment.is-capital{
    border-top-color:var(--drc-chart-3);
    fill:var(--drc-chart-3);
}

#district-report-card-module .drc-fin-spending-swatch.is-other,
#district-report-card-module .drc-fin-spending-segment.is-other{
    border-top-color:var(--drc-status-missing);
    fill:var(--drc-status-missing);
}

#district-report-card-module .drc-fin-spending-segment{
    opacity:.92;
}

@media(max-width:700px){
    #district-report-card-module .drc-fin-workbench-control{
        display:block;
        padding:9px 10px;
    }

    #district-report-card-module .drc-fin-workbench-control label{
        display:block;
        margin-bottom:5px;
    }

    #district-report-card-module .drc-fin-workbench-control select{
        width:100%;
        min-width:0;
    }
}


/* District Report Card 26.8.2 iteration 21.1 workbench layout repair */
#district-report-card-module .drc-fin-table-wrap{
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
}

@media(max-width:700px){
    #district-report-card-module,
    #district-report-card-module #drcOutput,
    #district-report-card-module .drc-panel,
    #district-report-card-module .drc-fin-workbench-control,
    #district-report-card-module .drc-fin-workbench-cards{
        min-width:0;
        max-width:100%;
        box-sizing:border-box;
    }

    #district-report-card-module .drc-fin-table-wrap{
        display:block;
        width:100%;
        max-width:100%;
        min-width:0;
        overflow-x:auto;
        overflow-y:hidden;
        -webkit-overflow-scrolling:touch;
        overscroll-behavior-inline:contain;
    }

    #district-report-card-module .drc-fin-workbench-table{
        width:max-content;
        min-width:680px;
        max-width:none;
    }

    #district-report-card-module .drc-fin-chart-wrap{
        max-width:100%;
        min-width:0;
        overflow-y:hidden;
        overscroll-behavior-inline:contain;
    }
}


/* District Report Card 26.8.2 iteration 22 statewide comparison visualization */
#district-report-card-module .drc-fin-statewide-viz{
    min-width:0;
}

#district-report-card-module .drc-fin-statewide-cards{
    margin-bottom:16px;
}

#district-report-card-module .drc-fin-comparison-card.is-selected{
    border-top:3px solid var(--drc-primary);
}

#district-report-card-module .drc-fin-comparison-card.is-state{
    border-top:3px solid var(--drc-chart-3);
}

#district-report-card-module .drc-fin-comparison-card.is-median{
    border-top:3px solid #555;
}

#district-report-card-module .drc-fin-statewide-section{
    margin-top:0;
}

#district-report-card-module .drc-fin-statewide-legend{
    margin-top:8px;
}

#district-report-card-module .drc-fin-statewide-legend-line{
    display:inline-block;
    width:22px;
    height:0;
    border-top:3px solid #777;
}

#district-report-card-module .drc-fin-statewide-legend-line.is-selected{
    border-top-color:var(--drc-primary);
}

#district-report-card-module .drc-fin-statewide-legend-line.is-state{
    border-top-color:var(--drc-chart-3);
}

#district-report-card-module .drc-fin-statewide-legend-line.is-median{
    border-top:2px dashed #555;
}

#district-report-card-module .drc-fin-statewide-chart-wrap{
    width:100%;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    border:1px solid #d7dce1;
    background:var(--drc-panel-bg);
    box-sizing:border-box;
}

#district-report-card-module .drc-fin-statewide-chart{
    display:block;
    width:100%;
    min-width:700px;
    height:auto;
}

#district-report-card-module .drc-fin-statewide-bin{
    fill:var(--drc-chart-background);
    stroke:var(--drc-chart-grid);
    stroke-width:1;
}

#district-report-card-module .drc-fin-statewide-bin:focus{
    outline:none;
    stroke:var(--drc-accent);
    stroke-width:2;
}

#district-report-card-module .drc-fin-statewide-marker{
    stroke-width:3;
}

#district-report-card-module .drc-fin-statewide-marker.is-selected{
    stroke:var(--drc-primary);
}

#district-report-card-module .drc-fin-statewide-marker.is-state{
    stroke:var(--drc-chart-3);
}

#district-report-card-module .drc-fin-statewide-marker.is-median{
    stroke:var(--drc-chart-4);
    stroke-width:2;
    stroke-dasharray:5 4;
}

#district-report-card-module .drc-fin-statewide-axis-title{
    font-size:13px;
    fill:var(--drc-chart-label);
    font-weight:650;
}

#district-report-card-module .drc-fin-statewide-nearest{
    margin-top:14px;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

#district-report-card-module .drc-fin-statewide-nearest .is-selected td{
    font-weight:700;
    background:var(--drc-surface-subtle);
}

@media(max-width:700px){
    #district-report-card-module .drc-fin-statewide-chart{
        min-width:620px;
    }
    #district-report-card-module .drc-fin-statewide-chart-wrap::after{
        content:'Swipe chart horizontally to see the full statewide distribution.';
        display:block;
        padding:5px 8px 8px;
        font-size:76%;
        color:var(--drc-muted);
    }
}


/* District Report Card 26.8.2 iteration 23 trend usability and change drivers */
#district-report-card-module .drc-fin-trend-workbench{
    margin:0 0 14px;
}
#district-report-card-module .drc-fin-change-summary{
    margin:10px 0 14px;
    padding:10px 12px;
    border-left:4px solid #555;
    background:var(--drc-surface-subtle);
    line-height:1.45;
}
#district-report-card-module .drc-fin-focused-change{
    margin-top:0;
}
#district-report-card-module .drc-fin-spending-driver-summary{
    margin-bottom:8px;
}
#district-report-card-module .drc-fin-spending-driver.is-instruction{ fill:var(--drc-primary); }
#district-report-card-module .drc-fin-spending-driver.is-admin{ fill:var(--drc-accent); }
#district-report-card-module .drc-fin-spending-driver.is-support{ fill:var(--drc-chart-4); }
#district-report-card-module .drc-fin-spending-driver.is-operations{ fill:var(--drc-chart-5); }
#district-report-card-module .drc-fin-spending-driver.is-transportation{ fill:var(--drc-chart-3); }
#district-report-card-module .drc-fin-spending-driver.is-capital{ fill:var(--drc-chart-3); }
#district-report-card-module .drc-fin-spending-driver.is-other{ fill:var(--drc-status-missing); }
@media(max-width:700px){
    #district-report-card-module .drc-fin-change-summary{ font-size:92%; }
}


/* District Report Card 26.8.2 iteration 23.2 financial trend card spacing */

#district-report-card-module .drc-fin-trend-workbench .drc-fin-card{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
}

#district-report-card-module .drc-fin-trend-workbench .drc-fin-card > strong,
#district-report-card-module .drc-fin-trend-workbench .drc-fin-card > b,
#district-report-card-module .drc-fin-trend-workbench .drc-fin-card > span{
    display:block;
}

#district-report-card-module .drc-fin-trend-workbench .drc-fin-card > span{
    line-height:1.35;
}


/* District Report Card 26.8.2 iteration 24 scenario lab rebuild */
#district-report-card-module .drc-fin-scenario24{
    min-width:0;
}
#district-report-card-module .drc-fin24-controls{
    background:var(--drc-panel-bg);
}
#district-report-card-module .drc-fin24-preset-row{
    display:grid;
    grid-template-columns:minmax(0,.7fr) minmax(240px,1.5fr) minmax(120px,.7fr) minmax(190px,1fr);
    gap:10px 14px;
    align-items:end;
    margin-bottom:14px;
}
#district-report-card-module .drc-fin24-preset-row>strong{
    align-self:center;
}
#district-report-card-module .drc-fin24-presets{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px;
}
#district-report-card-module .drc-fin24-presets button{
    min-height:38px;
    border:1px solid var(--drc-border);
    background:var(--drc-panel-bg);
    color:var(--drc-text);
    border-radius:3px;
    font-weight:700;
    cursor:pointer;
}
#district-report-card-module .drc-fin24-presets button.is-active{
    background:var(--drc-primary);
    border-color:var(--drc-primary);
    color:var(--drc-button-text);
}
#district-report-card-module .drc-fin24-select span,
#district-report-card-module .drc-fin24-assumption>span:first-child{
    display:block;
    font-size:var(--drc-font-size-card-label);
    font-weight:700;
    margin-bottom:4px;
}
#district-report-card-module .drc-fin24-select select{
    width:100%;
}
#district-report-card-module .drc-fin24-assumption-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:11px 14px;
}
#district-report-card-module .drc-fin24-assumption{
    min-width:0;
}
#district-report-card-module .drc-fin24-assumption>span:first-child{
    min-height:2.5em;
}
#district-report-card-module .drc-fin24-input-line{
    display:flex;
    align-items:center;
    gap:6px;
}
#district-report-card-module .drc-fin24-input-line input{
    min-width:0;
    width:100%;
}
#district-report-card-module .drc-fin24-input-line em{
    flex:0 0 auto;
    font-style:normal;
    color:var(--drc-muted);
    font-size:82%;
    white-space:nowrap;
}
#district-report-card-module .drc-fin24-advanced{
    margin-top:14px;
}
#district-report-card-module .drc-fin24-advanced summary{
    cursor:pointer;
    font-weight:700;
    color:var(--drc-primary);
    margin-bottom:12px;
}
#district-report-card-module .drc-fin24-cards{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin:14px 0 18px;
}
#district-report-card-module .drc-fin24-card{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
}
#district-report-card-module .drc-fin24-card.is-positive{
    border-top:3px solid var(--drc-status-positive);
}
#district-report-card-module .drc-fin24-card.is-negative{
    border-top:3px solid var(--drc-status-negative);
}
#district-report-card-module .drc-fin24-chart{
    min-width:700px;
}
#district-report-card-module .drc-fin24-line{
    fill:none;
    stroke-width:3;
    stroke-linecap:round;
    stroke-linejoin:round;
    vector-effect:non-scaling-stroke;
}
#district-report-card-module .drc-fin24-line.is-revenue{ stroke:var(--drc-chart-2); }
#district-report-card-module .drc-fin24-line.is-spending{ stroke:var(--drc-primary); }
#district-report-card-module .drc-fin24-point{
    fill:var(--drc-chart-point-outline);
    stroke-width:2;
    vector-effect:non-scaling-stroke;
}
#district-report-card-module .drc-fin24-point.is-revenue{ stroke:var(--drc-chart-2); }
#district-report-card-module .drc-fin24-point.is-spending{ stroke:var(--drc-primary); }
#district-report-card-module .drc-fin24-legend{
    gap:10px 18px;
    margin:0 0 8px;
    font-weight:700;
}
#district-report-card-module .drc-fin24-legend i{
    width:22px;
    border-top:3px solid #777;
}
#district-report-card-module .drc-fin24-legend i.is-revenue{ border-color:var(--drc-chart-2); }
#district-report-card-module .drc-fin24-legend i.is-spending{ border-color:var(--drc-primary); }
#district-report-card-module .drc-fin24-axis-title{
    fill:var(--drc-chart-label);
    font-size:12px;
    font-weight:700;
}
#district-report-card-module .drc-fin24-zero{
    stroke:var(--drc-chart-axis);
    stroke-width:1.4;
    vector-effect:non-scaling-stroke;
}
#district-report-card-module .drc-fin24-operating.is-positive{ fill:var(--drc-status-positive); }
#district-report-card-module .drc-fin24-operating.is-negative{ fill:var(--drc-status-negative); }
#district-report-card-module .drc-fin24-table-wrap,
#district-report-card-module .drc-fin24-category-table{
    max-width:100%;
    overflow-x:auto;
}
#district-report-card-module .drc-fin24-table td.is-positive{
    color:var(--drc-status-positive);
    font-weight:700;
}
#district-report-card-module .drc-fin24-table td.is-negative{
    color:var(--drc-status-negative);
    font-weight:700;
}
#district-report-card-module .drc-fin24-table tr.is-baseline{
    background:var(--drc-surface-subtle);
}
@media(max-width:900px){
    #district-report-card-module .drc-fin24-cards{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:760px){
    #district-report-card-module .drc-fin24-preset-row{
        grid-template-columns:1fr;
    }
    #district-report-card-module .drc-fin24-presets{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    #district-report-card-module .drc-fin24-assumption-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:500px){
    #district-report-card-module .drc-fin24-cards{
        grid-template-columns:1fr;
    }
    #district-report-card-module .drc-fin24-controls{
        padding:11px;
    }
    #district-report-card-module .drc-fin24-assumption-grid{
        grid-template-columns:1fr;
    }
    #district-report-card-module .drc-fin24-presets button{
        padding:7px 4px;
        font-size:90%;
    }
}


/* District Report Card 26.8.2 iteration 25.1 statewide comparison card spacing */
#district-report-card-module .drc-fin-statewide-viz .drc-fin-comparison-card{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:4px;
}

#district-report-card-module .drc-fin-statewide-viz .drc-fin-comparison-card > strong,
#district-report-card-module .drc-fin-statewide-viz .drc-fin-comparison-card > b,
#district-report-card-module .drc-fin-statewide-viz .drc-fin-comparison-card > span{
    display:block;
}

#district-report-card-module .drc-fin-statewide-viz .drc-fin-comparison-card > span{
    line-height:1.35;
}


/* District Report Card 26.8.2 iteration 26.1 academic snapshot presentation */
#district-report-card-module .drc-snapshot26-trend-scroll {
    width:100%;
    overflow-y:hidden;
}
#district-report-card-module .drc-snapshot26-trend-svg {
    display:block;
    width:100%;
    min-width:760px;
    min-height:360px;
}
#district-report-card-module .drc-snapshot26-academic-line {
    fill:none;
    stroke-width:3px;
    stroke-linecap:round;
    stroke-linejoin:round;
}
#district-report-card-module .drc-snapshot26-academic-line.is-reading,
#district-report-card-module .drc-snapshot26-academic-point.is-reading { stroke:var(--drc-primary); }
#district-report-card-module .drc-snapshot26-legend-line.is-reading { color:var(--drc-primary); }
#district-report-card-module .drc-snapshot26-academic-line.is-math,
#district-report-card-module .drc-snapshot26-academic-point.is-math { stroke:var(--drc-chart-2); }
#district-report-card-module .drc-snapshot26-legend-line.is-math { color:var(--drc-chart-2); }
#district-report-card-module .drc-snapshot26-academic-line.is-math { stroke-dasharray:8 5; }
#district-report-card-module .drc-snapshot26-academic-line.is-science,
#district-report-card-module .drc-snapshot26-academic-point.is-science { stroke:var(--drc-chart-3); }
#district-report-card-module .drc-snapshot26-legend-line.is-science { color:var(--drc-chart-3); }
#district-report-card-module .drc-snapshot26-academic-line.is-science { stroke-dasharray:3 4; }
#district-report-card-module .drc-snapshot26-academic-line.is-district,
#district-report-card-module .drc-snapshot26-academic-point.is-district { stroke:var(--drc-primary); }
#district-report-card-module .drc-snapshot26-legend-line.is-district { color:var(--drc-primary); }
#district-report-card-module .drc-snapshot26-academic-line.is-state,
#district-report-card-module .drc-snapshot26-academic-point.is-state { stroke:var(--drc-chart-3); }
#district-report-card-module .drc-snapshot26-legend-line.is-state { color:var(--drc-chart-3); }
#district-report-card-module .drc-snapshot26-academic-line.is-state { stroke-width:2px; stroke-dasharray:7 5; }
#district-report-card-module .drc-snapshot26-academic-point {
    fill:var(--drc-chart-point-outline);
    stroke-width:2.2px;
}
#district-report-card-module .drc-snapshot26-legend {
    gap:8px 18px;
    margin:8px 0 4px;
}
#district-report-card-module .drc-snapshot26-legend span {
    display:inline-flex;
    align-items:center;
    gap:7px;
}
#district-report-card-module .drc-snapshot26-legend-line {
    display:inline-block;
    width:24px;
    border-top:3px solid currentColor;
}
#district-report-card-module .drc-snapshot26-legend-line.is-math { border-top-style:dashed; }
#district-report-card-module .drc-snapshot26-legend-line.is-science { border-top-style:dotted; }
#district-report-card-module .drc-snapshot26-fastbridge-line {
    fill:none;
    stroke:var(--drc-chart-5);
    stroke-width:3.4px;
    stroke-dasharray:11 4 2 4;
    stroke-linecap:round;
    stroke-linejoin:round;
    vector-effect:non-scaling-stroke;
}
#district-report-card-module .drc-snapshot26-fastbridge-point {
    fill:var(--drc-chart-5);
    stroke:var(--drc-chart-point-outline);
    stroke-width:2px;
    vector-effect:non-scaling-stroke;
}
#district-report-card-module .drc-snapshot26-fastbridge-season {
    fill:var(--drc-chart-5);
    font-size:9px;
    font-weight:800;
    paint-order:stroke;
    stroke:var(--drc-panel-bg);
    stroke-width:3px;
    stroke-linejoin:round;
    pointer-events:none;
}
#district-report-card-module .drc-snapshot26-legend-line.is-fastbridge {
    color:var(--drc-chart-5);
    border-top-style:dashed;
    border-top-width:4px;
}
#district-report-card-module .drc-finance-integrated-panel .drc-trend-revenue {
    stroke:var(--drc-chart-6);
}
#district-report-card-module .drc-finance-integrated-panel .drc-trend-revenue-point {
    stroke:var(--drc-chart-6);
}
#district-report-card-module .drc-finance-integrated-panel .drc-legend-revenue {
    border-top-color:var(--drc-chart-6)!important;
}
#district-report-card-module .drc-snapshot26-trend-panel .drc-fastbridge-disclaimer {
    margin-top:12px;
}
#district-report-card-module .drc-snapshot26-trend-guidance > strong {
    display:block;
    margin-bottom:6px;
    color:var(--drc-heading);
}
#district-report-card-module .drc-snapshot26-trend-guidance > ul {
    margin:0;
    padding-left:1.25rem;
}
#district-report-card-module .drc-fastbridge-report-summary .drc-summary-grid {
    grid-template-columns:repeat(4,minmax(0,1fr));
}
#district-report-card-module .drc-fastbridge-comparison {
    border-left:4px solid var(--drc-chart-5);
}
#district-report-card-module .drc-fastbridge-comparison-rows {
    display:grid;
    gap:8px;
    margin:12px 0;
}
#district-report-card-module .drc-fastbridge-comparison-row .drc-compare-fill {
    background:var(--drc-chart-5);
}
#district-report-card-module .drc-fastbridge-comparison-row.is-focus .drc-compare-fill {
    background:var(--drc-primary);
}
#district-report-card-module .drc-fastbridge-comparison-row.is-focus .drc-compare-name,
#district-report-card-module .drc-fastbridge-comparison-row.is-focus .drc-compare-value {
    color:var(--drc-primary);
}
#district-report-card-module .drc-fastbridge-comparison-name small {
    display:block;
    margin-top:2px;
    color:var(--drc-muted);
    text-transform:capitalize;
}
@media(max-width:850px){
    #district-report-card-module .drc-fastbridge-report-summary .drc-summary-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:520px){
    #district-report-card-module .drc-fastbridge-report-summary .drc-summary-grid {
        grid-template-columns:1fr;
    }
}
#district-report-card-module .drc-snapshot26-distribution-row {
    padding:14px 0;
    border-top:1px solid var(--drc-border);
}
#district-report-card-module .drc-snapshot26-distribution-row:first-of-type { border-top:0; }
#district-report-card-module .drc-snapshot26-distribution-head {
    display:flex;
    justify-content:space-between;
    align-items:baseline;
    gap:12px;
    margin-bottom:8px;
}
#district-report-card-module .drc-snapshot26-level-bar {
    display:flex;
    width:100%;
    min-height:34px;
    overflow:hidden;
    border-radius:2px;
    background:var(--drc-table-stripe);
}
#district-report-card-module .drc-snapshot26-level-segment {
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    font-size:72%;
    font-weight:700;
}
#district-report-card-module .drc-snapshot26-level-segment.is-level-1 { background:#d75c32; color:#fff; }
#district-report-card-module .drc-snapshot26-level-segment.is-level-2 { background:#efc83c; color:#111; }
#district-report-card-module .drc-snapshot26-level-segment.is-level-3 { background:#8eae39; color:#fff; }
#district-report-card-module .drc-snapshot26-level-segment.is-level-4 { background:#4e8248; color:#fff; }
#district-report-card-module .drc-snapshot26-level-segment.is-level-other { background:#777; color:#fff; }
#district-report-card-module .drc-snapshot26-level-legend {
    gap:6px 16px;
    margin-top:8px;
    font-size:88%;
}
#district-report-card-module .drc-snapshot26-level-key {
    display:inline-flex;
    align-items:center;
    gap:4px;
}
#district-report-card-module .drc-snapshot26-level-key b {
    display:inline-block;
    width:12px;
    height:12px;
}
#district-report-card-module .drc-snapshot26-level-key b.is-level-1 { background:#d75c32; }
#district-report-card-module .drc-snapshot26-level-key b.is-level-2 { background:#efc83c; }
#district-report-card-module .drc-snapshot26-level-key b.is-level-3 { background:#8eae39; }
#district-report-card-module .drc-snapshot26-level-key b.is-level-4 { background:#4e8248; }
#district-report-card-module .drc-snapshot26-level-key b.is-level-other { background:#777; }
#district-report-card-module .drc-snapshot26-shape .drc-table-wrap { overflow-x:auto; }
#district-report-card-module .drc-snapshot26-shape table { min-width:760px; }
@media(max-width:700px){
    #district-report-card-module .drc-snapshot26-trend-svg { min-width:760px; }
    #district-report-card-module .drc-snapshot26-distribution-head { align-items:flex-start; flex-direction:column; gap:3px; }
    #district-report-card-module .drc-snapshot26-level-legend { display:grid; grid-template-columns:1fr 1fr; }
}

/* District Report Card 26.8.2 iteration 26.2 snapshot finalization */
#district-report-card-module .drc-snapshot-tooltip{
    position:fixed;
    z-index:2147483000;
    max-width:min(320px,calc(100vw - 20px));
    padding:6px 8px;
    border:1px solid #777;
    border-radius:4px;
    background:var(--drc-panel-bg);
    color:#272727;
    box-shadow:0 2px 8px rgba(0,0,0,.18);
    font-size:13px;
    line-height:1.35;
    pointer-events:none;
    white-space:normal;
}

#district-report-card-module .drc-snapshot-tooltip[hidden]{
    display:none !important;
}

#district-report-card-module .drc-snapshot26-trend-panel [data-drc-tooltip-ready="true"],
#district-report-card-module .drc-snapshot26-distribution [data-drc-tooltip-ready="true"]{
    cursor:help;
    pointer-events:all;
}


/* District Report Card 26.8.5 Staffing & Enrollment + context integration */
#district-report-card-module .drc-staffing-controls[hidden]{display:none;}
#district-report-card-module .drc-cross-context{
    border-left:4px solid var(--drc-accent);
    background:var(--drc-surface-subtle);
}
#district-report-card-module .drc-cross-context .drc-summary-grid{
    margin-top:12px;
}
#district-report-card-module .drc-staffing-overview .drc-panel{
    margin:18px 0;
}
#district-report-card-module .drc-staff-intro{
    border-top:4px solid var(--drc-primary);
}
#district-report-card-module .drc-staff-chart-scroll{
    margin-top:8px;
}
#district-report-card-module .drc-staff-chart{
    min-width:700px;
}
#district-report-card-module .drc-staff-grid{
    stroke:var(--drc-chart-grid);
    stroke-width:1;
}
#district-report-card-module .drc-staff-zero{
    stroke:var(--drc-chart-axis);
    stroke-width:1.4;
    stroke-dasharray:5 4;
}
#district-report-card-module .drc-staff-axis-label,
#district-report-card-module .drc-staff-year{
    fill:var(--drc-chart-label);
    font-size:11px;
}
#district-report-card-module .drc-staff-line{
    fill:none;
    stroke-width:3;
    stroke-linejoin:round;
    stroke-linecap:round;
}
#district-report-card-module .drc-staff-point{
    stroke:var(--drc-chart-point-outline);
    stroke-width:1.5;
}
#district-report-card-module .drc-staff-line.is-series-1{stroke:var(--drc-primary);fill:none;}
#district-report-card-module .drc-staff-line.is-series-2{stroke:var(--drc-accent);fill:none;}
#district-report-card-module .drc-staff-line.is-series-3{stroke:var(--drc-chart-3);fill:none;}
#district-report-card-module .drc-staff-point.is-series-1{stroke:var(--drc-primary);fill:var(--drc-primary);}
#district-report-card-module .drc-staff-point.is-series-2{stroke:var(--drc-accent);fill:var(--drc-accent);}
#district-report-card-module .drc-staff-point.is-series-3{stroke:var(--drc-chart-3);fill:var(--drc-chart-3);}
#district-report-card-module .drc-staff-legend{
    gap:8px 18px;
    margin:8px 0 4px;
    color:var(--drc-muted);
    font-size:86%;
}
#district-report-card-module .drc-staff-legend span{
    display:flex;
    align-items:center;
    gap:6px;
}
#district-report-card-module .drc-staff-legend-line{
    display:inline-block;
    width:22px;
    height:3px;
    border-radius:2px;
}
#district-report-card-module .drc-staff-legend-line.is-series-1{background:var(--drc-primary);}
#district-report-card-module .drc-staff-legend-line.is-series-2{background:var(--drc-accent);}
#district-report-card-module .drc-staff-legend-line.is-series-3{background:var(--drc-chart-3);}
#district-report-card-module .drc-staff-quality{
    margin-top:12px;
    border-left:4px solid var(--drc-chart-3);
}

/* Staffing Depth uses the ordinary DRC panel and bar rhythm. The source
 * contract remains exact-year Profile 9 adjusted ADM; only the presentation
 * is brought into the shared report language. */
#district-report-card-module .drc-staffing-depth .drc-staff-depth-intro label{
    display:block;
    max-width:260px;
    margin:0 0 12px;
}
#district-report-card-module .drc-staffing-depth .drc-staff-depth-intro select{
    display:block;
    width:100%;
    margin-top:6px;
}
#district-report-card-module .drc-staff-depth-bars{
    margin-top:16px;
}
#district-report-card-module .drc-staff-depth-row{
    display:grid;
    grid-template-columns:minmax(180px,1.15fr) minmax(220px,3fr) 82px;
    gap:10px;
    align-items:center;
    margin:10px 0;
    font-size:90%;
}
#district-report-card-module .drc-staff-depth-label{
    line-height:1.25;
    overflow-wrap:anywhere;
}
#district-report-card-module .drc-staff-depth-track{
    display:block;
    height:20px;
    border:1px solid var(--drc-border);
    background:var(--drc-table-stripe);
}
#district-report-card-module .drc-staff-depth-track>span{
    display:block;
    height:100%;
    background:var(--drc-accent);
    print-color-adjust:exact;
    -webkit-print-color-adjust:exact;
}
#district-report-card-module .drc-staff-depth-row strong{
    text-align:right;
    color:var(--drc-primary);
    font-variant-numeric:tabular-nums;
}
@media(max-width:700px){
    #district-report-card-module .drc-staff-depth-row{
        grid-template-columns:minmax(125px,1.1fr) minmax(90px,2fr) 68px;
        gap:7px;
        font-size:84%;
    }
    #district-report-card-module .drc-staff-depth-track{
        height:18px;
    }
}
@media (max-width:700px){
    #district-report-card-module .drc-domain-tabs{
        grid-template-columns:1fr;
        gap:4px;
        border-bottom:0;
    }
    #district-report-card-module .drc-domain-tab{
        border-bottom:1px solid var(--drc-border);
        border-radius:4px;
    }
}

/* R4C2: fourth Staffing trend series - Homelessness */
#district-report-card-module .drc-staff-line.is-series-4 {
    stroke:var(--drc-chart-4);
}

#district-report-card-module .drc-staff-point.is-series-4 {
    fill:var(--drc-chart-4);
}

#district-report-card-module .drc-staff-legend-line.is-series-4 {
    border-top-color:var(--drc-text);
    background:var(--drc-text);
}

/* Canonical district-scale definitions in How to read this report card. */
#district-report-card-module .drc-definition-block {
    margin:14px 0;
    padding:12px 14px;
    border-left:4px solid var(--drc-accent);
    background:var(--drc-surface-subtle);
}

#district-report-card-module .drc-definition-block h4 {
    margin:0 0 10px;
    font-size:100%;
}

#district-report-card-module .drc-definition-block dl {
    display:grid;
    grid-template-columns:minmax(150px,.55fr) minmax(0,2fr);
    gap:7px 14px;
    margin:0;
}

#district-report-card-module .drc-definition-block dt {
    font-weight:700;
}

#district-report-card-module .drc-definition-block dd {
    margin:0;
}

#district-report-card-module .drc-definition-block p {
    margin:10px 0 0;
}

@media(max-width:700px) {
    #district-report-card-module .drc-definition-block dl {
        grid-template-columns:1fr;
        gap:3px;
    }

    #district-report-card-module .drc-definition-block dt:not(:first-child) {
        margin-top:7px;
    }
}


/* 26.8.5 R4C4O - Where Students Move */
#district-report-card-module .drc-oe-flow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

#district-report-card-module .drc-oe-flow-column {
    min-width: 0;
}

#district-report-card-module .drc-oe-flow-column h4 {
    margin: 0 0 6px;
}

#district-report-card-module .drc-open-enrollment-info {
    margin: 14px 0;
}

#district-report-card-module .drc-open-enrollment-info > summary {
    cursor: pointer;
    font-weight: 800;
}

#district-report-card-module .drc-open-enrollment-info .drc-note {
    margin-top: 10px;
}

#district-report-card-module .drc-ratio-definition {
    margin-top: 14px;
}

/* 26.10.5 Staffing & Enrollment table geometry. The readable wrapper and
 * semantic cell presentation belong to the shared DRC contract in
 * district-report-card-26.10.5/shared.css. Staffing retains only genuine
 * domain geometry here. */
#district-report-card-module .drc-staff-mix-matrix,
#district-report-card-module .drc-table[class*="paired"]{
    min-width:760px;
}
#district-report-card-module .drc-staff-mix-matrix{min-width:1500px;}

#district-report-card-module .drc-staff-chart-frame{
    min-width:0;
    margin:12px 0 16px;
    border:1px solid var(--drc-border);
    background:var(--drc-panel-bg);
}
#district-report-card-module .drc-staff-chart-frame > .drc-chart-legend{
    margin:0;
    padding:10px 12px;
    border-bottom:1px solid var(--drc-border);
}
#district-report-card-module .drc-staff-chart-frame > .drc-chart-surface{
    min-width:0;
    padding:8px 10px 12px;
}
#district-report-card-module .drc-staff-chart-scroll{
    max-width:100%;
    margin:0;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
}
#district-report-card-module .drc-staff-chart{
    display:block;
    width:100%;
    height:auto;
    min-width:700px;
}

@media (max-width: 760px) {
    #district-report-card-module .drc-oe-flow-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ==========================================================================
   District Report Card 26.8.5 R4C4U
   Staffing mix + Student/Teacher contextual comparison
   ========================================================================== */

#district-report-card-module .drc-staff-mix-legend{
    gap:8px 14px;
    margin:10px 0 14px;
    font-size:.88rem;
}

#district-report-card-module .drc-staff-mix-legend span,
#district-report-card-module .drc-staff-mix-key{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

#district-report-card-module .drc-staff-mix-swatch{
    display:inline-block;
    width:12px;
    height:12px;
    border-radius:2px;
    flex:0 0 auto;
}

#district-report-card-module .drc-staff-mix-swatch.is-teachers,
#district-report-card-module .drc-staff-mix-segment.is-teachers{
    background:var(--drc-staff-teachers);
}

#district-report-card-module .drc-staff-mix-segment.is-teachers{
    color:var(--drc-staff-teachers-text);
}

#district-report-card-module .drc-staff-mix-swatch.is-aides,
#district-report-card-module .drc-staff-mix-segment.is-aides{
    background:var(--drc-staff-aides);
}

#district-report-card-module .drc-staff-mix-segment.is-aides{
    color:var(--drc-staff-aides-text);
}

#district-report-card-module .drc-staff-mix-swatch.is-coordinators,
#district-report-card-module .drc-staff-mix-segment.is-coordinators{
    background:var(--drc-staff-coordinators);
}

#district-report-card-module .drc-staff-mix-segment.is-coordinators{
    color:var(--drc-staff-coordinators-text);
}

#district-report-card-module .drc-staff-mix-swatch.is-administration,
#district-report-card-module .drc-staff-mix-segment.is-administration{
    background:var(--drc-staff-administration);
}

#district-report-card-module .drc-staff-mix-segment.is-administration{
    color:var(--drc-staff-administration-text);
}

#district-report-card-module .drc-staff-mix-swatch.is-admin-support,
#district-report-card-module .drc-staff-mix-segment.is-admin-support{
    background:var(--drc-staff-admin-support);
}

#district-report-card-module .drc-staff-mix-segment.is-admin-support{
    color:var(--drc-staff-admin-support-text);
}

#district-report-card-module .drc-staff-mix-swatch.is-student-services,
#district-report-card-module .drc-staff-mix-segment.is-student-services{
    background:var(--drc-staff-student-services);
}

#district-report-card-module .drc-staff-mix-segment.is-student-services{
    color:var(--drc-staff-student-services-text);
}

#district-report-card-module .drc-staff-mix-swatch.is-other-support,
#district-report-card-module .drc-staff-mix-segment.is-other-support{
    background:var(--drc-staff-other-support);
}

#district-report-card-module .drc-staff-mix-segment.is-other-support{
    color:var(--drc-staff-other-support-text);
}

#district-report-card-module .drc-staff-mix-comparison-bars{
    display:grid;
    gap:12px;
}

#district-report-card-module .drc-staff-mix-row{
    display:grid;
    grid-template-columns:minmax(180px,1.25fr) minmax(360px,4fr) minmax(88px,.8fr);
    gap:12px;
    align-items:center;
    padding:6px 8px;
    border-radius:6px;
}

#district-report-card-module .drc-staff-mix-row.is-focus{
    background:rgba(149,0,6,.055);
    box-shadow:inset 4px 0 0 var(--drc-primary);
}

#district-report-card-module .drc-staff-mix-name{
    min-width:0;
    line-height:1.25;
}

#district-report-card-module .drc-staff-mix-bar{
    display:flex;
    width:100%;
    height:31px;
    overflow:hidden;
    border-radius:5px;
    background:var(--drc-chart-background);
    box-shadow:inset 0 0 0 1px rgba(0,0,0,.09);
}

#district-report-card-module .drc-staff-mix-segment{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    height:100%;
    color:var(--drc-button-text);
    font-size:.72rem;
    font-weight:700;
    overflow:hidden;
    white-space:nowrap;
}

#district-report-card-module .drc-staff-mix-total{
    text-align:right;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}

#district-report-card-module .drc-staff-mix-table-wrap{
    overflow-x:auto;
}

#district-report-card-module .drc-staff-mix-matrix{
    min-width:1500px;
}

#district-report-card-module .drc-staff-mix-matrix th,
#district-report-card-module .drc-staff-mix-matrix td{
    white-space:nowrap;
}

/* Shared composition-bar family. Staffing Mix and Degree Mix use the same
 * geometry and readable label treatment; each category family still owns its
 * semantic colors below. */
#district-report-card-module .drc-composition-legend{
    display:flex;
    flex-wrap:wrap;
    gap:10px 18px;
    margin:10px 0 14px;
    color:var(--drc-muted);
    font-size:14px;
    line-height:1.35;
}
#district-report-card-module .drc-composition-legend-item{
    display:inline-flex;
    align-items:flex-start;
    gap:7px;
    min-width:0;
}
#district-report-card-module .drc-composition-swatch{
    display:inline-block;
    width:14px;
    height:14px;
    margin-top:2px;
    border-radius:2px;
    flex:0 0 auto;
}
#district-report-card-module .drc-composition-bar{
    display:flex;
    width:100%;
    min-height:42px;
    overflow:hidden;
    border:1px solid var(--drc-border);
    border-radius:4px;
    background:var(--drc-table-stripe);
    box-shadow:inset 0 0 0 1px rgba(0,0,0,.04);
}
#district-report-card-module .drc-composition-segment{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    height:100%;
    overflow:hidden;
    color:var(--drc-composition-segment-text,#fff);
    font-size:14px;
    font-weight:700;
    line-height:1;
    text-align:center;
    text-shadow:none;
    white-space:nowrap;
}
#district-report-card-module .drc-staff-mix-bar{
    height:42px;
}
#district-report-card-module .drc-staff-mix-comparison-bars .drc-staff-mix-bar{
    height:36px;
    min-height:36px;
}
#district-report-card-module .drc-degree-mix-bar{
    margin:8px 0 0;
}
#district-report-card-module .drc-degree-mix-legend{
    margin-bottom:4px;
}
#district-report-card-module .drc-degree-mix .is-degree-ba{
    background:var(--drc-degree-ba);
}
#district-report-card-module .drc-degree-mix .drc-composition-segment.is-degree-ba{
    color:var(--drc-degree-ba-text);
}
#district-report-card-module .drc-degree-mix .is-degree-ma{
    background:var(--drc-degree-ma);
}
#district-report-card-module .drc-degree-mix .drc-composition-segment.is-degree-ma{
    color:var(--drc-degree-ma-text);
}
#district-report-card-module .drc-degree-mix .is-degree-phd{
    background:var(--drc-degree-phd);
}
#district-report-card-module .drc-degree-mix .drc-composition-segment.is-degree-phd{
    color:var(--drc-degree-phd-text);
}
#district-report-card-module .drc-degree-mix .drc-composition-legend-item:nth-child(1) .drc-composition-swatch{
    background:var(--drc-degree-ba);
}
#district-report-card-module .drc-degree-mix .drc-composition-legend-item:nth-child(2) .drc-composition-swatch{
    background:var(--drc-degree-ma);
}
#district-report-card-module .drc-degree-mix .drc-composition-legend-item:nth-child(3) .drc-composition-swatch{
    background:var(--drc-degree-phd);
}

#district-report-card-module .drc-academic-ratio-bars{
    display:grid;
    gap:9px;
    margin-top:14px;
}

#district-report-card-module .drc-academic-ratio-row{
    display:grid;
    grid-template-columns:minmax(190px,1.5fr) minmax(260px,4fr) 72px;
    gap:12px;
    align-items:center;
    padding:5px 8px;
    border-radius:6px;
}

#district-report-card-module .drc-academic-ratio-row.is-focus{
    background:rgba(149,0,6,.055);
    box-shadow:inset 4px 0 0 var(--drc-primary);
}

#district-report-card-module .drc-academic-ratio-track{
    height:20px;
    overflow:hidden;
    border-radius:4px;
    background:var(--drc-chart-background);
}

#district-report-card-module .drc-academic-ratio-track span{
    display:block;
    height:100%;
    background:var(--drc-accent);
}

#district-report-card-module .drc-academic-ratio-row.is-focus .drc-academic-ratio-track span{
    background:var(--drc-primary);
}

#district-report-card-module .drc-academic-ratio-value{
    text-align:right;
    font-weight:700;
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}

#district-report-card-module .drc-staff-mix-statewide td,
#district-report-card-module .drc-staff-mix-statewide th{
    font-variant-numeric:tabular-nums;
}

@media (max-width: 760px){
    #district-report-card-module .drc-staff-mix-row{
        grid-template-columns:1fr;
        gap:5px;
        padding:8px;
    }

    #district-report-card-module .drc-staff-mix-bar{
        min-width:0;
    }

    #district-report-card-module .drc-staff-mix-row{
        overflow-x:visible;
    }

    #district-report-card-module .drc-staff-mix-total{
        text-align:left;
    }

    #district-report-card-module .drc-composition-legend{
        gap:8px 14px;
        font-size:13px;
    }

    #district-report-card-module .drc-composition-bar{
        min-height:38px;
    }

    #district-report-card-module .drc-staff-mix-bar{
        height:38px;
    }

    #district-report-card-module .drc-staff-mix-comparison-bars .drc-staff-mix-bar{
        height:34px;
        min-height:34px;
    }

    #district-report-card-module .drc-composition-segment{
        font-size:13px;
    }

    #district-report-card-module .drc-academic-ratio-row{
        grid-template-columns:1fr 64px;
    }

    #district-report-card-module .drc-academic-ratio-name{
        grid-column:1 / -1;
    }

    #district-report-card-module .drc-academic-ratio-track{
        min-width:0;
    }
}

/* ==========================================================================
   District Report Card 26.8.5 R4C4V4I
   Standard Student/Teacher comparison + paired NCES staffing comparison
   ========================================================================== */

#district-report-card-module .drc-ratio-standard-comparison{
    margin-top:18px;
}

#district-report-card-module .drc-ratio-standard-comparison h4{
    margin:0 0 8px;
    color:var(--drc-primary);
    font-family:Georgia, "Times New Roman", serif;
    font-size:1.25rem;
    font-weight:400;
}

#district-report-card-module .drc-ratio-state-marker{
    position:absolute;
    top:-4px;
    bottom:-4px;
    width:2px;
    margin-left:-1px;
    background:var(--drc-chart-3);
    z-index:4;
    pointer-events:none;
}

#district-report-card-module .drc-ratio-state-caption{
    margin-top:8px;
    color:var(--drc-muted);
    font-size:.86rem;
}

#district-report-card-module .drc-ratio-state-key{
    display:inline-block;
    width:2px;
    height:14px;
    margin-right:7px;
    vertical-align:-2px;
    background:var(--drc-chart-3);
}

#district-report-card-module .drc-staffing-paired-secondary{
    margin-top:18px;
}

#district-report-card-module .drc-staffing-paired-comparison .drc-table-wrap,
#district-report-card-module .drc-staffing-paired-statewide .drc-table-wrap{
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

#district-report-card-module .drc-staffing-paired-detail,
#district-report-card-module .drc-staffing-paired-statewide-detail,
#district-report-card-module .drc-staffing-paired-statewide-raw{
    min-width:760px;
}

#district-report-card-module .drc-staffing-paired-detail th,
#district-report-card-module .drc-staffing-paired-detail td,
#district-report-card-module .drc-staffing-paired-statewide-detail th,
#district-report-card-module .drc-staffing-paired-statewide-detail td,
#district-report-card-module .drc-staffing-paired-statewide-raw th,
#district-report-card-module .drc-staffing-paired-statewide-raw td{
    font-variant-numeric:tabular-nums;
}


/* ==========================================================================
   District Report Card 26.8.5 R4C4V4N1
   Student / Teacher Context uses the standard comparison-panel perimeter.
   Remove only the cross-domain left accent from this one panel.
   ========================================================================== */

#district-report-card-module
#drcAcademicStudentTeacherContext.drc-academic-student-teacher-context{
    border-left:none !important;
}

/* District Report Card 26.8.5 - Finance Special Education */
#district-report-card-module .drc-sped-finance{
    /* The shared panel/note margins own vertical rhythm. A grid gap here
     * double-counted those margins and created large blank bands throughout
     * every Special Education subview. */
    display:block;
    border:0;
    border-radius:0;
    background:transparent;
}
#district-report-card-module .drc-sped-panel{
    min-width:0;
}
#district-report-card-module .drc-sped-snapshot-cards,
#district-report-card-module .drc-sped-coverage-cards{
    margin-top:12px;
}
#district-report-card-module .drc-sped-card.is-emphasis{
    border-top:4px solid var(--drc-primary);
}
#district-report-card-module .drc-sped-card.is-state{
    border-top:4px solid var(--drc-chart-3);
}
#district-report-card-module .drc-sped-trend-host,
#district-report-card-module .drc-sped-trend-surface{
    min-width:0;
}
#district-report-card-module .drc-sped-trend-surface{
    margin:0;
    padding:var(--drc-space-small) var(--drc-space-small) var(--drc-space-normal);
}
#district-report-card-module .drc-sped-trend-surface > svg{
    max-width:100%;
}
#district-report-card-module .drc-sped-trend-line{
    stroke:var(--drc-primary);
    stroke-width:3.5;
    stroke-linejoin:round;
    stroke-linecap:round;
}
#district-report-card-module .drc-sped-trend-point{
    fill:var(--drc-primary);
    stroke:var(--drc-chart-point-outline);
    stroke-width:2;
}
#district-report-card-module .drc-sped-trend-value-label{
    fill:var(--drc-chart-label);
    font-size:11px;
    font-weight:700;
    paint-order:stroke;
    stroke:var(--drc-panel-bg);
    stroke-width:3px;
}
#district-report-card-module .drc-sped-trend-chart .drc-fin-axis-label{
    fill:var(--drc-chart-label);
    font-size:12px;
}
#district-report-card-module .drc-sped-trend-chart .drc-fin-dashboard-axis-title{
    fill:var(--drc-chart-label);
    font-size:13px;
    font-weight:700;
}
#district-report-card-module .drc-sped-flow{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin-top:14px;
}
#district-report-card-module .drc-sped-flow-card{
    min-width:0;
    padding:14px;
    border:1px solid var(--drc-border);
    border-radius:4px;
    background:var(--drc-surface-subtle);
}
#district-report-card-module .drc-sped-flow-card span,
#district-report-card-module .drc-sped-flow-card strong,
#district-report-card-module .drc-sped-flow-card small{
    display:block;
}
#district-report-card-module .drc-sped-flow-card span{
    min-height:2.6em;
    color:var(--drc-muted);
    font-size:82%;
    font-weight:700;
}
#district-report-card-module .drc-sped-flow-card strong{
    margin:5px 0;
    color:var(--drc-primary);
    font-size:150%;
    line-height:1.15;
}
#district-report-card-module .drc-sped-flow-card small{
    color:var(--drc-muted);
    font-size:78%;
    line-height:1.35;
}
#district-report-card-module .drc-sped-flow-card.is-result{
    border-top:4px solid var(--drc-primary);
    background:var(--drc-panel-bg);
}
#district-report-card-module .drc-sped-rank-legend{
    gap:8px 16px;
    margin:8px 0 14px;
    color:var(--drc-muted);
    font-size:80%;
}
#district-report-card-module .drc-sped-rank-legend span{
    display:inline-flex;
    align-items:center;
    gap:6px;
}
#district-report-card-module .drc-sped-rank-legend i{
    display:inline-block;
    width:14px;
    height:8px;
    border-radius:2px;
}
#district-report-card-module .drc-sped-rank-legend i.is-district{
    background:var(--drc-primary);
}
#district-report-card-module .drc-sped-rank-legend i.is-other{
    background:var(--drc-accent);
}
#district-report-card-module .drc-sped-rank-legend i.is-state{
    width:3px;
    height:14px;
    background:var(--drc-chart-3);
    border-radius:0;
}
#district-report-card-module .drc-sped-rank-row{
    display:grid;
    grid-template-columns:minmax(0,max-content) minmax(0,1fr) max-content;
    gap:10px;
    align-items:center;
    margin:7px 0;
    font-size:84%;
}
#district-report-card-module .drc-sped-rank-name{
    overflow-wrap:anywhere;
    min-width:0;
}
#district-report-card-module .drc-sped-rank-track{
    position:relative;
    display:block;
    height:18px;
    background:var(--drc-chart-background);
    border-radius:2px;
    overflow:visible;
}
#district-report-card-module .drc-sped-rank-bar{
    display:block;
    height:100%;
    background:var(--drc-accent);
    border-radius:2px;
}
#district-report-card-module .drc-sped-rank-row.is-selected{
    font-weight:700;
}
#district-report-card-module .drc-sped-rank-row.is-selected .drc-sped-rank-bar{
    background:var(--drc-primary);
}
#district-report-card-module .drc-sped-state-marker{
    position:absolute;
    top:-4px;
    bottom:-4px;
    width:3px;
    margin-left:-1px;
    background:var(--drc-chart-3);
    z-index:2;
}
#district-report-card-module .drc-sped-rank-row>strong{
    min-width:0;
    text-align:right;
    white-space:normal;
    overflow-wrap:normal;
}
#district-report-card-module .drc-sped-rank-value{line-height:1.25;}
#district-report-card-module .drc-value-number{
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-value-context{white-space:normal;}
#district-report-card-module .drc-sped-source-note{
    margin-top:0;
}
@media(max-width:760px){
    #district-report-card-module .drc-sped-flow{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    #district-report-card-module .drc-sped-rank-row{
        grid-template-columns:minmax(0,34%) minmax(0,1fr) max-content;
        gap:7px;
        font-size:78%;
    }
}
@media(max-width:480px){
    #district-report-card-module .drc-sped-flow{
        grid-template-columns:1fr;
    }
    #district-report-card-module .drc-sped-flow-card span{
        min-height:0;
    }
    #district-report-card-module .drc-sped-rank-row{
        grid-template-columns:minmax(0,34%) minmax(0,1fr) max-content;
        font-size:73%;
    }
}

/* DRC 26.8.5 SPED LEGACY PARITY */
#district-report-card-module .drc-sped-subview-controls{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;margin:0 0 16px;padding:14px 15px;background:var(--drc-surface-subtle);border:1px solid var(--drc-border);border-radius:4px;}
#district-report-card-module .drc-sped-subview-control{flex:1 1 280px;min-width:220px;}
#district-report-card-module .drc-sped-subview-control label{display:block;font-weight:700;margin-bottom:6px;}
#district-report-card-module .drc-sped-subview-control select{width:100%;}
#district-report-card-module .drc-sped-subview-year-note{margin-top:-6px;margin-bottom:16px;}
#district-report-card-module .drc-sped-table-wrap{margin-top:14px;border:1px solid var(--drc-border);border-radius:4px;background:var(--drc-panel-bg);}
#district-report-card-module .drc-sped-comparison-table{width:100%;border-collapse:collapse;min-width:720px;font-size:var(--drc-font-size-table);}
#district-report-card-module .drc-sped-table-wrap--wide .drc-sped-comparison-table{min-width:900px;}
#district-report-card-module .drc-sped-comparison-table thead > tr > th{white-space:normal;}
#district-report-card-module .drc-sped-comparison-table th:first-child,#district-report-card-module .drc-sped-comparison-table td:first-child{text-align:left;}
#district-report-card-module .drc-sped-comparison-table td,#district-report-card-module .drc-sped-comparison-table th[scope='row']{padding:8px 10px;border-top:1px solid var(--drc-border);text-align:right;white-space:normal;}
#district-report-card-module .drc-sped-comparison-table .drc-cell-number{white-space:nowrap;}
#district-report-card-module .drc-sped-comparison-table tbody tr:nth-child(even) td{background:var(--drc-table-stripe);}
#district-report-card-module .drc-sped-comparison-table tr.is-selected td{background:var(--drc-surface-subtle);font-weight:700;}
#district-report-card-module .drc-sped-comparison-table tr.is-selected th[scope='row']{background:var(--drc-surface-subtle);color:var(--drc-heading);font-weight:700;}
#district-report-card-module .drc-sped-local-bars{margin-top:14px;}
#district-report-card-module .drc-sped-grossnet-district{padding:10px 0 12px;border-bottom:1px solid #e7e7e7;}
#district-report-card-module .drc-sped-grossnet-district:last-child{border-bottom:0;}
#district-report-card-module .drc-sped-grossnet-district>strong{display:block;margin-bottom:5px;}
#district-report-card-module .drc-sped-grossnet-district.is-selected>strong{color:var(--drc-primary);}
#district-report-card-module .drc-sped-net-bar{opacity:.72;}
@media(max-width:680px){#district-report-card-module .drc-sped-subview-controls{display:block;}#district-report-card-module .drc-sped-subview-control{min-width:0;margin-bottom:12px;}#district-report-card-module .drc-sped-subview-control:last-child{margin-bottom:0;}}

/* DRC 26.8.5 PERMANENT REPORT LINKS */
#district-report-card-module .drc-permalink-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:1.75rem;
    height:1.75rem;
    margin-left:.4rem;
    padding:0;
    border:0;
    border-radius:3px;
    background:transparent;
    color:inherit;
    font:inherit;
    line-height:1;
    vertical-align:middle;
    cursor:pointer;
}
#district-report-card-module .drc-permalink-button:hover,
#district-report-card-module .drc-permalink-button:focus-visible{
    background:rgba(36,75,116,.10);
    outline:2px solid currentColor;
    outline-offset:2px;
}
#district-report-card-module .drc-permalink-feedback{
    display:inline-block;
    margin-left:.35rem;
    font-size:.78em;
    font-weight:600;
    vertical-align:middle;
}
#district-report-card-module .drc-permalink-notice{
    margin-top:10px;
}
#district-report-card-module [data-drc-permalink-anchor]{
    scroll-margin-top:16px;
}

/* DRC 26.8.5 PERMALINK ICON REFINEMENT */
#district-report-card-module h3[data-drc-permalink-anchor],
#district-report-card-module h4[data-drc-permalink-anchor]{
    position:relative;
    padding-right:2.15rem;
}
#district-report-card-module .drc-permalink-button{
    position:absolute;
    top:50%;
    right:0;
    transform:translateY(-50%);
    width:1.65rem;
    height:1.65rem;
    margin:0;
    padding:.28rem;
    border:0;
    border-radius:4px;
    background:transparent;
    color:var(--drc-muted);
    font-size:inherit;
    line-height:1;
    vertical-align:baseline;
    opacity:.72;
}
#district-report-card-module .drc-permalink-button .drc-permalink-icon-svg{
    display:block;
    width:100%;
    height:100%;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
#district-report-card-module .drc-permalink-button:hover{
    background:rgba(149,0,6,.06);
    color:var(--drc-primary);
    opacity:1;
    outline:0;
}
#district-report-card-module .drc-permalink-button:focus-visible{
    background:rgba(149,0,6,.06);
    color:var(--drc-primary);
    opacity:1;
    outline:2px solid var(--drc-primary);
    outline-offset:2px;
}
#district-report-card-module .drc-permalink-feedback{
    position:absolute;
    z-index:20;
    top:calc(100% + .2rem);
    right:0;
    display:block;
    margin:0;
    padding:.28rem .45rem;
    border:1px solid #d5d9dd;
    border-radius:4px;
    background:var(--drc-panel-bg);
    color:var(--drc-text);
    box-shadow:0 2px 6px rgba(0,0,0,.10);
    font-size:.72em;
    font-weight:600;
    line-height:1.2;
    white-space:nowrap;
}
@media(max-width:680px){
    #district-report-card-module h3[data-drc-permalink-anchor],
    #district-report-card-module h4[data-drc-permalink-anchor]{
        padding-right:1.95rem;
    }
    #district-report-card-module .drc-permalink-button{
        width:1.5rem;
        height:1.5rem;
        padding:.24rem;
    }
}

/* DRC 26.8.5 CLEAN DEFAULT URL + PROFILE HEADER V2 */
/*
 * The District Academic Profile already states the selected student group in
 * its explanatory line. Hide the duplicate right-side badge so the permalink
 * utility can own the clean right edge of the heading.
 */
#district-report-card-module .drc-snapshot26-profile .drc-profile-context{
    display:none;
}
#district-report-card-module .drc-snapshot26-profile .drc-panel-title-row > div:first-child{
    flex:1 1 100%;
    min-width:0;
    width:100%;
}
#district-report-card-module .drc-snapshot26-subject-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:stretch;
}
#district-report-card-module .drc-snapshot26-subject-card{
    display:flex;
    flex-direction:column;
    gap:5px;
    min-width:0;
    padding:14px 15px;
}
#district-report-card-module .drc-snapshot26-subject-card .drc-metric-value{
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-snapshot26-subject-card .drc-snapshot26-peer-context{
    color:var(--drc-heading);
    font-weight:700;
}
#district-report-card-module .drc-snapshot26-comparison-note{
    margin:12px 0 0;
}
@media(max-width:900px){
    #district-report-card-module .drc-snapshot26-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:600px){
    #district-report-card-module .drc-snapshot26-subject-grid{grid-template-columns:1fr;}
}


/* DRC 26.8.5 STUDENTS DOMAIN */
#district-report-card-module .drc-students-controls[hidden]{display:none;}
#district-report-card-module .drc-students-outcome-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0;}
#district-report-card-module .drc-students-outcome-card{min-width:0;padding:14px 15px;border-top:4px solid var(--drc-primary);}
#district-report-card-module .drc-students-table{min-width:780px;}
#district-report-card-module .drc-students-table tr.is-latest td{background:var(--drc-surface-subtle);}
@media(max-width:900px){#district-report-card-module .drc-students-outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){#district-report-card-module .drc-domain-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}#district-report-card-module .drc-students-outcome-grid{grid-template-columns:1fr;}}

/* DRC 26.8.5 STUDENTS FULL SUCCESS PARITY */
#district-report-card-module .drc-students-controls .drc-control[hidden]{
    display:none;
}
#district-report-card-module .drc-students-profile-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
}
#district-report-card-module .drc-students-profile-grid .drc-card{
    min-width:0;
}
#district-report-card-module .drc-student-context-profile{
    margin-top:14px;
}
#district-report-card-module .drc-student-context-list{
    display:grid;
    gap:6px;
}
#district-report-card-module .drc-student-context-key{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 18px;
    margin:0 10px 4px;
    color:var(--drc-muted);
    font-size:1em;
}
#district-report-card-module .drc-student-context-key span{
    display:inline-flex;
    align-items:center;
    gap:7px;
}
#district-report-card-module .drc-student-context-key b{
    display:inline-block;
    flex:0 0 auto;
}
#district-report-card-module .drc-student-context-key .is-district{
    width:24px;
    height:12px;
    border-radius:4px;
    background:var(--drc-chart-1);
}
#district-report-card-module .drc-student-context-key .is-neighbor{
    position:relative;
    width:3px;
    height:18px;
    margin:0 9px 0 3px;
    border-left:3px dashed var(--drc-text);
}
#district-report-card-module .drc-student-context-key .is-neighbor::after{
    content:"";
    position:absolute;
    left:-5px;
    top:50%;
    width:6px;
    height:6px;
    background:var(--drc-panel-bg);
    border:2px solid var(--drc-text);
    transform:translateY(-50%) rotate(45deg);
}
#district-report-card-module .drc-student-context-axis-row{
    display:grid;
    grid-template-columns:minmax(235px,max-content) minmax(220px,1fr) max-content;
    gap:14px;
    align-items:end;
    padding:0 10px 2px;
    color:var(--drc-chart-label);
    font-size:1em;
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-student-context-axis-heading,
#district-report-card-module .drc-student-context-axis-value-heading{
    font-weight:700;
}
#district-report-card-module .drc-student-context-axis-value-heading{
    text-align:right;
}
#district-report-card-module .drc-student-context-axis-plot{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    min-width:0;
    border-bottom:1px solid var(--drc-chart-axis);
    padding-bottom:5px;
}
#district-report-card-module .drc-student-context-axis-plot span{
    position:relative;
    text-align:center;
    line-height:1;
}
#district-report-card-module .drc-student-context-axis-plot span::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:-6px;
    width:1px;
    height:5px;
    background:var(--drc-chart-axis);
}
#district-report-card-module .drc-student-context-axis-plot span:first-child{text-align:left;}
#district-report-card-module .drc-student-context-axis-plot span:first-child::after{left:0;}
#district-report-card-module .drc-student-context-axis-plot span:last-child{text-align:right;}
#district-report-card-module .drc-student-context-axis-plot span:last-child::after{left:auto;right:0;}
#district-report-card-module .drc-student-context-row{
    display:grid;
    grid-template-columns:minmax(235px,max-content) minmax(220px,1fr) max-content;
    gap:14px;
    align-items:center;
    padding:8px 10px;
    border-radius:6px;
}
#district-report-card-module .drc-student-context-row:nth-child(even){
    background:var(--drc-surface-subtle);
}
#district-report-card-module .drc-student-context-label{
    display:flex;
    align-items:flex-start;
    gap:8px;
    min-width:0;
    color:var(--drc-chart-label);
    line-height:1.35;
}
#district-report-card-module .drc-student-context-label strong{
    overflow-wrap:anywhere;
}
#district-report-card-module .drc-student-context-swatch{
    width:13px;
    height:13px;
    margin-top:3px;
    border-radius:3px;
    flex:0 0 auto;
}
#district-report-card-module .drc-student-context-track-wrap{min-width:0;}
#district-report-card-module .drc-student-context-track{
    position:relative;
    height:30px;
    overflow:visible;
    border:1px solid var(--drc-border);
    border-radius:6px;
    background-color:var(--drc-chart-background);
    background-image:linear-gradient(to right,
        transparent 24.8%,var(--drc-chart-grid) 24.8%,var(--drc-chart-grid) 25.2%,
        transparent 25.2%,transparent 49.8%,var(--drc-chart-grid) 49.8%,
        var(--drc-chart-grid) 50.2%,transparent 50.2%,transparent 74.8%,
        var(--drc-chart-grid) 74.8%,var(--drc-chart-grid) 75.2%,transparent 75.2%);
    box-shadow:inset 0 0 0 1px rgba(0,0,0,.04);
}
#district-report-card-module .drc-student-context-track.is-unavailable{
    background-color:var(--drc-surface-subtle);
    background-image:none;
}
#district-report-card-module .drc-student-context-fill{
    position:relative;
    z-index:1;
    display:block;
    height:100%;
    min-width:0;
    border-radius:5px;
    print-color-adjust:exact;
    -webkit-print-color-adjust:exact;
}
#district-report-card-module .drc-student-context-benchmark{
    position:absolute;
    top:-4px;
    bottom:-4px;
    width:0;
    border-left:3px dashed var(--drc-text);
    transform:translateX(-50%);
    z-index:3;
    pointer-events:none;
}
#district-report-card-module .drc-student-context-benchmark::after{
    content:"";
    position:absolute;
    left:-5px;
    top:50%;
    width:7px;
    height:7px;
    background:var(--drc-panel-bg);
    border:2px solid var(--drc-text);
    transform:translateY(-50%) rotate(45deg);
}
#district-report-card-module .drc-student-context-tiny-edge{
    position:absolute;
    left:0;
    top:3px;
    bottom:3px;
    width:2px;
    border-left:2px solid var(--drc-text);
    z-index:2;
    pointer-events:none;
}
#district-report-card-module .drc-student-context-row.is-sped .drc-student-context-fill,
#district-report-card-module .drc-student-context-row.is-sped .drc-student-context-swatch{background:var(--drc-chart-1);}
#district-report-card-module .drc-student-context-row.is-frp .drc-student-context-fill,
#district-report-card-module .drc-student-context-row.is-frp .drc-student-context-swatch{background:var(--drc-chart-2);}
#district-report-card-module .drc-student-context-row.is-el .drc-student-context-fill,
#district-report-card-module .drc-student-context-row.is-el .drc-student-context-swatch{background:var(--drc-chart-3);}
#district-report-card-module .drc-student-context-row.is-color-aian .drc-student-context-fill,
#district-report-card-module .drc-student-context-row.is-color-aian .drc-student-context-swatch{background:var(--drc-chart-4);}
#district-report-card-module .drc-student-context-row.is-homeless .drc-student-context-fill,
#district-report-card-module .drc-student-context-row.is-homeless .drc-student-context-swatch{background:var(--drc-chart-5);}
#district-report-card-module .drc-student-context-value{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    min-width:0;
    color:var(--drc-muted);
    font-variant-numeric:tabular-nums;
    line-height:1.3;
    text-align:right;
}
#district-report-card-module .drc-student-context-primary{
    display:flex;
    align-items:baseline;
    justify-content:flex-end;
    gap:4px;
    white-space:nowrap;
}
#district-report-card-module .drc-student-context-value strong{color:var(--drc-heading);}
#district-report-card-module .drc-students-success-overview{
    margin:16px 0 18px;
}
#district-report-card-module .drc-students-success-overview-heading h4{
    margin:0 0 4px;
    font-size:1.08em;
}
#district-report-card-module .drc-students-success-overview-heading p{
    margin:0;
    color:var(--drc-muted);
    font-size:1em;
}
#district-report-card-module .drc-students-success-legend{
    display:flex;
    flex-wrap:wrap;
    gap:8px 18px;
    margin:12px 0 8px;
    color:var(--drc-muted);
}
#district-report-card-module .drc-students-success-legend span{
    display:inline-flex;
    align-items:center;
    gap:7px;
}
#district-report-card-module .drc-students-success-legend b{
    display:inline-block;
    width:12px;
    height:12px;
    flex:0 0 auto;
}
#district-report-card-module .drc-students-success-legend .is-district,
#district-report-card-module .drc-student-success-marker.is-district{
    border-radius:50%;
    background:var(--drc-primary);
}
#district-report-card-module .drc-students-success-legend .is-state,
#district-report-card-module .drc-student-success-marker.is-state{
    border-radius:2px;
    background:var(--drc-chart-3);
}
#district-report-card-module .drc-students-success-legend .is-neighbor,
#district-report-card-module .drc-student-success-marker.is-neighbor{
    border:2px solid var(--drc-accent);
    background:var(--drc-panel-bg);
    transform:rotate(45deg);
}
#district-report-card-module .drc-students-success-list{
    display:grid;
    gap:10px;
}
#district-report-card-module .drc-student-success-row{
    display:grid;
    grid-template-columns:minmax(220px,1.15fr) minmax(180px,1.2fr) minmax(410px,2.2fr);
    gap:14px;
    align-items:center;
    min-width:0;
    padding:10px;
    border-radius:6px;
}
#district-report-card-module .drc-student-success-row:nth-child(even){
    background:var(--drc-surface-subtle);
}
#district-report-card-module .drc-student-success-label{
    display:flex;
    flex-direction:column;
    min-width:0;
    color:var(--drc-chart-label);
}
#district-report-card-module .drc-student-success-label strong{
    line-height:1.25;
}
#district-report-card-module .drc-student-success-label small{
    margin-top:3px;
    color:var(--drc-muted);
}
#district-report-card-module .drc-student-success-plot{
    min-width:0;
}
#district-report-card-module .drc-student-success-track{
    position:relative;
    height:26px;
    border-bottom:2px solid var(--drc-chart-axis);
    background:var(--drc-chart-background);
}
#district-report-card-module .drc-student-success-gridline{
    position:absolute;
    top:0;
    bottom:0;
    width:1px;
    background:var(--drc-chart-grid);
}
#district-report-card-module .drc-student-success-gridline.is-start{left:0;}
#district-report-card-module .drc-student-success-gridline.is-middle{left:50%;}
#district-report-card-module .drc-student-success-gridline.is-end{right:0;}
#district-report-card-module .drc-student-success-marker{
    position:absolute;
    top:50%;
    width:14px;
    height:14px;
    z-index:1;
    transform:translate(-50%,-50%);
}
#district-report-card-module .drc-student-success-marker.is-neighbor{
    transform:translate(-50%,-50%) rotate(45deg);
}
#district-report-card-module .drc-student-success-axis{
    display:flex;
    justify-content:space-between;
    color:var(--drc-chart-label);
    font-size:.95em;
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-student-success-values{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(8.5em,1fr));
    gap:8px;
    min-width:0;
}
#district-report-card-module .drc-student-success-exact{
    display:flex;
    flex-direction:column;
    min-width:0;
    color:var(--drc-muted);
    font-size:.95em;
    line-height:1.25;
}
#district-report-card-module .drc-student-success-exact strong{
    color:var(--drc-heading);
    font-variant-numeric:tabular-nums;
    white-space:nowrap;
}
#district-report-card-module .drc-students-compare-bars{
    margin:14px 0;
}
#district-report-card-module .drc-students-barrow{
    display:grid;
    grid-template-columns:minmax(180px,.8fr) minmax(220px,2fr) minmax(90px,.45fr);
    gap:10px;
    align-items:center;
    margin:8px 0;
}
#district-report-card-module .drc-students-barrow.is-focus{
    font-weight:700;
}
#district-report-card-module .drc-students-bartrack{
    height:14px;
    background:var(--drc-surface-subtle);
    border-radius:2px;
    overflow:hidden;
}
#district-report-card-module .drc-students-barfill{
    height:100%;
    background:var(--drc-accent);
}
#district-report-card-module .drc-students-barrow.is-focus .drc-students-barfill{
    background:var(--drc-primary);
}
#district-report-card-module .drc-students-barvalue{
    text-align:right;
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-students-legend{
    gap:16px;
    margin:4px 0 12px;
}
#district-report-card-module .drc-students-legend b{
    width:18px;
    height:3px;
    display:inline-block;
}
#district-report-card-module .drc-students-legend .is-focus{background:var(--drc-primary);}
#district-report-card-module .drc-students-legend .is-neighbor{background:var(--drc-accent);}
#district-report-card-module .drc-students-legend .is-state{background:var(--drc-chart-3);}
#district-report-card-module .drc-students-trend-svg{
    min-width:720px;
}
#district-report-card-module .drc-students-gap-callout{
    margin:10px 0;
    padding:10px 12px;
    border-left:4px solid #777;
    background:var(--drc-surface-subtle);
    color:var(--drc-muted);
    font-size:86%;
}
#district-report-card-module .drc-students-needs-compare td,
#district-report-card-module .drc-students-needs-compare th{
    white-space:nowrap;
}
#district-report-card-module .drc-students-needs-compare tr.is-focus td{
    background:var(--drc-surface-subtle);
    font-weight:700;
}
#district-report-card-module .drc-students-ranking tr.is-focus td,
#district-report-card-module .drc-students-groups tr.is-focus td,
#district-report-card-module .drc-students-comparison tr.is-focus td{
    background:var(--drc-surface-subtle);
    font-weight:700;
}
@media(max-width:900px){
    #district-report-card-module .drc-students-profile-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    #district-report-card-module .drc-student-context-row{
        grid-template-columns:minmax(205px,1.2fr) minmax(165px,1.8fr);
    }
    #district-report-card-module .drc-student-context-axis-row{
        grid-template-columns:minmax(205px,1.2fr) minmax(165px,1.8fr);
    }
    #district-report-card-module .drc-student-context-axis-value-heading{
        display:none;
    }
    #district-report-card-module .drc-student-context-value{
        grid-column:2;
        align-items:flex-start;
        text-align:left;
    }
    #district-report-card-module .drc-student-success-row{
        grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,1.7fr);
    }
    #district-report-card-module .drc-student-context-primary{
        justify-content:flex-start;
    }
}
@media(max-width:700px){
    #district-report-card-module .drc-students-profile-grid{
        grid-template-columns:1fr;
    }
    #district-report-card-module .drc-students-barrow{
        grid-template-columns:1fr;
        gap:4px;
        padding:8px 0;
        border-bottom:1px solid var(--drc-border);
    }
    #district-report-card-module .drc-students-barvalue{
        text-align:left;
    }
    #district-report-card-module .drc-student-context-row{
        grid-template-columns:1fr;
        gap:7px;
        padding:10px;
    }
    #district-report-card-module .drc-student-context-axis-row{
        grid-template-columns:1fr;
        padding:0 10px 2px;
    }
    #district-report-card-module .drc-student-context-axis-heading,
    #district-report-card-module .drc-student-context-axis-value-heading{
        display:none;
    }
    #district-report-card-module .drc-student-context-value{
        grid-column:auto;
        align-items:flex-start;
        text-align:left;
    }
    #district-report-card-module .drc-student-success-row{
        grid-template-columns:1fr;
        gap:8px;
    }
    #district-report-card-module .drc-student-success-values{
        gap:10px;
    }
}

/* Student Context Profile desktop lane contract.  The profile owns one
 * chart-local intrinsic label/value measurement: max-content values establish
 * the left and right gutters, fit-content bounds keep pathological content
 * from displacing the graph, and the middle lane receives all remaining
 * width.  The axis, list, and rows use subgrid so their 0..100 track and
 * content columns cannot drift apart. */
@media(min-width:901px){
    #district-report-card-module .drc-student-context-profile{
        display:grid;
        grid-template-columns:
            fit-content(300px)
            minmax(220px,1fr)
            fit-content(280px);
        column-gap:14px;
        min-width:0;
    }
    #district-report-card-module .drc-student-context-profile > .drc-student-context-key,
    #district-report-card-module .drc-student-context-profile > .drc-student-context-axis-row,
    #district-report-card-module .drc-student-context-profile > .drc-student-context-list{
        grid-column:1 / -1;
        min-width:0;
    }
    #district-report-card-module .drc-student-context-profile > .drc-student-context-axis-row{
        grid-template-columns:subgrid;
        column-gap:14px;
    }
    #district-report-card-module .drc-student-context-profile > .drc-student-context-list{
        grid-template-columns:subgrid;
        column-gap:14px;
    }
    #district-report-card-module .drc-student-context-list > .drc-student-context-row{
        grid-column:1 / -1;
        grid-template-columns:subgrid;
        column-gap:14px;
    }
    #district-report-card-module .drc-student-context-primary{
        white-space:normal;
        overflow-wrap:anywhere;
    }
    #district-report-card-module .drc-student-context-label{
        min-width:190px;
    }
    #district-report-card-module .drc-student-context-value{
        min-width:150px;
    }
}

/* DRC 26.8.5 STUDENT OPPORTUNITIES */
#district-report-card-module .drc-opportunity-grid{margin-top:12px;}
#district-report-card-module .drc-opportunity-card .drc-card-value{font-variant-numeric:tabular-nums;}
#district-report-card-module .drc-opportunity-detail th:nth-child(n+3),
#district-report-card-module .drc-opportunity-detail td:nth-child(n+3),
#district-report-card-module .drc-opportunity-comparison th:nth-child(n+2),
#district-report-card-module .drc-opportunity-comparison td:nth-child(n+2){text-align:right;}
#district-report-card-module .drc-opportunity-comparison tr.is-focus td{background:var(--drc-surface-subtle);font-weight:700;}
#district-report-card-module .drc-opportunity-source-note{margin-top:12px;}
@media(max-width:700px){
  #district-report-card-module .drc-opportunity-detail,
  #district-report-card-module .drc-opportunity-comparison{min-width:720px;}
}


/* DRC 26.8.5 STUDENTS ENRICHMENT + CHANGE LOG */
#district-report-card-module .drc-students-guide{margin-top:18px;padding:16px;border:1px solid var(--drc-border,#d7dce2);border-radius:8px;background:var(--drc-surface-subtle,var(--drc-surface-subtle));}
#district-report-card-module .drc-students-guide h3{margin-top:0;}
#district-report-card-module .drc-students-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;}
#district-report-card-module .drc-students-guide-grid h4{margin:0 0 4px;} #district-report-card-module .drc-students-guide-grid p{margin:0;}
#district-report-card-module .drc-changelog-link{appearance:none;border:0;background:none;padding:0;font:inherit;font-weight:inherit;text-decoration:underline;cursor:pointer;}
#district-report-card-module .drc-changelog-modal[hidden]{display:none;} #district-report-card-module .drc-changelog-modal{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:20px;}
#district-report-card-module .drc-changelog-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55);} #district-report-card-module .drc-changelog-dialog{position:relative;width:min(900px,100%);max-height:86vh;display:flex;flex-direction:column;border-radius:8px;box-shadow:0 12px 40px rgba(0,0,0,.3);}
#district-report-card-module .drc-changelog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--drc-border,#d7dce2);} #district-report-card-module .drc-changelog-header h3{margin:0;} #district-report-card-module .drc-changelog-close{flex:0 0 auto;}
#district-report-card-module .drc-changelog-body{overflow:auto;padding:8px 18px 20px;}
@media(max-width:700px){#district-report-card-module .drc-students-guide-grid{grid-template-columns:1fr;}#district-report-card-module .drc-changelog-modal{padding:10px;align-items:flex-start;}#district-report-card-module .drc-changelog-dialog{max-height:94vh;}}


/* DRC 26.8.5 DEV MANUAL-QA CORRECTIVE 1 */

#district-report-card-module .drc-footer > strong{
    font-weight:500;
}
#district-report-card-module .drc-footer > strong > a{
    font-weight:600;
}
#district-report-card-module .drc-footer-link{
    appearance:none;
    display:inline-block;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:var(--drc-link,var(--drc-primary)) !important;
    font:inherit;
    font-weight:600 !important;
    line-height:inherit !important;
    text-decoration:none !important;
    vertical-align:baseline;
    cursor:pointer;
    opacity:1 !important;
}
#district-report-card-module .drc-changelog-dialog{
    width:min(860px,calc(100vw - 40px));
    max-height:min(86vh,780px);
    overflow:hidden;
    font-family:inherit;
    border:1px solid var(--drc-border,#dee2e6);
    border-radius:8px;
}
#district-report-card-module .drc-changelog-header{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:14px 18px;
    border-bottom:1px solid var(--drc-border,#dee2e6);
}
#district-report-card-module .drc-changelog-header h3{
    flex:1 1 auto;
    min-width:0;
    margin:0 !important;
    color:var(--drc-text,#272727);
    font-family:inherit !important;
    font-size:20px !important;
    font-weight:600 !important;
    line-height:1.25 !important;
    letter-spacing:0;
}
#district-report-card-module .drc-changelog-close{
    appearance:none;
    flex:0 0 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:6px 11px !important;
    border:1px solid #b9bec5 !important;
    border-radius:4px !important;
    background:var(--drc-panel-bg) !important;
    color:var(--drc-text) !important;
    font-family:inherit !important;
    font-size:13px !important;
    font-weight:500 !important;
    line-height:1.2 !important;
    box-shadow:none !important;
}
#district-report-card-module .drc-changelog-close:hover,
#district-report-card-module .drc-changelog-close:focus{
    border-color:var(--drc-primary,var(--drc-primary)) !important;
    color:var(--drc-primary,var(--drc-primary)) !important;
    background:var(--drc-panel-bg) !important;
}
#district-report-card-module .drc-changelog-body{
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    padding:0 20px 18px;
    font-family:inherit;
    font-size:14px;
    line-height:1.5;
}
#district-report-card-module .drc-changelog-body details{
    padding:16px 0;
    border-bottom:1px solid var(--drc-border,#dee2e6);
}
#district-report-card-module .drc-changelog-body details:last-child{
    border-bottom:0;
}
#district-report-card-module .drc-changelog-tools{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px 0 8px;
    border-bottom:1px solid var(--drc-border,#dee2e6);
}
#district-report-card-module .drc-changelog-tools label{
    flex:0 0 auto;
    color:var(--drc-muted,#666);
    font-size:12.5px;
    font-weight:600;
}
#district-report-card-module .drc-changelog-tools select{
    min-width:0;
    max-width:100%;
    padding:6px 8px;
    font:inherit;
}
#district-report-card-module .drc-changelog-release > summary{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) minmax(0,auto);
    gap:8px 12px;
    align-items:baseline;
    padding:4px 0;
    color:var(--drc-primary,var(--drc-primary));
    cursor:pointer;
    list-style-position:outside;
}
#district-report-card-module .drc-changelog-release > summary::marker{
    color:var(--drc-primary,var(--drc-primary));
}
#district-report-card-module .drc-changelog-release > summary:focus-visible{
    outline:2px solid var(--drc-primary,var(--drc-primary));
    outline-offset:3px;
}
#district-report-card-module .drc-changelog-version{
    font-family:Georgia,"Times New Roman",serif;
    font-size:16px;
    font-weight:700;
    white-space:nowrap;
}
#district-report-card-module .drc-changelog-summary-title{
    min-width:0;
    color:var(--drc-text,#272727);
    font-weight:600;
}
#district-report-card-module .drc-changelog-summary-status{
    color:var(--drc-muted,#666);
    font-size:12.5px;
    white-space:nowrap;
}
#district-report-card-module .drc-changelog-release > :not(summary){
    margin-left:22px;
}
#district-report-card-module .drc-changelog-date{
    margin:0 0 10px;
    color:var(--drc-muted,#666);
    font-size:12.5px;
    font-weight:400;
}
#district-report-card-module .drc-changelog-body ul{
    margin:7px 0 10px;
    padding-left:21px;
}
#district-report-card-module .drc-changelog-body li{
    margin:3px 0;
}
#district-report-card-module .drc-changelog-body p{
    margin:7px 0;
}
#district-report-card-module .drc-changelog-body strong{
    font-weight:600;
}

@media(max-width:700px){
    #district-report-card-module .drc-changelog-modal{
        padding:10px;
    }
    #district-report-card-module .drc-changelog-dialog{
        width:100%;
        max-height:calc(100vh - 20px);
    }
    #district-report-card-module .drc-changelog-header{
        gap:10px;
        padding:12px 14px;
    }
    #district-report-card-module .drc-changelog-header h3{
        font-size:18px !important;
    }
    #district-report-card-module .drc-changelog-body{
        padding:0 14px 16px;
        font-size:13.5px;
    }
    #district-report-card-module .drc-changelog-tools{
        align-items:stretch;
        flex-direction:column;
        gap:5px;
    }
    #district-report-card-module .drc-changelog-tools select{
        width:100%;
    }
    #district-report-card-module .drc-changelog-release > summary{
        grid-template-columns:auto minmax(0,1fr);
        gap:3px 8px;
    }
    #district-report-card-module .drc-changelog-summary-status{
        grid-column:2;
        white-space:normal;
    }
    #district-report-card-module .drc-changelog-release > :not(summary){
        margin-left:18px;
    }
}

/* District Report Card 26.10.5 - Snapshot semantic presentation. */
#district-report-card-module .drc-snapshot26{min-width:0;}
#district-report-card-module .drc-snapshot-page-title{
    margin:0 0 6px;
    color:var(--drc-primary);
    font-size:clamp(24px,2vw,26px);
    line-height:1.2;
    font-weight:700;
}
#district-report-card-module .drc-snapshot-description{
    margin:0 0 10px;
}
#district-report-card-module .drc-snapshot-intro .drc-callout{
    margin:10px 0 0;
    padding:10px 12px;
    border-left:4px solid var(--drc-primary,var(--drc-primary));
    background:var(--drc-surface-subtle);
    border-radius:3px;
}
#district-report-card-module .drc-snapshot-table-wrap{
    width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;
}
#district-report-card-module .drc-snapshot-table{
    width:100%;min-width:720px;table-layout:fixed;
}
#district-report-card-module .drc-snapshot-table th,
#district-report-card-module .drc-snapshot-table td{
    vertical-align:top;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
}
#district-report-card-module .drc-snapshot-table th:nth-child(1),
#district-report-card-module .drc-snapshot-table td:nth-child(1){width:30%;}
#district-report-card-module .drc-snapshot-table th:nth-child(2),
#district-report-card-module .drc-snapshot-table td:nth-child(2){width:16%;}
#district-report-card-module .drc-snapshot-table th:nth-child(3),
#district-report-card-module .drc-snapshot-table td:nth-child(3){width:27%;}
#district-report-card-module .drc-snapshot-table th:nth-child(4),
#district-report-card-module .drc-snapshot-table td:nth-child(4){width:27%;}
#district-report-card-module .drc-snapshot-measure strong{display:block;line-height:1.25;}
#district-report-card-module .drc-snapshot-measure-meta{
    display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px;margin-top:6px;color:var(--drc-muted);
}
#district-report-card-module .drc-snapshot-focus{
    font-weight:800;color:var(--drc-primary,var(--drc-primary));white-space:nowrap;
}
#district-report-card-module .drc-snapshot-domain-tag{
    display:inline-block;font-weight:700;letter-spacing:.02em;
    padding:2px 6px;border-radius:3px;background:var(--drc-surface-subtle);color:var(--drc-accent);
}
#district-report-card-module .drc-snapshot-domain-panel{
    background:var(--drc-panel-bg);border:1px solid var(--drc-border,#dee2e6);
    border-top:5px solid var(--drc-primary,var(--drc-primary));border-radius:4px;
    padding:17px 18px;margin:16px 0;
}
#district-report-card-module .drc-snapshot-domain-head{
    display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
}
#district-report-card-module .drc-snapshot-domain-head h3{
    color:var(--drc-primary,var(--drc-primary));margin:0 0 5px;
}
#district-report-card-module .drc-snapshot-domain-head p{
    margin:0 0 14px;color:var(--drc-muted);max-width:760px;
}
#district-report-card-module .drc-snapshot-explore{
    flex:0 0 auto;border:1px solid var(--drc-primary,var(--drc-primary));
    background:var(--drc-panel-bg);color:var(--drc-primary,var(--drc-primary));font-weight:700;
    border-radius:4px;padding:8px 11px;cursor:pointer;
}
#district-report-card-module .drc-snapshot-explore:hover,
#district-report-card-module .drc-snapshot-explore:focus{
    background:var(--drc-primary,var(--drc-primary));color:var(--drc-button-text);
}
#district-report-card-module .drc-snapshot-card-grid{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:0;
}
#district-report-card-module .drc-snapshot-card{
    min-width:0;background:var(--drc-surface-subtle);border:1px solid var(--drc-border,#dee2e6);
    border-radius:4px;padding:13px 14px;
}
#district-report-card-module .drc-snapshot-card-label{
    color:var(--drc-muted);
}
#district-report-card-module .drc-snapshot-card-value{
    color:var(--drc-primary,var(--drc-primary));
}
#district-report-card-module .drc-snapshot-card-context{color:var(--drc-muted);}
#district-report-card-module .drc-snapshot-card-context span{color:var(--drc-muted);}
#district-report-card-module a.drc-snapshot-card-link,
#district-report-card-module a.drc-snapshot-card-link:visited{
    display:block;color:inherit;text-decoration:none;
}
#district-report-card-module a.drc-snapshot-card-link:hover,
#district-report-card-module a.drc-snapshot-card-link:focus-visible{
    color:inherit;text-decoration:none;border-color:var(--drc-primary);
}
#district-report-card-module .drc-snapshot-academic-grid{
   display:grid;
   grid-template-columns:repeat(2,minmax(0,1fr));
   align-items:start;
   gap:14px;
}
#district-report-card-module .drc-snapshot-academic-stack{
   display:grid;
   gap:14px;
   align-content:start;
   min-width:0;
}
#district-report-card-module .drc-snapshot-academic-card{
   min-width:0;
   border:1px solid var(--drc-border);
   border-radius:4px;
   padding:15px 16px;
   background:var(--drc-surface-subtle);
}
#district-report-card-module a.drc-snapshot-academic-card-link,
#district-report-card-module a.drc-snapshot-academic-card-link:visited{
   display:block;color:inherit;text-decoration:none;
}
#district-report-card-module a.drc-snapshot-academic-card-link:hover,
#district-report-card-module a.drc-snapshot-academic-card-link:focus-visible{
   color:inherit;text-decoration:none;border-color:var(--drc-primary);
}
#district-report-card-module .drc-snapshot-academic-card .drc-subsection-title{
   margin:0 0 13px;
   color:var(--drc-primary);
}
#district-report-card-module .drc-snapshot-academic-measure+.drc-snapshot-academic-measure{
   margin-top:15px;
   border-top:1px solid var(--drc-border);
   padding-top:15px;
}
#district-report-card-module .drc-snapshot-early-literacy.is-missing{opacity:.82;}
#district-report-card-module .drc-snapshot-literacy-caption{
   margin:-2px 0 6px;
   color:var(--drc-text);
   font-weight:700;
}
#district-report-card-module .drc-snapshot-literacy-note{
   margin:8px 0 0;
   color:var(--drc-muted);
}
#district-report-card-module .drc-snapshot-source-note{margin-top:18px;}
@media(max-width:900px){
    #district-report-card-module .drc-domain-tabs{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:700px){
    #district-report-card-module .drc-domain-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}
    #district-report-card-module .drc-snapshot-table{min-width:720px;}
    #district-report-card-module .drc-snapshot-domain-head{display:block;}
    #district-report-card-module .drc-snapshot-explore{margin-top:12px;width:100%;}
    #district-report-card-module .drc-snapshot-card-grid{grid-template-columns:1fr;}
    #district-report-card-module .drc-snapshot-academic-grid{grid-template-columns:1fr;}
}


/* District Report Card 26.9.2 - manual QA refinement v13 */
#district-report-card-module .drc-footer .drc-version-legacy-link,
#district-report-card-module .drc-footer .drc-version-legacy-link:visited,
#district-report-card-module .drc-footer .drc-version-legacy-link:hover,
#district-report-card-module .drc-footer .drc-version-legacy-link:focus{
    color:inherit!important;
    background:transparent!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
    font:inherit!important;
    font-weight:inherit!important;
    line-height:inherit!important;
    letter-spacing:inherit!important;
    text-decoration:none!important;
    box-shadow:none!important;
    outline-offset:2px;
}
#district-report-card-module .drc-salary-context{margin-top:16px;}
#district-report-card-module .drc-salary-context h3{margin-bottom:6px;}
#district-report-card-module .drc-salary-context .drc-table-wrap{margin-top:12px;}
#district-report-card-module .drc-salary-context table th,
#district-report-card-module .drc-salary-context table td{
    white-space:normal!important;
    vertical-align:top;
}
#district-report-card-module .drc-salary-context-note{margin-top:10px;}


/* District Report Card 26.9.2 - targeted refinement v14 */
@media(min-width:701px){
    #district-report-card-module .drc-snapshot-domain-head{
        display:grid!important;
        grid-template-columns:minmax(0,1fr) max-content!important;
        align-items:start!important;
        gap:18px!important;
    }
    #district-report-card-module .drc-snapshot-domain-head > div{min-width:0!important;}
    #district-report-card-module .drc-snapshot-domain-head p{max-width:none!important;}
    #district-report-card-module .drc-snapshot-explore{
        width:auto!important;
        min-width:0!important;
        max-width:max-content!important;
        justify-self:end!important;
        white-space:nowrap!important;
    }
}
@media(max-width:700px){
    #district-report-card-module .drc-snapshot-explore{width:100%!important;max-width:none!important;}
}
#district-report-card-module .drc-snapshot-category-link,
#district-report-card-module .drc-snapshot-category-link:visited,
#district-report-card-module .drc-snapshot-category-link:hover,
#district-report-card-module .drc-snapshot-category-link:focus{
    color:var(--drc-accent)!important;
    text-decoration:none!important;
}
#district-report-card-module .drc-changelog-body h4 .drc-changelog-version-link,
#district-report-card-module .drc-changelog-body h4 .drc-changelog-version-link:visited,
#district-report-card-module .drc-changelog-body h4 .drc-changelog-version-link:hover,
#district-report-card-module .drc-changelog-body h4 .drc-changelog-version-link:focus{
    color:inherit!important;
    background:transparent!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
    font:inherit!important;
    font-weight:inherit!important;
    line-height:inherit!important;
    letter-spacing:inherit!important;
    text-decoration:none!important;
    box-shadow:none!important;
}

/* 26.9.2 comparison intelligence */
.drc-similar-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px;margin-top:12px}
.drc-similar-peer{display:grid;grid-template-columns:1fr auto;gap:2px 8px;text-align:left;border:1px solid var(--drc-border);background:var(--drc-panel-bg);padding:9px 10px;border-radius:3px}
.drc-similar-peer strong{color:var(--drc-primary)}
.drc-similar-peer small{grid-column:1/-1;color:#5a6570}
.drc-comparison-modal{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.58);display:flex;align-items:center;justify-content:center;padding:18px}
.drc-comparison-modal-card{position:relative;max-width:760px;width:100%;max-height:88vh;overflow:auto;padding:22px;border-radius:5px;box-shadow:0 10px 40px rgba(0,0,0,.35)}
.drc-comparison-modal-close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:26px}
.drc-comparison-modal pre{white-space:pre-wrap;background:var(--drc-surface-subtle);padding:10px}
@media(max-width:600px){.drc-similar-list{grid-template-columns:1fr}}

/* M6ZBM approved hybrid achievement-gap dashboard. */
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--drc-space-card-gap);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card{min-width:0;padding:14px;min-height:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card h3{display:flex;align-items:center;gap:7px;margin:0;color:var(--drc-heading);font-size:var(--drc-font-size-chart-title);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values{margin:10px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values div{display:block;border-bottom:0;border-left:1px solid var(--drc-border);padding:0 9px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values div:first-child{border-left:0;padding-left:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values dt{font-size:.78rem;line-height:1.25;min-height:2.2em;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values dd{margin-top:4px;font-size:1.18rem;line-height:1.1;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values div:last-child dd{color:var(--drc-primary);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-link{display:none;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heatmap{margin-top:var(--drc-space-section);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:330px;font-size:.78rem;color:var(--drc-muted);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-label{display:inline-flex;align-items:center;gap:5px;color:var(--drc-text);font-weight:700;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-label b{display:inline-block;width:10px;height:10px;border-radius:50%;background:#c5232b;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-label.is-negative b{background:#155eaa;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale{display:inline-flex;height:16px;width:125px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale i{flex:1;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-neg-strong{background:#1664ac;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-neg-light{background:#b8d3ef;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-neutral{background:#f0f2f4;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-pos-light{background:#f4bfc2;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-scale .heat-pos-strong{background:#c5232b;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-state{display:inline-flex;align-items:center;gap:5px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-state b{display:inline-block;width:17px;height:17px;background:#dfe3e8;border:1px solid #c8cfd7;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heatmap-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-table{min-width:760px;table-layout:fixed;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-table th:first-child{width:125px;text-align:left;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-table th:not(:first-child){min-width:76px;text-align:center;white-space:nowrap;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-cell{padding:0!important;text-align:center;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button{display:flex;width:100%;min-height:48px;align-items:center;justify-content:center;border:0;border-radius:0;color:#173052;background:#f0f2f4;font:inherit;font-weight:700;font-variant-numeric:tabular-nums;cursor:pointer;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-negative{background:#b8d3ef;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-negative.heat-2{background:#8db7e4;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-negative.heat-3{background:#5f97d2;color:#102b4a;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-negative.heat-4,#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-negative.heat-5{background:#1664ac;color:#fff;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-positive{background:#f4bfc2;color:#6e1018;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-positive.heat-2{background:#ed9298;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-positive.heat-3{background:#dd626b;color:#fff;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-positive.heat-4,#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-positive.heat-5{background:#c5232b;color:#fff;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-unavailable{background:#dfe3e8;color:#5f6872;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button:hover,#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button.is-selected{box-shadow:inset 0 0 0 3px var(--drc-heading);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-heat-button:focus-visible{outline:3px solid var(--drc-focus);outline-offset:-3px;position:relative;z-index:1;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-hybrid{margin-top:var(--drc-space-section);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-tabs{display:flex;gap:0;border-bottom:1px solid var(--drc-border);margin:0 0 14px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-subject-tab{border:0;border-bottom:3px solid transparent;background:transparent;color:var(--drc-text);padding:10px 16px;font:inherit;font-weight:700;cursor:pointer;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-subject-tab+ .drc-academic-gap-subject-tab{border-left:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-subject-tab.is-active{border-bottom-color:var(--drc-primary);color:var(--drc-primary);background:var(--drc-surface-subtle);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-subject-tab:focus-visible{outline:3px solid var(--drc-focus);outline-offset:-3px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:14px;align-items:start;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-layout > #drc-gap-detail-panel{min-width:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-sidebar{border:1px solid var(--drc-border);background:var(--drc-surface-subtle);padding:14px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-sidebar h3{margin:0 0 12px;color:var(--drc-heading);font-size:1rem;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-sidebar dl{margin:0;border-top:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-sidebar dl div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-sidebar dt{color:var(--drc-muted);font-size:.86rem;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-sidebar dd{margin:0;font-weight:800;font-variant-numeric:tabular-nums;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-sidebar dd.is-gap{color:var(--drc-primary);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-sidebar p{margin:12px 0 0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-sidebar.is-unavailable{color:var(--drc-muted);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-selection{margin:0 0 8px;padding:8px 10px;border-left:4px solid var(--drc-primary);background:var(--drc-surface-subtle);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-methodology{margin-top:var(--drc-space-section);border:1px solid var(--drc-border);background:var(--drc-panel-bg);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-methodology>summary{padding:14px 16px;color:var(--drc-primary);font-weight:700;cursor:pointer;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-methodology-body{padding:0 14px 14px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-methodology-body .drc-academic-gap-table{margin-top:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-methodology-body .drc-academic-gap-table h2{display:none;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-methodology-body p{max-width:90ch;}
@media(max-width:900px){
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{grid-template-columns:1fr;}
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-section-head{display:block;}
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend{justify-content:flex-start;margin-top:10px;min-width:0;}
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-layout{grid-template-columns:1fr;}
}
@media(max-width:600px){
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values{grid-template-columns:1fr;}
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values div{border-left:0;border-top:1px solid var(--drc-border);padding:7px 0 0;margin-top:7px;}
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values div:first-child{border-top:0;padding-top:0;margin-top:0;}
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-tabs{overflow-x:auto;}
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-subject-tab{white-space:nowrap;padding:9px 12px;}
}

/* 26.9.2 integrated comparison, attribution, custom builder */
.drc-service-attribution{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:0 0 10px;padding:9px 12px;border:1px solid var(--drc-border);border-left:4px solid var(--drc-primary);background:var(--drc-panel-bg);font-size:13px;line-height:1.35}
.drc-service-attribution a{font-weight:700;color:var(--drc-primary)}
.drc-comparison-howto{border:0;background:transparent;color:var(--drc-accent);text-decoration:underline;padding:5px 0}
.drc-similar-refine{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid var(--drc-border)}
.drc-similar-refine label{display:flex;align-items:center;gap:5px;margin:0;font-weight:400}
.drc-similar-refine button,.drc-custom-actions button{border:1px solid var(--drc-accent);background:var(--drc-panel-bg);color:var(--drc-accent);padding:6px 10px;border-radius:3px}
.drc-similar-refine #drcComparisonApply,.drc-custom-actions #drcCustomApply{background:var(--drc-primary);border-color:var(--drc-primary);color:var(--drc-button-text)}
.drc-custom-builder{margin-top:12px;padding-top:10px;border-top:1px solid var(--drc-border)}
#drcCustomSearch{width:100%;padding:8px 10px;border:1px solid #bfc8d1}
.drc-custom-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.drc-custom-actions button:disabled{cursor:wait;opacity:.65}
.drc-custom-seed-status{flex-basis:100%;min-height:1.3em;font-size:84%;color:var(--drc-muted)}
@media(max-width:700px){.drc-service-attribution{display:block}.drc-service-attribution a{display:block;margin-top:3px}}

/* 26.9.2 comparison settings modal refinement */
#drcComparisonMode{display:none!important}
.drc-heading-with-settings{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.drc-comparison-settings-trigger{
  display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;
  padding:4px 8px;border:1px solid #b9c3cd;border-radius:3px;background:var(--drc-panel-bg);
  color:var(--drc-accent);font-weight:600;line-height:1.2
}
.drc-comparison-settings-trigger:hover,.drc-comparison-settings-trigger:focus{border-color:var(--drc-accent);background:var(--drc-surface-subtle)}
.drc-comparison-settings-gear{font-size:14px;line-height:1}
.drc-comparison-settings-modal .drc-comparison-modal-card{width:min(1100px,calc(100vw - 32px));max-width:1100px;max-height:90vh;overflow:auto}
.drc-settings-mode-row{
  display:grid;grid-template-columns:minmax(175px,.85fr) minmax(240px,1.25fr) auto;
  gap:10px 12px;align-items:center;margin:4px 0 14px;padding-bottom:12px;border-bottom:1px solid var(--drc-border)
}
.drc-settings-mode-row select{width:100%;min-height:36px}
.drc-settings-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.drc-settings-intro p{margin:0;max-width:68ch}
.drc-settings-presets{border:0;padding:0;margin:0 0 12px}
.drc-settings-presets legend{font-weight:700;margin-bottom:8px}
.drc-settings-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.drc-settings-preset{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;border:1px solid var(--drc-border);background:var(--drc-panel-bg);color:var(--drc-text);padding:12px;border-radius:5px;cursor:pointer}
.drc-settings-preset span{font-size:12px;line-height:1.35;color:var(--drc-muted)}
.drc-settings-preset:hover,.drc-settings-preset:focus-visible,.drc-settings-preset.is-selected{border-color:var(--drc-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--drc-primary) 18%,transparent)}
.drc-preset-preview{border-top:1px solid var(--drc-border);padding-top:12px}
.drc-preset-preview h4{margin:0 0 5px}
.drc-preset-cohort-preview{border:1px solid var(--drc-border);background:var(--drc-surface-subtle);padding:10px;margin:10px 0;max-height:260px;overflow:auto}
.drc-cohort-count{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;font-size:13px}
.drc-cohort-count span{color:var(--drc-muted)}
.drc-preset-cohort-list{margin:0;padding-left:24px;columns:2}
.drc-preset-cohort-list li{break-inside:avoid;margin:2px 0;font-size:12px}
.drc-secondary-action{border:1px solid var(--drc-accent);background:var(--drc-panel-bg);color:var(--drc-accent);padding:7px 12px;border-radius:3px}
.drc-secondary-action:disabled{opacity:.55;cursor:not-allowed}
.drc-comparison-error{color:var(--drc-danger,#9b1c1c)}
.drc-comparison-config-actions{align-items:center;border-top:1px solid var(--drc-border);padding-top:12px}
.drc-comparison-config-actions #drcComparisonConfigStatus{flex:1;color:var(--drc-muted);font-size:12px}
.drc-similar-refine{display:grid;grid-template-columns:1fr;gap:8px;margin:0 0 10px;padding:0;border:0}
.drc-similar-refine label{display:flex;align-items:center;gap:6px}
.drc-settings-footer{
  display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;
  margin-top:14px;padding-top:12px;border-top:1px solid var(--drc-border)
}
.drc-settings-footer button{padding:7px 12px;border:1px solid var(--drc-accent);background:var(--drc-panel-bg);color:var(--drc-accent);border-radius:3px}
.drc-settings-footer button.is-primary{background:var(--drc-primary);border-color:var(--drc-primary);color:var(--drc-button-text)}
.drc-settings-footer button:disabled{opacity:.55;cursor:not-allowed;background:var(--drc-surface-subtle);border-color:var(--drc-border);color:var(--drc-muted)}
.drc-settings-footer button:disabled:hover{background:var(--drc-surface-subtle);border-color:var(--drc-border);color:var(--drc-muted)}
.drc-custom-builder-modal .drc-custom-builder-intro{margin-bottom:10px}
.drc-custom-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.drc-custom-column{min-width:0;border:1px solid var(--drc-border);background:var(--drc-surface-subtle);padding:10px;border-radius:3px}
.drc-custom-column h4{margin:0 0 8px}
#drcCustomSearch{width:100%;padding:8px 10px;border:1px solid #bfc8d1;background:var(--drc-panel-bg)}
.drc-custom-results{margin-top:8px;max-height:310px;overflow:auto}
.drc-custom-result-row{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:7px 8px;border:0;border-bottom:1px solid #e2e6ea;background:var(--drc-panel-bg);text-align:left;color:var(--drc-text)
}
.drc-custom-result-row:hover,.drc-custom-result-row:focus{background:var(--drc-surface-subtle)}
.drc-custom-result-row span,.drc-custom-selected-row span{display:flex;flex-direction:column;min-width:0}
.drc-custom-result-row small,.drc-custom-selected-row small{font-size:11px;color:#68737d;font-weight:400}
.drc-custom-result-row b{color:var(--drc-primary);font-size:12px}
.drc-custom-selected-list{display:flex;flex-direction:column;gap:5px;max-height:360px;overflow:auto}
.drc-custom-selected-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px;min-width:0}
.drc-custom-selected-header h4{margin:0;min-width:0}
.drc-custom-selected-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:7px 8px;border:1px solid var(--drc-border);background:var(--drc-panel-bg);border-radius:3px
}
.drc-custom-selected-row button{border:0;background:transparent;color:var(--drc-primary);font-size:12px;text-decoration:underline}
.drc-custom-seed-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--drc-border)}
.drc-custom-seed-row>label{font-weight:700;white-space:nowrap}
.drc-custom-seed-row>select{min-width:260px;max-width:100%;min-height:34px}
.drc-custom-seed-row button{padding:7px 12px;border:1px solid var(--drc-accent);background:var(--drc-panel-bg);color:var(--drc-accent);border-radius:3px}
.drc-custom-seed-row #drcCustomClear{margin-left:auto}
.drc-custom-seed-row .drc-seed-apply{font-weight:600}
.drc-custom-seed-row #drcCustomSeedMembership select{max-width:240px;min-height:34px}
.drc-custom-sort-row{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:0;font-size:12px;color:var(--drc-muted);flex:0 0 auto}
.drc-custom-sort-row select{min-height:28px}
.drc-custom-validation{min-height:1.3em;margin-top:8px;font-size:12px;color:var(--drc-muted)}
.drc-custom-validation.is-error{color:var(--drc-danger,#9b1c1c);font-weight:600}
.drc-link-help-modal .drc-comparison-modal-card{width:min(820px,calc(100vw - 32px));max-width:820px}
.drc-link-help-definitions{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px 16px;margin:14px 0}
.drc-link-help-definitions dt{font-weight:700}
.drc-link-help-definitions dd{margin:0}
.drc-link-help-table{border-collapse:collapse;width:100%;font-size:13px}
.drc-link-help-table th,.drc-link-help-table td{border-bottom:1px solid var(--drc-border);padding:5px 8px;text-align:left}
.drc-link-help-example{overflow:auto}
#district-report-card-module .drc-insights-comparison-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#district-report-card-module .drc-fin-cohort-heading-row>.drc-comparison-settings-trigger{margin-left:auto}
@media(max-width:700px){
 .drc-custom-selected-header{align-items:flex-start;flex-wrap:wrap}
 .drc-custom-sort-row{margin-left:auto}
 .drc-settings-mode-row{grid-template-columns:1fr}
 .drc-settings-intro{display:block}
 .drc-settings-preset-grid{grid-template-columns:1fr}
 .drc-custom-columns{grid-template-columns:1fr}
 .drc-custom-results,.drc-custom-selected-list{max-height:250px}
 .drc-preset-cohort-list{columns:1}
 .drc-heading-with-settings{align-items:flex-start}
 .drc-comparison-settings-trigger{margin-left:0}
 .drc-custom-seed-row{align-items:stretch}
 .drc-custom-seed-row>label{width:100%}
 .drc-custom-seed-row>select,.drc-custom-seed-row #drcCustomSeedMembership,.drc-custom-seed-row #drcCustomSeedMembership select{width:100%;max-width:none}
 .drc-custom-seed-row button{flex:1 1 auto}
 .drc-custom-seed-row #drcCustomClear{margin-left:0}
 .drc-link-help-definitions{grid-template-columns:1fr;gap:4px}
 .drc-link-help-definitions dd{margin-bottom:8px}
}
@media(min-width:701px) and (max-width:980px){.drc-settings-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 26.9.2 comparison-link and nested-modal refinement */
.drc-heading-with-settings{
  display:flex!important;
  align-items:baseline!important;
  justify-content:space-between!important;
  gap:10px!important;
}
.drc-comparison-settings-trigger,
.drc-heading-with-settings .drc-comparison-settings-trigger{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  width:auto!important;
  min-width:0!important;
  margin:0 0 0 auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--drc-accent)!important;
  font-family:inherit!important;
  font-weight:600!important;
  line-height:1.2!important;
  min-height:0!important;
  height:auto!important;
  appearance:none!important;
  text-decoration:none!important;
  text-transform:none!important;
}
.drc-comparison-settings-trigger:hover,
.drc-comparison-settings-trigger:focus{
  background:transparent!important;
  color:var(--drc-primary)!important;
  text-decoration:underline!important;
}
.drc-comparison-settings-gear{font-size:18px!important;line-height:1!important}
#drcComparisonSubModal{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  pointer-events:auto!important;
}
#drcComparisonSubModal .drc-comparison-modal-card{
  position:relative!important;
  z-index:2147483001!important;
  pointer-events:auto!important;
}
@media(max-width:700px){
  .drc-heading-with-settings{align-items:baseline!important}
}

/* DRC 26.9.2 stable comparison chart presentation R10 */
#district-report-card-module h3.drc-heading-with-settings > .drc-comparison-section-settings-source{
    display:none!important;
}

#district-report-card-module .drc-comparison-chart-heading{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}

#district-report-card-module .drc-comparison-chart-heading > .drc-comparison-settings-source{
    display:none!important;
}

#district-report-card-module .drc-comparison-chart-heading > .drc-comparison-report-permalink{
    flex:0 0 auto;
    margin-left:auto;
}

#district-report-card-module .drc-comparison-chart-actions{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    margin:5px 0 7px;
    min-height:18px;
}

#district-report-card-module .drc-comparison-chart-actions .drc-comparison-settings-trigger{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    width:auto!important;
    min-width:0!important;
    color:var(--drc-muted);
    line-height:1.35;
    text-decoration:none;
}

#district-report-card-module .drc-comparison-chart-actions .drc-comparison-settings-trigger:hover,
#district-report-card-module .drc-comparison-chart-actions .drc-comparison-settings-trigger:focus{
    color:var(--drc-primary);
    text-decoration:underline;
    outline-offset:2px;
}

#district-report-card-module .drc-peer-table-scroll{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    margin-top:10px;
}

#district-report-card-module .drc-peer-detail-table{
    width:100%;
    table-layout:fixed;
    border-collapse:collapse;
}

#district-report-card-module .drc-peer-detail-table th,
#district-report-card-module .drc-peer-detail-table td{
    vertical-align:top;
    padding:8px 10px;
    overflow-wrap:anywhere;
    word-break:normal;
}

#district-report-card-module .drc-peer-detail-table th:first-child{
    width:22%;
    text-align:left;
}

#district-report-card-module .drc-peer-detail-table th:nth-child(2),
#district-report-card-module .drc-peer-detail-table th:nth-child(3){
    width:29%;
    text-align:right;
    white-space:normal;
}

#district-report-card-module .drc-peer-detail-table th:last-child{
    width:20%;
    text-align:right;
}

#district-report-card-module .drc-peer-detail-table .drc-peer-value,
#district-report-card-module .drc-peer-detail-table .drc-peer-similarity{
    text-align:right;
    white-space:nowrap;
}

#district-report-card-module .drc-peer-detail-table .drc-peer-similarity{
    font-weight:700;
}

#district-report-card-module .drc-peer-summary{
    margin-bottom:6px;
}

/* Peer detail must remain above Comparison Settings without replacing it. */
#drcComparisonSubModal.drc-comparison-modal{
    z-index:2147483000!important;
}
#drcComparisonSubModal .drc-comparison-modal-card{
    max-width:920px;
}

@media(max-width:700px){
    #district-report-card-module .drc-peer-detail-table{
        min-width:680px;
    }
}

/* DRC 26.9.2 Finance District Comparison */
#district-report-card-module .drc-fin-cohort-panel{
    min-width:0;
}
#district-report-card-module .drc-fin-cohort-context{
    margin:0 0 12px;
    color:var(--drc-muted);
}
#district-report-card-module .drc-fin-cohort-chart{
    display:grid;
    gap:8px;
    margin:10px 0 12px;
}
#district-report-card-module .drc-fin-cohort-row{
    display:grid;
    grid-template-columns:minmax(180px,max-content) minmax(0,1fr) max-content;
    align-items:center;
    gap:10px;
    min-width:0;
}
#district-report-card-module .drc-fin-cohort-name{
    min-width:0;
    overflow-wrap:anywhere;
    line-height:1.25;
}
#district-report-card-module .drc-fin-cohort-track{
    height:18px;
    background:var(--drc-surface-subtle);
    border-radius:2px;
    overflow:hidden;
}
#district-report-card-module .drc-fin-cohort-track > span{
    display:block;
    height:100%;
    background:var(--drc-accent);
}
#district-report-card-module .drc-fin-cohort-row.is-focus .drc-fin-cohort-track > span{
    background:var(--drc-primary);
}
#district-report-card-module .drc-fin-cohort-row.is-state .drc-fin-cohort-track > span{
    background:var(--drc-chart-3);
}
#district-report-card-module .drc-fin-cohort-row.is-focus .drc-fin-cohort-name,
#district-report-card-module .drc-fin-cohort-row.is-focus .drc-fin-cohort-value{
    font-weight:700;
}
#district-report-card-module .drc-fin-cohort-row.is-state{
    margin-top:3px;
    padding-top:8px;
    border-top:1px solid #ddd;
}
#district-report-card-module .drc-fin-cohort-value{
    text-align:right;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}

/* Finance owns this comparison presentation surface. The generic R10
   reconciler explicitly skips Finance panels; these rules also guard against
   stale/legacy heading-owned controls if a browser races old markup. */
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin:0 0 4px;
}
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row > h4{
    flex:1 1 auto;
    min-width:0;
    margin:0;
}
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row >
.drc-finance-report-permalink[data-finance-report-permalink]{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    flex:0 0 auto;
    align-items:center!important;
    justify-content:center!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
    padding:4px!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    color:inherit!important;
    cursor:pointer!important;
    line-height:1!important;
    border-radius:3px!important;
    box-sizing:border-box!important;
}
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row >
.drc-finance-report-permalink[data-finance-report-permalink]:hover,
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row >
.drc-finance-report-permalink[data-finance-report-permalink]:focus{
    color:var(--drc-primary)!important;
    outline-offset:2px;
}
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row >
.drc-finance-report-permalink[data-finance-report-permalink] .drc-permalink-icon-svg{
    display:block!important;
    width:16px!important;
    height:16px!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:2!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
#district-report-card-module .drc-fin-cohort-panel
.drc-fin-cohort-heading-row > h4 >
[data-comparison-settings],
#district-report-card-module .drc-fin-cohort-panel
.drc-fin-cohort-heading-row > h4 >
.drc-comparison-report-permalink{
    display:none!important;
}
#district-report-card-module .drc-fin-cohort-panel >
.drc-comparison-chart-actions[data-finance-comparison-actions]{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
}
#district-report-card-module .drc-fin-cohort-panel >
.drc-comparison-chart-actions[data-finance-comparison-actions] >
.drc-comparison-chart-settings-action[data-comparison-settings]{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    align-items:center;
    gap:4px;
}

@media(max-width:700px){
    #district-report-card-module .drc-fin-cohort-row{
        grid-template-columns:minmax(0,34%) minmax(0,1fr) max-content;
        gap:7px;
        font-size:12px;
    }
    #district-report-card-module .drc-fin-cohort-track{
        height:15px;
    }
}

/* DRC 26.9.2 COMPARISON PRESENTATION CONSISTENCY R22c */

/* Preserve the established 26.8.4 permalink language: quiet monochrome inline
   SVG at 1.65rem, with maroon hover/focus. Finance intentionally has a separate
   ownership class but must render identically. */
#district-report-card-module .drc-permalink-button,
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row >
.drc-finance-report-permalink[data-finance-report-permalink]{
    width:1.65rem!important;
    height:1.65rem!important;
    min-width:1.65rem!important;
    min-height:1.65rem!important;
    margin:0!important;
    padding:.28rem!important;
    border:0!important;
    border-radius:4px!important;
    background:transparent!important;
    color:var(--drc-muted)!important;
    font-size:inherit!important;
    line-height:1!important;
    box-sizing:border-box!important;
    opacity:.72!important;
    cursor:pointer!important;
    flex:0 0 auto!important;
    align-items:center!important;
    justify-content:center!important;
}
#district-report-card-module
.drc-permalink-button .drc-permalink-icon-svg,
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row >
.drc-finance-report-permalink[data-finance-report-permalink]
.drc-permalink-icon-svg{
    display:block!important;
    width:100%!important;
    height:100%!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.8!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
}
#district-report-card-module .drc-permalink-button:hover,
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row >
.drc-finance-report-permalink[data-finance-report-permalink]:hover{
    background:rgba(149,0,6,.06)!important;
    color:var(--drc-primary)!important;
    opacity:1!important;
}
#district-report-card-module .drc-permalink-button:focus-visible,
#district-report-card-module .drc-fin-cohort-panel >
.drc-fin-cohort-heading-row >
.drc-finance-report-permalink[data-finance-report-permalink]:focus-visible{
    background:rgba(149,0,6,.06)!important;
    color:var(--drc-primary)!important;
    opacity:1!important;
    outline:2px solid var(--drc-primary)!important;
    outline-offset:2px!important;
}

/* Heading copies remain hidden event sources; the visible action is in the
   separate utility row in the report content flow. */
#district-report-card-module
[data-comparison-original-title] >
.drc-comparison-settings-source-r22c{
    display:none!important;
}
#district-report-card-module
.drc-comparison-chart-actions[data-comparison-utility-r22c]{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:100%!important;
    min-height:0!important;
    margin:4px 0 7px!important;
    padding:0!important;
    box-sizing:border-box!important;
}
#district-report-card-module
.drc-comparison-chart-actions[data-comparison-utility-r22c]
[data-comparison-settings]{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    align-items:center!important;
    gap:4px!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:var(--drc-accent)!important;
    line-height:1.35!important;
    text-decoration:none!important;
}
#district-report-card-module
.drc-comparison-chart-actions[data-comparison-utility-r22c]
[data-comparison-settings]:hover,
#district-report-card-module
.drc-comparison-chart-actions[data-comparison-utility-r22c]
[data-comparison-settings]:focus-visible{
    color:var(--drc-primary)!important;
    text-decoration:underline!important;
}

/* Why this district is a peer: establish an actual visual table rather than
   four columns of text that visually run together. */
#drcComparisonSubModal .drc-peer-summary,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-summary{
    margin:0 0 12px!important;
    padding:9px 11px!important;
    border-left:3px solid var(--drc-accent)!important;
    background:var(--drc-surface-subtle)!important;
}
#drcComparisonSubModal .drc-peer-table-scroll,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-table-scroll{
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    margin-top:0!important;
    border:1px solid #cfd5db!important;
    border-radius:4px!important;
    background:var(--drc-panel-bg)!important;
}
#drcComparisonSubModal .drc-peer-detail-table,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table{
    width:100%!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
    border-spacing:0!important;
}
#drcComparisonSubModal .drc-peer-detail-table th,
#drcComparisonSubModal .drc-peer-detail-table td,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table th,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table td{
    padding:9px 11px!important;
    border-right:1px solid #dfe3e7!important;
    border-bottom:1px solid #e2e6ea!important;
    vertical-align:top!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
}
#drcComparisonSubModal .drc-peer-detail-table th,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table th{
    background:#f1f3f5!important;
    border-bottom:2px solid #c5cbd1!important;
    color:var(--drc-text)!important;
    font-weight:700!important;
}
#drcComparisonSubModal .drc-peer-detail-table th:first-child,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table th:first-child{
    width:22%!important;
    text-align:left!important;
}
#drcComparisonSubModal .drc-peer-detail-table th:nth-child(2),
#drcComparisonSubModal .drc-peer-detail-table th:nth-child(3),
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table th:nth-child(2),
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table th:nth-child(3){
    width:29%!important;
    text-align:right!important;
}
#drcComparisonSubModal .drc-peer-detail-table th:last-child,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table th:last-child{
    width:20%!important;
    text-align:right!important;
}
#drcComparisonSubModal .drc-peer-detail-table th:last-child,
#drcComparisonSubModal .drc-peer-detail-table td:last-child,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table th:last-child,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table td:last-child{
    border-right:0!important;
}
#drcComparisonSubModal .drc-peer-detail-table tbody tr:last-child td,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table tbody tr:last-child td{
    border-bottom:0!important;
}
#drcComparisonSubModal .drc-peer-detail-table tbody td:first-child,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table tbody td:first-child{
    font-weight:600!important;
}
#drcComparisonSubModal .drc-peer-detail-table .drc-peer-value,
#drcComparisonSubModal .drc-peer-detail-table .drc-peer-similarity,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table .drc-peer-value,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table .drc-peer-similarity{
    text-align:right!important;
    white-space:nowrap!important;
}
#drcComparisonSubModal .drc-peer-detail-table .drc-peer-similarity,
#district-report-card-module
.drc-peer-detail-modal .drc-peer-detail-table .drc-peer-similarity{
    font-weight:700!important;
}
#drcComparisonSubModal .drc-note,
#district-report-card-module
.drc-peer-detail-modal .drc-note{
    margin-top:12px!important;
    padding-top:10px!important;
    border-top:1px solid #cfd5db!important;
}

@media(max-width:700px){
    #district-report-card-module .drc-permalink-button,
    #district-report-card-module .drc-fin-cohort-panel >
    .drc-fin-cohort-heading-row >
    .drc-finance-report-permalink[data-finance-report-permalink]{
        width:1.5rem!important;
        height:1.5rem!important;
        min-width:1.5rem!important;
        min-height:1.5rem!important;
        padding:.24rem!important;
    }

    #drcComparisonSubModal .drc-peer-detail-table,
    #district-report-card-module
    .drc-peer-detail-modal .drc-peer-detail-table{
        min-width:680px!important;
    }
}

/* DRC 26.9.2 MOBILE PEER DETAIL STACKING R22d.
 * Desktop table rules above remain untouched. */
@media(max-width:700px){
  #drcComparisonSubModal .drc-peer-table-scroll,
  #district-report-card-module
  .drc-peer-detail-modal .drc-peer-table-scroll{
      overflow:visible!important;
      border:0!important;
      border-radius:0!important;
      background:transparent!important;
  }

  #drcComparisonSubModal
  .drc-peer-detail-table[data-peer-mobile-stacked],
  #district-report-card-module
  .drc-peer-detail-modal
  .drc-peer-detail-table[data-peer-mobile-stacked]{
      display:block!important;
      width:100%!important;
      min-width:0!important;
      table-layout:auto!important;
      border-collapse:separate!important;
  }

  #drcComparisonSubModal
  .drc-peer-detail-table[data-peer-mobile-stacked] thead,
  #district-report-card-module
  .drc-peer-detail-modal
  .drc-peer-detail-table[data-peer-mobile-stacked] thead{
      position:absolute!important;
      width:1px!important;
      height:1px!important;
      padding:0!important;
      margin:-1px!important;
      overflow:hidden!important;
      clip:rect(0,0,0,0)!important;
      white-space:nowrap!important;
      border:0!important;
  }

  #drcComparisonSubModal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody,
  #district-report-card-module
  .drc-peer-detail-modal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody{
      display:grid!important;
      gap:10px!important;
      width:100%!important;
  }

  #drcComparisonSubModal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody tr,
  #district-report-card-module
  .drc-peer-detail-modal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody tr{
      display:grid!important;
      grid-template-columns:1fr!important;
      gap:0!important;
      width:100%!important;
      padding:0!important;
      border:1px solid #cfd5db!important;
      border-radius:4px!important;
      background:var(--drc-panel-bg)!important;
      overflow:hidden!important;
  }

  #drcComparisonSubModal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td,
  #district-report-card-module
  .drc-peer-detail-modal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td{
      display:grid!important;
      grid-template-columns:minmax(0,1fr) auto!important;
      align-items:start!important;
      gap:10px!important;
      width:auto!important;
      min-width:0!important;
      padding:8px 10px!important;
      border-right:0!important;
      border-bottom:1px solid #e2e6ea!important;
      text-align:right!important;
      white-space:normal!important;
      overflow-wrap:anywhere!important;
  }

  #drcComparisonSubModal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td::before,
  #district-report-card-module
  .drc-peer-detail-modal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td::before{
      content:attr(data-peer-mobile-label)!important;
      min-width:0!important;
      color:var(--drc-muted)!important;
      font-weight:600!important;
      text-align:left!important;
      white-space:normal!important;
  }

  /* Factor becomes the card title rather than a redundant "Factor | value" row. */
  #drcComparisonSubModal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td:first-child,
  #district-report-card-module
  .drc-peer-detail-modal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td:first-child{
      display:block!important;
      padding:9px 10px!important;
      background:#f1f3f5!important;
      color:var(--drc-text)!important;
      font-weight:700!important;
      text-align:left!important;
      border-bottom:1px solid #cfd5db!important;
  }

  #drcComparisonSubModal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td:first-child::before,
  #district-report-card-module
  .drc-peer-detail-modal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td:first-child::before{
      content:none!important;
  }

  #drcComparisonSubModal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td:last-child,
  #district-report-card-module
  .drc-peer-detail-modal
  .drc-peer-detail-table[data-peer-mobile-stacked] tbody td:last-child{
      border-bottom:0!important;
      color:var(--drc-primary)!important;
      font-weight:700!important;
  }

  #drcComparisonSubModal .drc-peer-summary,
  #district-report-card-module
  .drc-peer-detail-modal .drc-peer-summary{
      margin-bottom:10px!important;
  }
}

/* DRC 26.9.2 PRINT + EMBED FOOTER TOOLS R24m
 * Print and Embed inherit the existing Change Log link format by cloning the
 * actual Change Log link element/classes. Modal/embed-mode styles only follow.
 */
.drc-embed-modal-backdrop[hidden]{
 display:none!important;
}
.drc-embed-modal-backdrop{
 position:fixed;
 inset:0;
 z-index:100000;
 display:flex;
 align-items:center;
 justify-content:center;
 padding:24px;
 background:rgba(0,0,0,.58);
 box-sizing:border-box;
}
.drc-embed-modal{
 position:relative;
 width:min(760px,100%);
 max-height:calc(100vh - 48px);
 overflow:auto;
 padding:28px;
 border-radius:6px;
 box-shadow:0 18px 60px rgba(0,0,0,.3);
}
.drc-embed-modal h2{
 margin:0 40px 14px 0;
 color:var(--drc-muted);
 font-family:Georgia,"Times New Roman",serif;
 font-size:1.75rem;
 font-weight:400;
 line-height:1.15;
}
.drc-embed-modal p{
 margin:.65rem 0;
 line-height:1.55;
}
.drc-embed-modal-close{
 position:absolute;
 top:14px;
 right:16px;
 width:34px;
 height:34px;
 padding:0;
 border:0;
 background:transparent;
 color:var(--drc-text);
 font-size:28px;
 line-height:1;
 cursor:pointer;
}
.drc-embed-modal-close:focus-visible,
.drc-embed-copy:focus-visible,
.drc-embed-preview:focus-visible{
 outline:2px solid var(--drc-primary);
 outline-offset:3px;
}
.drc-embed-note{
 padding:10px 12px;
 border-left:3px solid var(--drc-accent);
 background:var(--drc-surface-subtle);
}
.drc-embed-options-heading{
 margin:1.1rem 0 .35rem;
 color:var(--drc-text);
 font-size:1.05rem;
 font-weight:700;
}
.drc-embed-options-intro{
 margin:.35rem 0 .65rem!important;
}
.drc-embed-options{
 overflow:hidden;
 border:1px solid #d6dbe1;
 border-radius:4px;
 background:var(--drc-panel-bg);
}
.drc-embed-option-row{
 display:grid;
 grid-template-columns:84px minmax(0,1fr) 150px;
 gap:12px;
 align-items:start;
 padding:9px 11px;
 border-top:1px solid #e2e6ea;
}
.drc-embed-option-row:first-child{
 border-top:0;
}
.drc-embed-option-key{
 font-weight:700;
 color:var(--drc-primary);
}
.drc-embed-option-description{
 min-width:0;
 line-height:1.4;
}
.drc-embed-option-current{
 min-width:0;
 overflow-wrap:anywhere;
 color:var(--drc-accent);
 font-weight:700;
}
.drc-theme-reference{width:100%;border-collapse:collapse;font-size:12px;margin:8px 0 12px;}
.drc-theme-reference th,.drc-theme-reference td{padding:6px 7px;border-bottom:1px solid var(--drc-border);text-align:left;}
.drc-theme-reference th{font-weight:700;background:var(--drc-surface-subtle);}
.drc-theme-swatch{display:inline-block;width:24px;height:12px;margin-right:4px;border:1px solid #777;vertical-align:middle;}
.drc-theme-swatch-0{background:#950006;}.drc-theme-swatch-0b{background:#244b74;}
.drc-theme-swatch-1{background:#003380;}.drc-theme-swatch-1b{background:#267a99;}
.drc-theme-swatch-2{background:#00502f;}.drc-theme-swatch-2b{background:#b45f06;}
.drc-theme-swatch-3{background:#850007;}.drc-theme-swatch-3b{background:#9a7600;}
.drc-theme-swatch-4{background:#374151;}.drc-theme-swatch-4b{background:#c2410c;}
.drc-theme-swatch-5{background:#00205b;}.drc-theme-swatch-5b{background:#b45309;}
.drc-embed-code-label{
 margin:1rem 0 .35rem;
 font-weight:700;
}
.drc-embed-code{
 margin:0;
 padding:14px;
 overflow:auto;
 border:1px solid #d6dbe1;
 border-radius:4px;
 background:var(--drc-surface-subtle);
 color:var(--drc-text);
 font:13px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
 white-space:pre;
}
.drc-embed-modal-actions{
 display:flex;
 flex-wrap:wrap;
 align-items:center;
 gap:12px;
 margin-top:14px;
}
.drc-embed-copy{
 padding:8px 13px;
 border:1px solid var(--drc-primary);
 border-radius:3px;
 background:var(--drc-primary);
 color:var(--drc-button-text);
 font:inherit;
 font-weight:700;
 cursor:pointer;
}
.drc-embed-preview{
 color:var(--drc-accent);
 font-weight:700;
 text-decoration:none;
}
.drc-embed-preview:hover{
 color:var(--drc-primary);
 text-decoration:underline;
}
.drc-embed-copy-feedback{
 color:var(--drc-muted);
 font-size:.875rem;
}
body.drc-embed-modal-open{
 overflow:hidden;
}

html.drc-embed-mode,
html.drc-embed-mode body{
 margin:0!important;
 padding:0!important;
 min-width:0!important;
 width:100%!important;
 max-width:none!important;
 background:var(--drc-panel-bg,#fff)!important;
}
html.drc-embed-mode [data-drc-embed-hidden="1"],
html.drc-embed-mode [data-drc-embed-logo-hidden="1"]{
 display:none!important;
}
html.drc-embed-mode [data-drc-embed-path="1"]{
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 margin-left:0!important;
 margin-right:0!important;
 box-sizing:border-box!important;
}
html.drc-embed-mode #district-report-card-module{
 width:100%!important;
 max-width:none!important;
 min-width:0!important;
 margin:0!important;
 box-sizing:border-box!important;
}
html.drc-embed-mode .drc-embed-modal-backdrop{
 display:none!important;
}

@media(max-width:700px){
 .drc-embed-option-row{
  grid-template-columns:64px minmax(0,1fr);
  gap:6px 10px;
 }
 .drc-embed-option-current{
  grid-column:2;
  padding-top:2px;
 }
 .drc-embed-modal-backdrop{
  align-items:flex-start;
  padding:12px;
 }
 .drc-embed-modal{
  max-height:calc(100vh - 24px);
  padding:22px 18px;
 }
 .drc-embed-modal h2{
  font-size:1.5rem;
 }
 .drc-embed-code{
  font-size:12px;
 }
}

@media print{
 .drc-embed-modal-backdrop{
  display:none!important;
 }
}

/* DRC 26.9.2 generic comparison heading state normalizer R25f */
#district-report-card-module .drc-comparison-chart-heading >
.drc-comparison-live-heading-label{
 min-width:0;
}

/* DRC 26.9.2 Comparison Settings explicit Apply action R25f */
#drcComparisonModal .drc-comparison-apply-actions{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 gap:14px;
 margin-top:18px;
 padding-top:14px;
 border-top:1px solid #d6dbe1;
}

#drcComparisonModal .drc-comparison-apply-status{
 flex:1 1 auto;
 min-width:0;
 color:var(--drc-muted);
 font-size:13px;
 line-height:1.35;
 text-align:left;
}

#drcComparisonModal .drc-comparison-apply-status.is-error{
 color:var(--drc-primary);
 font-weight:600;
}

#drcComparisonModal .drc-comparison-apply-button{
 flex:0 0 auto;
 border:1px solid var(--drc-primary);
 border-radius:3px;
 background:var(--drc-primary);
 color:var(--drc-button-text);
 padding:9px 16px;
 min-height:38px;
 font:inherit;
 font-weight:700;
 line-height:1.2;
 cursor:pointer;
}

#drcComparisonModal .drc-comparison-apply-button:hover,
#drcComparisonModal .drc-comparison-apply-button:focus{
 background:var(--drc-primary-dark);
 border-color:var(--drc-primary-dark);
 color:var(--drc-button-text);
 outline-offset:2px;
}

#drcComparisonModal .drc-comparison-apply-button:disabled{
 opacity:.55;
 cursor:not-allowed;
}

@media(max-width:700px){
 #drcComparisonModal .drc-comparison-apply-actions{
  align-items:stretch;
  flex-direction:column;
  gap:8px;
 }

 #drcComparisonModal .drc-comparison-apply-button{
  width:100%;
 }
}

/* DRC 26.9.2 mobile Comparison Settings Apply visibility R25h.
 *
 * Similarities can make the settings body taller than a phone viewport.
 * Keep the content scrollable, but keep the commit/cancel contract visible:
 * the Apply/status area is pinned to the bottom of the phone viewport while
 * the Comparison Settings modal is open.
 */
@media(max-width:700px){
 #drcComparisonModal .drc-comparison-modal-card{
  max-height:calc(100vh - 36px);
  max-height:calc(100dvh - 36px);
  overflow-y:auto;
  overscroll-behavior:contain;
  padding-bottom:112px;
 }

 #drcComparisonModal .drc-comparison-apply-actions{
  position:fixed;
  left:max(18px,env(safe-area-inset-left));
  right:max(18px,env(safe-area-inset-right));
  bottom:max(18px,env(safe-area-inset-bottom));
  z-index:2147482900;
  box-sizing:border-box;
  margin:0;
  padding:9px 12px 12px;
  border:1px solid #d6dbe1;
  border-radius:0 0 5px 5px;
  background:var(--drc-panel-bg);
  box-shadow:0 -5px 14px rgba(0,0,0,.08);
 }

 #drcComparisonModal .drc-comparison-apply-status{
  font-size:12px;
 }
}

/* 26.9.2 candidate report controls and accessible data views. */
.drc2691 { max-width:100%; }
.drc2691-controls { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; }
.drc2691 label { display:block; max-width:100%; }
.drc2691 select { max-width:100%; padding:.4rem; }
.drc2691-table { max-width:100%; overflow-x:auto; margin:1rem 0; }
.drc2691 table { border-collapse:collapse; width:100%; }
.drc2691 th,.drc2691 td { padding:.5rem; border-bottom:1px solid #ccc; text-align:left; }
@media print { .drc2691-table { overflow:visible; } .drc2691 th,.drc2691 td { font-size:9pt; } }

.drc2691-trend { margin:1rem 0; }
.drc2691-trend svg { width:100%; max-height:260px; }
.drc2691-enrollment { display:block; width:100%; height:260px; }
@media print { .drc2691-enrollment,.drc2691-trend { break-inside:avoid; max-width:100%; } }

/* Discipline rate comparison: shared DRC selected-district red, exact table below. */
#district-report-card-module .drc2691-comparison{margin:12px 0;max-width:100%;}
#district-report-card-module .drc2691-comparison figcaption{font-weight:700;}
#district-report-card-module .drc2691-comparison ol{list-style:none;margin:10px 0;padding:0;}
#district-report-card-module .drc2691-rate-row{display:grid;grid-template-columns:minmax(130px,2fr) minmax(70px,3fr) 64px;align-items:center;gap:8px;padding:4px 6px;break-inside:avoid;font-size:13px;}
#district-report-card-module .drc2691-rate-label{overflow-wrap:anywhere;}
#district-report-card-module .drc2691-rate-row strong{text-align:right;}
#district-report-card-module .drc2691-rate-track{height:12px;}
#district-report-card-module .drc2691-rate-bar{display:block;height:100%;background:var(--drc-accent);}
#district-report-card-module .drc2691-rate-row.is-selected{background:var(--drc-surface-subtle);font-weight:700;}
#district-report-card-module .drc2691-rate-row.is-selected .drc2691-rate-bar{background:var(--drc-primary);}
#district-report-card-module .drc2691-comparison p{font-size:12px;margin:6px 0;}
@media(max-width:480px){#district-report-card-module .drc2691-rate-row{grid-template-columns:minmax(100px,2fr) minmax(40px,1fr) 50px;gap:5px;}}
@media print{#district-report-card-module .drc2691-rate-bar{print-color-adjust:exact;-webkit-print-color-adjust:exact;}#district-report-card-module .drc2691-rate-row.is-selected{outline:1px solid var(--drc-primary);}#district-report-card-module .drc2691 [data-comparison-settings]{display:none!important;}}

/* 26.10.5 shared comparison-header correction pass. */
#district-report-card-module .drc-shared-comparison-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    min-width:0;
    margin:0 0 8px;
}
#district-report-card-module .drc-shared-comparison-header > h2,
#district-report-card-module .drc-shared-comparison-header > h3,
#district-report-card-module .drc-shared-comparison-header > h4{
    flex:1 1 auto;
    min-width:0;
    margin-top:0;
    margin-bottom:0;
}
#district-report-card-module .drc-shared-comparison-title{
    flex:0 1 auto;
    color:var(--drc-muted);
    font-size:.9em;
    font-weight:600;
    margin-left:auto;
}
#district-report-card-module .drc-shared-comparison-heading .drc-shared-comparison-context{
    color:var(--drc-muted);
    font-size:.9em;
    font-weight:600;
}
#district-report-card-module .drc-shared-comparison-header > [data-comparison-settings]{
    flex:0 0 auto;
    margin-left:auto;
}
#district-report-card-module .drc-shared-comparison-header .drc-comparison-settings-trigger{
    white-space:nowrap;
}
@media(max-width:700px){
    #district-report-card-module .drc-shared-comparison-header{align-items:flex-start;gap:6px 10px;}
    #district-report-card-module .drc-shared-comparison-title{flex:1 1 100%;order:2;margin-left:0;}
    #district-report-card-module .drc-shared-comparison-header > [data-comparison-settings]{order:1;margin-left:auto;}
}

/* 26.9.2 Discipline presentation normalization.
   Discipline uses the standard DRC panel and permalink systems. */

#district-report-card-module .drc2691 .drc-panel{
    margin:16px 0;
}

#district-report-card-module .drc2691 .drc-panel > h3{
    color:var(--drc-primary);
    margin:0 0 5px;
}

#district-report-card-module .drc-discipline-actions-panel{
    border-top:4px solid var(--drc-primary);
}

#district-report-card-module .drc-discipline-trend-chart{
    margin:12px 0 0;
}

#district-report-card-module .drc-discipline-trend-scroll{
    width:100%;
}

#district-report-card-module .drc-discipline-trend-svg{
    min-width:680px;
    max-height:none;
}

#district-report-card-module .drc-discipline-trend-svg text{
    fill:var(--drc-chart-label);
    font-family:Arial,sans-serif;
    font-size:13px;
}

#district-report-card-module .drc-discipline-axis{
    stroke:var(--drc-chart-axis);
    stroke-width:1;
}

#district-report-card-module .drc-discipline-grid{
    stroke:var(--drc-chart-grid);
    stroke-width:1;
    stroke-dasharray:3 3;
}

#district-report-card-module .drc-discipline-comparison-summary{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
    margin:10px 0 14px;
}
#district-report-card-module .drc-discipline-comparison-summary .drc-chart-row{
    min-width:0;
    padding:8px;
    border:1px solid var(--drc-border);
    background:var(--drc-surface-subtle);
}
#district-report-card-module .drc-discipline-comparison-summary .drc-chart-row-label,
#district-report-card-module .drc-discipline-comparison-summary .drc-chart-row-context{
    display:block;
}
@media(max-width:760px){
    #district-report-card-module .drc-discipline-comparison-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:420px){
    #district-report-card-module .drc-discipline-comparison-summary{grid-template-columns:1fr;}
}

#district-report-card-module .drc-discipline-trend-line{
    stroke:var(--drc-accent);
    stroke-width:2.25;
}

#district-report-card-module .drc-discipline-trend-svg circle{
    fill:var(--drc-chart-point-outline);
    stroke:var(--drc-accent);
    stroke-width:2;
}

#district-report-card-module .drc-discipline-trend-note{
    margin:8px 0 0;
}

#district-report-card-module .drc-discipline-comparison-panel
.drc2691-comparison{
    margin-top:12px;
}

/* DRC 26.10.5 promoted DIRS incident/reason presentation. */
#district-report-card-module .drc-discipline-incidents-panel{
    border-top:4px solid var(--drc-accent);
}
#district-report-card-module .drc-incident-reconciliation{
    font-size:12px;
    color:var(--drc-muted);
}
#district-report-card-module .drc-incident-chart{
    margin:12px 0;
}
#district-report-card-module .drc-incident-chart ol{
    list-style:none;
    margin:10px 0;
    padding:0;
}
#district-report-card-module .drc-incident-chart li{
    display:grid;
    grid-template-columns:minmax(180px,1.3fr) minmax(90px,2fr) 60px;
    align-items:center;
    gap:8px;
    padding:4px 6px;
    font-size:13px;
}
#district-report-card-module .drc-incident-chart-label{
    overflow-wrap:anywhere;
}
#district-report-card-module .drc-incident-chart-track{
    height:12px;
    background:var(--drc-table-stripe);
}
#district-report-card-module .drc-incident-chart-track span{
    display:block;
    height:100%;
    background:var(--drc-chart-2);
}
#district-report-card-module .drc-incident-chart strong{
    text-align:right;
}
#district-report-card-module .drc-discipline-incidents-panel .drc-table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
@media(max-width:600px){
    #district-report-card-module .drc-incident-chart li{
        grid-template-columns:minmax(112px,1.35fr) minmax(60px,1fr) 52px;
        gap:5px;
        font-size:12px;
    }
}
@media print{
    #district-report-card-module .drc-incident-chart-track span{
        print-color-adjust:exact;
        -webkit-print-color-adjust:exact;
    }
}

/* DRC 26.10.5 Insights human-facing peer comparison visuals. */
#district-report-card-module .drc-insights-graphic{
    margin:12px 0 4px;
}
#district-report-card-module .drc-insights-legend{
    min-height:26px;
}
#district-report-card-module .drc-insights-peer-swatch{
    background:var(--drc-accent);
}
#district-report-card-module .drc-insights-rank-rows .drc-sped-rank-row{
    grid-template-columns:minmax(0,max-content) minmax(0,1fr) max-content;
    gap:8px;
    margin:8px 0;
    font-size:82%;
}
#district-report-card-module .drc-insights-rank-rows .drc-sped-rank-row.is-selected{
    background:var(--drc-surface-subtle);
    outline:1px solid var(--drc-primary);
    padding:3px 5px;
    margin-left:-5px;
    margin-right:-5px;
}
#district-report-card-module .drc-insights-rank-rows .drc-sped-rank-row.is-selected .drc-sped-rank-bar{
    background:var(--drc-primary);
}
#district-report-card-module .drc-insights-rank-rows .drc-sped-rank-bar{
    position:absolute;
    top:0;
    height:100%;
    background:var(--drc-accent);
    border-radius:2px;
}
#district-report-card-module .drc-insights-zero-track{
    overflow:visible;
}
#district-report-card-module .drc-insights-zero-line{
    position:absolute;
    top:-4px;
    bottom:-4px;
    width:2px;
    background:var(--drc-chart-axis);
    z-index:1;
}
#district-report-card-module .drc-insights-bar-unavailable{
    display:block;
    padding:1px 5px;
    color:var(--drc-muted);
    font-style:italic;
}
#district-report-card-module .drc-insights-axis{
    display:flex;
    justify-content:space-between;
    margin:3px 82px 0 40%;
    color:var(--drc-muted);
    font-size:76%;
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-insights-chart-context{
    margin-top:9px;
}
#district-report-card-module .drc-insights-source > ul{
    margin-bottom:14px;
}
#district-report-card-module .drc-insights-source .drc-insights-evidence-details{
    margin-top:14px;
}
#district-report-card-module .drc-insights-evidence-details .drc-table-wrap,
#district-report-card-module .drc-visualization-details .drc-table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}
@media(max-width:760px){
    #district-report-card-module .drc-insights-rank-rows .drc-sped-rank-row{
        grid-template-columns:minmax(0,34%) minmax(0,1fr) max-content;
        font-size:78%;
    }
    #district-report-card-module .drc-insights-axis{
        margin-right:76px;
    }
}
@media(max-width:480px){
    #district-report-card-module .drc-insights-rank-rows .drc-sped-rank-row{
        grid-template-columns:minmax(0,34%) minmax(0,1fr) max-content;
        font-size:73%;
    }
    #district-report-card-module .drc-insights-axis{
        margin-left:123px;
        margin-right:72px;
    }
}

@media(max-width:700px){
    #district-report-card-module .drc-discipline-trend-svg{
        min-width:640px;
    }
}

@media print{
    #district-report-card-module .drc-visualization-details .drc-visualization-table-wrap{
        width:auto!important;
        max-width:none!important;
        max-height:none!important;
        overflow:visible!important;
    }
    #district-report-card-module .drc-visualization-details .drc-visualization-table{
        width:100%;
        min-width:0;
    }
    #district-report-card-module .drc-visualization-details .drc-visualization-table th,
    #district-report-card-module .drc-visualization-details .drc-visualization-table td{
        white-space:normal!important;
        font-size:9pt;
    }
    #district-report-card-module .drc-visualization-details:not([open]) > :not(summary),
    #district-report-card-module .drc-insights-evidence-details:not([open]) > :not(summary){
        display:block!important;
    }
    #district-report-card-module .drc-visualization-details > summary,
    #district-report-card-module .drc-insights-evidence-details > summary{
        display:block!important;
    }
    #district-report-card-module .drc-discipline-trend-scroll{
        overflow:visible;
    }

    #district-report-card-module .drc-discipline-trend-svg{
        min-width:0;
        width:100%;
    }
}

/* Keep the Insights rank rows inside the narrow DRC content column after the
 * legacy rank-row rules above have applied. */
@media(max-width:480px){
    #district-report-card-module .drc-insights-rank-rows .drc-sped-rank-row{
        grid-template-columns:minmax(0,34%) minmax(0,1fr) max-content;
        gap:6px;
    }
    #district-report-card-module .drc-insights-rank-rows .drc-sped-rank-row > strong{
        white-space:normal;
        overflow-wrap:anywhere;
        line-height:1.15;
    }
    #district-report-card-module .drc-insights-axis{
        margin-left:102px;
        margin-right:82px;
    }
}

/* DRC 26.10.5 Phase 2N relationship-driven Insights. */
#district-report-card-module .drc-insights-measure-controls{
    flex:1 1 100%;border-top:1px solid var(--drc-border);padding:var(--drc-space-normal) 0 0;
}
#district-report-card-module .drc-insights-control-layout{
    display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.6fr);gap:var(--drc-space-card-gap);align-items:start;
}
#district-report-card-module .drc-insights-measure-group{
    min-width:0;padding:var(--drc-space-normal) var(--drc-space-panel) var(--drc-space-panel);
}
#district-report-card-module .drc-insights-reference-measure{border-top:4px solid var(--drc-primary);}
#district-report-card-module .drc-insights-comparison-measures{border-top:4px solid var(--drc-accent);}
#district-report-card-module .drc-insights-reference-measure h4,
#district-report-card-module .drc-insights-comparison-measures legend{margin:0 0 var(--drc-space-normal);color:var(--drc-heading);}
#district-report-card-module .drc-insights-comparison-measures{
    margin:0;
}
#district-report-card-module .drc-insights-comparison-measures legend{padding:0 6px;margin-left:-6px;}
#district-report-card-module .drc-insights-comparison-measures > .drc-note{margin:0 0 var(--drc-space-normal);}
#district-report-card-module .drc-insights-comparison-grid{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--drc-space-small) var(--drc-space-card-gap);
}
#district-report-card-module .drc-insights-measure-row{
    display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 8px;align-items:end;min-width:0;
}
#district-report-card-module .drc-insights-measure-row label{grid-column:1 / -1;margin:0;}
#district-report-card-module .drc-insights-measure-row select{min-width:0;width:100%;}
#district-report-card-module .drc-insights-measure-row .drc-link-button{white-space:nowrap;}
#district-report-card-module .drc-insights-comparison-control{
    display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
    margin:var(--drc-space-normal) 0 var(--drc-space-small);padding:var(--drc-space-small) var(--drc-space-normal);border:1px solid var(--drc-border);
    background:var(--drc-surface-subtle);border-radius:3px;
}
#district-report-card-module .drc-insights-comparison-control > span{min-width:0;}
#district-report-card-module .drc-visualization-table tbody th{
    text-transform:none;letter-spacing:normal;font-size:inherit;
}
#district-report-card-module .drc-visualization-details{
    width:100%;
    max-width:100%;
    min-width:0;
}
#district-report-card-module .drc-visualization-table{
    min-width:720px;
}
#district-report-card-module .drc-link-button{margin-bottom:1px;}
#district-report-card-module .drc-secondary-action{margin-top:var(--drc-space-small);}
#district-report-card-module .drc-insights-visual-stack{display:block;}
#district-report-card-module .drc-insights-visual-stack .drc-panel{width:100%;margin:0 0 var(--drc-space-section);}
#district-report-card-module .drc-insights-statline{margin:0 0 var(--drc-space-normal);color:var(--drc-text);}
#district-report-card-module .drc-chart{display:block;width:100%;min-width:0;margin:0 0 var(--drc-space-section);}
#district-report-card-module .drc-chart-title{display:block;margin:0 0 var(--drc-space-tight);color:var(--drc-primary);}
#district-report-card-module .drc-scatter-chart{width:100%;min-width:0;margin:var(--drc-space-normal) 0 var(--drc-space-tight);}
#district-report-card-module .drc-scatter-wrap{width:100%;min-width:0;overflow:hidden;margin:0;}
#district-report-card-module .drc-scatter-svg{aspect-ratio:1000 / 520;max-width:none;}
#district-report-card-module .drc-scatter-svg text{fill:var(--drc-chart-label);font-family:Arial,sans-serif;font-size:13px;}
#district-report-card-module .drc-scatter-plot-background{fill:var(--drc-chart-background);stroke:var(--drc-border);stroke-width:1;}
#district-report-card-module .drc-scatter-grid-line{stroke:var(--drc-chart-grid);stroke-width:1;}
#district-report-card-module .drc-scatter-axis-line{stroke:var(--drc-chart-axis);stroke-width:1;}
#district-report-card-module .drc-scatter-zero-line{stroke:var(--drc-chart-grid);stroke-width:1;stroke-dasharray:3 4;}
#district-report-card-module .drc-scatter-reference-line{stroke:var(--drc-chart-3);stroke-width:1.5;stroke-dasharray:5 4;}
#district-report-card-module .drc-scatter-fit-line{stroke:var(--drc-accent);stroke-width:2;stroke-dasharray:7 3;opacity:.9;}
#district-report-card-module .drc-scatter-fit-line.is-series-2{stroke:var(--drc-chart-3);}
#district-report-card-module .drc-scatter-fit-line.is-series-3{stroke:var(--drc-chart-4);}
#district-report-card-module .drc-scatter-point{stroke:var(--drc-chart-point-outline);stroke-width:1.5;vector-effect:non-scaling-stroke;}
#district-report-card-module .drc-scatter-point.is-comparison,#district-report-card-module .drc-scatter-key.is-comparison{fill:var(--drc-accent);background:var(--drc-accent);}
#district-report-card-module .drc-scatter-point.is-background,#district-report-card-module .drc-scatter-key.is-background{fill:var(--drc-chart-6);background:var(--drc-chart-6);opacity:.8;}
#district-report-card-module .drc-scatter-point.is-selected,#district-report-card-module .drc-scatter-key.is-selected{fill:var(--drc-primary);background:var(--drc-primary);}
#district-report-card-module .drc-scatter-point.is-selected{stroke:var(--drc-primary-dark);stroke-width:2.5;}
#district-report-card-module .drc-scatter-point:focus{stroke:var(--drc-text);stroke-width:3;outline:none;}
#district-report-card-module .drc-scatter-point[data-drc-scatter-active="true"]{stroke:var(--drc-text);stroke-width:3;}
#district-report-card-module .drc-scatter-point.is-series-2{fill:var(--drc-chart-3);}
#district-report-card-module .drc-scatter-point.is-series-3{fill:var(--drc-chart-4);}
#district-report-card-module .drc-scatter-point.is-series-4{fill:var(--drc-chart-6);}
#district-report-card-module .drc-scatter-point.is-selected{fill:var(--drc-primary);}
#district-report-card-module .drc-scatter-axis-title{fill:var(--drc-chart-label)!important;font-size:14px!important;font-weight:700;}
#district-report-card-module .drc-scatter-legend{gap:var(--drc-space-small) 20px;margin:var(--drc-space-small) 0 var(--drc-space-tight);color:var(--drc-muted);}
#district-report-card-module .drc-scatter-key{display:inline-block;width:11px;height:11px;border-radius:50%;background:var(--drc-accent);}
#district-report-card-module .drc-scatter-key.is-series-1{background:var(--drc-accent);}
#district-report-card-module .drc-scatter-key.is-series-2{background:var(--drc-chart-3);}
#district-report-card-module .drc-scatter-key.is-series-3{background:var(--drc-chart-4);}
#district-report-card-module .drc-scatter-key.is-series-4{background:var(--drc-chart-6);}
#district-report-card-module .drc-scatter-key.is-reference{width:6px;height:15px;border-radius:0;background:transparent;border-left:2px dashed var(--drc-chart-3);}
#district-report-card-module .drc-scatter-key.is-fit{width:24px;height:0;border-top:2px dashed var(--drc-accent);border-radius:0;background:transparent;}
#district-report-card-module .drc-chart-detail,#district-report-card-module .drc-chart-context{margin:var(--drc-space-small) 0 0;color:var(--drc-muted);}
#district-report-card-module .drc-scatter-mobile-axis-label{display:none;}
@media(max-width:700px){
    #district-report-card-module .drc-insights-control-layout{display:block;}
    #district-report-card-module .drc-insights-reference-measure{margin-bottom:14px;}
    #district-report-card-module .drc-insights-comparison-measures{padding:12px 14px 14px;}
    #district-report-card-module .drc-insights-comparison-grid{display:block;}
    #district-report-card-module .drc-insights-measure-row{margin:0 0 12px;}
    #district-report-card-module .drc-insights-measure-row:last-child{margin-bottom:0;}
    #district-report-card-module .drc-insights-comparison-control{align-items:flex-start;flex-direction:column;}
    #district-report-card-module .drc-link-button{margin-top:7px;}
    #district-report-card-module .drc-scatter-svg{aspect-ratio:1000 / 600;}
    /* Keep SVG labels legible after the full-width plot is scaled to a phone. */
    #district-report-card-module .drc-scatter-svg text{font-size:34px;}
    #district-report-card-module .drc-scatter-svg .drc-scatter-axis-title{font-size:40px!important;}
    #district-report-card-module .drc-scatter-svg .drc-scatter-axis-title-y{display:none;}
    #district-report-card-module .drc-scatter-mobile-axis-label{display:block;margin:8px 0 0;color:var(--drc-text);font-size:88%;font-weight:400;}
}

@media print{
    #district-report-card-module .drc-scatter-wrap{overflow:visible;}
    #district-report-card-module .drc-scatter-svg{width:100%;min-width:0;max-width:100%;aspect-ratio:1000 / 520;break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact;}
    #district-report-card-module .drc-chart-detail{display:block;}
}



/* DRC 26.9.2 Postsecondary Outcomes */
.drc-postsecondary-report{display:grid;gap:18px}
.drc-postsecondary-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0 18px}
.drc-postsecondary-card{min-width:0}
.drc-postsecondary-gap{margin-top:5px;font-size:.85em;font-weight:600;color:var(--drc-accent)}
.drc-postsecondary-bars{display:grid;gap:9px;margin:12px 0 20px}
.drc-postsecondary-bar-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(150px,2fr) minmax(110px,.8fr);gap:10px;align-items:center}
.drc-postsecondary-bar-label{font-weight:600}
.drc-postsecondary-bar-track{height:12px;background:var(--drc-chart-background);border-radius:999px;overflow:hidden}
.drc-postsecondary-bar-track span{display:block;height:100%;background:var(--drc-accent);border-radius:999px}
.drc-postsecondary-bar-value{display:flex;flex-direction:column;align-items:flex-end;line-height:1.2}
.drc-postsecondary-bar-value span{font-size:.85em;color:var(--drc-muted);margin-top:2px}
.drc-postsecondary-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.drc-postsecondary-panel h4.drc-subsection-title{margin:18px 0 8px;color:var(--drc-primary)}
@media (max-width:760px){.drc-postsecondary-bar-row{grid-template-columns:1fr}.drc-postsecondary-bar-value{align-items:flex-start}.drc-postsecondary-two-col{grid-template-columns:1fr}}

#district-report-card-module .drc-fin24-adm-trend-wrap{
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:4px;
}

#district-report-card-module .drc-fin24-adm-trend{
    min-width:700px;
}

#district-report-card-module .drc-fin24-adm-actual,
#district-report-card-module .drc-fin24-adm-modeled{
    stroke:var(--drc-primary);
    stroke-width:3;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-fin24-adm-modeled{
    stroke-dasharray:7 5;
    opacity:.78;
}

#district-report-card-module .drc-fin24-adm-modeled-point{
    fill:var(--drc-chart-point-outline);
    stroke:var(--drc-primary);
    stroke-width:2;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-trend-legend .drc-fin24-adm-actual-key{
    background:none;
    height:0;
    border-top:3px solid var(--drc-primary);
}

#district-report-card-module .drc-trend-legend .drc-fin24-adm-modeled-key{
    background:none;
    height:0;
    border-top:3px dashed var(--drc-primary);
}

#district-report-card-module .drc-fin24-adm-boundary{
    stroke:var(--drc-chart-axis);
    stroke-width:1;
    stroke-dasharray:3 4;
    vector-effect:non-scaling-stroke;
}

#district-report-card-module .drc-trend-legend .drc-fin24-adm-boundary-key{
    background:none;
    height:0;
    display:inline-block;
    width:22px;
    height:0;
    border-left:0;
    border-top:1px dashed #777;
}

#district-report-card-module .drc-fin24-adm-boundary-label{
    font-weight:700;
}

#district-report-card-module .drc-fin24-adm-details{
    margin-top:10px;
}

@media(max-width:700px){
    #district-report-card-module .drc-fin24-adm-trend{
        min-width:700px;
    }
}

/* 26.9.2 hardening: closed release details and bounded ranking frames must
 * expand for print so paper/PDF contains the complete historical/table data. */
@media print{
    #district-report-card-module #drcChangeLogModal,
    #district-report-card-module #drcChangeLogModal[hidden]{
        display:block!important;
        position:static!important;
        padding:0!important;
    }
    #district-report-card-module .drc-changelog-backdrop{
        display:none!important;
    }
    #district-report-card-module .drc-changelog-dialog{
        width:auto!important;
        max-height:none!important;
        overflow:visible!important;
        display:block!important;
        border:0!important;
        box-shadow:none!important;
    }
    #district-report-card-module .drc-changelog-body{
        overflow:visible!important;
        padding:0!important;
    }
    #district-report-card-module .drc-changelog-tools{
        display:none!important;
    }
    #district-report-card-module .drc-changelog-release:not([open]) > :not(summary){
        display:block!important;
    }
    #district-report-card-module .drc-changelog-release > summary{
        display:block!important;
        padding:8px 0 3px!important;
        color:var(--drc-text)!important;
    }
    #district-report-card-module .drc-changelog-release > summary::marker{
        display:none;
    }
    #district-report-card-module .drc-changelog-release > :not(summary){
        margin-left:0!important;
    }
    #district-report-card-module .drc-ranking-scroll{
        max-height:none!important;
        overflow:visible!important;
        scroll-behavior:auto!important;
    }
    #district-report-card-module .drc-ranking-scroll thead th{
        position:static!important;
    }
}

#district-report-card-module .drc-context,
#district-report-card-module .drc-tool{background:var(--drc-surface-subtle);}

#district-report-card-module .drc-school-bar-fill,
#district-report-card-module .drc-compare-row.is-focus .drc-compare-fill{background:var(--drc-primary);}

/* Curated-theme presentation overrides follow the legacy rules so the new
 * semantic tokens win without changing any host-site selectors. */
#district-report-card-module a{color:var(--drc-link);}
#district-report-card-module h1,#district-report-card-module h2,
#district-report-card-module h3,#district-report-card-module h4,
#district-report-card-module h5{color:var(--drc-heading);}
#district-report-card-module .drc-context,
#district-report-card-module .drc-tool{background:var(--drc-surface-subtle);color:var(--drc-text);}
#district-report-card-module .drc-context{color:var(--drc-muted);}
#district-report-card-module .drc-note{color:var(--drc-muted);}

/* One section context container can preserve several distinct guidance
   concepts without creating a sequence of visually identical bars. */
#district-report-card-module .drc-context-group{margin:var(--drc-space-small) 0;}
#district-report-card-module .drc-context-group > strong{display:block;margin-bottom:.25rem;color:var(--drc-heading);}
#district-report-card-module .drc-context-group > ul{margin:.25rem 0 0 1.15rem;padding:0;}
#district-report-card-module .drc-context-group > ul > li+li{margin-top:.35rem;}
#district-report-card-module .drc-footer{color:var(--drc-muted);}
#district-report-card-module .drc-context strong{color:var(--drc-heading);}
#district-report-card-module .drc-card,
#district-report-card-module .drc-panel,
#district-report-card-module .drc-method,
#district-report-card-module .drc-table-wrap{background:var(--drc-panel-bg);}
#district-report-card-module .drc-card-label,
#district-report-card-module .drc-dist-details,
#district-report-card-module .drc-bar-legend,
#district-report-card-module .drc-trend-legend{color:var(--drc-muted);}
#district-report-card-module .drc-note{color:var(--drc-muted);}
#district-report-card-module .drc-footer{color:var(--drc-muted);}
#district-report-card-module .drc-panel h3,
#district-report-card-module .drc-card-value,
#district-report-card-module .drc-count-value,
#district-report-card-module .drc-method summary,
#district-report-card-module .drc-school-bar-value,
#district-report-card-module .drc-level-compare-row.is-focus .drc-level-compare-name{color:var(--drc-primary);}
#district-report-card-module input[type="search"],
#district-report-card-module select,
#district-report-card-module button{border-color:var(--drc-control-border);background:var(--drc-panel-bg);color:var(--drc-text);}
#district-report-card-module input[type="search"],
#district-report-card-module select{color:var(--drc-text);}
#district-report-card-module button{background:var(--drc-primary);border-color:var(--drc-primary);color:var(--drc-button-text);}
#district-report-card-module button:focus-visible,
#district-report-card-module input:focus-visible,
#district-report-card-module select:focus-visible,
#district-report-card-module a:focus-visible,
#district-report-card-module [tabindex]:focus-visible{outline:3px solid var(--drc-focus);outline-offset:2px;}
#district-report-card-module .drc-domain-tab.is-active,
#district-report-card-module .drc-comparison-mode-options button.is-active{background:var(--drc-selected);border-color:var(--drc-selected);color:var(--drc-selected-text);}
#district-report-card-module th{background:var(--drc-panel-bg);color:var(--drc-text);}
#district-report-card-module tbody tr:nth-child(even) td{background:var(--drc-table-stripe);}
#district-report-card-module .drc-table-wrap,
#district-report-card-module th,#district-report-card-module td,
#district-report-card-module .drc-count-item{border-color:var(--drc-border);}
#district-report-card-module .drc-school-bar-track,
#district-report-card-module .drc-compare-track,
#district-report-card-module .drc-level-compare-bar,
#district-report-card-module .drc-dist-bar{background:var(--drc-table-stripe);border-color:var(--drc-border);}
#district-report-card-module .drc-school-bar-fill,
#district-report-card-module .drc-compare-row.is-focus .drc-compare-fill{color:var(--drc-primary);}
#district-report-card-module .drc-compare-fill{background:var(--drc-accent);}
#district-report-card-module .drc-school-bar-state,
#district-report-card-module .drc-bar-marker,
#district-report-card-module .drc-key-state{background:var(--drc-accent);}
#district-report-card-module .drc-trend-grid{stroke:var(--drc-chart-grid);}
#district-report-card-module .drc-trend-axis{stroke:var(--drc-chart-axis);}
#district-report-card-module .drc-trend-label{fill:var(--drc-chart-label);}
#district-report-card-module .drc-trend-district,
#district-report-card-module .drc-trend-range{stroke:var(--drc-chart-1);}
#district-report-card-module .drc-trend-state{stroke:var(--drc-chart-2);}
#district-report-card-module .drc-trend-district-point{fill:var(--drc-chart-1);stroke:var(--drc-chart-point-outline);}
#district-report-card-module .drc-trend-state-point{fill:var(--drc-chart-2);stroke:var(--drc-chart-point-outline);}
#district-report-card-module .drc-context-trend{background:var(--drc-panel-bg);}
#district-report-card-module .drc-comparison-mode,
#district-report-card-module .drc-comparison-control{background:var(--drc-bg);border-color:var(--drc-border);}
#district-report-card-module .drc-comparison-mode-options button,
#district-report-card-module .drc-comparison-howto,
#district-report-card-module .drc-comparison-settings-trigger,
#district-report-card-module .drc-similar-refine button{color:var(--drc-link);border-color:var(--drc-link);}
#district-report-card-module .drc-similar-peer,
#district-report-card-module .drc-similar-peer strong{color:var(--drc-primary);}
#district-report-card-module .drc-service-attribution{background:var(--drc-panel-bg);border-color:var(--drc-border);border-left-color:var(--drc-primary);}
#district-report-card-module .drc-service-attribution a{color:var(--drc-link);}
#district-report-card-module .drc2691-rate-track{background:var(--drc-table-stripe);border-color:var(--drc-border);}
#district-report-card-module .drc2691-rate-bar{background:var(--drc-chart-2);}
#district-report-card-module .drc2691-rate-row.is-selected .drc2691-rate-bar{background:var(--drc-selected);}
#district-report-card-module .drc2691-trend-line{stroke:var(--drc-chart-1);}
#district-report-card-module .drc-discipline-axis{stroke:var(--drc-chart-axis);}
#district-report-card-module .drc-discipline-trend-line{stroke:var(--drc-chart-1);}
#district-report-card-module .drc-discipline-trend-svg circle{fill:var(--drc-chart-1);stroke:var(--drc-chart-point-outline);}
#district-report-card-module .drc-discipline-trend-svg text{fill:var(--drc-chart-label);}
#district-report-card-module .drc-footer-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;}
#district-report-card-module .drc-footer-theme{display:flex;align-items:center;gap:6px;margin-left:auto;white-space:nowrap;}
#district-report-card-module .drc-footer-theme label{display:inline;margin:0;font-size:inherit;font-weight:600;color:var(--drc-muted);}
#district-report-card-module .drc-footer-theme select{width:auto;min-width:132px;min-height:30px;padding:4px 7px;font-size:inherit;color:var(--drc-text);background:var(--drc-panel-bg);}
#district-report-card-module .drc-footer-source{margin-top:6px;}

@media(max-width:700px){
    #district-report-card-module .drc-footer-row{align-items:flex-start;}
    #district-report-card-module .drc-footer-theme{width:100%;margin-left:0;}
    #district-report-card-module .drc-footer-theme select{flex:1;min-width:0;}
}

/* 26.10.5 contracted Finance views. */
#district-report-card-module .drc-fin-section > .drc-subsection-title{
    margin:18px 0 8px;
}
#district-report-card-module .drc-fin-section .drc-fin-table-wrap{
    margin-top:10px;
}
#district-report-card-module .drc-fin-legend{
    display:flex;
    flex-wrap:wrap;
    gap:8px 16px;
    margin:8px 0 10px;
    color:var(--drc-muted);
}
#district-report-card-module .drc-fin-legend-item{
    display:inline-flex;
    align-items:center;
    gap:6px;
}
#district-report-card-module .drc-fin-legend-item i{
    display:inline-block;
    width:18px;
    height:4px;
    border-radius:1px;
    background:var(--drc-chart-1);
}
#district-report-card-module .drc-fin-legend-item i[style]{height:10px;}
#district-report-card-module .drc-fin-swatch.is-operating{background:var(--drc-chart-1);}
#district-report-card-module .drc-fin-swatch.is-capital{background:var(--drc-chart-2);}
#district-report-card-module .drc-fin-swatch.is-debt{background:var(--drc-chart-3);}
#district-report-card-module .drc-fin-line{stroke-width:3;}
#district-report-card-module .drc-fin-line.is-operating{stroke:var(--drc-chart-1);}
#district-report-card-module .drc-fin-line.is-capital{stroke:var(--drc-chart-2);}
#district-report-card-module .drc-fin-line.is-debt{stroke:var(--drc-chart-3);}
#district-report-card-module .drc-fin-point{stroke:var(--drc-chart-point-outline);stroke-width:1.5;}
#district-report-card-module .drc-fin-point.is-operating{fill:var(--drc-chart-1);}
#district-report-card-module .drc-fin-point.is-capital{fill:var(--drc-chart-2);}
#district-report-card-module .drc-fin-point.is-debt{fill:var(--drc-chart-3);}
#district-report-card-module .drc-fin-chart-wrap{overflow-x:auto;max-width:100%;}
#district-report-card-module .drc-fin-chart{display:block;min-width:680px;width:100%;height:auto;}
#district-report-card-module .drc-fin-chart .drc-fin-grid,
#district-report-card-module .drc-fin-grid{stroke:var(--drc-chart-grid);stroke-width:1;}
#district-report-card-module .drc-fin-axis-label{fill:var(--drc-chart-label);}
#district-report-card-module .drc-fin-dashboard-axis-title{fill:var(--drc-chart-label);font-weight:700;}
#district-report-card-module .drc-fin-section .drc-note strong{color:var(--drc-heading);}
@media(max-width:700px){
    #district-report-card-module .drc-fin-section .drc-fin-table-wrap{overflow-x:auto;}
    #district-report-card-module .drc-fin-chart{min-width:620px;}
}

/* 26.10.5 Finance proof-of-concept: prose-first labels wrap while the
 * existing numeric columns retain their single-line reading behavior. */
#district-report-card-module .drc-fin-table-wrap.drc-table-wrap--readable td:not(:first-child),
#district-report-card-module .drc-fin-table-wrap.drc-table-wrap--readable th:not(:first-child){
    white-space:nowrap;
}

/* 26.10.5 Academics migration: shared hierarchy with academic geometry kept
 * local. Academic panels, SVG construction, measure wording, and suppression
 * semantics remain domain-owned; this block owns the presentation contract. */
#district-report-card-module .drc-academic-report{
    min-width:0;
    max-width:100%;
}
#district-report-card-module .drc-academic-report-header .drc-report-header{
    margin:0 0 var(--drc-space-section);
}
#district-report-card-module .drc-academic-report .drc-report-context-line{
    align-items:baseline;
}
#district-report-card-module .drc-academic-report .drc-section-title{
    margin:0 0 var(--drc-space-small);
    color:var(--drc-heading);
    font-size:var(--drc-font-size-section-title);
    line-height:1.3;
}
#district-report-card-module .drc-academic-report .drc-section-intro{
    margin:0 0 var(--drc-space-section);
    color:var(--drc-muted);
}
#district-report-card-module .drc-academic-report .drc-metric-card{
    min-width:0;
    padding:var(--drc-space-normal) var(--drc-space-panel);
}
#district-report-card-module .drc-academic-report .drc-summary-grid,
#district-report-card-module .drc-academic-report .drc-snapshot-card-grid,
#district-report-card-module .drc-academic-report .drc-snapshot-academic-grid{
    gap:var(--drc-space-card-gap);
}
#district-report-card-module .drc-academic-report .drc-summary-grid{
    margin-top:0;
}
#district-report-card-module .drc-academic-report .drc-source-note,
#district-report-card-module .drc-academic-report .drc-note{
    overflow-wrap:anywhere;
}
#district-report-card-module .drc-academic-report .drc-table-wrap.drc-ranking-scroll{
    max-height:clamp(320px,55vh,520px);
    overflow-y:auto;
}
#district-report-card-module .drc-academic-report .drc-table-wrap.drc-ranking-scroll thead th{
    z-index:2;
}
#district-report-card-module .drc-academic-report .drc-fastbridge-table-wrap table{
    min-width:760px;
}
#district-report-card-module .drc-academic-report .drc-fastbridge-aggregate-table th:last-child,
#district-report-card-module .drc-academic-report .drc-fastbridge-aggregate-table td:last-child,
#district-report-card-module .drc-academic-report .drc-fastbridge-grade-table th:last-child,
#district-report-card-module .drc-academic-report .drc-fastbridge-grade-table td:last-child{
    min-width:16rem;
    max-width:25rem;
}
#district-report-card-module .drc-academic-report .drc-comparison-data-table th,
#district-report-card-module .drc-academic-report .drc-comparison-data-table td{
    border:1px solid var(--drc-border);
}
#district-report-card-module .drc-academic-report .drc-comparison-data-table th{
    text-transform:none;
    letter-spacing:normal;
}
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll{
    width:100%;
    min-width:0;
    max-width:100%;
    margin:12px 0 16px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-gutter:stable;
}
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll
.drc-comparison-data-table{
    width:100%;
    min-width:1280px;
    margin:0;
    table-layout:auto;
}
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll
.drc-comparison-data-rank,
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll
.drc-comparison-data-number,
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll
.drc-comparison-data-money{
    text-align:right;
    white-space:nowrap;
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll
.drc-cell-number{
    min-width:5.5rem;
}
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll
.drc-cell-text{
    min-width:12rem;
    overflow-wrap:normal;
    word-break:normal;
}
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll
.drc-cell-series{
    min-width:8rem;
    overflow-wrap:normal;
    word-break:normal;
}
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll
.drc-cell-other{
    min-width:18rem;
    overflow-wrap:normal;
    word-break:normal;
}
#district-report-card-module .drc-academic-report .drc-comparison-data-scroll
thead .drc-cell-number{
    white-space:normal;
}
#district-report-card-module .drc-academic-report .drc-table-wrap.drc-snapshot26-shape table{
    min-width:760px;
}
#district-report-card-module .drc-academic-report .drc-academic-chart-frame{
    min-width:0;
    padding:0;
    overflow:visible;
    background:var(--drc-panel-bg);
}
#district-report-card-module .drc-academic-report .drc-academic-chart-frame > .drc-chart-header{
    padding:var(--drc-space-panel) var(--drc-space-panel) var(--drc-space-small);
}
#district-report-card-module .drc-academic-report .drc-academic-chart-frame > .drc-chart-header .drc-section-intro{
    flex:1 1 100%;
    margin:0;
}
#district-report-card-module .drc-academic-report .drc-academic-chart-frame > .drc-chart-legend,
#district-report-card-module .drc-academic-report .drc-academic-chart-frame > .drc-note,
#district-report-card-module .drc-academic-report .drc-academic-chart-frame > .drc-source-note{
    margin-left:var(--drc-space-panel);
    margin-right:var(--drc-space-panel);
}
#district-report-card-module .drc-academic-report .drc-academic-chart-frame > .drc-chart-surface{
    margin:0;
    padding:var(--drc-space-small) var(--drc-space-small) var(--drc-space-normal);
}
#district-report-card-module .drc-academic-report .drc-academic-chart-frame > .drc-chart-legend{
    margin-top:var(--drc-space-small);
    margin-bottom:var(--drc-space-small);
}
#district-report-card-module .drc-academic-report .drc-academic-chart-frame .drc-chart-surface > .drc-inflation-toggle{
    position:static;
    inset:auto;
    display:flex;
    width:max-content;
    margin:0 0 var(--drc-space-small);
}
#district-report-card-module .drc-academic-report .drc-snapshot26-trend-panel > .drc-chart-surface{
    padding-left:var(--drc-space-small);
    padding-right:var(--drc-space-small);
}
#district-report-card-module .drc-academic-report .drc-academic-chart-frame .drc-chart-surface > svg{
    max-width:100%;
}
#district-report-card-module .drc-academic-report .drc-chart-legend{
    color:var(--drc-muted);
}
#district-report-card-module .drc-academic-report .drc-snapshot26-distribution-row{
    padding:var(--drc-space-panel) 0;
}
#district-report-card-module .drc-academic-report .drc-fastbridge-academics{
    border-left:4px solid var(--drc-chart-5);
    background:var(--drc-panel-bg);
}
#district-report-card-module .drc-academic-report .drc-fastbridge-disclaimer,
#district-report-card-module .drc-academic-report .drc-fastbridge-chart-sources{
    background:var(--drc-surface-subtle);
    border-left-color:var(--drc-chart-5);
}
#district-report-card-module .drc-academic-report .drc-fastbridge-academics h4{
    color:var(--drc-heading);
}

/* 26.10.5 Configure comparison utility control.  Each control is a native
   button created and bound by the shared comparison UI factory. */
#district-report-card-module .drc-comparison-settings-trigger{
    position:relative;
    display:inline-flex!important;
    align-items:center;
    min-height:28px;
    width:auto!important;
    margin:0!important;
    padding:4px 6px!important;
    border:0!important;
    border-radius:2px;
    background:transparent!important;
    color:var(--drc-link)!important;
    font:inherit;
    font-size:1rem;
    font-weight:600;
    line-height:1.25;
    text-decoration:none;
    white-space:nowrap;
    cursor:pointer;
    appearance:none;
}
#district-report-card-module .drc-comparison-settings-trigger::before,
#district-report-card-module .drc-comparison-settings-trigger::after{
    color:var(--drc-primary);
    font-weight:700;
}
#district-report-card-module .drc-comparison-settings-trigger::before{content:"[";margin-right:3px}
#district-report-card-module .drc-comparison-settings-trigger::after{content:"]";margin-left:3px}
#district-report-card-module .drc-comparison-settings-trigger:hover{
    color:var(--drc-primary)!important;
    background:var(--drc-surface-subtle)!important;
    text-decoration:underline;
}
#district-report-card-module .drc-comparison-settings-trigger:focus-visible{
    outline:2px solid var(--drc-primary);
    outline-offset:2px;
    color:var(--drc-primary)!important;
    background:var(--drc-surface-subtle)!important;
}
#district-report-card-module .drc-comparison-settings-gear{display:none!important}
#district-report-card-module .drc-shared-comparison-header > [data-shared-comparison-title]{
    flex:0 1 auto;
    margin-left:auto;
    color:var(--drc-muted);
    font-size:.9em;
    font-weight:600;
}
#district-report-card-module .drc-shared-comparison-header > [data-comparison-settings]{
    flex:0 0 auto;
    margin-left:0!important;
}
@media(max-width:700px){
    #district-report-card-module .drc-shared-comparison-header > [data-shared-comparison-title]{
        flex:0 1 auto;
        margin-left:0;
    }
    #district-report-card-module .drc-shared-comparison-header > [data-comparison-settings]{
        margin-left:0!important;
    }
}

@media(max-width:700px){
    #district-report-card-module .drc-academic-report .drc-report-context-line{
        align-items:flex-start;
        flex-direction:column;
        gap:3px;
    }
    #district-report-card-module .drc-academic-report .drc-summary-grid{
        grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
        gap:10px;
    }
    #district-report-card-module .drc-academic-report .drc-metric-card{
        padding:var(--drc-space-normal);
    }
    #district-report-card-module .drc-academic-report .drc-academic-chart-frame > .drc-chart-header{
        align-items:flex-start;
        padding:var(--drc-space-normal) var(--drc-space-normal) var(--drc-space-small);
    }
    #district-report-card-module .drc-academic-report .drc-academic-chart-frame > .drc-chart-surface{
        padding-left:var(--drc-space-normal);
        padding-right:var(--drc-space-normal);
    }
    #district-report-card-module .drc-academic-report .drc-snapshot26-trend-panel > .drc-chart-surface{
        padding-left:var(--drc-space-normal);
        padding-right:var(--drc-space-normal);
    }
    #district-report-card-module .drc-academic-report .drc-table-wrap--readable .drc-cell-label{
        min-width:13rem;
    }
}

/* 26.10.5 R10 common comparison shell. The static shell owns four paired
   rows. The right column is intrinsic so the district controls yield space to
   the longest supported comparison label. */
#district-report-card-module .drc-controls{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
    grid-template-rows:auto minmax(42px,auto) auto minmax(42px,auto);
    column-gap:20px;
    row-gap:8px;
    align-items:end;
    min-width:0;
    max-width:100%;
    padding-bottom:14px;
    border-bottom:1px solid var(--drc-border);
}
#district-report-card-module #drcFindDistrictLabel{
    grid-column:1;
    grid-row:1;
}
#district-report-card-module #drcDistrictControl{
    grid-column:1;
    grid-row:2;
    min-width:0;
    width:auto;
}
#district-report-card-module #drcSelectedDistrictLabel{
    grid-column:1;
    grid-row:3;
}
#district-report-card-module #drcSelectedDistrictControl{
    grid-column:1;
    grid-row:4;
    min-width:0;
    width:auto;
}
#district-report-card-module .drc-common-shell-spacer{
    grid-column:2;
    min-width:0;
}
#district-report-card-module .drc-common-shell-spacer:nth-child(2){
    grid-row:1;
}
#district-report-card-module .drc-common-shell-spacer:nth-child(6){
    grid-row:3;
}
#district-report-card-module #drcCommonComparisonRegion{
    grid-column:2;
    grid-row:2;
    display:flex;
    align-items:stretch;
    justify-content:center;
    align-self:center;
    width:100%;
    max-width:100%;
    min-width:0;
}
#district-report-card-module .drc-common-comparison-utility{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:0;
    max-width:100%;
    flex-wrap:wrap;
    white-space:normal;
}
#district-report-card-module #drcCommonComparisonLabel{
    flex:1 1 auto;
    min-width:0;
    color:var(--drc-muted);
    font-weight:700;
    line-height:1.25;
    white-space:normal;
}
#district-report-card-module #drcCommonComparisonConfigure{
    flex:0 0 auto;
}
#district-report-card-module #drcRunControl{
    grid-column:2;
    grid-row:4;
    flex:0 0 auto;
    width:100%;
    min-width:0;
}
#district-report-card-module #drcRun{
    width:100%;
}

/* Preserve the compact one-line comparison cluster where the module can
 * support it. At medium widths the shared grid and utility are allowed to
 * wrap as a unit so the closed controls remain inside the module. */
@media(min-width:1101px){
    #district-report-card-module .drc-controls{
        grid-template-columns:minmax(240px,1fr) max-content;
    }
    #district-report-card-module .drc-common-comparison-utility{
        flex-wrap:nowrap;
        white-space:nowrap;
    }
    #district-report-card-module #drcCommonComparisonLabel{
        flex:0 0 auto;
        white-space:nowrap;
    }
}

#district-report-card-module .drc-academic-controls,
#district-report-card-module .drc-students-controls,
#district-report-card-module .drc-finance-controls,
#district-report-card-module .drc-staffing-controls{
    margin-top:14px;
    padding-top:0;
    border-top:0;
}
#district-report-card-module .drc-insights-controls{
    margin-top:14px;
}

/* Enrollment & Choice adds source-specific family panels without allowing
 * the Charter and homeschool tables to collapse into the Open Enrollment
 * student-headcount story. */
#district-report-card-module .drc-choice-two-column{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
    margin-top:18px;
}
#district-report-card-module .drc-choice-two-column>div{
    min-width:0;
}
#district-report-card-module .drc-choice-two-column h4{
    margin-top:0;
}
#district-report-card-module .drc-choice-table th,
#district-report-card-module .drc-choice-table td{
    white-space:normal;
}
#district-report-card-module .drc-choice-history{
    width:100%;
    max-width:52rem;
}
#district-report-card-module .drc-choice-history-wrap{
    max-height:34rem;
    overflow:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
}
#district-report-card-module .drc-choice-history thead th{
    position:sticky;
    top:0;
    z-index:2;
    background:var(--drc-surface,#fff);
}
#district-report-card-module .drc-choice-disclosure{
    margin:16px 0 20px;
    border:1px solid var(--drc-border);
    border-radius:6px;
    background:var(--drc-surface,#fff);
}
#district-report-card-module .drc-choice-disclosure summary{
    cursor:pointer;
    padding:12px 14px;
    font-weight:700;
}
#district-report-card-module .drc-choice-disclosure summary:focus-visible{
    outline:3px solid var(--drc-focus,#1d4ed8);
    outline-offset:2px;
}
#district-report-card-module .drc-choice-disclosure .drc-note{
    margin:0;
    border:0;
    border-top:1px solid var(--drc-border);
    border-radius:0;
}
#district-report-card-module .drc-choice-comparison{
    margin-top:20px;
    padding-top:4px;
    border-top:1px solid var(--drc-border);
}
#district-report-card-module .drc-summary-grid--comparison{
    grid-template-columns:repeat(5,minmax(0,1fr));
}
#district-report-card-module .drc-choice-caveat{
    border-left:4px solid var(--drc-warning,#9a6700);
}
#district-report-card-module .drc-choice-homeschool .drc-table-wrap,
#district-report-card-module .drc-choice-charter .drc-table-wrap{
    margin-top:14px;
}
@media(max-width:760px){
    #district-report-card-module .drc-choice-two-column{
        grid-template-columns:1fr;
    }
    #district-report-card-module .drc-summary-grid--comparison{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:700px){
    #district-report-card-module .drc-staff-chart{
        min-width:0;
    }
    #district-report-card-module .drc-summary-grid--comparison{
        grid-template-columns:1fr;
    }
    #district-report-card-module .drc-controls{
        grid-template-columns:minmax(0,1fr);
        grid-template-rows:none;
        row-gap:8px;
    }
    #district-report-card-module .drc-common-shell-spacer{display:none;}
    #district-report-card-module #drcFindDistrictLabel,
    #district-report-card-module #drcDistrictControl,
    #district-report-card-module #drcSelectedDistrictLabel,
    #district-report-card-module #drcSelectedDistrictControl,
    #district-report-card-module #drcCommonComparisonRegion,
    #district-report-card-module #drcRunControl{grid-column:1;grid-row:auto;}
    #district-report-card-module #drcFindDistrictLabel{grid-row:1;}
    #district-report-card-module #drcDistrictControl{grid-row:2;}
    #district-report-card-module #drcSelectedDistrictLabel{grid-row:3;}
    #district-report-card-module #drcSelectedDistrictControl{grid-row:4;}
    #district-report-card-module #drcCommonComparisonRegion{grid-row:5;}
    #district-report-card-module #drcRunControl{grid-row:6;}
    #district-report-card-module #drcCommonComparisonRegion{
        width:100%;
    }
    #district-report-card-module .drc-common-comparison-utility{
        justify-content:flex-start;
        width:100%;
    }
}

/* 26.10.5 large-desktop page rail. The DRC-specific Analyze container owns
 * the wider normal-page layout; its direct children, including .drc-tool,
 * remain ordinary blocks in that container's Bootstrap content box. Embed
 * has its own viewport-width contract and <=1280px behavior is unchanged. */
@media screen and (min-width:1281px){
    html:not(.drc-embed-mode) body:not(.embed-mode):not(.print-mode) #container.drc-page-container{
        width:min(90vw,1800px);
        max-width:1800px;
    }
}
/* 26.10.5 Transportation Finance uses the shared DRC cards, panels, tables
 * and rank visualization. Only the provider split remains domain-specific. */
#district-report-card-module .drc-transportation-report{font-size:var(--drc-font-size-body,1rem);line-height:1.5;overflow-wrap:anywhere}
#district-report-card-module .drc-transport-section{margin-top:var(--drc-space-section,1.5rem)}
#district-report-card-module .drc-transport-section:first-child{margin-top:0}
#district-report-card-module .drc-transport-section .drc-section-header{margin-bottom:var(--drc-space-normal,.75rem)}
#district-report-card-module .drc-transport-section .drc-metric-card.is-selected{box-shadow:inset 4px 0 0 var(--drc-primary)}
#district-report-card-module .drc-transport-provider{display:grid;gap:.5rem;max-width:32rem;margin:var(--drc-space-normal,1rem) 0 0;padding:.75rem 0;border-top:1px solid var(--drc-border)}
#district-report-card-module .drc-transport-provider > div{display:flex;justify-content:space-between;gap:1rem;color:var(--drc-text)}
#district-report-card-module .drc-transport-provider strong{font-variant-numeric:tabular-nums;color:var(--drc-primary)}
#district-report-card-module .drc-transport-source-code-list{margin:.5rem 0 0 1.2rem;padding:0}
#district-report-card-module .drc-transport-source-code-list li+li{margin-top:.45rem}
#district-report-card-module .drc-transportation-report .drc-table-wrap{overflow-x:auto}
#district-report-card-module .drc-transportation-report .drc-table{font-size:1rem}
#district-report-card-module .drc-transportation-report .drc-table th{font-size:.95rem;line-height:1.3;white-space:normal}
#district-report-card-module .drc-transportation-report .drc-table td{line-height:1.4}
#district-report-card-module .drc-transportation-report .drc-metric-value{font-variant-numeric:tabular-nums;min-width:0}
#district-report-card-module .drc-transportation-report .drc-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
#district-report-card-module .drc-transportation-report .drc-summary-grid--comparison{grid-template-columns:repeat(5,minmax(0,1fr))}
#district-report-card-module .drc-funding-composition{display:grid;gap:.5rem;margin-top:1rem;padding:1rem;border:1px solid var(--drc-border);background:var(--drc-surface,#fff)}
#district-report-card-module .drc-funding-composition-row{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--drc-border);padding:.45rem 0}
#district-report-card-module .drc-funding-composition-row:last-child{border-bottom:0}
#district-report-card-module .drc-funding-composition-row span{font-variant-numeric:tabular-nums;font-weight:700}
#district-report-card-module .drc-funding-sections{display:grid;gap:1rem;margin-top:1rem}
#district-report-card-module .drc-funding-block{padding:1rem;border:1px solid var(--drc-border);background:var(--drc-surface,#fff)}
#district-report-card-module .drc-funding-block h4{margin:0 0 .35rem;font-size:1.08rem}
#district-report-card-module .drc-funding-block .drc-summary-grid{margin-top:.75rem}
#district-report-card-module .drc-funding-block--mde{border-top:4px solid var(--drc-primary)}
#district-report-card-module .drc-funding-block--statutory{border-top:4px solid var(--drc-chart-3,#6b7280)}
#district-report-card-module .drc-transportation-report .drc-insights-rank-rows{width:100%;max-width:none}
#district-report-card-module .drc-transportation-report .drc-insights-graphic{width:100%;max-width:none}
#district-report-card-module .drc-comparison-data-accessible{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}
#district-report-card-module .drc-transportation-report .drc-sped-rank-name{min-width:0}
#district-report-card-module .drc-transportation-report .drc-sped-rank-value{min-width:0}
#district-report-card-module .drc-visualization-semantic-values{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#district-report-card-module .drc-transportation-measure-controls{width:100%;margin:var(--drc-space-normal,1rem) 0 0}
#district-report-card-module .drc-transportation-measure-controls + .drc-note{margin-top:var(--drc-space-small,.5rem)}
#district-report-card-module .drc-transport-comparison-element{margin-top:var(--drc-space-section,1.5rem);padding-top:var(--drc-space-normal,.75rem);border-top:1px solid var(--drc-border)}
#district-report-card-module .drc-transport-comparison-element:first-of-type{margin-top:var(--drc-space-normal,.75rem)}
#district-report-card-module .drc-transport-comparison-element > h4{margin:0 0 var(--drc-space-small,.5rem);color:var(--drc-heading)}
#district-report-card-module .drc-dual-time-series{margin:1rem 0 0;padding:0}
#district-report-card-module .drc-dual-time-series-legend{display:flex;flex-wrap:wrap;gap:1rem;margin:0 0 .5rem;font-weight:700}
#district-report-card-module .drc-dual-time-series-legend span:before{content:"";display:inline-block;width:1.6rem;height:.18rem;vertical-align:middle;margin-right:.4rem;background:currentColor}
#district-report-card-module .drc-dual-legend-primary{color:var(--drc-primary,#1d4ed8)}
#district-report-card-module .drc-dual-legend-secondary{color:var(--drc-secondary,#b45309)}
#district-report-card-module .drc-dual-time-series-svg{display:block;width:100%;height:auto;min-height:20rem;overflow:visible}
#district-report-card-module .drc-dual-grid-line{stroke:var(--drc-border,#d1d5db);stroke-width:1;stroke-dasharray:3 4}
#district-report-card-module .drc-dual-axis-line{stroke:var(--drc-text,#1f2937);stroke-width:1.2}
#district-report-card-module .drc-dual-axis-label,#district-report-card-module .drc-dual-x-label,#district-report-card-module .drc-dual-axis-title{fill:var(--drc-text,#1f2937)}
#district-report-card-module .drc-dual-axis-title{font-weight:700}
#district-report-card-module .drc-dual-series-primary{fill:none;stroke:var(--drc-primary,#1d4ed8);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
#district-report-card-module .drc-dual-series-secondary{fill:none;stroke:var(--drc-secondary,#b45309);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
#district-report-card-module .drc-dual-point-primary{fill:var(--drc-chart-1,#1d4ed8);stroke:var(--drc-chart-1,#1d4ed8);stroke-width:2}
#district-report-card-module .drc-dual-point-secondary{fill:var(--drc-secondary,#b45309);stroke:var(--drc-secondary,#b45309);stroke-width:2}
#district-report-card-module .drc-dual-point-primary.is-selected,#district-report-card-module .drc-dual-point-secondary.is-selected{stroke-width:3;stroke-dasharray:2 1}
#district-report-card-module .drc-dual-time-series-values{margin-top:.75rem}
#district-report-card-module .drc-dual-time-series-values .drc-table{min-width:34rem}
#district-report-card-module .drc-signed-time-series{margin:1rem 0 0;padding:0}
#district-report-card-module .drc-signed-time-series-context{margin:0 0 .75rem;line-height:1.45}
#district-report-card-module .drc-signed-time-series-legend{display:flex;flex-wrap:wrap;gap:1rem;margin:0 0 .5rem;font-weight:700}
#district-report-card-module .drc-signed-time-series-legend span:first-child:before{content:"";display:inline-block;width:1.6rem;height:.18rem;vertical-align:middle;margin-right:.4rem;background:var(--drc-primary,#1d4ed8)}
#district-report-card-module .drc-signed-time-series-svg{display:block;width:100%;height:auto;min-height:20rem;overflow:visible}
#district-report-card-module .drc-signed-grid-line{stroke:var(--drc-border,#d1d5db);stroke-width:1;stroke-dasharray:3 4}
#district-report-card-module .drc-signed-axis-line{stroke:var(--drc-text,#1f2937);stroke-width:1.2}
#district-report-card-module .drc-signed-axis-label,#district-report-card-module .drc-signed-x-label,#district-report-card-module .drc-signed-axis-title,#district-report-card-module .drc-signed-zero-label{fill:var(--drc-text,#1f2937)}
#district-report-card-module .drc-signed-axis-title,#district-report-card-module .drc-signed-zero-label{font-weight:700}
#district-report-card-module .drc-signed-time-series-line{fill:none;stroke:var(--drc-primary,#1d4ed8);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
#district-report-card-module .drc-signed-time-series-line.is-continuity{stroke:var(--drc-chart-1);stroke-width:3;}
#district-report-card-module .drc-signed-zero-line{stroke:var(--drc-text,#1f2937);stroke-width:2;stroke-dasharray:6 3;vector-effect:non-scaling-stroke}
#district-report-card-module .drc-signed-time-series-point{fill:var(--drc-chart-1,#1d4ed8);stroke:var(--drc-chart-1,#1d4ed8);stroke-width:2;vector-effect:non-scaling-stroke}
#district-report-card-module .drc-signed-time-series-legend span:before{content:"";display:inline-block;width:1.6rem;height:.18rem;vertical-align:middle;margin-right:.4rem;background:currentColor}
#district-report-card-module .drc-signed-legend-is-shortfall,#district-report-card-module .drc-signed-time-series-point.is-shortfall{color:var(--drc-chart-1,#1d4ed8);fill:var(--drc-chart-1,#1d4ed8);stroke:var(--drc-chart-1,#1d4ed8)}
#district-report-card-module .drc-signed-legend-is-surplus,#district-report-card-module .drc-signed-time-series-point.is-surplus{color:var(--drc-chart-2,#b45309);fill:var(--drc-chart-2,#b45309);stroke:var(--drc-chart-2,#b45309)}
#district-report-card-module .drc-signed-legend-is-break-even:before{height:0;background:none;border-top:2px dashed var(--drc-text,#272727)}
#district-report-card-module .drc-signed-time-series-point.is-break-even{fill:var(--drc-panel-bg,#fff);stroke:var(--drc-text,#272727)}
#district-report-card-module .drc-signed-time-series-point.is-selected{stroke-width:3;stroke-dasharray:2 1}
#district-report-card-module .drc-signed-time-series-values{margin-top:.75rem}
#district-report-card-module .drc-signed-time-series-values .drc-table{min-width:28rem}
@media (max-width:700px){
 #district-report-card-module .drc-transport-provider{max-width:none}
 #district-report-card-module .drc-transportation-report .drc-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #district-report-card-module .drc-transportation-report .drc-summary-grid--comparison{grid-template-columns:repeat(2,minmax(0,1fr))}
 #district-report-card-module .drc-dual-time-series-svg{min-height:15rem}
 #district-report-card-module .drc-signed-time-series-svg{min-height:15rem}
}
@media (max-width:1100px){
 #district-report-card-module .drc-transportation-report .drc-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 #district-report-card-module .drc-transportation-report .drc-summary-grid--comparison{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:760px){
 #district-report-card-module .drc-transportation-report .drc-summary-grid,
 #district-report-card-module .drc-transportation-report .drc-summary-grid--comparison{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:420px){
 #district-report-card-module .drc-transportation-report .drc-summary-grid,
 #district-report-card-module .drc-transportation-report .drc-summary-grid--comparison{grid-template-columns:1fr}
}

/* 26.10.5 final comparison label-lane contract. Both the generic rank
 * renderer and Finance's cohort surface participate in the same parent grid.
 * Subgrid keeps the max-content label and value tracks cohort-wide while the
 * middle track remains the only flexible plot lane. */
#district-report-card-module .drc-shared-comparison-grid{
    display:grid;
    grid-template-columns:max-content minmax(0,1fr) max-content;
    column-gap:8px;
    row-gap:8px;
    align-items:center;
    min-width:0;
    max-width:100%;
}
#district-report-card-module .drc-shared-comparison-grid > .drc-shared-comparison-row{
    display:grid;
    grid-column:1 / -1;
    grid-template-columns:subgrid;
    align-items:center;
    min-width:0;
    margin:0;
}
#district-report-card-module .drc-shared-comparison-grid .drc-sped-rank-name,
#district-report-card-module .drc-shared-comparison-grid .drc-fin-cohort-name{
    min-width:0;
    overflow-wrap:anywhere;
}
#district-report-card-module .drc-selected-district-note{
    display:block;
    font-size:.9em;
    line-height:1.15;
}
#district-report-card-module .drc-shared-comparison-grid .drc-insights-axis,
#district-report-card-module .drc-shared-comparison-grid .drc-fin-cohort-axis{
    grid-column:2;
    display:grid;
    grid-template-columns:max-content minmax(0,1fr) max-content;
    min-width:0;
    margin:3px 0 0;
    color:var(--drc-muted);
    font-size:76%;
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-shared-comparison-grid .drc-insights-axis span:first-child,
#district-report-card-module .drc-shared-comparison-grid .drc-fin-cohort-axis span:first-child{
    grid-column:1;
}
#district-report-card-module .drc-shared-comparison-grid .drc-insights-axis span:nth-child(2),
#district-report-card-module .drc-shared-comparison-grid .drc-fin-cohort-axis span:nth-child(2){
    grid-column:2;
    text-align:center;
}
#district-report-card-module .drc-shared-comparison-grid .drc-insights-axis span:last-child,
#district-report-card-module .drc-shared-comparison-grid .drc-fin-cohort-axis span:last-child{
    grid-column:3;
    text-align:right;
}
#district-report-card-module .drc-shared-comparison-grid .drc-fin-cohort-axis span:last-child{
    text-align:right;
}
#district-report-card-module .drc-shared-comparison-grid .drc-sped-rank-row,
#district-report-card-module .drc-shared-comparison-grid .drc-fin-cohort-row{
    grid-template-columns:subgrid;
    margin:0;
}
#district-report-card-module .drc-statewide-comparison-scroll{
    max-width:100%;
    max-height:clamp(360px,calc(100vh - 24rem),620px);
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    border:1px solid var(--drc-border);
    background:var(--drc-panel-bg);
    padding:8px 10px;
    box-sizing:border-box;
}
#district-report-card-module .drc-statewide-comparison-layout{
    width:100%;
}
#district-report-card-module .drc-statewide-comparison-layout > .drc-statewide-comparison-scroll{
    display:grid;
    grid-column:1 / -1;
    grid-template-columns:subgrid;
}
#district-report-card-module .drc-statewide-comparison-layout > .drc-statewide-comparison-scroll > .drc-insights-rank-rows{
    grid-column:1 / -1;
    grid-template-columns:subgrid;
}
#district-report-card-module .drc-statewide-comparison-layout > .drc-insights-axis{
    grid-column:2;
}
#district-report-card-module .drc-statewide-comparison-scroll:focus-visible{
    outline:3px solid var(--drc-focus,#1d4ed8);
    outline-offset:2px;
}
#district-report-card-module .drc-statewide-comparison-scroll .drc-insights-rank-rows{
    width:100%;
    max-width:none;
}
@media(max-width:700px){
    #district-report-card-module .drc-shared-comparison-grid{
        grid-template-columns:minmax(0,34%) minmax(0,1fr) max-content;
        column-gap:7px;
        row-gap:7px;
    }
    #district-report-card-module .drc-shared-comparison-grid > .drc-shared-comparison-row{
        grid-template-columns:subgrid;
    }
    #district-report-card-module .drc-shared-comparison-grid .drc-insights-axis,
    #district-report-card-module .drc-shared-comparison-grid .drc-fin-cohort-axis{
        font-size:72%;
    }
    #district-report-card-module .drc-statewide-comparison-scroll{
        max-height:clamp(280px,52vh,480px);
        padding:6px 7px;
    }
}
@media(max-width:340px){
    #district-report-card-module .drc-shared-comparison-grid .drc-insights-axis,
    #district-report-card-module .drc-shared-comparison-grid .drc-fin-cohort-axis{
        font-size:58%;
    }
}
@media print{
    #district-report-card-module .drc-statewide-comparison-scroll{
        max-height:none;
        overflow:visible;
        border:0;
        padding:0;
    }
}

/* Final override after legacy shared rules: the active Postsecondary visual
 * has no artificial chart/table width. */
#district-report-card-module .drc-postsecondary-report,
#district-report-module .drc-postsecondary-report{min-width:0;max-width:none;}
#district-report-card-module .drc-postsecondary-report{position:relative;}
#district-report-card-module .drc-postsecondary-anchor{
    position:absolute;
    top:0;
    left:0;
    width:0;
    height:0;
    overflow:hidden;
}
#district-report-card-module .drc-postsecondary-report .drc-postsecondary-comparison-table{min-width:0;}
#district-report-card-module .drc-postsecondary-report .drc-postsecondary-comparison-table-wrap{max-width:100%;overflow-x:auto;}
#district-report-card-module .drc-postsecondary-district-comparison-report{min-width:0;}
#district-report-card-module .drc-postsecondary-district-comparison{margin:0;padding:0;border:0;background:transparent;}

/* Human-review correction pass: keep the Postsecondary rows on the shared
 * DRC reading contract while giving the quantitative lane the available room.
 * The plot is flexible; only the value lane remains compact. */
#district-report-card-module .drc-postsecondary-updated{
    margin:0 0 var(--drc-space-normal);
    font-size:var(--drc-font-size-context);
    line-height:1.5;
}
#district-report-card-module .drc-postsecondary-visual{margin:0 0 var(--drc-space-section);}
#district-report-card-module .drc-postsecondary-comparison-context,
#district-report-card-module .drc-postsecondary-table-context,
#district-report-card-module .drc-postsecondary-about p{
    font-size:var(--drc-font-size-body);
    line-height:1.55;
}
#district-report-card-module .drc-postsecondary-comparison-context{margin:0 0 var(--drc-space-normal);}
#district-report-card-module .drc-postsecondary-measure-group{
    margin:var(--drc-space-normal) 0 var(--drc-space-section);
    padding:var(--drc-space-panel);
}
#district-report-card-module .drc-postsecondary-measure-group h4{
    font-size:var(--drc-font-size-chart-title);
    line-height:1.35;
}
#district-report-card-module .drc-postsecondary-measure-note{
    margin:var(--drc-space-tight) 0 var(--drc-space-normal);
    font-size:var(--drc-font-size-context);
    line-height:1.5;
}
#district-report-card-module .drc-postsecondary-bar-header,
#district-report-card-module .drc-postsecondary-bar-row{
    grid-template-columns:minmax(180px,1.05fr) minmax(0,4fr) minmax(var(--drc-postsecondary-value-lane),var(--drc-postsecondary-value-lane));
    gap:var(--drc-space-normal);
}
#district-report-card-module .drc-postsecondary-bars{--drc-postsecondary-value-lane:clamp(160px,11vw,170px);}
#district-report-card-module .drc-postsecondary-bar-header{
    display:grid;
    align-items:end;
    margin:0 0 var(--drc-space-tight);
}
#district-report-card-module .drc-postsecondary-bar-value-header{
    display:grid;
    grid-column:3;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:0;
    width:100%;
    max-width:100%;
    min-width:0;
    color:var(--drc-text);
    font-size:var(--drc-font-size-context);
    font-weight:700;
    line-height:1.3;
    text-align:right;
}
#district-report-card-module .drc-postsecondary-bar-value-header > span:first-child{color:var(--drc-selected);}
#district-report-card-module .drc-postsecondary-bar-value-header > span:last-child{color:var(--drc-text);}
#district-report-card-module .drc-postsecondary-bar-value-header > span,
#district-report-card-module .drc-postsecondary-bar-value-comparison{
    border-left:1px solid var(--drc-border);
    padding-left:var(--drc-space-small);
}
#district-report-card-module .drc-postsecondary-bar-value-header > span:first-child,
#district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-district{
    border-left:0;
    padding-left:0;
}
#district-report-card-module .drc-postsecondary-bar-label{
    font-size:var(--drc-font-size-body);
    line-height:1.4;
    overflow-wrap:anywhere;
}
#district-report-card-module .drc-postsecondary-bar-value{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center;
    min-width:0;
    font-size:var(--drc-font-size-body);
    line-height:1.45;
    text-align:right;
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-district,
#district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-comparison{
    display:block;
    min-width:0;
    margin:0;
    font-size:var(--drc-font-size-chart-value);
    line-height:1.3;
}
#district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-district{
    color:var(--drc-selected);
    font-weight:700;
}
#district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-comparison{
    color:var(--drc-text);
    font-weight:600;
}
/* The legacy bar-value span rule above targets every descendant span. Keep
 * the semantic chart-value role on the actual glyph-bearing node so the
 * parent role cannot be reduced to helper text by that descendant cascade. */
#district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-district > .drc-postsecondary-value-text,
#district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-comparison > .drc-postsecondary-value-text{
    display:block;
    margin:0;
    font-size:var(--drc-font-size-chart-value)!important;
    line-height:1.3;
    font-weight:inherit;
}
#district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-district > .drc-postsecondary-value-text{
    color:var(--drc-selected);
}
#district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-comparison > .drc-postsecondary-value-text{
    color:var(--drc-text);
}
#district-report-card-module .drc-postsecondary-value-label{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    white-space:nowrap;
    border:0;
}
#district-report-card-module .drc-postsecondary-value-text{display:block;overflow-wrap:anywhere;}
#district-report-card-module .drc-postsecondary-bar-axis{font-size:var(--drc-font-size-context);}
#district-report-card-module .drc-postsecondary-bar-key{
    margin:0 0 var(--drc-space-normal);
    font-size:var(--drc-font-size-context);
    line-height:1.5;
}
#district-report-card-module .drc-postsecondary-value-status-note{
    margin:var(--drc-space-normal) 0 0;
    color:var(--drc-muted);
    font-size:var(--drc-font-size-source);
    line-height:1.5;
}
#district-report-card-module .drc-postsecondary-value-status-note a{color:var(--drc-link);}
#district-report-card-module .drc-postsecondary-breadcrumb{display:none;}
#district-report-card-module .drc-postsecondary-about{margin:0 0 var(--drc-space-section);}
#district-report-card-module .drc-postsecondary-about h3{font-size:var(--drc-font-size-section-title);line-height:1.3;}
#district-report-card-module .drc-postsecondary-source{font-size:var(--drc-font-size-source)!important;line-height:1.5;}

@media(max-width:900px){
    #district-report-card-module .drc-postsecondary-bar-header,
    #district-report-card-module .drc-postsecondary-bar-row{
        grid-template-columns:minmax(190px,1fr) minmax(240px,2fr);
    }
    #district-report-card-module .drc-postsecondary-bar-value-header,
    #district-report-card-module .drc-postsecondary-bar-value{
        grid-column:2;
    }
}
@media(max-width:700px){
    #district-report-card-module .drc-postsecondary-bar-header,
    #district-report-card-module .drc-postsecondary-bar-row{grid-template-columns:1fr;gap:var(--drc-space-small);}
    #district-report-card-module .drc-postsecondary-bar-value-header,
    #district-report-card-module .drc-postsecondary-bar-value{grid-column:auto;}
    #district-report-card-module .drc-postsecondary-value-label{
        position:static;
        width:auto;
        height:auto;
        margin:0 var(--drc-space-tight) 0 0;
        overflow:visible;
        clip:auto;
        white-space:normal;
        border:0;
        color:var(--drc-muted);
        font-size:var(--drc-font-size-context);
        font-weight:700;
    }
    #district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-district > .drc-postsecondary-value-text,
    #district-report-card-module .drc-postsecondary-bar-value > .drc-postsecondary-bar-value-comparison > .drc-postsecondary-value-text{display:inline;}
}

/* A marker may be the only child when the selected value is unavailable. */
#district-report-card-module .drc-postsecondary-bar-track>.drc-postsecondary-bar-reference{
    display:block;
    height:auto;
    border-radius:0;
    background:transparent;
}

/* 26.11.0 Academics selection area. */
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-controls{display:grid;grid-template-columns:minmax(0,2fr) repeat(4,minmax(0,1fr));gap:12px;align-items:start;padding:12px 0 2px;border-top:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-controls > .drc-control,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-year-range{min-width:0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-controls > [hidden]{display:none!important;}
#district-report-card-module[data-drc-academic-v2="1"] #drcAcademicViewWrap{grid-column:auto;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-controls > .drc-control label,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-year-range label{display:block;margin:0 0 5px;color:var(--drc-heading);font-weight:700;line-height:1.3;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-controls > .drc-control select,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-year-range select{width:100%;min-width:0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-year-range{grid-column:2 / span 2;margin:0;padding:8px 10px 10px;border:1px solid var(--drc-border);border-radius:7px;background:var(--drc-surface-subtle);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-year-range legend{width:auto;margin-left:2px;padding:0 5px;color:var(--drc-heading);font-size:.84rem;font-weight:700;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-year-range-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-trend{margin-bottom:16px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-trend .drc-academic-guidance{margin-top:12px;}
@media(max-width:1100px) and (min-width:701px){#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-controls{grid-template-columns:repeat(2,minmax(0,1fr));}#district-report-card-module[data-drc-academic-v2="1"] #drcAcademicViewWrap{grid-column:1 / -1;}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-year-range{grid-column:1 / -1;}}
@media(max-width:700px){#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-controls{grid-template-columns:1fr;gap:10px;}#district-report-card-module[data-drc-academic-v2="1"] #drcAcademicViewWrap,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-year-range{grid-column:auto;}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-year-range-controls{grid-template-columns:1fr;gap:8px;}}

/* M6V: shell feedback stays with the control that is waiting. */
#district-report-card-module .drc-control-status{
    display:block;
    margin-top:5px;
    color:var(--drc-muted);
    font-size:.84rem;
    line-height:1.3;
}
#district-report-card-module .drc-control-status.is-error{color:var(--drc-status-negative);}
#district-report-card-module .drc-inline-retry{
    margin-top:6px;
    padding:.3rem .6rem;
    font-size:.84rem;
}
#district-report-card-module .drc-academic-controls{
    display:grid;
    grid-template-columns:minmax(0,2fr) repeat(4,minmax(0,1fr));
    gap:12px;
    align-items:start;
    padding:12px 0 2px;
    border-top:1px solid var(--drc-border);
}
#district-report-card-module .drc-academic-controls > .drc-control,
#district-report-card-module .drc-academic-year-range{min-width:0;}
#district-report-card-module .drc-academic-controls > .drc-control label,
#district-report-card-module .drc-academic-year-range label{
    display:block;
    margin:0 0 5px;
    color:var(--drc-heading);
    font-weight:700;
    line-height:1.3;
}
#district-report-card-module .drc-academic-controls > .drc-control select,
#district-report-card-module .drc-academic-year-range select{width:100%;min-width:0;}
#district-report-card-module .drc-academic-controls #drcAcademicViewWrap{grid-column:auto;}
#district-report-card-module .drc-academic-controls #drcAcademicViewWrap select{max-width:none;}
#district-report-card-module .drc-academic-year-range{margin:0;padding:8px 10px 10px;border:1px solid var(--drc-border);border-radius:7px;background:var(--drc-surface-subtle);}
#district-report-card-module .drc-academic-year-range legend{width:auto;margin-left:2px;padding:0 5px;color:var(--drc-heading);font-size:.84rem;font-weight:700;}
#district-report-card-module .drc-academic-year-range-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
#district-report-card-module .drc-academic-filter-summary{grid-column:1 / -1;color:var(--drc-muted);font-size:.86rem;line-height:1.35;}
#district-report-card-module .drc-academic-filter-summary[hidden]{display:none;}
#district-report-card-module .drc-academic-question{
    margin:0 0 8px;
    color:var(--drc-muted);
    font-size:.95rem;
    line-height:1.4;
}
@media(max-width:1100px) and (min-width:701px){
    #district-report-card-module .drc-academic-controls{grid-template-columns:repeat(2,minmax(0,1fr));}
    #district-report-card-module .drc-academic-controls #drcAcademicViewWrap,
    #district-report-card-module .drc-academic-controls #drcAcademicMetricWrap{grid-column:1 / -1;}
    #district-report-card-module .drc-academic-controls #drcAcademicYearWrap{grid-column:1;}
    #district-report-card-module .drc-academic-controls #drcAcademicSubjectWrap{grid-column:2;}
    #district-report-card-module .drc-academic-controls #drcAcademicGradeWrap{grid-column:1;}
    #district-report-card-module .drc-academic-controls > .drc-control:has(#drcMcaGroup){grid-column:2;}
    #district-report-card-module .drc-academic-year-range{grid-column:1 / -1;}
}
@media(max-width:700px){
    #district-report-card-module .drc-academic-controls{grid-template-columns:1fr;gap:10px;}
    #district-report-card-module .drc-academic-controls #drcAcademicViewWrap,
    #district-report-card-module .drc-academic-controls #drcAcademicYearWrap,
    #district-report-card-module .drc-academic-controls #drcAcademicSubjectWrap,
    #district-report-card-module .drc-academic-controls #drcAcademicGradeWrap,
    #district-report-card-module .drc-academic-controls #drcAcademicMetricWrap,
    #district-report-card-module .drc-academic-controls > .drc-control:has(#drcMcaGroup),
    #district-report-card-module .drc-academic-year-range{grid-column:auto;}
    #district-report-card-module .drc-academic-year-range-controls{grid-template-columns:1fr;gap:8px;}
}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-v2-control{min-width:10rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-v2-control select{min-width:10rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-controls #drcMcaGroup{min-width:0;width:100%;box-sizing:border-box;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-selection{display:flex;flex-wrap:wrap;gap:6px 14px;margin:8px 0 16px;padding:9px 12px;border:1px solid var(--drc-border);border-radius:7px;background:var(--drc-surface-subtle);color:var(--drc-muted);font-size:.9rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-selection-label{color:var(--drc-heading);font-weight:700;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-guidance{margin:12px 0 16px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-guidance strong{color:var(--drc-heading);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-guidance p{margin:4px 0 0;line-height:1.45;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-guidance.is-warning{border-left-color:var(--drc-status-warning);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-guidance.is-unavailable{border-left-color:var(--drc-status-negative);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 16px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-grid>div,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-subpanel,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-benchmark,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-groups,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix{min-width:0;padding:16px;border:1px solid var(--drc-border);border-radius:8px;background:var(--drc-panel-bg);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-grid h2,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-benchmark h2,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-groups h2,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix h2{margin:0 0 7px;color:var(--drc-heading);font-size:var(--drc-font-size-section-title);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-card{display:grid;gap:3px;min-height:122px;align-content:center;padding:15px;border-radius:7px;background:var(--drc-surface-subtle);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-card strong{font-size:2rem;color:var(--drc-heading);font-variant-numeric:tabular-nums;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-card span{color:var(--drc-muted);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-eyebrow{font-size:.84rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-card.is-empty{background:var(--drc-surface-subtle);}
#district-report-card-module[data-drc-academic-view="subject-grade-trends"] .drc-academic-trend-summary > .drc-section-title,
#district-report-card-module[data-drc-academic-view="subject-grade-trends"] .drc-academic-distribution > .drc-section-title{margin:0 0 var(--drc-space-small);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-scroll{overflow-y:hidden;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-grid{stroke:var(--drc-chart-grid);stroke-width:1;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-axis-label,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-year{fill:var(--drc-chart-label);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-axis-title{fill:var(--drc-chart-label);font-weight:700;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line{fill:none;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-series-1{stroke:var(--drc-primary);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-series-2{stroke:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-series-3{stroke:var(--drc-chart-3);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-subject-reading{stroke:var(--drc-primary);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-subject-math{stroke:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-subject-science{stroke:var(--drc-chart-3);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-segment-2,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-line.is-segment-3{stroke-dasharray:none;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point{fill:var(--drc-chart-point-outline);stroke-width:2.2px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point.is-series-1{stroke:var(--drc-primary);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point.is-series-2{stroke:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point.is-series-3{stroke:var(--drc-chart-3);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point.is-subject-reading{stroke:var(--drc-primary);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point.is-subject-math{stroke:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point.is-subject-science{stroke:var(--drc-chart-3);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-point:focus{outline:none;stroke-width:3px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-xy-value{fill:var(--drc-heading);font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;paint-order:stroke;stroke:var(--drc-panel-bg);stroke-width:3px;stroke-linejoin:round;pointer-events:none;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-segment{margin:15px 0 20px;padding-top:10px;border-top:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-segment h3{margin:0 0 9px;color:var(--drc-heading);font-size:1rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-bars{display:grid;gap:8px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-bar-row{display:grid;grid-template-columns:4.5rem minmax(6rem,1fr) 6.5rem;gap:9px;align-items:center;font-variant-numeric:tabular-nums;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-track{height:18px;overflow:hidden;border:1px solid var(--drc-border);border-radius:4px;background:var(--drc-chart-background);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-track i{display:block;height:100%;background:var(--drc-chart-1);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-bar-row strong{text-align:right;color:var(--drc-heading);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-scale{display:flex;justify-content:space-between;gap:8px;margin:0 0 4px;color:var(--drc-muted);font-size:.78rem;font-variant-numeric:tabular-nums;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-table caption{padding:0 0 8px;text-align:left;color:var(--drc-heading);font-weight:700;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-table{min-width:720px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-table th,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-table td{text-align:center;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-table th:first-child{text-align:left;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell{display:block;min-width:4.8rem;padding:9px 4px;border-radius:4px;font-variant-numeric:tabular-nums;font-weight:700;line-height:1.25;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell:focus-visible{outline:2px solid var(--drc-heading);outline-offset:2px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-0{background:#a50f15;color:#fff;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-1{background:#d7301f;color:#fff;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-2{background:#ef6548;color:#fff;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-3{background:#fc8d59;color:#3b160c;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-4{background:#fdbb84;color:#3b160c;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-5{background:#fee08b;color:#3b2b00;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-6{background:#d9ef8b;color:#243b12;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-7{background:#a6d96a;color:#17320d;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-8{background:#66bd63;color:#092d12;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-9{background:#1a9850;color:#fff;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.heat-10{background:#006837;color:#fff;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.is-state-suppressed{background:repeating-linear-gradient(135deg,var(--drc-surface-subtle),var(--drc-surface-subtle) 5px,var(--drc-border) 5px,var(--drc-border) 7px);color:var(--drc-heading);font-size:.82rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.is-state-unavailable,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.is-state-no-data,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.is-state-not-applicable{background:var(--drc-surface-subtle);color:var(--drc-muted);font-size:.82rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--drc-space-section);align-items:stretch;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-layout > *{min-width:0;width:100%;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-layout > .drc-panel,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-layout > .drc-note{margin:0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-heatmap{min-width:0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-heatmap-wrap{margin:14px 0 4px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-heatmap-wrap .drc-academic-matrix-table{min-width:720px;table-layout:fixed;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-heatmap-wrap .drc-academic-matrix-table th:first-child{width:8rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-table th.is-series-boundary,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-table td.is-series-boundary{border-left:3px solid var(--drc-heading);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-table th.is-series-boundary small{display:block;margin-top:3px;color:var(--drc-muted);font-size:.68rem;font-weight:400;white-space:nowrap;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-heatmap-legend{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:16px 0 0;color:var(--drc-muted);font-size:var(--drc-font-size-context);line-height:1.5;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-label{font-weight:700;color:var(--drc-heading);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale{display:flex;min-width:18rem;flex:1 1 30rem;max-width:38rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale i{flex:1;padding:8px 5px;text-align:center;font-style:normal;font-size:var(--drc-font-size-context);font-variant-numeric:tabular-nums;white-space:nowrap;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-0,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-1,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-2,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-9,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-10{color:#fff;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-0{background:#a50f15;}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-2{background:#ef6548;}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-4{background:#fdbb84;}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-6{background:#d9ef8b;}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-8{background:#66bd63;}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale .heat-10{background:#006837;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-state{padding-left:14px;border-left:3px solid var(--drc-border);font-size:var(--drc-font-size-context);white-space:normal;}.drc-academic-legend-state.is-suppressed{border-left-style:dashed;color:var(--drc-heading);}.drc-academic-legend-state.is-unavailable{color:var(--drc-muted);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-scroll-hint{margin:0;color:var(--drc-muted);font-size:.78rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-svg{width:100%;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-line{stroke-width:1.8px;opacity:1;stroke-dasharray:none;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-point{opacity:1;vector-effect:non-scaling-stroke;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-line.is-explorer-grade-1,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-point.is-explorer-grade-1{stroke:var(--drc-chart-1);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-snapshot26-legend-line.is-explorer-grade-1{color:var(--drc-chart-1);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-line.is-explorer-grade-2,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-point.is-explorer-grade-2{stroke:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-snapshot26-legend-line.is-explorer-grade-2{color:var(--drc-chart-2);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-line.is-explorer-grade-3,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-point.is-explorer-grade-3{stroke:var(--drc-chart-3);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-snapshot26-legend-line.is-explorer-grade-3{color:var(--drc-chart-3);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-line.is-explorer-grade-4,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-point.is-explorer-grade-4{stroke:var(--drc-chart-4);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-snapshot26-legend-line.is-explorer-grade-4{color:var(--drc-chart-4);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-line.is-explorer-grade-5,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-point.is-explorer-grade-5{stroke:var(--drc-chart-5);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-snapshot26-legend-line.is-explorer-grade-5{color:var(--drc-chart-5);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-line.is-explorer-grade-6,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-point.is-explorer-grade-6{stroke:var(--drc-chart-6);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-snapshot26-legend-line.is-explorer-grade-6{color:var(--drc-chart-6);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-snapshot26-legend-line.is-explorer-grade-7{color:var(--drc-chart-7);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-line.is-explorer-grade-7,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-point.is-explorer-grade-7{stroke:var(--drc-chart-7);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-snapshot26-legend-line{width:22px;border-top:2px solid currentColor;border-top-style:solid;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-explorer-trend .drc-academic-xy-value{font-size:var(--drc-font-size-chart-value);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-reference-note{margin:14px 0 0;font-size:.82rem;line-height:1.4;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-source-records{margin-top:12px;border-top:1px solid var(--drc-border);padding-top:10px;}
.drc-academic-source-records summary{cursor:pointer;color:var(--drc-heading);font-weight:700;}
.drc-academic-source-records p{margin:7px 0;font-size:.85rem;}
.drc-academic-source-records ul{columns:2;margin:0;padding-left:18px;font-size:.78rem;line-height:1.5;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder{padding:16px;border:1px solid var(--drc-border);border-radius:8px;background:var(--drc-panel-bg);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder h2{margin:0 0 12px;color:var(--drc-heading);font-size:1.15rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder-grid button{min-height:3rem;padding:9px;border:1px solid var(--drc-border);border-radius:6px;background:var(--drc-surface-subtle);color:var(--drc-heading);font:inherit;font-weight:700;cursor:pointer;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder-grid button:hover,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder-grid button:focus-visible{border-color:var(--drc-chart-1);outline:2px solid var(--drc-chart-1);outline-offset:2px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;text-align:left;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder-grid button span{font-size:.86rem;font-weight:400;line-height:1.35;color:var(--drc-muted);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-context{margin:12px 0 16px;padding:12px 14px;border:1px solid var(--drc-border);border-radius:8px;background:var(--drc-panel-bg);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-context strong{color:var(--drc-heading);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-context dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 18px;margin:8px 0 0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-context dl div{min-width:0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-context dt{font-size:.78rem;color:var(--drc-muted);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-context dd{margin:2px 0 0;color:var(--drc-heading);font-weight:600;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:16px 0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-actions button{min-height:40px;padding:8px 12px;border:1px solid var(--drc-border);border-radius:6px;background:var(--drc-surface-subtle);color:var(--drc-heading);font:inherit;font-weight:700;cursor:pointer;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-actions button:hover,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-actions button:focus-visible{border-color:var(--drc-chart-1);outline:2px solid var(--drc-chart-1);outline-offset:2px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-copy-feedback{color:var(--drc-heading);font-weight:600;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-copy-manual{width:100%;max-width:52rem;margin:0 0 16px;padding:8px;border:1px solid var(--drc-border);font:inherit;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-handoffs{margin:16px 0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-handoffs ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 0;padding:0;list-style:none;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-handoffs li{display:flex;flex-direction:column;gap:3px;padding:10px;border:1px solid var(--drc-border);border-radius:6px;background:var(--drc-surface-subtle);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-handoffs a{font-weight:700;color:var(--drc-primary);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-handoffs span{font-size:.82rem;color:var(--drc-muted);line-height:1.3;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-comparison-summary{margin:16px 0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-coverage-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-coverage-list div{padding:8px;border-top:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-coverage-list dt{font-size:.78rem;color:var(--drc-muted);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-coverage-list dd{margin:2px 0 0;color:var(--drc-heading);font-weight:700;font-variant-numeric:tabular-nums;}
@media(max-width:900px){#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-context dl{grid-template-columns:repeat(2,minmax(0,1fr));}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-handoffs ul{grid-template-columns:repeat(2,minmax(0,1fr));}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-coverage-list{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:500px){#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-result-context dl,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-handoffs ul,#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-coverage-list{grid-template-columns:1fr;}}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-loading{padding:26px 16px;border:1px solid var(--drc-border);border-radius:8px;background:var(--drc-panel-bg);color:var(--drc-muted);}

/* M6ZAK MCA School Results: the Explorer heatmap grammar with school-grain
 * identity, plus a compact latest-year dot comparison. */
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-panel,
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-comparison-panel,
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-selected-history,
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-exact-panel{min-width:0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-wrap{max-width:100%;overflow:auto;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table{min-width:1120px;table-layout:fixed;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-name-head,
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-name{width:18rem;text-align:left;position:sticky;left:0;z-index:2;background:var(--drc-panel-bg);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-name{vertical-align:middle;box-shadow:3px 0 0 var(--drc-border);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-name button{display:block;margin:0;padding:0;border:0;background:transparent;color:var(--drc-link);font:inherit;font-weight:700;text-align:left;cursor:pointer;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-name button:hover{text-decoration:underline;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-name small,
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-table-id{display:block;margin-top:3px;color:var(--drc-muted);font-size:var(--drc-font-size-context);font-weight:400;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-cell{padding:7px 5px;text-align:center;cursor:pointer;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-cell:hover{background:var(--drc-surface-subtle);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-row.is-selected .drc-school-heatmap-name{background:var(--drc-selected);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-row.is-selected .drc-school-heatmap-name button,
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-row.is-selected .drc-school-heatmap-name small{color:var(--drc-selected-text);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-year{width:5.7rem;text-align:center;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-matrix-cell.is-state-covid-no-summary{background:repeating-linear-gradient(135deg,var(--drc-surface-subtle),var(--drc-surface-subtle) 5px,var(--drc-border) 5px,var(--drc-border) 7px);color:var(--drc-heading);font-size:.78rem;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-state.is-covid{border-left-style:dotted;color:var(--drc-heading);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-legend{margin-bottom:12px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-axis{display:grid;grid-template-columns:minmax(190px,1.3fr) minmax(180px,3fr) minmax(110px,.7fr);gap:14px;margin:0 0 3px;color:var(--drc-muted);font-size:var(--drc-font-size-context);font-variant-numeric:tabular-nums;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-axis-track{grid-column:2;display:flex;justify-content:space-between;min-width:0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-axis-track span{display:block;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-rows{display:grid;gap:2px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-row{display:grid;grid-template-columns:minmax(190px,1.3fr) minmax(180px,3fr) minmax(110px,.7fr);gap:14px;align-items:center;padding:7px 9px;border:1px solid transparent;border-radius:4px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-row.is-selected{border-color:var(--drc-primary);background:var(--drc-surface-subtle);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-name{display:block;min-width:0;padding:0;border:0;background:transparent;color:var(--drc-link);font:inherit;text-align:left;cursor:pointer;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-name span{display:block;font-weight:700;overflow-wrap:anywhere;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-name small{display:none;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-name:hover{text-decoration:underline;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-plot{min-width:0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-track{position:relative;display:block;height:22px;border:1px solid var(--drc-border);border-radius:4px;background:var(--drc-chart-background);background-image:linear-gradient(to right,transparent 24.8%,var(--drc-chart-grid) 24.8%,var(--drc-chart-grid) 25.2%,transparent 25.2%,transparent 49.8%,var(--drc-chart-grid) 49.8%,var(--drc-chart-grid) 50.2%,transparent 50.2%,transparent 74.8%,var(--drc-chart-grid) 74.8%,var(--drc-chart-grid) 75.2%,transparent 75.2%);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot{position:absolute;top:50%;width:11px;height:11px;border-radius:50%;background:var(--drc-primary);border:2px solid var(--drc-panel-bg);box-shadow:0 0 0 1px var(--drc-primary);transform:translate(-50%,-50%);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-marker{position:absolute;top:-4px;bottom:-4px;width:0;z-index:3;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-marker.is-district{border-left:3px dashed var(--drc-chart-4);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-marker.is-state{border-left:3px solid var(--drc-accent);}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-value{color:var(--drc-heading);font-variant-numeric:tabular-nums;text-align:right;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-exact-table-wrap,
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-history-table-wrap{max-width:100%;overflow-x:auto;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-exact-table{min-width:980px;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-table-name{display:block;font-weight:700;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-selected-history{width:100%;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-selected-history .drc-academic-xy-svg{width:100%;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-selected-history .drc-academic-xy-chart--embedded{min-width:0;margin:var(--drc-space-normal) 0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-selected-history .drc-academic-xy-chart--embedded>.drc-chart-surface{margin:0;}
#district-report-card-module[data-drc-academic-v2="1"] .drc-school-results-methodology{margin:0 0 var(--drc-space-section);padding:12px 14px;border-left:4px solid var(--drc-primary);background:var(--drc-surface-subtle);}
@media(max-width:700px){
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-name-head,
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-heatmap-table .drc-school-heatmap-name{width:15rem;}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-axis{grid-template-columns:minmax(135px,1.2fr) minmax(130px,2fr) 82px;gap:8px;}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-axis-track{grid-column:2;}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-row{grid-template-columns:minmax(135px,1.2fr) minmax(130px,2fr) 82px;gap:8px;padding:7px 4px;}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-value{font-size:var(--drc-font-size-context);}
}
@media(max-width:430px){
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-axis{grid-template-columns:minmax(120px,1fr) minmax(105px,1.2fr);}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-axis-track{grid-column:2;}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-row{grid-template-columns:minmax(120px,1fr) minmax(105px,1.2fr);}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-school-dot-value{grid-column:2;text-align:left;margin-top:-5px;}
}
@media (max-width:760px){#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-overview-grid{grid-template-columns:1fr;}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:500px){#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-bar-row{grid-template-columns:3.5rem minmax(4rem,1fr);}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-trend-bar-row strong{grid-column:2;text-align:left;}#district-report-card-module[data-drc-academic-v2="1"] .drc-academic-builder-grid{grid-template-columns:1fr;}}
#district-report-card-module .drc-domain-tab{font-size:var(--drc-font-size-body);line-height:1.4;font-weight:700;}
#district-report-card-module .drc-academic-controls label{display:block;margin:0 0 5px;color:var(--drc-heading);font-size:var(--drc-font-size-context);line-height:1.35;font-weight:700;}
#district-report-card-module .drc-academic-controls select{width:100%;min-width:0;}
#district-report-card-module .drc-academic-year-range{margin:0;padding:8px 10px 10px;border:1px solid var(--drc-border);border-radius:7px;background:var(--drc-surface-subtle);}
#district-report-card-module .drc-academic-year-range legend{width:auto;margin-left:2px;padding:0 5px;color:var(--drc-heading);font-size:var(--drc-font-size-context);font-weight:700;}
#district-report-card-module .drc-academic-year-range-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
@media(max-width:1100px) and (min-width:701px){#district-report-card-module .drc-academic-controls{grid-template-columns:repeat(2,minmax(0,1fr));}#district-report-card-module .drc-academic-controls #drcAcademicViewWrap,#district-report-card-module .drc-academic-controls #drcAcademicMetricWrap{grid-column:1/-1;}#district-report-card-module .drc-academic-year-range{grid-column:1/-1;}}
@media(max-width:700px){#district-report-card-module .drc-academic-controls{grid-template-columns:1fr;gap:10px;}#district-report-card-module .drc-academic-controls #drcAcademicViewWrap,#district-report-card-module .drc-academic-controls #drcAcademicMetricWrap,#district-report-card-module .drc-academic-year-range{grid-column:auto;}#district-report-card-module .drc-academic-year-range-controls{grid-template-columns:1fr;gap:8px;}}
@media(max-width:700px){
    #district-report-card-module[data-drc-academic-v2="1"] .drc-academic-heatmap-legend{align-items:stretch;gap:9px 12px;}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-label{flex:1 1 100%;}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-scale{flex:1 1 100%;min-width:0;max-width:none;}
    #district-report-card-module[data-drc-academic-v2="1"] .drc-academic-legend-state{flex:1 1 auto;min-width:8rem;}
}

/* M6ZAE: Grade-Level Explorer uses the shared DRC selector grid with a
 * balanced five-control desktop row. The common academic breakpoints remain
 * the two-column tablet and one-column mobile layouts. */
@media(min-width:1101px){
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls{
        grid-template-columns:minmax(0,2fr) minmax(0,1.25fr) minmax(0,.75fr) minmax(0,.75fr) minmax(0,1.25fr);
    }
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicViewWrap{grid-column:1;grid-row:1;}
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicSubjectWrap{grid-column:2;grid-row:1;}
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicFromWrap{grid-column:3;grid-row:1;}
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicToWrap{grid-column:4;grid-row:1;}
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicGroupWrap{grid-column:5;grid-row:1;}
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls > .drc-control{
        min-width:0;
    }
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-v2-control,
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-v2-control select{
        min-width:0;
    }
}
@media(max-width:1100px) and (min-width:701px){
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicViewWrap{grid-column:1 / -1;grid-row:1;}
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicSubjectWrap{grid-column:1;grid-row:2;}
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicFromWrap{grid-column:2;grid-row:2;}
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicToWrap{grid-column:1;grid-row:3;}
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls #drcAcademicGroupWrap{grid-column:2;grid-row:3;}
}
@media(max-width:700px){
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-controls > .drc-control,
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-v2-control,
    #district-report-card-module[data-drc-academic-view="grade-level-explorer"] .drc-academic-v2-control select{min-width:0;}
}

/* M6ZI: Subject and Grade Trends uses the shared DRC selector contract in a
 * deliberate two-row arrangement. Other academic reports retain the common
 * academic control layout above. */
#district-report-card-module[data-drc-academic-view="subject-grade-trends"] .drc-academic-controls{
    display:grid;
    grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(15rem,2.1fr) minmax(0,1.15fr);
    grid-template-rows:auto auto;
    gap:var(--drc-space-normal) var(--drc-space-card-gap);
    align-items:start;
    margin:var(--drc-space-normal) 0 0;
    padding:0;
    border-top:0;
}
#district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicViewWrap{grid-column:1 / span 2;grid-row:1;}
#district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicGradeWrap{grid-column:3 / span 2;grid-row:1;}
#district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicFromWrap{grid-column:1;grid-row:2;}
#district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicToWrap{grid-column:2;grid-row:2;}
#district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcSchoolWrap{grid-column:3;grid-row:2;min-width:0;}
#district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicGroupWrap{grid-column:4;grid-row:2;}

@media(max-width:1100px) and (min-width:701px){
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] .drc-academic-controls{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;}
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicViewWrap{grid-column:1;grid-row:auto;}
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicGradeWrap{grid-column:2;grid-row:auto;}
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicFromWrap{grid-column:1;grid-row:auto;}
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicToWrap{grid-column:2;grid-row:auto;}
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcSchoolWrap{grid-column:1;grid-row:auto;}
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicGroupWrap{grid-column:2;grid-row:auto;}
}

@media(max-width:700px){
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] .drc-academic-controls{grid-template-columns:1fr;gap:10px;}
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicViewWrap,
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicGradeWrap,
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicFromWrap,
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicToWrap,
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcSchoolWrap,
    #district-report-card-module[data-drc-academic-view="subject-grade-trends"] #drcAcademicGroupWrap{grid-column:1;}
}

/* School Results uses the same shared academic selector grid as the newer
 * reports. Keep the six legacy selectors in two semantic rows at desktop;
 * hidden compatibility controls are removed from layout by the shared
 * [hidden] contract and never participate in auto-placement. */
#district-report-card-module[data-drc-academic-view="schools"] .drc-academic-controls{
    grid-template-columns:repeat(6,minmax(0,1fr));
    grid-template-rows:auto auto;
    gap:var(--drc-space-normal) var(--drc-space-card-gap);
    padding:0;
    margin:var(--drc-space-normal) 0 0;
    border-top:0;
}
#district-report-card-module[data-drc-academic-view="schools"] #drcAcademicViewWrap{grid-column:1 / span 2;grid-row:1;}
#district-report-card-module[data-drc-academic-view="schools"] #drcAcademicYearWrap{grid-column:3 / span 2;grid-row:1;}
#district-report-card-module[data-drc-academic-view="schools"] #drcAcademicSubjectWrap{grid-column:5 / span 2;grid-row:1;}
#district-report-card-module[data-drc-academic-view="schools"] #drcAcademicGradeWrap{grid-column:1 / span 2;grid-row:2;}
#district-report-card-module[data-drc-academic-view="schools"] #drcSchoolWrap{grid-column:3 / span 2;grid-row:2;}
#district-report-card-module[data-drc-academic-view="schools"] #drcAcademicGroupWrap{grid-column:5 / span 2;grid-row:2;}
@media(max-width:1100px) and (min-width:701px){
    #district-report-card-module[data-drc-academic-view="schools"] .drc-academic-controls{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:var(--drc-space-normal) var(--drc-space-card-gap);}
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicViewWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicYearWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicSubjectWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicGradeWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcSchoolWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicGroupWrap{grid-column:auto;grid-row:auto;}
}
@media(max-width:700px){
    #district-report-card-module[data-drc-academic-view="schools"] .drc-academic-controls{grid-template-columns:1fr;grid-template-rows:auto;gap:var(--drc-space-normal);}
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicViewWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicYearWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicSubjectWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicGradeWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcSchoolWrap,
    #district-report-card-module[data-drc-academic-view="schools"] #drcAcademicGroupWrap{grid-column:1;grid-row:auto;}
}

/* Student-group gaps: keep the requested semantic order while using the
 * shared academic control geometry and responsive breakpoints. */
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-controls{
    grid-template-columns:repeat(6,minmax(0,1fr));
    grid-template-rows:auto auto;
    gap:var(--drc-space-normal) var(--drc-space-card-gap);
    padding:0;
    margin:var(--drc-space-normal) 0 0;
    border-top:0;
}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicViewWrap{grid-column:1 / span 2;grid-row:1;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicPairWrap{grid-column:3 / span 2;grid-row:1;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicGradeWrap{grid-column:5 / span 2;grid-row:1;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicFromWrap{grid-column:1 / span 3;grid-row:2;}
#district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicToWrap{grid-column:4 / span 3;grid-row:2;}
@media(max-width:1100px) and (min-width:701px){
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-controls{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:var(--drc-space-normal) var(--drc-space-card-gap);}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicViewWrap{grid-column:1;grid-row:1;}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicPairWrap{grid-column:2;grid-row:1;}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicGradeWrap{grid-column:1;grid-row:2;}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicFromWrap{grid-column:2;grid-row:2;}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicToWrap{grid-column:1 / -1;grid-row:3;}
}
@media(max-width:700px){
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] .drc-academic-controls{grid-template-columns:1fr;grid-template-rows:auto;gap:var(--drc-space-normal);}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicViewWrap{grid-column:1;grid-row:1;}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicPairWrap{grid-column:1;grid-row:2;}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicGradeWrap{grid-column:1;grid-row:3;}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicFromWrap{grid-column:1;grid-row:4;}
    #district-report-card-module[data-drc-academic-view="student-groups-gaps"] #drcAcademicToWrap{grid-column:1;grid-row:5;}
}

/* M6ZBO: subject cards stay compact and vertical inside the three-subject
 * summary. The renderer already provides the subject, metadata and measures;
 * these scoped rules restore the requested card orientation after the older
 * row-oriented refinement above. */
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:var(--drc-space-card-gap);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card{display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:14px 16px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values{display:grid;grid-template-columns:1fr;gap:0;margin:12px 0 0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure{padding:8px 0 0;border-left:0;border-top:1px solid var(--drc-border);}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure:first-child{padding-top:0;border-top:0;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure strong{font-size:22px;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-detail-link{margin-top:12px;align-self:flex-start;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend{font-size:13px!important;}
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-legend-label{font-size:13px!important;}
@media(max-width:900px){
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:600px){
  #district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-grid{grid-template-columns:1fr!important;}
}

/* M6ZBR: the released row-oriented rule above targets every nested div.
 * Keep the metric parent and its direct content on one shared origin. */
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-values > .drc-academic-gap-card-measure,
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure > .drc-academic-gap-card-measure-head,
#district-report-card-module[data-drc-academic-view="gaps"] .drc-academic-gap-card-measure > .drc-academic-gap-card-track{
    padding-left:0!important;
    padding-right:0!important;
    border-left:0!important;
}

/* DRC 26.11.0 desktop shell width */
@media (min-width:721px){#page.boxed{width:98%;}}
