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

/* District Report Card 26.9.5 - FastBridge within Snapshot Academics */
#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-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 .drc-snapshot-academic-card h4{
   margin:0 0 13px;
   color:var(--drc-primary);
   font-size:115%;
}
#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-size:82%;
   font-weight:700;
}
#district-report-card-module .drc-snapshot-literacy-note{
   margin:8px 0 0;
   color:var(--drc-muted);
   font-size:82%;
}
@media(max-width:700px){
   #district-report-card-module .drc-snapshot-academic-grid{
      grid-template-columns:1fr;
   }
}

@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.9.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-chart-scroll{
   max-width:100%;
   overflow-x:auto;
   overscroll-behavior-inline:contain;
}
#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-scroll{
      overflow:visible!important;
   }
   #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);
    font-size:10px;
}

#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;
    font-size:86%;
}

#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;
        font-size:78%;
    }
}


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

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

#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 th:nth-child(2),
#district-report-card-module .drc-achievement-group-table th:nth-child(4),
#district-report-card-module .drc-achievement-group-table th:nth-child(5),
#district-report-card-module .drc-achievement-group-table th:nth-child(6) {
    text-align:right;
}

#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);
    font-size:84%;
    line-height:1.55;
}

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

@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 {
    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 {
    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-shape-table td:nth-child(n+3),
#district-report-card-module .drc-profile-shape-table th:nth-child(n+3) {
    text-align:right;
}

#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;
}

/* District Report Card 26.8.1 core non-test share */
#district-report-card-module .drc-participation-share-panel{
    margin-top:16px;
}

#district-report-card-module .drc-participation-share-summary{
    margin-bottom:16px;
}

#district-report-card-module .drc-participation-share-svg{
    min-width:700px;
}

#district-report-card-module .drc-participation-district-line{
    fill:none;
    stroke:var(--drc-primary);
    stroke-width:3;
    stroke-linecap:round;
    stroke-linejoin:round;
}

#district-report-card-module .drc-participation-state-line{
    fill:none;
    stroke:var(--drc-accent);
    stroke-width:2;
    stroke-dasharray:7 5;
    stroke-linecap:round;
    stroke-linejoin:round;
}

#district-report-card-module .drc-participation-district-point{
    fill:var(--drc-primary);
    stroke:var(--drc-chart-point-outline);
    stroke-width:1.5;
    cursor:help;
}

#district-report-card-module .drc-participation-state-point{
    fill:var(--drc-accent);
    stroke:var(--drc-chart-point-outline);
    stroke-width:1.2;
    cursor:help;
}

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

#district-report-card-module .drc-participation-share-legend{
    gap:16px;
    align-items:center;
    margin:8px 0 10px;
    font-size:84%;
    color:var(--drc-muted);
}

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

#district-report-card-module .drc-participation-legend-line{
    display:inline-block;
    width:30px;
    height:0;
}

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

#district-report-card-module .drc-participation-legend-line.is-state{
    border-top:2px dashed var(--drc-accent);
}


/* 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;
}

/* 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{
    margin:18px 0;
    padding:16px;
}
#district-report-card-module .drc-fin-section h3{ margin:0 0 12px; font-size:118%; }
#district-report-card-module .drc-fin-section h4{ margin:18px 0 8px; font-size:100%; }
#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{
    padding:12px;
    background:var(--drc-surface-subtle);
    border:1px solid var(--drc-border);
    border-top:4px solid #777;
    border-radius:3px;
}
#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-card-label{
    color:var(--drc-muted);
    font-size:82%;
    font-weight:700;
    text-transform:uppercase;
}
#district-report-card-module .drc-fin-card-value{
    margin:4px 0 2px;
    font-size:150%;
    font-weight:700;
    font-variant-numeric:tabular-nums;
}
#district-report-card-module .drc-fin-card-note{ color:var(--drc-muted); font-size:80%; line-height:1.35; }
#district-report-card-module .drc-fin-table .drc-number,
#district-report-card-module .drc-fin-forecast-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;
    font-size:84%;
}
#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{
    background:var(--drc-panel-bg);
    border:1px solid var(--drc-border);
}
#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); font-size:11px; }
#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;
}
#district-report-card-module .drc-fin-forecast-table tr.is-projected{ background:var(--drc-table-stripe); }
#district-report-card-module .drc-fin-forecast-table .is-negative{
    color:var(--drc-status-negative);
    font-weight:700;
}
#district-report-card-module .drc-fin-forecast-table .is-positive{
    color:var(--drc-status-positive);
    font-weight:700;
}
@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-intro{
    margin:6px 0 12px;
}

#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-title{
    font-weight:700;
    margin-bottom:6px;
}

#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;
}

#district-report-card-module .drc-finance-context-prof-value{
    color:var(--drc-text);
}

#district-report-card-module .drc-finance-context-spend-value{
    color:var(--drc-muted);
    font-size:84%;
}

#district-report-card-module .drc-compare-detail-spend{
    text-align:right;
    white-space:nowrap;
    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-primary-value,
#district-report-card-module .drc-finance-context-secondary-value{
    display:block;
    width:100%;
    text-align:right;
    font-weight:700;
    font-variant-numeric:tabular-nums;
}

#district-report-card-module .drc-finance-context-secondary-value{
    color:var(--drc-muted);
    font-size:84%;
}

#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;
    font-size:92%;
    line-height:1.35;
}

#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{
        font-size:86%;
        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;
    font-size:80%;
    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;
    font-size:88%;
    line-height:1.35;
}

#district-report-card-module .drc-comparison-data-table tr.is-focus td:nth-child(2){
    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;
        font-size:76%;
        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-dashboard-chart{
    margin-top:2px;
}

#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{
    margin:16px 0;
    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:84%;
    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-section{
    margin-top:16px;
}
#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-size:84%;
    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-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-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-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);
}

/* R4C4I1: universal Finance card semantic spacing + scale definitions */

/*
 * Some Finance cards use semantic direct children:
 *
 *   strong = label
 *   b      = primary value
 *   span   = supporting detail
 *
 * Make that structure vertical for every Finance card instead of fixing
 * individual Finance views independently.
 */
#district-report-card-module .drc-fin-card > strong,
#district-report-card-module .drc-fin-card > b,
#district-report-card-module .drc-fin-card > span,
#district-report-card-module .drc-fin-comparison-card > strong,
#district-report-card-module .drc-fin-comparison-card > b,
#district-report-card-module .drc-fin-comparison-card > span {
    display:block;
    min-width:0;
    overflow-wrap:anywhere;
}

#district-report-card-module .drc-fin-card > strong + b,
#district-report-card-module .drc-fin-comparison-card > strong + b {
    margin-top:4px;
}

#district-report-card-module .drc-fin-card > b + span,
#district-report-card-module .drc-fin-comparison-card > b + span {
    margin-top:2px;
    line-height:1.35;
}

/* 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;
}

@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{
    display:grid;
    gap:18px;
}
#district-report-card-module .drc-sped-panel{
    min-width:0;
}
#district-report-card-module .drc-sped-panel h4{
    margin:0 0 8px;
    color:var(--drc-text);
    font-size:92%;
}
#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-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}
#district-report-card-module .drc-sped-chart-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    border:1px solid var(--drc-border);
    border-radius:4px;
    background:var(--drc-panel-bg);
}
#district-report-card-module .drc-sped-chart{
    display:block;
    width:100%;
    min-width:620px;
    height:auto;
}
#district-report-card-module .drc-sped-axis{
    stroke:var(--drc-chart-grid);
    stroke-width:1.25;
}
#district-report-card-module .drc-sped-line{
    stroke:var(--drc-primary);
    stroke-width:3;
    stroke-linejoin:round;
    stroke-linecap:round;
}
#district-report-card-module .drc-sped-point{
    fill:var(--drc-primary);
    stroke:var(--drc-chart-point-outline);
    stroke-width:2;
}
#district-report-card-module .drc-sped-value-label{
    fill:var(--drc-chart-label);
    font-size:12px;
    font-weight:700;
}
#district-report-card-module .drc-sped-year-label{
    fill:var(--drc-chart-label);
    font-size:12px;
}
#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(155px,220px) minmax(180px,1fr) 92px;
    gap:10px;
    align-items:center;
    margin:7px 0;
    font-size:84%;
}
#district-report-card-module .drc-sped-rank-name{
    overflow-wrap:anywhere;
}
#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{
    text-align:right;
    white-space:nowrap;
}
#district-report-card-module .drc-sped-source-note{
    margin-top:0;
}
@media(max-width:760px){
    #district-report-card-module .drc-sped-trend-grid{
        grid-template-columns:1fr;
    }
    #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(110px,145px) minmax(145px,1fr) 78px;
        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:115px minmax(105px,1fr) 72px;
        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{overflow-x:auto;-webkit-overflow-scrolling:touch;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:900px;font-size:86%;}
#district-report-card-module .drc-sped-comparison-table th{padding:9px 10px;background:var(--drc-primary);color:var(--drc-button-text);text-align:right;white-space:nowrap;}
#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{padding:8px 10px;border-top:1px solid var(--drc-border);text-align:right;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-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%;
}


/* 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-outcome-label{font-size:82%;font-weight:700;color:var(--drc-muted);}
#district-report-card-module .drc-students-outcome-value{margin:4px 0 2px;font-size:160%;font-weight:700;color:var(--drc-primary);font-variant-numeric:tabular-nums;}
#district-report-card-module .drc-students-outcome-context{font-size:82%;color:var(--drc-muted);line-height:1.4;}
#district-report-card-module .drc-students-table{min-width:780px;}
#district-report-card-module .drc-students-table th:not(:first-child),#district-report-card-module .drc-students-table td:not(:first-child){text-align:right;}
#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,1.2fr) minmax(220px,2.8fr) minmax(250px,1.7fr);
    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,1.2fr) minmax(220px,2.8fr) minmax(250px,1.7fr);
    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);
    font-size:1.08em;
    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);
    font-size:1.4em;
}
#district-report-card-module .drc-student-context-primary span{font-size:1.08em;}
#district-report-card-module .drc-student-context-value small{font-size:1em;}
#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);
    font-size:1em;
}
#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{
    font-size:1.15em;
    line-height:1.25;
}
#district-report-card-module .drc-student-success-label small{
    margin-top:3px;
    color:var(--drc-muted);
    font-size:1em;
}
#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-size:1.15em;
    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;
    font-size:84%;
}
#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;
    }
}

/* 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.9.2 - cross-domain Snapshot | refinement v12 */
#district-report-card-module .drc-snapshot26{min-width:0;}
#district-report-card-module .drc-snapshot-intro h2{margin-bottom:6px;}
#district-report-card-module .drc-snapshot-reading-note{
    margin-top:12px;padding:12px 14px;border-left:5px solid var(--drc-primary,var(--drc-primary));
    background:var(--drc-surface-subtle);color:var(--drc-muted);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);font-size:78%;
}
#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-year{white-space:nowrap;}
#district-report-card-module .drc-snapshot-domain-tag{
    display:inline-block;font-size:92%;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 4px;
}
#district-report-card-module .drc-snapshot-domain-head p{
    margin:0;color:var(--drc-muted);font-size:88%;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:14px;
}
#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);font-size:78%;text-transform:uppercase;letter-spacing:.04em;
}
#district-report-card-module .drc-snapshot-card-value{
    color:var(--drc-primary,var(--drc-primary));font-size:165%;font-weight:800;line-height:1.15;margin:3px 0 5px;
}
#district-report-card-module .drc-snapshot-card-context{font-size:82%;color:var(--drc-muted);line-height:1.45;}
#district-report-card-module .drc-snapshot-card-context span{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 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}}

/* 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-chip{display:inline-flex;align-items:center;gap:6px;background:var(--drc-panel-bg);border:1px solid #cbd5df;padding:5px 8px;border-radius:16px}
.drc-custom-chip button{border:0;background:transparent;color:var(--drc-primary);font-size:18px;line-height:1;padding:0}
.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-size:12px;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(920px,calc(100vw - 32px));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-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-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-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-link-help-modal .drc-comparison-modal-card{width:min(720px,calc(100vw - 32px))}
@media(max-width:700px){
 .drc-settings-mode-row{grid-template-columns:1fr}
 .drc-custom-columns{grid-template-columns:1fr}
 .drc-custom-results,.drc-custom-selected-list{max-height:250px}
 .drc-heading-with-settings{align-items:flex-start}
 .drc-comparison-settings-trigger{margin-left:0}
}

/* 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-size:11px!important;
  font-weight:600!important;
  line-height:1.2!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:12px!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-comparison-settings-trigger{font-size:11px!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);
    font-size:11px;
    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,2fr) minmax(180px,5fr) minmax(88px,auto);
    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(115px,1.8fr) minmax(90px,3fr) minmax(74px,auto);
        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;
    font-size:11px!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-scatter { break-inside:avoid; } }

.drc2691-trend,.drc2691-staff-bars { margin:1rem 0; }
.drc2691-trend svg { width:100%; max-height:260px; }
.drc2691-enrollment { display:block; width:100%; height:260px; }
.drc2691-bar-row { display:grid; grid-template-columns:minmax(100px, 2fr) 3fr 4em; gap:.6rem; align-items:center; margin:.5rem 0; font-size:.9rem; }
.drc2691-bar-track { background:var(--drc-table-stripe); height:14px; }
.drc2691-bar-track>span { display:block; height:100%; background:var(--drc-accent); print-color-adjust:exact; }
@media print { .drc2691-enrollment,.drc2691-trend,.drc2691-staff-bars { 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.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-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.9.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(125px,1.35fr) minmax(120px,2fr) 82px;
    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(110px,1.35fr) minmax(100px,2fr) 76px;
        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:115px minmax(92px,1fr) 72px;
        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-insights-visual-grid{display:block;}
    #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:96px minmax(58px,1fr) 82px;
        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.9.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:14px 0 0;
}
#district-report-card-module .drc-insights-control-layout{
    display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.6fr);gap:16px;align-items:start;
}
#district-report-card-module .drc-insights-measure-group{
    min-width:0;padding:12px 14px 14px;
}
#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 10px;color:var(--drc-heading);font-size:16px;line-height:1.3;font-weight:700;}
#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 10px;}
#district-report-card-module .drc-insights-comparison-grid{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;
}
#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:12px 0 4px;padding:10px 12px;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{font-size:85%;margin-bottom:1px;}
#district-report-card-module .drc-secondary-action{margin-top:10px;}
#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 18px;}
#district-report-card-module .drc-insights-statline{margin:0 0 12px;color:var(--drc-text);}
#district-report-card-module .drc-chart{display:block;width:100%;min-width:0;margin:0 0 18px;}
#district-report-card-module .drc-chart-title{display:block;margin:0 0 5px;color:var(--drc-primary);font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:700;line-height:1.25;}
#district-report-card-module .drc-scatter-chart{width:100%;min-width:0;margin:12px 0 4px;}
#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:8px 20px;margin:8px 0 4px;color:var(--drc-muted);font-size:80%;}
#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:8px 0 0;color:var(--drc-muted);font-size:88%;}
#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{margin:18px 0 8px;color:var(--drc-primary);font-family:Georgia,"Times New Roman",serif}
@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}}


/* DRC 26.9.2 scenario ADM standard trend */
#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);}
#district-report-card-module .drc-snapshot-card-value{color: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);}
#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,
#district-report-card-module .drc-snapshot-card-value{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-custom-suggestions,
#district-report-card-module .drc-custom-suggestions button,
#district-report-card-module .drc-custom-chip{background:var(--drc-panel-bg);border-color:var(--drc-border);}
#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;}
}
