/* 2026-11-23: Square software screens and electronic/paper forms on all pages.
   Only UI screen/form representations and the controls inside them are targeted.
   Navigation, marketing cards, ordinary buttons, robots and chart circles remain.
*/
html body :is(
  .nv-dashboard-stage, .nv-hero-product-visual,
  .public-fms-dashboard-frame,
  .sb-dashboard-figure, .sb-inspection-sheet,
  .fms-original-sheet, .fms-original-zoom,
  .cmms-sheet-full, .sheet-box, .sheet-box .figure,
  .fmsx-shell, .fmsx-phone, .fmsx-phone-screen,
  .sb-real-panel, .fmsx-panel,
  .cmms-cable-measurement-image,
  .fd-panel, .fd-system, .paper, .digital,
  .cp-visual-panel
){border-radius:0!important;}

/* Interface panels, inspection-sheet boxes, field entries and tables. */
html body :is(.fmsx-shell,.fd-panel,.fd-system,.paper,.digital,.sheet-box,.cmms-sheet-full,.sb-inspection-sheet,.public-fms-dashboard-frame,.sb-dashboard-figure,.nv-dashboard-stage) :is(
  .fmsx-card, .fmsx-panel, .sb-real-panel, .fmsx-shell-chip,
  .fmsx-mobile-box, .fmsx-mobile-head, .fmsx-phone, .fmsx-phone-screen,
  .fmsx-form-meta > span, .sb-real-filters > span,
  .sb-real-phone-fields > div, .fmsx-step, .fmsx-steps,
  .fmsx-chiplist span, .fmsx-side li,
  .fmsx-photo, .fmsx-sign, .fmsx-status,
  .fmsx-toolbar .ghost, .fmsx-signoff span,
  .paper-head, .paper-line, .paper-check,
  input, select, textarea, table
){border-radius:0!important;}

/* Standalone inspection forms / screenshots across content sections. */
html body :is(
  .fms-original-sheet img,
  .fms-original-zoom img,
  .sb-inspection-sheet img,
  .cmms-sheet-full img,
  .cmms-cable-measurement-image img,
  .public-fms-dashboard-frame img,
  .sb-dashboard-figure img,
  .feature-visual img,
  .fd-panel img,
  .sheet-box img
){border-radius:0!important;}

/* Form inputs on general pages, but not action buttons or filter pills. */
html body form :is(input:not([type="button"]):not([type="submit"]):not([type="reset"]),textarea,select){border-radius:0!important;}

/* Match specificity of earlier !important UI realism rules. */
html body.nv-site .sb-real-screen :is(
  .fmsx-shell, .fmsx-panel, .sb-real-panel,
  .fmsx-card, .fmsx-phone, .fmsx-phone-screen,
  .fmsx-mobile-box, .sb-real-phone-fields > div,
  .sb-real-filters > span, .fmsx-form-meta > span,
  .fmsx-chiplist span, .fmsx-step, .fmsx-status
){border-radius:0!important;}

/* Ensure screenshot image figures have straight edges even with later inline CSS. */
html body #sb-inspection-case .sheet-box :is(.figure, img),
html body #sb-fms-generator-inspection :is(.fms-original-sheet,.fms-original-zoom,.fms-original-zoom img){border-radius:0!important;}
