/* Larger readable typography across SRDM report pages */
@media screen {
 :where(body) {font-size:18px;line-height:1.4!important}
 :where(body) table th,:where(body) table thead th {font-size:16px;line-height:1.3!important}
 :where(body) table td,:where(body) table tbody td,:where(body) table tfoot td {font-size:18px;line-height:1.35!important}
 :where(body) td.num,:where(body) td.numeric,:where(body) td.number,:where(body) td[data-type="number"],:where(body) .report-table td:not(:first-child):not(:nth-child(2)) {font-size:20px;font-weight:700!important}
 :where(body) button,:where(body) input,:where(body) select,:where(body) textarea,:where(body) label,:where(body) .tab,:where(body) .srdm-app-copy span,:where(body) .status,:where(body) .note,:where(body) .legend,:where(body) .report-head p,:where(body) .datebox span,:where(body) .alert-sub,:where(body) .alert-head p,:where(body) .alert-list,:where(body) .kpi small,:where(body) .kpi em,:where(body) .metric {font-size:16px;line-height:1.4!important}
 :where(body) .srdm-app-copy strong,:where(body) .module-title,:where(body) .srdm-report-code {font-size:18px;line-height:1.4!important}
 :where(body) .kpi strong,:where(body) .metric strong,:where(body) .alert-big {font-size:30px;line-height:1.25!important}
 :where(body) table {max-width:none}
 :where(body) .table-wrap,:where(body) .scroll {overflow-x:auto!important}
}
@media print {
 :where(body) table th,:where(body) table thead th {font-size:11pt;line-height:1.2!important}
 :where(body) table td,:where(body) table tbody td,:where(body) table tfoot td {font-size:12pt;line-height:1.2!important}
 :where(body) td.num,:where(body) td.numeric {font-size:13pt}
 :where(body) .srdm-report-code {font-size:11pt}
}

/* Official Janpad print: retain all 8 blocks and total on one landscape sheet. */
@media print {
 body[data-report-view="official"] .shell,
 body[data-report-view="official"] .report-card,
 body[data-report-view="official"] .table-wrap {width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important;margin:0!important;padding:0!important}
 body[data-report-view="official"] .report-card,
 body[data-report-view="official"] #reportTable {break-inside:avoid!important;page-break-inside:avoid!important}
 body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #reportTable.official-grid {width:100%!important;min-width:0!important;max-width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
 body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #reportTable.official-grid th {font-size:7pt!important;line-height:1.15!important;padding:1.4mm .5mm!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;height:auto!important;position:static!important}
 body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #reportTable.official-grid td {font-size:8pt!important;line-height:1.15!important;padding:1.6mm .4mm!important;word-break:normal!important;overflow-wrap:normal!important;white-space:nowrap!important;height:auto!important;border:1px solid #405873!important}
 body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #reportTable.official-grid td:nth-child(-n+2) {white-space:normal!important;font-size:7pt!important}
 body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #reportTable.official-grid .badge {font-size:6.5pt!important;white-space:nowrap!important;line-height:1.1!important;padding:.4mm!important;min-width:0!important}
 #reportTable.official-grid thead {display:table-header-group!important}
 #reportTable.official-grid tbody {break-inside:avoid!important;page-break-inside:avoid!important}
 #reportTable.official-grid tr {break-inside:avoid!important;page-break-inside:avoid!important}
}

/* SRDM_DYS_NAMES_FIT_20261013 */
@media screen {
body[data-report-view="dysjanpad"] #reportTable {min-width:1050px!important;width:100%!important;table-layout:fixed!important}
body[data-report-view="dysjanpad"] #reportTable th,body[data-report-view="dysjanpad"] #reportTable td {white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-height:1.3!important;vertical-align:middle!important;padding:8px!important;text-align:left!important}
body[data-report-view="dysjanpad"] #reportTable th:first-child,body[data-report-view="dysjanpad"] #reportTable td:first-child:not([colspan]) {width:85px!important}
body[data-report-view="dysjanpad"] #reportTable th:nth-child(2),body[data-report-view="dysjanpad"] #reportTable td:nth-child(2) {width:170px!important}
body[data-report-view="dysjanpad"] #reportTable th:nth-child(3),body[data-report-view="dysjanpad"] #reportTable td:nth-child(3) {width:220px!important}
body[data-report-view="dysjanpad"] #reportTable th:nth-child(4),body[data-report-view="dysjanpad"] #reportTable th:nth-child(5),body[data-report-view="dysjanpad"] #reportTable td:nth-child(4),body[data-report-view="dysjanpad"] #reportTable td:nth-child(5) {width:85px!important;text-align:center!important;white-space:nowrap!important}
body[data-report-view="dysjanpad"] #reportTable th:nth-child(6),body[data-report-view="dysjanpad"] #reportTable td:nth-child(6) {min-width:0!important;width:auto!important;white-space:normal!important;overflow-wrap:anywhere!important}
}

/* Compact cluster names: override shared large-font rules. */
@media screen{
body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #yuktdharaSubEngineerApp table.yukt-se-table td:nth-child(4){
font-size:12px!important;line-height:1.25!important;overflow-wrap:break-word!important;
}
body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #yuktdharaSubEngineerApp table.yukt-se-table th:nth-child(4),
body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #yuktdharaSubEngineerApp table.yukt-se-table th:nth-child(4) button{
font-size:13px!important;line-height:1.25!important;
}
}
/* Bold cluster names in engineer reports, on screen and in print. */
body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #yuktdharaSubEngineerApp table.yukt-se-table td:nth-child(4),
body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) #shramikNiyojanReport .sn-table td:nth-child(5),
body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) td.cluster,
body:not(#srdm-font-reserved-a):not(#srdm-font-reserved-b):not(#srdm-font-reserved-c) td[data-field="cluster"]{font-weight:800!important}
