/* DRC 26.10.5 shared presentation contract.
 * This file is the sole owner of semantic type. It is loaded after the
 * module stylesheet so the transition aliases below can bridge historical
 * markup without moving domain geometry into shared CSS. The !important
 * declarations are temporary migration protection for legacy selectors with
 * greater specificity; new canonical markup should not need them. */

/* PAGE TITLE */
#district-report-card-module .drc-report-title{
    font-size:var(--drc-font-size-page-title)!important;
    line-height:1.2;
    font-weight:700;
}
#district-report-card-module .drc-report-header{
    margin:0 0 20px!important;
}
#district-report-card-module .drc-academic-report .drc-report-title{
    font-size:clamp(24px,2vw,26px)!important;
    line-height:1.2;
    font-weight:700;
}

/* SECTION HEADING and CHART TITLE */
#district-report-card-module .drc-section-title{
    font-size:var(--drc-font-size-section-title)!important;
    line-height:1.3;
    font-weight:700;
}
#district-report-card-module .drc-chart-title,
#district-report-card-module .drc-subsection-title{
    font-size:var(--drc-font-size-chart-title)!important;
    line-height:1.35;
    font-weight:700;
}
#district-report-card-module .drc-section-title.drc-chart-title{
    font-size:var(--drc-font-size-section-title)!important;
}

/* DESCRIPTION, BODY, and NOTE/CALLOUT */
#district-report-card-module .drc-body-copy,
#district-report-card-module .drc-section-intro,
#district-report-card-module .drc-panel-intro,
#district-report-card-module .drc-callout{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.55;
}
#district-report-card-module .drc-callout{color:var(--drc-muted);}

/* METADATA / SOURCE and CARD CONTEXT.
 * The local card-label weight remains 400 in this foundation so Snapshot's
 * approved appearance is immutable; the domain migrations may opt into the
 * 700 label weight when their visual checkpoints are ready. */
#district-report-card-module .drc-report-context-line > .drc-context-text,
#district-report-card-module .drc-report-context-line > .drc-report-period,
#district-report-card-module .drc-report-context-line > .drc-source-text,
#district-report-card-module .drc-context-text,
#district-report-card-module .drc-report-period,
#district-report-card-module .drc-metric-context,
#district-report-card-module .drc-card-sub,
#district-report-card-module .drc-chart-legend,
#district-report-card-module .drc-trend-legend,
#district-report-card-module .drc-bar-legend,
#district-report-card-module .drc-fin-legend,
#district-report-card-module .drc-fin24-legend,
#district-report-card-module .drc-staff-legend,
#district-report-card-module .drc-staff-mix-legend,
#district-report-card-module .drc-selection,
#district-report-card-module .drc-status,
#district-report-card-module .drc-domain-note{
    font-size:var(--drc-font-size-context)!important;
    line-height:1.5;
}
#district-report-card-module .drc-source-text,
#district-report-card-module .drc-source-note,
#district-report-card-module .drc-caveat-note,
#district-report-card-module .drc-comparison-context,
#district-report-card-module .drc-profile-source,
#district-report-card-module .drc-source-links,
#district-report-card-module .drc-note,
#district-report-card-module .drc-chart-detail,
#district-report-card-module .drc-chart-context{
    font-size:var(--drc-font-size-source)!important;
    line-height:1.5;
}
#district-report-card-module .drc-academic-report .drc-note.drc-callout{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.55;
}
#district-report-card-module .drc-student-context-value small,
#district-report-card-module .drc-custom-result-row small,
#district-report-card-module .drc-custom-selected-row small{
    font-size:var(--drc-font-size-source)!important;
    line-height:1.4;
}
#district-report-card-module .drc-footer,
#district-report-card-module .drc-footer-link,
#district-report-card-module .drc-footer-source,
#district-report-card-module .drc-version-legacy-link{
    font-size:var(--drc-font-size-source)!important;
    line-height:1.5;
}

/* ACTION / EXPLORE: only helper-emitted actions opt into this new class in
 * the foundation. Historical .drc-secondary-action/.drc-link-button controls
 * remain visually deferred to their owning domain migration. */
#district-report-card-module .drc-action{
    font-size:14px;
    line-height:1.55;
    font-weight:700;
}
#district-report-card-module[data-drc-domain="insights"] .drc-link-button,
#district-report-card-module[data-drc-domain="insights"] .drc-secondary-action{
    font-size:14px!important;
    line-height:1.55;
    font-weight:700;
}
#district-report-card-module .drc-comparison-settings-trigger{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.25!important;
    font-weight:600!important;
}
#district-report-card-module .drc-comparison-settings-gear,
#district-report-card-module .drc-inflation-label{
    font-size:var(--drc-font-size-context)!important;
    line-height:1.35;
}
#district-report-card-module .drc-comparison-settings-gear{
    display:inline-block;
    font-size:1.2em!important;
    line-height:1!important;
    vertical-align:-.08em;
}

/* CARD LABEL / VALUE. */
#district-report-card-module .drc-metric-label,
#district-report-card-module .drc-card-label{
    font-size:var(--drc-font-size-card-label)!important;
    line-height:1.35;
}
#district-report-card-module .drc-metric-value,
#district-report-card-module .drc-card-value{
    font-size:var(--drc-font-size-card-value)!important;
    line-height:1.15;
    font-weight:700;
}

/* Insights measure labels are control-group headings, not report sections. */
#district-report-card-module[data-drc-domain="insights"] .drc-control-group-title{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.55;
    font-weight:700;
}

/* Compact comparison rows are not metric cards. This reusable chart-row
 * contract gives bars and marker-based comparisons a readable hierarchy while
 * leaving their domain-specific geometry in the owning stylesheet. */
#district-report-card-module .drc-chart-row-label{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.35;
    font-weight:600;
}
#district-report-card-module .drc-chart-row-value{
    font-size:var(--drc-font-size-chart-value)!important;
    line-height:1.3;
    font-weight:700;
}
#district-report-card-module .drc-chart-row-context{
    font-size:var(--drc-font-size-context)!important;
    line-height:1.4;
    font-weight:400;
}
#district-report-card-module .drc-finance-context-name,
#district-report-card-module .drc-finance-context-section-intro{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.5;
}
#district-report-card-module .drc-finance-context-metric-value{
    font-size:var(--drc-font-size-chart-value)!important;
    line-height:1.3;
    font-weight:700;
}
#district-report-card-module .drc-finance-context-value-label,
#district-report-card-module .drc-finance-context-legend-items,
#district-report-card-module .drc-finance-context-legend-note{
    font-size:var(--drc-font-size-context)!important;
    line-height:1.4;
}
#district-report-card-module .drc-finance-context-note{
    font-size:var(--drc-font-size-source)!important;
    line-height:1.5;
}
#district-report-card-module .drc2691-rate-label,
#district-report-card-module .drc-discipline-trend-svg text{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.35;
}
#district-report-card-module .drc2691-rate-row strong,
#district-report-card-module .drc-discipline-trend-svg .drc-discipline-value-label{
    font-size:var(--drc-font-size-chart-value)!important;
    line-height:1.3;
}
#district-report-card-module .drc-discipline-trend-svg .drc-discipline-period-label{
    font-size:var(--drc-font-size-context)!important;
}
#district-report-card-module .drc-academic-report .drc-metric-label,
#district-report-card-module .drc-academic-report .drc-card-label{
    font-weight:700!important;
}

/* Academic comparison charts retained legacy percentage scales for their
 * labels and rollups. Rebind those roles to the shared DRC tokens so the
 * host page's 10px rem basis cannot turn a complete report into fine print. */
#district-report-card-module .drc-academic-report .drc-compare-row,
#district-report-card-module .drc-academic-report .drc-level-compare-row{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.55;
}
#district-report-card-module .drc-academic-report .drc-compare-name,
#district-report-card-module .drc-academic-report .drc-level-compare-name{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.35;
}
#district-report-card-module .drc-academic-report .drc-compare-name small{
    font-size:var(--drc-font-size-context)!important;
    line-height:1.4;
}
#district-report-card-module .drc-academic-report .drc-compare-value,
#district-report-card-module .drc-academic-report .drc-level-compare-rollup{
    font-size:var(--drc-font-size-chart-value)!important;
    line-height:1.3;
}
#district-report-card-module .drc-academic-report .drc-compare-key,
#district-report-card-module .drc-academic-report .drc-level-segment-label{
    font-size:var(--drc-font-size-context)!important;
    line-height:1.35;
}
#district-report-card-module .drc-academic-report .drc-proficient-rollup{
    font-size:var(--drc-font-size-chart-value)!important;
    line-height:1.35;
    font-weight:700;
}

/* Academic legends retain swatch and plot geometry locally while their
 * readable text uses the shared metadata scale. */
#district-report-card-module .drc-academic-report .drc-achievement-legend,
#district-report-card-module .drc-academic-report .drc-school-legend,
#district-report-card-module .drc-academic-report .drc-school-history-legend,
#district-report-card-module .drc-academic-report .drc-participation-share-legend,
#district-report-card-module .drc-academic-report .drc-snapshot26-legend{
    font-size:var(--drc-font-size-context)!important;
    line-height:1.5;
}

/* TABLE HEADER / BODY / META. The class-based readable table role is safe;
 * unwrapped legacy tables remain deferred until their view migration. */
#district-report-card-module .drc-table-wrap--readable table,
#district-report-card-module .drc-table-wrap--readable th,
#district-report-card-module .drc-table-wrap--readable td,
#district-report-card-module .drc-table th,
#district-report-card-module .drc-table td{
    font-size:var(--drc-font-size-table)!important;
    line-height:1.45;
}
#district-report-card-module .drc-table-wrap--readable th,
#district-report-card-module .drc-table th{font-weight:700;}
#district-report-card-module .drc-table-wrap--readable td,
#district-report-card-module .drc-table td{font-weight:400;}

/* Discipline is owned by its shared Students-domain API renderer. Its
 * section wrapper predates the semantic class seam, so keep the final
 * computed role on the shared contract while the local chart geometry stays
 * in the module stylesheet. */
#district-report-card-module[data-drc-domain="students"] .drc2691 .drc-panel > h3{
    font-size:var(--drc-font-size-section-title)!important;
    line-height:1.3;
    font-weight:700;
}

#district-report-card-module .drc-observation-state{
    font-size:var(--drc-font-size-context)!important;
    line-height:1.45;
}
#district-report-card-module .drc-source-note,
#district-report-card-module .drc-caveat-note,
#district-report-card-module .drc-comparison-context{
    margin:16px 0;
    padding:12px 14px;
}
#district-report-card-module .drc-section-header{
    margin:24px 0 14px;
}
#district-report-card-module .drc-panel{
    padding:20px 20px;
    margin:20px 0;
}
#district-report-card-module .drc-metric-card,
#district-report-card-module .drc-card{
    padding:16px 17px;
}
#district-report-card-module .drc-summary-grid,
#district-report-card-module .drc-snapshot-card-grid,
#district-report-card-module .drc-snapshot-academic-grid{
    gap:14px;
}
#district-report-card-module .drc-chart-header{
    padding:12px 14px;
}
#district-report-card-module .drc-fastbridge-grade-details,
#district-report-card-module .drc-fastbridge-methodology,
#district-report-card-module .drc-fastbridge-table-wrap{
    min-width:0;
    max-width:100%;
}
#district-report-card-module .drc-fastbridge-grade-details,
#district-report-card-module .drc-fastbridge-methodology{
    overflow-x:auto;
}
#district-report-card-module .drc-trend-label,
#district-report-card-module .drc-trend-axis-label,
#district-report-card-module .drc-trend-year,
#district-report-card-module .drc-fin-axis-label,
#district-report-card-module .drc-fin-dashboard-axis-title,
#district-report-card-module .drc-academic-xy-axis-label,
#district-report-card-module .drc-academic-xy-year,
#district-report-card-module .drc-academic-xy-axis-title,
#district-report-card-module .drc-signed-axis-label,
#district-report-card-module .drc-signed-x-label,
#district-report-card-module .drc-signed-axis-title,
#district-report-card-module .drc-signed-zero-label,
#district-report-card-module .drc-dual-axis-label,
#district-report-card-module .drc-dual-x-label,
#district-report-card-module .drc-dual-axis-title{
    font-size:var(--drc-font-size-axis);
}
@media(max-width:700px){
    #district-report-card-module .drc-panel{padding:16px 14px;}
    #district-report-card-module .drc-section-header{margin:20px 0 12px;}
    #district-report-card-module .drc-metric-card,
    #district-report-card-module .drc-card{padding:14px 15px;}
}

/* Staffing & Enrollment migration: canonical roles are emitted by the
 * renderer while staffing-specific visualization geometry remains local. */
#district-report-card-module .drc-staffing-report-header .drc-report-title{
    font-size:clamp(24px,2vw,26px)!important;
    line-height:1.2;
    font-weight:700;
}
#district-report-card-module .drc-staffing-overview .drc-section-title,
#district-report-card-module .drc-staffing-mobility .drc-section-title,
#district-report-card-module .drc-staffing-needs .drc-section-title,
#district-report-card-module .drc-staffing-workforce .drc-section-title,
#district-report-card-module .drc-staffing-district-comparison .drc-section-title,
#district-report-card-module .drc-staffing-statewide .drc-section-title,
#district-report-card-module .drc-staffing-mix-comparison .drc-section-title,
#district-report-card-module .drc-staffing-paired-comparison .drc-section-title,
#district-report-card-module .drc-staffing-paired-statewide .drc-section-title,
#district-report-card-module .drc-staffing-depth .drc-section-title{
    font-size:var(--drc-font-size-section-title)!important;
    line-height:1.3;
    font-weight:700;
    margin:0 0 8px;
}
#district-report-card-module .drc-staffing-overview .drc-subsection-title,
#district-report-card-module .drc-staffing-mobility .drc-subsection-title,
#district-report-card-module .drc-staffing-needs .drc-subsection-title,
#district-report-card-module .drc-staffing-workforce .drc-subsection-title,
#district-report-card-module .drc-staffing-district-comparison .drc-subsection-title,
#district-report-card-module .drc-staffing-statewide .drc-subsection-title,
#district-report-card-module .drc-staffing-mix-comparison .drc-subsection-title,
#district-report-card-module .drc-staffing-depth .drc-subsection-title{
    font-size:var(--drc-font-size-chart-title)!important;
    line-height:1.35;
    font-weight:600;
    margin:0 0 8px;
}
#district-report-card-module .drc-staffing-overview .drc-card-label,
#district-report-card-module .drc-staffing-mobility .drc-card-label,
#district-report-card-module .drc-staffing-needs .drc-card-label,
#district-report-card-module .drc-staffing-workforce .drc-card-label,
#district-report-card-module .drc-staffing-district-comparison .drc-card-label,
#district-report-card-module .drc-staffing-statewide .drc-card-label,
#district-report-card-module .drc-staffing-paired-comparison .drc-card-label,
#district-report-card-module .drc-staffing-paired-statewide .drc-card-label{
    font-weight:700!important;
}
#district-report-card-module .drc-staffing-overview .drc-note,
#district-report-card-module .drc-staffing-mobility .drc-note,
#district-report-card-module .drc-staffing-needs .drc-note,
#district-report-card-module .drc-staffing-workforce .drc-note,
#district-report-card-module .drc-staffing-district-comparison .drc-note,
#district-report-card-module .drc-staffing-statewide .drc-note,
#district-report-card-module .drc-staffing-mix-comparison .drc-note,
#district-report-card-module .drc-staffing-paired-comparison .drc-note,
#district-report-card-module .drc-staffing-paired-statewide .drc-note,
#district-report-card-module .drc-staffing-depth .drc-note{
    font-size:var(--drc-font-size-body)!important;
    line-height:1.55;
}
#district-report-card-module .drc-staffing-overview .drc-staff-legend,
#district-report-card-module .drc-staffing-mobility .drc-staff-legend,
#district-report-card-module .drc-staffing-needs .drc-staff-legend,
#district-report-card-module .drc-staffing-workforce .drc-staff-legend,
#district-report-card-module .drc-staffing-overview .drc-staff-mix-legend,
#district-report-card-module .drc-staffing-mix-comparison .drc-staff-mix-legend,
#district-report-card-module .drc-staffing-statewide .drc-staff-mix-legend{
    font-size:var(--drc-font-size-context)!important;
    line-height:1.5;
}
#district-report-card-module .drc-staffing-overview .drc-panel,
#district-report-card-module .drc-staffing-mobility .drc-panel,
#district-report-card-module .drc-staffing-needs .drc-panel,
#district-report-card-module .drc-staffing-workforce .drc-panel,
#district-report-card-module .drc-staffing-district-comparison .drc-panel,
#district-report-card-module .drc-staffing-statewide .drc-panel,
#district-report-card-module .drc-staffing-mix-comparison .drc-panel,
#district-report-card-module .drc-staffing-paired-comparison .drc-panel,
#district-report-card-module .drc-staffing-paired-statewide .drc-panel,
#district-report-card-module .drc-staffing-depth .drc-panel{
    padding:var(--drc-space-panel);
    margin:var(--drc-space-section) 0;
}
#district-report-card-module .drc-staffing-overview .drc-summary-grid,
#district-report-card-module .drc-staffing-mobility .drc-summary-grid,
#district-report-card-module .drc-staffing-needs .drc-summary-grid,
#district-report-card-module .drc-staffing-workforce .drc-summary-grid,
#district-report-card-module .drc-staffing-district-comparison .drc-summary-grid,
#district-report-card-module .drc-staffing-statewide .drc-summary-grid,
#district-report-card-module .drc-staffing-paired-comparison .drc-summary-grid,
#district-report-card-module .drc-staffing-paired-statewide .drc-summary-grid{
    gap:var(--drc-space-card-gap);
}
