/* Falcon Patch 002: scoped structural resilience primitives. */
:where(.falcon-app-main,.falcon-r3-header,.falcon-r3-auth-shell,#order-standard_cart),
:where(.falcon-app-main,.falcon-r3-header,.falcon-r3-auth-shell,#order-standard_cart) *,
:where(.falcon-app-main,.falcon-r3-header,.falcon-r3-auth-shell,#order-standard_cart) *::before,
:where(.falcon-app-main,.falcon-r3-header,.falcon-r3-auth-shell,#order-standard_cart) *::after { box-sizing: border-box; }

.falcon-app-main :where(.falcon-app-frame,.falcon-app-layout,.primary-content,.falcon-kb-center,.falcon-kb-article-layout,.falcon-dl-center,.falcon-product-paths,.falcon-kb-grid,.falcon-dl-grid,.falcon-card,.card,.panel,.row,[class*="col-"]) > * {
  min-width: 0;
  max-width: 100%;
}

.falcon-app-main :where(p,li,dd,blockquote,figcaption,h1,h2,h3,h4,h5,h6,.card,.panel,.falcon-card,.falcon-product-path,.falcon-kb-article,.falcon-kb-section,.falcon-dl-item) { overflow-wrap: break-word; }

.falcon-app-main :where(pre,code,kbd,samp,[data-technical-value],.technical-value,.falcon-technical-value,.falcon-copy-value,.service-credential,.input-group-text) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.falcon-app-main :where(pre,.falcon-technical-value,.falcon-copy-value) { white-space: pre-wrap; }
.falcon-app-main :where(img,video) { max-width: 100%; height: auto; }
.falcon-app-main iframe { max-width: 100%; }
.falcon-app-main svg:not([aria-hidden="true"]) { max-width: 100%; }
.falcon-app-main :where(input,select,textarea,button,.btn,.form-control,.custom-select) { min-width: 0; max-width: 100%; }
.falcon-app-main :where(button,.btn) { white-space: normal; overflow-wrap: break-word; }
.falcon-app-main :where(.table-responsive,.dataTables_wrapper,.falcon-table-wrap) { min-width: 0; max-width: 100%; }
.falcon-app-main :where(.table-responsive,.falcon-table-wrap) { overflow-x: auto; overscroll-behavior-inline: contain; }
.falcon-app-main table { max-width: 100%; }
.falcon-app-main table :where(th,td) { overflow-wrap: break-word; }
.falcon-app-main table :where(.amount,.date,.status,.invoiceid) { white-space: nowrap; }
:where(.falcon-r3-header,.falcon-nav,.falcon-mobile-nav,.navbar) :where(.container,.navbar-nav,.nav-item,.nav-link) { min-width: 0; max-width: 100%; }
:where(.falcon-r3-header,.falcon-nav,.falcon-mobile-nav) :where(.nav-link,a,button) { overflow-wrap: break-word; }
.falcon-app-main :where(.modal-dialog,.dropdown-menu,.popover) { max-width: calc(100vw - 24px); }

@media (max-width: 767.98px) {
  .falcon-app-main :where(.input-group,.falcon-copy-row,.falcon-technical-value-row) { flex-wrap: wrap; }
  .falcon-app-main :where(.falcon-copy-row,.falcon-technical-value-row) > :first-child { flex: 1 1 100%; }
}
