/*
 * MANOVA global sharp-edge contract.
 *
 * This is intentionally the final stylesheet. It normalizes semantic UI
 * surfaces without disturbing decorative circles/orbits or CTA components.
 * CTA wrappers, CTA descendants, and established CTA button families retain
 * their authored shape as requested.
 */

html body :where(
  article,
  aside,
  dialog,
  fieldset,
  section,
  form,
  input:not([type="checkbox"]):not([type="radio"]),
  textarea,
  select,
  button,
  [role="button"],
  [role="dialog"],
  [role="menu"],
  [role="menuitem"],
  [class~="card"],
  [class*="-card"],
  [class*="__card"],
  [class~="panel"],
  [class*="-panel"],
  [class*="__panel"],
  [class~="box"],
  [class*="-box"],
  [class*="__box"],
  [class~="tile"],
  [class*="-tile"],
  [class*="__tile"],
  [class~="container"],
  [class*="-container"],
  [class*="__container"],
  [class*="surface"],
  [class*="frame"],
  [class*="sheet"],
  [class*="drawer"],
  [class*="modal"],
  [class*="popup"],
  [class*="popover"],
  [class*="dropdown"],
  [class*="menu"],
  [class*="accordion"],
  [class*="details"],
  [class*="tooltip"],
  [class*="notice"],
  [class*="alert"],
  [class*="message"],
  [class*="field"],
  [class*="form"],
  [class*="media"],
  [class*="image"],
  [class*="-img"],
  [class*="__img"],
  [class*="thumb"],
  [class*="photo"],
  [class*="picture"],
  [class*="figure"],
  [class*="gallery"],
  [class*="visual"],
  [class*="video"],
  [class*="map"],
  [class*="tag"],
  [class*="badge"],
  [class*="pill"],
  [class*="chip"],
  [class*="filter"],
  [class*="tab"],
  [class*="toggle"],
  [class*="avatar"],
  [class*="portrait"],
  [class*="logo-mark"],
  [class*="quote"],
  [class*="stat"],
  [class*="metric"],
  [class*="pricing"],
  [class*="feature"],
  [class*="project"],
  [class*="portfolio"],
  [class*="testimonial"],
  [class*="industry"],
  [class*="service"],
  [class*="resource"]
):not(
  [class*="cta" i],
  [class*="cta" i] *,
  .btn,
  .btn *,
  .sx-button,
  .sx-button *,
  .svcx-btn,
  .svcx-btn *,
  .industry-button,
  .industry-button *,
  .service-hero-panel,
  .service-hero-cta,
  .service-hero-cta *,
  button[type="submit"],
  input[type="submit"],
  .footer-newsletter button,
  .contact-form button,
  .case-request-form button,
  .resource-closing,
  .resource-closing *,
  .sx-final,
  .sx-final *,
  .industry-contact,
  .industry-contact *
) {
  border-radius:0!important;
}

/* Common pseudo-surfaces often carry the visible radius while their parent
   is already square. Flatten those too, with the same CTA exclusions. */
html body :where(
  [class~="card"],
  [class*="-card"],
  [class*="__card"],
  [class~="panel"],
  [class*="-panel"],
  [class*="__panel"],
  [class*="tile"],
  [class*="frame"],
  [class*="sheet"],
  [class*="modal"],
  [class*="popup"],
  [class*="dropdown"],
  [class*="menu"],
  [class*="media"],
  [class*="image"],
  [class*="thumb"],
  [class*="photo"],
  [class*="tag"],
  [class*="badge"],
  [class*="pill"],
  [class*="chip"]
):not(
  [class*="cta" i],
  [class*="cta" i] *,
  .btn,
  .btn *,
  .resource-closing,
  .resource-closing *,
  .sx-final,
  .sx-final *,
  .industry-contact,
  .industry-contact *
)::before,
html body :where(
  [class~="card"],
  [class*="-card"],
  [class*="__card"],
  [class~="panel"],
  [class*="-panel"],
  [class*="__panel"],
  [class*="tile"],
  [class*="frame"],
  [class*="sheet"],
  [class*="modal"],
  [class*="popup"],
  [class*="dropdown"],
  [class*="menu"],
  [class*="media"],
  [class*="image"],
  [class*="thumb"],
  [class*="photo"],
  [class*="tag"],
  [class*="badge"],
  [class*="pill"],
  [class*="chip"]
):not(
  [class*="cta" i],
  [class*="cta" i] *,
  .btn,
  .btn *,
  .resource-closing,
  .resource-closing *,
  .sx-final,
  .sx-final *,
  .industry-contact,
  .industry-contact *
)::after {
  border-radius:0!important;
}

/* Explicit global component families whose names do not consistently include
   card/panel/tile but are visibly bounded UI surfaces. */
html body :where(
  .nav-panel-inner,
  .nav-industries-menu,
  .resources-mega,
  .mobile-menu-inner,
  .mobile-accordion-panel,
  .faq-item,
  .faq-infobar,
  .knowledge-item,
  .popular-questions a,
  .resource-newsletter,
  .resource-closing,
  .compare-frame,
  .device-frame,
  .service-related-toggle,
  .work-filter-btn,
  .resource-filter,
  .faq-tab,
  .tag-chip,
  .theme-toggle,
  .theme-toggle__track,
  .theme-toggle__thumb,
  .hamburger,
  .back-top
):not(
  [class*="cta" i],
  [class*="cta" i] *,
  .resource-closing,
  .resource-closing *,
  .sx-final,
  .sx-final *,
  .industry-contact,
  .industry-contact *
) {
  border-radius:0!important;
}

/* Intentionally round controls: compact actions rather than content surfaces. */
html body button.theme-toggle,
html body .theme-toggle .theme-toggle__track { border-radius:999px!important; }
html body .theme-toggle .theme-toggle__thumb { border-radius:50%!important; }

html body .home-services-toggle,
html body .hs-sheet-cta {
  border-radius:999px!important;
}
