/* Presentation mode: blurs estimate prices, material costs and labour hours while the program is demoed to
   other depots. Per browser: only applies while <html> has the PresentationMode class, see PresentationMode.js. */
html.PresentationMode td[ValueBeingEdited="HOURS"],
html.PresentationMode td[ValueBeingEdited="MATERIAL"],
html.PresentationMode .PmAuto,
html.PresentationMode .tooltip.PmTooltip .tooltip-inner,
html.PresentationMode .PmValue:not(.eei-value),
html.PresentationMode .eei-card .eei-value.PmValue > span,
html.PresentationMode table.CostingSummary tbody td:not(:first-child),
html.PresentationMode table.CostingSummary tbody tr.EmergencyRateSummaryRow > td,
html.PresentationMode table.CostingAllocatedSummary tbody td:not(:first-child),
html.PresentationMode table.CostingAllocatedSummary tbody tr.EmergencyRateSummaryRow > td,
html.PresentationMode tr.BoxInspectionRow > td:not(:first-child),
html.PresentationMode tr.TotalBoxRow > td:not(:first-child),
html.PresentationMode tr.GrandTotalBoxRow > td:not(:first-child),
html.PresentationMode tr.TotalCWBoxRow > td:not(:first-child),
html.PresentationMode tr.GrandTotalCWBoxRow > td:not(:first-child),
html.PresentationMode tr.TotalORUnitRow > td:not(:first-child),
html.PresentationMode tr.TotalCWUnitRow > td:not(:first-child),
html.PresentationMode tr.GrandTotalCWUnitRow > td:not(:first-child),
html.PresentationMode tr.TotalUnitRow > td:not(:first-child),
html.PresentationMode tr.GrandTotalUnitRow > td:not(:first-child),
html.PresentationMode tr.TotalCWEstimateRow > td:not(:first-child),
html.PresentationMode tr.GrandTotalCWEstimateRow > td:not(:first-child),
html.PresentationMode table.QseApprovalsFoundTbl > tbody > tr > td:nth-child(3),
html.PresentationMode table.QseApprovalsFoundTbl > tbody > tr > td:nth-child(4) {
  filter: blur(6px);
  user-select: none;
}
/* Embedded reports (the Power BI client homepage) can not be scanned, so the whole iframe is blurred, and their
   large KPI numbers stay readable at 6px. 14px hides them while the report layout stays recognisable. */
html.PresentationMode iframe.PmValue:not(.eei-value) {
  filter: blur(14px);
}
/* Settings > Unit Parts: the edit price button sits inside the price cell and reads the price off the cell's
   text node, so the markup stays as is and only the text is blurred, the button stays sharp. */
html.PresentationMode #sup-container table.sup-parts-table td.sup-price {
  color: transparent;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  user-select: none;
}
html.PresentationMode #sup-container table.sup-parts-table td.sup-price > button {
  text-shadow: none;
}
html.PresentationMode .EditUnitCostingModal-modal-body .CostingTypeInfoContent #StartHours,
html.PresentationMode .EditUnitCostingModal-modal-body .CostingTypeInfoContent #StartMaterial,
html.PresentationMode .EditUnitCostingModal-modal-body .CostingTypeInfoContent #SecondHours,
html.PresentationMode .EditUnitCostingModal-modal-body .CostingTypeInfoContent #SecondMaterial,
html.PresentationMode .EditUnitCostingModal-modal-body .CostingTypeInfoContent #ExtraSmallMaterialValue,
html.PresentationMode .EditUnitCostingModal-modal-body .CostingTypeInfoContent #PriceOfPartLbl,
html.PresentationMode .EditUnitCostingModal-modal-body .CostingTypeInfoContent #PriceOfPartToCalculateWithLbl,
html.PresentationMode .EditUnitCostingModal-modal-body .CostingTypeInfoContent #TestResultHours,
html.PresentationMode .EditUnitCostingModal-modal-body .CostingTypeInfoContent #TestResultMaterial {
  filter: blur(6px);
  user-select: none;
}
