/* Shared Prime type hierarchy. Print dimensions are defined in print.css. */
:root{
 --font-heading:Manrope,sans-serif;
 --font-content:'DM Sans',sans-serif;
 --text-primary:#20231f;
 --text-secondary:#50594d;
 --text-note:#596253;
 --text-title:24px;
 --text-section:18px;
 --text-body:13px;
 --text-label:12px;
 --text-small:11px;
 --text-value:28px;
}
@media screen{
 body{font-family:var(--font-content);font-size:var(--text-body);color:var(--text-primary)}
 aside{overflow-y:auto}
 aside .prime-brand,aside nav,aside .side-footer{flex-shrink:0}
 h1,h2,h3,h4{font-family:var(--font-heading);color:var(--text-primary);line-height:1.35}
 .intro h1{font-size:var(--text-title);font-weight:800;letter-spacing:-.4px}
 .section-heading h2,.panel-title h2,.period-heading h2,.analysis-heading h2,.modal-heading h2,.mix-impact h3,.category-breakdown-heading h3{font-size:var(--text-section);font-weight:700;color:var(--text-primary)}
 .summary-section-title{font-size:var(--text-section)!important;font-weight:700!important}
 .analysis-equipment-heading h3{font-size:16px;font-weight:700;color:var(--text-primary)}
 .analysis-equipment h4,.mix-impact-category h4{font-size:14px;font-weight:700;color:var(--text-primary)}
 .intro p,.section-heading p,.panel-title p,.period-heading p,.category-breakdown-heading p,.analysis-heading p,.modal-heading p{font-size:var(--text-body);color:var(--text-secondary);line-height:1.5}
 .kpi-label,.identity-label,.quality-label{font-size:var(--text-label);font-weight:600;letter-spacing:.2px;color:var(--text-secondary)}
 .kpi-value,.quality-value{font-family:var(--font-heading);font-size:var(--text-value);font-weight:800;color:var(--text-primary);font-variant-numeric:tabular-nums;line-height:1.25;letter-spacing:-.5px}
 .identity-value{font-family:var(--font-heading);font-size:18px;font-weight:700;line-height:1.4;color:var(--text-primary);overflow-wrap:anywhere}
 .identity-value.identity-users{font-family:var(--font-content);font-size:var(--text-body)}
 .kpi-value small,.shift-kpi-grid small{font-size:var(--text-body);color:var(--text-secondary)}
 .shift-kpi-grid span,.focus-hours,.mix-total,.mix-percentages strong{font-family:var(--font-heading);font-weight:800;color:var(--text-primary);font-variant-numeric:tabular-nums}
 .shift-kpi-grid span,.mix-total{font-size:var(--text-value)}
 .mix-percentages strong{font-size:20px}
 .focus-hours{font-size:22px}
 .focus-equipment,.maintenance-focus-grid .focus-equipment,.mix-impact-equipment,.analysis-equipment-heading>strong{font-size:14px;color:var(--text-primary)}
 .focus-category,.shift-kpi-grid strong{font-size:var(--text-label);font-weight:600;color:var(--text-secondary)}
 p,.analysis-equipment>p,.analysis-summary p,.mix-impact-list p,.focus-comment,.mix-impact-comment,.analysis-evidence blockquote,.detention-comment,.conciliation-original dd{font-size:var(--text-body);line-height:1.5}
 .analysis-equipment>p,.analysis-summary p,.analysis-evidence blockquote,.mix-impact-list p,.focus-comment,.mix-impact-comment,.detention-comment,.conciliation-original dd{color:var(--text-primary)}
 .focus-comment,.mix-impact-comment,.analysis-evidence blockquote{overflow-wrap:anywhere}
 .quality-note,.quality-rule,.kpi-note,.identity-note,.focus-note,.focus-source,.maintenance-focus-grid .focus-source,.chart-note,.evolution-chart-note,.mix-note,.mix-impact-context,.hint,.filter-hint,.summary-filter-footer p,.conciliation-editor p,.side-note p,.side-footer,.analysis-focus-scope,.analysis-facts span,.analysis-evidence>span,.analysis-evidence p,.analysis-empty,.pagination,.pagination span,.legend,.type-values span,.calendar-note,.filter-chips span,.category-events,.category-share small,.mix-impact-comment span{font-size:var(--text-small);line-height:1.5;color:var(--text-note)}
 .analysis-method{font-size:var(--text-small)!important;color:var(--text-note)!important}
 .side-footer{letter-spacing:.4px;overflow-wrap:anywhere}
 .eyebrow,.nav-label,.period-heading>div>span,.analysis-heading span:not(.tag),.tag{font-size:var(--text-small);font-weight:700}
 .breadcrumb,.breadcrumb span{font-size:var(--text-body)}
 button,input,select,textarea,.search-filter summary,.filter-option,.conciliation-editor label,.minute-import{font-family:var(--font-content);font-size:var(--text-body);line-height:1.45}
 button,.primary,.secondary,.subtle,.print-summary-button,.category-filter-button,.nav-text{font-size:var(--text-body);font-weight:600}
 .nav-text{line-height:1.4}
 label,.search-filter>label,.evolution-interval-row label,.conciliation-original dt{font-size:var(--text-label);font-weight:600;color:var(--text-secondary)}
 .evolution-interval-row p,.evolution-metrics,.conciliation-toolbar,.conciliation-legend,.detention-card,.analysis-evidence-details summary,.type-bar-name,.mix-legend span,.mix-legend strong{font-size:var(--text-body);line-height:1.5}
 .type-metric-label,.type-metric-value,.mix-legend small,.detention-status,.day-total{font-size:var(--text-small)}
 .evolution-metrics,.type-bar-name,.evolution-interval-row p,.analysis-evidence-details summary{color:var(--text-secondary)}
 table,.chart-reference-table table,.analysis-causes table,.pareto-reference table{font-family:var(--font-content);font-size:var(--text-body)}
 table td,.chart-reference-table td,.equipment-ranking td{font-size:var(--text-body);color:var(--text-primary);line-height:1.5;padding:11px 12px}
 table thead th,.week-matrix thead th,.week-matrix thead th:first-child{background:#1b1d1a!important;color:#fff!important;font-size:var(--text-label);font-weight:600;line-height:1.45}
 table thead th small{color:#e3e8df!important;font-size:var(--text-small)}
 table td small,.equipment-ranking td small,.analysis-causes td small{font-size:var(--text-small);color:var(--text-secondary);line-height:1.45}
 .chart-reference-table tbody td:first-child{color:var(--text-primary)}
 table .numeric{font-variant-numeric:tabular-nums}
 .header-actions .secondary{background:#ffffff12;border-color:#759562;color:#eef6e8}
 .header-actions{flex-wrap:wrap;align-items:center;gap:10px}
 header{height:auto;min-height:86px;gap:18px;padding-top:12px;padding-bottom:12px}
 .filter-chips{max-height:120px}
 .chart svg text,.trend svg text{font-family:var(--font-content)}
 .bar-value-label{font-family:var(--font-heading);font-weight:700}
 .critical .detention-comment{color:#912323}
 .quality-card.bad .quality-value,.quality-status-bad{color:#b42323}
 .quality-status-good{color:#376719}
 .quality-card.bad .quality-note{color:#8b2929}
}
@media screen and (max-width:700px){
 :root{--text-title:22px;--text-section:16px;--text-value:26px}
 .analysis-equipment-heading{flex-wrap:wrap}
 .analysis-equipment-heading>strong{white-space:normal;text-align:left}
 .header-actions{justify-content:flex-end;gap:8px}
 header{align-items:flex-start;flex-wrap:wrap}
 .header-actions button{padding:9px 11px}
 .nav{min-width:190px;min-height:55px}
 .identity-value{font-size:16px}
 .period-heading{flex-wrap:wrap}
 .section-heading,.panel-title{gap:12px;flex-wrap:wrap}
}
